1 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
3 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
6 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9 They are valid characters in URL paths (rfc3986), and at least
10 Firefox does not understand the encoded version (Bug#3166).
12 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14 * progmodes/octave-mod.el (octave-end-keywords)
15 (octave-block-begin-or-end-regexp, octave-block-match-alist): Add
16 "end" keyword (Bug#3061).
17 (octave-end-as-array-index-p): New function.
18 (calculate-octave-indent): Use it.
20 2010-01-02 Karl Fogel <kfogel@red-bean.com>
22 * bookmark.el: Consistently put the text property on the bookmark name.
23 (bookmark-bmenu-marks-width): Bump back to 2, to include
25 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
26 property on the bookmark name, instead of not putting it at all.
27 (bookmark-bmenu-list): Fix where we put the text property.
29 2010-01-02 Karl Fogel <kfogel@red-bean.com>
31 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
32 for showing buffer modified state (as added in the previous change).
34 2010-01-02 Karl Fogel <kfogel@red-bean.com>
36 * bookmark.el: Show modified state of bookmark buffer more accurately.
37 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
38 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
39 (with-buffer-modified-unmodified): New macro.
40 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
41 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
42 Use new macro to preserve the buffer modified state.
44 2010-01-02 Karl Fogel <kfogel@red-bean.com>
46 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
47 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
48 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
49 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
50 (bookmark-bmenu-rename, bookmark-bmenu-locate)
51 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
52 unnecessary calls to `bookmark-bmenu-ensure-position'.
54 2010-01-02 Eli Zaretskii <eliz@gnu.org>
56 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
57 the lines in the generated doc string shorter. (Bug#4668)
59 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
61 * net/rcirc.el: Add follow-link binding (Bug#4738).
63 2010-01-02 Eli Zaretskii <eliz@gnu.org>
65 * Makefile.in (bzr-update): Renamed from cvs-update.
66 (cvs-update): New target for backward compatibility.
68 * makefile.w32-in (bzr-update): Renamed from cvs-update.
69 (cvs-update): New target for backward compatibility.
71 2010-01-02 Karl Fogel <kfogel@red-bean.com>
73 * bookmark.el: Remove gratuitous gratitude.
75 2010-01-02 Karl Fogel <kfogel@red-bean.com>
77 * bookmark.el (bookmark-bmenu-any-marks): New function
78 (bookmark-bmenu-save): Clear buffer modification if no marks.
80 2010-01-02 Karl Fogel <kfogel@red-bean.com>
82 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
83 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
84 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
85 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
87 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
88 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
89 To: emacs-devel {_AT_} gnu.org
90 Subject: bookmark.el bug report
91 Date: Mon, 28 Dec 2009 14:19:16 +0800
92 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
94 2010-01-02 Karl Fogel <kfogel@red-bean.com>
96 * bookmark.el: Improvements suggested by Drew Adams:
97 (bookmark-bmenu-ensure-position): New name for
98 `bookmark-bmenu-check-position'. Just ensure the position,
99 don't return any meaningful value.
100 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
103 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
105 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
106 (bookmark-yank-point, bookmark-bmenu-check-position):
107 Fix typos in docstrings.
108 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
109 (bookmark-name-from-full-record, bookmark-get-position)
110 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
111 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
112 Remove useless quoting of parenthesis, etc. in docstrings.
114 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
115 (ediff-append-custom-diff): Fix typo in error message.
116 (ediff-meta-mark-equal-files): Fix typos in messages.
118 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
120 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
121 Fix typo in docstring.
123 * net/imap-hash.el (imap-hash-make): Doc fix.
124 (imap-hash-test): Fix typo in error message; reflow docstring.
125 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
126 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
127 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
128 Fix typos in docstrings.
129 (imap-hash-open-connection): Fix typo in error message.
131 * play/gomoku.el (gomoku): Fix typos in docstring.
133 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
134 (gdb-jsonify-buffer): Fix typos in docstring.
135 (gdb-goto-breakpoint): Fix typo in error message.
136 ("Display Other Windows"): Fix typo in help message.
137 (gdb-speedbar-expand-node): Fix typo in question.
139 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
140 (idlwave-html-system-help-location, idlwave-html-help-location)
141 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
142 (idlwave-help-browser-generic-args, idlwave-help-directory)
143 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
144 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
145 (idlwave-online-help, idlwave-help-html-link)
146 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
147 Fix typos in docstrings.
148 (idlwave-help-with-source, idlwave-help-find-routine-definition):
150 (idlwave-help-assistant-start): Fix typo in error message.
152 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
153 (octave-electric-space): Fix typos in docstrings.
155 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
157 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
159 2010-01-01 Juri Linkov <juri@jurta.org>
161 * comint.el (comint-input-ring-size): Make it a defcustom and
162 increase the default to 500 (Bug#5148).
164 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
166 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
167 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
168 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
170 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
172 Show working revision correctly for mercurial.
173 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
174 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
176 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
178 Declare some functions for the byte-compiler.
179 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
180 (speedbar-timer-fn, speedbar-change-expand-button-char)
181 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
183 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
185 This changeset reverts GDB Graphical Interface to use annotations.
186 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
188 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
190 Make vc-dir work on subdirectories of the bzr root.
191 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
192 file names relative to it.
193 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
194 relative directory to vc-bzr-after-dir-status.
196 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
198 * font-lock.el (font-lock-refresh-defaults): New function, which
199 can be used to let font-lock react to external changes in
200 variables like font-lock-defaults and keywords.
201 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
203 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
205 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
207 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
209 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
211 Supersede color.diff settings in git log (bug#5211).
213 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
214 escape chars in its output when the user has color.diff set to `always'.
215 This fix works on git 1.4.2 and newer (released on 2006-08-13).
217 2009-12-26 Kevin Ryde <user42@zip.com.au>
219 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
220 node. Keep previous "Index" name to work with past coreutils too.
222 * man.el (man): Revise docstring a bit to show -a and -l as
223 examples. Add -k description since support for it has otherwise
224 been a secret. (Further to bug#3717.)
225 (Man-bgproc-sentinel): When "-k foo" produces no output show error
226 "no matches" rather than "Can't find manpage", as the latter reads
227 like -k was interpreted as a page name, which is not so. (Bug#5431)
229 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
231 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
232 switches. Check also for //SUBDIRED// line.
234 2009-12-25 Kenichi Handa <handa@m17n.org>
236 * language/indian.el (devanagari-composable-pattern): Fixed to
237 handle ZWNJ and ZWJ. Use it in composition-function-table for
239 (malayalam-composable-pattern): Fix previous change.
241 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
243 * ps-print.el (ps-face-attributes): It was not returning the
244 attribute face for faces specified as string. Reported by harven
246 (ps-print-version): New version 7.3.5.
248 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
250 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
252 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
253 (icalendar--add-diary-entry): Remove the trailing blank that
254 diary-make-entry inserts.
256 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
258 Make `file-expand-wildcards' work for remote files.
260 * files.el (file-expand-wildcards): In case of remote files, check
261 only local file name part for wildcards. Provide feature 'files
262 and subfeature 'remote-wildcards. (Bug#5198)
264 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
265 if there is already an established connection.
266 (tramp-advice-file-expand-wildcards): Remove it.
268 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
269 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
270 Activate advice for older GNU Emacs versions. (Bug#5237)
272 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
274 Some doc fixes (more needed).
276 * find-cmd.el (find-constituents): Reflow docstring.
277 (find-cmd, find-prune, find-command): Fix typos in docstrings.
278 (find-generic): Doc fix.
280 2009-12-17 Juri Linkov <juri@jurta.org>
282 Fix regression from 23.1 to allow multiple modes in Local Variables.
284 * files.el (hack-local-variables-filter): While ignoring duplicates,
285 don't take `mode' into account.
286 (hack-local-variables-filter, hack-dir-local-variables): Don't
287 remove duplicate `mode' from local-variables-alist (like `eval').
289 2009-12-17 Juri Linkov <juri@jurta.org>
291 Make `dired-diff' more safe. (Bug#5225)
293 * dired-aux.el (dired-diff): Signal an error when `file' equals to
294 `current' or when `file' is a directory of the `current' file.
296 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
298 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
299 unconditionally preloaded files.
301 2009-12-16 Juri Linkov <juri@jurta.org>
303 Revert to old 23.1 logic of using the file at the mark as default.
304 * dired-aux.el (dired-diff): Use the file at the mark as default
305 if it's not the same as the current file, and the target dir is
306 the current dir or the mark is active. Add the current file
307 as the arg of `dired-dwim-target-defaults'. Use the default file
308 in the prompt. (Bug#5225)
310 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
312 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
313 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
314 (tramp-check-for-regexp): Check also, when an echoing shell stops
315 to echo sent commands.
317 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
319 * Makefile.in: Revert last change (Bug#5191).
321 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
323 * vc-hg.el (vc-hg-print-log): Fix argument order.
324 (vc-hg-working-revision): Make sure the command is executed in a
325 known environment so that we can parse the output. (Bug#4417)
327 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
329 * progmodes/python.el (python-symbol-completions): Remove text
330 properties from symbol string before calling python-send-receive.
332 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
334 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
335 when there are values for both file and line. (Bug#5060)
337 2009-12-14 Juri Linkov <juri@jurta.org>
339 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
340 whitespace after the file name of the first line of unified format,
341 because git-diff doesn't output whitespace and file modification time
344 2009-12-14 David Kastrup <dak@gnu.org>
346 * info.el (Info-hide-cookies-node): Before hiding a cookie,
347 check if it already has the `display' property added by
348 `Info-display-images-node', and not put the `invisible' property
351 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
353 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
354 (semantic-mru-bookmark-mode): Doc fixes.
356 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
359 2009-12-13 Glenn Morris <rgm@gnu.org>
361 * mail/emacsbug.el (message-sort-headers): Define for compiler.
362 (report-emacs-bug): In message-mode, sort manually before storing
363 original report text. (Bug#5178)
364 Remove superfluous save-excursion.
366 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
368 * net/dbus.el (dbus-property-handler): Filter lambda forms out
369 when responding to "GetAll" properties.
371 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
373 * simple.el (compose-mail): Remove mail-setup-with-from from
374 customization checks.
376 2009-12-12 Eli Zaretskii <eliz@gnu.org>
378 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
379 RAR archives created on Unix systems.
381 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
383 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
384 the varalias that was accidentally removed by the 2009-11-19 change
387 2009-12-12 Kenichi Handa <handa@m17n.org>
389 * language/indian.el (indian-compose-regexp): New function.
390 (malayalam-composable-pattern): Fix the pattern.
391 (composition-function-table): Set malayalam-composable-pattern for
392 Malayalam characters.
394 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
396 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
397 rather than down-mouse-1, based on follow-link conventions.
399 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
402 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
404 * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
405 (verilog-vmm-statement-re, verilog-ovm-statement-re)
406 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
407 (verilog-leap-to-head, verilog-backward-token):
408 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
410 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
412 * verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
413 Cleanup user-visible spelling and documentation errors.
414 One reported by Gary Delp.
415 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
416 (verilog-read-decls): Fix AUTOWIRE with types declared in a
417 package, bug195. Reported by Pierre-David Pfister.
419 2009-12-11 Glenn Morris <rgm@gnu.org>
421 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
423 * mail/emacsbug.el: No longer require sendmail.
424 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
425 (report-emacs-bug-orig-text): Doc fix.
426 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
427 New local variables, to adapt to different mail-user-agents.
428 (report-emacs-bug): Fix test for a gnu.org address.
429 Use overlays for emphasis, since font-lock defeats 'face property.
430 Pretest bugs also end up at the newsgroup these days.
431 Stop message-mode stripping text properties.
432 Set and use the new buffer-local variables.
433 (report-emacs-bug-hook): Add doc-string.
434 Remove some unnecessary save-excursions and simplify.
435 Use the appropriate hook and send-command.
437 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
438 capitalization of some menu entries.
440 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
442 * whitespace.el (whitespace-display-char-on): Ensure
443 `buffer-display-table' is unique when two or more windows are
444 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
447 2009-12-10 Eli Zaretskii <eliz@gnu.org>
449 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
450 characters in the Attribute field.
452 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
454 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
456 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
458 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
459 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
460 Disregard autoload-excludes.
461 (update-directory-autoloads): Obey autoload-excludes here instead.
462 But don't store its contents in no-autoloads and remove entries that
463 refer to excludes files.
465 2009-12-10 Glenn Morris <rgm@gnu.org>
467 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
468 (expand-mail-aliases): Define for compiler.
470 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
473 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
474 appropriate for the mail-user-agent in use.
476 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
478 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
480 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
482 Fix short log parsing and fontification.
483 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
484 Fix fontification for the [merge] label.
486 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
488 Drop some properties to avoid surprises.
489 * htmlfontify.el (hfy-ignored-properties): New defcustom.
490 (hfy-fontify-buffer): Use it.
492 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
495 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
497 (ffap-locate-file): Remove unused arg `dir-ok' and make other
498 args compulsory. Adjust callers.
499 (ffap-gopher-at-point): Remove unused var `name'.
501 Get rid of the ELCFILES abomination.
502 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
503 (compile-elcfiles): New phony target.
504 (compile-main): Compute ELCFILES dynamically.
505 (compile-clean): New target to remove left-over elc files.
506 (compile, all): Use it.
508 2009-12-09 Kenichi Handa <handa@etlken>
510 * international/mule-diag.el: Require help-mode instead of help-fns.
512 2009-12-09 Kenichi Handa <handa@m17n.org>
514 * international/mule-cmds.el (ucs-names): Supply sufficiently
515 fine ranges instead of pre-calculating accurate ranges.
516 Iterate with bigger gc-cons-threshold.
518 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
520 Add support for stashing a snapshot of the current tree.
521 * vc-git.el (vc-git-stash-snapshot): New function.
522 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
524 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
526 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
527 instead of `(beginning|end)-of-line'.
529 2009-12-08 Glenn Morris <rgm@gnu.org>
531 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
533 * Makefile.in (ELCFILES): Regenerate.
535 2009-12-07 Juri Linkov <juri@jurta.org>
537 Don't lazy-highlight the comint output in history Isearch mode.
539 * comint.el (comint-history-isearch-search): Instead of
540 `comint-line-beginning-position', use `comint-after-pmark-p'
541 to check if point if before the process mark, and go to
542 `process-mark' in this case.
544 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
546 * textmodes/tex-mode.el (latex-complete)
547 (latex-indent-or-complete): Remove.
548 (latex-mode): Set completion-at-point-functions instead.
550 Provide a standard completion command and hook it into TAB.
551 * minibuffer.el (completion-at-point-functions): New var.
552 (completion-at-point): New command.
553 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
554 * progmodes/python.el (python-mode-map): Use completion-at-point.
555 (python-completion-at-point): Rename from python-partial-symbol and
556 adjust for use in completion-at-point-functions.
557 (python-mode): Setup completion-at-point for Python completion.
558 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
559 extracted from lisp-complete-symbol.
560 (lisp-complete-symbol): Use it.
561 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
562 setup completion-at-point for Elisp completion.
563 (emacs-lisp-mode-map, lisp-interaction-mode-map):
564 Use completion-at-point.
565 * ielm.el (ielm-map): Use completion-at-point.
566 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
567 * progmodes/sym-comp.el: Move to...
568 * obsolete/sym-comp.el: Move from progmodes.
570 2009-12-07 Eli Zaretskii <eliz@gnu.org>
572 Prevent save-buffer in Rmail buffers from using the coding-system
573 of the current message, and from clobbering the encoding mnemonics
574 in the mode line (Bug#4623).
576 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
578 (rmail-message-encoding): New variable.
579 (rmail-write-region-annotate): Record the encoding of the current
580 message in rmail-message-encoding.
581 (rmail-after-save-hook): New function, restores the encoding of
582 the current message after the message collection is saved.
584 2009-12-07 Juri Linkov <juri@jurta.org>
586 * progmodes/grep.el (grep-read-files): Use `completing-read'
587 instead of `read-string'. Set its `collection' arg to
588 `read-file-name-internal'. (Bug#4301)
590 2009-12-07 Juri Linkov <juri@jurta.org>
592 Correctly restore original Isearch point. (Bug#4994)
594 * isearch.el (isearch-mode): Move `isearch-push-state' after
595 `(run-hooks 'isearch-mode-hook)'.
596 (isearch-cancel): When `isearch-push-state-function' is defined,
597 let-bind `isearch-cmds' to the first state (the last element of
598 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
599 function and restores the original point). Otherwise, move point
602 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
604 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
605 chars that don't have names, so the table can be built much faster at
608 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
610 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
611 change. Suggested by David Kastrup.
613 * simple.el (compose-mail): Check for incompatibilities and warn.
614 (compose-mail-user-agent-warnings): New option.
616 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
618 Support showing a single log entry from vc-annotate.
619 * vc.el (print-log): Add a new argument: START-REVISION.
620 (vc-print-log-internal): Add a new optional argument and
621 pass it to the backend.
622 (vc-print-log, vc-print-root-log): Adjust callers.
623 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
624 buffer already displays the requested log entry, use it.
625 Otherwise display only the log entry in question.
626 * vc-svn.el (vc-svn-print-log):
627 * vc-mtn.el (vc-mtn-print-log):
628 * vc-hg.el (vc-hg-state):
629 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
630 (vc-git-show-log-entry): Return t on success.
631 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
632 (vc-bzr-show-log-entry): Return t on success.
633 * vc-rcs.el (vc-rcs-print-log):
634 * vc-sccs.el (vc-sccs-print-log):
635 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
637 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
639 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
640 Add menus to the meta mode. (Bug#5043)
642 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
644 * ediff-init.el (ediff-event-key): Use event-to-character instead of
647 * ediff.el (ediff-buffers-internal): Add unwind-protect.
649 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
651 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
652 Berbain <raphael.berbain@gmail.com>.
654 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
656 (tramp-initial-end-of-output): New defconst.
657 (tramp-methods, tramp-find-shell)
658 (tramp-open-connection-setup-interactive-shell)
659 (tramp-maybe-open-connection): Use it.
660 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
661 existence of `#' and `$'.
663 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
664 `tramp-initial-end-of-output'.
666 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
668 Get the background mode from the terminal for xterm, and set
670 * term/xterm.el (xterm-set-background-mode): New function.
671 (terminal-init-xterm): Use it in case xterm supports background
672 color queries. Recompute faces after getting the background
675 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
677 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
678 number comment back on its own line, for easier parsing.
680 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
682 Make it work for non-file buffers (bug#5102).
683 * doc-view.el (doc-view-current-cache-dir):
684 Use doc-view-buffer-file-name rather than buffer-file-name.
685 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
687 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
689 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
690 author field is too short.
692 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
694 * vc-git.el (vc-git-print-log): Handle a limit argument.
695 Display the short log in graph form and with labels.
696 (vc-git-log-view-mode): Handle labels.
698 Make vc-revert change VC state from 'added to 'unregistered.
699 * vc-git.el (vc-git-revert): Call git reset first.
701 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
703 * net/newst-backend.el, net/newst-plainview.el:
704 * net/newst-reader.el, net/newst-ticker.el:
705 * net/newst-treeview.el, net/newsticker.el:
706 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
708 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
710 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
712 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
713 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
714 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
715 Update annotation regexp.
717 * simple.el (beginning-of-visual-line): Constrain to field
718 boundaries (Bug#5106).
720 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
722 * xml.el (xml-substitute-numeric-entities): Move
723 newsticker--decode-numeric-entities in newst-backend.el to
724 xml-substitute-numeric-entities in xml.el. (Bug#5008)
725 * net/newst-backend.el (newsticker--parse-generic-feed)
726 (newsticker--parse-generic-items)
727 (newsticker--decode-numeric-entities): Move
728 newsticker--decode-numeric-entities in newst-backend.el to
729 xml-substitute-numeric-entities in xml.el. (Bug#5008)
731 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
733 * progmodes/js.el (js--js-not): Add null to the list of values.
735 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
737 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
739 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
741 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
742 delimiter if it is at the end of the current line.
743 (bibtex-generate-url-list): Fix docstring.
745 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
747 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
748 minibuffer's content with itself.
749 Fold the confirm-after-completion case into the `confirm' case.
750 (completion-pcm-word-delimiters): Add : and / to the delimiters.
752 2009-12-06 Kevin Ryde <user42@zip.com.au>
754 * ffap.el (ffap-rfc-path): Make this a defcustom since
755 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
757 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
758 manuals, similar to existing setup for help-mode. (Bug#3913.)
760 2009-12-05 Juri Linkov <juri@jurta.org>
762 Save and restore dired buffer's point positions too. (Bug#4880)
764 * dired.el (dired-save-positions): Return in the first element
765 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
767 (dired-restore-positions): First restore buffer's position.
768 While restoring window's positions, check if window still displays
771 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
773 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
776 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
777 Make argument optional.
779 * shell.el (shell): Require ansi-color (Bug#5113).
781 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
783 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
785 2009-12-05 Alan Mackenzie <acm@muc.de>
787 * progmodes/cc-mode.el (c-before-hack-hook)
788 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
789 `c-file-style' to work again. This reversion restores the current
790 software to its state in Emacs 23.1. (Bug#4146)
792 2009-12-05 Kevin Ryde <user42@zip.com.au>
794 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
795 comment-start-skip to comment-end-skip as comment (Bug#4781).
797 2009-12-05 Juri Linkov <juri@jurta.org>
799 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
800 for virtual nodes. (Bug#4147)
801 (Info-find-node-2): Set `Info-current-node-virtual' to nil
802 when moving from a virtual node.
803 (Info-mode-menu): Add `Info-virtual-index' to the menu.
804 (Info-mode): Add `Info-virtual-index' to the docstring.
806 2009-12-05 Eric Ludlam <zappo@gnu.org>
808 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
809 Describe project macro symbols.
811 * cedet/semantic/complete.el (semantic-complete-do-completion):
812 Don't call semantic-collector-current-exact-match.
814 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
815 ede-objects as targets.
817 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
818 a target's object list even if compiler vars are already in the
821 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
822 list of headers producing necessary macros.
824 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
826 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
827 track of the buffer position of the end of a BibTeX entry as this
828 position may change during reformatting.
829 (bibtex-format-entry): Remove whitespace before processing
830 numerical fields so that we recognize the latter properly.
831 (bibtex-reformat): Do not use push which changes the global value
832 of bibtex-entry-format.
833 (bibtex-field-braces-alist, bibtex-field-strings-alist)
834 (bibtex-field-re-init): Replace only space characters by regexp
836 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
837 (bibtex-initialize): Also update bibtex-strings.
838 (bibtex-kill-field): Preserve white space at end of entry.
839 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
840 Update bibtex-reference-keys.
842 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
844 * minibuffer.el (completion-pcm--merge-try): Also consider placing
845 point after a star, if that's the only place where modifications can
848 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
850 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
853 2009-12-04 Juri Linkov <juri@jurta.org>
855 * proced.el (proced): Call `(proced-update t)' to update process
856 information instead of only running proced-post-display-hook.
857 (proced-send-signal): Add a leading space to the buffer name
858 " *Marked Processes*" to make this buffer ephemeral.
860 2009-12-04 Juri Linkov <juri@jurta.org>
862 * dired.el (dired-auto-revert-buffer): New defcustom.
863 (dired-internal-noselect): Use it.
865 2009-12-04 Juri Linkov <juri@jurta.org>
867 Change roles of modes and functions in image-mode.el (Bug#5062).
869 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
870 in `auto-mode-alist'.
871 (image-mode-previous-major-mode): New variable.
872 (image-minor-mode-map): Rename from `image-mode-text-map'.
873 (image-mode): Move graceful error-handling code from
874 `image-minor-mode' to here. On errors call `image-mode-as-text'.
875 (image-minor-mode): Remove all image-handling code.
876 Replace `image-mode-text-map' with `image-minor-mode-map'.
877 Check for `image-type' in mode-line format string.
878 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
879 (image-mode-as-text): New function with most code from
881 (image-toggle-display-text): Move code that removes image
882 properties from `image-toggle-display' to here.
883 (image-toggle-display-image): New function with code that adds
884 image properties copied from `image-toggle-display'.
885 (image-toggle-display): Remove most code with leaving only code
886 that toggles between `image-mode-as-text' and `image-mode'.
888 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
890 * net/newst-treeview.el
891 (newsticker--treeview-list-highlight-start): Restored call to
892 save-excursion: Selected item was stuck.
893 (newsticker--treeview-list-select): New.
894 (newsticker--treeview-item-show-text)
895 (newsticker--treeview-item-show)
896 (newsticker--treeview-item-update): Use new
897 newsticker-treeview-item-mode.
898 (newsticker-treeview-update): Keep current item.
899 (newsticker-treeview-next-new-or-immortal-item): Doc change.
900 (newsticker--treeview-first-feed): Doc change.
901 (newsticker-treeview-list-menu)
902 (newsticker-treeview-item-menu): Added menu entries.
903 (newsticker-treeview-item-mode): New.
905 * net/newst-backend.el (newsticker-customize): Delete other
908 2009-12-04 Sam Steingold <sds@gnu.org>
910 * log-view.el (log-view-mode-map): "q" calls quit-window,
911 like in all the other non-self-insert buffers.
913 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
916 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
917 key decoding rather than do it manually via last-input-event +
919 (term-exec): Use delete-and-extract-region.
920 (term-handle-ansi-terminal-messages): Remove unused var `end'.
921 (term-process-pager): Remove unused var `i'.
922 (term-dynamic-simple-complete): Make obsolete.
923 (serial-update-config-menu): Remove unused vars `y' and `str'.
924 (term-update-mode-line): Remove unused var `temp'.
926 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
928 Limit the number of log entries displayed by default.
929 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
930 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
931 using a prefix argument.
933 2009-12-03 Glenn Morris <rgm@gnu.org>
935 * progmodes/idlwave.el (class): Restore still useful declaration.
937 2009-12-03 Alan Mackenzie <acm@muc.de>
939 Enhance `c-parse-state' to run efficiently in "brace deserts".
941 * progmodes/cc-mode.el (c-basic-common-init):
942 Call c-state-cache-init.
943 (c-neutralize-syntax-in-and-mark-CPP): Rename from
944 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
945 placing `category' properties value 'c-cpp-delimiter at its boundaries.
947 * progmodes/cc-langs.el (c-before-font-lock-function):
948 c-extend-and-neutralize-syntax-in-CPP has been renamed
949 c-neutralize-syntax-in-and-mark-CPP.
951 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
952 with `category' properties now, not `syntax-table' ones.
954 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
955 enhanced (but slower) version of c-end-of-macro that won't land
956 inside a literal or on another awkward character.
957 (c-state-cache-too-far, c-state-cache-start)
958 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
959 (c-state-nonlit-pos-cache-limit, c-state-point-min)
960 (c-state-point-min-lit-type, c-state-point-min-lit-start)
961 (c-state-min-scan-pos, c-state-brace-pair-desert)
962 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
963 buffer local variables.
964 (c-state-literal-at, c-state-lit-beg)
965 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
966 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
967 (c-state-cache-top-paren, c-state-cache-after-top-paren)
968 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
969 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
970 (c-renarrow-state-cache)
971 (c-append-lower-brace-pair-to-state-cache)
972 (c-state-push-any-brace-pair, c-append-to-state-cache)
973 (c-remove-stale-state-cache)
974 (c-remove-stale-state-cache-backwards, c-state-cache-init)
975 (c-invalidate-state-cache-1, c-parse-state-1)
976 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
977 (c-parse-state): Enhance and refactor.
978 (c-debug-parse-state): Amend to deal with all the new variables.
980 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
981 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
982 modify to use category text properties rather than syntax-table ones.
983 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
984 to switch off/on the syntactic paren property of C++ template
985 delimiters using the category property.
986 (c-with-<->-as-parens-suppressed): Macro to invoke code with
987 template delims suppressed.
988 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
989 New constant/macros which apply category properties to the start
990 and end of preprocessor constructs.
991 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
992 "comment out" the syntactic value of characters in preprocessor
994 (c-with-cpps-commented-out)
995 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
996 with characters in all or all but one preprocessor constructs
999 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1001 * proced.el (proced-filter-alist): Use regexp-quote.
1003 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
1006 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
1007 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
1008 arguments. Expand `default-directory'.
1010 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
1011 the benefit of returning an expanded localname.
1012 (tramp-tramp-file-p): Handle the case NAME is not a string.
1014 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1016 Add support for bzr shelve/unshelve.
1017 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1018 (vc-bzr-extra-menu-map): New variables.
1019 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
1020 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
1021 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
1022 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
1023 (vc-bzr-dir-extra-headers): Display shelves.
1025 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
1027 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * textmodes/bibtex.el (bibtex-complete-internal):
1030 Use completion-in-region.
1031 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
1033 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1035 Support applying stashes. Improve UI.
1036 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
1037 (vc-git-stash-apply, vc-git-stash-pop)
1038 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
1039 (vc-git-stash-menu): New functions.
1040 (vc-git-stash-menu-map): New variable.
1041 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
1043 2009-12-03 Glenn Morris <rgm@gnu.org>
1045 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
1046 (vc-print-log-internal): Fix previous change.
1047 (vc-revert): Correct pluralization.
1049 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1051 * progmodes/make-mode.el (makefile-special-targets-list): No need for
1052 it to be an alist any more.
1053 (makefile-complete): Use completion-in-region.
1055 * progmodes/octave-mod.el (octave-complete-symbol):
1056 Use completion-in-region.
1059 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
1060 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
1061 (idlwave-complete-class): Don't quote lambda.
1062 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
1063 (idlwave-mode-map): Move initialization into declaration.
1064 (idlwave-action-and-binding): Use backquotes.
1065 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
1067 (idlwave-is-pointer-dereference): Remove unused var `pos'.
1068 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
1069 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
1070 `parts', and `all-parts'.
1071 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
1072 (idlwave-convert-xml-system-routine-info): Remove unused string
1074 (idlwave-display-user-catalog-widget): Use dolist.
1075 (idlwave-scanning-lib): Declare dynamically-scoped var.
1076 (idlwave-scan-library-catalogs): Remove unused var `flags'.
1077 (completion-highlight-first-word-only): Declare to silence bytecomp.
1078 (idlwave-popup-select): Tighten scope of `resp'.
1079 (idlwave-find-struct-tag): Remove unused var `beg'.
1080 (idlwave-after-load-rinfo-hook): Declare.
1081 (idlwave-sintern-class-info): Remove unused var `taglist'.
1082 (idlwave-find-class-definition): Remove unused var `list'.
1083 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
1084 (idlwave-what-module-find-class): Remove unused var `classes'.
1086 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
1088 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
1090 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
1093 buffers visited. Remove redundant current-buffer-saving.
1095 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1097 Use completion-in-buffer and remove uses of dynamic scoping.
1098 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
1099 (pascal-buffer-to-use, pascal-flag): Don't declare.
1100 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
1101 (pascal-get-completion-decl, pascal-keyword-completion):
1102 Add `pascal-str' argument, save-excursion,
1103 return the found completions, and don't filter with pascal-pred.
1104 (pascal-completion-cache): New var.
1105 (pascal-completion): Don't switch buffer any more (it was never
1106 necessary). Don't save-excursion any more (it's done by the called
1107 subroutines). Use a cache to avoid redundant computations.
1108 Use complete-with-action rather than pascal-completion-response and
1109 let it apply the predicate as well.
1110 (pascal-complete-word): Use completion-in-buffer when
1111 pascal-toggle-completions is nil.
1112 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
1114 (pascal-comp-defun): Don't change buffer any more.
1115 Use complete-with-action rather than pascal-completion-response and
1116 let it apply the predicate as well.
1117 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
1120 2009-12-02 Kenichi Handa <handa@m17n.org>
1122 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
1123 shape for all Indic scripts.
1125 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1127 Use completion-in-buffer.
1128 * wid-edit.el (widget-field-text-end): New function.
1129 (widget-field-value-get): Use it.
1130 (widget-string-complete, widget-file-complete)
1131 (widget-color-complete): Use it and completion-in-region.
1132 (widget-complete): Don't narrow the buffer.
1134 2009-12-02 Glenn Morris <rgm@gnu.org>
1136 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
1137 (rmail-select-summary): Use rmail-pop-to-buffer.
1138 * mail/rmailsum.el: Replace all pop-to-buffer calls with
1139 rmail-pop-to-buffer, to prevent horizontal splits.
1141 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
1142 save-excursion with save-current-buffer.
1143 Widen before searching. (Bug#5093)
1144 (diary-list-sexp-entries): Remove superfluous save-excursion.
1146 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
1148 * woman.el (woman-make-bufname): Handle man-pages with "." in the
1151 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
1153 * ido.el (ido-file-internal): Handle filenames at point that do
1154 not have a directory part. (Bug#5049)
1156 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
1158 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
1159 (mpc-songs-jump-to, mpc-resume): Doc fixes.
1161 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
1163 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
1164 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
1167 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * comint.el (comint-insert-input): Ignore clicks to the right of
1170 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
1172 * vc.el (vc-print-log-internal): Don't wait for the process to
1173 terminate before setting up the major mode.
1175 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
1178 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
1181 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
1183 2009-12-01 Glenn Morris <rgm@gnu.org>
1185 * window.el (window--display-buffer-2): Fix previous changes.
1187 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
1189 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
1191 2009-12-01 Glenn Morris <rgm@gnu.org>
1193 * Makefile.in (ELCFILES): Add mpc.elc.
1195 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1199 2009-12-01 Glenn Morris <rgm@gnu.org>
1201 * window.el (window-to-use): Define for compiler.
1203 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
1204 consistent with others (no final period).
1206 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
1207 (rmail-mime-show): Downcase the encoding. (Bug#5070)
1209 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1211 Make vc-print-log buttons work.
1212 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
1214 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
1216 * savehist.el (savehist-autosave-interval): Allow setting to nil
1217 through customize. (Bug#5056)
1219 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
1221 Fix references to jit-lock properties.
1222 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1223 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
1224 (perl-font-lock-special-syntactic-constructs):
1225 Quote jit-lock-defer-multiline property.
1227 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
1229 * vc-git.el (vc-git-registered): Call vc-git-root only once.
1231 2009-11-30 Juri Linkov <juri@jurta.org>
1233 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
1234 value `buffer' of `multi-isearch-next-buffer-current-function'.
1235 Use `(current-buffer)' when `buffer' is nil.
1236 (multi-isearch-next-buffer-from-list): Don't fallback to
1237 `(current-buffer)' when `buffer' is nil. (Bug#4947)
1239 2009-11-30 Juri Linkov <juri@jurta.org>
1241 * misearch.el (multi-isearch-read-buffers): Move canonicalization
1242 of buffers with `get-buffer' to `multi-isearch-buffers'.
1243 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1244 Canonicalize BUFFERS with `get-buffer'. Doc fix.
1245 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
1246 FILES with `expand-file-name' converting relative file names
1247 to absolute. Doc fix. (Bug#4727)
1249 2009-11-30 Juri Linkov <juri@jurta.org>
1251 * misearch.el (multi-isearch-read-buffers)
1252 (multi-isearch-read-matching-buffers): New functions.
1253 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1254 Use them in the `interactive' spec. Doc fix.
1255 (multi-isearch-read-files, multi-isearch-read-matching-files):
1257 (multi-isearch-files, multi-isearch-files-regexp):
1258 Use them in the `interactive' spec. Doc fix. (Bug#4725)
1260 2009-11-30 Juri Linkov <juri@jurta.org>
1262 * doc-view.el (doc-view-continuous):
1263 Rename from `doc-view-continuous-mode'.
1264 (doc-view-menu): Move "Toggle display" to the top.
1265 Add submenu "Continuous" with radio buttons "Off"/"On"
1266 and "Save as Default".
1267 (doc-view-scroll-up-or-next-page)
1268 (doc-view-scroll-down-or-previous-page)
1269 (doc-view-next-line-or-next-page)
1270 (doc-view-previous-line-or-previous-page): Rename
1271 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
1273 2009-11-30 Juri Linkov <juri@jurta.org>
1275 * comint.el (comint-mode-map): Rebind `M-r' from
1276 `comint-previous-matching-input' to
1277 `comint-history-isearch-backward-regexp'.
1278 Unbind `M-s' to allow global key binding `M-s'.
1279 Add menu items for `comint-history-isearch-backward' and
1280 `comint-history-isearch-backward-regexp'. (Bug#3746)
1282 2009-11-30 Juri Linkov <juri@jurta.org>
1284 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
1285 For def=recenter, replace `recenter' with `recenter-top-bottom'
1286 that is called with `this-command' and `last-command' let-bound
1287 to `recenter-top-bottom'. When the last `def' was not `recenter',
1288 set `recenter-last-op' to nil. (Bug#4981)
1290 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
1292 Minor cleanup and simplification.
1293 * filecache.el (file-cache-add-directory)
1294 (file-cache-add-directory-recursively)
1295 (file-cache-add-from-file-cache-buffer)
1296 (file-cache-delete-file-regexp, file-cache-delete-directory)
1297 (file-cache-files-matching-internal, file-cache-display): Use dolist.
1298 (file-cache-temp-minibuffer-message): Delete function.
1299 (file-cache-minibuffer-complete): Use minibuffer-message instead.
1301 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
1302 Don't signal an error when bumping into EOB in tr, s, or y.
1304 2009-11-29 Juri Linkov <juri@jurta.org>
1306 * startup.el (fancy-about-text): Fix wording of Guided Tour.
1309 * descr-text.el (describe-char-unidata-list): Use lowercase name
1310 for "Unicode name" like in other tags.
1312 2009-11-29 Juri Linkov <juri@jurta.org>
1314 * ediff-util.el (ediff-minibuffer-with-setup-hook):
1315 New compatibility macro.
1316 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
1318 2009-11-29 Juri Linkov <juri@jurta.org>
1320 Add defcustom to define the cycling order of `recenter-top-bottom'.
1323 * window.el (recenter-last-op): Doc fix.
1324 (recenter-positions): New defcustom.
1325 (recenter-top-bottom): Rewrite to use `recenter-positions'.
1326 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
1328 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
1330 Improve integration of Tramp and ange-ftp in eshell.
1332 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1333 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
1334 (eshell/sudo): Flatten args. Let-bind `default-directory'.
1336 * eshell/esh-util.el (top): Require also Tramp when compiling.
1337 (eshell-directory-files-and-attributes): Check for FTP remote
1339 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
1340 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
1341 (eshell-file-attributes): Handle ".". Return `entry'.
1343 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
1344 (ange-ftp-directory-files-and-attributes)
1345 (ange-ftp-real-directory-files-and-attributes): New defuns.
1347 * net/tramp.el (tramp-maybe-open-connection): Open the remote
1348 shell with "exec" when possible. This prevents trailing prompts
1349 in `start-file-process'.
1351 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1353 Try and remove assumptions about point-min==1.
1354 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
1355 (rng-compute-mode-line-string): Show the validation percentage in
1356 terms of the narrowed text, not the widened text.
1357 (rng-do-some-validation): Don't catch internal errors when debugging.
1358 (rng-first-error): Simplify.
1359 (rng-after-change-function): Remove work around. AFAIK the bug has
1360 been fixed a while ago.
1362 * image-mode.el (image-minor-mode): Exit more gracefully when the image
1363 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
1365 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
1367 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
1368 `cd' doesn't always do it for us (bug#5067).
1370 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
1371 on 2009-10-25 as part of some other change (bug#5067).
1373 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1375 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1377 (byte-compile-warnings): Use byte-compile-warning-types.
1378 (byte-compile-save-excursion): Warn about use of set-buffer right
1379 after save-excursion.
1381 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
1382 the excursion as well.
1384 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
1386 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
1387 providing a Tramp related implementation of "su" and "sudo".
1388 (eshell-unix-initialize): Add "su" and "sudo".
1390 2009-11-27 Daiki Ueno <ueno@unixuser.org>
1392 * net/socks.el (socks-send-command): Convert binary request to
1393 unibyte before sending. This fixes mishandling of some port
1394 numbers such as 129.
1396 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * help.el (describe-bindings-internal): Remove `interactive'.
1400 * man.el (Man-completion-table): Trim a terminating "(".
1401 Remove the space between name page a section.
1402 Add the command's description on the `help-echo' property.
1403 Remove `process-connection-type' binding since it's unused by
1405 Provide completion for the "<section> <name>" format as well.
1406 (Man-default-man-entry): Remove spurious var shadowing the argument.
1408 2009-11-26 Kevin Ryde <user42@zip.com.au>
1410 * log-view.el: Add "Keywords: tools", since its other keywords
1411 aren't in finder-known-keywords, and following vc.el.
1413 * sha1.el (sha1-string-external): default-directory "/" in case
1414 otherwise non-existent. process-connection-type pipe for touch of
1415 efficiency recommended by elisp manual. (An aside in Bug#3911.)
1417 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1419 Misc coding convention cleanups.
1420 * htmlfontify.el (hfy-init-kludge-hook): Rename from
1421 hfy-init-kludge-hooks.
1422 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
1423 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
1424 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
1426 (hfy-slant, hfy-weight): Use tables rather than code.
1427 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
1428 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
1429 (hfy-face-attr-for-class): Initialize `face-spec' directly.
1430 (hfy-face-to-css): Remove `nconc' with single arg.
1431 (hfy-p-to-face-lennart): Use `or'.
1432 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
1433 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
1434 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
1435 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
1436 (hfy-force-fontification): Use run-hooks.
1438 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
1440 Various minor fixes.
1441 * htmlfontify.el (hfy-default-header): Add toggle_invis since
1442 Javascript belongs in the header, not the body.
1443 (hfy-javascript): Remove.
1444 (hfy-fontify-buffer): Don't insert it any more.
1445 (hfy-face-at): Handle (face0 face1 face2) style face properties.
1446 Fix bug in invis handling when there were no invis props in a chunk.
1448 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1450 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
1452 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
1454 * finder.el (finder-mode-map): Add a menu.
1456 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
1458 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1461 (verilog-leap-to-head, verilog-backward-token): Handle "disable
1462 fork" statement better.
1464 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
1466 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
1467 (verilog-delete-empty-auto-pair, verilog-library-filenames):
1468 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
1470 (verilog-auto-inst, verilog-auto-star-safe)
1471 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1472 Fix removing "// Interfaces" when saving .* expansions. Reported by
1473 Pierre-David Pfister.
1475 2009-11-26 Glenn Morris <rgm@gnu.org>
1477 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1480 2009-11-25 Johan Bockgård <bojohan@gnu.org>
1482 * vc-annotate.el (vc-annotate-revision-previous-to-line):
1483 Really use previous revision.
1485 2009-11-25 Kevin Ryde <user42@zip.com.au>
1487 * man.el (Man-completion-table): default-directory "/" in case
1488 doesn't otherwise exist. process-environment COLUMNS=999 so as
1489 not to truncate long names. process-connection-type pipe to avoid
1490 any chance of hitting the pseudo-tty TIOCGWINSZ.
1491 (man): completion-ignore-case t for friendliness and since man
1492 itself is case-insensitive on the command line.
1493 Further to Bug#3717.
1495 * arc-mode.el: Add "Keywords: files", so the details in its
1496 commentary can be reached from finder-by-keyword.
1497 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1498 editing mode, but it's comms related and sgml-mode.el has "comm"
1500 * textmodes/bibtex-style.el: Add "Keywords: tex".
1501 * international/isearch-x.el, international/ja-dic-cnv.el:
1502 * international/ja-dic-utl.el, international/kkc.el:
1503 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1505 2009-11-25 Juri Linkov <juri@jurta.org>
1507 * man.el (Man-completion-table): Modify regexp to include
1508 section names to completion strings. (Bug#3717)
1510 2009-11-25 Juri Linkov <juri@jurta.org>
1512 Search recursively in gzipped files. (Bug#4982)
1514 * progmodes/grep.el (grep-highlight-matches): Add new options
1515 `always' and `auto'. Doc fix.
1516 (grep-process-setup): Check `grep-highlight-matches' for
1517 `auto-detect' to determine the need to compute grep defaults.
1518 Move Windows/DOS specific --colors settings handling
1519 to `grep-compute-defaults'. Check `grep-highlight-matches'
1520 to get the value of "--color=".
1521 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1522 has the value `auto-detect'. Move Windows/DOS specific settings
1523 from `grep-process-setup'.
1524 (zrgrep): New command with alias `rzgrep'.
1526 2009-11-25 Juri Linkov <juri@jurta.org>
1528 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1529 to nil instead of switching off view-mode. (Bug#4896)
1531 2009-11-25 Juri Linkov <juri@jurta.org>
1533 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
1535 * mwheel.el (mwheel-scroll-up-function)
1536 (mwheel-scroll-down-function): New defvars.
1537 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1538 `scroll-up', and `mwheel-scroll-down-function' instead of
1541 * doc-view.el (doc-view-scroll-up-or-next-page)
1542 (doc-view-scroll-down-or-previous-page): Add optional ARG.
1543 Use this ARG in the call to image-scroll-up/image-scroll-down.
1544 Change `interactive' spec to "P". Goto next/previous page only
1545 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1546 SPC/DEL case). Doc fix.
1547 (doc-view-next-line-or-next-page)
1548 (doc-view-previous-line-or-previous-page): Rename arg to ARG
1550 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1551 `doc-view-scroll-up-or-next-page', and buffer-local
1552 `mwheel-scroll-down-function' to
1553 `doc-view-scroll-down-or-previous-page'.
1555 2009-11-25 Juri Linkov <juri@jurta.org>
1557 Provide additional default values (directories at other Dired
1558 windows) via M-n in the minibuffer of some Dired commands.
1560 * dired-aux.el (dired-diff, dired-compare-directories)
1561 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1562 `minibuffer-default' in `minibuffer-with-setup-hook'.
1563 (dired-dwim-target-directory): Find a window that displays Dired
1564 buffer instead of failing when the next window is not Dired.
1565 Use `get-window-with-predicate' to find for the next Dired window.
1566 (dired-dwim-target-defaults): New function.
1568 * ediff-util.el (ediff-read-file-name):
1569 Use `dired-dwim-target-defaults' to set `minibuffer-default'
1570 in `minibuffer-with-setup-hook'.
1572 2009-11-25 Juri Linkov <juri@jurta.org>
1574 Provide additional default values (file name at point or at the
1575 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
1577 * minibuffer.el (read-file-name-defaults): New function.
1578 (read-file-name): Reset `minibuffer-default' to nil when
1579 it duplicates initial input `insdef'.
1580 Bind `minibuffer-default-add-function' to lambda that
1581 calls `read-file-name-defaults' in `minibuffer-selected-window'.
1582 (minibuffer-insert-file-name-at-point): New command.
1584 * files.el (file-name-at-point-functions): New defcustom.
1585 (find-file-default): Remove defvar.
1586 (find-file-read-args): Don't use `find-file-default'.
1587 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1588 to `read-file-name'.
1589 (find-file-literally): Use `read-file-name' with
1590 `confirm-nonexistent-file-or-buffer'.
1592 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1594 * dired.el (dired-read-dir-and-switches):
1595 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1596 to `read-file-name'.
1597 (dired-file-name-at-point): New function.
1598 (dired-mode): Add hook `dired-file-name-at-point' to
1599 `file-name-at-point-functions'.
1601 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1603 Really make the *Completions* window soft-dedicated (bug#5030).
1604 * window.el (window--display-buffer-2): Add `dedicated' argument.
1605 (display-buffer): Pass it when needed so the dedicated flag is set
1606 after calling set-window-buffer, which would otherwise reset it.
1608 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/meta-mode.el (meta-complete-symbol):
1611 * progmodes/etags.el (complete-tag):
1612 * mail/mailabbrev.el (mail-abbrev-complete-alias):
1613 Use completion-in-region.
1615 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1616 (dabbrev-completion): Use completion-in-region.
1617 (dabbrev--abbrev-at-point): Simplify regexp.
1619 * abbrev.el (abbrev--before-point): Use word-motion functions
1620 if :regexp is not specified (bug#5031).
1622 * subr.el (string-prefix-p): New function.
1624 * man.el (Man-completion-cache): New var.
1625 (Man-completion-table): Use it.
1627 * vc.el (vc-print-log-internal): Make `limit' optional for better
1628 compatibility (e.g. with vc-annotate.el).
1630 2009-11-24 Kevin Ryde <user42@zip.com.au>
1632 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1633 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
1635 * emacs-lisp/elint.el (elint-add-required-env): Better error message
1636 when .el source file not found or other error.
1638 2009-11-24 Markus Triska <markus.triska@gmx.at>
1640 * linum.el (linum-update-window): Ignore intangible (bug#4996).
1642 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1644 Handle the [back] button properly (bug#4979).
1645 * descr-text.el (describe-text-properties): Add a `buffer' argument.
1646 Use help-setup-xref, help-buffer, and with-help-window.
1647 (describe-char): Add `buffer' argument.
1648 Pass proper command to help-setup-xref. Don't meddle with
1649 help-xref-stack-item directly.
1650 (describe-text-category): Use with-help-window and help-buffer.
1652 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1653 for the displayed buffer (bug#4887).
1655 * man.el (Man-completion-table): New function.
1658 2009-11-24 David Reitter <david.reitter@gmail.com>
1660 * vc-git.el (vc-git-registered): Use checkout directory (where
1661 .git is) rather than the file's directory and a relative path spec
1662 to work around a bug in git.
1664 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
1666 Improve handling of processes on remote hosts.
1668 * eshell/esh-util.el (eshell-path-env): New defvar.
1669 (eshell-parse-colon-path): New defun.
1670 (eshell-file-attributes): Use `eshell-parse-colon-path'.
1672 * eshell/esh-ext.el (eshell-search-path):
1673 Use `eshell-parse-colon-path'.
1674 (eshell-remote-command): Remove argument HANDLER.
1675 (eshell-external-command): Check for FTP remote connection.
1677 * eshell/esh-proc.el (eshell-gather-process-output):
1678 Use `file-truename', in order to start also symlinked files.
1679 Apply `start-file-process' instead of `start-process'.
1680 Shorten `command' to the local file name part.
1682 * eshell/em-cmpl.el (eshell-complete-commands-list):
1683 Use `eshell-parse-colon-path'.
1685 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1687 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
1688 to `eshell-directory-change-hook'.
1690 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
1692 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1693 because it could be enabled automatically if view-read-only is non-nil.
1695 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
1697 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1700 2009-11-24 Glenn Morris <rgm@gnu.org>
1702 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1703 deleted variable bookmark-bmenu-bookmark-column.
1705 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1706 Move after definition of global-semantic-idle-tag-highlight-mode.
1708 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1712 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
1714 * net/browse-url.el (browse-url-filename-alist): On Windows, add
1715 two slashes to the "file:" prefix.
1716 (browse-url-file-url): De-munge Cygwin filenames before passing
1717 them to Windows browser.
1718 (browse-url-default-windows-browser): Use call-process.
1720 2009-11-23 Juri Linkov <juri@jurta.org>
1722 Implement DocView Continuous mode. (Bug#4896)
1723 * doc-view.el (doc-view-continuous-mode): New defcustom.
1724 (doc-view-mode-map): Bind C-n/<down> to
1725 `doc-view-next-line-or-next-page', C-p/<up> to
1726 `doc-view-previous-line-or-previous-page'.
1727 (doc-view-next-line-or-next-page)
1728 (doc-view-previous-line-or-previous-page): New commands.
1730 2009-11-23 Juri Linkov <juri@jurta.org>
1732 Implement Isearch in comint input history. (Bug#3746)
1733 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1734 `isearch-mode-hook'.
1735 (comint-history-isearch): New defcustom.
1736 (comint-history-isearch-backward)
1737 (comint-history-isearch-backward-regexp): New commands.
1738 (comint-history-isearch-message-overlay): New buffer-local variable.
1739 (comint-history-isearch-setup, comint-history-isearch-end)
1740 (comint-goto-input, comint-history-isearch-search)
1741 (comint-history-isearch-message, comint-history-isearch-wrap)
1742 (comint-history-isearch-push-state)
1743 (comint-history-isearch-pop-state): New functions.
1745 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
1747 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1749 (tramp-handle-make-symbolic-link)
1750 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1752 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1753 (tramp-handle-process-file): Use it.
1755 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * window.el (move-to-window-line-last-op): Remove.
1758 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1760 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
1762 Make M-r mirror the new cycling behavior of C-l.
1763 * window.el (move-to-window-line-last-op): New var.
1764 (move-to-window-line-top-bottom): New command.
1765 (global-map): Bind M-r move-to-window-line-top-bottom.
1767 2009-11-23 Sven Joachim <svenjoac@gmx.de>
1769 * dired-x.el (dired-guess-shell-alist-default):
1770 Support xz format. (Bug#4953)
1772 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1774 * cedet/srecode/map.el (srecode-get-maps):
1775 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1776 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1777 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1778 (semantic-toggle-decoration-style):
1779 * cedet/semantic/decorate/include.el
1780 (semantic-decoration-include-describe)
1781 (semantic-decoration-unknown-include-describe)
1782 (semantic-decoration-unparsed-include-describe)
1783 (semantic-decoration-all-include-summary):
1784 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1785 * cedet/semantic/analyze/complete.el
1786 (semantic-analyze-possible-completions):
1787 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1788 (semantic-show-unmatched-syntax-mode)
1789 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1790 (semantic-highlight-func-mode):
1791 * cedet/semantic/util.el (semantic-describe-buffer):
1792 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1793 (semantic-symref-find-tags-by-name)
1794 (semantic-symref-find-tags-by-regexp)
1795 (semantic-symref-find-tags-by-completion)
1796 (semantic-symref-find-file-references-by-name)
1797 (semantic-symref-find-text):
1798 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1800 * cedet/semantic/scope.el (semantic-calculate-scope):
1801 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1802 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1803 (define-semantic-idle-service):
1804 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1805 (semantic-complete-analyze-inline-idle):
1806 * cedet/semantic/analyze.el (semantic-analyze-current-context):
1807 * cedet/mode-local.el (describe-mode-local-bindings)
1808 (describe-mode-local-bindings-in-mode):
1809 * cedet/ede/make.el (ede-make-check-version):
1810 * cedet/ede/locate.el (ede-enable-locate-on-project):
1811 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1812 (cedet-idutils-version-check):
1813 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1814 (cedet-gnu-global-version-check):
1815 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1816 (cedet-cscope-version-check): Use called-interactively-p instead
1819 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1820 Use semantic-format-tag-prototype.
1822 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
1824 * emulation/viper-cmd.el: Use viper-last-command-char instead of
1825 last-command-char/last-command-event.
1826 (viper-prefix-arg-value): Do correct conversion of event-char for
1829 * emulation/viper-util.el, emulation/viper.el:
1830 Use viper-last-command-char instead of
1831 last-command-char/last-command-event.
1833 * ediff-init.el, ediff-mult.el, ediff-util.el:
1834 Replace last-command-char and last-command-event
1835 with (ediff-last-command-char) everywhere.
1837 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1838 created in fundamental mode.
1840 * ediff.el (ediff-version): Revert the change of interactive-p to
1841 called-interactively-p.
1843 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
1845 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1846 generation from word-movement command names.
1848 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1850 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1851 (semantic-complete-jump-local, semantic-complete-jump):
1852 Improve prompt string.
1854 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
1856 * cus-start.el (all): Add native condition for font-use-system-font.
1858 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
1860 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1861 Correct the patch from 2009-11-18. (Bug#3910)
1863 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
1865 * progmodes/subword.el: Rename from lisp/subword.el.
1867 * subword.el: Rename to progmodes/subword.el.
1869 * Makefile.in (ELCFILES): Adapt to subword.el move.
1871 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1872 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1875 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1876 (bookmark-bmenu-show-filenames): Use push.
1877 (bookmark-bmenu-hide-filenames): Use local var instead of
1878 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
1879 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1880 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1881 filenames now that the bookmark names are always available.
1883 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1886 (bookmark-search-pattern): Move and leave unbound.
1887 (bookmark-bmenu-mode-map): Change binding.
1888 (bookmark-read-search-input): Simplify.
1889 Don't use text-char-description. Don't error on non-char events.
1890 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1891 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1892 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1893 Use a local var for the timer.
1894 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1895 (i.e. bookmark-bmenu-search).
1897 2009-11-21 Glenn Morris <rgm@gnu.org>
1899 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
1901 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
1903 * net/browse-url.el (browse-url-default-windows-browser):
1904 Use cygstart for cygwin.
1906 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
1908 * bookmark.el: Formatting and doc fixes only:
1909 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1910 (bookmark-bmenu-search): Wrap to fit within 80 columns.
1911 Minor grammar and punctuation fixes in doc string.
1912 (bookmark-read-search-input): Adjust to fit within 80 columns.
1914 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1916 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1917 (c-backward-into-nomenclature): Adapt to subword renaming.
1919 * subword.el (subword-forward, subword-backward, subword-mark)
1920 (subword-kill, subword-backward-kill, subword-transpose)
1921 (subword-downcase, subword-upcase, subword-capitalize)
1922 (subword-forward-internal, subword-backward-internal):
1923 Rename from forward-subword, backward-subword, mark-subword,
1924 kill-subword, backward-kill-subword, transpose-subwords,
1925 downcase-subword, upcase-subword, capitalize-subword,
1926 forward-subword-internal, backward-subword-internal.
1928 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1930 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1932 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1934 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1935 (bookmark-bmenu-filter-alist-by-regexp)
1936 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1937 (bookmark-bmenu-search): New command.
1938 (bookmark-bmenu-mode-map): Bind it.
1940 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1942 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1944 * cedet/semantic/idle.el (define-semantic-idle-service)
1945 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1947 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1949 * progmodes/cc-cmds.el: declare-functioned forward-subword and
1950 backward-subword to quit the byte-compiler.
1952 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1954 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1956 * progmodes/cc-cmds.el (c-update-modeline)
1957 (c-forward-into-nomenclature, c-backward-into-nomenclature):
1958 Refer to subword.el functions instead of cc-subword.el.
1960 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1961 subword.el functions instead of cc-subword.el.
1963 * progmodes/cc-subword.el: Rename to subword.el.
1964 * subword.el: Rename from progmodes/cc-subword.el.
1965 (subword-mode-map): Rename from c-subword-mode-map.
1966 (subword-mode): Rename from c-subword-mode.
1967 (global-subword-mode): New global minor mode.
1968 (forward-subword): Rename from c-forward-subword.
1969 (backward-subword): Rename from c-backward-subword.
1970 (mark-subword): Rename from c-mark-subword.
1971 (kill-subword): Rename from c-kill-subword.
1972 (backward-kill-subword): Rename from c-backward-kill-subword.
1973 (transpose-subwords): Rename from c-tranpose-subword.
1974 (downcase-subword): Rename from c-downcase-subword.
1975 (capitalize-subword): Rename from c-capitalize-subword.
1976 (forward-subword-internal): Rename from c-forward-subword-internal.
1977 (backward-subword-internal): Rename from c-backward-subword-internal.
1979 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
1981 * vc.el (vc-deduce-fileset): Allow non-state changing operations
1982 from a dired buffer.
1983 (vc-dired-deduce-fileset): New function.
1984 (vc-root-diff, vc-print-root-log): Use it.
1986 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
1987 nil LIMIT argument to vc-print-log-internal.
1989 2009-11-20 Glenn Morris <rgm@gnu.org>
1991 * Makefile.in (ELCFILES): Regenerate.
1993 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1995 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
1997 * cedet/semantic.el: Enable idle-mode menu items only if
1998 global-semantic-idle-scheduler-mode is enabled.
1999 (semantic-default-submodes): Doc fix.
2001 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2002 When turning off, disable other idle modes.
2004 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
2006 * calc/calc.el (calc-set-mode-line):
2007 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2008 (math-format-number): Rename `math-format-complement-signed' to
2009 `math-format-twos-complement'.
2011 * calc/calc-bin.el (math-format-twos-complement): Rename from
2012 math-format-complement-signed.
2013 (calc-radix): Rename `calc-complement-signed-mode' to
2014 `calc-twos-complement-mode'.
2015 (calc-octal-radix, calc-hex-radix): Add an argument for
2018 * calc/calc-embed.el (calc-embedded-mode-vars):
2019 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2021 * calc/calc-ext.el (calc-init-extensions):
2022 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2023 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2025 * calc/calc-units.el (math-build-units-table-buffer):
2026 Let `calc-twos-complement-mode' be nil.
2028 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
2031 * calc/calc-vec.el (calcFunc-vunpack):
2032 * calc/calc-aent.el (calc-do-calc-eval):
2033 * calc/calc-forms.el (math-format-date):
2034 * calc/calc-graph.el (calc-graph-plot):
2035 * calc/calc-math.el (math-use-emacs-fn):
2036 * calc/calccomp.el (math-compose-expr):
2037 Let `calc-twos-complement-mode' be nil.
2039 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
2042 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
2043 * minibuffer.el (completion-in-region-functions): New hook.
2044 (completion-in-region): New function.
2045 * emacs-lisp/lisp.el (lisp-complete-symbol):
2046 * pcomplete.el (pcomplete-std-complete): Use it.
2048 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
2051 (latex-complete-alist): New vars.
2052 (latex-string-prefix-p, latex-complete-bibtex-keys)
2053 (latex-complete-envnames, latex-complete-refkeys)
2054 (latex-complete-data): New functions.
2055 (latex-complete, latex-indent-or-complete): New commands.
2057 * window.el (display-buffer-mark-dedicated): New var.
2058 (display-buffer): Obey it.
2059 * minibuffer.el (minibuffer-completion-help): Use it.
2061 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
2063 * filecache.el (file-cache-add-file): Use push and cons.
2064 (file-cache-delete-file-regexp): Use push.
2065 (file-cache-complete): Use completion-in-region.
2067 * simple.el (with-wrapper-hook): Fix thinko.
2069 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
2070 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
2071 Use with-current-buffer and string-to-number.
2072 (hfy-fallback-colour-values): Use assoc-string.
2073 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
2074 (hfy-face-at): Remove unused var `found-face'.
2075 (hfy-compile-stylesheet): Remove unused var `css'.
2076 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
2078 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
2079 Use with-current-buffer.
2080 (hfy-text-p): Use expand-file-name and fewer setq.
2082 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
2084 * htmlfontify.el, hfy-cmap.el: New files.
2086 2009-11-19 Juri Linkov <juri@jurta.org>
2088 * minibuffer.el (completions-format): New defcustom.
2089 (completion--insert-strings): Implement vertical format.
2091 * simple.el (switch-to-completions): Move point to the first
2092 completion when point was at the beginning of the buffer.
2094 2009-11-19 Juri Linkov <juri@jurta.org>
2096 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
2098 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2100 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
2102 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
2103 (mail-signature): Change default to t.
2104 (mail-from-style): Deprecate `system-default' value.
2105 (mail-insert-from-field): For default value of mail-from-style,
2106 default to `angles' unless `angles' needs quoting and `parens'
2108 (mail-citation-prefix-regexp): Use citation regexp from
2111 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
2113 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2114 Set variables for computing the prompt for reading password.
2116 2009-11-19 Glenn Morris <rgm@gnu.org>
2118 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2120 * textmodes/flyspell.el (sgml-lexical-context): Declare.
2122 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
2123 (newsticker-treeview-listwindow-height): Fix custom type.
2125 2009-11-19 Kenichi Handa <handa@m17n.org>
2127 * descr-text.el (describe-char-padded-string): Compose with TAB
2128 only if there's a font for CH.
2129 (describe-char): Fix the condition for detecting a trivial composition.
2131 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
2133 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
2134 more accurate version of the regexp. (Bug#3910)
2136 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2138 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
2140 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
2142 * font-setting.el (font-use-system-font): Declare for byte-compiler.
2143 (font-setting-change-default-font): Fix typo in docstring.
2145 2009-11-18 Alan Mackenzie <acm@muc.de>
2147 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
2149 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2151 * font-setting.el (font-use-system-font): Move ...
2153 * cus-start.el (all): ... to here.
2155 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
2157 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
2158 Don't set `ad-return-value' if `ad-do-it' doesn't.
2160 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
2163 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2165 * menu-bar.el: Put "Use system font" in Option-menu.
2166 (menu-bar-options-save): Add font-use-system-font.
2168 * loadup.el: If feature system-font-setting or font-render-setting is
2169 there, load font-setting.
2171 * Makefile.in (ELCFILES): Add font-settings.el.
2172 * font-setting.el: New file.
2174 2009-11-17 Glenn Morris <rgm@gnu.org>
2176 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
2178 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
2179 Preserve point in the list buffer. (Bug#4939)
2181 (newsticker--treeview-list-update-highlight)
2182 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2184 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2186 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
2189 * calc/calc-ext.el (calc-init-extensions): Remove references to
2192 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
2194 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
2195 * calc/calc-help.el (calc-b-prefix-help): Remove references to
2198 2009-11-16 Kevin Ryde <user42@zip.com.au>
2200 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
2201 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
2203 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
2204 (lm-keywords-list): Allow comma-only separator like "foo,bar".
2205 Ignore trailing spaces by omit-nulls to split-string (fixing
2206 regression from Emacs 21 due to the incompatible split-string
2207 change). (Bug #4928.)
2209 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
2211 * vc.el (vc-log-show-limit): Default to 2000.
2212 (vc-print-log-internal): Insert buttons to request more entries
2213 when limiting the output.
2215 * vc-sccs.el (vc-sccs-print-log):
2216 * vc-rcs.el (vc-rcs-print-log):
2217 * vc-cvs.el (vc-cvs-print-log):
2218 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
2221 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
2224 error when `tramp-gvfs-dbus-event-vector' is set.
2225 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2227 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
2231 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2233 * net/dbus.el (dbus-unregister-service): New defun.
2234 (dbus-register-property): Register the handlers of
2235 "org.freedesktop.DBus.Properties" for SERVICE.
2236 (dbus-property-handler): Fix docstring.
2238 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2240 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
2241 Quote doc string reference in defvaralias as it is not in special form.
2242 (byte-compile-output-docform): Doc fix.
2244 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2246 * calc/calc.el (math-2-word-size, math-half-2-word-size)
2247 (calc-complement-signed-mode): New variables.
2248 (calc-set-mode-line): Add indicator for twos-complements.
2249 (math-format-number): Format twos-complement notation.
2251 * calc/calc-bin.el (calc-word-size): Reset the variables
2252 `math-2-word-size' and `math-half-2-word-size'.
2253 (math-format-complement-signed, math-symclip, calcFunc-symclip)
2254 (calc-symclip): New functions.
2256 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
2258 * calc/calc-embed.el (calc-embedded-mode-vars):
2259 Add `calc-complement-signed-mode' to the list of modes.
2261 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
2262 (calc-b-oper-keys): Add `calc-symclip' to list.
2264 * calc/calc-ext.el (math-read-number-fancy): Read complement
2266 (calc-init-extensions): Add binding for `calc-symclip'.
2267 Add autoload for `calcFunc-symclip' and `calc-symclip'.
2269 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
2271 (calc-modes-menu): Add item for twos complement mode.
2273 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
2275 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2277 * register.el (jump-to-register, insert-register): Handle Semantic
2278 tags. From commented-out advice in semantic/senator.el.
2280 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2282 * vc.el (vc-log-show-limit): New variable.
2283 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
2284 when using a prefix argument.
2285 (vc-print-log-internal): Add new argument LIMIT.
2287 * vc-svn.el (vc-svn-print-log):
2288 * vc-mtn.el (vc-mtn-print-log):
2289 * vc-hg.el (vc-hg-print-log):
2290 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
2291 pass it to the log command when set. Make the BUFFER argument
2294 * vc-sccs.el (vc-sccs-print-log):
2295 * vc-rcs.el (vc-rcs-print-log):
2296 * vc-git.el (vc-git-print-log):
2297 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
2298 ignore it. Make the BUFFER argument non-optional
2300 * bindings.el (mode-line-buffer-identification): Do not purecopy.
2302 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2304 * dired.el (dired-mode-map): Move encryption items to "Operate"
2307 * strokes.el (strokes-update-window-configuration): Make strokes
2308 buffer current before erasing (Bug#4906).
2310 * cedet/semantic/idle.el (semantic-idle-summary-mode)
2311 (semantic-idle-summary-mode): Define using define-minor-mode
2312 instead of define-semantic-idle-service.
2313 (semantic-idle-summary-mode): New function.
2314 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2315 that mouse motion does not reset the echo area.
2317 2009-11-15 Juri Linkov <juri@jurta.org>
2319 * simple.el (set-mark-default-inactive): Add :type, :group
2320 and :version. (Bug#4876)
2322 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
2324 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
2325 (archive-unique-fname): ... here. (Bug#4929)
2327 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
2332 * novice.el (disabled-command-function): Add useful args.
2333 Setup the help buffer so that [back] works.
2334 Remove redundant call to help-mode.
2335 (disabled-command-function): Use `case'.
2336 (en/disable-command): New function extracted from enable-command.
2337 (enable-command, disable-command): Use it.
2339 2009-11-14 Glenn Morris <rgm@gnu.org>
2341 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
2342 constants. (Bug#4913)
2344 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
2346 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2348 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
2349 defined in C that have no doc-strings. (Bug#1063)
2351 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
2353 * cus-edit.el (data, files):
2354 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
2356 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
2358 * simple.el (shell-command): Doc fix (Bug#4891).
2360 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
2362 2009-11-14 Glenn Morris <rgm@gnu.org>
2364 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
2365 statements for vc-diff, emerge-quit, and rmail-cease-edit.
2366 If they are already loaded, eval-after-load will do the right thing.
2368 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
2371 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
2373 * simple.el (x-selection-owner-p): Declare.
2374 (read-mail-command): Use custom radio type rather than choice.
2375 (completion-no-auto-exit): Doc fix.
2377 * custom.el (defgroup):
2378 * epg-config.el (epg): Doc fixes.
2380 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2382 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
2383 * international/ccl.el (define-ccl-program): Do not purecopy the
2384 docstring, defconst does it anyway.
2386 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * add-log.el (add-change-log-entry): Avoid displaying the changelog
2391 * x-dnd.el (x-dnd-maybe-call-test-function):
2392 * window.el (split-window-vertically):
2393 * whitespace.el (whitespace-help-on):
2394 * vc-rcs.el (vc-rcs-consult-headers):
2395 * userlock.el (ask-user-about-lock-help)
2396 (ask-user-about-supersession-help):
2397 * type-break.el (type-break-force-mode-line-update):
2398 * time-stamp.el (time-stamp-conv-warn):
2399 * terminal.el (te-set-output-log, te-more-break, te-filter)
2400 (te-sentinel, terminal-emulator):
2401 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
2402 (term-write-input-ring, term-check-source, term-start-output-log):
2403 (term-display-buffer-line, term-dynamic-list-completions):
2404 (term-ansi-make-term, serial-term):
2405 * subr.el (selective-display):
2406 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2407 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
2408 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
2409 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
2410 (speedbar-remove-localized-speedbar-support)
2411 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
2412 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
2413 (speedbar-buffers-line-directory):
2414 * simple.el (shell-command-on-region, append-to-buffer)
2415 (prepend-to-buffer):
2416 * shadowfile.el (shadow-save-todo-file):
2417 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
2418 (scroll-bar-maybe-set-window-start):
2419 * sb-image.el (speedbar-image-dump):
2420 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
2421 (load-save-place-alist-from-file):
2422 * ps-samp.el (ps-print-message-from-summary):
2423 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
2424 (ps-background-image, ps-begin-job, ps-do-despool):
2425 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
2426 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
2427 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
2428 (pr-call-process, pr-file-list, pr-interface-save):
2429 * novice.el (disabled-command-function)
2430 (enable-command, disable-command):
2431 * mouse.el (mouse-buffer-menu-alist):
2432 * mouse-copy.el (mouse-kill-preserving-secondary):
2433 * macros.el (kbd-macro-query):
2434 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
2435 * informat.el (batch-info-validate):
2436 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
2437 * hippie-exp.el (try-expand-dabbrev-visible):
2438 * help-mode.el (help-make-xrefs):
2439 * help-fns.el (describe-variable):
2440 * generic-x.el (bat-generic-mode-run-as-comint):
2441 * finder.el (finder-mouse-select):
2442 * find-dired.el (find-dired-sentinel):
2443 * filesets.el (filesets-file-close):
2444 * files.el (list-directory):
2445 * faces.el (list-faces-display, describe-face):
2446 * facemenu.el (list-colors-display):
2447 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
2448 * epg.el (epg--process-filter, epg-cancel):
2449 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
2450 (epa--read-signature-type):
2451 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
2452 (emerge-file-names):
2453 * ehelp.el (electric-helpify):
2454 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2455 * ediff-vers.el (rcs-ediff-view-revision):
2456 * ediff-util.el (ediff-setup):
2457 * ediff-mult.el (ediff-append-custom-diff):
2458 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2460 * echistory.el (Electric-command-history-redo-expression):
2461 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2462 * disp-table.el (describe-display-table):
2463 * dired.el (dired-find-buffer-nocreate):
2464 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2465 * dabbrev.el (dabbrev--same-major-mode-p):
2466 * chistory.el (list-command-history):
2467 * apropos.el (apropos-documentation):
2468 * allout.el (allout-obtain-passphrase):
2469 (allout-copy-exposed-to-buffer):
2470 (allout-verify-passphrase): Use with-current-buffer.
2472 2009-11-13 Glenn Morris <rgm@gnu.org>
2474 * Makefile.in (ELCFILES): Regenerate.
2476 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
2478 * net/dbus.el (dbus-registered-objects-table): Rename from
2479 `dbus-registered-functions-table', because it contains also properties.
2480 (dbus-unregister-object): Unregister also properties.
2481 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2482 Use a timeout of 500 msec, in order to not block.
2483 (dbus-register-property, dbus-property-handler): New defuns.
2485 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * simple.el (minibuffer-default-add-completions): Drop deprecated
2490 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2492 * textmodes/artist.el (artist-mouse-choose-operation):
2493 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2494 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2495 (artist-compute-up-event-key): New function.
2496 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2498 2009-11-13 Kenichi Handa <handa@m17n.org>
2500 * language/japan-util.el: Make sure that the value of jisx0208
2501 property is jisx0208 character.
2503 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2505 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2506 car or each item, not the whole list.
2508 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * minibuffer.el (minibuffer-completion-help):
2511 Use minibuffer-hide-completions.
2513 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2515 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2516 (dired-revert): Use them (bug#4880).
2518 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2520 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2522 2009-11-12 Juri Linkov <juri@jurta.org>
2524 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2526 (find-file-literally-at-point): Alias of `ffap-literally'.
2528 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2530 * textmodes/ispell.el (ispell-skip-region-alist):
2531 * textmodes/css-mode.el (auto-mode-alist):
2532 * progmodes/compile.el (auto-mode-alist):
2533 * international/mule.el (ctext-non-standard-encodings-alist)
2534 (ctext-non-standard-encodings-regexp):
2535 * simple.el (shell-command-switch, text-read-only):
2536 * replace.el (occur-mode-map):
2537 * paths.el (rmail-file-name):
2538 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2539 * find-file.el (ff-special-constructs):
2540 * files.el (file-name-handler-alist):
2541 * composite.el: Purecopy strings.
2543 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2545 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2547 * widget.el (define-widget): Purecopy the docstring.
2548 * international/mule-cmds.el (charset): Do not purecopy the
2549 docstring here, define-widget does it.
2551 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2552 * textmodes/bibtex-style.el (auto-mode-alist):
2553 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2554 * progmodes/compile.el (compile-command):
2555 * language/korea-util.el (default-korean-keyboard):
2556 * international/mule-conf.el (file-coding-system-alist):
2557 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2558 * tooltip.el (tooltip-frame-parameters):
2559 * newcomment.el (comment-end, comment-padding):
2560 * dired.el (dired-trivial-filenames):
2561 * comint.el (comint-file-name-prefix): Purecopy initial values.
2563 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
2565 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2566 (tramp-advice-minibuffer-electric-tilde): Unload advices via
2568 (tramp-advice-make-auto-save-file-name)
2569 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2570 after removing the advice.
2572 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2574 * progmodes/grep.el (grep-regexp-alist):
2575 * international/mule-cmds.el (iso-2022-control-alist):
2576 * emacs-lisp/timer.el (timer-duration-words):
2577 * subr.el (version-separator, version-regexp-alist):
2578 * minibuffer.el (completion-styles-alist):
2579 * faces.el (face-attribute-name-alist, list-faces-sample-text):
2580 Change defvars to defconsts.
2582 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2583 * loadup.el ("international/mule-conf"): Load the byte compiled version.
2584 * international/mule-conf.el: Allow to be byte compiled.
2586 * international/mule.el (define-charset): Purecopy props.
2587 (load-with-code-conversion): Purecopy doc string and file name.
2588 (put-charset-property): Purecopy strings.
2589 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2591 * international/mule-cmds.el (register-input-method): Purecopy arguments.
2592 (define-char-code-property): Correctly purecopy the table.
2594 * international/ccl.el (define-ccl-program): Purecopy the docstring.
2596 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2598 * subr.el (add-hook): Purecopy strings.
2599 (eval-after-load): Purecopy load-history-regexp and the form.
2601 * custom.el (custom-declare-group): Purecopy load-file-name.
2603 * subr.el (menu-bar-separator): New defconst.
2604 * net/eudc.el (eudc-tools-menu):
2605 * international/mule-cmds.el (set-coding-system-map)
2607 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2608 * vc-hooks.el (vc-menu-map):
2609 * replace.el (occur-mode-map):
2610 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2611 (menu-bar-edit-menu, menu-bar-goto-menu)
2612 (menu-bar-custom-menu, menu-bar-showhide-menu)
2613 (menu-bar-options-menu, menu-bar-tools-menu)
2614 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2615 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2616 (menu-bar-help-menu):
2617 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2618 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2620 * term/x-win.el (x-gtk-stock-map):
2621 * progmodes/vera-mode.el (auto-mode-alist):
2622 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2623 (inferior-lisp-program, inferior-lisp-load-command):
2624 * progmodes/hideshow.el (hs-special-modes-alist):
2625 * progmodes/gud.el (same-window-regexps):
2626 * progmodes/grep.el (grep-program, find-program, xargs-program):
2627 * net/telnet.el (same-window-regexps):
2628 * net/rlogin.el (same-window-regexps):
2629 * language/ethiopic.el (font-ccl-encoder-alist):
2630 * vc-sccs.el (vc-sccs-master-templates):
2631 * vc-rcs.el (vc-rcs-master-templates):
2632 * subr.el (cl-assertion-failed):
2633 * simple.el (next-error-overlay-arrow-position):
2634 * lpr.el (lpr-command):
2635 * locate.el (locate-ls-subdir-switches):
2636 * info.el (same-window-regexps, info)
2637 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2638 * image-mode.el (image-mode, auto-mode-alist):
2639 * hippie-exp.el (hippie-expand-ignore-buffers):
2640 * format.el (format-alist):
2641 * find-dired.el (find-ls-subdir-switches, find-grep-options)
2643 * facemenu.el (facemenu-keybindings):
2644 * dired.el (dired-listing-switches, dired-chown-program):
2645 * diff.el (diff-switches, diff-command):
2646 * cus-edit.el (same-window-regexps):
2647 * bindings.el (mode-line-mule-info)
2648 (mode-line-buffer-identification): Purecopy strings.
2650 2009-11-11 Juri Linkov <juri@jurta.org>
2652 * simple.el (dired-get-filename) <declare-function>:
2653 Tell the byte-compiler about dired-get-filename.
2654 (shell-command): In Dired mode, get filename from the current line
2655 as the default value.
2657 2009-11-10 Glenn Morris <rgm@gnu.org>
2659 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2660 * calendar/holidays.el, progmodes/cperl-mode.el:
2661 Update x-popup-menu declarations.
2663 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2664 (list-load-path-shadows): Use dolist.
2665 (list-load-path-shadows): Use with-current-buffer.
2667 2009-11-10 Juri Linkov <juri@jurta.org>
2669 * minibuffer.el (read-file-name): Support a list of default values
2670 in `default-filename'. Use the first file name where only one
2671 element is required. Doc fix.
2673 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
2675 * net/dbus.el (dbus-unregister-object): Release service, if no
2676 other method is registered for it.
2678 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
2680 * bookmark.el (bookmark-completing-read): Sort bookmark names if
2681 bookmark-sort-flag is non-nil (Bug#4653).
2683 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2685 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2686 the progress reporter entirely.
2688 * emulation/cua-base.el: Add CUA property to some CC mode commands
2691 2009-11-08 Kevin Ryde <user42@zip.com.au>
2693 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2694 at end of sentence (Bug#4818).
2696 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
2698 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2699 Handle "see declaration of" MSFT statements (Bug#4100).
2701 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
2703 * net/tramp.el (tramp-advice-make-auto-save-file-name)
2704 (tramp-advice-file-expand-wildcards): Unload via
2707 * net/trampver.el: Update release number.
2709 2009-11-08 Kevin Ryde <user42@zip.com.au>
2711 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2714 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
2716 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2717 in order to keep context in SELinux.
2719 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2721 * dired-aux.el (dired-query): Place cursor in echo area and allow
2724 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2725 menu item if not on a directory (Bug#4701).
2727 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
2729 Sync with Tramp 2.1.17.
2731 * net/tramp.el (tramp-handle-copy-directory): Don't use
2732 `file-remote-p' (due to compatibility).
2734 * net/tramp-compat.el (tramp-compat-copy-directory)
2735 (tramp-compat-delete-directory): New defuns.
2737 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2738 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2739 `tramp-compat-delete-directory'.
2741 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2742 (tramp-smb-handle-delete-directory): Use
2743 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2745 * net/trampver.el: Update release number.
2747 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
2749 * tar-mode.el (tar-copy): Call write-region on the right buffer
2752 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2753 by hand, if necessary (Bug#4878).
2755 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
2757 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2758 align size column (Bug#4839).
2760 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2763 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2765 * progmodes/ld-script.el (auto-mode-alist):
2766 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2768 * cus-face.el (custom-declare-face): Purecopy face spec.
2770 2009-11-06 Kenichi Handa <handa@m17n.org>
2772 * international/uni-bidi.el: Re-generated.
2773 * international/uni-category.el: Re-generated.
2774 * international/uni-combining.el: Re-generated.
2775 * international/uni-mirrored.el: Re-generated.
2777 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2779 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2780 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2781 (tex-start-options, slitex-run-command, latex-run-command)
2782 (tex-run-command, tex-directory):
2783 * textmodes/ispell.el (ispell-html-skip-alists)
2784 (ispell-tex-skip-alists, ispell-tex-skip-alists):
2785 * textmodes/fill.el (adaptive-fill-first-line-regexp):
2786 (adaptive-fill-regexp):
2787 * textmodes/dns-mode.el (auto-mode-alist):
2788 * progmodes/python.el (interpreter-mode-alist):
2789 * progmodes/etags.el (tags-compression-info-list):
2790 * progmodes/etags.el (tags-file-name):
2791 * net/browse-url.el (browse-url-galeon-program)
2792 (browse-url-firefox-program):
2793 * mail/sendmail.el (mail-signature-file)
2794 (mail-citation-prefix-regexp):
2795 * international/mule-conf.el (eight-bit):
2796 * international/latexenc.el (latex-inputenc-coding-alist):
2797 * international/fontset.el (x-pixel-size-width-font-regexp):
2798 * emacs-lisp/warnings.el (warning-type-format):
2799 * emacs-lisp/trace.el (trace-buffer):
2800 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2801 (emacs-lisp-mode-map):
2802 * calendar/holidays.el (holiday-solar-holidays)
2803 (holiday-bahai-holidays, holiday-islamic-holidays)
2804 (holiday-christian-holidays, holiday-hebrew-holidays)
2805 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2806 (hebrew-holidays-1, holiday-oriental-holidays)
2807 (holiday-general-holidays):
2808 * x-dnd.el (x-dnd-known-types):
2809 * tool-bar.el (tool-bar):
2810 * startup.el (site-run-file):
2811 * shell.el (shell-dumb-shell-regexp):
2812 * rfn-eshadow.el (file-name-shadow-tty-properties)
2813 (file-name-shadow-properties):
2814 * paths.el (remote-shell-program, news-directory):
2815 * mouse.el ([C-down-mouse-3]):
2816 * menu-bar.el (menu-bar-tools-menu):
2817 * jka-cmpr-hook.el (jka-compr-load-suffixes)
2818 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2819 (jka-compr-compression-info-list):
2820 * isearch.el (search-whitespace-regexp):
2821 * image-file.el (image-file-name-extensions):
2822 * find-dired.el (find-ls-option):
2823 * files.el (directory-listing-before-filename-regexp)
2824 (directory-free-space-args, insert-directory-program)
2825 (list-directory-brief-switches, magic-fallback-mode-alist)
2826 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2827 (automount-dir-prefix):
2828 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2829 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2830 (face-font-registry-alternatives, face-font-registry-alternatives)
2831 (face-font-family-alternatives):
2832 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2833 (facemenu-foreground-menu, facemenu-face-menu):
2834 * epa-hook.el (epa-file-name-regexp):
2835 * dnd.el (dnd-protocol-alist):
2836 * textmodes/rst.el (auto-mode-alist):
2837 * button.el (default-button): Purecopy strings.
2839 2009-11-06 Glenn Morris <rgm@gnu.org>
2841 * Makefile.in (ELCFILES): Update.
2843 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2846 * emacs-lisp/levents.el: Move to obsolete/levents.el.
2848 * nxml/xsd-regexp.el (xsdre-gen-categories):
2849 * nxml/xmltok.el (xmltok-parse-entity):
2850 * nxml/rng-parse.el (rng-parse-validate-file):
2851 * nxml/rng-maint.el (rng-format-manual)
2852 (rng-manual-output-force-new-line):
2853 * nxml/rng-loc.el (rng-save-schema-location-1):
2854 * nxml/rng-cmpct.el (rng-c-parse-file):
2855 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2856 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2858 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
2860 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2861 Remove extra save-excursions and make-variable-buffer-local's.
2862 Suggested by Stefan Monnier.
2864 (verilog-getopt-file, verilog-module-inside-filename-p)
2865 (verilog-set-define): Merge GNU 1.35 and repair changes from
2866 switching to using with-current-buffer.
2868 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2869 being treated as a number and confusing AUTORESET.
2870 Reported by Dan Dever.
2872 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2873 Add verilog-auto-ignore-concat to fix backward compatibility with
2874 older verilog-modes. Reported by Dan Katz.
2876 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2877 containing closing anchors "...$".
2879 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2880 Reported by Wade Smith.
2882 (verilog-batch-execute-func) Comment on function usage.
2884 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
2886 * verilog-mode.el (verilog-label-re): Fix regular expression for
2889 (verilog-label-re, verilog-calc-1): Support proper indent of named
2892 (verilog-backward-token, verilog-basic-complete-re)
2893 (verilog-beg-of-statement, verilog-indent-re): Support proper
2894 indent of the assert statement at the beginning of a block of text.
2896 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2897 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2900 2009-11-05 Glenn Morris <rgm@gnu.org>
2902 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2903 Emacs 19. (Bug#1531)
2904 (byte-compile-fix-header): Update for the above change.
2905 Drop test for epoch::version.
2907 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2908 * cus-dep.el (custom-make-dependencies):
2909 * finder.el (finder-compile-keywords):
2910 Use autoload-rubric's feature argument.
2912 * calendar/diary-lib.el (top-level): Make load behave more like require.
2914 * vc-git.el (vc-git-stash-map): Move definition before use.
2916 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2918 * custom.el (custom-declare-group): Purecopy standard-value.
2919 (custom-declare-group): Purecopy custom-prefix.
2921 * international/mule.el (load-with-code-conversion):
2922 Call do-after-load-evaluation unconditionally.
2924 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2926 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2930 2009-11-04 Glenn Morris <rgm@gnu.org>
2932 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2933 (byte-compile-compatibility): Remove option.
2934 (byte-compile-close-variables, byte-compile-fix-header)
2935 (byte-compile-insert-header, byte-compile-output-docform)
2936 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2937 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2938 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2939 (byte-compile-insert, byte-compile-defun):
2940 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
2941 (byte-defop-compiler19): Remove.
2942 Without byte-compile-compatibility, the 'emacs19-opcode property is not
2943 used by anything. Replace all calls with byte-defop-compiler.
2945 2009-11-04 Juri Linkov <juri@jurta.org>
2947 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2948 (menu-bar-options-menu): Don't quote the `prop' arg of
2949 `menu-bar-make-mm-toggle'.
2951 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
2953 * calendar/calendar.el (cal-loaddefs):
2954 * calendar/diary-lib.el (diary-loaddefs):
2955 * calendar/holidays.el (hol-loaddefs):
2956 * eshell/esh-module.el (esh-groups): Load rather than require.
2958 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * calendar/todo-mode.el (todo-add-category): Don't hardcode
2962 (todo-top-priorities): Only display-buffer when called interactively.
2963 (todo-item-start): Don't save excursion point.
2964 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
2965 (todo-insert-item-here, todo-file-item, todo-remove-item):
2966 Adjust uses of todo-item-start and todo-item-end.
2968 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2969 (autoload-rubric): Don't use any more.
2970 * cedet/semantic/fw.el (semantic/loaddefs):
2971 * cedet/srecode.el (srecode/loaddefs):
2972 * cedet/ede.el (ede/loaddefs): Load rather than require.
2973 * cedet/ede/cpp-root.el:
2974 * cedet/ede/emacs.el:
2975 * cedet/ede/files.el:
2976 * cedet/ede/linux.el:
2977 * cedet/ede/locate.el:
2978 * cedet/ede/make.el:
2979 * cedet/ede/shell.el:
2980 * cedet/ede/speedbar.el:
2981 * cedet/ede/system.el:
2982 * cedet/ede/util.el:
2983 * cedet/semantic/analyze.el:
2984 * cedet/semantic/bovine.el:
2985 * cedet/semantic/complete.el:
2986 * cedet/semantic/ctxt.el:
2987 * cedet/semantic/db-file.el:
2988 * cedet/semantic/db-find.el:
2989 * cedet/semantic/db-global.el:
2990 * cedet/semantic/db-mode.el:
2991 * cedet/semantic/db-typecache.el:
2992 * cedet/semantic/db.el:
2993 * cedet/semantic/debug.el:
2994 * cedet/semantic/dep.el:
2995 * cedet/semantic/doc.el:
2996 * cedet/semantic/edit.el:
2997 * cedet/semantic/find.el:
2998 * cedet/semantic/format.el:
2999 * cedet/semantic/html.el:
3000 * cedet/semantic/ia-sb.el:
3001 * cedet/semantic/ia.el:
3002 * cedet/semantic/idle.el:
3003 * cedet/semantic/lex-spp.el:
3004 * cedet/semantic/lex.el:
3005 * cedet/semantic/mru-bookmark.el:
3006 * cedet/semantic/scope.el:
3007 * cedet/semantic/senator.el:
3008 * cedet/semantic/sort.el:
3009 * cedet/semantic/symref.el:
3010 * cedet/semantic/tag-file.el:
3011 * cedet/semantic/tag-ls.el:
3012 * cedet/semantic/tag-write.el:
3013 * cedet/semantic/tag.el:
3014 * cedet/semantic/util-modes.el:
3015 * cedet/semantic/analyze/complete.el:
3016 * cedet/semantic/analyze/refs.el:
3017 * cedet/semantic/bovine/c.el:
3018 * cedet/semantic/bovine/gcc.el:
3019 * cedet/semantic/bovine/make.el:
3020 * cedet/semantic/bovine/scm.el:
3021 * cedet/semantic/decorate/include.el:
3022 * cedet/semantic/decorate/mode.el:
3023 * cedet/semantic/symref/cscope.el:
3024 * cedet/semantic/symref/global.el:
3025 * cedet/semantic/symref/grep.el:
3026 * cedet/semantic/symref/idutils.el:
3027 * cedet/semantic/symref/list.el:
3028 * cedet/semantic/wisent/java-tags.el:
3029 * cedet/semantic/wisent/javascript.el:
3030 * cedet/srecode/compile.el:
3031 * cedet/srecode/cpp.el:
3032 * cedet/srecode/document.el:
3033 * cedet/srecode/el.el:
3034 * cedet/srecode/expandproto.el:
3035 * cedet/srecode/getset.el:
3036 * cedet/srecode/insert.el:
3037 * cedet/srecode/java.el:
3038 * cedet/srecode/map.el:
3039 * cedet/srecode/mode.el:
3040 * cedet/srecode/template.el:
3041 * cedet/srecode/texi.el: Remove the file-local setting of
3042 generated-autoload-feature.
3044 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
3045 and only put a prop if it is non-nil.
3047 2009-11-03 Juri Linkov <juri@jurta.org>
3049 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
3050 (menu-bar-options-menu): Fix list quoting (Bug#4429).
3052 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
3053 and "Menu" to make top-level menu item visually one unit (like
3054 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
3055 multi-word menu items). Fix :help string for quit-window.
3057 2009-11-03 Glenn Morris <rgm@gnu.org>
3059 * cedet/mode-local.el (with-mode-local): Doc fix.
3061 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3062 (byte-compile-file-form-define-abbrev-table)
3063 (byte-compile-file-form-custom-declare-variable)
3064 (byte-compile-variable-ref, byte-compile-defvar):
3065 Whether or not a warning is enabled should only affect whether we issue
3066 the warning, not whether or not we collect the relevant data.
3067 Eg warnings can be turned on and off throughout the course of a file.
3069 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
3070 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
3072 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
3075 * play/mpuz.el (mpuz-create-buffer):
3076 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
3077 (lm-print-y,s,noise, lm-print-w0, lm-init):
3078 * play/gomoku.el (gomoku-prompt-for-move):
3079 * play/fortune.el (fortune-in-buffer):
3080 * play/dissociate.el (dissociated-press):
3081 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
3082 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
3083 * mail/supercite.el (sc-eref-show):
3084 * mail/smtpmail.el (smtpmail-send-it):
3085 * mail/rmailsum.el (rmail-summary-next-labeled-message)
3086 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
3087 (rmail-summary-undelete-many, rmail-summary-rmail-update)
3088 (rmail-summary-goto-msg, rmail-summary-expunge)
3089 (rmail-summary-get-new-mail, rmail-summary-search-backward)
3090 (rmail-summary-add-label, rmail-summary-output-menu)
3091 (rmail-summary-output-body):
3092 * mail/rfc822.el (rfc822-addresses):
3093 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
3094 * mail/mailpost.el (post-mail-send-it):
3095 * mail/hashcash.el (hashcash-generate-payment):
3096 * mail/feedmail.el (feedmail-run-the-queue)
3097 (feedmail-queue-send-edit-prompt-help-first)
3098 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
3099 (feedmail-deduce-address-list):
3100 * eshell/esh-ext.el (eshell-remote-command):
3101 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
3102 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
3103 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
3104 (viper-save-string-in-file, viper-valid-marker):
3105 * emulation/viper-keym.el (viper-toggle-key):
3106 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
3107 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
3108 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
3109 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3110 (viper-exec-form-in-emacs, viper-brac-function):
3111 * emulation/viper.el (viper-delocalize-var):
3112 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
3113 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
3114 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
3115 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
3116 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
3117 * emulation/edt.el (edt-electric-helpify):
3118 * emulation/cua-rect.el (cua--rectangle-aux-replace):
3119 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
3120 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
3121 (cua-indent-to-global-mark-column):
3122 * calendar/diary-lib.el (calendar-mark-1):
3123 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
3124 Use with-current-buffer.
3125 * emulation/viper.el (viper-delocalize-var): Use dolist.
3127 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
3129 * comint.el (comint-replace-by-expanded-history-before-point):
3130 Replace !! with the previous input string literally (Bug#1795).
3132 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
3134 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
3135 to be made up of whitespace.
3137 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
3139 * minibuffer.el (read-file-name): Don't use file dialogs for
3140 remote directories (Bug#99).
3142 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
3144 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
3146 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
3148 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
3149 instead of deleting the window or frame.
3151 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3153 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
3154 Support face colors.
3156 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
3157 New function. Support face colors (Bug#1168).
3158 (tex-common-initialization): Use it.
3160 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
3161 mode allows it (Bug#1168).
3163 2009-10-31 Juri Linkov <juri@jurta.org>
3165 * facemenu.el (list-colors-display): Don't mark buffer as
3166 modified (Bug#3948).
3168 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3170 * international/mule-diag.el (list-character-sets-1): Minor
3171 message fix (Bug#3526).
3173 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
3174 face property (Bug#4834).
3175 (etags-list-tags, etags-tags-apropos-additional)
3176 (etags-tags-apropos, tags-select-tags-table): Add follow-link
3179 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
3182 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
3185 * cedet/ede.el (ede-minor-mode):
3186 * cedet/semantic.el (semantic-mode): Toggle menu separators.
3188 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * textmodes/two-column.el (2C-split):
3191 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
3192 * textmodes/tex-mode.el (tex-set-buffer-directory):
3193 * textmodes/spell.el (spell-region, spell-string):
3194 * textmodes/reftex.el (reftex-erase-buffer):
3195 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
3196 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3197 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
3198 (reftex-select-item):
3199 * textmodes/reftex-ref.el (reftex-label-info-update)
3200 (reftex-offer-label-menu):
3201 * textmodes/reftex-index.el (reftex-index-change-entry)
3202 (reftex-index-phrases-info):
3203 * textmodes/reftex-global.el (reftex-create-tags-file)
3204 (reftex-save-all-document-buffers, reftex-ensure-write-access):
3205 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
3206 (reftex-view-crossref-from-bibtex):
3207 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
3208 (reftex-extract-bib-entries-from-thebibliography)
3209 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
3210 * textmodes/refbib.el (r2b-capitalize-title):
3211 (r2b-convert-buffer, r2b-help):
3212 * textmodes/page-ext.el (pages-directory)
3213 (pages-directory-goto-with-mouse):
3214 * textmodes/bibtex.el (bibtex-validate-globally):
3215 * textmodes/bib-mode.el (bib-capitalize-title):
3216 * textmodes/artist.el (artist-clear-buffer, artist-system):
3217 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
3218 (local-set-scheme-interaction-buffer, xscheme-process-filter)
3219 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
3220 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
3221 (xscheme-send-control-g-interrupt, xscheme-start-process)
3222 (xscheme-process-sentinel, xscheme-cd):
3223 * progmodes/verilog-mode.el (verilog-read-always-signals)
3224 (verilog-set-define, verilog-getopt-file)
3225 (verilog-module-inside-filename-p):
3226 * progmodes/sh-script.el:
3227 * progmodes/python.el (python-pdbtrack-get-source-buffer)
3228 (python-pdbtrack-grub-for-buffer, python-execute-file):
3229 * progmodes/octave-inf.el (inferior-octave):
3230 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3231 (idlwave-shell-compile-helper-routines, idlwave-set-local)
3232 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
3233 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
3234 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
3235 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
3236 (idlwave-shell-filter, idlwave-shell-examine-highlight)
3237 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
3238 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
3239 (idlwave-shell-examine-display, idlwave-shell-run-region)
3240 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
3241 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
3242 * progmodes/idlw-help.el (idlwave-help-get-special-help)
3243 (idlwave-help-get-help-buffer):
3244 * progmodes/gud.el (gud-basic-call, gud-find-class)
3245 (gud-tooltip-activate-mouse-motions-if-enabled):
3246 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3247 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
3248 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
3249 (ebrowse-tags-next-file):
3250 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
3251 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
3252 (ebnf-eps-finish-and-write):
3253 * progmodes/cpp.el (cpp-edit-save):
3254 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
3255 * progmodes/cc-defs.el (c-emacs-features):
3256 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
3257 (antlr-directory-dependencies):
3258 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
3259 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
3260 (ada-find-any-references, ada-make-filename-from-adaname)
3261 (ada-make-body-gnatstub):
3262 * obsolete/rnews.el (news-list-news-groups):
3263 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
3264 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
3265 * net/rcirc.el (rcirc-debug):
3266 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3267 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
3268 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
3269 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
3270 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
3271 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
3272 (newsticker--treeview-list-clear-highlight)
3273 (newsticker--treeview-list-update-highlight)
3274 (newsticker--treeview-list-highlight-start)
3275 (newsticker--treeview-tree-update-highlight)
3276 (newsticker--treeview-get-selected-item)
3277 (newsticker-treeview-mark-list-items-old)
3278 (newsticker--treeview-set-current-node):
3279 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3280 * net/newst-backend.el (newsticker--get-news-by-funcall)
3281 (newsticker--get-news-by-wget, newsticker--image-get)
3282 (newsticker--image-sentinel):
3283 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
3284 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
3285 (eudc-ph-close-session):
3286 * net/eudc.el (eudc-save-options):
3287 * language/thai-word.el (thai-update-word-table):
3288 * language/japan-util.el (japanese-string-conversion):
3289 * international/titdic-cnv.el (tsang-quick-converter)
3290 (ziranma-converter, ctlau-converter):
3291 * international/mule-cmds.el (describe-language-environment):
3292 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
3293 (skkdic-convert-postfix, skkdic-convert-prefix):
3294 (skkdic-convert-okuri-nasi, skkdic-convert):
3295 * emacs-lisp/re-builder.el (reb-update-overlays):
3296 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
3297 * emacs-lisp/gulp.el (gulp-send-requests):
3298 * emacs-lisp/find-gc.el (trace-call-tree):
3299 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
3300 (eieio-describe-generic):
3301 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3302 * emacs-lisp/edebug.el (edebug-outside-excursion):
3303 * emacs-lisp/debug.el (debugger-make-xrefs):
3304 * emacs-lisp/cust-print.el (custom-prin1-to-string):
3305 * emacs-lisp/chart.el (chart-new-buffer):
3306 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
3307 Use with-current-buffer.
3308 * textmodes/artist.el (artist-system): Don't call
3309 copy-sequence on a fresh string.
3310 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
3312 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
3314 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
3315 is no item to edit. (Bug#4820)
3316 (todo-top-priorities): Restore point and restore narrowing in Todo
3319 2009-10-31 Glenn Morris <rgm@gnu.org>
3321 * net/ange-ftp.el (top-level): Don't require dired when compiling.
3322 (comint-last-output-start, comint-last-input-start)
3323 (comint-last-input-end): Don't defvar when compiling.
3324 (ange-ftp-process-file): Use bound-and-true-p.
3326 * pcmpl-rpm.el (top-level): Move provide statement to end.
3327 (pcmpl-rpm): Remove unused custom group.
3329 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
3331 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
3333 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
3334 (byte-compile-warnings): Add `constants' as an option.
3335 (byte-compile-callargs-warn, byte-compile-arglist-warn)
3336 (display-call-tree): Update for byte-compile-fdefinition possibly
3337 returning `(macro lambda ...)'. (Bug#4778)
3338 (byte-compile-variable-ref, byte-compile-setq-default):
3339 Respect `constants' member of byte-compile-warnings.
3341 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
3342 Use mapc rather than mapcar because the return value is never used.
3344 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
3345 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
3346 * cedet/semantic/html.el:
3347 Suppress harmless warnings about setting up semantic-imenu (not
3348 part of Emacs) variables.
3350 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3352 * vc-bzr.el (vc-bzr-revision-keywords): New var.
3353 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
3356 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
3357 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
3358 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
3359 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
3360 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
3361 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
3362 (semantic-analyzer-debug-global-symbol)
3363 (semantic-analyzer-debug-missing-innertype)
3364 (semantic-analyzer-debug-insert-include-summary):
3365 * cedet/semantic/util.el (semantic-file-tag-table):
3366 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
3367 (semantic-recursive-find-nonterminal-by-name):
3368 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
3369 * cedet/semantic/tag-file.el (semantic-prototype-file):
3370 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
3371 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
3372 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
3373 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3374 (semantic-idle-summary-maybe-highlight):
3375 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
3376 (semantic-ia-sb-tag-info):
3377 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
3378 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
3379 * cedet/semantic/ede-grammar.el (project-compile-target):
3380 (ede-proj-makefile-insert-variables):
3381 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
3382 (semantic-debug-set-source-location, semantic-debug-interface-layout)
3383 (semantic-debug-mode, semantic-debug):
3384 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
3385 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
3386 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3387 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
3388 (semanticdb-find-translate-path-includes--internal)
3389 (semanticdb-reset-log, semanticdb-find-log-activity):
3390 * cedet/semantic/db-file.el (object-write):
3391 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3392 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
3393 (semanticdb-create-ebrowse-database):
3394 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
3395 * cedet/semantic/complete.el (semantic-displayor-focus-request)
3396 (semantic-collector-calculate-completions-raw)
3397 (semantic-complete-read-tag-analyzer):
3398 * cedet/semantic/analyze.el (semantic-analyze-pulse):
3399 * cedet/ede/util.el (ede-update-version-in-source):
3400 * cedet/ede/proj.el (project-delete-target):
3401 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
3402 (ede-proj-flush-autoconf):
3403 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
3404 (ede-proj-configure-synchronize):
3405 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
3406 * cedet/ede/linux.el (ede-linux-version):
3407 * cedet/ede/emacs.el (ede-emacs-version):
3408 * cedet/ede/dired.el (ede-dired-add-to-target):
3409 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
3410 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
3411 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
3412 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
3413 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
3414 (cedet-idutils-version-check):
3415 * cedet/cedet-global.el (cedet-gnu-global-call):
3416 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
3417 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
3418 * cedet/cedet-cscope.el (cedet-cscope-call)
3419 (cedet-cscope-expand-filename, cedet-cscope-version-check):
3420 Use with-current-buffer.
3421 * cedet/ede.el (ede-make-project-local-variable)
3422 (ede-set-project-variables, ede-set): Use dolist.
3424 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
3426 * textmodes/ispell.el (ispell-skip-region-alist):
3427 * international/mule-conf.el (eight-bit):
3428 * international/fontset.el (font-encoding-alist):
3429 * startup.el (pure-space-overflow-message):
3430 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
3431 * paths.el (gnus-nntp-service, rmail-spool-directory)
3433 * files.el (save-some-buffers-action-alist):
3434 * cmuscheme.el (same-window-buffer-names):
3435 * ielm.el (same-window-buffer-names):
3436 * shell.el (same-window-buffer-names):
3437 * mail/sendmail.el (same-window-buffer-names):
3438 * progmodes/inf-lisp.el (same-window-buffer-names):
3439 * bindings.el (mode-line-client)
3440 (mode-line-column-line-number-mode-map):
3441 * language/tibetan.el (tibetan-precomposition-rule-regexp)
3442 (tibetan-precomposed-regexp): Purecopy string arguments.
3444 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3446 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
3447 (calcDigit-nondigit):
3448 * calc/calc-yank.el (calc-copy-to-buffer):
3449 * calc/calc-units.el (calc-invalidate-units-table):
3450 * calc/calc-trail.el (calc-trail-yank):
3451 * calc/calc-store.el (calc-insert-variables):
3452 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
3453 * calc/calc-prog.el (calc-read-parse-table):
3454 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3455 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3456 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3457 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3458 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3459 (calc-graph-name, calc-graph-find-command, calc-graph-view)
3460 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3461 * calc/calc-ext.el (calc-realign):
3462 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3463 (calc-embedded-finish-edit, calc-embedded-make-info)
3464 (calc-embedded-finish-command, calc-embedded-stack-change):
3465 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
3467 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
3468 (overload-docstring-extension): Use that info.
3469 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3470 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3471 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3472 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3473 (semantic-nonterminal-full-name): Add the new `when' info.
3474 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3477 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3478 shell-dynamic-complete-filename in preference to
3479 comint-dynamic-complete-filename.
3481 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3482 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3483 Don't consider whether the display supports colors.
3484 (bookmark-import-new-list): Use dolist.
3485 (bookmark-bmenu-mode-map): Move initialization into declaration.
3486 (bookmark-bmenu-list): Use dolist, simplify.
3487 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3488 (menu-bar-final-items): Use push.
3490 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3492 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3493 it works on remote files.
3494 (vc-hg-diff): Don't pass any `--cwd' argument.
3496 2009-10-27 Kevin Ryde <user42@zip.com.au>
3498 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3499 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3500 (Further to Bug#3921).
3502 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3504 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3505 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3506 calling `tramp-imap-put-file'. Add file size to the call.
3507 (tramp-imap-get-file-entries): Compute also user name, file size,
3509 (tramp-imap-handle-insert-directory): Insert uid and gid.
3510 (tramp-imap-handle-file-attributes): Transform uid and gid
3511 according to `id-format'.
3512 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3513 size in header X-Size.
3515 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3517 * simple.el (transpose-subr): Give clearer error when the mark
3518 is not set. (Bug#4807)
3520 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3522 * net/tramp.el (tramp-perl-file-truename): New defconst.
3523 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3524 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3525 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3526 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3528 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3529 Ignore `dired-call-process'.
3530 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3532 2009-10-26 Julian Scheid <julians37@gmail.com>
3534 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3535 (tramp-get-remote-readlink): New defun.
3536 (tramp-handle-file-truename): Use it.
3537 (tramp-handle-file-exists-p): Check file-attributes cache, assume
3538 file exists if cache value present.
3539 (tramp-check-cached-permissions) New defun.
3540 (tramp-handle-file-readable-p): Use it.
3541 (tramp-handle-file-writable-p): Likewise.
3542 (tramp-handle-file-executable-p): Likewise.
3543 (tramp-handle-file-name-all-completions): Try using Perl to get
3544 partial completions. When perl not available, combine `cd' and
3545 `ls' into single remote operation and use shell expansion to get
3546 partial remote directory contents. Set `file-exists-p' cache for
3547 directory and any files returned by ls. Change cache handling to
3548 support partial directory contents. Use error message emitted by
3549 remote `cd' or Perl code for local tramp-error.
3550 (tramp-do-copy-or-rename-file-directly): Avoid separate
3551 tramp-send-command-and-check call.
3552 (tramp-handle-process-file): Merge three remote ops into one.
3553 Do not flush all caches when `process-file-side-effects' is set.
3554 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3555 file-attributes shows uid/gid to be set already.
3557 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
3559 * textmodes/tex-mode.el (tex-dvi-view-command)
3560 (tex-show-queue-command, tex-open-quote):
3561 * progmodes/ruby-mode.el (auto-mode-alist)
3562 (interpreter-mode-alist): Purecopy strings.
3564 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3566 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3567 string for the hook, keymap and abbrev table.
3569 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3571 * x-dnd.el (x-dnd-xdnd-to-action):
3572 * startup.el (fancy-startup-text, fancy-about-text): Change to
3573 defconst from defvar.
3575 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3577 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3578 Purecopy initialization strings.
3580 * mail/sendmail.el (mail-header-separator)
3581 (mail-personal-alias-file):
3582 * mail/rmail.el (rmail-default-dont-reply-to-names)
3583 (rmail-ignored-headers, rmail-retry-ignored-headers)
3584 (rmail-highlighted-headers, rmail-secondary-file-directory)
3585 (rmail-secondary-file-regexp):
3586 * files.el (null-device, file-name-invalid-regexp)
3587 (locate-dominating-stop-dir-regexp)
3588 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3589 (interpreter-mode-alist): Use mapcar instead of mapc.
3591 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3593 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3594 (completion-ignored-extensions):
3595 (debug-ignored-errors): Purecopy strings.
3597 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3600 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3601 (pcomplete--here): Use push.
3603 * subr.el (all-completions): Declare the 4th arg obsolete.
3605 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * pcomplete.el (pcomplete-unquote-argument-function): New var.
3608 (pcomplete-unquote-argument): New function.
3609 (pcomplete--common-suffix): Always pay attention to case.
3610 (pcomplete--table-subvert): Quote and unquote the text.
3611 (pcomplete--common-quoted-suffix): New function.
3612 (pcomplete-std-complete): Use it and pcomplete-begin.
3614 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3615 we're inside a dedicated or minibuffer window.
3617 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * cedet/semantic/fw.el (semantic-alias-obsolete)
3620 (semantic-varalias-obsolete): Make the `when' arg mandatory.
3621 (define-mode-overload-implementation):
3622 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3623 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3624 * cedet/semantic/util.el (semantic-file-token-stream)
3625 (semantic-something-to-stream):
3626 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3627 (semantic-expand-nonterminal):
3628 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3629 (semantic-find-dependency, semantic-find-nonterminal)
3630 (semantic-find-dependency):
3631 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3632 (semantic-flex-text, semantic-flex-make-keyword-table)
3633 (semantic-flex-keyword-p, semantic-flex-keyword-put)
3634 (semantic-flex-keyword-get, semantic-flex-map-keywords)
3635 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3636 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3637 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3638 (semantic-after-idle-scheduler-reparse-hooks):
3639 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3640 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3641 * cedet/semantic.el (semantic-toplevel-bovine-table)
3642 (semantic-toplevel-bovine-cache)
3643 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3644 (semantic-init-mode-hooks, semantic-init-db-hooks)
3645 (semantic-bovination-working-type): Provide the `when' arg.
3647 2009-10-24 Karl Fogel <kfogel@red-bean.com>
3649 * bookmark.el: Update documentation, especially documentation
3650 of `bookmark-alist' and of the bookmark file format.
3651 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
3653 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3655 * mail/emacsbug.el (report-emacs-bug): Clarify that the
3656 keybindings apply to the mail buffer (Bug#4003). Shrink help
3659 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3660 (global-whitespace-mode, global-whitespace-newline-mode)
3661 (whitespace-toggle-options, global-whitespace-toggle-options):
3664 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3665 of xmltok-start before the end tag was inserted (Bug#2840).
3667 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3668 patterns that are preceded by an open-paren (Bug#1320).
3670 2009-10-24 Sven Joachim <svenjoac@gmx.de>
3672 * files.el (delete-directory): Delete symlinks to directories with
3673 delete-file (Bug#4739).
3675 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3677 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3678 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3679 argument to make-obsolete.
3681 * cedet/semantic/fw.el (semantic-alias-obsolete)
3682 (semantic-varalias-obsolete): Add optional WHEN argument.
3684 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
3686 * vc.el (vc-backend-for-registration): Rename from
3687 vc-get-backend-for-registration. Update callers.
3689 * international/mule-cmds.el (set-language-info-alist):
3691 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3692 (charset): Purecopy the name.
3693 (define-char-code-property): Purecopy string arguments.
3695 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3696 Purecopy string arguments.
3698 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3699 * ediff-hook.el (menu-bar-ediff-menu):
3700 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3701 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3703 2009-10-24 Glenn Morris <rgm@gnu.org>
3705 * comint.el (comint-dynamic-list-completions):
3706 * term.el (term-dynamic-list-completions): Use choose-completion rather
3707 than obsolete alias mouse-choose-completion.
3709 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3710 file-cache-choose-completion.
3711 (file-cache-choose-completion): Handle an optional event argument.
3712 (file-cache-mouse-choose-completion): Make it an obsolete alias.
3714 * progmodes/octave-mod.el (octave-complete-symbol):
3715 Use choose-completion if mouse-choose-completion is ever removed.
3717 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3720 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3723 * vc-hooks.el (vc-responsible-backend): Fix declaration.
3725 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3728 Ignore `pred' now that we receive one.
3729 Handle test-completion specially.
3731 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3733 * vc.el (vc-responsible-backend): Throw an error if not backend is
3734 found. Remove the REGISTER argument. Move the code dealing with
3736 (vc-get-backend-for-registration): ... here. New function.
3737 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3738 of vc-responsible-backend, pass the file name instead of the
3741 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3745 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
3746 (pcomplete-comint-setup): Don't modify a global var via
3747 accidental side-effects.
3748 (pcomplete-shell-setup): Adjust call accordingly.
3749 (pcomplete-parse-comint-arguments): Use push.
3751 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
3753 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3754 Allow uncapitalized info node names (Bug#3921).
3756 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3757 to the DEBUG file (Bug#3781).
3759 2009-10-23 Jari Aalto <jari.aalto@cante.net>
3761 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3762 dictionary entry (Bug#4579).
3764 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
3766 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3767 from `rfn-eshadow-update-overlay-hook' when unloading.
3768 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3769 "rsyncc". Adjust doc string.
3770 (tramp-temp-buffer-file-name) New buffer-local defvar.
3771 (tramp-handle-insert-file-contents, tramp-handle-write-region):
3772 Keep temporary file when indicated by method ("rsync" and
3774 (tramp-handle-write-region): Handle APPEND.
3775 (tramp-delete-temp-file-function): New defun. Added to
3778 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
3780 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3782 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3784 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3785 (color-name-rgb-alist, tty-standard-colors)
3786 (tty-color-mode-alist): Change to defconst.
3788 * simple.el (mark-inactive): Purecopy message.
3790 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3791 (global-map, yank-menu):
3792 * textmodes/ispell.el (ispell-menu-map):
3793 * net/eudc.el (eudc-tools-menu):
3794 * international/mule-cmds.el (describe-language-environment-map)
3795 (setup-language-environment-map, set-coding-system-map)
3797 * vc-hooks.el (vc-menu-entry, vc-menu-map):
3798 * replace.el (occur-mode-map):
3799 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3801 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
3803 * calc/calc.el (math-read-number, math-read-number-simple): Use
3806 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3809 rather than fiddling with global-map bindings, since it should only
3810 affect per-terminal settings.
3811 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3813 * minibuffer.el (completion-table-with-terminator): Allow to specify
3814 the terminator-regexp.
3816 * simple.el (switch-to-completions): Look for *Completions* in other
3819 * pcomplete.el: Allow the use of completion-tables.
3820 (pcomplete-std-complete): New command.
3821 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3822 (pcomplete--here): Use a function for `form' rather than an expression,
3823 so it can be byte-compiled.
3824 (pcomplete-here, pcomplete-here*): Adjust accordingly.
3825 Add edebug declaration.
3826 (pcomplete-show-completions): Remove unused var `curbuf'.
3827 (pcomplete-do-complete, pcomplete-stub):
3828 Don't assume `completions' is a list of strings any more.
3830 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
3832 * find-dired.el (find-name-arg): Fix typo in docstring.
3834 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3837 (pcmpl-linux-fs-types): Same, and update to new modules layout.
3839 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3842 * comint.el (comint-read-input-ring, comint-write-input-ring)
3843 (comint-substitute-in-file-name)
3844 (comint-dynamic-complete-as-filename)
3845 (comint-dynamic-simple-complete)
3846 (comint-dynamic-list-filename-completions)
3847 (comint-dynamic-list-completions)
3848 (comint-redirect-results-list-from-process): Minor simplifications.
3850 2009-10-21 Kevin Ryde <user42@zip.com.au>
3852 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3853 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3854 the first form. And insert a blank line after ";;; Code" since
3855 that's usual style. (Bug#4612)
3857 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3859 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * minibuffer.el (completion-table-with-terminator): Properly implement
3862 boundaries, in case `terminator' appears in the suffix.
3863 (completion--embedded-envvar-table): Don't return boundaries if
3864 there's no valid completion. Simplify.
3865 (completion-file-name-table): New completion table extracted from
3866 completion--file-name-table.
3867 (completion--file-name-table): Use it.
3868 (read-file-name-predicate): Declare obsolete.
3869 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3870 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3871 completion-file-name-table, and use the `pred' argument.
3872 * files.el (locate-file-completion-table): Use the `pred' arg rather
3873 than read-file-name-predicate.
3874 (abbreviate-file-name): Use \` rather than ^ for BOS.
3876 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
3878 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3879 vc-responsible-backend to register, it causes problems.
3881 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3885 2009-10-21 Eric Ludlam <zappo@gnu.org>
3887 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3888 (semantic-c-debug-mode-init-pch): New functions.
3889 (semantic-c-debug-mode-init-last-mode): New var.
3890 (semantic-c-parse-lexical-token): Use them.
3892 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3893 When extracting the argument list, limit only by point-max.
3895 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
3897 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3898 (tramp-smb-handle-file-attributes): Use it.
3899 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3900 (tramp-smb-handle-insert-directory): Use `mapc' rather than
3901 `mapcar'. Use `tramp-smb-get-stat-capability'.
3902 Add `dired-filename' text properties.
3903 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3904 (tramp-smb-maybe-open-connection): Simplify check for smbclient
3907 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3909 * subr.el (read-key-delay): Reduce to 0.01.
3910 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3913 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3915 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3917 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3918 (Info-menu): Remove unused vars `last' and `completions'.
3919 (Info-index-nodes): Remove unused var `node'.
3921 * info.el (Info-complete-menu-item): Use complete-with-action.
3923 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
3925 Make vc-annotate work through copies and renames.
3926 * vc-annotate.el (vc-annotate-extract-revision-at-line):
3927 Return the file name too.
3928 (vc-annotate-revision-at-line)
3929 (vc-annotate-find-revision-at-line)
3930 (vc-annotate-revision-previous-to-line)
3931 (vc-annotate-show-log-revision-at-line): Update to get the file
3932 name from vc-annotate-extract-revision-at-line.
3933 (vc-annotate-show-diff-revision-at-line-internal): Change the
3934 argument to mean whether to show a file diff or not. Get the file
3935 name from vc-annotate-extract-revision-at-line.
3936 (vc-annotate-show-diff-revision-at-line):
3937 Update vc-annotate-show-diff-revision-at-line call.
3938 (vc-annotate-warp-revision): Add an optional file argument.
3940 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3941 (vc-git-annotate-extract-revision-at-line): Also return the file
3944 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3945 command. Remove unused code.
3946 (vc-hg-annotate-re): Update to match --follow output.
3947 (vc-hg-annotate-extract-revision-at-line): Also return the file
3950 * vc.el: Update annotate-extract-revision-at-line documentation.
3952 2009-10-18 Kevin Ryde <user42@zip.com.au>
3954 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3955 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3957 * net/browse-url.el (browse-url): Identify alist with "consp and
3958 not functionp" and let all other things go down the `apply' leg,
3959 as suggested by Stefan. (Further to bug#4531.)
3961 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
3963 * minibuffer.el (read-file-name): Check for repeat before putting
3964 a default argument in file-name-history (Bug#4657).
3966 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3967 read syntax (Bug#4737).
3969 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3971 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3973 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3974 (html-tag-alist, html-tag-help): Add descriptions for undocumented
3975 entries and make note of obsolete tags.
3977 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
3981 2009-10-18 Glenn Morris <rgm@gnu.org>
3983 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
3984 grep, so that binary files (eg international/uni-bidi.el) can match.
3985 Remove test for "UnicodeData" files, since it is hopefully unnecessary
3986 now, and in any case the file header format has changed.
3988 2009-10-17 Glenn Morris <rgm@gnu.org>
3990 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
3991 (flyspell-get-word, flyspell-large-region)
3992 (flyspell-auto-correct-previous-word): Doc/error message fixes.
3994 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
3996 * Makefile.in (ELCFILES): Add ede/shell.
3998 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
4000 * term/common-win.el (x-colors): Purecopy it.
4002 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
4005 permissive for when the buffer is empty.
4006 (tar-header-block-tokenize): Decode the username and groupname.
4007 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
4009 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4011 * cedet/srecode/srt.el:
4012 * cedet/srecode/compile.el:
4013 * cedet/semantic/mru-bookmark.el:
4014 * cedet/semantic/debug.el:
4015 * cedet/semantic/complete.el:
4016 * cedet/semantic/analyze.el: Require CL when compiling.
4018 2009-10-17 Eric Ludlam <zappo@gnu.org>
4020 * cedet/semantic/scope.el
4021 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
4022 tmpscope so that the regular scope will continue to work.
4024 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
4025 Use semantic-idle-summary-highlight-face as the highlighting.
4027 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
4028 contains multibyte characters, choose first applicable coding
4029 system automatically.
4031 * cedet/ede/project-am.el (project-run-target): New method.
4032 (project-run-target): New method.
4034 * cedet/ede.el (ede-target): Add run target menu item.
4035 (ede-project, ede-minor-keymap): Add ede-run-target binding.
4036 (ede-run-target): New function.
4037 (ede-target::project-run-target): New method.
4039 * cedet/ede/proj.el (project-run-target): New method.
4041 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
4042 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
4044 (ede-proj-target-makefile-shared-object): Only libtool compilers
4045 now available. Add linkers for libtool.
4046 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
4047 (ede-proj-makefile-target-name): Always use .la extension.
4049 * cedet/ede/proj-prog.el (project-run-target): New method.
4051 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
4052 (ede-g++-linker): Change Change link lines.
4054 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
4055 When searching for old variables, go to the end of the buffer and
4056 search backward from there.
4057 (ede-proj-makefile-automake-insert-subdirs)
4058 (ede-proj-makefile-automake-insert-extradist): New methods.
4059 (ede-proj-makefile-create): Use them.
4061 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
4062 Force FILE to expand to the current target. Use file-exists-p to
4063 check that it exists.
4065 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
4066 (ede-linux-load): Wrap dir in file-name-as-directory.
4069 * cedet/ede/files.el (ede-get-locator-object): When enabling
4070 locate, do so on "top".
4072 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
4073 file-name-as-directory during compare.
4074 (ede-emacs-version): Return Emacs/XEmacs differentiator.
4075 Get version number from different places. Don't call egrep.
4076 (ede-emacs-load): Set :version slot. Call file-name-as-directory
4077 to set the directory.
4079 * cedet/ede/shell.el: New file.
4081 * cedet/inversion.el (inversion-decoders): Allow for stray . in
4082 alpha/beta variants.
4084 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * international/mule-cmds.el (select-safe-coding-system): If the file
4087 has a coding cookie, use it regardless of any other setting (bug#4712).
4089 2009-10-17 Glenn Morris <rgm@gnu.org>
4091 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
4092 All errors should have messages.
4094 * foldout.el (foldout-mouse-swallow-events):
4095 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
4097 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
4098 (dired-keep-marker-copy, dired-keep-marker-hardlink)
4099 (dired-keep-marker-symlink, dired-dwim-target)
4100 (dired-copy-preserve-time): Do not autoload these defcustoms.
4102 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
4103 messages from messing up the file coding. (Bug#4623)
4105 2009-10-17 Jari Aalto <jari.aalto@cante.net>
4107 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
4108 if no match is found for the current dictionary. (Bug#4578)
4110 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
4111 optional, since that is how it is documented, and this is often called
4112 with a nil argument. (Bug#4577)
4113 (flyspell-external-point-words, flyspell-auto-correct-word)
4114 (flyspell-correct-word-before-point, flyspell-word-search-forward)
4115 (flyspell-word-search-backward): Remove nil argument in calls to
4116 flyspell-get-word, since it is not needed now.
4118 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
4120 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
4122 2009-10-16 Glenn Morris <rgm@gnu.org>
4124 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
4126 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4128 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
4129 (ange-ftp-file-size): New function.
4130 (ange-ftp-file-attributes): Use it.
4132 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
4134 * net/tramp-smb.el (tramp-smb-version): New defvar.
4135 (tramp-smb-maybe-open-connection): Use it, in order to avoid
4138 2009-10-16 Glenn Morris <rgm@gnu.org>
4140 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4141 Maybe copy some custom properties from old to new name. (Bug#4706)
4143 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
4145 * subr.el (error, sit-for, start-process-shell-command)
4146 (start-file-process-shell-command): Set the calling convention
4147 after the function definition.
4149 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4151 * subr.el (error, sit-for, start-process-shell-command)
4152 (start-file-process-shell-command): Use the new
4153 set-advertised-calling-convention feature.
4155 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
4157 * international/ucs-normalize.el (ucs-normalize-version):
4159 (check-range): Adjust for Unicode 5.2.
4161 2009-10-15 Juri Linkov <juri@jurta.org>
4163 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
4164 to the `menu-item' format.
4166 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
4168 * net/tramp.el (tramp-replace-environment-variables): Do not fail
4169 if the environment variable does not exist.
4171 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4172 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
4174 (tramp-smb-handle-add-name-to-file)
4175 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4176 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4177 (tramp-smb-handle-file-attributes)
4178 (tramp-smb-do-file-attributes-with-stat)
4179 (tramp-smb-handle-file-local-copy)
4180 (tramp-smb-handle-insert-directory)
4181 (tramp-smb-handle-make-directory)
4182 (tramp-smb-handle-make-directory-internal)
4183 (tramp-smb-handle-make-symbolic-link)
4184 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
4185 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4186 (tramp-smb-maybe-open-connection): Apply the changed parameters.
4187 (tramp-smb-read-file-entry): Read Disk names in compressed format.
4188 Handle long file names.
4189 (tramp-smb-get-cifs-capabilities): Check, whether the connection
4191 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
4192 Read share names with "-g" option.
4194 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
4196 * net/rcirc.el (rcirc-view-log-file): New command.
4197 (rcirc-track-minor-mode-map): Remove C-c ` binding.
4198 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
4201 2009-10-15 Glenn Morris <rgm@gnu.org>
4203 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
4204 from the second command-line argument.
4205 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
4206 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
4207 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
4208 w32-batch-update-autoloads.
4209 * emacs-lisp/autoload.el (autoload-make-program): New variable.
4210 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
4212 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
4213 the headers cannot be located. Simplify, subtracting superflous
4216 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4218 Replace completion-base-size by completion-base-position to fix bugs
4220 * simple.el (completion-base-position): New var.
4221 (completion-base-size): Mark as obsolete.
4222 (choose-completion): Make it work for mouse events as well.
4223 Pass the new base-position to choose-completion-string.
4224 (choose-completion-guess-base-position): New function, extracted from
4225 choose-completion-delete-max-match.
4226 (choose-completion-delete-max-match): Use it. Make obsolete.
4227 (choose-completion-string): Use the new base-position info.
4228 (completion-root-regexp): Delete.
4229 (completion-setup-function): Preserve completion-base-position.
4230 Eliminate obsolete base-size manipulation.
4231 * minibuffer.el (display-completion-list): Don't mess with base-size.
4232 (minibuffer-completion-help): Set completion-base-position instead.
4233 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
4235 * textmodes/bibtex.el (bibtex-complete):
4236 * emacs-lisp/crm.el (crm--choose-completion-string):
4237 Adjust to new calling convention.
4238 * complete.el (partial-completion-mode): Use minibufferp to avoid
4239 bumping into incompatible change to choose-completion-string-functions.
4240 * ido.el (ido-choose-completion-string): Make its calling convention
4242 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
4243 base-size manipulation.
4244 (comint-dynamic-list-input-ring): Use dotimes and push.
4245 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
4246 fundamental-mode. Use `or'.
4248 2009-10-14 Juri Linkov <juri@jurta.org>
4250 * misearch.el (multi-isearch-next-buffer-from-list)
4251 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
4253 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * Makefile.in (compile-onefile): Load `bytecomp' rather than
4258 * minibuffer.el (completion-pcm--merge-completions): Make sure the
4259 string we return is all made up of text from the completions rather
4260 than part from the completions and part from the input (bug#4219).
4262 * ido.el (ido-everywhere): Use define-minor-mode.
4264 * buff-menu.el (list-buffers, ctl-x-map):
4265 Mark the entry points with ;;;###autoload cookies.
4267 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
4269 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
4270 correctly in the detached head case.
4271 (vc-git-print-log): Remove unused binding.
4273 * vc.el (vc-responsible-backend): When a directory is passed for
4274 for registration create a VC repository if no backend is
4275 responsible for the directory argument.
4276 (vc-deduce-fileset): Tell vc-responsible-backend to register.
4278 * vc.el: Move comments about RCS and SCCS ...
4280 * vc-sccs.el: ... here, respectively.
4282 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * minibuffer.el (completion--file-name-table): Return nil if there's
4285 no file completion, even if substitute-in-file-name changed
4286 the string (bug#4708).
4288 2009-10-13 Juri Linkov <juri@jurta.org>
4290 * files-x.el (read-file-local-variable-value): Don't filter out
4291 minor modes from mode name completion (bug#4664).
4293 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4295 * international/mule-cmds.el (ucs-names): Remove exclusion of
4296 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
4298 2009-10-13 Kenichi Handa <handa@m17n.org>
4300 * international/uni-name.el: Regenerated.
4302 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4304 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
4305 should be automatically buffer-local, but isn't.)
4307 2009-10-12 Sam Steingold <sds@gnu.org>
4309 * progmodes/compile.el (compilation-next-error-function): Fix the
4310 timestamps if the buffer has been visited before.
4311 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
4312 non-anchored patterns, like the perl one (bug#3928).
4314 2009-10-12 Glenn Morris <rgm@gnu.org>
4316 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
4319 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
4321 * proced.el (proced-unload-function): New function.
4323 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
4324 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
4327 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
4329 2009-10-11 Juri Linkov <juri@jurta.org>
4331 * files-x.el (read-file-local-variable-value):
4332 Provide default value only for bound variables (bug#4664).
4334 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
4336 * net/tramp.el (tramp-local-host-p): Function shall return nil for
4337 connection methods like smb.
4339 * net/tramp-cache.el (tramp-flush-connection-property): The hash
4342 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4343 (tramp-smb-file-name-handler-alist): Add handlers for
4344 `add-name-to-file', `make-symbolic-link'.
4345 (tramp-smb-handle-add-name-to-file)
4346 (tramp-smb-do-file-attributes-with-stat)
4347 (tramp-smb-handle-make-symbolic-link)
4348 (tramp-smb-get-cifs-capabilities): New defuns.
4349 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4350 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4351 (tramp-smb-handle-file-local-copy)
4352 (tramp-smb-handle-make-directory-internal)
4353 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
4354 The file name syntax depends on cifs capabilities.
4355 (tramp-smb-handle-file-attributes):
4356 Call `tramp-smb-do-file-attributes-with-stat' if possible.
4357 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
4358 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
4360 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
4362 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
4363 (eieio-defclass): Apply deftype handler and setf-method properties
4365 (eieio-add-new-slot): Avoid union function from cl library.
4366 (eieio--typep): New function.
4367 (eieio-perform-slot-validation): Use it.
4369 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4371 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
4372 Update documentation to refer to the variables documented in r1.135.
4375 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4377 * bookmark.el (Info-suffix-list): Remove this unused variable.
4378 (bookmark-current-point): Remove this obsolete variable.
4379 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
4380 Adjust for removal of bookmark-current-point.
4382 (bookmarks-already-loaded, bookmark-current-buffer)
4383 (bookmark-yank-point): Document. (Bug#4188)
4385 2009-10-10 Glenn Morris <rgm@gnu.org>
4387 * frame.el (frame-height): Doc fix.
4389 * calendar/calendar.el (calendar-split-width-threshold): New option.
4390 (calendar-basic-setup): Use calendar-split-width-threshold.
4392 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
4394 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
4395 Use .la for Automake.
4397 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
4399 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
4400 Use "autoreconf -i". Suggested by Andreas Schwab.
4402 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
4404 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
4405 Ideographic Supplement" range (U+1F200..U+1F2FF).
4407 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4409 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
4410 since the list will have been rebuilt anyway. (Bug#4349)
4412 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4414 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
4415 (bookmark-bmenu-execute-deletions): Don't save here, as
4416 bookmark-delete will now do so if necessary.
4417 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
4420 2009-10-09 Glenn Morris <rgm@gnu.org>
4422 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
4424 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4426 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
4427 (bookmark-jump-other-window): Just invoke bookmark-jump with new
4428 argument now, so the two function's behaviors will match. (Bug#3645)
4430 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4432 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4434 (ede-proj-dist-makefile): Use expand-file-name instead of concat
4435 to expand file names.
4437 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
4439 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
4440 (tramp-file-name-real-host, tramp-file-name-port):
4441 Apply `save-match-data'.
4443 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
4444 case both directories are remote.
4445 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
4446 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
4448 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4450 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
4451 (ede-proj-target-makefile-objectcode): Use it.
4453 * cedet/ede/source.el (ede-want-any-source-files-p)
4454 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4455 Return search result. This error was introduced while merging.
4457 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4459 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4461 2009-10-07 Glenn Morris <rgm@gnu.org>
4463 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
4466 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * files-x.el (read-file-local-variable): Include some
4469 non-user-variables in the completion table (bug#4664).
4471 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
4473 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4476 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4477 (tramp-smb-file-name-handler-alist): Add handler for
4478 `copy-directory', `expand-file-name', `set-file-modes'.
4479 (tramp-smb-handle-copy-directory)
4480 (tramp-smb-handle-expand-file-name)
4481 (tramp-smb-handle-set-file-modes): New defuns.
4482 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4483 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4485 (tramp-smb-handle-insert-directory): Don't flush the cache.
4486 (tramp-smb-maybe-open-connection): Check for samba client and
4489 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4491 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4492 to not error out of search for "^lisp=" fails.
4494 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4496 * makefile.w32-in (WINS_UPDATES): New macro.
4497 (custom-deps, finder-data, autoloads): Use it.
4499 2009-10-07 Glenn Morris <rgm@gnu.org>
4501 * Makefile.in (autoloads): Revert previous change.
4502 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4503 the list of preloaded files passed on the command-line, get
4504 it from src/Makefile.
4506 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4507 show the original buffer rather than a random one.
4509 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4511 * help.el (describe-no-warranty): Place point in a slightly better
4512 position in the GPLv3 text.
4514 2009-10-06 Sam Steingold <sds@gnu.org>
4516 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4517 the comm attribute is present before calling regexp-quote.
4519 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4521 * play/animate.el (animate-string): For good effect, make sure
4522 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4524 * play/animate.el (animate-sequence, animate-birthday-present):
4525 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4527 2009-10-06 Glenn Morris <rgm@gnu.org>
4529 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4531 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4532 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4533 (batch-update-autoloads): Process a string value of autoload-excludes,
4534 set during the build process.
4535 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
4537 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4538 inside with-parsed... macro so that `v' is defined.
4540 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4541 * progmodes/fortran.el (fortran-end-of-block)
4542 (fortran-beginning-of-block):
4543 Also push mark in the macro case.
4545 * emerge.el (emerge-show-file-name):
4546 * calc/calc.el (calc-quit):
4547 * calc/calc-misc.el (calc-big-or-small):
4548 * calc/calc-graph.el (calc-graph-view):
4549 * calc/calc-ext.el (calc-reset):
4550 * calendar/calendar.el (calendar-basic-setup):
4551 Use window-full-height-p.
4553 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4554 header we don't understand, don't insert another. (Bug#4624)
4555 If changing mime charset, insert the new one in the right place.
4557 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
4559 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4560 (cal-tex-cursor-month): Correctly increment the end date for diary and
4561 holiday listing. (Bug#4626)
4563 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * help-fns.el (describe-function-1): Don't burp if the function is not
4568 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
4570 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4571 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4572 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4573 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4575 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4576 (eieio-default-superclass): Reflow docstrings.
4577 (this, class-option-assoc, defclass, eieio-class-un-autoload)
4578 (eieio-unbind-method-implementations, defmethod)
4579 (eieio-validate-slot-value, eieio-validate-class-slot-value)
4580 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4581 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4582 (eieio-slot-originating-class-p, eieio-slot-name-index)
4583 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4584 (constructor, initialize-instance, no-next-method, object-print)
4585 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4586 Fix typos in docstrings.
4587 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4588 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4589 (next-method-p): Doc fixes.
4590 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4591 Fix typos in error messages.
4592 (eieio-defmethod): Fix typo in description of generic method.
4594 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4595 (eieio-persistent-save-interactive, slot-missing):
4596 Fix typos in docstrings.
4597 (eieio-instance-inheritor-slot-boundp): Doc fix.
4599 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4600 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4602 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4603 (eieio-custom-object-apply-reset):
4604 Fix typos in docstrings and error messages.
4606 * emacs-lisp/eieio-datadebug.el (data-debug-show):
4607 Fix typo in docstring.
4609 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4610 (eieio-browse-tree): Doc fix.
4611 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4612 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4613 Fix typos in docstrings.
4615 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4616 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4617 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4618 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4621 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
4623 * vc-hg.el (log-view-vc-backend): Declare for compiler.
4624 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4625 Set log-view-vc-backend so that diff can work.
4627 * log-view.el (log-view-diff): Use vc-diff-internal instead of
4629 (vc-diff-internal): Autoload this instead of vc-version-diff.
4631 2009-10-05 Eli Zaretskii <eliz@gnu.org>
4633 * simple.el (eval-expression): Doc fix.
4635 * progmodes/cwarn.el (cwarn-mode): Doc fix.
4637 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
4639 * files.el (directory-files-no-dot-files-regexp): New defconst.
4640 (delete-directory): Use it.
4641 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
4643 * net/tramp.el (tramp-verbose): Fix docstring.
4644 (tramp-methods): Add recursive option to `tramp-copy-args'.
4645 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
4646 "scp1_old", "scp2_old", "rsync", "rsyncc".
4647 (tramp-default-method): Check also for `auth-source-user-or-password'.
4648 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4649 Add handler for `copy-directory'.
4650 (tramp-handle-copy-directory): New defun.
4651 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4652 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4653 Optimize sent command.
4655 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4658 window if necessary.
4660 * calendar/calendar.el (calendar-basic-setup): Don't call
4661 switch-to-buffer in a dedicated window.
4663 2009-10-05 Karl Fogel <kfogel@red-bean.com>
4665 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4666 don't do anything related to relocating, just return nil.
4667 (bookmark-error-no-filename): New error.
4668 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4669 bookmark has no file. Don't even attempt to handle things that
4670 are not files; the whole point of custom handlers is to keep that
4671 knowledge elsewhere anyway. Tighten some comments.
4672 (bookmark-file-or-variation-thereof): Remove now-unused function.
4673 (bookmark-location): Doc string fix.
4676 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4678 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4679 don't use a file dialog, because they usually don't know how to read
4680 a directory target from the user. (Bug#4230)
4681 Also, make sure the prompt can display directories as well as files.
4683 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4685 * bookmark.el (bookmark-set, bookmark-buffer-name):
4686 Improve doc strings. (Bug#1193)
4688 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4690 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4691 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4692 (bookmark-get-annotation, bookmark-set-annotation)
4693 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4694 (bookmark-set-position, bookmark-get-front-context-string)
4695 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4696 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4697 (bookmark-jump-other-window, bookmark-handle-bookmark)
4698 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4699 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4700 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4701 Improve doc strings to say whether bookmark can be a string or
4702 a record or both, and make other consistency and clarity fixes.
4703 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4704 (bookmark-default-annotation-text, bookmark-yank-word)
4705 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4706 (bookmark-import-new-list, bookmark-maybe-rename)
4707 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4708 (bookmark-bmenu-bookmark): Give these doc strings.
4709 (bookmark-bmenu-check-position): Give this a doc string, but also
4710 add a FIXME comment about how the function may be pointless.
4711 (bookmark-default-handler): Rework doc string and change a
4712 parameter name, to clarify that this takes a bookmark record
4713 not a bookmark name.
4714 (bookmark-set): Change a parameter name to indicate its meaning,
4715 and improve the doc string a bit.
4718 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4720 * bookmark.el (bookmark-alist): Document the new `handler' element
4722 (bookmark-make-record-function): Adjust documentation for above.
4725 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4727 * info.el (Info-bookmark-make-record): Document this function.
4728 (Info-bookmark-jump): Document with a doc string, not just a comment.
4731 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4733 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4734 (semantic-new-buffer-fcn): Call parser setup functions here.
4735 (semantic-mode): Don't call parser setup functions here, it's done
4736 in semantic-new-buffer-fcn now.
4737 (semantic-mode): Parse all existing buffers when enabled.
4739 * cedet/srecode/compile.el (srecode-compile-file):
4740 Call semantic-new-buffer-fcn if the buffer has not been parsed.
4742 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4744 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4746 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4747 (proj-comp-insert-variable-once): New macro, renamed from
4748 ede-pmake-insert-variable-once in ede/pmake.edl.
4749 (ede-proj-makefile-insert-variables): Use it.
4751 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
4753 * files.el (copy-directory): New defun.
4755 * dired-aux.el (dired-copy-file-recursive): Use it.
4757 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4759 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4760 (makefile-end-of-command):
4761 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4762 (semantic-end-of-context): Fix previous change. Doc fixes.
4764 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4766 * files-x.el (modify-dir-local-variable)
4767 (copy-dir-locals-to-file-locals-prop-line):
4768 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4769 (makefile-end-of-command):
4770 * cedet/semantic/lex.el (semantic-lex-token):
4771 * cedet/semantic/analyze/fcn.el
4772 (semantic-analyze-dereference-metatype-1):
4773 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4774 (semantic-lex-cpp-undef):
4775 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4776 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4777 (semantic-end-of-context): Fix typos in docstrings.
4779 * recentf.el (recentf-unload-function): New function.
4781 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4783 * cedet/ede.el (ede-project-placeholder-cache-file):
4784 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4785 * cedet/srecode/map.el (srecode-map-save-file):
4786 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
4788 2009-10-04 Glenn Morris <rgm@gnu.org>
4790 * window.el (window-full-height-p): Add doc string.
4792 2009-10-04 Martin Rudalics <rudalics@gmx.at>
4794 * window.el (window-full-height-p): New function. (Bug#4543)
4796 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
4798 * cedet/srecode/insert.el: Require srecode/args.
4800 * cedet/srecode/args.el: Require srecode/dictionary instead of
4803 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4805 * files.el (auto-mode-alist): Add .srt and Project.ede.
4807 * cedet/semantic.el (semantic-mode):
4808 Handle srecode-template-mode-hook as well.
4809 (semantic-mode): Use js-mode-hook for Javascript hook.
4811 * cedet/srecode/template.el: Remove hook variable.
4813 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4815 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4817 (ede-project-placeholder-cache-file): Default to a file in
4818 user-emacs-directory.
4820 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4821 templates in data-directory.
4822 (srecode-map-save-file): Default to a file in user-emacs-directory.
4824 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4827 2009-09-30 Eric Ludlam <zappo@gnu.org>
4829 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4832 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4833 Only insert each variable once.
4835 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4836 (ede-pmake-insert-variable-shared): Use it.
4838 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4839 for lexical table iff table is nil.
4841 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4843 * vc.el: Remove commented out code.
4844 (vc-derived-from-dir-mode): Remove, unused.
4845 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4847 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
4849 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4850 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
4851 there could be recursive loading when `default-directory' is a
4852 remote file name. (Bug#4614)
4854 2009-10-03 Glenn Morris <rgm@gnu.org>
4856 * calendar/calendar.el (calendar-basic-setup): Handle the case where
4858 (calendar-generate-window): Test for shrinkability rather than width.
4860 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4861 declaration, currently false.
4863 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4864 reusing existing buffers, in case we happen to visit two files with the
4865 same basename. (Bug#4593)
4867 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4869 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4870 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4871 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4872 subdirs of cedet as well.
4873 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4875 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4878 Obey advertised-signature-table.
4880 * help-fns.el (help-function-arglist): Don't check
4881 advertised-signature-table.
4882 (describe-function-1): Do it here instead so it also applies to subrs.
4884 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
4886 * simple.el (start-file-process): Say in the doc-string, that file
4887 handlers might not support pty association, if PROGRAM is nil.
4889 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4890 HOST and USER are strings. They are nil, when there are
4891 incomplete entries in ~/.netrc, for example.
4892 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
4893 root directory ("device busy" error otherwise).
4895 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4896 Flush file properties of created directory.
4898 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4900 * makefile.w32-in (WINS_BASIC): Remove cedet.
4901 (WINS_CEDET): Add cedet.
4902 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4904 2009-10-02 Kevin Ryde <user42@zip.com.au>
4906 * net/browse-url.el (browse-url): Pass any symbol in
4907 browse-url-browser-function to `apply', since if you've mistakenly put
4908 an unbound symbol then the error is clearer. (Bug#4531)
4910 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4912 * allout.el (allout-init, allout-back-to-current-heading)
4913 (allout-beginning-of-current-entry, allout-ascend-to-depth)
4914 (allout-ascend, allout-up-current-level, allout-end-of-level)
4915 (allout-previous-visible-heading, allout-forward-current-level)
4916 (allout-backward-current-level, allout-show-children):
4917 * apropos.el (apropos-describe-plist):
4918 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4919 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4920 * completion.el (add-completion, add-permanent-completion):
4921 * descr-text.el (describe-text-category, describe-char):
4922 * desktop.el (desktop-lazy-abort):
4923 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4924 * dired.el (dired-build-subdir-alist):
4925 * ediff.el (ediff-version):
4926 * elide-head.el (elide-head, elide-head-show):
4927 * emerge.el (emerge-version):
4929 * face-remap.el (variable-pitch-mode):
4930 * faces.el (describe-face):
4931 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4933 * files.el (find-file-existing, auto-save-mode):
4934 * font-lock.el (font-lock-fontify-buffer):
4935 * help-fns.el (describe-function, describe-variable)
4936 (describe-syntax, describe-categories):
4937 * help.el (view-lossage, describe-bindings, describe-key)
4939 * hexl.el (hexl-current-address):
4940 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4941 * info.el (Info-goto-emacs-key-command-node):
4942 * log-edit.el (log-edit-insert-cvs-template)
4943 (log-edit-insert-cvs-rcstemplate):
4944 * menu-bar.el (menu-bar-mode):
4945 * mouse.el (mouse-appearance-menu):
4946 * newcomment.el (comment-indent-new-line):
4947 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4948 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4949 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
4950 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4951 * recentf.el (recentf-mode):
4952 * savehist.el (savehist-mode, savehist-save):
4953 * shadowfile.el (shadow-copy-files):
4954 * simple.el (kill-ring-save, next-line, previous-line)
4955 (normal-erase-is-backspace-mode):
4956 * strokes.el (strokes-update-window-configuration)
4957 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4958 (strokes-xpm-for-stroke):
4959 * time.el (emacs-uptime, emacs-init-time):
4960 * tutorial.el (tutorial--describe-nonstandard-key)
4961 (tutorial--detailed-help):
4962 * type-break.el (type-break-mode)
4963 (type-break-mode-line-message-mode, type-break-query-mode)
4964 (type-break-guesstimate-keystroke-threshold):
4965 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4966 * version.el (emacs-version):
4967 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4968 * winner.el (winner-mode):
4969 * calendar/timeclock.el (timeclock-in, timeclock-out)
4970 (timeclock-status-string, timeclock-change)
4971 (timeclock-workday-remaining-string)
4972 (timeclock-workday-elapsed-string)
4973 (timeclock-when-to-leave-string):
4974 * calendar/todo-mode.el (todo-add-category):
4975 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4976 * emacs-lisp/autoload.el (update-file-autoloads):
4977 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4978 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4979 (checkdoc-message-text, checkdoc-defun):
4980 * emacs-lisp/debug.el (debugger-list-functions):
4981 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4982 * emacs-lisp/eieio-opt.el (eieio-describe-class)
4983 (eieio-describe-generic):
4984 * emacs-lisp/lisp-mnt.el (lm-synopsis):
4985 * emacs-lisp/shadow.el (list-load-path-shadows):
4986 * emulation/cua-base.el (cua-mode):
4987 * emulation/edt.el (edt-set-scroll-margins):
4988 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
4989 (tpu-toggle-regexp, tpu-toggle-search-direction)
4990 (tpu-toggle-rectangle, tpu-toggle-control-keys):
4991 * emulation/tpu-extras.el (tpu-set-scroll-margins):
4992 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4993 (viper-set-parsing-style-toggling-macro)
4994 (viper-set-emacs-state-searchstyle-macros):
4995 * emulation/viper.el (viper-set-hooks):
4996 * eshell/esh-mode.el (eshell-truncate-buffer):
4997 * international/mule-cmds.el (prefer-coding-system)
4998 (describe-input-method, describe-language-environment):
4999 * international/mule-diag.el (list-character-sets)
5000 (describe-character-set, describe-coding-system)
5001 (describe-fontset, list-fontsets, list-input-methods):
5002 * mail/sendmail.el (mail-signature):
5003 * net/ange-ftp.el (ange-ftp-copy-file):
5004 * net/browse-url.el (browse-url):
5005 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
5006 * net/quickurl.el (quickurl-add-url):
5007 * net/rcirc.el (names, topic):
5008 * net/xesam.el (xesam-mode):
5009 * play/5x5.el (5x5-new-game):
5010 * play/yow.el (apropos-zippy):
5011 * progmodes/ada-mode.el (ada-mode-version):
5012 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
5014 (f90-beginning-of-block):
5015 * progmodes/fortran.el (fortran-end-of-block)
5016 (fortran-beginning-of-block):
5017 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
5018 * progmodes/python.el (python-describe-symbol, python-shell):
5019 * term/ns-win.el (ns-print-buffer):
5020 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
5021 * textmodes/flyspell.el (flyspell-mode-on):
5022 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
5023 (pages-directory-for-addresses):
5024 * textmodes/table.el (table-recognize-cell)
5025 (table-query-dimension, table-generate-source)
5026 (table-insert-sequence, table--warn-incompatibility):
5027 * textmodes/tex-mode.el (tex-validate-buffer):
5028 * textmodes/texinfmt.el (texinfmt-version)
5029 (texinfo-format-buffer):
5030 Use `called-interactively-p' instead of `interactive-p'.
5032 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5034 * image-mode.el (image-toggle-display):
5035 * emacs-lisp/elp.el (elp-instrument-function):
5036 * emacs-lisp/advice.el (ad-make-advised-definition):
5037 * emacs-lisp/easy-mmode.el (define-minor-mode):
5038 * net/browse-url.el (browse-url-maybe-new-window):
5039 * progmodes/sh-script.el (sh-learn-buffer-indent):
5040 Pass new argument 'any to `called-interactively-p'.
5042 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5044 * international/uni-bidi.el:
5045 * international/uni-category.el:
5046 * international/uni-combining.el:
5047 * international/uni-comment.el:
5048 * international/uni-decimal.el:
5049 * international/uni-decomposition.el:
5050 * international/uni-digit.el:
5051 * international/uni-lowercase.el:
5052 * international/uni-mirrored.el:
5053 * international/uni-name.el:
5054 * international/uni-numeric.el:
5055 * international/uni-old-name.el:
5056 * international/uni-titlecase.el:
5057 * international/uni-uppercase.el:
5058 Regenerate from Unicode 5.2.0 data.
5060 2009-10-01 Glenn Morris <rgm@gnu.org>
5062 * Makefile.in (ELCFILES): Regenerate.
5064 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * subr.el (interactive-p): Mark obsolete.
5067 (called-interactively-p): Make the optional-ness of `kind' obsolete.
5068 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
5069 advertised-signature-table for subroutines as well.
5071 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
5072 (set-advertised-calling-convention): New function.
5073 (make-obsolete, define-obsolete-function-alias)
5074 (make-obsolete-variable, define-obsolete-variable-alias):
5075 Make the optional-ness of `when' obsolete.
5076 (define-obsolete-face-alias): Make `when' non-optional.
5077 * help-fns.el (help-function-arglist):
5078 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
5079 Use advertised-signature-table.
5081 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
5083 * files.el (delete-directory): New defun. The original function
5084 in fileio.c has been renamed to `delete-directory-internal'.
5086 * dired.el (dired-delete-file): Call `delete-directory' with
5087 RECURSIVE parameter.
5089 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
5090 parameter RECURSIVE. Implementation is missing.
5092 * net/tramp.el (tramp-handle-make-directory): Flush upper
5093 directory's file properties.
5094 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
5095 (tramp-handle-dired-recursive-delete-directory): Flush directory
5096 properties after the remove command only.
5098 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5099 Handle optional parameter RECURSIVE.
5101 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
5102 Handle optional parameter RECURSIVE.
5104 * net/tramp-smb.el (tramp-smb-errors): Add error message for
5106 (tramp-smb-handle-delete-directory): Handle optional parameter
5109 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
5112 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
5113 (byte-compile-defmacro): Use backquotes.
5115 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
5117 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
5118 has no associated file.
5119 (vc-resynch-buffer): Use vc-dir-buffers.
5121 2009-10-01 Glenn Morris <rgm@gnu.org>
5123 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
5125 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
5126 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
5127 * emacs-lisp/eieio-opt.el (eieio-describe-class):
5128 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
5129 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
5130 (eieio-copy-parents-into-subclass, make-instance, class-children)
5131 (eieio-generic-form):
5132 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
5133 * cedet/cedet-idutils.el (cedet-idutils-search)
5134 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
5135 (cedet-idutils-version-check):
5136 * cedet/cedet.el (cedet-version):
5137 * cedet/data-debug.el (data-debug-insert-overlay-button)
5138 (data-debug-insert-overlay-list-button)
5139 (data-debug-insert-buffer-button)
5140 (data-debug-insert-buffer-list-button)
5141 (data-debug-insert-process-button, data-debug-insert-ring-button)
5142 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
5143 (data-debug-insert-stuff-vector-button)
5144 (data-debug-insert-symbol-button, data-debug-insert-string)
5145 (data-debug-insert-number, data-debug-insert-lambda-expression)
5146 (data-debug-insert-nil, data-debug-insert-simple-thing)
5147 (data-debug-insert-custom, data-debug-edebug-expr):
5148 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
5149 (global-ede-mode-map, ede-new, ede-debug-target)
5150 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
5151 * cedet/semantic.el (semantic-minimum-working-buffer-size)
5152 (semantic-fetch-tags, semantic-submode-list)
5153 (semantic-default-submodes):
5154 * cedet/ede/source.el (ede-source-match):
5155 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
5156 (project-am-package-info):
5157 * cedet/ede/proj.el (ede-proj-target, project-new-target):
5158 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
5159 * cedet/ede/proj-comp.el (ede-current-build-list):
5160 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
5161 * cedet/ede/files.el (ede-toplevel-project-or-nil):
5162 * cedet/ede/cpp-root.el (initialize-instance):
5163 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
5164 (autoconf-parameter-strip, autoconf-insert-new-macro):
5165 * cedet/semantic/wisent.el (wisent-lex-eoi):
5166 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
5167 (semantic-show-parser-state-mode):
5168 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
5169 * cedet/semantic/tag.el (semantic-tag-new-variable)
5170 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
5171 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
5172 (semantic--tag-deep-copy-tag-list)
5173 (semantic-tag-components-with-overlays-default):
5174 * cedet/semantic/symref.el (semantic-symref-find-text):
5175 * cedet/semantic/senator.el (senator-yank-tag)
5176 (senator-transpose-tags-up):
5177 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
5178 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
5179 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
5180 * cedet/semantic/lex.el (semantic-lex-comment-regex)
5181 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
5182 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
5183 * cedet/semantic/lex-spp.el
5184 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
5185 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
5186 * cedet/semantic/idle.el
5187 (semantic-idle-summary-current-symbol-info-brutish)
5188 (semantic-idle-summary-current-symbol-info-default):
5189 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
5190 (semantic--grammar-macro-compl-dict):
5191 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
5192 * cedet/semantic/format.el (semantic-format-tag-custom-list)
5193 (semantic-format-tag-canonical-name-default):
5194 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
5195 (semantic-find-tags-for-completion)
5196 (semantic-find-tags-by-scope-protection-default)
5197 (semantic-deep-find-tags-for-completion):
5198 * cedet/semantic/edit.el
5199 (semantic-edits-incremental-reparse-failed-hook)
5200 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
5201 (semantic-edits-splice-remove, semantic-edits-splice-replace):
5202 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
5203 * cedet/semantic/dep.el (semantic-dependency-include-path):
5204 * cedet/semantic/db.el (semanticdb-default-find-index-class)
5205 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
5206 (semanticdb-project-roots):
5207 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
5208 (semanticdb-find-adebug-insert-scanned-tag-cons)
5209 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
5210 (semanticdb-brute-deep-find-tags-for-completion):
5211 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
5212 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
5213 (semantic-end-of-context-default)
5214 (semantic-ctxt-current-function-default)
5215 (semantic-ctxt-scoped-types-default):
5216 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5217 (semantic-complete-inline-tag-engine)
5218 (semantic-complete-inline-custom-type)
5219 (semantic-complete-read-tag-analyzer):
5220 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
5221 (semantic-chart-database-size):
5222 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
5223 (semantic-analyze-current-context):
5224 * cedet/semantic/symref/list.el (semantic-symref)
5225 (semantic-symref-hide-buffer, semantic-symref-symbol):
5226 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
5227 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
5228 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
5229 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
5230 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
5231 (semantic-c-dereference-template):
5232 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
5233 (semantic--analyze-refs-full-lookup-with-parents)
5234 (semantic--analyze-refs-full-lookup-simple):
5235 * cedet/semantic/analyze/complete.el
5236 (semantic-analyze-possible-completions):
5237 * cedet/srecode/table.el (srecode-mode-table-new):
5238 * cedet/srecode/srt.el (srecode-read-variable-name):
5239 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
5240 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
5241 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
5242 * cedet/srecode/map.el (srecode-current-map):
5243 * cedet/srecode/insert.el (srecode-insert)
5244 (srecode-insert-variable-secondname-handler, srecode-insert-method)
5245 (srecode-template-inserter-point-override)
5246 (srecode-insert-include-lookup):
5247 * cedet/srecode/getset.el (srecode-auto-choose-class):
5248 * cedet/srecode/extract.el (srecode-inserter-extract):
5249 * cedet/srecode/document.el
5250 (srecode-document-autocomment-return-last-alist)
5251 (srecode-document-autocomment-param-type-alist)
5252 (srecode-document-insert-function-comment)
5253 (srecode-document-insert-variable-one-line-comment)
5254 (srecode-document-function-name-comment):
5255 * cedet/srecode/dictionary.el (srecode-create-dictionary)
5256 (srecode-compound-toString):
5257 * cedet/srecode/compile.el (srecode-flush-active-templates):
5258 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
5261 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
5262 match-data. (Bug#4555).
5264 * cedet/semantic/bovine/gcc.el
5265 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
5266 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
5268 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
5269 rather than parsing it as a regexp. This relaxes the layout
5270 requirements and makes errors easier to detect.
5271 (check-declare-verify): Check file is regular.
5272 (check-declare-directory): Doc fix.
5273 * subr.el (declare-function): Doc fix.
5275 * ibuffer.el (ibuffer-format-qualifier):
5276 * isearch.el (hi-lock-regexp-okay):
5277 * calc/calc.el (math-zerop):
5278 * mail/uce.el (rmail-msgbeg, rmail-msgend):
5279 * term/w32-win.el (setup-default-fontset, set-fontset-font):
5280 Remove unused declarations.
5282 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5284 * cedet/semantic/wisent/javat-wy.el
5285 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
5287 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
5289 * cedet/srecode/expandproto.el: Fix provide statement.
5291 2009-09-30 Eric Ludlam <zappo@gnu.org>
5293 * emacs-lisp/eieio.el (boolean-p): Delete.
5295 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
5297 * cedet/ede/srecode.el: Fix provide statement.
5299 2009-09-30 Glenn Morris <rgm@gnu.org>
5301 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
5302 * cedet/ede/proj-aux.el (ede-aux-source):
5303 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
5305 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
5306 (semantic-mrub-switch-tags): Fix doc typos.
5308 * cedet/semantic/db-global.el (data-debug-new-buffer)
5309 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5310 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
5312 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
5314 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
5315 use of CL function `remove-if-not'.
5317 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
5319 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
5320 filename is not a string.
5322 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
5324 * files.el (safe-local-eval-forms): Fix typo.
5326 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * vc-hooks.el (vc-dir-buffers): New var.
5329 (vc-state-refresh): New function.
5331 (vc-after-save): Always ask the backend to recompute the new state.
5332 Always call vc-dir if necessary, using vc-dir-buffers.
5333 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
5335 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
5336 (vc-dir-prepare-status-buffer, vc-dir-update)
5337 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
5338 Don't call expand-file-name on default-directory.
5340 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5342 * speedbar.el (speedbar-item-delete):
5343 * calc/calc-prog.el (calc-kbd-if):
5344 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
5346 * epa.el (epa-key-list-mode-map):
5347 * hi-lock.el (hi-lock-menu): Fix typos in menus.
5349 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
5350 (hs-show-hook): Fix typo in docstring.
5352 2009-09-29 Glenn Morris <rgm@gnu.org>
5354 * cedet/semantic/symref/idutils.el:
5355 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
5357 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
5359 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
5360 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
5361 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
5362 Mark declarations not understood by check-declare.
5364 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
5365 file-name-nondirectory call preventing location of cedet files.
5366 (check-declare-verify): Use literal search rather than re-search.
5367 Add basic defmethod and defclass, and define-overloadable-function.
5369 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5370 Use tramp-compat-file-attributes rather than nonexistent
5371 tramp-compat-handle-file-attributes.
5373 * Makefile.in (lisptagsfiles4): New.
5374 (AUTOGENEL): Add cedet loaddefs files.
5375 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
5376 (update-elclist, compile-always, backup-compiled-files)
5377 (bootstrap-clean): Add yet another directory level.
5378 (update-elclist): Use LC_COLLATE rather than COLLATE.
5379 (ELCFILES): Update, via `make update-elclist'.
5381 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5383 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
5384 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
5385 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
5387 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
5389 * Makefile.in (lisptagsfiles3): Define.
5390 (TAGS, TAGS-LISP): Use it.
5391 (update-elclist): Add third directory level to look for elc files.
5392 (compile-always): Likewise.
5393 (backup-compiled-files): Likewise.
5394 (bootstrap-clean): Likewise.
5397 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
5399 * Makefile.in (ELCFILES): Add CEDET files.
5401 2009-09-28 Eric Ludlam <zappo@gnu.org>
5403 CEDET (development tools) package merged.
5407 * cedet/semantic/*.el:
5408 * cedet/srecode/*.el: New files.
5410 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
5412 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
5414 * net/tramp.el (top): Require tramp-imap.
5416 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5417 Use `tramp-compat-handle-file-attributes'.
5419 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
5421 * net/tramp-imap.el: New package.
5423 2009-09-28 Eric Ludlam <zappo@gnu.org>
5425 * emacs-lisp/chart.el:
5426 * emacs-lisp/eieio-base.el:
5427 * emacs-lisp/eieio-comp.el:
5428 * emacs-lisp/eieio-custom.el:
5429 * emacs-lisp/eieio-datadebug.el:
5430 * emacs-lisp/eieio-opt.el:
5431 * emacs-lisp/eieio-speedbar.el:
5432 * emacs-lisp/eieio.el: New files.
5434 * cedet/cedet-cscope.el:
5435 * cedet/cedet-files.el:
5436 * cedet/cedet-global.el:
5437 * cedet/cedet-idutils.el:
5438 * cedet/data-debug.el:
5439 * cedet/inversion.el:
5440 * cedet/mode-local.el:
5441 * cedet/pulse.el: New files.
5443 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5445 * whitespace.el (whitespace-trailing-regexp)
5446 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5449 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
5451 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
5454 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5455 menu-bar-ediff-menu.
5457 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5458 define-overloadable-function.
5460 * progmodes/autoconf.el: Provide autoconf as well, so that this
5461 file can be `require'd.
5463 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5465 * emacs-lisp/autoload.el (generated-autoload-feature)
5466 (generated-autoload-load-name): New vars.
5467 (autoload-rubric, autoload-generate-file-autoloads): Use them.
5468 (make-autoload): Recognize define-overloadable-function and
5469 defclass forms (for EIEIO).
5471 * Makefile.in (update-subdirs): Exclude cedet directory.
5473 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
5475 * term/ns-win.el: Don't set the region face background. (Bug#4381)
5477 * faces.el: Default light-background background for region face to
5478 ns_selection_color under NS.
5480 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5482 * net/imap-hash.el: New library, see NEWS.
5484 * Makefile.in (ELCFILES): Add imap-hash.el.
5486 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5489 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5490 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5491 definition where the docstring could be taken for the return value.
5493 2009-09-26 Glenn Morris <rgm@gnu.org>
5495 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5496 Add option to only show images below a certain size.
5497 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5498 save-excursion calls.
5500 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5502 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5503 subdirectories) and eieio.
5505 2009-09-26 Alan Mackenzie <acm@muc.de>
5507 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5508 buggy bracketing. (Bug#4289)
5510 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5511 character constants (as case labels). (Bug#4289)
5513 2009-09-25 Juri Linkov <juri@jurta.org>
5515 * files.el (safe-local-eval-forms): Allow time-stamp in
5516 before-save-hook (Bug#4554).
5518 2009-09-25 Drew Adams <drew.adams@oracle.com>
5520 * menu-bar.el (list-buffers-directory): Doc fix.
5522 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5524 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5525 Try and avoid copying twice the same paragraph.
5526 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5527 Remove save-excursion.
5528 (log-edit-changelog-entry): Do it here instead.
5530 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
5532 * bs.el (bs--get-file-name): Use `list-buffers-directory'
5533 when available, instead of hardcoding mode names. Doc fix.
5535 * menu-bar.el (list-buffers-directory): Add docstring.
5536 Make automatically buffer-local.
5538 * dired.el (dired-mode):
5539 * files.el (cd-absolute):
5540 * pcvs.el (cvs-temp-buffer):
5541 * pcvs-util.el (cvs-get-buffer-create):
5542 * shell.el (shell-mode):
5543 * vc-dir.el (vc-dir-mode):
5544 Don't make `list-buffers-directory' buffer local.
5546 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
5548 * comint.el (comint-exec, comint-run, make-comint):
5549 Doc fixes (Bug#4542).
5551 2009-09-25 Glenn Morris <rgm@gnu.org>
5553 * mail/rmailmm.el (rmail-mime): New custom group.
5554 Move all defcustoms in this file into this group.
5555 (rmail-mime-media-type-handlers-alist): Revert previous change.
5556 (rmail-mime-show-images): New option.
5557 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5558 references to it, since it wasn't actually used for anything.
5559 (rmail-mime-insert-image): New function.
5560 (rmail-mime-image): Use rmail-mime-insert-image.
5561 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5562 obey the value of `rmail-mime-show-images' option. Print the size of
5565 2009-09-25 David Engster <deng@randomsample.de>
5567 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
5569 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5571 * whitespace.el: Does not highlight trailing spaces While point is
5572 at end of line. Does not highligt spaces at beginning of buffer
5573 while point is at beginning of buffer. Does not highlight spaces
5574 at end of buffer while point is at end of buffer. (Bug#4177)
5576 (whitespace-display-mappings): Adjust initialization.
5577 (whitespace-point, whitespace-font-lock-refontify): New vars.
5578 (whitespace-color-on, whitespace-color-off): Adjust code.
5579 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5580 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5581 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5583 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
5585 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5587 * textmodes/sgml-mode.el: Remove xml-mode alias.
5589 * files.el (auto-mode-alist, conf-mode-maybe)
5590 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5592 2009-09-24 Alan Mackenzie <acm@muc.de>
5594 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5595 c-forward-conditionals, but it doesn't move point and doesn't set
5597 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5598 (c-down-conditional-with-else, c-backward-conditional)
5599 (c-forward-conditional): Refactor to use c-scan-conditionals.
5601 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5603 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5604 (help-default-arg-highlight): Remove.
5605 (help-highlight-arg): New function.
5606 (help-do-arg-highlight): Use it.
5607 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
5609 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * term.el (term-set-scroll-region, term-handle-ansi-escape):
5612 Undo last change, which didn't fix the problem and introduced others.
5614 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
5616 * progmodes/gdb-mi.el: Don't require speedbar.
5617 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5619 2009-09-24 Glenn Morris <rgm@gnu.org>
5621 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5623 * term/ns-win.el (ns-reg-to-script): Define for compiler.
5625 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5626 there is no newline after the final mime boundary. (Bug#4539)
5627 Move markers on insertion so that any buttons inserted don't end up in
5628 the next part of a multipart message.
5629 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
5630 (rmail-mime-bulk-handler): Optionally handle images.
5631 (rmail-mime-image): New button action.
5632 (rmail-mime-image-handler): New function.
5633 (rmail-mime-mode): New mode.
5634 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
5636 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5639 than just dropping elements from it (bug#4504).
5641 * term.el (term-set-scroll-region): Don't move cursor any more.
5642 (term-handle-ansi-escape): Call term-goto here instead.
5643 Suggested by Ivan Kanis <apple@kanis.eu>.
5645 * term.el: Require CL.
5646 (term-ansi-reset): New function.
5647 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5648 (term-handle-colors-array): Simplify.
5650 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5652 * allout.el (allout-overlay-interior-modification-handler)
5653 (allout-obtain-passphrase):
5654 * epa-file.el (epa-file-write-region):
5655 * ps-print.el (ps-begin-job):
5656 * vc-hooks.el (vc-toggle-read-only):
5657 * vc-rcs.el (vc-rcs-rollback):
5658 * vc-sccs.el (vc-sccs-rollback):
5659 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5660 (vc-version-diff, vc-revert, vc-rollback):
5661 * wdired.el (wdired-check-kill-buffer):
5662 * emacs-lisp/authors.el (authors):
5663 * net/socks.el (socks-open-connection):
5664 * net/zeroconf.el (zeroconf-service-add-hook):
5665 * obsolete/vc-mcvs.el (vc-mcvs-register):
5666 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5668 * progmodes/grep.el (lgrep, rgrep):
5669 * progmodes/idlw-help.el (idlwave-help-check-locations)
5670 (idlwave-help-html-link, idlwave-help-assistant-open-link):
5671 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5672 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5673 (reftex-toc-rename-label): Fix typos in error messages.
5675 * dired-aux.el (dired-do-shell-command): Reflow docstring.
5676 (dired-copy-how-to-fn): Doc fix.
5677 (dired-files-attributes, dired-read-shell-command):
5678 Fix typos in docstrings.
5680 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5681 (dired-x-find-file-other-window): Reflow docstrings.
5682 (dired-omit-marker-char, dired-read-shell-command)
5683 (dired-x-submit-report): Fix typos in docstrings.
5685 * shell.el (shell-mode-hook):
5686 * view.el (View-scroll-line-forward):
5687 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5688 Fix typos in docstrings.
5690 * net/dig.el (dig-invoke): Fix typo in docstring.
5691 (query-dig): Reflow docstring.
5693 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5694 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5695 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5696 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5697 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5698 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5699 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5700 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5701 (idlwave-completion-map, idlwave-current-indent)
5702 (idlwave-custom-ampersand-surround, idlwave-customize)
5703 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5704 (idlwave-define-abbrev, idlwave-determine-class-special)
5705 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5706 (idlwave-end-block-reg, idlwave-end-of-statement)
5707 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5708 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5709 (idlwave-explicit-class-listed, idlwave-file-header)
5710 (idlwave-fill-paragraph, idlwave-find-class-definition)
5711 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5712 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5713 (idlwave-in-quote, idlwave-indent-action-table)
5714 (idlwave-indent-expand-table, idlwave-indent-line)
5715 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5716 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5717 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5718 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5719 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5720 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5721 (idlwave-outlawed-buffers, idlwave-popup-select)
5722 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5723 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5724 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5725 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5726 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5727 (idlwave-statement-type, idlwave-struct-skip)
5728 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5729 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5730 (idlwave-what-module-find-class): Fix typos in docstrings.
5731 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5732 (idlwave-calculate-cont-indent, idlwave-expand-equal)
5733 (idlwave-find-module, idlwave-find-structure-definition)
5734 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5735 (idlwave-list-load-path-shadows, idlwave-next-statement)
5736 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5737 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5738 (idlwave-template): Reflow docstrings.
5740 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5741 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5742 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5743 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5744 (idlwave-shell-display-line, idlwave-shell-display-wframe)
5745 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5746 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5747 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5748 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5749 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5750 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5751 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5752 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5753 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5754 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5755 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5756 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5757 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5758 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5759 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5760 Fix typos in docstrings.
5761 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5762 (idlwave-shell-hide-output, idlwave-shell-mode)
5763 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5766 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5768 2009-09-24 Ivan Kanis <apple@kanis.eu>
5770 * term.el (term-bold-attribute): New var.
5771 (term-handle-colors-array): Use it.
5773 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
5775 * progmodes/gdb-mi.el (gdb-version): New variable.
5776 (gdb-non-stop-handler): Set gdb-version.
5777 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5778 Condition "--thread" option on gdb-version.
5779 (gdb-invalidate-threads): Remove unused argument.
5781 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5784 to looking-back to avoid ridiculous slow down in large files (bug#4511).
5786 2009-09-23 Glenn Morris <rgm@gnu.org>
5788 * mail/rmail.el (rmail-reply): Don't try to add a References header when
5789 replying to mail without References or Message-Id. (Bug#4525)
5791 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
5793 * term/ns-win.el (ns-reg-to-script): New variable.
5795 2009-09-23 Daiki Ueno <ueno@unixuser.org>
5797 * epg.el (epg-wait-for-status): Preserve existing 'error results.
5799 2009-09-22 Sam Steingold <sds@gnu.org>
5801 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5802 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5803 to 1 because hg returns status 1 when nothing is found.
5804 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5806 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * textmodes/fill.el: Convert to utf-8 encoding.
5809 (fill-french-nobreak-p): Remove redundant » and « inherited from our
5812 * add-log.el (change-log-fill-forward-paragraph): New function.
5813 (change-log-mode): Use it so fill-region DTRT.
5814 Set fill-indent-according-to-mode here rather than in
5815 change-log-fill-paragraph.
5816 (change-log-fill-paragraph): Remove.
5818 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
5820 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5821 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
5823 2009-09-22 Glenn Morris <rgm@gnu.org>
5825 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5826 the scroll-bar scroll the calendar window rather than the buffer.
5828 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5829 commands that move point (as opposed to scrolling).
5831 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5833 * emacs-lisp/elint.el (elint): New custom group.
5834 (elint-log-buffer): Make it a defcustom.
5835 (elint-scan-preloaded, elint-ignored-warnings)
5836 (elint-directory-skip-re): New options.
5837 (elint-builtin-variables): Doc fix.
5838 (elint-preloaded-env): New variable.
5839 (elint-unknown-builtin-args): Add an entry for encode-time.
5840 (elint-extra-errors): Make it a variable rather than a constant.
5841 (elint-preloaded-skip-re): New constant.
5842 (elint-directory): Skip files matching elint-directory-skip-re.
5843 (elint-features): New variable, local to linted buffers.
5844 (elint-update-env): Initialize elint-features. Possibly add
5845 elint-preloaded-env to the buffer's environment.
5846 (elint-get-top-forms): Bind elint-current-pos, for log messages.
5848 (elint-init-form): New function, extracted from elint-init-env.
5849 Make non-list forms a warning rather than an error.
5850 Add the mode-map for define-derived-mode. Handle define-minor-mode,
5851 easy-menu-define, put that adds an error-condition, and provide.
5852 When requiring cl, also require cl-macs. Really require cl, to handle
5853 some cl macros. Store required libraries in the list elint-features,
5854 so as not to re-load them. Treat cc-require like require.
5855 (elint-init-env): Call elint-init-form to do the work.
5856 Handle eval-and-compile and such like.
5857 (elint-add-required-env): Do not clear messages.
5858 (elint-special-forms): Add handlers for function, defalias, if, when,
5860 (elint-form): Add optional argument to ignore elint-special-forms,
5861 useful to prevent recursive calls from handlers. Doc fix.
5862 Respect elint-ignored-warnings.
5863 (elint-form): Respect elint-ignored-warnings.
5864 (elint-bound-variable, elint-bound-function): New variables.
5865 (elint-unbound-variable): Respect elint-bound-variable.
5866 (elint-get-args): Respect elint-bound-function.
5867 (elint-check-cond-form): Add some simple handling for (f)boundp and
5869 (elint-check-defalias-form): New handler.
5870 (elint-check-let-form): Make an empty let a warning rather than an
5872 (elint-check-setq-form): Make an empty setq a warning rather than an
5873 error. Respect elint-ignored-warnings.
5874 (elint-check-defvar-form): Accept null doc-strings.
5875 (elint-check-conditional-form): New handler. Does some simple-minded
5876 checking of featurep and (f)boundp tests.
5877 (elint-put-function-args): New function.
5878 (elint-initialize): Use elint-scan-doc-file rather than
5879 elint-find-builtin-variables. Use elint-put-function-args.
5880 Possibly scan preloaded-file-list.
5881 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5882 extend to handle functions as well.
5884 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
5886 * linum.el (linum-delete-overlays, linum-update-window):
5887 Do not modify the right margin. (Bug#3971)
5889 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
5891 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5892 nxml-mode instead of xml-mode.
5894 2009-09-21 Kevin Ryde <user42@zip.com.au>
5896 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
5898 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * net/dig.el (dig-mode): Use define-derived-mode.
5902 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
5904 * vc-dispatcher.el (vc-do-command): Return the process object in
5905 the asynchronous case. Use when instead of if. Do not run
5906 vc-exec-after to display a message if not enabled. (Bug#4463)
5908 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5909 properties to the stash strings.
5910 (vc-git-stash-list): Return a list of strings.
5911 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5912 (vc-git-stash-show-at-point): New functions.
5913 (vc-git-stash-map): New keymap.
5915 * register.el (ctl-x-r-map): Define the keys here instead of
5918 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
5920 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5921 list, to workaround performance problem (bug#4485).
5923 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
5925 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5927 2009-09-20 Daiki Ueno <ueno@unixuser.org>
5929 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5930 Document that this option is not recommended to use.
5932 2009-09-19 Glenn Morris <rgm@gnu.org>
5934 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5937 * calc/calc-alg.el (var):
5938 * calc/calcalg2.el (var): Define for compiler.
5940 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
5942 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5945 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5947 * time-stamp.el (time-stamp-month-dd-yyyy)
5948 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5949 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5950 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5951 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5952 Remove functions that have been obsolete since 1995 (Bug#4436).
5954 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5955 indent buffer only if called interactively (Bug#4452).
5957 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
5958 Eli Zaretskii <eliz@gnu.org>
5960 This fixes bug#4197 (merged to bug#865, though not identical).
5961 * server.el (server-auth-dir): Add docstring note about FAT32.
5962 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5963 but warn against using them.
5965 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
5967 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5968 older GDB where there is no has_more field.
5970 2009-09-19 Glenn Morris <rgm@gnu.org>
5972 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5974 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
5976 * files.el (auto-mode-alist): Change default for XML files to nXML
5979 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
5981 * server.el (server-ensure-safe-dir): Pass 'integer
5982 to `file-attributes', as suggested.
5984 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * dired-aux.el (dired-query-alist): Remove spurious backslash.
5987 (dired-query): Use read-key.
5989 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
5991 * cus-start.el (ns-use-qd-smoothing): Remove.
5993 2009-09-18 Glenn Morris <rgm@gnu.org>
5995 * allout.el (top-level): Remove unnecessary progn.
5997 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
5999 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
6000 definition of abbrev table.
6002 * speedbar.el (speedbar-track-mouse):
6003 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
6004 * net/eudc.el (eudc-expand-inline):
6005 * net/newst-backend.el (newsticker--cache-read-feed):
6006 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6007 condition-case handlers.
6009 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
6011 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
6012 (gdb-var-list): Add an element for has_more field.
6013 (gdb-non-stop-handler): Enable pretty printing for STL containers.
6014 (gdb-var-create-handler, gdb-var-list-children-handler-1)
6015 (gdb-var-update-handler-1): Parse output of dynamic variable
6016 objects (STL containers).
6017 (gdb-var-delete-1): Pass var1 as an explicit second argument.
6018 (gdb-get-field): Delete alias. Use bindat-get-field directly.
6020 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
6022 (gud-speedbar-buttons): Make node expandable if expression "has more"
6025 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
6027 * startup.el (emacs-quick-startup): Remove variable and all uses.
6028 (command-line): Set `inhibit-x-resources' instead.
6029 (command-line-1): Use `inhibit-x-resources' instead.
6031 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
6033 * subr.el: Fix last change to avoid using the `unless' macro,
6034 which breaks bootstrapping.
6036 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6038 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
6039 extended definitions, in case we reload subr.el after having
6041 (eval-next-after-load): Mark as obsolete.
6043 2009-09-17 Juri Linkov <juri@jurta.org>
6045 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
6046 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
6047 (menu-bar-showhide-menu, menu-bar-tools-menu)
6048 (menu-bar-describe-menu, menu-bar-help-menu)
6049 (minibuffer-local-completion-map, minibuffer-local-map):
6052 2009-09-17 Glenn Morris <rgm@gnu.org>
6054 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
6055 arguments, whether or not it has a handler.
6057 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
6059 * simple.el (hard-newline): Give it a doc-string.
6061 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6062 (lisp-mode-syntax-table): Give them doc-strings.
6064 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
6066 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
6067 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
6068 (menu-bar-options-menu, menu-bar-showhide-menu)
6069 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
6070 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
6071 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
6072 (menu-bar-options-menu, menu-bar-tools-menu)
6073 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
6074 (menu-bar-help-menu):
6075 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
6078 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
6079 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
6080 calls for the menu names and :help.
6082 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6084 * mouse.el (minor-mode-menu-from-indicator): Pay attention
6085 to :minor-mode-function (bug#4455).
6087 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6089 * startup.el (command-line): Initialize the window-system after
6090 processing the command-line.
6092 * textmodes/page.el (what-page): Make sure we don't inf-loop if
6093 page-delimiter matches the empty string.
6095 2009-09-16 Glenn Morris <rgm@gnu.org>
6097 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
6098 byte-compile-not-obsolete-var. It's a list now.
6099 (byte-compile-not-obsolete-funcs): New variable.
6100 (byte-compile-warn-obsolete): Don't warn about functions if they are in
6101 byte-compile-not-obsolete-funcs.
6102 (byte-compile-variable-ref, byte-compile-defvar): Update for
6103 byte-compile-not-obsolete-vars name-change and list nature.
6104 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
6105 and variables behind (f)boundp tests.
6106 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
6108 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6110 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
6112 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
6115 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
6118 2009-09-15 Stephen Eglen <stephen@gnu.org>
6120 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
6121 the virtual-buffers, use the name of the buffer specified by
6122 find-file-noselect, as the match may be a symlink. (This was a
6123 problem if the target and the symlink had different names.)
6125 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
6129 * desktop.el (desktop-path): Check user-emacs-directory.
6131 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
6133 * loadup.el: Use after-load-functions to GC after loading each file.
6134 Remove the explicit GC calls that used to be sprinkled around.
6136 * subr.el (after-load-functions): New hook.
6137 (do-after-load-evaluation): Run it. Use string-match-p to detect
6138 `obsolete' packages, rather than painfully extracting the relevant
6141 2009-09-15 Glenn Morris <rgm@gnu.org>
6143 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
6144 free variable `doc'.
6146 * dired.el (dired-mode-map): Add menu entry for async shell command.
6148 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
6149 variables, also consider the .elc files, since the .el files are
6150 normally gzipped (subsequent code locates the .el.gz from the .elc).
6152 * calc/calc-prog.el (arglist): Define for compiler.
6154 * calendar/diary-lib.el (diary-display-function): Change the default to
6156 (body): Define for compiler.
6158 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
6159 (byte-compile-file-form, byte-compile-lambda)
6160 (byte-compile-top-level-body, byte-compile-form)
6161 (byte-compile-variable-ref, byte-compile-setq)
6162 (byte-compile-setq-default, byte-compile-body)
6163 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
6164 (batch-byte-compile): Give some more local variables with common names
6165 a "bytecomp-" prefix to avoid masking warnings about free variables.
6167 * startup.el (command-line-1): Give local variables with common names a
6168 distinguishing prefix, so as not to hide free variable warnings during
6171 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
6172 clever and add a suffix to make a unique name, just let the user decide
6173 whether or not to overwrite it. If the input is a directory, write the
6174 default filename to that directory. (Bug#4388)
6175 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
6176 is a filename-as-a-directory.
6178 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * textmodes/page.el (what-page): Don't move to beginning of line.
6181 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
6183 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6185 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
6187 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
6189 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
6190 * help.el (help-for-help-internal): Add purecopy calls for text.
6192 * vc.el (top): print-log method now takes an optional SHORTLOG
6193 argument. Add a new method: root.
6194 (vc-root-diff, vc-print-root-log): New functions.
6195 (vc-log-short-style): New variable.
6196 (vc-print-log-internal): Add support for showing short logs.
6198 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
6199 vc-print-root-log and vc-print-root-diff.
6201 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
6202 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
6203 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
6206 * vc-cvs.el (vc-cvs-print-log):
6207 * vc-mtn.el (vc-mtn-print-log):
6208 * vc-rcs.el (vc-rcs-print-log):
6209 * vc-sccs.el (vc-sccs-print-log):
6210 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
6211 that is ignored for now.
6213 * vc-mtn.el (vc-mtn-annotate-command):
6214 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
6216 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
6219 to function-key-map, and give them ascii-character property.
6220 * term/x-win.el (x-alternatives-map):
6221 * term/ns-win.el (ns-alternatives-map):
6222 * term/internal.el (msdos-key-remapping-map):
6223 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
6225 2009-09-14 Glenn Morris <rgm@gnu.org>
6227 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
6228 temp-buffers (2009-09-12).
6230 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6232 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
6233 the new read-key function.
6235 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6237 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
6238 is defined (Bug#4405).
6240 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
6242 * recentf.el (recentf-cleanup): Use a hash table to find
6243 duplicates (Bug#4407).
6245 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
6247 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
6248 kp-0 to ascii equivalents (Bug#4325).
6250 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6252 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
6254 * eshell/em-hist.el:
6255 * eshell/em-dirs.el (eshell-complete-user-reference):
6256 Declare pcomplete functions and variables to avoid compiler warnings.
6258 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
6260 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
6261 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
6262 * eshell/em-alias.el (eshell-aliases-file):
6263 * eshell/em-hist.el (eshell-history-file-name):
6264 Use expand-file-name instead of concat to make file names (Bug#4308).
6266 2009-09-13 Glenn Morris <rgm@gnu.org>
6268 * ediff-merg.el (ediff-do-merge):
6269 * filesets.el (filesets-run-cmd):
6270 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
6271 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
6272 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
6273 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
6274 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
6275 Replace empty `let's with `progn'.
6277 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * mail/sendmail.el (send-mail-function):
6280 * tooltip.el (tooltip-mode):
6281 * simple.el (transient-mark-mode):
6282 * rfn-eshadow.el (file-name-shadow-mode):
6283 * frame.el (blink-cursor-mode):
6284 * font-core.el (global-font-lock-mode):
6285 * files.el (temporary-file-directory)
6286 (small-temporary-file-directory, auto-save-file-name-transforms):
6287 * epa-hook.el (auto-encryption-mode):
6288 * composite.el (global-auto-composition-mode):
6289 Use custom-initialize-delay.
6290 * startup.el (command-line): Don't explicitly call
6291 custom-reevaluate-setting for all the above vars.
6292 * custom.el (custom-initialize-safe-set)
6293 (custom-initialize-safe-default): Delete.
6295 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * term/x-win.el (x-initialize-window-system):
6298 * term/w32-win.el (w32-initialize-window-system):
6299 * term/ns-win.el (ns-initialize-window-system): Don't call
6300 mouse-wheel-mode since it's enabled globally by default already.
6302 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
6303 actually define the variable, but only silences the byte-compiler.
6304 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
6305 before looking it up.
6306 (mouse-wheel-scroll-amount): Also reset the bindings if this value
6309 2009-09-12 Glenn Morris <rgm@gnu.org>
6311 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
6313 (elint-add-required-env): Don't beep on error.
6314 (elint-forms): In case of error, return ENV unchanged.
6315 (elint-init-env): Skip non-list forms.
6316 (elint-log): Handle unknown file positions.
6318 2009-09-12 Daiki Ueno <ueno@unixuser.org>
6320 * epg.el (epg-make-context): Add autoload cookie.
6321 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
6322 (epg-decrypt-string, epg-start-verify, epg-verify-file)
6323 (epg-verify-string, epg-start-sign, epg-sign-file)
6324 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
6325 (epg-encrypt-string, epg-start-export-keys)
6326 (epg-export-keys-to-file, epg-export-keys-to-string)
6327 (epg-start-import-keys, epg-import-keys-from-file)
6328 (epg-import-keys-from-string, epg-start-receive-keys)
6329 (epg-receive-keys, epg-import-keys-from-server)
6330 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
6331 (epg-sign-keys, epg-start-generate-key)
6332 (epg-generate-key-from-file, epg-generate-key-from-string):
6333 Remove autoload cookie.
6335 2009-09-12 Eli Zaretskii <eliz@gnu.org>
6337 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
6338 reevaluation of trash-directory.
6340 * mwheel.el: Fix last change.
6341 (mouse-wheel-mode): New defvar.
6342 (mouse-wheel-mode): Remove autoload cookie.
6344 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * mwheel.el (mwheel-installed-bindings): New var.
6347 (mouse-wheel-mode): Use it, so as to make sure we really remove all
6348 the bindings we set last time. Use custom-initialize-delay.
6349 * loadup.el: Load mwheel after term/*-win.el.
6350 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
6351 and mouse-wheel-up-event now that their first evaluation is done
6352 sufficiently late to be correct.
6354 * startup.el (tutorial-directory): Make it a defcustom.
6355 Use custom-initialize-delay rather than eval-at-startup to set it.
6356 * image.el (image-load-path): Make it a defcustom.
6357 Use custom-initialize-delay rather than eval-at-startup to set it.
6358 * subr.el (eval-at-startup): Remove.
6359 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
6361 * subr.el (do-after-load-evaluation): Warn the user after loading an
6364 2009-09-12 Glenn Morris <rgm@gnu.org>
6366 * proced.el (proced-mark-alt): Remove alias.
6367 (proced-mode-map): Remove proced-mark-alt.
6369 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
6370 Elint file and directory. Remove initialization entry.
6372 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
6374 (elint-current-buffer): Set mode-line-process.
6375 (elint-init-env): Handle define-derived-mode.
6376 Fix declare-function with unspecified arglist. Guard against odd
6377 defalias statements (eg iso-insert's 8859-1-map).
6378 (elint-add-required-env): Use a temp buffer.
6379 (elint-form): Just print the function/macro name, not the whole form.
6380 Return env unchanged if we fail to parse a macro.
6381 (elint-forms): Guard against parse errors.
6382 (elint-output): New function, to handle batch mode.
6383 (elint-log-message): Add optional argument. Use elint-output.
6384 (elint-set-mode-line): New function.
6386 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
6388 * emacs-lisp/elp.el (elp-not-profilable): Add more
6389 functions (Bug#4233).
6391 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
6393 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
6394 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
6396 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6398 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
6399 (gdb-var-list-children): Use json parsing.
6401 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
6403 * progmodes/js.el (js--proper-indentation): Handle the case where
6404 char-before is null. Reported by Deniz Dogan.
6406 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6408 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
6410 2009-09-11 Daiki Ueno <ueno@unixuser.org>
6412 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
6413 (epg-digest-algorithm-alist): Add SHA224.
6414 (epg-context-set-passphrase-callback)
6415 (epg-context-set-progress-callback): Add description about
6418 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * custom.el (custom-delayed-init-variables): New var.
6421 (custom-initialize-delay): New function.
6422 * startup.el (command-line): "Re"evaluate all vars in
6423 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
6424 explicitly any more.
6425 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
6426 to avoid creating a ~/.emacs.d at build-time (bug#4347).
6428 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
6430 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6432 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
6433 (gdb-var-update-handler): Use json parsing.
6435 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6437 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
6438 decode annotated text, regardless of language environment. (Bug#2741)
6440 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * Makefile.in (autoloads): Make rmail.el writable as well.
6444 2009-09-11 Glenn Morris <rgm@gnu.org>
6446 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
6448 * dired.el: Regenerate with extracted autoloads.
6449 * Makefile.in (autoloads): Make dired.el writable.
6451 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
6452 * ibuffer.el: Regenerate with extracted autoloads.
6453 * Makefile.in (autoloads): Make ibuffer.el writable.
6455 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6456 * version.el (emacs-copyright, emacs-major-version)
6457 (emacs-minor-version): Reformat doc-strings for make-docfile.
6459 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6460 functions and variables, since they must be stuff specific to some other
6462 (apropos-print): Make mouse-click message less specific about button.
6464 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6465 that records where a macro was defined.
6466 * help-fns.el (describe-function-1): Mention if a function has a
6468 * help-mode.el (help-function-cmacro): New button.
6470 * locate.el (top-level): Always require dired.
6471 (locate-mode-map): Initialize inside the defvar.
6473 * net/ange-ftp.el (dired-compress-file): Declare.
6474 (ange-ftp-dired-compress-file): Add doc string.
6476 * term/ns-win.el (x-display-name, x-setup-function-keys):
6477 Unify doc-strings with X versions.
6479 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6481 * emulation/crisp.el (crisp-mode-map): Move initialization
6483 (crisp-mode): Use define-minor-mode.
6485 * progmodes/xscheme.el (xscheme-evaluation-commands):
6486 Put a :advertised-binding property rather than using
6487 advertised-xscheme-send-previous-expression.
6488 (advertised-xscheme-send-previous-expression): Declare obsolete.
6489 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6491 (crisp-mode): Add corresponding bindings to
6492 undo's :advertised-binding instead.
6493 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6494 than using dired-advertised-find-file.
6495 (dired-advertised-find-file):
6496 * simple.el (advertised-undo):
6497 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6498 (widget-keymap): Put a :advertised-binding property rather
6499 than using advertised-widget-backward.
6500 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6501 than using advertised-undo.
6502 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6504 2009-09-10 Simon South <ssouth@slowcomputing.org>
6506 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6507 Mark mode is enabled and region is active; otherwise indent or
6508 insert TAB as usual.
6509 (delphi-mode): Update description of TAB-key binding.
6511 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * subr.el (define-key-rebound-commands): Mark obsolete.
6514 * startup.el (precompute-menubar-bindings): Remove.
6515 (normal-top-level): Remove obsolete code that tried to precompute
6517 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6518 define-key-rebound-commands and precompute-menubar-bindings.
6520 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6522 * net/imap.el (imap-interactive-login): Better messages.
6523 (imap-open): Fix bug with renamed buffer on reconnect.
6524 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6525 for easier debugging and cleaner code. On successful (guessed based on
6526 server capabilities) secondary authentication, set imap-state
6528 (imap-last-authenticator): Define imap-last-authenticator as a variable
6531 2009-09-10 Glenn Morris <rgm@gnu.org>
6533 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6535 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6536 (byte-compile-file-form-autoload): Don't warn about unknown functions
6537 where the autoload statement comes after the use.
6538 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6539 that any handlers inside the body (eg require) are in turn respected.
6541 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6544 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6545 and syntax and abbrev tables basic docs, if they don't have any.
6547 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6549 * international/mule-cmds.el (top-level): Require cl when compiling.
6550 (view-hello-file): Use default-value rather than
6551 default-enable-multibyte-characters.
6553 * progmodes/fortran.el: Move all safe and risky properties into the
6556 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6557 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6559 Put autoloads in rmail.el rather than loaddefs.el.
6560 * mail/rmail.el: Regenerate with extracted autoloads.
6562 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6563 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6565 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
6567 Reported in thread for Bug#4375.
6568 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6569 "-data-evaluate-expression" instead of print.
6570 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6571 (gdb-tooltip-print): Parse output from above MI command.
6572 (gdb): Revert 2009-08-11 change. User should detach inferior
6575 Remove the word "separate" from IO functions as inferior
6576 output is now never displayed in the GUD buffer.
6578 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
6580 * startup.el (command-line-normalize-file-name): On Windows and
6581 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6583 2009-09-10 Juri Linkov <juri@jurta.org>
6585 * isearch.el (isearch-text-char-description): Propertize escape
6586 character sequences with the `escape-glyph' face. (Bug#4344)
6588 * simple.el (shell-command): Set asynchronous process filter to
6589 `comint-output-filter'. (Bug#4343)
6591 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6592 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
6593 the list. Move "asm" to the bottom.
6594 (grep-find-ignored-directories): Add `choice' with nil value
6595 to empty the list easily.
6596 (grep-find-ignored-files): New option.
6597 (grep-files-history): Set to nil by default instead of '("ch" "el").
6598 (grep-compute-defaults): Add "<X>" to `grep-template'.
6599 (grep-read-files): Bind new local variables `default-alias' and
6600 `default-extension'. Use a list of default values for the file prompt.
6601 (lgrep): Add `--exclude=' command line options composed from
6602 `grep-find-ignored-files'.
6603 (rgrep): Add `-name' command line options composed from
6604 `grep-find-ignored-files'. (Bug#4301)
6606 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6611 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
6613 * calendar/time-date.el (autoload):
6614 Expand define-obsolete-function-alias into defalias and make-obsolete
6615 for old Emacsen that Gnus supports.
6616 (with-no-warnings): Define it for old Emacsen.
6617 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6619 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6620 float-time is available; suppress compile warning for time-to-seconds.
6622 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
6624 * net/imap.el (imap-message-map): Docstring fix.
6626 2009-09-09 Glenn Morris <rgm@gnu.org>
6628 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6629 line numbers too. (Bug#4374)
6631 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6633 * smerge-mode.el (smerge-remove-props, smerge-refine):
6634 Use with-silent-modifications (bug#4342).
6636 * subr.el (with-silent-modifications): New macro.
6638 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
6640 * files.el (top-level): Require `cl' when compiling.
6642 2009-09-07 Glenn Morris <rgm@gnu.org>
6644 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6646 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6647 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
6649 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
6651 * vc-git.el (vc-git-annotate-command): Use separator to parse
6652 arguments correctly.
6654 2009-09-06 Eli Zaretskii <eliz@gnu.org>
6656 * proced.el (proced-mode): Doc fix.
6658 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
6660 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6662 (tramp-do-file-attributes-with-ls): Check for file existence at
6664 (tramp-do-file-attributes-with-stat): Likewise.
6665 (tramp-convert-file-attributes): Return nil when attr is nil.
6667 2009-09-05 Glenn Morris <rgm@gnu.org>
6669 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6670 properties to this button.
6671 (diary-fancy-display): Don't extend the button to the final newline.
6672 (diary-fancy-display-mode): Continue to define "q" as a local key.
6674 * calendar/cal-china.el (holiday-chinese): Make it slightly more
6677 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6679 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6680 (byte-compile-dest-file-function): New option.
6681 (byte-compile-dest-file): Doc fix.
6682 Obey byte-compile-dest-file-function.
6683 (byte-compile-cl-file-p): New function.
6684 (byte-compile-eval): Only suppress noruntime warnings about cl functions
6685 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
6686 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6687 than for file being previously loaded.
6688 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6689 (byte-compile-file-form-require): Handle the case where requiring a file
6690 indirectly causes CL to be loaded.
6692 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6694 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6695 before killing the old buffer, since by the time `kill-buffer' is
6696 run so many buffer variables have been set to nil that it may not
6697 behave as expected. (Bug#4061)
6699 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6701 * files.el (find-alternate-file): If the old buffer is modified
6702 and visiting a file, behave similarly to `kill-buffer' when
6703 killing it, thus reverting to the pre-1.878 behavior; see
6704 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6705 for discussion. Also, consult `buffer-file-name' as a variable
6706 not as a function, for consistency with the rest of the code.
6708 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
6710 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6711 also when adding a new directory.
6713 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6716 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * files.el (locate-file-completion-table): Make it provide boundary
6719 information, so partial-completion works better.
6721 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
6723 * mail/footnote.el (Footnote-text-under-cursor):
6724 Check footnote-text-marker-alist before using it (bug#4324).
6726 2009-09-04 Glenn Morris <rgm@gnu.org>
6728 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6729 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6730 * play/solitaire.el, play/tetris.el:
6731 Remove leading * from defcustom and defface docs.
6733 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6735 (diary-fancy-overriding-map): New variable.
6736 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6739 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6742 2009-09-03 Glenn Morris <rgm@gnu.org>
6744 * arc-mode.el (archive-mode):
6745 * dos-fns.el (set-default-process-coding-system):
6746 * man.el (Man-getpage-in-background):
6747 * menu-bar.el (menu-bar-describe-menu):
6748 * server.el (server-process-filter):
6749 * startup.el (command-line):
6750 * tar-mode.el (tar-header-block-tokenize, tar-extract):
6751 * w32-fns.el (set-default-process-coding-system):
6752 * x-dnd.el (x-dnd-handle-file-name):
6753 * international/mule-cmds.el (mule-menu-keymap)
6754 (set-default-coding-systems, language-info-alist, set-language-info)
6755 (set-language-environment, standard-display-european-internal)
6756 (set-locale-environment):
6757 * international/mule-diag.el (mule-diag):
6758 * mail/emacsbug.el (report-emacs-bug):
6759 * mail/rmail.el (rmail-mode):
6760 * mail/sendmail.el (mail-setup):
6761 Use default-value rather than default-enable-multibyte-characters.
6763 * progmodes/f90.el: Move all safe properties into the defcustoms.
6764 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6766 * calendar/appt.el (appt-check):
6767 * calendar/diary-lib.el (diary-set-header, diary-live-p)
6768 (diary-check-diary-file, diary-list-entries)
6769 (diary-include-other-diary-files, diary-simple-display)
6770 (diary-fancy-display, diary-print-entries)
6771 (diary-mark-included-diary-files, diary-make-entry):
6772 Don't call substitute-in-file-name on diary-file.
6774 2009-09-03 Eduard Wiebe <usenet@pusto.de>
6775 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * mail/footnote.el (footnote-prefix): Make it a defcustom.
6778 (footnote-mode-map): Move initialization into the declaration.
6779 (footnote-minor-mode-map): Define it rather than changing global-map.
6780 (footnote-mode): Use define-minor-mode.
6782 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
6784 * net/tramp.el (tramp-handle-file-attributes-with-ls)
6785 (tramp-do-file-attributes-with-perl)
6786 (tramp-do-file-attributes-with-stat): Rename from
6787 `tramp-handle-file-attributes-with-*'.
6788 (tramp-handle-file-attributes): Use them.
6789 (tramp-do-directory-files-and-attributes-with-perl)
6790 (tramp-do-directory-files-and-attributes-with-stat): Rename from
6791 `tramp-handle-directory-files-and-attributes-with-*'.
6792 (tramp-handle-directory-files-and-attributes): Use them.
6793 (tramp-method-out-of-band-p): Additional parameter SIZE.
6794 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6795 (tramp-handle-write-region): Use it.
6796 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6797 (tramp-handle-vc-registered): Check, whether the first run did
6798 return files to be tested.
6799 (tramp-advice-make-auto-save-file-name): Do not call directly
6800 `tramp-handle-make-auto-save-file-name', because this would bypass
6801 the locking mechanism.
6803 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6804 (file-remote-p, process-file, start-file-process, set-file-times)
6805 (tramp-compat-file-attributes): Compatibility functions shall not
6806 call directly `tramp-handle-*', because this would bypass the
6808 (tramp-compat-number-sequence): New defun.
6810 2009-09-02 Glenn Morris <rgm@gnu.org>
6812 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6813 alias for float-time.
6814 (time-to-number-of-days): In Emacs, use float-time.
6815 * net/newst-backend.el (time-add): Suppress warnings from compat
6817 * time.el (emacs-uptime, emacs-init-time):
6818 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6819 Use float-time rather than time-to-seconds.
6821 * minibuffer.el (completion-initials-expand): Fix typo.
6823 * faces.el (modeline, modeline-inactive, modeline-highlight)
6824 (modeline-buffer-id):
6825 * info.el (info-menu-5): Mark these face aliases as obsolete.
6827 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6829 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6831 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6832 no "--thread" option.
6833 (gdb-stopped): Don't print "Switched to thread" message when it is
6836 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * minibuffer.el (completion-try-completion)
6839 (completion-all-completions): Remove ill-defined (and
6840 mistakenly installed and luckily never used nor documented)
6841 `completion-styles' property.
6842 (completion-initials-expand, completion-initials-all-completions)
6843 (completion-initials-try-completion): New functions.
6844 (completion-styles-alist): Add doc to each entry.
6845 Add new `initials' entry.
6847 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6849 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6850 MI command -var-evaluate-expression.
6851 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6852 and tweak for case of string child.
6853 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6855 2009-09-01 Glenn Morris <rgm@gnu.org>
6857 * add-log.el (change-log-date-face, change-log-name-face)
6858 (change-log-email-face, change-log-file-face, change-log-list-face)
6859 (change-log-conditionals-face, change-log-function-face)
6860 (change-log-acknowledgement-face):
6861 * cus-edit.el (custom-invalid-face, custom-rogue-face)
6862 (custom-modified-face, custom-set-face, custom-changed-face)
6863 (custom-saved-face, custom-button-face, custom-button-pressed-face)
6864 (custom-documentation-face, custom-state-face, custom-comment-face)
6865 (custom-comment-tag-face, custom-variable-tag-face)
6866 (custom-variable-button-face, custom-face-tag-face)
6867 (custom-group-tag-face-1, custom-group-tag-face):
6868 * diff-mode.el (diff-header-face, diff-file-header-face)
6869 (diff-index-face, diff-hunk-header-face, diff-removed-face)
6870 (diff-added-face, diff-changed-face, diff-function-face)
6871 (diff-context-face, diff-nonexistent-face):
6872 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6873 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6874 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6875 (Info-title-4-face):
6876 * isearch.el (isearch-lazy-highlight-face):
6877 * log-view.el (log-view-file-face, log-view-message-face):
6878 * paren.el (show-paren-match-face, show-paren-mismatch-face):
6879 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6880 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6882 * smerge-mode.el (smerge-mine-face, smerge-other-face)
6883 (smerge-base-face, smerge-markers-face):
6884 * wid-edit.el (widget-documentation-face, widget-button-face)
6885 (widget-field-face, widget-single-line-field-face)
6886 (widget-inactive-face, widget-button-pressed-face):
6887 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6888 (woman-addition-face):
6889 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6890 (eshell-ls-executable-face, eshell-ls-readonly-face)
6891 (eshell-ls-unreadable-face, eshell-ls-special-face)
6892 (eshell-ls-missing-face, eshell-ls-archive-face)
6893 (eshell-ls-backup-face, eshell-ls-product-face)
6894 (eshell-ls-clutter-face):
6895 * eshell/em-prompt.el (eshell-prompt-face):
6896 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6897 * obsolete/old-whitespace.el (whitespace-highlight-face):
6898 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6899 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6900 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6901 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6902 (antlr-font-lock-literal-face):
6903 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6904 (ebrowse-root-class-face, ebrowse-file-name-face)
6905 (ebrowse-default-face, ebrowse-member-attribute-face)
6906 (ebrowse-member-class-face, ebrowse-progress-face):
6907 * progmodes/make-mode.el (makefile-space-face):
6908 * progmodes/sh-script.el (sh-heredoc-face):
6909 * textmodes/flyspell.el (flyspell-incorrect-face)
6910 (flyspell-duplicate-face):
6911 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6912 * textmodes/texinfo.el (texinfo-heading-face):
6913 Mark face aliases with "-face" suffix as obsolete.
6915 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6918 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6919 (eudc-bob-sound-menu): Use defvar rather than defconst, since
6920 easy-menu-define wants to modify these.
6922 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6924 * net/browse-url.el (browse-url-file-url):
6925 * term/internal.el (dos-codepage-setup):
6926 Use default-value rather than default-enable-multibyte-characters.
6928 * progmodes/etags.el (etags-goto-tag-location):
6929 * progmodes/flymake.el (flymake-highlight-line)
6930 (flymake-goto-file-and-line, flymake-goto-line):
6931 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6932 (gdb-goto-breakpoint):
6933 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6934 * progmodes/python.el (python-find-function)
6935 (python-pdbtrack-track-stack-file):
6936 * progmodes/verilog-mode.el (verilog-surelint-off):
6937 * term/ns-win.el (ns-open-file-select-line):
6938 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6939 Use forward-line rather than goto-line.
6941 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6942 * textmodes/reftex-index.el (reftex-display-index):
6943 * textmodes/reftex-ref.el (reftex-offer-label-menu):
6944 * textmodes/reftex-toc.el (reftex-toc):
6945 Remove unnecessary bindings of default-major-mode (all are followed by
6946 major-mode check and possible mode switch).
6948 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6950 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6951 Handle watchpoints (bug#4282).
6952 (def-gdb-thread-buffer-command): Enable thread to be selected by
6953 clicking without selecting threads buffer first.
6954 (gdb-current-context-command): Use selected frame so that "up",
6955 "down" etc work in the GUD buffer.
6956 (gdb-update): Find selected frame before rendering stack buffer.
6957 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6959 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6961 * progmodes/sym-comp.el (displayed-completions): Remove.
6962 (symbol-complete): Use minibuffer-complete.
6964 2009-08-31 Glenn Morris <rgm@gnu.org>
6966 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6968 * apropos.el (apropos-symbols-internal):
6969 Handle (obsolete) face aliases.
6971 * faces.el (describe-face): Adjust the output format to be more like
6972 describe-variable, and to mention (obsolete) face aliases.
6973 Adjust the whitespace so that help-setup-xref works.
6975 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6976 * calendar/diary-lib.el (diary-button-face):
6977 Mark these face aliases as obsolete.
6979 * calendar/calendar.el (calendar-today): Doc fix.
6981 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6983 * progmodes/gdb-mi.el (gdb-control-all-threads)
6984 (gdb-control-current-thread): Force tool bar update.
6985 (gdb-non-stop-handler): New function.
6986 (gdb-init-1): Use it to test if non-stop mode is supported.
6987 Remove unused gdbmi buffer type.
6989 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6991 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
6992 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6994 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
6996 * comint.el (comint-exec-1): Check command is non-null first.
6997 Part of gdb-mi.el change (2009-08-28).
6999 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
7003 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
7005 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
7006 instead of `dolist' to avoid a recursive require when bootstrapping.
7008 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7010 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
7012 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
7014 * net/imap.el (imap-send-command): Simplify.
7015 (imap-wait-for-tag): point-max -> buffer-size.
7017 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
7019 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
7020 with constant argument.
7022 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
7024 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
7026 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
7027 Change default, since most of our files don't have a history.
7028 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
7031 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7034 * calc/calc.el: Improve commenting convention.
7035 (calc-digit-map, toplevel): Simplify.
7037 * comint.el (comint-insert-input): Be careful to only set point if we
7038 don't delegate to some other command.
7040 * proced.el (proced-signal-list): Make it an alist.
7041 (proced-grammar-alist): Capitalize names.
7042 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
7043 Disable undo manually and make it read-only.
7044 Use completion-annotate-function.
7046 * minibuffer.el (minibuffer-message): If the current buffer is not
7047 a minibuffer, insert the message in the echo area rather than at the
7049 (completion-annotate-function): New variable.
7050 (minibuffer-completion-help): Use it.
7051 (completion--embedded-envvar-table): Environment vars are
7052 always case-sensitive.
7054 2009-08-30 Glenn Morris <rgm@gnu.org>
7056 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
7057 from fortran-current-defun.
7058 (fortran-beginning-of-subprogram): Be more precise about finding the
7059 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
7060 (fortran-end-of-subprogram): Simplify.
7061 (fortran-current-defun): Use fortran-start-prog-re.
7063 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
7065 * subr.el (do-after-load-evaluation): Simplify.
7067 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
7069 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
7071 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
7072 (vc-rcs-print-log): Use it.
7074 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
7076 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7078 * paths.el (abbrev-file-name): Move to abbrev.el.
7079 * abbrev.el (abbrev-file-name): Move from paths.el.
7080 Obey user-emacs-directory.
7081 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
7082 user-emacs-directory.
7083 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
7084 abbrev-file-name and calc-settings-file any more.
7085 * startup.el (command-line): Recompute abbrev-file-name and
7086 abbreviated-home-dir.
7087 (normal-no-mouse-startup-screen): Improve the generic code and get rid
7088 of the special code for when C-h bindings haven't been changed.
7089 (display-startup-echo-area-message): Use with-current-buffer.
7090 (command-line-1): Use a list of strings, rather than a list of lists
7091 of strings for longopts.
7093 * files.el (get-free-disk-space): Use / for default-directory.
7095 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
7096 Use with-current-buffer.
7098 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
7099 Recognize immutable variables like most-positive-fixnum.
7100 (byte-compile-setq-default): Check and warn if trying to assign
7101 to an immutable variable, or a non-variable.
7103 * progmodes/cc-vars.el (c-comment-continuation-stars):
7104 * progmodes/cc-engine.el (c-looking-at-bos):
7105 * progmodes/cc-cmds.el (c-toggle-auto-state)
7106 (c-forward-into-nomenclature, c-backward-into-nomenclature)
7107 (c-comment-line-break-function): Add version of obsolescence.
7109 2009-08-28 Juri Linkov <juri@jurta.org>
7111 * files.el (magic-fallback-mode-alist): Add ZIP magic number
7112 associated with `archive-mode'.
7114 * image.el (image-type-header-regexps): Use only JPEG magic number
7115 to determine JPEG images, and don't use `image-jpeg-p' because
7116 Emacs can display non-JFIF non-Exif JPEG images.
7118 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7120 * arc-mode.el (archive-mode):
7121 * emacs-lisp/re-builder.el (re-builder-unload-function):
7122 Protect against the default value of `major-mode' being nil.
7124 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7126 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
7127 Fix typos in docstrings.
7129 * progmodes/js.el (js--macro-decl-re): Doc fix.
7130 (js--plain-method-re, js--split-name): Refloc docstring.
7131 (js--class-styles, js--make-merged-item, js--splice-into-items):
7132 Fix typos in docstrings; reflow docstrings.
7133 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
7134 (js--variable-decl-matcher, js--inside-pitem-p)
7135 (js--parse-state-at-point, js--get-all-known-symbols)
7136 (js--symbol-history, js-find-symbol, js--js-references)
7137 (js--moz-interactor, js--js-encode-value, js--read-tab):
7138 Fix typos in docstrings.
7140 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * textmodes/reftex.el (reftex-get-file-buffer-force):
7143 * progmodes/verilog-mode.el (verilog-batch-execute-func):
7144 * emulation/viper.el (viper-go-away, viper-set-hooks):
7145 * emacs-lisp/re-builder.el (re-builder-unload-function):
7146 * emacs-lisp/bytecomp.el (byte-compile-file):
7147 * ses.el (ses-unload-function):
7148 * hexl.el (hexl-find-file):
7149 * files.el (normal-mode):
7150 * ehelp.el (with-electric-help):
7151 * autoinsert.el (auto-insert-alist):
7152 * arc-mode.el (archive-mode):
7153 Use (default-value 'major-mode) instead of default-major-mode.
7155 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
7156 * international/mule.el (load-with-code-conversion):
7157 * emacs-lisp/debug.el (debug):
7158 * ediff-vers.el (ediff-rcs-get-output-buffer):
7159 * dired.el (dired-internal-noselect): Don't let-bind
7160 default-major-mode around code that doesn't use it.
7161 E.g. buffer creation via get-buffer-create doesn't use it.
7163 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
7165 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
7166 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
7167 when writing the temp file. Otherwise, epa-file gets confused.
7168 (tramp-register-file-name-handlers): Make it a defun. Move also
7169 `epa-file-handler' to the front of `file-name-handler-alist'.
7171 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
7174 start right after a ^M.
7175 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
7176 (tramp-completion-file-name-regexp-separate)
7177 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
7178 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
7179 Don't modify last-coding-system-used by accident.
7180 (tramp-completion-file-name-handler): Apply the checks here,
7181 instead during registration.
7182 (tramp-register-file-name-handlers) Renamed from
7183 `tramp-register-file-name-handler'. Register both
7184 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
7185 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
7187 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
7189 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
7191 (gdb-init-1, gdb-display-separate-io-buffer)
7192 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
7194 (gdb-inferior-io-mode): Use make-comint-in-buffer.
7195 (gdb-inferior-filter): Use comint-output-filter to stop
7196 echoing and remove ^M characters.
7198 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * emulation/viper-init.el (viper-restore-cursor-type):
7201 * emulation/cua-base.el (cua--update-indications):
7202 Replace default-cursor-type with (default-value 'cursor-type).
7204 * mail/sendmail.el (mail-recover-1):
7205 * international/mule-diag.el (describe-current-coding-system-briefly)
7206 (describe-current-coding-system):
7207 * international/mule-cmds.el (select-safe-coding-system)
7208 (select-message-coding-system)
7209 (set-language-environment-coding-systems, set-locale-environment):
7210 * hexl.el (hexl-insert-multibyte-char):
7211 * dos-w32.el (find-buffer-file-type-coding-system):
7212 * simple.el (what-cursor-position):
7213 Replace uses of default-buffer-file-coding-system
7214 with (default-value 'buffer-file-coding-system).
7216 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
7217 Replace uses of default-cursor-in-non-selected-windows
7218 with (default-value 'cursor-in-non-selected-windows).
7219 Use with-current-buffer.
7221 * mail/feedmail.el: Use CL macros.
7222 (feedmail-run-the-queue, feedmail-send-it-immediately):
7223 * dos-w32.el (find-buffer-file-type): Replace uses of
7224 default-buffer-file-type with (default-value 'buffer-file-type).
7226 2009-08-28 Glenn Morris <rgm@gnu.org>
7228 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
7229 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
7230 Use default-value of major-mode rather than default-major-mode.
7232 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * Makefile.in (update-elcfiles): Report left over elc files.
7236 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
7237 expand-file-name and with-current-buffer.
7238 (mail-get-names, mail-directory): Use with-current-buffer.
7240 * vc.el (vc-read-revision): New function.
7241 (vc-version-diff, vc-merge): Use it.
7243 2009-08-27 Sam Steingold <sds@gnu.org>
7245 * simple.el (kill-do-not-save-duplicates): New user option.
7246 (kill-new): When it is non-nil, and the new string is the same as
7247 the latest kill, set replace to t to avoid duplicates in kill-ring.
7249 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
7251 * net/tramp.el (tramp-handle-process-file): Do not flush all
7252 caches when `process-file-side-effects' is set.
7253 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
7254 instead of `tramp-find-file-exists-command'.
7255 Unset `process-file-side-effects'.
7257 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
7259 * net/tramp.el (tramp-methods): New method "rsyncc".
7260 (top): Add completion function for "rsyncc".
7261 (tramp-message-show-message): New defvar.
7262 (tramp-message, tramp-error): Use it.
7263 (tramp-do-copy-or-rename-file-directly): Extend check for direct
7265 (tramp-do-copy-or-rename-file-out-of-band): Handle new
7266 `tramp-methods' entry `copy-env' of "rsyncc".
7267 (tramp-vc-registered-read-file-names): New defconst.
7268 (tramp-vc-registered-file-names): New defvar.
7269 (tramp-handle-vc-registered): Implement optimization strategy.
7270 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
7271 (tramp-vc-file-name-handler): New defun.
7272 (tramp-get-ls-command, tramp-get-test-command)
7273 (tramp-get-file-exists-command, tramp-get-remote-ln)
7274 (tramp-get-remote-perl, tramp-get-remote-stat)
7275 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
7277 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
7278 (tramp-cache-inhibit-cache): Extend doc string. It allows also
7280 (tramp-get-file-property): Check for timestamps in
7281 `tramp-cache-inhibit-cache'.
7282 (tramp-set-file-property): Write timestamp.
7284 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7286 * language/japan-util.el (japanese-symbol-table): Add entries for
7289 * international/characters.el: Add category `j' to cp932-2-byte.
7291 2009-08-27 Kenichi Handa <handa@m17n.org>
7293 * international/fontset.el (build-default-fontset-data): New macro.
7294 (setup-default-fontset): Use build-default-fontset-data for CJK,
7295 tibetan, ethiopic, and ipa.
7297 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7299 * cus-start.el (default-major-mode): Customize `major-mode' instead.
7300 (enable-multibyte-characters): Not customizable any more.
7302 * subr.el (default-mode-line-format, default-header-line-format)
7303 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
7304 (default-direction-reversed, default-truncate-lines)
7305 (default-left-margin, default-tab-width, default-case-fold-search)
7306 (default-left-margin-width, default-right-margin-width)
7307 (default-left-fringe-width, default-right-fringe-width)
7308 (default-fringes-outside-margins, default-scroll-bar-width)
7309 (default-vertical-scroll-bar, default-indicate-empty-lines)
7310 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
7311 (default-fringe-cursor-alist, default-scroll-up-aggressively)
7312 (default-scroll-down-aggressively, default-fill-column)
7313 (default-cursor-type, default-buffer-file-type)
7314 (default-cursor-in-non-selected-windows)
7315 (default-buffer-file-coding-system, default-major-mode)
7316 (default-enable-multibyte-characters): Mark as obsolete.
7318 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
7320 * vc-dir.el (vc-dir-update): Remove debug helper.
7322 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
7324 2009-08-26 Sam Steingold <sds@gnu.org>
7326 * simple.el (save-interprogram-paste-before-kill): New user option.
7327 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
7328 save the interprogram-paste into kill-ring before overriding it
7329 with the Emacs kill.
7331 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7333 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
7334 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
7335 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
7336 and move to vc-rcs.el.
7337 (vc-default-next-revision): Rename to vc-rcs-next-revision and
7339 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
7340 (vc-rcs-update-changelog): Remove.
7341 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
7342 and move to vc-rcs.el.
7344 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
7345 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
7347 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
7348 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
7349 vc.el, renamed to be RCS specific.
7351 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
7353 (vc-cvs-update-changelog): Move here from vc.el.
7355 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
7358 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
7362 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7364 * vc-git.el (vc-git-register): Use "git add" for directories.
7365 (vc-git-stash, vc-git-stash-show): New functions.
7366 (vc-git-extra-menu-map): Bind them.
7368 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
7369 directory correctly in case the item is a directory itself.
7371 * vc.el: Document the desired behavior for reverted files in the
7373 (vc-default-prettify-state-info): Remove function, unused.
7375 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
7377 2009-08-26 Glenn Morris <rgm@gnu.org>
7379 * bindings.el (standard-mode-line-format): Reposition dashes in
7380 which-func entry. (Bug#4217)
7382 * files.el (enable-local-variables, enable-local-eval)
7383 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
7385 (auto-mode-alist, ignored-local-variables)
7386 (save-some-buffers-action-alist): Move risky declarations to the
7388 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
7389 (font-lock-defaults, format-alist, imenu--index-alist)
7390 (imenu-generic-expression, input-method-alist, minor-mode-alist)
7391 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
7392 (mode-line-modified, mode-line-mule-info, mode-line-position)
7393 (mode-line-process, mode-line-remote, outline-level)
7394 (parse-time-rules, rmail-output-file-alist)
7395 (special-display-buffer-names, vc-mode):
7396 Move risky declarations to the relevant files.
7397 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
7398 (mode-line-modified, mode-line-process, mode-line-position)
7399 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
7400 * font-core.el (font-lock-defaults):
7401 * format.el (format-alist):
7402 * vc-hooks.el (vc-mode):
7403 * window.el (special-display-buffer-names):
7404 * international/mule-cmds.el (input-method-alist):
7405 Define riskiness here (dumped file) rather than in files.el.
7406 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
7407 * imenu.el (imenu-generic-expression, imenu--index-alist):
7408 * outline.el (outline-level):
7409 * time.el (display-time-string):
7410 * calendar/parse-time.el (parse-time-rules):
7411 * mail/rmailout.el (rmail-output-file-alist):
7412 Autoload riskiness here, rather than placing in files.el.
7414 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
7416 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
7418 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
7420 * simple.el (process-file-side-effects): New defvar.
7422 * dired-aux.el (dired-show-file-type):
7423 * vc.el (vc-diff-internal):
7424 * vc-arch.el (vc-arch-diff):
7425 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
7426 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
7427 * vc-git.el (vc-git-registered, vc-git-working-revision)
7428 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
7429 (vc-git--empty-db-p):
7430 * vc-hooks.el (vc-user-login-name):
7431 * vc-svn.el (vc-svn-registered, vc-svn-state)
7432 (vc-svn-dir-extra-headers, vc-svn-find-revision):
7433 * progmodes/grep.el (grep-probe): Let-bind
7434 `process-file-side-effects' with nil.
7436 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
7438 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
7439 daemon. Replace ping by checking for running service for bluez
7440 and zeroconf. (Bug#4239)
7442 2009-08-25 Kevin Ryde <user42@zip.com.au>
7444 * net/dig.el (dig): Add autoload cookie.
7446 2009-08-25 Glenn Morris <rgm@gnu.org>
7448 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
7449 load-history for absolute file-names.
7450 (byte-compile-file-form-require): Warn about use of the cl package.
7452 * format.el (format-alist): Doc fix.
7454 * play/bubbles.el (top-level): Don't require cl at run-time.
7456 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7459 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
7461 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7463 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7465 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
7467 * calc/calc-alg.el (math-trig-rewrite)
7468 (math-hyperbolic-trig-rewrite): New functions.
7469 (calc-simplify): Simplify trig functions when asked.
7471 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * diff-mode.el (diff-find-source-location): Avoid goto-line.
7475 2009-08-24 Kenichi Handa <handa@m17n.org>
7477 * language/ind-util.el (mapthread): Delete it.
7478 (combinatorial): New function.
7479 (indian--puthash-cv): Use combinatorial instead of mapthread.
7481 2009-08-22 Kevin Ryde <user42@zip.com.au>
7483 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7484 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7485 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7486 Clarify docstring that the value is strings not symbols.
7487 (checkdoc-list-of-strings-p): New function.
7489 2009-08-22 Glenn Morris <rgm@gnu.org>
7491 * files.el (auto-mode-alist):
7492 * hippie-exp.el (he-concat-directory-file-name):
7493 * lpr.el (lpr-windows-system, printer-name):
7494 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7495 * ps-print.el (ps-windows-system):
7496 * startup.el (command-line):
7497 * emulation/viper-ex.el (viper-glob-function):
7498 * international/mule-cmds.el (set-language-environment-coding-systems):
7499 * net/ange-ftp.el (ange-ftp-write-region):
7500 * obsolete/fast-lock.el (fast-lock-cache-name):
7501 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7502 unisoft-unix, vax-vms, win32, w32.
7504 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7505 given name if the pattern is not more specific.
7507 * calendar/lunar.el (lunar-phase-names): New option.
7508 (lunar-phase): Doc fix.
7509 (lunar-cycles-per-year): New constant.
7510 (lunar-index): New function.
7511 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7512 (lunar-phase-name): Use lunar-phase-names.
7513 (calendar-lunar-phases): Use format.
7514 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7516 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7517 Copy imenu-example--name-and-position function here for own use.
7518 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7520 * bs.el (bs--redisplay):
7521 * cus-edit.el (custom-redraw):
7522 * ibuffer.el (ibuffer-bury-buffer):
7523 * server.el (server-goto-line-column):
7524 * startup.el (command-line-1):
7525 * strokes.el (strokes-xpm-for-stroke):
7526 * term.el (term-display-buffer-line):
7527 * view.el (View-goto-line):
7528 * calc/calc.el (calc-do, calc-trail-buffer):
7529 * play/gamegrid.el (gamegrid-add-score-insecure):
7530 * progmodes/ada-mode.el (ada-compile-goto-error):
7531 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7532 (ebrowse-select-1st-to-9nth):
7533 * progmodes/cperl-mode.el (cperl-time-fontification):
7534 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7535 * progmodes/gud.el (gud-display-line):
7536 (idlwave-shell-display-line):
7537 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7538 * progmodes/make-mode.el (makefile-browser-toggle):
7539 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7540 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7541 * textmodes/picture.el (picture-draw-rectangle):
7542 * textmodes/reftex-index.el (reftex-index-goto-letter):
7543 (reftex-select-jump-to-previous):
7544 * textmodes/reftex-sel.el (reftex-find-start-point)
7545 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7546 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7547 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7548 * textmodes/tex-mode.el (tex-compilation-parse-errors):
7549 * textmodes/two-column.el (2C-associated-buffer):
7550 Use forward-line rather than goto-line.
7552 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7555 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7556 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7557 (quick-check-list-to-regexp): Declare.
7559 * progmodes/make-mode.el (makefile-browser-insert-selection):
7560 Use goto-char rather than goto-line.
7562 * progmodes/prolog.el (compilation-error-regexp-alist)
7563 (compilation-forget-errors): Declare.
7565 2009-08-22 Juri Linkov <juri@jurta.org>
7567 * progmodes/grep.el (lgrep, rgrep): At the beginning
7568 set `dir' to `default-directory' unless `dir' is a non-nil
7569 readable directory. (Bug#4052)
7570 (lgrep, rgrep): Change a weird way to report an error
7571 from using `read-string' to using `error'.
7572 Instead of using interactive arguments in the function body,
7573 add new argument `confirm'.
7575 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * textmodes/remember.el (remember-buffer):
7578 * progmodes/cperl-mode.el (cperl-vc-header-alist):
7579 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7580 (icalendar-extract-ical-from-buffer):
7581 * net/newst-treeview.el (newsticker-groups-filename):
7582 * net/newst-backend.el (newsticker-cache-filename):
7583 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7584 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7585 (speedbar-add-ignored-path-regexp, speedbar-line-path)
7586 (speedbar-buffers-line-path, speedbar-path-line)
7587 (speedbar-buffers-line-path):
7588 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7590 * epa.el (epa-display-verify-result):
7591 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7593 2009-08-21 Glenn Morris <rgm@gnu.org>
7595 * progmodes/js.el (inferior-moz-process): Fix declaration.
7597 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7599 * obsolete/rnewspost.el (news-mail-reply):
7600 Use goto-char rather than goto-line.
7602 * term/ns-win.el (ns-open-file-select-line):
7603 Use line-beginning-position rather than goto-line.
7605 * apropos.el (apropos-command):
7606 * ehelp.el (electric-helpify):
7607 * printing.el (pr-show-setup):
7608 * strokes.el (strokes-help):
7609 * tutorial.el (tutorial--describe-nonstandard-key)
7610 (tutorial--detailed-help):
7611 * woman.el (woman-mini-help, woman-display-extended-fonts):
7612 * calc/calc-help.el (calc-describe-key):
7613 * emulation/edt.el (edt-electric-helpify):
7614 * international/mule-diag.el (mule-diag):
7615 * play/yow.el (apropos-zippy):
7616 * progmodes/python.el (python-describe-symbol):
7617 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7618 * textmodes/table.el (*table--cell-describe-mode)
7619 (*table--cell-describe-bindings):
7620 Use help-print-return-message rather than the now obsolete alias.
7622 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7623 (calendar-cursor-to-visible-date):
7624 * play/5x5.el (5x5-position-cursor):
7625 * play/decipher.el (decipher):
7626 * play/gomoku.el (gomoku-goto-xy):
7627 * play/landmark.el (lm-goto-xy):
7628 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7630 Use forward-line, not goto-line.
7632 * mail/rmail.el (rmail-obsolete): Delete custom group.
7633 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7634 (rmail-remote-password, rmail-remote-password-required):
7635 Remove unneeded :set-after and :set properties.
7637 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
7639 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7641 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
7643 * loadup.el: Remove leftover macos code.
7645 * vc-git.el (vc-git-annotate-command): Run asynchronously.
7646 Explicitly pass the date format to git blame so that user local
7647 so that the output format can be parsed.
7649 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
7651 * net/dbus.el (top): Don't check for (getenv
7652 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
7654 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
7656 * log-edit.el (log-edit-strip-single-file-name): New var.
7657 (log-edit-insert-changelog): Use it. Bug#3571
7659 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * subr.el (read-passwd): Use read-key so keypad keys work as well.
7664 * help.el (help-print-return-message): Rename from
7665 print-help-return-message.
7667 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7668 cvs-mode-map parent hack.
7669 (log-view-mode): Derive from special-mode.
7671 * linum.el (linum-mode): window-size-change-functions is redundant.
7672 Adapt to new window-configuration-change-hook behavior.
7673 (linum-after-size, linum-after-config): Remove.
7675 * imenu.el (imenu-example--name-and-position)
7676 (imenu-example--lisp-extract-index-name)
7677 (imenu-example--create-lisp-index, imenu-example--create-c-index):
7680 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7681 (inferior-prolog-mode): Use it.
7682 (inferior-prolog-load-file): Reset list of errors.
7684 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7686 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7688 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7690 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
7692 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7695 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * subr.el (listify-key-sequence-1): Use normal syntax since those
7698 integers are nowadays always represented by the same (positive) number
7700 (read-key-empty-map): New const.
7701 (read-key-delay): New var.
7702 (read-key): New function.
7703 (force-mode-line-update): Use with-current-buffer.
7704 (locate-user-emacs-file): Don't forget to abbreviate the file name.
7705 (start-process-shell-command, start-file-process-shell-command):
7706 Discourage the use of command-args.
7708 2009-08-19 Glenn Morris <rgm@gnu.org>
7710 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7712 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7714 * simple.el (choose-completion-string): Don't rely on
7715 minibuffer-completing-file-name and ad-hoc checks to decide whether
7716 to continue completion or not.
7718 * minibuffer.el (minibuffer-hide-completions): New function.
7719 (completion--do-completion): Use it.
7720 (completions-annotations): New face.
7721 (completion--insert-strings): Use it.
7722 (completion-pcm--delim-wild-regex): Add docstring.
7723 (completion-pcm--string->pattern): Add support for 0-width delimiters
7724 in completion-pcm--delim-wild-regex.
7726 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7729 Remove unused var `buffer-modified-p'.
7731 * minibuffer.el (completion--do-completion): Move point for the #b001
7732 case as well (bug#4176).
7733 (minibuffer-complete, minibuffer-complete-word): Don't move point.
7735 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
7737 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
7740 2009-08-18 Kenichi Handa <handa@m17n.org>
7742 * international/ucs-normalize.el (ucs-normalize-version):
7744 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7745 (utf-8-hfs): Make it perform normalization on encoding too.
7747 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
7748 (sentence-end-without-space): Delete duplicated chars.
7749 (sentence-end-base): Likewise.
7751 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
7752 (html-mode): Delete duplicated chars from sentence-end-base.
7754 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
7755 (texinfo-mode): Delete duplicated chars from sentence-end-base.
7757 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
7759 * files.el (hack-one-local-variable): If the mode function is for
7760 a minor mode, pass it an argument (Bug#4148).
7762 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
7764 * net/tramp.el (tramp-register-completion-file-name-handler):
7765 Check also for (member 'partial-completion completion-styles).
7767 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7769 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7772 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
7774 * progmodes/cperl-mode.el: Merge upstream 6.2.
7775 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7776 (cperl-forward-re): Check cperl-brace-recursing.
7777 (cperl-highlight-charclass): New function.
7778 (cperl-find-pods-heres): Use it.
7779 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7780 (cperl-beautify-regexp-piece): Fix column calculation.
7781 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7782 (cperl-beautify-level): Don't process entire regexp.
7783 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7785 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7786 (cperl-init-faces): Build a list in the normal way.
7788 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7790 * calendar/parse-time.el (parse-time-string-chars): Save match
7793 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7796 (sql-product): Use it.
7797 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7798 (sql-set-product): Add completion.
7799 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7800 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7801 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7802 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7803 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7804 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7805 (sql-highlight-db2-keywords): Remove.
7806 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7807 (sql-highlight-product): Use derived-mode-p.
7808 (sql-set-sqli-buffer): Use with-current-buffer.
7809 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7812 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7814 * term.el: Fix commenting convention, turn comments into docstrings.
7816 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7818 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7820 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
7822 * calendar/parse-time.el (parse-time-string-chars): Compute using
7823 character classes, to handle non-ascii characters (Bug#3190).
7825 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7827 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7828 another heredoc if the user adds another < (Bug#3226).
7830 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7831 Don't initialize based on window-system (Bug#4124).
7833 * facemenu.el (facemenu-read-color): Use a completion function
7834 that accepts any defined color, such as RGB triplets (Bug#3677).
7836 * files.el (get-free-disk-space): Change fallback default
7837 directory to /. Expand DIR argument before switching to fallback.
7838 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7840 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7842 * files.el (load-library): Doc fix.
7844 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
7846 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7847 (viper-if-string): Redefine C-s in the minibuffer to insert the last
7848 incremental search string.
7850 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7853 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7854 (ediff-merge-region-is-non-clash)
7855 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7856 Also check if the job is really a merge job.
7858 * ediff.el (ediff-current-file): New function.
7860 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7862 * progmodes/js.el: Edit docstrings throughout to follow Emacs
7864 (js-insert-and-indent): Delete function.
7865 (js-mode-map): Don't bind keys to js-insert-and-indent.
7866 (js-beginning-of-defun): Rename from js--beginning-of-defun.
7867 (js-end-of-defun): Rename from js--end-of-defun.
7868 (js-auto-indent-flag): Delete variable.
7870 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
7872 * progmodes/js.el: Remove proclaim statement.
7873 Defvar which-func-imenu-joiner-function to silence compiler.
7875 * files.el (auto-mode-alist): Use js-mode for .js files.
7877 * progmodes/js2-mode.el: Remove file.
7879 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7881 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7883 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7885 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7886 Karl Landstrom <karl.landstrom@brgeight.se>
7888 * progmodes/js.el: New file.
7890 2009-08-14 Mark A. Hershberger <mah@everybody.org>
7892 * timezone.el (timezone-parse-date): Add ability to understand ISO
7893 basic format (minimal separators) dates in addition to the
7894 already-supported extended format dates.
7896 2009-08-14 Eli Zaretskii <eliz@gnu.org>
7898 * international/ucs-normalize.el: Add a `coding' file variable.
7900 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7902 2009-08-14 Sam Steingold <sds@gnu.org>
7904 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7906 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
7908 * faces.el (help-argument-name): Define it here instead of
7909 help-fns.el, because in daemon mode help-fns.el may be loaded when
7910 faces are still uninitialized (Bug#1078).
7912 * help-fns.el (help-argument-name): Move defface to faces.el.
7914 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
7916 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7917 create buffer with a pty but no process so that GDB can make the
7918 inferior the controlling process.
7920 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
7922 * international/ucs-normalize.el: New file.
7924 2009-08-13 Richard Stallman <rms@gnu.org>
7926 * mail/rmail.el (rmail-get-attr-names):
7927 Accept an attribute header that is too short.
7929 * mail/rmail.el (rmail-forget-messages):
7930 Ignore nil elt in rmail-message-vector. Use dotimes.
7932 * progmodes/compile.el (compilation-goto-locus):
7933 Use next-error-move-function.
7935 * simple.el (next-error-move-function): New variable.
7937 2009-08-12 Juri Linkov <juri@jurta.org>
7939 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7940 always non-nil. (Bug#4052)
7942 * replace.el (read-regexp): Return empty string when
7943 `default-value' is nil.
7944 (keep-lines-read-args): Don't use empty string as the
7945 default value for `read-regexp'. (Bug#2495)
7947 2009-08-12 Juri Linkov <juri@jurta.org>
7949 * international/mule-cmds.el (ucs-insert): Change arguments
7950 from `arg' to `character', `count', `inherit' to be the same
7951 as in `insert-char'. Doc fix. (Bug#4039)
7953 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7955 2009-08-12 Juri Linkov <juri@jurta.org>
7957 * files-x.el: New file.
7959 * files.el: Move code that deals with adding/deleting
7960 file/directory-local variables to files-x.el.
7962 * Makefile.in (ELCFILES): Add files-x.elc.
7964 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
7966 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7968 (gdb-place-breakpoints, gdb-get-location): Rewritten without
7970 (gdb-invalidate-disassembly): Do not refresh upon receiving
7971 'update signal. Instead, update all disassembly buffers only after
7973 (gdb): Send -target-detach when buffer is killed (Bug#3794).
7974 (gdb-starting): Moved -data-list-register-names...
7975 (gdb-stopped): ...here so it's sent when first thread stops.
7976 (gdb-registers-handler-custom): Do nothing if register names are
7979 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7980 from `gdb-mi.el' to avoid extra tangling.
7982 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7983 change which breaks `gud-def' definitions used in `gdb'.
7984 (gdb-update-gud-running): No extra fuss for updating frame number.
7986 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7988 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
7989 (describe-language-environment-map, setup-language-environment-map)
7990 (set-coding-system-map): Move initialization into declaration.
7991 (set-language-info-alist): Last arg to define-key-after can be skipped.
7993 * international/quail.el (quail-completion-1): Simplify.
7994 (quail-define-rules): Use slightly more compact code.
7995 (quail-insert-decode-map): Propertize keys, compact columns.
7997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8000 2009-08-10 Miles Bader <miles@gnu.org>
8002 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
8003 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
8004 (js2-instance-member, js2-private-member, js2-private-function-call)
8005 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
8006 (js2-magic-paren, js2-external-variable):
8007 Remove "-face" suffix from face names.
8008 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
8009 (js2-highlight-undeclared-vars, js2-peek-token)
8010 (js2-parse-function-params, js2-mode-show-errors)
8011 (js2-mode-show-warnings, js2-make-magic-delimiter)
8012 (js2-mode-highlight-magic-parens): Update to use new face names.
8014 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
8016 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
8017 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
8019 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
8021 * subr.el: Provide hashtable-print-readable.
8023 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
8024 hs-c-like-adjust-block-beginning.
8025 (hs-hide-block-at-point): Stop hiding at the beginning of
8026 hs-block-end-regexp (Bug#700).
8028 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
8030 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
8032 (gdb-registers-handler-custom): Do not fail when register names
8035 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8037 * progmodes/gdb-mi.el (gdb-control-all-threads)
8038 (gdb-control-current-thread): Interactive setters for
8039 `gdb-gud-control-all-threads' to use in menu.
8040 (gdb-show-run-p): Show «Go» when process is not active.
8041 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
8042 gud/thread.xpm and gud/all.xpm.
8044 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
8046 * net/net-utils.el (net-utils-font-lock-keywords): New var.
8047 (nslookup-font-lock-keywords): Make it a variable.
8048 (net-utils-mode): New mode for viewing diagnostic network output.
8049 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
8050 (net-utils-run-simple): New function.
8051 (ifconfig, iwconfig, netstat, arp, route): Use it.
8053 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8055 * progmodes/gdb-mi.el (gdb-read-memory-custom)
8056 (gdb-memory-set-address, def-gdb-set-positive-number)
8057 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
8058 after changing settings.
8059 (gdb-invalidate-disassembly): Update when first shown.
8060 (gdb-edit-locals-value): Fixed.
8061 (gdb-registers-handler-custom): Print registers in right order and
8062 allow changing register values (only for current thread yet).
8063 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
8064 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
8065 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
8066 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
8068 (gdb-registers-mode-map): TAB to switch to locals.
8070 2009-08-08 Eli Zaretskii <eliz@gnu.org>
8072 * mail/rmail.el (rmail-add-mbox-headers)
8073 (rmail-set-message-counters-counter): Search for
8074 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
8076 2009-08-08 Glenn Morris <rgm@gnu.org>
8078 * Makefile.in (ELCFILES): Update.
8080 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8082 * mail/sendmail.el (mail-yank-original): Set
8083 buffer-file-coding-system from the one used by the message whose
8086 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
8087 to "windows" when "pgnuplot" is used.
8088 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
8089 call accept-process-output if "pgnuplot" is used.
8090 (calc-graph-init): Don't send -display and -geometry to
8091 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
8092 running "pgnuplot -V" with shell-command-to-string.
8094 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
8097 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8099 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
8102 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
8104 * vc-dispatcher.el (vc-resynch-window): Update comment.
8106 * term.el (term-handle-ansi-escape): Add comments with the
8107 terminfo capabilities implemented.
8109 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
8111 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
8112 (gdb-var-create-handler): Rewritten using JSON parser.
8113 (gdb-propertize-header): Moved earlier.
8114 (gdb-set-header): Removed to avoid duplication.
8115 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
8116 Refresh disassembly buffers only after threads list have been
8118 (gdb-threads-header, gdb-registers-header): Per-buffer header line
8121 2009-08-04 Juri Linkov <juri@jurta.org>
8123 * files.el: Commands to add/delete file/directory-local variables.
8124 (read-file-local-variable, read-file-local-variable-value)
8125 (read-file-local-variable-mode, modify-file-local-variable)
8126 (modify-file-local-variable-prop-line)
8127 (modify-dir-local-variable): New functions.
8128 (add-file-local-variable, delete-file-local-variable)
8129 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
8130 (add-dir-local-variable, delete-dir-local-variable)
8131 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
8132 (copy-dir-locals-to-file-locals-prop-line): New commands.
8134 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
8136 * abbrev.el (insert-abbrev-table-description): Prettify output.
8137 Suggested by Karl Chen.
8139 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
8141 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
8142 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
8143 (gdb-overlay-arrow-position, gdb-thread-position)
8144 (gdb-disassembly-position): Declare variables.
8145 (gdb-wait-for-pending): Function now.
8146 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
8147 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
8148 compilation goes smoothly.
8149 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
8150 (gdb-non-stop-setting): New customization setting which replaces
8151 `gdb-non-stop' so changing it doesn't break active GDB session.
8152 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
8153 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
8154 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
8155 (gdb-show-threads-by-default): New customization options.
8156 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
8158 (gdb-get-buffer-create): Send buffers update signal when they are
8160 (gdb-invalidate-locals, gdb-invalidate-registers)
8161 (gdb-invalidate-breakpoints)
8162 (gdb-invalidate-threads, gdb-invalidate-disassembly)
8163 (gdb-invalidate-memory): Accept update signal.
8164 (gdb-current-context-command): Use --frame option.
8165 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
8166 Implement `gdb-frame-number' selection logic.
8167 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
8168 whether to show GUD toolbar buttons.
8169 (gdb-thread-exited): Unselect current thread when it exits.
8170 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
8171 (gdb-mark-line): Routine which sets overlay arrow or inverses
8172 video on fringeless displays.
8173 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
8174 to build aligned columns of data in GDB buffers and set text
8175 properties line-by-line.
8176 (gdb-invalidate-breakpoints)
8177 (gdb-breakpoints-list-handler-custom)
8178 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
8179 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
8180 (gdb-registers-handler-custom): Align data columns.
8181 (gdb-locals-handler-custom): Now prints data like in variable
8183 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
8184 Removed confusing buttons.
8185 (gdb-invalidate-threads): Append --frame.
8186 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
8187 between breakpoints/threads buffers.
8188 (gdb-set-window-buffer): Now can ignore dedicated windows.
8189 (gdb-propertize-header): Use `gdb-set-window-buffer'.
8190 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
8191 (def-gdb-thread-buffer-gud-command): Replaces
8192 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
8193 for fine thread control.
8194 (gdb-preempt-existing-or-display-buffer): New function used to
8195 display bound buffers without breaking window layout.
8196 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
8197 (gdb-select-frame): New version of `gdb-frames-select' which now
8198 sets `gdb-frame-number' so commands may use --frame option instead
8199 of inner debugger state.
8200 (gdb-frame-handler): Do not set `gdb-frame-number'.
8201 (gdb-threads-mode-map): Select threads with mouse.
8203 * progmodes/gud.el (gdb-gud-context-call): Declare function to
8204 avoid compilation warning.
8205 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
8208 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
8209 Argument `key' renamed to `buffer-type'.
8210 (gdb-current-context-buffer-name): Do not add thread info to
8211 buffer name when no thread is selected.
8212 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
8214 (gdb-thread-selected): Handle `=thread-selected' notification.
8215 (gdb-wait-for-pending): New macro to deal with congestion problems.
8216 (gdb-breakpoints-list-handler-custom): Don't fail on pending
8218 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
8219 This fixes problem similar to one described in bug 3947.
8220 (gud-menu-map): More menu items.
8221 (gdb-init-1): Reset `gdb-thread-number' to nil.
8223 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
8226 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
8227 (gdb-current-context-command): Do not append --thread if
8228 `gdb-thread-number' is nil.
8229 (gdb-running-threads-count, gdb-stopped-threads-count): New
8231 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
8232 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
8233 customization options.
8234 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
8236 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
8237 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
8238 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
8239 set `gdb-thread-number' and update `gud-running' properly.
8240 (gdb-running): Update threads list when new threads appear.
8241 (gdb-stopped): Support non-stop operation and new thread switching
8243 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
8244 (gdb-json-partial-output): New set of JSON routines.
8245 (def-gdb-auto-update-trigger): New `signal-list' optional
8247 (gdb-thread-list-handler-custom): Update `gud-running',
8248 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
8249 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
8250 (gdb-continue-thread, gdb-step-thread): New commands for fine
8251 thread execution control.
8252 (gud-menu-map): New menu items to switch non-stop options.
8253 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
8254 (gdb-send): Mimic RET properly (bug 3794).
8256 * progmodes/gdb-mi.el (gdb-rules-name-maker)
8257 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
8259 (def-gdb-auto-update-handler): New nopreserve optional argument.
8260 (gdb-stack-list-frames-custom): Print stack from top to bottom.
8262 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
8263 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
8264 (gdb-parent-mode): New mode to derive other GDB modes from.
8265 (gdb-display-disassembly-for-thread)
8266 (gdb-frame-disassembly-for-thread): New commands for threads
8269 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
8270 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
8271 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
8272 (gdb-update): We now store all GDB buffers in a list so that they
8273 can be updated by traversing a list instead of calling invalidate
8274 triggers explicitly.
8275 (def-gdb-trigger-and-handler): New macro to define trigger-handler
8276 pair for GDB buffer.
8277 (gdb-stack-buffer-name): Add thread information.
8278 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
8279 handle pending triggers.
8280 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
8281 (def-gdb-thread-buffer-simple-command)
8282 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
8283 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
8284 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
8285 New commands which show buffers bound to thread.
8286 (gdb-stack-list-locals-regexp): Removed unused regexp.
8288 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
8289 (gdb-locals-buffer-name, gdb-registers-buffer-name)
8290 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
8291 to (gud-comint-buffer) in *-buffer-name functions
8292 because (gdb-get-target-string) already does that.
8293 (gdb-locals-handler-custom, gdb-registers-handler-custom)
8294 (gdb-changed-registers-handler): Rewritten without regexps.
8296 * progmodes/gdb-mi.el: Basic thread selection support.
8297 (gdb-thread-number): New variable.
8298 (gdb-current-context-command): New macro which adds --thread
8300 (gdb-threads-mode-map): Select thread with SPC.
8301 (gdb-thread-list-handler-custom): Mark current thread with overlay
8302 arrow. Synchronize GDB thread and Emacs thread.
8303 (gdb-select-thread): New command which selects current thread.
8304 (gdb-invalidate-frames, gdb-invalidate-locals)
8305 (gdb-invalidate-registers): Use --thread option.
8307 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
8309 * net/tramp.el (top): Make check for tramp-gvfs loading more
8311 (tramp-handle-insert-file-contents): `unwind-protect' must be
8312 inside `with-parsed-tramp-file-name'.
8314 * net/tramp-gvfs.el (top): Remove superfluous message when loading
8317 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
8319 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
8320 directory if CLASSPATH is not set.
8322 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
8324 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
8326 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
8328 2009-08-02 Kevin Ryde <user42@zip.com.au>
8330 * net/newst-backend.el (newsticker--raw-url-list-defaults):
8331 Update freshmeat link. Delete newsforge.com as it seems gone.
8333 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8335 * select.el (x-set-selection): Doc fix (Bug#4021).
8337 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
8339 * help-fns.el (describe-variable): Treat list return values from
8340 dir-locals-find-file properly (Bug#4005).
8342 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
8344 * net/tramp.el (tramp-debug-message): Print also microseconds.
8346 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
8348 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
8350 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
8351 (tramp-get-debug-buffer): Change `outline-regexp' according to new
8354 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
8355 (tramp-get-file-property): Use it.
8357 * autorevert.el (auto-revert-handler): Allow
8358 `auto-revert-tail-mode' for remote files.
8360 2009-08-02 Jason Rumney <jasonr@gnu.org>
8362 * minibuffer.el (read-file-name): Treat confirm options to
8363 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
8365 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8367 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
8368 (font-lock-variable-name-face, font-lock-constant-face): Darken
8369 the colors for light backgrounds.
8371 2009-08-01 Eli Zaretskii <eliz@gnu.org>
8373 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
8374 month names. (Bug#3987)
8376 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
8378 * simple.el (line-move-finish): Pass whole number to
8379 line-move-to-column.
8380 (line-move-visual): Perform hscroll to the recorded position.
8382 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
8384 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
8386 2009-07-29 Alan Mackenzie <acm@muc.de>
8388 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
8390 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
8392 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
8393 (gdb-place-breakpoints): Use full path when setting breakpoints.
8395 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8397 * calc/calc.el (calc-mode-map): Add keybinding for
8398 `calc-transpose-lines'.
8400 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
8402 * calc/calc-misc.el (calc-transpose-lines): New function.
8404 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
8406 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
8407 Simplify check for out-of-band methods.
8408 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
8409 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
8411 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
8413 * vc-git.el (vc-git-checkin): Fix typo.
8415 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
8417 * progmodes/js2-mode.el: New file.
8419 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
8421 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
8422 (gud-menu-map): Adjust tooltip accordingly.
8424 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
8426 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
8427 (vc-bzr-log-view-mode): Adjust log-view-file-re.
8429 * add-log.el (change-log-mode-map): Add a menu.
8431 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
8433 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
8434 function returns nil.
8435 (dbus-handle-event): Handle special return value :ignore.
8436 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
8438 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
8440 * view.el (view-mode-enable): Don't define Helper-return-blurb if
8443 2009-07-25 Eli Zaretskii <eliz@gnu.org>
8447 * w32-vars.el (x-select-enable-clipboard): Doc fix.
8449 * term/pc-win.el (x-display-name, x-colors)
8450 (x-select-enable-clipboard, x-select-text): Doc fix.
8452 * term/common-win.el (x-display-name, x-colors): Doc fix.
8454 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8455 (xw-defined-colors): Doc fix.
8457 * w32-fns.el (x-select-text, x-setup-function-keys)
8458 (x-get-selection, x-set-selection): Doc fix.
8460 * term/x-win.el (x-select-text, x-setup-function-keys)
8461 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8463 * select.el (x-set-selection): Doc fix.
8465 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
8467 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
8468 instead of "IsNSSSupportAvailable". Avahi ought to work also when
8469 "IsNSSSupportAvailable" method is not available. Reported by
8470 Steve Youngs <steve@sxemacs.org>.
8472 2009-07-24 Kenichi Handa <handa@m17n.org>
8474 * international/characters.el: Fix setting of category ?C, ?|, ?K,
8475 and ?H. Fix setting of case for Latin Extended and Greek Extended.
8476 (build-unicode-category-table): Fix range checks.
8478 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
8480 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8481 the buffer we try to sync is current when calling
8484 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8485 not show up to date files.
8487 2009-07-24 Glenn Morris <rgm@gnu.org>
8489 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8490 Add autoload cookies. If necessary, initialize.
8491 (elint-log): Handle non-file buffers.
8492 (elint-initialize): Add optional argument to reinitialize.
8493 (elint-find-builtin-variables): Save excursion.
8495 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8497 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8500 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8502 * vc.el (vc-print-log-internal): New function, split out from ...
8503 (vc-print-log): ... here.
8504 (vc-dir-move-to-goal-column): Declare.
8506 * vc-git.el (vc-git-add-signoff): New variable.
8507 (vc-git-checkin): Use it.
8508 (vc-git-toggle-signoff): New function.
8509 (vc-git-extra-menu-map): Bind it to menu.
8510 (vc-git--run-command-string): Accept a nil FILE argument.
8511 (vc-git-stash-list): New function.
8512 (vc-git-dir-extra-headers): Use it.
8514 2009-07-23 Glenn Morris <rgm@gnu.org>
8516 * help-fns.el (describe-variable): Describe ignored and risky local
8517 variables in a similar way to that in which we describe safe ones.
8519 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8520 (byte-compile-output-file-form, byte-compile-output-docform)
8521 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8522 Give some more local variables with common names a "bytecomp-" prefix,
8523 so as not to shadow things during compilation.
8524 * emacs-lisp/cl-macs.el (load-time-value)
8525 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8526 `outbuffer' to `bytecomp-outbuffer'.
8528 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8529 since the next two variables cover them automatically now.
8530 (elint-builtin-variables, elint-autoloaded-variables): New.
8531 (elint-unknown-builtin-args): Remove all members, since they can be
8532 parsed automatically now.
8533 (elint-extra-errors): New.
8534 (elint-env-add-env, elint-env-add-macro): Use cadr.
8535 (elint-current-buffer): Use or. Change final message.
8536 (elint-get-top-forms): Use line-end-position.
8537 (elint-init-env): Use cadr. Handle autoload, declare-function,
8539 (elint-add-required-env): Doc fix. Use or. Standardize error.
8540 (regexp-assoc): Remove unused function.
8541 (elint-top-form): Set elint-current-pos, to record the start of the
8542 top-level form, for compilation-mode.
8543 (elint-form): Trap errors in macro expansion. Use dolist.
8544 (elint-unbound-variable): Use elint-builtin-variables and
8545 elint-autoloaded-variables.
8546 (elint-get-args): Use cadr, or.
8547 (elint-check-cond-form): Use dolist, cadr.
8548 (elint-check-condition-case-form): Doc fix. Use cadr.
8549 Use elint-extra-errors.
8550 (elint-log): New function.
8551 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8552 Distinguish errors and warnings.
8553 (elint-log-message): Use with-current-buffer. Inhibit read-only.
8554 Use a bytecomp-style format.
8555 (elint-clear-log): Preserve default-directory. Inhibit read-only.
8556 (elint-get-log-buffer): Use compilation mode. Disable undo.
8557 Don't truncate lines.
8558 (elint-initialize): Set builtin and autoloaded variable lists.
8559 Only process elint-unknown-builtin-args if non-nil.
8560 (elint-find-builtin-variables, elint-find-autoloaded-variables):
8562 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
8564 2009-07-22 Kevin Ryde <user42@zip.com.au>
8566 * net/newst-backend.el (newsticker--parse-atom-1.0)
8567 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8568 (newsticker--parse-rss-1.0):
8569 * progmodes/idlwave.el (idlwave-mode):
8570 * progmodes/idlw-shell.el (idlwave-shell-mode):
8571 * progmodes/vera-mode.el (vera-mode):
8572 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8573 * progmodes/vhdl-mode.el (vhdl-mode):
8574 * textmodes/table.el (table-generate-source)
8575 (table--warn-incompatibility):
8576 Hyperlink urls in docstrings with URL `...'.
8578 2009-07-22 Glenn Morris <rgm@gnu.org>
8580 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8581 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8582 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8583 Remove leading * from defcustom docs.
8585 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
8587 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8589 (list-load-path-shadows): Optionally, just return shadows as a string.
8591 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8593 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
8595 * mail/rmailedit.el (rmail-edit-mode): Use
8596 auto-save-include-big-deletions.
8598 * mail/rmail.el (rmail-variables): Use
8599 auto-save-include-big-deletions.
8601 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8604 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
8606 * calc/calc.el (calc-undo-length): New variable.
8607 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8609 2009-07-21 Richard Stallman <rms@gnu.org>
8611 * files.el (auto-save-mode): Handle buffer-save-size = -2
8614 2009-07-21 Glenn Morris <rgm@gnu.org>
8616 * textmodes/ispell.el (ispell-looking-back): Update declaration.
8618 * calendar/todo-mode.el (calendar-current-date): Update declaration.
8620 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8621 silence compiler. Instead...
8622 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8623 (ps-print-ensure-fontified): Update for above function name changes.
8625 * printing.el (pr-mh-get-msg-num, pr-mh-show)
8626 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8627 silence compiler. Instead...
8628 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8629 (mh-show-buffer): Only define for compiler.
8630 (pr-mh-current-message): Update for above function name changes.
8632 * files.el (abort-if-file-too-large): Explicitly pass `filename'
8634 (find-file-noselect, insert-file-1): Update for above change.
8636 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8638 * mail/mailclient.el (mailclient-send-it): Fix message.
8640 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8641 (edebug-eval): Check cl-debug-env is bound.
8642 (print-level, print-circle): Don't redefine built-in variables.
8644 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8645 (custom-print-vectors): Remove old comments from doc.
8647 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8648 (emerge-version): Make the variable an obsolete alias for the
8649 emacs-version variable. Make the function obsolete.
8650 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8651 Emerge options, rather than merging in into the main Options menu.
8652 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
8653 and auto advance modes. Disable edit/fast items when not relevant.
8655 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
8657 * term/vt420.el (terminal-init-vt420): Fix typo.
8659 2009-07-20 Sam Steingold <sds@gnu.org>
8661 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8662 variable (removed from compile.el on 2004-03-11).
8664 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
8666 * files.el (hack-local-variables-filter): Fix last change.
8668 2009-07-19 Juri Linkov <juri@jurta.org>
8670 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8671 (dir-local-variables-alist): New buffer-local variable.
8672 (hack-local-variables-filter): If variable is not dir-local,
8673 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8674 because file-local overrides dir-local.
8675 (c-postprocess-file-styles) <declare-function>:
8676 Remove obsolete declaration.
8677 (hack-dir-local-variables): Add dir-local variable/value pair to
8678 `dir-local-variables-alist' and remove duplicates. Doc fix.
8680 * help-fns.el (describe-variable): Add information about
8681 file-local and dir-local variables.
8683 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
8685 * files.el (hack-local-variables-filter): Rewrite.
8687 2009-07-19 Glenn Morris <rgm@gnu.org>
8689 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8690 Silence compiler by only defining on XEmacs.
8692 * international/mule.el (auto-coding-regexp-alist): Only match
8693 BABYL... at the start of buffer, not of lines. (Bug#3790)
8695 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8696 non-calendar buffers (Bug#3862). Restore "not on a date" message.
8697 (cal-menu-context-mouse-menu): Doc fix.
8699 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8701 * simple.el (mail-user-agent): Doc fix. Set :version tag.
8703 2009-07-18 Juri Linkov <juri@jurta.org>
8705 * info.el: Virtual Info keyword finder.
8706 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8707 (Info-finder-file): New variable.
8708 (Info-finder-find-file): New function.
8709 (finder-known-keywords, finder-package-info)
8710 (find-library-name, lm-commentary): Use defvar and
8711 declare-function to silence compiler warnings.
8712 (Info-finder-find-node): New function.
8713 (info-finder): New command.
8715 * subr.el (process-kill-buffer-query-function): New function.
8716 (add-hook)<kill-buffer-query-functions>: Add hook
8717 `process-kill-buffer-query-function'.
8719 2009-07-18 Alan Mackenzie <acm@muc.de>
8721 * progmodes/cc-mode.el (c-before-hack-hook)
8722 (c-postprocess-file-styles): Give invocation of `c-set-style'
8723 DONT-OVERRIDE parameter of t. Already set style variables will
8724 thus not be overridden by style settings given by `c-file-syle'.
8726 * files.el (hack-local-variables-filter): Remove entries with
8727 duplicate keys from `file-local-variables-alist'.
8729 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8731 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8732 x-set-selection if display-selections-p returns nil for the
8735 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
8737 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8739 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8741 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8742 Accept nil in addition to a regexp.
8743 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8744 Accept nil in addition to a regexp.
8745 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8746 buffers that have an associated file. Handle nil values of
8747 desktop-buffers-not-to-save and desktop-files-not-to-save.
8750 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8751 (x-disown-selection-internal): New functions.
8753 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
8755 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8757 (gdb-breakpoints-header): Move forward to avoid compiler warning.
8758 (gdb-make-header-line-mouse-map): Remove duplicate definition.
8760 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
8762 * simple.el (set-mark): Revert last change.
8764 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
8766 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8767 rendering of pngs is not possible instead of messaging a long
8770 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
8772 * w32-fns.el (x-selection-owner-p): New function.
8774 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8775 (mouse-yank-at-click, mouse-yank-primary): If
8776 select-active-regions is non-nil, deactivate the mark before
8779 * simple.el (deactivate-mark, set-mark): Only save selection if we
8782 2009-07-17 Kenichi Handa <handa@m17n.org>
8784 * case-table.el (describe-buffer-case-table): Fix for the case
8787 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
8789 * vc-rcs.el (vc-rcs-find-file-hook):
8790 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8792 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
8794 * net/tramp.el (tramp-wait-for-output): Handle the case when
8795 commands do not return a newline but a null byte before the shell
8798 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8800 * term/ns-win.el (ns-set-alpha): Don't declare.
8801 (ns-set-background-alpha): Remove function.
8803 2009-07-16 Kevin Ryde <user42@zip.com.au>
8805 * emacs-lisp/copyright.el (copyright-update): Save match-data across
8806 y-or-n-p, for safety.
8808 2009-07-16 Richard Stallman <rms@gnu.org>
8810 * files.el (auto-save-mode): If buffer-saved-size is -2,
8813 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8814 (rmail-retry-ignored-headers): Add more uninteresting fields.
8816 2009-07-15 Jari Aalto <jari.aalto@cante.net>
8818 * net/rcirc.el (rcirc): Use history variables.
8819 (rcirc-server-name-history, rcirc-nick-name-history)
8820 (rcirc-server-port-history): New variables.
8822 2009-07-15 Kenichi Handa <handa@m17n.org>
8824 * international/mule-cmds.el (set-language-environment-charset):
8825 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8828 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8829 Delete unibyte-display.
8831 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8833 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8835 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8837 * simple.el (deactivate-mark): Optional argument FORCE.
8838 (set-mark): Use deactivate-mark.
8840 * info.el (Info-search): No need to check transient-mark-mode
8841 before calling deactivate-mark.
8843 * select.el (x-set-selection): Doc fix.
8844 (x-valid-simple-selection-p): Allow buffer values.
8845 (xselect--selection-bounds): Handle buffer values. Suggested by
8846 David De La Harpe Golden.
8848 * mouse.el (mouse-set-region, mouse-drag-track): Call
8849 copy-region-as-kill before setting the mark, to let
8850 select-active-regions work.
8852 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
8854 * simple.el (deactivate-mark): If select-active-regions is
8855 non-nil, copy the selection data into a string.
8856 (activate-mark): If select-active-regions is non-nil, set the
8857 selection to the current buffer.
8858 (set-mark): Update selection if select-active-regions is non-nil.
8860 * select.el (x-valid-simple-selection-p): Allow buffer values.
8862 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8865 and more featureful message-mode.
8867 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
8869 * select.el (x-set-selection): Doc fix.
8870 (x-valid-simple-selection-p): Disallow selection data consisting
8871 of a list or cons of integers, since that is not used.
8872 (xselect--selection-bounds, xselect--int-to-cons): New functions.
8873 (xselect-convert-to-string, xselect-convert-to-length)
8874 (xselect-convert-to-filename, xselect-convert-to-charpos)
8875 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8877 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
8879 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8880 output in -break-info command (Emacs bug #3794).
8882 2009-07-14 Glenn Morris <rgm@gnu.org>
8884 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8885 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8886 (edebug-print-length, edebug-print-level, edebug-print-circle)
8887 (edebug-sit-for-seconds, edebug-view-outside)
8888 (edebug-bounce-point, edebug-set-global-break-condition)
8889 (edebug-Go-nonstop-mode, edebug-trace-mode)
8890 (edebug-Trace-fast-mode, edebug-continue-mode)
8891 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8892 (edebug-visit-eval-list): Doc fixes.
8894 * subr.el (def-edebug-spec): Doc fix.
8896 2009-07-14 Kenichi Handa <handa@m17n.org>
8898 * international/characters.el: Fix setting of category ?C.
8900 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
8902 * term/ns-win.el (x-select-font): defalias x-select-font to
8903 ns-popup-font-panel instead of generate-fontset-menu.
8905 2009-07-12 Eli Zaretskii <eliz@gnu.org>
8907 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
8909 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
8911 * arc-mode.el (archive-find-type): Allow for a PK00 string before
8912 the PK\003\004 header (Bug#3770).
8914 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
8916 * pcomplete.el (pcomplete-comint-setup): Check for
8917 shell-dynamic-complete-filename too.
8919 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
8921 * simple.el (temporary-goal-column): Change the value for
8922 line-move-visual to a cons cell.
8923 (line-move-visual): Record or set the window hscroll, if
8924 necessary (Bug#3494).
8925 (line-move-1): Handle cons value of temporary-goal-column.
8927 2009-07-11 Kenichi Handa <handa@m17n.org>
8929 * international/mule-diag.el (describe-character-set): Don't show
8932 2009-07-10 Sam Steingold <sds@gnu.org>
8934 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8935 Omake sometimes indents the errors it prints, so allow all
8936 regexps to start with spaces.
8938 2009-07-10 Eli Zaretskii <eliz@gnu.org>
8940 * cus-edit.el (customize-changed-options-previous-release):
8941 Bump value to 22.1. (Bug#3804)
8943 2009-07-08 Sam Steingold <sds@gnu.org>
8945 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8946 to be a cons cell (test . ignored-directory) to selectively ignore
8947 some directories depending on the location of the search.
8949 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
8951 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8952 remote user is root, on the local host.
8953 (tramp-local-host-p): Either the local user or the remote user
8954 must be root. (Bug#3771)
8956 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8958 * progmodes/gdb-mi.el (gdb): Remove description of
8959 gdb-use-separate-io-buffer.
8960 (menu): Don't allow toggling of or enable
8961 gdb-use-separate-io-buffer from menubar.
8963 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8965 * mail/unrmail.el (unrmail): Make sure the message ends with two
8966 newlines (Bug#3769).
8968 2009-07-08 Glenn Morris <rgm@gnu.org>
8970 * calendar/calendar.el (calendar-current-date): Rework previous change.
8972 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
8974 * calendar/calendar.el (calendar-current-date):
8975 Add an optional argument giving an offset from today.
8977 2009-07-08 Glenn Morris <rgm@gnu.org>
8979 * tutorial.el (tutorial--describe-nonstandard-key):
8980 Adjust the message for when a key has been unbound.
8981 (help-with-tutorial): Hide the arch-tag.
8983 2009-07-08 Kenichi Handa <handa@m17n.org>
8985 * international/fontset.el (setup-default-fontset): For each
8986 script, append (not set) font-specs.
8988 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
8991 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8993 * progmodes/gdb-mi.el (gdb-init-1): Move sending
8994 -data-list-register-names to ...
8995 (gdb-starting): ... here because GDB 7.0 requires execution to
8996 have started when using this MI command.
8997 (gdb-set-header): New function to distinguish select and
8998 unselected tabs in gdb buffers.
8999 (gdb-propertize-header): New macro that uses gdb-set-header.
9000 (gdb-breakpoints-header, gdb-locals-header): Use it.
9001 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
9003 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
9005 * Makefile.in (ELCFILES): Remove fadr.elc.
9007 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
9009 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
9010 may contain frame information, so `string-match' should be used.
9011 (gdb-update): Disassembly is invalidated through
9012 `gdb-get-selected-frame'.
9013 (gdb-pad-string): New function to pad string with spaces.
9014 (gdb-invalidate-disassembly): Invalidate only if the buffer
9016 (gdb-disassembly-handler-custom): Column alignment.
9017 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
9019 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
9021 (gdb-frame-handler): Match convention to for disassembly buffer
9023 (gdb-stack-list-frames-handler): Rewritten without regexps.
9024 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
9025 not highlight breakpoints without line information.
9026 (gdb-input): Add trailing newline to command.
9028 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
9030 (gdb-breakpoints-list-handler-custom): Replacement for
9031 `gdb-break-list-handler'. Using real parser instead of regexps
9033 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
9034 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
9035 to place breakpoints.
9036 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
9038 (gdb-disassembly-handler-custom): Show overlay arrow.
9039 (gdb-disassembly-place-breakpoints): Show breakpoints in
9041 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
9042 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
9043 instead of parsing breakpoints buffer. Fixed old menu references
9048 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
9049 (gdb-memory-address): New variable which holds top address of
9050 memory page shown in memory buffer.
9051 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
9052 customization variables.
9054 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
9055 display the memory buffer.
9056 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
9057 buffer display parameters.
9058 (def-gdb-memory-format, gdb-memory-format-binary)
9059 (gdb-memory-format-octal, gdb-memory-format-unsigned)
9060 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
9061 Functions for setting memory buffer format.
9062 (gdb-memory-unit-word, gdb-memory-unit-halfword)
9063 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
9064 unit size used in memory buffer.
9065 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
9066 to next/previous page of memory buffer.
9067 Now using (bindat-get-field) instead of fadr functions.
9069 2009-07-07 Sam Steingold <sds@gnu.org>
9071 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
9072 non-top-level files.
9074 2009-07-07 Kenichi Handa <handa@m17n.org>
9076 * international/mule-cmds.el (reset-language-environment): Put
9077 the highset priority to the charset iso-8859-1.
9079 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9081 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
9082 to the end of the line when locating the block (Bug#700).
9084 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
9086 * net/tramp.el (tramp-handle-write-region): Flush file properties
9087 in case of short track.
9089 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
9091 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
9092 representation of verilog error regular expressions to work with
9093 Emacs-22's new format.
9094 (verilog-error-regexp-xemacs-alist): Coded custom representation
9095 of verilog error regular expressions to work with XEmacs format.
9096 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
9097 error recognition into XEmacs.
9098 (verilog-error-regexp-add-emacs): Hook routine to install verilog
9099 error recognition into Emacs-22.
9101 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9103 * woman.el: Remove stand-alone closing parentheses.
9104 (woman-file-name, woman2-format-paragraphs)
9105 (woman-leave-blank-lines): Code cleanup.
9106 (woman-use-own-frame): Change default to nil.
9107 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
9108 defaults to inherit from default faces.
9109 (woman2-process-escapes): Consume the newline after a stand-alone
9110 filler character (Bug#3651).
9112 2009-07-06 Glenn Morris <rgm@gnu.org>
9114 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
9115 (top-level): Move provide to the end.
9116 (ffap): Remove defunct URL from custom group.
9118 * subr.el (eval-after-load): Doc fix.
9120 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
9122 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
9123 `calc-embedded-word' is called twice.
9125 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * files.el (find-alternate-file-other-window, find-alternate-file):
9128 Obey confirm-nonexistent-file-or-buffer.
9130 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
9132 * dired-aux.el (dired-show-file-type): Handle remote files.
9134 2009-07-05 Jari Aalto <jari.aalto@cante.net>
9136 * desktop.el (desktop-globals-to-save):
9137 Add file-name-history (Bug#2750).
9139 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
9141 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
9143 2009-07-04 Johan Bockgård <bojohan@gnu.org>
9145 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
9146 property on entire argument since this is what eshell-lisp-command
9149 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
9151 * net/tramp-gvfs.el (tramp-gvfs-methods)
9152 (tramp-gvfs-zeroconf-domain)
9153 (tramp-bluez-discover-devices-timeout): Add version flag.
9154 (tramp-gvfs-handler-mounted-unmounted)
9155 (tramp-gvfs-connection-mounted-p): Polish handling of
9156 incompatibilities between GVFS 0.2 and 1.0.
9158 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
9160 * cus-start.el (all): Add make-pointer-invisible.
9162 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
9164 * calc-math.el (math-use-emacs-fn): Make sure that the number is
9165 formatted correctly.
9167 2009-07-02 Juri Linkov <juri@jurta.org>
9169 * info.el: Virtual Info files and nodes.
9170 (Info-virtual-files, Info-virtual-nodes): New variables.
9171 (Info-current-node-virtual): New variable.
9172 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
9174 (Info-file-supports-index-cookies): Use Info-virtual-file-p
9175 to check for a virtual file instead of checking a fixed list
9177 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
9178 instead of ad-hoc processing of "dir" and (apropos history toc).
9179 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
9180 instead of ad-hoc processing of "dir" and (apropos history toc).
9181 Reread a file when moving from a virtual node.
9182 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
9183 (Info-directory-toc-nodes, Info-directory-find-file)
9184 (Info-directory-find-node): New functions.
9185 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
9186 (Info-history): Move part of code to
9187 `Info-history-find-node'.
9188 (Info-history-toc-nodes, Info-history-find-file)
9189 (Info-history-find-node): New functions.
9190 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
9191 (Info-toc): Move part of code to `Info-toc-find-node'.
9192 (Info-toc-find-node): New function.
9193 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
9194 the current Info file name to references because now the node
9195 "*TOC*" belongs to the same Info manual.
9196 (Info-toc-build): Rename from `Info-build-toc'.
9197 (Info-toc-nodes): Rename input argument `file' to `filename'.
9198 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
9199 instead of ad-hoc processing of ("dir" apropos history toc).
9200 (Info-index-nodes): Use Info-virtual-file-p
9201 to check for a virtual file instead of checking a fixed list
9203 (Info-index-node): Add check for `Info-current-node-virtual'.
9204 Raise `save-match-data' higher up the tree to contain
9205 `search-forward' too (bug fix).
9206 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
9207 (Info-virtual-index-nodes): New variable.
9208 (Info-virtual-index-find-node, Info-virtual-index): New functions.
9209 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
9210 (Info-apropos-file, Info-apropos-nodes): New variables.
9211 (Info-apropos-toc-nodes, Info-apropos-find-file)
9212 (Info-apropos-find-node, Info-apropos-matches): New functions.
9213 (info-apropos): Move part of code to `Info-apropos-find-node' and
9214 `Info-apropos-matches'.
9215 (Info-mode-map): Bind "I" to `Info-virtual-index'.
9216 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
9217 for a virtual file instead of checking a fixed list of node names.
9219 * simple.el (async-shell-command): New command.
9221 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
9223 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
9224 instead of `mount-info'.
9226 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
9228 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
9229 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
9231 2009-07-02 Kenichi Handa <handa@m17n.org>
9233 * international/mule.el (set-keyboard-coding-system): Force *-unix
9234 coding-system to avoid eol conversion.
9236 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
9238 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9239 Add handler for `process-file', `shell-command' and
9240 `start-file-process'.
9241 (tramp-gvfs-handle-shell-command)
9242 (tramp-gvfs-handle-start-file-process)
9243 (tramp-gvfs-handle-process-file): New defuns.
9244 (tramp-synce-list-devices): Simplify check for existence of property.
9246 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
9248 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
9250 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
9252 * language/korean.el (set-language-info-alist): Add korean-cp949,
9255 2009-07-01 Kenichi Handa <handa@m17n.org>
9257 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
9259 * international/encoded-kb.el: Deleted.
9261 * international/mule.el (set-keyboard-coding-system): Perform the
9262 necessary setup here instead of calling encoded-kbd-setup-display.
9264 2009-07-01 Glenn Morris <rgm@gnu.org>
9266 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
9268 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
9270 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
9272 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
9274 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
9275 Handle also the 'rename case, when setting file modes. (Bug#3712)
9276 (tramp-default-file-modes) Remove execute permissions.
9278 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
9279 (top): Add a default for "synce" in `tramp-default-user-alist'.
9280 Add completion function for "synce" method.
9281 (tramp-hal-service, tramp-hal-path-manager)
9282 (tramp-hal-interface-manager, tramp-hal-interface-device):
9284 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
9285 (tramp-synce-list-devices, tramp-synce-parse-device-names):
9288 * net/trampver.el: Update release number.
9290 2009-06-30 Kenichi Handa <handa@m17n.org>
9292 * international/fontset.el (setup-default-fontset): Add CJK fonts
9293 for symbols and the other miscellaneous characters.
9295 * language/korea-util.el (setup-korean-environment-internal):
9296 Make char-width-table suitable for Korean environments.
9297 (exit-korean-environment): Cancel above.
9299 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9300 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
9301 setup-funcion to make char-widht-table suitable for respective
9302 environments, and an exit-function to cancel that.
9304 * language/japan-util.el (setup-japanese-environment-internal):
9305 Call use-cjk-char-width-table with arg `ja_JP'.
9307 * international/characters.el (cjk-char-width-table): Delete it.
9308 (cjk-char-width-table-list): New variable.
9309 (use-cjk-char-width-table): New arg local-name.
9310 (use-default-char-width-table): Fix for the case that Emacs is
9311 already using the default char-width-table.
9313 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
9315 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
9316 modes mandatory. (Bug#3712)
9318 2009-06-29 Alan Mackenzie <acm@muc.de>
9320 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
9321 correction between the visible width of TABs and their number of bytes.
9323 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
9325 * server.el (server-buffer-done): Prevent kill-buffer from
9326 prompting by clearing the buffer modification flag (Bug#3696).
9328 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
9330 * verilog-mode.el (verilog-beg-of-statement)
9331 (verilog-endcomment-reason-re): Support unique case and priority case.
9332 (verilog-basic-complete-re): Support localparam lineup.
9333 (verilog-beg-of-statement-1): Fix for robustness, unique case.
9334 (verilog-set-auto-endcomments): Fix for unique case, always_comb
9336 (verilog-leap-to-case-head): Now support *nested* unique &
9337 priority case statements.
9338 (verilog-auto-lineup): Make just declarations the default (as it
9340 (verilog-leap-to-case-head): Support priority/unique case statements.
9341 (verilog-auto-lineup): Rework to give users radio buttons to
9342 select the various styles of automatic lineup.
9343 (verilog-error-regexp-alist): Rework to support the XEmacs style
9344 of error regular expressions from compilers, lint tools &
9345 simulators. Note that GNU Emacs has made it impossible for a mode
9346 to load such things.
9347 (electric-verilog-terminate-line, verilog-indent-declaration)
9348 (verilog-auto-wiure): Rework for radio button selection of
9349 auto-lineup selection of specification of auto lineup.
9350 (verilog-beg-of-statement-1): Redesign to support proper operation
9351 in additional code, based on testing with auto-lineup.
9352 (verilog-calculate-indent, assignments & declarations)
9353 (verilog-backward-token): Enhance to support auto-lineup of
9354 assignments & declarations.
9355 (verilog-in-directive-p, verilog-at-struct-p): New function for
9356 easy test of whether we are.
9357 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
9358 to support safe execution at almost anyline.
9359 (verilog-calc-1): Properly support indenting deep inside generate
9361 (verilog-init-font) Remove definition & use of verilog-init-font,
9362 as it is redundant with font-lock-defaults.
9363 (verilog-mode): Alter the definition of verilog-font-lock-defaults
9364 to avoid circular calls if syntax-ppss is a function (as is the
9365 case now in 22.x GNU Emacs) as that function would sometimes call
9366 itself, leading to (nearly) infinite recursion.
9367 (verilog-ovm-begin-re, verilog-ovm-end-re)
9368 (verilog-ovm-statement-re, verilog-leap-to-head)
9369 (verilog-backward-token): Add support for OVM macros. Some are
9370 complete statements, and others open and close scopes like begin
9372 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
9373 (verilog-defun-level-generate-only-re): Really fix the defun-list
9375 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
9376 coverpoint, constraint and cross statements.
9377 (verilog-defun-level-list, verilog-generate-defun-level-list)
9378 (verilog-all-defun-level-list): Redo these specifications - it is
9379 too hard to support eval-when compile aggregation of lists also
9380 built at when-compile time.
9381 (verilog-defun-level-list): Place defconsts of variables used in
9382 building regular expressions which are built in eval-when-compile
9383 bodies in the same eval-when-compile body to facilitate compile
9385 (verilog-beg-block-re-ordered): Support indenting
9386 virtual/protected tasks and functions.
9387 (verilog-defun-level-list, verilog-in-generate-region-p)
9388 (verilog-backward-ws&directives, verilog-calc-1): Speed up
9389 indentation of some module items (generate items).
9390 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
9391 across virtual/protected tasks and functions.
9393 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
9395 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
9396 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
9397 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
9398 in concatenations. Reported by Yishay Belkind.
9399 (verilog-auto-ascii-enum): Support one-hot state machines in
9400 AUTOASCIIENUM. Suggested by Lloyd Gomez.
9401 (verilog-auto-inst, verilog-auto-inst-port): Include interface
9402 modport in AUTOINST and add vl-modport for users. Reported by
9404 (verilog-auto-inout-module, verilog-auto-inst)
9405 (verilog-decls-get-interfaces, verilog-insert-definition)
9406 (verilog-insert-one-definition, verilog-read-decls)
9407 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
9408 (verilog-sig-modport, verilog-signals-combine-bus)
9409 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
9410 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
9411 Suggested by David Rogoff.
9412 (verilog-repair-open-comma): Fix non-insertion of comma when
9413 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
9414 (verilog-make-width-expression): Simplify [A-1:0] expression
9415 widths to just {A{1'b0}}.
9416 (verilog-mode): Cleanup checkdoc warnings.
9417 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
9418 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
9419 inputs/outputs or data type. Suggested by Vasu Kandadi.
9420 (next-error-last-buffer): Fix byte-compiler warning.
9421 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
9422 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
9423 or shell command text during AUTO expansion. Suggested by Tad Truex.
9424 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
9425 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
9426 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
9427 in AUTOINOUT. Reported by Matthew Lovell.
9428 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
9429 causing use of <= assignments. Reported by Alex Reed.
9430 (verilog-read-decls): Fix triand, trior, wand, wor to be
9431 recognized by AUTOWIRE. Reported by Spencer Isaacson.
9432 (verilog-extended-complete-re): Support import "DPI-C" functions.
9433 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
9434 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
9435 (verilog-insert-date, verilog-insert-year)
9436 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
9437 Windows systems. Reported by Michael Potts.
9438 (verilog-read-module-name): Fix AUTOINST when the child module
9439 declaration's name is a tick define. Reported by Elliot Mednick.
9440 (verilog-read-decls): Fix V2K parameter bit subscripts getting
9441 passed to next parameter's definition. Reported by Bruce T.
9442 (verilog-read-decls): Fix detecting "parameter int" when using
9443 AUTOINSTPARAM. Reported by Bruce T.
9444 (verilog-goto-defun): Fix goto not finding modules unless first
9445 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
9446 (verilog-mode): Expand -f flag arguments on entry to mode so
9447 verilog-goto-defun will work. Reported by Lawrence Butcher.
9448 (verilog-getopt): Expand environment variables in -f file
9449 arguments. Suggested by Lawrence Butcher.
9450 (verilog-set-define): Fix "Symbol's value as variable is void"
9451 when reading enumerations.
9452 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
9453 Suggested by Stephen Peltan.
9454 (verilog-read-defines): Fix reading of enumerations in include
9455 files. Reported by Steve Peltan.
9457 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9459 * files.el (trash-directory): Fix defcustom type.
9461 2009-06-28 Juri Linkov <juri@jurta.org>
9463 * help-fns.el (describe-function-1): Correctly locate adviced
9464 functions in hyperlink (Bug#2438).
9466 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
9468 * files.el (trash-directory): Change default to nil.
9469 (move-file-to-trash): If trash-directory is nil and
9470 system-move-file-to-trash is unbound, perform freedesktop-style
9473 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9475 * files.el (move-file-to-trash): Add freedesktop trash
9478 2009-06-28 Glenn Morris <rgm@gnu.org>
9480 * autorevert.el (global-auto-revert-non-file-buffers)
9481 (global-auto-revert-mode): Doc fixes.
9483 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9485 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9487 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9489 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9490 opened an X connection before calling x-get-resource (Bug#3194).
9492 * play/doctor.el: Remove reference to obsolete website.
9493 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9495 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9497 Remove find-file-not-found-hook VC method. (Bug#2757)
9498 * vc-hooks.el (vc-file-not-found-hook)
9499 (vc-default-find-file-not-found-hook): Remove functions.
9500 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9501 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9504 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9506 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9508 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9509 compatibility function for `looking-back'.
9511 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9512 Use `ispell-looking-back'.
9514 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9516 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9517 rather than `filename'.
9519 2009-06-23 Miles Bader <miles@gnu.org>
9521 * face-remap.el (text-scale-set): New function.
9523 2009-06-23 Glenn Morris <rgm@gnu.org>
9525 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9527 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9529 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9531 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9533 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9534 Simplify Persian conditionals.
9536 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9537 variable `filename'.
9539 * comint.el (comint-insert-input): Doc fix.
9541 * Makefile.in (ELCFILES): Fix typo in previous change.
9543 2009-06-23 Miles Bader <miles@gnu.org>
9545 * cus-start.el: Add entry for `recenter-redisplay'.
9547 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9549 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9550 Add an optional argument for the backend, use it instead of
9552 (vc-mode-line): Add an optional argument for the backend.
9553 Pass the backend to vc-state and vc-working-revision. Move code for
9554 special handling for vc-state being a buffer to ...
9556 * vc-rcs.el (vc-rcs-find-file-hook):
9557 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
9559 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9560 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9561 vc-stay-local-p and vc-mode-line calls.
9563 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9564 (vc-cvs-diff, vc-cvs-annotate-command)
9565 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9566 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9569 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9571 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9572 backend when calling vc-mode-line.
9573 (vc-register): Do not create a closure for calling the vc register
9574 function, call it directly.
9576 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9578 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9579 to make it obvious item can be clicked.
9581 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9583 2009-06-23 Kenichi Handa <handa@m17n.org>
9585 * language/korea-util.el (korean-key-bindings): Change the binding
9586 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
9589 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
9591 Sync with Tramp 2.1.16.
9593 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9595 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
9596 when a loading of a package fails. Completion function for rsync
9597 is `tramp-completion-function-alist-ssh'.
9598 (all): Replace all calls of `split-string' and
9599 `tramp-split-string' by `tramp-compat-split-string'.
9600 (tramp-default-method): Use `tramp-compat-process-running-p'.
9601 (tramp-default-proxies-alist): Allow also Lisp forms.
9602 (tramp-remote-path): Add choice "Private Directories".
9603 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9604 (tramp-domain-regexp): Allow also "-", "_" and ".".
9605 (tramp-end-of-output): Remove newlines, and add "$" at the end.
9606 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9607 (tramp-debug-message): Insert header line in debug buffer.
9608 (tramp-handle-directory-files-and-attributes-with-stat):
9609 Care about filenames with spaces, or starting with "-".
9610 (tramp-handle-dired-uncache): New defun.
9611 (tramp-handle-insert-directory): Don't flush the directory from
9612 cache, this is handled by `dired-uncache' now.
9613 (tramp-handle-insert-file-contents): Improve error handling.
9614 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9615 Quote `tramp-end-of-output'.
9616 (tramp-action-password): Improve trace message.
9617 (tramp-check-for-regexp): Both echoes must be present, before removing.
9618 (tramp-open-connection-setup-interactive-shell): Trace coding system.
9619 (tramp-compute-multi-hops): Eval cons cells of
9620 `tramp-default-proxies-alist'.
9621 (tramp-maybe-open-connection): Use the same command pattern for
9622 first hop and further hops.
9623 (tramp-wait-for-output): Remove handling of newlines.
9624 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9625 (tramp-split-string): Remove function. It is handled in
9628 * net/tramp-cmds.el (tramp-bug):
9629 Recommend `tramp-cleanup-all-connections' in the bug mail.
9631 * net/tramp-compat.el (tramp-compat-split-string)
9632 (tramp-compat-process-running-p): New defuns.
9634 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9635 for `dired-uncache'.
9637 * net/tramp-gvfs.el: New package.
9639 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9640 Add handler for `dired-uncache'.
9641 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9643 * net/trampver.el: Update release number. Make version check fit
9646 2009-06-22 Jim Meyering <meyering@redhat.com>
9648 Automatically handle .xz suffix (XZ-compressed files), too.
9649 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9650 XZ is the successor to LZMA: <http://tukaani.org/xz/>
9652 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
9653 Nick Roberts <nickrob@snap.net.nz>
9655 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9656 repository (http://sphinx.net.ru/hg/gdb-mi/).
9658 2009-06-22 Glenn Morris <rgm@gnu.org>
9660 * files.el (dir-locals-collect-mode-variables): Allow for any number of
9661 `mode' and `eval' entries. (Bug#3430)
9663 * Makefile.in (ELCFILES): Add fadr.elc.
9665 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9666 differing behavior of \n and ^ in strings. (Bug#3385)
9668 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9670 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9672 (lisp-indent-function): Make it a defcustom.
9674 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
9676 * progmodes/gdb-ui.el: Replace with ...
9677 * progmodes/gdb-mi.el: ... this file.
9678 * progmodes/gud.el: Modify for gdb-mi.el.
9680 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
9682 * fadr.el: New file.
9684 See ChangeLog.14 for earlier changes.
9690 Copyright (C) 2009 Free Software Foundation, Inc.
9692 This file is part of GNU Emacs.
9694 GNU Emacs is free software: you can redistribute it and/or modify
9695 it under the terms of the GNU General Public License as published by
9696 the Free Software Foundation, either version 3 of the License, or
9697 (at your option) any later version.
9699 GNU Emacs is distributed in the hope that it will be useful,
9700 but WITHOUT ANY WARRANTY; without even the implied warranty of
9701 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9702 GNU General Public License for more details.
9704 You should have received a copy of the GNU General Public License
9705 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9707 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1