1 2010-03-24 Glenn Morris <rgm@gnu.org>
3 * log-edit.el (log-edit-before-checkin-process): Doc fix.
5 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
6 Consistently check ede-object is bound throughout.
8 2010-03-23 Sam Steingold <sds@gnu.org>
10 Fix bug#5620: recalculate all markers on compilation buffer
11 modifications, not on file modifications.
12 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
13 the buffer modification time, for buffers not associated with files.
14 (compilation-mode): Create it.
15 (compilation-filter): Update it.
16 (compilation-next-error-function): Use it instead of
17 `visited-file-modtime' for timestamp.
19 2010-03-23 Juri Linkov <juri@jurta.org>
21 Implement Occur multi-line matches.
22 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
24 * replace.el (occur): Doc fix.
25 (occur-engine): Set `begpt' to the beginning of the first line.
26 Set `endpt' to the end of the last match line. At first, count
27 line numbers between `origpt' and `begpt'. Split out code from
28 `out-line' variable to new let-bindings `match-prefix' and
29 `match-str'. In `out-line' add non-numeric prefix to all
30 non-first lines of multi-line matches. Finally, count lines
31 between `begpt' and `endpt' and add to `lines'.
33 2010-03-23 Juri Linkov <juri@jurta.org>
35 * replace.el (occur-accumulate-lines, occur-engine):
36 Use `occur-engine-line' instead of duplicate code.
37 (occur-engine-line): New function created from duplicate code
38 in `occur-accumulate-lines' and `occur-engine'.
40 * replace.el (occur-engine-line): Add optional arg `keep-props'.
41 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
43 2010-03-23 Juri Linkov <juri@jurta.org>
45 * finder.el: Remove TODO tasks.
47 * info.el (Info-finder-find-node): Add node "all"
48 with all package info. Handle a list of multiple keywords
50 (info-finder): In interactive use with a prefix argument,
51 use `completing-read-multiple' to read a list of keywords
54 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
56 Add a new completion style `substring'.
57 * minibuffer.el (completion-basic--pattern): New function.
58 (completion-basic-try-completion, completion-basic-all-completions):
60 (completion-substring--all-completions)
61 (completion-substring-try-completion)
62 (completion-substring-all-completions): New functions.
63 (completion-styles-alist): New style `substring'.
65 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
67 Get rid of .elc files after removal of the corresponding .el.
68 * Makefile.in (compile-clean): New target.
69 (compile-main): Use it.
71 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
73 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
74 don't do make there. When compiling with separate object dir, there
77 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
79 Get rid of the ELCFILES abomination, again.
80 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
81 (all, compile): Don't call compile-last.
82 (compile-main): Build the "elcfiles" list dynamically.
83 (compile-targets): New (internal) target.
85 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
87 * Makefile.in (top_srcdir): Define.
88 (abs_top_builddir): Define.
89 (srcdir): Don't append `/..'.
90 (EMACS): Use ${abs_top_builddir}.
91 (all, compile, compile-always, compile-last): Don't set emacswd.
92 (update-subdirs, update-authors): Use $(top_srcdir) instead of
94 (lisp): Use $(srcdir) instead of @srcdir@.
96 2010-03-21 Juri Linkov <juri@jurta.org>
98 Fix message of multi-line occur regexps and multi-buffer header lines.
99 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
101 * replace.el (occur-1): Don't display regexp if it is longer
102 than window-width. Use `query-replace-descr' to display regexp.
103 (occur-engine): Don't display regexp in the buffer header for
104 multi-buffer occur. Display a separate header line with total
105 match count and regexp for multi-buffer occur.
106 Use `query-replace-descr' to display regexp.
108 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
110 * net/secrets.el: Fix parenthesis.
111 (secrets-enabled): Fix parenthesis.
113 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
115 Use more relative file and directory names.
116 * Makefile.in (EMACS): Arrange for it to work when we chdir.
117 (setwins, setwins_almost, setwins_for_subdirs):
118 Don't `cd'; output relative names.
119 (all, compile, compile-always, compile-last): Set emacswd.
120 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
121 Just cd to the lisp source dir so we can use relative file names.
123 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
125 2010-03-20 Glenn Morris <rgm@gnu.org>
127 * textmodes/rst.el: Use faces for font-lock customization, and make the
128 old -face variables obsolete.
129 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
130 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
131 (rst-block-face, rst-external-face, rst-definition-face)
132 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
133 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
135 (rst-font-lock-keywords-function): Update for above changes.
137 2010-03-20 Juri Linkov <juri@jurta.org>
140 * obsolete/s-region.el: Move to obsolete.
142 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
144 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
146 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
148 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
150 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
152 Add special markup processing for commit logs.
153 * log-edit.el (log-edit-extra-flags): New variable.
154 (log-edit): Add new argument MODE. Use that mode when non-nil
155 instead of the log-view-mode.
156 (log-view-process-buffer): New function.
158 * vc.el: Document that the checkin method takes optional
159 arguments. Document new backend specific method: log-view-mode.
160 (vc-default-log-edit-mode): New function.
161 (vc-checkin): Use a backend specific log-view-mode.
162 Pass extra arguments to the checkin method.
163 (vc-modify-change-comment): Pass a dummy extra argument.
165 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
167 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
168 (vc-finish-logentry): Process the log buffer before passing it
169 down. Pass log-edit-extra-flags.
171 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
173 (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
175 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
177 (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
178 (vc-hg-log-edit-mode): New derived mode.
180 * vc-arch.el (vc-arch-checkin):
181 * vc-cvs.el (vc-cvs-checkin):
182 * vc-git.el (vc-git-checkin):
183 * vc-mtn.el (vc-mtn-checkin):
184 * vc-rcs.el (vc-rcs-checkin):
185 * vc-sccs.el (vc-sccs-checkin):
186 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
188 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
190 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
193 2010-03-19 Glenn Morris <rgm@gnu.org>
195 * password-cache.el (password-cache, password-cache-expiry): Autoload.
197 2010-03-18 Glenn Morris <rgm@gnu.org>
199 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
201 * replace.el (query-replace-history): Give it a doc string.
202 (map-query-replace-regexp): Use query-replace-from-history-variable
203 and query-replace-to-history-variable.
205 * mail/hashcash.el (declare-function): Remove duplicate definition.
207 * mail/emacsbug.el (report-emacs-bug-pretest-address):
208 Make it an obsolete alias for report-emacs-bug-address.
209 (message-strip-special-text-properties): Declare.
210 (report-emacs-bug): Remove test for a pretest bug address.
211 Combine message-mode-specific code.
213 * mail/supercite.el: Don't require sendmail.
214 (mh-in-header-p): Declare rather than using with-no-warnings.
215 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
216 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
218 * calendar/cal-french.el: Convert to utf-8.
220 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
223 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
225 * net/secrets.el (secrets-enabled): New variable. Use it instead
228 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
230 * net/secrets.el (top): Register the D-Bus signals only when the
231 service "org.freedesktop.secrets" can be pinged.
232 Provide subfeature `enabled'.
234 2010-03-14 Juri Linkov <juri@jurta.org>
236 Add finder unknown keywords.
238 * finder.el (finder-unknown-keywords): New function.
240 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
241 to create a Finder node with unknown keywords.
243 2010-03-14 Juri Linkov <juri@jurta.org>
245 * finder.el (finder-compile-keywords): Replace `princ' with
246 `prin1' on a list of symbols interned from keyword strings.
248 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
249 a comma, then split keywords using a comma and optional whitespace.
250 Otherwise, split by whitespace.
258 * progmodes/mixal-mode.el: Fix keywords.
260 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
262 * Makefile.in (ELCFILES): Add net/secrets.elc.
264 * net/secrets.el: New file.
266 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
268 * facemenu.el (list-colors-display, list-colors-print): New arg
269 callback. Use it to allow selecting colors.
271 * wid-edit.el (widget-image-insert): Insert image prop even if the
272 current display is non-graphic.
273 (widget-field-value-set): New fun.
274 (editable-field): Use it.
275 (widget-field-value-get): Clean up unused var.
276 (widget-color-value-create, widget-color--choose-action): New
277 funs. Allow using list-colors-display to choose color.
279 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
281 * cus-edit.el: Resort topmost custom groups.
282 (custom-buffer-sort-alphabetically): Default to t.
283 (customize-apropos): Use apropos-parse-pattern.
284 (custom-search-field): New var.
285 (custom-buffer-create-internal): Add custom-apropos search field.
286 (custom-add-parent-links): Don't display parent doc.
287 (custom-group-value-create): Don't sort top-level custom group.
288 (custom-magic-value-create): Show visibility button before option
291 (custom-variable-state): New fun, from custom-variable-state-set.
292 (custom-variable-state-set): Use it.
293 (custom-group-value-create): Hide options with standard values
294 using the :hidden-states property. Use progress reporter.
296 (custom-show): Simplify.
297 (custom-visibility): Disable images by default.
298 (custom-variable): New property :hidden-states.
299 (custom-variable-value-create): Enable images for
300 custom-visibility widgets. Use :hidden-states property to
301 determine initial visibility.
303 * wid-edit.el (widget-image-find): Give images center ascent.
304 (visibility): Add :on-image and :off-image properties.
305 (widget-visibility-value-create): Use them.
307 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
309 * cus-edit.el (processes): Remove from development group.
310 (oop, hypermedia): Delete group.
311 (comm): Promote to top-level group.
313 * net/browse-url.el (browse-url):
314 * net/xesam.el (xesam):
315 * net/tramp.el (tramp):
316 * net/goto-addr.el (goto-address):
317 * net/ange-ftp.el (ange-ftp): Put in comm group.
319 * view.el (view): Remove from editing group.
321 * uniquify.el (uniquify): Put in files group.
323 * net/browse-url.el (browse-url):
324 * ps-print.el (postscript): Put in external group.
326 * cus-edit.el (outlines):
327 * textmodes/text-mode.el (text-mode-hook):
328 * textmodes/table.el (table):
329 * textmodes/picture.el (picture):
330 * outline.el (outlines): Put in wp group.
332 * nxml/nxml-mode.el (nxml): Remove from wp group.
334 * net/tramp-imap.el (tramp-imap): Put in tramp group.
336 * mail/metamail.el (metamail): Remove from hypermedia group.
338 * cus-edit.el (abbrev):
339 * whitespace.el (whitespace):
340 * vcursor.el (vcursor):
341 * reveal.el (reveal):
342 * hl-line.el (hl-line): Put in convenience group.
344 * epg-config.el (epg): Put in data group.
346 * emulation/pc-select.el (pc-select): Put in emulations group.
348 * calculator.el (calculator): Put in applications group.
350 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
352 Add .dir-locals.el support for file-less buffers.
353 * files.el (hack-local-variables): Split out code to apply local
354 variable settings ...
355 (hack-local-variables-apply): ... here. New function.
356 (hack-dir-local-variables): Use the default directory for when the
357 buffer does not have an associated file.
358 (hack-dir-local-variables-non-file-buffer): New function.
359 * diff-mode.el (diff-mode):
360 * vc-annotate.el (vc-annotate-mode):
361 * vc-dir.el (vc-dir-mode):
362 * log-edit.el (log-edit-mode):
363 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
365 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
367 Add support for shelving snapshots and for showing shelves.
368 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
369 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
371 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
372 (vc-bzr-extra-menu-map): Map them.
374 2010-03-11 Glenn Morris <rgm@gnu.org>
376 * cus-edit.el (customize-changed-options-previous-release):
379 * image.el (image-animate-max-time): Fix :version tag.
381 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
385 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
387 * vc-git.el (vc-git-revision-table): Include remote branches.
389 2010-03-10 Kim F. Storm <storm@cua.dk>
392 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
394 * image.el (image-animate-max-time): New defcustom.
395 (image-animated-types): New defconst.
396 (create-animated-image, image-animate-timer)
397 (image-animate-start, image-animate-stop, image-animate-timeout)
398 (image-animated-p): New functions.
400 * image-mode.el (image-toggle-display-image):
401 Replace `create-image' with `create-animated-image'.
403 2010-03-09 Miles Bader <Miles Bader <miles@gnu.org>>
405 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
406 instead of "format:"; this ensures that the output is
409 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
411 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
412 that all errors are caught, and that the return value is always a
415 2010-03-08 Kenichi Handa <handa@m17n.org>
417 * language/misc-lang.el (windows-1256): New coding system.
418 (cp1256): New alias of windows-1256 (bug#5690).
420 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
422 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
423 call to rfc822-bad-address. (Bug#5692)
425 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
427 * vc-git.el (vc-git-annotate-extract-revision-at-line): Use
428 vc-git-root as default directory for revision path (Bug#5657).
430 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
432 * calculator.el (calculator): Don't bind split-window-keep-point
435 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
437 * vc-git.el: Re-flow to fit into 80 columns.
438 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
439 Remove spurious `quote' element in each case alternative.
440 (vc-git-show-log-entry): Use prog1.
441 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
443 2010-03-06 Glenn Morris <rgm@gnu.org>
445 * cedet/semantic/grammar.el (semantic-grammar-header-template):
446 Update template copyright to GPLv3+.
448 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
450 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
452 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
454 * macros.el (insert-kbd-macro): Look up keyboard macro using the
455 definition, not the name (Bug#5481).
457 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
459 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
460 argument with a local variable. (Bug#5670)
462 2010-03-02 Juri Linkov <juri@jurta.org>
464 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
466 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
468 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
469 error when FILENAME and NEWNAME are existing remote directories.
471 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
474 2010-03-02 Glenn Morris <rgm@gnu.org>
476 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
477 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
479 2010-03-01 Alan Mackenzie <acm@muc.de>
481 * progmodes/cc-engine.el (c-remove-stale-state-cache):
482 Correct previous patch.
484 2010-03-01 Kenichi Handa <handa@m17n.org>
486 * language/burmese.el (burmese-composable-pattern): Rename from
487 myanmar-composable-pattern.
489 * international/characters.el (script-list):
490 * international/fontset.el (script-representative-chars):
491 Change myanmar to burmese.
492 (otf-script-alist): Likewise.
493 (setup-default-fontset): Likewise. Re-fix :otf spec.
495 2010-03-01 Alan Mackenzie <bug-cc-mode@gnu.org>
497 * cc-engine.el (c-remove-stale-state-cache): Take account of when
498 `good-pos' is in the same macro as `here'. Fixes bug#5649.
500 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
502 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
504 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
506 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
508 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
510 * net/tramp.el (tramp-handle-write-region): START can be a string.
511 Take care in the checks. Reported by Dan Davison
512 <davison@stats.ox.ac.uk>.
514 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
516 * net/dbus.el (dbus-introspect, dbus-get-property)
517 (dbus-set-property, dbus-get-all-properties): Use
518 `dbus-call-method' when noninteractive. (Bug#5645)
520 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
522 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
523 * emacs-lisp/elint.el (elint-add-required-env):
524 * cedet/semantic/db-find.el
525 (semanticdb-find-translate-path-brutish-default):
526 * cedet/ede/make.el (ede-make-check-version):
527 * calendar/icalendar.el (icalendar--add-diary-entry):
528 * calc/calcalg2.el (math-tracing-integral):
529 * files.el (recover-session-finish): Use with-current-buffer
530 instead of save-excursion.
532 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
534 Fix in-buffer completion when after-change-functions modify the buffer.
535 * minibuffer.el (completion--replace): New function.
536 (completion--do-completion): Use it and use relative movement.
538 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
540 * international/fontset.el (setup-default-fontset): Fix :otf spec.
542 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
544 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
545 Allow the characters _<> in the stack entry (Bug#5653).
547 2010-02-26 Kenichi Handa <handa@m17n.org>
549 * language/burmese.el: Fix entries in composition-function-table.
550 (myanmar-composable-pattern): New variable.
552 * international/fontset.el (setup-default-fontset): Add an entry
555 * international/characters.el (script-list): Add Myanmar
558 2010-02-26 Glenn Morris <rgm@gnu.org>
560 * custom.el (custom-initialize-delay): Doc fix.
562 * mail/sendmail.el (send-mail-function): Autoload the call
563 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
565 2010-02-25 Alan Mackenzie <acm@muc.de>
567 * progmodes/cc-engine.el (c-clear-<-pair-props)
568 (c-clear->-pair-props): Correct to wipe category text props, not
571 * progmodes/cc-mode.el (c-after-change): Remove any hard
572 syntax-table properties for <, > which, e.g., C-y has
573 inopportunely converted from category properties.
575 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
577 * files.el (hack-local-variables-filter): For eval forms, also
578 check safe-local-variable-p (Bug#5636).
580 2010-02-24 Eduard Wiebe <usenet@pusto.de>
582 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
583 and use c(ad)r of cddr (Bug#5640).
585 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
587 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
588 setting the modes by `ignore-errors'. It might fail, for example
589 if the file is not owned by the user but the group.
590 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
592 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
594 * files.el (directory-listing-before-filename-regexp): Use
595 stricter matching for iso-style dates, to avoid false matches with
596 date-like filenames (Bug#5597).
598 * htmlfontify.el (htmlfontify): Doc fix.
600 * eshell/eshell.el (eshell): Doc fix.
602 * startup.el (fancy-about-screen): In mode-line, apply
603 mode-line-buffer-id face only to the buffer name (Bug#5613).
605 2010-02-20 Kevin Ryde <user42@zip.com.au>
607 * progmodes/compile.el (compilation-error-regexp-alist-alist):
608 In `watcom' anchor regexp to start of line, to avoid slowness
611 2010-02-20 Eli Zaretskii <eliz@gnu.org>
613 * subr.el (remove-yank-excluded-properties): Explain in a comment
614 why `category' property is removed.
616 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
618 * isearch.el (isearch-update-post-hook, isearch-update): Revert
621 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
623 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
624 (icalendar--convert-weekly-to-ical)
625 (icalendar--convert-yearly-to-ical)
626 (icalendar--convert-block-to-ical)
627 (icalendar--convert-cyclic-to-ical)
628 (icalendar--convert-anniversary-to-ical): Take care of time
629 specifications where hour has 1-digit only (Bug#5549).
631 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
633 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
634 of disassemble output in GDB 7.1.
636 2010-02-19 Glenn Morris <rgm@gnu.org>
638 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
641 2010-02-18 Sam Steingold <sds@gnu.org>
643 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
645 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
647 Use abbreviated file names in bookmarks (bug#5591).
648 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
649 calls to expand-file-name.
650 (bookmark-relocate): Use abbreviated file names in bookmarks.
651 (bookmark-load): Use abbreviated file names in messages.
653 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
655 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
656 expand "." and "..". Reported by Thierry Volpiatto
657 <thierry.volpiatto@gmail.com>.
659 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
661 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
662 permissions of the temporary file to "0600". In case the remote
663 file has no read permissions for the owner, there might be
664 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
666 22010-02-18 Glenn Morris <rgm@gnu.org>
668 * emacs-lisp/authors.el (authors-renamed-files-alist):
669 Add entries for INSTALL.CVS.
671 2010-02-17 Mark A. Hershberger <mah@everybody.org>
673 * vc-bzr.el: Fix typo in Known Bugs section.
675 * isearch.el (isearch-update-post-hook): New hook.
676 (isearch-update): Use the new hook.
678 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
680 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
681 Fix errors in copying directories.
682 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
683 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
684 (tramp-handle-delete-file)
685 (tramp-handle-dired-recursive-delete-directory)
686 (tramp-handle-write-region): Flush also the cache for the upper
689 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
691 * simple.el (save-interprogram-paste-before-kill): Doc fix.
693 * cus-edit.el (hardware): Doc fix.
695 * man.el (man): Add to external custom group.
697 * delim-col.el (columns): Move to wp custom group.
699 * doc-view.el (doc-view): Add to data custom group.
701 * cedet/data-debug.el (data-debug): Move to extensions group.
703 * cedet/ede.el (ede):
704 * cedet/srecode.el (srecode):
705 * cedet/semantic.el (semantic): Put in tools and extensions group.
707 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
709 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
710 by ispell-parse-output (Bug#5575).
712 2010-02-16 Kenichi Handa <handa@m17n.org>
714 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
715 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
716 (skkdic-convert): Use `euc-japan' coding system for writing.
718 2010-02-16 Glenn Morris <rgm@gnu.org>
720 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
721 tex-main-file before using it. (Bug#5562)
723 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
725 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
726 warnings, since it is annoying for the user to see them each time he
729 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
731 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
732 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
733 instead of PROC for caching "first-password-request". Otherwise,
734 new processes would not profit from passwords already entered.
736 * net/tramp-cache.el (tramp-dump-connection-properties):
737 Don't save "first-password-request" property.
739 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
741 * outline.el (outline-head-from-level):
742 * simple.el (with-wrapper-hook):
743 * cedet/ede.el (ede-run-target, project-delete-target)
744 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
745 (ede-adebug-project, ede-adebug-project-parent)
746 (ede-adebug-project-root):
747 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
748 (elint-defun, elint-buffer-env, elint-top-form-logged)
749 (elint-unbound-variable):
750 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
751 Fix typos in docstrings.
753 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
755 * files.el (insert-directory): When WILDCARD-REGEXP and
756 FULL-DIRECTORY-P are nil, insert the file entry instead of the
757 whole directory. (Bug#5551)
759 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
760 dired's alignment sanity. (Bug#5516)
762 2010-02-14 Juri Linkov <juri@jurta.org>
764 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
765 Remove remaining ^H with their preceding chars. (Bug#5566)
767 2010-02-13 Glenn Morris <rgm@gnu.org>
769 * simple.el (transpose-subr): Give it a doc-string.
771 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
774 2010-02-12 Juri Linkov <juri@jurta.org>
776 * arc-mode.el (archive-unique-fname): Make directories for nested
779 2010-02-12 Juri Linkov <juri@jurta.org>
781 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
783 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
785 * subr.el (copy-overlay): Handle deleted overlays.
787 * man.el (Man-completion-table): Don't signal an error if we can't run
788 manual-program (bug#4056).
790 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
792 * textmodes/artist.el (artist-mt): Fix typos in docstring.
794 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
796 * info.el (Info-bookmark-jump): Simplify.
798 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
799 (bookmark-default-handler): Accept new bookmark field `buffer'.
801 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
803 * iswitchb.el (iswitchb-completions): Revert last change.
805 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
807 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
808 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
809 This prevents file names like "~/" being listed literally.
811 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
813 * term/xterm.el (xterm-maybe-set-dark-background-mode):
814 Remove dead code. (Bug#5546)
816 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
818 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
819 correctly (Bug#5548).
821 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
823 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
824 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
826 2010-02-08 Kenichi Handa <handa@m17n.org>
828 * international/mule-util.el (with-coding-priority): Add autoload
829 cookie for putting `lisp-indent-function'.
831 2010-02-07 Glenn Morris <rgm@gnu.org>
833 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
834 Move F2003 named interfaces from keywords-2 to keywords-1, and
835 use function-name-face rather than constant-face.
836 Simplify "abstract interface" regexp.
838 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
840 * eshell/esh-util.el (eshell-file-attributes): New optional arg
841 ID-FORMAT. Pass it to `file-attributes'.
843 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
845 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
847 * faces.el (set-face-attribute): Allow calling
848 internal-set-lisp-face-attribute with 'unspecified family and
849 foundry argument (Bug#5536).
851 2010-02-07 Glenn Morris <rgm@gnu.org>
853 * progmodes/f90.el (f90-font-lock-keywords-2)
854 (f90-looking-at-type-like, f90-looking-at-program-block-end):
855 Handle F2003 named interfaces.
857 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
859 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
860 beg and end before calling c-get-state-before-change-functions.
862 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
864 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
866 2010-02-05 Juri Linkov <juri@jurta.org>
868 * doc-view.el (doc-view-mode):
869 * image-mode.el (image-mode): Put property mode-class=special.
872 2010-02-05 Mark A. Hershberger <mah@everybody.org>
874 * vc-svn.el (vc-svn-revision-table): New function.
876 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
878 * net/ange-ftp.el (ange-ftp-insert-directory):
879 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
880 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
881 Handle also directories. (Bug#5478)
883 2010-02-05 Glenn Morris <rgm@gnu.org>
885 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
887 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
889 * startup.el (command-line-1): Convert options beginning with a
890 single dash as well (Bug#5519).
892 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
894 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
895 * minibuffer.el (completion-initials-expand): Only check the presence
896 of delims *within* the boundaries, since otherwise the / delim is
897 always found for files.
899 Fix up various corner case problems.
900 * doc-view.el (doc-view-last-page-number): New function.
901 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
902 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
903 (doc-view-kill-proc): Avoid inf-loop in freak cases.
904 (doc-view-reconvert-doc): Use the new recursive delete-directory.
905 (doc-view-convert-current-doc): Don't create the resolution.el file
907 (doc-view-pdf/ps->png): Do it here instead.
908 (doc-view-already-converted-p): Check that resolution.el is present.
909 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
910 windows that are not yet showing images.
912 2010-02-04 Alan Mackenzie <acm@muc.de>
914 Change strategy for marking < and > as template delimiters: mark
915 them strictly in matching pairs.
917 * cc-mode.el (c-before-change):
918 Use c-get-state-before-change-functions.
919 (c-common-init): Adapt to use
920 c-get-state-before-change-functions (note plural).
922 * cc-langs.el (c-no-parens-syntax-table): New syntax table, used
923 for searching syntactically for matching <s and >s.
924 (c-get-state-before-change-functions): New language variable (note
925 the plural) which supersedes c-get-state-before-change-function.
927 * cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
928 (c-clear-<>-pair-props, c-clear-<-pair-props-if-match-after)
929 (c-clear->-pair-props-if-match-before)
930 (c-before-change-check-<>-operators): New functions.
931 (c-after-change-check-<>-operators): Use macro
932 c-unmark-<->-as-paren.
934 * cc-defs.el (c-search-backward-char-property): New macro.
936 * cc-cmds.el (c-electric-lt-gt): Do not set text properties on <
937 and > any more. (These will be handled by font locking.)
939 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
941 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
942 `dired-uncache' for every elemnt which is an absolute file name.
944 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
945 directory, handle its directory component.
946 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
947 function is called permanently and creates noise, otherwise.
949 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
950 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
951 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
953 2010-02-04 David Burger <dburger@google.com> (tiny change)
955 * macros.el (apply-macro-to-region-lines):
956 Minor simplification. (Bug#5485)
958 2010-02-04 Glenn Morris <rgm@gnu.org>
960 * mail/rmail.el (rmail-show-message-1): Handle malformed
961 quoted-printable text. (Bug#5441)
963 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
965 * simple.el (visual-line-mode): Capitalize lighter.
967 2010-02-03 John Wiegley <jwiegley@gmail.com>
969 * iswitchb.el (iswitchb-completions): Add bookmark files to the
970 list of files considered for "virtual buffer" completions.
972 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
974 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
975 also in case of (and (not full) (not wildcard)). This is needed,
976 when dired is called with a list of files, which are not in
977 `default-directory'. (Bug#5478)
979 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
981 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
983 2010-02-02 Juri Linkov <juri@jurta.org>
985 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
986 from unidiff to allow function-line after @@.
988 2010-02-02 Juri Linkov <juri@jurta.org>
990 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
991 '(RCS SCCS) with inverted condition.
993 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
995 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
998 2010-02-01 Juri Linkov <juri@jurta.org>
1000 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
1001 compare with "pkunzip" and "pkzip" instead of only "pkzip".
1002 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
1003 only when (car archive-zip-extract) is "unzip". (Bug#5475)
1005 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
1008 (doc-view-revert-buffer): New command.
1009 (doc-view-mode-map): Use it.
1011 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
1013 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
1014 pending merge is detected.
1016 2010-01-31 Juri Linkov <juri@jurta.org>
1018 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
1019 beginning of interactive spec like all other grep commands do.
1020 Put "all" in front of "gz". (Bug#5260)
1022 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
1024 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
1026 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
1028 * dirtrack.el (dirtrack): Warn instead of signalling error if the
1029 regexp is incorrect (Bug#5476).
1031 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
1033 * net/tramp.el (tramp-handle-insert-directory): Handle also
1034 symlinks, when FILENAME is not in `default-directory'.
1036 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
1038 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
1039 FILE is not in `default-directory'. (Bug#5478)
1041 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
1042 of SWITCHES. Handle the case, FILENAME is not in
1043 `default-directory'. (Bug#5478)
1044 (tramp-register-file-name-handlers): Add safe-magic property.
1046 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
1048 * arc-mode.el (archive-zip-extract): Quote the argument passed to
1051 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
1053 * progmodes/flymake.el (flymake-allowed-file-name-masks)
1054 (flymake-master-make-header-init): Add other C++ filename masks.
1055 (flymake-find-possible-master-files)
1056 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
1058 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
1060 Fix some busybox annoyances.
1062 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
1063 not responding." string.
1064 (tramp-open-connection-setup-interactive-shell): Dump stty
1065 settings. Enable "neveropen" arg for all `tramp-send-command'
1066 calls. Handle "=" in variable values properly.
1067 (tramp-find-inline-encoding): Raise an error, when no encoding is
1069 (tramp-wait-for-output): Check, whether PROC buffer is available.
1070 Remove spurious " ^H" sequences, sent by busybox.
1071 (tramp-get-ls-command): Suppress coloring, if possible.
1073 2010-01-28 Glenn Morris <rgm@gnu.org>
1075 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
1077 * log-edit.el (log-edit-strip-single-file-name): Add missing
1078 :safe, :group, and :version tags.
1080 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
1082 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
1085 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
1087 * files.el (delete-directory): Handle moving to trash without
1088 first doing recursion (Bug#5436).
1090 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
1092 * vc-hooks.el (vc-path): Mark as obsolete.
1094 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
1096 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
1099 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
1101 (vc-bzr-log-view-mode): Adjust regexp for the above change.
1103 2010-01-25 Mark A. Hershberger <mah@everybody.org>
1105 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
1107 * vc-bzr.el (vc-bzr-revision-table): New function.
1109 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
1111 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
1112 diff-index command. This requires at least git-1.5.5. (Bug#1589).
1114 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
1116 Remove support for adding --signoff on commit.
1117 Future support will use an incompatible generic mechanism.
1118 * vc-git.el (vc-git-add-signoff): Remove variable.
1119 (vc-git-toggle-signoff): Remove function.
1120 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
1122 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
1123 from xterm-set-background-mode. Return t if the background mode
1125 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
1126 earlier, call it again in case the background mode has changed.
1128 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
1130 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
1133 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
1135 * emacs-lisp/assoc.el (aelement): Doc fix.
1136 (aput, adelete, amake): Use lexical-let (Bug#5450).
1138 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
1140 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
1141 is the same as subprogram call, not declaration. (Bug#5435).
1143 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
1145 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
1146 (tramp-smb-maybe-open-connection): Use it.
1148 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
1150 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
1152 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
1155 just because we see "encoding: 8bit".
1156 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
1158 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
1160 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
1162 2010-01-22 Eli Zaretskii <eliz@gnu.org>
1164 * jka-compr.el (jka-compr-load): If load-file is not in
1165 load-history, try its file-truename version. (bug#5447)
1167 2010-01-21 Alan Mackenzie <acm@muc.de>
1169 Fix a situation where deletion of a cpp construct throws an error.
1170 * progmodes/cc-engine.el (c-invalidate-state-cache): Before
1171 invoking c-with-all-but-one-cpps-commented-out, check that the
1172 special cpp construct is still in the buffer.
1173 (c-parse-state): Record the special cpp with markers, not numbers.
1175 2010-01-21 Kenichi Handa <handa@m17n.org>
1177 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
1178 process last-command-event, as it is now decoded first (Bug#5380).
1180 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
1182 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
1184 2010-01-20 Glenn Morris <rgm@gnu.org>
1186 * indent.el (tab-always-indent): Fix custom-type.
1188 2010-01-19 Alan Mackenzie <acm@muc.de>
1190 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
1191 buffer throws "args out of range".
1192 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
1193 playing the role of delimiter.
1195 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
1197 * progmodes/ada-mode.el: Fix bug#5400.
1198 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
1199 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
1200 changed. Delete RECURSIVE parameter; never used. Improve doc string.
1201 Improve comments in "is" portion. Handle null procedure declaration.
1202 (ada-move-to-end): Improve doc string.
1204 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
1206 * ido.el (ido-cur-list): Initialize to nil.
1207 Remove obsolete information from commentary.
1208 (ido-choice-list): Initialize to nil.
1209 (ido-get-bufname): Reject minibuffers.
1210 (ido-make-buffer-list): If "default" is a nonexistent
1211 buffer, ignore it, as per the function's comment.
1212 (ido-kill-buffer-internal): New function.
1213 (ido-kill-buffer-at-head): Use it.
1214 (ido-visit-buffer): Likewise.
1216 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
1218 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
1220 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1222 * cedet/ede/locate.el (ede-locate-file-in-project)
1223 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1224 (ede-enable-locate-on-project): Fix typos in error messages.
1226 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
1227 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1228 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1229 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1230 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1231 Fix typos in menu help.
1233 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
1234 Fix typos in chart titles.
1236 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
1237 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
1238 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1239 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1240 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1241 (semantic-parse-stream, semantic-parse-region)
1242 (semantic-parse-region-default, semantic--set-buffer-cache)
1243 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1244 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1245 (semantic-default-submodes):
1246 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1247 (semanticdb-create-ebrowse-database)
1248 (semanticdb-find-tags-for-completion-method)
1249 (semanticdb-find-tags-by-class-method)
1250 (semanticdb-deep-find-tags-by-name-method)
1251 (semanticdb-deep-find-tags-for-completion-method):
1252 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1253 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1254 (semanticdb-find-tags-for-completion-method)
1255 (semanticdb-find-tags-by-class-method)
1256 (semanticdb-deep-find-tags-for-completion-method):
1257 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
1258 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1259 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1260 (semanticdb-find-tags-by-name-method)
1261 (semanticdb-find-tags-by-name-regexp-method)
1262 (semanticdb-find-tags-for-completion-method)
1263 (semanticdb-find-tags-by-class-method)
1264 (semanticdb-find-tags-external-children-of-type-method)
1265 (semanticdb-find-tags-subclasses-of-type-method)
1266 (semanticdb-deep-find-tags-by-name-method)
1267 (semanticdb-deep-find-tags-by-name-regexp-method)
1268 (semanticdb-deep-find-tags-for-completion-method):
1269 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1270 (semanticdb-enable-gnu-global-in-buffer)
1271 (semanticdb-find-tags-for-completion-method)
1272 (semanticdb-deep-find-tags-by-name-method)
1273 (semanticdb-deep-find-tags-for-completion-method):
1274 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
1275 (javascript-mode, semanticdb-find-translate-path)
1276 (semanticdb-find-tags-for-completion-method)
1277 (semanticdb-find-tags-by-class-method)
1278 (semanticdb-deep-find-tags-by-name-method)
1279 (semanticdb-deep-find-tags-for-completion-method)
1280 (semanticdb-find-tags-external-children-of-type-method):
1281 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
1282 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1283 (global-semantic-idle-scheduler-mode):
1284 * cedet/srecode/dictionary.el (srecode-field-value)
1285 (srecode-dictionary-add-section-dictionary):
1286 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
1287 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
1288 (describe-class, eieio-describe-generic, describe-generic):
1289 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
1290 (eieio-speedbar-expand):
1291 * emulation/viper-cmd.el (viper-exec-form-in-vi)
1292 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
1293 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
1294 (viper-del-backward-char-in-replace, viper-backward-indent)
1295 (viper-brac-function, viper-register-to-point, viper-submit-report):
1296 * net/tramp.el (tramp-remote-coding-commands):
1297 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
1298 Fix typos in docstrings.
1300 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
1302 * mail/sendmail.el (mail-yank-original): Set the mark if the
1303 specified function for yanking does not do it.
1305 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
1307 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
1309 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
1310 resyncing a directory.
1312 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
1314 * progmodes/ada-mode.el: Fix bug#1920.
1315 (ada-ident-re): Delete ., allow multibyte characters.
1316 (ada-goto-label-re): New; matches goto labels.
1317 (ada-block-label-re): New; matches block labels.
1318 (ada-label-re): New; matches both.
1319 (ada-named-block-re): Deleted; callers changed to use
1320 `ada-block-label-re' instead.
1321 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
1322 Use `ada-block-label-re'.
1323 (ada-indent-on-previous-lines): Improve handling of goto labels.
1324 (ada-get-indent-block-start): Special-case block label.
1325 (ada-get-indent-label): Split into `ada-indent-block-label' and
1326 `ada-indent-goto-label'.
1327 (ada-goto-stmt-start, ada-goto-next-non-ws):
1328 Optionally ignore goto labels.
1329 (ada-goto-next-word): Simplify.
1330 (ada-indent-newline-indent-conditional): Insert newline before
1331 trying to fix indentation; doc fix.
1333 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
1335 * calc/calc.el (calc-command-flags): Give it an initial value.
1337 2010-01-17 Glenn Morris <rgm@gnu.org>
1339 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1341 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1343 * cedet/semantic.el (semantic-mode):
1344 * files.el (minibuffer-with-setup-hook):
1345 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
1346 (artist-key-draw-continously, artist-key-do-continously-continously)
1347 (artist-key-set-point-continously, artist-mouse-draw-continously):
1348 Fix typos in docstrings.
1350 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
1352 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
1353 return t (Bug#3898).
1355 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
1357 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
1358 can parse the output of the external commands (Bug#5279).
1360 2010-01-16 Jari Aalto <jari.aalto@cante.net>
1362 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
1364 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
1366 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
1368 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
1370 * startup.el (command-line): Remove unused --icon-type arg.
1371 Handle --display arg, passing it to command-line-1 (Bug#5392).
1373 2010-01-16 Mario Lang <mlang@delysid.org>
1375 * cedet/ede/cpp-root.el (ede-cpp-root-project):
1376 * cedet/ede/files.el (ede-expand-filename):
1377 * cedet/ede/simple.el (ede-simple-project):
1378 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1379 (semantic-complete-inline-tag-engine):
1380 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
1381 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
1382 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
1383 * cedet/semantic/db.el (semanticdb-equivalent-mode):
1384 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1385 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
1386 * emacs-lisp/chart.el (chart-translate-namezone):
1387 * textmodes/artist.el (artist-compute-popup-menu-table):
1388 Remove duplicated words in doc-strings.
1390 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
1392 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
1393 to mairix-search to suppress threading (Bug#5342).
1395 2010-01-15 Kenichi Handa <handa@m17n.org>
1397 * international/mule-cmds.el (canonicalize-coding-system-name):
1398 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
1400 2010-01-15 Glenn Morris <rgm@gnu.org>
1402 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
1404 * wid-edit.el (widget-keymap): Doc fix.
1406 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
1407 former seems to be more widely accepted by various svn versions.
1409 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1411 * find-cmd.el (find-constituents):
1412 * vc-arch.el (vc-arch-root):
1413 * window.el (window-body-height, pop-up-frames):
1414 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
1415 (semantic-no-reparse-needed-change-hook):
1416 * cedet/srecode/insert.el (srecode-resolve-argument-list)
1417 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1418 (srecode-template-inserter-ask, srecode-template-inserter-width)
1419 (srecode-template-inserter-section-start)
1420 (srecode-template-inserter-section-end, srecode-insert-method):
1421 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
1422 * progmodes/ada-stmt.el (ada-if):
1423 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
1424 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
1425 (ispell-encoding8-command, ispell-aspell-supports-utf8)
1426 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
1428 * progmodes/flymake.el (flymake-post-syntax-check):
1429 Fix typo in error message.
1431 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1433 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
1434 which is always a string. (Bug#5313)
1436 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1438 * progmodes/ada-xref.el (ada-default-prj-properties):
1439 Simplify previous change.
1441 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
1443 * progmodes/ada-xref.el (ada-default-prj-properties):
1444 Default ada_project_path to $ADA_PROJECT_PATH.
1446 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
1448 * progmodes/ada-mode.el (ada-create-keymap):
1449 Override `narrow-to-defun' with `ada-narrow-to-defun'.
1451 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
1453 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
1454 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
1455 (ada-get-current-indent, ada-imenu-generic-expression)
1456 (ada-which-function): Check for it.
1458 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
1460 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
1461 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
1463 2010-01-14 Glenn Morris <rgm@gnu.org>
1465 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
1467 2010-01-14 Kenichi Handa <handa@m17n.org>
1469 * composite.el (auto-composition-mode): Make it a buffer local
1470 variable (permanent-local).
1471 (auto-composition-function): Set the default value to
1473 (auto-composition-mode): Make it a simple function, not a minor mode.
1474 (global-auto-composition-mode): Likewise.
1475 (turn-on-auto-composition-if-enabled): Delete it.
1477 2010-01-13 Karl Fogel <kfogel@red-bean.com>
1479 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
1481 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
1483 * files.el (copy-directory): Compute target for recursive
1484 directories with identical names. (Bug#5343)
1486 2010-01-12 Glenn Morris <rgm@gnu.org>
1488 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
1489 it to bug-gnu-emacs rather than emacs-pretest-bug.
1491 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1493 * cedet/data-debug.el (data-debug): Fix customization group reference.
1495 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1497 * cedet/semantic/analyze.el (semantic-analyze-push-error)
1498 (semantic-analyze-context, semantic-analyze-context-assignment)
1499 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1500 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
1501 (semantic-java-doc-keywords-map):
1502 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1503 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1504 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
1505 (semantic-c-classname, semantic-format-tag-uml-prototype)
1506 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
1507 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
1508 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
1509 (semantic-get-local-variables, semantic-end-of-command)
1510 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
1512 * cedet/semantic/bovine/make.el (makefile-mode):
1513 * cedet/semantic/wisent/python.el (wisent-python-string-re)
1514 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
1515 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
1516 (semantic-lex, semantic-get-local-variables, python-mode):
1517 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
1518 * cedet/srecode/extract.el (srecode-extract-state-set)
1519 (srecode-extract-method): Fix typos in docstrings.
1521 2010-01-11 Sam Steingold <sds@gnu.org>
1523 * imenu.el (imenu-default-create-index-function): Detect infinite
1524 loops caused by imenu-prev-index-position-function.
1526 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
1528 * htmlfontify.el (htmlfontify-load-rgb-file)
1529 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
1530 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
1531 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
1532 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
1533 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
1534 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
1535 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
1536 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
1537 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
1538 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
1539 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
1540 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
1541 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
1542 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
1543 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
1544 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
1545 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
1546 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
1547 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
1548 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
1549 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
1550 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
1551 backslash-quoting from parentheses, etc.
1553 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
1555 * progmodes/js.el: Autoload javascript-mode alias.
1557 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
1559 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
1560 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
1561 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
1562 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
1563 Fix typos in docstrings.
1564 (ffap-url-regexp): Doc fix.
1565 (ffap-at-mouse): Fix typo in message.
1567 2010-01-11 Glenn Morris <rgm@gnu.org>
1569 * version.el (emacs-copyright): Set copyright year to 2010.
1571 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1573 * format.el (format-annotate-function): Only set
1574 write-region-post-annotation-function after running to-fn so as not to
1575 affect nested write-region calls (bug#5273).
1577 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
1579 * cedet/semantic.el (semantic-new-buffer-setup-functions):
1582 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
1585 2010-01-10 Richard Kim <emacs18@gmail.com>
1587 * cedet/semantic/wisent/python-wy.el:
1588 * cedet/semantic/wisent/python.el: New files.
1590 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
1592 * man.el (Man-goto-section): Signal error if the section is not
1595 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
1597 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
1598 URLs with a leading triple slash in the file: scheme. (Bug#5345)
1600 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
1602 * progmodes/compile.el: Don't treat compile-command as safe if
1603 compilation-read-command might be nil (Bug#4218).
1605 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
1607 * startup.el (command-line-1): Use orig-argi to check for ignored X and
1610 2010-01-08 Kenichi Handa <handa@m17n.org>
1612 * international/fontset.el (build-default-fontset-data):
1613 Exclude characters in scripts kana, hangul, han, or cjk-misc.
1615 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
1617 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
1618 to `create-file-buffer' as it expects, not just a buffer name.
1619 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
1620 to help uniquify. (Bug#3224)
1622 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
1624 * font-setting.el (font-setting-change-default-font): Use user-spec
1627 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
1629 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
1631 2010-01-05 Tom Tromey <tromey@redhat.com>
1633 * progmodes/python.el (python-font-lock-keywords):
1634 Handle qualified decorators (Bug#881).
1636 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
1638 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
1639 in a lightweight checkout.
1641 2010-01-05 Kenichi Handa <handa@m17n.org>
1643 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
1645 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
1647 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
1649 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
1651 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
1652 checkouts. (Bug#618)
1653 (vc-bzr-log-view-mode): Also highlight the author.
1654 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
1655 (vc-bzr-shelve-menu-map):
1656 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
1657 (vc-bzr-shelve-apply): Make prompt more explicit.
1659 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
1661 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
1662 They are valid characters in URL paths (rfc3986), and at least
1663 Firefox does not understand the encoded version (Bug#3166).
1665 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
1667 * progmodes/octave-mod.el (octave-end-keywords)
1668 (octave-block-begin-or-end-regexp, octave-block-match-alist):
1669 Add "end" keyword (Bug#3061).
1670 (octave-end-as-array-index-p): New function.
1671 (calculate-octave-indent): Use it.
1673 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1675 * bookmark.el: Consistently put the text property on the bookmark name.
1676 (bookmark-bmenu-marks-width): Bump back to 2, to include
1678 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
1679 property on the bookmark name, instead of not putting it at all.
1680 (bookmark-bmenu-list): Fix where we put the text property.
1682 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1684 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
1685 for showing buffer modified state (as added in the previous change).
1687 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1689 * bookmark.el: Show modified state of bookmark buffer more accurately.
1690 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
1691 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
1692 (with-buffer-modified-unmodified): New macro.
1693 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
1694 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
1695 Use new macro to preserve the buffer modified state.
1697 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1699 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
1700 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
1701 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
1702 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
1703 (bookmark-bmenu-rename, bookmark-bmenu-locate)
1704 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
1705 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
1707 2010-01-02 Eli Zaretskii <eliz@gnu.org>
1709 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1710 Make the lines in the generated doc string shorter. (Bug#4668)
1712 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
1714 * net/rcirc.el: Add follow-link binding (Bug#4738).
1716 2010-01-02 Eli Zaretskii <eliz@gnu.org>
1718 * Makefile.in (bzr-update): Rename from cvs-update.
1719 (cvs-update): New target for backward compatibility.
1721 * makefile.w32-in (bzr-update): Rename from cvs-update.
1722 (cvs-update): New target for backward compatibility.
1724 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1726 * bookmark.el: Remove gratuitous gratitude.
1728 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1730 * bookmark.el (bookmark-bmenu-any-marks): New function
1731 (bookmark-bmenu-save): Clear buffer modification if no marks.
1733 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1735 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
1736 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
1737 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
1738 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
1740 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
1741 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
1742 To: emacs-devel {_AT_} gnu.org
1743 Subject: bookmark.el bug report
1744 Date: Mon, 28 Dec 2009 14:19:16 +0800
1745 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
1747 2010-01-02 Karl Fogel <kfogel@red-bean.com>
1749 * bookmark.el: Improvements suggested by Drew Adams:
1750 (bookmark-bmenu-ensure-position): New name for
1751 `bookmark-bmenu-check-position'. Just ensure the position,
1752 don't return any meaningful value.
1753 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
1756 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
1758 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
1759 (bookmark-yank-point, bookmark-bmenu-check-position):
1760 Fix typos in docstrings.
1761 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
1762 (bookmark-name-from-full-record, bookmark-get-position)
1763 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
1764 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
1765 Remove useless quoting of parenthesis, etc. in docstrings.
1767 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
1768 (ediff-append-custom-diff): Fix typo in error message.
1769 (ediff-meta-mark-equal-files): Fix typos in messages.
1771 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
1773 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
1774 Fix typo in docstring.
1776 * net/imap-hash.el (imap-hash-make): Doc fix.
1777 (imap-hash-test): Fix typo in error message; reflow docstring.
1778 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
1779 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
1780 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
1781 Fix typos in docstrings.
1782 (imap-hash-open-connection): Fix typo in error message.
1784 * play/gomoku.el (gomoku): Fix typos in docstring.
1786 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
1787 (gdb-jsonify-buffer): Fix typos in docstring.
1788 (gdb-goto-breakpoint): Fix typo in error message.
1789 ("Display Other Windows"): Fix typo in help message.
1790 (gdb-speedbar-expand-node): Fix typo in question.
1792 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
1793 (idlwave-html-system-help-location, idlwave-html-help-location)
1794 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
1795 (idlwave-help-browser-generic-args, idlwave-help-directory)
1796 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
1797 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
1798 (idlwave-online-help, idlwave-help-html-link)
1799 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
1800 Fix typos in docstrings.
1801 (idlwave-help-with-source, idlwave-help-find-routine-definition):
1803 (idlwave-help-assistant-start): Fix typo in error message.
1805 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
1806 (octave-electric-space): Fix typos in docstrings.
1808 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
1810 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
1812 2010-01-01 Juri Linkov <juri@jurta.org>
1814 * comint.el (comint-input-ring-size): Make it a defcustom and
1815 increase the default to 500 (Bug#5148).
1817 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
1819 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
1820 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
1821 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
1823 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
1825 Show working revision correctly for mercurial.
1826 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
1827 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
1829 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
1831 Declare some functions for the byte-compiler.
1832 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
1833 (speedbar-timer-fn, speedbar-change-expand-button-char)
1834 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
1836 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
1838 This changeset reverts GDB Graphical Interface to use annotations.
1839 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
1841 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
1843 Make vc-dir work on subdirectories of the bzr root.
1844 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
1845 file names relative to it.
1846 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
1847 relative directory to vc-bzr-after-dir-status.
1849 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
1851 * font-lock.el (font-lock-refresh-defaults): New function, which
1852 can be used to let font-lock react to external changes in
1853 variables like font-lock-defaults and keywords.
1854 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
1856 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
1858 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
1860 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
1862 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
1864 Supersede color.diff settings in git log (bug#5211).
1866 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
1867 escape chars in its output when the user has color.diff set to `always'.
1868 This fix works on git 1.4.2 and newer (released on 2006-08-13).
1870 2009-12-26 Kevin Ryde <user42@zip.com.au>
1872 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
1873 node. Keep previous "Index" name to work with past coreutils too.
1875 * man.el (man): Revise docstring a bit to show -a and -l as
1876 examples. Add -k description since support for it has otherwise
1877 been a secret. (Further to bug#3717.)
1878 (Man-bgproc-sentinel): When "-k foo" produces no output show error
1879 "no matches" rather than "Can't find manpage", as the latter reads
1880 like -k was interpreted as a page name, which is not so. (Bug#5431)
1882 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
1884 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
1885 switches. Check also for //SUBDIRED// line.
1887 2009-12-25 Kenichi Handa <handa@m17n.org>
1889 * language/indian.el (devanagari-composable-pattern): Fixed to
1890 handle ZWNJ and ZWJ. Use it in composition-function-table for
1892 (malayalam-composable-pattern): Fix previous change.
1894 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1896 * ps-print.el (ps-face-attributes): It was not returning the
1897 attribute face for faces specified as string. Reported by harven
1899 (ps-print-version): New version 7.3.5.
1901 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
1903 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
1905 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
1906 (icalendar--add-diary-entry): Remove the trailing blank that
1907 diary-make-entry inserts.
1909 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
1911 Make `file-expand-wildcards' work for remote files.
1913 * files.el (file-expand-wildcards): In case of remote files, check
1914 only local file name part for wildcards. Provide feature 'files
1915 and subfeature 'remote-wildcards. (Bug#5198)
1917 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
1918 if there is already an established connection.
1919 (tramp-advice-file-expand-wildcards): Remove it.
1921 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
1922 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
1923 Activate advice for older GNU Emacs versions. (Bug#5237)
1925 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
1927 Some doc fixes (more needed).
1929 * find-cmd.el (find-constituents): Reflow docstring.
1930 (find-cmd, find-prune, find-command): Fix typos in docstrings.
1931 (find-generic): Doc fix.
1933 2009-12-17 Juri Linkov <juri@jurta.org>
1935 Fix regression from 23.1 to allow multiple modes in Local Variables.
1937 * files.el (hack-local-variables-filter): While ignoring duplicates,
1938 don't take `mode' into account.
1939 (hack-local-variables-filter, hack-dir-local-variables): Don't
1940 remove duplicate `mode' from local-variables-alist (like `eval').
1942 2009-12-17 Juri Linkov <juri@jurta.org>
1944 Make `dired-diff' more safe. (Bug#5225)
1946 * dired-aux.el (dired-diff): Signal an error when `file' equals to
1947 `current' or when `file' is a directory of the `current' file.
1949 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
1951 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
1952 unconditionally preloaded files.
1954 2009-12-16 Juri Linkov <juri@jurta.org>
1956 Revert to old 23.1 logic of using the file at the mark as default.
1957 * dired-aux.el (dired-diff): Use the file at the mark as default
1958 if it's not the same as the current file, and the target dir is
1959 the current dir or the mark is active. Add the current file
1960 as the arg of `dired-dwim-target-defaults'. Use the default file
1961 in the prompt. (Bug#5225)
1963 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
1965 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
1966 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
1967 (tramp-check-for-regexp): Check also, when an echoing shell stops
1968 to echo sent commands.
1970 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1972 * Makefile.in: Revert last change (Bug#5191).
1974 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1976 * vc-hg.el (vc-hg-print-log): Fix argument order.
1977 (vc-hg-working-revision): Make sure the command is executed in a
1978 known environment so that we can parse the output. (Bug#4417)
1980 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1982 * progmodes/python.el (python-symbol-completions): Remove text
1983 properties from symbol string before calling python-send-receive.
1985 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
1987 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
1988 when there are values for both file and line. (Bug#5060)
1990 2009-12-14 Juri Linkov <juri@jurta.org>
1992 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
1993 whitespace after the file name of the first line of unified format,
1994 because git-diff doesn't output whitespace and file modification time
1995 after the file name.
1997 2009-12-14 David Kastrup <dak@gnu.org>
1999 * info.el (Info-hide-cookies-node): Before hiding a cookie,
2000 check if it already has the `display' property added by
2001 `Info-display-images-node', and not put the `invisible' property
2004 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
2006 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2007 (semantic-mru-bookmark-mode): Doc fixes.
2009 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
2012 2009-12-13 Glenn Morris <rgm@gnu.org>
2014 * mail/emacsbug.el (message-sort-headers): Define for compiler.
2015 (report-emacs-bug): In message-mode, sort manually before storing
2016 original report text. (Bug#5178)
2017 Remove superfluous save-excursion.
2019 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
2021 * net/dbus.el (dbus-property-handler): Filter lambda forms out
2022 when responding to "GetAll" properties.
2024 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
2026 * simple.el (compose-mail): Remove mail-setup-with-from from
2027 customization checks.
2029 2009-12-12 Eli Zaretskii <eliz@gnu.org>
2031 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
2032 RAR archives created on Unix systems.
2034 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
2037 the varalias that was accidentally removed by the 2009-11-19 change
2040 2009-12-12 Kenichi Handa <handa@m17n.org>
2042 * language/indian.el (indian-compose-regexp): New function.
2043 (malayalam-composable-pattern): Fix the pattern.
2044 (composition-function-table): Set malayalam-composable-pattern for
2045 Malayalam characters.
2047 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
2049 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
2050 rather than down-mouse-1, based on follow-link conventions.
2052 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
2055 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
2057 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
2058 (verilog-vmm-statement-re, verilog-ovm-statement-re)
2059 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
2060 (verilog-leap-to-head, verilog-backward-token):
2061 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
2063 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
2065 * progmodes/verilog-mode.el (verilog-auto-lineup)
2066 (verilog-nameable-item-re): Cleanup user-visible spelling and
2067 documentation errors. One reported by Gary Delp.
2068 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
2069 (verilog-read-decls): Fix AUTOWIRE with types declared in a
2070 package, bug195. Reported by Pierre-David Pfister.
2072 2009-12-11 Glenn Morris <rgm@gnu.org>
2074 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
2076 * mail/emacsbug.el: No longer require sendmail.
2077 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
2078 (report-emacs-bug-orig-text): Doc fix.
2079 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
2080 New local variables, to adapt to different mail-user-agents.
2081 (report-emacs-bug): Fix test for a gnu.org address.
2082 Use overlays for emphasis, since font-lock defeats 'face property.
2083 Pretest bugs also end up at the newsgroup these days.
2084 Stop message-mode stripping text properties.
2085 Set and use the new buffer-local variables.
2086 (report-emacs-bug-hook): Add doc-string.
2087 Remove some unnecessary save-excursions and simplify.
2088 Use the appropriate hook and send-command.
2090 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
2091 capitalization of some menu entries.
2093 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2095 * whitespace.el (whitespace-display-char-on): Ensure
2096 `buffer-display-table' is unique when two or more windows are
2097 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
2100 2009-12-10 Eli Zaretskii <eliz@gnu.org>
2102 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
2103 characters in the Attribute field.
2105 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2107 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
2109 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2111 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
2112 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2113 Disregard autoload-excludes.
2114 (update-directory-autoloads): Obey autoload-excludes here instead.
2115 But don't store its contents in no-autoloads and remove entries that
2116 refer to excludes files.
2118 2009-12-10 Glenn Morris <rgm@gnu.org>
2120 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
2121 (expand-mail-aliases): Define for compiler.
2123 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
2124 Define for compiler.
2126 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
2127 appropriate for the mail-user-agent in use.
2129 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
2131 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
2133 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
2135 Fix short log parsing and fontification.
2136 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
2137 Fix fontification for the [merge] label.
2139 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
2141 Drop some properties to avoid surprises.
2142 * htmlfontify.el (hfy-ignored-properties): New defcustom.
2143 (hfy-fontify-buffer): Use it.
2145 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
2150 (ffap-locate-file): Remove unused arg `dir-ok' and make other
2151 args compulsory. Adjust callers.
2152 (ffap-gopher-at-point): Remove unused var `name'.
2154 Get rid of the ELCFILES abomination.
2155 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
2156 (compile-elcfiles): New phony target.
2157 (compile-main): Compute ELCFILES dynamically.
2158 (compile-clean): New target to remove left-over elc files.
2159 (compile, all): Use it.
2161 2009-12-09 Kenichi Handa <handa@etlken>
2163 * international/mule-diag.el: Require help-mode instead of help-fns.
2165 2009-12-09 Kenichi Handa <handa@m17n.org>
2167 * international/mule-cmds.el (ucs-names): Supply sufficiently
2168 fine ranges instead of pre-calculating accurate ranges.
2169 Iterate with bigger gc-cons-threshold.
2171 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
2173 Add support for stashing a snapshot of the current tree.
2174 * vc-git.el (vc-git-stash-snapshot): New function.
2175 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
2177 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
2179 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
2180 instead of `(beginning|end)-of-line'.
2182 2009-12-08 Glenn Morris <rgm@gnu.org>
2184 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
2186 * Makefile.in (ELCFILES): Regenerate.
2188 2009-12-07 Juri Linkov <juri@jurta.org>
2190 Don't lazy-highlight the comint output in history Isearch mode.
2192 * comint.el (comint-history-isearch-search): Instead of
2193 `comint-line-beginning-position', use `comint-after-pmark-p'
2194 to check if point if before the process mark, and go to
2195 `process-mark' in this case.
2197 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * textmodes/tex-mode.el (latex-complete)
2200 (latex-indent-or-complete): Remove.
2201 (latex-mode): Set completion-at-point-functions instead.
2203 Provide a standard completion command and hook it into TAB.
2204 * minibuffer.el (completion-at-point-functions): New var.
2205 (completion-at-point): New command.
2206 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
2207 * progmodes/python.el (python-mode-map): Use completion-at-point.
2208 (python-completion-at-point): Rename from python-partial-symbol and
2209 adjust for use in completion-at-point-functions.
2210 (python-mode): Setup completion-at-point for Python completion.
2211 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
2212 extracted from lisp-complete-symbol.
2213 (lisp-complete-symbol): Use it.
2214 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
2215 setup completion-at-point for Elisp completion.
2216 (emacs-lisp-mode-map, lisp-interaction-mode-map):
2217 Use completion-at-point.
2218 * ielm.el (ielm-map): Use completion-at-point.
2219 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
2220 * progmodes/sym-comp.el: Move to...
2221 * obsolete/sym-comp.el: Move from progmodes.
2223 2009-12-07 Eli Zaretskii <eliz@gnu.org>
2225 Prevent save-buffer in Rmail buffers from using the coding-system
2226 of the current message, and from clobbering the encoding mnemonics
2227 in the mode line (Bug#4623).
2229 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
2231 (rmail-message-encoding): New variable.
2232 (rmail-write-region-annotate): Record the encoding of the current
2233 message in rmail-message-encoding.
2234 (rmail-after-save-hook): New function, restores the encoding of
2235 the current message after the message collection is saved.
2237 2009-12-07 Juri Linkov <juri@jurta.org>
2239 * progmodes/grep.el (grep-read-files): Use `completing-read'
2240 instead of `read-string'. Set its `collection' arg to
2241 `read-file-name-internal'. (Bug#4301)
2243 2009-12-07 Juri Linkov <juri@jurta.org>
2245 Correctly restore original Isearch point. (Bug#4994)
2247 * isearch.el (isearch-mode): Move `isearch-push-state' after
2248 `(run-hooks 'isearch-mode-hook)'.
2249 (isearch-cancel): When `isearch-push-state-function' is defined,
2250 let-bind `isearch-cmds' to the first state (the last element of
2251 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
2252 function and restores the original point). Otherwise, move point
2253 to `isearch-opoint'.
2255 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2257 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
2258 chars that don't have names, so the table can be built much faster at
2261 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
2263 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
2264 change. Suggested by David Kastrup.
2266 * simple.el (compose-mail): Check for incompatibilities and warn.
2267 (compose-mail-user-agent-warnings): New option.
2269 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
2271 Support showing a single log entry from vc-annotate.
2272 * vc.el (print-log): Add a new argument: START-REVISION.
2273 (vc-print-log-internal): Add a new optional argument and
2274 pass it to the backend.
2275 (vc-print-log, vc-print-root-log): Adjust callers.
2276 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
2277 buffer already displays the requested log entry, use it.
2278 Otherwise display only the log entry in question.
2279 * vc-svn.el (vc-svn-print-log):
2280 * vc-mtn.el (vc-mtn-print-log):
2281 * vc-hg.el (vc-hg-state):
2282 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
2283 (vc-git-show-log-entry): Return t on success.
2284 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
2285 (vc-bzr-show-log-entry): Return t on success.
2286 * vc-rcs.el (vc-rcs-print-log):
2287 * vc-sccs.el (vc-sccs-print-log):
2288 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
2290 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
2292 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
2293 Add menus to the meta mode. (Bug#5043)
2295 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
2297 * ediff-init.el (ediff-event-key): Use event-to-character instead of
2300 * ediff.el (ediff-buffers-internal): Add unwind-protect.
2302 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
2304 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
2305 Berbain <raphael.berbain@gmail.com>.
2307 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
2309 (tramp-initial-end-of-output): New defconst.
2310 (tramp-methods, tramp-find-shell)
2311 (tramp-open-connection-setup-interactive-shell)
2312 (tramp-maybe-open-connection): Use it.
2313 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
2314 existence of `#' and `$'.
2316 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
2317 `tramp-initial-end-of-output'.
2319 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
2321 Get the background mode from the terminal for xterm, and set
2323 * term/xterm.el (xterm-set-background-mode): New function.
2324 (terminal-init-xterm): Use it in case xterm supports background
2325 color queries. Recompute faces after getting the background
2328 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
2330 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
2331 number comment back on its own line, for easier parsing.
2333 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2335 Make it work for non-file buffers (bug#5102).
2336 * doc-view.el (doc-view-current-cache-dir):
2337 Use doc-view-buffer-file-name rather than buffer-file-name.
2338 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
2340 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
2342 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
2343 author field is too short.
2345 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
2347 * vc-git.el (vc-git-print-log): Handle a limit argument.
2348 Display the short log in graph form and with labels.
2349 (vc-git-log-view-mode): Handle labels.
2351 Make vc-revert change VC state from 'added to 'unregistered.
2352 * vc-git.el (vc-git-revert): Call git reset first.
2354 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
2356 * net/newst-backend.el, net/newst-plainview.el:
2357 * net/newst-reader.el, net/newst-ticker.el:
2358 * net/newst-treeview.el, net/newsticker.el:
2359 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
2361 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
2363 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
2365 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
2366 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
2367 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
2368 Update annotation regexp.
2370 * simple.el (beginning-of-visual-line): Constrain to field
2371 boundaries (Bug#5106).
2373 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
2375 * xml.el (xml-substitute-numeric-entities): Move
2376 newsticker--decode-numeric-entities in newst-backend.el to
2377 xml-substitute-numeric-entities in xml.el. (Bug#5008)
2378 * net/newst-backend.el (newsticker--parse-generic-feed)
2379 (newsticker--parse-generic-items)
2380 (newsticker--decode-numeric-entities): Move
2381 newsticker--decode-numeric-entities in newst-backend.el to
2382 xml-substitute-numeric-entities in xml.el. (Bug#5008)
2384 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
2386 * progmodes/js.el (js--js-not): Add null to the list of values.
2388 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
2390 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
2392 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2394 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
2395 delimiter if it is at the end of the current line.
2396 (bibtex-generate-url-list): Fix docstring.
2398 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
2401 minibuffer's content with itself.
2402 Fold the confirm-after-completion case into the `confirm' case.
2403 (completion-pcm-word-delimiters): Add : and / to the delimiters.
2405 2009-12-06 Kevin Ryde <user42@zip.com.au>
2407 * ffap.el (ffap-rfc-path): Make this a defcustom since
2408 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
2410 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
2411 manuals, similar to existing setup for help-mode. (Bug#3913.)
2413 2009-12-05 Juri Linkov <juri@jurta.org>
2415 Save and restore dired buffer's point positions too. (Bug#4880)
2417 * dired.el (dired-save-positions): Return in the first element
2418 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
2420 (dired-restore-positions): First restore buffer's position.
2421 While restoring window's positions, check if window still displays
2422 the original buffer.
2424 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2426 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
2429 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
2430 Make argument optional.
2432 * shell.el (shell): Require ansi-color (Bug#5113).
2434 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
2436 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
2438 2009-12-05 Alan Mackenzie <acm@muc.de>
2440 * progmodes/cc-mode.el (c-before-hack-hook)
2441 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
2442 `c-file-style' to work again. This reversion restores the current
2443 software to its state in Emacs 23.1. (Bug#4146)
2445 2009-12-05 Kevin Ryde <user42@zip.com.au>
2447 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
2448 comment-start-skip to comment-end-skip as comment (Bug#4781).
2450 2009-12-05 Juri Linkov <juri@jurta.org>
2452 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
2453 for virtual nodes. (Bug#4147)
2454 (Info-find-node-2): Set `Info-current-node-virtual' to nil
2455 when moving from a virtual node.
2456 (Info-mode-menu): Add `Info-virtual-index' to the menu.
2457 (Info-mode): Add `Info-virtual-index' to the docstring.
2459 2009-12-05 Eric Ludlam <zappo@gnu.org>
2461 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
2462 Describe project macro symbols.
2464 * cedet/semantic/complete.el (semantic-complete-do-completion):
2465 Don't call semantic-collector-current-exact-match.
2467 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
2468 ede-objects as targets.
2470 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
2471 a target's object list even if compiler vars are already in the
2474 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
2475 list of headers producing necessary macros.
2477 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2479 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
2480 track of the buffer position of the end of a BibTeX entry as this
2481 position may change during reformatting.
2482 (bibtex-format-entry): Remove whitespace before processing
2483 numerical fields so that we recognize the latter properly.
2484 (bibtex-reformat): Do not use push which changes the global value
2485 of bibtex-entry-format.
2486 (bibtex-field-braces-alist, bibtex-field-strings-alist)
2487 (bibtex-field-re-init): Replace only space characters by regexp
2489 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
2490 (bibtex-initialize): Also update bibtex-strings.
2491 (bibtex-kill-field): Preserve white space at end of entry.
2492 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
2493 Update bibtex-reference-keys.
2495 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * minibuffer.el (completion-pcm--merge-try): Also consider placing
2498 point after a star, if that's the only place where modifications can
2501 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
2503 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
2506 2009-12-04 Juri Linkov <juri@jurta.org>
2508 * proced.el (proced): Call `(proced-update t)' to update process
2509 information instead of only running proced-post-display-hook.
2510 (proced-send-signal): Add a leading space to the buffer name
2511 " *Marked Processes*" to make this buffer ephemeral.
2513 2009-12-04 Juri Linkov <juri@jurta.org>
2515 * dired.el (dired-auto-revert-buffer): New defcustom.
2516 (dired-internal-noselect): Use it.
2518 2009-12-04 Juri Linkov <juri@jurta.org>
2520 Change roles of modes and functions in image-mode.el (Bug#5062).
2522 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
2523 in `auto-mode-alist'.
2524 (image-mode-previous-major-mode): New variable.
2525 (image-minor-mode-map): Rename from `image-mode-text-map'.
2526 (image-mode): Move graceful error-handling code from
2527 `image-minor-mode' to here. On errors call `image-mode-as-text'.
2528 (image-minor-mode): Remove all image-handling code.
2529 Replace `image-mode-text-map' with `image-minor-mode-map'.
2530 Check for `image-type' in mode-line format string.
2531 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
2532 (image-mode-as-text): New function with most code from
2534 (image-toggle-display-text): Move code that removes image
2535 properties from `image-toggle-display' to here.
2536 (image-toggle-display-image): New function with code that adds
2537 image properties copied from `image-toggle-display'.
2538 (image-toggle-display): Remove most code with leaving only code
2539 that toggles between `image-mode-as-text' and `image-mode'.
2541 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
2543 * net/newst-treeview.el
2544 (newsticker--treeview-list-highlight-start): Restored call to
2545 save-excursion: Selected item was stuck.
2546 (newsticker--treeview-list-select): New.
2547 (newsticker--treeview-item-show-text)
2548 (newsticker--treeview-item-show)
2549 (newsticker--treeview-item-update): Use new
2550 newsticker-treeview-item-mode.
2551 (newsticker-treeview-update): Keep current item.
2552 (newsticker-treeview-next-new-or-immortal-item): Doc change.
2553 (newsticker--treeview-first-feed): Doc change.
2554 (newsticker-treeview-list-menu)
2555 (newsticker-treeview-item-menu): Added menu entries.
2556 (newsticker-treeview-item-mode): New.
2558 * net/newst-backend.el (newsticker-customize): Delete other
2561 2009-12-04 Sam Steingold <sds@gnu.org>
2563 * log-view.el (log-view-mode-map): "q" calls quit-window,
2564 like in all the other non-self-insert buffers.
2566 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2569 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
2570 key decoding rather than do it manually via last-input-event +
2572 (term-exec): Use delete-and-extract-region.
2573 (term-handle-ansi-terminal-messages): Remove unused var `end'.
2574 (term-process-pager): Remove unused var `i'.
2575 (term-dynamic-simple-complete): Make obsolete.
2576 (serial-update-config-menu): Remove unused vars `y' and `str'.
2577 (term-update-mode-line): Remove unused var `temp'.
2579 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2581 Limit the number of log entries displayed by default.
2582 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
2583 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
2584 using a prefix argument.
2586 2009-12-03 Glenn Morris <rgm@gnu.org>
2588 * progmodes/idlwave.el (class): Restore still useful declaration.
2590 2009-12-03 Alan Mackenzie <acm@muc.de>
2592 Enhance `c-parse-state' to run efficiently in "brace deserts".
2594 * progmodes/cc-mode.el (c-basic-common-init):
2595 Call c-state-cache-init.
2596 (c-neutralize-syntax-in-and-mark-CPP): Rename from
2597 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
2598 placing `category' properties value 'c-cpp-delimiter at its boundaries.
2600 * progmodes/cc-langs.el (c-before-font-lock-function):
2601 c-extend-and-neutralize-syntax-in-CPP has been renamed
2602 c-neutralize-syntax-in-and-mark-CPP.
2604 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
2605 with `category' properties now, not `syntax-table' ones.
2607 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
2608 enhanced (but slower) version of c-end-of-macro that won't land
2609 inside a literal or on another awkward character.
2610 (c-state-cache-too-far, c-state-cache-start)
2611 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
2612 (c-state-nonlit-pos-cache-limit, c-state-point-min)
2613 (c-state-point-min-lit-type, c-state-point-min-lit-start)
2614 (c-state-min-scan-pos, c-state-brace-pair-desert)
2615 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
2616 buffer local variables.
2617 (c-state-literal-at, c-state-lit-beg)
2618 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
2619 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
2620 (c-state-cache-top-paren, c-state-cache-after-top-paren)
2621 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
2622 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
2623 (c-renarrow-state-cache)
2624 (c-append-lower-brace-pair-to-state-cache)
2625 (c-state-push-any-brace-pair, c-append-to-state-cache)
2626 (c-remove-stale-state-cache)
2627 (c-remove-stale-state-cache-backwards, c-state-cache-init)
2628 (c-invalidate-state-cache-1, c-parse-state-1)
2629 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
2630 (c-parse-state): Enhance and refactor.
2631 (c-debug-parse-state): Amend to deal with all the new variables.
2633 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
2634 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
2635 modify to use category text properties rather than syntax-table ones.
2636 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
2637 to switch off/on the syntactic paren property of C++ template
2638 delimiters using the category property.
2639 (c-with-<->-as-parens-suppressed): Macro to invoke code with
2640 template delims suppressed.
2641 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
2642 New constant/macros which apply category properties to the start
2643 and end of preprocessor constructs.
2644 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
2645 "comment out" the syntactic value of characters in preprocessor
2647 (c-with-cpps-commented-out)
2648 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
2649 with characters in all or all but one preprocessor constructs
2652 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2654 * proced.el (proced-filter-alist): Use regexp-quote.
2656 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
2659 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
2660 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
2661 arguments. Expand `default-directory'.
2663 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
2664 the benefit of returning an expanded localname.
2665 (tramp-tramp-file-p): Handle the case NAME is not a string.
2667 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2669 Add support for bzr shelve/unshelve.
2670 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
2671 (vc-bzr-extra-menu-map): New variables.
2672 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
2673 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
2674 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
2675 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
2676 (vc-bzr-dir-extra-headers): Display shelves.
2678 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
2680 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * textmodes/bibtex.el (bibtex-complete-internal):
2683 Use completion-in-region.
2684 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
2686 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2688 Support applying stashes. Improve UI.
2689 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
2690 (vc-git-stash-apply, vc-git-stash-pop)
2691 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
2692 (vc-git-stash-menu): New functions.
2693 (vc-git-stash-menu-map): New variable.
2694 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
2696 2009-12-03 Glenn Morris <rgm@gnu.org>
2698 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
2699 (vc-print-log-internal): Fix previous change.
2700 (vc-revert): Correct pluralization.
2702 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2704 * progmodes/make-mode.el (makefile-special-targets-list): No need for
2705 it to be an alist any more.
2706 (makefile-complete): Use completion-in-region.
2708 * progmodes/octave-mod.el (octave-complete-symbol):
2709 Use completion-in-region.
2712 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
2713 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
2714 (idlwave-complete-class): Don't quote lambda.
2715 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
2716 (idlwave-mode-map): Move initialization into declaration.
2717 (idlwave-action-and-binding): Use backquotes.
2718 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
2720 (idlwave-is-pointer-dereference): Remove unused var `pos'.
2721 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
2722 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
2723 `parts', and `all-parts'.
2724 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
2725 (idlwave-convert-xml-system-routine-info): Remove unused string
2727 (idlwave-display-user-catalog-widget): Use dolist.
2728 (idlwave-scanning-lib): Declare dynamically-scoped var.
2729 (idlwave-scan-library-catalogs): Remove unused var `flags'.
2730 (completion-highlight-first-word-only): Declare to silence bytecomp.
2731 (idlwave-popup-select): Tighten scope of `resp'.
2732 (idlwave-find-struct-tag): Remove unused var `beg'.
2733 (idlwave-after-load-rinfo-hook): Declare.
2734 (idlwave-sintern-class-info): Remove unused var `taglist'.
2735 (idlwave-find-class-definition): Remove unused var `list'.
2736 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
2737 (idlwave-what-module-find-class): Remove unused var `classes'.
2739 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
2741 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
2743 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
2746 buffers visited. Remove redundant current-buffer-saving.
2748 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2750 Use completion-in-buffer and remove uses of dynamic scoping.
2751 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
2752 (pascal-buffer-to-use, pascal-flag): Don't declare.
2753 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
2754 (pascal-get-completion-decl, pascal-keyword-completion):
2755 Add `pascal-str' argument, save-excursion,
2756 return the found completions, and don't filter with pascal-pred.
2757 (pascal-completion-cache): New var.
2758 (pascal-completion): Don't switch buffer any more (it was never
2759 necessary). Don't save-excursion any more (it's done by the called
2760 subroutines). Use a cache to avoid redundant computations.
2761 Use complete-with-action rather than pascal-completion-response and
2762 let it apply the predicate as well.
2763 (pascal-complete-word): Use completion-in-buffer when
2764 pascal-toggle-completions is nil.
2765 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
2767 (pascal-comp-defun): Don't change buffer any more.
2768 Use complete-with-action rather than pascal-completion-response and
2769 let it apply the predicate as well.
2770 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
2773 2009-12-02 Kenichi Handa <handa@m17n.org>
2775 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
2776 shape for all Indic scripts.
2778 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2780 Use completion-in-buffer.
2781 * wid-edit.el (widget-field-text-end): New function.
2782 (widget-field-value-get): Use it.
2783 (widget-string-complete, widget-file-complete)
2784 (widget-color-complete): Use it and completion-in-region.
2785 (widget-complete): Don't narrow the buffer.
2787 2009-12-02 Glenn Morris <rgm@gnu.org>
2789 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
2790 (rmail-select-summary): Use rmail-pop-to-buffer.
2791 * mail/rmailsum.el: Replace all pop-to-buffer calls with
2792 rmail-pop-to-buffer, to prevent horizontal splits.
2794 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
2795 save-excursion with save-current-buffer.
2796 Widen before searching. (Bug#5093)
2797 (diary-list-sexp-entries): Remove superfluous save-excursion.
2799 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
2801 * woman.el (woman-make-bufname): Handle man-pages with "." in the
2804 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
2806 * ido.el (ido-file-internal): Handle filenames at point that do
2807 not have a directory part. (Bug#5049)
2809 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
2811 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
2812 (mpc-songs-jump-to, mpc-resume): Doc fixes.
2814 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
2816 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
2817 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
2820 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2822 * comint.el (comint-insert-input): Ignore clicks to the right of
2823 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
2825 * vc.el (vc-print-log-internal): Don't wait for the process to
2826 terminate before setting up the major mode.
2828 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
2831 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
2834 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
2836 2009-12-01 Glenn Morris <rgm@gnu.org>
2838 * window.el (window--display-buffer-2): Fix previous changes.
2840 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
2842 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
2844 2009-12-01 Glenn Morris <rgm@gnu.org>
2846 * Makefile.in (ELCFILES): Add mpc.elc.
2848 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2852 2009-12-01 Glenn Morris <rgm@gnu.org>
2854 * window.el (window-to-use): Define for compiler.
2856 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
2857 consistent with others (no final period).
2859 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
2860 (rmail-mime-show): Downcase the encoding. (Bug#5070)
2862 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
2864 Make vc-print-log buttons work.
2865 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
2867 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
2869 * savehist.el (savehist-autosave-interval): Allow setting to nil
2870 through customize. (Bug#5056)
2872 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
2874 Fix references to jit-lock properties.
2875 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
2876 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
2877 (perl-font-lock-special-syntactic-constructs):
2878 Quote jit-lock-defer-multiline property.
2880 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
2882 * vc-git.el (vc-git-registered): Call vc-git-root only once.
2884 2009-11-30 Juri Linkov <juri@jurta.org>
2886 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
2887 value `buffer' of `multi-isearch-next-buffer-current-function'.
2888 Use `(current-buffer)' when `buffer' is nil.
2889 (multi-isearch-next-buffer-from-list): Don't fallback to
2890 `(current-buffer)' when `buffer' is nil. (Bug#4947)
2892 2009-11-30 Juri Linkov <juri@jurta.org>
2894 * misearch.el (multi-isearch-read-buffers): Move canonicalization
2895 of buffers with `get-buffer' to `multi-isearch-buffers'.
2896 (multi-isearch-buffers, multi-isearch-buffers-regexp):
2897 Canonicalize BUFFERS with `get-buffer'. Doc fix.
2898 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
2899 FILES with `expand-file-name' converting relative file names
2900 to absolute. Doc fix. (Bug#4727)
2902 2009-11-30 Juri Linkov <juri@jurta.org>
2904 * misearch.el (multi-isearch-read-buffers)
2905 (multi-isearch-read-matching-buffers): New functions.
2906 (multi-isearch-buffers, multi-isearch-buffers-regexp):
2907 Use them in the `interactive' spec. Doc fix.
2908 (multi-isearch-read-files, multi-isearch-read-matching-files):
2910 (multi-isearch-files, multi-isearch-files-regexp):
2911 Use them in the `interactive' spec. Doc fix. (Bug#4725)
2913 2009-11-30 Juri Linkov <juri@jurta.org>
2915 * doc-view.el (doc-view-continuous):
2916 Rename from `doc-view-continuous-mode'.
2917 (doc-view-menu): Move "Toggle display" to the top.
2918 Add submenu "Continuous" with radio buttons "Off"/"On"
2919 and "Save as Default".
2920 (doc-view-scroll-up-or-next-page)
2921 (doc-view-scroll-down-or-previous-page)
2922 (doc-view-next-line-or-next-page)
2923 (doc-view-previous-line-or-previous-page): Rename
2924 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
2926 2009-11-30 Juri Linkov <juri@jurta.org>
2928 * comint.el (comint-mode-map): Rebind `M-r' from
2929 `comint-previous-matching-input' to
2930 `comint-history-isearch-backward-regexp'.
2931 Unbind `M-s' to allow global key binding `M-s'.
2932 Add menu items for `comint-history-isearch-backward' and
2933 `comint-history-isearch-backward-regexp'. (Bug#3746)
2935 2009-11-30 Juri Linkov <juri@jurta.org>
2937 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
2938 For def=recenter, replace `recenter' with `recenter-top-bottom'
2939 that is called with `this-command' and `last-command' let-bound
2940 to `recenter-top-bottom'. When the last `def' was not `recenter',
2941 set `recenter-last-op' to nil. (Bug#4981)
2943 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
2945 Minor cleanup and simplification.
2946 * filecache.el (file-cache-add-directory)
2947 (file-cache-add-directory-recursively)
2948 (file-cache-add-from-file-cache-buffer)
2949 (file-cache-delete-file-regexp, file-cache-delete-directory)
2950 (file-cache-files-matching-internal, file-cache-display): Use dolist.
2951 (file-cache-temp-minibuffer-message): Delete function.
2952 (file-cache-minibuffer-complete): Use minibuffer-message instead.
2954 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
2955 Don't signal an error when bumping into EOB in tr, s, or y.
2957 2009-11-29 Juri Linkov <juri@jurta.org>
2959 * startup.el (fancy-about-text): Fix wording of Guided Tour.
2962 * descr-text.el (describe-char-unidata-list): Use lowercase name
2963 for "Unicode name" like in other tags.
2965 2009-11-29 Juri Linkov <juri@jurta.org>
2967 * ediff-util.el (ediff-minibuffer-with-setup-hook):
2968 New compatibility macro.
2969 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
2971 2009-11-29 Juri Linkov <juri@jurta.org>
2973 Add defcustom to define the cycling order of `recenter-top-bottom'.
2976 * window.el (recenter-last-op): Doc fix.
2977 (recenter-positions): New defcustom.
2978 (recenter-top-bottom): Rewrite to use `recenter-positions'.
2979 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
2981 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
2983 Improve integration of Tramp and ange-ftp in eshell.
2985 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
2986 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
2987 (eshell/sudo): Flatten args. Let-bind `default-directory'.
2989 * eshell/esh-util.el (top): Require also Tramp when compiling.
2990 (eshell-directory-files-and-attributes): Check for FTP remote
2992 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
2993 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
2994 (eshell-file-attributes): Handle ".". Return `entry'.
2996 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
2997 (ange-ftp-directory-files-and-attributes)
2998 (ange-ftp-real-directory-files-and-attributes): New defuns.
3000 * net/tramp.el (tramp-maybe-open-connection): Open the remote
3001 shell with "exec" when possible. This prevents trailing prompts
3002 in `start-file-process'.
3004 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3006 Try and remove assumptions about point-min==1.
3007 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
3008 (rng-compute-mode-line-string): Show the validation percentage in
3009 terms of the narrowed text, not the widened text.
3010 (rng-do-some-validation): Don't catch internal errors when debugging.
3011 (rng-first-error): Simplify.
3012 (rng-after-change-function): Remove work around. AFAIK the bug has
3013 been fixed a while ago.
3015 * image-mode.el (image-minor-mode): Exit more gracefully when the image
3016 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
3018 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
3020 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
3021 `cd' doesn't always do it for us (bug#5067).
3023 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
3024 on 2009-10-25 as part of some other change (bug#5067).
3026 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3028 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3030 (byte-compile-warnings): Use byte-compile-warning-types.
3031 (byte-compile-save-excursion): Warn about use of set-buffer right
3032 after save-excursion.
3034 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
3035 the excursion as well.
3037 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
3039 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
3040 providing a Tramp related implementation of "su" and "sudo".
3041 (eshell-unix-initialize): Add "su" and "sudo".
3043 2009-11-27 Daiki Ueno <ueno@unixuser.org>
3045 * net/socks.el (socks-send-command): Convert binary request to
3046 unibyte before sending. This fixes mishandling of some port
3047 numbers such as 129.
3049 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * help.el (describe-bindings-internal): Remove `interactive'.
3053 * man.el (Man-completion-table): Trim a terminating "(".
3054 Remove the space between name page a section.
3055 Add the command's description on the `help-echo' property.
3056 Remove `process-connection-type' binding since it's unused by
3058 Provide completion for the "<section> <name>" format as well.
3059 (Man-default-man-entry): Remove spurious var shadowing the argument.
3061 2009-11-26 Kevin Ryde <user42@zip.com.au>
3063 * log-view.el: Add "Keywords: tools", since its other keywords
3064 aren't in finder-known-keywords, and following vc.el.
3066 * sha1.el (sha1-string-external): default-directory "/" in case
3067 otherwise non-existent. process-connection-type pipe for touch of
3068 efficiency recommended by elisp manual. (An aside in Bug#3911.)
3070 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3072 Misc coding convention cleanups.
3073 * htmlfontify.el (hfy-init-kludge-hook): Rename from
3074 hfy-init-kludge-hooks.
3075 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
3076 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
3077 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
3079 (hfy-slant, hfy-weight): Use tables rather than code.
3080 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
3081 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
3082 (hfy-face-attr-for-class): Initialize `face-spec' directly.
3083 (hfy-face-to-css): Remove `nconc' with single arg.
3084 (hfy-p-to-face-lennart): Use `or'.
3085 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
3086 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
3087 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
3088 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
3089 (hfy-force-fontification): Use run-hooks.
3091 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
3093 Various minor fixes.
3094 * htmlfontify.el (hfy-default-header): Add toggle_invis since
3095 Javascript belongs in the header, not the body.
3096 (hfy-javascript): Remove.
3097 (hfy-fontify-buffer): Don't insert it any more.
3098 (hfy-face-at): Handle (face0 face1 face2) style face properties.
3099 Fix bug in invis handling when there were no invis props in a chunk.
3101 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
3105 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
3107 * finder.el (finder-mode-map): Add a menu.
3109 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
3111 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
3114 (verilog-leap-to-head, verilog-backward-token): Handle "disable
3115 fork" statement better.
3117 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
3119 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
3120 (verilog-delete-auto, verilog-delete-empty-auto-pair)
3121 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
3122 Reported by Clay Douglass.
3124 (verilog-auto-inst, verilog-auto-star-safe)
3125 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
3126 Fix removing "// Interfaces" when saving .* expansions. Reported by
3127 Pierre-David Pfister.
3129 2009-11-26 Glenn Morris <rgm@gnu.org>
3131 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
3134 2009-11-25 Johan Bockgård <bojohan@gnu.org>
3136 * vc-annotate.el (vc-annotate-revision-previous-to-line):
3137 Really use previous revision.
3139 2009-11-25 Kevin Ryde <user42@zip.com.au>
3141 * man.el (Man-completion-table): default-directory "/" in case
3142 doesn't otherwise exist. process-environment COLUMNS=999 so as
3143 not to truncate long names. process-connection-type pipe to avoid
3144 any chance of hitting the pseudo-tty TIOCGWINSZ.
3145 (man): completion-ignore-case t for friendliness and since man
3146 itself is case-insensitive on the command line.
3147 Further to Bug#3717.
3149 * arc-mode.el: Add "Keywords: files", so the details in its
3150 commentary can be reached from finder-by-keyword.
3151 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
3152 editing mode, but it's comms related and sgml-mode.el has "comm"
3154 * textmodes/bibtex-style.el: Add "Keywords: tex".
3155 * international/isearch-x.el, international/ja-dic-cnv.el:
3156 * international/ja-dic-utl.el, international/kkc.el:
3157 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
3159 2009-11-25 Juri Linkov <juri@jurta.org>
3161 * man.el (Man-completion-table): Modify regexp to include
3162 section names to completion strings. (Bug#3717)
3164 2009-11-25 Juri Linkov <juri@jurta.org>
3166 Search recursively in gzipped files. (Bug#4982)
3168 * progmodes/grep.el (grep-highlight-matches): Add new options
3169 `always' and `auto'. Doc fix.
3170 (grep-process-setup): Check `grep-highlight-matches' for
3171 `auto-detect' to determine the need to compute grep defaults.
3172 Move Windows/DOS specific --colors settings handling
3173 to `grep-compute-defaults'. Check `grep-highlight-matches'
3174 to get the value of "--color=".
3175 (grep-compute-defaults): Compute `grep-highlight-matches' when it
3176 has the value `auto-detect'. Move Windows/DOS specific settings
3177 from `grep-process-setup'.
3178 (zrgrep): New command with alias `rzgrep'.
3180 2009-11-25 Juri Linkov <juri@jurta.org>
3182 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
3183 to nil instead of switching off view-mode. (Bug#4896)
3185 2009-11-25 Juri Linkov <juri@jurta.org>
3187 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
3189 * mwheel.el (mwheel-scroll-up-function)
3190 (mwheel-scroll-down-function): New defvars.
3191 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
3192 `scroll-up', and `mwheel-scroll-down-function' instead of
3195 * doc-view.el (doc-view-scroll-up-or-next-page)
3196 (doc-view-scroll-down-or-previous-page): Add optional ARG.
3197 Use this ARG in the call to image-scroll-up/image-scroll-down.
3198 Change `interactive' spec to "P". Goto next/previous page only
3199 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
3200 SPC/DEL case). Doc fix.
3201 (doc-view-next-line-or-next-page)
3202 (doc-view-previous-line-or-previous-page): Rename arg to ARG
3204 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
3205 `doc-view-scroll-up-or-next-page', and buffer-local
3206 `mwheel-scroll-down-function' to
3207 `doc-view-scroll-down-or-previous-page'.
3209 2009-11-25 Juri Linkov <juri@jurta.org>
3211 Provide additional default values (directories at other Dired
3212 windows) via M-n in the minibuffer of some Dired commands.
3214 * dired-aux.el (dired-diff, dired-compare-directories)
3215 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
3216 `minibuffer-default' in `minibuffer-with-setup-hook'.
3217 (dired-dwim-target-directory): Find a window that displays Dired
3218 buffer instead of failing when the next window is not Dired.
3219 Use `get-window-with-predicate' to find for the next Dired window.
3220 (dired-dwim-target-defaults): New function.
3222 * ediff-util.el (ediff-read-file-name):
3223 Use `dired-dwim-target-defaults' to set `minibuffer-default'
3224 in `minibuffer-with-setup-hook'.
3226 2009-11-25 Juri Linkov <juri@jurta.org>
3228 Provide additional default values (file name at point or at the
3229 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
3231 * minibuffer.el (read-file-name-defaults): New function.
3232 (read-file-name): Reset `minibuffer-default' to nil when
3233 it duplicates initial input `insdef'.
3234 Bind `minibuffer-default-add-function' to lambda that
3235 calls `read-file-name-defaults' in `minibuffer-selected-window'.
3236 (minibuffer-insert-file-name-at-point): New command.
3238 * files.el (file-name-at-point-functions): New defcustom.
3239 (find-file-default): Remove defvar.
3240 (find-file-read-args): Don't use `find-file-default'.
3241 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
3242 to `read-file-name'.
3243 (find-file-literally): Use `read-file-name' with
3244 `confirm-nonexistent-file-or-buffer'.
3246 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
3248 * dired.el (dired-read-dir-and-switches):
3249 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
3250 to `read-file-name'.
3251 (dired-file-name-at-point): New function.
3252 (dired-mode): Add hook `dired-file-name-at-point' to
3253 `file-name-at-point-functions'.
3255 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3257 Really make the *Completions* window soft-dedicated (bug#5030).
3258 * window.el (window--display-buffer-2): Add `dedicated' argument.
3259 (display-buffer): Pass it when needed so the dedicated flag is set
3260 after calling set-window-buffer, which would otherwise reset it.
3262 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3264 * progmodes/meta-mode.el (meta-complete-symbol):
3265 * progmodes/etags.el (complete-tag):
3266 * mail/mailabbrev.el (mail-abbrev-complete-alias):
3267 Use completion-in-region.
3269 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
3270 (dabbrev-completion): Use completion-in-region.
3271 (dabbrev--abbrev-at-point): Simplify regexp.
3273 * abbrev.el (abbrev--before-point): Use word-motion functions
3274 if :regexp is not specified (bug#5031).
3276 * subr.el (string-prefix-p): New function.
3278 * man.el (Man-completion-cache): New var.
3279 (Man-completion-table): Use it.
3281 * vc.el (vc-print-log-internal): Make `limit' optional for better
3282 compatibility (e.g. with vc-annotate.el).
3284 2009-11-24 Kevin Ryde <user42@zip.com.au>
3286 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
3287 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
3289 * emacs-lisp/elint.el (elint-add-required-env): Better error message
3290 when .el source file not found or other error.
3292 2009-11-24 Markus Triska <markus.triska@gmx.at>
3294 * linum.el (linum-update-window): Ignore intangible (bug#4996).
3296 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3298 Handle the [back] button properly (bug#4979).
3299 * descr-text.el (describe-text-properties): Add a `buffer' argument.
3300 Use help-setup-xref, help-buffer, and with-help-window.
3301 (describe-char): Add `buffer' argument.
3302 Pass proper command to help-setup-xref. Don't meddle with
3303 help-xref-stack-item directly.
3304 (describe-text-category): Use with-help-window and help-buffer.
3306 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
3307 for the displayed buffer (bug#4887).
3309 * man.el (Man-completion-table): New function.
3312 2009-11-24 David Reitter <david.reitter@gmail.com>
3314 * vc-git.el (vc-git-registered): Use checkout directory (where
3315 .git is) rather than the file's directory and a relative path spec
3316 to work around a bug in git.
3318 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
3320 Improve handling of processes on remote hosts.
3322 * eshell/esh-util.el (eshell-path-env): New defvar.
3323 (eshell-parse-colon-path): New defun.
3324 (eshell-file-attributes): Use `eshell-parse-colon-path'.
3326 * eshell/esh-ext.el (eshell-search-path):
3327 Use `eshell-parse-colon-path'.
3328 (eshell-remote-command): Remove argument HANDLER.
3329 (eshell-external-command): Check for FTP remote connection.
3331 * eshell/esh-proc.el (eshell-gather-process-output):
3332 Use `file-truename', in order to start also symlinked files.
3333 Apply `start-file-process' instead of `start-process'.
3334 Shorten `command' to the local file name part.
3336 * eshell/em-cmpl.el (eshell-complete-commands-list):
3337 Use `eshell-parse-colon-path'.
3339 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
3341 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
3342 to `eshell-directory-change-hook'.
3344 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
3346 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
3347 because it could be enabled automatically if view-read-only is non-nil.
3349 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
3351 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
3354 2009-11-24 Glenn Morris <rgm@gnu.org>
3356 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
3357 deleted variable bookmark-bmenu-bookmark-column.
3359 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
3360 Move after definition of global-semantic-idle-tag-highlight-mode.
3362 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3364 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
3366 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
3368 * net/browse-url.el (browse-url-filename-alist): On Windows, add
3369 two slashes to the "file:" prefix.
3370 (browse-url-file-url): De-munge Cygwin filenames before passing
3371 them to Windows browser.
3372 (browse-url-default-windows-browser): Use call-process.
3374 2009-11-23 Juri Linkov <juri@jurta.org>
3376 Implement DocView Continuous mode. (Bug#4896)
3377 * doc-view.el (doc-view-continuous-mode): New defcustom.
3378 (doc-view-mode-map): Bind C-n/<down> to
3379 `doc-view-next-line-or-next-page', C-p/<up> to
3380 `doc-view-previous-line-or-previous-page'.
3381 (doc-view-next-line-or-next-page)
3382 (doc-view-previous-line-or-previous-page): New commands.
3384 2009-11-23 Juri Linkov <juri@jurta.org>
3386 Implement Isearch in comint input history. (Bug#3746)
3387 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
3388 `isearch-mode-hook'.
3389 (comint-history-isearch): New defcustom.
3390 (comint-history-isearch-backward)
3391 (comint-history-isearch-backward-regexp): New commands.
3392 (comint-history-isearch-message-overlay): New buffer-local variable.
3393 (comint-history-isearch-setup, comint-history-isearch-end)
3394 (comint-goto-input, comint-history-isearch-search)
3395 (comint-history-isearch-message, comint-history-isearch-wrap)
3396 (comint-history-isearch-push-state)
3397 (comint-history-isearch-pop-state): New functions.
3399 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
3401 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
3403 (tramp-handle-make-symbolic-link)
3404 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
3406 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
3407 (tramp-handle-process-file): Use it.
3409 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * window.el (move-to-window-line-last-op): Remove.
3412 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
3414 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
3416 Make M-r mirror the new cycling behavior of C-l.
3417 * window.el (move-to-window-line-last-op): New var.
3418 (move-to-window-line-top-bottom): New command.
3419 (global-map): Bind M-r move-to-window-line-top-bottom.
3421 2009-11-23 Sven Joachim <svenjoac@gmx.de>
3423 * dired-x.el (dired-guess-shell-alist-default):
3424 Support xz format. (Bug#4953)
3426 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
3428 * cedet/srecode/map.el (srecode-get-maps):
3429 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
3430 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
3431 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
3432 (semantic-toggle-decoration-style):
3433 * cedet/semantic/decorate/include.el
3434 (semantic-decoration-include-describe)
3435 (semantic-decoration-unknown-include-describe)
3436 (semantic-decoration-unparsed-include-describe)
3437 (semantic-decoration-all-include-summary):
3438 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
3439 * cedet/semantic/analyze/complete.el
3440 (semantic-analyze-possible-completions):
3441 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
3442 (semantic-show-unmatched-syntax-mode)
3443 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
3444 (semantic-highlight-func-mode):
3445 * cedet/semantic/util.el (semantic-describe-buffer):
3446 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
3447 (semantic-symref-find-tags-by-name)
3448 (semantic-symref-find-tags-by-regexp)
3449 (semantic-symref-find-tags-by-completion)
3450 (semantic-symref-find-file-references-by-name)
3451 (semantic-symref-find-text):
3452 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
3454 * cedet/semantic/scope.el (semantic-calculate-scope):
3455 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
3456 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
3457 (define-semantic-idle-service):
3458 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
3459 (semantic-complete-analyze-inline-idle):
3460 * cedet/semantic/analyze.el (semantic-analyze-current-context):
3461 * cedet/mode-local.el (describe-mode-local-bindings)
3462 (describe-mode-local-bindings-in-mode):
3463 * cedet/ede/make.el (ede-make-check-version):
3464 * cedet/ede/locate.el (ede-enable-locate-on-project):
3465 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
3466 (cedet-idutils-version-check):
3467 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
3468 (cedet-gnu-global-version-check):
3469 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
3470 (cedet-cscope-version-check): Use called-interactively-p instead
3473 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
3474 Use semantic-format-tag-prototype.
3476 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
3478 * emulation/viper-cmd.el: Use viper-last-command-char instead of
3479 last-command-char/last-command-event.
3480 (viper-prefix-arg-value): Do correct conversion of event-char for
3483 * emulation/viper-util.el, emulation/viper.el:
3484 Use viper-last-command-char instead of
3485 last-command-char/last-command-event.
3487 * ediff-init.el, ediff-mult.el, ediff-util.el:
3488 Replace last-command-char and last-command-event
3489 with (ediff-last-command-char) everywhere.
3491 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
3492 created in fundamental mode.
3494 * ediff.el (ediff-version): Revert the change of interactive-p to
3495 called-interactively-p.
3497 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
3499 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
3500 generation from word-movement command names.
3502 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
3504 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
3505 (semantic-complete-jump-local, semantic-complete-jump):
3506 Improve prompt string.
3508 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
3510 * cus-start.el (all): Add native condition for font-use-system-font.
3512 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
3514 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
3515 Correct the patch from 2009-11-18. (Bug#3910)
3517 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
3519 * progmodes/subword.el: Rename from lisp/subword.el.
3521 * subword.el: Rename to progmodes/subword.el.
3523 * Makefile.in (ELCFILES): Adapt to subword.el move.
3525 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3526 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
3529 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
3530 (bookmark-bmenu-show-filenames): Use push.
3531 (bookmark-bmenu-hide-filenames): Use local var instead of
3532 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
3533 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
3534 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
3535 filenames now that the bookmark names are always available.
3537 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
3540 (bookmark-search-pattern): Move and leave unbound.
3541 (bookmark-bmenu-mode-map): Change binding.
3542 (bookmark-read-search-input): Simplify.
3543 Don't use text-char-description. Don't error on non-char events.
3544 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
3545 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
3546 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
3547 Use a local var for the timer.
3548 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
3549 (i.e. bookmark-bmenu-search).
3551 2009-11-21 Glenn Morris <rgm@gnu.org>
3553 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
3555 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
3557 * net/browse-url.el (browse-url-default-windows-browser):
3558 Use cygstart for cygwin.
3560 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
3562 * bookmark.el: Formatting and doc fixes only:
3563 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
3564 (bookmark-bmenu-search): Wrap to fit within 80 columns.
3565 Minor grammar and punctuation fixes in doc string.
3566 (bookmark-read-search-input): Adjust to fit within 80 columns.
3568 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
3570 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3571 (c-backward-into-nomenclature): Adapt to subword renaming.
3573 * subword.el (subword-forward, subword-backward, subword-mark)
3574 (subword-kill, subword-backward-kill, subword-transpose)
3575 (subword-downcase, subword-upcase, subword-capitalize)
3576 (subword-forward-internal, subword-backward-internal):
3577 Rename from forward-subword, backward-subword, mark-subword,
3578 kill-subword, backward-kill-subword, transpose-subwords,
3579 downcase-subword, upcase-subword, capitalize-subword,
3580 forward-subword-internal, backward-subword-internal.
3582 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3584 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
3586 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
3588 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
3589 (bookmark-bmenu-filter-alist-by-regexp)
3590 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
3591 (bookmark-bmenu-search): New command.
3592 (bookmark-bmenu-mode-map): Bind it.
3594 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
3596 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
3598 * cedet/semantic/idle.el (define-semantic-idle-service)
3599 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
3601 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
3603 * progmodes/cc-cmds.el: declare-functioned forward-subword and
3604 backward-subword to quit the byte-compiler.
3606 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
3608 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
3610 * progmodes/cc-cmds.el (c-update-modeline)
3611 (c-forward-into-nomenclature, c-backward-into-nomenclature):
3612 Refer to subword.el functions instead of cc-subword.el.
3614 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
3615 subword.el functions instead of cc-subword.el.
3617 * progmodes/cc-subword.el: Rename to subword.el.
3618 * subword.el: Rename from progmodes/cc-subword.el.
3619 (subword-mode-map): Rename from c-subword-mode-map.
3620 (subword-mode): Rename from c-subword-mode.
3621 (global-subword-mode): New global minor mode.
3622 (forward-subword): Rename from c-forward-subword.
3623 (backward-subword): Rename from c-backward-subword.
3624 (mark-subword): Rename from c-mark-subword.
3625 (kill-subword): Rename from c-kill-subword.
3626 (backward-kill-subword): Rename from c-backward-kill-subword.
3627 (transpose-subwords): Rename from c-tranpose-subword.
3628 (downcase-subword): Rename from c-downcase-subword.
3629 (capitalize-subword): Rename from c-capitalize-subword.
3630 (forward-subword-internal): Rename from c-forward-subword-internal.
3631 (backward-subword-internal): Rename from c-backward-subword-internal.
3633 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
3635 * vc.el (vc-deduce-fileset): Allow non-state changing operations
3636 from a dired buffer.
3637 (vc-dired-deduce-fileset): New function.
3638 (vc-root-diff, vc-print-root-log): Use it.
3640 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
3641 nil LIMIT argument to vc-print-log-internal.
3643 2009-11-20 Glenn Morris <rgm@gnu.org>
3645 * Makefile.in (ELCFILES): Regenerate.
3647 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
3649 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
3651 * cedet/semantic.el: Enable idle-mode menu items only if
3652 global-semantic-idle-scheduler-mode is enabled.
3653 (semantic-default-submodes): Doc fix.
3655 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
3656 When turning off, disable other idle modes.
3658 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
3660 * calc/calc.el (calc-set-mode-line):
3661 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
3662 (math-format-number): Rename `math-format-complement-signed' to
3663 `math-format-twos-complement'.
3665 * calc/calc-bin.el (math-format-twos-complement): Rename from
3666 math-format-complement-signed.
3667 (calc-radix): Rename `calc-complement-signed-mode' to
3668 `calc-twos-complement-mode'.
3669 (calc-octal-radix, calc-hex-radix): Add an argument for
3672 * calc/calc-embed.el (calc-embedded-mode-vars):
3673 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
3675 * calc/calc-ext.el (calc-init-extensions):
3676 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
3677 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
3679 * calc/calc-units.el (math-build-units-table-buffer):
3680 Let `calc-twos-complement-mode' be nil.
3682 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
3685 * calc/calc-vec.el (calcFunc-vunpack):
3686 * calc/calc-aent.el (calc-do-calc-eval):
3687 * calc/calc-forms.el (math-format-date):
3688 * calc/calc-graph.el (calc-graph-plot):
3689 * calc/calc-math.el (math-use-emacs-fn):
3690 * calc/calccomp.el (math-compose-expr):
3691 Let `calc-twos-complement-mode' be nil.
3693 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
3696 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
3697 * minibuffer.el (completion-in-region-functions): New hook.
3698 (completion-in-region): New function.
3699 * emacs-lisp/lisp.el (lisp-complete-symbol):
3700 * pcomplete.el (pcomplete-std-complete): Use it.
3702 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
3705 (latex-complete-alist): New vars.
3706 (latex-string-prefix-p, latex-complete-bibtex-keys)
3707 (latex-complete-envnames, latex-complete-refkeys)
3708 (latex-complete-data): New functions.
3709 (latex-complete, latex-indent-or-complete): New commands.
3711 * window.el (display-buffer-mark-dedicated): New var.
3712 (display-buffer): Obey it.
3713 * minibuffer.el (minibuffer-completion-help): Use it.
3715 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
3717 * filecache.el (file-cache-add-file): Use push and cons.
3718 (file-cache-delete-file-regexp): Use push.
3719 (file-cache-complete): Use completion-in-region.
3721 * simple.el (with-wrapper-hook): Fix thinko.
3723 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
3724 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
3725 Use with-current-buffer and string-to-number.
3726 (hfy-fallback-colour-values): Use assoc-string.
3727 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
3728 (hfy-face-at): Remove unused var `found-face'.
3729 (hfy-compile-stylesheet): Remove unused var `css'.
3730 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
3732 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
3733 Use with-current-buffer.
3734 (hfy-text-p): Use expand-file-name and fewer setq.
3736 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
3738 * htmlfontify.el, hfy-cmap.el: New files.
3740 2009-11-19 Juri Linkov <juri@jurta.org>
3742 * minibuffer.el (completions-format): New defcustom.
3743 (completion--insert-strings): Implement vertical format.
3745 * simple.el (switch-to-completions): Move point to the first
3746 completion when point was at the beginning of the buffer.
3748 2009-11-19 Juri Linkov <juri@jurta.org>
3750 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
3752 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
3754 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
3756 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
3757 (mail-signature): Change default to t.
3758 (mail-from-style): Deprecate `system-default' value.
3759 (mail-insert-from-field): For default value of mail-from-style,
3760 default to `angles' unless `angles' needs quoting and `parens'
3762 (mail-citation-prefix-regexp): Use citation regexp from
3765 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
3767 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
3768 Set variables for computing the prompt for reading password.
3770 2009-11-19 Glenn Morris <rgm@gnu.org>
3772 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
3774 * textmodes/flyspell.el (sgml-lexical-context): Declare.
3776 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
3777 (newsticker-treeview-listwindow-height): Fix custom type.
3779 2009-11-19 Kenichi Handa <handa@m17n.org>
3781 * descr-text.el (describe-char-padded-string): Compose with TAB
3782 only if there's a font for CH.
3783 (describe-char): Fix the condition for detecting a trivial composition.
3785 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
3787 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
3788 more accurate version of the regexp. (Bug#3910)
3790 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3792 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
3794 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
3796 * font-setting.el (font-use-system-font): Declare for byte-compiler.
3797 (font-setting-change-default-font): Fix typo in docstring.
3799 2009-11-18 Alan Mackenzie <acm@muc.de>
3801 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
3803 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
3805 * font-setting.el (font-use-system-font): Move ...
3807 * cus-start.el (all): ... to here.
3809 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
3811 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
3812 Don't set `ad-return-value' if `ad-do-it' doesn't.
3814 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
3817 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
3819 * menu-bar.el: Put "Use system font" in Option-menu.
3820 (menu-bar-options-save): Add font-use-system-font.
3822 * loadup.el: If feature system-font-setting or font-render-setting is
3823 there, load font-setting.
3825 * Makefile.in (ELCFILES): Add font-settings.el.
3826 * font-setting.el: New file.
3828 2009-11-17 Glenn Morris <rgm@gnu.org>
3830 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
3832 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
3833 Preserve point in the list buffer. (Bug#4939)
3835 (newsticker--treeview-list-update-highlight)
3836 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
3838 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
3840 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
3843 * calc/calc-ext.el (calc-init-extensions): Remove references to
3846 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
3848 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
3849 * calc/calc-help.el (calc-b-prefix-help): Remove references to
3852 2009-11-16 Kevin Ryde <user42@zip.com.au>
3854 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3855 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
3857 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
3858 (lm-keywords-list): Allow comma-only separator like "foo,bar".
3859 Ignore trailing spaces by omit-nulls to split-string (fixing
3860 regression from Emacs 21 due to the incompatible split-string
3861 change). (Bug #4928.)
3863 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
3865 * vc.el (vc-log-show-limit): Default to 2000.
3866 (vc-print-log-internal): Insert buttons to request more entries
3867 when limiting the output.
3869 * vc-sccs.el (vc-sccs-print-log):
3870 * vc-rcs.el (vc-rcs-print-log):
3871 * vc-cvs.el (vc-cvs-print-log):
3872 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
3875 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
3877 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
3878 error when `tramp-gvfs-dbus-event-vector' is set.
3879 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
3881 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
3885 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
3887 * net/dbus.el (dbus-unregister-service): New defun.
3888 (dbus-register-property): Register the handlers of
3889 "org.freedesktop.DBus.Properties" for SERVICE.
3890 (dbus-property-handler): Fix docstring.
3892 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3894 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
3895 Quote doc string reference in defvaralias as it is not in special form.
3896 (byte-compile-output-docform): Doc fix.
3898 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
3900 * calc/calc.el (math-2-word-size, math-half-2-word-size)
3901 (calc-complement-signed-mode): New variables.
3902 (calc-set-mode-line): Add indicator for twos-complements.
3903 (math-format-number): Format twos-complement notation.
3905 * calc/calc-bin.el (calc-word-size): Reset the variables
3906 `math-2-word-size' and `math-half-2-word-size'.
3907 (math-format-complement-signed, math-symclip, calcFunc-symclip)
3908 (calc-symclip): New functions.
3910 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
3912 * calc/calc-embed.el (calc-embedded-mode-vars):
3913 Add `calc-complement-signed-mode' to the list of modes.
3915 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
3916 (calc-b-oper-keys): Add `calc-symclip' to list.
3918 * calc/calc-ext.el (math-read-number-fancy): Read complement
3920 (calc-init-extensions): Add binding for `calc-symclip'.
3921 Add autoload for `calcFunc-symclip' and `calc-symclip'.
3923 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
3925 (calc-modes-menu): Add item for twos complement mode.
3927 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
3929 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
3931 * register.el (jump-to-register, insert-register): Handle Semantic
3932 tags. From commented-out advice in semantic/senator.el.
3934 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
3936 * vc.el (vc-log-show-limit): New variable.
3937 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
3938 when using a prefix argument.
3939 (vc-print-log-internal): Add new argument LIMIT.
3941 * vc-svn.el (vc-svn-print-log):
3942 * vc-mtn.el (vc-mtn-print-log):
3943 * vc-hg.el (vc-hg-print-log):
3944 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
3945 pass it to the log command when set. Make the BUFFER argument
3948 * vc-sccs.el (vc-sccs-print-log):
3949 * vc-rcs.el (vc-rcs-print-log):
3950 * vc-git.el (vc-git-print-log):
3951 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
3952 ignore it. Make the BUFFER argument non-optional
3954 * bindings.el (mode-line-buffer-identification): Do not purecopy.
3956 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
3958 * dired.el (dired-mode-map): Move encryption items to "Operate"
3961 * strokes.el (strokes-update-window-configuration): Make strokes
3962 buffer current before erasing (Bug#4906).
3964 * cedet/semantic/idle.el (semantic-idle-summary-mode)
3965 (semantic-idle-summary-mode): Define using define-minor-mode
3966 instead of define-semantic-idle-service.
3967 (semantic-idle-summary-mode): New function.
3968 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
3969 that mouse motion does not reset the echo area.
3971 2009-11-15 Juri Linkov <juri@jurta.org>
3973 * simple.el (set-mark-default-inactive): Add :type, :group
3974 and :version. (Bug#4876)
3976 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
3978 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
3979 (archive-unique-fname): ... here. (Bug#4929)
3981 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
3986 * novice.el (disabled-command-function): Add useful args.
3987 Setup the help buffer so that [back] works.
3988 Remove redundant call to help-mode.
3989 (disabled-command-function): Use `case'.
3990 (en/disable-command): New function extracted from enable-command.
3991 (enable-command, disable-command): Use it.
3993 2009-11-14 Glenn Morris <rgm@gnu.org>
3995 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
3996 constants. (Bug#4913)
3998 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
4000 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4002 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
4003 defined in C that have no doc-strings. (Bug#1063)
4005 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
4007 * cus-edit.el (data, files):
4008 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
4010 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
4012 * simple.el (shell-command): Doc fix (Bug#4891).
4014 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
4016 2009-11-14 Glenn Morris <rgm@gnu.org>
4018 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
4019 statements for vc-diff, emerge-quit, and rmail-cease-edit.
4020 If they are already loaded, eval-after-load will do the right thing.
4022 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
4025 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
4027 * simple.el (x-selection-owner-p): Declare.
4028 (read-mail-command): Use custom radio type rather than choice.
4029 (completion-no-auto-exit): Doc fix.
4031 * custom.el (defgroup):
4032 * epg-config.el (epg): Doc fixes.
4034 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
4036 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
4037 * international/ccl.el (define-ccl-program): Do not purecopy the
4038 docstring, defconst does it anyway.
4040 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * add-log.el (add-change-log-entry): Avoid displaying the changelog
4045 * x-dnd.el (x-dnd-maybe-call-test-function):
4046 * window.el (split-window-vertically):
4047 * whitespace.el (whitespace-help-on):
4048 * vc-rcs.el (vc-rcs-consult-headers):
4049 * userlock.el (ask-user-about-lock-help)
4050 (ask-user-about-supersession-help):
4051 * type-break.el (type-break-force-mode-line-update):
4052 * time-stamp.el (time-stamp-conv-warn):
4053 * terminal.el (te-set-output-log, te-more-break, te-filter)
4054 (te-sentinel, terminal-emulator):
4055 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
4056 (term-write-input-ring, term-check-source, term-start-output-log):
4057 (term-display-buffer-line, term-dynamic-list-completions):
4058 (term-ansi-make-term, serial-term):
4059 * subr.el (selective-display):
4060 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
4061 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
4062 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
4063 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
4064 (speedbar-remove-localized-speedbar-support)
4065 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
4066 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
4067 (speedbar-buffers-line-directory):
4068 * simple.el (shell-command-on-region, append-to-buffer)
4069 (prepend-to-buffer):
4070 * shadowfile.el (shadow-save-todo-file):
4071 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
4072 (scroll-bar-maybe-set-window-start):
4073 * sb-image.el (speedbar-image-dump):
4074 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
4075 (load-save-place-alist-from-file):
4076 * ps-samp.el (ps-print-message-from-summary):
4077 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
4078 (ps-background-image, ps-begin-job, ps-do-despool):
4079 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
4080 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
4081 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
4082 (pr-call-process, pr-file-list, pr-interface-save):
4083 * novice.el (disabled-command-function)
4084 (enable-command, disable-command):
4085 * mouse.el (mouse-buffer-menu-alist):
4086 * mouse-copy.el (mouse-kill-preserving-secondary):
4087 * macros.el (kbd-macro-query):
4088 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
4089 * informat.el (batch-info-validate):
4090 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
4091 * hippie-exp.el (try-expand-dabbrev-visible):
4092 * help-mode.el (help-make-xrefs):
4093 * help-fns.el (describe-variable):
4094 * generic-x.el (bat-generic-mode-run-as-comint):
4095 * finder.el (finder-mouse-select):
4096 * find-dired.el (find-dired-sentinel):
4097 * filesets.el (filesets-file-close):
4098 * files.el (list-directory):
4099 * faces.el (list-faces-display, describe-face):
4100 * facemenu.el (list-colors-display):
4101 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
4102 * epg.el (epg--process-filter, epg-cancel):
4103 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
4104 (epa--read-signature-type):
4105 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
4106 (emerge-file-names):
4107 * ehelp.el (electric-helpify):
4108 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
4109 * ediff-vers.el (rcs-ediff-view-revision):
4110 * ediff-util.el (ediff-setup):
4111 * ediff-mult.el (ediff-append-custom-diff):
4112 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
4114 * echistory.el (Electric-command-history-redo-expression):
4115 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4116 * disp-table.el (describe-display-table):
4117 * dired.el (dired-find-buffer-nocreate):
4118 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
4119 * dabbrev.el (dabbrev--same-major-mode-p):
4120 * chistory.el (list-command-history):
4121 * apropos.el (apropos-documentation):
4122 * allout.el (allout-obtain-passphrase):
4123 (allout-copy-exposed-to-buffer):
4124 (allout-verify-passphrase): Use with-current-buffer.
4126 2009-11-13 Glenn Morris <rgm@gnu.org>
4128 * Makefile.in (ELCFILES): Regenerate.
4130 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
4132 * net/dbus.el (dbus-registered-objects-table): Rename from
4133 `dbus-registered-functions-table', because it contains also properties.
4134 (dbus-unregister-object): Unregister also properties.
4135 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4136 Use a timeout of 500 msec, in order to not block.
4137 (dbus-register-property, dbus-property-handler): New defuns.
4139 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * simple.el (minibuffer-default-add-completions): Drop deprecated
4144 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
4146 * textmodes/artist.el (artist-mouse-choose-operation):
4147 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
4148 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
4149 (artist-compute-up-event-key): New function.
4150 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
4152 2009-11-13 Kenichi Handa <handa@m17n.org>
4154 * language/japan-util.el: Make sure that the value of jisx0208
4155 property is jisx0208 character.
4157 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
4159 * international/mule.el (auto-coding-regexp-alist): Only purecopy
4160 car or each item, not the whole list.
4162 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * minibuffer.el (minibuffer-completion-help):
4165 Use minibuffer-hide-completions.
4167 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
4169 * dired.el (dired-save-positions, dired-restore-positions): New funs.
4170 (dired-revert): Use them (bug#4880).
4172 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
4174 * tooltip.el (tooltip-frame-parameters): Undo previous change.
4176 2009-11-12 Juri Linkov <juri@jurta.org>
4178 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
4180 (find-file-literally-at-point): Alias of `ffap-literally'.
4182 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
4184 * textmodes/ispell.el (ispell-skip-region-alist):
4185 * textmodes/css-mode.el (auto-mode-alist):
4186 * progmodes/compile.el (auto-mode-alist):
4187 * international/mule.el (ctext-non-standard-encodings-alist)
4188 (ctext-non-standard-encodings-regexp):
4189 * simple.el (shell-command-switch, text-read-only):
4190 * replace.el (occur-mode-map):
4191 * paths.el (rmail-file-name):
4192 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
4193 * find-file.el (ff-special-constructs):
4194 * files.el (file-name-handler-alist):
4195 * composite.el: Purecopy strings.
4197 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
4199 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
4201 * widget.el (define-widget): Purecopy the docstring.
4202 * international/mule-cmds.el (charset): Do not purecopy the
4203 docstring here, define-widget does it.
4205 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
4206 * textmodes/bibtex-style.el (auto-mode-alist):
4207 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4208 * progmodes/compile.el (compile-command):
4209 * language/korea-util.el (default-korean-keyboard):
4210 * international/mule-conf.el (file-coding-system-alist):
4211 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
4212 * tooltip.el (tooltip-frame-parameters):
4213 * newcomment.el (comment-end, comment-padding):
4214 * dired.el (dired-trivial-filenames):
4215 * comint.el (comint-file-name-prefix): Purecopy initial values.
4217 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
4219 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
4220 (tramp-advice-minibuffer-electric-tilde): Unload advices via
4222 (tramp-advice-make-auto-save-file-name)
4223 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
4224 after removing the advice.
4226 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
4228 * progmodes/grep.el (grep-regexp-alist):
4229 * international/mule-cmds.el (iso-2022-control-alist):
4230 * emacs-lisp/timer.el (timer-duration-words):
4231 * subr.el (version-separator, version-regexp-alist):
4232 * minibuffer.el (completion-styles-alist):
4233 * faces.el (face-attribute-name-alist, list-faces-sample-text):
4234 Change defvars to defconsts.
4236 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
4237 * loadup.el ("international/mule-conf"): Load the byte compiled version.
4238 * international/mule-conf.el: Allow to be byte compiled.
4240 * international/mule.el (define-charset): Purecopy props.
4241 (load-with-code-conversion): Purecopy doc string and file name.
4242 (put-charset-property): Purecopy strings.
4243 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
4245 * international/mule-cmds.el (register-input-method): Purecopy arguments.
4246 (define-char-code-property): Correctly purecopy the table.
4248 * international/ccl.el (define-ccl-program): Purecopy the docstring.
4250 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
4252 * subr.el (add-hook): Purecopy strings.
4253 (eval-after-load): Purecopy load-history-regexp and the form.
4255 * custom.el (custom-declare-group): Purecopy load-file-name.
4257 * subr.el (menu-bar-separator): New defconst.
4258 * net/eudc.el (eudc-tools-menu):
4259 * international/mule-cmds.el (set-coding-system-map)
4261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4262 * vc-hooks.el (vc-menu-map):
4263 * replace.el (occur-mode-map):
4264 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
4265 (menu-bar-edit-menu, menu-bar-goto-menu)
4266 (menu-bar-custom-menu, menu-bar-showhide-menu)
4267 (menu-bar-options-menu, menu-bar-tools-menu)
4268 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
4269 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
4270 (menu-bar-help-menu):
4271 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
4272 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
4274 * term/x-win.el (x-gtk-stock-map):
4275 * progmodes/vera-mode.el (auto-mode-alist):
4276 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4277 (inferior-lisp-program, inferior-lisp-load-command):
4278 * progmodes/hideshow.el (hs-special-modes-alist):
4279 * progmodes/gud.el (same-window-regexps):
4280 * progmodes/grep.el (grep-program, find-program, xargs-program):
4281 * net/telnet.el (same-window-regexps):
4282 * net/rlogin.el (same-window-regexps):
4283 * language/ethiopic.el (font-ccl-encoder-alist):
4284 * vc-sccs.el (vc-sccs-master-templates):
4285 * vc-rcs.el (vc-rcs-master-templates):
4286 * subr.el (cl-assertion-failed):
4287 * simple.el (next-error-overlay-arrow-position):
4288 * lpr.el (lpr-command):
4289 * locate.el (locate-ls-subdir-switches):
4290 * info.el (same-window-regexps, info)
4291 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
4292 * image-mode.el (image-mode, auto-mode-alist):
4293 * hippie-exp.el (hippie-expand-ignore-buffers):
4294 * format.el (format-alist):
4295 * find-dired.el (find-ls-subdir-switches, find-grep-options)
4297 * facemenu.el (facemenu-keybindings):
4298 * dired.el (dired-listing-switches, dired-chown-program):
4299 * diff.el (diff-switches, diff-command):
4300 * cus-edit.el (same-window-regexps):
4301 * bindings.el (mode-line-mule-info)
4302 (mode-line-buffer-identification): Purecopy strings.
4304 2009-11-11 Juri Linkov <juri@jurta.org>
4306 * simple.el (dired-get-filename) <declare-function>:
4307 Tell the byte-compiler about dired-get-filename.
4308 (shell-command): In Dired mode, get filename from the current line
4309 as the default value.
4311 2009-11-10 Glenn Morris <rgm@gnu.org>
4313 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
4314 * calendar/holidays.el, progmodes/cperl-mode.el:
4315 Update x-popup-menu declarations.
4317 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
4318 (list-load-path-shadows): Use dolist.
4319 (list-load-path-shadows): Use with-current-buffer.
4321 2009-11-10 Juri Linkov <juri@jurta.org>
4323 * minibuffer.el (read-file-name): Support a list of default values
4324 in `default-filename'. Use the first file name where only one
4325 element is required. Doc fix.
4327 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
4329 * net/dbus.el (dbus-unregister-object): Release service, if no
4330 other method is registered for it.
4332 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
4334 * bookmark.el (bookmark-completing-read): Sort bookmark names if
4335 bookmark-sort-flag is non-nil (Bug#4653).
4337 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
4339 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
4340 the progress reporter entirely.
4342 * emulation/cua-base.el: Add CUA property to some CC mode commands
4345 2009-11-08 Kevin Ryde <user42@zip.com.au>
4347 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
4348 at end of sentence (Bug#4818).
4350 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
4352 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4353 Handle "see declaration of" MSFT statements (Bug#4100).
4355 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
4357 * net/tramp.el (tramp-advice-make-auto-save-file-name)
4358 (tramp-advice-file-expand-wildcards): Unload via
4361 * net/trampver.el: Update release number.
4363 2009-11-08 Kevin Ryde <user42@zip.com.au>
4365 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
4368 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
4370 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
4371 in order to keep context in SELinux.
4373 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
4375 * dired-aux.el (dired-query): Place cursor in echo area and allow
4378 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
4379 menu item if not on a directory (Bug#4701).
4381 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
4383 Sync with Tramp 2.1.17.
4385 * net/tramp.el (tramp-handle-copy-directory): Don't use
4386 `file-remote-p' (due to compatibility).
4388 * net/tramp-compat.el (tramp-compat-copy-directory)
4389 (tramp-compat-delete-directory): New defuns.
4391 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4392 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
4393 `tramp-compat-delete-directory'.
4395 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4396 (tramp-smb-handle-delete-directory): Use
4397 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
4399 * net/trampver.el: Update release number.
4401 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
4403 * tar-mode.el (tar-copy): Call write-region on the right buffer
4406 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
4407 by hand, if necessary (Bug#4878).
4409 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
4411 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
4412 align size column (Bug#4839).
4414 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
4417 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
4419 * progmodes/ld-script.el (auto-mode-alist):
4420 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
4422 * cus-face.el (custom-declare-face): Purecopy face spec.
4424 2009-11-06 Kenichi Handa <handa@m17n.org>
4426 * international/uni-bidi.el: Re-generated.
4427 * international/uni-category.el: Re-generated.
4428 * international/uni-combining.el: Re-generated.
4429 * international/uni-mirrored.el: Re-generated.
4431 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
4433 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
4434 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
4435 (tex-start-options, slitex-run-command, latex-run-command)
4436 (tex-run-command, tex-directory):
4437 * textmodes/ispell.el (ispell-html-skip-alists)
4438 (ispell-tex-skip-alists, ispell-tex-skip-alists):
4439 * textmodes/fill.el (adaptive-fill-first-line-regexp):
4440 (adaptive-fill-regexp):
4441 * textmodes/dns-mode.el (auto-mode-alist):
4442 * progmodes/python.el (interpreter-mode-alist):
4443 * progmodes/etags.el (tags-compression-info-list):
4444 * progmodes/etags.el (tags-file-name):
4445 * net/browse-url.el (browse-url-galeon-program)
4446 (browse-url-firefox-program):
4447 * mail/sendmail.el (mail-signature-file)
4448 (mail-citation-prefix-regexp):
4449 * international/mule-conf.el (eight-bit):
4450 * international/latexenc.el (latex-inputenc-coding-alist):
4451 * international/fontset.el (x-pixel-size-width-font-regexp):
4452 * emacs-lisp/warnings.el (warning-type-format):
4453 * emacs-lisp/trace.el (trace-buffer):
4454 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
4455 (emacs-lisp-mode-map):
4456 * calendar/holidays.el (holiday-solar-holidays)
4457 (holiday-bahai-holidays, holiday-islamic-holidays)
4458 (holiday-christian-holidays, holiday-hebrew-holidays)
4459 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
4460 (hebrew-holidays-1, holiday-oriental-holidays)
4461 (holiday-general-holidays):
4462 * x-dnd.el (x-dnd-known-types):
4463 * tool-bar.el (tool-bar):
4464 * startup.el (site-run-file):
4465 * shell.el (shell-dumb-shell-regexp):
4466 * rfn-eshadow.el (file-name-shadow-tty-properties)
4467 (file-name-shadow-properties):
4468 * paths.el (remote-shell-program, news-directory):
4469 * mouse.el ([C-down-mouse-3]):
4470 * menu-bar.el (menu-bar-tools-menu):
4471 * jka-cmpr-hook.el (jka-compr-load-suffixes)
4472 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
4473 (jka-compr-compression-info-list):
4474 * isearch.el (search-whitespace-regexp):
4475 * image-file.el (image-file-name-extensions):
4476 * find-dired.el (find-ls-option):
4477 * files.el (directory-listing-before-filename-regexp)
4478 (directory-free-space-args, insert-directory-program)
4479 (list-directory-brief-switches, magic-fallback-mode-alist)
4480 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
4481 (automount-dir-prefix):
4482 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
4483 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
4484 (face-font-registry-alternatives, face-font-registry-alternatives)
4485 (face-font-family-alternatives):
4486 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
4487 (facemenu-foreground-menu, facemenu-face-menu):
4488 * epa-hook.el (epa-file-name-regexp):
4489 * dnd.el (dnd-protocol-alist):
4490 * textmodes/rst.el (auto-mode-alist):
4491 * button.el (default-button): Purecopy strings.
4493 2009-11-06 Glenn Morris <rgm@gnu.org>
4495 * Makefile.in (ELCFILES): Update.
4497 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
4500 * emacs-lisp/levents.el: Move to obsolete/levents.el.
4502 * nxml/xsd-regexp.el (xsdre-gen-categories):
4503 * nxml/xmltok.el (xmltok-parse-entity):
4504 * nxml/rng-parse.el (rng-parse-validate-file):
4505 * nxml/rng-maint.el (rng-format-manual)
4506 (rng-manual-output-force-new-line):
4507 * nxml/rng-loc.el (rng-save-schema-location-1):
4508 * nxml/rng-cmpct.el (rng-c-parse-file):
4509 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4510 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
4512 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
4514 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
4515 Remove extra save-excursions and make-variable-buffer-local's.
4516 Suggested by Stefan Monnier.
4518 (verilog-getopt-file, verilog-module-inside-filename-p)
4519 (verilog-set-define): Merge GNU 1.35 and repair changes from
4520 switching to using with-current-buffer.
4522 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
4523 being treated as a number and confusing AUTORESET.
4524 Reported by Dan Dever.
4526 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
4527 Add verilog-auto-ignore-concat to fix backward compatibility with
4528 older verilog-modes. Reported by Dan Katz.
4530 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
4531 containing closing anchors "...$".
4533 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
4534 Reported by Wade Smith.
4536 (verilog-batch-execute-func): Comment on function usage.
4538 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
4540 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
4543 (verilog-label-re, verilog-calc-1): Support proper indent of named
4546 (verilog-backward-token, verilog-basic-complete-re)
4547 (verilog-beg-of-statement, verilog-indent-re): Support proper
4548 indent of the assert statement at the beginning of a block of text.
4550 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
4551 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
4554 2009-11-05 Glenn Morris <rgm@gnu.org>
4556 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
4557 Emacs 19. (Bug#1531)
4558 (byte-compile-fix-header): Update for the above change.
4559 Drop test for epoch::version.
4561 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
4562 * cus-dep.el (custom-make-dependencies):
4563 * finder.el (finder-compile-keywords):
4564 Use autoload-rubric's feature argument.
4566 * calendar/diary-lib.el (top-level): Make load behave more like require.
4568 * vc-git.el (vc-git-stash-map): Move definition before use.
4570 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
4572 * custom.el (custom-declare-group): Purecopy standard-value.
4573 (custom-declare-group): Purecopy custom-prefix.
4575 * international/mule.el (load-with-code-conversion):
4576 Call do-after-load-evaluation unconditionally.
4578 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
4580 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
4584 2009-11-04 Glenn Morris <rgm@gnu.org>
4586 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
4587 (byte-compile-compatibility): Remove option.
4588 (byte-compile-close-variables, byte-compile-fix-header)
4589 (byte-compile-insert-header, byte-compile-output-docform)
4590 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
4591 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
4592 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
4593 (byte-compile-insert, byte-compile-defun):
4594 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
4595 (byte-defop-compiler19): Remove.
4596 Without byte-compile-compatibility, the 'emacs19-opcode property is not
4597 used by anything. Replace all calls with byte-defop-compiler.
4599 2009-11-04 Juri Linkov <juri@jurta.org>
4601 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
4602 (menu-bar-options-menu): Don't quote the `prop' arg of
4603 `menu-bar-make-mm-toggle'.
4605 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
4607 * calendar/calendar.el (cal-loaddefs):
4608 * calendar/diary-lib.el (diary-loaddefs):
4609 * calendar/holidays.el (hol-loaddefs):
4610 * eshell/esh-module.el (esh-groups): Load rather than require.
4612 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * calendar/todo-mode.el (todo-add-category): Don't hardcode
4616 (todo-top-priorities): Only display-buffer when called interactively.
4617 (todo-item-start): Don't save excursion point.
4618 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
4619 (todo-insert-item-here, todo-file-item, todo-remove-item):
4620 Adjust uses of todo-item-start and todo-item-end.
4622 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
4623 (autoload-rubric): Don't use any more.
4624 * cedet/semantic/fw.el (semantic/loaddefs):
4625 * cedet/srecode.el (srecode/loaddefs):
4626 * cedet/ede.el (ede/loaddefs): Load rather than require.
4627 * cedet/ede/cpp-root.el:
4628 * cedet/ede/emacs.el:
4629 * cedet/ede/files.el:
4630 * cedet/ede/linux.el:
4631 * cedet/ede/locate.el:
4632 * cedet/ede/make.el:
4633 * cedet/ede/shell.el:
4634 * cedet/ede/speedbar.el:
4635 * cedet/ede/system.el:
4636 * cedet/ede/util.el:
4637 * cedet/semantic/analyze.el:
4638 * cedet/semantic/bovine.el:
4639 * cedet/semantic/complete.el:
4640 * cedet/semantic/ctxt.el:
4641 * cedet/semantic/db-file.el:
4642 * cedet/semantic/db-find.el:
4643 * cedet/semantic/db-global.el:
4644 * cedet/semantic/db-mode.el:
4645 * cedet/semantic/db-typecache.el:
4646 * cedet/semantic/db.el:
4647 * cedet/semantic/debug.el:
4648 * cedet/semantic/dep.el:
4649 * cedet/semantic/doc.el:
4650 * cedet/semantic/edit.el:
4651 * cedet/semantic/find.el:
4652 * cedet/semantic/format.el:
4653 * cedet/semantic/html.el:
4654 * cedet/semantic/ia-sb.el:
4655 * cedet/semantic/ia.el:
4656 * cedet/semantic/idle.el:
4657 * cedet/semantic/lex-spp.el:
4658 * cedet/semantic/lex.el:
4659 * cedet/semantic/mru-bookmark.el:
4660 * cedet/semantic/scope.el:
4661 * cedet/semantic/senator.el:
4662 * cedet/semantic/sort.el:
4663 * cedet/semantic/symref.el:
4664 * cedet/semantic/tag-file.el:
4665 * cedet/semantic/tag-ls.el:
4666 * cedet/semantic/tag-write.el:
4667 * cedet/semantic/tag.el:
4668 * cedet/semantic/util-modes.el:
4669 * cedet/semantic/analyze/complete.el:
4670 * cedet/semantic/analyze/refs.el:
4671 * cedet/semantic/bovine/c.el:
4672 * cedet/semantic/bovine/gcc.el:
4673 * cedet/semantic/bovine/make.el:
4674 * cedet/semantic/bovine/scm.el:
4675 * cedet/semantic/decorate/include.el:
4676 * cedet/semantic/decorate/mode.el:
4677 * cedet/semantic/symref/cscope.el:
4678 * cedet/semantic/symref/global.el:
4679 * cedet/semantic/symref/grep.el:
4680 * cedet/semantic/symref/idutils.el:
4681 * cedet/semantic/symref/list.el:
4682 * cedet/semantic/wisent/java-tags.el:
4683 * cedet/semantic/wisent/javascript.el:
4684 * cedet/srecode/compile.el:
4685 * cedet/srecode/cpp.el:
4686 * cedet/srecode/document.el:
4687 * cedet/srecode/el.el:
4688 * cedet/srecode/expandproto.el:
4689 * cedet/srecode/getset.el:
4690 * cedet/srecode/insert.el:
4691 * cedet/srecode/java.el:
4692 * cedet/srecode/map.el:
4693 * cedet/srecode/mode.el:
4694 * cedet/srecode/template.el:
4695 * cedet/srecode/texi.el: Remove the file-local setting of
4696 generated-autoload-feature.
4698 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
4699 and only put a prop if it is non-nil.
4701 2009-11-03 Juri Linkov <juri@jurta.org>
4703 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
4704 (menu-bar-options-menu): Fix list quoting (Bug#4429).
4706 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
4707 and "Menu" to make top-level menu item visually one unit (like
4708 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
4709 multi-word menu items). Fix :help string for quit-window.
4711 2009-11-03 Glenn Morris <rgm@gnu.org>
4713 * cedet/mode-local.el (with-mode-local): Doc fix.
4715 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4716 (byte-compile-file-form-define-abbrev-table)
4717 (byte-compile-file-form-custom-declare-variable)
4718 (byte-compile-variable-ref, byte-compile-defvar):
4719 Whether or not a warning is enabled should only affect whether we issue
4720 the warning, not whether or not we collect the relevant data.
4721 Eg warnings can be turned on and off throughout the course of a file.
4723 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
4724 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
4726 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
4729 * play/mpuz.el (mpuz-create-buffer):
4730 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
4731 (lm-print-y,s,noise, lm-print-w0, lm-init):
4732 * play/gomoku.el (gomoku-prompt-for-move):
4733 * play/fortune.el (fortune-in-buffer):
4734 * play/dissociate.el (dissociated-press):
4735 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
4736 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
4737 * mail/supercite.el (sc-eref-show):
4738 * mail/smtpmail.el (smtpmail-send-it):
4739 * mail/rmailsum.el (rmail-summary-next-labeled-message)
4740 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
4741 (rmail-summary-undelete-many, rmail-summary-rmail-update)
4742 (rmail-summary-goto-msg, rmail-summary-expunge)
4743 (rmail-summary-get-new-mail, rmail-summary-search-backward)
4744 (rmail-summary-add-label, rmail-summary-output-menu)
4745 (rmail-summary-output-body):
4746 * mail/rfc822.el (rfc822-addresses):
4747 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
4748 * mail/mailpost.el (post-mail-send-it):
4749 * mail/hashcash.el (hashcash-generate-payment):
4750 * mail/feedmail.el (feedmail-run-the-queue)
4751 (feedmail-queue-send-edit-prompt-help-first)
4752 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
4753 (feedmail-deduce-address-list):
4754 * eshell/esh-ext.el (eshell-remote-command):
4755 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
4756 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
4757 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
4758 (viper-save-string-in-file, viper-valid-marker):
4759 * emulation/viper-keym.el (viper-toggle-key):
4760 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
4761 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
4762 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
4763 * emulation/viper-cmd.el (viper-exec-form-in-vi)
4764 (viper-exec-form-in-emacs, viper-brac-function):
4765 * emulation/viper.el (viper-delocalize-var):
4766 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
4767 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
4768 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
4769 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
4770 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
4771 * emulation/edt.el (edt-electric-helpify):
4772 * emulation/cua-rect.el (cua--rectangle-aux-replace):
4773 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
4774 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
4775 (cua-indent-to-global-mark-column):
4776 * calendar/diary-lib.el (calendar-mark-1):
4777 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
4778 Use with-current-buffer.
4779 * emulation/viper.el (viper-delocalize-var): Use dolist.
4781 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
4783 * comint.el (comint-replace-by-expanded-history-before-point):
4784 Replace !! with the previous input string literally (Bug#1795).
4786 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
4788 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
4789 to be made up of whitespace.
4791 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
4793 * minibuffer.el (read-file-name): Don't use file dialogs for
4794 remote directories (Bug#99).
4796 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
4798 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
4800 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
4802 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
4803 instead of deleting the window or frame.
4805 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
4807 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
4808 Support face colors.
4810 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
4811 New function. Support face colors (Bug#1168).
4812 (tex-common-initialization): Use it.
4814 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
4815 mode allows it (Bug#1168).
4817 2009-10-31 Juri Linkov <juri@jurta.org>
4819 * facemenu.el (list-colors-display): Don't mark buffer as
4820 modified (Bug#3948).
4822 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
4824 * international/mule-diag.el (list-character-sets-1): Minor
4825 message fix (Bug#3526).
4827 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
4828 face property (Bug#4834).
4829 (etags-list-tags, etags-tags-apropos-additional)
4830 (etags-tags-apropos, tags-select-tags-table): Add follow-link
4833 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
4836 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
4839 * cedet/ede.el (ede-minor-mode):
4840 * cedet/semantic.el (semantic-mode): Toggle menu separators.
4842 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4844 * textmodes/two-column.el (2C-split):
4845 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
4846 * textmodes/tex-mode.el (tex-set-buffer-directory):
4847 * textmodes/spell.el (spell-region, spell-string):
4848 * textmodes/reftex.el (reftex-erase-buffer):
4849 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
4850 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4851 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
4852 (reftex-select-item):
4853 * textmodes/reftex-ref.el (reftex-label-info-update)
4854 (reftex-offer-label-menu):
4855 * textmodes/reftex-index.el (reftex-index-change-entry)
4856 (reftex-index-phrases-info):
4857 * textmodes/reftex-global.el (reftex-create-tags-file)
4858 (reftex-save-all-document-buffers, reftex-ensure-write-access):
4859 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
4860 (reftex-view-crossref-from-bibtex):
4861 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
4862 (reftex-extract-bib-entries-from-thebibliography)
4863 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
4864 * textmodes/refbib.el (r2b-capitalize-title):
4865 (r2b-convert-buffer, r2b-help):
4866 * textmodes/page-ext.el (pages-directory)
4867 (pages-directory-goto-with-mouse):
4868 * textmodes/bibtex.el (bibtex-validate-globally):
4869 * textmodes/bib-mode.el (bib-capitalize-title):
4870 * textmodes/artist.el (artist-clear-buffer, artist-system):
4871 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
4872 (local-set-scheme-interaction-buffer, xscheme-process-filter)
4873 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
4874 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
4875 (xscheme-send-control-g-interrupt, xscheme-start-process)
4876 (xscheme-process-sentinel, xscheme-cd):
4877 * progmodes/verilog-mode.el (verilog-read-always-signals)
4878 (verilog-set-define, verilog-getopt-file)
4879 (verilog-module-inside-filename-p):
4880 * progmodes/sh-script.el:
4881 * progmodes/python.el (python-pdbtrack-get-source-buffer)
4882 (python-pdbtrack-grub-for-buffer, python-execute-file):
4883 * progmodes/octave-inf.el (inferior-octave):
4884 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4885 (idlwave-shell-compile-helper-routines, idlwave-set-local)
4886 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
4887 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
4888 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
4889 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
4890 (idlwave-shell-filter, idlwave-shell-examine-highlight)
4891 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
4892 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
4893 (idlwave-shell-examine-display, idlwave-shell-run-region)
4894 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
4895 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
4896 * progmodes/idlw-help.el (idlwave-help-get-special-help)
4897 (idlwave-help-get-help-buffer):
4898 * progmodes/gud.el (gud-basic-call, gud-find-class)
4899 (gud-tooltip-activate-mouse-motions-if-enabled):
4900 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4901 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
4902 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
4903 (ebrowse-tags-next-file):
4904 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
4905 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
4906 (ebnf-eps-finish-and-write):
4907 * progmodes/cpp.el (cpp-edit-save):
4908 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
4909 * progmodes/cc-defs.el (c-emacs-features):
4910 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
4911 (antlr-directory-dependencies):
4912 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
4913 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
4914 (ada-find-any-references, ada-make-filename-from-adaname)
4915 (ada-make-body-gnatstub):
4916 * obsolete/rnews.el (news-list-news-groups):
4917 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
4918 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
4919 * net/rcirc.el (rcirc-debug):
4920 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4921 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
4922 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
4923 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
4924 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
4925 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
4926 (newsticker--treeview-list-clear-highlight)
4927 (newsticker--treeview-list-update-highlight)
4928 (newsticker--treeview-list-highlight-start)
4929 (newsticker--treeview-tree-update-highlight)
4930 (newsticker--treeview-get-selected-item)
4931 (newsticker-treeview-mark-list-items-old)
4932 (newsticker--treeview-set-current-node):
4933 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4934 * net/newst-backend.el (newsticker--get-news-by-funcall)
4935 (newsticker--get-news-by-wget, newsticker--image-get)
4936 (newsticker--image-sentinel):
4937 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
4938 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
4939 (eudc-ph-close-session):
4940 * net/eudc.el (eudc-save-options):
4941 * language/thai-word.el (thai-update-word-table):
4942 * language/japan-util.el (japanese-string-conversion):
4943 * international/titdic-cnv.el (tsang-quick-converter)
4944 (ziranma-converter, ctlau-converter):
4945 * international/mule-cmds.el (describe-language-environment):
4946 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
4947 (skkdic-convert-postfix, skkdic-convert-prefix):
4948 (skkdic-convert-okuri-nasi, skkdic-convert):
4949 * emacs-lisp/re-builder.el (reb-update-overlays):
4950 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
4951 * emacs-lisp/gulp.el (gulp-send-requests):
4952 * emacs-lisp/find-gc.el (trace-call-tree):
4953 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
4954 (eieio-describe-generic):
4955 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4956 * emacs-lisp/edebug.el (edebug-outside-excursion):
4957 * emacs-lisp/debug.el (debugger-make-xrefs):
4958 * emacs-lisp/cust-print.el (custom-prin1-to-string):
4959 * emacs-lisp/chart.el (chart-new-buffer):
4960 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
4961 Use with-current-buffer.
4962 * textmodes/artist.el (artist-system): Don't call
4963 copy-sequence on a fresh string.
4964 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
4966 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
4968 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
4969 is no item to edit. (Bug#4820)
4970 (todo-top-priorities): Restore point and restore narrowing in Todo
4973 2009-10-31 Glenn Morris <rgm@gnu.org>
4975 * net/ange-ftp.el (top-level): Don't require dired when compiling.
4976 (comint-last-output-start, comint-last-input-start)
4977 (comint-last-input-end): Don't defvar when compiling.
4978 (ange-ftp-process-file): Use bound-and-true-p.
4980 * pcmpl-rpm.el (top-level): Move provide statement to end.
4981 (pcmpl-rpm): Remove unused custom group.
4983 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
4985 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
4987 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
4988 (byte-compile-warnings): Add `constants' as an option.
4989 (byte-compile-callargs-warn, byte-compile-arglist-warn)
4990 (display-call-tree): Update for byte-compile-fdefinition possibly
4991 returning `(macro lambda ...)'. (Bug#4778)
4992 (byte-compile-variable-ref, byte-compile-setq-default):
4993 Respect `constants' member of byte-compile-warnings.
4995 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
4996 Use mapc rather than mapcar because the return value is never used.
4998 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
4999 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
5000 * cedet/semantic/html.el:
5001 Suppress harmless warnings about setting up semantic-imenu (not
5002 part of Emacs) variables.
5004 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5006 * vc-bzr.el (vc-bzr-revision-keywords): New var.
5007 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
5010 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
5011 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
5012 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
5013 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
5014 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
5015 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
5016 (semantic-analyzer-debug-global-symbol)
5017 (semantic-analyzer-debug-missing-innertype)
5018 (semantic-analyzer-debug-insert-include-summary):
5019 * cedet/semantic/util.el (semantic-file-tag-table):
5020 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
5021 (semantic-recursive-find-nonterminal-by-name):
5022 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
5023 * cedet/semantic/tag-file.el (semantic-prototype-file):
5024 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
5025 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
5026 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
5027 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
5028 (semantic-idle-summary-maybe-highlight):
5029 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
5030 (semantic-ia-sb-tag-info):
5031 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
5032 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
5033 * cedet/semantic/ede-grammar.el (project-compile-target):
5034 (ede-proj-makefile-insert-variables):
5035 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
5036 (semantic-debug-set-source-location, semantic-debug-interface-layout)
5037 (semantic-debug-mode, semantic-debug):
5038 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
5039 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
5040 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
5041 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
5042 (semanticdb-find-translate-path-includes--internal)
5043 (semanticdb-reset-log, semanticdb-find-log-activity):
5044 * cedet/semantic/db-file.el (object-write):
5045 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
5046 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
5047 (semanticdb-create-ebrowse-database):
5048 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
5049 * cedet/semantic/complete.el (semantic-displayor-focus-request)
5050 (semantic-collector-calculate-completions-raw)
5051 (semantic-complete-read-tag-analyzer):
5052 * cedet/semantic/analyze.el (semantic-analyze-pulse):
5053 * cedet/ede/util.el (ede-update-version-in-source):
5054 * cedet/ede/proj.el (project-delete-target):
5055 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
5056 (ede-proj-flush-autoconf):
5057 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
5058 (ede-proj-configure-synchronize):
5059 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
5060 * cedet/ede/linux.el (ede-linux-version):
5061 * cedet/ede/emacs.el (ede-emacs-version):
5062 * cedet/ede/dired.el (ede-dired-add-to-target):
5063 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
5064 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
5065 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
5066 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
5067 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
5068 (cedet-idutils-version-check):
5069 * cedet/cedet-global.el (cedet-gnu-global-call):
5070 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
5071 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
5072 * cedet/cedet-cscope.el (cedet-cscope-call)
5073 (cedet-cscope-expand-filename, cedet-cscope-version-check):
5074 Use with-current-buffer.
5075 * cedet/ede.el (ede-make-project-local-variable)
5076 (ede-set-project-variables, ede-set): Use dolist.
5078 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
5080 * textmodes/ispell.el (ispell-skip-region-alist):
5081 * international/mule-conf.el (eight-bit):
5082 * international/fontset.el (font-encoding-alist):
5083 * startup.el (pure-space-overflow-message):
5084 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
5085 * paths.el (gnus-nntp-service, rmail-spool-directory)
5087 * files.el (save-some-buffers-action-alist):
5088 * cmuscheme.el (same-window-buffer-names):
5089 * ielm.el (same-window-buffer-names):
5090 * shell.el (same-window-buffer-names):
5091 * mail/sendmail.el (same-window-buffer-names):
5092 * progmodes/inf-lisp.el (same-window-buffer-names):
5093 * bindings.el (mode-line-client)
5094 (mode-line-column-line-number-mode-map):
5095 * language/tibetan.el (tibetan-precomposition-rule-regexp)
5096 (tibetan-precomposed-regexp): Purecopy string arguments.
5098 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
5101 (calcDigit-nondigit):
5102 * calc/calc-yank.el (calc-copy-to-buffer):
5103 * calc/calc-units.el (calc-invalidate-units-table):
5104 * calc/calc-trail.el (calc-trail-yank):
5105 * calc/calc-store.el (calc-insert-variables):
5106 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
5107 * calc/calc-prog.el (calc-read-parse-table):
5108 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
5109 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
5110 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
5111 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
5112 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
5113 (calc-graph-name, calc-graph-find-command, calc-graph-view)
5114 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
5115 * calc/calc-ext.el (calc-realign):
5116 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
5117 (calc-embedded-finish-edit, calc-embedded-make-info)
5118 (calc-embedded-finish-command, calc-embedded-stack-change):
5119 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
5121 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
5122 (overload-docstring-extension): Use that info.
5123 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
5124 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
5125 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
5126 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
5127 (semantic-nonterminal-full-name): Add the new `when' info.
5128 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
5131 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
5132 shell-dynamic-complete-filename in preference to
5133 comint-dynamic-complete-filename.
5135 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5136 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5137 Don't consider whether the display supports colors.
5138 (bookmark-import-new-list): Use dolist.
5139 (bookmark-bmenu-mode-map): Move initialization into declaration.
5140 (bookmark-bmenu-list): Use dolist, simplify.
5141 (bookmark-show-all-annotations): Use save-selected-window and dolist.
5142 (menu-bar-final-items): Use push.
5144 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
5146 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
5147 it works on remote files.
5148 (vc-hg-diff): Don't pass any `--cwd' argument.
5150 2009-10-27 Kevin Ryde <user42@zip.com.au>
5152 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
5153 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
5154 (Further to Bug#3921).
5156 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
5158 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
5159 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
5160 calling `tramp-imap-put-file'. Add file size to the call.
5161 (tramp-imap-get-file-entries): Compute also user name, file size,
5163 (tramp-imap-handle-insert-directory): Insert uid and gid.
5164 (tramp-imap-handle-file-attributes): Transform uid and gid
5165 according to `id-format'.
5166 (tramp-imap-put-file): New optional parameter SIZE. Encode file
5167 size in header X-Size.
5169 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
5171 * simple.el (transpose-subr): Give clearer error when the mark
5172 is not set. (Bug#4807)
5174 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
5176 * net/tramp.el (tramp-perl-file-truename): New defconst.
5177 Perl code contributed by yary <not.com@gmail.com> (tiny change).
5178 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
5179 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
5180 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
5182 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5183 Ignore `dired-call-process'.
5184 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
5186 2009-10-26 Julian Scheid <julians37@gmail.com>
5188 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
5189 (tramp-get-remote-readlink): New defun.
5190 (tramp-handle-file-truename): Use it.
5191 (tramp-handle-file-exists-p): Check file-attributes cache, assume
5192 file exists if cache value present.
5193 (tramp-check-cached-permissions): New defun.
5194 (tramp-handle-file-readable-p): Use it.
5195 (tramp-handle-file-writable-p): Likewise.
5196 (tramp-handle-file-executable-p): Likewise.
5197 (tramp-handle-file-name-all-completions): Try using Perl to get
5198 partial completions. When perl not available, combine `cd' and
5199 `ls' into single remote operation and use shell expansion to get
5200 partial remote directory contents. Set `file-exists-p' cache for
5201 directory and any files returned by ls. Change cache handling to
5202 support partial directory contents. Use error message emitted by
5203 remote `cd' or Perl code for local tramp-error.
5204 (tramp-do-copy-or-rename-file-directly): Avoid separate
5205 tramp-send-command-and-check call.
5206 (tramp-handle-process-file): Merge three remote ops into one.
5207 Do not flush all caches when `process-file-side-effects' is set.
5208 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
5209 file-attributes shows uid/gid to be set already.
5211 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
5213 * textmodes/tex-mode.el (tex-dvi-view-command)
5214 (tex-show-queue-command, tex-open-quote):
5215 * progmodes/ruby-mode.el (auto-mode-alist)
5216 (interpreter-mode-alist): Purecopy strings.
5218 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
5220 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
5221 string for the hook, keymap and abbrev table.
5223 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
5225 * x-dnd.el (x-dnd-xdnd-to-action):
5226 * startup.el (fancy-startup-text, fancy-about-text): Change to
5227 defconst from defvar.
5229 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
5231 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
5232 Purecopy initialization strings.
5234 * mail/sendmail.el (mail-header-separator)
5235 (mail-personal-alias-file):
5236 * mail/rmail.el (rmail-default-dont-reply-to-names)
5237 (rmail-ignored-headers, rmail-retry-ignored-headers)
5238 (rmail-highlighted-headers, rmail-secondary-file-directory)
5239 (rmail-secondary-file-regexp):
5240 * files.el (null-device, file-name-invalid-regexp)
5241 (locate-dominating-stop-dir-regexp)
5242 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
5243 (interpreter-mode-alist): Use mapcar instead of mapc.
5245 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
5247 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
5248 (completion-ignored-extensions):
5249 (debug-ignored-errors): Purecopy strings.
5251 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
5254 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
5255 (pcomplete--here): Use push.
5257 * subr.el (all-completions): Declare the 4th arg obsolete.
5259 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5261 * pcomplete.el (pcomplete-unquote-argument-function): New var.
5262 (pcomplete-unquote-argument): New function.
5263 (pcomplete--common-suffix): Always pay attention to case.
5264 (pcomplete--table-subvert): Quote and unquote the text.
5265 (pcomplete--common-quoted-suffix): New function.
5266 (pcomplete-std-complete): Use it and pcomplete-begin.
5268 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
5269 we're inside a dedicated or minibuffer window.
5271 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * cedet/semantic/fw.el (semantic-alias-obsolete)
5274 (semantic-varalias-obsolete): Make the `when' arg mandatory.
5275 (define-mode-overload-implementation):
5276 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
5277 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
5278 * cedet/semantic/util.el (semantic-file-token-stream)
5279 (semantic-something-to-stream):
5280 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
5281 (semantic-expand-nonterminal):
5282 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
5283 (semantic-find-dependency, semantic-find-nonterminal)
5284 (semantic-find-dependency):
5285 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
5286 (semantic-flex-text, semantic-flex-make-keyword-table)
5287 (semantic-flex-keyword-p, semantic-flex-keyword-put)
5288 (semantic-flex-keyword-get, semantic-flex-map-keywords)
5289 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
5290 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
5291 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
5292 (semantic-after-idle-scheduler-reparse-hooks):
5293 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
5294 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
5295 * cedet/semantic.el (semantic-toplevel-bovine-table)
5296 (semantic-toplevel-bovine-cache)
5297 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
5298 (semantic-init-mode-hooks, semantic-init-db-hooks)
5299 (semantic-bovination-working-type): Provide the `when' arg.
5301 2009-10-24 Karl Fogel <kfogel@red-bean.com>
5303 * bookmark.el: Update documentation, especially documentation
5304 of `bookmark-alist' and of the bookmark file format.
5305 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
5307 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
5309 * mail/emacsbug.el (report-emacs-bug): Clarify that the
5310 keybindings apply to the mail buffer (Bug#4003). Shrink help
5313 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5314 (global-whitespace-mode, global-whitespace-newline-mode)
5315 (whitespace-toggle-options, global-whitespace-toggle-options):
5318 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
5319 of xmltok-start before the end tag was inserted (Bug#2840).
5321 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
5322 patterns that are preceded by an open-paren (Bug#1320).
5324 2009-10-24 Sven Joachim <svenjoac@gmx.de>
5326 * files.el (delete-directory): Delete symlinks to directories with
5327 delete-file (Bug#4739).
5329 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
5331 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
5332 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
5333 argument to make-obsolete.
5335 * cedet/semantic/fw.el (semantic-alias-obsolete)
5336 (semantic-varalias-obsolete): Add optional WHEN argument.
5338 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5340 * vc.el (vc-backend-for-registration): Rename from
5341 vc-get-backend-for-registration. Update callers.
5343 * international/mule-cmds.el (set-language-info-alist):
5345 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
5346 (charset): Purecopy the name.
5347 (define-char-code-property): Purecopy string arguments.
5349 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5350 Purecopy string arguments.
5352 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5353 * ediff-hook.el (menu-bar-ediff-menu):
5354 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
5355 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
5357 2009-10-24 Glenn Morris <rgm@gnu.org>
5359 * comint.el (comint-dynamic-list-completions):
5360 * term.el (term-dynamic-list-completions): Use choose-completion rather
5361 than obsolete alias mouse-choose-completion.
5363 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
5364 file-cache-choose-completion.
5365 (file-cache-choose-completion): Handle an optional event argument.
5366 (file-cache-mouse-choose-completion): Make it an obsolete alias.
5368 * progmodes/octave-mod.el (octave-complete-symbol):
5369 Use choose-completion if mouse-choose-completion is ever removed.
5371 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
5374 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
5377 * vc-hooks.el (vc-responsible-backend): Fix declaration.
5379 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5381 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
5382 Ignore `pred' now that we receive one.
5383 Handle test-completion specially.
5385 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
5387 * vc.el (vc-responsible-backend): Throw an error if not backend is
5388 found. Remove the REGISTER argument. Move the code dealing with
5390 (vc-get-backend-for-registration): ... here. New function.
5391 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
5392 of vc-responsible-backend, pass the file name instead of the
5395 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
5399 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
5400 (pcomplete-comint-setup): Don't modify a global var via
5401 accidental side-effects.
5402 (pcomplete-shell-setup): Adjust call accordingly.
5403 (pcomplete-parse-comint-arguments): Use push.
5405 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
5407 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
5408 Allow uncapitalized info node names (Bug#3921).
5410 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
5411 to the DEBUG file (Bug#3781).
5413 2009-10-23 Jari Aalto <jari.aalto@cante.net>
5415 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
5416 dictionary entry (Bug#4579).
5418 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
5420 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
5421 from `rfn-eshadow-update-overlay-hook' when unloading.
5422 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
5423 "rsyncc". Adjust doc string.
5424 (tramp-temp-buffer-file-name): New buffer-local defvar.
5425 (tramp-handle-insert-file-contents, tramp-handle-write-region):
5426 Keep temporary file when indicated by method ("rsync" and
5428 (tramp-handle-write-region): Handle APPEND.
5429 (tramp-delete-temp-file-function): New defun. Added to
5432 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
5434 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
5436 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
5438 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
5439 (color-name-rgb-alist, tty-standard-colors)
5440 (tty-color-mode-alist): Change to defconst.
5442 * simple.el (mark-inactive): Purecopy message.
5444 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
5445 (global-map, yank-menu):
5446 * textmodes/ispell.el (ispell-menu-map):
5447 * net/eudc.el (eudc-tools-menu):
5448 * international/mule-cmds.el (describe-language-environment-map)
5449 (setup-language-environment-map, set-coding-system-map)
5451 * vc-hooks.el (vc-menu-entry, vc-menu-map):
5452 * replace.el (occur-mode-map):
5453 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
5455 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
5457 * calc/calc.el (math-read-number, math-read-number-simple): Use
5460 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5462 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
5463 rather than fiddling with global-map bindings, since it should only
5464 affect per-terminal settings.
5465 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
5467 * minibuffer.el (completion-table-with-terminator): Allow to specify
5468 the terminator-regexp.
5470 * simple.el (switch-to-completions): Look for *Completions* in other
5473 * pcomplete.el: Allow the use of completion-tables.
5474 (pcomplete-std-complete): New command.
5475 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
5476 (pcomplete--here): Use a function for `form' rather than an expression,
5477 so it can be byte-compiled.
5478 (pcomplete-here, pcomplete-here*): Adjust accordingly.
5479 Add edebug declaration.
5480 (pcomplete-show-completions): Remove unused var `curbuf'.
5481 (pcomplete-do-complete, pcomplete-stub):
5482 Don't assume `completions' is a list of strings any more.
5484 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
5486 * find-dired.el (find-name-arg): Fix typo in docstring.
5488 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
5491 (pcmpl-linux-fs-types): Same, and update to new modules layout.
5493 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
5496 * comint.el (comint-read-input-ring, comint-write-input-ring)
5497 (comint-substitute-in-file-name)
5498 (comint-dynamic-complete-as-filename)
5499 (comint-dynamic-simple-complete)
5500 (comint-dynamic-list-filename-completions)
5501 (comint-dynamic-list-completions)
5502 (comint-redirect-results-list-from-process): Minor simplifications.
5504 2009-10-21 Kevin Ryde <user42@zip.com.au>
5506 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
5507 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
5508 the first form. And insert a blank line after ";;; Code" since
5509 that's usual style. (Bug#4612)
5511 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
5513 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * minibuffer.el (completion-table-with-terminator): Properly implement
5516 boundaries, in case `terminator' appears in the suffix.
5517 (completion--embedded-envvar-table): Don't return boundaries if
5518 there's no valid completion. Simplify.
5519 (completion-file-name-table): New completion table extracted from
5520 completion--file-name-table.
5521 (completion--file-name-table): Use it.
5522 (read-file-name-predicate): Declare obsolete.
5523 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
5524 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
5525 completion-file-name-table, and use the `pred' argument.
5526 * files.el (locate-file-completion-table): Use the `pred' arg rather
5527 than read-file-name-predicate.
5528 (abbreviate-file-name): Use \` rather than ^ for BOS.
5530 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
5532 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
5533 vc-responsible-backend to register, it causes problems.
5535 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
5539 2009-10-21 Eric Ludlam <zappo@gnu.org>
5541 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
5542 (semantic-c-debug-mode-init-pch): New functions.
5543 (semantic-c-debug-mode-init-last-mode): New var.
5544 (semantic-c-parse-lexical-token): Use them.
5546 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
5547 When extracting the argument list, limit only by point-max.
5549 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
5551 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
5552 (tramp-smb-handle-file-attributes): Use it.
5553 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
5554 (tramp-smb-handle-insert-directory): Use `mapc' rather than
5555 `mapcar'. Use `tramp-smb-get-stat-capability'.
5556 Add `dired-filename' text properties.
5557 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
5558 (tramp-smb-maybe-open-connection): Simplify check for smbclient
5561 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5563 * subr.el (read-key-delay): Reduce to 0.01.
5564 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
5567 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
5571 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
5572 (Info-menu): Remove unused vars `last' and `completions'.
5573 (Info-index-nodes): Remove unused var `node'.
5575 * info.el (Info-complete-menu-item): Use complete-with-action.
5577 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
5579 Make vc-annotate work through copies and renames.
5580 * vc-annotate.el (vc-annotate-extract-revision-at-line):
5581 Return the file name too.
5582 (vc-annotate-revision-at-line)
5583 (vc-annotate-find-revision-at-line)
5584 (vc-annotate-revision-previous-to-line)
5585 (vc-annotate-show-log-revision-at-line): Update to get the file
5586 name from vc-annotate-extract-revision-at-line.
5587 (vc-annotate-show-diff-revision-at-line-internal): Change the
5588 argument to mean whether to show a file diff or not. Get the file
5589 name from vc-annotate-extract-revision-at-line.
5590 (vc-annotate-show-diff-revision-at-line):
5591 Update vc-annotate-show-diff-revision-at-line call.
5592 (vc-annotate-warp-revision): Add an optional file argument.
5594 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
5595 (vc-git-annotate-extract-revision-at-line): Also return the file
5598 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
5599 command. Remove unused code.
5600 (vc-hg-annotate-re): Update to match --follow output.
5601 (vc-hg-annotate-extract-revision-at-line): Also return the file
5604 * vc.el: Update annotate-extract-revision-at-line documentation.
5606 2009-10-18 Kevin Ryde <user42@zip.com.au>
5608 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
5609 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
5611 * net/browse-url.el (browse-url): Identify alist with "consp and
5612 not functionp" and let all other things go down the `apply' leg,
5613 as suggested by Stefan. (Further to bug#4531.)
5615 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
5617 * minibuffer.el (read-file-name): Check for repeat before putting
5618 a default argument in file-name-history (Bug#4657).
5620 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
5621 read syntax (Bug#4737).
5623 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
5625 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5627 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
5628 (html-tag-alist, html-tag-help): Add descriptions for undocumented
5629 entries and make note of obsolete tags.
5631 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5633 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
5635 2009-10-18 Glenn Morris <rgm@gnu.org>
5637 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
5638 grep, so that binary files (eg international/uni-bidi.el) can match.
5639 Remove test for "UnicodeData" files, since it is hopefully unnecessary
5640 now, and in any case the file header format has changed.
5642 2009-10-17 Glenn Morris <rgm@gnu.org>
5644 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
5645 (flyspell-get-word, flyspell-large-region)
5646 (flyspell-auto-correct-previous-word): Doc/error message fixes.
5648 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
5650 * Makefile.in (ELCFILES): Add ede/shell.
5652 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
5654 * term/common-win.el (x-colors): Purecopy it.
5656 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
5659 permissive for when the buffer is empty.
5660 (tar-header-block-tokenize): Decode the username and groupname.
5661 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
5663 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
5665 * cedet/srecode/srt.el:
5666 * cedet/srecode/compile.el:
5667 * cedet/semantic/mru-bookmark.el:
5668 * cedet/semantic/debug.el:
5669 * cedet/semantic/complete.el:
5670 * cedet/semantic/analyze.el: Require CL when compiling.
5672 2009-10-17 Eric Ludlam <zappo@gnu.org>
5674 * cedet/semantic/scope.el
5675 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
5676 tmpscope so that the regular scope will continue to work.
5678 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
5679 Use semantic-idle-summary-highlight-face as the highlighting.
5681 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
5682 contains multibyte characters, choose first applicable coding
5683 system automatically.
5685 * cedet/ede/project-am.el (project-run-target): New method.
5686 (project-run-target): New method.
5688 * cedet/ede.el (ede-target): Add run target menu item.
5689 (ede-project, ede-minor-keymap): Add ede-run-target binding.
5690 (ede-run-target): New function.
5691 (ede-target::project-run-target): New method.
5693 * cedet/ede/proj.el (project-run-target): New method.
5695 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
5696 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
5698 (ede-proj-target-makefile-shared-object): Only libtool compilers
5699 now available. Add linkers for libtool.
5700 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
5701 (ede-proj-makefile-target-name): Always use .la extension.
5703 * cedet/ede/proj-prog.el (project-run-target): New method.
5705 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
5706 (ede-g++-linker): Change Change link lines.
5708 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
5709 When searching for old variables, go to the end of the buffer and
5710 search backward from there.
5711 (ede-proj-makefile-automake-insert-subdirs)
5712 (ede-proj-makefile-automake-insert-extradist): New methods.
5713 (ede-proj-makefile-create): Use them.
5715 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
5716 Force FILE to expand to the current target. Use file-exists-p to
5717 check that it exists.
5719 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
5720 (ede-linux-load): Wrap dir in file-name-as-directory.
5723 * cedet/ede/files.el (ede-get-locator-object): When enabling
5724 locate, do so on "top".
5726 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
5727 file-name-as-directory during compare.
5728 (ede-emacs-version): Return Emacs/XEmacs differentiator.
5729 Get version number from different places. Don't call egrep.
5730 (ede-emacs-load): Set :version slot. Call file-name-as-directory
5731 to set the directory.
5733 * cedet/ede/shell.el: New file.
5735 * cedet/inversion.el (inversion-decoders): Allow for stray . in
5736 alpha/beta variants.
5738 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * international/mule-cmds.el (select-safe-coding-system): If the file
5741 has a coding cookie, use it regardless of any other setting (bug#4712).
5743 2009-10-17 Glenn Morris <rgm@gnu.org>
5745 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
5746 All errors should have messages.
5748 * foldout.el (foldout-mouse-swallow-events):
5749 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
5751 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
5752 (dired-keep-marker-copy, dired-keep-marker-hardlink)
5753 (dired-keep-marker-symlink, dired-dwim-target)
5754 (dired-copy-preserve-time): Do not autoload these defcustoms.
5756 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
5757 messages from messing up the file coding. (Bug#4623)
5759 2009-10-17 Jari Aalto <jari.aalto@cante.net>
5761 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
5762 if no match is found for the current dictionary. (Bug#4578)
5764 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
5765 optional, since that is how it is documented, and this is often called
5766 with a nil argument. (Bug#4577)
5767 (flyspell-external-point-words, flyspell-auto-correct-word)
5768 (flyspell-correct-word-before-point, flyspell-word-search-forward)
5769 (flyspell-word-search-backward): Remove nil argument in calls to
5770 flyspell-get-word, since it is not needed now.
5772 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
5774 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
5776 2009-10-16 Glenn Morris <rgm@gnu.org>
5778 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
5780 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5782 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
5783 (ange-ftp-file-size): New function.
5784 (ange-ftp-file-attributes): Use it.
5786 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
5788 * net/tramp-smb.el (tramp-smb-version): New defvar.
5789 (tramp-smb-maybe-open-connection): Use it, in order to avoid
5792 2009-10-16 Glenn Morris <rgm@gnu.org>
5794 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
5795 Maybe copy some custom properties from old to new name. (Bug#4706)
5797 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
5799 * subr.el (error, sit-for, start-process-shell-command)
5800 (start-file-process-shell-command): Set the calling convention
5801 after the function definition.
5803 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * subr.el (error, sit-for, start-process-shell-command)
5806 (start-file-process-shell-command): Use the new
5807 set-advertised-calling-convention feature.
5809 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
5811 * international/ucs-normalize.el (ucs-normalize-version):
5813 (check-range): Adjust for Unicode 5.2.
5815 2009-10-15 Juri Linkov <juri@jurta.org>
5817 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
5818 to the `menu-item' format.
5820 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
5822 * net/tramp.el (tramp-replace-environment-variables): Do not fail
5823 if the environment variable does not exist.
5825 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
5826 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
5828 (tramp-smb-handle-add-name-to-file)
5829 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
5830 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
5831 (tramp-smb-handle-file-attributes)
5832 (tramp-smb-do-file-attributes-with-stat)
5833 (tramp-smb-handle-file-local-copy)
5834 (tramp-smb-handle-insert-directory)
5835 (tramp-smb-handle-make-directory)
5836 (tramp-smb-handle-make-directory-internal)
5837 (tramp-smb-handle-make-symbolic-link)
5838 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
5839 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
5840 (tramp-smb-maybe-open-connection): Apply the changed parameters.
5841 (tramp-smb-read-file-entry): Read Disk names in compressed format.
5842 Handle long file names.
5843 (tramp-smb-get-cifs-capabilities): Check, whether the connection
5845 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
5846 Read share names with "-g" option.
5848 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
5850 * net/rcirc.el (rcirc-view-log-file): New command.
5851 (rcirc-track-minor-mode-map): Remove C-c ` binding.
5852 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
5855 2009-10-15 Glenn Morris <rgm@gnu.org>
5857 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
5858 from the second command-line argument.
5859 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
5860 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
5861 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
5862 w32-batch-update-autoloads.
5863 * emacs-lisp/autoload.el (autoload-make-program): New variable.
5864 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
5866 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
5867 the headers cannot be located. Simplify, subtracting superflous
5870 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5872 Replace completion-base-size by completion-base-position to fix bugs
5874 * simple.el (completion-base-position): New var.
5875 (completion-base-size): Mark as obsolete.
5876 (choose-completion): Make it work for mouse events as well.
5877 Pass the new base-position to choose-completion-string.
5878 (choose-completion-guess-base-position): New function, extracted from
5879 choose-completion-delete-max-match.
5880 (choose-completion-delete-max-match): Use it. Make obsolete.
5881 (choose-completion-string): Use the new base-position info.
5882 (completion-root-regexp): Delete.
5883 (completion-setup-function): Preserve completion-base-position.
5884 Eliminate obsolete base-size manipulation.
5885 * minibuffer.el (display-completion-list): Don't mess with base-size.
5886 (minibuffer-completion-help): Set completion-base-position instead.
5887 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
5889 * textmodes/bibtex.el (bibtex-complete):
5890 * emacs-lisp/crm.el (crm--choose-completion-string):
5891 Adjust to new calling convention.
5892 * complete.el (partial-completion-mode): Use minibufferp to avoid
5893 bumping into incompatible change to choose-completion-string-functions.
5894 * ido.el (ido-choose-completion-string): Make its calling convention
5896 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
5897 base-size manipulation.
5898 (comint-dynamic-list-input-ring): Use dotimes and push.
5899 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
5900 fundamental-mode. Use `or'.
5902 2009-10-14 Juri Linkov <juri@jurta.org>
5904 * misearch.el (multi-isearch-next-buffer-from-list)
5905 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
5907 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5909 * Makefile.in (compile-onefile): Load `bytecomp' rather than
5912 * minibuffer.el (completion-pcm--merge-completions): Make sure the
5913 string we return is all made up of text from the completions rather
5914 than part from the completions and part from the input (bug#4219).
5916 * ido.el (ido-everywhere): Use define-minor-mode.
5918 * buff-menu.el (list-buffers, ctl-x-map):
5919 Mark the entry points with ;;;###autoload cookies.
5921 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
5923 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
5924 correctly in the detached head case.
5925 (vc-git-print-log): Remove unused binding.
5927 * vc.el (vc-responsible-backend): When a directory is passed for
5928 for registration create a VC repository if no backend is
5929 responsible for the directory argument.
5930 (vc-deduce-fileset): Tell vc-responsible-backend to register.
5932 * vc.el: Move comments about RCS and SCCS ...
5934 * vc-sccs.el: ... here, respectively.
5936 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * minibuffer.el (completion--file-name-table): Return nil if there's
5939 no file completion, even if substitute-in-file-name changed
5940 the string (bug#4708).
5942 2009-10-13 Juri Linkov <juri@jurta.org>
5944 * files-x.el (read-file-local-variable-value): Don't filter out
5945 minor modes from mode name completion (bug#4664).
5947 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
5949 * international/mule-cmds.el (ucs-names): Remove exclusion of
5950 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
5952 2009-10-13 Kenichi Handa <handa@m17n.org>
5954 * international/uni-name.el: Regenerated.
5956 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
5958 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
5959 should be automatically buffer-local, but isn't.)
5961 2009-10-12 Sam Steingold <sds@gnu.org>
5963 * progmodes/compile.el (compilation-next-error-function): Fix the
5964 timestamps if the buffer has been visited before.
5965 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
5966 non-anchored patterns, like the perl one (bug#3928).
5968 2009-10-12 Glenn Morris <rgm@gnu.org>
5970 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
5973 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
5975 * proced.el (proced-unload-function): New function.
5977 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
5978 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
5981 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
5983 2009-10-11 Juri Linkov <juri@jurta.org>
5985 * files-x.el (read-file-local-variable-value):
5986 Provide default value only for bound variables (bug#4664).
5988 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
5990 * net/tramp.el (tramp-local-host-p): Function shall return nil for
5991 connection methods like smb.
5993 * net/tramp-cache.el (tramp-flush-connection-property): The hash
5996 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
5997 (tramp-smb-file-name-handler-alist): Add handlers for
5998 `add-name-to-file', `make-symbolic-link'.
5999 (tramp-smb-handle-add-name-to-file)
6000 (tramp-smb-do-file-attributes-with-stat)
6001 (tramp-smb-handle-make-symbolic-link)
6002 (tramp-smb-get-cifs-capabilities): New defuns.
6003 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
6004 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
6005 (tramp-smb-handle-file-local-copy)
6006 (tramp-smb-handle-make-directory-internal)
6007 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
6008 The file name syntax depends on cifs capabilities.
6009 (tramp-smb-handle-file-attributes):
6010 Call `tramp-smb-do-file-attributes-with-stat' if possible.
6011 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
6012 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
6014 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
6016 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
6017 (eieio-defclass): Apply deftype handler and setf-method properties
6019 (eieio-add-new-slot): Avoid union function from cl library.
6020 (eieio--typep): New function.
6021 (eieio-perform-slot-validation): Use it.
6023 2009-10-10 Karl Fogel <kfogel@red-bean.com>
6025 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
6026 Update documentation to refer to the variables documented in r1.135.
6029 2009-10-10 Karl Fogel <kfogel@red-bean.com>
6031 * bookmark.el (Info-suffix-list): Remove this unused variable.
6032 (bookmark-current-point): Remove this obsolete variable.
6033 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
6034 Adjust for removal of bookmark-current-point.
6036 (bookmarks-already-loaded, bookmark-current-buffer)
6037 (bookmark-yank-point): Document. (Bug#4188)
6039 2009-10-10 Glenn Morris <rgm@gnu.org>
6041 * frame.el (frame-height): Doc fix.
6043 * calendar/calendar.el (calendar-split-width-threshold): New option.
6044 (calendar-basic-setup): Use calendar-split-width-threshold.
6046 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
6048 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
6049 Use .la for Automake.
6051 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
6053 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
6054 Use "autoreconf -i". Suggested by Andreas Schwab.
6056 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
6058 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
6059 Ideographic Supplement" range (U+1F200..U+1F2FF).
6061 2009-10-09 Karl Fogel <kfogel@red-bean.com>
6063 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
6064 since the list will have been rebuilt anyway. (Bug#4349)
6066 2009-10-09 Karl Fogel <kfogel@red-bean.com>
6068 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
6069 (bookmark-bmenu-execute-deletions): Don't save here, as
6070 bookmark-delete will now do so if necessary.
6071 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
6074 2009-10-09 Glenn Morris <rgm@gnu.org>
6076 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
6078 2009-10-09 Karl Fogel <kfogel@red-bean.com>
6080 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
6081 (bookmark-jump-other-window): Just invoke bookmark-jump with new
6082 argument now, so the two function's behaviors will match. (Bug#3645)
6084 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
6086 * cedet/ede/proj.el (project-make-dist, project-compile-project):
6088 (ede-proj-dist-makefile): Use expand-file-name instead of concat
6089 to expand file names.
6091 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
6093 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
6094 (tramp-file-name-real-host, tramp-file-name-port):
6095 Apply `save-match-data'.
6097 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
6098 case both directories are remote.
6099 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
6100 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
6102 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
6104 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
6105 (ede-proj-target-makefile-objectcode): Use it.
6107 * cedet/ede/source.el (ede-want-any-source-files-p)
6108 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
6109 Return search result. This error was introduced while merging.
6111 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
6113 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
6115 2009-10-07 Glenn Morris <rgm@gnu.org>
6117 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
6120 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * files-x.el (read-file-local-variable): Include some
6123 non-user-variables in the completion table (bug#4664).
6125 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
6127 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
6130 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
6131 (tramp-smb-file-name-handler-alist): Add handler for
6132 `copy-directory', `expand-file-name', `set-file-modes'.
6133 (tramp-smb-handle-copy-directory)
6134 (tramp-smb-handle-expand-file-name)
6135 (tramp-smb-handle-set-file-modes): New defuns.
6136 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
6137 (tramp-smb-handle-file-attributes): Simplify check for retrieving
6139 (tramp-smb-handle-insert-directory): Don't flush the cache.
6140 (tramp-smb-maybe-open-connection): Check for samba client and
6143 2009-10-07 Eli Zaretskii <eliz@gnu.org>
6145 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
6146 to not error out of search for "^lisp=" fails.
6148 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
6150 * makefile.w32-in (WINS_UPDATES): New macro.
6151 (custom-deps, finder-data, autoloads): Use it.
6153 2009-10-07 Glenn Morris <rgm@gnu.org>
6155 * Makefile.in (autoloads): Revert previous change.
6156 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
6157 the list of preloaded files passed on the command-line, get
6158 it from src/Makefile.
6160 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
6161 show the original buffer rather than a random one.
6163 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
6165 * help.el (describe-no-warranty): Place point in a slightly better
6166 position in the GPLv3 text.
6168 2009-10-06 Sam Steingold <sds@gnu.org>
6170 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
6171 the comm attribute is present before calling regexp-quote.
6173 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
6175 * play/animate.el (animate-string): For good effect, make sure
6176 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
6178 * play/animate.el (animate-sequence, animate-birthday-present):
6179 * misc.el (butterfly): Don't set `indent-tabs-mode'.
6181 2009-10-06 Glenn Morris <rgm@gnu.org>
6183 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
6185 * emacs-lisp/autoload.el (autoload-excludes): New variable.
6186 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
6187 (batch-update-autoloads): Process a string value of autoload-excludes,
6188 set during the build process.
6189 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
6191 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
6192 inside with-parsed... macro so that `v' is defined.
6194 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
6195 * progmodes/fortran.el (fortran-end-of-block)
6196 (fortran-beginning-of-block):
6197 Also push mark in the macro case.
6199 * emerge.el (emerge-show-file-name):
6200 * calc/calc.el (calc-quit):
6201 * calc/calc-misc.el (calc-big-or-small):
6202 * calc/calc-graph.el (calc-graph-view):
6203 * calc/calc-ext.el (calc-reset):
6204 * calendar/calendar.el (calendar-basic-setup):
6205 Use window-full-height-p.
6207 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
6208 header we don't understand, don't insert another. (Bug#4624)
6209 If changing mime charset, insert the new one in the right place.
6211 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
6213 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
6214 (cal-tex-cursor-month): Correctly increment the end date for diary and
6215 holiday listing. (Bug#4626)
6217 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * help-fns.el (describe-function-1): Don't burp if the function is not
6222 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
6224 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
6225 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
6226 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
6227 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
6229 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
6230 (eieio-default-superclass): Reflow docstrings.
6231 (this, class-option-assoc, defclass, eieio-class-un-autoload)
6232 (eieio-unbind-method-implementations, defmethod)
6233 (eieio-validate-slot-value, eieio-validate-class-slot-value)
6234 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
6235 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
6236 (eieio-slot-originating-class-p, eieio-slot-name-index)
6237 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
6238 (constructor, initialize-instance, no-next-method, object-print)
6239 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
6240 Fix typos in docstrings.
6241 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
6242 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
6243 (next-method-p): Doc fixes.
6244 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
6245 Fix typos in error messages.
6246 (eieio-defmethod): Fix typo in description of generic method.
6248 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
6249 (eieio-persistent-save-interactive, slot-missing):
6250 Fix typos in docstrings.
6251 (eieio-instance-inheritor-slot-boundp): Doc fix.
6253 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
6254 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
6256 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
6257 (eieio-custom-object-apply-reset):
6258 Fix typos in docstrings and error messages.
6260 * emacs-lisp/eieio-datadebug.el (data-debug-show):
6261 Fix typo in docstring.
6263 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
6264 (eieio-browse-tree): Doc fix.
6265 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
6266 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
6267 Fix typos in docstrings.
6269 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
6270 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
6271 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
6272 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
6275 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
6277 * vc-hg.el (log-view-vc-backend): Declare for compiler.
6278 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
6279 Set log-view-vc-backend so that diff can work.
6281 * log-view.el (log-view-diff): Use vc-diff-internal instead of
6283 (vc-diff-internal): Autoload this instead of vc-version-diff.
6285 2009-10-05 Eli Zaretskii <eliz@gnu.org>
6287 * simple.el (eval-expression): Doc fix.
6289 * progmodes/cwarn.el (cwarn-mode): Doc fix.
6291 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
6293 * files.el (directory-files-no-dot-files-regexp): New defconst.
6294 (delete-directory): Use it.
6295 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
6297 * net/tramp.el (tramp-verbose): Fix docstring.
6298 (tramp-methods): Add recursive option to `tramp-copy-args'.
6299 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
6300 "scp1_old", "scp2_old", "rsync", "rsyncc".
6301 (tramp-default-method): Check also for `auth-source-user-or-password'.
6302 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
6303 Add handler for `copy-directory'.
6304 (tramp-handle-copy-directory): New defun.
6305 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
6306 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
6307 Optimize sent command.
6309 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6311 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
6312 window if necessary.
6314 * calendar/calendar.el (calendar-basic-setup): Don't call
6315 switch-to-buffer in a dedicated window.
6317 2009-10-05 Karl Fogel <kfogel@red-bean.com>
6319 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
6320 don't do anything related to relocating, just return nil.
6321 (bookmark-error-no-filename): New error.
6322 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
6323 bookmark has no file. Don't even attempt to handle things that
6324 are not files; the whole point of custom handlers is to keep that
6325 knowledge elsewhere anyway. Tighten some comments.
6326 (bookmark-file-or-variation-thereof): Remove now-unused function.
6327 (bookmark-location): Doc string fix.
6330 2009-10-04 Karl Fogel <kfogel@red-bean.com>
6332 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
6333 don't use a file dialog, because they usually don't know how to read
6334 a directory target from the user. (Bug#4230)
6335 Also, make sure the prompt can display directories as well as files.
6337 2009-10-04 Karl Fogel <kfogel@red-bean.com>
6339 * bookmark.el (bookmark-set, bookmark-buffer-name):
6340 Improve doc strings. (Bug#1193)
6342 2009-10-04 Karl Fogel <kfogel@red-bean.com>
6344 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
6345 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
6346 (bookmark-get-annotation, bookmark-set-annotation)
6347 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6348 (bookmark-set-position, bookmark-get-front-context-string)
6349 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6350 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
6351 (bookmark-jump-other-window, bookmark-handle-bookmark)
6352 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
6353 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
6354 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
6355 Improve doc strings to say whether bookmark can be a string or
6356 a record or both, and make other consistency and clarity fixes.
6357 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
6358 (bookmark-default-annotation-text, bookmark-yank-word)
6359 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
6360 (bookmark-import-new-list, bookmark-maybe-rename)
6361 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
6362 (bookmark-bmenu-bookmark): Give these doc strings.
6363 (bookmark-bmenu-check-position): Give this a doc string, but also
6364 add a FIXME comment about how the function may be pointless.
6365 (bookmark-default-handler): Rework doc string and change a
6366 parameter name, to clarify that this takes a bookmark record
6367 not a bookmark name.
6368 (bookmark-set): Change a parameter name to indicate its meaning,
6369 and improve the doc string a bit.
6372 2009-10-04 Karl Fogel <kfogel@red-bean.com>
6374 * bookmark.el (bookmark-alist): Document the new `handler' element
6376 (bookmark-make-record-function): Adjust documentation for above.
6379 2009-10-04 Karl Fogel <kfogel@red-bean.com>
6381 * info.el (Info-bookmark-make-record): Document this function.
6382 (Info-bookmark-jump): Document with a doc string, not just a comment.
6385 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
6387 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
6388 (semantic-new-buffer-fcn): Call parser setup functions here.
6389 (semantic-mode): Don't call parser setup functions here, it's done
6390 in semantic-new-buffer-fcn now.
6391 (semantic-mode): Parse all existing buffers when enabled.
6393 * cedet/srecode/compile.el (srecode-compile-file):
6394 Call semantic-new-buffer-fcn if the buffer has not been parsed.
6396 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
6398 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
6400 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
6401 (proj-comp-insert-variable-once): New macro, renamed from
6402 ede-pmake-insert-variable-once in ede/pmake.edl.
6403 (ede-proj-makefile-insert-variables): Use it.
6405 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
6407 * files.el (copy-directory): New defun.
6409 * dired-aux.el (dired-copy-file-recursive): Use it.
6411 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
6413 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
6414 (makefile-end-of-command):
6415 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
6416 (semantic-end-of-context): Fix previous change. Doc fixes.
6418 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
6420 * files-x.el (modify-dir-local-variable)
6421 (copy-dir-locals-to-file-locals-prop-line):
6422 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
6423 (makefile-end-of-command):
6424 * cedet/semantic/lex.el (semantic-lex-token):
6425 * cedet/semantic/analyze/fcn.el
6426 (semantic-analyze-dereference-metatype-1):
6427 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
6428 (semantic-lex-cpp-undef):
6429 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
6430 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
6431 (semantic-end-of-context): Fix typos in docstrings.
6433 * recentf.el (recentf-unload-function): New function.
6435 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
6437 * cedet/ede.el (ede-project-placeholder-cache-file):
6438 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
6439 * cedet/srecode/map.el (srecode-map-save-file):
6440 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
6442 2009-10-04 Glenn Morris <rgm@gnu.org>
6444 * window.el (window-full-height-p): Add doc string.
6446 2009-10-04 Martin Rudalics <rudalics@gmx.at>
6448 * window.el (window-full-height-p): New function. (Bug#4543)
6450 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
6452 * cedet/srecode/insert.el: Require srecode/args.
6454 * cedet/srecode/args.el: Require srecode/dictionary instead of
6457 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
6459 * files.el (auto-mode-alist): Add .srt and Project.ede.
6461 * cedet/semantic.el (semantic-mode):
6462 Handle srecode-template-mode-hook as well.
6463 (semantic-mode): Use js-mode-hook for Javascript hook.
6465 * cedet/srecode/template.el: Remove hook variable.
6467 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
6469 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
6471 (ede-project-placeholder-cache-file): Default to a file in
6472 user-emacs-directory.
6474 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
6475 templates in data-directory.
6476 (srecode-map-save-file): Default to a file in user-emacs-directory.
6478 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
6481 2009-09-30 Eric Ludlam <zappo@gnu.org>
6483 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
6486 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
6487 Only insert each variable once.
6489 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
6490 (ede-pmake-insert-variable-shared): Use it.
6492 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
6493 for lexical table iff table is nil.
6495 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6497 * vc.el: Remove commented out code.
6498 (vc-derived-from-dir-mode): Remove, unused.
6499 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
6501 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6504 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
6505 there could be recursive loading when `default-directory' is a
6506 remote file name. (Bug#4614)
6508 2009-10-03 Glenn Morris <rgm@gnu.org>
6510 * calendar/calendar.el (calendar-basic-setup): Handle the case where
6512 (calendar-generate-window): Test for shrinkability rather than width.
6514 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
6515 declaration, currently false.
6517 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
6518 reusing existing buffers, in case we happen to visit two files with the
6519 same basename. (Bug#4593)
6521 2009-10-02 Eli Zaretskii <eliz@gnu.org>
6523 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
6524 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
6525 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
6526 subdirs of cedet as well.
6527 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
6529 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
6532 Obey advertised-signature-table.
6534 * help-fns.el (help-function-arglist): Don't check
6535 advertised-signature-table.
6536 (describe-function-1): Do it here instead so it also applies to subrs.
6538 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
6540 * simple.el (start-file-process): Say in the doc-string, that file
6541 handlers might not support pty association, if PROGRAM is nil.
6543 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
6544 HOST and USER are strings. They are nil, when there are
6545 incomplete entries in ~/.netrc, for example.
6546 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
6547 root directory ("device busy" error otherwise).
6549 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
6550 Flush file properties of created directory.
6552 2009-10-02 Eli Zaretskii <eliz@gnu.org>
6554 * makefile.w32-in (WINS_BASIC): Remove cedet.
6555 (WINS_CEDET): Add cedet.
6556 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
6558 2009-10-02 Kevin Ryde <user42@zip.com.au>
6560 * net/browse-url.el (browse-url): Pass any symbol in
6561 browse-url-browser-function to `apply', since if you've mistakenly put
6562 an unbound symbol then the error is clearer. (Bug#4531)
6564 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
6566 * allout.el (allout-init, allout-back-to-current-heading)
6567 (allout-beginning-of-current-entry, allout-ascend-to-depth)
6568 (allout-ascend, allout-up-current-level, allout-end-of-level)
6569 (allout-previous-visible-heading, allout-forward-current-level)
6570 (allout-backward-current-level, allout-show-children):
6571 * apropos.el (apropos-describe-plist):
6572 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
6573 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
6574 * completion.el (add-completion, add-permanent-completion):
6575 * descr-text.el (describe-text-category, describe-char):
6576 * desktop.el (desktop-lazy-abort):
6577 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
6578 * dired.el (dired-build-subdir-alist):
6579 * ediff.el (ediff-version):
6580 * elide-head.el (elide-head, elide-head-show):
6581 * emerge.el (emerge-version):
6583 * face-remap.el (variable-pitch-mode):
6584 * faces.el (describe-face):
6585 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
6587 * files.el (find-file-existing, auto-save-mode):
6588 * font-lock.el (font-lock-fontify-buffer):
6589 * help-fns.el (describe-function, describe-variable)
6590 (describe-syntax, describe-categories):
6591 * help.el (view-lossage, describe-bindings, describe-key)
6593 * hexl.el (hexl-current-address):
6594 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
6595 * info.el (Info-goto-emacs-key-command-node):
6596 * log-edit.el (log-edit-insert-cvs-template)
6597 (log-edit-insert-cvs-rcstemplate):
6598 * menu-bar.el (menu-bar-mode):
6599 * mouse.el (mouse-appearance-menu):
6600 * newcomment.el (comment-indent-new-line):
6601 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
6602 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
6603 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
6604 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
6605 * recentf.el (recentf-mode):
6606 * savehist.el (savehist-mode, savehist-save):
6607 * shadowfile.el (shadow-copy-files):
6608 * simple.el (kill-ring-save, next-line, previous-line)
6609 (normal-erase-is-backspace-mode):
6610 * strokes.el (strokes-update-window-configuration)
6611 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
6612 (strokes-xpm-for-stroke):
6613 * time.el (emacs-uptime, emacs-init-time):
6614 * tutorial.el (tutorial--describe-nonstandard-key)
6615 (tutorial--detailed-help):
6616 * type-break.el (type-break-mode)
6617 (type-break-mode-line-message-mode, type-break-query-mode)
6618 (type-break-guesstimate-keystroke-threshold):
6619 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
6620 * version.el (emacs-version):
6621 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
6622 * winner.el (winner-mode):
6623 * calendar/timeclock.el (timeclock-in, timeclock-out)
6624 (timeclock-status-string, timeclock-change)
6625 (timeclock-workday-remaining-string)
6626 (timeclock-workday-elapsed-string)
6627 (timeclock-when-to-leave-string):
6628 * calendar/todo-mode.el (todo-add-category):
6629 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
6630 * emacs-lisp/autoload.el (update-file-autoloads):
6631 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
6632 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
6633 (checkdoc-message-text, checkdoc-defun):
6634 * emacs-lisp/debug.el (debugger-list-functions):
6635 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6636 * emacs-lisp/eieio-opt.el (eieio-describe-class)
6637 (eieio-describe-generic):
6638 * emacs-lisp/lisp-mnt.el (lm-synopsis):
6639 * emacs-lisp/shadow.el (list-load-path-shadows):
6640 * emulation/cua-base.el (cua-mode):
6641 * emulation/edt.el (edt-set-scroll-margins):
6642 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
6643 (tpu-toggle-regexp, tpu-toggle-search-direction)
6644 (tpu-toggle-rectangle, tpu-toggle-control-keys):
6645 * emulation/tpu-extras.el (tpu-set-scroll-margins):
6646 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6647 (viper-set-parsing-style-toggling-macro)
6648 (viper-set-emacs-state-searchstyle-macros):
6649 * emulation/viper.el (viper-set-hooks):
6650 * eshell/esh-mode.el (eshell-truncate-buffer):
6651 * international/mule-cmds.el (prefer-coding-system)
6652 (describe-input-method, describe-language-environment):
6653 * international/mule-diag.el (list-character-sets)
6654 (describe-character-set, describe-coding-system)
6655 (describe-fontset, list-fontsets, list-input-methods):
6656 * mail/sendmail.el (mail-signature):
6657 * net/ange-ftp.el (ange-ftp-copy-file):
6658 * net/browse-url.el (browse-url):
6659 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
6660 * net/quickurl.el (quickurl-add-url):
6661 * net/rcirc.el (names, topic):
6662 * net/xesam.el (xesam-mode):
6663 * play/5x5.el (5x5-new-game):
6664 * play/yow.el (apropos-zippy):
6665 * progmodes/ada-mode.el (ada-mode-version):
6666 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
6668 (f90-beginning-of-block):
6669 * progmodes/fortran.el (fortran-end-of-block)
6670 (fortran-beginning-of-block):
6671 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
6672 * progmodes/python.el (python-describe-symbol, python-shell):
6673 * term/ns-win.el (ns-print-buffer):
6674 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
6675 * textmodes/flyspell.el (flyspell-mode-on):
6676 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
6677 (pages-directory-for-addresses):
6678 * textmodes/table.el (table-recognize-cell)
6679 (table-query-dimension, table-generate-source)
6680 (table-insert-sequence, table--warn-incompatibility):
6681 * textmodes/tex-mode.el (tex-validate-buffer):
6682 * textmodes/texinfmt.el (texinfmt-version)
6683 (texinfo-format-buffer):
6684 Use `called-interactively-p' instead of `interactive-p'.
6686 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
6688 * image-mode.el (image-toggle-display):
6689 * emacs-lisp/elp.el (elp-instrument-function):
6690 * emacs-lisp/advice.el (ad-make-advised-definition):
6691 * emacs-lisp/easy-mmode.el (define-minor-mode):
6692 * net/browse-url.el (browse-url-maybe-new-window):
6693 * progmodes/sh-script.el (sh-learn-buffer-indent):
6694 Pass new argument 'any to `called-interactively-p'.
6696 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
6698 * international/uni-bidi.el:
6699 * international/uni-category.el:
6700 * international/uni-combining.el:
6701 * international/uni-comment.el:
6702 * international/uni-decimal.el:
6703 * international/uni-decomposition.el:
6704 * international/uni-digit.el:
6705 * international/uni-lowercase.el:
6706 * international/uni-mirrored.el:
6707 * international/uni-name.el:
6708 * international/uni-numeric.el:
6709 * international/uni-old-name.el:
6710 * international/uni-titlecase.el:
6711 * international/uni-uppercase.el:
6712 Regenerate from Unicode 5.2.0 data.
6714 2009-10-01 Glenn Morris <rgm@gnu.org>
6716 * Makefile.in (ELCFILES): Regenerate.
6718 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6720 * subr.el (interactive-p): Mark obsolete.
6721 (called-interactively-p): Make the optional-ness of `kind' obsolete.
6722 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
6723 advertised-signature-table for subroutines as well.
6725 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
6726 (set-advertised-calling-convention): New function.
6727 (make-obsolete, define-obsolete-function-alias)
6728 (make-obsolete-variable, define-obsolete-variable-alias):
6729 Make the optional-ness of `when' obsolete.
6730 (define-obsolete-face-alias): Make `when' non-optional.
6731 * help-fns.el (help-function-arglist):
6732 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
6733 Use advertised-signature-table.
6735 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
6737 * files.el (delete-directory): New defun. The original function
6738 in fileio.c has been renamed to `delete-directory-internal'.
6740 * dired.el (dired-delete-file): Call `delete-directory' with
6741 RECURSIVE parameter.
6743 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
6744 parameter RECURSIVE. Implementation is missing.
6746 * net/tramp.el (tramp-handle-make-directory): Flush upper
6747 directory's file properties.
6748 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
6749 (tramp-handle-dired-recursive-delete-directory): Flush directory
6750 properties after the remove command only.
6752 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
6753 Handle optional parameter RECURSIVE.
6755 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
6756 Handle optional parameter RECURSIVE.
6758 * net/tramp-smb.el (tramp-smb-errors): Add error message for
6760 (tramp-smb-handle-delete-directory): Handle optional parameter
6763 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
6766 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
6767 (byte-compile-defmacro): Use backquotes.
6769 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
6771 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
6772 has no associated file.
6773 (vc-resynch-buffer): Use vc-dir-buffers.
6775 2009-10-01 Glenn Morris <rgm@gnu.org>
6777 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
6779 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
6780 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
6781 * emacs-lisp/eieio-opt.el (eieio-describe-class):
6782 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
6783 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
6784 (eieio-copy-parents-into-subclass, make-instance, class-children)
6785 (eieio-generic-form):
6786 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
6787 * cedet/cedet-idutils.el (cedet-idutils-search)
6788 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
6789 (cedet-idutils-version-check):
6790 * cedet/cedet.el (cedet-version):
6791 * cedet/data-debug.el (data-debug-insert-overlay-button)
6792 (data-debug-insert-overlay-list-button)
6793 (data-debug-insert-buffer-button)
6794 (data-debug-insert-buffer-list-button)
6795 (data-debug-insert-process-button, data-debug-insert-ring-button)
6796 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
6797 (data-debug-insert-stuff-vector-button)
6798 (data-debug-insert-symbol-button, data-debug-insert-string)
6799 (data-debug-insert-number, data-debug-insert-lambda-expression)
6800 (data-debug-insert-nil, data-debug-insert-simple-thing)
6801 (data-debug-insert-custom, data-debug-edebug-expr):
6802 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
6803 (global-ede-mode-map, ede-new, ede-debug-target)
6804 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
6805 * cedet/semantic.el (semantic-minimum-working-buffer-size)
6806 (semantic-fetch-tags, semantic-submode-list)
6807 (semantic-default-submodes):
6808 * cedet/ede/source.el (ede-source-match):
6809 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
6810 (project-am-package-info):
6811 * cedet/ede/proj.el (ede-proj-target, project-new-target):
6812 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
6813 * cedet/ede/proj-comp.el (ede-current-build-list):
6814 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
6815 * cedet/ede/files.el (ede-toplevel-project-or-nil):
6816 * cedet/ede/cpp-root.el (initialize-instance):
6817 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
6818 (autoconf-parameter-strip, autoconf-insert-new-macro):
6819 * cedet/semantic/wisent.el (wisent-lex-eoi):
6820 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
6821 (semantic-show-parser-state-mode):
6822 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
6823 * cedet/semantic/tag.el (semantic-tag-new-variable)
6824 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
6825 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
6826 (semantic--tag-deep-copy-tag-list)
6827 (semantic-tag-components-with-overlays-default):
6828 * cedet/semantic/symref.el (semantic-symref-find-text):
6829 * cedet/semantic/senator.el (senator-yank-tag)
6830 (senator-transpose-tags-up):
6831 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
6832 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
6833 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
6834 * cedet/semantic/lex.el (semantic-lex-comment-regex)
6835 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
6836 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
6837 * cedet/semantic/lex-spp.el
6838 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
6839 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
6840 * cedet/semantic/idle.el
6841 (semantic-idle-summary-current-symbol-info-brutish)
6842 (semantic-idle-summary-current-symbol-info-default):
6843 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
6844 (semantic--grammar-macro-compl-dict):
6845 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
6846 * cedet/semantic/format.el (semantic-format-tag-custom-list)
6847 (semantic-format-tag-canonical-name-default):
6848 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
6849 (semantic-find-tags-for-completion)
6850 (semantic-find-tags-by-scope-protection-default)
6851 (semantic-deep-find-tags-for-completion):
6852 * cedet/semantic/edit.el
6853 (semantic-edits-incremental-reparse-failed-hook)
6854 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
6855 (semantic-edits-splice-remove, semantic-edits-splice-replace):
6856 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
6857 * cedet/semantic/dep.el (semantic-dependency-include-path):
6858 * cedet/semantic/db.el (semanticdb-default-find-index-class)
6859 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
6860 (semanticdb-project-roots):
6861 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
6862 (semanticdb-find-adebug-insert-scanned-tag-cons)
6863 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
6864 (semanticdb-brute-deep-find-tags-for-completion):
6865 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
6866 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
6867 (semantic-end-of-context-default)
6868 (semantic-ctxt-current-function-default)
6869 (semantic-ctxt-scoped-types-default):
6870 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
6871 (semantic-complete-inline-tag-engine)
6872 (semantic-complete-inline-custom-type)
6873 (semantic-complete-read-tag-analyzer):
6874 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
6875 (semantic-chart-database-size):
6876 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
6877 (semantic-analyze-current-context):
6878 * cedet/semantic/symref/list.el (semantic-symref)
6879 (semantic-symref-hide-buffer, semantic-symref-symbol):
6880 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
6881 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
6882 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
6883 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
6884 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
6885 (semantic-c-dereference-template):
6886 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
6887 (semantic--analyze-refs-full-lookup-with-parents)
6888 (semantic--analyze-refs-full-lookup-simple):
6889 * cedet/semantic/analyze/complete.el
6890 (semantic-analyze-possible-completions):
6891 * cedet/srecode/table.el (srecode-mode-table-new):
6892 * cedet/srecode/srt.el (srecode-read-variable-name):
6893 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
6894 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
6895 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
6896 * cedet/srecode/map.el (srecode-current-map):
6897 * cedet/srecode/insert.el (srecode-insert)
6898 (srecode-insert-variable-secondname-handler, srecode-insert-method)
6899 (srecode-template-inserter-point-override)
6900 (srecode-insert-include-lookup):
6901 * cedet/srecode/getset.el (srecode-auto-choose-class):
6902 * cedet/srecode/extract.el (srecode-inserter-extract):
6903 * cedet/srecode/document.el
6904 (srecode-document-autocomment-return-last-alist)
6905 (srecode-document-autocomment-param-type-alist)
6906 (srecode-document-insert-function-comment)
6907 (srecode-document-insert-variable-one-line-comment)
6908 (srecode-document-function-name-comment):
6909 * cedet/srecode/dictionary.el (srecode-create-dictionary)
6910 (srecode-compound-toString):
6911 * cedet/srecode/compile.el (srecode-flush-active-templates):
6912 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
6915 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
6916 match-data. (Bug#4555).
6918 * cedet/semantic/bovine/gcc.el
6919 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
6920 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
6922 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
6923 rather than parsing it as a regexp. This relaxes the layout
6924 requirements and makes errors easier to detect.
6925 (check-declare-verify): Check file is regular.
6926 (check-declare-directory): Doc fix.
6927 * subr.el (declare-function): Doc fix.
6929 * ibuffer.el (ibuffer-format-qualifier):
6930 * isearch.el (hi-lock-regexp-okay):
6931 * calc/calc.el (math-zerop):
6932 * mail/uce.el (rmail-msgbeg, rmail-msgend):
6933 * term/w32-win.el (setup-default-fontset, set-fontset-font):
6934 Remove unused declarations.
6936 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
6938 * cedet/semantic/wisent/javat-wy.el
6939 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
6941 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
6943 * cedet/srecode/expandproto.el: Fix provide statement.
6945 2009-09-30 Eric Ludlam <zappo@gnu.org>
6947 * emacs-lisp/eieio.el (boolean-p): Delete.
6949 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
6951 * cedet/ede/srecode.el: Fix provide statement.
6953 2009-09-30 Glenn Morris <rgm@gnu.org>
6955 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
6956 * cedet/ede/proj-aux.el (ede-aux-source):
6957 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
6959 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
6960 (semantic-mrub-switch-tags): Fix doc typos.
6962 * cedet/semantic/db-global.el (data-debug-new-buffer)
6963 (data-debug-insert-thing): Remove unneeded declarations (one broken).
6964 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
6966 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
6968 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
6969 use of CL function `remove-if-not'.
6971 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
6973 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
6974 filename is not a string.
6976 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
6978 * files.el (safe-local-eval-forms): Fix typo.
6980 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * vc-hooks.el (vc-dir-buffers): New var.
6983 (vc-state-refresh): New function.
6985 (vc-after-save): Always ask the backend to recompute the new state.
6986 Always call vc-dir if necessary, using vc-dir-buffers.
6987 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
6989 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
6990 (vc-dir-prepare-status-buffer, vc-dir-update)
6991 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
6992 Don't call expand-file-name on default-directory.
6994 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
6996 * speedbar.el (speedbar-item-delete):
6997 * calc/calc-prog.el (calc-kbd-if):
6998 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
7000 * epa.el (epa-key-list-mode-map):
7001 * hi-lock.el (hi-lock-menu): Fix typos in menus.
7003 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
7004 (hs-show-hook): Fix typo in docstring.
7006 2009-09-29 Glenn Morris <rgm@gnu.org>
7008 * cedet/semantic/symref/idutils.el:
7009 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
7011 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
7013 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
7014 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
7015 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
7016 Mark declarations not understood by check-declare.
7018 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
7019 file-name-nondirectory call preventing location of cedet files.
7020 (check-declare-verify): Use literal search rather than re-search.
7021 Add basic defmethod and defclass, and define-overloadable-function.
7023 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
7024 Use tramp-compat-file-attributes rather than nonexistent
7025 tramp-compat-handle-file-attributes.
7027 * Makefile.in (lisptagsfiles4): New.
7028 (AUTOGENEL): Add cedet loaddefs files.
7029 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
7030 (update-elclist, compile-always, backup-compiled-files)
7031 (bootstrap-clean): Add yet another directory level.
7032 (update-elclist): Use LC_COLLATE rather than COLLATE.
7033 (ELCFILES): Update, via `make update-elclist'.
7035 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
7037 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
7038 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
7039 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
7041 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
7043 * Makefile.in (lisptagsfiles3): Define.
7044 (TAGS, TAGS-LISP): Use it.
7045 (update-elclist): Add third directory level to look for elc files.
7046 (compile-always): Likewise.
7047 (backup-compiled-files): Likewise.
7048 (bootstrap-clean): Likewise.
7051 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
7053 * Makefile.in (ELCFILES): Add CEDET files.
7055 2009-09-28 Eric Ludlam <zappo@gnu.org>
7057 CEDET (development tools) package merged.
7061 * cedet/semantic/*.el:
7062 * cedet/srecode/*.el: New files.
7064 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
7066 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
7068 * net/tramp.el (top): Require tramp-imap.
7070 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
7071 Use `tramp-compat-handle-file-attributes'.
7073 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
7075 * net/tramp-imap.el: New package.
7077 2009-09-28 Eric Ludlam <zappo@gnu.org>
7079 * emacs-lisp/chart.el:
7080 * emacs-lisp/eieio-base.el:
7081 * emacs-lisp/eieio-comp.el:
7082 * emacs-lisp/eieio-custom.el:
7083 * emacs-lisp/eieio-datadebug.el:
7084 * emacs-lisp/eieio-opt.el:
7085 * emacs-lisp/eieio-speedbar.el:
7086 * emacs-lisp/eieio.el: New files.
7088 * cedet/cedet-cscope.el:
7089 * cedet/cedet-files.el:
7090 * cedet/cedet-global.el:
7091 * cedet/cedet-idutils.el:
7092 * cedet/data-debug.el:
7093 * cedet/inversion.el:
7094 * cedet/mode-local.el:
7095 * cedet/pulse.el: New files.
7097 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7099 * whitespace.el (whitespace-trailing-regexp)
7100 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7103 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
7105 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
7108 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
7109 menu-bar-ediff-menu.
7111 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
7112 define-overloadable-function.
7114 * progmodes/autoconf.el: Provide autoconf as well, so that this
7115 file can be `require'd.
7117 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
7119 * emacs-lisp/autoload.el (generated-autoload-feature)
7120 (generated-autoload-load-name): New vars.
7121 (autoload-rubric, autoload-generate-file-autoloads): Use them.
7122 (make-autoload): Recognize define-overloadable-function and
7123 defclass forms (for EIEIO).
7125 * Makefile.in (update-subdirs): Exclude cedet directory.
7127 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
7129 * term/ns-win.el: Don't set the region face background. (Bug#4381)
7131 * faces.el: Default light-background background for region face to
7132 ns_selection_color under NS.
7134 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7136 * net/imap-hash.el: New library, see NEWS.
7138 * Makefile.in (ELCFILES): Add imap-hash.el.
7140 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
7143 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
7144 * help-macro.el (make-help-screen): Avoid using an ambiguous function
7145 definition where the docstring could be taken for the return value.
7147 2009-09-26 Glenn Morris <rgm@gnu.org>
7149 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
7150 Add option to only show images below a certain size.
7151 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
7152 save-excursion calls.
7154 2009-09-26 Eli Zaretskii <eliz@gnu.org>
7156 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
7157 subdirectories) and eieio.
7159 2009-09-26 Alan Mackenzie <acm@muc.de>
7161 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
7162 buggy bracketing. (Bug#4289)
7164 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
7165 character constants (as case labels). (Bug#4289)
7167 2009-09-25 Juri Linkov <juri@jurta.org>
7169 * files.el (safe-local-eval-forms): Allow time-stamp in
7170 before-save-hook (Bug#4554).
7172 2009-09-25 Drew Adams <drew.adams@oracle.com>
7174 * menu-bar.el (list-buffers-directory): Doc fix.
7176 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
7178 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
7179 Try and avoid copying twice the same paragraph.
7180 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
7181 Remove save-excursion.
7182 (log-edit-changelog-entry): Do it here instead.
7184 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
7186 * bs.el (bs--get-file-name): Use `list-buffers-directory'
7187 when available, instead of hardcoding mode names. Doc fix.
7189 * menu-bar.el (list-buffers-directory): Add docstring.
7190 Make automatically buffer-local.
7192 * dired.el (dired-mode):
7193 * files.el (cd-absolute):
7194 * pcvs.el (cvs-temp-buffer):
7195 * pcvs-util.el (cvs-get-buffer-create):
7196 * shell.el (shell-mode):
7197 * vc-dir.el (vc-dir-mode):
7198 Don't make `list-buffers-directory' buffer local.
7200 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
7202 * comint.el (comint-exec, comint-run, make-comint):
7203 Doc fixes (Bug#4542).
7205 2009-09-25 Glenn Morris <rgm@gnu.org>
7207 * mail/rmailmm.el (rmail-mime): New custom group.
7208 Move all defcustoms in this file into this group.
7209 (rmail-mime-media-type-handlers-alist): Revert previous change.
7210 (rmail-mime-show-images): New option.
7211 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
7212 references to it, since it wasn't actually used for anything.
7213 (rmail-mime-insert-image): New function.
7214 (rmail-mime-image): Use rmail-mime-insert-image.
7215 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
7216 obey the value of `rmail-mime-show-images' option. Print the size of
7219 2009-09-25 David Engster <deng@randomsample.de>
7221 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
7223 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7225 * whitespace.el: Does not highlight trailing spaces While point is
7226 at end of line. Does not highligt spaces at beginning of buffer
7227 while point is at beginning of buffer. Does not highlight spaces
7228 at end of buffer while point is at end of buffer. (Bug#4177)
7230 (whitespace-display-mappings): Adjust initialization.
7231 (whitespace-point, whitespace-font-lock-refontify): New vars.
7232 (whitespace-color-on, whitespace-color-off): Adjust code.
7233 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
7234 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
7235 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
7237 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
7239 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
7241 * textmodes/sgml-mode.el: Remove xml-mode alias.
7243 * files.el (auto-mode-alist, conf-mode-maybe)
7244 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
7246 2009-09-24 Alan Mackenzie <acm@muc.de>
7248 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
7249 c-forward-conditionals, but it doesn't move point and doesn't set
7251 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
7252 (c-down-conditional-with-else, c-backward-conditional)
7253 (c-forward-conditional): Refactor to use c-scan-conditionals.
7255 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
7257 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
7258 (help-default-arg-highlight): Remove.
7259 (help-highlight-arg): New function.
7260 (help-do-arg-highlight): Use it.
7261 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
7263 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * term.el (term-set-scroll-region, term-handle-ansi-escape):
7266 Undo last change, which didn't fix the problem and introduced others.
7268 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
7270 * progmodes/gdb-mi.el: Don't require speedbar.
7271 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
7273 2009-09-24 Glenn Morris <rgm@gnu.org>
7275 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
7277 * term/ns-win.el (ns-reg-to-script): Define for compiler.
7279 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
7280 there is no newline after the final mime boundary. (Bug#4539)
7281 Move markers on insertion so that any buttons inserted don't end up in
7282 the next part of a multipart message.
7283 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
7284 (rmail-mime-bulk-handler): Optionally handle images.
7285 (rmail-mime-image): New button action.
7286 (rmail-mime-image-handler): New function.
7287 (rmail-mime-mode): New mode.
7288 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
7290 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
7293 than just dropping elements from it (bug#4504).
7295 * term.el (term-set-scroll-region): Don't move cursor any more.
7296 (term-handle-ansi-escape): Call term-goto here instead.
7297 Suggested by Ivan Kanis <apple@kanis.eu>.
7299 * term.el: Require CL.
7300 (term-ansi-reset): New function.
7301 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
7302 (term-handle-colors-array): Simplify.
7304 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
7306 * allout.el (allout-overlay-interior-modification-handler)
7307 (allout-obtain-passphrase):
7308 * epa-file.el (epa-file-write-region):
7309 * ps-print.el (ps-begin-job):
7310 * vc-hooks.el (vc-toggle-read-only):
7311 * vc-rcs.el (vc-rcs-rollback):
7312 * vc-sccs.el (vc-sccs-rollback):
7313 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
7314 (vc-version-diff, vc-revert, vc-rollback):
7315 * wdired.el (wdired-check-kill-buffer):
7316 * emacs-lisp/authors.el (authors):
7317 * net/socks.el (socks-open-connection):
7318 * net/zeroconf.el (zeroconf-service-add-hook):
7319 * obsolete/vc-mcvs.el (vc-mcvs-register):
7320 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
7322 * progmodes/grep.el (lgrep, rgrep):
7323 * progmodes/idlw-help.el (idlwave-help-check-locations)
7324 (idlwave-help-html-link, idlwave-help-assistant-open-link):
7325 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7326 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
7327 (reftex-toc-rename-label): Fix typos in error messages.
7329 * dired-aux.el (dired-do-shell-command): Reflow docstring.
7330 (dired-copy-how-to-fn): Doc fix.
7331 (dired-files-attributes, dired-read-shell-command):
7332 Fix typos in docstrings.
7334 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
7335 (dired-x-find-file-other-window): Reflow docstrings.
7336 (dired-omit-marker-char, dired-read-shell-command)
7337 (dired-x-submit-report): Fix typos in docstrings.
7339 * shell.el (shell-mode-hook):
7340 * view.el (View-scroll-line-forward):
7341 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
7342 Fix typos in docstrings.
7344 * net/dig.el (dig-invoke): Fix typo in docstring.
7345 (query-dig): Reflow docstring.
7347 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
7348 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
7349 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
7350 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
7351 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
7352 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
7353 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
7354 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
7355 (idlwave-completion-map, idlwave-current-indent)
7356 (idlwave-custom-ampersand-surround, idlwave-customize)
7357 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
7358 (idlwave-define-abbrev, idlwave-determine-class-special)
7359 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
7360 (idlwave-end-block-reg, idlwave-end-of-statement)
7361 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
7362 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
7363 (idlwave-explicit-class-listed, idlwave-file-header)
7364 (idlwave-fill-paragraph, idlwave-find-class-definition)
7365 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
7366 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
7367 (idlwave-in-quote, idlwave-indent-action-table)
7368 (idlwave-indent-expand-table, idlwave-indent-line)
7369 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
7370 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
7371 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
7372 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
7373 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
7374 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
7375 (idlwave-outlawed-buffers, idlwave-popup-select)
7376 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
7377 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
7378 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
7379 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
7380 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
7381 (idlwave-statement-type, idlwave-struct-skip)
7382 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
7383 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
7384 (idlwave-what-module-find-class): Fix typos in docstrings.
7385 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
7386 (idlwave-calculate-cont-indent, idlwave-expand-equal)
7387 (idlwave-find-module, idlwave-find-structure-definition)
7388 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
7389 (idlwave-list-load-path-shadows, idlwave-next-statement)
7390 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
7391 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
7392 (idlwave-template): Reflow docstrings.
7394 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
7395 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
7396 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
7397 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
7398 (idlwave-shell-display-line, idlwave-shell-display-wframe)
7399 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
7400 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
7401 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
7402 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
7403 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
7404 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
7405 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
7406 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
7407 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
7408 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
7409 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
7410 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
7411 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
7412 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
7413 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
7414 Fix typos in docstrings.
7415 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
7416 (idlwave-shell-hide-output, idlwave-shell-mode)
7417 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
7420 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
7422 2009-09-24 Ivan Kanis <apple@kanis.eu>
7424 * term.el (term-bold-attribute): New var.
7425 (term-handle-colors-array): Use it.
7427 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
7429 * progmodes/gdb-mi.el (gdb-version): New variable.
7430 (gdb-non-stop-handler): Set gdb-version.
7431 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
7432 Condition "--thread" option on gdb-version.
7433 (gdb-invalidate-threads): Remove unused argument.
7435 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
7438 to looking-back to avoid ridiculous slow down in large files (bug#4511).
7440 2009-09-23 Glenn Morris <rgm@gnu.org>
7442 * mail/rmail.el (rmail-reply): Don't try to add a References header when
7443 replying to mail without References or Message-Id. (Bug#4525)
7445 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
7447 * term/ns-win.el (ns-reg-to-script): New variable.
7449 2009-09-23 Daiki Ueno <ueno@unixuser.org>
7451 * epg.el (epg-wait-for-status): Preserve existing 'error results.
7453 2009-09-22 Sam Steingold <sds@gnu.org>
7455 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
7456 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
7457 to 1 because hg returns status 1 when nothing is found.
7458 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
7460 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * textmodes/fill.el: Convert to utf-8 encoding.
7463 (fill-french-nobreak-p): Remove redundant » and « inherited from our
7466 * add-log.el (change-log-fill-forward-paragraph): New function.
7467 (change-log-mode): Use it so fill-region DTRT.
7468 Set fill-indent-according-to-mode here rather than in
7469 change-log-fill-paragraph.
7470 (change-log-fill-paragraph): Remove.
7472 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
7474 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
7475 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
7477 2009-09-22 Glenn Morris <rgm@gnu.org>
7479 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
7480 the scroll-bar scroll the calendar window rather than the buffer.
7482 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
7483 commands that move point (as opposed to scrolling).
7485 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
7487 * emacs-lisp/elint.el (elint): New custom group.
7488 (elint-log-buffer): Make it a defcustom.
7489 (elint-scan-preloaded, elint-ignored-warnings)
7490 (elint-directory-skip-re): New options.
7491 (elint-builtin-variables): Doc fix.
7492 (elint-preloaded-env): New variable.
7493 (elint-unknown-builtin-args): Add an entry for encode-time.
7494 (elint-extra-errors): Make it a variable rather than a constant.
7495 (elint-preloaded-skip-re): New constant.
7496 (elint-directory): Skip files matching elint-directory-skip-re.
7497 (elint-features): New variable, local to linted buffers.
7498 (elint-update-env): Initialize elint-features. Possibly add
7499 elint-preloaded-env to the buffer's environment.
7500 (elint-get-top-forms): Bind elint-current-pos, for log messages.
7502 (elint-init-form): New function, extracted from elint-init-env.
7503 Make non-list forms a warning rather than an error.
7504 Add the mode-map for define-derived-mode. Handle define-minor-mode,
7505 easy-menu-define, put that adds an error-condition, and provide.
7506 When requiring cl, also require cl-macs. Really require cl, to handle
7507 some cl macros. Store required libraries in the list elint-features,
7508 so as not to re-load them. Treat cc-require like require.
7509 (elint-init-env): Call elint-init-form to do the work.
7510 Handle eval-and-compile and such like.
7511 (elint-add-required-env): Do not clear messages.
7512 (elint-special-forms): Add handlers for function, defalias, if, when,
7514 (elint-form): Add optional argument to ignore elint-special-forms,
7515 useful to prevent recursive calls from handlers. Doc fix.
7516 Respect elint-ignored-warnings.
7517 (elint-form): Respect elint-ignored-warnings.
7518 (elint-bound-variable, elint-bound-function): New variables.
7519 (elint-unbound-variable): Respect elint-bound-variable.
7520 (elint-get-args): Respect elint-bound-function.
7521 (elint-check-cond-form): Add some simple handling for (f)boundp and
7523 (elint-check-defalias-form): New handler.
7524 (elint-check-let-form): Make an empty let a warning rather than an
7526 (elint-check-setq-form): Make an empty setq a warning rather than an
7527 error. Respect elint-ignored-warnings.
7528 (elint-check-defvar-form): Accept null doc-strings.
7529 (elint-check-conditional-form): New handler. Does some simple-minded
7530 checking of featurep and (f)boundp tests.
7531 (elint-put-function-args): New function.
7532 (elint-initialize): Use elint-scan-doc-file rather than
7533 elint-find-builtin-variables. Use elint-put-function-args.
7534 Possibly scan preloaded-file-list.
7535 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
7536 extend to handle functions as well.
7538 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
7540 * linum.el (linum-delete-overlays, linum-update-window):
7541 Do not modify the right margin. (Bug#3971)
7543 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
7545 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
7546 nxml-mode instead of xml-mode.
7548 2009-09-21 Kevin Ryde <user42@zip.com.au>
7550 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
7552 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7554 * net/dig.el (dig-mode): Use define-derived-mode.
7556 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
7558 * vc-dispatcher.el (vc-do-command): Return the process object in
7559 the asynchronous case. Use when instead of if. Do not run
7560 vc-exec-after to display a message if not enabled. (Bug#4463)
7562 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
7563 properties to the stash strings.
7564 (vc-git-stash-list): Return a list of strings.
7565 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
7566 (vc-git-stash-show-at-point): New functions.
7567 (vc-git-stash-map): New keymap.
7569 * register.el (ctl-x-r-map): Define the keys here instead of
7572 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
7574 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
7575 list, to workaround performance problem (bug#4485).
7577 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
7579 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
7581 2009-09-20 Daiki Ueno <ueno@unixuser.org>
7583 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7584 Document that this option is not recommended to use.
7586 2009-09-19 Glenn Morris <rgm@gnu.org>
7588 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
7591 * calc/calc-alg.el (var):
7592 * calc/calcalg2.el (var): Define for compiler.
7594 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
7596 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
7599 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
7601 * time-stamp.el (time-stamp-month-dd-yyyy)
7602 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
7603 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
7604 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
7605 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
7606 Remove functions that have been obsolete since 1995 (Bug#4436).
7608 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
7609 indent buffer only if called interactively (Bug#4452).
7611 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
7612 Eli Zaretskii <eliz@gnu.org>
7614 This fixes bug#4197 (merged to bug#865, though not identical).
7615 * server.el (server-auth-dir): Add docstring note about FAT32.
7616 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
7617 but warn against using them.
7619 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
7621 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
7622 older GDB where there is no has_more field.
7624 2009-09-19 Glenn Morris <rgm@gnu.org>
7626 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
7628 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
7630 * files.el (auto-mode-alist): Change default for XML files to nXML
7633 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
7635 * server.el (server-ensure-safe-dir): Pass 'integer
7636 to `file-attributes', as suggested.
7638 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * dired-aux.el (dired-query-alist): Remove spurious backslash.
7641 (dired-query): Use read-key.
7643 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
7645 * cus-start.el (ns-use-qd-smoothing): Remove.
7647 2009-09-18 Glenn Morris <rgm@gnu.org>
7649 * allout.el (top-level): Remove unnecessary progn.
7651 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
7653 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
7654 definition of abbrev table.
7656 * speedbar.el (speedbar-track-mouse):
7657 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
7658 * net/eudc.el (eudc-expand-inline):
7659 * net/newst-backend.el (newsticker--cache-read-feed):
7660 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
7661 condition-case handlers.
7663 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
7665 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
7666 (gdb-var-list): Add an element for has_more field.
7667 (gdb-non-stop-handler): Enable pretty printing for STL containers.
7668 (gdb-var-create-handler, gdb-var-list-children-handler-1)
7669 (gdb-var-update-handler-1): Parse output of dynamic variable
7670 objects (STL containers).
7671 (gdb-var-delete-1): Pass var1 as an explicit second argument.
7672 (gdb-get-field): Delete alias. Use bindat-get-field directly.
7674 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
7676 (gud-speedbar-buttons): Make node expandable if expression "has more"
7679 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
7681 * startup.el (emacs-quick-startup): Remove variable and all uses.
7682 (command-line): Set `inhibit-x-resources' instead.
7683 (command-line-1): Use `inhibit-x-resources' instead.
7685 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
7687 * subr.el: Fix last change to avoid using the `unless' macro,
7688 which breaks bootstrapping.
7690 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
7693 extended definitions, in case we reload subr.el after having
7695 (eval-next-after-load): Mark as obsolete.
7697 2009-09-17 Juri Linkov <juri@jurta.org>
7699 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
7700 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
7701 (menu-bar-showhide-menu, menu-bar-tools-menu)
7702 (menu-bar-describe-menu, menu-bar-help-menu)
7703 (minibuffer-local-completion-map, minibuffer-local-map):
7706 2009-09-17 Glenn Morris <rgm@gnu.org>
7708 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
7709 arguments, whether or not it has a handler.
7711 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
7713 * simple.el (hard-newline): Give it a doc-string.
7715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7716 (lisp-mode-syntax-table): Give them doc-strings.
7718 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
7720 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
7721 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
7722 (menu-bar-options-menu, menu-bar-showhide-menu)
7723 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
7724 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
7725 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
7726 (menu-bar-options-menu, menu-bar-tools-menu)
7727 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
7728 (menu-bar-help-menu):
7729 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
7732 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
7733 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
7734 calls for the menu names and :help.
7736 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * mouse.el (minor-mode-menu-from-indicator): Pay attention
7739 to :minor-mode-function (bug#4455).
7741 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7743 * startup.el (command-line): Initialize the window-system after
7744 processing the command-line.
7746 * textmodes/page.el (what-page): Make sure we don't inf-loop if
7747 page-delimiter matches the empty string.
7749 2009-09-16 Glenn Morris <rgm@gnu.org>
7751 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
7752 byte-compile-not-obsolete-var. It's a list now.
7753 (byte-compile-not-obsolete-funcs): New variable.
7754 (byte-compile-warn-obsolete): Don't warn about functions if they are in
7755 byte-compile-not-obsolete-funcs.
7756 (byte-compile-variable-ref, byte-compile-defvar): Update for
7757 byte-compile-not-obsolete-vars name-change and list nature.
7758 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
7759 and variables behind (f)boundp tests.
7760 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
7762 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
7764 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
7766 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7768 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
7769 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
7772 2009-09-15 Stephen Eglen <stephen@gnu.org>
7774 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
7775 the virtual-buffers, use the name of the buffer specified by
7776 find-file-noselect, as the match may be a symlink. (This was a
7777 problem if the target and the symlink had different names.)
7779 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7781 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
7783 * desktop.el (desktop-path): Check user-emacs-directory.
7785 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
7787 * loadup.el: Use after-load-functions to GC after loading each file.
7788 Remove the explicit GC calls that used to be sprinkled around.
7790 * subr.el (after-load-functions): New hook.
7791 (do-after-load-evaluation): Run it. Use string-match-p to detect
7792 `obsolete' packages, rather than painfully extracting the relevant
7795 2009-09-15 Glenn Morris <rgm@gnu.org>
7797 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
7798 free variable `doc'.
7800 * dired.el (dired-mode-map): Add menu entry for async shell command.
7802 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
7803 variables, also consider the .elc files, since the .el files are
7804 normally gzipped (subsequent code locates the .el.gz from the .elc).
7806 * calc/calc-prog.el (arglist): Define for compiler.
7808 * calendar/diary-lib.el (diary-display-function): Change the default to
7810 (body): Define for compiler.
7812 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
7813 (byte-compile-file-form, byte-compile-lambda)
7814 (byte-compile-top-level-body, byte-compile-form)
7815 (byte-compile-variable-ref, byte-compile-setq)
7816 (byte-compile-setq-default, byte-compile-body)
7817 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
7818 (batch-byte-compile): Give some more local variables with common names
7819 a "bytecomp-" prefix to avoid masking warnings about free variables.
7821 * startup.el (command-line-1): Give local variables with common names a
7822 distinguishing prefix, so as not to hide free variable warnings during
7825 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
7826 clever and add a suffix to make a unique name, just let the user decide
7827 whether or not to overwrite it. If the input is a directory, write the
7828 default filename to that directory. (Bug#4388)
7829 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
7830 is a filename-as-a-directory.
7832 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7834 * textmodes/page.el (what-page): Don't move to beginning of line.
7835 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
7837 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
7839 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
7841 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
7843 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
7844 * help.el (help-for-help-internal): Add purecopy calls for text.
7846 * vc.el (top): print-log method now takes an optional SHORTLOG
7847 argument. Add a new method: root.
7848 (vc-root-diff, vc-print-root-log): New functions.
7849 (vc-log-short-style): New variable.
7850 (vc-print-log-internal): Add support for showing short logs.
7852 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
7853 vc-print-root-log and vc-print-root-diff.
7855 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
7856 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
7857 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
7860 * vc-cvs.el (vc-cvs-print-log):
7861 * vc-mtn.el (vc-mtn-print-log):
7862 * vc-rcs.el (vc-rcs-print-log):
7863 * vc-sccs.el (vc-sccs-print-log):
7864 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
7865 that is ignored for now.
7867 * vc-mtn.el (vc-mtn-annotate-command):
7868 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
7870 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7872 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
7873 to function-key-map, and give them ascii-character property.
7874 * term/x-win.el (x-alternatives-map):
7875 * term/ns-win.el (ns-alternatives-map):
7876 * term/internal.el (msdos-key-remapping-map):
7877 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
7879 2009-09-14 Glenn Morris <rgm@gnu.org>
7881 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
7882 temp-buffers (2009-09-12).
7884 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
7887 the new read-key function.
7889 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
7891 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
7892 is defined (Bug#4405).
7894 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
7896 * recentf.el (recentf-cleanup): Use a hash table to find
7897 duplicates (Bug#4407).
7899 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
7901 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
7902 kp-0 to ascii equivalents (Bug#4325).
7904 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
7906 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
7908 * eshell/em-hist.el:
7909 * eshell/em-dirs.el (eshell-complete-user-reference):
7910 Declare pcomplete functions and variables to avoid compiler warnings.
7912 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
7914 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
7915 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
7916 * eshell/em-alias.el (eshell-aliases-file):
7917 * eshell/em-hist.el (eshell-history-file-name):
7918 Use expand-file-name instead of concat to make file names (Bug#4308).
7920 2009-09-13 Glenn Morris <rgm@gnu.org>
7922 * ediff-merg.el (ediff-do-merge):
7923 * filesets.el (filesets-run-cmd):
7924 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
7925 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
7926 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
7927 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
7928 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
7929 Replace empty `let's with `progn'.
7931 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * mail/sendmail.el (send-mail-function):
7934 * tooltip.el (tooltip-mode):
7935 * simple.el (transient-mark-mode):
7936 * rfn-eshadow.el (file-name-shadow-mode):
7937 * frame.el (blink-cursor-mode):
7938 * font-core.el (global-font-lock-mode):
7939 * files.el (temporary-file-directory)
7940 (small-temporary-file-directory, auto-save-file-name-transforms):
7941 * epa-hook.el (auto-encryption-mode):
7942 * composite.el (global-auto-composition-mode):
7943 Use custom-initialize-delay.
7944 * startup.el (command-line): Don't explicitly call
7945 custom-reevaluate-setting for all the above vars.
7946 * custom.el (custom-initialize-safe-set)
7947 (custom-initialize-safe-default): Delete.
7949 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7951 * term/x-win.el (x-initialize-window-system):
7952 * term/w32-win.el (w32-initialize-window-system):
7953 * term/ns-win.el (ns-initialize-window-system): Don't call
7954 mouse-wheel-mode since it's enabled globally by default already.
7956 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
7957 actually define the variable, but only silences the byte-compiler.
7958 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
7959 before looking it up.
7960 (mouse-wheel-scroll-amount): Also reset the bindings if this value
7963 2009-09-12 Glenn Morris <rgm@gnu.org>
7965 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
7967 (elint-add-required-env): Don't beep on error.
7968 (elint-forms): In case of error, return ENV unchanged.
7969 (elint-init-env): Skip non-list forms.
7970 (elint-log): Handle unknown file positions.
7972 2009-09-12 Daiki Ueno <ueno@unixuser.org>
7974 * epg.el (epg-make-context): Add autoload cookie.
7975 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
7976 (epg-decrypt-string, epg-start-verify, epg-verify-file)
7977 (epg-verify-string, epg-start-sign, epg-sign-file)
7978 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
7979 (epg-encrypt-string, epg-start-export-keys)
7980 (epg-export-keys-to-file, epg-export-keys-to-string)
7981 (epg-start-import-keys, epg-import-keys-from-file)
7982 (epg-import-keys-from-string, epg-start-receive-keys)
7983 (epg-receive-keys, epg-import-keys-from-server)
7984 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
7985 (epg-sign-keys, epg-start-generate-key)
7986 (epg-generate-key-from-file, epg-generate-key-from-string):
7987 Remove autoload cookie.
7989 2009-09-12 Eli Zaretskii <eliz@gnu.org>
7991 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
7992 reevaluation of trash-directory.
7994 * mwheel.el: Fix last change.
7995 (mouse-wheel-mode): New defvar.
7996 (mouse-wheel-mode): Remove autoload cookie.
7998 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8000 * mwheel.el (mwheel-installed-bindings): New var.
8001 (mouse-wheel-mode): Use it, so as to make sure we really remove all
8002 the bindings we set last time. Use custom-initialize-delay.
8003 * loadup.el: Load mwheel after term/*-win.el.
8004 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
8005 and mouse-wheel-up-event now that their first evaluation is done
8006 sufficiently late to be correct.
8008 * startup.el (tutorial-directory): Make it a defcustom.
8009 Use custom-initialize-delay rather than eval-at-startup to set it.
8010 * image.el (image-load-path): Make it a defcustom.
8011 Use custom-initialize-delay rather than eval-at-startup to set it.
8012 * subr.el (eval-at-startup): Remove.
8013 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
8015 * subr.el (do-after-load-evaluation): Warn the user after loading an
8018 2009-09-12 Glenn Morris <rgm@gnu.org>
8020 * proced.el (proced-mark-alt): Remove alias.
8021 (proced-mode-map): Remove proced-mark-alt.
8023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
8024 Elint file and directory. Remove initialization entry.
8026 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
8028 (elint-current-buffer): Set mode-line-process.
8029 (elint-init-env): Handle define-derived-mode.
8030 Fix declare-function with unspecified arglist. Guard against odd
8031 defalias statements (eg iso-insert's 8859-1-map).
8032 (elint-add-required-env): Use a temp buffer.
8033 (elint-form): Just print the function/macro name, not the whole form.
8034 Return env unchanged if we fail to parse a macro.
8035 (elint-forms): Guard against parse errors.
8036 (elint-output): New function, to handle batch mode.
8037 (elint-log-message): Add optional argument. Use elint-output.
8038 (elint-set-mode-line): New function.
8040 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
8042 * emacs-lisp/elp.el (elp-not-profilable): Add more
8043 functions (Bug#4233).
8045 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
8047 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
8048 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
8050 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
8052 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
8053 (gdb-var-list-children): Use json parsing.
8055 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
8057 * progmodes/js.el (js--proper-indentation): Handle the case where
8058 char-before is null. Reported by Deniz Dogan.
8060 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
8062 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
8064 2009-09-11 Daiki Ueno <ueno@unixuser.org>
8066 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
8067 (epg-digest-algorithm-alist): Add SHA224.
8068 (epg-context-set-passphrase-callback)
8069 (epg-context-set-progress-callback): Add description about
8072 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8074 * custom.el (custom-delayed-init-variables): New var.
8075 (custom-initialize-delay): New function.
8076 * startup.el (command-line): "Re"evaluate all vars in
8077 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
8078 explicitly any more.
8079 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
8080 to avoid creating a ~/.emacs.d at build-time (bug#4347).
8082 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
8084 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
8086 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
8087 (gdb-var-update-handler): Use json parsing.
8089 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
8091 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
8092 decode annotated text, regardless of language environment. (Bug#2741)
8094 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * Makefile.in (autoloads): Make rmail.el writable as well.
8098 2009-09-11 Glenn Morris <rgm@gnu.org>
8100 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
8102 * dired.el: Regenerate with extracted autoloads.
8103 * Makefile.in (autoloads): Make dired.el writable.
8105 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
8106 * ibuffer.el: Regenerate with extracted autoloads.
8107 * Makefile.in (autoloads): Make ibuffer.el writable.
8109 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
8110 * version.el (emacs-copyright, emacs-major-version)
8111 (emacs-minor-version): Reformat doc-strings for make-docfile.
8113 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
8114 functions and variables, since they must be stuff specific to some other
8116 (apropos-print): Make mouse-click message less specific about button.
8118 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
8119 that records where a macro was defined.
8120 * help-fns.el (describe-function-1): Mention if a function has a
8122 * help-mode.el (help-function-cmacro): New button.
8124 * locate.el (top-level): Always require dired.
8125 (locate-mode-map): Initialize inside the defvar.
8127 * net/ange-ftp.el (dired-compress-file): Declare.
8128 (ange-ftp-dired-compress-file): Add doc string.
8130 * term/ns-win.el (x-display-name, x-setup-function-keys):
8131 Unify doc-strings with X versions.
8133 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8135 * emulation/crisp.el (crisp-mode-map): Move initialization
8137 (crisp-mode): Use define-minor-mode.
8139 * progmodes/xscheme.el (xscheme-evaluation-commands):
8140 Put a :advertised-binding property rather than using
8141 advertised-xscheme-send-previous-expression.
8142 (advertised-xscheme-send-previous-expression): Declare obsolete.
8143 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
8145 (crisp-mode): Add corresponding bindings to
8146 undo's :advertised-binding instead.
8147 * dired.el (dired-mode-map): Put a :advertised-binding property rather
8148 than using dired-advertised-find-file.
8149 (dired-advertised-find-file):
8150 * simple.el (advertised-undo):
8151 * wid-edit.el (advertised-widget-backward): Declare obsolete.
8152 (widget-keymap): Put a :advertised-binding property rather
8153 than using advertised-widget-backward.
8154 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
8155 than using advertised-undo.
8156 * tutorial.el (tutorial--default-keys): Adjust accordingly.
8158 2009-09-10 Simon South <ssouth@slowcomputing.org>
8160 * progmodes/delphi.el (delphi-tab): Indent region when Transient
8161 Mark mode is enabled and region is active; otherwise indent or
8162 insert TAB as usual.
8163 (delphi-mode): Update description of TAB-key binding.
8165 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8167 * subr.el (define-key-rebound-commands): Mark obsolete.
8168 * startup.el (precompute-menubar-bindings): Remove.
8169 (normal-top-level): Remove obsolete code that tried to precompute
8171 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
8172 define-key-rebound-commands and precompute-menubar-bindings.
8174 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
8176 * net/imap.el (imap-interactive-login): Better messages.
8177 (imap-open): Fix bug with renamed buffer on reconnect.
8178 (imap-authenticate): Add buffer-local imap-last-authenticator variable
8179 for easier debugging and cleaner code. On successful (guessed based on
8180 server capabilities) secondary authentication, set imap-state
8182 (imap-last-authenticator): Define imap-last-authenticator as a variable
8185 2009-09-10 Glenn Morris <rgm@gnu.org>
8187 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
8189 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
8190 (byte-compile-file-form-autoload): Don't warn about unknown functions
8191 where the autoload statement comes after the use.
8192 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
8193 that any handlers inside the body (eg require) are in turn respected.
8195 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
8198 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
8199 and syntax and abbrev tables basic docs, if they don't have any.
8201 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
8203 * international/mule-cmds.el (top-level): Require cl when compiling.
8204 (view-hello-file): Use default-value rather than
8205 default-enable-multibyte-characters.
8207 * progmodes/fortran.el: Move all safe and risky properties into the
8210 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
8211 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
8213 Put autoloads in rmail.el rather than loaddefs.el.
8214 * mail/rmail.el: Regenerate with extracted autoloads.
8216 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
8217 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
8219 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
8221 Reported in thread for Bug#4375.
8222 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
8223 "-data-evaluate-expression" instead of print.
8224 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
8225 (gdb-tooltip-print): Parse output from above MI command.
8226 (gdb): Revert 2009-08-11 change. User should detach inferior
8229 Remove the word "separate" from IO functions as inferior
8230 output is now never displayed in the GUD buffer.
8232 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
8234 * startup.el (command-line-normalize-file-name): On Windows and
8235 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
8237 2009-09-10 Juri Linkov <juri@jurta.org>
8239 * isearch.el (isearch-text-char-description): Propertize escape
8240 character sequences with the `escape-glyph' face. (Bug#4344)
8242 * simple.el (shell-command): Set asynchronous process filter to
8243 `comint-output-filter'. (Bug#4343)
8245 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
8246 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
8247 the list. Move "asm" to the bottom.
8248 (grep-find-ignored-directories): Add `choice' with nil value
8249 to empty the list easily.
8250 (grep-find-ignored-files): New option.
8251 (grep-files-history): Set to nil by default instead of '("ch" "el").
8252 (grep-compute-defaults): Add "<X>" to `grep-template'.
8253 (grep-read-files): Bind new local variables `default-alias' and
8254 `default-extension'. Use a list of default values for the file prompt.
8255 (lgrep): Add `--exclude=' command line options composed from
8256 `grep-find-ignored-files'.
8257 (rgrep): Add `-name' command line options composed from
8258 `grep-find-ignored-files'. (Bug#4301)
8260 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8262 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
8265 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
8267 * calendar/time-date.el (autoload):
8268 Expand define-obsolete-function-alias into defalias and make-obsolete
8269 for old Emacsen that Gnus supports.
8270 (with-no-warnings): Define it for old Emacsen.
8271 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
8273 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
8274 float-time is available; suppress compile warning for time-to-seconds.
8276 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
8278 * net/imap.el (imap-message-map): Docstring fix.
8280 2009-09-09 Glenn Morris <rgm@gnu.org>
8282 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
8283 line numbers too. (Bug#4374)
8285 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8287 * smerge-mode.el (smerge-remove-props, smerge-refine):
8288 Use with-silent-modifications (bug#4342).
8290 * subr.el (with-silent-modifications): New macro.
8292 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
8294 * files.el (top-level): Require `cl' when compiling.
8296 2009-09-07 Glenn Morris <rgm@gnu.org>
8298 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
8300 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
8301 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
8303 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
8305 * vc-git.el (vc-git-annotate-command): Use separator to parse
8306 arguments correctly.
8308 2009-09-06 Eli Zaretskii <eliz@gnu.org>
8310 * proced.el (proced-mode): Doc fix.
8312 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
8314 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
8316 (tramp-do-file-attributes-with-ls): Check for file existence at
8318 (tramp-do-file-attributes-with-stat): Likewise.
8319 (tramp-convert-file-attributes): Return nil when attr is nil.
8321 2009-09-05 Glenn Morris <rgm@gnu.org>
8323 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
8324 properties to this button.
8325 (diary-fancy-display): Don't extend the button to the final newline.
8326 (diary-fancy-display-mode): Continue to define "q" as a local key.
8328 * calendar/cal-china.el (holiday-chinese): Make it slightly more
8331 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
8333 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
8334 (byte-compile-dest-file-function): New option.
8335 (byte-compile-dest-file): Doc fix.
8336 Obey byte-compile-dest-file-function.
8337 (byte-compile-cl-file-p): New function.
8338 (byte-compile-eval): Only suppress noruntime warnings about cl functions
8339 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
8340 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
8341 than for file being previously loaded.
8342 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
8343 (byte-compile-file-form-require): Handle the case where requiring a file
8344 indirectly causes CL to be loaded.
8346 2009-09-05 Karl Fogel <kfogel@red-bean.com>
8348 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
8349 before killing the old buffer, since by the time `kill-buffer' is
8350 run so many buffer variables have been set to nil that it may not
8351 behave as expected. (Bug#4061)
8353 2009-09-05 Karl Fogel <kfogel@red-bean.com>
8355 * files.el (find-alternate-file): If the old buffer is modified
8356 and visiting a file, behave similarly to `kill-buffer' when
8357 killing it, thus reverting to the pre-1.878 behavior; see
8358 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
8359 for discussion. Also, consult `buffer-file-name' as a variable
8360 not as a function, for consistency with the rest of the code.
8362 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
8364 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
8365 also when adding a new directory.
8367 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
8370 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * files.el (locate-file-completion-table): Make it provide boundary
8373 information, so partial-completion works better.
8375 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
8377 * mail/footnote.el (Footnote-text-under-cursor):
8378 Check footnote-text-marker-alist before using it (bug#4324).
8380 2009-09-04 Glenn Morris <rgm@gnu.org>
8382 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
8383 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
8384 * play/solitaire.el, play/tetris.el:
8385 Remove leading * from defcustom and defface docs.
8387 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
8389 (diary-fancy-overriding-map): New variable.
8390 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
8393 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
8396 2009-09-03 Glenn Morris <rgm@gnu.org>
8398 * arc-mode.el (archive-mode):
8399 * dos-fns.el (set-default-process-coding-system):
8400 * man.el (Man-getpage-in-background):
8401 * menu-bar.el (menu-bar-describe-menu):
8402 * server.el (server-process-filter):
8403 * startup.el (command-line):
8404 * tar-mode.el (tar-header-block-tokenize, tar-extract):
8405 * w32-fns.el (set-default-process-coding-system):
8406 * x-dnd.el (x-dnd-handle-file-name):
8407 * international/mule-cmds.el (mule-menu-keymap)
8408 (set-default-coding-systems, language-info-alist, set-language-info)
8409 (set-language-environment, standard-display-european-internal)
8410 (set-locale-environment):
8411 * international/mule-diag.el (mule-diag):
8412 * mail/emacsbug.el (report-emacs-bug):
8413 * mail/rmail.el (rmail-mode):
8414 * mail/sendmail.el (mail-setup):
8415 Use default-value rather than default-enable-multibyte-characters.
8417 * progmodes/f90.el: Move all safe properties into the defcustoms.
8418 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
8420 * calendar/appt.el (appt-check):
8421 * calendar/diary-lib.el (diary-set-header, diary-live-p)
8422 (diary-check-diary-file, diary-list-entries)
8423 (diary-include-other-diary-files, diary-simple-display)
8424 (diary-fancy-display, diary-print-entries)
8425 (diary-mark-included-diary-files, diary-make-entry):
8426 Don't call substitute-in-file-name on diary-file.
8428 2009-09-03 Eduard Wiebe <usenet@pusto.de>
8429 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * mail/footnote.el (footnote-prefix): Make it a defcustom.
8432 (footnote-mode-map): Move initialization into the declaration.
8433 (footnote-minor-mode-map): Define it rather than changing global-map.
8434 (footnote-mode): Use define-minor-mode.
8436 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
8438 * net/tramp.el (tramp-handle-file-attributes-with-ls)
8439 (tramp-do-file-attributes-with-perl)
8440 (tramp-do-file-attributes-with-stat): Rename from
8441 `tramp-handle-file-attributes-with-*'.
8442 (tramp-handle-file-attributes): Use them.
8443 (tramp-do-directory-files-and-attributes-with-perl)
8444 (tramp-do-directory-files-and-attributes-with-stat): Rename from
8445 `tramp-handle-directory-files-and-attributes-with-*'.
8446 (tramp-handle-directory-files-and-attributes): Use them.
8447 (tramp-method-out-of-band-p): Additional parameter SIZE.
8448 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
8449 (tramp-handle-write-region): Use it.
8450 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
8451 (tramp-handle-vc-registered): Check, whether the first run did
8452 return files to be tested.
8453 (tramp-advice-make-auto-save-file-name): Do not call directly
8454 `tramp-handle-make-auto-save-file-name', because this would bypass
8455 the locking mechanism.
8457 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
8458 (file-remote-p, process-file, start-file-process, set-file-times)
8459 (tramp-compat-file-attributes): Compatibility functions shall not
8460 call directly `tramp-handle-*', because this would bypass the
8462 (tramp-compat-number-sequence): New defun.
8464 2009-09-02 Glenn Morris <rgm@gnu.org>
8466 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
8467 alias for float-time.
8468 (time-to-number-of-days): In Emacs, use float-time.
8469 * net/newst-backend.el (time-add): Suppress warnings from compat
8471 * time.el (emacs-uptime, emacs-init-time):
8472 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
8473 Use float-time rather than time-to-seconds.
8475 * minibuffer.el (completion-initials-expand): Fix typo.
8477 * faces.el (modeline, modeline-inactive, modeline-highlight)
8478 (modeline-buffer-id):
8479 * info.el (info-menu-5): Mark these face aliases as obsolete.
8481 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
8483 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
8485 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
8486 no "--thread" option.
8487 (gdb-stopped): Don't print "Switched to thread" message when it is
8490 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * minibuffer.el (completion-try-completion)
8493 (completion-all-completions): Remove ill-defined (and
8494 mistakenly installed and luckily never used nor documented)
8495 `completion-styles' property.
8496 (completion-initials-expand, completion-initials-all-completions)
8497 (completion-initials-try-completion): New functions.
8498 (completion-styles-alist): Add doc to each entry.
8499 Add new `initials' entry.
8501 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
8503 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
8504 MI command -var-evaluate-expression.
8505 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
8506 and tweak for case of string child.
8507 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
8509 2009-09-01 Glenn Morris <rgm@gnu.org>
8511 * add-log.el (change-log-date-face, change-log-name-face)
8512 (change-log-email-face, change-log-file-face, change-log-list-face)
8513 (change-log-conditionals-face, change-log-function-face)
8514 (change-log-acknowledgement-face):
8515 * cus-edit.el (custom-invalid-face, custom-rogue-face)
8516 (custom-modified-face, custom-set-face, custom-changed-face)
8517 (custom-saved-face, custom-button-face, custom-button-pressed-face)
8518 (custom-documentation-face, custom-state-face, custom-comment-face)
8519 (custom-comment-tag-face, custom-variable-tag-face)
8520 (custom-variable-button-face, custom-face-tag-face)
8521 (custom-group-tag-face-1, custom-group-tag-face):
8522 * diff-mode.el (diff-header-face, diff-file-header-face)
8523 (diff-index-face, diff-hunk-header-face, diff-removed-face)
8524 (diff-added-face, diff-changed-face, diff-function-face)
8525 (diff-context-face, diff-nonexistent-face):
8526 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
8527 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
8528 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
8529 (Info-title-4-face):
8530 * isearch.el (isearch-lazy-highlight-face):
8531 * log-view.el (log-view-file-face, log-view-message-face):
8532 * paren.el (show-paren-match-face, show-paren-mismatch-face):
8533 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
8534 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
8536 * smerge-mode.el (smerge-mine-face, smerge-other-face)
8537 (smerge-base-face, smerge-markers-face):
8538 * wid-edit.el (widget-documentation-face, widget-button-face)
8539 (widget-field-face, widget-single-line-field-face)
8540 (widget-inactive-face, widget-button-pressed-face):
8541 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
8542 (woman-addition-face):
8543 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
8544 (eshell-ls-executable-face, eshell-ls-readonly-face)
8545 (eshell-ls-unreadable-face, eshell-ls-special-face)
8546 (eshell-ls-missing-face, eshell-ls-archive-face)
8547 (eshell-ls-backup-face, eshell-ls-product-face)
8548 (eshell-ls-clutter-face):
8549 * eshell/em-prompt.el (eshell-prompt-face):
8550 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
8551 * obsolete/old-whitespace.el (whitespace-highlight-face):
8552 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
8553 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
8554 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
8555 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
8556 (antlr-font-lock-literal-face):
8557 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
8558 (ebrowse-root-class-face, ebrowse-file-name-face)
8559 (ebrowse-default-face, ebrowse-member-attribute-face)
8560 (ebrowse-member-class-face, ebrowse-progress-face):
8561 * progmodes/make-mode.el (makefile-space-face):
8562 * progmodes/sh-script.el (sh-heredoc-face):
8563 * textmodes/flyspell.el (flyspell-incorrect-face)
8564 (flyspell-duplicate-face):
8565 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
8566 * textmodes/texinfo.el (texinfo-heading-face):
8567 Mark face aliases with "-face" suffix as obsolete.
8569 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
8572 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
8573 (eudc-bob-sound-menu): Use defvar rather than defconst, since
8574 easy-menu-define wants to modify these.
8576 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
8578 * net/browse-url.el (browse-url-file-url):
8579 * term/internal.el (dos-codepage-setup):
8580 Use default-value rather than default-enable-multibyte-characters.
8582 * progmodes/etags.el (etags-goto-tag-location):
8583 * progmodes/flymake.el (flymake-highlight-line)
8584 (flymake-goto-file-and-line, flymake-goto-line):
8585 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
8586 (gdb-goto-breakpoint):
8587 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
8588 * progmodes/python.el (python-find-function)
8589 (python-pdbtrack-track-stack-file):
8590 * progmodes/verilog-mode.el (verilog-surelint-off):
8591 * term/ns-win.el (ns-open-file-select-line):
8592 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
8593 Use forward-line rather than goto-line.
8595 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
8596 * textmodes/reftex-index.el (reftex-display-index):
8597 * textmodes/reftex-ref.el (reftex-offer-label-menu):
8598 * textmodes/reftex-toc.el (reftex-toc):
8599 Remove unnecessary bindings of default-major-mode (all are followed by
8600 major-mode check and possible mode switch).
8602 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
8604 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8605 Handle watchpoints (bug#4282).
8606 (def-gdb-thread-buffer-command): Enable thread to be selected by
8607 clicking without selecting threads buffer first.
8608 (gdb-current-context-command): Use selected frame so that "up",
8609 "down" etc work in the GUD buffer.
8610 (gdb-update): Find selected frame before rendering stack buffer.
8611 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
8613 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8615 * progmodes/sym-comp.el (displayed-completions): Remove.
8616 (symbol-complete): Use minibuffer-complete.
8618 2009-08-31 Glenn Morris <rgm@gnu.org>
8620 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
8622 * apropos.el (apropos-symbols-internal):
8623 Handle (obsolete) face aliases.
8625 * faces.el (describe-face): Adjust the output format to be more like
8626 describe-variable, and to mention (obsolete) face aliases.
8627 Adjust the whitespace so that help-setup-xref works.
8629 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
8630 * calendar/diary-lib.el (diary-button-face):
8631 Mark these face aliases as obsolete.
8633 * calendar/calendar.el (calendar-today): Doc fix.
8635 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
8637 * progmodes/gdb-mi.el (gdb-control-all-threads)
8638 (gdb-control-current-thread): Force tool bar update.
8639 (gdb-non-stop-handler): New function.
8640 (gdb-init-1): Use it to test if non-stop mode is supported.
8641 Remove unused gdbmi buffer type.
8643 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8645 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
8646 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
8648 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
8650 * comint.el (comint-exec-1): Check command is non-null first.
8651 Part of gdb-mi.el change (2009-08-28).
8653 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
8657 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
8659 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
8660 instead of `dolist' to avoid a recursive require when bootstrapping.
8662 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8664 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
8666 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
8668 * net/imap.el (imap-send-command): Simplify.
8669 (imap-wait-for-tag): point-max -> buffer-size.
8671 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
8673 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
8674 with constant argument.
8676 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
8678 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
8680 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
8681 Change default, since most of our files don't have a history.
8682 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
8685 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8688 * calc/calc.el: Improve commenting convention.
8689 (calc-digit-map, toplevel): Simplify.
8691 * comint.el (comint-insert-input): Be careful to only set point if we
8692 don't delegate to some other command.
8694 * proced.el (proced-signal-list): Make it an alist.
8695 (proced-grammar-alist): Capitalize names.
8696 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
8697 Disable undo manually and make it read-only.
8698 Use completion-annotate-function.
8700 * minibuffer.el (minibuffer-message): If the current buffer is not
8701 a minibuffer, insert the message in the echo area rather than at the
8703 (completion-annotate-function): New variable.
8704 (minibuffer-completion-help): Use it.
8705 (completion--embedded-envvar-table): Environment vars are
8706 always case-sensitive.
8708 2009-08-30 Glenn Morris <rgm@gnu.org>
8710 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
8711 from fortran-current-defun.
8712 (fortran-beginning-of-subprogram): Be more precise about finding the
8713 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
8714 (fortran-end-of-subprogram): Simplify.
8715 (fortran-current-defun): Use fortran-start-prog-re.
8717 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
8719 * subr.el (do-after-load-evaluation): Simplify.
8721 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
8723 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
8725 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
8726 (vc-rcs-print-log): Use it.
8728 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
8730 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * paths.el (abbrev-file-name): Move to abbrev.el.
8733 * abbrev.el (abbrev-file-name): Move from paths.el.
8734 Obey user-emacs-directory.
8735 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
8736 user-emacs-directory.
8737 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
8738 abbrev-file-name and calc-settings-file any more.
8739 * startup.el (command-line): Recompute abbrev-file-name and
8740 abbreviated-home-dir.
8741 (normal-no-mouse-startup-screen): Improve the generic code and get rid
8742 of the special code for when C-h bindings haven't been changed.
8743 (display-startup-echo-area-message): Use with-current-buffer.
8744 (command-line-1): Use a list of strings, rather than a list of lists
8745 of strings for longopts.
8747 * files.el (get-free-disk-space): Use / for default-directory.
8749 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
8750 Use with-current-buffer.
8752 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
8753 Recognize immutable variables like most-positive-fixnum.
8754 (byte-compile-setq-default): Check and warn if trying to assign
8755 to an immutable variable, or a non-variable.
8757 * progmodes/cc-vars.el (c-comment-continuation-stars):
8758 * progmodes/cc-engine.el (c-looking-at-bos):
8759 * progmodes/cc-cmds.el (c-toggle-auto-state)
8760 (c-forward-into-nomenclature, c-backward-into-nomenclature)
8761 (c-comment-line-break-function): Add version of obsolescence.
8763 2009-08-28 Juri Linkov <juri@jurta.org>
8765 * files.el (magic-fallback-mode-alist): Add ZIP magic number
8766 associated with `archive-mode'.
8768 * image.el (image-type-header-regexps): Use only JPEG magic number
8769 to determine JPEG images, and don't use `image-jpeg-p' because
8770 Emacs can display non-JFIF non-Exif JPEG images.
8772 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
8774 * arc-mode.el (archive-mode):
8775 * emacs-lisp/re-builder.el (re-builder-unload-function):
8776 Protect against the default value of `major-mode' being nil.
8778 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
8780 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
8781 Fix typos in docstrings.
8783 * progmodes/js.el (js--macro-decl-re): Doc fix.
8784 (js--plain-method-re, js--split-name): Refloc docstring.
8785 (js--class-styles, js--make-merged-item, js--splice-into-items):
8786 Fix typos in docstrings; reflow docstrings.
8787 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
8788 (js--variable-decl-matcher, js--inside-pitem-p)
8789 (js--parse-state-at-point, js--get-all-known-symbols)
8790 (js--symbol-history, js-find-symbol, js--js-references)
8791 (js--moz-interactor, js--js-encode-value, js--read-tab):
8792 Fix typos in docstrings.
8794 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * textmodes/reftex.el (reftex-get-file-buffer-force):
8797 * progmodes/verilog-mode.el (verilog-batch-execute-func):
8798 * emulation/viper.el (viper-go-away, viper-set-hooks):
8799 * emacs-lisp/re-builder.el (re-builder-unload-function):
8800 * emacs-lisp/bytecomp.el (byte-compile-file):
8801 * ses.el (ses-unload-function):
8802 * hexl.el (hexl-find-file):
8803 * files.el (normal-mode):
8804 * ehelp.el (with-electric-help):
8805 * autoinsert.el (auto-insert-alist):
8806 * arc-mode.el (archive-mode):
8807 Use (default-value 'major-mode) instead of default-major-mode.
8809 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
8810 * international/mule.el (load-with-code-conversion):
8811 * emacs-lisp/debug.el (debug):
8812 * ediff-vers.el (ediff-rcs-get-output-buffer):
8813 * dired.el (dired-internal-noselect): Don't let-bind
8814 default-major-mode around code that doesn't use it.
8815 E.g. buffer creation via get-buffer-create doesn't use it.
8817 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
8819 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
8820 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
8821 when writing the temp file. Otherwise, epa-file gets confused.
8822 (tramp-register-file-name-handlers): Make it a defun. Move also
8823 `epa-file-handler' to the front of `file-name-handler-alist'.
8825 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
8828 start right after a ^M.
8829 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
8830 (tramp-completion-file-name-regexp-separate)
8831 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
8832 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
8833 Don't modify last-coding-system-used by accident.
8834 (tramp-completion-file-name-handler): Apply the checks here,
8835 instead during registration.
8836 (tramp-register-file-name-handlers): Renamed from
8837 `tramp-register-file-name-handler'. Register both
8838 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
8839 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
8841 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
8843 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
8845 (gdb-init-1, gdb-display-separate-io-buffer)
8846 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
8848 (gdb-inferior-io-mode): Use make-comint-in-buffer.
8849 (gdb-inferior-filter): Use comint-output-filter to stop
8850 echoing and remove ^M characters.
8852 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8854 * emulation/viper-init.el (viper-restore-cursor-type):
8855 * emulation/cua-base.el (cua--update-indications):
8856 Replace default-cursor-type with (default-value 'cursor-type).
8858 * mail/sendmail.el (mail-recover-1):
8859 * international/mule-diag.el (describe-current-coding-system-briefly)
8860 (describe-current-coding-system):
8861 * international/mule-cmds.el (select-safe-coding-system)
8862 (select-message-coding-system)
8863 (set-language-environment-coding-systems, set-locale-environment):
8864 * hexl.el (hexl-insert-multibyte-char):
8865 * dos-w32.el (find-buffer-file-type-coding-system):
8866 * simple.el (what-cursor-position):
8867 Replace uses of default-buffer-file-coding-system
8868 with (default-value 'buffer-file-coding-system).
8870 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
8871 Replace uses of default-cursor-in-non-selected-windows
8872 with (default-value 'cursor-in-non-selected-windows).
8873 Use with-current-buffer.
8875 * mail/feedmail.el: Use CL macros.
8876 (feedmail-run-the-queue, feedmail-send-it-immediately):
8877 * dos-w32.el (find-buffer-file-type): Replace uses of
8878 default-buffer-file-type with (default-value 'buffer-file-type).
8880 2009-08-28 Glenn Morris <rgm@gnu.org>
8882 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
8883 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
8884 Use default-value of major-mode rather than default-major-mode.
8886 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * Makefile.in (update-elcfiles): Report left over elc files.
8890 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
8891 expand-file-name and with-current-buffer.
8892 (mail-get-names, mail-directory): Use with-current-buffer.
8894 * vc.el (vc-read-revision): New function.
8895 (vc-version-diff, vc-merge): Use it.
8897 2009-08-27 Sam Steingold <sds@gnu.org>
8899 * simple.el (kill-do-not-save-duplicates): New user option.
8900 (kill-new): When it is non-nil, and the new string is the same as
8901 the latest kill, set replace to t to avoid duplicates in kill-ring.
8903 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
8905 * net/tramp.el (tramp-handle-process-file): Do not flush all
8906 caches when `process-file-side-effects' is set.
8907 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
8908 instead of `tramp-find-file-exists-command'.
8909 Unset `process-file-side-effects'.
8911 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
8913 * net/tramp.el (tramp-methods): New method "rsyncc".
8914 (top): Add completion function for "rsyncc".
8915 (tramp-message-show-message): New defvar.
8916 (tramp-message, tramp-error): Use it.
8917 (tramp-do-copy-or-rename-file-directly): Extend check for direct
8919 (tramp-do-copy-or-rename-file-out-of-band): Handle new
8920 `tramp-methods' entry `copy-env' of "rsyncc".
8921 (tramp-vc-registered-read-file-names): New defconst.
8922 (tramp-vc-registered-file-names): New defvar.
8923 (tramp-handle-vc-registered): Implement optimization strategy.
8924 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
8925 (tramp-vc-file-name-handler): New defun.
8926 (tramp-get-ls-command, tramp-get-test-command)
8927 (tramp-get-file-exists-command, tramp-get-remote-ln)
8928 (tramp-get-remote-perl, tramp-get-remote-stat)
8929 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
8931 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
8932 (tramp-cache-inhibit-cache): Extend doc string. It allows also
8934 (tramp-get-file-property): Check for timestamps in
8935 `tramp-cache-inhibit-cache'.
8936 (tramp-set-file-property): Write timestamp.
8938 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
8940 * language/japan-util.el (japanese-symbol-table): Add entries for
8943 * international/characters.el: Add category `j' to cp932-2-byte.
8945 2009-08-27 Kenichi Handa <handa@m17n.org>
8947 * international/fontset.el (build-default-fontset-data): New macro.
8948 (setup-default-fontset): Use build-default-fontset-data for CJK,
8949 tibetan, ethiopic, and ipa.
8951 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * cus-start.el (default-major-mode): Customize `major-mode' instead.
8954 (enable-multibyte-characters): Not customizable any more.
8956 * subr.el (default-mode-line-format, default-header-line-format)
8957 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
8958 (default-direction-reversed, default-truncate-lines)
8959 (default-left-margin, default-tab-width, default-case-fold-search)
8960 (default-left-margin-width, default-right-margin-width)
8961 (default-left-fringe-width, default-right-fringe-width)
8962 (default-fringes-outside-margins, default-scroll-bar-width)
8963 (default-vertical-scroll-bar, default-indicate-empty-lines)
8964 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
8965 (default-fringe-cursor-alist, default-scroll-up-aggressively)
8966 (default-scroll-down-aggressively, default-fill-column)
8967 (default-cursor-type, default-buffer-file-type)
8968 (default-cursor-in-non-selected-windows)
8969 (default-buffer-file-coding-system, default-major-mode)
8970 (default-enable-multibyte-characters): Mark as obsolete.
8972 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
8974 * vc-dir.el (vc-dir-update): Remove debug helper.
8976 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
8978 2009-08-26 Sam Steingold <sds@gnu.org>
8980 * simple.el (save-interprogram-paste-before-kill): New user option.
8981 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
8982 save the interprogram-paste into kill-ring before overriding it
8983 with the Emacs kill.
8985 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
8987 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
8988 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
8989 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
8990 and move to vc-rcs.el.
8991 (vc-default-next-revision): Rename to vc-rcs-next-revision and
8993 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
8994 (vc-rcs-update-changelog): Remove.
8995 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
8996 and move to vc-rcs.el.
8998 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
8999 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
9001 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
9002 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
9003 vc.el, renamed to be RCS specific.
9005 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
9007 (vc-cvs-update-changelog): Move here from vc.el.
9009 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
9012 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
9016 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
9018 * vc-git.el (vc-git-register): Use "git add" for directories.
9019 (vc-git-stash, vc-git-stash-show): New functions.
9020 (vc-git-extra-menu-map): Bind them.
9022 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
9023 directory correctly in case the item is a directory itself.
9025 * vc.el: Document the desired behavior for reverted files in the
9027 (vc-default-prettify-state-info): Remove function, unused.
9029 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
9031 2009-08-26 Glenn Morris <rgm@gnu.org>
9033 * bindings.el (standard-mode-line-format): Reposition dashes in
9034 which-func entry. (Bug#4217)
9036 * files.el (enable-local-variables, enable-local-eval)
9037 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
9039 (auto-mode-alist, ignored-local-variables)
9040 (save-some-buffers-action-alist): Move risky declarations to the
9042 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
9043 (font-lock-defaults, format-alist, imenu--index-alist)
9044 (imenu-generic-expression, input-method-alist, minor-mode-alist)
9045 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
9046 (mode-line-modified, mode-line-mule-info, mode-line-position)
9047 (mode-line-process, mode-line-remote, outline-level)
9048 (parse-time-rules, rmail-output-file-alist)
9049 (special-display-buffer-names, vc-mode):
9050 Move risky declarations to the relevant files.
9051 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
9052 (mode-line-modified, mode-line-process, mode-line-position)
9053 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
9054 * font-core.el (font-lock-defaults):
9055 * format.el (format-alist):
9056 * vc-hooks.el (vc-mode):
9057 * window.el (special-display-buffer-names):
9058 * international/mule-cmds.el (input-method-alist):
9059 Define riskiness here (dumped file) rather than in files.el.
9060 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
9061 * imenu.el (imenu-generic-expression, imenu--index-alist):
9062 * outline.el (outline-level):
9063 * time.el (display-time-string):
9064 * calendar/parse-time.el (parse-time-rules):
9065 * mail/rmailout.el (rmail-output-file-alist):
9066 Autoload riskiness here, rather than placing in files.el.
9068 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
9070 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
9072 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
9074 * simple.el (process-file-side-effects): New defvar.
9076 * dired-aux.el (dired-show-file-type):
9077 * vc.el (vc-diff-internal):
9078 * vc-arch.el (vc-arch-diff):
9079 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
9080 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
9081 * vc-git.el (vc-git-registered, vc-git-working-revision)
9082 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
9083 (vc-git--empty-db-p):
9084 * vc-hooks.el (vc-user-login-name):
9085 * vc-svn.el (vc-svn-registered, vc-svn-state)
9086 (vc-svn-dir-extra-headers, vc-svn-find-revision):
9087 * progmodes/grep.el (grep-probe): Let-bind
9088 `process-file-side-effects' with nil.
9090 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
9092 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
9093 daemon. Replace ping by checking for running service for bluez
9094 and zeroconf. (Bug#4239)
9096 2009-08-25 Kevin Ryde <user42@zip.com.au>
9098 * net/dig.el (dig): Add autoload cookie.
9100 2009-08-25 Glenn Morris <rgm@gnu.org>
9102 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
9103 load-history for absolute file-names.
9104 (byte-compile-file-form-require): Warn about use of the cl package.
9106 * format.el (format-alist): Doc fix.
9108 * play/bubbles.el (top-level): Don't require cl at run-time.
9110 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
9113 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
9115 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
9117 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
9119 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
9121 * calc/calc-alg.el (math-trig-rewrite)
9122 (math-hyperbolic-trig-rewrite): New functions.
9123 (calc-simplify): Simplify trig functions when asked.
9125 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * diff-mode.el (diff-find-source-location): Avoid goto-line.
9129 2009-08-24 Kenichi Handa <handa@m17n.org>
9131 * language/ind-util.el (mapthread): Delete it.
9132 (combinatorial): New function.
9133 (indian--puthash-cv): Use combinatorial instead of mapthread.
9135 2009-08-22 Kevin Ryde <user42@zip.com.au>
9137 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
9138 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
9139 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
9140 Clarify docstring that the value is strings not symbols.
9141 (checkdoc-list-of-strings-p): New function.
9143 2009-08-22 Glenn Morris <rgm@gnu.org>
9145 * files.el (auto-mode-alist):
9146 * hippie-exp.el (he-concat-directory-file-name):
9147 * lpr.el (lpr-windows-system, printer-name):
9148 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
9149 * ps-print.el (ps-windows-system):
9150 * startup.el (command-line):
9151 * emulation/viper-ex.el (viper-glob-function):
9152 * international/mule-cmds.el (set-language-environment-coding-systems):
9153 * net/ange-ftp.el (ange-ftp-write-region):
9154 * obsolete/fast-lock.el (fast-lock-cache-name):
9155 Remove code for defunct system-types emx, macos, mswindows, next-mach,
9156 unisoft-unix, vax-vms, win32, w32.
9158 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
9159 given name if the pattern is not more specific.
9161 * calendar/lunar.el (lunar-phase-names): New option.
9162 (lunar-phase): Doc fix.
9163 (lunar-cycles-per-year): New constant.
9164 (lunar-index): New function.
9165 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
9166 (lunar-phase-name): Use lunar-phase-names.
9167 (calendar-lunar-phases): Use format.
9168 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
9170 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
9171 Copy imenu-example--name-and-position function here for own use.
9172 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
9174 * bs.el (bs--redisplay):
9175 * cus-edit.el (custom-redraw):
9176 * ibuffer.el (ibuffer-bury-buffer):
9177 * server.el (server-goto-line-column):
9178 * startup.el (command-line-1):
9179 * strokes.el (strokes-xpm-for-stroke):
9180 * term.el (term-display-buffer-line):
9181 * view.el (View-goto-line):
9182 * calc/calc.el (calc-do, calc-trail-buffer):
9183 * play/gamegrid.el (gamegrid-add-score-insecure):
9184 * progmodes/ada-mode.el (ada-compile-goto-error):
9185 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
9186 (ebrowse-select-1st-to-9nth):
9187 * progmodes/cperl-mode.el (cperl-time-fontification):
9188 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
9189 * progmodes/gud.el (gud-display-line):
9190 (idlwave-shell-display-line):
9191 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
9192 * progmodes/make-mode.el (makefile-browser-toggle):
9193 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
9194 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
9195 * textmodes/picture.el (picture-draw-rectangle):
9196 * textmodes/reftex-index.el (reftex-index-goto-letter):
9197 (reftex-select-jump-to-previous):
9198 * textmodes/reftex-sel.el (reftex-find-start-point)
9199 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
9200 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
9201 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
9202 * textmodes/tex-mode.el (tex-compilation-parse-errors):
9203 * textmodes/two-column.el (2C-associated-buffer):
9204 Use forward-line rather than goto-line.
9206 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
9209 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
9210 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
9211 (quick-check-list-to-regexp): Declare.
9213 * progmodes/make-mode.el (makefile-browser-insert-selection):
9214 Use goto-char rather than goto-line.
9216 * progmodes/prolog.el (compilation-error-regexp-alist)
9217 (compilation-forget-errors): Declare.
9219 2009-08-22 Juri Linkov <juri@jurta.org>
9221 * progmodes/grep.el (lgrep, rgrep): At the beginning
9222 set `dir' to `default-directory' unless `dir' is a non-nil
9223 readable directory. (Bug#4052)
9224 (lgrep, rgrep): Change a weird way to report an error
9225 from using `read-string' to using `error'.
9226 Instead of using interactive arguments in the function body,
9227 add new argument `confirm'.
9229 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * textmodes/remember.el (remember-buffer):
9232 * progmodes/cperl-mode.el (cperl-vc-header-alist):
9233 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
9234 (icalendar-extract-ical-from-buffer):
9235 * net/newst-treeview.el (newsticker-groups-filename):
9236 * net/newst-backend.el (newsticker-cache-filename):
9237 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
9238 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
9239 (speedbar-add-ignored-path-regexp, speedbar-line-path)
9240 (speedbar-buffers-line-path, speedbar-path-line)
9241 (speedbar-buffers-line-path):
9242 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
9244 * epa.el (epa-display-verify-result):
9245 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
9247 2009-08-21 Glenn Morris <rgm@gnu.org>
9249 * progmodes/js.el (inferior-moz-process): Fix declaration.
9251 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
9253 * obsolete/rnewspost.el (news-mail-reply):
9254 Use goto-char rather than goto-line.
9256 * term/ns-win.el (ns-open-file-select-line):
9257 Use line-beginning-position rather than goto-line.
9259 * apropos.el (apropos-command):
9260 * ehelp.el (electric-helpify):
9261 * printing.el (pr-show-setup):
9262 * strokes.el (strokes-help):
9263 * tutorial.el (tutorial--describe-nonstandard-key)
9264 (tutorial--detailed-help):
9265 * woman.el (woman-mini-help, woman-display-extended-fonts):
9266 * calc/calc-help.el (calc-describe-key):
9267 * emulation/edt.el (edt-electric-helpify):
9268 * international/mule-diag.el (mule-diag):
9269 * play/yow.el (apropos-zippy):
9270 * progmodes/python.el (python-describe-symbol):
9271 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
9272 * textmodes/table.el (*table--cell-describe-mode)
9273 (*table--cell-describe-bindings):
9274 Use help-print-return-message rather than the now obsolete alias.
9276 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
9277 (calendar-cursor-to-visible-date):
9278 * play/5x5.el (5x5-position-cursor):
9279 * play/decipher.el (decipher):
9280 * play/gomoku.el (gomoku-goto-xy):
9281 * play/landmark.el (lm-goto-xy):
9282 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
9284 Use forward-line, not goto-line.
9286 * mail/rmail.el (rmail-obsolete): Delete custom group.
9287 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
9288 (rmail-remote-password, rmail-remote-password-required):
9289 Remove unneeded :set-after and :set properties.
9291 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
9293 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
9295 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
9297 * loadup.el: Remove leftover macos code.
9299 * vc-git.el (vc-git-annotate-command): Run asynchronously.
9300 Explicitly pass the date format to git blame so that user local
9301 so that the output format can be parsed.
9303 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
9305 * net/dbus.el (top): Don't check for (getenv
9306 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
9308 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
9310 * log-edit.el (log-edit-strip-single-file-name): New var.
9311 (log-edit-insert-changelog): Use it. Bug#3571
9313 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
9315 * subr.el (read-passwd): Use read-key so keypad keys work as well.
9318 * help.el (help-print-return-message): Rename from
9319 print-help-return-message.
9321 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
9322 cvs-mode-map parent hack.
9323 (log-view-mode): Derive from special-mode.
9325 * linum.el (linum-mode): window-size-change-functions is redundant.
9326 Adapt to new window-configuration-change-hook behavior.
9327 (linum-after-size, linum-after-config): Remove.
9329 * imenu.el (imenu-example--name-and-position)
9330 (imenu-example--lisp-extract-index-name)
9331 (imenu-example--create-lisp-index, imenu-example--create-c-index):
9334 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
9335 (inferior-prolog-mode): Use it.
9336 (inferior-prolog-load-file): Reset list of errors.
9338 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
9340 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
9342 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
9344 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
9346 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
9349 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * subr.el (listify-key-sequence-1): Use normal syntax since those
9352 integers are nowadays always represented by the same (positive) number
9354 (read-key-empty-map): New const.
9355 (read-key-delay): New var.
9356 (read-key): New function.
9357 (force-mode-line-update): Use with-current-buffer.
9358 (locate-user-emacs-file): Don't forget to abbreviate the file name.
9359 (start-process-shell-command, start-file-process-shell-command):
9360 Discourage the use of command-args.
9362 2009-08-19 Glenn Morris <rgm@gnu.org>
9364 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
9366 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
9368 * simple.el (choose-completion-string): Don't rely on
9369 minibuffer-completing-file-name and ad-hoc checks to decide whether
9370 to continue completion or not.
9372 * minibuffer.el (minibuffer-hide-completions): New function.
9373 (completion--do-completion): Use it.
9374 (completions-annotations): New face.
9375 (completion--insert-strings): Use it.
9376 (completion-pcm--delim-wild-regex): Add docstring.
9377 (completion-pcm--string->pattern): Add support for 0-width delimiters
9378 in completion-pcm--delim-wild-regex.
9380 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
9383 Remove unused var `buffer-modified-p'.
9385 * minibuffer.el (completion--do-completion): Move point for the #b001
9386 case as well (bug#4176).
9387 (minibuffer-complete, minibuffer-complete-word): Don't move point.
9389 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
9391 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
9394 2009-08-18 Kenichi Handa <handa@m17n.org>
9396 * international/ucs-normalize.el (ucs-normalize-version):
9398 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
9399 (utf-8-hfs): Make it perform normalization on encoding too.
9401 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
9402 (sentence-end-without-space): Delete duplicated chars.
9403 (sentence-end-base): Likewise.
9405 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
9406 (html-mode): Delete duplicated chars from sentence-end-base.
9408 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
9409 (texinfo-mode): Delete duplicated chars from sentence-end-base.
9411 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
9413 * files.el (hack-one-local-variable): If the mode function is for
9414 a minor mode, pass it an argument (Bug#4148).
9416 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
9418 * net/tramp.el (tramp-register-completion-file-name-handler):
9419 Check also for (member 'partial-completion completion-styles).
9421 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
9423 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
9426 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
9428 * progmodes/cperl-mode.el: Merge upstream 6.2.
9429 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
9430 (cperl-forward-re): Check cperl-brace-recursing.
9431 (cperl-highlight-charclass): New function.
9432 (cperl-find-pods-heres): Use it.
9433 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
9434 (cperl-beautify-regexp-piece): Fix column calculation.
9435 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
9436 (cperl-beautify-level): Don't process entire regexp.
9437 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
9439 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
9440 (cperl-init-faces): Build a list in the normal way.
9442 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
9444 * calendar/parse-time.el (parse-time-string-chars): Save match
9447 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
9449 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
9450 (sql-product): Use it.
9451 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
9452 (sql-set-product): Add completion.
9453 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
9454 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
9455 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
9456 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
9457 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
9458 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
9459 (sql-highlight-db2-keywords): Remove.
9460 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
9461 (sql-highlight-product): Use derived-mode-p.
9462 (sql-set-sqli-buffer): Use with-current-buffer.
9463 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
9466 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
9468 * term.el: Fix commenting convention, turn comments into docstrings.
9470 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
9472 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
9474 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
9476 * calendar/parse-time.el (parse-time-string-chars): Compute using
9477 character classes, to handle non-ascii characters (Bug#3190).
9479 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
9481 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
9482 another heredoc if the user adds another < (Bug#3226).
9484 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
9485 Don't initialize based on window-system (Bug#4124).
9487 * facemenu.el (facemenu-read-color): Use a completion function
9488 that accepts any defined color, such as RGB triplets (Bug#3677).
9490 * files.el (get-free-disk-space): Change fallback default
9491 directory to /. Expand DIR argument before switching to fallback.
9492 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
9494 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
9496 * files.el (load-library): Doc fix.
9498 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
9500 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
9501 (viper-if-string): Redefine C-s in the minibuffer to insert the last
9502 incremental search string.
9504 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
9507 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
9508 (ediff-merge-region-is-non-clash)
9509 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
9510 Also check if the job is really a merge job.
9512 * ediff.el (ediff-current-file): New function.
9514 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
9516 * progmodes/js.el: Edit docstrings throughout to follow Emacs
9518 (js-insert-and-indent): Delete function.
9519 (js-mode-map): Don't bind keys to js-insert-and-indent.
9520 (js-beginning-of-defun): Rename from js--beginning-of-defun.
9521 (js-end-of-defun): Rename from js--end-of-defun.
9522 (js-auto-indent-flag): Delete variable.
9524 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
9526 * progmodes/js.el: Remove proclaim statement.
9527 Defvar which-func-imenu-joiner-function to silence compiler.
9529 * files.el (auto-mode-alist): Use js-mode for .js files.
9531 * progmodes/js2-mode.el: Remove file.
9533 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
9535 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
9537 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
9539 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
9540 Karl Landstrom <karl.landstrom@brgeight.se>
9542 * progmodes/js.el: New file.
9544 2009-08-14 Mark A. Hershberger <mah@everybody.org>
9546 * timezone.el (timezone-parse-date): Add ability to understand ISO
9547 basic format (minimal separators) dates in addition to the
9548 already-supported extended format dates.
9550 2009-08-14 Eli Zaretskii <eliz@gnu.org>
9552 * international/ucs-normalize.el: Add a `coding' file variable.
9554 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
9556 2009-08-14 Sam Steingold <sds@gnu.org>
9558 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9560 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
9562 * faces.el (help-argument-name): Define it here instead of
9563 help-fns.el, because in daemon mode help-fns.el may be loaded when
9564 faces are still uninitialized (Bug#1078).
9566 * help-fns.el (help-argument-name): Move defface to faces.el.
9568 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
9570 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
9571 create buffer with a pty but no process so that GDB can make the
9572 inferior the controlling process.
9574 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
9576 * international/ucs-normalize.el: New file.
9578 2009-08-13 Richard Stallman <rms@gnu.org>
9580 * mail/rmail.el (rmail-get-attr-names):
9581 Accept an attribute header that is too short.
9583 * mail/rmail.el (rmail-forget-messages):
9584 Ignore nil elt in rmail-message-vector. Use dotimes.
9586 * progmodes/compile.el (compilation-goto-locus):
9587 Use next-error-move-function.
9589 * simple.el (next-error-move-function): New variable.
9591 2009-08-12 Juri Linkov <juri@jurta.org>
9593 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
9594 always non-nil. (Bug#4052)
9596 * replace.el (read-regexp): Return empty string when
9597 `default-value' is nil.
9598 (keep-lines-read-args): Don't use empty string as the
9599 default value for `read-regexp'. (Bug#2495)
9601 2009-08-12 Juri Linkov <juri@jurta.org>
9603 * international/mule-cmds.el (ucs-insert): Change arguments
9604 from `arg' to `character', `count', `inherit' to be the same
9605 as in `insert-char'. Doc fix. (Bug#4039)
9607 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
9609 2009-08-12 Juri Linkov <juri@jurta.org>
9611 * files-x.el: New file.
9613 * files.el: Move code that deals with adding/deleting
9614 file/directory-local variables to files-x.el.
9616 * Makefile.in (ELCFILES): Add files-x.elc.
9618 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
9620 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
9622 (gdb-place-breakpoints, gdb-get-location): Rewritten without
9624 (gdb-invalidate-disassembly): Do not refresh upon receiving
9625 'update signal. Instead, update all disassembly buffers only after
9627 (gdb): Send -target-detach when buffer is killed (Bug#3794).
9628 (gdb-starting): Moved -data-list-register-names...
9629 (gdb-stopped): ...here so it's sent when first thread stops.
9630 (gdb-registers-handler-custom): Do nothing if register names are
9633 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
9634 from `gdb-mi.el' to avoid extra tangling.
9636 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
9637 change which breaks `gud-def' definitions used in `gdb'.
9638 (gdb-update-gud-running): No extra fuss for updating frame number.
9640 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9642 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
9643 (describe-language-environment-map, setup-language-environment-map)
9644 (set-coding-system-map): Move initialization into declaration.
9645 (set-language-info-alist): Last arg to define-key-after can be skipped.
9647 * international/quail.el (quail-completion-1): Simplify.
9648 (quail-define-rules): Use slightly more compact code.
9649 (quail-insert-decode-map): Propertize keys, compact columns.
9651 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9654 2009-08-10 Miles Bader <miles@gnu.org>
9656 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
9657 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
9658 (js2-instance-member, js2-private-member, js2-private-function-call)
9659 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
9660 (js2-magic-paren, js2-external-variable):
9661 Remove "-face" suffix from face names.
9662 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
9663 (js2-highlight-undeclared-vars, js2-peek-token)
9664 (js2-parse-function-params, js2-mode-show-errors)
9665 (js2-mode-show-warnings, js2-make-magic-delimiter)
9666 (js2-mode-highlight-magic-parens): Update to use new face names.
9668 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
9670 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
9671 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
9673 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
9675 * subr.el: Provide hashtable-print-readable.
9677 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
9678 hs-c-like-adjust-block-beginning.
9679 (hs-hide-block-at-point): Stop hiding at the beginning of
9680 hs-block-end-regexp (Bug#700).
9682 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
9684 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
9686 (gdb-registers-handler-custom): Do not fail when register names
9689 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
9691 * progmodes/gdb-mi.el (gdb-control-all-threads)
9692 (gdb-control-current-thread): Interactive setters for
9693 `gdb-gud-control-all-threads' to use in menu.
9694 (gdb-show-run-p): Show «Go» when process is not active.
9695 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
9696 gud/thread.xpm and gud/all.xpm.
9698 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
9700 * net/net-utils.el (net-utils-font-lock-keywords): New var.
9701 (nslookup-font-lock-keywords): Make it a variable.
9702 (net-utils-mode): New mode for viewing diagnostic network output.
9703 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
9704 (net-utils-run-simple): New function.
9705 (ifconfig, iwconfig, netstat, arp, route): Use it.
9707 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
9709 * progmodes/gdb-mi.el (gdb-read-memory-custom)
9710 (gdb-memory-set-address, def-gdb-set-positive-number)
9711 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
9712 after changing settings.
9713 (gdb-invalidate-disassembly): Update when first shown.
9714 (gdb-edit-locals-value): Fixed.
9715 (gdb-registers-handler-custom): Print registers in right order and
9716 allow changing register values (only for current thread yet).
9717 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
9718 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
9719 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
9720 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
9722 (gdb-registers-mode-map): TAB to switch to locals.
9724 2009-08-08 Eli Zaretskii <eliz@gnu.org>
9726 * mail/rmail.el (rmail-add-mbox-headers)
9727 (rmail-set-message-counters-counter): Search for
9728 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
9730 2009-08-08 Glenn Morris <rgm@gnu.org>
9732 * Makefile.in (ELCFILES): Update.
9734 2009-08-07 Eli Zaretskii <eliz@gnu.org>
9736 * mail/sendmail.el (mail-yank-original): Set
9737 buffer-file-coding-system from the one used by the message whose
9740 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
9741 to "windows" when "pgnuplot" is used.
9742 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
9743 call accept-process-output if "pgnuplot" is used.
9744 (calc-graph-init): Don't send -display and -geometry to
9745 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
9746 running "pgnuplot -V" with shell-command-to-string.
9748 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
9751 2009-08-07 Eli Zaretskii <eliz@gnu.org>
9753 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
9756 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
9758 * vc-dispatcher.el (vc-resynch-window): Update comment.
9760 * term.el (term-handle-ansi-escape): Add comments with the
9761 terminfo capabilities implemented.
9763 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
9765 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
9766 (gdb-var-create-handler): Rewritten using JSON parser.
9767 (gdb-propertize-header): Moved earlier.
9768 (gdb-set-header): Removed to avoid duplication.
9769 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
9770 Refresh disassembly buffers only after threads list have been
9772 (gdb-threads-header, gdb-registers-header): Per-buffer header line
9775 2009-08-04 Juri Linkov <juri@jurta.org>
9777 * files.el: Commands to add/delete file/directory-local variables.
9778 (read-file-local-variable, read-file-local-variable-value)
9779 (read-file-local-variable-mode, modify-file-local-variable)
9780 (modify-file-local-variable-prop-line)
9781 (modify-dir-local-variable): New functions.
9782 (add-file-local-variable, delete-file-local-variable)
9783 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
9784 (add-dir-local-variable, delete-dir-local-variable)
9785 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
9786 (copy-dir-locals-to-file-locals-prop-line): New commands.
9788 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
9790 * abbrev.el (insert-abbrev-table-description): Prettify output.
9791 Suggested by Karl Chen.
9793 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
9795 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
9796 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
9797 (gdb-overlay-arrow-position, gdb-thread-position)
9798 (gdb-disassembly-position): Declare variables.
9799 (gdb-wait-for-pending): Function now.
9800 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
9801 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
9802 compilation goes smoothly.
9803 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
9804 (gdb-non-stop-setting): New customization setting which replaces
9805 `gdb-non-stop' so changing it doesn't break active GDB session.
9806 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
9807 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
9808 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
9809 (gdb-show-threads-by-default): New customization options.
9810 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
9812 (gdb-get-buffer-create): Send buffers update signal when they are
9814 (gdb-invalidate-locals, gdb-invalidate-registers)
9815 (gdb-invalidate-breakpoints)
9816 (gdb-invalidate-threads, gdb-invalidate-disassembly)
9817 (gdb-invalidate-memory): Accept update signal.
9818 (gdb-current-context-command): Use --frame option.
9819 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
9820 Implement `gdb-frame-number' selection logic.
9821 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
9822 whether to show GUD toolbar buttons.
9823 (gdb-thread-exited): Unselect current thread when it exits.
9824 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
9825 (gdb-mark-line): Routine which sets overlay arrow or inverses
9826 video on fringeless displays.
9827 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
9828 to build aligned columns of data in GDB buffers and set text
9829 properties line-by-line.
9830 (gdb-invalidate-breakpoints)
9831 (gdb-breakpoints-list-handler-custom)
9832 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
9833 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
9834 (gdb-registers-handler-custom): Align data columns.
9835 (gdb-locals-handler-custom): Now prints data like in variable
9837 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
9838 Removed confusing buttons.
9839 (gdb-invalidate-threads): Append --frame.
9840 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
9841 between breakpoints/threads buffers.
9842 (gdb-set-window-buffer): Now can ignore dedicated windows.
9843 (gdb-propertize-header): Use `gdb-set-window-buffer'.
9844 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
9845 (def-gdb-thread-buffer-gud-command): Replaces
9846 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
9847 for fine thread control.
9848 (gdb-preempt-existing-or-display-buffer): New function used to
9849 display bound buffers without breaking window layout.
9850 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
9851 (gdb-select-frame): New version of `gdb-frames-select' which now
9852 sets `gdb-frame-number' so commands may use --frame option instead
9853 of inner debugger state.
9854 (gdb-frame-handler): Do not set `gdb-frame-number'.
9855 (gdb-threads-mode-map): Select threads with mouse.
9857 * progmodes/gud.el (gdb-gud-context-call): Declare function to
9858 avoid compilation warning.
9859 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
9862 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
9863 Argument `key' renamed to `buffer-type'.
9864 (gdb-current-context-buffer-name): Do not add thread info to
9865 buffer name when no thread is selected.
9866 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
9868 (gdb-thread-selected): Handle `=thread-selected' notification.
9869 (gdb-wait-for-pending): New macro to deal with congestion problems.
9870 (gdb-breakpoints-list-handler-custom): Don't fail on pending
9872 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
9873 This fixes problem similar to one described in bug 3947.
9874 (gud-menu-map): More menu items.
9875 (gdb-init-1): Reset `gdb-thread-number' to nil.
9877 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
9880 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
9881 (gdb-current-context-command): Do not append --thread if
9882 `gdb-thread-number' is nil.
9883 (gdb-running-threads-count, gdb-stopped-threads-count): New
9885 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
9886 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
9887 customization options.
9888 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
9890 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
9891 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
9892 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
9893 set `gdb-thread-number' and update `gud-running' properly.
9894 (gdb-running): Update threads list when new threads appear.
9895 (gdb-stopped): Support non-stop operation and new thread switching
9897 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
9898 (gdb-json-partial-output): New set of JSON routines.
9899 (def-gdb-auto-update-trigger): New `signal-list' optional
9901 (gdb-thread-list-handler-custom): Update `gud-running',
9902 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
9903 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
9904 (gdb-continue-thread, gdb-step-thread): New commands for fine
9905 thread execution control.
9906 (gud-menu-map): New menu items to switch non-stop options.
9907 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
9908 (gdb-send): Mimic RET properly (bug 3794).
9910 * progmodes/gdb-mi.el (gdb-rules-name-maker)
9911 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
9913 (def-gdb-auto-update-handler): New nopreserve optional argument.
9914 (gdb-stack-list-frames-custom): Print stack from top to bottom.
9916 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
9917 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
9918 (gdb-parent-mode): New mode to derive other GDB modes from.
9919 (gdb-display-disassembly-for-thread)
9920 (gdb-frame-disassembly-for-thread): New commands for threads
9923 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
9924 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
9925 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
9926 (gdb-update): We now store all GDB buffers in a list so that they
9927 can be updated by traversing a list instead of calling invalidate
9928 triggers explicitly.
9929 (def-gdb-trigger-and-handler): New macro to define trigger-handler
9930 pair for GDB buffer.
9931 (gdb-stack-buffer-name): Add thread information.
9932 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
9933 handle pending triggers.
9934 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
9935 (def-gdb-thread-buffer-simple-command)
9936 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
9937 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
9938 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
9939 New commands which show buffers bound to thread.
9940 (gdb-stack-list-locals-regexp): Removed unused regexp.
9942 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
9943 (gdb-locals-buffer-name, gdb-registers-buffer-name)
9944 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
9945 to (gud-comint-buffer) in *-buffer-name functions
9946 because (gdb-get-target-string) already does that.
9947 (gdb-locals-handler-custom, gdb-registers-handler-custom)
9948 (gdb-changed-registers-handler): Rewritten without regexps.
9950 * progmodes/gdb-mi.el: Basic thread selection support.
9951 (gdb-thread-number): New variable.
9952 (gdb-current-context-command): New macro which adds --thread
9954 (gdb-threads-mode-map): Select thread with SPC.
9955 (gdb-thread-list-handler-custom): Mark current thread with overlay
9956 arrow. Synchronize GDB thread and Emacs thread.
9957 (gdb-select-thread): New command which selects current thread.
9958 (gdb-invalidate-frames, gdb-invalidate-locals)
9959 (gdb-invalidate-registers): Use --thread option.
9961 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
9963 * net/tramp.el (top): Make check for tramp-gvfs loading more
9965 (tramp-handle-insert-file-contents): `unwind-protect' must be
9966 inside `with-parsed-tramp-file-name'.
9968 * net/tramp-gvfs.el (top): Remove superfluous message when loading
9971 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
9973 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
9974 directory if CLASSPATH is not set.
9976 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
9978 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
9980 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
9982 2009-08-02 Kevin Ryde <user42@zip.com.au>
9984 * net/newst-backend.el (newsticker--raw-url-list-defaults):
9985 Update freshmeat link. Delete newsforge.com as it seems gone.
9987 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
9989 * select.el (x-set-selection): Doc fix (Bug#4021).
9991 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
9993 * help-fns.el (describe-variable): Treat list return values from
9994 dir-locals-find-file properly (Bug#4005).
9996 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
9998 * net/tramp.el (tramp-debug-message): Print also microseconds.
10000 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
10002 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
10004 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
10005 (tramp-get-debug-buffer): Change `outline-regexp' according to new
10008 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
10009 (tramp-get-file-property): Use it.
10011 * autorevert.el (auto-revert-handler): Allow
10012 `auto-revert-tail-mode' for remote files.
10014 2009-08-02 Jason Rumney <jasonr@gnu.org>
10016 * minibuffer.el (read-file-name): Treat confirm options to
10017 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
10019 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
10021 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
10022 (font-lock-variable-name-face, font-lock-constant-face): Darken
10023 the colors for light backgrounds.
10025 2009-08-01 Eli Zaretskii <eliz@gnu.org>
10027 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
10028 month names. (Bug#3987)
10030 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
10032 * simple.el (line-move-finish): Pass whole number to
10033 line-move-to-column.
10034 (line-move-visual): Perform hscroll to the recorded position.
10036 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
10038 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
10040 2009-07-29 Alan Mackenzie <acm@muc.de>
10042 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
10044 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
10046 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
10047 (gdb-place-breakpoints): Use full path when setting breakpoints.
10049 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10051 * calc/calc.el (calc-mode-map): Add keybinding for
10052 `calc-transpose-lines'.
10054 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
10056 * calc/calc-misc.el (calc-transpose-lines): New function.
10058 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
10060 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
10061 Simplify check for out-of-band methods.
10062 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
10063 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
10065 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
10067 * vc-git.el (vc-git-checkin): Fix typo.
10069 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
10071 * progmodes/js2-mode.el: New file.
10073 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
10075 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
10076 (gud-menu-map): Adjust tooltip accordingly.
10078 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
10080 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
10081 (vc-bzr-log-view-mode): Adjust log-view-file-re.
10083 * add-log.el (change-log-mode-map): Add a menu.
10085 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
10087 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
10088 function returns nil.
10089 (dbus-handle-event): Handle special return value :ignore.
10090 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
10092 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
10094 * view.el (view-mode-enable): Don't define Helper-return-blurb if
10097 2009-07-25 Eli Zaretskii <eliz@gnu.org>
10101 * w32-vars.el (x-select-enable-clipboard): Doc fix.
10103 * term/pc-win.el (x-display-name, x-colors)
10104 (x-select-enable-clipboard, x-select-text): Doc fix.
10106 * term/common-win.el (x-display-name, x-colors): Doc fix.
10108 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
10109 (xw-defined-colors): Doc fix.
10111 * w32-fns.el (x-select-text, x-setup-function-keys)
10112 (x-get-selection, x-set-selection): Doc fix.
10114 * term/x-win.el (x-select-text, x-setup-function-keys)
10115 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
10117 * select.el (x-set-selection): Doc fix.
10119 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
10121 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
10122 instead of "IsNSSSupportAvailable". Avahi ought to work also when
10123 "IsNSSSupportAvailable" method is not available. Reported by
10124 Steve Youngs <steve@sxemacs.org>.
10126 2009-07-24 Kenichi Handa <handa@m17n.org>
10128 * international/characters.el: Fix setting of category ?C, ?|, ?K,
10129 and ?H. Fix setting of case for Latin Extended and Greek Extended.
10130 (build-unicode-category-table): Fix range checks.
10132 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
10134 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
10135 the buffer we try to sync is current when calling
10138 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
10139 not show up to date files.
10141 2009-07-24 Glenn Morris <rgm@gnu.org>
10143 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
10144 Add autoload cookies. If necessary, initialize.
10145 (elint-log): Handle non-file buffers.
10146 (elint-initialize): Add optional argument to reinitialize.
10147 (elint-find-builtin-variables): Save excursion.
10149 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
10151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
10154 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
10156 * vc.el (vc-print-log-internal): New function, split out from ...
10157 (vc-print-log): ... here.
10158 (vc-dir-move-to-goal-column): Declare.
10160 * vc-git.el (vc-git-add-signoff): New variable.
10161 (vc-git-checkin): Use it.
10162 (vc-git-toggle-signoff): New function.
10163 (vc-git-extra-menu-map): Bind it to menu.
10164 (vc-git--run-command-string): Accept a nil FILE argument.
10165 (vc-git-stash-list): New function.
10166 (vc-git-dir-extra-headers): Use it.
10168 2009-07-23 Glenn Morris <rgm@gnu.org>
10170 * help-fns.el (describe-variable): Describe ignored and risky local
10171 variables in a similar way to that in which we describe safe ones.
10173 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
10174 (byte-compile-output-file-form, byte-compile-output-docform)
10175 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
10176 Give some more local variables with common names a "bytecomp-" prefix,
10177 so as not to shadow things during compilation.
10178 * emacs-lisp/cl-macs.el (load-time-value)
10179 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
10180 `outbuffer' to `bytecomp-outbuffer'.
10182 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
10183 since the next two variables cover them automatically now.
10184 (elint-builtin-variables, elint-autoloaded-variables): New.
10185 (elint-unknown-builtin-args): Remove all members, since they can be
10186 parsed automatically now.
10187 (elint-extra-errors): New.
10188 (elint-env-add-env, elint-env-add-macro): Use cadr.
10189 (elint-current-buffer): Use or. Change final message.
10190 (elint-get-top-forms): Use line-end-position.
10191 (elint-init-env): Use cadr. Handle autoload, declare-function,
10193 (elint-add-required-env): Doc fix. Use or. Standardize error.
10194 (regexp-assoc): Remove unused function.
10195 (elint-top-form): Set elint-current-pos, to record the start of the
10196 top-level form, for compilation-mode.
10197 (elint-form): Trap errors in macro expansion. Use dolist.
10198 (elint-unbound-variable): Use elint-builtin-variables and
10199 elint-autoloaded-variables.
10200 (elint-get-args): Use cadr, or.
10201 (elint-check-cond-form): Use dolist, cadr.
10202 (elint-check-condition-case-form): Doc fix. Use cadr.
10203 Use elint-extra-errors.
10204 (elint-log): New function.
10205 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
10206 Distinguish errors and warnings.
10207 (elint-log-message): Use with-current-buffer. Inhibit read-only.
10208 Use a bytecomp-style format.
10209 (elint-clear-log): Preserve default-directory. Inhibit read-only.
10210 (elint-get-log-buffer): Use compilation mode. Disable undo.
10211 Don't truncate lines.
10212 (elint-initialize): Set builtin and autoloaded variable lists.
10213 Only process elint-unknown-builtin-args if non-nil.
10214 (elint-find-builtin-variables, elint-find-autoloaded-variables):
10216 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
10218 2009-07-22 Kevin Ryde <user42@zip.com.au>
10220 * net/newst-backend.el (newsticker--parse-atom-1.0)
10221 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
10222 (newsticker--parse-rss-1.0):
10223 * progmodes/idlwave.el (idlwave-mode):
10224 * progmodes/idlw-shell.el (idlwave-shell-mode):
10225 * progmodes/vera-mode.el (vera-mode):
10226 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
10227 * progmodes/vhdl-mode.el (vhdl-mode):
10228 * textmodes/table.el (table-generate-source)
10229 (table--warn-incompatibility):
10230 Hyperlink urls in docstrings with URL `...'.
10232 2009-07-22 Glenn Morris <rgm@gnu.org>
10234 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
10235 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
10236 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
10237 Remove leading * from defcustom docs.
10239 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
10241 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
10243 (list-load-path-shadows): Optionally, just return shadows as a string.
10245 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
10247 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
10249 * mail/rmailedit.el (rmail-edit-mode): Use
10250 auto-save-include-big-deletions.
10252 * mail/rmail.el (rmail-variables): Use
10253 auto-save-include-big-deletions.
10255 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
10258 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
10260 * calc/calc.el (calc-undo-length): New variable.
10261 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
10263 2009-07-21 Richard Stallman <rms@gnu.org>
10265 * files.el (auto-save-mode): Handle buffer-save-size = -2
10268 2009-07-21 Glenn Morris <rgm@gnu.org>
10270 * textmodes/ispell.el (ispell-looking-back): Update declaration.
10272 * calendar/todo-mode.el (calendar-current-date): Update declaration.
10274 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
10275 silence compiler. Instead...
10276 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
10277 (ps-print-ensure-fontified): Update for above function name changes.
10279 * printing.el (pr-mh-get-msg-num, pr-mh-show)
10280 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
10281 silence compiler. Instead...
10282 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
10283 (mh-show-buffer): Only define for compiler.
10284 (pr-mh-current-message): Update for above function name changes.
10286 * files.el (abort-if-file-too-large): Explicitly pass `filename'
10288 (find-file-noselect, insert-file-1): Update for above change.
10290 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
10292 * mail/mailclient.el (mailclient-send-it): Fix message.
10294 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
10295 (edebug-eval): Check cl-debug-env is bound.
10296 (print-level, print-circle): Don't redefine built-in variables.
10298 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
10299 (custom-print-vectors): Remove old comments from doc.
10301 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
10302 (emerge-version): Make the variable an obsolete alias for the
10303 emacs-version variable. Make the function obsolete.
10304 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
10305 Emerge options, rather than merging in into the main Options menu.
10306 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
10307 and auto advance modes. Disable edit/fast items when not relevant.
10309 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
10311 * term/vt420.el (terminal-init-vt420): Fix typo.
10313 2009-07-20 Sam Steingold <sds@gnu.org>
10315 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
10316 variable (removed from compile.el on 2004-03-11).
10318 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
10320 * files.el (hack-local-variables-filter): Fix last change.
10322 2009-07-19 Juri Linkov <juri@jurta.org>
10324 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
10325 (dir-local-variables-alist): New buffer-local variable.
10326 (hack-local-variables-filter): If variable is not dir-local,
10327 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
10328 because file-local overrides dir-local.
10329 (c-postprocess-file-styles) <declare-function>:
10330 Remove obsolete declaration.
10331 (hack-dir-local-variables): Add dir-local variable/value pair to
10332 `dir-local-variables-alist' and remove duplicates. Doc fix.
10334 * help-fns.el (describe-variable): Add information about
10335 file-local and dir-local variables.
10337 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
10339 * files.el (hack-local-variables-filter): Rewrite.
10341 2009-07-19 Glenn Morris <rgm@gnu.org>
10343 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
10344 Silence compiler by only defining on XEmacs.
10346 * international/mule.el (auto-coding-regexp-alist): Only match
10347 BABYL... at the start of buffer, not of lines. (Bug#3790)
10349 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
10350 non-calendar buffers (Bug#3862). Restore "not on a date" message.
10351 (cal-menu-context-mouse-menu): Doc fix.
10353 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
10355 * simple.el (mail-user-agent): Doc fix. Set :version tag.
10357 2009-07-18 Juri Linkov <juri@jurta.org>
10359 * info.el: Virtual Info keyword finder.
10360 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
10361 (Info-finder-file): New variable.
10362 (Info-finder-find-file): New function.
10363 (finder-known-keywords, finder-package-info)
10364 (find-library-name, lm-commentary): Use defvar and
10365 declare-function to silence compiler warnings.
10366 (Info-finder-find-node): New function.
10367 (info-finder): New command.
10369 * subr.el (process-kill-buffer-query-function): New function.
10370 (add-hook)<kill-buffer-query-functions>: Add hook
10371 `process-kill-buffer-query-function'.
10373 2009-07-18 Alan Mackenzie <acm@muc.de>
10375 * progmodes/cc-mode.el (c-before-hack-hook)
10376 (c-postprocess-file-styles): Give invocation of `c-set-style'
10377 DONT-OVERRIDE parameter of t. Already set style variables will
10378 thus not be overridden by style settings given by `c-file-syle'.
10380 * files.el (hack-local-variables-filter): Remove entries with
10381 duplicate keys from `file-local-variables-alist'.
10383 2009-07-18 Eli Zaretskii <eliz@gnu.org>
10385 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
10386 x-set-selection if display-selections-p returns nil for the
10389 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
10391 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
10393 2009-07-18 Eli Zaretskii <eliz@gnu.org>
10395 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
10396 Accept nil in addition to a regexp.
10397 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
10398 Accept nil in addition to a regexp.
10399 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
10400 buffers that have an associated file. Handle nil values of
10401 desktop-buffers-not-to-save and desktop-files-not-to-save.
10404 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10405 (x-disown-selection-internal): New functions.
10407 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
10409 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
10411 (gdb-breakpoints-header): Move forward to avoid compiler warning.
10412 (gdb-make-header-line-mouse-map): Remove duplicate definition.
10414 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
10416 * simple.el (set-mark): Revert last change.
10418 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
10420 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
10421 rendering of pngs is not possible instead of messaging a long
10424 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
10426 * w32-fns.el (x-selection-owner-p): New function.
10428 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
10429 (mouse-yank-at-click, mouse-yank-primary): If
10430 select-active-regions is non-nil, deactivate the mark before
10433 * simple.el (deactivate-mark, set-mark): Only save selection if we
10436 2009-07-17 Kenichi Handa <handa@m17n.org>
10438 * case-table.el (describe-buffer-case-table): Fix for the case
10439 that KEY is a cons.
10441 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
10443 * vc-rcs.el (vc-rcs-find-file-hook):
10444 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
10446 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
10448 * net/tramp.el (tramp-wait-for-output): Handle the case when
10449 commands do not return a newline but a null byte before the shell
10452 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10454 * term/ns-win.el (ns-set-alpha): Don't declare.
10455 (ns-set-background-alpha): Remove function.
10457 2009-07-16 Kevin Ryde <user42@zip.com.au>
10459 * emacs-lisp/copyright.el (copyright-update): Save match-data across
10460 y-or-n-p, for safety.
10462 2009-07-16 Richard Stallman <rms@gnu.org>
10464 * files.el (auto-save-mode): If buffer-saved-size is -2,
10467 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
10468 (rmail-retry-ignored-headers): Add more uninteresting fields.
10470 2009-07-15 Jari Aalto <jari.aalto@cante.net>
10472 * net/rcirc.el (rcirc): Use history variables.
10473 (rcirc-server-name-history, rcirc-nick-name-history)
10474 (rcirc-server-port-history): New variables.
10476 2009-07-15 Kenichi Handa <handa@m17n.org>
10478 * international/mule-cmds.el (set-language-environment-charset):
10479 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
10482 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
10483 Delete unibyte-display.
10485 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
10487 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
10489 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
10491 * simple.el (deactivate-mark): Optional argument FORCE.
10492 (set-mark): Use deactivate-mark.
10494 * info.el (Info-search): No need to check transient-mark-mode
10495 before calling deactivate-mark.
10497 * select.el (x-set-selection): Doc fix.
10498 (x-valid-simple-selection-p): Allow buffer values.
10499 (xselect--selection-bounds): Handle buffer values. Suggested by
10500 David De La Harpe Golden.
10502 * mouse.el (mouse-set-region, mouse-drag-track): Call
10503 copy-region-as-kill before setting the mark, to let
10504 select-active-regions work.
10506 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
10508 * simple.el (deactivate-mark): If select-active-regions is
10509 non-nil, copy the selection data into a string.
10510 (activate-mark): If select-active-regions is non-nil, set the
10511 selection to the current buffer.
10512 (set-mark): Update selection if select-active-regions is non-nil.
10514 * select.el (x-valid-simple-selection-p): Allow buffer values.
10516 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
10519 and more featureful message-mode.
10521 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
10523 * select.el (x-set-selection): Doc fix.
10524 (x-valid-simple-selection-p): Disallow selection data consisting
10525 of a list or cons of integers, since that is not used.
10526 (xselect--selection-bounds, xselect--int-to-cons): New functions.
10527 (xselect-convert-to-string, xselect-convert-to-length)
10528 (xselect-convert-to-filename, xselect-convert-to-charpos)
10529 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
10531 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
10533 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
10534 output in -break-info command (Emacs bug #3794).
10536 2009-07-14 Glenn Morris <rgm@gnu.org>
10538 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
10539 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
10540 (edebug-print-length, edebug-print-level, edebug-print-circle)
10541 (edebug-sit-for-seconds, edebug-view-outside)
10542 (edebug-bounce-point, edebug-set-global-break-condition)
10543 (edebug-Go-nonstop-mode, edebug-trace-mode)
10544 (edebug-Trace-fast-mode, edebug-continue-mode)
10545 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
10546 (edebug-visit-eval-list): Doc fixes.
10548 * subr.el (def-edebug-spec): Doc fix.
10550 2009-07-14 Kenichi Handa <handa@m17n.org>
10552 * international/characters.el: Fix setting of category ?C.
10554 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
10556 * term/ns-win.el (x-select-font): defalias x-select-font to
10557 ns-popup-font-panel instead of generate-fontset-menu.
10559 2009-07-12 Eli Zaretskii <eliz@gnu.org>
10561 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
10563 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
10565 * arc-mode.el (archive-find-type): Allow for a PK00 string before
10566 the PK\003\004 header (Bug#3770).
10568 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
10570 * pcomplete.el (pcomplete-comint-setup): Check for
10571 shell-dynamic-complete-filename too.
10573 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
10575 * simple.el (temporary-goal-column): Change the value for
10576 line-move-visual to a cons cell.
10577 (line-move-visual): Record or set the window hscroll, if
10578 necessary (Bug#3494).
10579 (line-move-1): Handle cons value of temporary-goal-column.
10581 2009-07-11 Kenichi Handa <handa@m17n.org>
10583 * international/mule-diag.el (describe-character-set): Don't show
10586 2009-07-10 Sam Steingold <sds@gnu.org>
10588 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10589 Omake sometimes indents the errors it prints, so allow all
10590 regexps to start with spaces.
10592 2009-07-10 Eli Zaretskii <eliz@gnu.org>
10594 * cus-edit.el (customize-changed-options-previous-release):
10595 Bump value to 22.1. (Bug#3804)
10597 2009-07-08 Sam Steingold <sds@gnu.org>
10599 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
10600 to be a cons cell (test . ignored-directory) to selectively ignore
10601 some directories depending on the location of the search.
10603 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
10605 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
10606 remote user is root, on the local host.
10607 (tramp-local-host-p): Either the local user or the remote user
10608 must be root. (Bug#3771)
10610 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
10612 * progmodes/gdb-mi.el (gdb): Remove description of
10613 gdb-use-separate-io-buffer.
10614 (menu): Don't allow toggling of or enable
10615 gdb-use-separate-io-buffer from menubar.
10617 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
10619 * mail/unrmail.el (unrmail): Make sure the message ends with two
10620 newlines (Bug#3769).
10622 2009-07-08 Glenn Morris <rgm@gnu.org>
10624 * calendar/calendar.el (calendar-current-date): Rework previous change.
10626 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
10628 * calendar/calendar.el (calendar-current-date):
10629 Add an optional argument giving an offset from today.
10631 2009-07-08 Glenn Morris <rgm@gnu.org>
10633 * tutorial.el (tutorial--describe-nonstandard-key):
10634 Adjust the message for when a key has been unbound.
10635 (help-with-tutorial): Hide the arch-tag.
10637 2009-07-08 Kenichi Handa <handa@m17n.org>
10639 * international/fontset.el (setup-default-fontset): For each
10640 script, append (not set) font-specs.
10642 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
10645 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
10647 * progmodes/gdb-mi.el (gdb-init-1): Move sending
10648 -data-list-register-names to ...
10649 (gdb-starting): ... here because GDB 7.0 requires execution to
10650 have started when using this MI command.
10651 (gdb-set-header): New function to distinguish select and
10652 unselected tabs in gdb buffers.
10653 (gdb-propertize-header): New macro that uses gdb-set-header.
10654 (gdb-breakpoints-header, gdb-locals-header): Use it.
10655 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
10657 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
10659 * Makefile.in (ELCFILES): Remove fadr.elc.
10661 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
10663 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
10664 may contain frame information, so `string-match' should be used.
10665 (gdb-update): Disassembly is invalidated through
10666 `gdb-get-selected-frame'.
10667 (gdb-pad-string): New function to pad string with spaces.
10668 (gdb-invalidate-disassembly): Invalidate only if the buffer
10670 (gdb-disassembly-handler-custom): Column alignment.
10671 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
10673 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
10675 (gdb-frame-handler): Match convention to for disassembly buffer
10677 (gdb-stack-list-frames-handler): Rewritten without regexps.
10678 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
10679 not highlight breakpoints without line information.
10680 (gdb-input): Add trailing newline to command.
10682 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
10684 (gdb-breakpoints-list-handler-custom): Replacement for
10685 `gdb-break-list-handler'. Using real parser instead of regexps
10687 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
10688 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
10689 to place breakpoints.
10690 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
10692 (gdb-disassembly-handler-custom): Show overlay arrow.
10693 (gdb-disassembly-place-breakpoints): Show breakpoints in
10694 disassembly buffer.
10695 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
10696 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
10697 instead of parsing breakpoints buffer. Fixed old menu references
10702 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
10703 (gdb-memory-address): New variable which holds top address of
10704 memory page shown in memory buffer.
10705 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
10706 customization variables.
10708 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
10709 display the memory buffer.
10710 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
10711 buffer display parameters.
10712 (def-gdb-memory-format, gdb-memory-format-binary)
10713 (gdb-memory-format-octal, gdb-memory-format-unsigned)
10714 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
10715 Functions for setting memory buffer format.
10716 (gdb-memory-unit-word, gdb-memory-unit-halfword)
10717 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
10718 unit size used in memory buffer.
10719 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
10720 to next/previous page of memory buffer.
10721 Now using (bindat-get-field) instead of fadr functions.
10723 2009-07-07 Sam Steingold <sds@gnu.org>
10725 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
10726 non-top-level files.
10728 2009-07-07 Kenichi Handa <handa@m17n.org>
10730 * international/mule-cmds.el (reset-language-environment): Put
10731 the highset priority to the charset iso-8859-1.
10733 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
10735 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
10736 to the end of the line when locating the block (Bug#700).
10738 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
10740 * net/tramp.el (tramp-handle-write-region): Flush file properties
10741 in case of short track.
10743 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
10745 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
10746 Coded custom representation of verilog error regular expressions
10747 to work with Emacs-22's new format.
10748 (verilog-error-regexp-xemacs-alist): Coded custom representation
10749 of verilog error regular expressions to work with XEmacs format.
10750 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
10751 error recognition into XEmacs.
10752 (verilog-error-regexp-add-emacs): Hook routine to install verilog
10753 error recognition into Emacs-22.
10755 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
10757 * woman.el: Remove stand-alone closing parentheses.
10758 (woman-file-name, woman2-format-paragraphs)
10759 (woman-leave-blank-lines): Code cleanup.
10760 (woman-use-own-frame): Change default to nil.
10761 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
10762 defaults to inherit from default faces.
10763 (woman2-process-escapes): Consume the newline after a stand-alone
10764 filler character (Bug#3651).
10766 2009-07-06 Glenn Morris <rgm@gnu.org>
10768 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
10769 (top-level): Move provide to the end.
10770 (ffap): Remove defunct URL from custom group.
10772 * subr.el (eval-after-load): Doc fix.
10774 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
10776 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
10777 `calc-embedded-word' is called twice.
10779 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * files.el (find-alternate-file-other-window, find-alternate-file):
10782 Obey confirm-nonexistent-file-or-buffer.
10784 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
10786 * dired-aux.el (dired-show-file-type): Handle remote files.
10788 2009-07-05 Jari Aalto <jari.aalto@cante.net>
10790 * desktop.el (desktop-globals-to-save):
10791 Add file-name-history (Bug#2750).
10793 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
10795 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
10797 2009-07-04 Johan Bockgård <bojohan@gnu.org>
10799 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
10800 property on entire argument since this is what eshell-lisp-command
10803 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
10805 * net/tramp-gvfs.el (tramp-gvfs-methods)
10806 (tramp-gvfs-zeroconf-domain)
10807 (tramp-bluez-discover-devices-timeout): Add version flag.
10808 (tramp-gvfs-handler-mounted-unmounted)
10809 (tramp-gvfs-connection-mounted-p): Polish handling of
10810 incompatibilities between GVFS 0.2 and 1.0.
10812 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
10814 * cus-start.el (all): Add make-pointer-invisible.
10816 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
10818 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
10819 formatted correctly.
10821 2009-07-02 Juri Linkov <juri@jurta.org>
10823 * info.el: Virtual Info files and nodes.
10824 (Info-virtual-files, Info-virtual-nodes): New variables.
10825 (Info-current-node-virtual): New variable.
10826 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
10828 (Info-file-supports-index-cookies): Use Info-virtual-file-p
10829 to check for a virtual file instead of checking a fixed list
10831 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
10832 instead of ad-hoc processing of "dir" and (apropos history toc).
10833 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
10834 instead of ad-hoc processing of "dir" and (apropos history toc).
10835 Reread a file when moving from a virtual node.
10836 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
10837 (Info-directory-toc-nodes, Info-directory-find-file)
10838 (Info-directory-find-node): New functions.
10839 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
10840 (Info-history): Move part of code to
10841 `Info-history-find-node'.
10842 (Info-history-toc-nodes, Info-history-find-file)
10843 (Info-history-find-node): New functions.
10844 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
10845 (Info-toc): Move part of code to `Info-toc-find-node'.
10846 (Info-toc-find-node): New function.
10847 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
10848 the current Info file name to references because now the node
10849 "*TOC*" belongs to the same Info manual.
10850 (Info-toc-build): Rename from `Info-build-toc'.
10851 (Info-toc-nodes): Rename input argument `file' to `filename'.
10852 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
10853 instead of ad-hoc processing of ("dir" apropos history toc).
10854 (Info-index-nodes): Use Info-virtual-file-p
10855 to check for a virtual file instead of checking a fixed list
10857 (Info-index-node): Add check for `Info-current-node-virtual'.
10858 Raise `save-match-data' higher up the tree to contain
10859 `search-forward' too (bug fix).
10860 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
10861 (Info-virtual-index-nodes): New variable.
10862 (Info-virtual-index-find-node, Info-virtual-index): New functions.
10863 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
10864 (Info-apropos-file, Info-apropos-nodes): New variables.
10865 (Info-apropos-toc-nodes, Info-apropos-find-file)
10866 (Info-apropos-find-node, Info-apropos-matches): New functions.
10867 (info-apropos): Move part of code to `Info-apropos-find-node' and
10868 `Info-apropos-matches'.
10869 (Info-mode-map): Bind "I" to `Info-virtual-index'.
10870 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
10871 for a virtual file instead of checking a fixed list of node names.
10873 * simple.el (async-shell-command): New command.
10875 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
10877 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
10878 instead of `mount-info'.
10880 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
10882 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
10883 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
10885 2009-07-02 Kenichi Handa <handa@m17n.org>
10887 * international/mule.el (set-keyboard-coding-system): Force *-unix
10888 coding-system to avoid eol conversion.
10890 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
10892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10893 Add handler for `process-file', `shell-command' and
10894 `start-file-process'.
10895 (tramp-gvfs-handle-shell-command)
10896 (tramp-gvfs-handle-start-file-process)
10897 (tramp-gvfs-handle-process-file): New defuns.
10898 (tramp-synce-list-devices): Simplify check for existence of property.
10900 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
10902 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
10904 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
10906 * language/korean.el (set-language-info-alist): Add korean-cp949,
10909 2009-07-01 Kenichi Handa <handa@m17n.org>
10911 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
10913 * international/encoded-kb.el: Deleted.
10915 * international/mule.el (set-keyboard-coding-system): Perform the
10916 necessary setup here instead of calling encoded-kbd-setup-display.
10918 2009-07-01 Glenn Morris <rgm@gnu.org>
10920 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
10922 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
10924 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
10926 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
10928 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
10929 Handle also the 'rename case, when setting file modes. (Bug#3712)
10930 (tramp-default-file-modes): Remove execute permissions.
10932 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
10933 (top): Add a default for "synce" in `tramp-default-user-alist'.
10934 Add completion function for "synce" method.
10935 (tramp-hal-service, tramp-hal-path-manager)
10936 (tramp-hal-interface-manager, tramp-hal-interface-device):
10938 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
10939 (tramp-synce-list-devices, tramp-synce-parse-device-names):
10942 * net/trampver.el: Update release number.
10944 2009-06-30 Kenichi Handa <handa@m17n.org>
10946 * international/fontset.el (setup-default-fontset): Add CJK fonts
10947 for symbols and the other miscellaneous characters.
10949 * language/korea-util.el (setup-korean-environment-internal):
10950 Make char-width-table suitable for Korean environments.
10951 (exit-korean-environment): Cancel above.
10953 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
10954 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
10955 setup-function to make char-width-table suitable for respective
10956 environments, and an exit-function to cancel that.
10958 * language/japan-util.el (setup-japanese-environment-internal):
10959 Call use-cjk-char-width-table with arg `ja_JP'.
10961 * international/characters.el (cjk-char-width-table): Delete it.
10962 (cjk-char-width-table-list): New variable.
10963 (use-cjk-char-width-table): New arg local-name.
10964 (use-default-char-width-table): Fix for the case that Emacs is
10965 already using the default char-width-table.
10967 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
10969 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
10970 modes mandatory. (Bug#3712)
10972 2009-06-29 Alan Mackenzie <acm@muc.de>
10974 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
10975 correction between the visible width of TABs and their number of bytes.
10977 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
10979 * server.el (server-buffer-done): Prevent kill-buffer from
10980 prompting by clearing the buffer modification flag (Bug#3696).
10982 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
10984 * progmodes/verilog-mode.el (verilog-beg-of-statement)
10985 (verilog-endcomment-reason-re): Support unique case and priority case.
10986 (verilog-basic-complete-re): Support localparam lineup.
10987 (verilog-beg-of-statement-1): Fix for robustness, unique case.
10988 (verilog-set-auto-endcomments): Fix for unique case, always_comb
10990 (verilog-leap-to-case-head): Now support *nested* unique &
10991 priority case statements.
10992 (verilog-auto-lineup): Make just declarations the default (as it
10994 (verilog-leap-to-case-head): Support priority/unique case statements.
10995 (verilog-auto-lineup): Rework to give users radio buttons to
10996 select the various styles of automatic lineup.
10997 (verilog-error-regexp-alist): Rework to support the XEmacs style
10998 of error regular expressions from compilers, lint tools &
10999 simulators. Note that GNU Emacs has made it impossible for a mode
11000 to load such things.
11001 (electric-verilog-terminate-line, verilog-indent-declaration)
11002 (verilog-auto-wiure): Rework for radio button selection of
11003 auto-lineup selection of specification of auto lineup.
11004 (verilog-beg-of-statement-1): Redesign to support proper operation
11005 in additional code, based on testing with auto-lineup.
11006 (verilog-calculate-indent, assignments & declarations)
11007 (verilog-backward-token): Enhance to support auto-lineup of
11008 assignments & declarations.
11009 (verilog-in-directive-p, verilog-at-struct-p): New function for
11010 easy test of whether we are.
11011 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
11012 to support safe execution at almost anyline.
11013 (verilog-calc-1): Properly support indenting deep inside generate
11015 (verilog-init-font): Remove definition & use of verilog-init-font,
11016 as it is redundant with font-lock-defaults.
11017 (verilog-mode): Alter the definition of verilog-font-lock-defaults
11018 to avoid circular calls if syntax-ppss is a function (as is the
11019 case now in 22.x GNU Emacs) as that function would sometimes call
11020 itself, leading to (nearly) infinite recursion.
11021 (verilog-ovm-begin-re, verilog-ovm-end-re)
11022 (verilog-ovm-statement-re, verilog-leap-to-head)
11023 (verilog-backward-token): Add support for OVM macros. Some are
11024 complete statements, and others open and close scopes like begin
11026 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
11027 (verilog-defun-level-generate-only-re): Really fix the defun-list
11029 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
11030 coverpoint, constraint and cross statements.
11031 (verilog-defun-level-list, verilog-generate-defun-level-list)
11032 (verilog-all-defun-level-list): Redo these specifications - it is
11033 too hard to support eval-when compile aggregation of lists also
11034 built at when-compile time.
11035 (verilog-defun-level-list): Place defconsts of variables used in
11036 building regular expressions which are built in eval-when-compile
11037 bodies in the same eval-when-compile body to facilitate compile
11039 (verilog-beg-block-re-ordered): Support indenting
11040 virtual/protected tasks and functions.
11041 (verilog-defun-level-list, verilog-in-generate-region-p)
11042 (verilog-backward-ws&directives, verilog-calc-1): Speed up
11043 indentation of some module items (generate items).
11044 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
11045 across virtual/protected tasks and functions.
11047 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
11049 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
11050 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
11051 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
11052 in concatenations. Reported by Yishay Belkind.
11053 (verilog-auto-ascii-enum): Support one-hot state machines in
11054 AUTOASCIIENUM. Suggested by Lloyd Gomez.
11055 (verilog-auto-inst, verilog-auto-inst-port): Include interface
11056 modport in AUTOINST and add vl-modport for users. Reported by
11058 (verilog-auto-inout-module, verilog-auto-inst)
11059 (verilog-decls-get-interfaces, verilog-insert-definition)
11060 (verilog-insert-one-definition, verilog-read-decls)
11061 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
11062 (verilog-sig-modport, verilog-signals-combine-bus)
11063 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
11064 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
11065 Suggested by David Rogoff.
11066 (verilog-repair-open-comma): Fix non-insertion of comma when
11067 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
11068 (verilog-make-width-expression): Simplify [A-1:0] expression
11069 widths to just {A{1'b0}}.
11070 (verilog-mode): Cleanup checkdoc warnings.
11071 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
11072 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
11073 inputs/outputs or data type. Suggested by Vasu Kandadi.
11074 (next-error-last-buffer): Fix byte-compiler warning.
11075 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
11076 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
11077 or shell command text during AUTO expansion. Suggested by Tad Truex.
11078 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
11079 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
11080 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
11081 in AUTOINOUT. Reported by Matthew Lovell.
11082 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
11083 causing use of <= assignments. Reported by Alex Reed.
11084 (verilog-read-decls): Fix triand, trior, wand, wor to be
11085 recognized by AUTOWIRE. Reported by Spencer Isaacson.
11086 (verilog-extended-complete-re): Support import "DPI-C" functions.
11087 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
11088 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
11089 (verilog-insert-date, verilog-insert-year)
11090 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
11091 Windows systems. Reported by Michael Potts.
11092 (verilog-read-module-name): Fix AUTOINST when the child module
11093 declaration's name is a tick define. Reported by Elliot Mednick.
11094 (verilog-read-decls): Fix V2K parameter bit subscripts getting
11095 passed to next parameter's definition. Reported by Bruce T.
11096 (verilog-read-decls): Fix detecting "parameter int" when using
11097 AUTOINSTPARAM. Reported by Bruce T.
11098 (verilog-goto-defun): Fix goto not finding modules unless first
11099 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
11100 (verilog-mode): Expand -f flag arguments on entry to mode so
11101 verilog-goto-defun will work. Reported by Lawrence Butcher.
11102 (verilog-getopt): Expand environment variables in -f file
11103 arguments. Suggested by Lawrence Butcher.
11104 (verilog-set-define): Fix "Symbol's value as variable is void"
11105 when reading enumerations.
11106 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
11107 Suggested by Stephen Peltan.
11108 (verilog-read-defines): Fix reading of enumerations in include
11109 files. Reported by Steve Peltan.
11111 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
11113 * files.el (trash-directory): Fix defcustom type.
11115 2009-06-28 Juri Linkov <juri@jurta.org>
11117 * help-fns.el (describe-function-1): Correctly locate adviced
11118 functions in hyperlink (Bug#2438).
11120 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
11122 * files.el (trash-directory): Change default to nil.
11123 (move-file-to-trash): If trash-directory is nil and
11124 system-move-file-to-trash is unbound, perform freedesktop-style
11127 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
11129 * files.el (move-file-to-trash): Add freedesktop trash
11132 2009-06-28 Glenn Morris <rgm@gnu.org>
11134 * autorevert.el (global-auto-revert-non-file-buffers)
11135 (global-auto-revert-mode): Doc fixes.
11137 2009-06-27 Johan Bockgård <bojohan@gnu.org>
11139 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
11141 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
11143 * faces.el (x-handle-named-frame-geometry): Ensure that we have
11144 opened an X connection before calling x-get-resource (Bug#3194).
11146 * play/doctor.el: Remove reference to obsolete website.
11147 (make-doctor-variables): Correct grammar mistake (Bug#2633).
11149 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
11151 Remove find-file-not-found-hook VC method. (Bug#2757)
11152 * vc-hooks.el (vc-file-not-found-hook)
11153 (vc-default-find-file-not-found-hook): Remove functions.
11154 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
11155 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
11158 * vc-git.el: Do not mention find-file-not-found-hook VC method.
11160 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
11162 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
11163 compatibility function for `looking-back'.
11165 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11166 Use `ispell-looking-back'.
11168 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
11170 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
11171 rather than `filename'.
11173 2009-06-23 Miles Bader <miles@gnu.org>
11175 * face-remap.el (text-scale-set): New function.
11177 2009-06-23 Glenn Morris <rgm@gnu.org>
11179 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
11181 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
11183 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
11185 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
11187 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
11188 Simplify Persian conditionals.
11190 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
11191 variable `filename'.
11193 * comint.el (comint-insert-input): Doc fix.
11195 * Makefile.in (ELCFILES): Fix typo in previous change.
11197 2009-06-23 Miles Bader <miles@gnu.org>
11199 * cus-start.el: Add entry for `recenter-redisplay'.
11201 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
11203 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
11204 Add an optional argument for the backend, use it instead of
11205 calling vc-backend.
11206 (vc-mode-line): Add an optional argument for the backend.
11207 Pass the backend to vc-state and vc-working-revision. Move code for
11208 special handling for vc-state being a buffer to ...
11210 * vc-rcs.el (vc-rcs-find-file-hook):
11211 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
11213 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
11214 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
11215 vc-stay-local-p and vc-mode-line calls.
11217 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
11218 (vc-cvs-diff, vc-cvs-annotate-command)
11219 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
11220 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
11221 vc-mode-line calls.
11223 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
11225 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
11226 backend when calling vc-mode-line.
11227 (vc-register): Do not create a closure for calling the vc register
11228 function, call it directly.
11230 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
11232 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
11233 to make it obvious item can be clicked.
11235 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
11237 2009-06-23 Kenichi Handa <handa@m17n.org>
11239 * language/korea-util.el (korean-key-bindings): Change the binding
11240 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
11243 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
11245 Sync with Tramp 2.1.16.
11247 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
11249 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
11250 when a loading of a package fails. Completion function for rsync
11251 is `tramp-completion-function-alist-ssh'.
11252 (all): Replace all calls of `split-string' and
11253 `tramp-split-string' by `tramp-compat-split-string'.
11254 (tramp-default-method): Use `tramp-compat-process-running-p'.
11255 (tramp-default-proxies-alist): Allow also Lisp forms.
11256 (tramp-remote-path): Add choice "Private Directories".
11257 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
11258 (tramp-domain-regexp): Allow also "-", "_" and ".".
11259 (tramp-end-of-output): Remove newlines, and add "$" at the end.
11260 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
11261 (tramp-debug-message): Insert header line in debug buffer.
11262 (tramp-handle-directory-files-and-attributes-with-stat):
11263 Care about filenames with spaces, or starting with "-".
11264 (tramp-handle-dired-uncache): New defun.
11265 (tramp-handle-insert-directory): Don't flush the directory from
11266 cache, this is handled by `dired-uncache' now.
11267 (tramp-handle-insert-file-contents): Improve error handling.
11268 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11269 Quote `tramp-end-of-output'.
11270 (tramp-action-password): Improve trace message.
11271 (tramp-check-for-regexp): Both echoes must be present, before removing.
11272 (tramp-open-connection-setup-interactive-shell): Trace coding system.
11273 (tramp-compute-multi-hops): Eval cons cells of
11274 `tramp-default-proxies-alist'.
11275 (tramp-maybe-open-connection): Use the same command pattern for
11276 first hop and further hops.
11277 (tramp-wait-for-output): Remove handling of newlines.
11278 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
11279 (tramp-split-string): Remove function. It is handled in
11282 * net/tramp-cmds.el (tramp-bug):
11283 Recommend `tramp-cleanup-all-connections' in the bug mail.
11285 * net/tramp-compat.el (tramp-compat-split-string)
11286 (tramp-compat-process-running-p): New defuns.
11288 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
11289 for `dired-uncache'.
11291 * net/tramp-gvfs.el: New package.
11293 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11294 Add handler for `dired-uncache'.
11295 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
11297 * net/trampver.el: Update release number. Make version check fit
11300 2009-06-22 Jim Meyering <meyering@redhat.com>
11302 Automatically handle .xz suffix (XZ-compressed files), too.
11303 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
11304 XZ is the successor to LZMA: <http://tukaani.org/xz/>
11306 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
11307 Nick Roberts <nickrob@snap.net.nz>
11309 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
11310 repository (http://sphinx.net.ru/hg/gdb-mi/).
11312 2009-06-22 Glenn Morris <rgm@gnu.org>
11314 * files.el (dir-locals-collect-mode-variables): Allow for any number of
11315 `mode' and `eval' entries. (Bug#3430)
11317 * Makefile.in (ELCFILES): Add fadr.elc.
11319 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
11320 differing behavior of \n and ^ in strings. (Bug#3385)
11322 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
11324 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
11326 (lisp-indent-function): Make it a defcustom.
11328 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
11330 * progmodes/gdb-ui.el: Replace with ...
11331 * progmodes/gdb-mi.el: ... this file.
11332 * progmodes/gud.el: Modify for gdb-mi.el.
11334 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
11336 * fadr.el: New file.
11338 See ChangeLog.14 for earlier changes.
11340 ;; Local Variables:
11344 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
11346 This file is part of GNU Emacs.
11348 GNU Emacs is free software: you can redistribute it and/or modify
11349 it under the terms of the GNU General Public License as published by
11350 the Free Software Foundation, either version 3 of the License, or
11351 (at your option) any later version.
11353 GNU Emacs is distributed in the hope that it will be useful,
11354 but WITHOUT ANY WARRANTY; without even the implied warranty of
11355 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11356 GNU General Public License for more details.
11358 You should have received a copy of the GNU General Public License
11359 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
11361 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1