1 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3 * Summary: Reconcile with changes in line movement behavior for
4 long text lines that cross more than a single physical window
5 line, ie when truncate-lines is nil.
7 (allout-next-visible-heading): Provide for change in line-move
8 behavior on long lines when truncate-lines is nil. In that case,
9 line-move can wind up on the same textual line when it moves to
10 the next window line, and moving to the bullet position after the
11 move yields zero advancement. Add logic to detect and compensate
12 for the lack of progress.
13 (allout-current-topic-collapsed-p): move-end-of-line respect for
14 field boundaries is different when operating with body lines
15 shorter than window width versus ones greater than window width,
16 which can yield false negatives in this function. Avoid
17 difference by applying move-end-of-line while field-text-motion is
21 2011-01-04 Glenn Morris <rgm@gnu.org>
23 * textmodes/rst.el (rst-compile-toolsets):
24 Add pdf and s5 to option alist.
26 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
28 * net/dbus.el (dbus-register-property): Added optional parameter
29 dont-register-service. Updated docstring accordingly.
31 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
33 * textmodes/rst.el (rst-compile-pdf-preview)
34 (rst-compile-slides-preview): Remove extra line.
36 2011-01-04 Glenn Morris <rgm@gnu.org>
38 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
39 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
40 default to `prog' without a .py extension.
41 (rst-compile-pdf-preview, rst-compile-slides-preview):
42 Use program names from rst-compile-toolsets, rather than hard-coding.
43 (rst-portable-mark-active-p): Fix presumed typo.
45 2011-01-02 Eli Zaretskii <eliz@gnu.org>
47 * term/w32-win.el (dynamic-library-alist): Set up correctly for
48 libpng versions both before and after 1.4.0. (Bug#7716)
50 2011-01-02 Eli Zaretskii <eliz@gnu.org>
52 * time.el (display-time-mode): Mention display-time-interval in
53 the doc string. (Bug#7713)
55 2011-01-02 Kenichi Handa <handa@m17n.org>
57 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
58 condition-case and return an error message string if something
60 (rmail-show-mime): Adjust for the above change. Insert the
61 header by rmail-mime-insert-header.
63 2011-01-02 Kenichi Handa <handa@m17n.org>
65 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
66 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
67 (rmail-mime-mbox-buffer)
68 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
69 (rmail-mime-entity): Argument changed. All codes handling an
70 entity object are changed.
71 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
73 (rmail-mime-entity-children, rmail-mime-entity-handler)
74 (rmail-mime-entity-tagline): New functions.
75 (rmail-mime-message-p): New function.
76 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
77 (rmail-mime-entity-segment, rmail-mime-next-item)
78 (rmail-mime-previous-item, rmail-mime-shown-mode)
79 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
80 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
81 (rmail-mime-insert-tagline, rmail-mime-insert-header):
83 (rmail-mime-text-handler): Call rmail-mime-insert-text.
84 (rmail-mime-insert-decoded-text): New function.
85 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
86 (rmail-mime-insert-image): Argument changed. Caller changed.
87 (rmail-mime-image): Call rmail-mime-toggle-hidden.
88 (rmail-mime-set-bulk-data): New funciton.
89 (rmail-mime-insert-bulk): Argument changed.
90 (rmail-mime-multipart-handler): Return t.
91 (rmail-mime-process-multipart): Argument changed.
92 Handle "multipart/alternative" here.
93 (rmail-mime-process): Argument changed.
94 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
95 (rmail-mime-insert): Argument changed. Handle raw display mode.
96 (rmail-mime): Argument changed. Handle toggling of raw display
98 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
99 rmail-mime-view-buffer.
100 (rmail-insert-mime-forwarded-message): Likewise.
101 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
103 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
104 non-nil, handle the header in rmail-show-mime-function.
106 2011-01-02 Leo <sdl.web@gmail.com>
108 * help-fns.el (describe-variable): Fix previous change.
110 2011-01-02 Juri Linkov <juri@jurta.org>
112 * isearch.el (isearch-lazy-highlight-error): New variable.
113 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
114 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
115 to the current value of `isearch-error' (Bug#7468).
117 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
119 * help-fns.el (describe-variable): Don't emit trailing whitespace
122 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
124 * textmodes/rst.el (rst-compile-pdf-preview)
125 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
127 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
129 * emulation/edt-mapper.el: Override mapping of function keys so
130 that the later call to read-key-sequence works.
132 2011-01-02 Eli Zaretskii <eliz@gnu.org>
134 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
135 Unix EOLs. (Bug#7589)
137 2011-01-02 Leo <sdl.web@gmail.com>
139 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
140 if point is not behind eshell-last-output-end (Bug#7585).
142 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
144 * files.el (file-local-variables-alist):
145 Make permanent-local (bug#7767).
147 2011-01-02 Glenn Morris <rgm@gnu.org>
149 * version.el (emacs-copyright): Set short copyright year to 2011.
151 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
153 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
154 an existing temp buffer. (Bug#7746)
156 2011-01-02 Glenn Morris <rgm@gnu.org>
158 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
159 multiple addresses. (Bug#7760)
161 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
163 * allout.el (allout-auto-fill): Do not infinitely recurse - use
164 do-auto-fill if everything points back to allout-auto-fill.
165 (allout-mode-deactivate-hook): Declare obsolete, in favor of
166 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
168 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
170 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
173 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
175 * doc-view.el (doc-view-set-doc-type): New function refactored
177 (doc-view-fallback-mode): New function.
178 (doc-view-mode): Use it.
179 (doc-view-mode-maybe): New function that checks if doc-view-mode
180 can be used and falls back to the next best mode otherwise.
182 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
183 DVI, OpenDocument, and MS Office files.
185 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
187 * emacs-lisp/rx.el (rx-syntax): Fix typo.
189 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
191 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
192 on a copy of auto-mode-alist, because that deletes with side
195 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
197 * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
198 normal-mode without doc-view-mode bindings in auto-mode-alist as
199 fallback instead of hard coding fundamental mode.
201 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
203 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
204 Office) files also for searching.
206 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
208 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
209 Office) files. Not yet enabled via auto-mode-list.
210 (doc-view-unoconv-program): New custom variable.
211 (doc-view-mode-p): Handle new odf document type.
212 (doc-view-odf->pdf): New conversion function.
213 (doc-view-convert-current-doc): Call it for odf files.
214 (doc-view-mode): Recognize newly supported file extensions.
216 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
218 * net/tramp.el (tramp-default-method-alist)
219 (tramp-default-user-alist)
220 (tramp-local-host-regexp, tramp-prefix-domain-format)
221 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
228 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
229 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
231 2010-12-29 Karl Fogel <kfogel@red-bean.com>
233 * saveplace.el (save-place-alist-to-file): Save list sorted and
234 pretty-printed, so that it is mergeable by line-based text merging,
235 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
237 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
239 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
240 (allout-mode): Argument "toggle" => "force".
241 Refine the docstring.
242 Remove special provisions for reactivation, besides the 'force'
244 Consolidate layout provisions coce directly into the activation
245 condition branch, now that we've removed those provisions.
246 (allout-unload-function): Explicitly activate the mode before
247 deactivating, if it's initially deactivated.
248 (allout-set-buffer-multibyte): Properly prevent byte-compiler
249 warnings for version of function used only where
250 set-buffer-multibyte is unavailable.
252 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
254 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
255 are handled by the menu-bar entries. As before, don't use
256 :visibile to avoid changing the tool-bar.
258 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
260 * net/secrets.el (secrets-delete-alias): New defun.
262 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
264 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
265 methods, otherwise ~/.ssh/config would be ignored.
267 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
269 * emacs-lisp/rx.el: Make it a superset of sregex.
270 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
271 of args, add `regex' alias.
272 (rx-info): Add arg to distinguish head and standalone forms.
273 (rx-check, rx-form): Pass the corresponding arg.
275 (rx-repeat): Make it work for any number of args.
276 (rx-syntax): Make it accept syntax chars as is.
277 * obsolete/sregex.el: Move from emacs-lisp/.
278 * emacs-lisp/re-builder.el: Remove sregex support.
279 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
281 2010-12-25 Eli Zaretskii <eliz@gnu.org>
283 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
284 PRIMARY first, then the clipboard. (Bug#7699)
286 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
288 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
291 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
293 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
294 .emacs.elc (Bug#7530).
296 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
297 image spec (Bug#7480).
299 2010-12-21 Daiki Ueno <ueno@unixuser.org>
301 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
302 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
305 2010-12-20 Leo <sdl.web@gmail.com>
307 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
308 always be performed (Bug#7680).
310 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
312 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
313 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
316 * color.el: Move from gnus/.
318 * vc/diff.el (diff-better-file-name): Function deleted.
319 abbreviating file names causes problems with shell-quote-argument.
320 (diff-no-select): Just use expand-file-name.
322 * tool-bar.el (tool-bar--image-expression): New function.
323 (tool-bar-local-item, tool-bar--image-exp): Use it.
324 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
325 Use :enable instead of :visible to avoid changing the tool-bar
326 configuration unnecessarily.
328 * info.el (info-tool-bar-map): Add separators.
330 2010-12-17 Ken Brown <kbrown@cornell.edu>
332 * loadup.el: Use version numbers in Cygwin build.
334 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
336 * ido.el (ido-file-internal): Ask for confirmation before
337 overwriting an existing file (Bug#1238).
339 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
341 * tool-bar.el (tool-bar-setup): Add separators.
343 * menu-bar.el (featurep): Use menu-bar-separator.
345 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
347 Migrate allout encryption provisions from pgg to epg.
349 * allout.el (allout-toggle-current-subtree-encryption)
350 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
351 defaulting policy and other changes. Change fetch-pass to keymode-cue,
352 for simpler universal argument interpretation.
353 (allout-toggle-subtree-encryption): Adjust docstring to describe
354 changed encryption provisions. Change fetch-pass to keymode-cue, for
355 simpler universal argument interpretation. Remove provisions for
356 handling key type and identity - they'll all be within
357 allout-encrypt-string or epg/epg or even contained all the way in gpg.
358 (allout-encrypt-string): Include keymode-cue, for optionally prompting
359 for keypair recipients (universal argument > 1) and, in addition,
360 associating the specified recipients with the outline (universal
361 argument > 4) using a file local variable setting for
362 'epa-file-encrypt-to'.
363 Require epa, for recipients handling.
364 Change how regexp filtering elements are named.
365 Describe the problem with caching of incorrect symmetric-decryption
367 Use the epa-passphrase-callback-function, in case the user is using
369 Support saving of the selected keypair recipients when invoked with a
371 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
373 Establish epg-context with armoring and default epg-protocol.
374 Remove all passphrase cache, verification, and hinting code.
375 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
376 No longer used, delete.
377 (allout-mode): Adjust docstring to describe changed encryption
378 provisions. Describe the problem with caching of incorrect
379 symmetric-decryption keys.
380 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
381 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
382 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
383 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
386 2010-12-16 Daiki Ueno <ueno@unixuser.org>
388 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
389 key selection prompt; make 'silent as default (Bug#7487).
391 2010-12-16 Leo <sdl.web@gmail.com>
393 * eshell/eshell.el (eshell-directory-name): Use
394 locate-user-emacs-file (Bug#7578).
396 2010-12-15 Glenn Morris <rgm@gnu.org>
398 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
400 2010-12-15 Jari Aalto <jari.aalto@cante.net>
401 Scott Evans <gse@antisleep.com>
403 * rect.el (rectange--default-line-number-format)
404 (rectangle-number-line-callback): New functions.
405 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
407 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
409 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
410 Delete unused variables.
411 (move-to-column-force): Remove function obsolete since 21.2.
413 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
415 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
416 (tramp-handle-insert-file-contents): Do not set permanent-local
419 * net/tramp-cache.el (tramp-persistency-file-name): Use
420 `locate-user-emacs-file' if fboundp.
422 * net/tramp-sh.el (tramp-methods): Add "ksu".
423 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
426 2010-12-14 Glenn Morris <rgm@gnu.org>
428 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
429 (find-tag-marker-ring): Declare.
430 (js-find-symbol): Require etags.
432 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
434 (mail-alias-file): Don't autoload. Doc fix.
435 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
436 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
437 Mark as obsolete, and risky.
438 (mail-setup): Simplify.
440 * mail/mailalias.el (build-mail-aliases): Make it interactive.
441 * mail/sendmail.el (build-mail-aliases): Update autoload.
443 * dired.el (dired-trivial-filenames, dired-chown-program)
444 (dired-auto-revert-buffer): Remove autoload cookies.
445 * mail/sendmail.el (mail-recover-1): Require 'dired.
447 * dired.el (dired-subdir-switches, dired-chown-program)
448 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
449 Make into defcustoms.
450 (dired-chown-program): Simplify initialization.
452 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
454 2010-12-13 Romain Francoise <romain@orebokech.com>
456 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
458 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
460 * net/netrc.el (netrc-point-at-eol): Remove the unused
461 netrc-point-at-old and netrc-bound-and-true-p bindings.
462 (netrc-parse): Cache the netrc contents.
464 2010-12-13 Eli Zaretskii <eliz@gnu.org>
466 * subr.el (posn-col-row): Evaluate header-line-format in the
467 context of the POSITION window's buffer.
469 2010-12-13 Glenn Morris <rgm@gnu.org>
471 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
472 (with-silent-modifications): Doc fixes.
474 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
476 * net/tramp.el (tramp-action-password, tramp-process-actions):
477 Revert previous from. Use `save-restriction'.
479 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
481 * calendar/diary-lib.el (diary-list-sexp-entries):
482 Handle case of no newline at end of file. (Bug#7536)
484 2010-12-13 Glenn Morris <rgm@gnu.org>
486 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
488 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
490 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
491 (tramp-process-actions): Do not widen.
493 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
494 Protect buffer-modified value. (Bug#7557)
496 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
498 * log-edit.el (log-edit-changelog-entries):
499 Regexp quote filename. (Bug#7505)
501 2010-12-13 Tom Breton <tehom@panix.com>
503 * cus-edit.el (custom-save-all):
504 Bind print-length and print-level to nil. (Bug#7581)
506 2010-12-13 Glenn Morris <rgm@gnu.org>
508 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
509 Run hooks to update menu contents. (Bug#7586)
511 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
512 file names, for the sake of MS Windows. (Bug#7588)
514 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
516 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
517 empty lines without a leading space.
519 2010-12-13 Leo <sdl.web@gmail.com>
521 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
522 while mapping over marks (Bug#6810).
524 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
526 * image-dired.el (image-dired-db-file)
527 (image-dired-temp-image-file, image-dired-gallery-dir)
528 (image-dired-temp-rotate-image-file): Set default values relative
529 to image-dired-dir (Bug#7518).
531 2010-12-13 Lawrence Mitchell <wence@gmx.li>
533 * format.el (format-decode-run-method): Pass args FROM and TO, not
534 point-min and point-max, to shell-command-on-region (Bug#7488).
536 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
538 * frame.el (blink-cursor-mode): Make default t for ns.
540 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
542 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
544 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
546 * comint.el (comint-dynamic-list-input-ring)
547 (comint-dynamic-complete-filename)
548 (comint-replace-by-expanded-filename)
549 (comint-dynamic-simple-complete)
550 (comint-dynamic-list-filename-completions)
551 (comint-dynamic-list-completions): Doc fix (Bug#7499).
553 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
556 2010-12-13 Martin Rudalics <rudalics@gmx.at>
558 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
561 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
563 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
566 2010-12-13 Eli Zaretskii <eliz@gnu.org>
568 * files.el (file-relative-name): Handle UNC file names on
569 DOS/Windows. (Bug#4674)
571 2010-12-13 Daiki Ueno <ueno@unixuser.org>
573 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
574 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
575 (epg-context-set-passphrase-callback): Mention that the callback
576 is not called when used with GnuPG 2.x.
578 2010-12-13 Glenn Morris <rgm@gnu.org>
580 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
581 Ensure ps-footer-font-size-internal is initialized.
582 Call ps-get-page-dimensions before trying to use ps-font-for-text.
584 2010-12-13 Kenichi Handa <handa@m17n.org>
586 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
587 within condition-case.
588 (rmail-show-mime): Don't use condition-case.
589 (rmail-search-mime-message): New function.
590 (rmail-search-mime-message-function): Set to
591 rmail-search-mime-message.
593 2010-12-13 Leo <sdl.web@gmail.com>
595 * ido.el (ido-common-initialization): New function. (bug#3274)
597 (ido-completing-read): Call it.
599 2010-12-12 Karl Fogel <kfogel@red-bean.com>
601 * bookmark.el (bookmark-name-from-full-record): Rename back to
602 this original name from `bookmark-name-from-record' reverting part
603 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
604 As Drew Adams pointed out, there was no reason to cause churn for
607 2010-12-12 Alan Mackenzie <acm@muc.de>
609 * progmodes/cc-engine.el (c-forward-type): Before scanning a
610 template arglist, check that the current language supports this.
612 2010-12-11 Glenn Morris <rgm@gnu.org>
614 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
615 state of the file matches. (Bug#7544)
616 (vc-bzr-register, vc-bzr-checkin)
617 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
618 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
620 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
622 2010-12-11 Karel Klíč <kklic@redhat.com>
624 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
626 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
628 Derive from prog-mode, use derived-mode-p, and fix up various
629 minor style issues in lisp/progmodes.
631 * progmodes/vhdl-mode.el (vhdl-mode):
632 * progmodes/verilog-mode.el (verilog-mode):
633 * progmodes/vera-mode.el (vera-mode):
634 * progmodes/sql.el (sql-mode):
635 * progmodes/scheme.el (scheme-mode):
636 * progmodes/perl-mode.el (perl-mode):
637 * progmodes/octave-inf.el (inferior-octave-mode):
638 * progmodes/autoconf.el (autoconf-mode):
639 * progmodes/m4-mode.el (m4-mode):
640 * progmodes/inf-lisp.el (inferior-lisp-mode):
641 * progmodes/idlwave.el (idlwave-mode):
642 * progmodes/icon.el (icon-mode):
643 * progmodes/idlw-help.el (idlwave-help-mode):
644 * progmodes/dcl-mode.el (dcl-mode):
645 * progmodes/idlw-shell.el (idlwave-shell-mode):
646 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
647 (ebrowse-member-mode, ebrowse-electric-position-mode):
648 Use define-derived-mode.
650 * progmodes/xscheme.el (exit-scheme-interaction-mode)
651 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
652 (xscheme-debugger-mode-p, xscheme-send-string-1):
653 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
654 (tcl-load-file, tcl-restart-with-file):
655 * progmodes/ps-mode.el (ps-run-running):
656 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
657 * progmodes/js.el (js--get-all-known-symbols):
658 * progmodes/inf-lisp.el (inferior-lisp-proc):
659 * progmodes/idlwave.el (idlwave-beginning-of-statement)
660 (idlwave-template, idlwave-update-buffer-routine-info)
661 (idlwave-update-current-buffer-info)
662 (idlwave-get-routine-info-from-buffers, idlwave-choose)
663 (idlwave-scan-class-info, idlwave-fix-keywords)
664 (idlwave-list-buffer-load-path-shadows):
665 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
666 (idlwave-toolbar-remove):
667 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
668 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
669 (idlwave-shell-menu-def):
670 * progmodes/idlw-complete-structtag.el
671 (idlwave-prepare-structure-tag-completion):
672 * progmodes/gud.el (gud-set-buffer):
673 * progmodes/f90.el (f90-backslash-not-special):
674 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
676 * progmodes/xscheme.el (xscheme-start)
677 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
678 * progmodes/which-func.el (which-function):
679 * progmodes/vhdl-mode.el (vhdl-set-style):
680 * progmodes/verilog-mode.el (verilog-set-compile-command)
681 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
682 (verilog-set-define, verilog-auto-reeval-locals):
683 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
684 * progmodes/simula.el (simula-mode):
685 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
686 * progmodes/python.el (python-check, python-mode):
687 * progmodes/prolog.el (prolog-mode-variables):
688 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
689 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
690 * progmodes/delphi.el (delphi-mode):
691 * progmodes/cc-styles.el (c-setup-paragraph-variables):
692 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
693 (c-font-lock-init): Move make-local-variable to their setq.
695 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
696 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
698 * progmodes/sh-script.el (sh-require-final-newline): Remove.
699 (sh-set-shell): Don't set require-final-newline since it's already done
701 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
702 since we never set it.
703 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
704 Use read-string and standard prompt.
705 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
706 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
707 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
708 (meta-common-mode-map): Rename from meta-mode-map.
709 Remove C-m binding, which is a user preference, not mode specific.
710 (meta-common-mode): New major mode; replace meta-common-initialization.
711 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
712 around with font-lock.
713 * progmodes/etags.el (select-tags-table-mode):
714 Derive from special-mode.
715 * progmodes/octave-mod.el (octave-mode):
716 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
717 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
718 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
719 Let define-derived-mode do its job.
720 * progmodes/cpp.el (cpp-edit-mode-map):
721 Move initialization into declaration.
722 (cpp-edit-mode): Use define-derived-mode.
723 (cpp-edit-load): Use derived-mode-p.
724 * progmodes/mixal-mode.el (mixal-mode):
725 * progmodes/f90.el (f90-mode):
726 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
727 require-final-newline since prog-mode does it already.
728 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
729 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
730 * progmodes/antlr-mode.el: Require cc-mode upfront.
731 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
733 (antlr-directory-dependencies, antlr-show-makefile-rules):
735 (antlr-language-option): Don't assume point-min==1.
736 (antlr-mode): Use define-derived-mode.
737 * progmodes/ada-mode.el: Use derived-mode-p.
738 (ada-mode): Use define-derived-mode.
739 Use hack-local-variables-hook.
741 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
743 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
744 (texinfo-mode): Don't disable adaptive-fill-mode.
745 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
746 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
747 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
748 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
749 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
750 (texinfo-insert-@quotation, texinfo-insert-@samp)
751 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
752 (texinfo-insert-@uref): Use define-skeleton.
753 (texinfo-insert-@-with-arg): Delete.
755 2010-12-10 Eli Zaretskii <eliz@gnu.org>
757 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
758 nil, do quote archive member names. (Bug#6144)
760 2010-12-10 Glenn Morris <rgm@gnu.org>
762 * files.el (diff-no-select): Declare.
764 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
765 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
767 * comint.el (comint-input-ring-file-name): Doc fix.
769 2010-12-09 Eli Zaretskii <eliz@gnu.org>
771 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
773 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
774 Use them instead of `nil' and `>', respectively.
775 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
777 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
778 and menu-bar-positive-p instead of `nil' and `>', respectively.
781 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
783 * whitespace.el (whitespace-newline-mode): Code fix.
785 2010-12-09 Glenn Morris <rgm@gnu.org>
787 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
788 Rename functions without commas, update callers.
790 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
792 * whitespace.el (whitespace-cleanup-region):
793 Clean up spaces before tabs. (Bug#7582)
795 2010-12-08 Karl Fogel <kfogel@red-bean.com>
797 * bookmark.el: Adjust parameter names and doc strings to resolve
798 confusion over whether "bookmark" meant a bookmark name or a
799 bookmark record. Along the way, shorten one function's name for
800 similar reasons. (Issue #7548)
801 (bookmark-name-from-record): New name for
802 `bookmark-name-from-full-record'. All callers changed.
803 (bookmark-get-bookmark, bookmark-get-bookmark-record)
804 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
805 (bookmark-get-annotation, bookmark-set-annotation)
806 (bookmark-get-filename, bookmark-set-filename)
807 (bookmark-get-position, bookmark-set-position)
808 (bookmark-get-front-context-string, bookmark-set-front-context-string)
809 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
810 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
811 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
812 Rename `bookmark' parameter to `bookmark-name-or-record', to
813 clearly show its role, and shorten or adjust doc strings accordingly.
814 (bookmark-set-name): Same, and pass the parameter directly to
815 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
816 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
817 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
818 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
819 and in some cases shorten doc string accordingly.
820 (bookmark-rename): Change `old' and `new' parameters to `old-name'
821 and `new-name', and adjust an internal variable to avoid confusion.
822 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
823 parameter in doc string.
825 2010-12-08 Glenn Morris <rgm@gnu.org>
827 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
828 from gdb's history file. (Bug#7575)
830 * mail/emacsbug.el (report-emacs-bug):
831 Try to handle some other mail clients.
833 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
835 * files.el (dir-locals-collect-variables): Don't let errors stop us.
837 (file-name-version-regexp): New var.
838 (file-name-sans-versions):
839 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
840 (jka-compr-get-compression-info): Use dolist.
841 (jka-compr-compression-info-list): Don't bother specifying
842 version/backup regexps.
844 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
846 * simple.el (just-one-space): Make argument n default to 1 if
849 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
851 * electric.el (electric-indent-post-self-insert-function):
852 Delete trailing newlines even if we don't reindent.
854 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
856 * minibuffer.el (completion-at-point): Remove the `arg'.
857 * bindings.el (complete-symbol): Move back from minibuffer.el.
859 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
861 * simple.el (just-one-space): Delete newlines for negative arg.
863 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
865 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
866 (ansi-color-filter-apply): Simplify.
867 (ansi-color-apply): Use `font-lock-face' rather than `face'.
869 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
871 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
873 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
875 * dired.el (dired-use-ls-dired): Set default to a special
877 (dired-insert-directory): When called the first time, check
878 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
880 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
882 * replace.el: Add "collect" feature to occur.
883 (occur-collect-regexp-history): New var.
884 (occur-read-primary-args): Return a replace string for nlines,
886 (occur): Extend the meaning of nlines.
888 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
890 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
891 (which-func-update-1): Distinguish symbols from strings.
892 (which-function): Stay within 80 columns.
894 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
896 * subr.el (with-demoted-errors): Distinguish symbols from strings.
898 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
900 (comment-style): Use comment-styles's docs to describe values.
902 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
904 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
905 and ns-show-prefs (Bug#7535).
907 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
910 2010-12-03 Glenn Morris <rgm@gnu.org>
912 * nxml/nxml-mode.el: Require rng-nxml.
913 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
916 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
917 * nxml/rng-nxml.el, nxml/rng-valid.el:
918 Remove leading `*' from defcustom docs.
920 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
921 (normal-top-level-add-to-load-path, tty-handle-args):
922 Convert comments to basic doc-strings.
924 * net/browse-url.el (browse-url-url-at-point)
925 (browse-url-default-browser): Remove autoload cookies.
927 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
928 Remove more undefined cl functions.
930 * vc/diff.el (diff-sentinel): Make new arguments optional.
931 * ibuf-ext.el (diff-sentinel): Update declaration.
933 2010-12-03 Daiki Ueno <ueno@unixuser.org>
935 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
936 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
937 (epg-context-set-passphrase-callback): Mention that the callback
938 is not called when used with GnuPG 2.x.
940 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
942 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
943 (tramp-file-name-port): Check also for `tramp-default-port'.
944 (tramp-get-connection-name): New defun.
945 (tramp-get-connection-process): Use it.
946 (tramp-debug-message): Extend function exclude list.
947 (tramp-drop-volume-letter): Fix doc string.
949 * net/tramp-cmds.el: Remove solved todo item.
956 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
957 and `tramp-default-user-alist', respectively.
959 * net/tramp-gw.el (tramp-gw-open-connection):
960 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
962 * net/tramp-imap.el (tramp-imap-make-iht): Use just
963 `tramp-file-name-port'.
965 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
966 and "psftp". Exchange "%k" marker with options.
967 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
968 Compute size of link target.
969 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
970 `tramp-current-*' up due to gateway methods. Optimze computing of
971 copy arguments. Use `tramp-get-connection-name' and
972 `tramp-get-connection-buffer'. Improve debug messages.
973 (tramp-compute-multi-hops): Remove port determination.
974 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
976 * net/trampver.el: Update release number.
978 2010-12-02 Glenn Morris <rgm@gnu.org>
980 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
981 Avoid infinite loop over windows. (Bug#7492)
983 * progmodes/flymake.el (flymake-check-file-limit):
984 Allow nil to mean "no limit".
985 (flymake-check-patch-master-file-buffer): Update for above change.
986 Allow a .tex file-name extension to be optional.
987 (flymake-master-tex-init): Also match \include statements.
989 2010-11-30 Sam Steingold <sds@gnu.org>
991 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
992 (nxml-parent-document-set): A function to set `nxml-parent-document'.
993 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
994 (nxml-mode-hook): Remove `defcustom' (auto-defined by
995 define-derived-mode').
996 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
997 users who want to call `nxml-parent-document-set'.
999 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1001 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1002 stand-alone lines, since that is handled by log-edit-match-to-eoh
1005 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1007 * dired.el (dired-get-filename): Replace backslashes with slashes
1008 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1009 * locate.el (locate-default-make-command-line): Don't consider
1010 drive letter and root directory part of
1011 `directory-listing-before-filename-regexp'. (Bug#7308)
1012 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1014 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1017 of :smie-open/close-alist.
1018 (smie-next-sexp): Make it accept a "start token" as argument.
1019 (smie-indent-keyword): Be careful not to misidentify tokens that span
1020 more than one line, as empty lines. Add argument `token'.
1022 2010-11-27 Kenichi Handa <handa@m17n.org>
1024 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1025 multipart subtypes, insert all as usual.
1027 * mail/rmail.el: Require rfc2047.
1029 2010-11-27 Kenichi Handa <handa@m17n.org>
1031 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1032 (rmail-mime-entity-disposition)
1033 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1034 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1035 (rmail-mime-save): Handle the case that the button's `data' is a
1037 (rmail-mime-insert-text): New function.
1038 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1039 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1040 (rmail-mime-insert-bulk): New function mostly copied from the old
1041 rmail-mime-bulk-handler.
1042 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1043 (rmail-mime-process-multipart): New function mostly copied from
1044 the old rmail-mime-multipart-handler.
1045 (rmail-mime-show): Just call rmail-mime-process.
1046 (rmail-mime-process): New function mostly copied from the old
1048 (rmail-mime-insert-multipart, rmail-mime-parse)
1049 (rmail-mime-insert, rmail-show-mime)
1050 (rmail-insert-mime-forwarded-message)
1051 (rmail-insert-mime-resent-message): New functions.
1052 (rmail-insert-mime-forwarded-message-function): Set to
1053 rmail-insert-mime-forwarded-message.
1054 (rmail-insert-mime-resent-message-function): Set to
1055 rmail-insert-mime-resent-message.
1057 * mail/rmailsum.el: Require rfc2047.
1058 (rmail-header-summary): Handle multiline Subject: field.
1059 (rmail-summary-line-decoder): Change the default to
1060 rfc2047-decode-string.
1062 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1063 (rmail-mime-feature): Change the default to `rmailmm'.
1064 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1065 (rmail-display-labels): Likewise.
1066 (rmail-show-message-1): Check rmail-enable-mime, and use
1067 rmail-show-mime-function for a MIME message. Decode the headers
1068 according to RFC2047.
1070 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * progmodes/which-func.el (which-func-imenu-joiner-function):
1073 Return a string, as expected.
1074 (which-function-mode): Make sure we stop any previous timer before
1077 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1079 * net/tramp.el (tramp-default-method-alist)
1080 (tramp-default-user-alist, tramp-default-proxies-alist):
1081 Adapt custom options type. (Bug#7445)
1083 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1085 * progmodes/python.el: Add Ipython support (Bug#5390).
1086 (python-shell-prompt-alist)
1087 (python-shell-continuation-prompt-alist): New options.
1088 (python--set-prompt-regexp): New function.
1089 (inferior-python-mode, run-python, python-shell):
1090 Require ansi-color. Use python--set-prompt-regexp to set the comint
1091 prompt based on the Python interpreter.
1092 (python--prompt-regexp): New var.
1093 (python-check-comint-prompt)
1094 (python-comint-output-filter-function): Use it.
1095 (run-python): Use a pipe (Bug#5694).
1097 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1099 * progmodes/python.el (run-python): Doc fix.
1100 (python-keep-current-directory-in-path): New var (Bug#7454).
1102 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1104 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1105 Prompt user before actually printing.
1107 2010-11-27 Glenn Morris <rgm@gnu.org>
1109 * startup.el (package-enable-at-startup, package-initialize):
1110 Remove unnecessary declarations.
1112 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1114 * international/characters.el (glyphless-char-display-control):
1115 Exclude newline and TAB from the c0-control group.
1117 2010-11-27 Glenn Morris <rgm@gnu.org>
1119 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1120 (expand-mail-aliases): Remove unnecessary autoload.
1122 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1124 * shell.el (shell-dir-cookie-re): Move definition before use.
1126 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1127 Replace undefined CL functions.
1129 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1131 * simple.el (prog-mode): Set bidi-paragraph-direction to
1134 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1136 2010-11-26 Glenn Morris <rgm@gnu.org>
1138 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1139 diary-outlook-formats can be sensitive to calendar-date-style.
1140 (diary-outlook-formats): Simplify the default setting.
1141 (diary-from-outlook-internal): Pass subject and body as arguments.
1142 Use dolist rather than dotimes. Don't save the diary buffer.
1143 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1144 Pass subject and body as explicit arguments to the -internal function.
1146 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1149 parsing them. This makes mailto:...?subject=foo\nbar work.
1151 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1153 * vc/diff.el (diff): Fix last change.
1155 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1157 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1158 (pcase--dontcare-upats): New var.
1159 (pcase-let, pcase-let*): Generate better code.
1160 Accept the same bodies as `let'.
1161 (pcase-dolist): New macro.
1162 (pcase--trivial-upat-p): New helper function.
1163 (pcase--expand): Strip leading "(let nil" if any.
1165 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1167 * mail/mailclient.el (browse-url): Require.
1168 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1169 use the external browser function to send the mail (bug#7469).
1171 * net/browse-url.el (browse-url-browser-function): Revert the
1172 default back to the previous value, since the new value broke
1174 (browse-url-mailto-function): New variable for mailto: URLs.
1175 (browse-url): Use the new variable for mailto: URLs.
1177 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * eshell/esh-cmd.el (eshell-parse-command):
1180 * eshell/esh-arg.el (eshell-parse-arguments):
1181 * eshell/em-script.el (eshell-source-file):
1182 Use with-silent-modifications.
1184 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1186 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1187 for a merge location.
1189 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1190 (vc-bzr-merge-branch): Always prompt.
1191 (vc-bzr-async-command): Use the full branch filename.
1193 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * shell.el (shell): Use current-buffer by default if it's already
1196 a shell mode buffer and its process is dead.
1197 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1199 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1201 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1202 Mention that the keywords should be comma separated.
1204 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1206 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1207 Accept optional prefix arg meaning to prompt for a command.
1208 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1209 prefix arg meaning to prompt for a command.
1210 (vc-pull): Alias for vc-update.
1212 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1213 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1214 (vc-bzr-merge-branch): New functions, implementing merge-branch
1215 and pull operations.
1217 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * Makefile.in: Fix up last merge.
1221 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1222 (diff-sentinel): Get them as arguments instead.
1223 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1224 (diff-file-local-copy, diff-better-file-name): New funs.
1225 (diff-no-select): Rename from diff-into-buffer.
1226 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1227 Prefer closures to buffer-local variables.
1228 (diff): Adjust accordingly.
1229 (diff-buffer-with-file): Move from files.el.
1230 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1231 (diff-buffer-internal): Remove.
1232 (diff-buffer-buffer): Remove.
1233 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1234 the buffer name used, and so as not to mess up windows and frames.
1236 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1238 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1239 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1240 (diff-buffer-with-file): Use it.
1241 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1244 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1246 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1247 \ref's or \pageref's value as default instead of initial input.
1249 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1251 * files.el (backup-by-copying-when-mismatch): The default value is
1254 * startup.el (normal-top-level):
1255 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1256 `backup-by-copying-when-mismatch'.
1258 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1260 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1262 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1264 * progmodes/python.el (python-font-lock-keywords):
1265 Highlight top-level augmented assignments (Bug#6445).
1267 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1269 * term/ns-win.el (ns-right-control-modifier)
1270 (ns-right-command-modifier): Defvar them.
1272 * cus-start.el (all): Add ns-right-control-modifier and
1273 ns-right-command-modifier (Bug#7458).
1275 2010-11-20 Glenn Morris <rgm@gnu.org>
1277 * emacs-lisp/authors.el (authors-ignored-files)
1278 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1280 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1282 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1283 (report-emacs-bug-parse-query-results)
1284 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1285 keywords used for querying the bug database to show them in the
1286 existing bugs buffer.
1288 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1290 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1292 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1294 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1296 * international/characters.el (glyphless-char-display-control):
1297 Make it a defcustom, with update-glyphless-char-display as its
1299 (top level): Don't call update-glyphless-char-display.
1301 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1303 Sync with Tramp 2.2.0.
1305 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1306 `file-remote-p' (due to compatibility).
1308 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1309 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1311 * net/trampver.el: Update release number.
1313 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1315 * faces.el (glyphless-char): Define value for `pc'.
1317 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1319 Implemented a bug querying mechanism.
1320 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1321 (report-emacs-bug-create-existing-bugs-buffer)
1322 (report-emacs-bug-parse-query-results)
1323 (report-emacs-bug-query-existing-bugs): New functions.
1325 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1327 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1328 a \ref{} or \pageref{} macro, then use its value as initial input.
1330 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1332 * calc/calc-units.el (math-build-units-table-buffer):
1333 calc/README: Mention that the TeX specific units won't use the
1334 `tex' prefix in TeX mode.
1335 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1336 prefix for units in TeX mode.
1338 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * simple.el (kill-new, kill-append, kill-region):
1341 * comint.el (comint-kill-region): Make the yank-handler argument
1344 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1347 that are both openers (resp. closers) and something else.
1348 (smie-grammar): Loosen definition of valid values.
1349 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1350 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1351 (smie-indent-after-keyword): Adjust users.
1352 (smie-indent-keyword): Don't indent empty lines.
1354 * vc-hg.el (vc-hg-program): New var.
1355 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1356 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1358 2010-11-18 Glenn Morris <rgm@gnu.org>
1360 * emacs-lisp/autoload.el (autoload-find-destination): The function
1361 coding-system-eol-type may return non-numeric values. (Bug#7414)
1363 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1365 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1367 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1369 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1371 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1373 * textmodes/picture.el (picture-mouse-set-point): Don't use
1374 posn-col-row; explicitly compute the motion based on the posn at
1375 the window-start (Bug#7390).
1377 2010-11-18 Glenn Morris <rgm@gnu.org>
1379 * novice.el (disabled-command-function):
1380 Fix 2009-11-15 change. (Bug#7384)
1382 2010-11-18 Glenn Morris <rgm@gnu.org>
1384 * calendar/calendar.el (diary-iso-date-forms): Make elements
1385 mutually exclusive. (Bug#7377)
1387 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1390 when filling the remaining "unconstrained" values.
1392 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1397 * files.el (safe-local-variable-p): Gracefully handle errors.
1399 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1400 Use smie-indent-virtual when indenting relative to an opener.
1401 (smie-rule-separator): Use smie-rule-parent.
1402 (smie-indent-keyword): Consult rules, even for openers at bol.
1403 (smie-indent-comment-close): Try to align closer's content.
1405 2010-11-18 Glenn Morris <rgm@gnu.org>
1407 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1409 2010-11-18 Glenn Morris <rgm@gnu.org>
1411 * printing.el (pr-menu-bind): Doc fix.
1413 * speedbar.el (speedbar-toggle-images): Doc fix.
1415 * progmodes/python.el (python-shell): Doc fix.
1417 * wid-edit.el (widget-field-use-before-change)
1418 (widget-use-overlay-change): Doc fixes.
1420 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1422 Minor cleanup to improve style.
1423 * textmodes/rst.el (rst-update-section): Use point-marker.
1424 (rst-get-decoration): Eliminate unneeded assignment.
1425 (rst-promote-region, rst-straighten-decorations)
1426 (rst-section-tree, rst-adjust): Use point-marker.
1427 (rst-toc-mode-mouse-goto): Avoid setq.
1428 (rst-shift-region-guts, rst-shift-region-left)
1429 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1430 (rst-convert-bullets-to-enumeration): Use copy-marker.
1432 * minibuffer.el (completion-fail-discreetly): New var.
1433 (completion--do-completion): Use it.
1435 * electric.el (electric-pair-pairs): New var.
1436 (electric-pair-post-self-insert-function): Use it.
1437 (electric-layout-post-self-insert-function): Don't insert a before
1438 newline unless it's actually needed.
1440 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * progmodes/python.el (run-python): Explain why we remove the current
1443 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1445 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1447 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1450 (octave-mode-map): Don't bind ;, SPC, and LF.
1451 (octave-auto-indent, octave-auto-newline): Remove.
1452 (electric-layout-rules): Declare.
1453 (octave-mode): Set electric-layout-rules.
1454 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1455 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1456 (octave-electric-space): Remove.
1458 * electric.el (electric-layout-mode): New minor mode.
1459 (electric--after-char-pos): New function.
1460 (electric-indent-post-self-insert-function): Use it.
1461 (electric-layout-rules): New var.
1462 (electric-layout-post-self-insert-function): New function.
1463 (electric-indent-mode): Make them interact better.
1465 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1468 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1469 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1471 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1473 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1474 Make sure to check inside the word (Bug#6761).
1476 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1478 * startup.el (command-line): If the cursorColor resource is set,
1479 change the cursor face-spec (Bug#7392).
1481 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1483 The main features of the following allout.el changes are:
1484 - implement user customization for the allout key bindings
1485 - add a customization control by which the user can inhibit use of
1486 a trailing Ctrl-H, so by default it's reserved for use with
1487 describe-prefix-bindings
1488 - adapt to new version of called-interactively-p, while
1489 maintaining backwards compatibility with old version
1490 - fix hotspot navigation so i works properly with meta-modified keys
1492 * allout.el (allout-keybindings, allout-bind-keys)
1493 (allout-keybindings-binding, allout-prefixed-keybindings)
1494 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1495 (allout-keybindings-list, allout-mode-map-adjustments)
1496 (allout-setup-mode-map): Establish allout-mode keymaps as user
1497 customizable settings, and also establish a customizable setting which
1498 regulates whether or not a trailing control-h is reserved for use with
1499 describe-prefix-bindings - and inhibit it by default, so that control-h
1500 *is* reserved for describe-prefix-bindings unless the user changes it.
1502 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1503 and accurately between modified and unmodified events, and handle
1504 modified events more comprehensively.
1506 * allout.el (allout-substring-no-properties):
1507 Alias to use or provide version of `substring-no-properties'.
1508 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1510 * allout.el (allout-next-single-char-property-change):
1511 Alias to use or provide version of `next-single-char-property-change'.
1512 (allout-annotate-hidden, allout-hide-by-annotation):
1513 Use `allout-next-single-char-property-change'.
1515 * allout.el (allout-select-safe-coding-system):
1516 Alias to use or provide version of `select-safe-coding-system'.
1517 (allout-toggle-subtree-encryption):
1518 Use `allout-select-safe-coding-system'.
1520 * allout.el (allout-set-buffer-multibyte):
1521 Alias to use or provide version of `set-buffer-multibyte'.
1522 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1524 * allout.el (allout-called-interactively-p): Macro for using the
1525 different versions of called-interactively-p identically, depending on
1526 the subroutine's argument signature.
1527 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1528 Use `(interactive "p")' instead of `(called-interactively-p)'.
1530 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1531 (allout-previous-visible-heading, allout-forward-current-level)
1532 (allout-backward-current-level, allout-show-children):
1533 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1535 * allout.el (allout-before-change-handler):
1536 Exempt edits to the (overlaid) character after the allout outline
1537 bullet from edit confirmation prompt.
1539 * allout.el (allout-add-resumptions):
1540 Ensure that it respects correct buffer for keybindings.
1542 * allout.el (allout-beginning-of-line):
1543 Use `allout-previous-single-char-property-change' alias for the sake of
1544 diverse compatibility.
1546 * allout.el (allout-end-of-line):
1547 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1549 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1551 * frame.el (frame-notice-user-settings): Don't clobber other
1552 user-set parameters when calling face-set-after-frame-default in
1553 response to background-color parameter (Bug#7373).
1555 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1557 * international/characters.el (glyphless-char-display-control):
1558 Rename from glyphless-char-control; all users changed. Doc fix.
1559 Signal an error if display method is not one of the recognized
1562 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1564 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1565 (tramp-compat-line-end-position): Remove them.
1567 * net/tramp.el (tramp-parse-rhosts-group)
1568 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1569 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1570 (tramp-parse-netrc-group, tramp-parse-putty-group)
1571 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1572 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1573 (tramp-sh-handle-file-selinux-context)
1574 (tramp-sh-handle-file-name-all-completions)
1575 (tramp-sh-handle-insert-directory)
1576 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1577 (tramp-wait-for-output, tramp-send-command-and-read)
1578 * net/tramp-smb.el (tramp-smb-read-file-entry)
1579 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1581 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1583 (tramp-remote-coding-commands): Add an alternative using "base64
1584 -d -i". This is needed for older base64 versions from GNU
1585 coreutils. Reported by Klaus Reichl
1586 <Klaus.Reichl@thalesgroup.com>.
1588 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1590 * simple.el (count-words-region): New function.
1592 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * shell.el (shell-dir-cookie-re): New custom variable.
1595 (shell-dir-cookie-watcher): New function.
1597 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1598 and compilation-mode (bug#7350).
1600 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1601 highlight when one of them is empty.
1603 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1605 (skeleton-newline): New function.
1606 (skeleton-internal-1): Use it.
1608 * simple.el (open-line): `newline' may strip trailing space.
1610 2010-11-12 Kevin Ryde <user42@zip.com.au>
1612 * international/mule-cmds.el (princ-list): Use mapc.
1614 2010-11-12 Glenn Morris <rgm@gnu.org>
1616 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1617 Use it to replace all instances of "*Compile-Log*"
1619 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1621 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1624 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * progmodes/modula2.el: Use SMIE and skeleton.
1627 (m2-mode-syntax-table): (*..*) can be nested.
1628 Add //...\n. Fix paren syntax.
1629 (m2-mode-map): Remove LF and TAB bindings.
1630 (m2-indent): Add safety property.
1631 (m2-smie-grammar): New var.
1632 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1633 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1634 (m2-mode): Use define-derived-mode.
1635 (m2-newline, m2-tab): Remove.
1636 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1637 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1638 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1639 (m2-import): Use define-skeleton.
1641 2010-11-11 Glenn Morris <rgm@gnu.org>
1643 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1645 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1646 (ls-lisp-verbosity): Add custom :set-after property.
1647 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1648 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1649 (ls-lisp-insert-directory): Update caller.
1650 (ls-lisp-set-options): New function.
1651 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1654 * play/landmark.el (lm-prompt-for-move):
1655 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1657 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1659 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1660 (idlwave-study-twins): Prefix dynamic local variable `name'.
1661 (idlwave-routine-twin-compare): Update for above change.
1663 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1664 Prefix dynamic local variables `name', `kwd', and `link'.
1665 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1666 * progmodes/idlw-complete-structtag.el
1667 (idlwave-complete-structure-tag-help):
1668 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1669 (idlwave-complete-sysvar-tag-help)
1670 (idlwave-complete-class-structure-tag-help):
1671 Update for above name changes.
1673 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1675 * net/browse-url.el (browse-url-browser-function): Change the
1676 default to use `browse-url-mail' on mailto: URLs.
1678 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1680 * emacs-lisp/package.el (package-read-all-archive-contents):
1681 Reset package-archive-contents to nil before re-reading.
1683 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1685 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1686 already found as misspellings by (flyspell-large-region), just
1687 do highlighting (bug#7322).
1689 2010-11-10 Glenn Morris <rgm@gnu.org>
1691 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1693 * emulation/edt.el (edt-with-position): New macro.
1694 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1695 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1696 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1698 * emulation/tpu-extras.el (tpu-with-position): New macro.
1699 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1701 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1703 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1704 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1705 (texinfo-master-menu, texinfo-insert-node-lines)
1706 (texinfo-multiple-files-update):
1707 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1708 Use line-beginning-position.
1710 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1711 No recent Emacs supports system-type `emx'.
1713 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1714 (ada-command-separator, ada-default-prj-properties)
1715 (ada-find-any-references): Update for above name change.
1717 * dirtrack.el (dirtrack-directory-function)
1718 (dirtrack-canonicalize-function):
1719 * filecache.el (file-cache-completion-ignore-case)
1720 (file-cache-case-fold-search, file-cache-ignore-case):
1721 * term.el (serial-port-is-file-p): Cosmetic change.
1723 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1724 Remove non-existent `windows-95' system-type.
1725 * dired.el (dired-chown-program): Remove non-existent `linux'
1728 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1729 (ping-program-options): Remove non-existent `linux' system-type.
1731 * startup.el (package-initialize): Update declaration.
1733 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1734 (ls-lisp-handle-switches): Use time-less-p.
1735 (ls-lisp-format-time): Use float-time.
1737 * textmodes/remember.el (remember-time-to-seconds): Remove.
1738 (remember-store-in-mailbox): Use float-time.
1740 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1742 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1743 never a real function.
1744 (with-no-warnings): Remove compat stub, now unused.
1745 (time-less-p): Doc fix.
1746 (time-to-number-of-days): Simplify.
1748 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1750 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1751 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1752 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1753 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1754 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1756 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1757 (eshell-shuffle-files, eshell-shorthand-tar-command)
1758 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1759 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1760 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1761 Prefix dynamic local variable `matches'.
1763 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1764 Prefix dynamic local variable `skeleton'.
1766 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1768 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1769 in mail buffer; make yank-action always a command that yanks original
1772 2010-11-09 Glenn Morris <rgm@gnu.org>
1774 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1776 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1779 completion field (bug#7211).
1781 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1782 Fix handling of backslash escapes.
1783 (python-quote-syntax): Adjust accordingly.
1785 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1787 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1788 (vc-mtn-workfile-branch): Adjust to new output format.
1790 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * international/mule-cmds.el (princ-list): Mark as obsolete.
1794 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * emacs-lisp/smie.el: New package.
1798 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1800 * files.el (backup-by-copying-when-mismatch):
1801 Set `permanent-local' property.
1803 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1804 `permanent-local' property for `backup-by-copying-when-mismatch'.
1806 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1808 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1810 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1812 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1813 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1814 AUTOINOUT for SV style multidimensional arrays, bug294.
1815 Reported by Eric Mastromarchi.
1816 (verilog-preprocess): Use with-current-buffer and
1817 font-lock-fontify-buffer to cleanup style issues.
1819 2010-11-09 Glenn Morris <rgm@gnu.org>
1821 * locate.el (locate, locate-mode): Doc fixes.
1823 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1825 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1826 user for confirmation.
1827 (server-force-stop): Use it.
1828 (server-start): Use server-force-stop for kill-emacs-hook, to
1829 avoid user interaction while killing Emacs.
1831 2010-11-09 Glenn Morris <rgm@gnu.org>
1833 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1834 (meta-indent-line): Simplify.
1836 * vc/emerge.el (emerge-line-number-in-buf):
1837 * textmodes/ispell.el (ispell-region):
1838 * textmodes/fill.el (current-fill-column):
1839 * progmodes/xscheme.el (xscheme-send-current-line):
1840 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1841 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1842 * progmodes/sh-script.el (sh-handle-prev-do):
1843 * progmodes/meta-mode.el (meta-indent-line):
1844 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1846 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1847 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1848 * progmodes/fortran.el (fortran-looking-at-if-then):
1849 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1850 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1851 (cperl-find-pods-heres):
1852 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1853 * net/quickurl.el (quickurl-list-insert):
1854 * net/ldap.el (ldap-search-internal):
1855 * net/eudc.el (eudc-expand-inline):
1856 * mail/sendmail.el (sendmail-send-it):
1857 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1858 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1859 (viper-brac-function):
1860 * calc/calc-yank.el (calc-do-grab-region):
1861 * calc/calc-keypd.el (calc-keypad-press):
1862 * term.el (term-move-columns, term-insert-spaces):
1863 * speedbar.el (speedbar-highlight-one-tag-line):
1864 * simple.el (current-word):
1865 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1866 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1868 * hippie-exp.el (he-line-beg):
1869 * epa.el (epa--marked-keys):
1870 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1871 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1872 (dired-relist-entry):
1873 * buff-menu.el (Buffer-menu-buffer):
1874 * array.el (current-line):
1875 * allout.el (allout-resolve-xref)
1876 (allout-latex-verbatim-quote-curr-line):
1877 Replace yet more uses of end-of-line etc with line-end-position, etc.
1879 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1882 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1883 (checkdoc-syntax-table): Initialize in the declaration.
1884 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1885 the mode on unconditionally.
1887 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1888 (extent-end-position, extent-start-position): Remove setf method for
1889 non-existing functions (bug#7319).
1891 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1894 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1895 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1896 (smie-prec2->grammar): Rename from smie-prec2-levels.
1897 (smie-grammar): Rename from smie-op-levels.
1898 (smie-indent--hanging-p): Rename from smie-hanging-p.
1899 (smie-rule-hanging-p): New alias.
1900 (smie-indent--bolp): Rename from smie-bolp.
1901 (smie-indent--hanging-p): New alias.
1902 (smie--token): New dynamically bound variable.
1903 (smie-indent--parent): New function.
1904 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1905 (smie-rule-next-p): Rename from smie-next-p.
1906 (smie-rule-prev-p): Rename from smie-prev-p.
1907 (smie-rule-sibling-p, smie-rule-parent)
1908 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1909 (smie-rule-separator-outdent): New var.
1910 (smie-indent--rule): Merge with smie-indent--column.
1911 (smie-indent-forward-token, smie-indent-backward-token):
1912 Also recognize close parens.
1913 (smie-indent-keyword): Don't use smie-indent--column any more.
1914 (smie-indent-after-keyword): Ignore closers by default.
1915 (smie-indent-line): Use with-demoted-errors.
1916 * progmodes/octave-mod.el (octave-smie-grammar):
1917 Rename from octave-smie-op-levels.
1918 (octave-smie-rules): Adjust to new behavior.
1919 * progmodes/prolog.el (prolog-smie-grammar):
1920 Rename from prolog-smie-op-levels.
1922 2010-11-07 Glenn Morris <rgm@gnu.org>
1924 * eshell/esh-util.el (subst-char-in-string)
1925 (directory-files-and-attributes): These compatibility definitions are
1926 not needed on any version of Emacs since at least 21.4.
1928 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1929 (verilog-get-end-of-line): Remove.
1930 (verilog-within-string, verilog-re-search-forward-substr)
1931 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1932 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1933 Use point-at-bol, point-at-eol.
1934 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1936 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1937 (electric-pascal-terminate-line, pascal-set-auto-comments)
1938 (pascal-indent-paramlist, pascal-indent-declaration)
1939 (pascal-get-lineup-indent, pascal-func-completion)
1940 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1941 Use point-at-bol, point-at-eol.
1942 * progmodes/flymake.el (flymake-line-beginning-position)
1943 (flymake-line-end-position): Remove.
1944 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1945 * eshell/esh-util.el (line-end-position, line-beginning-position):
1946 Remove compat definitions.
1948 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1950 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1951 Use line-end-position.
1953 * emacs-lisp/chart.el (chart-zap-chars):
1954 * play/decipher.el (decipher-set-map):
1955 * progmodes/ada-mode.el (ada-get-current-indent)
1956 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1957 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1958 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1959 (ada-get-all-references):
1960 * progmodes/cperl-mode.el (cperl-electric-paren)
1961 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1962 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1963 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1964 (cperl-word-at-point-hard):
1965 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1966 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1967 (idlwave-shell-display-line):
1968 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1969 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1970 * progmodes/js.el (js--re-search-forward-inner)
1971 (js--re-search-backward-inner):
1972 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1973 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1974 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1975 * textmodes/flyspell.el (flyspell-process-localwords):
1976 * textmodes/ispell.el (ispell-buffer-local-parsing)
1977 (ispell-buffer-local-dict, ispell-buffer-local-words):
1978 Use point-at-bol and point-at-eol.
1980 * speedbar.el (speedbar-generic-item-info)
1981 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1982 (speedbar-add-indicator, speedbar-check-vc-this-line)
1983 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1984 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1985 Replace more uses of end-of-line etc with line-end-position.
1987 2010-11-06 Glenn Morris <rgm@gnu.org>
1989 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1990 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1991 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1992 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1993 (texinfo-multiple-files-update):
1994 * textmodes/table.el (table--probe-cell-left-up)
1995 (table--probe-cell-right-bottom):
1996 * textmodes/picture.el (picture-tab-search):
1997 * textmodes/page-ext.el (pages-copy-header-and-position)
1998 (pages-directory-for-addresses):
1999 * progmodes/vera-mode.el (vera-get-offset):
2000 * progmodes/simula.el (simula-calculate-indent):
2001 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2002 * progmodes/prolog.el (end-of-prolog-clause):
2003 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2004 * progmodes/icon.el (indent-icon-exp):
2005 * progmodes/etags.el (tag-re-match-p):
2006 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2007 * progmodes/ebnf2ps.el (ebnf-begin-file):
2008 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2009 (dcl-save-local-variable):
2010 * play/life.el (life-setup):
2011 * play/gametree.el (gametree-looking-at-ply):
2012 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2013 * mail/sendmail.el (mail-mode-auto-fill):
2014 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2015 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2016 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2017 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2018 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2019 * type-break.el (type-break-file-keystroke-count):
2020 * term.el (term-replace-by-expanded-history-before-point)
2021 (term-skip-prompt, term-extract-string):
2022 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2023 (speedbar-contract-line, speedbar-toggle-line-expansion)
2024 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2025 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2026 * sort.el (sort-skip-fields):
2027 * skeleton.el (skeleton-internal-list):
2028 * simple.el (line-move-finish, line-move-to-column):
2029 * shell.el (shell-forward-command):
2030 * misc.el (copy-from-above-command):
2031 * makesum.el (double-column):
2032 * ebuff-menu.el (electric-buffer-update-highlight):
2033 * dired.el (dired-move-to-end-of-filename):
2034 * dframe.el (dframe-popup-kludge):
2035 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2036 * arc-mode.el (archive-get-lineno):
2037 Use line-end-position and line-beginning-position.
2039 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2040 (idlwave-study-twins): Prefix dynamic local `class'.
2041 (idlwave-routine-twin-compare): Update for above name change.
2043 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2044 Use boundp tests to silence compiler. Update for changed name of
2045 bytecomp-filename variable.
2047 * emulation/viper-cmd.el (viper-read-string-with-history):
2048 Prefix dynamic local `initial'.
2049 (viper-minibuffer-standard-hook): Update for above name change.
2051 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2052 (elint-init-form): Update for above name change.
2054 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2055 local variables `cbeg' and `cend' a prefix.
2056 (mail-extr-voodoo): Update for above name change.
2058 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2059 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2060 (reftex-toc-promote-action): Doc fix.
2062 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2063 `prompt', `data' a prefix.
2064 (reftex-select-post-command-hook, reftex-select-callback)
2065 (reftex-select-mouse-accept, reftex-select-read-cite):
2066 Update for above name changes.
2068 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2069 `refstyle' to reftex-refstyle.
2070 (reftex-offer-label-menu): Update for above name change.
2071 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2072 `refstyle' name change.
2074 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2075 with with-current-buffer.
2076 (diff, template): Give dynamic local variables a prefix.
2077 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2078 (emerge-line-number-in-buf): Update for above name change.
2079 (emerge-combine-versions-internal): Rename local `template' to
2080 emerge-combine-template.
2081 (emerge-combine-versions-edit): Update for above name change.
2083 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2085 * textmodes/reftex-cite.el
2086 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2087 entries with whitespace after \bibitem.
2088 (reftex-create-bibtex-file): Match entries containing numbers and
2089 symbol constituents. Make sure that entries with whitespace at
2090 various places are found.
2092 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2094 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2096 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2098 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2100 2010-11-05 Glenn Morris <rgm@gnu.org>
2102 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2103 (woman2-roff-buffer): Give local variable `request' a prefix.
2104 (woman0-macro): Rename argument `request' in the same way.
2105 (woman-request): New name for `request' dynamic variable.
2106 (woman-unquote, woman-forward-arg): Update for above name change.
2107 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2108 (woman1-unquote): New name for `unquote' dynamic variable.
2109 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2110 (woman-translations): Rename from `translations'. No longer global.
2111 (woman2-tr, woman-translate): Update for above name change.
2112 (woman-translate): Check for bound variable.
2113 (woman2-roff-buffer): Give local variable `translations' a prefix.
2115 * play/doctor.el: Give all local variables a prefix. Update callers.
2116 (doc$, doctor-put-meaning): Use backquote.
2118 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2119 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2121 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2122 variables bytes, ptr, op a prefix.
2123 (disassemble-offset): Update for above change.
2125 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2127 * emacs-lisp/package.el (package-unpack): Remove no-op.
2128 (package--builtins, package--dir): Doc fix.
2129 (package-activate-1, package-activate, package-install)
2130 (package-compute-transaction): Fix error message.
2131 (package-delete): Use delete-directory. Omit system packages.
2132 (package-initialize): Set package-alist to nil first.
2133 (package-menu-mark-delete, package-menu-mark-install): Don't add
2134 symbols that are inconsistent with the package state.
2135 (package-menu-execute): Perform deletions and installations as
2136 single batch operations.
2138 2010-11-03 Glenn Morris <rgm@gnu.org>
2140 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2141 (props): Remove unnecessary declaration.
2143 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2144 set-process-query-on-exit-flag.
2146 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2147 (reftex-toc-do-promote): Remove unused local `mpos'.
2148 (reftex-toc-restore-region): Make `mpos' local to this function.
2150 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2152 * play/landmark.el (lm-losing-threshold): Correct spelling.
2153 (lm-human-plays): Use new name.
2155 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2156 (gomoku-human-plays): Use new name.
2158 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2159 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2160 (gomoku-score-trans-table, gomoku-winning-threshold)
2161 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2163 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2165 * emacs-lisp/package.el: Don't put built-in packages in
2166 package-alist, to avoid loading inefficiencies.
2167 (package-built-in-p): Make VERSION optional, and treat it as a
2168 minimum acceptable version.
2169 (package-activate): Search separately for built-in packages.
2170 Emit a warning if a dependency fails.
2171 (define-package): Handle most common case, where there is no
2172 obsolete package, first.
2173 (package-compute-transaction): Print required version in error.
2174 (package--initialized): New variable.
2175 (list-packages): Use it.
2176 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2177 built-in packages in packages-alist; keep it separate.
2178 Set package--initialized.
2179 (describe-package): Avoid activating packages as a side-effect.
2180 Search separately for built-in packages.
2181 (describe-package-1): Handle the case where an elpa package is
2182 simultaneously built-in and available/installed.
2183 (package-installed-p, package--generate-package-list):
2184 Search separately for built-in packages.
2185 (package-load-descriptor): Doc fix.
2187 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2190 Handle __DATA__ and __END__.
2192 2010-11-02 Noah Friedman <friedman@splode.com>
2194 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2195 nil, do not ask to recompile files that are not already compiled,
2196 and do not recompile them.
2198 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2200 * emacs-lisp/package.el (package-initialize): Ensure that
2201 obsoleted built-in packages are not in package-activated-list
2203 (describe-package-1): Make the "installed" status override
2206 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2208 * subr.el (version-separator, version-regexp-alist): Remove '*'
2210 (version-list-<=, version<=, version=): Doc fix.
2212 2010-11-01 Kenichi Handa <handa@m17n.org>
2214 * faces.el (glyphless-char): Inherit underline for tty.
2216 2010-11-01 Kenichi Handa <handa@m17n.org>
2218 Implement various display methods for glyphless characters.
2220 * international/characters.el (char-acronym-table): New variable.
2221 (glyphless-char-control): New variable.
2222 (update-glyphless-char-display): New funciton.
2224 * faces.el (glyphless-char): New face.
2226 2010-11-01 Glenn Morris <rgm@gnu.org>
2228 * calendar/holidays.el (general-holidays, oriental-holidays)
2229 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2230 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2231 the definitions of their targets.
2233 * emacs-lisp/smie.el (smie): New custom group.
2234 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2236 * faces.el (xw-defined-colors, x-setup-function-keys):
2237 * mouse-sel.el (x-select-text):
2238 * term/w32console.el (x-setup-function-keys): Update declarations.
2240 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2242 * textmodes/ispell.el (comment-add): Declare.
2244 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2247 * info.el (finder-keywords-hash, package-alist): Declare.
2249 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2251 * finder.el (finder-compile-keywords): Don't use intern-soft,
2252 since package names may not yet exist in the obarray.
2254 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2256 * vc/vc-arch.el (vc-arch-checkin):
2257 * vc/vc-cvs.el (vc-cvs-checkin):
2258 * vc/vc-mtn.el (vc-mtn-checkin):
2259 * vc/vc-rcs.el (vc-rcs-checkin):
2260 * vc/vc-sccs.el (vc-sccs-checkin):
2261 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2262 since 2010-04-21 commit by Stefan Monnier.
2264 2010-11-01 Glenn Morris <rgm@gnu.org>
2266 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2268 * startup.el (package-enable-at-startup, package-initialize):
2271 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2274 2010-10-31 Julien Danjou <julien@danjou.info>
2276 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2277 (byte-recompile-directory):
2278 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2279 Use `byte-recompile-file'.
2281 2010-10-31 Glenn Morris <rgm@gnu.org>
2283 * cus-start.el: Handle standard values via a keyword.
2284 Only set version property if specified.
2285 (cursor-in-non-selected-windows, menu-bar-mode)
2286 (tool-bar-mode, show-trailing-whitespace):
2287 Do not specify standard values.
2288 (transient-mark-mode, temporary-file-directory): Use :standard.
2290 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2292 * term/x-win.el (x-get-selection-value): New function that gets
2293 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2295 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2297 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2298 preserve owner and group when editing files. (Bug#7289)
2300 2010-10-31 Glenn Morris <rgm@gnu.org>
2302 * speedbar.el (speedbar-mode):
2303 * play/fortune.el (fortune-in-buffer, fortune):
2304 * play/gomoku.el (gomoku-mode):
2305 * play/landmark.el (lm-mode):
2306 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2307 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2309 * select.el (x-selection): Mark it as an obsolete alias.
2311 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2313 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2314 major-mode (bug#7284).
2316 2010-10-31 Glenn Morris <rgm@gnu.org>
2318 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2319 rather than just an unused variable that inherits from the real one.
2321 2010-10-31 Alan Mackenzie <acm@muc.de>
2323 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2324 This fixes bug #7185.
2326 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2328 * startup.el (command-line): Search for package directories, and
2329 don't load package.el if none are found.
2331 * emacs-lisp/package.el (describe-package, list-packages):
2332 Call package-initialize if it has not been called yet.
2334 2010-10-30 Alan Mackenzie <acm@muc.de>
2336 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2337 which fontifies the tail of an enum.
2338 (c-basic-matchers-after): Insert a call to the above new function.
2339 This fixes bug #7264.
2341 2010-10-30 Glenn Morris <rgm@gnu.org>
2343 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2344 tool-bar-mode, transient-mark-mode. (Bug#7306)
2345 Include the :set property in the dumped Emacs.
2347 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2349 SMIE: change indent rules format, improve smie-setup.
2350 * emacs-lisp/smie.el (smie-precs-precedence-table)
2351 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2352 Mark them pure so the tables gets built at compile time.
2353 (smie-bnf-precedence-table): Store the closer-alist in the table.
2354 (smie-prec2-levels): Preserve the closer-alist.
2355 (smie-blink-matching-open): Be more forgiving in case of indentation.
2356 (smie-hanging-p): Rename from smie-indent--hanging-p.
2357 (smie-bolp): Rename from smie-indent--bolp.
2358 (smie--parent, smie--after): New dynamic vars.
2359 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2360 (smie-indent-rules): Remove.
2361 (smie-indent--offset-rule): Remove fun.
2362 (smie-rules-function): New var.
2363 (smie-indent--rule): New fun.
2364 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2365 (smie-indent-exps): Use it.
2366 (smie-setup): Setup paren blinking; add keyword args for token
2367 functions; extract closer-alist from op-levels.
2368 (smie-indent-debug-log): Remove var.
2369 (smie-indent-debug): Remove fun.
2370 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2371 (prolog-smie-rules): New fun to replace it.
2372 (prolog-mode-variables): Simplify.
2373 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2374 it's setup automatically.
2375 (octave-smie-indent-rules): Remove.
2376 (octave-smie-rules): New fun to replace it.
2377 (octave-mode): Simplify.
2379 2010-10-29 Glenn Morris <rgm@gnu.org>
2381 * files.el (temporary-file-directory): Remove (already defined in C).
2382 * cus-start.el: Add temporary-file-directory.
2384 * abbrev.el (abbrev-mode):
2385 * composite.el (auto-composition-mode):
2386 * menu-bar.el (menu-bar-mode):
2387 * simple.el (transient-mark-mode):
2388 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2389 that they do not define the associated variables twice.
2390 * simple.el (transient-mark-mode): Remove defvar.
2391 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2392 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2393 Handle multiple groups, and also custom-delayed-init-variables.
2394 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2396 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2398 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2399 (pcase-if): Add one minor optimization.
2400 (pcase-split-equal): Rename from pcase-split-eq.
2401 (pcase-split-member): Rename from pcase-split-memq.
2402 (pcase-u1): Add strings to the member optimization.
2403 Add `guard' variant of predicates.
2404 (pcase-q1): Add string patterns.
2406 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2408 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2410 2010-10-28 Glenn Morris <rgm@gnu.org>
2412 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2413 Move menu-bar related settings to ../menu-bar.el.
2414 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2415 Move ns-specific settings here from term/ns-win.el.
2417 * simple.el (x-selection-owner-p): Remove unused declaration.
2419 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * minibuffer.el (completion-cycling): New var (bug#7266).
2422 (minibuffer-complete, completion--do-completion):
2423 Use completion--flush-all-sorted-completions.
2424 (minibuffer-complete): Only cycle if completion-cycling is set.
2425 (completion--flush-all-sorted-completions): Unset completion-cycling.
2426 (minibuffer-force-complete): Set completion-cycling.
2427 (completion-all-sorted-completions): Move declaration before first use.
2429 2010-10-28 Leo <sdl.web@gmail.com>
2431 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2432 which changes the order of matches seen by users (bug#7231).
2434 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2436 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2437 Don't confuse -omega as "-o mega".
2439 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2442 (log-edit-author): New dynamic var.
2443 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2444 to return the author if different from committer.
2445 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2447 * play/landmark.el: Adjust commenting convention.
2448 (lm-nil-score): Rename from nil-score.
2449 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2450 (OOOOscore): Move into a let in lm-score-trans-table.
2451 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2453 * electric.el (electric-indent-chars): Autoload.
2454 * progmodes/octave-mod.el (octave-mode):
2455 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2456 (ruby-mode-abbrev-table): Merge initialization and declaration.
2458 2010-10-27 Glenn Morris <rgm@gnu.org>
2460 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2463 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2465 * term/ns-win.el: Restore require of cl when compiling.
2466 (menu-bar-final-items): Remove non-existent `windows' menu.
2467 (ns-handle-nxopen): Optionally handle the temp-case.
2468 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2469 (ns-insert-file, ns-find-file): Use `pop'.
2471 2010-10-26 Glenn Morris <rgm@gnu.org>
2473 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2475 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2477 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2479 * term/common-win.el (x-setup-function-keys): Remove most of the
2480 keymappings. Comment on the remaining ones.
2482 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2484 * server.el (server-port): New option. (Bug#854)
2485 (server-start): Use server-port.
2487 2010-10-26 Glenn Morris <rgm@gnu.org>
2489 * term/ns-win.el (ns-version-string): Remove unused declaration.
2490 (ns-invocation-args): Change to x-invocation-args.
2491 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2492 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2493 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2494 Use x-invocation-args instead of ns-invocation-args.
2495 (ns-initialize-window-system, handle-args-function-alist):
2496 Use x-handle-args instead of ns-handle-args.
2497 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2498 * startup.el (command-line-ns-option-alist): Replace
2499 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2500 ns-handle-iconic with the x- equivalents.
2502 * term/common-win.el (x-select-enable-clipboard):
2503 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2505 * term/ns-win.el: No need to require cl when compiling.
2506 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2507 (xw-defined-colors): Use the common-win definitions.
2508 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2509 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2510 * term/common-win.el (x-select-text, x-alternatives-map)
2511 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2512 * loadup.el [ns]: Load common-win.
2514 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2516 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2517 recipients; expand mail aliases (Bug#7280).
2519 2010-10-25 Glenn Morris <rgm@gnu.org>
2521 * term/common-win.el (x-handle-switch): Simplify with pop.
2522 Optionally handle numeric switches.
2523 (x-handle-numeric-switch): Just call x-handle-switch.
2524 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2525 (x-handle-name-switch, x-handle-display, x-handle-args):
2528 * term/ns-win.el: Do not require easymenu.
2529 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2530 <spell>: Move adjustments to menu-bar.el.
2531 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2532 <separator-undo, spell>: Move ns-win's adjustments here.
2533 * loadup.el [ns]: Do not load easymenu.
2535 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2537 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2540 * startup.el (fancy-startup-tail): Instead of using inline images,
2541 refer to image files from etc/.
2543 * wid-edit.el (checkbox): Likewise.
2544 (widget-image-find): Center image specs.
2546 2010-10-24 Glenn Morris <rgm@gnu.org>
2548 * term/ns-win.el (x-select-text): Doc fix.
2549 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2550 (x-select-text): Move to term/common-win.
2551 * term/w32-win.el (xw-defined-colors): Move to common-win.
2552 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2553 (x-setup-function-keys, x-select-text): Move to common-win.
2554 * term/common-win.el (x-select-text, x-alternatives-map)
2555 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2558 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2560 * net/mairix.el (mairix-searches-mode-map):
2561 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2563 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2565 * verilog-mode.el (verilog-directive-re): Make this variable
2566 auto-built for efficiency of execution and updating.
2567 (verilog-extended-complete-re): Support 'pure' fucntion & task
2568 declarations (these have no bodies).
2569 (verilog-beg-of-statement): General cleanup to enable support of
2570 'pure' fucntion & task declarations (these have no bodies).
2571 These efforts together fix Verilog bug210 from veripool; which was also
2572 noticed by Steve Pearlmutter.
2573 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2574 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2575 Support `elsif. Reported by Shankar Giri.
2576 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2577 attribute handling for lining up declarations and assignments.
2578 (verilog-beg-of-statement-1): Fix issue where continued declaration
2579 is indented differently if it is after a begin..end clock.
2580 (verilog-in-attribute-p, verilog-skip-backward-comments)
2581 (verilog-skip-forward-comment-p): Support proper treatment of
2582 attributes by indent code. Reported by Jeff Steele.
2583 (verilog-in-directive-p): Fix comment to correctly describe function.
2584 (verilog-backward-up-list, verilog-in-struct-region-p)
2585 (verilog-backward-token, verilog-in-struct-p)
2586 (verilog-in-coverage-p, verilog-do-indent)
2587 (verilog-pretty-declarations): Use verilog-backward-up-list as
2588 wrapper around backward-up-list inorder to properly skip comments.
2589 Reported by David Rogoff.
2590 (verilog-property-re, verilog-endcomment-reason-re)
2591 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2592 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2593 of if). Reported by Max Bjurling and
2594 (verilog-calc-1): Fix for clocking block in modport
2595 declaration. Reported by Brian Hunter.
2597 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2599 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2600 (verilog-gate-keywords, verilog-read-sub-decls)
2601 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2602 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2603 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2604 (verilog-read-decls): Fix spaces in V2K module parameters causing
2605 mis-identification as interfaces, bug287.
2606 (verilog-read-decls): Fix not treating "parameter string" as a
2607 parameter in AUTOINSTPARAM.
2608 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2609 treating `elsif similar to `endif inside AUTOSENSE.
2610 (verilog-do-indent): Implement correct automatic or static task or
2611 function end comment highlight. Reported by Steve Pearlmutter.
2612 (verilog-font-lock-keywords-2): Fix highlighting of single
2613 character pins, bug264. Reported by Michael Laajanen.
2614 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2615 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2616 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2617 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2618 (verilog-pretty-expr): Fix interactive arguments, bug272.
2619 Reported by Mark Johnson.
2620 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2621 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2622 bug269. Suggested by Gary Delp.
2623 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2624 (verilog-preprocessor, verilog-set-compile-command):
2625 Create verilog-preprocess and verilog-preprocessor to show
2626 preprocessed output.
2627 (verilog-get-beg-of-line, verilog-get-end-of-line)
2628 (verilog-modi-file-or-buffer, verilog-modi-name)
2629 (verilog-modi-point, verilog-within-string): Move defmacro's
2630 before first use to avoid warning. Reported by Steve Pearlmutter.
2631 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2632 (verilog-colorize-region, verilog-highlight-buffer)
2633 (verilog-highlight-includes, verilog-highlight-modules)
2634 (verilog-highlight-region, verilog-mode): Rename colorize to
2635 highlight to match other packages. Disable module highlighting,
2636 as received speed complaints, reenable for experimentation only
2637 using new verilog-highlight-modules.
2638 (verilog-read-decls): Fix regexp stack overflow in very large
2639 AUTO_TEMPLATEs, bug250.
2640 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2641 (verilog-scan): Create verilog-save-buffer-state to standardize
2642 making insignificant changes that shouldn't call hooks.
2643 (verilog-save-no-change-functions, verilog-save-scan-cache)
2644 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2645 Create verilog-save-no-change-functions to wrap verilog-scan
2646 preservation, and fix to work with nested preserved calls.
2647 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2648 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2649 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2650 (verilog-submit-bug-report): Update variable list to be complete.
2651 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2652 breaking on-the-fly font-locking.
2653 (verilog-colorize-buffer, verilog-colorize-include-files)
2654 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2655 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2656 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2657 AUTOINST cell instance name, middle mouse button now finds-file on
2658 it. Suggested by Brad Dobbie.
2659 (verilog-alw-get-temps, verilog-auto-reset)
2660 (verilog-auto-sense-sigs, verilog-read-always-signals)
2661 (verilog-read-always-signals-recurse): Fix loop indexes being
2662 AUTORESET. AUTORESET now assumes any variables in the
2663 initialization section of a for() should be ignored.
2664 Reported by Dan Dever.
2665 (verilog-error-font-lock-keywords)
2666 (verilog-error-regexp-emacs-alist)
2667 (verilog-error-regexp-xemacs-alist): Fix error detection of
2668 Cadence HAL, reported by David Asher. Repair drift between the
2669 three similar error variables.
2670 (verilog-modi-lookup, verilog-modi-lookup-cache)
2671 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2672 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2673 Fix slow verilog-auto expansion on very large files.
2674 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2675 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2676 "{1*2{...". Broke in last revision.
2677 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2678 submodule connections with replications "{#{a},#{b}}".
2680 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2682 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2683 Fix typo in docstring.
2685 2010-10-24 Kenichi Handa <handa@m17n.org>
2687 * face-remap.el (text-scale-adjust): Call read-event with a proper
2690 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2692 * emacs-lisp/unsafep.el: Don't mark functions that display
2693 messages as safe. Suggested by Johan Bockgård.
2695 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2698 Turn comments into docstrings.
2700 * minibuffer.el (completion--replace): Move point where it belongs
2701 when there's a common suffix (bug#7215).
2703 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2705 Merge read-color and facemenu-read-color (Bug#7242).
2707 * faces.el (read-color): Use the completion code from
2708 facemenu-read-color. Require match in completion. Doc fix.
2710 * facemenu.el (facemenu-read-color): Alias for read-color.
2711 (facemenu-set-foreground, facemenu-set-background):
2714 * frame.el (set-background-color, set-foreground-color)
2715 (set-cursor-color, set-mouse-color, set-border-color):
2718 2010-10-24 Leo <sdl.web@gmail.com>
2720 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2721 argument of delete-file and delete-directory (Bug#7011).
2723 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2725 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2728 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2730 * emacs-lisp/package.el (package--generate-package-list): Make the
2731 *Packages* buffer read-only.
2733 2010-10-24 Alan Mackenzie <acm@muc.de>
2735 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2736 result of `c-beginning-of-decl-1' between invocations of a lambda
2737 function (Bug #7265).
2739 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2741 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2742 executable is not available on the system (Bug#7268).
2744 2010-10-24 Glenn Morris <rgm@gnu.org>
2746 * select.el (selection-coding-system, next-selection-coding-system):
2747 Sync doc with C versions.
2749 * w32-vars.el (x-select-enable-clipboard):
2750 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2751 * term/common-win.el (x-select-enable-clipboard): Move here.
2753 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2754 definition of C variable.
2756 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2757 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2758 Don't redefine things that are defined in C.
2759 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2760 (show-trailing-whitespace, auto-hscroll-mode)
2761 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2762 Set up the appropriate custom properties.
2764 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2767 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2768 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2769 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2770 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2772 2010-10-23 Glenn Morris <rgm@gnu.org>
2774 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2777 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2778 Sync docs with C version.
2780 * term/ns-win.el (xw-defined-colors):
2781 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2783 * term/pc-win.el (x-select-enable-clipboard):
2784 * term/x-win.el (x-select-enable-clipboard):
2785 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2787 * comint.el (comint-password-prompt-regexp): Make it less vague.
2790 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2792 * help.el (finder-by-keyword): Remove unnecessary autoload.
2794 2010-10-22 Glenn Morris <rgm@gnu.org>
2796 * loadup.el: Unconditionally load float-sup.
2797 * paren.el (show-paren-delay):
2798 * emacs-lisp/float-sup.el:
2799 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2800 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2801 (lazy-lock-stealth-verbose): Assume float support.
2802 * ps-print.el: Assume float support on Emacs.
2803 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2804 Remove non-float branch.
2806 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2807 src/Makefile no longer being pre-processed.
2809 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * emacs-lisp/find-func.el (find-library): Use test-completion.
2813 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2815 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2817 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2819 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2820 space in stat format string.
2821 (tramp-send-command): Unset $PS1 when using here documents, in
2822 order not to get several prompts.
2823 (tramp-get-inline-coding): Return `nil' in case of errors.
2825 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2827 * hexl.el (hexl-mode, hexl-mode-exit):
2828 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2829 (hexl-revert-buffer-function): New function.
2830 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2832 2010-10-19 Alan Mackenzie <acm@muc.de>
2834 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2835 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2836 that these keywords aren't wrongly matched as identifiers.
2838 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2839 setting of c-new-BEG and c-new-END from c-before-change to
2840 c-after-change. (Bug#7181)
2842 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2844 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2847 * custom.el (custom-theme-set-variables): Likewise.
2848 (load-theme): Add custom-theme-set-faces and
2849 custom-theme-set-variables to safe-functions while loading.
2850 (custom-enabled-themes): Mark as risky.
2852 2010-10-18 Julien Danjou <julien@danjou.info>
2854 * bindings.el: Remove end dashes in default mode-line-format.
2856 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2858 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2859 to delete-forward-char.
2861 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2862 deletechar, and hence delete-forward-char.
2864 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * repeat.el (repeat): Use read-key (bug#6256).
2868 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2870 * emacs-lisp/unsafep.el: Don't mark functions that display
2871 messages as safe. Suggested by Johan Bockgård.
2873 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * minibuffer.el (completion--replace): Move point where it belongs
2876 when there's a common suffix (bug#7215).
2878 2010-10-19 Kenichi Handa <handa@m17n.org>
2880 * international/characters.el: Add category '|' (word breakable)
2881 to fullwidth characters.
2883 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2885 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2886 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2887 order to make stat results a float. Patch by Andreas Schwab
2888 <schwab@linux-m68k.org>.
2890 2010-10-18 Julien Danjou <julien@danjou.info>
2892 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2893 hidden by `make-pointer-invisible'.
2895 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * files.el (locate-file-completion-table): Strip non-matching elements
2898 before checking length of list (bug#7238).
2900 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2902 * custom.el (custom-theme-set-variables): Mark as a safe function.
2903 (load-theme): Check forms using unsafep.
2905 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2907 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2909 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2910 Fix aspell data file searching (bug#7230).
2912 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2914 * cus-theme.el (custom-theme--migrate-settings): New var.
2915 (customize-create-theme): Allow editing the `user' theme.
2916 (custom-theme-add-variable, custom-theme-add-var-1)
2917 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2918 to the front of each variable or face widget.
2919 (custom-theme-write): Save theme settings in the correct order.
2920 Optionally, remove saved settings from user customizations.
2921 (custom-theme-write-variables, custom-theme-write-faces):
2922 Save only the checked widgets.
2923 (customize-themes): Add a link for migrating custom settings.
2925 * custom.el (custom-declare-theme, provide-theme):
2926 Use custom-theme-name-valid-p.
2927 (custom-theme-name-valid-p): Remove checks that are now
2928 unnecessary since themes no longer obey load-path.
2930 * cus-edit.el (custom-variable-value-create): For the simple
2931 style, hide documentation string when hidden.
2933 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2935 * cus-edit.el (custom-variable, custom-face): Combine the
2936 :inhibit-magic and :display-style properties into a single
2937 :custom-style property.
2938 (custom-toggle-hide-variable, custom-toggle-hide-face):
2939 New functions. If hiding an edited value, save it to :shown-value.
2940 (custom-variable-value-create, custom-face-value-create): Use them.
2941 (custom-magic-reset): Allow magic property to be unset.
2943 * custom.el: Custom themes no longer use load-path.
2944 (custom-theme-load-path): New option. Change built-in theme
2946 (custom-enabled-themes): Add custom-theme-load-path dependency.
2947 (custom-theme--load-path): New function.
2948 (load-theme, custom-available-themes): Use it.
2950 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2951 (customize-themes): Link to custom-theme-load-path variable.
2952 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2953 :custom-style property.
2955 * themes/*.el: Moved to etc/.
2957 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2959 * textmodes/reftex-cite.el
2960 (reftex-extract-bib-entries-from-thebibliography): Do not move
2961 point when searching for \bibitem entries. Match entries with
2962 spaces or tabs in front of arguments.
2964 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2966 * cus-theme.el (customize-create-theme): Delete overlays after
2967 erasing. If given a THEME arg, display only the faces of that arg
2968 instead of custom-theme--listed-faces.
2969 (custom-theme-variable-menu, custom-theme-variable-action)
2970 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2971 (custom-theme-add-variable, custom-theme-add-face): Apply value
2972 from the theme settings, instead of the current value.
2973 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2974 (custom-theme-visit-theme): Allow calling outside theme buffers.
2975 (custom-theme-merge-theme): Don't enable the theme when merging.
2976 (custom-theme-write-variables, custom-theme-write-faces): Use the
2977 :shown-value properties to save buffer values, not global ones.
2978 (customize-themes): Display a warning about user customizations.
2980 * cus-edit.el (custom-variable-value-create)
2981 (custom-face-value-create): Obey new special properties
2982 :shown-value and :inhibit-magic.
2984 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2986 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2987 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2990 2010-10-14 Kenichi Handa <handa@m17n.org>
2992 * mail/rmail.el (rmail-show-message-1): Catch an error of
2993 base64-decode-region and just show an error message (bug#7165).
2995 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2996 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2997 a font-spec (bug#7197).
2999 2010-10-14 Glenn Morris <rgm@gnu.org>
3001 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3003 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3005 * international/mule.el (define-coding-system):
3006 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3007 * composite.el (compose-region): Fix typo in docstring.
3009 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3011 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3012 only after checking the theme-face property.
3014 * faces.el (face-spec-reset-face): Reset all attributes in one
3015 single call to set-face-attribute.
3016 (face-spec-match-p): Make it a defsubst.
3017 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3018 (x-create-frame-with-faces, tty-create-frame-with-faces)
3019 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3020 frame-set-background-mode, since they are recomputed immediately
3021 afterwards in face-set-after-frame-default.
3022 (face-set-after-frame-default): Minor optimization.
3023 (cursor): Provide non-trivial defface spec.
3025 * custom.el (custom-theme-recalc-face): Simplify.
3027 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3029 * calc/calc-alg.el (math-var): Rename from `var'.
3030 (math-is-polynomial, math-is-poly-rec): Replace `var'
3033 * calc/calcalg2.el (math-var): Rename from `var'.
3034 (calcFunc-table, math-scan-for-limits): Replace `var'
3037 2010-10-13 Glenn Morris <rgm@gnu.org>
3039 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3041 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3043 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3045 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3047 * net/tls.el (tls-program): Remove spurious %s from openssl.
3048 (tls-starttls-switches): Remove starttls hack.
3049 (open-tls-stream): Ditto.
3050 (tls-find-starttls-argument): Ditto.
3052 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3054 * image.el (image-library-alist): Declare as obsolete alias.
3055 (image-type-available-p): Use `dynamic-library-alist'.
3057 * term/w32-win.el (dynamic-library-alist):
3058 Use instead of `image-library-alist'.
3060 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3062 * subr.el (last): Make it faster. (Bug#7174)
3064 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3066 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3068 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3070 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3071 (describe-theme-1): Extract doc from unloaded themes.
3073 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3075 * themes/tango-theme.el:
3076 * themes/tango-dark-theme.el:
3077 * themes/wheatgrass-theme.el: New files.
3079 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3081 * cus-theme.el (describe-theme, customize-themes)
3082 (custom-theme-save): New commands.
3083 (custom-new-theme-mode-map): Bind C-x C-s.
3084 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3085 (customize-create-theme): New optional arg THEME.
3086 (custom-theme-revert): Use it.
3087 (custom-theme-visit-theme): Remove dead code.
3088 (custom-theme-merge-theme): Use custom-available-themes.
3089 (custom-theme-write): Make interactive.
3090 (custom-theme-write): Use custom-theme-name-valid-p.
3091 (describe-theme-1, custom-theme-choose-revert)
3092 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3094 (custom-theme-allow-multiple-selections): New option.
3095 (custom-theme-choose-mode): New major mode.
3097 * custom.el (custom-theme-set-variables): Remove dead code.
3098 Obey custom--inhibit-theme-enable.
3099 (custom--inhibit-theme-enable): New var.
3100 (provide-theme): Obey it.
3101 (load-theme): Replace load with manual read/eval, in order to
3102 check for correctness. Use custom-theme-name-valid-p.
3103 (custom-theme-name-valid-p): New function.
3104 (custom-available-themes): Use it.
3106 * cus-edit.el (custom--initialize-widget-variables): New function.
3107 (Custom-mode): Use it.
3109 * cus-face.el (custom-theme-set-faces): Remove dead code.
3110 Obey custom--inhibit-theme-enable.
3112 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3114 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3116 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3118 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3120 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3121 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3122 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3124 * cus-start.el (all): ns-right-alternate-modifier is new.
3126 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3128 * emacs-lisp/lisp.el (lisp-completion-at-point):
3129 Use emacs-lisp-mode-syntax-table for the whole function.
3131 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3133 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3134 instead of font-lock-mode before adding keywords.
3135 Remove hi-lock-mode off code. Remove inhibit hack.
3136 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3137 non-nil; removed hook inhibit hack.
3139 2010-10-12 Glenn Morris <rgm@gnu.org>
3141 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3142 (load-path-shadows-find): ... to this.
3143 (list-load-path-shadows): Update for above change.
3145 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3147 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3149 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3150 Fix comment for declare-function.
3152 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3154 * custom.el (custom-fix-face-spec): New function; code moved from
3155 custom-face-edit-fix-value.
3156 (custom-push-theme): Use it when checking if a face has been
3157 changed outside customize.
3158 (custom-available-themes): New function.
3159 (load-theme): Use it.
3161 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3163 * custom.el (custom-push-theme): Cleanup (use cond).
3164 (disable-theme): Recompute the saved-face property.
3165 (custom-theme-recalc-face): Follow face alias before setting prop.
3167 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3168 New variables, containing checkbox images.
3170 * startup.el (fancy-startup-tail):
3171 * wid-edit.el (checkbox): Use them.
3173 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3175 * shell.el (shell-mode-map):
3176 * progmodes/modula2.el (m2-mode-map):
3177 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3178 * play/mpuz.el (mpuz-mode-map):
3179 * play/landmark.el (lm-mode-map):
3180 * play/decipher.el (decipher-mode-map):
3181 * play/5x5.el (5x5-mode-map):
3182 * net/telnet.el (telnet-mode-map):
3183 * net/quickurl.el (quickurl-list-mode-map):
3184 * net/mairix.el (mairix-searches-mode-map):
3185 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3186 * net/dig.el (dig-mode-map):
3187 * mail/mspools.el (mspools-mode-map):
3188 * hexl.el (hexl-mode-map):
3189 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3190 (wordstar-C-o-map, wordstar-C-q-map):
3191 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3192 * emacs-lisp/chart.el (chart-map):
3193 * edmacro.el (edmacro-mode-map):
3194 * erc/erc-list.el (erc-list-menu-mode-map):
3195 * array.el (array-mode-map): Declare and define in one step.
3197 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3199 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3201 * epa.el (epa-passphrase-callback-function): Display filename
3202 passed as the 3rd arg.
3203 * epa-file.el (epa-file-passphrase-callback-function):
3204 Pass filename to epa-passphrase-callback-function.
3206 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3208 * cus-edit.el (custom-face-widget-to-spec)
3209 (custom-face-get-current-spec, custom-face-state): New functions.
3210 (custom-face-set, custom-face-mark-to-save)
3211 (custom-face-value-create, custom-face-state-set): Use them.
3213 * cus-theme.el (custom-theme--listed-faces): New var.
3214 (customize-create-theme): Use *Custom Theme* as the buffer name.
3215 Set revert-buffer-function. Optional arg BUFFER. Insert all
3216 faces listed in custom-theme--listed-faces.
3217 (custom-theme-revert): New function.
3218 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3220 (custom-theme-write): Prompt for theme name if empty.
3221 (custom-theme-write-variables): Use dolist.
3222 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3224 2010-10-09 Alan Mackenzie <acm@muc.de>
3226 Enhance fontification of declarators to take account of the
3227 presence/absence of "typedef".
3229 * cc-engine.el (c-forward-type): New &optional param
3231 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3232 presence of either or both of a "struct"-like keyword and "typedef".
3234 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3235 fontification of declarators which follow a "}".
3236 (c-font-lock-declarations): Fontify declarators according to the
3237 presence/absence of "typedef".
3239 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3241 (c-typedef-decl-key): New lang variable built from
3242 c-typedef-decl-kwds.
3244 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3246 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3247 since that's too annoying. Move the filter groups commands to
3250 * epa.el (epa-passphrase-callback-function): Say what we're
3251 querying the password for.
3253 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3254 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3256 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3258 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3259 (custom-magic-value-create): Pad button tags with spaces.
3260 (custom-face-edit): New variable.
3261 (custom-face-value-create): Determine whether to use the usual
3262 face editor here, instead of using custom-face-selected.
3263 Pass face defaults to custom-face-edit widget.
3264 (custom-face-selected, custom-display-unselected): Delete widgets.
3265 (custom-display-unselected-match): Function removed.
3266 (custom-face-set, custom-face-mark-to-save):
3267 Accept custom-face-edit widgets as the direct widget child.
3269 * wid-edit.el (widget--completing-widget): New var.
3270 (widget-default-complete): Bind it when doing completion.
3271 (widget-string-complete, widget-file-complete): Use it.
3273 2010-10-09 Glenn Morris <rgm@gnu.org>
3275 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3276 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3277 (holiday-hebrew-misc): Small simplifications.
3279 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3281 * net/browse-url.el: Don't require thingatpt, term, dired,
3282 executable, or w3-auto when compiling.
3283 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3285 (browse-url-text-emacs): Require term.
3287 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3289 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3291 2010-10-08 Glenn Morris <rgm@gnu.org>
3293 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3295 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3296 (shadows-compare-text-p): Make it an obsolete alias for...
3297 (load-path-shadows-compare-text): ... new name.
3298 (find-emacs-lisp-shadows): Update for above name change.
3299 (load-path-shadows-same-file-or-nonexistent): New name for the old
3300 shadow-same-file-or-nonexistent.
3302 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3304 * minibuffer.el (completion--some, completion--do-completion)
3305 (minibuffer-complete-and-exit, minibuffer-completion-help)
3306 (completion-basic-try-completion)
3307 (completion-basic-all-completions)
3308 (completion-pcm--find-all-completions): Use lexical-let to
3309 avoid some false matches in variable completion (Bug#7056)
3311 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3313 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3315 2010-10-08 Leo <sdl.web@gmail.com>
3317 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3318 return non-nil if the file exists (Bug#7090).
3320 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * minibuffer.el (completion--replace):
3323 Better preserve markers (bug#7138).
3325 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3327 * server.el (server-process-filter): Doc fix.
3329 2010-10-08 Drew Adams <drew.adams@oracle.com>
3331 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3333 2010-10-08 Glenn Morris <rgm@gnu.org>
3335 * vc/ediff-wind.el (ediff-setup-control-frame):
3336 * vc/ediff-ptch.el (ediff-default-backup-extension):
3337 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3338 (ediff-exec-process): Remove system-types emx, windows-95.
3340 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3342 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3344 * cus-edit.el (custom-variable, custom-face): Doc fix.
3345 (custom-face-edit): Add value-create attribute.
3346 (custom-face-edit-value-create)
3347 (custom-face-edit-value-visibility-action): New functions.
3348 Hide unused face attributes by default, and add a visibility toggle.
3349 (custom-face-edit-deactivate): Show empty values with shadow face.
3350 (custom-face-selected): Only use this for face specs with default
3352 (custom-face-value-create): Cleanup.
3354 * wid-edit.el (widget-checklist-value-create): Use dolist.
3355 (widget-checklist-match-find): Make second arg optional.
3357 2010-10-07 Glenn Morris <rgm@gnu.org>
3359 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3362 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3363 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3364 load-path-shadows-mode, update references.
3365 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3366 Rename variable and button.
3367 (list-load-path-shadows): Update button caller.
3369 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3372 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3373 (smie-merge-prec2s): Handle those new entries.
3374 (smie-prec2-levels): Only set precedence to nil for actual
3376 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3377 that is now unnecessary.
3379 2010-10-07 Miles Bader <miles@gnu.org>
3381 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3383 2010-10-07 Glenn Morris <rgm@gnu.org>
3385 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3386 (mail-position-on-field): Remove declarations.
3387 (mail-position-on-field): Autoload it.
3388 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3389 and mail-header-end. Don't require sendmail.
3391 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3392 (shadow-mode): New mode.
3393 (shadow-find-file): New button.
3394 (list-load-path-shadows): Use shadow-mode and buttons.
3396 * iimage.el (iimage-version): Remove.
3397 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3398 Turn into defcustoms.
3399 (iimage-mode-map): Give it a doc string.
3401 * calendar/appt.el (appt-activate): Give a warning rather than an error
3402 if there is no diary-file.
3404 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3406 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3407 Use `tramp-handle-find-backup-file-name'.
3409 2010-10-06 Glenn Morris <rgm@gnu.org>
3411 * font-core.el (font-lock-defaults-alist): Remove variable.
3412 (font-lock-mode): Doc fix.
3413 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3414 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3415 (font-lock-set-defaults): Doc fix.
3416 Do not consult font-lock-defaults-alist.
3418 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3420 * emacs-lisp/cl.el: No longer provide cl-19.
3422 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3424 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3425 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3426 New defuns, taken from tramp-smb.el.
3427 (tramp-coding-system-change-eol-conversion)
3428 (tramp-set-process-query-on-exit-flag): Remove.
3430 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3431 (tramp-compat-coding-system-change-eol-conversion)
3432 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3435 * net/tramp-gvfs.el:
3436 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3437 by `tramp-compat-set-process-query-on-exit-flag'.
3439 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3440 Use `tramp-handle-directory-files-and-attributes',
3441 `tramp-handle-file-exists-p' and
3442 `tramp-handle-file-newer-than-file-p'.
3443 (tramp-imap-handle-file-exists-p)
3444 (tramp-imap-handle-file-executable-p)
3445 (tramp-imap-handle-file-readable-p)
3446 (tramp-imap-handle-directory-files-and-attributes)
3447 (tramp-imap-handle-file-newer-than-file-p): Remove.
3449 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3450 by `tramp-compat-set-process-query-on-exit-flag' and
3451 `tramp-coding-system-change-eol-conversion' by
3452 `tramp-compat-coding-system-change-eol-conversion'.
3454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3455 Use `tramp-handle-directory-files-and-attributes',
3456 `tramp-handle-file-exists-p' and
3457 `tramp-handle-file-newer-than-file-p'.
3458 (tramp-smb-handle-directory-files-and-attributes)
3459 (tramp-smb-handle-file-exists-p)
3460 (tramp-smb-handle-file-newer-than-file-p): Remove.
3461 (tramp-smb-maybe-open-connection):
3462 Replace `tramp-set-process-query-on-exit-flag' by
3463 `tramp-compat-set-process-query-on-exit-flag'.
3465 2010-10-05 Glenn Morris <rgm@gnu.org>
3467 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3469 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3471 Continue reorganization of load dependencies. (Bug#7156)
3473 * net/tramp.el (tramp-handle-file-local-copy-hook)
3474 (tramp-delete-temp-file-function): Move down.
3475 (tramp-exists-file-name-handler): Move up.
3476 (tramp-register-file-name-handlers): Simplify autoload.
3477 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3478 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3479 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3480 (tramp-handle-file-name-completion)
3481 (tramp-handle-file-name-directory)
3482 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3483 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3484 (tramp-handle-find-backup-file-name)
3485 (tramp-handle-insert-file-contents, tramp-handle-load)
3486 (tramp-handle-substitute-in-file-name)
3487 (tramp-handle-unhandled-file-name-directory)
3488 (tramp-mode-string-to-int, tramp-local-host-p)
3489 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3491 * net/tramp-gvfs.el (top):
3492 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3494 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3495 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3497 2010-10-04 Glenn Morris <rgm@gnu.org>
3499 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3500 (appt-activate): Give status messages.
3502 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3504 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3505 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3506 `gnutls-negotiate' (formerly `starttls-negotiate').
3507 Remove trivial wrapper `starttls-open-stream'.
3509 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3511 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3512 log-outgoing commands.
3513 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3514 to create a buffer local revert-buffer-function variable.
3515 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3516 revert-buffer-function lambda.
3518 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3520 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3521 `gnutls-boot'. Make TYPE the only required parameter.
3522 Allow TRUSTFILES and KEYFILES to be lists.
3523 (open-ssl-stream): Use it.
3525 2010-10-03 Glenn Morris <rgm@gnu.org>
3527 * subr.el (directory-sep-char): Remove obsolete variable.
3528 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3531 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3532 * vc/vc.el (vc-static-header-alist): Doc fix.
3533 * vc/vc-cvs.el (vc-cvs-header):
3534 * vc/vc-rcs.el (vc-rcs-header):
3535 * vc/vc-sccs.el (vc-sccs-header):
3536 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3537 * obsolete/vc-mcvs.el (vc-mcvs-header):
3538 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3541 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3543 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3544 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3546 2010-10-03 Glenn Morris <rgm@gnu.org>
3548 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3550 * textmodes/rst.el (rst-font-lock-keywords-function):
3553 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3555 * printing.el: Drop Emacs 20 code.
3557 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3558 without having used appt.el already).
3560 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3561 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3562 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3564 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3565 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3567 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3568 (charset-width, find-charset-region, chars-in-region, forward-point)
3569 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3570 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3571 Remove compatibility cruft (none of these are used by ps*.el).
3573 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3575 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3577 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3579 * server.el (server-process-filter, server-return-error):
3580 Give emacsclient time to shut down after receiving an error string.
3582 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3584 * files.el (remote-file-name-inhibit-cache): New defcustom.
3586 * time.el (display-time-file-nonempty-p):
3587 Use `remote-file-name-inhibit-cache'.
3589 * net/tramp.el (tramp-completion-reread-directory-timeout):
3592 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3593 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3594 `remote-file-name-inhibit-cache'. Check also for an integer
3595 value. Add/increase counter when `tramp-verbose' >= 10.
3596 (tramp-set-file-property): Add/increase counter when
3597 `tramp-verbose' >= 10.
3599 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3600 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3601 (tramp-bug): Set tramp-autoload cookie. Report all interned
3602 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3603 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3604 characters only in strings.
3606 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3607 to backward compatibility.
3609 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3610 (tramp-handle-file-name-all-completions)
3611 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3612 (tramp-open-connection-setup-interactive-shell):
3613 Call `tramp-cleanup-connection' directly.
3615 2010-10-02 Glenn Morris <rgm@gnu.org>
3617 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3619 * subr.el (char-bytes): Remove obsolete function.
3621 * isearch.el (isearch-return-char): Remove obsolete function.
3623 * mouse.el: No longer provide mldrag.
3624 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3625 Remove obsolete aliases.
3627 * comint.el (comint-kill-output): Remove obsolete alias.
3629 * composite.el (decompose-composite-char): Remove obsolete function.
3630 * ps-def.el (decompose-composite-char): Remove unused function.
3632 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3634 * outline.el (outline-visible): Remove obsolete function.
3636 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3637 * faces.el (internal-find-face, internal-get-face)
3638 (frame-update-faces, frame-update-face-colors)
3639 (x-frob-font-weight, x-frob-font-slant)
3640 (internal-frob-font-weight, internal-frob-font-slant)
3641 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3642 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3643 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3645 * emulation/viper-util.el (viper-get-face):
3646 * obsolete/lucid.el (find-face, get-face): Use facep.
3647 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3648 Remove unused functions.
3649 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3651 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3652 delete tempfile if interrupted during compilation.
3654 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3656 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3658 (tls-program): Add --insecure to be consistent with the defaults from
3659 openssl s_client. Now all three commands are insecure.
3661 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3663 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3664 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3665 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3667 2010-10-01 Glenn Morris <rgm@gnu.org>
3669 * obsolete/sc.el: Remove file.
3671 * files.el (temporary-file-directory): On darwin, also try
3672 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3674 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3676 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3677 Let's not break compatibility gratuitously, shall we?
3679 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3681 * net/tls.el (tls-starttls-switches): New variable.
3682 (tls-find-starttls-argument): Use it.
3683 (open-tls-stream): Ditto.
3685 * net/netrc.el (netrc-credentials): Return the value of the "default"
3687 (netrc-machine): Ditto.
3689 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3691 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3693 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3695 * server.el (server-start): Don't write pid to the authentication file.
3696 (server-create-tty-frame): Don't send pid.
3697 (server-process-filter): Send pid at the start of every connection.
3699 2010-09-30 Glenn Morris <rgm@gnu.org>
3701 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3702 (show-all-diary-entries): Remove obsolete function aliases.
3704 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3705 Remove options, obsolete since 22.1.
3706 (appt-display-format, appt-display-message):
3707 Remove backwards-compatibility code.
3708 (appt-check): No longer check appt-issue-message.
3709 (appt-make-list): No longer autoload it. Doc fix. No longer
3710 activate the package.
3712 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3714 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3715 (starttls-negotiate): Just call boot, and let the handshake be
3716 triggered from the read loop.
3718 2010-09-29 Glenn Morris <rgm@gnu.org>
3720 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3721 not displaying the diary.
3722 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3723 * calendar/appt.el (appt-check): No longer need to kill diary.
3725 * calendar/diary-lib.el (diary-list-entries): Move the
3726 "Preparing..." message entirely here.
3727 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3728 messages to diary-list-entries.
3729 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3730 diary-display-function.
3732 * calendar/diary-lib.el (diary-include-other-diary-files):
3733 Trap some recursive includes.
3735 * calendar/appt.el (appt-activate): Check diary file.
3737 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3739 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3742 * calendar/time-date.el: No need to require cl for Emacs 21.
3744 2010-09-28 Glenn Morris <rgm@gnu.org>
3746 * calendar/appt.el (appt-check): Minor simplification.
3748 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3750 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3753 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3755 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3756 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3758 2010-09-27 Kenichi Handa <handa@m17n.org>
3760 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3763 2010-09-27 Kenichi Handa <handa@m17n.org>
3765 * international/mule.el (define-coding-system): Docstring fixed.
3767 * international/mule-diag.el (describe-character-set): Use princ
3768 with proper print-length and print-level instead of insert.
3770 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3772 * window.el (walk-windows): Doc fix (bug#7105).
3774 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3776 * emacs-lisp/float-sup.el (e): Remove.
3778 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3780 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3782 (starttls-negotiate): Use it.
3784 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3786 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3789 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3793 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3795 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3797 * net/netrc.el (netrc-store-data): New function.
3799 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3801 * net/gnutls.el: GnuTLS glue code to set up a connection.
3803 2010-09-25 Julien Danjou <julien@danjou.info>
3805 * notifications.el: Call dbus-register-signal only if it is bound.
3807 2010-09-25 Glenn Morris <rgm@gnu.org>
3809 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3810 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3811 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3812 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3813 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3814 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3815 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3816 * eshell/esh-util.el, eshell/esh-var.el:
3817 Remove leading `*' from docs of faces and defcustoms.
3819 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3821 * eshell/em-ls.el (eshell-ls-archive-regexp):
3822 * eshell/esh-util.el (eshell-tar-regexp):
3823 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3824 * info.el (Info-suffix-list):
3825 * international/mule.el (auto-coding-alist):
3826 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3827 * progmodes/etags.el (tags-compression-info-list):
3828 Support xz compression.
3830 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3832 * files.el (get-free-disk-space): Don't assume the "df" output
3833 columns line up (Bug#6995).
3835 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3837 * finder.el (finder-unknown-keywords):
3838 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3839 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3841 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3843 * server.el (server-start): Revert part of 2010-08-08 change. Using
3844 address 127.0.0.1 for local host is now done in Fmake_network_process.
3846 2010-09-24 Glenn Morris <rgm@gnu.org>
3848 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3849 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3850 * textmodes/css-mode.el, textmodes/dns-mode.el:
3851 Move autoloaded auto-mode-alist entries to files.el.
3852 * files.el (auto-mode-alist): Move entries here.
3854 2010-09-23 Glenn Morris <rgm@gnu.org>
3856 * isearch.el (isearch-lazy-highlight-cleanup)
3857 (isearch-lazy-highlight-initial-delay)
3858 (isearch-lazy-highlight-interval)
3859 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3860 * net/net-utils.el (ipconfig-program-options):
3861 Move aliases to options before the associated definitions.
3863 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * newcomment.el (comment-normalize-vars): Better test validity of
3868 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3871 (float-e): New name for `e'.
3872 (degrees-to-radians, radians-to-degrees):
3873 * calendar/solar.el (solar-longitude):
3874 * calculator.el (calculator-registers, calculator-funcall):
3875 * textmodes/artist.el (artist-spray-random-points):
3876 * play/bubbles.el (bubbles--initialize-images): Use new names.
3878 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3880 Update to CEDET 1.0's version of EIEIO.
3882 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3884 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3885 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3886 (class-precedence-list): If class is nil, return nil.
3887 (eieio-generic-call): If class of first input arg is nil, don't
3888 look up static methods, and do check for primary methods.
3889 (initialize-instance): See if the default needs to be evaluated
3890 during the constructor.
3891 (eieio-perform-slot-validation-for-default): Don't do the check
3892 for values that will eventually be evaluated.
3893 (eieio-eval-default-p): New function.
3894 (eieio-default-eval-maybe): Use it.
3896 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3898 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3899 method-invocation-order.
3900 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3901 (eieio-class-precedence-dfs): Compute class precedence list using
3903 (eieio-class-precedence-bfs): Compute class precedence list using
3905 (eieio-class-precedence-c3): Compute class precedence list using
3907 (class-precedence-list): New function.
3908 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3909 (inconsistent-class-hierarchy): New error symbol.
3910 (call-next-method): Stow the replacement argument list for future
3911 call-next-method invocations.
3913 2010-09-23 Glenn Morris <rgm@gnu.org>
3915 * calendar/appt.el (appt-check): If not displaying the diary,
3916 use (diary 1) to only get the entries we need.
3917 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3918 that it is in day order. (Bug#7019)
3920 * calendar/appt.el (appt-check): Rather than showing the diary,
3921 just turn off invisible display, and only if needed.
3923 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3925 2010-09-23 Glenn Morris <rgm@gnu.org>
3927 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3928 (byte-compile-defvar, byte-compile-cl-warn):
3929 Start warnings with lower-case, like the majority.
3931 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3933 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3935 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3936 * files.el (auto-mode-alist): Move ld-script entries here, further down
3939 * vc/add-log.el: Don't require timezone when compiling.
3940 (timezone-make-date-sortable): Autoload it.
3941 (change-log-sortable-date-at): Don't require timezone.
3942 Use `ignore-errors'.
3944 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3945 Move alias before definition, so it does not need autoloading.
3947 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3948 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3949 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3950 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3951 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3952 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3953 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3954 * textmodes/tex-mode.el, textmodes/two-column.el:
3955 Remove leading `*' from docs of defcustoms etc.
3957 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3959 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3961 2010-09-22 Dan Christensen <jdc@uwo.ca>
3963 * calendar/time-date.el (date-to-time): Try using parse-time-string
3964 first before using the slower timezone-make-date-arpa-standard.
3966 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3968 * calendar/time-date.el (format-seconds): Comment fix.
3970 2010-09-22 Glenn Morris <rgm@gnu.org>
3972 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3973 is not automatically buffer-local.
3975 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3978 (smie-indent-comment): Be more careful with comment-start-skip.
3979 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3980 (smie-indent-functions): Use them.
3982 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3984 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3986 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3988 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3989 tool-bar-position. Don't modify frame parameters here.
3990 (menu-bar-options-save): Add tool-bar-position.
3992 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3994 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * textmodes/reftex-parse.el (reftex-what-macro)
3997 (reftex-context-substring): Let-bind forward-sexp-function to nil
3998 since we don't need/want to treat \begin...\end as a block (bug#7053).
4000 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4002 * simple.el (blink-matching-open): Use syntax-class.
4004 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4005 Set invisibility spec for pascal's outline mode.
4006 (pascal-outline-change): Clean up calling convention.
4007 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4009 * progmodes/prolog.el (prolog-smie-forward-token)
4010 (prolog-smie-backward-token): New functions.
4011 (prolog-mode-variables): Use them to parse "!," correctly.
4012 Set up smie-blink-matching for ".".
4014 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4016 (ispell-region, ispell-process-line): Update users.
4018 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4021 * textmodes/ispell.el: Fix commenting convention.
4022 (ispell-parse-output): Simplify, use push.
4023 (ispell-region): Use match-string-no-properties.
4024 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4025 (ispell-minor-mode): Use define-minor-mode.
4026 (ispell-message): Remove unused var `skip-regexp'.
4027 (ispell-add-per-file-word-list): Use dynamic let-binding.
4028 Try and use the proper comment marker.
4030 * mail/sendmail.el: Fix commenting convention.
4031 (sendmail-send-it): Use line-beginning-position.
4033 * help-fns.el (describe-variable): Add original value, if applicable.
4035 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4037 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4039 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4041 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4044 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4045 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4046 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4047 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4048 something like "." can also be a closer.
4049 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4050 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4051 Rename internal functions to use "--". Update callers.
4053 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4055 * fringe.el (fringe-styles): New var.
4056 (fringe-mode, fringe-query-style): Use it.
4058 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4060 * progmodes/sql.el: Version 2.8
4061 (sql-login-params): Update widget structure; changes still needed.
4062 (sql-product-alist): Add :list-all and :list-table features for
4063 SQLite, Postgres and MySQL products.
4064 (sql-redirect): Handle default value.
4065 (sql-execute, sql-execute-feature): New functions.
4066 (sql-read-table-name): New function.
4067 (sql-list-all, sql-list-table): New functions. User API.
4068 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4069 for above functions.
4070 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4071 for above functions.
4072 (sql-postgres-login-params): Add user and database defaults.
4073 (sql-buffer-live-p): Bug fix.
4074 (sql-product-history): New variable.
4075 (sql-read-product): New function. Use it.
4076 (sql-set-product, sql-product-interactive): Use it.
4077 (sql-connection-history): New variable.
4078 (sql-read-connection): New function. Use it.
4079 (sql-connect): New function.
4080 (sql-for-each-login): Redesign function interface.
4081 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4082 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4083 (sql-comint): Check for program. Existing live buffer.
4084 (sql-comint-postgres): Add port parameter.
4086 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * emacs-lisp/warnings.el: Fix commenting convention.
4089 (display-warning): Use special mode and make the buffer read-only.
4091 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4093 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4094 empty string when it follows a repeated or optional pattern.
4096 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4098 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4099 (indent-region): Use indent-according-to-mode.
4101 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4103 * fringe.el (fringe-mode): Doc fix.
4105 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4107 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4108 refreshing the preview buffer.
4110 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4112 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4113 (latex-syntax-propertize-rules): New consts; replace
4114 tex-font-lock-syntactic-keywords.
4115 (tex-env-mark, latex-env-before-change): New functions.
4116 (latex-electric-env-pair-mode): New minor mode.
4117 (tex-font-lock-verb): Change arguments; do move point.
4118 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4119 representation as a form of comment.
4120 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4121 (doctex-syntax-propertize-rules): New const; replaces
4122 doctex-font-lock-syntactic-keywords.
4123 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4125 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4126 (fortran-make-syntax-propertize-function): New function; replaces
4127 fortran-font-lock-syntactic-keywords.
4128 (fortran-mode): Use it.
4129 (fortran-line-length): Use it. Improve interactive spec.
4131 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4132 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4133 when adding surrounding \(..\).
4135 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4137 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4140 Use with-current-buffer.
4142 * isearch.el (isearch-face): Rename from `isearch'.
4143 (isearch-highlight): Use new name.
4145 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4147 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4148 5, for `half' width fringes. (Bug#6933)
4150 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4153 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4155 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4157 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4159 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4160 in calculating new frame position. Add more space between new and
4161 parent on the left (Bug#7048).
4163 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4165 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4168 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4170 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4172 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4173 obsolete alias for x-selection-value.
4175 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4177 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4179 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4182 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4184 * net/tramp-compat.el (tramp-compat-with-temp-message)
4185 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4186 (tramp-compat-process-put): New defuns.
4188 * net/tramp.el (top):
4189 * net/tramp-gvfs.el (top):
4190 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4192 * net/tramp.el (tramp-progress-reporter-update):
4193 Use `tramp-compat-funcall'.
4195 * net/tramp.el (tramp-process-actions):
4196 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4197 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4198 (tramp-get-remote-stat, tramp-get-remote-readlink):
4199 Use `tramp-compat-with-temp-message'.
4201 * net/tramp-sh.el (top): Require 'cl.
4202 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4203 (tramp-open-connection-setup-interactive-shell):
4204 Use `tramp-compat-process-put'.
4206 2010-09-15 Alan Mackenzie <acm@muc.de>
4208 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4210 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4212 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4215 `lexical' for warnings related to lexical scoping.
4216 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4217 global vars which don't have a prefix and could hence affect lexical
4218 scoping in unrelated files.
4220 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222 * net/imap.el: Revert back to version
4223 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4226 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4228 * obsolete/old-whitespace.el (whitespace-unload-function):
4229 Explicitly pass `obarray' to `unintern' to avoid a warning.
4231 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4234 Add `when' argument. Update callers.
4236 * subr.el (unintern): Declare the obarray arg mandatory.
4238 2010-09-14 Glenn Morris <rgm@gnu.org>
4240 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4243 * calendar/diary-lib.el (diary-included-files): New variable.
4244 (diary-list-entries): Maybe initialize diary-included-files.
4245 (diary-include-other-diary-files): Append to diary-included-files.
4246 * calendar/appt.el (appt-update-list): Also check the members of
4247 diary-included-files. (Bug#6999)
4248 (appt-check): Doc fix.
4250 2010-09-14 David Reitter <david.reitter@gmail.com>
4252 * simple.el (line-move-visual): Do not truncate goal column to
4253 integer size. (Bug#7020)
4255 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * repeat.el (repeat): Allow repeating when the last event is a click.
4258 Suggested by Drew Adams (bug#6256).
4260 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4262 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4263 Replace setting HGRCPATH to "" by some less invasive --config options.
4265 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * font-lock.el (font-lock-beginning-of-syntax-function):
4270 2010-09-14 Glenn Morris <rgm@gnu.org>
4272 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4273 and tool-bar modes. (Bug#6211)
4274 (menu-bar-mode): Move setting of standard-value after the
4275 minor-mode definition, otherwise it seems to have no effect.
4277 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4279 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4280 Fix typo. (Bug#6976)
4282 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4284 * whitespace.el: Allow cleaning up blanks without blank
4285 visualization (Bug#6651). Adjust help window for
4286 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4287 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4288 (whitespace-style): Add new value 'face. Adjust docstring.
4289 (whitespace-space, whitespace-hspace, whitespace-tab):
4290 Adjust foreground property face.
4291 (whitespace-line-column): Adjust docstring and type declaration.
4292 (whitespace-style-value-list, whitespace-toggle-option-alist)
4293 (whitespace-help-text): Adjust const initialization.
4294 (whitespace-toggle-options, global-whitespace-toggle-options):
4296 (whitespace-display-window, whitespace-interactive-char)
4297 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4298 (whitespace-help-scroll): New fun.
4300 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4302 * calendar/time-date.el (format-seconds): Comment fix.
4304 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4306 * progmodes/sql.el: Version 2.7.
4307 (sql-buffer-live-p): Improve detection.
4308 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4309 (sql-set-sqli-buffer): Use it.
4310 (sql-product-interactive): Run `sql-set-sqli-hook'.
4311 (sql-rename-buffer): Code cleanup.
4312 (sql-redirect, sql-redirect-value): New functions. More to come.
4314 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4316 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
4317 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4318 (TRAMP_SRC): New macro.
4319 ($(lisp)/net/tramp-loaddefs.el): New target.
4321 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4323 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4325 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4327 * net/tramp.el (top): Don't show loading message. Require just
4328 'tramp-compat, everything else is required there.
4329 Use `ignore-errors' where appropriate.
4330 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4331 (tramp-terminal-type, tramp-end-of-output)
4332 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4333 (tramp-completion-function-alist-ssh)
4334 (tramp-completion-function-alist-telnet)
4335 (tramp-completion-function-alist-su)
4336 (tramp-completion-function-alist-putty, tramp-remote-path)
4337 (tramp-remote-process-environment, tramp-sh-extra-args)
4338 (tramp-actions-before-shell, tramp-uudecode)
4339 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4340 (tramp-perl-file-attributes)
4341 (tramp-perl-directory-files-and-attributes)
4342 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4343 (tramp-perl-encode, tramp-perl-decode)
4344 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4345 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4346 (tramp-handle-make-symbolic-link, tramp-handle-load)
4347 (tramp-handle-file-name-as-directory)
4348 (tramp-handle-file-name-directory)
4349 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4350 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4351 (tramp-do-file-attributes-with-ls)
4352 (tramp-do-file-attributes-with-perl)
4353 (tramp-do-file-attributes-with-stat)
4354 (tramp-handle-set-visited-file-modtime)
4355 (tramp-handle-verify-visited-file-modtime)
4356 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4357 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4358 (tramp-handle-file-selinux-context)
4359 (tramp-handle-set-file-selinux-context)
4360 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4361 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4362 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4363 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4364 (tramp-handle-file-ownership-preserved-p)
4365 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4366 (tramp-handle-directory-files-and-attributes)
4367 (tramp-do-directory-files-and-attributes-with-perl)
4368 (tramp-do-directory-files-and-attributes-with-stat)
4369 (tramp-handle-file-name-all-completions)
4370 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4371 (tramp-handle-copy-file, tramp-handle-copy-directory)
4372 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4373 (tramp-do-copy-or-rename-file-via-buffer)
4374 (tramp-do-copy-or-rename-file-directly)
4375 (tramp-do-copy-or-rename-file-out-of-band)
4376 (tramp-handle-make-directory, tramp-handle-delete-directory)
4377 (tramp-handle-delete-file)
4378 (tramp-handle-dired-recursive-delete-directory)
4379 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4380 (tramp-handle-insert-directory)
4381 (tramp-handle-unhandled-file-name-directory)
4382 (tramp-handle-expand-file-name)
4383 (tramp-handle-substitute-in-file-name)
4384 (tramp-handle-executable-find, tramp-process-sentinel)
4385 (tramp-handle-start-file-process, tramp-handle-process-file)
4386 (tramp-handle-call-process-region, tramp-handle-shell-command)
4387 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4388 (tramp-handle-insert-file-contents)
4389 (tramp-handle-insert-file-contents-literally)
4390 (tramp-handle-find-backup-file-name)
4391 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4392 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4393 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4394 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4395 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4396 (tramp-find-file-exists-command, tramp-open-shell)
4397 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4398 (tramp-open-connection-setup-interactive-shell)
4399 (tramp-local-coding-commands, tramp-remote-coding-commands)
4400 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4401 (tramp-inline-compress-commands, tramp-find-inline-compress)
4402 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4403 (tramp-send-command, tramp-wait-for-output)
4404 (tramp-send-command-and-check, tramp-barf-unless-okay)
4405 (tramp-send-command-and-read, tramp-mode-string-to-int)
4406 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4407 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4408 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4409 (tramp-method-out-of-band-p, tramp-local-host-p)
4410 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4411 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4412 (tramp-get-test-command, tramp-get-test-nt-command)
4413 (tramp-get-file-exists-command, tramp-get-remote-ln)
4414 (tramp-get-remote-perl, tramp-get-remote-stat)
4415 (tramp-get-remote-readlink, tramp-get-remote-trash)
4416 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4417 (tramp-get-local-uid, tramp-get-local-gid)
4418 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4420 (tramp-methods, tramp-default-method-alist)
4421 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4422 Move initialization to tramp-sh.el.
4423 (tramp-temp-name-prefix): Make it a defconst.
4424 (tramp-dissect-file-name): Don't check anymore for multi-hop
4426 (tramp-debug-outline-regexp): Add a docstring.
4427 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4428 (tramp-get-debug-buffer): Use it.
4430 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4431 initialization forms.
4432 (tramp-set-connection-property): Don't protect `tramp-message'
4433 call, it isn't necessary any longer.
4434 (tramp-dump-connection-properties): Use `ignore-errors'.
4436 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4437 'password-cache and 'auth-source.
4439 * net/tramp-gvfs.el (top):
4440 * net/tramp-smb.el (top): Require 'tramp-sh.
4442 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4444 * net/tramp-sh.el: New file, derived from tramp.el.
4445 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4446 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4447 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4448 Use `ignore-errors' where appropriate.
4449 (tramp-sh-file-name-handler-alist): Rename from
4450 `tramp-file-name-handler-alist'.
4451 (tramp-send-command-and-check): Return t or nil. Remove all
4452 `zerop' checks, where called.
4453 (tramp-handle-set-file-modes)
4454 (tramp-do-copy-or-rename-file-directly)
4455 (tramp-handle-delete-directory, tramp-handle-delete-file)
4456 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4457 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4458 (tramp-get-remote-ln): Set tramp-autoload cookie.
4460 * net/tramp-fish.el: Remove file.
4462 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4464 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4465 buffer-file-name to avoid file-locking. (Bug#7026)
4467 2010-09-13 Julien Danjou <julien@danjou.info>
4469 * notifications.el (notifications-notify): Add support for
4470 image-path and sound-name.
4471 (notifications-specification-version): Add this variable.
4473 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4477 2010-09-12 Leo <sdl.web@gmail.com>
4479 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4480 (rcirc-completion-start): New variables.
4481 (rcirc-nick-completions): Rename to rcirc-completions.
4482 (rcirc-nick-completion-start-offset): Delete.
4483 (rcirc-completion-at-point): New function for constructing
4484 completion data for both nicks and irc commands. Add to
4485 completion-at-point-functions in rcirc mode.
4486 (rcirc-complete): Rename from rcirc-nick-complete; use
4487 rcirc-completion-at-point.
4488 (defun-rcirc-command): Update rcirc-client-commands.
4490 2010-09-11 Glenn Morris <rgm@gnu.org>
4492 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4493 atomically, to avoid parallel build errors. (Bug#4196)
4495 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4497 * progmodes/sql.el: Version 2.6
4498 (sql-dialect): Synonym for "sql-product".
4499 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4500 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4501 Set "sql-buffer" to buffer name not buffer object so multiple sql
4502 interactive buffers work properly. Reverts misguided changes in
4504 (sql-comint): Make sure different buffer name is used if "*SQL*"
4505 buffer is for a different product.
4506 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4508 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4509 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4510 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4511 Accept new buffer name or prompt for one.
4512 (sql-port): Default to zero.
4513 (sql-comint-mysql): Handle "sql-port" as a numeric.
4514 (sql-port-history): Delete unused variable.
4515 (sql-get-login): Default "sql-port" to a number.
4516 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4517 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4518 "sqlite3" executables.
4519 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4520 (sql-buffer-live-p): New function.
4521 (sql-mode-menu, sql-send-string): Use it.
4522 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4524 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4525 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4527 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4529 * net/netrc.el (netrc-credentials): New convenience function.
4531 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4534 to replace texinfo-font-lock-syntactic-keywords.
4535 (texinfo-mode): Use it.
4537 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4538 Use syntax-propertize-function.
4540 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4541 replace sgml-font-lock-syntactic-keywords.
4542 (sgml-mode): Use it.
4544 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4545 since we don't use it.
4547 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4549 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4551 (vhdl-fontify-buffer): Adjust.
4553 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4554 replace tcl-font-lock-syntactic-keywords.
4557 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4558 replace simula-font-lock-syntactic-keywords.
4559 (simula-mode): Use it.
4561 * progmodes/sh-script.el (sh-st-symbol): Remove.
4562 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4563 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4564 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4565 (sh-font-lock-paren): Set syntax-multiline.
4566 (sh-font-lock-syntactic-keywords): Remove.
4567 (sh-syntax-propertize-function): New function to replace it.
4570 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4571 Define while compiling.
4572 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4573 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4574 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4575 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4576 (ruby-here-doc-end-syntax): Only define when
4577 syntax-propertize is not available.
4578 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4580 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4581 (electric-indent-chars): Silence bytecompiler.
4582 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4583 electric-indent-chars.
4585 * progmodes/python.el (python-syntax-propertize-function): New var to
4586 replace python-font-lock-syntactic-keywords.
4587 (python-mode): Use it.
4588 (python-quote-syntax): Simplify and adjust to new use.
4590 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4591 replace perl-font-lock-syntactic-keywords.
4592 (perl-syntax-propertize-special-constructs): New fun to replace
4593 perl-font-lock-special-syntactic-constructs.
4594 (perl-font-lock-syntactic-face-function): New fun.
4595 (perl-mode): Use it.
4597 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4598 to replace octave-font-lock-close-quotes.
4599 (octave-syntax-propertize-function): New function to replace
4600 octave-font-lock-syntactic-keywords.
4601 (octave-mode): Use it.
4603 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4604 replaces mixal-font-lock-syntactic-keywords.
4605 (mixal-mode): Use it.
4607 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4608 New var; replaces makefile-font-lock-syntactic-keywords.
4609 (makefile-mode): Use it.
4610 (makefile-imake-mode): Adjust.
4612 * progmodes/js.el (js--regexp-literal): Define while compiling.
4613 (js-syntax-propertize-function): New var; replaces
4614 js-font-lock-syntactic-keywords.
4617 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4618 replaces gdb-script-font-lock-syntactic-keywords.
4619 (gdb-script-mode): Use it.
4621 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4622 (fortran--font-lock-syntactic-keywords): New var.
4623 (fortran-line-length): Update syntax-propertize-function and
4624 fortran--font-lock-syntactic-keywords.
4626 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4628 * progmodes/cfengine.el (cfengine-mode):
4629 Use syntax-propertize-function.
4630 (cfengine-font-lock-syntactic-keywords): Remove.
4632 * progmodes/autoconf.el (autoconf-mode):
4633 Use syntax-propertize-function.
4634 (autoconf-font-lock-syntactic-keywords): Remove.
4636 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4637 (ada-after-change-function, ada-initialize-syntax-table-properties)
4638 (ada-handle-syntax-table-properties): Only define when
4639 syntax-propertize is not available.
4640 (ada-mode): Use syntax-propertize-function.
4642 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4643 (font-lock-fontify-syntactic-keywords-region): Move handling of
4644 font-lock-syntactically-fontified to...
4645 (font-lock-default-fontify-region): ...here.
4646 Let syntax-propertize-function take precedence.
4647 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4649 * emacs-lisp/syntax.el (syntax-propertize-function)
4650 (syntax-propertize-chunk-size, syntax-propertize--done)
4651 (syntax-propertize-extend-region-functions): New vars.
4652 (syntax-propertize-wholelines, syntax-propertize-multiline)
4653 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4654 (syntax-propertize): New functions.
4655 (syntax-propertize-rules): New macro.
4656 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4657 (syntax-ppss): Call syntax-propertize.
4659 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4661 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4663 * textmodes/ispell.el (ispell-init-process): Improve comments.
4664 XEmacs compatibility changes regarding (add-hook) 'local option
4665 and (set-process-query-on-exit-flag).
4667 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4669 * net/tramp-cache.el (tramp-parse-connection-properties):
4670 Set tramp-autoload cookie.
4672 2010-09-09 Glenn Morris <rgm@gnu.org>
4674 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4675 (imagemagick-register-types): Doc fix.
4677 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4679 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4681 * progmodes/js.el (require): Require is already "eval-and-compile".
4682 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4683 (js--re-search-backward): Use js--re-search-forward.
4685 * progmodes/fortran.el (fortran-line-length): Don't recompute
4686 syntactic keywords redundantly a second time.
4688 * progmodes/ada-mode.el: Replace "(set '" with setq.
4689 (ada-mode): Simplify.
4690 (ada-create-case-exception, ada-adjust-case-interactive)
4691 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4692 (ada-search-ignore-string-comment, ada-move-to-start)
4693 (ada-move-to-end): Use with-syntax-table.
4695 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4696 (font-lock-unfontify-region, font-lock-default-fontify-region):
4697 Update usage correspondingly.
4698 (font-lock-fontify-syntactic-keywords-region):
4699 Set parse-sexp-lookup-properties buffer-locally here.
4700 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4702 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4704 2010-09-08 Glenn Morris <rgm@gnu.org>
4706 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4707 Error if not compiled with -DBYTE_CODE_METER.
4709 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4710 Ignore dir-locals-file.
4712 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4716 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4717 for the `gnu' messages.
4718 (compilation-set-skip-threshold): New command.
4719 (compilation-start): Use \' rather than $.
4720 (compilation-forget-errors): Use clrhash.
4722 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4724 * textmodes/ispell.el (ispell-valid-dictionary-list):
4727 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4729 Migrate to Tramp 2.2. Rearrange load dependencies.
4730 (Bug#1529, Bug#5448, Bug#5705)
4732 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4733 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4734 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4736 * net/tramp.el (top): Remove all other tramp-* loads except
4737 tramp-compat.el. Remove all changes to tramp-unload-hook for
4738 other tramp-* packages. Rearrange defun order. Change calls of
4739 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4740 `tramp-compat-octal-to-decimal' to new function names.
4741 (tramp-terminal-type, tramp-initial-end-of-output)
4742 (tramp-methods, tramp-foreign-file-name-handler-alist)
4743 (tramp-tramp-file-p, tramp-completion-mode-p)
4744 (tramp-send-command-and-check, tramp-get-remote-path)
4745 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4746 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4747 (with-file-property, with-connection-property): Move to
4749 (tramp-local-call-process, tramp-decimal-to-octal)
4750 (tramp-octal-to-decimal): Move to tramp-compat.el.
4751 (tramp-handle-shell-command): Do not require 'shell.
4752 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4754 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4756 * net/tramp-cache.el (top): Require 'tramp. Add to
4757 `tramp-unload-hook'.
4758 (tramp-cache-data, tramp-get-file-property)
4759 (tramp-set-file-property, tramp-flush-file-property)
4760 (tramp-flush-directory-property, tramp-get-connection-property)
4761 (tramp-set-connection-property, tramp-flush-connection-property)
4762 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4764 (with-file-property, with-connection-property): New defuns, moved
4766 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4769 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4770 (tramp-version): Set tramp-autoload cookie.
4772 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4773 changes to tramp-unload-hook for other tramp-* packages. Add to
4774 `tramp-unload-hook'.
4775 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4776 (tramp-compat-call-process): New defuns, moved from tramp.el.
4778 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4779 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4780 Add to `tramp-unload-hook'. Change call of
4781 `tramp-compat-decimal-to-octal' to new function name.
4782 (tramp-fish-method): Make it a defconst.
4783 (tramp-fish-file-name-p): Make it a defsubst.
4784 (tramp-fish-method, tramp-fish-file-name-handler)
4785 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4787 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4788 `tramp-foreign-file-name-handler-alist'. Add to
4789 `tramp-unload-hook'.
4790 (tramp-ftp-method): Make it a defconst.
4791 (tramp-ftp-file-name-p): Make it a defsubst.
4792 (tramp-ftp-method, tramp-ftp-file-name-handler)
4793 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4795 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4796 `tramp-foreign-file-name-handler-alist'. Add to
4797 `tramp-unload-hook'. Change checks, whether package can be
4799 (tramp-gvfs-file-name-p): Make it a defsubst.
4800 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4801 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4802 (tramp-gvfs-handle-file-directory-p): New defun.
4803 (tramp-gvfs-file-name-handler-alist): Use it.
4805 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4806 `tramp-foreign-file-name-handler-alist'. Add to
4807 `tramp-unload-hook'.
4808 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4809 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4811 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4812 (tramp-gw-open-connection): Set tramp-autoload cookie.
4814 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4815 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4816 Add to `tramp-unload-hook'. Change checks, whether package can be
4818 (tramp-imap-file-name-p): Make it a defsubst.
4819 (tramp-imap-method, tramp-imaps-method)
4820 (tramp-imap-file-name-handler)
4821 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4823 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4824 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4825 Add to `tramp-unload-hook'. Change checks, whether package can be
4826 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4828 (tramp-smb-tunnel-method): Make it a defconst.
4829 (tramp-smb-file-name-p): Make it a defsubst.
4830 (tramp-smb-method, tramp-smb-file-name-handler)
4831 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4833 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4834 (tramp-uuencode-region): Set tramp-autoload cookie.
4836 * net/trampver.el (top) Add to `tramp-unload-hook'.
4837 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4838 cookie. Update release number.
4840 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4842 * textmodes/ispell.el (ispell-start-process): Make sure original
4843 arg list is properly initialized (Bug#6993, Bug#6994).
4845 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4847 * files.el (directory-abbrev-alist): Use \` as default regexp.
4849 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4850 chars like - or ] (bug#6984).
4851 (rx-any-condense-range): Explode 2-char ranges.
4853 2010-09-06 Glenn Morris <rgm@gnu.org>
4855 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4857 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4859 * textmodes/bibtex.el:
4860 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4862 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4864 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4865 since no callers use it.
4866 (imap-message-get): Ditto.
4867 (imap-message-put): Ditto.
4868 (imap-mailbox-map): Ditto.
4869 (imap-mailbox-put): Ditto.
4870 (imap-mailbox-get): Ditto.
4871 (imap-mailbox-get): Revert last change for this function.
4873 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4875 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4876 callers to use `imap-fetch' instead. According to the comments, this
4877 should be safe, since all other IMAP clients use the 1:* syntax.
4878 (imap-enable-exchange-bug-workaround): Remove.
4879 (imap-debug): Remove -- doesn't seem very useful.
4881 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883 * net/imap.el (imap-log): New convenience function used throughout
4884 instead of repeating the same code all over the place.
4886 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4888 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4889 when mouse-drag-copy-region is non-nil (Bug#6956).
4891 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4893 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4894 Improve regexps (Bug#6987).
4895 (dired-sort-toggle): Search more robustly for -t flag.
4897 * files.el (get-free-disk-space): Search more robustly for
4898 "available" column. Suggested by Ehud Karni
4899 <ehud@unix.mvs.co.il>.
4901 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4903 * international/uni-bidi.el:
4904 * international/uni-category.el:
4905 * international/uni-combining.el:
4906 * international/uni-decimal.el:
4907 * international/uni-mirrored.el:
4908 * international/uni-name.el: Regenerate.
4910 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * electric.el (electric-indent-post-self-insert-function):
4913 Don't reindent with a sloppy indentation function.
4915 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4916 border case in change-log-mode.
4918 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4920 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4921 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4922 Recognize leading tab in gcc-include regexp. Ignore names with
4923 leading "from" or "in" in gnu regexp (Bug#6937).
4925 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4927 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4928 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4929 (ispell-start-process): Avoid setq and simplify logic.
4930 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4931 (kill-buffer-hook): Don't use it globally with code that uses
4932 expand-file-name since that may call kill-buffer via
4933 code_conversion_restore.
4935 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4937 * emacs-lisp/package.el (package-directory-list): Only call
4938 file-name-nondirectory on a string.
4940 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4942 * emacs-lisp/package.el (package--download-one-archive):
4943 Ensure that archive-contents is valid before saving it.
4944 (package-activate-1, package-mark-obsolete, define-package)
4945 (package-compute-transaction, package-list-maybe-add): Use push.
4947 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4949 Use SMIE's blink-paren for octave-mode.
4950 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4951 Backslashes do not escape single-quotes, single-quotes do.
4952 (octave-block-else-regexp, octave-block-end-regexp)
4953 (octave-block-match-alist): Remove.
4954 (octave-smie-bnf-table): New var, with old content.
4955 (octave-smie-op-levels): Use it.
4956 (octave-smie-closer-alist): New var.
4957 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4958 (octave-blink-matching-block-open): Remove.
4959 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4960 (octave-electric-space): Let self-insert-command run expand-abbrev and
4963 * electric.el (electricity): New group.
4964 (electric-indent-chars): New var.
4965 (electric-indent-post-self-insert-function): New fun.
4966 (electric-indent-mode): New minor mode.
4967 (electric-pair-skip-self): New custom.
4968 (electric-pair-post-self-insert-function): New function.
4969 (electric-pair-mode): New minor mode.
4971 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4972 calcAlg-blink-matching-open.
4973 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4974 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4975 Use the new blink-matching-check-function.
4977 Provide blink-matching support to SMIE.
4978 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4979 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4980 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4982 * simple.el (newline): Fix last change to properly remove itself from
4985 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * simple.el (newline): Eliminate optimization.
4988 Use post-self-insert-hook to set hard-newline and things before
4989 running post-self-insert-hook.
4990 (blink-matching-check-mismatch): New function.
4991 (blink-matching-check-function): New variable.
4992 (blink-matching-open): Use them.
4993 Skip back forward over prefix chars skipped by forward-sexp.
4994 Don't check if the parens are backslash escaped.
4995 (blink-paren-post-self-insert-function): Check backslash escaping here.
4997 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4999 * emacs-lisp/package.el (package-menu-mode-map):
5000 Change package-menu-revert bindings to revert-buffer.
5001 (package-menu-mode): Set revert-buffer-function.
5002 (package-menu-revert): Doc fix.
5004 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5006 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5007 `default-directory' unless using Ispell per-directory personal
5008 dictionaries and not in a mini-buffer under XEmacs.
5009 (kill-buffer-hook): Do not kill ispell process on exit when
5010 `ispell-process-directory' is "~/". (Bug#6143)
5012 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5014 * simple.el (kill-new): Call interprogram-cut-function with only
5017 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5018 Remove cut buffer from error message.
5020 * term/x-win.el (x-select-text):
5021 * term/pc-win.el (x-selection-value):
5022 * term/ns-win.el (x-selection-value):
5023 * eshell/em-term.el:
5024 * w32-fns.el (x-get-selection-value):
5025 * mouse-sel.el (mouse-sel-set-selection-function):
5026 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5028 * term/x-win.el: Update documentation for x-last-selected-text-*.
5029 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5030 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5031 (x-select-text): Remove argument PUSH, update documentation.
5032 Remove cut-buffer code.
5033 (x-selection-value-internal): Was previously x-selection-value.
5034 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5035 Update documentation, remove cut-buffer code.
5036 Call x-selection-value-internal.
5037 (x-clipboard-yank): Call x-selection-value-internal.
5038 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5040 * term/pc-win.el (x-last-selected-text):
5041 x-cut-buffer-or-selection-value renamed to x-selection-value
5042 (x-select-text): Remove argument PUSH, update documentation.
5044 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5045 x-cut-buffer-or-selection-value renamed to x-selection-value
5046 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5047 (x-select-text): Remove argument PUSH, update documentation.
5049 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5051 * w32-fns.el (x-last-selected-text):
5052 x-cut-buffer-or-selection-value renamed to x-selection-value.
5053 (x-cut-buffer-max): Remove.
5054 (x-select-text): Remove argument PUSH, update documentation.
5056 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5058 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5060 * mouse-sel.el (mouse-sel-get-selection-function):
5061 x-cut-buffer-or-selection-value renamed to x-selection-value.
5062 (x-select-text): Remove optional push.
5064 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * simple.el (blink-paren-function): Move from C to here.
5067 (blink-paren-post-self-insert-function): New function.
5068 (post-self-insert-hook): Use it.
5070 * emacs-lisp/pcase.el (pcase-split-memq):
5071 Fix overenthusiastic optimisation.
5072 (pcase-u1): Handle the case of a lambda pred.
5074 2010-08-31 Kenichi Handa <handa@m17n.org>
5076 * international/mule-cmds.el (standard-display-european-internal):
5077 Setup standard-display-table for 8-bit characters by storing 8-bit
5078 characters in the element vector.
5080 * disp-table.el (standard-display-8bit):
5081 Setup standard-display-table for 8-bit characters by storing 8-bit
5082 characters in the element vector.
5083 (standard-display-european): Likewise.
5085 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5087 * textmodes/nroff-mode.el (nroff-view): New command.
5088 (nroff-mode-map): Bind it to C-c C-c.
5090 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * emacs-lisp/smie.el (smie-down-list): New command.
5094 Remove old indentation and navigation code on octave-mode.
5095 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5096 smie-down-list rather than add a binding for octave-down-block.
5097 (octave-mark-block, octave-blink-matching-block-open):
5098 Rely on forward-sexp-function.
5099 (octave-fill-paragraph): Don't narrow, so you can use
5100 indent-according-to-mode.
5101 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5102 (octave-in-block-p, octave-re-search-forward-kw)
5103 (octave-re-search-backward-kw, octave-indent-calculate)
5104 (octave-end-as-array-index-p, octave-block-end-offset)
5105 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5106 (octave-down-block, octave-backward-up-block, octave-up-block)
5107 (octave-before-magic-comment-p, octave-indent-line): Remove.
5109 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5111 * emacs-lisp/package.el (package--read-archive-file): Just use
5112 `read', to avoid copying an additional string.
5113 (package-menu-mode): Set header-line-format here.
5114 (package-menu-refresh, package-menu-revert): Signal an error if
5115 not in the Package Menu.
5116 (package-menu-package-list): New var.
5117 (package--generate-package-list): Operate on the current buffer;
5118 don't assume that it is *Packages*, since the user may rename it.
5119 Allow persistent package listings and sort keys using
5120 package-menu-package-list and package-menu-package-sort-key.
5121 (package-menu--version-predicate): Fix version calculation.
5122 (package-menu-sort-by-column): Don't select the window.
5123 (package--list-packages): Create the *Packages* buffer.
5124 Set package-menu-package-list-key.
5125 (list-packages): Sorting by status is now the default.
5126 (package-buffer-info): Use match-string-no-properties.
5127 (define-package): Add a &rest argument for future proofing, but
5129 (package-install-from-buffer, package-install-buffer-internal):
5130 Merge into a single function, package-install-from-buffer.
5131 (package-install-file): Change caller.
5133 * finder.el: Load finder-inf using `require'.
5134 (finder-list-matches): Sorting by status is now the default.
5135 (finder-compile-keywords): Simpify printing.
5137 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5140 (octave-mode-map): Remove special bindings for forward/backward-block
5141 and octave-backward-up-block. Use smie-close-block.
5142 (octave-continuation-marker-regexp): New var.
5143 (octave-continuation-regexp): Use it.
5144 (octave-operator-table, octave-smie-op-levels)
5145 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5146 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5147 (octave-mode): Use SMIE.
5148 (octave-close-block): Delete.
5150 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5152 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5153 CLIPBOARD, not in PRIMARY. (Bug#6944)
5155 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5157 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5159 (smie-indent-column): Allow indirection through variables.
5161 * composite.el (save-buffer-state): Delete, unused.
5162 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5163 (font-lock-default-fontify-region): Use with-syntax-table.
5164 * jit-lock.el (with-buffer-unmodified): Remove.
5165 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5167 Use `declare' in defmacros.
5168 * window.el (save-selected-window):
5169 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5170 * progmodes/python.el (def-python-skeleton):
5171 * net/dbus.el (dbus-ignore-errors):
5172 * jka-cmpr-hook.el (with-auto-compression-mode):
5173 * international/mule.el (with-category-table):
5174 * emacs-lisp/timer.el (with-timeout):
5175 * emacs-lisp/lisp-mnt.el (lm-with-file):
5176 * emacs-lisp/eieio.el (with-slots):
5177 * emacs-lisp/easymenu.el (easy-menu-define):
5178 * emacs-lisp/debug.el (debugger-env-macro):
5179 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5180 (Multiple-value-call, Multiple-value-prog1):
5181 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5182 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5183 edebug rule to definition.
5184 * emacs-lisp/lisp-mode.el (save-selected-window)
5185 (with-current-buffer, combine-after-change-calls)
5186 (with-output-to-string, with-temp-file, with-temp-buffer)
5187 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5188 (dolist, dotimes, when, unless):
5189 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5191 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5193 * finder.el: Require `package'.
5194 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5195 (finder-package-info): Var deleted.
5196 (finder-keywords-hash, finder--builtins-alist): New vars.
5197 (finder-compile-keywords): Compute package--builtins and
5198 finder-keywords-hash instead of finder-keywords-hash, respecting
5199 the "Package" header.
5200 (finder-unknown-keywords, finder-list-matches):
5201 Use finder-keywords-hash and package--list-packages.
5202 (finder-mode): Don't set font-lock-defaults.
5203 (finder-exit): We don't use "*Finder-package*" and "*Finder
5204 Category*" buffers anymore.
5206 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5207 (package--builtins): Set default value to nil.
5208 (package-initialize): Load precomputed value of package--builtins
5210 (package-alist, package-compute-transaction)
5211 (package-download-transaction): Improve docstring.
5212 (package-read-all-archive-contents): Do not change
5213 package--builtins here.
5214 (list-packages): Make package-list-packages an alias for this.
5215 Sort by status by default.
5216 (package--list-packages): Add optional PACKAGES arg.
5217 (describe-package-1): Use font-lock-face property. For built-in
5218 packages, insert file commentary.
5219 (package--generate-package-list): Rename from
5220 package-list-packages-internal; all callers changed. Add optional
5221 PACKAGES arg. Add alphabetical sort fallbacks.
5222 (package-menu--version-predicate, package-menu--status-predicate)
5223 (package-menu--description-predicate)
5224 (package-menu--name-predicate): New functions.
5226 * info.el (Info-finder-find-node): Search package-alist instead of
5227 finder-package-info.
5229 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5231 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5233 (version-to-list): Handle versions like "10.3d".
5235 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5238 (macroexp-accumulate): Use `declare'.
5240 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5242 * whitespace.el (whitespace-style): Adjust type declaration.
5244 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5246 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5247 empty argument to gvfs-copy.
5249 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5251 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5252 handle new TRASH arg of `delete-file'.
5254 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5256 * net/tramp.el (tramp-handle-insert-directory): Don't use
5257 `forward-word', its default syntax could be changed.
5259 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5260 Michael Albinus <michael.albinus@gmx.de>
5262 Implement compression for inline methods.
5264 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5265 (tramp-copy-size-limit): Allow also nil.
5266 (tramp-inline-compress-commands): New defconst.
5267 (tramp-find-inline-compress, tramp-get-inline-compress)
5268 (tramp-get-inline-coding): New defuns.
5269 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5270 replaced by `tramp-get-inline-coding'.
5271 (tramp-handle-file-local-copy, tramp-handle-write-region)
5272 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5274 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5276 Detect ssh 'ControlMaster' argument automatically in some cases.
5278 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5279 (tramp-default-method): Use it.
5281 2010-08-26 Karel Klíč <kklic@redhat.com>
5283 * net/tramp.el (tramp-file-name-for-operation):
5284 Add file-selinux-context.
5286 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5288 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5290 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5292 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5295 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5297 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5298 (js-paren-indent-offset, js-square-indent-offset)
5299 (js-curly-indent-offset): New options.
5300 (js--proper-indentation): Use them.
5302 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5304 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5305 instead of inspecting font-lock properties (Bug#6916).
5307 2010-08-26 David Reitter <david.reitter@gmail.com>
5309 * server.el (server-visit-files): Run pre-command-hook and
5310 post-command-hook for each buffer while it is current (Bug#6910).
5311 (server-execute): Do not run hooks here.
5313 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5315 Sync with Tramp 2.1.19.
5317 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5318 (tramp-reporter-dump-variable, tramp-load-report-modules)
5319 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5320 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5322 * net/tramp-compat.el (top): Do not autoload
5323 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5324 only when `start-file-process' is not bound.
5325 (byte-compile-not-obsolete-vars): Define if not bound.
5326 (tramp-compat-funcall): New defmacro.
5327 (tramp-compat-line-beginning-position)
5328 (tramp-compat-line-end-position)
5329 (tramp-compat-temporary-file-directory)
5330 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5331 (tramp-compat-copy-file, tramp-compat-copy-directory)
5332 (tramp-compat-delete-file, tramp-compat-delete-directory)
5333 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5335 (tramp-advice-file-expand-wildcards): Do not use
5336 `tramp-handle-file-remote-p'.
5337 (tramp-compat-make-temp-file): Simplify fallback implementation.
5338 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5339 (tramp-compat-copy-tree): Remove function.
5340 (tramp-compat-delete-file): New defun.
5341 (tramp-compat-delete-directory): Provide implementation for older
5343 (tramp-compat-file-attributes): Handle only
5344 `wrong-number-of-arguments' error.
5346 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5347 Add PRESERVE_SELINUX_CONTEXT.
5348 (tramp-fish-handle-delete-file): Add TRASH arg.
5349 (tramp-fish-handle-directory-files-and-attributes):
5350 Do not use `tramp-fish-handle-file-attributes.
5351 (tramp-fish-handle-file-local-copy)
5352 (tramp-fish-handle-insert-file-contents)
5353 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5355 * net/tramp-gvfs.el (top): Require url-util.
5356 (tramp-gvfs-mount-point): Remove.
5357 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5358 and `set-file-selinux-context'.
5359 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5360 (tramp-gvfs-handle-file-selinux-context)
5361 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5362 (with-tramp-dbus-call-method): Format trace message.
5363 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5364 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5365 Implement backup call, when operation on local files fails.
5366 Use progress reporter. Flush properties of changed files.
5367 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5368 Use `tramp-compat-delete-file'.
5369 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5370 (tramp-gvfs-handle-make-directory): Make more traces.
5371 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5372 (tramp-gvfs-url-file-name): Hexify file name in url.
5373 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5374 into account for the resulting file name.
5375 (tramp-gvfs-handler-askquestion): Preserve current message, in
5376 order to let progress reporter continue afterwards. (Bug#6257)
5377 Return dummy mountpoint, when the answer is "no".
5378 See `tramp-gvfs-maybe-open-connection'.
5379 (tramp-gvfs-handler-mounted-unmounted)
5380 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5381 attribute "default_location". Set "prefix" property.
5382 Handle default-location.
5383 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5384 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5385 exists. Raise an error, if not (due to a corresponding answer
5386 "no" in interactive questions, for example).
5387 Use `tramp-compat-funcall'.
5389 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5390 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5391 (tramp-imap-do-copy-or-rename-file)
5392 (tramp-imap-handle-insert-file-contents)
5393 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5394 (tramp-imap-handle-delete-file): Add TRASH arg.
5396 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5397 Add PRESERVE-SELINUX-CONTEXT.
5398 (tramp-smb-handle-copy-file)
5399 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5400 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5401 Use `with-progress-reporter'.
5402 (tramp-smb-handle-delete-file): Add TRASH arg.
5404 * net/tramp.el (tramp-methods): Move hostname to the end in all
5405 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5407 (tramp-verbose): Describe verbose level 9.
5408 (tramp-completion-function-alist)
5409 (tramp-file-name-regexp, tramp-chunksize)
5410 (tramp-local-coding-commands, tramp-remote-coding-commands)
5411 (with-connection-property, tramp-completion-mode-p)
5412 (tramp-action-process-alive, tramp-action-out-of-band)
5413 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5414 (tramp-exists-file-name-handler): Fix docstring.
5415 (tramp-remote-process-environment): Use `format' instead of
5416 `concat'. Protect version string by apostroph.
5417 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5419 (tramp-file-name-regexp-unified)
5420 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5421 not regard the volume letter as remote filename. (Bug#5447)
5422 (tramp-perl-file-attributes)
5423 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5424 (tramp-vc-registered-read-file-names): Read input as
5425 here-document, otherwise the command could exceed maximum length
5427 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5428 `set-file-selinux-context'.
5429 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5430 backtrace functions.
5431 (tramp-error-with-buffer): Don't show the connection buffer when
5432 we are in completion mode.
5433 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5434 (tramp-handle-file-selinux-context)
5435 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5436 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5438 (with-progress-reporter): New defmacro.
5439 (tramp-debug-outline-regexp): New defconst.
5440 (top, tramp-rfn-eshadow-setup-minibuffer)
5441 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5442 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5443 (tramp-completion-mode-p, tramp-check-for-regexp)
5444 (tramp-open-connection-setup-interactive-shell)
5445 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5446 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5447 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5448 Use `tramp-compat-funcall'.
5449 (tramp-handle-make-symbolic-link): Flush file properties.
5450 (tramp-handle-load, tramp-handle-file-local-copy)
5451 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5452 (tramp-handle-vc-registered, tramp-maybe-send-script)
5453 (tramp-find-shell): Use `with-progress-reporter'.
5454 (tramp-do-file-attributes-with-stat): Add space in format string,
5455 in order to work around a bug in pdksh. Reported by Gilles Pion
5457 (tramp-handle-verify-visited-file-modtime): Do not send a command
5458 when the connection is not established.
5459 (tramp-handle-set-file-times): Simplify the check for utc.
5460 (tramp-handle-directory-files-and-attributes)
5461 (tramp-get-remote-path): Use `copy-tree'.
5462 (tramp-completion-handle-file-name-all-completions): Ensure, that
5463 non remote files are still checked. Oops.
5464 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5465 Handle PRESERVE-SELINUX-CONTEXT.
5466 (tramp-do-copy-or-rename-file): Add progress reporter.
5467 (tramp-do-copy-or-rename-file-directly): Do not use
5468 `tramp-handle-file-remote-p'.
5469 (tramp-do-copy-or-rename-file-out-of-band):
5470 Use `tramp-compat-delete-directory'.
5471 (tramp-do-copy-or-rename-file-out-of-band)
5472 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5473 Use `format-spec-make'.
5474 (tramp-handle-delete-file): Add TRASH arg.
5475 (tramp-handle-dired-uncache): Flush directory cache, not only file
5477 (tramp-handle-expand-file-name)
5478 (tramp-completion-handle-file-name-all-completions)
5479 (tramp-completion-handle-file-name-completion):
5480 Use `tramp-connectable-p'.
5481 (tramp-handle-start-file-process): Set connection property "vec".
5482 Use it, in order to invalidate file caches. Check only for
5483 `remote-tty' process property.
5484 Implement tty setting. (Bug#4604, Bug#6360)
5485 (tramp-file-name-for-operation): Add `call-process-region' and
5486 `set-file-selinux-context'.
5487 (tramp-find-foreign-file-name-handler)
5488 (tramp-advice-make-auto-save-file-name)
5489 (tramp-set-auto-save-file-modes): Remove superfluous check for
5490 `stringp'. This is done inside `tramp-tramp-file-p'.
5491 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5492 operations when we are in completion mode. This gives the user
5493 the chance to correct the file name in the minibuffer.
5494 (tramp-completion-mode-p): Use `non-essential'.
5495 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5496 compatibility: Use `completion-ignore-case' if
5497 `read-file-name-completion-ignore-case' does not exist.
5498 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5499 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5501 (tramp-action-password): Hide password prompt before next run.
5502 (tramp-process-actions): Widen connection buffer for the trace.
5503 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5504 process property. Trace stty settings if `tramp-verbose' >= 9.
5505 Apply workaround for IRIX64 bug. Move argument of last
5506 `tramp-send-command' where it belongs to.
5507 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5508 front of `login-args'.
5509 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5510 on "/dev/null" instead of "/".
5511 (tramp-get-ls-command-with-dired): Make test for "--dired"
5513 (tramp-set-auto-save-file-modes): Adapt version check.
5514 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5515 (tramp-handle-process-file): Call the program in a subshell, in
5516 order to preserve working directory.
5517 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5518 `tramp-remote-sh' from `tramp-methods'.
5519 (tramp-get-ls-command): Make test for "--color=never" stronger.
5520 (tramp-check-for-regexp): Use (forward-line 1).
5522 * net/trampver.el: Update release number.
5524 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5526 * help.el (help-map): Bind `C-h P' to describe-package.
5528 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5530 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5531 when downloading archives.
5532 (describe-package-1): Add package commentary.
5533 (package-install-button-action): New function.
5534 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5535 (package-menu-view-commentary): Function removed.
5536 (package-list-packages-internal): Hide the `package' package too.
5538 2010-08-25 Kenichi Handa <handa@m17n.org>
5540 * language/misc-lang.el ("Arabic"): New language environment.
5541 Setup composition-function-table for Arabic characters.
5543 * international/fontset.el (setup-default-fontset): Fix typo for
5544 arabic OTF spec (fini->fina).
5546 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5548 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5551 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5553 * whitespace.el: Allow cleaning up blanks without blank
5554 visualization (Bug#6651). Adjust help window for
5555 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5556 instead of whitespace-line-column (from EmacsWiki). New version
5558 (whitespace-style): Add new value 'face. Adjust docstring.
5559 (whitespace-space, whitespace-hspace, whitespace-tab):
5560 Adjust foreground property face.
5561 (whitespace-line-column): Adjust docstring and type declaration.
5562 (whitespace-style-value-list, whitespace-toggle-option-alist)
5563 (whitespace-help-text): Adjust const initialization.
5564 (whitespace-toggle-options, global-whitespace-toggle-options):
5566 (whitespace-display-window, whitespace-interactive-char)
5567 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5568 (whitespace-help-scroll): New fun.
5570 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5572 * emacs-lisp/package.el (list-packages): Alias for
5573 package-list-packages.
5575 2010-08-24 Kevin Ryde <user42@zip.com.au>
5577 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5580 * progmodes/ruby-mode.el (ruby): Add defgroup.
5582 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5584 * progmodes/python.el: Add Ipython support (Bug#5390).
5585 (python-shell-prompt-alist)
5586 (python-shell-continuation-prompt-alist): New options.
5587 (python--set-prompt-regexp): New function.
5588 (inferior-python-mode, run-python, python-shell):
5589 Require ansi-color. Use python--set-prompt-regexp to set the comint
5590 prompt based on the Python interpreter.
5591 (python--prompt-regexp): New var.
5592 (python-check-comint-prompt)
5593 (python-comint-output-filter-function): Use it.
5594 (run-python): Use a pipe (Bug#5694).
5596 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5598 * progmodes/python.el (python-send-region): Send a different
5599 Python command if Ipython is in use.
5600 (python-check-version): Use a Python command to find the version.
5602 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5604 * mouse.el (mouse-yank-primary): Avoid setting primary when
5605 deactivating the mark (Bug#6872).
5607 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5609 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5610 with "else" (Bug#3991).
5612 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5614 * net/dbus.el: Accept UNIX domain sockets as bus address.
5615 (top): Don't initialize `dbus-registered-objects-table' anymore,
5616 this is done in dbusbind,c.
5617 (dbus-check-event): Adapt test for bus.
5618 (dbus-return-values-table, dbus-unregister-service)
5619 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5622 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5624 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5626 2010-08-22 Juri Linkov <juri@jurta.org>
5628 * simple.el (read-extended-command): New function with the logic
5629 for `completing-read' moved to Elisp from `execute-extended-command'.
5630 Use `function-called-at-point' in `minibuffer-default-add-function'
5631 to get a command name for M-n (bug#5364, bug#5214).
5633 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5635 * startup.el (command-line-1): Issue warning for ignored arguments
5636 --unibyte, etc (Bug#6886).
5638 2010-08-22 Leo <sdl.web@gmail.com>
5640 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5641 (ignore, bright, dim, keyword): Split list of nicknames before
5642 passing to rcirc-add-or-remove (Bug#6894).
5644 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5646 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5648 2010-08-22 Leo <sdl.web@gmail.com>
5650 Fix buffer-list rename&refresh after killing a buffer in ido.
5651 * ido.el: Revert Óscar's.
5652 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5653 Remember the buffers at head, rather than their name.
5654 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5656 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5657 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5660 extra backslash added to each line (bug#6890).
5662 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5664 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5666 2010-08-22 Glenn Morris <rgm@gnu.org>
5668 * menu-bar.el (menu-bar-games-menu): Add landmark.
5670 2010-08-22 Glenn Morris <rgm@gnu.org>
5672 * align.el (align-regexp): Make group and spacing arguments
5673 use the interactive defaults when non-interactive. (Bug#6698)
5675 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5676 expansion, so as not to need sendmail.
5677 (mail-text-start): Remove declaration.
5678 (rmail-retry-failure): Require sendmail.
5680 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5682 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5684 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5686 * progmodes/flymake.el (flymake-start-syntax-check-process):
5687 Use `start-file-process' in order to let it run also on remote hosts.
5689 2010-08-22 Kenichi Handa <handa@m17n.org>
5691 * files.el: Add `word-wrap' as safe local variable.
5693 2010-08-22 Glenn Morris <rgm@gnu.org>
5695 * woman.el (woman-translate): Case matters. (Bug#6849)
5697 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5699 * simple.el (kill-region): Doc fix (Bug#6787).
5701 2010-08-22 Glenn Morris <rgm@gnu.org>
5703 * calendar/diary-lib.el (diary-header-line-format):
5704 Fit it to the window, not the frame.
5706 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5708 * subr.el (ignore-errors): Add debug declaration.
5710 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5712 * whitespace.el (whitespace-color-off): Remove post-command-hook
5715 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5719 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5721 * cus-edit.el (custom-group-value-create): Add extra newline
5722 before end line (Bug#6876).
5724 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5726 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5727 when extending it. Before killing on the second click, check if
5728 the buffer is the correct one. Doc fix.
5729 (mouse-secondary-save-then-kill): Allow usage without first
5730 calling mouse-start-secondary, by defaulting to point. Don't save
5731 an empty secondary selection. Doc fix.
5733 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5735 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5736 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5738 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5739 Adjust initialization.
5740 (whitespace-bob-marker, whitespace-eob-marker)
5741 (whitespace-buffer-changed): New vars.
5742 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5743 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5744 (whitespace-post-command-hook, whitespace-display-char-on):
5746 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5747 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5749 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5751 * files.el (locate-file-completion-table): Only list the .el and .elc
5752 extensions if there's no other choice (bug#5955).
5754 * facemenu.el (facemenu-self-insert-data): New var.
5755 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5757 (facemenu-add-face): Use them.
5759 * simple.el (blink-matching-open): Obey forward-sexp-function.
5761 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5763 * simple.el (prog-mode-map): New var.
5764 (prog-indent-sexp): New command.
5766 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5768 * progmodes/prolog.el (smie): Require.
5770 * emacs-lisp/smie.el (smie-default-backward-token)
5771 (smie-default-forward-token): Strip properties.
5772 (smie-next-sexp): Be more careful with associative operators.
5773 (smie-forward-sexp-command): Generalize.
5774 (smie-backward-sexp-command): Simplify.
5775 (smie-closer-alist): New var.
5776 (smie-close-block): New command.
5777 (smie-indent-debug-log): New var.
5778 (smie-indent-offset-rule): Add a few more cases.
5779 (smie-indent-column): New function.
5780 (smie-indent-after-keyword): Use it.
5781 (smie-indent-keyword): Use it.
5782 Fix up the opener code's point position.
5783 (smie-indent-comment): Only applies at BOL.
5784 (smie-indent-debug): New command.
5786 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5787 declarations that are useful before running the macro.
5789 2010-08-18 Joakim Verona <joakim@verona.se>
5791 * image.el (imagemagick-types-inhibit): New variable.
5792 (imagemagick-register-types): New function.
5793 * image-mode.el (image-transform-properties): New function.
5794 (image-transform-set-scale, image-transform-fit-to-height)
5795 (image-transform-set-rotation, image-transform-set-resize)
5796 (image-transform-fit-to-width, image-transform-fit-to-height):
5798 (image-toggle-display-image): Support image transforms.
5800 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5802 * image.el (create-animated-image): Don't add heuristic mask to image
5805 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5807 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5808 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5810 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5812 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5814 Font-lock '...' strings, plus various simplifications and fixes.
5815 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5816 (octave-font-lock-close-quotes): New function.
5817 (octave-font-lock-syntactic-keywords): New var.
5818 (octave-mode): Use it. Set beginning-of-defun-function.
5819 (octave-mode-map): Don't override the <foo>-defun commands.
5820 (octave-mode-menu): Pass it directly to easy-menu-define;
5821 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5822 (octave-block-match-alist): Fix up last change so that
5823 octave-close-block uses the more specific keyword.
5824 (info-lookup-mode): Silence byte-compiler.
5825 (octave-beginning-of-defun): Not interactive any more.
5827 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5828 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5829 (octave-completion-at-point-function): Make sure point is within
5831 (octave-reindent-then-newline-and-indent):
5832 Use reindent-then-newline-and-indent.
5833 (octave-add-octave-menu): Remove.
5835 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5837 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5838 (report-emacs-bug-can-use-xdg-email): New functions.
5839 (report-emacs-bug): Set can-xdg-email to result of
5840 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5841 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5844 * net/browse-url.el (browse-url-default-browser): Add cond
5845 for browse-url-xdg-open.
5846 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5848 2010-08-17 Glenn Morris <rgm@gnu.org>
5850 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5851 (c-fontify-recorded-types-and-refs): Define for compiler.
5852 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5855 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5858 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5860 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5862 (tramp-handle-process-file): Call the program in a subshell, in
5863 order to preserve working directory.
5864 (tramp-action-password): Hide password prompt before next run.
5865 (tramp-process-actions): Widen connection buffer for the trace.
5867 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5869 * net/rcirc.el (rcirc-log-process-buffers): New option.
5870 (rcirc-print): Use it.
5871 (rcirc-generate-log-filename): New function.
5872 (rcirc-log-filename-function): Change default to
5873 rcirc-generate-log-filename (Bug#6828).
5875 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5877 * simple.el (deactivate-mark): If select-active-regions is `only',
5878 only set selection for temporarily active regions.
5880 * cus-start.el: Change defcustom for select-active-regions.
5882 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5884 * mouse.el (mouse--drag-set-mark-and-point): New function.
5885 (mouse-drag-track): Use LOCATION arg to push-mark.
5886 Use mouse--drag-set-mark-and-point to take click-count into
5887 consideration when updating point and mark (Bug#6840).
5889 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5891 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5892 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5894 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5896 * font-lock.el (lisp-font-lock-keywords-2):
5897 Add combine-after-change-calls, condition-case-no-debug,
5898 with-demoted-errors, and with-silent-modifications (Bug#6025).
5900 2010-08-14 Kevin Ryde <user42@zip.com.au>
5902 * emacs-lisp/copyright.el (copyright-update-year)
5903 (copyright-update): Temporary switch-to-buffer to ensure the
5904 buffer change being queried is visible (Bug#5394).
5906 2010-08-14 Tom Tromey <tromey@redhat.com>
5908 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5911 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5913 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5916 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5918 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5919 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5920 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5921 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5922 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5923 Call menu-bar-set-tool-bar-position.
5925 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5928 comment style (bug#6834).
5929 * progmodes/scheme.el (scheme-mode-syntax-table):
5930 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5931 "b" flag in "' 14b" syntax.
5933 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5934 for (un)commenting the region and performing completion.
5935 (octave-mode-menu): Use standard commands for help and completion.
5936 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5937 (octave-mode): Use define-derived-mode.
5938 Set completion-at-point-functions and don't set columns.
5939 Don't disable adaptive-fill-regexp.
5940 (octave-describe-major-mode, octave-comment-region)
5941 (octave-uncomment-region, octave-comment-indent)
5942 (octave-indent-for-comment): Remove.
5943 (octave-indent-calculate): Rename from calculate-octave-indent.
5944 (octave-indent-line, octave-fill-paragraph): Update caller.
5945 (octave-initialize-completions): No need to make an alist.
5946 (octave-completion-at-point-function): New function.
5947 (octave-complete-symbol): Use it.
5948 (octave-insert-defun): Use define-skeleton.
5950 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5951 (octave-mode-map): Use comment-dwim (bug#6829).
5953 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5955 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5956 indentation of inserted comment.
5958 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5960 * faces.el (region): Add type gtk that uses gtk colors.
5962 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5963 Handle theme-name change.
5965 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5967 * progmodes/sql.el: Version 2.5
5968 (sql-product-alist): Add :prompt-cont-regexp property for several
5970 (sql-prompt-cont-regexp): New variable.
5971 (sql-output-newline-count, sql-output-by-send):
5972 New variables. Record number of newlines in input text.
5973 (sql-send-string): Handle multiple filters and count newlines.
5974 (sql-send-magic-terminator): Count terminator newline.
5975 (sql-interactive-remove-continuation-prompt): Filters output to
5976 remove continuation prompts; one for each newline.
5977 (sql-interactive-mode): Set up new variables, prompt regexp and
5979 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5980 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5982 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/pcase.el: New file.
5986 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5988 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5989 as here-document, otherwise the command could exceed maximum
5990 length of command line.
5991 (tramp-handle-vc-registered): Call script accordingly.
5992 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5994 2010-08-10 Kenichi Handa <handa@m17n.org>
5996 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5999 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6001 * emacs-lisp/package.el (package-version-split)
6002 (package--version-first-nonzero, package-version-compare):
6004 (package-directory-list, package-load-all-descriptors)
6005 (package--built-in, package-activate, define-package)
6006 (package-installed-p, package-compute-transaction)
6007 (package-read-all-archive-contents)
6008 (package--add-to-archive-contents, package-buffer-info)
6009 (package-tar-file-info, package-list-packages-internal):
6010 Use version-to-list and version-list-*.
6012 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6013 Use version-to-list.
6014 (package-upload-buffer-internal): Use version-list-<=.
6016 2010-08-09 Kenichi Handa <handa@m17n.org>
6018 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6021 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6023 * tutorial.el (tutorial--default-keys): C-d is now bound to
6024 delete-forward-char (Bug#6826).
6026 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6027 for `double' value of mouse-1-click-follows-link (Bug#6807).
6029 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6031 * replace.el (replace-highlight): Bind isearch-forward and
6032 isearch-error, ensuring that highlighting is updated if the user
6033 switches the search direction (Bug#6808).
6035 * isearch.el (isearch-lazy-highlight-forward): New var.
6036 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6037 (isearch-lazy-highlight-update): Use it.
6039 2010-08-08 Kenichi Handa <handa@m17n.org>
6041 * international/mule.el (define-charset): Store NAME as :base property.
6042 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6043 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6044 current priority. Force using the designation of the specific
6045 charset by adding `charset' text property. Improve the whole algorithm.
6047 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6049 * emulation/pc-select.el (pc-selection-mode-hook)
6050 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6051 (pc-selection-mode): Fix typos in docstrings.
6053 2010-08-08 Kenichi Handa <handa@m17n.org>
6055 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6056 ctext-non-standard-encodings-alist here.
6058 * international/mule.el (ctext-non-standard-encodings-alist):
6059 Add "koi8-r" and "microsoft-cp1251".
6060 (ctext-standard-encodings): New variable.
6061 (ctext-non-standard-encodings-table): List only elements for
6062 non-standard encodings.
6063 (ctext-pre-write-conversion): Adjust for the above change.
6064 Check ctext-standard-encodings.
6066 * international/mule-conf.el (compound-text): Doc fix.
6067 (ctext-no-compositions): Doc fix.
6068 (compound-text-with-extensions): Doc fix.
6070 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6074 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6076 * progmodes/which-func.el (which-func-format): Split help-echo text
6077 into lines, like other mode-line tooltips.
6079 * server.el (server-start): When using TCP sockets, force IPv4
6080 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6082 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6084 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6086 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6088 * term.el (term-delimiter-argument-list): Reflow docstring.
6089 (term-read-input-ring, term-write-input-ring, term-send-input)
6090 (term-bol, term-erase-in-display, serial-supported-or-barf):
6091 Fix typos in docstrings.
6093 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6097 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6099 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6101 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6103 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6104 Fix typo in docstring (bug#6747).
6106 2010-08-08 Leo <sdl.web@gmail.com>
6108 * eshell/esh-io.el (eshell-get-target): Better detection of
6109 read-only file (Bug#6762).
6111 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6113 * align.el (align-default-spacing): Doc fix.
6114 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6116 2010-08-08 Stephen Peters <speters@itasoftware.com>
6118 * calendar/icalendar.el
6119 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6120 (icalendar--get-weekday-numbers): New.
6121 (icalendar--convert-recurring-to-diary): Handle multiple byday
6122 values in weekly rules. (Bug#6766)
6124 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6126 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6127 (icalendar--create-uid, icalendar-export-region)
6128 (icalendar--parse-summary-and-rest): Code formatting.
6130 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6132 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6133 to italicize headers.
6134 (calc-highlight-selections-with-faces): New variable.
6135 (calc-selected-face, calc-nonselected-face): New faces.
6137 * calc/calccomp.el (math-comp-highlight-string): Use
6138 `calc-highlight-selections-with-faces' to determine how to highlight
6141 * calc/calc-sel.el (calc-show-selections): Change message to when
6142 using faces to highlight selections.
6144 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6146 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6147 Add SQLite 3 keywords, functions and datatypes.
6148 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6151 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6153 * simple.el (select-active-regions): Move to keyboard.c.
6154 (deactivate-mark): Used saved-region-selection.
6155 (select-active-region): Function removed.
6156 (activate-mark, set-mark, push-mark-command)
6157 (handle-shift-selection): Don't call it.
6158 (keyboard-quit): Avoid adding the region to the window selection.
6160 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6161 select-active-regions implementation.
6162 (mouse-yank-at-click): Doc fix.
6164 * cus-start.el: Add custom declaration for select-active-regions.
6166 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6168 * simple.el (delete-forward-char): Doc fix.
6170 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6171 after reading the tutorial.
6173 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6175 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6176 Fix for the case that a C style comment has its delimiters alone on
6177 their respective lines.
6179 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6181 * net/tramp.el (tramp-handle-start-file-process): Set connection
6183 (tramp-process-sentinel): Use it for flushing the cache.
6184 We cannot do it via the process buffer, the buffer could be deleted
6185 already when running the sentinel.
6187 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6189 * comint.el (comint-mode): Make directory tracking functions
6190 functional on remote files. (Bug#6764)
6192 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6194 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6196 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6198 * emacs-lisp/find-gc.el (find-gc-source-files):
6199 Rename unexec.c => unexcoff.c.
6201 * emacs-lisp/authors.el (authors-fixed-entries):
6202 Rename unexec.c => unexcoff.c.
6204 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6206 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6207 cache, not only file cache.
6208 (tramp-process-sentinel): New defun.
6209 (tramp-handle-start-file-process): Use it, in order to invalidate
6212 2010-08-03 Leo <sdl.web@gmail.com>
6214 * server.el (server-start): Simplify loop.
6216 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * frame.el (screen-height, screen-width, set-screen-width)
6219 (set-screen-height): Remove ancient compatibility aliases.
6221 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6222 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6224 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6225 that change current buffer.
6227 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6229 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6230 beginning of the string. Use `string-match-p'. (Bug#6765)
6232 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6234 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6236 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6238 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6239 (package--builtins): Tweak descriptions.
6240 (package-print-package): Upcase descriptions if necessary.
6241 Show all built-in packages in font-lock-builtin-face.
6242 (package-list-packages-internal): Omit "emacs" package.
6243 Show status of built-in packages as "built-in".
6245 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6247 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6248 before killing to preserve the primary selection (Bug#6701).
6250 * term/x-win.el (x-select-text): Doc fix.
6252 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6254 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6255 (objc-font-lock-extra-types):
6256 * progmodes/cc-mode.el (c-basic-common-init):
6257 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6258 (c++-make-template-syntax-table)
6259 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6260 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6261 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6262 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6263 * progmodes/cc-fonts.el (c-make-inverse-face)
6264 (c-basic-matchers-after):
6265 * progmodes/cc-engine.el (c-forward-keyword-clause)
6266 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6267 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6268 (c-guess-continued-construct, c-guess-basic-syntax):
6269 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6270 The above functions were modified or created.
6272 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6274 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6276 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6278 * files.el (bidi-paragraph-direction): Define safe local values.
6280 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6281 language-info-alist. Remove outdated FIXME in a comment.
6283 2010-07-31 Alan Mackenzie <acm@muc.de>
6285 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6286 Auto-fill broken in C/C++ modes.
6288 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6290 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6291 (menu-bar-showhide-tool-bar-menu-customize-disable)
6292 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6293 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6294 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6295 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6296 make a menu for Options => toolbar that can move it.
6298 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6300 * emacs-lisp/package-x.el (package--make-rss-entry):
6301 (package-maint-add-news-item, package--update-news)
6302 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6304 * emacs-lisp/package.el (package-archive-url): Rename from
6306 (package-install): Doc fix.
6307 (package-download-single, package-download-tar, package-install)
6308 (package-menu-view-commentary): Callers changed.
6310 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6312 * net/tramp.el (tramp-handle-start-file-process): Check only for
6313 `remote-tty' process property.
6314 (tramp-open-shell): Don't check for tty.
6315 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6318 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6321 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6323 * emacs-lisp/package.el (package-load-list, package-archives)
6324 (package-archive-contents, package-user-dir)
6325 (package-directory-list, package--builtins, package-alist)
6326 (package-activated-list, package-obsolete-alist): Mark as risky.
6328 2010-07-28 Phil Hagelberg <phil@evri.com>
6330 Add support for non-default package repositories.
6331 * emacs-lisp/package.el (package-archive-base): Var deleted.
6332 (package-archives): New variable.
6333 (package-archive-contents): Doc fix.
6334 (package-load-descriptor): Do nothing if descriptor file is missing.
6335 (package--write-file-no-coding): New function.
6336 (package-unpack-single): Use it.
6337 (package-archive-id): New function.
6338 (package-download-single, package-download-tar)
6339 (package-menu-view-commentary): Use it.
6340 (package-installed-p): Make second argument optional.
6341 (package-read-all-archive-contents): New function.
6342 (package-initialize): Use it.
6343 (package-read-archive-contents): Add ARCHIVE argument.
6344 (package--add-to-archive-contents): New function.
6345 (package-install): Don't call package-read-archive-contents.
6346 (package--download-one-archive): Store archive file in a
6347 subdirectory of package-user-dir.
6348 (package-menu-execute): Remove spurious line movement.
6350 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6352 * cus-start.el (tool-bar-style): Add text-image-horiz.
6354 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6356 * progmodes/gud.el (gud-common-init): Check for remoteness of
6357 `file', and not of `default-directory'.
6359 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6361 * net/tramp.el (tramp-methods): Move hostname to the end in all
6362 ssh `tramp-login-args'.
6363 (tramp-verbose): Describe verbose level 9.
6364 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6365 (tramp-open-connection-setup-interactive-shell): Trace stty
6366 settings if `tramp-verbose' >= 9.
6367 (tramp-handle-start-file-process): Implement tty setting.
6368 (Bug#4604, Bug#6360)
6370 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6371 `tramp-verbose' to 9.
6373 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6375 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6376 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6377 Remove references to package `lisp-re' (bug#4369).
6379 2010-07-27 Tom Tromey <tromey@redhat.com>
6381 * progmodes/js.el (js-mode):
6382 * progmodes/make-mode.el (makefile-mode):
6383 * progmodes/simula.el (simula-mode):
6384 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6386 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6388 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6390 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6391 (display-time-world-buffer-name, display-time-world-mode-map):
6392 Fix typos in docstrings.
6394 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6396 * image-mode.el (image-display-size): New function.
6397 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6398 (image-mode-fit-frame): Use it (Bug#6639).
6400 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6402 * dired.el (dired-buffers-for-dir): Handle list values of
6403 dired-directory (Bug#6636).
6405 2010-07-26 Sam Steingold <sds@gnu.org>
6407 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6408 Do not call `x-get-selection' the second time, reuse the value.
6410 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6412 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6413 which consist of control chars only. Suggested by Richard Stallman.
6415 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6417 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6418 exists before passing an error to find-file-not-found-functions
6421 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6423 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6424 Remove leading nil element, adjust values.
6425 (tetris-shapes, tetris-shape-scores):
6426 Change representation of shapes and remove some redundancy.
6427 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6428 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6429 Adjust for working with new representation of shapes.
6430 (tetris-shape-rotations): New function.
6431 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6432 (tetris-rotate-prev, tetris-rotate-next):
6433 Adjust for working with the new version of tetris-test-shape.
6435 2010-07-23 Markus Triska <markus.triska@gmx.at>
6437 * progmodes/ps-mode.el: Use comint (bug#5954).
6438 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6439 (ps-mode-other-newline): Simplify.
6440 (ps-run-mode): Derive from comint-mode instead of
6441 fundamental-mode, yielding input history etc.
6442 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6443 (ps-run-send-string): Adapt for comint-mode.
6444 (ps-run-newline): Remove now unneeded function.
6446 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6448 * net/tramp.el (tramp-methods): Move hostname to the end in all
6449 plink `tramp-login-args'.
6451 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6453 * net/tramp.el (tramp-open-shell): New defun.
6454 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6457 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6459 * net/tramp.el (tramp-file-name-regexp-unified)
6460 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6461 not regard the volume letter as remote filename. (Bug#5447)
6463 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6465 * custom.el (custom-declare-variable): Give a clearer error message
6466 when the docstring is missing (bug#6476).
6468 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6470 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6471 (sql-login-params): New widget definition.
6472 (sql-oracle-login-params, sql-mysql-login-params)
6473 (sql-solid-login-params, sql-sybase-login-params)
6474 (sql-informix-login-params, sql-ingres-login-params)
6475 (sql-ms-login-params, sql-postgres-login-params)
6476 (sql-interbase-login-params, sql-db2-login-params)
6477 (sql-linter-login-params): Use it.
6478 (sql-sqlite-login-params): Use it; Define "database" parameter as
6480 (sql-sqlite-program): Change to "sqlite3".
6481 (sql-comint-sqlite): Make sure database name is complete.
6482 (sql-for-each-login): New function.
6483 (sql-connect, sql-save-connection): Use it.
6484 (sql-get-login-ext): New function.
6485 (sql-get-login): Use it.
6486 (sql-make-alternate-buffer-name): Handle :file parameters.
6488 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6490 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6491 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6493 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6495 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6497 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6499 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6501 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp.el (tramp-get-ls-command)
6504 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6507 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6509 * progmodes/sql.el: Version 2.3.
6510 (sql-connection-alist): Change keys from symbols to strings;
6511 enhanced the widget definition.
6512 (sql-mode-menu): Add submenu to select connections.
6513 (sql-interactive-mode-menu): Add "Save Connection" item.
6514 (sql-add-product): Fix menu item.
6515 (sql-get-product-feature): Improved error handling.
6516 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6517 (sql-make-alternate-buffer-name): Simplified.
6518 (sql-product-interactive): Handle missing product.
6519 (sql-connect): Support string keys, minor improvements.
6520 (sql-save-connection): New function.
6521 (sql-connection-menu-filter): New function.
6523 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6525 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6526 (tramp-open-connection-setup-interactive-shell):
6527 Apply workaround for IRIX64 bug. Move argument of last
6528 `tramp-send-command' where it belongs to.
6530 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6532 * net/tramp.el (tramp-perl-file-attributes)
6533 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6534 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6535 front of `login-args'.
6537 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6539 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6540 Set `show-trailing-whitespace' to nil.
6541 (display-time-world-display): Simplify.
6543 2010-07-18 Alan Mackenzie <acm@muc.de>
6545 Enhance `c-file-style' in file/directory local variables.
6546 * progmodes/cc-mode.el (c-count-cfss): New function.
6547 (c-before-hack-hook): Call `c-set-style' differently according to
6548 whether c-file-style was set in file or directory local
6551 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6553 * progmodes/sql.el: Version 2.2.
6554 (sql-product, sql-user, sql-database, sql-server, sql-port):
6555 Use defcustom :safe keyword rather than putting safe-local-variable
6557 (sql-password): Use defcustom :risky keyword rather than putting
6558 risky-local-variable property.
6559 (sql-oracle-login-params, sql-sqlite-login-params)
6560 (sql-solid-login-params, sql-sybase-login-params)
6561 (sql-informix-login-params, sql-ingres-login-params)
6562 (sql-ms-login-params, sql-postgres-login-params)
6563 (sql-interbase-login-params, sql-db2-login-params)
6564 (sql-linter-login-params): Add `port' option.
6565 (sql-get-product-feature): Add NO-INDIRECT parameter.
6566 (sql-comint-oracle, sql-comint-sybase)
6567 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6568 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6569 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6570 (sql-comint-linter): Rename sql-connect-* functions to
6572 (sql-product-alist, sql-mode-menu): Rename as above and
6573 :sqli-connect-func to :sqli-comint-func.
6574 (sql-connection): New variable.
6575 (sql-interactive-mode): Set it.
6576 (sql-connection-alist): New variable.
6577 (sql-connect): New function.
6578 (sql--alt-buffer-part, sql--alt-if-not-empty)
6579 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6581 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6583 * image-mode.el (image-bookmark-make-record): Do not set context
6584 in an image (Bug#6650).
6586 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6588 * simple.el (select-active-region): New function.
6589 (push-mark-command, set-mark, activate-mark)
6590 (handle-shift-selection): Use it.
6591 (deactivate-mark): Don't check for size of region.
6593 * mouse.el (mouse-drag-track): Use select-active-region.
6595 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6597 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6600 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6602 * term/x-win.el (x-select-enable-primary): Change default to nil.
6603 (x-select-enable-clipboard): Add :version keyword.
6605 * mouse.el (mouse-drag-copy-region):
6606 * simple.el (select-active-regions): Likewise.
6608 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6610 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6611 (vc-coding-system-for-diff): Use it to decide whether to inherit
6612 from the file the EOL format for reading the diffs of that file.
6615 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6617 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6618 unibyte, so compressed attachments are not compressed again.
6620 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6622 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6623 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6624 (tramp-find-shell): Simplify setting connection property.
6625 (tramp-get-ls-command): Make test for "--color=never" stronger.
6627 2010-07-15 Simon South <ssouth@member.fsf.org>
6629 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6630 blocks within record declarations (i.e. variant parts) correctly.
6632 2010-07-15 Simon South <ssouth@member.fsf.org>
6634 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6635 over literal tokens when parsing so newlines aren't "absorbed" by
6636 single-line comments. Corrects the indentation of case blocks
6637 that have a comment on the first line.
6639 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6641 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6642 by Drew Adams (Bug#5504).
6644 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6646 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6647 now that Unicode is used (Bug#6594).
6649 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6651 * term/x-win.el (x-select-enable-clipboard): Default to t.
6652 (x-initialize-window-system): Don't overwrite Paste menu item.
6654 * simple.el (select-active-regions): Default to t.
6655 (push-mark-command): Don't overwrite primary with empty string.
6657 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6658 (mouse-drag-copy-region): Default to nil.
6660 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6661 Cut/Copy/Paste menu bar items.
6663 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6665 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6666 Patch applied by Karl Fogel.
6668 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6669 and `bookmark-current-buffer' if they have been already set in
6670 another buffer (e.g gnus-art).
6672 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6673 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6675 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6677 * bookmark.el (bookmark-make-record-default): Allow unneeded
6678 information to be omitted from the record.
6680 Adjust declarations and calls:
6682 * info.el (bookmark-make-record-default): Adjust declaration.
6683 (Info-bookmark-make-record): Adjust call.
6685 * woman.el (bookmark-make-record-default): Adjust declaration.
6686 (woman-bookmark-make-record): Adjust call.
6688 * man.el (bookmark-make-record-default): Adjust declaration.
6689 (Man-bookmark-make-record): Adjust call.
6691 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6693 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6695 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6697 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6698 This is also from Thierry Volpiatto's patch in bug #6444. However,
6699 because it was extraneous to the functional change in that patch,
6700 and causes a re-indendation, I am committing it separately.
6702 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6704 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6705 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6706 Patch applied by Karl Fogel (Bug#6444).
6708 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6710 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6712 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6714 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6715 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6716 (ns-alternatives-map): Change S-tab binding to backtab
6719 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6722 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6724 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6727 * language/tv-util.el (tai-viet-re): Remove format.
6729 2010-07-12 Kenichi Handa <handa@m17n.org>
6731 * language/hebrew.el: Remove no-byte-compile declaration.
6732 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6733 composition-function-table for 3-character looking back.
6734 (hebrew-font-get-precomposed): New function.
6735 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6737 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6739 * mouse.el (mouse-drag-track): Handle select-active-regions
6742 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6744 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6745 empty argument to gvfs-copy.
6747 2010-07-10 Glenn Morris <rgm@gnu.org>
6749 * calendar/calendar.el (calendar-week-end-day): New function.
6750 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6751 Respect calendar-week-start-day. (Bug#6606)
6752 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6753 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6754 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6755 respect calendar-week-start-day.
6757 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6759 * simple.el (use-region-p): Doc fix (Bug#6607).
6761 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6764 Add regexps for cucumber and ruby.
6766 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6768 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6769 (epa-file-insert-file-contents): Hack to prevent
6770 find-file from opening empty buffer when decryption failed
6773 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6775 * textmodes/ispell.el (ispell-alternate-dictionary):
6776 Use file-readable-p.
6777 Return nil if no word-list is found at default locations.
6778 (ispell-complete-word-dict): Default to nil.
6779 (ispell-command-loop): Use 'word-list' when using lookup-words.
6780 (lookup-words): Use ispell-complete-word-dict or
6781 ispell-alternate-dictionary. Check for word-list availability
6782 and handle errors if needed with better messages (Bug#6539).
6783 (ispell-complete-word): Use ispell-complete-word-dict or
6784 ispell-alternate-dictionary.
6786 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6788 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6789 builtins (BufferError, BytesWarning, WindowsError; callables
6790 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6792 2010-07-07 Glenn Morris <rgm@gnu.org>
6794 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6795 (zone-shift-left): Ignore intangibility, and any errors from
6797 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6798 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6799 deleting, and copying text properties.
6800 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6801 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6802 to point-max is hard.
6803 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6804 (zone-fill-out-screen): Ignore intangibility.
6806 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6808 * menu-bar.el (menu-bar-mode):
6809 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6812 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6813 word/line selection (Bug#6565).
6815 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6817 * net/dbus.el (dbus-send-signal): Declare function.
6819 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6821 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6822 (dbus-register-property): New optional argument EMITS-SIGNAL.
6823 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6825 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6827 * mouse.el (mouse-drag-overlay): Variable deleted.
6828 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6829 (mouse--remap-link-click-p): New function.
6830 (mouse-drag-track): Handle dragging by using temporary Transient
6831 Mark mode, instead of a special overlay.
6832 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6835 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6838 2010-07-02 Juri Linkov <juri@jurta.org>
6840 * autoinsert.el (auto-insert-alist): Fix readability
6841 by using dotted pair notation for lambda.
6843 2010-07-02 Juri Linkov <juri@jurta.org>
6845 * faces.el (read-face-name): Rename arg `string-describing-default'
6846 to `default'. Doc fix. Display the default value in quotes
6847 in the prompt. With empty input, return the `default' arg,
6848 unless the default value is a string (in which case return nil).
6849 (describe-face): Replace the string `default' arg of `read-face-name'
6850 with the symbol `default'.
6852 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6854 * emulation/viper-cmd.el (viper-delete-backward-char)
6855 (viper-del-backward-char-in-insert)
6856 (viper-del-backward-char-in-replace, viper-change)
6857 (viper-backward-indent): Replace delete-backward-char with
6858 delete-char (Bug#6552).
6860 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6862 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6864 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6866 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6867 argument passed to frame-creation-function (Bug#5378).
6869 * faces.el (x-handle-named-frame-geometry)
6870 (x-handle-reverse-video, x-create-frame-with-faces)
6871 (face-set-after-frame-default, tty-create-frame-with-faces):
6872 Don't separately consult default-frame-alist. It is now passed as the
6875 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6877 * startup.el (command-line): Don't call tool-bar-setup in a
6880 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6882 * ruler-mode.el (ruler--save-header-line-format): New fun.
6883 (ruler-mode): Use it as a setter function, so as not to overwrite
6884 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6886 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6888 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6889 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6890 (vc-log-outgoing): Use it.
6891 (vc-diff-internal): Set diff-vc-backend.
6893 * vc/diff-mode.el (diff-vc-backend): New var.
6895 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6897 * dynamic-setting.el (font-setting-change-default-font):
6898 Remove call to message.
6900 2010-06-28 Kenichi Handa <handa@m17n.org>
6902 * international/quail.el (quail-insert-kbd-layout): Fix the
6903 showing of untranslated characters.
6905 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6907 * simple.el (delete-active-region): New option.
6908 (delete-backward-char): Implement in Lisp.
6909 (delete-forward-char): New command.
6911 * mouse.el (mouse-region-delete-keys): Deleted.
6912 (mouse-show-mark): Simplify.
6914 * bindings.el (global-map): Bind delete and DEL, the former to
6915 delete-forward-char.
6917 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6919 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6920 (ruby-mode): Bind indent-line-function (Bug#5119).
6922 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6924 * startup.el (command-line): Recognize "0" X resource value.
6926 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6928 * startup.el (command-line): Use X resources to set the value of
6929 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6931 * menu-bar.el (menu-bar-mode):
6932 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6933 Set init-value to t.
6935 * frame.el (frame-notice-user-settings): Don't change
6936 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6937 vice versa (Bug#2249).
6939 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6941 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6943 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6945 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6946 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6948 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6949 default directories are expanded (Bug#6143).
6951 2010-06-24 Juri Linkov <juri@jurta.org>
6953 * minibuffer.el (completions-format): Change default from nil to
6954 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6956 2010-06-24 Juri Linkov <juri@jurta.org>
6958 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6959 buffer-locally to lambda that re-runs the vc diff command.
6962 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6964 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6965 echo area is in use (Bug#3412).
6967 2010-06-22 Glenn Morris <rgm@gnu.org>
6969 * textmodes/texinfmt.el (texinfo-format-region)
6970 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6971 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6972 (texinfo-format-option, texinfo-noindent):
6973 Use line-beginning-position and line-end-position.
6975 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6976 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6977 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6980 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6982 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6983 forward-line fallout.
6985 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6987 * mouse.el (mouse-appearance-menu): Add docstring.
6989 * help.el (describe-key): Print up-event using key-description.
6991 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6993 * net/zeroconf.el (zeroconf-resolve-service)
6994 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6995 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6997 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6999 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7001 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7003 Avoid displaying files with a nil state in vc-dir.
7004 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7005 cases that cause insertion.
7006 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7009 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7011 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7013 2010-06-29 Leo <sdl.web@gmail.com>
7015 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7017 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7019 * generic-x.el (bat-generic-mode): Fix regexp for command line
7020 switches (Bug#5719).
7022 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7024 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7025 of nconc to avoid pure storage error (Bug#6239).
7027 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7029 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7030 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7031 bindings of bookmark-automatically-show-annotations (Bug#6515).
7033 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7035 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7036 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7038 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7040 * comint.el (make-comint, make-comint-in-buffer): Mention return
7041 value in the docstrings. (Bug#6498)
7043 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7045 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7046 since it is not present when using some non-default switches.
7048 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7050 * simple.el (compose-mail): Fix doc string to refer to
7051 `compose-mail-user-agent-warnings', instead of to the
7052 nonexistent `compose-mail-check-user-agent'.
7054 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7056 Fix an indentation bug:
7058 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7059 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7062 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7063 (c-clear->-pair-props-if-match-before): now return t when they've
7064 cleared properties, nil otherwise.
7065 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7066 by taking account of the existing value.
7068 * progmodes/cc-defs.el
7069 (c-clear-char-property-with-value-function): Fix this to clear the
7070 property rather than overwriting it with nil.
7072 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7074 * emacs-lisp/package.el (package-print-package): Add link to
7075 package description via describe-package.
7076 (describe-package-1): List package requirements. Add button to
7077 perform installation.
7078 (package-menu-describe-package): New command.
7080 * help-mode.el (help-package): New button type.
7082 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7084 * emacs-lisp/package.el: Move package-list-packages binding to
7086 (describe-package, describe-package-1, package--dir): New funs.
7087 (package-activate-1): Use package--dir.
7089 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7091 * help-mode.el (help-package-def): New button type.
7093 * menu-bar.el: Move package-list-packages binding here from
7096 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7098 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7100 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * emacs-lisp/edebug.el (edebug-read-list):
7103 Phase out old-style backquotes.
7105 2010-06-17 Juri Linkov <juri@jurta.org>
7107 * help-mode.el (help-mode): Set buffer-local variable
7108 revert-buffer-function to help-mode-revert-buffer.
7109 (help-mode-revert-buffer): New function.
7111 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7112 before popping to "*info*" (like in other Info functions).
7113 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7114 old-history-forward. Pop to old-buffer-name or "*info*" to
7115 recreate the killed buffer. Set Info-history-forward from
7116 old-history-forward.
7117 (Info-breadcrumbs-depth): Add :group and :version.
7119 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7121 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7123 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7125 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7126 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7128 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7130 * emacs-lisp/package.el (package-menu-mode-map):
7131 Move initialization into declaration.
7133 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7135 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7137 * emacs-lisp/package.el (package-archive-base): Point to
7139 (package-enable, package-load-list): New defcustoms.
7140 (package-user-dir, package-directory-list): Turn into defcustoms.
7141 Don't include package-user-dir in package-directory-list.
7142 (package--builtins-base): Don't include Emacs as a "package".
7143 (package-subdirectory-regexp): New var.
7144 (package-load-all-descriptors, package-compute-transaction)
7145 (package-download-transaction): Obey package-load-list.
7146 (package-activate-1): Rename from package-do-activate.
7147 (package-list-packages-internal): Check package-load-list.
7148 (package-load-descriptor, package-generate-autoloads)
7149 (package-unpack, package-unpack-single)
7150 (package--read-archive-file, package-delete):
7151 Use expand-file-name.
7153 * emacs-lisp/package-x.el: New file. Package uploading
7154 functionality split out from package.el.
7156 * startup.el (command-line): Load packages after reading init file.
7158 2010-06-17 Tom Tromey <tromey@redhat.com>
7160 * emacs-lisp/package.el: New file.
7162 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7164 Fix vc-annotate for renamed files when using Git.
7165 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7166 ls-files. Doe not pass the object as a file name to cat-file, it
7168 (vc-git-annotate-command): Pass the file name using -- to avoid
7169 ambiguity with the revision.
7170 (vc-git-previous-revision): Pass a relative file name.
7172 2010-06-22 Glenn Morris <rgm@gnu.org>
7174 * progmodes/js.el (js-mode-map): Use standard capitalization and
7175 ellipses for menu entries.
7177 * wid-edit.el (widget-complete): Doc fix.
7179 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7181 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7183 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7185 Fix annotating other revisions for renamed files in vc-annotate.
7186 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7187 VC backend. Use it when non-nil.
7188 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7191 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7192 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7193 Do not pass the file name to the 'previous-revision call when we
7194 don't want a file diff. (Bug#6489)
7196 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7198 Fix finding revisions for renamed files in vc-annotate.
7199 * vc/vc.el (vc-find-revision): Add an optional argument for
7200 the VC backend. Use it when non-nil.
7201 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7202 backend to vc-find-revision. (Bug#6487)
7204 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7206 Fix reading file names in Git annotate buffers.
7207 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7208 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7210 2010-06-20 Alan Mackenzie <acm@muc.de>
7212 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7213 in file local variables, set it first.
7215 2010-06-19 Glenn Morris <rgm@gnu.org>
7217 * descr-text.el (describe-char-unicode-data): Insert separating
7218 space when needed. (Bug#6422)
7220 * progmodes/idlwave.el (idlwave-action-and-binding):
7221 Fix typo in 2009-12-03 change. (Bug#6450)
7223 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7226 handling for `lambda' (misunderstanding).
7228 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7230 * calc/calc-poly.el (math-accum-factors): Make sure that
7231 constants aren't distributed after they are factored out.
7233 2010-06-16 Juri Linkov <juri@jurta.org>
7235 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7236 `list-colors-print'. (Bug#6332)
7238 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7240 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7243 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7245 * font-lock.el (font-lock-major-mode): Rename from
7246 font-lock-mode-major-mode to distinguish it from
7247 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7248 (font-lock-set-defaults):
7249 * font-core.el (font-lock-default-function): Adjust users.
7250 (font-lock-mode): Don't set it at all.
7252 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7256 2010-06-16 Glenn Morris <rgm@gnu.org>
7258 * calendar/appt.el (appt-time-msg-list): Doc fix.
7259 (appt-check): Let-bind appt-warn-time.
7260 (appt-add): Make the 3rd argument optional.
7261 Simplify argument names. Doc fix. Check for integer WARNTIME.
7262 Only add WARNTIME to the output list if non-nil.
7264 2010-06-16 Ivan Kanis <apple@kanis.eu>
7266 * calendar/appt.el (appt-check): Let the 3rd element of
7267 appt-time-msg-list specify the warning time.
7268 (appt-add): Add new argument with the warning time. (Bug#5176)
7270 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7272 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7273 older than version 1.6. (Bug#6361)
7275 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7277 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7278 used by cl-do-arglist. (Bug#6408)
7280 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7282 * textmodes/ispell.el (ispell-dictionary-base-alist):
7283 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7284 Suggested by Rolando Pereira (bug#6434).
7286 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7288 * facemenu.el (list-colors-sort): Doc fix.
7290 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7292 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7294 2010-06-14 Juri Linkov <juri@jurta.org>
7296 Add sort option `list-colors-sort'. (Bug#6332)
7297 * facemenu.el (color-rgb-to-hsv): New function.
7298 (list-colors-sort): New defcustom.
7299 (list-colors-sort-key): New function.
7300 (list-colors-display): Doc fix. Sort list according to the option
7302 (list-colors-print): Add HSV values to `help-echo' property of
7305 2010-06-14 Juri Linkov <juri@jurta.org>
7307 * compare-w.el: Move to the "vc" subdirectory.
7309 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * image-mode.el (image-mode-map): Remap left-char and right-char.
7313 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7315 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7317 * term/common-win.el (x-colors): Add all the color names defined
7318 in rgb.txt (Bug#6332).
7320 * facemenu.el (list-colors-print): Don't print extra names if it
7321 will overflow the window width.
7323 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7326 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7328 * files.el (make-directory): Doc fix (bug#6396).
7330 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7332 * net/tramp.el (tramp-remote-process-environment): Protect version
7333 string by apostroph.
7334 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7336 (tramp-file-name-for-operation): Add `call-process-region'.
7337 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7339 * net/tramp-compat.el (top): Do not autoload
7340 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7341 only when `start-file-process' is not bound.
7342 (tramp-advice-file-expand-wildcards): Do not use
7343 `tramp-handle-file-remote-p'.
7344 (tramp-compat-make-temp-file): Handle the case, that
7345 `make-temp-file' has no third argument EXTENSION.
7347 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7349 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7351 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7353 2010-06-11 Juri Linkov <juri@jurta.org>
7355 * finder.el (finder-known-keywords): Add keyword "vc"
7356 for version control.
7358 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7359 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7360 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7361 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7363 2010-06-11 Juri Linkov <juri@jurta.org>
7365 Move version control related files to the "vc" subdirectory.
7366 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7367 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7368 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7369 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7370 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7371 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7372 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7373 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7374 Move files to the "vc" subdirectory.
7376 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7378 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7381 2010-06-11 Stephen Eglen <stephen@gnu.org>
7383 * shell.el: Bind `shell-resync-dirs' to M-RET.
7385 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7387 * notifications.el: Move file from lisp/net, because it is
7388 supposed to talk locally to the user.
7390 2010-06-10 Julien Danjou <julien@danjou.info>
7392 * net/notifications.el (notifications-on-action-signal)
7393 (notifications-on-closed-signal): Pass notification id as first
7394 argument to the callback functions. Add docstrings.
7395 (notifications-notify): Fix docstring.
7397 2010-06-10 Glenn Morris <rgm@gnu.org>
7399 * emacs-lisp/authors.el (authors-ignored-files)
7400 (authors-valid-file-names): Add some files.
7402 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7405 merge conflict, giving preference to the emacs-23 version of the code.
7407 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * emacs-lisp/advice.el (ad-compile-function):
7410 Define warning-suppress-types before we let-bind it (bug#6275).
7412 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7413 declare it, make it buffer-local and permanent-local (bug#6324).
7414 (vc-resynch-window): Adjust name.
7415 * vc-hooks.el (vc-find-file-hook): Adjust name.
7417 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7419 * net/notifications.el (notifications-notify): Fix docstring.
7421 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7423 Update to Unicode 6.0.0 beta.
7424 * international/charprop.el: Update copyright.
7425 * international/mule-cmds.el (ucs-names): Update character ranges.
7426 * international/uni-bidi.el:
7427 * international/uni-category.el:
7428 * international/uni-combining.el:
7429 * international/uni-comment.el:
7430 * international/uni-decimal.el:
7431 * international/uni-decomposition.el:
7432 * international/uni-digit.el:
7433 * international/uni-lowercase.el:
7434 * international/uni-mirrored.el:
7435 * international/uni-name.el:
7436 * international/uni-numeric.el:
7437 * international/uni-old-name.el:
7438 * international/uni-titlecase.el:
7439 * international/uni-uppercase.el: Regenerate.
7441 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7443 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7444 (smie-precs-precedence-table): Fix typo in docstring.
7446 * vc-mtn.el (log-edit-extract-headers): Declare function.
7448 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7450 * net/notifications.el (dbus-register-signal): Declare function.
7451 (notifications-notify): Fix typos and reflow docstring.
7453 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7455 Improve VC create/retrieve tag/branch.
7456 * vc.el (vc-create-tag): Do not read the directory name for VCs
7457 with repository revision granularity. Adjust the tag/branch
7458 prompt. Reset VC properties.
7459 (vc-retrieve-tag): Do not read the directory name for VCs
7460 with repository revision granularity. Reset VC properties.
7462 2010-06-09 Julien Danjou <julien@danjou.info>
7464 * net/notifications.el: New file.
7466 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7468 Add optional support for resetting VC properties.
7469 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7470 call vc-file-clearprops when true.
7471 (vc-resynch-buffer): Add new optional argument, pass it down.
7472 (vc-resynch-buffers-in-directory): Likewise.
7474 Improve support for special markup in the VC commit message.
7475 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7476 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7477 * vc-git.el (vc-git-checkin):
7478 * vc-bzr.el (vc-bzr-checkin): Likewise.
7480 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7482 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7483 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7485 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7487 * iimage.el: Remove images as soon as the underlying text is modified.
7488 (iimage-modification-hook): New function.
7489 (iimage-mode-buffer): Use it.
7491 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7494 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7495 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7496 (smie-indent-keyword): Add handling of open-paren keywords.
7497 (smie-indent-comment-continue): Don't assume comment-continue.
7499 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7501 * window.el (pop-to-buffer): Remove the conditional that
7502 compares new-window and old-window, so it will reselect
7503 the selected window unconditionally.
7504 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7506 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * emacs-lisp/smie.el (smie-indent-offset-after)
7509 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7510 (smie-indent-after-keyword): Use them.
7511 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7512 (smie-indent-keyword): Tweak the black magic.
7513 (smie-indent-comment-continue): Strip comment-continue before use.
7514 (smie-indent-functions): Indent comments before keywords.
7516 2010-06-06 Juri Linkov <juri@jurta.org>
7518 * isearch.el (isearch-lazy-highlight-search): Fix looping
7519 by checking for empty match. This syncs this loop with the
7520 similar loop in `isearch-search'. (Bug#6362)
7522 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7524 * net/dbus.el (dbus-register-method): Declare function.
7525 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7526 (dbus-introspect): Doc fix.
7527 (dbus-event-bus-name, dbus-introspect-get-interface)
7528 (dbus-introspect-get-argument): Reflow docstrings.
7530 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7532 vc-log-incoming/vc-log-outgoing fixes for Git.
7533 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7534 incoming/outgoing logs.
7535 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7536 instead of vc-git-compute-remote.
7537 (vc-git-compute-remote): Remove.
7539 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7541 * term/common-win.el (x-colors): Add "dark green" and "dark
7542 turquoise" (Bug#6332).
7544 2010-06-04 Juri Linkov <juri@jurta.org>
7546 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7547 Instead of setting `replace' to t and replacing the same string
7548 with itself, don't do certain actions when
7549 kill-do-not-save-duplicates is non-nil and string is equal to car
7550 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7551 interprogram-paste strings to kill-ring, and don't push the input
7552 argument `string' to kill-ring.
7553 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7555 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7557 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7559 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7561 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7562 (tramp-gvfs-handler-mounted-unmounted)
7563 (tramp-gvfs-connection-mounted-p): Handle default-location.
7565 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7566 move files to trash.
7568 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7570 * international/mule-cmds.el (nonascii-insert-offset)
7571 (nonascii-translation-table): Add obsolescence information.
7573 * international/mule.el (make-translation-table-from-vector): Doc fix.
7575 2010-06-03 Glenn Morris <rgm@gnu.org>
7577 * desktop.el (desktop-clear-preserve-buffers):
7578 Add "*Warnings*" buffer. (Bug#6336)
7580 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7582 vc-log-incoming/vc-log-outgoing improvements for Git.
7583 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7585 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7587 Add bindings for vc-log-incoming and vc-log-outgoing.
7588 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7589 and vc-log-outgoing.
7590 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7591 and vc-log-outgoing.
7593 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7595 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7596 (rcirc-handler-366): Always sort nicknames.
7598 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7600 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7602 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7604 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7606 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7609 (rcirc-sort-nicknames-join): Avoid setq.
7611 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7613 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7614 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7615 (rcirc-handler-366): Use them.
7617 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7619 Split smie-indent-calculate into more manageable chunks.
7620 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7621 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7622 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7623 (smie-indent-exps): Extract from smie-indent-calculate.
7624 (smie-indent-functions): New var.
7625 (smie-indent-functions): Use them.
7627 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7630 (smie-indent-calculate): Simplify and cleanup.
7632 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7634 * net/tramp-gvfs.el (top): Require url-util.
7635 (tramp-gvfs-mount-point): Remove.
7636 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7638 (with-tramp-dbus-call-method): Format trace message.
7639 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7640 Implement backup call, when operation on local files fails.
7641 Use progress reporter. Flush properties of changed files.
7642 (tramp-gvfs-handle-make-directory): Make more traces.
7643 (tramp-gvfs-url-file-name): Hexify file name in url.
7644 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7645 into account for the resulting file name.
7646 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7647 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7648 (tramp-gvfs-handler-mounted-unmounted)
7649 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7650 attribute "default_location". Set "prefix" property.
7651 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7652 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7653 exists. Raise an error, if not (due to a corresponding answer
7654 "no" in interactive questions, for example).
7656 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7658 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7660 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7662 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7665 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7667 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7668 * vc-git.el (vc-git-compute-remote): New function.
7669 (vc-git-log-outgoing): Use it instead of hard coding a value.
7670 (vc-git-log-incoming): New function.
7672 Improve state updating for VC tag commands.
7673 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7674 to update the state of all buffers in the directory.
7676 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7678 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7681 `file-directory-p' to the filename part rather than to the whole text.
7683 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7687 2010-05-31 Drew Adams <drew.adams@oracle.com>
7689 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7691 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7693 * subr.el (momentary-string-display): Just use read-event to read
7694 the exit event (Bug#6238).
7696 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7698 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7700 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7702 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7703 Suggested by Eli Zaretskii <eliz@gnu.org>.
7705 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * minibuffer.el (completion-file-name-table): Don't return a boundary
7708 past the end of `string' (bug#6299).
7709 (completion--file-name-table): Delegate to completion-file-name-table
7710 for the `boundaries' case.
7712 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7714 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7717 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7718 `path-separator', but maintain compatibility with Emacs 20.2.
7720 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7722 * server.el (server-process-filter): Receive parent-id argument
7724 (server-create-window-system-frame): New arg. Pass parent-id as
7727 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7729 Bidi-sensitive word movement with arrow keys.
7730 * subr.el (right-arrow-command, left-arrow-command): Move to
7733 * bindings.el (right-char, left-char): Move from subr.el and
7734 rename from right-arrow-command and left-arrow-command.
7735 (right-word, left-word): New functions.
7736 (global-map) <right>: Bind to right-char.
7737 (global-map) <left>: Bind to left-char.
7738 (global-map) <C-right>: Bind to right-word.
7739 (global-map) <C-left>: Bind to left-word.
7741 * ls-lisp.el (ls-lisp-classify-file): New function.
7742 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7743 (ls-lisp-classify): Call ls-lisp-classify-file.
7744 (insert-directory): Remove blanks from switches.
7746 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7748 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7749 (ansi-color-drop-regexp): New constant.
7750 (ansi-color-apply, ansi-color-filter-region)
7751 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7752 (ansi-color-apply): Build string list before calling concat.
7754 2010-05-28 Juri Linkov <juri@jurta.org>
7756 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7757 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7760 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7762 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7763 to ignored backtrace functions.
7764 (with-progress-reporter): Expand docstring.
7765 (tramp-handle-delete-file): Implement TRASH argument.
7766 (tramp-get-remote-trash): New defun.
7768 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7770 * net/tramp-compat.el (tramp-compat-delete-file):
7771 Use `symbol-value' for backward compatibility.
7773 * net/tramp.el (tramp-handle-make-symbolic-link)
7775 (tramp-do-copy-or-rename-file-via-buffer)
7776 (tramp-do-copy-or-rename-file-directly)
7777 (tramp-do-copy-or-rename-file-out-of-band)
7778 (tramp-handle-process-file, tramp-handle-call-process-region)
7779 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7780 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7781 (tramp-delete-temp-file-function): Use `delete-file' instead
7782 of `tramp-compat-delete-file'.
7784 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7785 (tramp-fish-handle-make-symbolic-link)
7786 (tramp-fish-handle-process-file): Use `delete-file' instead
7787 of `tramp-compat-delete-file'.
7789 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7790 Use `delete-file' instead of `tramp-compat-delete-file'.
7792 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7793 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7794 `tramp-compat-delete-file'.
7796 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7797 Use `delete-file' instead of `tramp-compat-delete-file'.
7799 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7800 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7801 (tramp-smb-handle-write-region): Use `delete-file' instead of
7802 `tramp-compat-delete-file'.
7803 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7805 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7807 * dired.el (dired-delete-file): New arg TRASH.
7808 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7809 (dired-do-flagged-delete, dired-do-delete): Use trash.
7811 * speedbar.el (speedbar-item-delete): Allow trashing.
7813 * files.el (delete-directory): New arg TRASH.
7815 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7816 (ange-ftp-rename-remote-to-remote)
7817 (ange-ftp-rename-local-to-remote)
7818 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7819 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7821 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7824 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7825 handle new TRASH arg of `delete-file'.
7827 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7828 (tramp-handle-make-symbolic-link, tramp-handle-load)
7829 (tramp-do-copy-or-rename-file-via-buffer)
7830 (tramp-do-copy-or-rename-file-directly)
7831 (tramp-do-copy-or-rename-file-out-of-band)
7832 (tramp-handle-process-file, tramp-handle-call-process-region)
7833 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7834 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7835 (tramp-delete-temp-file-function): Use null TRASH arg in
7836 tramp-compat-delete-file call.
7838 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7839 (tramp-fish-handle-delete-file)
7840 (tramp-fish-handle-make-symbolic-link)
7841 (tramp-fish-handle-process-file): Use null TRASH arg in
7842 `tramp-compat-delete-file' call.
7844 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7845 arg in `tramp-compat-delete-file' call.
7847 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7848 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7849 `tramp-compat-delete-file' call.
7851 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7852 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7853 `tramp-compat-delete-file' call.
7855 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7856 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7857 (tramp-smb-handle-write-region): Use null TRASH arg in
7858 tramp-compat-delete-file call.
7859 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7860 (tramp-smb-handle-delete-file): Rename arg.
7862 * diff.el (diff-sentinel):
7863 * epg.el (epg--make-temp-file, epg-decrypt-string)
7864 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7865 * jka-compr.el (jka-compr-partial-uncompress)
7866 (jka-compr-call-process, jka-compr-write-region):
7867 * server.el (server-sentinel): Remove optional arg from
7868 delete-file, reverting 2010-05-03 change.
7870 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7872 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7873 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7875 2010-05-27 Kenichi Handa <handa@m17n.org>
7877 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7878 element of GSTRING is nil.
7880 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7882 * emacs-lisp/smie.el (smie-forward-token-function)
7883 (smie-backward-token-function): New vars.
7884 (smie-backward-sexp, smie-forward-sexp)
7885 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7886 (smie-default-backward-token): Rename from smie-backward-token and
7888 (smie-default-forward-token): Rename from smie-forward-token and
7890 (smie-next-sexp): Handle nil results from next-token.
7891 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7893 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7895 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7896 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7898 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7900 * htmlfontify.el (hfy-face-resolve-face): New function.
7901 (hfy-face-to-style): Use it (Bug#6279).
7903 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7906 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7908 2010-05-26 Glenn Morris <rgm@gnu.org>
7910 * emulation/edt.el (edt-load-keys): Use locate-library.
7912 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7914 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7915 (log-edit-changelog-entries): Doc fix.
7916 (log-edit-changelog-insert-entries): Args changed.
7917 Rename relative filenames in ChangeLog entries. Delete tabs.
7918 (log-edit-insert-changelog-entries): Reorganize return value of
7919 `log-edit-changelog-entries' to pass filenames to
7920 log-edit-changelog-insert-entries.
7922 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7924 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7925 `image-dired-dired-insert-marked-thumbs' to
7926 `image-dired-dired-toggle-marked-thumbs'.
7928 * image-dired.el: Require cl when compiling.
7929 (image-dired-dired-toggle-marked-thumbs): Rename from
7930 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7931 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7932 to 'no-dir. Skip files whose names don't match
7933 `image-file-name-regexp'. When file has a thumbnail overlay,
7934 delete it. (Bug#5270)
7936 2010-05-25 Juri Linkov <juri@jurta.org>
7938 * image-mode.el (image-mode): Add image-after-revert-hook to
7940 (image-after-revert-hook): New function. (Bug#5669)
7942 2010-05-25 Juri Linkov <juri@jurta.org>
7944 * image.el (image-animated-p): When delay between animated images
7945 is 0, set it to 10 (0.1 sec). (Bug#6258)
7947 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7949 * net/tramp.el (tramp-handle-insert-directory): Don't use
7950 `forward-word', its default syntax could be changed.
7952 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7954 * net/tramp.el (tramp-progress-reporter-update): New defun.
7955 (with-progress-reporter): Use it.
7956 (tramp-process-actions):
7957 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7958 Preserve current message, in order to let progress reporter continue
7959 afterwards. (Bug#6257)
7961 2010-05-25 Glenn Morris <rgm@gnu.org>
7963 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7966 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7968 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7969 (rcirc-default-full-name): Change to "unknown".
7970 (rcirc-user-name-history): Add variable.
7972 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7973 Jonathan Rockway <jon@jrock.us>
7975 * net/rcirc.el (rcirc-server-alist): Add :pass.
7976 (rcirc): When prompting for connection parameters, also prompt for
7977 username and password.
7978 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7979 value to server when connecting.
7981 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7984 (smie-merge-prec2s): Pass the tables as separate args.
7985 (smie-bnf-precedence-table): Adjust call accordingly.
7986 (smie-prec2-levels): Set levels at the end.
7988 Replace Lisp calls to delete-backward-char by delete-char.
7989 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7990 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7991 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7992 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7993 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7994 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7995 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7996 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7997 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7998 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7999 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8000 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8001 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8002 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8003 delete-backward-char by calls to delete-char.
8005 2010-05-25 Kenichi Handa <handa@m17n.org>
8007 * language/hebrew.el (hebrew-shape-gstring): New function.
8008 Register it in composition-function-table for all Hebrew combining
8011 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * epa.el (epa--select-keys): Don't explicitly delete the window since
8014 that can fail (e.g. sole window in frame). Use dedication instead.
8016 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8018 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8020 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8022 * image.el (image-refresh): Define as an alias for image-flush.
8024 * image-mode.el (image-toggle-display-image): Caller changed.
8026 2010-05-21 Juri Linkov <juri@jurta.org>
8028 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8029 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8030 whitespace, call wildcard-to-regexp on substrings and concat them
8031 with "\\|". (Bug#6114)
8033 2010-05-21 Alan Mackenzie <acm@muc.de>
8035 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8036 Replace parameter `here' with `here-' and `here-plus', which sandwich
8037 any pertinent CPP construct.
8038 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8039 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8040 CPP construct from taking part in the scanning.
8042 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8044 * net/tramp.el (tramp-do-copy-or-rename-file)
8045 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8046 Tune `with-progress-reporter' messages.
8047 (tramp-handle-vc-registered):
8048 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8049 (tramp-fish-handle-insert-file-contents)
8050 (tramp-fish-maybe-open-connection):
8051 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8052 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8053 (tramp-imap-handle-insert-file-contents)
8054 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8056 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8058 * add-log.el (change-log-font-lock-keywords):
8059 Highlight all authors in multi-author entries.
8061 * smerge-mode.el (smerge-refine-ignore-whitespace)
8062 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8063 Fix typos in docstrings.
8064 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8066 2010-05-21 Glenn Morris <rgm@gnu.org>
8068 * progmodes/fortran.el (fortran-mode):
8069 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8071 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8072 having a relative path in src/Makefile.in.
8074 2010-05-20 Kevin Ryde <user42@zip.com.au>
8076 * help-mode.el (help-make-xrefs): For Info node links turn
8077 newlines into spaces. Link node names with newlines are matched
8078 by help-xref-info-regexp and buttonized, this change ensures they
8079 can be followed successfully with RET. (Bug#6206)
8081 2010-05-20 Juri Linkov <juri@jurta.org>
8083 * locate.el (locate): Use pop-to-buffer instead of
8084 switch-to-buffer-other-window. (Bug#6204)
8086 2010-05-20 Juri Linkov <juri@jurta.org>
8088 * replace.el (replace-highlight): Fix lazy-highlighting
8089 for `M-s w str M-% str RET'.
8091 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8093 * isearch.el (isearch-yank-word-or-char): Pull next subword
8094 when `subword-mode' is activated. (Bug#6220)
8096 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8098 * isearch.el (isearch-update-post-hook): New hook.
8099 (isearch-update): Use the new hook. (Bug#6225)
8101 2010-05-20 Juri Linkov <juri@jurta.org>
8103 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8104 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8107 2010-05-20 Juri Linkov <juri@jurta.org>
8109 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8112 2010-05-20 Juri Linkov <juri@jurta.org>
8114 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8115 FILE-NAME to read from the minibuffer when called interactively
8116 with prefix argument instead of using buffer-file-name.
8117 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8119 * dired.el: Update autoloads.
8121 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8123 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8124 nxml-finish-element, for consistency with SGML mode.
8126 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8129 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8131 * composite.el: Require cl when compiling.
8132 (reference-point-alist, compose-gstring-for-graphic)
8133 (compose-gstring-for-terminal): Fix typos in docstrings.
8135 2010-05-19 Juri Linkov <juri@jurta.org>
8137 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8138 set-window-parameter.
8140 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8142 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8144 (tramp-maybe-open-connection): Use it.
8146 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8148 * simple.el (move-end-of-line): Make sure we are at line beginning
8149 before backing up to end of previous line.
8151 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8153 * password-cache.el (password-cache-remove): Fix docstring.
8155 * net/secrets.el: Autoload the widget functions.
8156 (secrets-search-items, secrets-create-item)
8157 (secrets-get-attributes, secrets-expand-item): Attributes will be
8158 stored on the password database without leading ":", as all other
8160 (secrets-mode): Fix docstring.
8161 (secrets-show-secrets): Provide it as autoloaded command only when
8162 D-Bus support is available. Check existence of Secret Service API.
8164 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8166 * indent.el (indent-region): Deactivate region (bug#6200).
8168 2010-05-19 Glenn Morris <rgm@gnu.org>
8170 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8172 2010-05-19 Kenichi Handa <handa@m17n.org>
8174 * composite.el: Register compose-gstring-for-graphic in
8175 composition-function-table only for combining characters (Mn, Mc, Me).
8177 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8179 * calc/calc-trail.el (calc-trail-isearch-forward)
8180 (calc-trail-isearch-backward): Ensure that the new window
8181 point is set correctly.
8183 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * subr.el (read-quoted-char): Resolve modifiers after key
8186 remapping (bug#6212).
8188 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8190 Add visualization code for secrets.
8191 * net/secrets.el (secrets-mode): New major mode.
8192 (secrets-show-secrets, secrets-show-collections)
8193 (secrets-expand-collection, secrets-expand-item)
8194 (secrets-tree-widget-after-toggle-function)
8195 (secrets-tree-widget-show-password): New defuns.
8197 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8199 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8200 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8201 handled in smie-next-sexp.
8202 (smie-indent-calculate): Provide a starting indentation (so the
8203 recursion is well-founded ;-).
8205 Fix handling of non-associative equal levels.
8206 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8207 when it's not needed.
8208 (smie-op-left, smie-op-right): New functions.
8209 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8210 Better handle equal levels to distinguish the associative case from
8211 the "multi-keyword construct" case.
8212 (smie-backward-sexp, smie-forward-sexp): Use it.
8214 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8216 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8218 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8219 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8221 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8223 Provide a simple generic indentation engine and use it for Prolog.
8224 * emacs-lisp/smie.el: New file.
8225 * progmodes/prolog.el (prolog-smie-op-levels)
8226 (prolog-smie-indent-rules): New var.
8227 (prolog-mode-variables): Use them to configure SMIE.
8228 (prolog-indent-line, prolog-indent-level): Remove.
8230 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8232 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8233 order before computing the averages.
8235 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8237 * calc/calc-vec.el (calc-histogram):
8238 (calcFunc-histogram): Allow vectors as inputs.
8239 (math-vector-avg): New function.
8241 * calc/calc-ext.el (math-group-float): Have the number of digits
8242 being grouped depend on the radix (Bug#6189).
8244 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8246 * version.el (emacs-copyright, emacs-version): Don't define here,
8247 now that emacs.c defines it.
8249 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8251 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8252 "Describe Language Environment" menu item.
8254 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8256 Bidi-sensitive movement with arrow keys.
8257 * subr.el (right-arrow-command, left-arrow-command): New functions.
8259 * bindings.el (global-map): Bind them to right and left arrow keys.
8261 Don't override standard definition of convert-standard-filename.
8262 * files.el (convert-standard-filename):
8263 Call w32-convert-standard-filename and dos-convert-standard-filename on
8264 the corresponding systems.
8266 * w32-fns.el (w32-convert-standard-filename): Rename from
8267 convert-standard-filename. Doc fix.
8269 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8270 (convert-standard-filename): Don't defalias.
8271 (register-name-alist, make-register, register-value)
8272 (set-register-value, intdos): Obsolete aliases for the
8273 corresponding dos-* functions and variables.
8274 (dos-intdos): Add a doc string.
8276 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8278 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8279 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8280 (math-compose-tex-func):
8281 * calc/calccomp.el (math-compose-expr):
8282 * calc/calc-ext.el (math-format-flat-expr-fancy):
8283 * calc/calc-store.el (calc-read-var-name):
8284 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8286 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8287 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8288 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8289 (math-standard-units): Add units.
8291 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * progmodes/asm-mode.el (asm-mode):
8294 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8296 * pcomplete.el (pcomplete-completions-at-point): New function,
8297 extracted from pcomplete-std-complete.
8298 (pcomplete-std-complete): Use it.
8300 2010-05-15 Glenn Morris <rgm@gnu.org>
8302 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8303 Remove references to CVS, RCS and Old directories.
8305 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8307 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8310 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8312 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8313 (sh-mode-syntax-table): Give it a default value instead.
8314 (sh-header-marker): Make buffer-local.
8315 (sh-mode): Move make-local-variable to the corresponding setq.
8316 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8317 Use complete-with-action.
8319 * simple.el (prog-mode): New (abstract) major mode.
8320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8321 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8323 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8325 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8326 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8327 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8328 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8329 (sql-escape-newlines-filter, sql-input-sender)
8330 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8332 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8334 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8336 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8337 latex-open-block and C-c / to latex-close-block.
8339 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8340 and C-c C-e to sgml-close-tag.
8342 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8344 * net/tramp.el (with-progress-reporter): Create reporter object
8345 only when the message would be displayed. Handle nested calls.
8346 (tramp-handle-load, tramp-handle-file-local-copy)
8347 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8348 (tramp-maybe-send-script, tramp-find-shell):
8349 Use `with-progress-reporter'.
8350 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8353 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8354 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8355 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8356 Use `with-progress-reporter'.
8358 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8360 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8361 process everytime when spellchecking from the minibuffer (bug#6143).
8363 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8365 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8367 * dos-fns.el: Add "dos-" prefix for namespace control.
8368 (convert-standard-filename): Define as alias for
8369 dos-convert-standard-filename but only if applicable.
8371 2010-05-12 Alan Mackenzie <acm@muc.de>
8373 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8374 Push the mark at the start of these functions when appropriate.
8376 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * minibuffer.el (completion-cycle-threshold): New custom var.
8379 (completion--do-completion): Use it.
8380 (minibuffer-complete): Use cycling if appropriate.
8382 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8384 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8385 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8387 2010-05-11 Juri Linkov <juri@jurta.org>
8389 * scroll-all.el (scroll-all-check-to-scroll):
8390 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8392 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8394 * iimage.el (iimage-mode-map): Move initialization into declaration.
8395 (iimage-mode-buffer): Use with-silent-modifications.
8396 Simplify calling convention. Adjust callers.
8397 (iimage-mode): Don't run hook redundantly.
8399 * minibuffer.el (completion-pcm--pattern->regex):
8400 Fix last change (bug#6160).
8402 2010-05-10 Juri Linkov <juri@jurta.org>
8404 Remove nodes visited during Isearch from the Info history.
8405 * info.el (Info-isearch-initial-history)
8406 (Info-isearch-initial-history-list): New variables.
8407 (Info-isearch-start): Record initial values of
8408 Info-isearch-initial-history and Info-isearch-initial-history-list.
8409 Add Info-isearch-end to isearch-mode-end-hook.
8410 (Info-isearch-end): New function.
8412 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8414 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8415 format string, in order to work around a bug in pdksh.
8416 Reported by Gilles Pion <gpion@lfdj.com>.
8417 (tramp-handle-verify-visited-file-modtime): Do not send a command
8418 when the connection is not established.
8419 (tramp-handle-set-file-times): Simplify the check for utc.
8421 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8423 Fix use of `filter-buffer-substring' (rework previous change).
8424 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8425 (cua-repeat-replace-region):
8426 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8427 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8428 (cua-cut-region-to-global-mark): Use it.
8430 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8432 * progmodes/sql.el: Version 2.1.
8433 (sql-product-alist): Redesign structure of product info.
8434 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8435 (sql-port, sql-port-history): New variables.
8436 (sql-interactive-product): New variable.
8437 (sql-send-terminator): New variable.
8438 (sql-imenu-generic-expression): Add "Types" imenu entry.
8439 (sql-oracle-login-params, sql-sqlite-login-params)
8440 (sql-mysql-login-params, sql-solid-login-params)
8441 (sql-sybase-login-params, sql-informix-login-params)
8442 (sql-ingres-login-params, sql-ms-login-params)
8443 (sql-postgres-login-params, sql-interbase-login-params)
8444 (sql-db2-login-params, sql-linter-login-params)
8445 (sql-oracle-scan-on): New variables.
8446 (sql-mode-map): Add C-c C-i to start interactive mode.
8447 (sql-mode-menu): Update existing menu entries.
8448 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8449 (sql-mode-oracle-font-lock-keywords)
8450 (sql-mode-postgres-font-lock-keywords)
8451 (sql-mode-ms-font-lock-keywords)
8452 (sql-mode-sybase-font-lock-keywords)
8453 (sql-mode-informix-font-lock-keywords)
8454 (sql-mode-interbase-font-lock-keywords)
8455 (sql-mode-ingres-font-lock-keywords)
8456 (sql-mode-solid-font-lock-keywords)
8457 (sql-mode-mysql-font-lock-keywords)
8458 (sql-mode-sqlite-font-lock-keywords)
8459 (sql-mode-db2-font-lock-keywords)
8460 (sql-mode-linter-font-lock-keywords): Update initialization to
8461 reduce run-time complexity.
8462 (sql-add-product, sql-del-product): New functions.
8463 (sql-set-product-feature, sql-get-product-feature): New functions.
8464 (sql-product-font-lock): Update product API.
8465 (sql-add-product-keywords): New function.
8466 (sql-highlight-product): Update product API.
8467 (sql-help-list-products): New function.
8468 (sql-help): Dynamically lists free and non-free products.
8469 (sql-get-login): Correct bug in handling history and added
8471 (sql-copy-column): Copy without properties.
8472 (sqli-input-sender): Apply filters to SQLi input.
8473 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8474 Implement as a filter.
8475 (sql-escape-newlines-filter): Implement as a filter.
8476 (sql-remove-tabs-filter): New function.
8477 (sql-send-magic-terminator): New function.
8478 (sql-send-string): Implement magic terminator.
8479 (sql-send-region): Use `sql-send-string'.
8480 (sql-interactive-mode): Use product API.
8481 (sql-product-interactive): Use product API.
8482 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8483 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8484 (sql-db2, sql-linter): Use `sql-product-interactive'.
8485 (sql-connect): New function.
8486 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8487 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8488 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8489 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8492 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8495 New custom variable.
8496 (completion-pcm--string->pattern): Use it.
8497 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8498 Make it handle any symbol as `any'.
8499 (completion-pcm--merge-completions): Extract common suffix for the new
8500 `prefix' symbol as well.
8501 (completion-substring--all-completions): Use the new `prefix' symbol.
8503 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8505 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8507 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8508 (tramp-compat-funcall): New defmacro.
8509 (tramp-compat-line-beginning-position)
8510 (tramp-compat-line-end-position)
8511 (tramp-compat-temporary-file-directory)
8512 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8513 (tramp-compat-copy-file, tramp-compat-copy-directory)
8514 (tramp-compat-delete-file, tramp-compat-delete-directory)
8515 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8516 * net/tramp.el (top, with-progress-reporter)
8517 (tramp-rfn-eshadow-setup-minibuffer)
8518 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8519 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8520 (tramp-completion-mode-p, tramp-check-for-regexp)
8521 (tramp-open-connection-setup-interactive-shell)
8522 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8523 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8524 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8525 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8526 (tramp-reporter-dump-variable, tramp-load-report-modules)
8527 (tramp-append-tramp-buffers)
8528 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8530 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8532 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8535 buffer-modtime. Adjust users.
8537 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8539 * international/mule.el (auto-coding-alist): Only purecopy
8540 car of each item, not the whole list (Bug#6083).
8542 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8544 * progmodes/js.el (js-mode): Make paragraph variables local before
8545 calling c-setup-paragraph-variables (Bug#6071).
8547 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8549 * composite.el (compose-region, reference-point-alist): Fix typos
8552 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8554 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8555 gnuplot's "set" command.
8557 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8559 * abbrev.el (last-abbrev-text): Doc fix.
8560 (abbrev-prefix-mark): Don't escape parenthesis.
8562 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8564 * composite.el (find-composition): Doc fix.
8566 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8568 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8569 (sql-oracle-program, sql-sqlite-options)
8570 (sql-query-placeholders-and-send): Doc fixes.
8571 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8572 (sql-imenu-generic-expression, sql-buffer)
8573 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8574 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8575 (sql-mode-sybase-font-lock-keywords)
8576 (sql-mode-informix-font-lock-keywords)
8577 (sql-mode-interbase-font-lock-keywords)
8578 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8579 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8580 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8581 (sql-product-feature, sql-highlight-product)
8582 (comint-line-beginning-position, sql-rename-buffer)
8583 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8584 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8585 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8586 Fix typos in docstrings.
8588 2010-05-08 Juri Linkov <juri@jurta.org>
8590 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8591 property instead of `invisible' and `after-string' (bug#5998).
8593 2010-05-08 Juri Linkov <juri@jurta.org>
8595 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8597 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8599 * filecache.el (file-cache-add-directory-list)
8600 (file-cache-add-directory-recursively): Fix typos in docstrings.
8602 2010-05-08 Kenichi Handa <handa@m17n.org>
8604 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8605 (gujarati-composable-pattern): Fix typo.
8607 2010-05-08 Kenichi Handa <handa@m17n.org>
8609 * language/indian.el (oriya-composable-pattern)
8610 (tamil-composable-pattern, malayalam-composable-pattern):
8611 Add two-part vowels to "v" (vowel sign).
8613 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8615 * files.el (copy-directory): Handle symlinks (Bug#5982).
8617 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8619 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8620 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8623 2010-05-08 Glenn Morris <rgm@gnu.org>
8625 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8627 * minibuffer.el (completion-at-point): Doc fix.
8629 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * electric.el (Electric-command-loop): Minor tweak.
8633 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8634 better with dedicated windows.
8636 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8638 * Version 23.2 released.
8640 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8641 Stefan Monnier <monnier@iro.umontreal.ca>
8643 Highlight vendor specific properties.
8644 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8645 (css-proprietary-property): New face.
8646 (css-font-lock-keywords): Use them.
8648 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8650 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8652 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8655 * files.el (auto-mode-alist): Remove redundant entries.
8657 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8658 * simple.el (auto-save-mode): Move from files.el.
8659 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8661 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8663 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8665 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8667 * mail/binhex.el (binhex-decode-region-internal)
8668 * mail/uudecode.el (uudecode-decode-region-internal)
8669 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8670 (dns-read-type, dns-query)
8671 * pgg-parse.el (pgg-parse-armor)
8672 * pgg.el (pgg-verify-region)
8673 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8676 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8678 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8680 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8682 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8683 * emulation/cua-base.el (cua-repeat-replace-region):
8684 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8685 (cua-cut-region-to-global-mark):
8686 Remove text properties with `set-text-properties'.
8688 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8690 * net/tramp.el (top, with-progress-reporter):
8691 Use `symbol-function' inside `funcall'.
8693 * net/tramp-compat.el (tramp-compat-file-attributes)
8694 (tramp-compat-delete-file, tramp-compat-delete-directory):
8695 Handle only `wrong-number-of-arguments' error.
8697 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8698 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8701 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * minibuffer.el (completion--sreverse, completion--common-suffix):
8705 (completion-pcm--merge-completions): Extract common suffix when safe.
8707 * emacs-lisp/easy-mmode.el (define-minor-mode):
8708 Make :variable more flexible.
8709 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8711 2010-05-05 Juri Linkov <juri@jurta.org>
8713 Add `slow' and `history' tags to the desktop data.
8715 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8716 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8717 (Info-finder-find-node): Require `finder.el' to be able
8718 to restore node from the desktop.
8719 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8720 data `Info-history' and `slow' tag in the assoc list.
8721 (Info-restore-desktop-buffer): Don't restore nodes with the
8722 `slow' tag. Restore `Info-history'.
8724 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8726 Add FORCE argument to `delete-file'.
8728 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8729 forcing to delete the temporary file.
8730 (ange-ftp-delete-file): Add FORCE arg.
8731 (ange-ftp-rename-remote-to-remote)
8732 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8733 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8734 Force file deletion.
8736 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8738 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8739 (tramp-handle-make-symbolic-link, tramp-handle-load)
8740 (tramp-do-copy-or-rename-file-via-buffer)
8741 (tramp-do-copy-or-rename-file-directly)
8742 (tramp-do-copy-or-rename-file-out-of-band)
8743 (tramp-handle-process-file, tramp-handle-call-process-region)
8744 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8745 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8746 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8748 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8749 (tramp-fish-handle-make-symbolic-link)
8750 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8752 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8753 Use `tramp-compat-delete-file'.
8755 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8756 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8758 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8759 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8761 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8762 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8763 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8764 Use `tramp-compat-delete-file'.
8766 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8769 * subr.el (add-minor-mode): Use push.
8770 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8771 * emulation/edt.el (edt-select-mode): Simplify.
8773 Use define-minor-mode in more cases.
8774 * term/tvi970.el (tvi970-set-keypad-mode):
8775 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8776 (normal-erase-is-backspace-mode):
8777 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8778 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8779 (get-scroll-bar-mode): New function.
8780 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8782 Use define-minor-mode for less obvious cases.
8783 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8784 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8785 * international/iso-ascii.el (iso-ascii-mode):
8786 * frame.el (auto-raise-mode, auto-lower-mode):
8787 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8789 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8791 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8792 in order to see error messages for failed logins.
8794 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8796 * diff.el (diff-sentinel):
8798 * epg.el (epg--make-temp-file, epg-decrypt-string)
8799 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8801 * jka-compr.el (jka-compr-partial-uncompress)
8802 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8804 * server.el (server-sentinel): Use delete-file's new FORCE arg
8807 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8809 Use define-minor-mode where applicable.
8810 * view.el (view-mode):
8811 * type-break.el (type-break-query-mode)
8812 (type-break-mode-line-message-mode):
8813 * textmodes/reftex.el (reftex-mode):
8814 * term/vt100.el (vt100-wide-mode):
8815 * tar-mode.el (tar-subfile-mode):
8816 * savehist.el (savehist-mode):
8817 * ibuf-ext.el (ibuffer-auto-mode):
8818 * composite.el (auto-composition-mode):
8819 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8820 Use define-minor-mode.
8821 (vhdl-mode): Use static mode-line format.
8822 (vhdl-mode-line-update): Delete.
8823 (vhdl-create-mode-menu, vhdl-activate-customizations)
8824 (vhdl-hs-minor-mode): Don't bother calling it.
8826 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * simple.el (with-wrapper-hook): Move.
8829 (buffer-substring-filters): Mark obsolete.
8830 (filter-buffer-substring-functions): New variable.
8831 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8833 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8834 Michael Albinus <michael.albinus@gmx.de>
8836 Implement compression for inline methods.
8838 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8839 (tramp-copy-size-limit): Allow also nil.
8840 (tramp-inline-compress-commands): New defconst.
8841 (tramp-find-inline-compress, tramp-get-inline-compress)
8842 (tramp-get-inline-coding): New defuns.
8843 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8844 replaced by `tramp-get-inline-coding'.
8845 (tramp-handle-file-local-copy, tramp-handle-write-region)
8846 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8848 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8851 Remove unused functions.
8853 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8854 Set find-tag-default-function as a variable rather than a property.
8856 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8857 * progmodes/etags.el (tags-completion-at-point-function):
8858 Remove left over interactive spec. Add autoloading stub.
8859 (complete-tag): Use tags-completion-at-point-function.
8861 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8863 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8865 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8867 * ido.el (ido-init-completion-maps): Remove C-v binding.
8868 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8870 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8872 * minibuffer.el (tags-completion-at-point-function): New function.
8873 (completion-at-point-functions): Use it.
8875 * progmodes/etags.el (complete-tag): Revert last change.
8877 2010-04-29 Alan Mackenzie <acm@muc.de>
8879 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8880 off-by-one error (in end of macro position).
8882 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8885 firefox is absent. Don't autoload.
8886 (browse-url-galeon-program): Don't autoload.
8888 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8890 * bindings.el (complete-symbol): Move into minibuffer.el.
8892 * minibuffer.el (complete-tag): Move from etags.el. If tags
8893 completion cannot be performed, return nil instead of signalling
8895 (completion-at-point): Make it an alias for complete-symbol.
8896 (complete-symbol): Move from bindings.el, and replace with the
8897 body of completion-at-point.
8899 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8901 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8903 * net/tramp.el (tramp-remote-selinux-p): New defun.
8904 (tramp-handle-file-selinux-context)
8905 (tramp-handle-set-file-selinux-context): Use it.
8907 2010-04-28 Sam Steingold <sds@gnu.org>
8909 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8910 `safe-local-variable' if the value is a string or a symbol with
8911 the property `bug-reference-url-format'.
8913 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8915 * progmodes/bug-reference.el (bug-reference-url-format):
8916 Revert 2010-04-27 change due to security risk.
8918 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8920 Make it possible to locally disable a globally enabled mode.
8921 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8922 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8923 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8924 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8925 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8926 that subsequent hooks get a chance to disable it.
8928 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8931 Avoid re-enabling a minor mode after the user turned the minor mode
8932 off if MODE-enable-in-buffers is run twice (typically once from
8933 fundamental-mode's after-change-major-mode-hook and a second time from
8934 run-mode-hook's own after-change-major-mode-hook).
8936 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8938 2010-04-27 Sam Steingold <sds@gnu.org>
8940 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8941 `safe-local-variable' if the value is a string or a function, as
8942 documented and implemented on 2010-04-02.
8944 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8946 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8947 when method is 'kill.
8949 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8951 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8952 condition in default directory check.
8953 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8954 Kill ispell process when killing its associated buffer.
8956 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8958 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8959 but we aren't using it.
8961 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8963 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8964 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8966 2010-04-24 Glenn Morris <rgm@gnu.org>
8968 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8969 Ignore VCS-ignore files, and deleted nextstep preferences files.
8970 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8971 (authors-ambiguous-files): New list.
8972 (authors-valid-file-names): Add some deleted files.
8973 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8974 (authors-disambiguate-file-name): New function. (Bug#5501)
8975 (authors-canonical-file-name): Doc fix.
8976 Don't warn about obsolete files.
8977 (authors-canonical-file-name, authors-scan-el):
8978 Use authors-disambiguate-file-name.
8980 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8981 Add autoload cookies.
8982 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8983 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8984 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8985 They have definitions / compiler macros in cl.el.
8986 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8987 Replace manual autoloads with generated ones.
8988 (htmlfontify-unload-rgb-file): Remove autoload.
8989 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8991 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8994 (byte-compile-setq-default): Optimize for the
8995 single-var case and don't call byte-compile-form in this case to avoid
8996 inf-loop with byte-compile-set-default.
8998 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9000 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9002 Implement SELINUX backends.
9004 * net/tramp.el (tramp-file-name-handler-alist):
9005 Add `file-selinux-context' and `set-file-selinux-context'.
9006 (tramp-handle-file-selinux-context)
9007 (tramp-handle-set-file-selinux-context): New defuns.
9008 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9009 Handle PRESERVE-SELINUX-CONTEXT.
9011 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9012 Add `file-selinux-context' and `set-file-selinux-context'.
9013 (tramp-gvfs-handle-file-selinux-context)
9014 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9015 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9017 * net/ange-ftp.el (ange-ftp-copy-file):
9018 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9019 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9020 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9021 Add PRESERVE-SELINUX-CONTEXT.
9023 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9025 Synchronize with Tramp repository.
9027 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9028 (tramp-action-process-alive, tramp-action-out-of-band)
9029 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9030 (tramp-exists-file-name-handler): Fix docstring.
9031 (with-progress-reporter): New defmacro.
9032 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9033 (tramp-maybe-open-connection): Use it.
9035 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9037 Detect ssh 'ControlMaster' argument automatically in some cases.
9039 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9040 (tramp-default-method): Use it.
9042 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9044 * net/tramp.el (tramp-handle-copy-file): Add new optional
9045 parameter `preserve-selinux-context'.
9046 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9048 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9050 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9051 Ensure, that non remote files are still checked. Oops.
9053 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9057 * icomplete.el (icomplete-completions): Use `non-essential'.
9059 * net/tramp.el (tramp-connectable-p): New defun.
9060 (tramp-handle-expand-file-name)
9061 (tramp-completion-handle-file-name-all-completions)
9062 (tramp-completion-handle-file-name-completion): Use it.
9064 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9068 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9070 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9072 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9074 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9077 * info.el (info-tool-bar-map): Add labels.
9079 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9081 * cus-edit.el (custom-commands): Add labels for tool bar.
9082 (custom-buffer-create-internal, Custom-mode): Adjust for
9083 labels in custom-commands.
9085 * dynamic-setting.el: Renamed from font-setting.el.
9087 2010-04-21 John Wiegley <jwiegley@gmail.com>
9089 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9090 toggles the use of virtual buffers.
9091 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9092 (ido-toggle-virtual-buffers): New function.
9094 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9096 Use `define-derived-mode'; fix window selection; doc fixes.
9097 * play/tetris.el (tetris, tetris-update-speed-function)
9098 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9099 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9100 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9101 (tetris-pause-game): Fix typos in docstrings.
9102 (tetris-mode-map, tetris-null-map):
9103 Move initialization into declaration.
9104 (tetris-mode): Define with `define-derived-mode';
9105 set show-trailing-whitespace to nil.
9106 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9108 2010-04-21 Karel Klíč <kklic@redhat.com>
9110 * files.el (backup-buffer): Handle SELinux context, and return it
9111 if a backup was made by renaming.
9112 (backup-buffer-copy): Set SELinux context to the target file.
9113 (basic-save-buffer): Set SELinux context of the newly written file.
9114 (basic-save-buffer-1): Now it also returns any SELinux context.
9115 (basic-save-buffer-2): Set SELinux context of the newly created file,
9117 * net/tramp.el (tramp-file-name-for-operation):
9118 Add file-selinux-context.
9120 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9122 Make the log-edit comments use RFC822 format throughout.
9124 * vc.el (vc-checkin, vc-modify-change-comment):
9125 Adjust to new vc-start/finish-logentry.
9126 (vc-find-conflicted-file): New command.
9127 (vc-transfer-file): Adjust to new vc-checkin.
9128 (vc-next-action): Improve scoping.
9130 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9131 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9133 * vc-git.el (vc-git-log-edit-mode): Remove.
9134 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9135 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9137 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9138 (vc-start-logentry): Remove argument `extra'.
9139 (vc-finish-logentry): Remove extra args.
9141 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9142 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9143 (vc-bzr-conflicted-files): New function.
9145 * log-edit.el (log-edit-extra-flags)
9146 (log-edit-before-checkin-process): Remove.
9147 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9148 (log-edit-headers-alist): New var.
9149 (log-edit-header-contents-regexp): New const.
9150 (log-edit-match-to-eoh): New function.
9151 (log-edit-font-lock-keywords): Use them.
9152 (log-edit): Insert a "Summary:" header as default.
9153 (log-edit-mode): Mark font-lock rules as case-insensitive.
9154 (log-edit-done): Cleanup headers.
9155 (log-view-process-buffer): Remove.
9156 (log-edit-extract-headers): New function to replace it.
9158 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9160 * subr.el (default-direction-reversed): Remove obsolescence info.
9162 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9164 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9167 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9168 I.e. include text after point in the completion region.
9169 Also, return nil when we're not after/in a symbol.
9171 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9172 default enable-multibyte-characters.
9174 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9176 * international/mule.el: Help the user choose a valid coding-system.
9177 (read-buffer-file-coding-system): New function.
9178 (set-buffer-file-coding-system): Use it. Prompt the user if the
9179 coding-system cannot encode all the chars.
9181 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9182 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9183 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9184 Don't use *vc-bzr-shelve*.
9186 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9188 Fix the version number for added files.
9189 * vc-hg.el (vc-hg-working-revision): Check if the file is
9190 registered after hg parent fails (Bug#5961).
9192 2010-04-19 Glenn Morris <rgm@gnu.org>
9194 * htmlfontify.el (htmlfontify-buffer)
9195 (htmlfontify-copy-and-link-dir): Autoload entry points.
9197 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9199 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9200 name relative to the project root (Bug#5960).
9202 2010-04-19 Glenn Morris <rgm@gnu.org>
9204 * vc-git.el (vc-git-print-log): Doc fix.
9206 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9208 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9210 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9212 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9213 default settings (Bug#5928).
9215 2010-04-19 Glenn Morris <rgm@gnu.org>
9217 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9219 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9221 2010-04-19 Kenichi Handa <handa@m17n.org>
9223 * language/indian.el (malayalam-composable-pattern): Fix previous
9224 change (add U+0D4D "SIGN VIRAMA").
9225 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9226 (tamil-composable-pattern): Fix typo in the regexp.
9227 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9228 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9229 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9231 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9233 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9234 paragraph-separate (Bug#5821).
9236 2010-04-19 Juri Linkov <juri@jurta.org>
9238 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9240 * info.el (Info-find-node-2): Comment out code that skips
9242 (Info-mouse-follow-link): New command.
9243 (Info-link-keymap): New keymap.
9244 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9245 Return a string with links instead of inserting breadcrumbs
9247 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9248 Instead of putting the `invisible' text property over the Info
9249 header, make an overlay over the Info header with the `invisible'
9250 property and `after-string' set to the string returned by
9253 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9255 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9256 Reported by monkey@sandpframing.com.
9258 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9261 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9262 available in the "keyseq cache" any more.
9264 * custom.el (defcustom): Add edebug spec.
9266 2010-04-18 Juri Linkov <juri@jurta.org>
9268 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9270 * view.el (view-file, view-buffer): Move test for special mode-class
9271 from view-file to view-buffer.
9273 * tar-mode.el (tar-extract): Turn if's into one cond
9274 like in arc-mode.el.
9276 2010-04-18 Juri Linkov <juri@jurta.org>
9278 Add 7z archive format support (bug#5475).
9280 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9281 (archive-7z-extract): New defcustom.
9282 (archive-find-type): Add magic string for 7z.
9283 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9284 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9285 `buffer' arg of `call-process'.
9286 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9287 call the function `archive-7z-extract' with the variable
9288 `archive-7z-extract' let-bound to `archive-zip-extract'.
9289 (archive-7z-summarize, archive-7z-extract): New functions.
9291 * international/mule.el (auto-coding-alist):
9292 * files.el (auto-mode-alist): Add 7z file extension.
9294 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9296 * loadup.el: Setup hash-cons for pure data.
9298 Fix duplicate entries in cedet's loaddefs.el files.
9299 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9300 Should make most file-local generated-autoload-file unnecessary.
9301 (print-readably): Silence warnings.
9302 (autoload-find-destination): Take load-name as an arg to make sure
9303 it's the same as the one that will be in the file.
9304 (autoload-generate-file-autoloads): Adjust to above changes.
9305 Try to make the dataflow a bit simpler.
9307 * cvs-status.el (cvs-refontify): Remove unused.
9309 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9311 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9313 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9314 twos-complement mode.
9316 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9318 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9319 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9320 (calc-inverse): Add "Option" to message, as appropriate.
9321 (calc-hyperbolic): Add "Option" to message, as appropriate.
9322 (calc-option, calc-is-option): New functions.
9324 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9325 (calc-option-prefix-help): New function.
9327 * calc/calc-misc.el (calc-help): Add "Option" entry.
9329 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9330 (calc-option-flag): New variable.
9331 (calc-do): Set `calc-option-flag to nil.
9332 (calc-set-mode-line): Add "Opt " as appropriate.
9334 2010-04-16 Juri Linkov <juri@jurta.org>
9336 Move scrolling commands from simple.el to window.el
9337 because their primitives are implemented in window.c.
9339 * simple.el (scroll-error-top-bottom)
9340 (scroll-up-command, scroll-down-command, scroll-up-line)
9341 (scroll-down-line, scroll-other-window-down)
9342 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9343 * window.el (scroll-error-top-bottom)
9344 (scroll-up-command, scroll-down-command, scroll-up-line)
9345 (scroll-down-line, scroll-other-window-down)
9346 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9347 Move from simple.el to window.el because their primitives are
9348 implemented in window.c.
9350 2010-04-16 Juri Linkov <juri@jurta.org>
9352 * isearch.el (isearch-lookup-scroll-key): Check both
9353 `isearch-scroll' and `scroll-command' properties.
9354 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9356 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9358 * simple.el (scroll-up-command, scroll-down-command)
9359 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9361 2010-04-15 Juri Linkov <juri@jurta.org>
9363 * simple.el (scroll-up-command, scroll-down-command)
9364 (scroll-up-line, scroll-down-line): Put `scroll-command'
9365 property on the these symbols. Remove them from
9366 `scroll-preserve-screen-position-commands'.
9368 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9369 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9370 Remove it from `scroll-preserve-screen-position-commands'.
9372 * isearch.el (isearch-allow-scroll): Doc fix.
9374 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9376 * net/tramp.el (tramp-error-with-buffer): Don't show the
9377 connection buffer when we are in completion mode.
9378 (tramp-file-name-handler): Catch the error for some operations
9379 when we are in completion mode. This gives the user the chance to
9380 correct the file name in the minibuffer.
9382 2010-04-15 Glenn Morris <rgm@gnu.org>
9384 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9386 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9388 Simplify by using `define-derived-mode'.
9389 * info.el (Info-mode):
9390 * calendar/todo-mode.el (todo-mode):
9391 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9392 (gomoku-mode-map): Move initialization into declaration.
9394 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9397 * ido.el (ido-file-name-all-completions-1):
9398 * minibuffer.el (minibuffer-completion-help):
9399 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9401 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9403 * simple.el (non-essential): New var.
9405 Add a new field `location' to bookmarks for non-file bookmarks.
9406 * bookmark.el (bookmark-location): Use the new field, if present.
9407 (bookmark-insert-location): Undo last change, not needed any more.
9408 * man.el (Man-bookmark-make-record):
9409 * woman.el (woman-bookmark-make-record): Add `location' field.
9411 2010-04-14 Juri Linkov <juri@jurta.org>
9413 * simple.el (scroll-error-top-bottom): New defcustom.
9414 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9416 * emulation/pc-select.el (pc-select-override-scroll-error):
9417 Obsolete in favor of `scroll-error-top-bottom'.
9419 2010-04-14 Juri Linkov <juri@jurta.org>
9421 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9422 `scroll-up-command' and `M-v' to `scroll-down-command'.
9424 * emulation/cua-rect.el (cua--init-rectangles):
9425 * forms.el (forms--change-commands):
9426 * image-mode.el (image-mode-map):
9427 Remap scroll-down-command and scroll-up-command
9428 in addition to scroll-down and scroll-up.
9430 2010-04-14 Juri Linkov <juri@jurta.org>
9432 * mwheel.el (scroll-preserve-screen-position-commands):
9433 Add mwheel-scroll to this list of commands.
9435 * simple.el (scroll-preserve-screen-position-commands):
9436 Add scroll-up-command, scroll-down-command, scroll-up-line,
9437 scroll-down-line to this list of commands.
9439 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * obsolete/complete.el: Move from lisp/complete.el.
9443 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9445 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9446 to the minor mode function now turns the mode ON unconditionally.
9448 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * vc-dir.el (vc-dir-kill-line): New command.
9451 (vc-dir-mode-map): Bind it to C-k.
9453 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9455 * woman.el: Add bookmark declarations to silence the compiler.
9456 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9457 step to compatibility between man and woman bookmarks.
9458 Adjust for Man-default-bookmark-title renaming.
9459 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9461 * man.el: Add bookmark declarations to silence the compiler.
9462 (Man-name-local-regexp): Make it match NAME as well.
9463 (Man-getpage-in-background): Return the buffer.
9464 (Man-notify-when-ready): Use `case'.
9465 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9466 Don't hardcode "NAME". Simplify.
9467 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9468 Rename from Man-bookmark-make-record.
9469 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9470 we have the actual man-args. Use Man-getpage-in-background rather
9471 than `man' since the arg is already processed. Let bookmark.el do the
9472 window handling. Only wait for the relevant process.
9473 Don't forget to autoload.
9475 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9477 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9479 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9481 (woman-mode): Setup bookmark support.
9483 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9484 (man-bookmark-jump): New functions.
9485 (Man-mode): Setup bookmark support.
9487 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9489 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9490 recognize ssh-keygen prompt (Bug#2817).
9492 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9494 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9496 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9498 Synchronize with Tramp repository.
9500 * net/tramp.el (tramp-completion-function-alist)
9501 (tramp-file-name-regexp, tramp-chunksize)
9502 (tramp-local-coding-commands, tramp-remote-coding-commands):
9504 (tramp-remote-process-environment): Use `format' instead of `concat'.
9505 (tramp-handle-directory-files-and-attributes)
9506 (tramp-get-remote-path): Use `copy-tree'.
9507 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9508 compatibility: Use `completion-ignore-case' if
9509 `read-file-name-completion-ignore-case' does not exist.
9510 (tramp-do-copy-or-rename-file-directly): Do not use
9511 `tramp-handle-file-remote-p'.
9512 (tramp-do-copy-or-rename-file-out-of-band):
9513 Use `tramp-compat-delete-directory'.
9514 (tramp-do-copy-or-rename-file-out-of-band)
9515 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9516 Use `format-spec-make'.
9517 (tramp-find-foreign-file-name-handler)
9518 (tramp-advice-make-auto-save-file-name)
9519 (tramp-set-auto-save-file-modes): Remove superfluous check for
9520 `stringp'. This is done inside `tramp-tramp-file-p'.
9521 (tramp-debug-outline-regexp): New defconst.
9522 (tramp-get-debug-buffer): Use it.
9523 (tramp-check-for-regexp): Use (forward-line 1).
9524 (tramp-set-auto-save-file-modes): Adapt version check.
9526 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9527 Wrap call of `featurep' for 2nd argument.
9528 (tramp-compat-make-temp-file): Simplify fallback implementation.
9529 (tramp-compat-copy-tree): Remove function.
9530 (tramp-compat-delete-directory): Provide implementation for older
9533 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9534 Do not use `tramp-fish-handle-file-attributes.
9536 * net/trampver.el: Update release number.
9538 2010-04-10 Glenn Morris <rgm@gnu.org>
9540 * progmodes/compile.el (compilation-save-buffers-predicate):
9541 Add missing :version tag.
9543 2010-04-09 Sam Steingold <sds@gnu.org>
9545 * progmodes/compile.el (compilation-save-buffers-predicate):
9546 Remove the "autoload" cookie.
9548 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9549 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9550 and `bug-reference-prog-mode' can be used in hooks directly.
9552 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9554 Add --author support to git commit.
9555 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9556 (vc-git-log-edit-mode): New minor mode.
9557 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9560 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9562 * vc-hooks.el, vc-git.el: Improve documentation comments.
9564 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9566 Fix some of the problems in defsubst* (bug#5728).
9567 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9568 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9570 2010-04-07 Sam Steingold <sds@gnu.org>
9572 * progmodes/compile.el (compilation-save-buffers-predicate):
9573 New custom variable.
9574 (compile, recompile): Pass it to `save-some-buffers'.
9576 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9578 * wid-edit.el (widget-choose): Move cursor to the second line of
9579 the buffer (Bug#5695).
9581 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9583 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9584 * vc.el (vc-print-log-setup-buttons): New function split out from
9585 vc-print-log-internal.
9586 (vc-log-internal-common): New function, a parametrized version of
9587 vc-print-log-internal.
9588 (vc-print-log-internal): Just call vc-log-internal-common with the
9590 (vc-incoming-outgoing-internal):
9591 (vc-log-incoming, vc-log-outgoing): New functions.
9592 (vc-log-view-type): New permanent local variable.
9594 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9596 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9597 of the dynamic bound vc-short-log.
9598 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9600 * vc-git.el (vc-git-log-outgoing): New function.
9601 (vc-git-log-view-mode): Use vc-log-view-type instead
9602 of the dynamic bound vc-short-log.
9604 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9605 of the dynamic bound vc-short-log. Highlight the tag.
9606 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9607 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9608 (vc-hg-incoming-mode): Remove.
9609 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9611 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9613 Fix default-directory for vc-root-diff.
9614 * vc.el (vc-root-diff): Bind default-directory to the root
9615 directory for the diff command.
9617 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9619 * progmodes/verilog-mode.el (verilog-forward-sexp):
9620 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9621 word keywords, suggested by Steve Pearlmutter.
9622 (verilog-pretty-declarations): Support lineup of declarations in
9624 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9625 fix bug for /* / comments.
9626 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9627 Speed up and simplfy as this is never called with a bound.
9628 (verilog-pretty-declarations): Enhance to line up declarations
9629 inside a parameter list, suggested by Alan Morgan.
9630 (verilog-pretty-expr): Tune assignment regular expression match
9631 string for corner cases; also use markers instead of character
9632 number as indent changes the later.
9634 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9636 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9638 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9639 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9640 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9641 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9644 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9645 1800-2009 keywords, including "global.".
9647 2010-04-06 John Wiegley <jwiegley@gmail.com>
9649 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9650 appearing in buffer list (if a live buffer name matched a recentf
9651 file basename). Should use uniquify to offer a real solution.
9653 2010-04-06 John Wiegley <jwiegley@gmail.com>
9655 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9656 comment to code, and add a :version tag.
9657 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9659 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9661 Enable recentf-mode if using virtual buffers.
9662 * ido.el (recentf-list): Declare for byte-compiler.
9663 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9664 (ido-make-buffer-list): Simplify.
9665 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9667 2010-04-05 Juri Linkov <juri@jurta.org>
9669 Scrolling commands which scroll a line instead of full screen.
9670 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9672 * simple.el (scroll-up-line, scroll-down-line): New commands.
9673 Put property isearch-scroll=t on them.
9675 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9678 2010-04-05 Juri Linkov <juri@jurta.org>
9680 Scrolling commands which do not signal errors at top/bottom.
9681 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9683 * simple.el (scroll-up-command, scroll-down-command): New commands.
9684 Put property isearch-scroll=t on them.
9686 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9687 `scroll-down-command' and [next] from `scroll-up' to
9688 `scroll-up-command'.
9690 * emulation/cua-base.el: Put property CUA=move on
9691 `scroll-up-command' and `scroll-down-command'.
9692 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9693 and `scroll-down-command' to `cua-scroll-down'.
9695 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9697 * help.el (describe-mode): Return nil.
9699 2010-04-04 John Wiegley <jwiegley@gmail.com>
9701 * ido.el (ido-use-virtual-buffers): New variable to indicate
9702 whether "virtual buffer" support is enabled for IDO.
9703 (ido-virtual): Face used to indicate virtual buffers in the list.
9704 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9705 exists, but a virtual buffer of that name does (which would be why
9706 it was in the list), recreate the buffer by reopening the file.
9707 (ido-make-buffer-list): If virtual buffers are being used, call
9708 `ido-add-virtual-buffers-to-list' before the make list hook.
9709 (ido-virtual-buffers): New variable which contains a copy of the
9710 current contents of the `recentf-list', albeit pared down for the
9711 sake of speed, and with proper faces applied.
9712 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9713 create a list of "virtual buffers" to present to the user in
9714 addition to the currently open set. Note that this logic could
9715 get rather slow if that list is too large. With the default
9716 `recentf-max-saved-items' of 200, there is little speed penalty.
9718 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9720 * font-lock.el: Require CL when compiling.
9721 (font-lock-turn-on-thing-lock): Use `case'.
9723 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9725 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9728 2010-04-02 Juri Linkov <juri@jurta.org>
9730 * ehelp.el (electric-help-orig-major-mode):
9731 New buffer-local variable.
9732 (electric-help-mode): Set it to original major-mode. Doc fix.
9733 (with-electric-help): Use `electric-help-orig-major-mode' instead
9734 of (default-value 'major-mode). Doc fix.
9735 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9737 2010-04-02 Sam Steingold <sds@gnu.org>
9739 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9740 `vc-hg-command' with a list of flags.
9742 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9743 Also accept "patch" and "RFE".
9744 (bug-reference-fontify): `bug-reference-url-format' can also be a
9745 function to be able to handle the bug kind.
9746 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9748 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9750 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9751 value to fboundp, it may not be a symbol.
9753 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9755 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9757 2010-03-31 Juri Linkov <juri@jurta.org>
9759 * simple.el (next-line, previous-line): Re-throw a signal
9760 with `signal' instead of using `ding'.
9761 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9763 2010-03-31 Juri Linkov <juri@jurta.org>
9765 * simple.el (keyboard-escape-quit): Raise deselecting the active
9766 region higher than exiting the minibuffer.
9767 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9769 2010-03-31 Juri Linkov <juri@jurta.org>
9771 * image.el (image-animated-p): Use `image-metadata' instead of
9772 `image-extension-data'. Get GIF extenstion data from metadata
9773 property `extension-data'.
9775 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * simple.el (append-to-buffer): Simplify.
9779 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9781 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9782 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9784 2010-03-31 Kenichi Handa <handa@m17n.org>
9786 * language/sinhala.el (composition-function-table): Fix regexp for
9787 the new Unicode specification.
9789 * language/indian.el (devanagari-composable-pattern)
9790 (tamil-composable-pattern, kannada-composable-pattern)
9791 (malayalam-composable-pattern): Adjust for the new Unicode
9793 (bengali-composable-pattern, gurmukhi-composable-pattern)
9794 (gujarati-composable-pattern, oriya-composable-pattern)
9795 (telugu-composable-pattern): New variables to cope with the new
9796 Unicode specification. Use them in composition-function-table.
9798 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9800 Make tmm-menubar work for the Buffers menu again (bug#5726).
9801 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9802 vectors rather than cons cells, as used in menu-bar-update-buffers.
9804 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9806 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9807 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9808 electric punctuation for "{}();,:" (Bug#5586).
9810 * mail/sendmail.el (mail-default-directory): Doc fix.
9812 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9814 * mail/sendmail.el (mail-default-directory): Doc fix.
9816 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9818 * subr.el (version-regexp-alist, version-to-list)
9819 (version-list-<, version-list-=, version-list-<=)
9820 (version-list-not-zero, version<, version<=, version=): Doc fix.
9823 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9825 * vc.el (vc-root-diff): Doc fix.
9827 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9829 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9831 * simple.el (append-to-buffer): Fix last change.
9833 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9835 * simple.el (append-to-buffer): Ensure that point is preserved if
9836 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9839 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * files.el (auto-mode-case-fold): Change default to t.
9843 2010-03-30 Juri Linkov <juri@jurta.org>
9845 * dired-x.el (dired-omit-mode): Doc fix.
9847 2010-03-30 Juri Linkov <juri@jurta.org>
9849 * replace.el (occur-accumulate-lines): Move occur-engine related
9850 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9851 to be located after `occur-engine'.
9853 2010-03-30 Juri Linkov <juri@jurta.org>
9855 Make occur handle multi-line matches cleanly with context.
9856 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9858 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9859 (occur-engine): Add local variables `ret', `prev-after-lines',
9860 `prev-lines'. Use more arguments for `occur-context-lines'.
9861 Set first elem of its returned list to `data', and the second elem
9862 to `prev-after-lines'. Don't print the separator line.
9863 In the end, print remaining context after-lines.
9864 (occur-context-lines): Add new arguments `begpt', `endpt',
9865 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9866 after-lines of the previous match with before-lines of the
9867 current match and not overlap them. Return a list with two
9868 values: the output line and the list of context after-lines.
9870 2010-03-30 Juri Linkov <juri@jurta.org>
9872 * replace.el (occur-accumulate-lines): Fix a bug where the first
9873 context line at the beginning of the buffer was missing.
9875 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9877 * files.el: Make bidi-display-reordering safe variable for boolean
9880 2010-03-29 Phil Hagelberg <phil@evri.com>
9881 Chong Yidong <cyd@stupidchicken.com>
9883 * subr.el: Extend progress reporters to perform "spinning".
9884 (progress-reporter-update, progress-reporter-do-update):
9885 Handle non-numeric value arguments.
9886 (progress-reporter--pulse-characters): New var.
9888 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9890 * progmodes/compile.el (compilation-start): Fix regexp detection
9891 of initial cd command (Bug#5771).
9893 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9895 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9897 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9899 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9900 * progmodes/gdb-mi.el: Restore.
9901 * progmodes/gdb-ui.el: Remove.
9902 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9904 2010-03-25 Glenn Morris <rgm@gnu.org>
9906 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9907 all dired buffers, even tramp ones. (Bug#5755)
9909 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9911 Add "union tags" in mpc.el.
9912 * mpc.el: Remove backward compatibility code.
9913 (mpc-browser-tags): Change default.
9914 (mpc--find-memoize-union-tags): New var.
9915 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9916 (mpc-cmd-find): Handle the case where the playlist does not exist.
9918 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9919 (mpc-cmd-add): Use mpc-cmd-flush.
9920 (mpc-tagbrowser-tag-name): New fun.
9921 (mpc-tagbrowser-buf): Use it.
9922 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9924 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9928 Use replace-regexp-in-string.
9929 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9930 (makefile-imake-mode-syntax-table): Move init into defvar.
9931 (makefile-mode): Use define-derived-mode.
9933 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9934 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9935 not be present any more.
9937 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9939 * faces.el (set-face-attribute): Fix typo in docstring.
9940 (face-valid-attribute-values): Reflow docstring.
9942 2010-03-24 Glenn Morris <rgm@gnu.org>
9944 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9946 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9948 * indent.el (indent-for-tab-command): Doc fix.
9950 2010-03-24 Alan Mackenzie <acm@muc.de>
9952 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9953 Fix off-by-one error. Fixes bug #5747.
9955 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9957 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9958 (image-dired-read-comment): Doc fix.
9960 * json.el (json-object-type, json-array-type, json-key-type)
9961 (json-false, json-null, json-read-number):
9962 * minibuffer.el (completion-in-region-functions):
9963 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9964 (cal-tex-cursor-week):
9965 * emacs-lisp/trace.el (trace-function):
9966 * eshell/em-basic.el (eshell/printnl):
9967 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9968 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9969 * obsolete/levents.el (allocate-event, event-key, event-object)
9970 (event-point, event-process, event-timestamp, event-to-character)
9971 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9972 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9973 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9974 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9975 (reftex-highlight-selection): Fix typos in docstrings.
9977 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9979 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9981 2010-03-24 Glenn Morris <rgm@gnu.org>
9983 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9984 2008-02-13 without comment; mark it obsolete.
9985 (rmail-highlight-headers): Use rmail-highlight-face once more.
9987 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9989 * woman.el (woman2-process-escapes): Only consume the newline if
9990 the filler character is on a line by itself (Bug#5729).
9992 2010-03-24 Kenichi Handa <handa@m17n.org>
9994 * language/indian.el (devanagari-composable-pattern): Add more
9997 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9999 * net/trampver.el: Update release number.
10001 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10003 * net/tramp.el (tramp-find-executable):
10004 Use `tramp-get-connection-buffer'. Make the regexp for checking
10005 output of "wc -l" more robust.
10006 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10007 (tramp-open-connection-setup-interactive-shell): Remove workaround
10008 for OpenSolaris bug, it is not needed anymore.
10010 2010-03-24 Glenn Morris <rgm@gnu.org>
10012 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10014 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10016 * files.el (auto-mode-alist): Accept more verilog file patterns.
10018 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10022 2010-03-24 Glenn Morris <rgm@gnu.org>
10024 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10025 log-edit-before-checkin-process.
10027 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10029 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10031 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10032 (log-view-process-buffer, log-edit-extra-flags): Declare.
10034 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10036 2010-03-23 Sam Steingold <sds@gnu.org>
10038 Fix bug#5620: recalculate all markers on compilation buffer
10039 modifications, not on file modifications.
10040 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10041 variable: the buffer modification time, for buffers not associated with
10043 (compilation-mode): Create it.
10044 (compilation-filter): Update it.
10045 (compilation-next-error-function): Use it instead of
10046 `visited-file-modtime' for timestamp.
10048 2010-03-23 Juri Linkov <juri@jurta.org>
10050 Implement Occur multi-line matches.
10051 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10053 * replace.el (occur): Doc fix.
10054 (occur-engine): Set `begpt' to the beginning of the first line.
10055 Set `endpt' to the end of the last match line. At first, count
10056 line numbers between `origpt' and `begpt'. Split out code from
10057 `out-line' variable to new let-bindings `match-prefix' and
10058 `match-str'. In `out-line' add non-numeric prefix to all
10059 non-first lines of multi-line matches. Finally, count lines
10060 between `begpt' and `endpt' and add to `lines'.
10062 2010-03-23 Juri Linkov <juri@jurta.org>
10064 * replace.el (occur-accumulate-lines, occur-engine):
10065 Use `occur-engine-line' instead of duplicate code.
10066 (occur-engine-line): New function created from duplicate code
10067 in `occur-accumulate-lines' and `occur-engine'.
10069 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10070 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10072 2010-03-23 Juri Linkov <juri@jurta.org>
10074 * finder.el: Remove TODO tasks.
10076 * info.el (Info-finder-find-node): Add node "all"
10077 with all package info. Handle a list of multiple keywords
10078 separated by comma.
10079 (info-finder): In interactive use with a prefix argument,
10080 use `completing-read-multiple' to read a list of keywords
10081 separated by comma.
10083 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10085 Add a new completion style `substring'.
10086 * minibuffer.el (completion-basic--pattern): New function.
10087 (completion-basic-try-completion, completion-basic-all-completions):
10089 (completion-substring--all-completions)
10090 (completion-substring-try-completion)
10091 (completion-substring-all-completions): New functions.
10092 (completion-styles-alist): New style `substring'.
10094 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10096 Get rid of .elc files after removal of the corresponding .el.
10097 * Makefile.in (compile-clean): New target.
10098 (compile-main): Use it.
10100 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10102 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10103 don't do make there. When compiling with separate object dir, there
10104 is no Makefile there.
10106 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10108 Get rid of the ELCFILES abomination, again.
10109 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10110 (all, compile): Don't call compile-last.
10111 (compile-main): Build the "elcfiles" list dynamically.
10112 (compile-targets): New (internal) target.
10114 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10116 * Makefile.in (top_srcdir): Define.
10117 (abs_top_builddir): Define.
10118 (srcdir): Don't append `/..'.
10119 (EMACS): Use ${abs_top_builddir}.
10120 (all, compile, compile-always, compile-last): Don't set emacswd.
10121 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10123 (lisp): Use $(srcdir) instead of @srcdir@.
10125 2010-03-21 Juri Linkov <juri@jurta.org>
10127 Fix message of multi-line occur regexps and multi-buffer header lines.
10128 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10130 * replace.el (occur-1): Don't display regexp if it is longer
10131 than window-width. Use `query-replace-descr' to display regexp.
10132 (occur-engine): Don't display regexp in the buffer header for
10133 multi-buffer occur. Display a separate header line with total
10134 match count and regexp for multi-buffer occur.
10135 Use `query-replace-descr' to display regexp.
10137 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10139 * net/secrets.el: Fix parenthesis.
10140 (secrets-enabled): Fix parenthesis.
10142 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10144 Use more relative file and directory names.
10145 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10146 (setwins, setwins_almost, setwins_for_subdirs):
10147 Don't `cd'; output relative names.
10148 (all, compile, compile-always, compile-last): Set emacswd.
10149 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10150 Just cd to the lisp source dir so we can use relative file names.
10152 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10154 2010-03-20 Glenn Morris <rgm@gnu.org>
10156 * textmodes/rst.el: Use faces for font-lock customization, and make the
10157 old -face variables obsolete.
10158 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10159 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10160 (rst-block-face, rst-external-face, rst-definition-face)
10161 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10162 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10164 (rst-font-lock-keywords-function): Update for above changes.
10166 2010-03-20 Juri Linkov <juri@jurta.org>
10169 * obsolete/s-region.el: Move to obsolete.
10171 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10173 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10175 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10177 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10179 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10181 Add special markup processing for commit logs.
10182 * log-edit.el (log-edit-extra-flags): New variable.
10183 (log-edit): Add new argument MODE. Use that mode when non-nil
10184 instead of the log-view-mode.
10185 (log-view-process-buffer): New function.
10187 * vc.el: Document that the checkin method takes optional
10188 arguments. Document new backend specific method: log-view-mode.
10189 (vc-default-log-edit-mode): New function.
10190 (vc-checkin): Use a backend specific log-view-mode.
10191 Pass extra arguments to the checkin method.
10192 (vc-modify-change-comment): Pass a dummy extra argument.
10194 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10196 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10197 (vc-finish-logentry): Process the log buffer before passing it
10198 down. Pass log-edit-extra-flags.
10200 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10202 (log-edit-extra-flags, log-edit-before-checkin-process):
10205 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10207 (log-edit-extra-flags, log-edit-before-checkin-process):
10209 (vc-hg-log-edit-mode): New derived mode.
10211 * vc-arch.el (vc-arch-checkin):
10212 * vc-cvs.el (vc-cvs-checkin):
10213 * vc-git.el (vc-git-checkin):
10214 * vc-mtn.el (vc-mtn-checkin):
10215 * vc-rcs.el (vc-rcs-checkin):
10216 * vc-sccs.el (vc-sccs-checkin):
10217 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10219 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10224 2010-03-19 Glenn Morris <rgm@gnu.org>
10226 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10228 2010-03-18 Glenn Morris <rgm@gnu.org>
10230 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10232 * replace.el (query-replace-history): Give it a doc string.
10233 (map-query-replace-regexp): Use query-replace-from-history-variable
10234 and query-replace-to-history-variable.
10236 * mail/hashcash.el (declare-function): Remove duplicate definition.
10238 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10239 Make it an obsolete alias for report-emacs-bug-address.
10240 (message-strip-special-text-properties): Declare.
10241 (report-emacs-bug): Remove test for a pretest bug address.
10242 Combine message-mode-specific code.
10244 * mail/supercite.el: Don't require sendmail.
10245 (mh-in-header-p): Declare rather than using with-no-warnings.
10246 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10247 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10249 * calendar/cal-french.el: Convert to utf-8.
10251 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10254 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10256 * net/secrets.el (secrets-enabled): New variable. Use it instead
10259 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10261 * net/secrets.el (top): Register the D-Bus signals only when the
10262 service "org.freedesktop.secrets" can be pinged.
10263 Provide subfeature `enabled'.
10265 2010-03-14 Juri Linkov <juri@jurta.org>
10267 Add finder unknown keywords.
10269 * finder.el (finder-unknown-keywords): New function.
10271 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10272 to create a Finder node with unknown keywords.
10274 2010-03-14 Juri Linkov <juri@jurta.org>
10276 * finder.el (finder-compile-keywords): Replace `princ' with
10277 `prin1' on a list of symbols interned from keyword strings.
10279 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10280 a comma, then split keywords using a comma and optional whitespace.
10281 Otherwise, split by whitespace.
10289 * progmodes/mixal-mode.el: Fix keywords.
10291 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10293 * Makefile.in (ELCFILES): Add net/secrets.elc.
10295 * net/secrets.el: New file.
10297 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10299 * facemenu.el (list-colors-display, list-colors-print): New arg
10300 callback. Use it to allow selecting colors.
10302 * wid-edit.el (widget-image-insert): Insert image prop even if the
10303 current display is non-graphic.
10304 (widget-field-value-set): New fun.
10305 (editable-field): Use it.
10306 (widget-field-value-get): Clean up unused var.
10307 (widget-color-value-create, widget-color--choose-action):
10308 New funs. Allow using list-colors-display to choose color.
10310 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10312 * cus-edit.el: Resort topmost custom groups.
10313 (custom-buffer-sort-alphabetically): Default to t.
10314 (customize-apropos): Use apropos-parse-pattern.
10315 (custom-search-field): New var.
10316 (custom-buffer-create-internal): Add custom-apropos search field.
10317 (custom-add-parent-links): Don't display parent doc.
10318 (custom-group-value-create): Don't sort top-level custom group.
10319 (custom-magic-value-create): Show visibility button before option name.
10321 (custom-variable-state): New fun, from custom-variable-state-set.
10322 (custom-variable-state-set): Use it.
10323 (custom-group-value-create): Hide options with standard values
10324 using the :hidden-states property. Use progress reporter.
10326 (custom-show): Simplify.
10327 (custom-visibility): Disable images by default.
10328 (custom-variable): New property :hidden-states.
10329 (custom-variable-value-create): Enable images for
10330 custom-visibility widgets. Use :hidden-states property to
10331 determine initial visibility.
10333 * wid-edit.el (widget-image-find): Give images center ascent.
10334 (visibility): Add :on-image and :off-image properties.
10335 (widget-visibility-value-create): Use them.
10337 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10339 * cus-edit.el (processes): Remove from development group.
10340 (oop, hypermedia): Delete group.
10341 (comm): Promote to top-level group.
10343 * net/browse-url.el (browse-url):
10344 * net/xesam.el (xesam):
10345 * net/tramp.el (tramp):
10346 * net/goto-addr.el (goto-address):
10347 * net/ange-ftp.el (ange-ftp): Put in comm group.
10349 * view.el (view): Remove from editing group.
10351 * uniquify.el (uniquify): Put in files group.
10353 * net/browse-url.el (browse-url):
10354 * ps-print.el (postscript): Put in external group.
10356 * cus-edit.el (outlines):
10357 * textmodes/text-mode.el (text-mode-hook):
10358 * textmodes/table.el (table):
10359 * textmodes/picture.el (picture):
10360 * outline.el (outlines): Put in wp group.
10362 * nxml/nxml-mode.el (nxml): Remove from wp group.
10364 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10366 * mail/metamail.el (metamail): Remove from hypermedia group.
10368 * cus-edit.el (abbrev):
10369 * whitespace.el (whitespace):
10370 * vcursor.el (vcursor):
10371 * reveal.el (reveal):
10372 * hl-line.el (hl-line): Put in convenience group.
10374 * epg-config.el (epg): Put in data group.
10376 * emulation/pc-select.el (pc-select): Put in emulations group.
10378 * calculator.el (calculator): Put in applications group.
10380 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10382 Add .dir-locals.el support for file-less buffers.
10383 * files.el (hack-local-variables): Split out code to apply local
10384 variable settings ...
10385 (hack-local-variables-apply): ... here. New function.
10386 (hack-dir-local-variables): Use the default directory for when the
10387 buffer does not have an associated file.
10388 (hack-dir-local-variables-non-file-buffer): New function.
10389 * diff-mode.el (diff-mode):
10390 * vc-annotate.el (vc-annotate-mode):
10391 * vc-dir.el (vc-dir-mode):
10392 * log-edit.el (log-edit-mode):
10393 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10395 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10397 Add support for shelving snapshots and for showing shelves.
10398 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10399 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10401 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10402 (vc-bzr-extra-menu-map): Map them.
10404 2010-03-11 Glenn Morris <rgm@gnu.org>
10406 * cus-edit.el (customize-changed-options-previous-release):
10409 * image.el (image-animate-max-time): Fix :version tag.
10411 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10415 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * vc-git.el (vc-git-revision-table): Include remote branches.
10419 2010-03-10 Kim F. Storm <storm@cua.dk>
10421 Animated image API.
10422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10424 * image.el (image-animate-max-time): New defcustom.
10425 (image-animated-types): New defconst.
10426 (create-animated-image, image-animate-timer)
10427 (image-animate-start, image-animate-stop, image-animate-timeout)
10428 (image-animated-p): New functions.
10430 * image-mode.el (image-toggle-display-image):
10431 Replace `create-image' with `create-animated-image'.
10433 2010-03-09 Miles Bader <miles@gnu.org>
10435 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10436 instead of "format:"; this ensures that the output is
10437 newline-terminated.
10439 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10441 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10442 that all errors are caught, and that the return value is always a
10445 2010-03-08 Kenichi Handa <handa@m17n.org>
10447 * language/misc-lang.el (windows-1256): New coding system.
10448 (cp1256): New alias of windows-1256 (bug#5690).
10450 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10452 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10453 call to rfc822-bad-address. (Bug#5692)
10455 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10457 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10458 Use vc-git-root as default directory for revision path (Bug#5657).
10460 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10462 * calculator.el (calculator): Don't bind split-window-keep-point
10465 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * vc-git.el: Re-flow to fit into 80 columns.
10468 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10469 Remove spurious `quote' element in each case alternative.
10470 (vc-git-show-log-entry): Use prog1.
10471 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10473 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10475 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10477 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10479 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10480 definition, not the name (Bug#5481).
10482 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10484 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10485 argument with a local variable. (Bug#5670)
10487 2010-03-02 Juri Linkov <juri@jurta.org>
10489 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10491 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10493 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10494 error when FILENAME and NEWNAME are existing remote directories.
10496 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10497 parameter DIR-FLAG.
10499 2010-03-02 Glenn Morris <rgm@gnu.org>
10501 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10502 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10504 2010-03-01 Kenichi Handa <handa@m17n.org>
10506 * language/burmese.el (burmese-composable-pattern): Rename from
10507 myanmar-composable-pattern.
10509 * international/characters.el (script-list):
10510 * international/fontset.el (script-representative-chars):
10511 Change myanmar to burmese.
10512 (otf-script-alist): Likewise.
10513 (setup-default-fontset): Likewise. Re-fix :otf spec.
10515 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10517 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10519 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10521 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10523 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10525 * net/tramp.el (tramp-handle-write-region): START can be a string.
10526 Take care in the checks. Reported by Dan Davison
10527 <davison@stats.ox.ac.uk>.
10529 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10531 * net/dbus.el (dbus-introspect, dbus-get-property)
10532 (dbus-set-property, dbus-get-all-properties):
10533 Use `dbus-call-method' when noninteractive. (Bug#5645)
10535 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10537 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10538 * emacs-lisp/elint.el (elint-add-required-env):
10539 * calendar/icalendar.el (icalendar--add-diary-entry):
10540 * calc/calcalg2.el (math-tracing-integral):
10541 * files.el (recover-session-finish): Use with-current-buffer
10542 instead of save-excursion.
10544 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10546 Fix in-buffer completion when after-change-functions modify the buffer.
10547 * minibuffer.el (completion--replace): New function.
10548 (completion--do-completion): Use it and use relative movement.
10550 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10552 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10554 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10556 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10557 Allow the characters _<> in the stack entry (Bug#5653).
10559 2010-02-26 Kenichi Handa <handa@m17n.org>
10561 * language/burmese.el: Fix entries in composition-function-table.
10562 (myanmar-composable-pattern): New variable.
10564 * international/fontset.el (setup-default-fontset): Add an entry
10567 * international/characters.el (script-list): Add Myanmar
10570 2010-02-26 Glenn Morris <rgm@gnu.org>
10572 * custom.el (custom-initialize-delay): Doc fix.
10574 * mail/sendmail.el (send-mail-function): Autoload the call
10575 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10577 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10579 * files.el (hack-local-variables-filter): For eval forms, also
10580 check safe-local-variable-p (Bug#5636).
10582 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10584 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10585 setting the modes by `ignore-errors'. It might fail, for example
10586 if the file is not owned by the user but the group.
10587 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10589 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10591 * files.el (directory-listing-before-filename-regexp):
10592 Use stricter matching for iso-style dates, to avoid false matches with
10593 date-like filenames (Bug#5597).
10595 * htmlfontify.el (htmlfontify): Doc fix.
10597 * eshell/eshell.el (eshell): Doc fix.
10599 * startup.el (fancy-about-screen): In mode-line, apply
10600 mode-line-buffer-id face only to the buffer name (Bug#5613).
10602 2010-02-20 Kevin Ryde <user42@zip.com.au>
10604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10605 In `watcom' anchor regexp to start of line, to avoid slowness
10608 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10610 * subr.el (remove-yank-excluded-properties): Explain in a comment
10611 why `category' property is removed.
10613 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10615 * isearch.el (isearch-update-post-hook, isearch-update):
10616 Revert 2010-02-17 change.
10618 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10620 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10621 (icalendar--convert-weekly-to-ical)
10622 (icalendar--convert-yearly-to-ical)
10623 (icalendar--convert-block-to-ical)
10624 (icalendar--convert-cyclic-to-ical)
10625 (icalendar--convert-anniversary-to-ical): Take care of time
10626 specifications where hour has 1-digit only (Bug#5549).
10628 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10630 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10631 of disassemble output in GDB 7.1.
10633 2010-02-19 Glenn Morris <rgm@gnu.org>
10635 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10636 property. (Bug#5593)
10638 2010-02-18 Sam Steingold <sds@gnu.org>
10640 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10642 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10644 Use abbreviated file names in bookmarks (bug#5591).
10645 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10646 calls to expand-file-name.
10647 (bookmark-relocate): Use abbreviated file names in bookmarks.
10648 (bookmark-load): Use abbreviated file names in messages.
10650 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10652 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10653 expand "." and "..". Reported by Thierry Volpiatto
10654 <thierry.volpiatto@gmail.com>.
10656 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10658 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10659 permissions of the temporary file to "0600". In case the remote
10660 file has no read permissions for the owner, there might be
10661 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10663 22010-02-18 Glenn Morris <rgm@gnu.org>
10665 * emacs-lisp/authors.el (authors-renamed-files-alist):
10666 Add entries for INSTALL.CVS.
10668 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10670 * vc-bzr.el: Fix typo in Known Bugs section.
10672 * isearch.el (isearch-update-post-hook): New hook.
10673 (isearch-update): Use the new hook.
10675 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10677 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10678 Fix errors in copying directories.
10679 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10680 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10681 (tramp-handle-delete-file)
10682 (tramp-handle-dired-recursive-delete-directory)
10683 (tramp-handle-write-region): Flush also the cache for the upper
10686 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10688 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10690 * cus-edit.el (hardware): Doc fix.
10692 * man.el (man): Add to external custom group.
10694 * delim-col.el (columns): Move to wp custom group.
10696 * doc-view.el (doc-view): Add to data custom group.
10698 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10700 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10701 by ispell-parse-output (Bug#5575).
10703 2010-02-16 Kenichi Handa <handa@m17n.org>
10705 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10706 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10707 (skkdic-convert): Use `euc-japan' coding system for writing.
10709 2010-02-16 Glenn Morris <rgm@gnu.org>
10711 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10712 tex-main-file before using it. (Bug#5562)
10714 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10716 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10717 warnings, since it is annoying for the user to see them each time he
10720 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10722 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10723 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10724 instead of PROC for caching "first-password-request". Otherwise,
10725 new processes would not profit from passwords already entered.
10727 * net/tramp-cache.el (tramp-dump-connection-properties):
10728 Don't save "first-password-request" property.
10730 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10732 * outline.el (outline-head-from-level):
10733 * simple.el (with-wrapper-hook):
10734 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10735 (elint-defun, elint-buffer-env, elint-top-form-logged)
10736 (elint-unbound-variable):
10737 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10738 Fix typos in docstrings.
10740 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10742 * files.el (insert-directory): When WILDCARD-REGEXP and
10743 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10744 whole directory. (Bug#5551)
10746 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10747 dired's alignment sanity. (Bug#5516)
10749 2010-02-14 Juri Linkov <juri@jurta.org>
10751 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10752 Remove remaining ^H with their preceding chars. (Bug#5566)
10754 2010-02-13 Glenn Morris <rgm@gnu.org>
10756 * simple.el (transpose-subr): Give it a doc-string.
10758 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10761 2010-02-12 Juri Linkov <juri@jurta.org>
10763 * arc-mode.el (archive-unique-fname): Make directories for nested
10764 archives. (Bug#5540)
10766 2010-02-12 Juri Linkov <juri@jurta.org>
10768 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10770 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10772 * subr.el (copy-overlay): Handle deleted overlays.
10774 * man.el (Man-completion-table): Don't signal an error if we can't run
10775 manual-program (bug#4056).
10777 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10779 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10781 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10783 * info.el (Info-bookmark-jump): Simplify.
10785 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10786 (bookmark-default-handler): Accept new bookmark field `buffer'.
10788 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10790 * iswitchb.el (iswitchb-completions): Revert last change.
10792 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10794 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10795 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10796 This prevents file names like "~/" being listed literally.
10798 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10800 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10801 Remove dead code. (Bug#5546)
10803 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10805 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10806 correctly (Bug#5548).
10808 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10810 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10811 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10813 2010-02-08 Kenichi Handa <handa@m17n.org>
10815 * international/mule-util.el (with-coding-priority): Add autoload
10816 cookie for putting `lisp-indent-function'.
10818 2010-02-07 Glenn Morris <rgm@gnu.org>
10820 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10821 Move F2003 named interfaces from keywords-2 to keywords-1, and
10822 use function-name-face rather than constant-face.
10823 Simplify "abstract interface" regexp.
10825 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10827 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10828 ID-FORMAT. Pass it to `file-attributes'.
10830 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10832 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10834 * faces.el (set-face-attribute): Allow calling
10835 internal-set-lisp-face-attribute with 'unspecified family and
10836 foundry argument (Bug#5536).
10838 2010-02-07 Glenn Morris <rgm@gnu.org>
10840 * progmodes/f90.el (f90-font-lock-keywords-2)
10841 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10842 Handle F2003 named interfaces.
10844 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10846 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10847 beg and end before calling c-get-state-before-change-functions.
10849 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10851 * vc-bzr.el (vc-bzr-dir-extra-headers):
10852 Disable the pending merges header.
10854 2010-02-05 Juri Linkov <juri@jurta.org>
10856 * doc-view.el (doc-view-mode):
10857 * image-mode.el (image-mode): Put property mode-class=special.
10860 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10862 * vc-svn.el (vc-svn-revision-table): New function.
10864 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10866 * net/ange-ftp.el (ange-ftp-insert-directory):
10867 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10868 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10869 Handle also directories. (Bug#5478)
10871 2010-02-05 Glenn Morris <rgm@gnu.org>
10873 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10875 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10877 * startup.el (command-line-1): Convert options beginning with a
10878 single dash as well (Bug#5519).
10880 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10882 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10883 * minibuffer.el (completion-initials-expand): Only check the presence
10884 of delims *within* the boundaries, since otherwise the / delim is
10885 always found for files.
10887 Fix up various corner case problems.
10888 * doc-view.el (doc-view-last-page-number): New function.
10889 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10890 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10891 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10892 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10893 (doc-view-convert-current-doc): Don't create the resolution.el file
10895 (doc-view-pdf/ps->png): Do it here instead.
10896 (doc-view-already-converted-p): Check that resolution.el is present.
10897 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10898 windows that are not yet showing images.
10900 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10902 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10903 `dired-uncache' for every elemnt which is an absolute file name.
10905 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10906 directory, handle its directory component.
10907 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10908 function is called permanently and creates noise, otherwise.
10910 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10911 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10912 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10914 2010-02-04 David Burger <dburger@google.com> (tiny change)
10916 * macros.el (apply-macro-to-region-lines):
10917 Minor simplification. (Bug#5485)
10919 2010-02-04 Glenn Morris <rgm@gnu.org>
10921 * mail/rmail.el (rmail-show-message-1): Handle malformed
10922 quoted-printable text. (Bug#5441)
10924 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10926 * simple.el (visual-line-mode): Capitalize lighter.
10928 2010-02-03 John Wiegley <jwiegley@gmail.com>
10930 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10931 list of files considered for "virtual buffer" completions.
10933 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10935 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10936 also in case of (and (not full) (not wildcard)). This is needed
10937 when dired is called with a list of files, which are not in
10938 `default-directory'. (Bug#5478)
10940 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10944 2010-02-02 Juri Linkov <juri@jurta.org>
10946 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10947 from unidiff to allow function-line after @@.
10949 2010-02-02 Juri Linkov <juri@jurta.org>
10951 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10952 '(RCS SCCS) with inverted condition.
10954 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10956 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10959 2010-02-01 Juri Linkov <juri@jurta.org>
10961 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10962 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10963 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10964 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10966 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10968 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10969 (doc-view-revert-buffer): New command.
10970 (doc-view-mode-map): Use it.
10972 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10974 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10975 pending merge is detected.
10977 2010-01-31 Juri Linkov <juri@jurta.org>
10979 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10980 beginning of interactive spec like all other grep commands do.
10981 Put "all" in front of "gz". (Bug#5260)
10983 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10985 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10987 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10989 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10990 regexp is incorrect (Bug#5476).
10992 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10994 * net/tramp.el (tramp-handle-insert-directory): Handle also
10995 symlinks, when FILENAME is not in `default-directory'.
10997 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10999 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11000 FILE is not in `default-directory'. (Bug#5478)
11002 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11003 of SWITCHES. Handle the case, FILENAME is not in
11004 `default-directory'. (Bug#5478)
11005 (tramp-register-file-name-handlers): Add safe-magic property.
11007 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11009 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11012 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11014 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11015 (flymake-master-make-header-init): Add other C++ filename masks.
11016 (flymake-find-possible-master-files)
11017 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11019 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11021 Fix some busybox annoyances.
11023 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11024 not responding." string.
11025 (tramp-open-connection-setup-interactive-shell): Dump stty
11026 settings. Enable "neveropen" arg for all `tramp-send-command'
11027 calls. Handle "=" in variable values properly.
11028 (tramp-find-inline-encoding): Raise an error, when no encoding is
11030 (tramp-wait-for-output): Check, whether PROC buffer is available.
11031 Remove spurious " ^H" sequences, sent by busybox.
11032 (tramp-get-ls-command): Suppress coloring, if possible.
11034 2010-01-28 Glenn Morris <rgm@gnu.org>
11036 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11038 * log-edit.el (log-edit-strip-single-file-name): Add missing
11039 :safe, :group, and :version tags.
11041 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11043 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11044 buffers. (Bug#5477)
11046 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11048 * files.el (delete-directory): Handle moving to trash without
11049 first doing recursion (Bug#5436).
11051 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11053 * vc-hooks.el (vc-path): Mark as obsolete.
11055 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11057 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11060 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11062 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11064 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11066 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11068 * vc-bzr.el (vc-bzr-revision-table): New function.
11070 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11072 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11073 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11075 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11077 Remove support for adding --signoff on commit.
11078 Future support will use an incompatible generic mechanism.
11079 * vc-git.el (vc-git-add-signoff): Remove variable.
11080 (vc-git-toggle-signoff): Remove function.
11081 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11083 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11084 Rename from xterm-set-background-mode. Return t if the background mode
11086 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11087 earlier, call it again in case the background mode has changed.
11089 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11091 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11094 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11096 * emacs-lisp/assoc.el (aelement): Doc fix.
11097 (aput, adelete, amake): Use lexical-let (Bug#5450).
11099 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11101 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11102 is the same as subprogram call, not declaration. (Bug#5435).
11104 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11106 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11107 (tramp-smb-maybe-open-connection): Use it.
11109 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11111 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11113 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11116 just because we see "encoding: 8bit".
11117 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11119 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11121 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11123 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11125 * jka-compr.el (jka-compr-load): If load-file is not in
11126 load-history, try its file-truename version. (bug#5447)
11128 2010-01-21 Alan Mackenzie <acm@muc.de>
11130 Fix a situation where deletion of a cpp construct throws an error.
11131 * progmodes/cc-engine.el (c-invalidate-state-cache):
11132 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11133 special cpp construct is still in the buffer.
11134 (c-parse-state): Record the special cpp with markers, not numbers.
11136 2010-01-21 Kenichi Handa <handa@m17n.org>
11138 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11139 process last-command-event, as it is now decoded first (Bug#5380).
11141 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11143 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11145 2010-01-20 Glenn Morris <rgm@gnu.org>
11147 * indent.el (tab-always-indent): Fix custom-type.
11149 2010-01-19 Alan Mackenzie <acm@muc.de>
11151 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11152 buffer throws "args out of range".
11153 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11154 playing the role of delimiter.
11156 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11158 * progmodes/ada-mode.el: Fix bug#5400.
11159 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11160 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11161 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11162 Improve comments in "is" portion. Handle null procedure declaration.
11163 (ada-move-to-end): Improve doc string.
11165 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11167 * ido.el (ido-cur-list): Initialize to nil.
11168 Remove obsolete information from commentary.
11169 (ido-choice-list): Initialize to nil.
11170 (ido-get-bufname): Reject minibuffers.
11171 (ido-make-buffer-list): If "default" is a nonexistent
11172 buffer, ignore it, as per the function's comment.
11173 (ido-kill-buffer-internal): New function.
11174 (ido-kill-buffer-at-head): Use it.
11175 (ido-visit-buffer): Likewise.
11177 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11179 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11181 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11183 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11184 Fix typos in chart titles.
11186 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11187 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11188 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11189 (describe-class, eieio-describe-generic, describe-generic):
11190 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11191 (eieio-speedbar-expand):
11192 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11193 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11194 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11195 (viper-del-backward-char-in-replace, viper-backward-indent)
11196 (viper-brac-function, viper-register-to-point, viper-submit-report):
11197 * net/tramp.el (tramp-remote-coding-commands):
11198 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11199 Fix typos in docstrings.
11201 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11203 * mail/sendmail.el (mail-yank-original): Set the mark if the
11204 specified function for yanking does not do it.
11206 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11208 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11210 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11211 resyncing a directory.
11213 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11215 * progmodes/ada-mode.el: Fix bug#1920.
11216 (ada-ident-re): Delete ., allow multibyte characters.
11217 (ada-goto-label-re): New; matches goto labels.
11218 (ada-block-label-re): New; matches block labels.
11219 (ada-label-re): New; matches both.
11220 (ada-named-block-re): Deleted; callers changed to use
11221 `ada-block-label-re' instead.
11222 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11223 Use `ada-block-label-re'.
11224 (ada-indent-on-previous-lines): Improve handling of goto labels.
11225 (ada-get-indent-block-start): Special-case block label.
11226 (ada-get-indent-label): Split into `ada-indent-block-label' and
11227 `ada-indent-goto-label'.
11228 (ada-goto-stmt-start, ada-goto-next-non-ws):
11229 Optionally ignore goto labels.
11230 (ada-goto-next-word): Simplify.
11231 (ada-indent-newline-indent-conditional): Insert newline before
11232 trying to fix indentation; doc fix.
11234 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11236 * calc/calc.el (calc-command-flags): Give it an initial value.
11238 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11240 * files.el (minibuffer-with-setup-hook):
11241 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11242 (artist-key-draw-continously, artist-key-do-continously-continously)
11243 (artist-key-set-point-continously, artist-mouse-draw-continously):
11244 Fix typos in docstrings.
11246 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11248 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11249 Never return t (Bug#3898).
11251 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11253 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11254 can parse the output of the external commands (Bug#5279).
11256 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11258 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11260 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11262 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11264 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11266 * startup.el (command-line): Remove unused --icon-type arg.
11267 Handle --display arg, passing it to command-line-1 (Bug#5392).
11269 2010-01-16 Mario Lang <mlang@delysid.org>
11271 * emacs-lisp/chart.el (chart-translate-namezone):
11272 * textmodes/artist.el (artist-compute-popup-menu-table):
11273 Remove duplicated words in doc-strings.
11275 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11277 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11278 to mairix-search to suppress threading (Bug#5342).
11280 2010-01-15 Kenichi Handa <handa@m17n.org>
11282 * international/mule-cmds.el (canonicalize-coding-system-name):
11283 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11285 2010-01-15 Glenn Morris <rgm@gnu.org>
11287 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11289 * wid-edit.el (widget-keymap): Doc fix.
11291 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11292 former seems to be more widely accepted by various svn versions.
11294 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11296 * find-cmd.el (find-constituents):
11297 * vc-arch.el (vc-arch-root):
11298 * window.el (window-body-height, pop-up-frames):
11299 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11300 * progmodes/ada-stmt.el (ada-if):
11301 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11302 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11303 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11304 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11306 * progmodes/flymake.el (flymake-post-syntax-check):
11307 Fix typo in error message.
11309 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11311 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11312 which is always a string. (Bug#5313)
11314 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11316 * progmodes/ada-xref.el (ada-default-prj-properties):
11317 Simplify previous change.
11319 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11321 * progmodes/ada-xref.el (ada-default-prj-properties):
11322 Default ada_project_path to $ADA_PROJECT_PATH.
11324 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11326 * progmodes/ada-mode.el (ada-create-keymap):
11327 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11329 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11331 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11332 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11333 (ada-get-current-indent, ada-imenu-generic-expression)
11334 (ada-which-function): Check for it.
11336 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11338 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11339 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11341 2010-01-14 Glenn Morris <rgm@gnu.org>
11343 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11345 2010-01-14 Kenichi Handa <handa@m17n.org>
11347 * composite.el (auto-composition-mode): Make it a buffer local
11348 variable (permanent-local).
11349 (auto-composition-function): Set the default value to
11350 auto-compose-chars.
11351 (auto-composition-mode): Make it a simple function, not a minor mode.
11352 (global-auto-composition-mode): Likewise.
11353 (turn-on-auto-composition-if-enabled): Delete it.
11355 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11357 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11359 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11361 * files.el (copy-directory): Compute target for recursive
11362 directories with identical names. (Bug#5343)
11364 2010-01-12 Glenn Morris <rgm@gnu.org>
11366 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11367 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11369 2010-01-11 Sam Steingold <sds@gnu.org>
11371 * imenu.el (imenu-default-create-index-function): Detect infinite
11372 loops caused by imenu-prev-index-position-function.
11374 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11376 * htmlfontify.el (htmlfontify-load-rgb-file)
11377 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11378 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11379 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11380 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11381 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11382 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11383 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11384 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11385 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11386 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11387 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11388 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11389 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11390 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11391 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11392 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11393 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11394 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11395 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11396 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11397 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11398 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11399 backslash-quoting from parentheses, etc.
11401 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11403 * progmodes/js.el: Autoload javascript-mode alias.
11405 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11407 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11408 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11409 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11410 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11411 Fix typos in docstrings.
11412 (ffap-url-regexp): Doc fix.
11413 (ffap-at-mouse): Fix typo in message.
11415 2010-01-11 Glenn Morris <rgm@gnu.org>
11417 * version.el (emacs-copyright): Set copyright year to 2010.
11419 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * format.el (format-annotate-function): Only set
11422 write-region-post-annotation-function after running to-fn so as not to
11423 affect nested write-region calls (bug#5273).
11425 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11427 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11430 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11432 * man.el (Man-goto-section): Signal error if the section is not
11435 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11437 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11438 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11440 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11442 * progmodes/compile.el: Don't treat compile-command as safe if
11443 compilation-read-command might be nil (Bug#4218).
11445 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11447 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11450 2010-01-08 Kenichi Handa <handa@m17n.org>
11452 * international/fontset.el (build-default-fontset-data):
11453 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11455 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11457 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11458 to `create-file-buffer' as it expects, not just a buffer name.
11459 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11460 to help uniquify. (Bug#3224)
11462 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11464 * font-setting.el (font-setting-change-default-font): Use user-spec
11467 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11469 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11471 2010-01-05 Tom Tromey <tromey@redhat.com>
11473 * progmodes/python.el (python-font-lock-keywords):
11474 Handle qualified decorators (Bug#881).
11476 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11478 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11479 in a lightweight checkout.
11481 2010-01-05 Kenichi Handa <handa@m17n.org>
11483 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11485 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11487 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11489 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11491 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11492 checkouts. (Bug#618)
11493 (vc-bzr-log-view-mode): Also highlight the author.
11494 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11495 (vc-bzr-shelve-menu-map):
11496 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11497 (vc-bzr-shelve-apply): Make prompt more explicit.
11499 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11501 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11502 They are valid characters in URL paths (rfc3986), and at least
11503 Firefox does not understand the encoded version (Bug#3166).
11505 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11507 * progmodes/octave-mod.el (octave-end-keywords)
11508 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11509 Add "end" keyword (Bug#3061).
11510 (octave-end-as-array-index-p): New function.
11511 (calculate-octave-indent): Use it.
11513 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11515 * bookmark.el: Consistently put the text property on the bookmark name.
11516 (bookmark-bmenu-marks-width): Bump back to 2, to include
11518 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11519 property on the bookmark name, instead of not putting it at all.
11520 (bookmark-bmenu-list): Fix where we put the text property.
11522 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11524 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11525 for showing buffer modified state (as added in the previous change).
11527 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11529 * bookmark.el: Show modified state of bookmark buffer more accurately.
11530 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11531 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11532 (with-buffer-modified-unmodified): New macro.
11533 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11534 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11535 Use new macro to preserve the buffer modified state.
11537 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11539 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11540 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11541 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11542 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11543 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11544 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11545 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11547 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11549 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11550 Make the lines in the generated doc string shorter. (Bug#4668)
11552 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11554 * net/rcirc.el: Add follow-link binding (Bug#4738).
11556 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11558 * Makefile.in (bzr-update): Rename from cvs-update.
11559 (cvs-update): New target for backward compatibility.
11561 * makefile.w32-in (bzr-update): Rename from cvs-update.
11562 (cvs-update): New target for backward compatibility.
11564 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11566 * bookmark.el: Remove gratuitous gratitude.
11568 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11570 * bookmark.el (bookmark-bmenu-any-marks): New function.
11571 (bookmark-bmenu-save): Clear buffer modification if no marks.
11573 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11575 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11576 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11577 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11578 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11580 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11581 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11582 To: emacs-devel {_AT_} gnu.org
11583 Subject: bookmark.el bug report
11584 Date: Mon, 28 Dec 2009 14:19:16 +0800
11585 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11587 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11589 * bookmark.el: Improvements suggested by Drew Adams:
11590 (bookmark-bmenu-ensure-position): New name for
11591 `bookmark-bmenu-check-position'. Just ensure the position,
11592 don't return any meaningful value.
11593 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11596 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11598 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11599 (bookmark-yank-point, bookmark-bmenu-check-position):
11600 Fix typos in docstrings.
11601 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11602 (bookmark-name-from-full-record, bookmark-get-position)
11603 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11604 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11605 Remove useless quoting of parenthesis, etc. in docstrings.
11607 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11608 (ediff-append-custom-diff): Fix typo in error message.
11609 (ediff-meta-mark-equal-files): Fix typos in messages.
11611 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11613 * net/imap-hash.el (imap-hash-make): Doc fix.
11614 (imap-hash-test): Fix typo in error message; reflow docstring.
11615 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11616 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11617 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11618 Fix typos in docstrings.
11619 (imap-hash-open-connection): Fix typo in error message.
11621 * play/gomoku.el (gomoku): Fix typos in docstring.
11623 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11624 (gdb-jsonify-buffer): Fix typos in docstring.
11625 (gdb-goto-breakpoint): Fix typo in error message.
11626 ("Display Other Windows"): Fix typo in help message.
11627 (gdb-speedbar-expand-node): Fix typo in question.
11629 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11630 (idlwave-html-system-help-location, idlwave-html-help-location)
11631 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11632 (idlwave-help-browser-generic-args, idlwave-help-directory)
11633 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11634 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11635 (idlwave-online-help, idlwave-help-html-link)
11636 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11637 Fix typos in docstrings.
11638 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11640 (idlwave-help-assistant-start): Fix typo in error message.
11642 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11643 (octave-electric-space): Fix typos in docstrings.
11645 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11647 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11649 2010-01-01 Juri Linkov <juri@jurta.org>
11651 * comint.el (comint-input-ring-size): Make it a defcustom and
11652 increase the default to 500 (Bug#5148).
11654 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11656 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11657 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11658 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11660 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11662 Show working revision correctly for mercurial.
11663 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11664 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11666 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11668 Declare some functions for the byte-compiler.
11669 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11670 (speedbar-timer-fn, speedbar-change-expand-button-char)
11671 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11673 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11675 This changeset reverts GDB Graphical Interface to use annotations.
11676 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11678 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11680 Make vc-dir work on subdirectories of the bzr root.
11681 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11682 Return file names relative to it.
11683 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11684 relative directory to vc-bzr-after-dir-status.
11686 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11688 * font-lock.el (font-lock-refresh-defaults): New function, which
11689 can be used to let font-lock react to external changes in
11690 variables like font-lock-defaults and keywords.
11691 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11693 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11695 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11697 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11699 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11701 Supersede color.diff settings in git log (bug#5211).
11703 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11704 escape chars in its output when the user has color.diff set to `always'.
11705 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11707 2009-12-26 Kevin Ryde <user42@zip.com.au>
11709 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11710 node. Keep previous "Index" name to work with past coreutils too.
11712 * man.el (man): Revise docstring a bit to show -a and -l as
11713 examples. Add -k description since support for it has otherwise
11714 been a secret. (Further to bug#3717.)
11715 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11716 "no matches" rather than "Can't find manpage", as the latter reads
11717 like -k was interpreted as a page name, which is not so. (Bug#5431)
11719 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11721 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11722 switches. Check also for //SUBDIRED// line.
11724 2009-12-25 Kenichi Handa <handa@m17n.org>
11726 * language/indian.el (devanagari-composable-pattern): Fix to
11727 handle ZWNJ and ZWJ. Use it in composition-function-table for
11729 (malayalam-composable-pattern): Fix previous change.
11731 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11733 * ps-print.el (ps-face-attributes): It was not returning the
11734 attribute face for faces specified as string. Reported by harven
11735 <harven@free.fr>. (Bug#5254)
11736 (ps-print-version): New version 7.3.5.
11738 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11740 * calendar/icalendar.el (icalendar--convert-tz-offset):
11741 Fix timezone names.
11742 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11743 (icalendar--add-diary-entry): Remove the trailing blank that
11744 diary-make-entry inserts.
11746 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11748 Make `file-expand-wildcards' work for remote files.
11750 * files.el (file-expand-wildcards): In case of remote files, check
11751 only local file name part for wildcards. Provide feature 'files
11752 and subfeature 'remote-wildcards. (Bug#5198)
11754 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11755 if there is already an established connection.
11756 (tramp-advice-file-expand-wildcards): Remove it.
11758 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11759 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11760 Activate advice for older GNU Emacs versions. (Bug#5237)
11762 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11764 Some doc fixes (more needed).
11766 * find-cmd.el (find-constituents): Reflow docstring.
11767 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11768 (find-generic): Doc fix.
11770 2009-12-17 Juri Linkov <juri@jurta.org>
11772 Fix regression from 23.1 to allow multiple modes in Local Variables.
11774 * files.el (hack-local-variables-filter): While ignoring duplicates,
11775 don't take `mode' into account.
11776 (hack-local-variables-filter, hack-dir-local-variables):
11777 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11779 2009-12-17 Juri Linkov <juri@jurta.org>
11781 Make `dired-diff' safer. (Bug#5225)
11783 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11784 `current' or when `file' is a directory of the `current' file.
11786 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11788 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11789 unconditionally preloaded files.
11791 2009-12-16 Juri Linkov <juri@jurta.org>
11793 Revert to old 23.1 logic of using the file at the mark as default.
11794 * dired-aux.el (dired-diff): Use the file at the mark as default
11795 if it's not the same as the current file, and the target dir is
11796 the current dir or the mark is active. Add the current file
11797 as the arg of `dired-dwim-target-defaults'. Use the default file
11798 in the prompt. (Bug#5225)
11800 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11802 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11803 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11804 (tramp-check-for-regexp): Check also, when an echoing shell stops
11805 to echo sent commands.
11807 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11809 * Makefile.in: Revert last change (Bug#5191).
11811 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11813 * vc-hg.el (vc-hg-print-log): Fix argument order.
11814 (vc-hg-working-revision): Make sure the command is executed in a
11815 known environment so that we can parse the output. (Bug#4417)
11817 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11819 * progmodes/python.el (python-symbol-completions): Remove text
11820 properties from symbol string before calling python-send-receive.
11822 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11824 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11825 when there are values for both file and line. (Bug#5060)
11827 2009-12-14 Juri Linkov <juri@jurta.org>
11829 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11830 whitespace after the file name of the first line of unified format,
11831 because git-diff doesn't output whitespace and file modification time
11832 after the file name.
11834 2009-12-14 David Kastrup <dak@gnu.org>
11836 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11837 check if it already has the `display' property added by
11838 `Info-display-images-node', and not put the `invisible' property
11841 2009-12-13 Glenn Morris <rgm@gnu.org>
11843 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11844 (report-emacs-bug): In message-mode, sort manually before storing
11845 original report text. (Bug#5178)
11846 Remove superfluous save-excursion.
11848 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11850 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11851 when responding to "GetAll" properties.
11853 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11855 * simple.el (compose-mail): Remove mail-setup-with-from from
11856 customization checks.
11858 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11860 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11861 RAR archives created on Unix systems.
11863 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11865 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11866 the varalias that was accidentally removed by the 2009-11-19 change
11869 2009-12-12 Kenichi Handa <handa@m17n.org>
11871 * language/indian.el (indian-compose-regexp): New function.
11872 (malayalam-composable-pattern): Fix the pattern.
11873 (composition-function-table): Set malayalam-composable-pattern for
11874 Malayalam characters.
11876 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11878 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11879 rather than down-mouse-1, based on follow-link conventions.
11881 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11884 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11886 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11887 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11888 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11889 (verilog-leap-to-head, verilog-backward-token):
11890 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11892 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11894 * progmodes/verilog-mode.el (verilog-auto-lineup)
11895 (verilog-nameable-item-re): Cleanup user-visible spelling and
11896 documentation errors. One reported by Gary Delp.
11897 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11898 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11899 package, bug195. Reported by Pierre-David Pfister.
11901 2009-12-11 Glenn Morris <rgm@gnu.org>
11903 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11905 * mail/emacsbug.el: No longer require sendmail.
11906 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11907 (report-emacs-bug-orig-text): Doc fix.
11908 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11909 New local variables, to adapt to different mail-user-agents.
11910 (report-emacs-bug): Fix test for a gnu.org address.
11911 Use overlays for emphasis, since font-lock defeats 'face property.
11912 Pretest bugs also end up at the newsgroup these days.
11913 Stop message-mode stripping text properties.
11914 Set and use the new buffer-local variables.
11915 (report-emacs-bug-hook): Add doc-string.
11916 Remove some unnecessary save-excursions and simplify.
11917 Use the appropriate hook and send-command.
11919 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11920 capitalization of some menu entries.
11922 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11924 * whitespace.el (whitespace-display-char-on):
11925 Ensure `buffer-display-table' is unique when two or more windows are
11926 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11929 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11931 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11932 characters in the Attribute field.
11934 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11936 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11938 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11940 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11942 Disregard autoload-excludes.
11943 (update-directory-autoloads): Obey autoload-excludes here instead.
11944 But don't store its contents in no-autoloads and remove entries that
11945 refer to excludes files.
11947 2009-12-10 Glenn Morris <rgm@gnu.org>
11949 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11950 (expand-mail-aliases): Define for compiler.
11952 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11953 Define for compiler.
11955 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11956 appropriate for the mail-user-agent in use.
11958 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11960 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11962 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11964 Fix short log parsing and fontification.
11965 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11966 Fix fontification for the [merge] label.
11968 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11970 Drop some properties to avoid surprises (bug#5002).
11971 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11972 (hfy-fontify-buffer): Use it.
11974 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11977 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11978 Adjust all callers.
11979 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11980 args compulsory. Adjust callers.
11981 (ffap-gopher-at-point): Remove unused var `name'.
11983 Get rid of the ELCFILES abomination.
11984 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11985 (compile-elcfiles): New phony target.
11986 (compile-main): Compute ELCFILES dynamically.
11987 (compile-clean): New target to remove left-over elc files.
11988 (compile, all): Use it.
11990 2009-12-09 Kenichi Handa <handa@etlken>
11992 * international/mule-diag.el: Require help-mode instead of help-fns.
11994 2009-12-09 Kenichi Handa <handa@m17n.org>
11996 * international/mule-cmds.el (ucs-names): Supply sufficiently
11997 fine ranges instead of pre-calculating accurate ranges.
11998 Iterate with bigger gc-cons-threshold.
12000 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12002 Add support for stashing a snapshot of the current tree.
12003 * vc-git.el (vc-git-stash-snapshot): New function.
12004 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12006 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12008 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12009 instead of `(beginning|end)-of-line'.
12011 2009-12-08 Glenn Morris <rgm@gnu.org>
12013 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12015 * Makefile.in (ELCFILES): Regenerate.
12017 2009-12-07 Juri Linkov <juri@jurta.org>
12019 Don't lazy-highlight the comint output in history Isearch mode.
12021 * comint.el (comint-history-isearch-search): Instead of
12022 `comint-line-beginning-position', use `comint-after-pmark-p'
12023 to check if point if before the process mark, and go to
12024 `process-mark' in this case.
12026 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * textmodes/tex-mode.el (latex-complete)
12029 (latex-indent-or-complete): Remove.
12030 (latex-mode): Set completion-at-point-functions instead.
12032 Provide a standard completion command and hook it into TAB.
12033 * minibuffer.el (completion-at-point-functions): New var.
12034 (completion-at-point): New command.
12035 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12036 * progmodes/python.el (python-mode-map): Use completion-at-point.
12037 (python-completion-at-point): Rename from python-partial-symbol and
12038 adjust for use in completion-at-point-functions.
12039 (python-mode): Setup completion-at-point for Python completion.
12040 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12041 extracted from lisp-complete-symbol.
12042 (lisp-complete-symbol): Use it.
12043 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12044 setup completion-at-point for Elisp completion.
12045 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12046 Use completion-at-point.
12047 * ielm.el (ielm-map): Use completion-at-point.
12048 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12049 * progmodes/sym-comp.el: Move to...
12050 * obsolete/sym-comp.el: Move from progmodes.
12052 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12054 Prevent save-buffer in Rmail buffers from using the coding-system
12055 of the current message, and from clobbering the encoding mnemonics
12056 in the mode line (Bug#4623).
12058 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12060 (rmail-message-encoding): New variable.
12061 (rmail-write-region-annotate): Record the encoding of the current
12062 message in rmail-message-encoding.
12063 (rmail-after-save-hook): New function, restores the encoding of
12064 the current message after the message collection is saved.
12066 2009-12-07 Juri Linkov <juri@jurta.org>
12068 * progmodes/grep.el (grep-read-files): Use `completing-read'
12069 instead of `read-string'. Set its `collection' arg to
12070 `read-file-name-internal'. (Bug#4301)
12072 2009-12-07 Juri Linkov <juri@jurta.org>
12074 Correctly restore original Isearch point. (Bug#4994)
12076 * isearch.el (isearch-mode): Move `isearch-push-state' after
12077 `(run-hooks 'isearch-mode-hook)'.
12078 (isearch-cancel): When `isearch-push-state-function' is defined,
12079 let-bind `isearch-cmds' to the first state (the last element of
12080 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12081 function and restores the original point). Otherwise, move point
12082 to `isearch-opoint'.
12084 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12087 chars that don't have names, so the table can be built much faster at
12090 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12092 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12093 change. Suggested by David Kastrup.
12095 * simple.el (compose-mail): Check for incompatibilities and warn.
12096 (compose-mail-user-agent-warnings): New option.
12098 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12100 Support showing a single log entry from vc-annotate.
12101 * vc.el (print-log): Add a new argument: START-REVISION.
12102 (vc-print-log-internal): Add a new optional argument and
12103 pass it to the backend.
12104 (vc-print-log, vc-print-root-log): Adjust callers.
12105 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12106 buffer already displays the requested log entry, use it.
12107 Otherwise display only the log entry in question.
12108 * vc-svn.el (vc-svn-print-log):
12109 * vc-mtn.el (vc-mtn-print-log):
12110 * vc-hg.el (vc-hg-state):
12111 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12112 (vc-git-show-log-entry): Return t on success.
12113 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12114 (vc-bzr-show-log-entry): Return t on success.
12115 * vc-rcs.el (vc-rcs-print-log):
12116 * vc-sccs.el (vc-sccs-print-log):
12117 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12119 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12121 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12122 Add menus to the meta mode. (Bug#5043)
12124 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12126 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12129 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12131 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12133 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12134 Berbain <raphael.berbain@gmail.com>.
12136 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12138 (tramp-initial-end-of-output): New defconst.
12139 (tramp-methods, tramp-find-shell)
12140 (tramp-open-connection-setup-interactive-shell)
12141 (tramp-maybe-open-connection): Use it.
12142 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12143 Handle existence of `#' and `$'.
12145 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12146 Use `tramp-initial-end-of-output'.
12148 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12150 Get the background mode from the terminal for xterm, and set
12152 * term/xterm.el (xterm-set-background-mode): New function.
12153 (terminal-init-xterm): Use it in case xterm supports background
12154 color queries. Recompute faces after getting the background
12157 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12159 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12160 number comment back on its own line, for easier parsing.
12162 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12164 Make it work for non-file buffers (bug#5102).
12165 * doc-view.el (doc-view-current-cache-dir):
12166 Use doc-view-buffer-file-name rather than buffer-file-name.
12167 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12169 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12171 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12172 author field is too short.
12174 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12176 * vc-git.el (vc-git-print-log): Handle a limit argument.
12177 Display the short log in graph form and with labels.
12178 (vc-git-log-view-mode): Handle labels.
12180 Make vc-revert change VC state from 'added to 'unregistered.
12181 * vc-git.el (vc-git-revert): Call git reset first.
12183 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12185 * net/newst-backend.el, net/newst-plainview.el:
12186 * net/newst-reader.el, net/newst-ticker.el:
12187 * net/newst-treeview.el, net/newsticker.el:
12188 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12190 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12192 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12194 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12195 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12196 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12197 Update annotation regexp.
12199 * simple.el (beginning-of-visual-line): Constrain to field
12200 boundaries (Bug#5106).
12202 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12204 * xml.el (xml-substitute-numeric-entities):
12205 Move newsticker--decode-numeric-entities in newst-backend.el to
12206 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12207 * net/newst-backend.el (newsticker--parse-generic-feed)
12208 (newsticker--parse-generic-items)
12209 (newsticker--decode-numeric-entities):
12210 Move newsticker--decode-numeric-entities in newst-backend.el to
12211 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12213 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12215 * progmodes/js.el (js--js-not): Add null to the list of values.
12217 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12219 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12221 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12223 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12224 delimiter if it is at the end of the current line.
12225 (bibtex-generate-url-list): Fix docstring.
12227 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12229 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12230 minibuffer's content with itself.
12231 Fold the confirm-after-completion case into the `confirm' case.
12232 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12234 2009-12-06 Kevin Ryde <user42@zip.com.au>
12236 * ffap.el (ffap-rfc-path): Make this a defcustom since
12237 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12239 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12240 manuals, similar to existing setup for help-mode. (Bug#3913.)
12242 2009-12-05 Juri Linkov <juri@jurta.org>
12244 Save and restore dired buffer's point positions too. (Bug#4880)
12246 * dired.el (dired-save-positions): Return in the first element
12247 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12249 (dired-restore-positions): First restore buffer's position.
12250 While restoring window's positions, check if window still displays
12251 the original buffer.
12253 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12255 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12258 * shell.el (shell): Require ansi-color (Bug#5113).
12260 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12262 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12264 2009-12-05 Alan Mackenzie <acm@muc.de>
12266 * progmodes/cc-mode.el (c-before-hack-hook)
12267 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12268 `c-file-style' to work again. This reversion restores the current
12269 software to its state in Emacs 23.1. (Bug#4146)
12271 2009-12-05 Kevin Ryde <user42@zip.com.au>
12273 * textmodes/sgml-mode.el (sgml-lexical-context):
12274 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12276 2009-12-05 Juri Linkov <juri@jurta.org>
12278 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12279 for virtual nodes. (Bug#4147)
12280 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12281 when moving from a virtual node.
12282 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12283 (Info-mode): Add `Info-virtual-index' to the docstring.
12285 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12287 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12288 track of the buffer position of the end of a BibTeX entry as this
12289 position may change during reformatting.
12290 (bibtex-format-entry): Remove whitespace before processing
12291 numerical fields so that we recognize the latter properly.
12292 (bibtex-reformat): Do not use push which changes the global value
12293 of bibtex-entry-format.
12294 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12295 (bibtex-field-re-init): Replace only space characters by regexp
12297 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12298 (bibtex-initialize): Also update bibtex-strings.
12299 (bibtex-kill-field): Preserve white space at end of entry.
12300 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12301 Update bibtex-reference-keys.
12303 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12306 point after a star, if that's the only place where modifications can
12309 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12311 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12314 2009-12-04 Juri Linkov <juri@jurta.org>
12316 * proced.el (proced): Call `(proced-update t)' to update process
12317 information instead of only running proced-post-display-hook.
12318 (proced-send-signal): Add a leading space to the buffer name
12319 " *Marked Processes*" to make this buffer ephemeral.
12321 2009-12-04 Juri Linkov <juri@jurta.org>
12323 * dired.el (dired-auto-revert-buffer): New defcustom.
12324 (dired-internal-noselect): Use it.
12326 2009-12-04 Juri Linkov <juri@jurta.org>
12328 Change roles of modes and functions in image-mode.el (Bug#5062).
12330 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12331 in `auto-mode-alist'.
12332 (image-mode-previous-major-mode): New variable.
12333 (image-minor-mode-map): Rename from `image-mode-text-map'.
12334 (image-mode): Move graceful error-handling code from
12335 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12336 (image-minor-mode): Remove all image-handling code.
12337 Replace `image-mode-text-map' with `image-minor-mode-map'.
12338 Check for `image-type' in mode-line format string.
12339 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12340 (image-mode-as-text): New function with most code from
12341 `image-mode-maybe'.
12342 (image-toggle-display-text): Move code that removes image
12343 properties from `image-toggle-display' to here.
12344 (image-toggle-display-image): New function with code that adds
12345 image properties copied from `image-toggle-display'.
12346 (image-toggle-display): Remove most code with leaving only code
12347 that toggles between `image-mode-as-text' and `image-mode'.
12349 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12351 * net/newst-treeview.el
12352 (newsticker--treeview-list-highlight-start): Restored call to
12353 save-excursion: Selected item was stuck.
12354 (newsticker--treeview-list-select): New.
12355 (newsticker--treeview-item-show-text)
12356 (newsticker--treeview-item-show)
12357 (newsticker--treeview-item-update): Use new
12358 newsticker-treeview-item-mode.
12359 (newsticker-treeview-update): Keep current item.
12360 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12361 (newsticker--treeview-first-feed): Doc change.
12362 (newsticker-treeview-list-menu)
12363 (newsticker-treeview-item-menu): Add menu entries.
12364 (newsticker-treeview-item-mode): New.
12366 * net/newst-backend.el (newsticker-customize): Delete other
12369 2009-12-04 Sam Steingold <sds@gnu.org>
12371 * log-view.el (log-view-mode-map): "q" calls quit-window,
12372 like in all the other non-self-insert buffers.
12374 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12377 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12378 key decoding rather than do it manually via last-input-event +
12380 (term-exec): Use delete-and-extract-region.
12381 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12382 (term-process-pager): Remove unused var `i'.
12383 (term-dynamic-simple-complete): Make obsolete.
12384 (serial-update-config-menu): Remove unused vars `y' and `str'.
12385 (term-update-mode-line): Remove unused var `temp'.
12387 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12389 Limit the number of log entries displayed by default.
12390 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12391 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12392 using a prefix argument.
12394 2009-12-03 Glenn Morris <rgm@gnu.org>
12396 * progmodes/idlwave.el (class): Restore still useful declaration.
12398 2009-12-03 Alan Mackenzie <acm@muc.de>
12400 Enhance `c-parse-state' to run efficiently in "brace deserts".
12402 * progmodes/cc-mode.el (c-basic-common-init):
12403 Call c-state-cache-init.
12404 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12405 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12406 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12408 * progmodes/cc-langs.el (c-before-font-lock-function):
12409 c-extend-and-neutralize-syntax-in-CPP has been renamed
12410 c-neutralize-syntax-in-and-mark-CPP.
12412 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12413 with `category' properties now, not `syntax-table' ones.
12415 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12416 enhanced (but slower) version of c-end-of-macro that won't land
12417 inside a literal or on another awkward character.
12418 (c-state-cache-too-far, c-state-cache-start)
12419 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12420 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12421 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12422 (c-state-min-scan-pos, c-state-brace-pair-desert)
12423 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12424 buffer local variables.
12425 (c-state-literal-at, c-state-lit-beg)
12426 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12427 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12428 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12429 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12430 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12431 (c-renarrow-state-cache)
12432 (c-append-lower-brace-pair-to-state-cache)
12433 (c-state-push-any-brace-pair, c-append-to-state-cache)
12434 (c-remove-stale-state-cache)
12435 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12436 (c-invalidate-state-cache-1, c-parse-state-1)
12437 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12438 (c-parse-state): Enhance and refactor.
12439 (c-debug-parse-state): Amend to deal with all the new variables.
12441 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12442 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12443 modify to use category text properties rather than syntax-table ones.
12444 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12445 to switch off/on the syntactic paren property of C++ template
12446 delimiters using the category property.
12447 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12448 template delims suppressed.
12449 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12450 New constant/macros which apply category properties to the start
12451 and end of preprocessor constructs.
12452 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12453 "comment out" the syntactic value of characters in preprocessor
12455 (c-with-cpps-commented-out)
12456 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12457 with characters in all or all but one preprocessor constructs
12460 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12462 * proced.el (proced-filter-alist): Use regexp-quote.
12464 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12467 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12468 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12469 arguments. Expand `default-directory'.
12471 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12472 the benefit of returning an expanded localname.
12473 (tramp-tramp-file-p): Handle the case NAME is not a string.
12475 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12477 Add support for bzr shelve/unshelve.
12478 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12479 (vc-bzr-extra-menu-map): New variables.
12480 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12481 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12482 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12483 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12484 (vc-bzr-dir-extra-headers): Display shelves.
12486 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12488 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12490 * textmodes/bibtex.el (bibtex-complete-internal):
12491 Use completion-in-region.
12492 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12494 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12496 Support applying stashes. Improve UI.
12497 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12498 (vc-git-stash-apply, vc-git-stash-pop)
12499 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12500 (vc-git-stash-menu): New functions.
12501 (vc-git-stash-menu-map): New variable.
12502 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12504 2009-12-03 Glenn Morris <rgm@gnu.org>
12506 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12507 (vc-print-log-internal): Fix previous change.
12508 (vc-revert): Correct pluralization.
12510 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12513 it to be an alist any more.
12514 (makefile-complete): Use completion-in-region.
12516 * progmodes/octave-mod.el (octave-complete-symbol):
12517 Use completion-in-region.
12520 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12521 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12522 (idlwave-complete-class): Don't quote lambda.
12523 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12524 (idlwave-mode-map): Move initialization into declaration.
12525 (idlwave-action-and-binding): Use backquotes.
12526 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12528 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12529 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12530 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12531 `parts', and `all-parts'.
12532 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12533 (idlwave-convert-xml-system-routine-info): Remove unused string
12535 (idlwave-display-user-catalog-widget): Use dolist.
12536 (idlwave-scanning-lib): Declare dynamically-scoped var.
12537 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12538 (completion-highlight-first-word-only): Declare to silence bytecomp.
12539 (idlwave-popup-select): Tighten scope of `resp'.
12540 (idlwave-find-struct-tag): Remove unused var `beg'.
12541 (idlwave-after-load-rinfo-hook): Declare.
12542 (idlwave-sintern-class-info): Remove unused var `taglist'.
12543 (idlwave-find-class-definition): Remove unused var `list'.
12544 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12545 (idlwave-what-module-find-class): Remove unused var `classes'.
12547 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12549 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12551 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12554 buffers visited. Remove redundant current-buffer-saving.
12556 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12558 Use completion-in-buffer and remove uses of dynamic scoping.
12559 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12560 (pascal-buffer-to-use, pascal-flag): Don't declare.
12561 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12562 (pascal-get-completion-decl, pascal-keyword-completion):
12563 Add `pascal-str' argument, save-excursion,
12564 return the found completions, and don't filter with pascal-pred.
12565 (pascal-completion-cache): New var.
12566 (pascal-completion): Don't switch buffer any more (it was never
12567 necessary). Don't save-excursion any more (it's done by the called
12568 subroutines). Use a cache to avoid redundant computations.
12569 Use complete-with-action rather than pascal-completion-response and
12570 let it apply the predicate as well.
12571 (pascal-complete-word): Use completion-in-buffer when
12572 pascal-toggle-completions is nil.
12573 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12575 (pascal-comp-defun): Don't change buffer any more.
12576 Use complete-with-action rather than pascal-completion-response and
12577 let it apply the predicate as well.
12578 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12581 2009-12-02 Kenichi Handa <handa@m17n.org>
12583 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12584 shape for all Indic scripts.
12586 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12588 Use completion-in-buffer.
12589 * wid-edit.el (widget-field-text-end): New function.
12590 (widget-field-value-get): Use it.
12591 (widget-string-complete, widget-file-complete)
12592 (widget-color-complete): Use it and completion-in-region.
12593 (widget-complete): Don't narrow the buffer.
12595 2009-12-02 Glenn Morris <rgm@gnu.org>
12597 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12598 (rmail-select-summary): Use rmail-pop-to-buffer.
12599 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12600 rmail-pop-to-buffer, to prevent horizontal splits.
12602 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12603 save-excursion with save-current-buffer.
12604 Widen before searching. (Bug#5093)
12605 (diary-list-sexp-entries): Remove superfluous save-excursion.
12607 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12609 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12612 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12614 * ido.el (ido-file-internal): Handle filenames at point that do
12615 not have a directory part. (Bug#5049)
12617 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12619 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12620 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12622 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12624 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12625 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12628 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * comint.el (comint-insert-input): Ignore clicks to the right of
12631 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12633 * vc.el (vc-print-log-internal): Don't wait for the process to
12634 terminate before setting up the major mode.
12636 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12639 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12642 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12644 2009-12-01 Glenn Morris <rgm@gnu.org>
12646 * window.el (window--display-buffer-2): Fix previous changes.
12648 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12650 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12652 2009-12-01 Glenn Morris <rgm@gnu.org>
12654 * Makefile.in (ELCFILES): Add mpc.elc.
12656 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * mpc.el: New file.
12660 2009-12-01 Glenn Morris <rgm@gnu.org>
12662 * window.el (window-to-use): Define for compiler.
12664 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12665 consistent with others (no final period).
12667 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12668 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12670 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12672 Make vc-print-log buttons work.
12673 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12675 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12677 * savehist.el (savehist-autosave-interval): Allow setting to nil
12678 through customize. (Bug#5056)
12680 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12682 Fix references to jit-lock properties.
12683 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12684 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12685 (perl-font-lock-special-syntactic-constructs):
12686 Quote jit-lock-defer-multiline property.
12688 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12690 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12692 2009-11-30 Juri Linkov <juri@jurta.org>
12694 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12695 value `buffer' of `multi-isearch-next-buffer-current-function'.
12696 Use `(current-buffer)' when `buffer' is nil.
12697 (multi-isearch-next-buffer-from-list): Don't fallback to
12698 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12700 2009-11-30 Juri Linkov <juri@jurta.org>
12702 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12703 of buffers with `get-buffer' to `multi-isearch-buffers'.
12704 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12705 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12706 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12707 FILES with `expand-file-name' converting relative file names
12708 to absolute. Doc fix. (Bug#4727)
12710 2009-11-30 Juri Linkov <juri@jurta.org>
12712 * misearch.el (multi-isearch-read-buffers)
12713 (multi-isearch-read-matching-buffers): New functions.
12714 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12715 Use them in the `interactive' spec. Doc fix.
12716 (multi-isearch-read-files, multi-isearch-read-matching-files):
12718 (multi-isearch-files, multi-isearch-files-regexp):
12719 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12721 2009-11-30 Juri Linkov <juri@jurta.org>
12723 * doc-view.el (doc-view-continuous):
12724 Rename from `doc-view-continuous-mode'.
12725 (doc-view-menu): Move "Toggle display" to the top.
12726 Add submenu "Continuous" with radio buttons "Off"/"On"
12727 and "Save as Default".
12728 (doc-view-scroll-up-or-next-page)
12729 (doc-view-scroll-down-or-previous-page)
12730 (doc-view-next-line-or-next-page)
12731 (doc-view-previous-line-or-previous-page):
12732 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12734 2009-11-30 Juri Linkov <juri@jurta.org>
12736 * comint.el (comint-mode-map): Rebind `M-r' from
12737 `comint-previous-matching-input' to
12738 `comint-history-isearch-backward-regexp'.
12739 Unbind `M-s' to allow global key binding `M-s'.
12740 Add menu items for `comint-history-isearch-backward' and
12741 `comint-history-isearch-backward-regexp'. (Bug#3746)
12743 2009-11-30 Juri Linkov <juri@jurta.org>
12745 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12746 For def=recenter, replace `recenter' with `recenter-top-bottom'
12747 that is called with `this-command' and `last-command' let-bound
12748 to `recenter-top-bottom'. When the last `def' was not `recenter',
12749 set `recenter-last-op' to nil. (Bug#4981)
12751 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12753 Minor cleanup and simplification.
12754 * filecache.el (file-cache-add-directory)
12755 (file-cache-add-directory-recursively)
12756 (file-cache-add-from-file-cache-buffer)
12757 (file-cache-delete-file-regexp, file-cache-delete-directory)
12758 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12759 (file-cache-temp-minibuffer-message): Delete function.
12760 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12762 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12763 Don't signal an error when bumping into EOB in tr, s, or y.
12765 2009-11-29 Juri Linkov <juri@jurta.org>
12767 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12770 * descr-text.el (describe-char-unidata-list): Use lowercase name
12771 for "Unicode name" like in other tags.
12773 2009-11-29 Juri Linkov <juri@jurta.org>
12775 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12776 New compatibility macro.
12777 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12779 2009-11-29 Juri Linkov <juri@jurta.org>
12781 Add defcustom to define the cycling order of `recenter-top-bottom'.
12784 * window.el (recenter-last-op): Doc fix.
12785 (recenter-positions): New defcustom.
12786 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12787 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12789 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12791 Improve integration of Tramp and ange-ftp in eshell.
12793 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12794 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12795 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12797 * eshell/esh-util.el (top): Require also Tramp when compiling.
12798 (eshell-directory-files-and-attributes): Check for FTP remote
12800 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12801 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12802 (eshell-file-attributes): Handle ".". Return `entry'.
12804 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12805 (ange-ftp-directory-files-and-attributes)
12806 (ange-ftp-real-directory-files-and-attributes): New defuns.
12808 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12809 shell with "exec" when possible. This prevents trailing prompts
12810 in `start-file-process'.
12812 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12814 Try and remove assumptions about point-min==1.
12815 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12816 (rng-compute-mode-line-string): Show the validation percentage in
12817 terms of the narrowed text, not the widened text.
12818 (rng-do-some-validation): Don't catch internal errors when debugging.
12819 (rng-first-error): Simplify.
12820 (rng-after-change-function): Remove work around. AFAIK the bug has
12821 been fixed a while ago.
12823 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12824 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12826 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12828 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12829 `cd' doesn't always do it for us (bug#5067).
12831 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12832 on 2009-10-25 as part of some other change (bug#5067).
12834 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12836 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12838 (byte-compile-warnings): Use byte-compile-warning-types.
12839 (byte-compile-save-excursion): Warn about use of set-buffer right
12840 after save-excursion.
12842 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12843 the excursion as well.
12845 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12847 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12848 providing a Tramp related implementation of "su" and "sudo".
12849 (eshell-unix-initialize): Add "su" and "sudo".
12851 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12853 * net/socks.el (socks-send-command): Convert binary request to
12854 unibyte before sending. This fixes mishandling of some port
12855 numbers such as 129.
12857 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * help.el (describe-bindings-internal): Remove `interactive'.
12861 * man.el (Man-completion-table): Trim a terminating "(".
12862 Remove the space between name page a section.
12863 Add the command's description on the `help-echo' property.
12864 Remove `process-connection-type' binding since it's unused by
12866 Provide completion for the "<section> <name>" format as well.
12867 (Man-default-man-entry): Remove spurious var shadowing the argument.
12869 2009-11-26 Kevin Ryde <user42@zip.com.au>
12871 * log-view.el: Add "Keywords: tools", since its other keywords
12872 aren't in finder-known-keywords, and following vc.el.
12874 * sha1.el (sha1-string-external): default-directory "/" in case
12875 otherwise non-existent. process-connection-type pipe for touch of
12876 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12878 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12880 Misc coding convention cleanups.
12881 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12882 hfy-init-kludge-hooks.
12883 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12884 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12885 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12887 (hfy-slant, hfy-weight): Use tables rather than code.
12888 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12889 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12890 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12891 (hfy-face-to-css): Remove `nconc' with single arg.
12892 (hfy-p-to-face-lennart): Use `or'.
12893 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12894 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12895 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12896 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12897 (hfy-force-fontification): Use run-hooks.
12899 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12901 Various minor fixes.
12902 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12903 Javascript belongs in the header, not the body.
12904 (hfy-javascript): Remove.
12905 (hfy-fontify-buffer): Don't insert it any more.
12906 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12907 Fix bug in invis handling when there were no invis props in a chunk.
12909 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12911 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12913 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12915 * finder.el (finder-mode-map): Add a menu.
12917 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12919 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12920 "unsigned" structs.
12922 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12923 fork" statement better.
12925 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12927 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12928 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12929 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12930 Reported by Clay Douglass.
12932 (verilog-auto-inst, verilog-auto-star-safe)
12933 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12934 Fix removing "// Interfaces" when saving .* expansions.
12935 Reported by Pierre-David Pfister.
12937 2009-11-26 Glenn Morris <rgm@gnu.org>
12939 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12942 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12944 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12945 Really use previous revision.
12947 2009-11-25 Kevin Ryde <user42@zip.com.au>
12949 * man.el (Man-completion-table): default-directory "/" in case
12950 doesn't otherwise exist. process-environment COLUMNS=999 so as
12951 not to truncate long names. process-connection-type pipe to avoid
12952 any chance of hitting the pseudo-tty TIOCGWINSZ.
12953 (man): completion-ignore-case t for friendliness and since man
12954 itself is case-insensitive on the command line.
12955 Further to Bug#3717.
12957 * arc-mode.el: Add "Keywords: files", so the details in its
12958 commentary can be reached from finder-by-keyword.
12959 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12960 editing mode, but it's comms related and sgml-mode.el has "comm"
12962 * textmodes/bibtex-style.el: Add "Keywords: tex".
12963 * international/isearch-x.el, international/ja-dic-cnv.el:
12964 * international/ja-dic-utl.el, international/kkc.el:
12965 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12967 2009-11-25 Juri Linkov <juri@jurta.org>
12969 * man.el (Man-completion-table): Modify regexp to include
12970 section names to completion strings. (Bug#3717)
12972 2009-11-25 Juri Linkov <juri@jurta.org>
12974 Search recursively in gzipped files. (Bug#4982)
12976 * progmodes/grep.el (grep-highlight-matches): Add new options
12977 `always' and `auto'. Doc fix.
12978 (grep-process-setup): Check `grep-highlight-matches' for
12979 `auto-detect' to determine the need to compute grep defaults.
12980 Move Windows/DOS specific --colors settings handling
12981 to `grep-compute-defaults'. Check `grep-highlight-matches'
12982 to get the value of "--color=".
12983 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12984 has the value `auto-detect'. Move Windows/DOS specific settings
12985 from `grep-process-setup'.
12986 (zrgrep): New command with alias `rzgrep'.
12988 2009-11-25 Juri Linkov <juri@jurta.org>
12990 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12991 to nil instead of switching off view-mode. (Bug#4896)
12993 2009-11-25 Juri Linkov <juri@jurta.org>
12995 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12997 * mwheel.el (mwheel-scroll-up-function)
12998 (mwheel-scroll-down-function): New defvars.
12999 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13000 `scroll-up', and `mwheel-scroll-down-function' instead of
13003 * doc-view.el (doc-view-scroll-up-or-next-page)
13004 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13005 Use this ARG in the call to image-scroll-up/image-scroll-down.
13006 Change `interactive' spec to "P". Goto next/previous page only
13007 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13008 SPC/DEL case). Doc fix.
13009 (doc-view-next-line-or-next-page)
13010 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13012 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13013 `doc-view-scroll-up-or-next-page', and buffer-local
13014 `mwheel-scroll-down-function' to
13015 `doc-view-scroll-down-or-previous-page'.
13017 2009-11-25 Juri Linkov <juri@jurta.org>
13019 Provide additional default values (directories at other Dired
13020 windows) via M-n in the minibuffer of some Dired commands.
13022 * dired-aux.el (dired-diff, dired-compare-directories)
13023 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13024 `minibuffer-default' in `minibuffer-with-setup-hook'.
13025 (dired-dwim-target-directory): Find a window that displays Dired
13026 buffer instead of failing when the next window is not Dired.
13027 Use `get-window-with-predicate' to find for the next Dired window.
13028 (dired-dwim-target-defaults): New function.
13030 * ediff-util.el (ediff-read-file-name):
13031 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13032 in `minibuffer-with-setup-hook'.
13034 2009-11-25 Juri Linkov <juri@jurta.org>
13036 Provide additional default values (file name at point or at the
13037 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13039 * minibuffer.el (read-file-name-defaults): New function.
13040 (read-file-name): Reset `minibuffer-default' to nil when
13041 it duplicates initial input `insdef'.
13042 Bind `minibuffer-default-add-function' to lambda that
13043 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13044 (minibuffer-insert-file-name-at-point): New command.
13046 * files.el (file-name-at-point-functions): New defcustom.
13047 (find-file-default): Remove defvar.
13048 (find-file-read-args): Don't use `find-file-default'.
13049 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13050 to `read-file-name'.
13051 (find-file-literally): Use `read-file-name' with
13052 `confirm-nonexistent-file-or-buffer'.
13054 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13056 * dired.el (dired-read-dir-and-switches):
13057 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13058 to `read-file-name'.
13059 (dired-file-name-at-point): New function.
13060 (dired-mode): Add hook `dired-file-name-at-point' to
13061 `file-name-at-point-functions'.
13063 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13065 Really make the *Completions* window soft-dedicated (bug#5030).
13066 * window.el (window--display-buffer-2): Add `dedicated' argument.
13067 (display-buffer): Pass it when needed so the dedicated flag is set
13068 after calling set-window-buffer, which would otherwise reset it.
13070 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * progmodes/meta-mode.el (meta-complete-symbol):
13073 * progmodes/etags.el (complete-tag):
13074 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13075 Use completion-in-region.
13077 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13078 (dabbrev-completion): Use completion-in-region.
13079 (dabbrev--abbrev-at-point): Simplify regexp.
13081 * abbrev.el (abbrev--before-point): Use word-motion functions
13082 if :regexp is not specified (bug#5031).
13084 * subr.el (string-prefix-p): New function.
13086 * man.el (Man-completion-cache): New var.
13087 (Man-completion-table): Use it.
13089 * vc.el (vc-print-log-internal): Make `limit' optional for better
13090 compatibility (e.g. with vc-annotate.el).
13092 2009-11-24 Kevin Ryde <user42@zip.com.au>
13094 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13095 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13097 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13098 when .el source file not found or other error.
13100 2009-11-24 Markus Triska <markus.triska@gmx.at>
13102 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13104 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13106 Handle the [back] button properly (bug#4979).
13107 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13108 Use help-setup-xref, help-buffer, and with-help-window.
13109 (describe-char): Add `buffer' argument.
13110 Pass proper command to help-setup-xref. Don't meddle with
13111 help-xref-stack-item directly.
13112 (describe-text-category): Use with-help-window and help-buffer.
13114 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13115 for the displayed buffer (bug#4887).
13117 * man.el (Man-completion-table): New function.
13120 2009-11-24 David Reitter <david.reitter@gmail.com>
13122 * vc-git.el (vc-git-registered): Use checkout directory (where
13123 .git is) rather than the file's directory and a relative path spec
13124 to work around a bug in git.
13126 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13128 Improve handling of processes on remote hosts.
13130 * eshell/esh-util.el (eshell-path-env): New defvar.
13131 (eshell-parse-colon-path): New defun.
13132 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13134 * eshell/esh-ext.el (eshell-search-path):
13135 Use `eshell-parse-colon-path'.
13136 (eshell-remote-command): Remove argument HANDLER.
13137 (eshell-external-command): Check for FTP remote connection.
13139 * eshell/esh-proc.el (eshell-gather-process-output):
13140 Use `file-truename', in order to start also symlinked files.
13141 Apply `start-file-process' instead of `start-process'.
13142 Shorten `command' to the local file name part.
13144 * eshell/em-cmpl.el (eshell-complete-commands-list):
13145 Use `eshell-parse-colon-path'.
13147 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13149 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13150 to `eshell-directory-change-hook'.
13152 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13154 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13155 because it could be enabled automatically if view-read-only is non-nil.
13157 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13159 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13160 made on 2009-11-22.
13162 2009-11-24 Glenn Morris <rgm@gnu.org>
13164 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13165 deleted variable bookmark-bmenu-bookmark-column.
13167 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13171 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13173 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13174 two slashes to the "file:" prefix.
13175 (browse-url-file-url): De-munge Cygwin filenames before passing
13176 them to Windows browser.
13177 (browse-url-default-windows-browser): Use call-process.
13179 2009-11-23 Juri Linkov <juri@jurta.org>
13181 Implement DocView Continuous mode. (Bug#4896)
13182 * doc-view.el (doc-view-continuous-mode): New defcustom.
13183 (doc-view-mode-map): Bind C-n/<down> to
13184 `doc-view-next-line-or-next-page', C-p/<up> to
13185 `doc-view-previous-line-or-previous-page'.
13186 (doc-view-next-line-or-next-page)
13187 (doc-view-previous-line-or-previous-page): New commands.
13189 2009-11-23 Juri Linkov <juri@jurta.org>
13191 Implement Isearch in comint input history. (Bug#3746)
13192 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13193 `isearch-mode-hook'.
13194 (comint-history-isearch): New defcustom.
13195 (comint-history-isearch-backward)
13196 (comint-history-isearch-backward-regexp): New commands.
13197 (comint-history-isearch-message-overlay): New buffer-local variable.
13198 (comint-history-isearch-setup, comint-history-isearch-end)
13199 (comint-goto-input, comint-history-isearch-search)
13200 (comint-history-isearch-message, comint-history-isearch-wrap)
13201 (comint-history-isearch-push-state)
13202 (comint-history-isearch-pop-state): New functions.
13204 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13206 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13208 (tramp-handle-make-symbolic-link)
13209 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13211 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13212 (tramp-handle-process-file): Use it.
13214 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13216 * window.el (move-to-window-line-last-op): Remove.
13217 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13219 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13221 Make M-r mirror the new cycling behavior of C-l.
13222 * window.el (move-to-window-line-last-op): New var.
13223 (move-to-window-line-top-bottom): New command.
13224 (global-map): Bind M-r move-to-window-line-top-bottom.
13226 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13228 * dired-x.el (dired-guess-shell-alist-default):
13229 Support xz format. (Bug#4953)
13231 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13233 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13234 last-command-char/last-command-event.
13235 (viper-prefix-arg-value): Do correct conversion of event-char for
13238 * emulation/viper-util.el, emulation/viper.el:
13239 Use viper-last-command-char instead of
13240 last-command-char/last-command-event.
13242 * ediff-init.el, ediff-mult.el, ediff-util.el:
13243 Replace last-command-char and last-command-event
13244 with (ediff-last-command-char) everywhere.
13246 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13247 created in fundamental mode.
13249 * ediff.el (ediff-version): Revert the change of interactive-p to
13250 called-interactively-p.
13252 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13254 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13255 generation from word-movement command names.
13257 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13259 * cus-start.el (all): Add native condition for font-use-system-font.
13261 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13263 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13264 Correct the patch from 2009-11-18. (Bug#3910)
13266 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13268 * progmodes/subword.el: Rename from lisp/subword.el.
13270 * subword.el: Rename to progmodes/subword.el.
13272 * Makefile.in (ELCFILES): Adapt to subword.el move.
13274 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13275 Stefan Monnier <monnier@iro.umontreal.ca>
13277 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13278 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13279 (bookmark-bmenu-show-filenames): Use push.
13280 (bookmark-bmenu-hide-filenames): Use local var instead of
13281 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13282 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13283 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13284 filenames now that the bookmark names are always available.
13286 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13288 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13289 (bookmark-search-pattern): Move and leave unbound.
13290 (bookmark-bmenu-mode-map): Change binding.
13291 (bookmark-read-search-input): Simplify.
13292 Don't use text-char-description. Don't error on non-char events.
13293 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13294 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13295 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13296 Use a local var for the timer.
13297 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13298 (i.e. bookmark-bmenu-search).
13300 2009-11-21 Glenn Morris <rgm@gnu.org>
13302 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13304 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13306 * net/browse-url.el (browse-url-default-windows-browser):
13307 Use cygstart for cygwin.
13309 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13311 * bookmark.el: Formatting and doc fixes only:
13312 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13313 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13314 Minor grammar and punctuation fixes in doc string.
13315 (bookmark-read-search-input): Adjust to fit within 80 columns.
13317 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13319 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13320 (c-backward-into-nomenclature): Adapt to subword renaming.
13322 * subword.el (subword-forward, subword-backward, subword-mark)
13323 (subword-kill, subword-backward-kill, subword-transpose)
13324 (subword-downcase, subword-upcase, subword-capitalize)
13325 (subword-forward-internal, subword-backward-internal):
13326 Rename from forward-subword, backward-subword, mark-subword,
13327 kill-subword, backward-kill-subword, transpose-subwords,
13328 downcase-subword, upcase-subword, capitalize-subword,
13329 forward-subword-internal, backward-subword-internal.
13331 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13333 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13335 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13337 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13338 (bookmark-bmenu-filter-alist-by-regexp)
13339 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13340 (bookmark-bmenu-search): New command.
13341 (bookmark-bmenu-mode-map): Bind it.
13343 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13345 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13346 backward-subword to quit the byte-compiler.
13348 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13350 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13352 * progmodes/cc-cmds.el (c-update-modeline)
13353 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13354 Refer to subword.el functions instead of cc-subword.el.
13356 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13357 subword.el functions instead of cc-subword.el.
13359 * progmodes/cc-subword.el: Rename to subword.el.
13360 * subword.el: Rename from progmodes/cc-subword.el.
13361 (subword-mode-map): Rename from c-subword-mode-map.
13362 (subword-mode): Rename from c-subword-mode.
13363 (global-subword-mode): New global minor mode.
13364 (forward-subword): Rename from c-forward-subword.
13365 (backward-subword): Rename from c-backward-subword.
13366 (mark-subword): Rename from c-mark-subword.
13367 (kill-subword): Rename from c-kill-subword.
13368 (backward-kill-subword): Rename from c-backward-kill-subword.
13369 (transpose-subwords): Rename from c-tranpose-subword.
13370 (downcase-subword): Rename from c-downcase-subword.
13371 (capitalize-subword): Rename from c-capitalize-subword.
13372 (forward-subword-internal): Rename from c-forward-subword-internal.
13373 (backward-subword-internal): Rename from c-backward-subword-internal.
13375 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13377 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13378 from a dired buffer.
13379 (vc-dired-deduce-fileset): New function.
13380 (vc-root-diff, vc-print-root-log): Use it.
13382 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13383 nil LIMIT argument to vc-print-log-internal.
13385 2009-11-20 Glenn Morris <rgm@gnu.org>
13387 * Makefile.in (ELCFILES): Regenerate.
13389 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13391 * calc/calc.el (calc-set-mode-line):
13392 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13393 (math-format-number): Rename `math-format-complement-signed' to
13394 `math-format-twos-complement'.
13396 * calc/calc-bin.el (math-format-twos-complement): Rename from
13397 math-format-complement-signed.
13398 (calc-radix): Rename `calc-complement-signed-mode' to
13399 `calc-twos-complement-mode'.
13400 (calc-octal-radix, calc-hex-radix): Add an argument for
13403 * calc/calc-embed.el (calc-embedded-mode-vars):
13404 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13406 * calc/calc-ext.el (calc-init-extensions):
13407 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13408 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13410 * calc/calc-units.el (math-build-units-table-buffer):
13411 Let `calc-twos-complement-mode' be nil.
13413 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13416 * calc/calc-vec.el (calcFunc-vunpack):
13417 * calc/calc-aent.el (calc-do-calc-eval):
13418 * calc/calc-forms.el (math-format-date):
13419 * calc/calc-graph.el (calc-graph-plot):
13420 * calc/calc-math.el (math-use-emacs-fn):
13421 * calc/calccomp.el (math-compose-expr):
13422 Let `calc-twos-complement-mode' be nil.
13424 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13426 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13427 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13428 * minibuffer.el (completion-in-region-functions): New hook.
13429 (completion-in-region): New function.
13430 * emacs-lisp/lisp.el (lisp-complete-symbol):
13431 * pcomplete.el (pcomplete-std-complete): Use it.
13433 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13435 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13436 (latex-complete-alist): New vars.
13437 (latex-string-prefix-p, latex-complete-bibtex-keys)
13438 (latex-complete-envnames, latex-complete-refkeys)
13439 (latex-complete-data): New functions.
13440 (latex-complete, latex-indent-or-complete): New commands.
13442 * window.el (display-buffer-mark-dedicated): New var.
13443 (display-buffer): Obey it.
13444 * minibuffer.el (minibuffer-completion-help): Use it.
13446 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13448 * filecache.el (file-cache-add-file): Use push and cons.
13449 (file-cache-delete-file-regexp): Use push.
13450 (file-cache-complete): Use completion-in-region.
13452 * simple.el (with-wrapper-hook): Fix thinko.
13454 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13455 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13456 Use with-current-buffer and string-to-number.
13457 (hfy-fallback-colour-values): Use assoc-string.
13458 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13459 (hfy-face-at): Remove unused var `found-face'.
13460 (hfy-compile-stylesheet): Remove unused var `css'.
13461 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13463 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13464 Use with-current-buffer.
13465 (hfy-text-p): Use expand-file-name and fewer setq.
13467 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13469 * htmlfontify.el, hfy-cmap.el: New files.
13471 2009-11-19 Juri Linkov <juri@jurta.org>
13473 * minibuffer.el (completions-format): New defcustom.
13474 (completion--insert-strings): Implement vertical format.
13476 * simple.el (switch-to-completions): Move point to the first
13477 completion when point was at the beginning of the buffer.
13479 2009-11-19 Juri Linkov <juri@jurta.org>
13481 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13483 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13485 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13487 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13488 (mail-signature): Change default to t.
13489 (mail-from-style): Deprecate `system-default' value.
13490 (mail-insert-from-field): For default value of mail-from-style,
13491 default to `angles' unless `angles' needs quoting and `parens'
13493 (mail-citation-prefix-regexp): Use citation regexp from
13496 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13498 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13499 Set variables for computing the prompt for reading password.
13501 2009-11-19 Glenn Morris <rgm@gnu.org>
13503 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13505 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13507 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13508 (newsticker-treeview-listwindow-height): Fix custom type.
13510 2009-11-19 Kenichi Handa <handa@m17n.org>
13512 * descr-text.el (describe-char-padded-string): Compose with TAB
13513 only if there's a font for CH.
13514 (describe-char): Fix the condition for detecting a trivial composition.
13516 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13518 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13519 more accurate version of the regexp. (Bug#3910)
13521 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13523 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13525 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13527 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13528 (font-setting-change-default-font): Fix typo in docstring.
13530 2009-11-18 Alan Mackenzie <acm@muc.de>
13532 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13534 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13536 * font-setting.el (font-use-system-font): Move ...
13538 * cus-start.el (all): ... to here.
13540 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13542 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13543 Don't set `ad-return-value' if `ad-do-it' doesn't.
13545 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13548 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13550 * menu-bar.el: Put "Use system font" in Option-menu.
13551 (menu-bar-options-save): Add font-use-system-font.
13553 * loadup.el: If feature system-font-setting or font-render-setting is
13554 there, load font-setting.
13556 * Makefile.in (ELCFILES): Add font-settings.el.
13557 * font-setting.el: New file.
13559 2009-11-17 Glenn Morris <rgm@gnu.org>
13561 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13563 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13564 Preserve point in the list buffer. (Bug#4939)
13566 (newsticker--treeview-list-update-highlight)
13567 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13569 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13571 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13574 * calc/calc-ext.el (calc-init-extensions): Remove references to
13577 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13579 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13580 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13583 2009-11-16 Kevin Ryde <user42@zip.com.au>
13585 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13586 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13588 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13589 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13590 Ignore trailing spaces by omit-nulls to split-string (fixing
13591 regression from Emacs 21 due to the incompatible split-string
13592 change). (Bug #4928.)
13594 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13596 * vc.el (vc-log-show-limit): Default to 2000.
13597 (vc-print-log-internal): Insert buttons to request more entries
13598 when limiting the output.
13600 * vc-sccs.el (vc-sccs-print-log):
13601 * vc-rcs.el (vc-rcs-print-log):
13602 * vc-cvs.el (vc-cvs-print-log):
13603 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13606 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13608 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13609 error when `tramp-gvfs-dbus-event-vector' is set.
13610 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13612 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13614 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13616 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13618 * net/dbus.el (dbus-unregister-service): New defun.
13619 (dbus-register-property): Register the handlers of
13620 "org.freedesktop.DBus.Properties" for SERVICE.
13621 (dbus-property-handler): Fix docstring.
13623 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13625 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13626 Quote doc string reference in defvaralias as it is not in special form.
13627 (byte-compile-output-docform): Doc fix.
13629 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13631 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13632 (calc-complement-signed-mode): New variables.
13633 (calc-set-mode-line): Add indicator for twos-complements.
13634 (math-format-number): Format twos-complement notation.
13636 * calc/calc-bin.el (calc-word-size): Reset the variables
13637 `math-2-word-size' and `math-half-2-word-size'.
13638 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13639 (calc-symclip): New functions.
13641 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13643 * calc/calc-embed.el (calc-embedded-mode-vars):
13644 Add `calc-complement-signed-mode' to the list of modes.
13646 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13647 (calc-b-oper-keys): Add `calc-symclip' to list.
13649 * calc/calc-ext.el (math-read-number-fancy): Read complement
13651 (calc-init-extensions): Add binding for `calc-symclip'.
13652 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13654 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13656 (calc-modes-menu): Add item for twos complement mode.
13658 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13660 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13662 * register.el (jump-to-register, insert-register): Handle Semantic
13663 tags. From commented-out advice in semantic/senator.el.
13665 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13667 * vc.el (vc-log-show-limit): New variable.
13668 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13669 when using a prefix argument.
13670 (vc-print-log-internal): Add new argument LIMIT.
13672 * vc-svn.el (vc-svn-print-log):
13673 * vc-mtn.el (vc-mtn-print-log):
13674 * vc-hg.el (vc-hg-print-log):
13675 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13676 pass it to the log command when set. Make the BUFFER argument
13679 * vc-sccs.el (vc-sccs-print-log):
13680 * vc-rcs.el (vc-rcs-print-log):
13681 * vc-git.el (vc-git-print-log):
13682 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13683 ignore it. Make the BUFFER argument non-optional
13685 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13687 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13689 * dired.el (dired-mode-map): Move encryption items to "Operate"
13692 * strokes.el (strokes-update-window-configuration): Make strokes
13693 buffer current before erasing (Bug#4906).
13695 2009-11-15 Juri Linkov <juri@jurta.org>
13697 * simple.el (set-mark-default-inactive): Add :type, :group
13698 and :version. (Bug#4876)
13700 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13702 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13703 (archive-unique-fname): ... here. (Bug#4929)
13705 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13707 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13710 * novice.el (disabled-command-function): Add useful args.
13711 Setup the help buffer so that [back] works.
13712 Remove redundant call to help-mode.
13713 (disabled-command-function): Use `case'.
13714 (en/disable-command): New function extracted from enable-command.
13715 (enable-command, disable-command): Use it.
13717 2009-11-14 Glenn Morris <rgm@gnu.org>
13719 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13720 constants. (Bug#4913)
13722 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13724 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13726 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13727 defined in C that have no doc-strings. (Bug#1063)
13729 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13731 * cus-edit.el (data, files):
13732 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13734 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13736 * simple.el (shell-command): Doc fix (Bug#4891).
13738 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13740 2009-11-14 Glenn Morris <rgm@gnu.org>
13742 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13743 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13744 If they are already loaded, eval-after-load will do the right thing.
13746 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13749 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13751 * simple.el (x-selection-owner-p): Declare.
13752 (read-mail-command): Use custom radio type rather than choice.
13753 (completion-no-auto-exit): Doc fix.
13755 * custom.el (defgroup):
13756 * epg-config.el (epg): Doc fixes.
13758 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13760 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13761 * international/ccl.el (define-ccl-program): Do not purecopy the
13762 docstring, defconst does it anyway.
13764 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13766 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13769 * x-dnd.el (x-dnd-maybe-call-test-function):
13770 * window.el (split-window-vertically):
13771 * whitespace.el (whitespace-help-on):
13772 * vc-rcs.el (vc-rcs-consult-headers):
13773 * userlock.el (ask-user-about-lock-help)
13774 (ask-user-about-supersession-help):
13775 * type-break.el (type-break-force-mode-line-update):
13776 * time-stamp.el (time-stamp-conv-warn):
13777 * terminal.el (te-set-output-log, te-more-break, te-filter)
13778 (te-sentinel, terminal-emulator):
13779 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13780 (term-write-input-ring, term-check-source, term-start-output-log):
13781 (term-display-buffer-line, term-dynamic-list-completions):
13782 (term-ansi-make-term, serial-term):
13783 * subr.el (selective-display):
13784 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13785 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13786 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13787 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13788 (speedbar-remove-localized-speedbar-support)
13789 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13790 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13791 (speedbar-buffers-line-directory):
13792 * simple.el (shell-command-on-region, append-to-buffer)
13793 (prepend-to-buffer):
13794 * shadowfile.el (shadow-save-todo-file):
13795 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13796 (scroll-bar-maybe-set-window-start):
13797 * sb-image.el (speedbar-image-dump):
13798 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13799 (load-save-place-alist-from-file):
13800 * ps-samp.el (ps-print-message-from-summary):
13801 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13802 (ps-background-image, ps-begin-job, ps-do-despool):
13803 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13804 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13805 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13806 (pr-call-process, pr-file-list, pr-interface-save):
13807 * novice.el (disabled-command-function)
13808 (enable-command, disable-command):
13809 * mouse.el (mouse-buffer-menu-alist):
13810 * mouse-copy.el (mouse-kill-preserving-secondary):
13811 * macros.el (kbd-macro-query):
13812 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13813 * informat.el (batch-info-validate):
13814 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13815 * hippie-exp.el (try-expand-dabbrev-visible):
13816 * help-mode.el (help-make-xrefs):
13817 * help-fns.el (describe-variable):
13818 * generic-x.el (bat-generic-mode-run-as-comint):
13819 * finder.el (finder-mouse-select):
13820 * find-dired.el (find-dired-sentinel):
13821 * filesets.el (filesets-file-close):
13822 * files.el (list-directory):
13823 * faces.el (list-faces-display, describe-face):
13824 * facemenu.el (list-colors-display):
13825 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13826 * epg.el (epg--process-filter, epg-cancel):
13827 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13828 (epa--read-signature-type):
13829 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13830 (emerge-file-names):
13831 * ehelp.el (electric-helpify):
13832 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13833 * ediff-vers.el (rcs-ediff-view-revision):
13834 * ediff-util.el (ediff-setup):
13835 * ediff-mult.el (ediff-append-custom-diff):
13836 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13838 * echistory.el (Electric-command-history-redo-expression):
13839 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13840 * disp-table.el (describe-display-table):
13841 * dired.el (dired-find-buffer-nocreate):
13842 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13843 * dabbrev.el (dabbrev--same-major-mode-p):
13844 * chistory.el (list-command-history):
13845 * apropos.el (apropos-documentation):
13846 * allout.el (allout-obtain-passphrase):
13847 (allout-copy-exposed-to-buffer):
13848 (allout-verify-passphrase): Use with-current-buffer.
13850 2009-11-13 Glenn Morris <rgm@gnu.org>
13852 * Makefile.in (ELCFILES): Regenerate.
13854 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13856 * net/dbus.el (dbus-registered-objects-table): Rename from
13857 `dbus-registered-functions-table', because it contains also properties.
13858 (dbus-unregister-object): Unregister also properties.
13859 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13860 Use a timeout of 500 msec, in order to not block.
13861 (dbus-register-property, dbus-property-handler): New defuns.
13863 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13865 * simple.el (minibuffer-default-add-completions): Drop deprecated
13868 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13870 * textmodes/artist.el (artist-mouse-choose-operation):
13871 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13872 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13873 (artist-compute-up-event-key): New function.
13874 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13876 2009-11-13 Kenichi Handa <handa@m17n.org>
13878 * language/japan-util.el: Make sure that the value of jisx0208
13879 property is jisx0208 character.
13881 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13883 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13884 car or each item, not the whole list.
13886 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * minibuffer.el (minibuffer-completion-help):
13889 Use minibuffer-hide-completions.
13891 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13893 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13894 (dired-revert): Use them (bug#4880).
13896 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13898 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13900 2009-11-12 Juri Linkov <juri@jurta.org>
13902 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13904 (find-file-literally-at-point): Alias of `ffap-literally'.
13906 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13908 * textmodes/ispell.el (ispell-skip-region-alist):
13909 * textmodes/css-mode.el (auto-mode-alist):
13910 * progmodes/compile.el (auto-mode-alist):
13911 * international/mule.el (ctext-non-standard-encodings-alist)
13912 (ctext-non-standard-encodings-regexp):
13913 * simple.el (shell-command-switch, text-read-only):
13914 * replace.el (occur-mode-map):
13915 * paths.el (rmail-file-name):
13916 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13917 * find-file.el (ff-special-constructs):
13918 * files.el (file-name-handler-alist):
13919 * composite.el: Purecopy strings.
13921 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13923 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13925 * widget.el (define-widget): Purecopy the docstring.
13926 * international/mule-cmds.el (charset): Do not purecopy the
13927 docstring here, define-widget does it.
13929 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13930 * textmodes/bibtex-style.el (auto-mode-alist):
13931 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13932 * progmodes/compile.el (compile-command):
13933 * language/korea-util.el (default-korean-keyboard):
13934 * international/mule-conf.el (file-coding-system-alist):
13935 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13936 * tooltip.el (tooltip-frame-parameters):
13937 * newcomment.el (comment-end, comment-padding):
13938 * dired.el (dired-trivial-filenames):
13939 * comint.el (comint-file-name-prefix): Purecopy initial values.
13941 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13943 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13944 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13946 (tramp-advice-make-auto-save-file-name)
13947 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13948 after removing the advice.
13950 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13952 * progmodes/grep.el (grep-regexp-alist):
13953 * international/mule-cmds.el (iso-2022-control-alist):
13954 * emacs-lisp/timer.el (timer-duration-words):
13955 * subr.el (version-separator, version-regexp-alist):
13956 * minibuffer.el (completion-styles-alist):
13957 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13958 Change defvars to defconsts.
13960 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13961 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13962 * international/mule-conf.el: Allow to be byte compiled.
13964 * international/mule.el (define-charset): Purecopy props.
13965 (load-with-code-conversion): Purecopy doc string and file name.
13966 (put-charset-property): Purecopy strings.
13967 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13969 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13970 (define-char-code-property): Correctly purecopy the table.
13972 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13974 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13976 * subr.el (add-hook): Purecopy strings.
13977 (eval-after-load): Purecopy load-history-regexp and the form.
13979 * custom.el (custom-declare-group): Purecopy load-file-name.
13981 * subr.el (menu-bar-separator): New defconst.
13982 * net/eudc.el (eudc-tools-menu):
13983 * international/mule-cmds.el (set-coding-system-map)
13984 (mule-menu-keymap):
13985 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13986 * vc-hooks.el (vc-menu-map):
13987 * replace.el (occur-mode-map):
13988 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13989 (menu-bar-edit-menu, menu-bar-goto-menu)
13990 (menu-bar-custom-menu, menu-bar-showhide-menu)
13991 (menu-bar-options-menu, menu-bar-tools-menu)
13992 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13993 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13994 (menu-bar-help-menu):
13995 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13996 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13998 * term/x-win.el (x-gtk-stock-map):
13999 * progmodes/vera-mode.el (auto-mode-alist):
14000 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14001 (inferior-lisp-program, inferior-lisp-load-command):
14002 * progmodes/hideshow.el (hs-special-modes-alist):
14003 * progmodes/gud.el (same-window-regexps):
14004 * progmodes/grep.el (grep-program, find-program, xargs-program):
14005 * net/telnet.el (same-window-regexps):
14006 * net/rlogin.el (same-window-regexps):
14007 * language/ethiopic.el (font-ccl-encoder-alist):
14008 * vc-sccs.el (vc-sccs-master-templates):
14009 * vc-rcs.el (vc-rcs-master-templates):
14010 * subr.el (cl-assertion-failed):
14011 * simple.el (next-error-overlay-arrow-position):
14012 * lpr.el (lpr-command):
14013 * locate.el (locate-ls-subdir-switches):
14014 * info.el (same-window-regexps, info)
14015 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14016 * image-mode.el (image-mode, auto-mode-alist):
14017 * hippie-exp.el (hippie-expand-ignore-buffers):
14018 * format.el (format-alist):
14019 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14021 * facemenu.el (facemenu-keybindings):
14022 * dired.el (dired-listing-switches, dired-chown-program):
14023 * diff.el (diff-switches, diff-command):
14024 * cus-edit.el (same-window-regexps):
14025 * bindings.el (mode-line-mule-info)
14026 (mode-line-buffer-identification): Purecopy strings.
14028 2009-11-11 Juri Linkov <juri@jurta.org>
14030 * simple.el (dired-get-filename) <declare-function>:
14031 Tell the byte-compiler about dired-get-filename.
14032 (shell-command): In Dired mode, get filename from the current line
14033 as the default value.
14035 2009-11-10 Glenn Morris <rgm@gnu.org>
14037 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14038 * calendar/holidays.el, progmodes/cperl-mode.el:
14039 Update x-popup-menu declarations.
14041 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14042 (list-load-path-shadows): Use dolist.
14043 (list-load-path-shadows): Use with-current-buffer.
14045 2009-11-10 Juri Linkov <juri@jurta.org>
14047 * minibuffer.el (read-file-name): Support a list of default values
14048 in `default-filename'. Use the first file name where only one
14049 element is required. Doc fix.
14051 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14053 * net/dbus.el (dbus-unregister-object): Release service, if no
14054 other method is registered for it.
14056 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14058 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14059 bookmark-sort-flag is non-nil (Bug#4653).
14061 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14063 * emulation/cua-base.el: Add CUA property to some CC mode commands
14066 2009-11-08 Kevin Ryde <user42@zip.com.au>
14068 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14069 at end of sentence (Bug#4818).
14071 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14074 Handle "see declaration of" MSFT statements (Bug#4100).
14076 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14078 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14079 (tramp-advice-file-expand-wildcards): Unload via
14080 `ad-remove-advice'.
14082 * net/trampver.el: Update release number.
14084 2009-11-08 Kevin Ryde <user42@zip.com.au>
14086 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14089 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14091 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14092 in order to keep context in SELinux.
14094 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14096 * dired-aux.el (dired-query): Place cursor in echo area and allow
14099 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14100 menu item if not on a directory (Bug#4701).
14102 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14104 Sync with Tramp 2.1.17.
14106 * net/tramp.el (tramp-handle-copy-directory): Don't use
14107 `file-remote-p' (due to compatibility).
14109 * net/tramp-compat.el (tramp-compat-copy-directory)
14110 (tramp-compat-delete-directory): New defuns.
14112 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14113 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14114 Use `tramp-compat-delete-directory'.
14116 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14117 (tramp-smb-handle-delete-directory):
14118 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14120 * net/trampver.el: Update release number.
14122 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14124 * tar-mode.el (tar-copy): Call write-region on the right buffer
14127 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14128 by hand, if necessary (Bug#4878).
14130 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14132 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14133 align size column (Bug#4839).
14135 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14138 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14140 * progmodes/ld-script.el (auto-mode-alist):
14141 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14143 * cus-face.el (custom-declare-face): Purecopy face spec.
14145 2009-11-06 Kenichi Handa <handa@m17n.org>
14147 * international/uni-bidi.el: Re-generated.
14148 * international/uni-category.el: Re-generated.
14149 * international/uni-combining.el: Re-generated.
14150 * international/uni-mirrored.el: Re-generated.
14152 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14154 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14155 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14156 (tex-start-options, slitex-run-command, latex-run-command)
14157 (tex-run-command, tex-directory):
14158 * textmodes/ispell.el (ispell-html-skip-alists)
14159 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14160 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14161 (adaptive-fill-regexp):
14162 * textmodes/dns-mode.el (auto-mode-alist):
14163 * progmodes/python.el (interpreter-mode-alist):
14164 * progmodes/etags.el (tags-compression-info-list):
14165 * progmodes/etags.el (tags-file-name):
14166 * net/browse-url.el (browse-url-galeon-program)
14167 (browse-url-firefox-program):
14168 * mail/sendmail.el (mail-signature-file)
14169 (mail-citation-prefix-regexp):
14170 * international/mule-conf.el (eight-bit):
14171 * international/latexenc.el (latex-inputenc-coding-alist):
14172 * international/fontset.el (x-pixel-size-width-font-regexp):
14173 * emacs-lisp/warnings.el (warning-type-format):
14174 * emacs-lisp/trace.el (trace-buffer):
14175 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14176 (emacs-lisp-mode-map):
14177 * calendar/holidays.el (holiday-solar-holidays)
14178 (holiday-bahai-holidays, holiday-islamic-holidays)
14179 (holiday-christian-holidays, holiday-hebrew-holidays)
14180 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14181 (hebrew-holidays-1, holiday-oriental-holidays)
14182 (holiday-general-holidays):
14183 * x-dnd.el (x-dnd-known-types):
14184 * tool-bar.el (tool-bar):
14185 * startup.el (site-run-file):
14186 * shell.el (shell-dumb-shell-regexp):
14187 * rfn-eshadow.el (file-name-shadow-tty-properties)
14188 (file-name-shadow-properties):
14189 * paths.el (remote-shell-program, news-directory):
14190 * mouse.el ([C-down-mouse-3]):
14191 * menu-bar.el (menu-bar-tools-menu):
14192 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14193 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14194 (jka-compr-compression-info-list):
14195 * isearch.el (search-whitespace-regexp):
14196 * image-file.el (image-file-name-extensions):
14197 * find-dired.el (find-ls-option):
14198 * files.el (directory-listing-before-filename-regexp)
14199 (directory-free-space-args, insert-directory-program)
14200 (list-directory-brief-switches, magic-fallback-mode-alist)
14201 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14202 (automount-dir-prefix):
14203 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14204 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14205 (face-font-registry-alternatives, face-font-registry-alternatives)
14206 (face-font-family-alternatives):
14207 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14208 (facemenu-foreground-menu, facemenu-face-menu):
14209 * epa-hook.el (epa-file-name-regexp):
14210 * dnd.el (dnd-protocol-alist):
14211 * textmodes/rst.el (auto-mode-alist):
14212 * button.el (default-button): Purecopy strings.
14214 2009-11-06 Glenn Morris <rgm@gnu.org>
14216 * Makefile.in (ELCFILES): Update.
14218 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14221 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14223 * nxml/xsd-regexp.el (xsdre-gen-categories):
14224 * nxml/xmltok.el (xmltok-parse-entity):
14225 * nxml/rng-parse.el (rng-parse-validate-file):
14226 * nxml/rng-maint.el (rng-format-manual)
14227 (rng-manual-output-force-new-line):
14228 * nxml/rng-loc.el (rng-save-schema-location-1):
14229 * nxml/rng-cmpct.el (rng-c-parse-file):
14230 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14231 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14233 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14235 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14236 Remove extra save-excursions and make-variable-buffer-local's.
14237 Suggested by Stefan Monnier.
14239 (verilog-getopt-file, verilog-module-inside-filename-p)
14240 (verilog-set-define): Merge GNU 1.35 and repair changes from
14241 switching to using with-current-buffer.
14243 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14244 being treated as a number and confusing AUTORESET.
14245 Reported by Dan Dever.
14247 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14248 Add verilog-auto-ignore-concat to fix backward compatibility with
14249 older verilog-modes. Reported by Dan Katz.
14251 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14252 containing closing anchors "...$".
14254 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14255 Reported by Wade Smith.
14257 (verilog-batch-execute-func): Comment on function usage.
14259 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14261 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14264 (verilog-label-re, verilog-calc-1): Support proper indent of named
14267 (verilog-backward-token, verilog-basic-complete-re)
14268 (verilog-beg-of-statement, verilog-indent-re): Support proper
14269 indent of the assert statement at the beginning of a block of text.
14271 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14272 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14275 2009-11-05 Glenn Morris <rgm@gnu.org>
14277 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14278 Emacs 19. (Bug#1531)
14279 (byte-compile-fix-header): Update for the above change.
14280 Drop test for epoch::version.
14282 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14283 * cus-dep.el (custom-make-dependencies):
14284 * finder.el (finder-compile-keywords):
14285 Use autoload-rubric's feature argument.
14287 * calendar/diary-lib.el (top-level): Make load behave more like require.
14289 * vc-git.el (vc-git-stash-map): Move definition before use.
14291 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14293 * custom.el (custom-declare-group): Purecopy standard-value.
14294 (custom-declare-group): Purecopy custom-prefix.
14296 * international/mule.el (load-with-code-conversion):
14297 Call do-after-load-evaluation unconditionally.
14299 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14301 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14303 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14305 2009-11-04 Glenn Morris <rgm@gnu.org>
14307 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14308 (byte-compile-compatibility): Remove option.
14309 (byte-compile-close-variables, byte-compile-fix-header)
14310 (byte-compile-insert-header, byte-compile-output-docform)
14311 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14312 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14313 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14314 (byte-compile-insert, byte-compile-defun):
14315 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14316 (byte-defop-compiler19): Remove.
14317 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14318 used by anything. Replace all calls with byte-defop-compiler.
14320 2009-11-04 Juri Linkov <juri@jurta.org>
14322 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14323 (menu-bar-options-menu): Don't quote the `prop' arg of
14324 `menu-bar-make-mm-toggle'.
14326 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14328 * calendar/calendar.el (cal-loaddefs):
14329 * calendar/diary-lib.el (diary-loaddefs):
14330 * calendar/holidays.el (hol-loaddefs):
14331 * eshell/esh-module.el (esh-groups): Load rather than require.
14333 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14335 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14337 (todo-top-priorities): Only display-buffer when called interactively.
14338 (todo-item-start): Don't save excursion point.
14339 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14340 (todo-insert-item-here, todo-file-item, todo-remove-item):
14341 Adjust uses of todo-item-start and todo-item-end.
14343 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14344 (autoload-rubric): Don't use any more.
14346 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14347 and only put a prop if it is non-nil.
14349 2009-11-03 Juri Linkov <juri@jurta.org>
14351 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14352 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14354 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14355 and "Menu" to make top-level menu item visually one unit (like
14356 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14357 multi-word menu items). Fix :help string for quit-window.
14359 2009-11-03 Glenn Morris <rgm@gnu.org>
14361 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14362 (byte-compile-file-form-define-abbrev-table)
14363 (byte-compile-file-form-custom-declare-variable)
14364 (byte-compile-variable-ref, byte-compile-defvar):
14365 Whether or not a warning is enabled should only affect whether we issue
14366 the warning, not whether or not we collect the relevant data.
14367 Eg warnings can be turned on and off throughout the course of a file.
14369 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14370 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14372 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14374 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14375 * play/mpuz.el (mpuz-create-buffer):
14376 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14377 (lm-print-y,s,noise, lm-print-w0, lm-init):
14378 * play/gomoku.el (gomoku-prompt-for-move):
14379 * play/fortune.el (fortune-in-buffer):
14380 * play/dissociate.el (dissociated-press):
14381 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14382 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14383 * mail/supercite.el (sc-eref-show):
14384 * mail/smtpmail.el (smtpmail-send-it):
14385 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14386 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14387 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14388 (rmail-summary-goto-msg, rmail-summary-expunge)
14389 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14390 (rmail-summary-add-label, rmail-summary-output-menu)
14391 (rmail-summary-output-body):
14392 * mail/rfc822.el (rfc822-addresses):
14393 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14394 * mail/mailpost.el (post-mail-send-it):
14395 * mail/hashcash.el (hashcash-generate-payment):
14396 * mail/feedmail.el (feedmail-run-the-queue)
14397 (feedmail-queue-send-edit-prompt-help-first)
14398 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14399 (feedmail-deduce-address-list):
14400 * eshell/esh-ext.el (eshell-remote-command):
14401 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14402 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14403 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14404 (viper-save-string-in-file, viper-valid-marker):
14405 * emulation/viper-keym.el (viper-toggle-key):
14406 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14407 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14408 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14409 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14410 (viper-exec-form-in-emacs, viper-brac-function):
14411 * emulation/viper.el (viper-delocalize-var):
14412 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14413 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14414 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14415 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14416 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14417 * emulation/edt.el (edt-electric-helpify):
14418 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14419 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14420 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14421 (cua-indent-to-global-mark-column):
14422 * calendar/diary-lib.el (calendar-mark-1):
14423 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14424 Use with-current-buffer.
14425 * emulation/viper.el (viper-delocalize-var): Use dolist.
14427 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14429 * comint.el (comint-replace-by-expanded-history-before-point):
14430 Replace !! with the previous input string literally (Bug#1795).
14432 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14434 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14435 to be made up of whitespace.
14437 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14439 * minibuffer.el (read-file-name): Don't use file dialogs for
14440 remote directories (Bug#99).
14442 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14444 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14446 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14448 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14449 instead of deleting the window or frame.
14451 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14453 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14454 Support face colors.
14456 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14457 New function. Support face colors (Bug#1168).
14458 (tex-common-initialization): Use it.
14460 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14461 mode allows it (Bug#1168).
14463 2009-10-31 Juri Linkov <juri@jurta.org>
14465 * facemenu.el (list-colors-display): Don't mark buffer as
14466 modified (Bug#3948).
14468 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14470 * international/mule-diag.el (list-character-sets-1):
14471 Minor message fix (Bug#3526).
14473 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14474 Fix face property (Bug#4834).
14475 (etags-list-tags, etags-tags-apropos-additional)
14476 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14479 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14482 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14484 * textmodes/two-column.el (2C-split):
14485 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14486 * textmodes/tex-mode.el (tex-set-buffer-directory):
14487 * textmodes/spell.el (spell-region, spell-string):
14488 * textmodes/reftex.el (reftex-erase-buffer):
14489 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14490 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14491 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14492 (reftex-select-item):
14493 * textmodes/reftex-ref.el (reftex-label-info-update)
14494 (reftex-offer-label-menu):
14495 * textmodes/reftex-index.el (reftex-index-change-entry)
14496 (reftex-index-phrases-info):
14497 * textmodes/reftex-global.el (reftex-create-tags-file)
14498 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14499 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14500 (reftex-view-crossref-from-bibtex):
14501 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14502 (reftex-extract-bib-entries-from-thebibliography)
14503 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14504 * textmodes/refbib.el (r2b-capitalize-title):
14505 (r2b-convert-buffer, r2b-help):
14506 * textmodes/page-ext.el (pages-directory)
14507 (pages-directory-goto-with-mouse):
14508 * textmodes/bibtex.el (bibtex-validate-globally):
14509 * textmodes/bib-mode.el (bib-capitalize-title):
14510 * textmodes/artist.el (artist-clear-buffer, artist-system):
14511 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14512 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14513 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14514 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14515 (xscheme-send-control-g-interrupt, xscheme-start-process)
14516 (xscheme-process-sentinel, xscheme-cd):
14517 * progmodes/verilog-mode.el (verilog-read-always-signals)
14518 (verilog-set-define, verilog-getopt-file)
14519 (verilog-module-inside-filename-p):
14520 * progmodes/sh-script.el:
14521 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14522 (python-pdbtrack-grub-for-buffer, python-execute-file):
14523 * progmodes/octave-inf.el (inferior-octave):
14524 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14525 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14526 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14527 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14528 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14529 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14530 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14531 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14532 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14533 (idlwave-shell-examine-display, idlwave-shell-run-region)
14534 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14535 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14536 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14537 (idlwave-help-get-help-buffer):
14538 * progmodes/gud.el (gud-basic-call, gud-find-class)
14539 (gud-tooltip-activate-mouse-motions-if-enabled):
14540 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14541 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14542 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14543 (ebrowse-tags-next-file):
14544 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14545 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14546 (ebnf-eps-finish-and-write):
14547 * progmodes/cpp.el (cpp-edit-save):
14548 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14549 * progmodes/cc-defs.el (c-emacs-features):
14550 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14551 (antlr-directory-dependencies):
14552 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14553 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14554 (ada-find-any-references, ada-make-filename-from-adaname)
14555 (ada-make-body-gnatstub):
14556 * obsolete/rnews.el (news-list-news-groups):
14557 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14558 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14559 * net/rcirc.el (rcirc-debug):
14560 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14561 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14562 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14563 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14564 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14565 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14566 (newsticker--treeview-list-clear-highlight)
14567 (newsticker--treeview-list-update-highlight)
14568 (newsticker--treeview-list-highlight-start)
14569 (newsticker--treeview-tree-update-highlight)
14570 (newsticker--treeview-get-selected-item)
14571 (newsticker-treeview-mark-list-items-old)
14572 (newsticker--treeview-set-current-node):
14573 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14574 * net/newst-backend.el (newsticker--get-news-by-funcall)
14575 (newsticker--get-news-by-wget, newsticker--image-get)
14576 (newsticker--image-sentinel):
14577 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14578 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14579 (eudc-ph-close-session):
14580 * net/eudc.el (eudc-save-options):
14581 * language/thai-word.el (thai-update-word-table):
14582 * language/japan-util.el (japanese-string-conversion):
14583 * international/titdic-cnv.el (tsang-quick-converter)
14584 (ziranma-converter, ctlau-converter):
14585 * international/mule-cmds.el (describe-language-environment):
14586 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14587 (skkdic-convert-postfix, skkdic-convert-prefix):
14588 (skkdic-convert-okuri-nasi, skkdic-convert):
14589 * emacs-lisp/re-builder.el (reb-update-overlays):
14590 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14591 * emacs-lisp/gulp.el (gulp-send-requests):
14592 * emacs-lisp/find-gc.el (trace-call-tree):
14593 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14594 (eieio-describe-generic):
14595 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14596 * emacs-lisp/edebug.el (edebug-outside-excursion):
14597 * emacs-lisp/debug.el (debugger-make-xrefs):
14598 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14599 * emacs-lisp/chart.el (chart-new-buffer):
14600 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14601 Use with-current-buffer.
14602 * textmodes/artist.el (artist-system): Don't call
14603 copy-sequence on a fresh string.
14604 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14606 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14608 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14609 is no item to edit. (Bug#4820)
14610 (todo-top-priorities): Restore point and restore narrowing in Todo
14613 2009-10-31 Glenn Morris <rgm@gnu.org>
14615 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14616 (comint-last-output-start, comint-last-input-start)
14617 (comint-last-input-end): Don't defvar when compiling.
14618 (ange-ftp-process-file): Use bound-and-true-p.
14620 * pcmpl-rpm.el (top-level): Move provide statement to end.
14621 (pcmpl-rpm): Remove unused custom group.
14623 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14625 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14627 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14628 (byte-compile-warnings): Add `constants' as an option.
14629 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14630 (display-call-tree): Update for byte-compile-fdefinition possibly
14631 returning `(macro lambda ...)'. (Bug#4778)
14632 (byte-compile-variable-ref, byte-compile-setq-default):
14633 Respect `constants' member of byte-compile-warnings.
14635 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14637 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14638 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14641 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14643 * textmodes/ispell.el (ispell-skip-region-alist):
14644 * international/mule-conf.el (eight-bit):
14645 * international/fontset.el (font-encoding-alist):
14646 * startup.el (pure-space-overflow-message):
14647 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14648 * paths.el (gnus-nntp-service, rmail-spool-directory)
14649 (term-file-prefix):
14650 * files.el (save-some-buffers-action-alist):
14651 * cmuscheme.el (same-window-buffer-names):
14652 * ielm.el (same-window-buffer-names):
14653 * shell.el (same-window-buffer-names):
14654 * mail/sendmail.el (same-window-buffer-names):
14655 * progmodes/inf-lisp.el (same-window-buffer-names):
14656 * bindings.el (mode-line-client)
14657 (mode-line-column-line-number-mode-map):
14658 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14659 (tibetan-precomposed-regexp): Purecopy string arguments.
14661 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14663 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14664 (calcDigit-nondigit):
14665 * calc/calc-yank.el (calc-copy-to-buffer):
14666 * calc/calc-units.el (calc-invalidate-units-table):
14667 * calc/calc-trail.el (calc-trail-yank):
14668 * calc/calc-store.el (calc-insert-variables):
14669 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14670 * calc/calc-prog.el (calc-read-parse-table):
14671 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14672 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14673 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14674 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14675 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14676 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14677 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14678 * calc/calc-ext.el (calc-realign):
14679 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14680 (calc-embedded-finish-edit, calc-embedded-make-info)
14681 (calc-embedded-finish-command, calc-embedded-stack-change):
14682 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14684 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14685 shell-dynamic-complete-filename in preference to
14686 comint-dynamic-complete-filename.
14688 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14689 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14690 Don't consider whether the display supports colors.
14691 (bookmark-import-new-list): Use dolist.
14692 (bookmark-bmenu-mode-map): Move initialization into declaration.
14693 (bookmark-bmenu-list): Use dolist, simplify.
14694 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14695 (menu-bar-final-items): Use push.
14697 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14699 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14700 it works on remote files.
14701 (vc-hg-diff): Don't pass any `--cwd' argument.
14703 2009-10-27 Kevin Ryde <user42@zip.com.au>
14705 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14706 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14707 (Further to Bug#3921).
14709 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14711 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14712 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14713 calling `tramp-imap-put-file'. Add file size to the call.
14714 (tramp-imap-get-file-entries): Compute also user name, file size,
14716 (tramp-imap-handle-insert-directory): Insert uid and gid.
14717 (tramp-imap-handle-file-attributes): Transform uid and gid
14718 according to `id-format'.
14719 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14720 size in header X-Size.
14722 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14724 * simple.el (transpose-subr): Give clearer error when the mark
14725 is not set. (Bug#4807)
14727 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14729 * net/tramp.el (tramp-perl-file-truename): New defconst.
14730 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14731 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14732 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14733 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14735 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14736 Ignore `dired-call-process'.
14737 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14739 2009-10-26 Julian Scheid <julians37@gmail.com>
14741 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14742 (tramp-get-remote-readlink): New defun.
14743 (tramp-handle-file-truename): Use it.
14744 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14745 file exists if cache value present.
14746 (tramp-check-cached-permissions): New defun.
14747 (tramp-handle-file-readable-p): Use it.
14748 (tramp-handle-file-writable-p): Likewise.
14749 (tramp-handle-file-executable-p): Likewise.
14750 (tramp-handle-file-name-all-completions): Try using Perl to get
14751 partial completions. When perl not available, combine `cd' and
14752 `ls' into single remote operation and use shell expansion to get
14753 partial remote directory contents. Set `file-exists-p' cache for
14754 directory and any files returned by ls. Change cache handling to
14755 support partial directory contents. Use error message emitted by
14756 remote `cd' or Perl code for local tramp-error.
14757 (tramp-do-copy-or-rename-file-directly): Avoid separate
14758 tramp-send-command-and-check call.
14759 (tramp-handle-process-file): Merge three remote ops into one.
14760 Do not flush all caches when `process-file-side-effects' is set.
14761 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14762 file-attributes shows uid/gid to be set already.
14764 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14766 * textmodes/tex-mode.el (tex-dvi-view-command)
14767 (tex-show-queue-command, tex-open-quote):
14768 * progmodes/ruby-mode.el (auto-mode-alist)
14769 (interpreter-mode-alist): Purecopy strings.
14771 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14773 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14774 string for the hook, keymap and abbrev table.
14776 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14778 * x-dnd.el (x-dnd-xdnd-to-action):
14779 * startup.el (fancy-startup-text, fancy-about-text): Change to
14780 defconst from defvar.
14782 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14784 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14785 Purecopy initialization strings.
14787 * mail/sendmail.el (mail-header-separator)
14788 (mail-personal-alias-file):
14789 * mail/rmail.el (rmail-default-dont-reply-to-names)
14790 (rmail-ignored-headers, rmail-retry-ignored-headers)
14791 (rmail-highlighted-headers, rmail-secondary-file-directory)
14792 (rmail-secondary-file-regexp):
14793 * files.el (null-device, file-name-invalid-regexp)
14794 (locate-dominating-stop-dir-regexp)
14795 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14796 (interpreter-mode-alist): Use mapcar instead of mapc.
14798 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14800 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14801 (completion-ignored-extensions):
14802 (debug-ignored-errors): Purecopy strings.
14804 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14806 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14807 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14808 (pcomplete--here): Use push.
14810 * subr.el (all-completions): Declare the 4th arg obsolete.
14812 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14814 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14815 (pcomplete-unquote-argument): New function.
14816 (pcomplete--common-suffix): Always pay attention to case.
14817 (pcomplete--table-subvert): Quote and unquote the text.
14818 (pcomplete--common-quoted-suffix): New function.
14819 (pcomplete-std-complete): Use it and pcomplete-begin.
14821 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14822 we're inside a dedicated or minibuffer window.
14824 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14826 * bookmark.el: Update documentation, especially documentation
14827 of `bookmark-alist' and of the bookmark file format.
14828 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14830 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14832 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14833 keybindings apply to the mail buffer (Bug#4003). Shrink help
14836 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14837 (global-whitespace-mode, global-whitespace-newline-mode)
14838 (whitespace-toggle-options, global-whitespace-toggle-options):
14839 Doc fix (Bug#3660).
14841 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14842 of xmltok-start before the end tag was inserted (Bug#2840).
14844 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14845 patterns that are preceded by an open-paren (Bug#1320).
14847 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14849 * files.el (delete-directory): Delete symlinks to directories with
14850 delete-file (Bug#4739).
14852 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14854 * vc.el (vc-backend-for-registration): Rename from
14855 vc-get-backend-for-registration. Update callers.
14857 * international/mule-cmds.el (set-language-info-alist):
14859 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14860 (charset): Purecopy the name.
14861 (define-char-code-property): Purecopy string arguments.
14863 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14864 Purecopy string arguments.
14866 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14867 * ediff-hook.el (menu-bar-ediff-menu):
14868 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14869 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14871 2009-10-24 Glenn Morris <rgm@gnu.org>
14873 * comint.el (comint-dynamic-list-completions):
14874 * term.el (term-dynamic-list-completions): Use choose-completion rather
14875 than obsolete alias mouse-choose-completion.
14877 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14878 file-cache-choose-completion.
14879 (file-cache-choose-completion): Handle an optional event argument.
14880 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14882 * progmodes/octave-mod.el (octave-complete-symbol):
14883 Use choose-completion if mouse-choose-completion is ever removed.
14885 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14888 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14891 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14893 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14895 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14896 Ignore `pred' now that we receive one.
14897 Handle test-completion specially.
14899 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14901 * vc.el (vc-responsible-backend): Throw an error if not backend is
14902 found. Remove the REGISTER argument. Move the code dealing with
14904 (vc-get-backend-for-registration): ... here. New function.
14905 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14906 of vc-responsible-backend, pass the file name instead of the
14909 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14911 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14913 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14914 (pcomplete-comint-setup): Don't modify a global var via
14915 accidental side-effects.
14916 (pcomplete-shell-setup): Adjust call accordingly.
14917 (pcomplete-parse-comint-arguments): Use push.
14919 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14921 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14922 Allow uncapitalized info node names (Bug#3921).
14924 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14925 to the DEBUG file (Bug#3781).
14927 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14929 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14930 dictionary entry (Bug#4579).
14932 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14934 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14935 from `rfn-eshadow-update-overlay-hook' when unloading.
14936 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14937 "rsyncc". Adjust doc string.
14938 (tramp-temp-buffer-file-name): New buffer-local defvar.
14939 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14940 Keep temporary file when indicated by method ("rsync" and
14942 (tramp-handle-write-region): Handle APPEND.
14943 (tramp-delete-temp-file-function): New defun. Added to
14944 `kill-buffer-hook'.
14946 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14948 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14950 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14952 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14953 (color-name-rgb-alist, tty-standard-colors)
14954 (tty-color-mode-alist): Change to defconst.
14956 * simple.el (mark-inactive): Purecopy message.
14958 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14959 (global-map, yank-menu):
14960 * textmodes/ispell.el (ispell-menu-map):
14961 * net/eudc.el (eudc-tools-menu):
14962 * international/mule-cmds.el (describe-language-environment-map)
14963 (setup-language-environment-map, set-coding-system-map)
14964 (mule-menu-keymap):
14965 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14966 * replace.el (occur-mode-map):
14967 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14969 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14971 * calc/calc.el (math-read-number, math-read-number-simple):
14972 Use `save-match-data'.
14974 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14976 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14977 rather than fiddling with global-map bindings, since it should only
14978 affect per-terminal settings.
14979 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14981 * minibuffer.el (completion-table-with-terminator): Allow to specify
14982 the terminator-regexp.
14984 * simple.el (switch-to-completions): Look for *Completions* in other
14987 * pcomplete.el: Allow the use of completion-tables.
14988 (pcomplete-std-complete): New command.
14989 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14990 (pcomplete--here): Use a function for `form' rather than an expression,
14991 so it can be byte-compiled.
14992 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14993 Add edebug declaration.
14994 (pcomplete-show-completions): Remove unused var `curbuf'.
14995 (pcomplete-do-complete, pcomplete-stub):
14996 Don't assume `completions' is a list of strings any more.
14998 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15000 * find-dired.el (find-name-arg): Fix typo in docstring.
15002 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15004 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15005 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15007 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15010 * comint.el (comint-read-input-ring, comint-write-input-ring)
15011 (comint-substitute-in-file-name)
15012 (comint-dynamic-complete-as-filename)
15013 (comint-dynamic-simple-complete)
15014 (comint-dynamic-list-filename-completions)
15015 (comint-dynamic-list-completions)
15016 (comint-redirect-results-list-from-process): Minor simplifications.
15018 2009-10-21 Kevin Ryde <user42@zip.com.au>
15020 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15021 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15022 the first form. And insert a blank line after ";;; Code" since
15023 that's usual style. (Bug#4612)
15025 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15027 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * minibuffer.el (completion-table-with-terminator): Properly implement
15030 boundaries, in case `terminator' appears in the suffix.
15031 (completion--embedded-envvar-table): Don't return boundaries if
15032 there's no valid completion. Simplify.
15033 (completion-file-name-table): New completion table extracted from
15034 completion--file-name-table.
15035 (completion--file-name-table): Use it.
15036 (read-file-name-predicate): Declare obsolete.
15037 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15038 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15039 completion-file-name-table, and use the `pred' argument.
15040 * files.el (locate-file-completion-table): Use the `pred' arg rather
15041 than read-file-name-predicate.
15042 (abbreviate-file-name): Use \` rather than ^ for BOS.
15044 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15046 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15047 vc-responsible-backend to register, it causes problems.
15049 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15051 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15053 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15055 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15056 (tramp-smb-handle-file-attributes): Use it.
15057 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15058 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15059 `mapcar'. Use `tramp-smb-get-stat-capability'.
15060 Add `dired-filename' text properties.
15061 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15062 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15065 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15067 * subr.el (read-key-delay): Reduce to 0.01.
15068 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15071 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15073 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15075 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15076 (Info-menu): Remove unused vars `last' and `completions'.
15077 (Info-index-nodes): Remove unused var `node'.
15079 * info.el (Info-complete-menu-item): Use complete-with-action.
15081 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15083 Make vc-annotate work through copies and renames.
15084 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15085 Return the file name too.
15086 (vc-annotate-revision-at-line)
15087 (vc-annotate-find-revision-at-line)
15088 (vc-annotate-revision-previous-to-line)
15089 (vc-annotate-show-log-revision-at-line): Update to get the file
15090 name from vc-annotate-extract-revision-at-line.
15091 (vc-annotate-show-diff-revision-at-line-internal): Change the
15092 argument to mean whether to show a file diff or not. Get the file
15093 name from vc-annotate-extract-revision-at-line.
15094 (vc-annotate-show-diff-revision-at-line):
15095 Update vc-annotate-show-diff-revision-at-line call.
15096 (vc-annotate-warp-revision): Add an optional file argument.
15098 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15099 (vc-git-annotate-extract-revision-at-line): Also return the file
15102 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15103 command. Remove unused code.
15104 (vc-hg-annotate-re): Update to match --follow output.
15105 (vc-hg-annotate-extract-revision-at-line): Also return the file
15108 * vc.el: Update annotate-extract-revision-at-line documentation.
15110 2009-10-18 Kevin Ryde <user42@zip.com.au>
15112 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15113 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15115 * net/browse-url.el (browse-url): Identify alist with "consp and
15116 not functionp" and let all other things go down the `apply' leg,
15117 as suggested by Stefan. (Further to bug#4531.)
15119 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15121 * minibuffer.el (read-file-name): Check for repeat before putting
15122 a default argument in file-name-history (Bug#4657).
15124 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15125 read syntax (Bug#4737).
15127 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15129 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15131 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15132 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15133 entries and make note of obsolete tags.
15135 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15139 2009-10-18 Glenn Morris <rgm@gnu.org>
15141 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15142 grep, so that binary files (eg international/uni-bidi.el) can match.
15143 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15144 now, and in any case the file header format has changed.
15146 2009-10-17 Glenn Morris <rgm@gnu.org>
15148 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15149 (flyspell-get-word, flyspell-large-region)
15150 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15152 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15154 * Makefile.in (ELCFILES): Add ede/shell.
15156 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15158 * term/common-win.el (x-colors): Purecopy it.
15160 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15162 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15163 permissive for when the buffer is empty.
15164 (tar-header-block-tokenize): Decode the username and groupname.
15165 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15167 2009-10-17 Eric Ludlam <zappo@gnu.org>
15169 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15170 contains multibyte characters, choose first applicable coding
15171 system automatically.
15173 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * international/mule-cmds.el (select-safe-coding-system): If the file
15176 has a coding cookie, use it regardless of any other setting (bug#4712).
15178 2009-10-17 Glenn Morris <rgm@gnu.org>
15180 * foldout.el (foldout-mouse-swallow-events):
15181 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15183 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15184 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15185 (dired-keep-marker-symlink, dired-dwim-target)
15186 (dired-copy-preserve-time): Do not autoload these defcustoms.
15188 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15189 messages from messing up the file coding. (Bug#4623)
15191 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15193 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15194 if no match is found for the current dictionary. (Bug#4578)
15196 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15197 optional, since that is how it is documented, and this is often called
15198 with a nil argument. (Bug#4577)
15199 (flyspell-external-point-words, flyspell-auto-correct-word)
15200 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15201 (flyspell-word-search-backward): Remove nil argument in calls to
15202 flyspell-get-word, since it is not needed now.
15204 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15206 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15208 2009-10-16 Glenn Morris <rgm@gnu.org>
15210 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15212 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15214 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15215 (ange-ftp-file-size): New function.
15216 (ange-ftp-file-attributes): Use it.
15218 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15220 * net/tramp-smb.el (tramp-smb-version): New defvar.
15221 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15224 2009-10-16 Glenn Morris <rgm@gnu.org>
15226 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15227 Maybe copy some custom properties from old to new name. (Bug#4706)
15229 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15231 * subr.el (error, sit-for, start-process-shell-command)
15232 (start-file-process-shell-command): Set the calling convention
15233 after the function definition.
15235 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * subr.el (error, sit-for, start-process-shell-command)
15238 (start-file-process-shell-command): Use the new
15239 set-advertised-calling-convention feature.
15241 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15243 * international/ucs-normalize.el (ucs-normalize-version):
15245 (check-range): Adjust for Unicode 5.2.
15247 2009-10-15 Juri Linkov <juri@jurta.org>
15249 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15250 to the `menu-item' format.
15252 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15254 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15255 if the environment variable does not exist.
15257 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15258 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15260 (tramp-smb-handle-add-name-to-file)
15261 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15262 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15263 (tramp-smb-handle-file-attributes)
15264 (tramp-smb-do-file-attributes-with-stat)
15265 (tramp-smb-handle-file-local-copy)
15266 (tramp-smb-handle-insert-directory)
15267 (tramp-smb-handle-make-directory)
15268 (tramp-smb-handle-make-directory-internal)
15269 (tramp-smb-handle-make-symbolic-link)
15270 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15271 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15272 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15273 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15274 Handle long file names.
15275 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15276 process is running.
15277 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15278 Read share names with "-g" option.
15280 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15282 * net/rcirc.el (rcirc-view-log-file): New command.
15283 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15284 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15287 2009-10-15 Glenn Morris <rgm@gnu.org>
15289 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15290 from the second command-line argument.
15291 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15292 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15293 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15294 w32-batch-update-autoloads.
15295 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15296 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15298 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15299 the headers cannot be located. Simplify, subtracting superflous
15302 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15304 Replace completion-base-size by completion-base-position to fix bugs
15305 such as (bug#4699).
15306 * simple.el (completion-base-position): New var.
15307 (completion-base-size): Mark as obsolete.
15308 (choose-completion): Make it work for mouse events as well.
15309 Pass the new base-position to choose-completion-string.
15310 (choose-completion-guess-base-position): New function, extracted from
15311 choose-completion-delete-max-match.
15312 (choose-completion-delete-max-match): Use it. Make obsolete.
15313 (choose-completion-string): Use the new base-position info.
15314 (completion-root-regexp): Delete.
15315 (completion-setup-function): Preserve completion-base-position.
15316 Eliminate obsolete base-size manipulation.
15317 * minibuffer.el (display-completion-list): Don't mess with base-size.
15318 (minibuffer-completion-help): Set completion-base-position instead.
15319 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15321 * textmodes/bibtex.el (bibtex-complete):
15322 * emacs-lisp/crm.el (crm--choose-completion-string):
15323 Adjust to new calling convention.
15324 * complete.el (partial-completion-mode): Use minibufferp to avoid
15325 bumping into incompatible change to choose-completion-string-functions.
15326 * ido.el (ido-choose-completion-string): Make its calling convention
15328 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15329 base-size manipulation.
15330 (comint-dynamic-list-input-ring): Use dotimes and push.
15331 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15332 fundamental-mode. Use `or'.
15334 2009-10-14 Juri Linkov <juri@jurta.org>
15336 * misearch.el (multi-isearch-next-buffer-from-list)
15337 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15339 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15341 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15344 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15345 string we return is all made up of text from the completions rather
15346 than part from the completions and part from the input (bug#4219).
15348 * ido.el (ido-everywhere): Use define-minor-mode.
15350 * buff-menu.el (list-buffers, ctl-x-map):
15351 Mark the entry points with ;;;###autoload cookies.
15353 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15355 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15356 correctly in the detached head case.
15357 (vc-git-print-log): Remove unused binding.
15359 * vc.el (vc-responsible-backend): When a directory is passed for
15360 for registration create a VC repository if no backend is
15361 responsible for the directory argument.
15362 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15364 * vc.el: Move comments about RCS and SCCS ...
15366 * vc-sccs.el: ... here, respectively.
15368 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * minibuffer.el (completion--file-name-table): Return nil if there's
15371 no file completion, even if substitute-in-file-name changed
15372 the string (bug#4708).
15374 2009-10-13 Juri Linkov <juri@jurta.org>
15376 * files-x.el (read-file-local-variable-value): Don't filter out
15377 minor modes from mode name completion (bug#4664).
15379 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15381 * international/mule-cmds.el (ucs-names): Remove exclusion of
15382 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15384 2009-10-13 Kenichi Handa <handa@m17n.org>
15386 * international/uni-name.el: Regenerated.
15388 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15390 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15391 should be automatically buffer-local, but isn't.)
15393 2009-10-12 Sam Steingold <sds@gnu.org>
15395 * progmodes/compile.el (compilation-next-error-function): Fix the
15396 timestamps if the buffer has been visited before.
15397 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15398 non-anchored patterns, like the perl one (bug#3928).
15400 2009-10-12 Glenn Morris <rgm@gnu.org>
15402 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15405 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15407 * proced.el (proced-unload-function): New function.
15409 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15410 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15413 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15415 2009-10-11 Juri Linkov <juri@jurta.org>
15417 * files-x.el (read-file-local-variable-value):
15418 Provide default value only for bound variables (bug#4664).
15420 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15422 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15423 connection methods like smb.
15425 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15428 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15429 (tramp-smb-file-name-handler-alist): Add handlers for
15430 `add-name-to-file', `make-symbolic-link'.
15431 (tramp-smb-handle-add-name-to-file)
15432 (tramp-smb-do-file-attributes-with-stat)
15433 (tramp-smb-handle-make-symbolic-link)
15434 (tramp-smb-get-cifs-capabilities): New defuns.
15435 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15436 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15437 (tramp-smb-handle-file-local-copy)
15438 (tramp-smb-handle-make-directory-internal)
15439 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15440 The file name syntax depends on cifs capabilities.
15441 (tramp-smb-handle-file-attributes):
15442 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15443 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15444 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15446 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15448 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15449 (eieio-defclass): Apply deftype handler and setf-method properties
15451 (eieio-add-new-slot): Avoid union function from cl library.
15452 (eieio--typep): New function.
15453 (eieio-perform-slot-validation): Use it.
15455 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15457 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15458 Update documentation to refer to the variables documented in r1.135.
15461 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15463 * bookmark.el (Info-suffix-list): Remove this unused variable.
15464 (bookmark-current-point): Remove this obsolete variable.
15465 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15466 Adjust for removal of bookmark-current-point.
15468 (bookmarks-already-loaded, bookmark-current-buffer)
15469 (bookmark-yank-point): Document. (Bug#4188)
15471 2009-10-10 Glenn Morris <rgm@gnu.org>
15473 * frame.el (frame-height): Doc fix.
15475 * calendar/calendar.el (calendar-split-width-threshold): New option.
15476 (calendar-basic-setup): Use calendar-split-width-threshold.
15478 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15480 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15481 Ideographic Supplement" range (U+1F200..U+1F2FF).
15483 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15485 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15486 since the list will have been rebuilt anyway. (Bug#4349)
15488 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15490 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15491 (bookmark-bmenu-execute-deletions): Don't save here, as
15492 bookmark-delete will now do so if necessary.
15493 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15496 2009-10-09 Glenn Morris <rgm@gnu.org>
15498 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15500 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15502 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15503 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15504 argument now, so the two function's behaviors will match. (Bug#3645)
15506 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15508 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15509 (tramp-file-name-real-host, tramp-file-name-port):
15510 Apply `save-match-data'.
15512 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15513 case both directories are remote.
15514 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15515 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15517 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15519 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15521 2009-10-07 Glenn Morris <rgm@gnu.org>
15523 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15526 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15528 * files-x.el (read-file-local-variable): Include some
15529 non-user-variables in the completion table (bug#4664).
15531 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15533 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15536 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15537 (tramp-smb-file-name-handler-alist): Add handler for
15538 `copy-directory', `expand-file-name', `set-file-modes'.
15539 (tramp-smb-handle-copy-directory)
15540 (tramp-smb-handle-expand-file-name)
15541 (tramp-smb-handle-set-file-modes): New defuns.
15542 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15543 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15545 (tramp-smb-handle-insert-directory): Don't flush the cache.
15546 (tramp-smb-maybe-open-connection): Check for samba client and
15549 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15551 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15552 to not error out of search for "^lisp=" fails.
15554 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15556 * makefile.w32-in (WINS_UPDATES): New macro.
15557 (custom-deps, finder-data, autoloads): Use it.
15559 2009-10-07 Glenn Morris <rgm@gnu.org>
15561 * Makefile.in (autoloads): Revert previous change.
15562 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15563 the list of preloaded files passed on the command-line, get
15564 it from src/Makefile.
15566 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15567 show the original buffer rather than a random one.
15569 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15571 * help.el (describe-no-warranty): Place point in a slightly better
15572 position in the GPLv3 text.
15574 2009-10-06 Sam Steingold <sds@gnu.org>
15576 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15577 the comm attribute is present before calling regexp-quote.
15579 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15581 * play/animate.el (animate-string): For good effect, make sure
15582 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15584 * play/animate.el (animate-sequence, animate-birthday-present):
15585 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15587 2009-10-06 Glenn Morris <rgm@gnu.org>
15589 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15591 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15592 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15593 (batch-update-autoloads): Process a string value of autoload-excludes,
15594 set during the build process.
15595 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15597 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15598 inside with-parsed... macro so that `v' is defined.
15600 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15601 * progmodes/fortran.el (fortran-end-of-block)
15602 (fortran-beginning-of-block):
15603 Also push mark in the macro case.
15605 * emerge.el (emerge-show-file-name):
15606 * calc/calc.el (calc-quit):
15607 * calc/calc-misc.el (calc-big-or-small):
15608 * calc/calc-graph.el (calc-graph-view):
15609 * calc/calc-ext.el (calc-reset):
15610 * calendar/calendar.el (calendar-basic-setup):
15611 Use window-full-height-p.
15613 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15614 header we don't understand, don't insert another. (Bug#4624)
15615 If changing mime charset, insert the new one in the right place.
15617 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15619 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15620 (cal-tex-cursor-month): Correctly increment the end date for diary and
15621 holiday listing. (Bug#4626)
15623 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * help-fns.el (describe-function-1): Don't burp if the function is not
15628 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15630 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15631 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15632 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15633 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15635 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15636 (eieio-default-superclass): Reflow docstrings.
15637 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15638 (eieio-unbind-method-implementations, defmethod)
15639 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15640 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15641 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15642 (eieio-slot-originating-class-p, eieio-slot-name-index)
15643 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15644 (constructor, initialize-instance, no-next-method, object-print)
15645 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15646 Fix typos in docstrings.
15647 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15648 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15649 (next-method-p): Doc fixes.
15650 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15651 Fix typos in error messages.
15652 (eieio-defmethod): Fix typo in description of generic method.
15654 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15655 (eieio-persistent-save-interactive, slot-missing):
15656 Fix typos in docstrings.
15657 (eieio-instance-inheritor-slot-boundp): Doc fix.
15659 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15660 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15662 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15663 (eieio-custom-object-apply-reset):
15664 Fix typos in docstrings and error messages.
15666 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15667 Fix typo in docstring.
15669 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15670 (eieio-browse-tree): Doc fix.
15671 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15672 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15673 Fix typos in docstrings.
15675 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15676 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15677 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15678 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15681 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15683 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15684 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15685 Set log-view-vc-backend so that diff can work.
15687 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15689 (vc-diff-internal): Autoload this instead of vc-version-diff.
15691 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15693 * simple.el (eval-expression): Doc fix.
15695 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15697 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15699 * files.el (directory-files-no-dot-files-regexp): New defconst.
15700 (delete-directory): Use it.
15701 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15703 * net/tramp.el (tramp-verbose): Fix docstring.
15704 (tramp-methods): Add recursive option to `tramp-copy-args'.
15705 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15706 "scp1_old", "scp2_old", "rsync", "rsyncc".
15707 (tramp-default-method): Check also for `auth-source-user-or-password'.
15708 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15709 Add handler for `copy-directory'.
15710 (tramp-handle-copy-directory): New defun.
15711 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15712 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15713 Optimize sent command.
15715 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15717 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15718 window if necessary.
15720 * calendar/calendar.el (calendar-basic-setup): Don't call
15721 switch-to-buffer in a dedicated window.
15723 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15725 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15726 don't do anything related to relocating, just return nil.
15727 (bookmark-error-no-filename): New error.
15728 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15729 bookmark has no file. Don't even attempt to handle things that
15730 are not files; the whole point of custom handlers is to keep that
15731 knowledge elsewhere anyway. Tighten some comments.
15732 (bookmark-file-or-variation-thereof): Remove now-unused function.
15733 (bookmark-location): Doc string fix.
15736 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15738 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15739 don't use a file dialog, because they usually don't know how to read
15740 a directory target from the user. (Bug#4230)
15741 Also, make sure the prompt can display directories as well as files.
15743 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15745 * bookmark.el (bookmark-set, bookmark-buffer-name):
15746 Improve doc strings. (Bug#1193)
15748 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15750 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15751 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15752 (bookmark-get-annotation, bookmark-set-annotation)
15753 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15754 (bookmark-set-position, bookmark-get-front-context-string)
15755 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15756 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15757 (bookmark-jump-other-window, bookmark-handle-bookmark)
15758 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15759 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15760 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15761 Improve doc strings to say whether bookmark can be a string or
15762 a record or both, and make other consistency and clarity fixes.
15763 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15764 (bookmark-default-annotation-text, bookmark-yank-word)
15765 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15766 (bookmark-import-new-list, bookmark-maybe-rename)
15767 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15768 (bookmark-bmenu-bookmark): Give these doc strings.
15769 (bookmark-bmenu-check-position): Give this a doc string, but also
15770 add a FIXME comment about how the function may be pointless.
15771 (bookmark-default-handler): Rework doc string and change a
15772 parameter name, to clarify that this takes a bookmark record
15773 not a bookmark name.
15774 (bookmark-set): Change a parameter name to indicate its meaning,
15775 and improve the doc string a bit.
15778 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15780 * bookmark.el (bookmark-alist): Document the new `handler' element
15781 in the param alist.
15782 (bookmark-make-record-function): Adjust documentation for above.
15785 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15787 * info.el (Info-bookmark-make-record): Document this function.
15788 (Info-bookmark-jump): Document with a doc string, not just a comment.
15791 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15793 * files.el (copy-directory): New defun.
15795 * dired-aux.el (dired-copy-file-recursive): Use it.
15797 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15799 * files-x.el (modify-dir-local-variable)
15800 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15803 * recentf.el (recentf-unload-function): New function.
15805 2009-10-04 Glenn Morris <rgm@gnu.org>
15807 * window.el (window-full-height-p): Add doc string.
15809 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15811 * window.el (window-full-height-p): New function. (Bug#4543)
15813 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15815 * vc.el: Remove commented out code.
15816 (vc-derived-from-dir-mode): Remove, unused.
15817 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15819 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15821 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15822 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15823 there could be recursive loading when `default-directory' is a
15824 remote file name. (Bug#4614)
15826 2009-10-03 Glenn Morris <rgm@gnu.org>
15828 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15830 (calendar-generate-window): Test for shrinkability rather than width.
15832 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15833 reusing existing buffers, in case we happen to visit two files with the
15834 same basename. (Bug#4593)
15836 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15838 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15839 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15840 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15841 subdirs of cedet as well.
15842 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15844 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15846 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15847 Obey advertised-signature-table.
15849 * help-fns.el (help-function-arglist): Don't check
15850 advertised-signature-table.
15851 (describe-function-1): Do it here instead so it also applies to subrs.
15853 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15855 * simple.el (start-file-process): Say in the doc-string, that file
15856 handlers might not support pty association, if PROGRAM is nil.
15858 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15859 HOST and USER are strings. They are nil, when there are
15860 incomplete entries in ~/.netrc, for example.
15861 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15862 root directory ("device busy" error otherwise).
15864 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15865 Flush file properties of created directory.
15867 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15869 * makefile.w32-in (WINS_BASIC): Remove cedet.
15870 (WINS_CEDET): Add cedet.
15871 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15873 2009-10-02 Kevin Ryde <user42@zip.com.au>
15875 * net/browse-url.el (browse-url): Pass any symbol in
15876 browse-url-browser-function to `apply', since if you've mistakenly put
15877 an unbound symbol then the error is clearer. (Bug#4531)
15879 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15881 * allout.el (allout-init, allout-back-to-current-heading)
15882 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15883 (allout-ascend, allout-up-current-level, allout-end-of-level)
15884 (allout-previous-visible-heading, allout-forward-current-level)
15885 (allout-backward-current-level, allout-show-children):
15886 * apropos.el (apropos-describe-plist):
15887 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15888 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15889 * completion.el (add-completion, add-permanent-completion):
15890 * descr-text.el (describe-text-category, describe-char):
15891 * desktop.el (desktop-lazy-abort):
15892 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15893 * dired.el (dired-build-subdir-alist):
15894 * ediff.el (ediff-version):
15895 * elide-head.el (elide-head, elide-head-show):
15896 * emerge.el (emerge-version):
15898 * face-remap.el (variable-pitch-mode):
15899 * faces.el (describe-face):
15900 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15902 * files.el (find-file-existing, auto-save-mode):
15903 * font-lock.el (font-lock-fontify-buffer):
15904 * help-fns.el (describe-function, describe-variable)
15905 (describe-syntax, describe-categories):
15906 * help.el (view-lossage, describe-bindings, describe-key)
15908 * hexl.el (hexl-current-address):
15909 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15910 * info.el (Info-goto-emacs-key-command-node):
15911 * log-edit.el (log-edit-insert-cvs-template)
15912 (log-edit-insert-cvs-rcstemplate):
15913 * menu-bar.el (menu-bar-mode):
15914 * mouse.el (mouse-appearance-menu):
15915 * newcomment.el (comment-indent-new-line):
15916 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15917 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15918 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15919 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15920 * recentf.el (recentf-mode):
15921 * savehist.el (savehist-mode, savehist-save):
15922 * shadowfile.el (shadow-copy-files):
15923 * simple.el (kill-ring-save, next-line, previous-line)
15924 (normal-erase-is-backspace-mode):
15925 * strokes.el (strokes-update-window-configuration)
15926 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15927 (strokes-xpm-for-stroke):
15928 * time.el (emacs-uptime, emacs-init-time):
15929 * tutorial.el (tutorial--describe-nonstandard-key)
15930 (tutorial--detailed-help):
15931 * type-break.el (type-break-mode)
15932 (type-break-mode-line-message-mode, type-break-query-mode)
15933 (type-break-guesstimate-keystroke-threshold):
15934 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15935 * version.el (emacs-version):
15936 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15937 * winner.el (winner-mode):
15938 * calendar/timeclock.el (timeclock-in, timeclock-out)
15939 (timeclock-status-string, timeclock-change)
15940 (timeclock-workday-remaining-string)
15941 (timeclock-workday-elapsed-string)
15942 (timeclock-when-to-leave-string):
15943 * calendar/todo-mode.el (todo-add-category):
15944 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15945 * emacs-lisp/autoload.el (update-file-autoloads):
15946 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15947 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15948 (checkdoc-message-text, checkdoc-defun):
15949 * emacs-lisp/debug.el (debugger-list-functions):
15950 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15951 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15952 (eieio-describe-generic):
15953 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15954 * emacs-lisp/shadow.el (list-load-path-shadows):
15955 * emulation/cua-base.el (cua-mode):
15956 * emulation/edt.el (edt-set-scroll-margins):
15957 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15958 (tpu-toggle-regexp, tpu-toggle-search-direction)
15959 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15960 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15961 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15962 (viper-set-parsing-style-toggling-macro)
15963 (viper-set-emacs-state-searchstyle-macros):
15964 * emulation/viper.el (viper-set-hooks):
15965 * eshell/esh-mode.el (eshell-truncate-buffer):
15966 * international/mule-cmds.el (prefer-coding-system)
15967 (describe-input-method, describe-language-environment):
15968 * international/mule-diag.el (list-character-sets)
15969 (describe-character-set, describe-coding-system)
15970 (describe-fontset, list-fontsets, list-input-methods):
15971 * mail/sendmail.el (mail-signature):
15972 * net/ange-ftp.el (ange-ftp-copy-file):
15973 * net/browse-url.el (browse-url):
15974 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15975 * net/quickurl.el (quickurl-add-url):
15976 * net/rcirc.el (names, topic):
15977 * net/xesam.el (xesam-mode):
15978 * play/5x5.el (5x5-new-game):
15979 * play/yow.el (apropos-zippy):
15980 * progmodes/ada-mode.el (ada-mode-version):
15981 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15983 (f90-beginning-of-block):
15984 * progmodes/fortran.el (fortran-end-of-block)
15985 (fortran-beginning-of-block):
15986 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15987 * progmodes/python.el (python-describe-symbol, python-shell):
15988 * term/ns-win.el (ns-print-buffer):
15989 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15990 * textmodes/flyspell.el (flyspell-mode-on):
15991 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15992 (pages-directory-for-addresses):
15993 * textmodes/table.el (table-recognize-cell)
15994 (table-query-dimension, table-generate-source)
15995 (table-insert-sequence, table--warn-incompatibility):
15996 * textmodes/tex-mode.el (tex-validate-buffer):
15997 * textmodes/texinfmt.el (texinfmt-version)
15998 (texinfo-format-buffer):
15999 Use `called-interactively-p' instead of `interactive-p'.
16001 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16003 * image-mode.el (image-toggle-display):
16004 * emacs-lisp/elp.el (elp-instrument-function):
16005 * emacs-lisp/advice.el (ad-make-advised-definition):
16006 * emacs-lisp/easy-mmode.el (define-minor-mode):
16007 * net/browse-url.el (browse-url-maybe-new-window):
16008 * progmodes/sh-script.el (sh-learn-buffer-indent):
16009 Pass new argument 'any to `called-interactively-p'.
16011 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16013 * international/uni-bidi.el:
16014 * international/uni-category.el:
16015 * international/uni-combining.el:
16016 * international/uni-comment.el:
16017 * international/uni-decimal.el:
16018 * international/uni-decomposition.el:
16019 * international/uni-digit.el:
16020 * international/uni-lowercase.el:
16021 * international/uni-mirrored.el:
16022 * international/uni-name.el:
16023 * international/uni-numeric.el:
16024 * international/uni-old-name.el:
16025 * international/uni-titlecase.el:
16026 * international/uni-uppercase.el:
16027 Regenerate from Unicode 5.2.0 data.
16029 2009-10-01 Glenn Morris <rgm@gnu.org>
16031 * Makefile.in (ELCFILES): Regenerate.
16033 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16035 * subr.el (interactive-p): Mark obsolete.
16036 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16037 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16038 advertised-signature-table for subroutines as well.
16040 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16041 (set-advertised-calling-convention): New function.
16042 (make-obsolete, define-obsolete-function-alias)
16043 (make-obsolete-variable, define-obsolete-variable-alias):
16044 Make the optional-ness of `when' obsolete.
16045 (define-obsolete-face-alias): Make `when' non-optional.
16046 * help-fns.el (help-function-arglist):
16047 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16048 Use advertised-signature-table.
16050 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16052 * files.el (delete-directory): New defun. The original function
16053 in fileio.c has been renamed to `delete-directory-internal'.
16055 * dired.el (dired-delete-file): Call `delete-directory' with
16056 RECURSIVE parameter.
16058 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16059 parameter RECURSIVE. Implementation is missing.
16061 * net/tramp.el (tramp-handle-make-directory): Flush upper
16062 directory's file properties.
16063 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16064 (tramp-handle-dired-recursive-delete-directory): Flush directory
16065 properties after the remove command only.
16067 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16068 Handle optional parameter RECURSIVE.
16070 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16071 Handle optional parameter RECURSIVE.
16073 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16074 connection timeout.
16075 (tramp-smb-handle-delete-directory): Handle optional parameter
16078 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16080 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16081 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16082 (byte-compile-defmacro): Use backquotes.
16084 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16086 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16087 has no associated file.
16088 (vc-resynch-buffer): Use vc-dir-buffers.
16090 2009-10-01 Glenn Morris <rgm@gnu.org>
16092 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16093 (chart-file-count):
16094 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16095 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16096 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16097 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16098 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16099 (eieio-copy-parents-into-subclass, make-instance, class-children)
16100 (eieio-generic-form):
16102 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16103 match-data. (Bug#4555).
16105 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16106 rather than parsing it as a regexp. This relaxes the layout
16107 requirements and makes errors easier to detect.
16108 (check-declare-verify): Check file is regular.
16109 (check-declare-directory): Doc fix.
16110 * subr.el (declare-function): Doc fix.
16112 * ibuffer.el (ibuffer-format-qualifier):
16113 * isearch.el (hi-lock-regexp-okay):
16114 * calc/calc.el (math-zerop):
16115 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16116 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16117 Remove unused declarations.
16119 2009-09-30 Eric Ludlam <zappo@gnu.org>
16121 * emacs-lisp/eieio.el (boolean-p): Delete.
16123 2009-09-30 Glenn Morris <rgm@gnu.org>
16125 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16127 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16128 filename is not a string.
16130 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16132 * files.el (safe-local-eval-forms): Fix typo.
16134 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16136 * vc-hooks.el (vc-dir-buffers): New var.
16137 (vc-state-refresh): New function.
16138 (vc-state): Use it.
16139 (vc-after-save): Always ask the backend to recompute the new state.
16140 Always call vc-dir if necessary, using vc-dir-buffers.
16141 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16142 Use vc-dir-buffers.
16143 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16144 (vc-dir-prepare-status-buffer, vc-dir-update)
16145 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16146 Don't call expand-file-name on default-directory.
16148 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16150 * speedbar.el (speedbar-item-delete):
16151 * calc/calc-prog.el (calc-kbd-if):
16152 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16154 * epa.el (epa-key-list-mode-map):
16155 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16157 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16158 (hs-show-hook): Fix typo in docstring.
16160 2009-09-29 Glenn Morris <rgm@gnu.org>
16162 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16163 file-name-nondirectory call preventing location of cedet files.
16164 (check-declare-verify): Use literal search rather than re-search.
16165 Add basic defmethod and defclass, and define-overloadable-function.
16167 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16168 Use tramp-compat-file-attributes rather than nonexistent
16169 tramp-compat-handle-file-attributes.
16171 * Makefile.in (lisptagsfiles4): New.
16172 (AUTOGENEL): Add cedet loaddefs files.
16173 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16174 (update-elclist, compile-always, backup-compiled-files)
16175 (bootstrap-clean): Add yet another directory level.
16176 (update-elclist): Use LC_COLLATE rather than COLLATE.
16177 (ELCFILES): Update, via `make update-elclist'.
16179 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16181 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16182 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16183 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16185 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16187 * Makefile.in (lisptagsfiles3): Define.
16188 (TAGS, TAGS-LISP): Use it.
16189 (update-elclist): Add third directory level to look for elc files.
16190 (compile-always): Likewise.
16191 (backup-compiled-files): Likewise.
16192 (bootstrap-clean): Likewise.
16193 (ELCFILES): Update.
16195 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16197 * Makefile.in (ELCFILES): Add CEDET files.
16199 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16201 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16203 * net/tramp.el (top): Require tramp-imap.
16205 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16206 Use `tramp-compat-handle-file-attributes'.
16208 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16210 * net/tramp-imap.el: New package.
16212 2009-09-28 Eric Ludlam <zappo@gnu.org>
16214 * emacs-lisp/chart.el:
16215 * emacs-lisp/eieio-base.el:
16216 * emacs-lisp/eieio-comp.el:
16217 * emacs-lisp/eieio-custom.el:
16218 * emacs-lisp/eieio-datadebug.el:
16219 * emacs-lisp/eieio-opt.el:
16220 * emacs-lisp/eieio-speedbar.el:
16221 * emacs-lisp/eieio.el: New files.
16223 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16225 * whitespace.el (whitespace-trailing-regexp)
16226 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16229 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16231 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16234 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16235 menu-bar-ediff-menu.
16237 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16238 define-overloadable-function.
16240 * progmodes/autoconf.el: Provide autoconf as well, so that this
16241 file can be `require'd.
16243 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16245 * emacs-lisp/autoload.el (generated-autoload-feature)
16246 (generated-autoload-load-name): New vars.
16247 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16248 (make-autoload): Recognize define-overloadable-function and
16249 defclass forms (for EIEIO).
16251 * Makefile.in (update-subdirs): Exclude cedet directory.
16253 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16255 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16257 * faces.el: Default light-background background for region face to
16258 ns_selection_color under NS.
16260 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16262 * net/imap-hash.el: New library, see NEWS.
16264 * Makefile.in (ELCFILES): Add imap-hash.el.
16266 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16268 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16269 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16270 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16271 definition where the docstring could be taken for the return value.
16273 2009-09-26 Glenn Morris <rgm@gnu.org>
16275 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16276 Add option to only show images below a certain size.
16277 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16278 save-excursion calls.
16280 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16282 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16283 subdirectories) and eieio.
16285 2009-09-26 Alan Mackenzie <acm@muc.de>
16287 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16288 Correct buggy bracketing. (Bug#4289)
16290 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16291 character constants (as case labels). (Bug#4289)
16293 2009-09-25 Juri Linkov <juri@jurta.org>
16295 * files.el (safe-local-eval-forms): Allow time-stamp in
16296 before-save-hook (Bug#4554).
16298 2009-09-25 Drew Adams <drew.adams@oracle.com>
16300 * menu-bar.el (list-buffers-directory): Doc fix.
16302 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16304 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16305 Try and avoid copying twice the same paragraph.
16306 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16307 Remove save-excursion.
16308 (log-edit-changelog-entry): Do it here instead.
16310 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16312 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16313 when available, instead of hardcoding mode names. Doc fix.
16315 * menu-bar.el (list-buffers-directory): Add docstring.
16316 Make automatically buffer-local.
16318 * dired.el (dired-mode):
16319 * files.el (cd-absolute):
16320 * pcvs.el (cvs-temp-buffer):
16321 * pcvs-util.el (cvs-get-buffer-create):
16322 * shell.el (shell-mode):
16323 * vc-dir.el (vc-dir-mode):
16324 Don't make `list-buffers-directory' buffer local.
16326 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16328 * comint.el (comint-exec, comint-run, make-comint):
16329 Doc fixes (Bug#4542).
16331 2009-09-25 Glenn Morris <rgm@gnu.org>
16333 * mail/rmailmm.el (rmail-mime): New custom group.
16334 Move all defcustoms in this file into this group.
16335 (rmail-mime-media-type-handlers-alist): Revert previous change.
16336 (rmail-mime-show-images): New option.
16337 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16338 references to it, since it wasn't actually used for anything.
16339 (rmail-mime-insert-image): New function.
16340 (rmail-mime-image): Use rmail-mime-insert-image.
16341 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16342 obey the value of `rmail-mime-show-images' option. Print the size of
16345 2009-09-25 David Engster <deng@randomsample.de>
16347 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16349 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16351 * whitespace.el: Does not highlight trailing spaces While point is
16352 at end of line. Does not highligt spaces at beginning of buffer
16353 while point is at beginning of buffer. Does not highlight spaces
16354 at end of buffer while point is at end of buffer. (Bug#4177)
16356 (whitespace-display-mappings): Adjust initialization.
16357 (whitespace-point, whitespace-font-lock-refontify): New vars.
16358 (whitespace-color-on, whitespace-color-off): Adjust code.
16359 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16360 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16361 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16363 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16365 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16367 * textmodes/sgml-mode.el: Remove xml-mode alias.
16369 * files.el (auto-mode-alist, conf-mode-maybe)
16370 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16372 2009-09-24 Alan Mackenzie <acm@muc.de>
16374 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16375 c-forward-conditionals, but it doesn't move point and doesn't set
16377 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16378 (c-down-conditional-with-else, c-backward-conditional)
16379 (c-forward-conditional): Refactor to use c-scan-conditionals.
16381 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16383 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16384 (help-default-arg-highlight): Remove.
16385 (help-highlight-arg): New function.
16386 (help-do-arg-highlight): Use it.
16387 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16389 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16391 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16392 Undo last change, which didn't fix the problem and introduced others.
16394 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16396 * progmodes/gdb-mi.el: Don't require speedbar.
16397 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16399 2009-09-24 Glenn Morris <rgm@gnu.org>
16401 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16403 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16405 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16406 there is no newline after the final mime boundary. (Bug#4539)
16407 Move markers on insertion so that any buttons inserted don't end up in
16408 the next part of a multipart message.
16409 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16410 (rmail-mime-bulk-handler): Optionally handle images.
16411 (rmail-mime-image): New button action.
16412 (rmail-mime-image-handler): New function.
16413 (rmail-mime-mode): New mode.
16414 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16416 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16418 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16419 than just dropping elements from it (bug#4504).
16421 * term.el (term-set-scroll-region): Don't move cursor any more.
16422 (term-handle-ansi-escape): Call term-goto here instead.
16423 Suggested by Ivan Kanis <apple@kanis.eu>.
16425 * term.el: Require CL.
16426 (term-ansi-reset): New function.
16427 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16428 (term-handle-colors-array): Simplify.
16430 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16432 * allout.el (allout-overlay-interior-modification-handler)
16433 (allout-obtain-passphrase):
16434 * epa-file.el (epa-file-write-region):
16435 * ps-print.el (ps-begin-job):
16436 * vc-hooks.el (vc-toggle-read-only):
16437 * vc-rcs.el (vc-rcs-rollback):
16438 * vc-sccs.el (vc-sccs-rollback):
16439 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16440 (vc-version-diff, vc-revert, vc-rollback):
16441 * wdired.el (wdired-check-kill-buffer):
16442 * emacs-lisp/authors.el (authors):
16443 * net/socks.el (socks-open-connection):
16444 * net/zeroconf.el (zeroconf-service-add-hook):
16445 * obsolete/vc-mcvs.el (vc-mcvs-register):
16446 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16447 (gdb-select-frame):
16448 * progmodes/grep.el (lgrep, rgrep):
16449 * progmodes/idlw-help.el (idlwave-help-check-locations)
16450 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16451 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16452 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16453 (reftex-toc-rename-label): Fix typos in error messages.
16455 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16456 (dired-copy-how-to-fn): Doc fix.
16457 (dired-files-attributes, dired-read-shell-command):
16458 Fix typos in docstrings.
16460 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16461 (dired-x-find-file-other-window): Reflow docstrings.
16462 (dired-omit-marker-char, dired-read-shell-command)
16463 (dired-x-submit-report): Fix typos in docstrings.
16465 * shell.el (shell-mode-hook):
16466 * view.el (View-scroll-line-forward):
16467 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16468 Fix typos in docstrings.
16470 * net/dig.el (dig-invoke): Fix typo in docstring.
16471 (query-dig): Reflow docstring.
16473 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16474 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16475 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16476 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16477 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16478 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16479 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16480 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16481 (idlwave-completion-map, idlwave-current-indent)
16482 (idlwave-custom-ampersand-surround, idlwave-customize)
16483 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16484 (idlwave-define-abbrev, idlwave-determine-class-special)
16485 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16486 (idlwave-end-block-reg, idlwave-end-of-statement)
16487 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16488 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16489 (idlwave-explicit-class-listed, idlwave-file-header)
16490 (idlwave-fill-paragraph, idlwave-find-class-definition)
16491 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16492 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16493 (idlwave-in-quote, idlwave-indent-action-table)
16494 (idlwave-indent-expand-table, idlwave-indent-line)
16495 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16496 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16497 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16498 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16499 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16500 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16501 (idlwave-outlawed-buffers, idlwave-popup-select)
16502 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16503 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16504 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16505 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16506 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16507 (idlwave-statement-type, idlwave-struct-skip)
16508 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16509 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16510 (idlwave-what-module-find-class): Fix typos in docstrings.
16511 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16512 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16513 (idlwave-find-module, idlwave-find-structure-definition)
16514 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16515 (idlwave-list-load-path-shadows, idlwave-next-statement)
16516 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16517 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16518 (idlwave-template): Reflow docstrings.
16520 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16521 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16522 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16523 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16524 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16525 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16526 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16527 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16528 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16529 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16530 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16531 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16532 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16533 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16534 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16535 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16536 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16537 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16538 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16539 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16540 Fix typos in docstrings.
16541 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16542 (idlwave-shell-hide-output, idlwave-shell-mode)
16543 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16546 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16548 2009-09-24 Ivan Kanis <apple@kanis.eu>
16550 * term.el (term-bold-attribute): New var.
16551 (term-handle-colors-array): Use it.
16553 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16555 * progmodes/gdb-mi.el (gdb-version): New variable.
16556 (gdb-non-stop-handler): Set gdb-version.
16557 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16558 Condition "--thread" option on gdb-version.
16559 (gdb-invalidate-threads): Remove unused argument.
16561 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16563 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16564 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16566 2009-09-23 Glenn Morris <rgm@gnu.org>
16568 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16569 replying to mail without References or Message-Id. (Bug#4525)
16571 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16573 * term/ns-win.el (ns-reg-to-script): New variable.
16575 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16577 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16579 2009-09-22 Sam Steingold <sds@gnu.org>
16581 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16582 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16583 to 1 because hg returns status 1 when nothing is found.
16584 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16586 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16588 * textmodes/fill.el: Convert to utf-8 encoding.
16589 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16592 * add-log.el (change-log-fill-forward-paragraph): New function.
16593 (change-log-mode): Use it so fill-region DTRT.
16594 Set fill-indent-according-to-mode here rather than in
16595 change-log-fill-paragraph.
16596 (change-log-fill-paragraph): Remove.
16598 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16600 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16601 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16603 2009-09-22 Glenn Morris <rgm@gnu.org>
16605 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16606 the scroll-bar scroll the calendar window rather than the buffer.
16608 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16609 commands that move point (as opposed to scrolling).
16611 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16613 * emacs-lisp/elint.el (elint): New custom group.
16614 (elint-log-buffer): Make it a defcustom.
16615 (elint-scan-preloaded, elint-ignored-warnings)
16616 (elint-directory-skip-re): New options.
16617 (elint-builtin-variables): Doc fix.
16618 (elint-preloaded-env): New variable.
16619 (elint-unknown-builtin-args): Add an entry for encode-time.
16620 (elint-extra-errors): Make it a variable rather than a constant.
16621 (elint-preloaded-skip-re): New constant.
16622 (elint-directory): Skip files matching elint-directory-skip-re.
16623 (elint-features): New variable, local to linted buffers.
16624 (elint-update-env): Initialize elint-features. Possibly add
16625 elint-preloaded-env to the buffer's environment.
16626 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16628 (elint-init-form): New function, extracted from elint-init-env.
16629 Make non-list forms a warning rather than an error.
16630 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16631 easy-menu-define, put that adds an error-condition, and provide.
16632 When requiring cl, also require cl-macs. Really require cl, to handle
16633 some cl macros. Store required libraries in the list elint-features,
16634 so as not to re-load them. Treat cc-require like require.
16635 (elint-init-env): Call elint-init-form to do the work.
16636 Handle eval-and-compile and such like.
16637 (elint-add-required-env): Do not clear messages.
16638 (elint-special-forms): Add handlers for function, defalias, if, when,
16640 (elint-form): Add optional argument to ignore elint-special-forms,
16641 useful to prevent recursive calls from handlers. Doc fix.
16642 Respect elint-ignored-warnings.
16643 (elint-form): Respect elint-ignored-warnings.
16644 (elint-bound-variable, elint-bound-function): New variables.
16645 (elint-unbound-variable): Respect elint-bound-variable.
16646 (elint-get-args): Respect elint-bound-function.
16647 (elint-check-cond-form): Add some simple handling for (f)boundp and
16649 (elint-check-defalias-form): New handler.
16650 (elint-check-let-form): Make an empty let a warning rather than an
16652 (elint-check-setq-form): Make an empty setq a warning rather than an
16653 error. Respect elint-ignored-warnings.
16654 (elint-check-defvar-form): Accept null doc-strings.
16655 (elint-check-conditional-form): New handler. Does some simple-minded
16656 checking of featurep and (f)boundp tests.
16657 (elint-put-function-args): New function.
16658 (elint-initialize): Use elint-scan-doc-file rather than
16659 elint-find-builtin-variables. Use elint-put-function-args.
16660 Possibly scan preloaded-file-list.
16661 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16662 extend to handle functions as well.
16664 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16666 * linum.el (linum-delete-overlays, linum-update-window):
16667 Do not modify the right margin. (Bug#3971)
16669 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16671 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16672 Use nxml-mode instead of xml-mode.
16674 2009-09-21 Kevin Ryde <user42@zip.com.au>
16676 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16678 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16680 * net/dig.el (dig-mode): Use define-derived-mode.
16682 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16684 * vc-dispatcher.el (vc-do-command): Return the process object in
16685 the asynchronous case. Use when instead of if. Do not run
16686 vc-exec-after to display a message if not enabled. (Bug#4463)
16688 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16689 properties to the stash strings.
16690 (vc-git-stash-list): Return a list of strings.
16691 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16692 (vc-git-stash-show-at-point): New functions.
16693 (vc-git-stash-map): New keymap.
16695 * register.el (ctl-x-r-map): Define the keys here instead of
16698 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16700 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16701 list, to workaround performance problem (bug#4485).
16703 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16705 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16707 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16709 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16710 Document that this option is not recommended to use.
16712 2009-09-19 Glenn Morris <rgm@gnu.org>
16714 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16717 * calc/calc-alg.el (var):
16718 * calc/calcalg2.el (var): Define for compiler.
16720 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16722 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16723 Doc fix (Bug#3932).
16725 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16727 * time-stamp.el (time-stamp-month-dd-yyyy)
16728 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16729 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16730 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16731 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16732 Remove functions that have been obsolete since 1995 (Bug#4436).
16734 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16735 indent buffer only if called interactively (Bug#4452).
16737 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16738 Eli Zaretskii <eliz@gnu.org>
16740 This fixes bug#4197 (merged to bug#865, though not identical).
16741 * server.el (server-auth-dir): Add docstring note about FAT32.
16742 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16743 but warn against using them.
16745 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16747 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16748 older GDB where there is no has_more field.
16750 2009-09-19 Glenn Morris <rgm@gnu.org>
16752 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16754 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16756 * files.el (auto-mode-alist): Change default for XML files to nXML
16759 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16761 * server.el (server-ensure-safe-dir): Pass 'integer
16762 to `file-attributes', as suggested.
16764 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16766 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16767 (dired-query): Use read-key.
16769 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16771 * cus-start.el (ns-use-qd-smoothing): Remove.
16773 2009-09-18 Glenn Morris <rgm@gnu.org>
16775 * allout.el (top-level): Remove unnecessary progn.
16777 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16779 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16780 definition of abbrev table.
16782 * speedbar.el (speedbar-track-mouse):
16783 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16784 * net/eudc.el (eudc-expand-inline):
16785 * net/newst-backend.el (newsticker--cache-read-feed):
16786 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16787 condition-case handlers.
16789 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16791 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16792 (gdb-var-list): Add an element for has_more field.
16793 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16794 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16795 (gdb-var-update-handler-1): Parse output of dynamic variable
16796 objects (STL containers).
16797 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16798 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16800 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16802 (gud-speedbar-buttons): Make node expandable if expression "has more"
16805 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16807 * startup.el (emacs-quick-startup): Remove variable and all uses.
16808 (command-line): Set `inhibit-x-resources' instead.
16809 (command-line-1): Use `inhibit-x-resources' instead.
16811 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16813 * subr.el: Fix last change to avoid using the `unless' macro,
16814 which breaks bootstrapping.
16816 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16818 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16819 extended definitions, in case we reload subr.el after having
16821 (eval-next-after-load): Mark as obsolete.
16823 2009-09-17 Juri Linkov <juri@jurta.org>
16825 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16826 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16827 (menu-bar-showhide-menu, menu-bar-tools-menu)
16828 (menu-bar-describe-menu, menu-bar-help-menu)
16829 (minibuffer-local-completion-map, minibuffer-local-map):
16832 2009-09-17 Glenn Morris <rgm@gnu.org>
16834 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16835 arguments, whether or not it has a handler.
16837 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16839 * simple.el (hard-newline): Give it a doc-string.
16841 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16842 (lisp-mode-syntax-table): Give them doc-strings.
16844 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16846 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16847 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16848 (menu-bar-options-menu, menu-bar-showhide-menu)
16849 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16850 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16851 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16852 (menu-bar-options-menu, menu-bar-tools-menu)
16853 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16854 (menu-bar-help-menu):
16855 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16858 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16859 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16860 calls for the menu names and :help.
16862 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16864 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16865 to :minor-mode-function (bug#4455).
16867 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16869 * startup.el (command-line): Initialize the window-system after
16870 processing the command-line.
16872 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16873 page-delimiter matches the empty string.
16875 2009-09-16 Glenn Morris <rgm@gnu.org>
16877 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16878 byte-compile-not-obsolete-var. It's a list now.
16879 (byte-compile-not-obsolete-funcs): New variable.
16880 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16881 byte-compile-not-obsolete-funcs.
16882 (byte-compile-variable-ref, byte-compile-defvar): Update for
16883 byte-compile-not-obsolete-vars name-change and list nature.
16884 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16885 and variables behind (f)boundp tests.
16886 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16888 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16890 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16892 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16895 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16898 2009-09-15 Stephen Eglen <stephen@gnu.org>
16900 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16901 the virtual-buffers, use the name of the buffer specified by
16902 find-file-noselect, as the match may be a symlink. (This was a
16903 problem if the target and the symlink had different names.)
16905 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16907 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16909 * desktop.el (desktop-path): Check user-emacs-directory.
16911 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16913 * loadup.el: Use after-load-functions to GC after loading each file.
16914 Remove the explicit GC calls that used to be sprinkled around.
16916 * subr.el (after-load-functions): New hook.
16917 (do-after-load-evaluation): Run it. Use string-match-p to detect
16918 `obsolete' packages, rather than painfully extracting the relevant
16921 2009-09-15 Glenn Morris <rgm@gnu.org>
16923 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16924 free variable `doc'.
16926 * dired.el (dired-mode-map): Add menu entry for async shell command.
16928 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16929 variables, also consider the .elc files, since the .el files are
16930 normally gzipped (subsequent code locates the .el.gz from the .elc).
16932 * calc/calc-prog.el (arglist): Define for compiler.
16934 * calendar/diary-lib.el (diary-display-function): Change the default to
16936 (body): Define for compiler.
16938 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16939 (byte-compile-file-form, byte-compile-lambda)
16940 (byte-compile-top-level-body, byte-compile-form)
16941 (byte-compile-variable-ref, byte-compile-setq)
16942 (byte-compile-setq-default, byte-compile-body)
16943 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16944 (batch-byte-compile): Give some more local variables with common names
16945 a "bytecomp-" prefix to avoid masking warnings about free variables.
16947 * startup.el (command-line-1): Give local variables with common names a
16948 distinguishing prefix, so as not to hide free variable warnings during
16951 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16952 clever and add a suffix to make a unique name, just let the user decide
16953 whether or not to overwrite it. If the input is a directory, write the
16954 default filename to that directory. (Bug#4388)
16955 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16956 is a filename-as-a-directory.
16958 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * textmodes/page.el (what-page): Don't move to beginning of line.
16961 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16963 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16965 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16967 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16969 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16970 * help.el (help-for-help-internal): Add purecopy calls for text.
16972 * vc.el (top): print-log method now takes an optional SHORTLOG
16973 argument. Add a new method: root.
16974 (vc-root-diff, vc-print-root-log): New functions.
16975 (vc-log-short-style): New variable.
16976 (vc-print-log-internal): Add support for showing short logs.
16978 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16979 vc-print-root-log and vc-print-root-diff.
16981 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16982 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16983 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16986 * vc-cvs.el (vc-cvs-print-log):
16987 * vc-mtn.el (vc-mtn-print-log):
16988 * vc-rcs.el (vc-rcs-print-log):
16989 * vc-sccs.el (vc-sccs-print-log):
16990 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16991 that is ignored for now.
16993 * vc-mtn.el (vc-mtn-annotate-command):
16994 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16996 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16998 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16999 to function-key-map, and give them ascii-character property.
17000 * term/x-win.el (x-alternatives-map):
17001 * term/ns-win.el (ns-alternatives-map):
17002 * term/internal.el (msdos-key-remapping-map):
17003 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17005 2009-09-14 Glenn Morris <rgm@gnu.org>
17007 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17008 temp-buffers (2009-09-12).
17010 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17012 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17013 the new read-key function.
17015 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17017 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17018 is defined (Bug#4405).
17020 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17022 * recentf.el (recentf-cleanup): Use a hash table to find
17023 duplicates (Bug#4407).
17025 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17027 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17028 kp-0 to ascii equivalents (Bug#4325).
17030 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17032 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17034 * eshell/em-hist.el:
17035 * eshell/em-dirs.el (eshell-complete-user-reference):
17036 Declare pcomplete functions and variables to avoid compiler warnings.
17038 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17040 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17041 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17042 * eshell/em-alias.el (eshell-aliases-file):
17043 * eshell/em-hist.el (eshell-history-file-name):
17044 Use expand-file-name instead of concat to make file names (Bug#4308).
17046 2009-09-13 Glenn Morris <rgm@gnu.org>
17048 * ediff-merg.el (ediff-do-merge):
17049 * filesets.el (filesets-run-cmd):
17050 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17051 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17052 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17053 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17054 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17055 Replace empty `let's with `progn'.
17057 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17059 * mail/sendmail.el (send-mail-function):
17060 * tooltip.el (tooltip-mode):
17061 * simple.el (transient-mark-mode):
17062 * rfn-eshadow.el (file-name-shadow-mode):
17063 * frame.el (blink-cursor-mode):
17064 * font-core.el (global-font-lock-mode):
17065 * files.el (temporary-file-directory)
17066 (small-temporary-file-directory, auto-save-file-name-transforms):
17067 * epa-hook.el (auto-encryption-mode):
17068 * composite.el (global-auto-composition-mode):
17069 Use custom-initialize-delay.
17070 * startup.el (command-line): Don't explicitly call
17071 custom-reevaluate-setting for all the above vars.
17072 * custom.el (custom-initialize-safe-set)
17073 (custom-initialize-safe-default): Delete.
17075 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17077 * term/x-win.el (x-initialize-window-system):
17078 * term/w32-win.el (w32-initialize-window-system):
17079 * term/ns-win.el (ns-initialize-window-system): Don't call
17080 mouse-wheel-mode since it's enabled globally by default already.
17082 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17083 actually define the variable, but only silences the byte-compiler.
17084 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17085 before looking it up.
17086 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17089 2009-09-12 Glenn Morris <rgm@gnu.org>
17091 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17093 (elint-add-required-env): Don't beep on error.
17094 (elint-forms): In case of error, return ENV unchanged.
17095 (elint-init-env): Skip non-list forms.
17096 (elint-log): Handle unknown file positions.
17098 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17100 * epg.el (epg-make-context): Add autoload cookie.
17101 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17102 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17103 (epg-verify-string, epg-start-sign, epg-sign-file)
17104 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17105 (epg-encrypt-string, epg-start-export-keys)
17106 (epg-export-keys-to-file, epg-export-keys-to-string)
17107 (epg-start-import-keys, epg-import-keys-from-file)
17108 (epg-import-keys-from-string, epg-start-receive-keys)
17109 (epg-receive-keys, epg-import-keys-from-server)
17110 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17111 (epg-sign-keys, epg-start-generate-key)
17112 (epg-generate-key-from-file, epg-generate-key-from-string):
17113 Remove autoload cookie.
17115 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17117 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17118 reevaluation of trash-directory.
17120 * mwheel.el: Fix last change.
17121 (mouse-wheel-mode): New defvar.
17122 (mouse-wheel-mode): Remove autoload cookie.
17124 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17126 * mwheel.el (mwheel-installed-bindings): New var.
17127 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17128 the bindings we set last time. Use custom-initialize-delay.
17129 * loadup.el: Load mwheel after term/*-win.el.
17130 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17131 and mouse-wheel-up-event now that their first evaluation is done
17132 sufficiently late to be correct.
17134 * startup.el (tutorial-directory): Make it a defcustom.
17135 Use custom-initialize-delay rather than eval-at-startup to set it.
17136 * image.el (image-load-path): Make it a defcustom.
17137 Use custom-initialize-delay rather than eval-at-startup to set it.
17138 * subr.el (eval-at-startup): Remove.
17139 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17141 * subr.el (do-after-load-evaluation): Warn the user after loading an
17144 2009-09-12 Glenn Morris <rgm@gnu.org>
17146 * proced.el (proced-mark-alt): Remove alias.
17147 (proced-mode-map): Remove proced-mark-alt.
17149 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17150 Elint file and directory. Remove initialization entry.
17152 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17154 (elint-current-buffer): Set mode-line-process.
17155 (elint-init-env): Handle define-derived-mode.
17156 Fix declare-function with unspecified arglist. Guard against odd
17157 defalias statements (eg iso-insert's 8859-1-map).
17158 (elint-add-required-env): Use a temp buffer.
17159 (elint-form): Just print the function/macro name, not the whole form.
17160 Return env unchanged if we fail to parse a macro.
17161 (elint-forms): Guard against parse errors.
17162 (elint-output): New function, to handle batch mode.
17163 (elint-log-message): Add optional argument. Use elint-output.
17164 (elint-set-mode-line): New function.
17166 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17168 * emacs-lisp/elp.el (elp-not-profilable): Add more
17169 functions (Bug#4233).
17171 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17173 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17174 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17176 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17178 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17179 (gdb-var-list-children): Use json parsing.
17181 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17183 * progmodes/js.el (js--proper-indentation): Handle the case where
17184 char-before is null. Reported by Deniz Dogan.
17186 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17188 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17190 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17192 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17193 (epg-digest-algorithm-alist): Add SHA224.
17194 (epg-context-set-passphrase-callback)
17195 (epg-context-set-progress-callback): Add description about
17198 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * custom.el (custom-delayed-init-variables): New var.
17201 (custom-initialize-delay): New function.
17202 * startup.el (command-line): "Re"evaluate all vars in
17203 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17204 explicitly any more.
17205 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17206 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17208 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17210 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17212 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17213 (gdb-var-update-handler): Use json parsing.
17215 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17217 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17218 decode annotated text, regardless of language environment. (Bug#2741)
17220 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17222 * Makefile.in (autoloads): Make rmail.el writable as well.
17224 2009-09-11 Glenn Morris <rgm@gnu.org>
17226 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17228 * dired.el: Regenerate with extracted autoloads.
17229 * Makefile.in (autoloads): Make dired.el writable.
17231 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17232 * ibuffer.el: Regenerate with extracted autoloads.
17233 * Makefile.in (autoloads): Make ibuffer.el writable.
17235 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17236 * version.el (emacs-copyright, emacs-major-version)
17237 (emacs-minor-version): Reformat doc-strings for make-docfile.
17239 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17240 functions and variables, since they must be stuff specific to some other
17242 (apropos-print): Make mouse-click message less specific about button.
17244 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17245 that records where a macro was defined.
17246 * help-fns.el (describe-function-1): Mention if a function has a
17248 * help-mode.el (help-function-cmacro): New button.
17250 * locate.el (top-level): Always require dired.
17251 (locate-mode-map): Initialize inside the defvar.
17253 * net/ange-ftp.el (dired-compress-file): Declare.
17254 (ange-ftp-dired-compress-file): Add doc string.
17256 * term/ns-win.el (x-display-name, x-setup-function-keys):
17257 Unify doc-strings with X versions.
17259 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17261 * emulation/crisp.el (crisp-mode-map): Move initialization
17263 (crisp-mode): Use define-minor-mode.
17265 * progmodes/xscheme.el (xscheme-evaluation-commands):
17266 Put a :advertised-binding property rather than using
17267 advertised-xscheme-send-previous-expression.
17268 (advertised-xscheme-send-previous-expression): Declare obsolete.
17269 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17271 (crisp-mode): Add corresponding bindings to
17272 undo's :advertised-binding instead.
17273 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17274 than using dired-advertised-find-file.
17275 (dired-advertised-find-file):
17276 * simple.el (advertised-undo):
17277 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17278 (widget-keymap): Put a :advertised-binding property rather
17279 than using advertised-widget-backward.
17280 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17281 than using advertised-undo.
17282 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17284 2009-09-10 Simon South <ssouth@slowcomputing.org>
17286 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17287 Mark mode is enabled and region is active; otherwise indent or
17288 insert TAB as usual.
17289 (delphi-mode): Update description of TAB-key binding.
17291 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17293 * subr.el (define-key-rebound-commands): Mark obsolete.
17294 * startup.el (precompute-menubar-bindings): Remove.
17295 (normal-top-level): Remove obsolete code that tried to precompute
17297 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17298 define-key-rebound-commands and precompute-menubar-bindings.
17300 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17302 * net/imap.el (imap-interactive-login): Better messages.
17303 (imap-open): Fix bug with renamed buffer on reconnect.
17304 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17305 for easier debugging and cleaner code. On successful (guessed based on
17306 server capabilities) secondary authentication, set imap-state
17308 (imap-last-authenticator): Define imap-last-authenticator as a variable
17311 2009-09-10 Glenn Morris <rgm@gnu.org>
17313 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17315 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17316 (byte-compile-file-form-autoload): Don't warn about unknown functions
17317 where the autoload statement comes after the use.
17318 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17319 that any handlers inside the body (eg require) are in turn respected.
17321 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17324 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17325 and syntax and abbrev tables basic docs, if they don't have any.
17327 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17329 * international/mule-cmds.el (top-level): Require cl when compiling.
17330 (view-hello-file): Use default-value rather than
17331 default-enable-multibyte-characters.
17333 * progmodes/fortran.el: Move all safe and risky properties into the
17336 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17337 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17338 * mail/undigest.el:
17339 Put autoloads in rmail.el rather than loaddefs.el.
17340 * mail/rmail.el: Regenerate with extracted autoloads.
17342 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17343 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17345 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17347 Reported in thread for Bug#4375.
17348 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17349 "-data-evaluate-expression" instead of print.
17350 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17351 (gdb-tooltip-print): Parse output from above MI command.
17352 (gdb): Revert 2009-08-11 change. User should detach inferior
17355 Remove the word "separate" from IO functions as inferior
17356 output is now never displayed in the GUD buffer.
17358 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17360 * startup.el (command-line-normalize-file-name): On Windows and
17361 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17363 2009-09-10 Juri Linkov <juri@jurta.org>
17365 * isearch.el (isearch-text-char-description): Propertize escape
17366 character sequences with the `escape-glyph' face. (Bug#4344)
17368 * simple.el (shell-command): Set asynchronous process filter to
17369 `comint-output-filter'. (Bug#4343)
17371 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17372 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17373 the list. Move "asm" to the bottom.
17374 (grep-find-ignored-directories): Add `choice' with nil value
17375 to empty the list easily.
17376 (grep-find-ignored-files): New option.
17377 (grep-files-history): Set to nil by default instead of '("ch" "el").
17378 (grep-compute-defaults): Add "<X>" to `grep-template'.
17379 (grep-read-files): Bind new local variables `default-alias' and
17380 `default-extension'. Use a list of default values for the file prompt.
17381 (lgrep): Add `--exclude=' command line options composed from
17382 `grep-find-ignored-files'.
17383 (rgrep): Add `-name' command line options composed from
17384 `grep-find-ignored-files'. (Bug#4301)
17386 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17388 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17391 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17393 * calendar/time-date.el (autoload):
17394 Expand define-obsolete-function-alias into defalias and make-obsolete
17395 for old Emacsen that Gnus supports.
17396 (with-no-warnings): Define it for old Emacsen.
17397 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17399 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17400 float-time is available; suppress compile warning for time-to-seconds.
17402 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17404 * net/imap.el (imap-message-map): Docstring fix.
17406 2009-09-09 Glenn Morris <rgm@gnu.org>
17408 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17409 line numbers too. (Bug#4374)
17411 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17413 * smerge-mode.el (smerge-remove-props, smerge-refine):
17414 Use with-silent-modifications (bug#4342).
17416 * subr.el (with-silent-modifications): New macro.
17418 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17420 * files.el (top-level): Require `cl' when compiling.
17422 2009-09-07 Glenn Morris <rgm@gnu.org>
17424 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17426 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17427 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17429 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17431 * vc-git.el (vc-git-annotate-command): Use separator to parse
17432 arguments correctly.
17434 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17436 * proced.el (proced-mode): Doc fix.
17438 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17440 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17442 (tramp-do-file-attributes-with-ls): Check for file existence at
17444 (tramp-do-file-attributes-with-stat): Likewise.
17445 (tramp-convert-file-attributes): Return nil when attr is nil.
17447 2009-09-05 Glenn Morris <rgm@gnu.org>
17449 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17450 properties to this button.
17451 (diary-fancy-display): Don't extend the button to the final newline.
17452 (diary-fancy-display-mode): Continue to define "q" as a local key.
17454 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17457 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17459 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17460 (byte-compile-dest-file-function): New option.
17461 (byte-compile-dest-file): Doc fix.
17462 Obey byte-compile-dest-file-function.
17463 (byte-compile-cl-file-p): New function.
17464 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17465 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17466 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17467 than for file being previously loaded.
17468 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17469 (byte-compile-file-form-require): Handle the case where requiring a file
17470 indirectly causes CL to be loaded.
17472 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17474 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17475 before killing the old buffer, since by the time `kill-buffer' is
17476 run so many buffer variables have been set to nil that it may not
17477 behave as expected. (Bug#4061)
17479 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17481 * files.el (find-alternate-file): If the old buffer is modified
17482 and visiting a file, behave similarly to `kill-buffer' when
17483 killing it, thus reverting to the pre-1.878 behavior; see
17484 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17485 for discussion. Also, consult `buffer-file-name' as a variable
17486 not as a function, for consistency with the rest of the code.
17488 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17490 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17491 also when adding a new directory.
17493 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17496 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * files.el (locate-file-completion-table): Make it provide boundary
17499 information, so partial-completion works better.
17501 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17503 * mail/footnote.el (Footnote-text-under-cursor):
17504 Check footnote-text-marker-alist before using it (bug#4324).
17506 2009-09-04 Glenn Morris <rgm@gnu.org>
17508 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17509 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17510 * play/solitaire.el, play/tetris.el:
17511 Remove leading * from defcustom and defface docs.
17513 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17515 (diary-fancy-overriding-map): New variable.
17516 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17519 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17522 2009-09-03 Glenn Morris <rgm@gnu.org>
17524 * arc-mode.el (archive-mode):
17525 * dos-fns.el (set-default-process-coding-system):
17526 * man.el (Man-getpage-in-background):
17527 * menu-bar.el (menu-bar-describe-menu):
17528 * server.el (server-process-filter):
17529 * startup.el (command-line):
17530 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17531 * w32-fns.el (set-default-process-coding-system):
17532 * x-dnd.el (x-dnd-handle-file-name):
17533 * international/mule-cmds.el (mule-menu-keymap)
17534 (set-default-coding-systems, language-info-alist, set-language-info)
17535 (set-language-environment, standard-display-european-internal)
17536 (set-locale-environment):
17537 * international/mule-diag.el (mule-diag):
17538 * mail/emacsbug.el (report-emacs-bug):
17539 * mail/rmail.el (rmail-mode):
17540 * mail/sendmail.el (mail-setup):
17541 Use default-value rather than default-enable-multibyte-characters.
17543 * progmodes/f90.el: Move all safe properties into the defcustoms.
17544 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17546 * calendar/appt.el (appt-check):
17547 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17548 (diary-check-diary-file, diary-list-entries)
17549 (diary-include-other-diary-files, diary-simple-display)
17550 (diary-fancy-display, diary-print-entries)
17551 (diary-mark-included-diary-files, diary-make-entry):
17552 Don't call substitute-in-file-name on diary-file.
17554 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17555 Stefan Monnier <monnier@iro.umontreal.ca>
17557 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17558 (footnote-mode-map): Move initialization into the declaration.
17559 (footnote-minor-mode-map): Define it rather than changing global-map.
17560 (footnote-mode): Use define-minor-mode.
17562 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17564 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17565 (tramp-do-file-attributes-with-perl)
17566 (tramp-do-file-attributes-with-stat): Rename from
17567 `tramp-handle-file-attributes-with-*'.
17568 (tramp-handle-file-attributes): Use them.
17569 (tramp-do-directory-files-and-attributes-with-perl)
17570 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17571 `tramp-handle-directory-files-and-attributes-with-*'.
17572 (tramp-handle-directory-files-and-attributes): Use them.
17573 (tramp-method-out-of-band-p): Additional parameter SIZE.
17574 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17575 (tramp-handle-write-region): Use it.
17576 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17577 (tramp-handle-vc-registered): Check, whether the first run did
17578 return files to be tested.
17579 (tramp-advice-make-auto-save-file-name): Do not call directly
17580 `tramp-handle-make-auto-save-file-name', because this would bypass
17581 the locking mechanism.
17583 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17584 (file-remote-p, process-file, start-file-process, set-file-times)
17585 (tramp-compat-file-attributes): Compatibility functions shall not
17586 call directly `tramp-handle-*', because this would bypass the
17588 (tramp-compat-number-sequence): New defun.
17590 2009-09-02 Glenn Morris <rgm@gnu.org>
17592 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17593 alias for float-time.
17594 (time-to-number-of-days): In Emacs, use float-time.
17595 * net/newst-backend.el (time-add): Suppress warnings from compat
17597 * time.el (emacs-uptime, emacs-init-time):
17598 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17599 Use float-time rather than time-to-seconds.
17601 * minibuffer.el (completion-initials-expand): Fix typo.
17603 * faces.el (modeline, modeline-inactive, modeline-highlight)
17604 (modeline-buffer-id):
17605 * info.el (info-menu-5): Mark these face aliases as obsolete.
17607 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17609 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17611 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17612 no "--thread" option.
17613 (gdb-stopped): Don't print "Switched to thread" message when it is
17616 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * minibuffer.el (completion-try-completion)
17619 (completion-all-completions): Remove ill-defined (and
17620 mistakenly installed and luckily never used nor documented)
17621 `completion-styles' property.
17622 (completion-initials-expand, completion-initials-all-completions)
17623 (completion-initials-try-completion): New functions.
17624 (completion-styles-alist): Add doc to each entry.
17625 Add new `initials' entry.
17627 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17629 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17630 MI command -var-evaluate-expression.
17631 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17632 and tweak for case of string child.
17633 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17635 2009-09-01 Glenn Morris <rgm@gnu.org>
17637 * add-log.el (change-log-date-face, change-log-name-face)
17638 (change-log-email-face, change-log-file-face, change-log-list-face)
17639 (change-log-conditionals-face, change-log-function-face)
17640 (change-log-acknowledgement-face):
17641 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17642 (custom-modified-face, custom-set-face, custom-changed-face)
17643 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17644 (custom-documentation-face, custom-state-face, custom-comment-face)
17645 (custom-comment-tag-face, custom-variable-tag-face)
17646 (custom-variable-button-face, custom-face-tag-face)
17647 (custom-group-tag-face-1, custom-group-tag-face):
17648 * diff-mode.el (diff-header-face, diff-file-header-face)
17649 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17650 (diff-added-face, diff-changed-face, diff-function-face)
17651 (diff-context-face, diff-nonexistent-face):
17652 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17653 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17654 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17655 (Info-title-4-face):
17656 * isearch.el (isearch-lazy-highlight-face):
17657 * log-view.el (log-view-file-face, log-view-message-face):
17658 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17659 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17660 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17662 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17663 (smerge-base-face, smerge-markers-face):
17664 * wid-edit.el (widget-documentation-face, widget-button-face)
17665 (widget-field-face, widget-single-line-field-face)
17666 (widget-inactive-face, widget-button-pressed-face):
17667 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17668 (woman-addition-face):
17669 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17670 (eshell-ls-executable-face, eshell-ls-readonly-face)
17671 (eshell-ls-unreadable-face, eshell-ls-special-face)
17672 (eshell-ls-missing-face, eshell-ls-archive-face)
17673 (eshell-ls-backup-face, eshell-ls-product-face)
17674 (eshell-ls-clutter-face):
17675 * eshell/em-prompt.el (eshell-prompt-face):
17676 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17677 * obsolete/old-whitespace.el (whitespace-highlight-face):
17678 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17679 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17680 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17681 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17682 (antlr-font-lock-literal-face):
17683 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17684 (ebrowse-root-class-face, ebrowse-file-name-face)
17685 (ebrowse-default-face, ebrowse-member-attribute-face)
17686 (ebrowse-member-class-face, ebrowse-progress-face):
17687 * progmodes/make-mode.el (makefile-space-face):
17688 * progmodes/sh-script.el (sh-heredoc-face):
17689 * textmodes/flyspell.el (flyspell-incorrect-face)
17690 (flyspell-duplicate-face):
17691 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17692 * textmodes/texinfo.el (texinfo-heading-face):
17693 Mark face aliases with "-face" suffix as obsolete.
17695 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17698 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17699 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17700 easy-menu-define wants to modify these.
17702 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17704 * net/browse-url.el (browse-url-file-url):
17705 * term/internal.el (dos-codepage-setup):
17706 Use default-value rather than default-enable-multibyte-characters.
17708 * progmodes/etags.el (etags-goto-tag-location):
17709 * progmodes/flymake.el (flymake-highlight-line)
17710 (flymake-goto-file-and-line, flymake-goto-line):
17711 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17712 (gdb-goto-breakpoint):
17713 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17714 * progmodes/python.el (python-find-function)
17715 (python-pdbtrack-track-stack-file):
17716 * progmodes/verilog-mode.el (verilog-surelint-off):
17717 * term/ns-win.el (ns-open-file-select-line):
17718 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17719 Use forward-line rather than goto-line.
17721 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17722 * textmodes/reftex-index.el (reftex-display-index):
17723 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17724 * textmodes/reftex-toc.el (reftex-toc):
17725 Remove unnecessary bindings of default-major-mode (all are followed by
17726 major-mode check and possible mode switch).
17728 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17730 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17731 Handle watchpoints (bug#4282).
17732 (def-gdb-thread-buffer-command): Enable thread to be selected by
17733 clicking without selecting threads buffer first.
17734 (gdb-current-context-command): Use selected frame so that "up",
17735 "down" etc work in the GUD buffer.
17736 (gdb-update): Find selected frame before rendering stack buffer.
17737 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17739 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17741 * progmodes/sym-comp.el (displayed-completions): Remove.
17742 (symbol-complete): Use minibuffer-complete.
17744 2009-08-31 Glenn Morris <rgm@gnu.org>
17746 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17748 * apropos.el (apropos-symbols-internal):
17749 Handle (obsolete) face aliases.
17751 * faces.el (describe-face): Adjust the output format to be more like
17752 describe-variable, and to mention (obsolete) face aliases.
17753 Adjust the whitespace so that help-setup-xref works.
17755 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17756 * calendar/diary-lib.el (diary-button-face):
17757 Mark these face aliases as obsolete.
17759 * calendar/calendar.el (calendar-today): Doc fix.
17761 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17763 * progmodes/gdb-mi.el (gdb-control-all-threads)
17764 (gdb-control-current-thread): Force tool bar update.
17765 (gdb-non-stop-handler): New function.
17766 (gdb-init-1): Use it to test if non-stop mode is supported.
17767 Remove unused gdbmi buffer type.
17769 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17771 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17772 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17774 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17776 * comint.el (comint-exec-1): Check command is non-null first.
17777 Part of gdb-mi.el change (2009-08-28).
17779 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17781 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17783 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17785 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17786 instead of `dolist' to avoid a recursive require when bootstrapping.
17788 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17790 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17792 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17794 * net/imap.el (imap-send-command): Simplify.
17795 (imap-wait-for-tag): point-max -> buffer-size.
17797 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17799 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17800 with constant argument.
17802 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17804 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17806 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17807 Change default, since most of our files don't have a history.
17808 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17811 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17814 * calc/calc.el: Improve commenting convention.
17815 (calc-digit-map, toplevel): Simplify.
17817 * comint.el (comint-insert-input): Be careful to only set point if we
17818 don't delegate to some other command.
17820 * proced.el (proced-signal-list): Make it an alist.
17821 (proced-grammar-alist): Capitalize names.
17822 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17823 Disable undo manually and make it read-only.
17824 Use completion-annotate-function.
17826 * minibuffer.el (minibuffer-message): If the current buffer is not
17827 a minibuffer, insert the message in the echo area rather than at the
17829 (completion-annotate-function): New variable.
17830 (minibuffer-completion-help): Use it.
17831 (completion--embedded-envvar-table): Environment vars are
17832 always case-sensitive.
17834 2009-08-30 Glenn Morris <rgm@gnu.org>
17836 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17837 from fortran-current-defun.
17838 (fortran-beginning-of-subprogram): Be more precise about finding the
17839 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17840 (fortran-end-of-subprogram): Simplify.
17841 (fortran-current-defun): Use fortran-start-prog-re.
17843 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17845 * subr.el (do-after-load-evaluation): Simplify.
17847 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17849 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17851 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17852 (vc-rcs-print-log): Use it.
17854 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17856 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17858 * paths.el (abbrev-file-name): Move to abbrev.el.
17859 * abbrev.el (abbrev-file-name): Move from paths.el.
17860 Obey user-emacs-directory.
17861 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17862 user-emacs-directory.
17863 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17864 abbrev-file-name and calc-settings-file any more.
17865 * startup.el (command-line): Recompute abbrev-file-name and
17866 abbreviated-home-dir.
17867 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17868 of the special code for when C-h bindings haven't been changed.
17869 (display-startup-echo-area-message): Use with-current-buffer.
17870 (command-line-1): Use a list of strings, rather than a list of lists
17871 of strings for longopts.
17873 * files.el (get-free-disk-space): Use / for default-directory.
17875 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17876 Use with-current-buffer.
17878 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17879 Recognize immutable variables like most-positive-fixnum.
17880 (byte-compile-setq-default): Check and warn if trying to assign
17881 to an immutable variable, or a non-variable.
17883 * progmodes/cc-vars.el (c-comment-continuation-stars):
17884 * progmodes/cc-engine.el (c-looking-at-bos):
17885 * progmodes/cc-cmds.el (c-toggle-auto-state)
17886 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17887 (c-comment-line-break-function): Add version of obsolescence.
17889 2009-08-28 Juri Linkov <juri@jurta.org>
17891 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17892 associated with `archive-mode'.
17894 * image.el (image-type-header-regexps): Use only JPEG magic number
17895 to determine JPEG images, and don't use `image-jpeg-p' because
17896 Emacs can display non-JFIF non-Exif JPEG images.
17898 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17900 * arc-mode.el (archive-mode):
17901 * emacs-lisp/re-builder.el (re-builder-unload-function):
17902 Protect against the default value of `major-mode' being nil.
17904 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17906 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17907 Fix typos in docstrings.
17909 * progmodes/js.el (js--macro-decl-re): Doc fix.
17910 (js--plain-method-re, js--split-name): Refloc docstring.
17911 (js--class-styles, js--make-merged-item, js--splice-into-items):
17912 Fix typos in docstrings; reflow docstrings.
17913 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17914 (js--variable-decl-matcher, js--inside-pitem-p)
17915 (js--parse-state-at-point, js--get-all-known-symbols)
17916 (js--symbol-history, js-find-symbol, js--js-references)
17917 (js--moz-interactor, js--js-encode-value, js--read-tab):
17918 Fix typos in docstrings.
17920 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * textmodes/reftex.el (reftex-get-file-buffer-force):
17923 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17924 * emulation/viper.el (viper-go-away, viper-set-hooks):
17925 * emacs-lisp/re-builder.el (re-builder-unload-function):
17926 * emacs-lisp/bytecomp.el (byte-compile-file):
17927 * ses.el (ses-unload-function):
17928 * hexl.el (hexl-find-file):
17929 * files.el (normal-mode):
17930 * ehelp.el (with-electric-help):
17931 * autoinsert.el (auto-insert-alist):
17932 * arc-mode.el (archive-mode):
17933 Use (default-value 'major-mode) instead of default-major-mode.
17935 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17936 * international/mule.el (load-with-code-conversion):
17937 * emacs-lisp/debug.el (debug):
17938 * ediff-vers.el (ediff-rcs-get-output-buffer):
17939 * dired.el (dired-internal-noselect): Don't let-bind
17940 default-major-mode around code that doesn't use it.
17941 E.g. buffer creation via get-buffer-create doesn't use it.
17943 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17945 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17946 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17947 when writing the temp file. Otherwise, epa-file gets confused.
17948 (tramp-register-file-name-handlers): Make it a defun. Move also
17949 `epa-file-handler' to the front of `file-name-handler-alist'.
17951 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17953 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17954 start right after a ^M.
17955 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17956 (tramp-completion-file-name-regexp-separate)
17957 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17958 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17959 Don't modify last-coding-system-used by accident.
17960 (tramp-completion-file-name-handler): Apply the checks here,
17961 instead during registration.
17962 (tramp-register-file-name-handlers): Rename from
17963 `tramp-register-file-name-handler'. Register both
17964 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17965 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17967 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17969 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17970 Remove variable ...
17971 (gdb-init-1, gdb-display-separate-io-buffer)
17972 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17974 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17975 (gdb-inferior-filter): Use comint-output-filter to stop
17976 echoing and remove ^M characters.
17978 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17980 * emulation/viper-init.el (viper-restore-cursor-type):
17981 * emulation/cua-base.el (cua--update-indications):
17982 Replace default-cursor-type with (default-value 'cursor-type).
17984 * mail/sendmail.el (mail-recover-1):
17985 * international/mule-diag.el (describe-current-coding-system-briefly)
17986 (describe-current-coding-system):
17987 * international/mule-cmds.el (select-safe-coding-system)
17988 (select-message-coding-system)
17989 (set-language-environment-coding-systems, set-locale-environment):
17990 * hexl.el (hexl-insert-multibyte-char):
17991 * dos-w32.el (find-buffer-file-type-coding-system):
17992 * simple.el (what-cursor-position):
17993 Replace uses of default-buffer-file-coding-system
17994 with (default-value 'buffer-file-coding-system).
17996 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17997 Replace uses of default-cursor-in-non-selected-windows
17998 with (default-value 'cursor-in-non-selected-windows).
17999 Use with-current-buffer.
18001 * mail/feedmail.el: Use CL macros.
18002 (feedmail-run-the-queue, feedmail-send-it-immediately):
18003 * dos-w32.el (find-buffer-file-type): Replace uses of
18004 default-buffer-file-type with (default-value 'buffer-file-type).
18006 2009-08-28 Glenn Morris <rgm@gnu.org>
18008 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18009 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18010 Use default-value of major-mode rather than default-major-mode.
18012 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18014 * Makefile.in (update-elcfiles): Report left over elc files.
18016 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18017 expand-file-name and with-current-buffer.
18018 (mail-get-names, mail-directory): Use with-current-buffer.
18020 * vc.el (vc-read-revision): New function.
18021 (vc-version-diff, vc-merge): Use it.
18023 2009-08-27 Sam Steingold <sds@gnu.org>
18025 * simple.el (kill-do-not-save-duplicates): New user option.
18026 (kill-new): When it is non-nil, and the new string is the same as
18027 the latest kill, set replace to t to avoid duplicates in kill-ring.
18029 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18031 * net/tramp.el (tramp-handle-process-file): Do not flush all
18032 caches when `process-file-side-effects' is set.
18033 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18034 instead of `tramp-find-file-exists-command'.
18035 Unset `process-file-side-effects'.
18037 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18039 * net/tramp.el (tramp-methods): New method "rsyncc".
18040 (top): Add completion function for "rsyncc".
18041 (tramp-message-show-message): New defvar.
18042 (tramp-message, tramp-error): Use it.
18043 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18045 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18046 `tramp-methods' entry `copy-env' of "rsyncc".
18047 (tramp-vc-registered-read-file-names): New defconst.
18048 (tramp-vc-registered-file-names): New defvar.
18049 (tramp-handle-vc-registered): Implement optimization strategy.
18050 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18051 (tramp-vc-file-name-handler): New defun.
18052 (tramp-get-ls-command, tramp-get-test-command)
18053 (tramp-get-file-exists-command, tramp-get-remote-ln)
18054 (tramp-get-remote-perl, tramp-get-remote-stat)
18055 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18057 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18058 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18060 (tramp-get-file-property): Check for timestamps in
18061 `tramp-cache-inhibit-cache'.
18062 (tramp-set-file-property): Write timestamp.
18064 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18066 * language/japan-util.el (japanese-symbol-table): Add entries for
18069 * international/characters.el: Add category `j' to cp932-2-byte.
18071 2009-08-27 Kenichi Handa <handa@m17n.org>
18073 * international/fontset.el (build-default-fontset-data): New macro.
18074 (setup-default-fontset): Use build-default-fontset-data for CJK,
18075 tibetan, ethiopic, and ipa.
18077 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18079 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18080 (enable-multibyte-characters): Not customizable any more.
18082 * subr.el (default-mode-line-format, default-header-line-format)
18083 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18084 (default-direction-reversed, default-truncate-lines)
18085 (default-left-margin, default-tab-width, default-case-fold-search)
18086 (default-left-margin-width, default-right-margin-width)
18087 (default-left-fringe-width, default-right-fringe-width)
18088 (default-fringes-outside-margins, default-scroll-bar-width)
18089 (default-vertical-scroll-bar, default-indicate-empty-lines)
18090 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18091 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18092 (default-scroll-down-aggressively, default-fill-column)
18093 (default-cursor-type, default-buffer-file-type)
18094 (default-cursor-in-non-selected-windows)
18095 (default-buffer-file-coding-system, default-major-mode)
18096 (default-enable-multibyte-characters): Mark as obsolete.
18098 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18100 * vc-dir.el (vc-dir-update): Remove debug helper.
18102 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18104 2009-08-26 Sam Steingold <sds@gnu.org>
18106 * simple.el (save-interprogram-paste-before-kill): New user option.
18107 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18108 save the interprogram-paste into kill-ring before overriding it
18109 with the Emacs kill.
18111 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18113 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18114 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18115 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18116 and move to vc-rcs.el.
18117 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18119 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18120 (vc-rcs-update-changelog): Remove.
18121 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18122 and move to vc-rcs.el.
18124 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18125 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18127 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18128 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18129 vc.el, renamed to be RCS specific.
18131 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18133 (vc-cvs-update-changelog): Move here from vc.el.
18135 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18138 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18140 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18142 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18144 * vc-git.el (vc-git-register): Use "git add" for directories.
18145 (vc-git-stash, vc-git-stash-show): New functions.
18146 (vc-git-extra-menu-map): Bind them.
18148 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18149 directory correctly in case the item is a directory itself.
18151 * vc.el: Document the desired behavior for reverted files in the
18153 (vc-default-prettify-state-info): Remove function, unused.
18155 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18157 2009-08-26 Glenn Morris <rgm@gnu.org>
18159 * bindings.el (standard-mode-line-format): Reposition dashes in
18160 which-func entry. (Bug#4217)
18162 * files.el (enable-local-variables, enable-local-eval)
18163 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18165 (auto-mode-alist, ignored-local-variables)
18166 (save-some-buffers-action-alist): Move risky declarations to the
18168 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18169 (font-lock-defaults, format-alist, imenu--index-alist)
18170 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18171 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18172 (mode-line-modified, mode-line-mule-info, mode-line-position)
18173 (mode-line-process, mode-line-remote, outline-level)
18174 (parse-time-rules, rmail-output-file-alist)
18175 (special-display-buffer-names, vc-mode):
18176 Move risky declarations to the relevant files.
18177 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18178 (mode-line-modified, mode-line-process, mode-line-position)
18179 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18180 * font-core.el (font-lock-defaults):
18181 * format.el (format-alist):
18182 * vc-hooks.el (vc-mode):
18183 * window.el (special-display-buffer-names):
18184 * international/mule-cmds.el (input-method-alist):
18185 Define riskiness here (dumped file) rather than in files.el.
18186 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18187 * imenu.el (imenu-generic-expression, imenu--index-alist):
18188 * outline.el (outline-level):
18189 * time.el (display-time-string):
18190 * calendar/parse-time.el (parse-time-rules):
18191 * mail/rmailout.el (rmail-output-file-alist):
18192 Autoload riskiness here, rather than placing in files.el.
18194 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18196 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18198 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18200 * simple.el (process-file-side-effects): New defvar.
18202 * dired-aux.el (dired-show-file-type):
18203 * vc.el (vc-diff-internal):
18204 * vc-arch.el (vc-arch-diff):
18205 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18206 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18207 * vc-git.el (vc-git-registered, vc-git-working-revision)
18208 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18209 (vc-git--empty-db-p):
18210 * vc-hooks.el (vc-user-login-name):
18211 * vc-svn.el (vc-svn-registered, vc-svn-state)
18212 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18213 * progmodes/grep.el (grep-probe): Let-bind
18214 `process-file-side-effects' with nil.
18216 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18218 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18219 daemon. Replace ping by checking for running service for bluez
18220 and zeroconf. (Bug#4239)
18222 2009-08-25 Kevin Ryde <user42@zip.com.au>
18224 * net/dig.el (dig): Add autoload cookie.
18226 2009-08-25 Glenn Morris <rgm@gnu.org>
18228 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18229 load-history for absolute file-names.
18230 (byte-compile-file-form-require): Warn about use of the cl package.
18232 * format.el (format-alist): Doc fix.
18234 * play/bubbles.el (top-level): Don't require cl at run-time.
18236 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18239 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18241 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18243 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18245 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18247 * calc/calc-alg.el (math-trig-rewrite)
18248 (math-hyperbolic-trig-rewrite): New functions.
18249 (calc-simplify): Simplify trig functions when asked.
18251 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18253 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18255 2009-08-24 Kenichi Handa <handa@m17n.org>
18257 * language/ind-util.el (mapthread): Delete it.
18258 (combinatorial): New function.
18259 (indian--puthash-cv): Use combinatorial instead of mapthread.
18261 2009-08-22 Kevin Ryde <user42@zip.com.au>
18263 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18264 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18265 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18266 Clarify docstring that the value is strings not symbols.
18267 (checkdoc-list-of-strings-p): New function.
18269 2009-08-22 Glenn Morris <rgm@gnu.org>
18271 * files.el (auto-mode-alist):
18272 * hippie-exp.el (he-concat-directory-file-name):
18273 * lpr.el (lpr-windows-system, printer-name):
18274 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18275 * ps-print.el (ps-windows-system):
18276 * startup.el (command-line):
18277 * emulation/viper-ex.el (viper-glob-function):
18278 * international/mule-cmds.el (set-language-environment-coding-systems):
18279 * net/ange-ftp.el (ange-ftp-write-region):
18280 * obsolete/fast-lock.el (fast-lock-cache-name):
18281 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18282 unisoft-unix, vax-vms, win32, w32.
18284 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18285 given name if the pattern is not more specific.
18287 * calendar/lunar.el (lunar-phase-names): New option.
18288 (lunar-phase): Doc fix.
18289 (lunar-cycles-per-year): New constant.
18290 (lunar-index): New function.
18291 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18292 (lunar-phase-name): Use lunar-phase-names.
18293 (calendar-lunar-phases): Use format.
18294 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18296 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18297 Copy imenu-example--name-and-position function here for own use.
18298 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18300 * bs.el (bs--redisplay):
18301 * cus-edit.el (custom-redraw):
18302 * ibuffer.el (ibuffer-bury-buffer):
18303 * server.el (server-goto-line-column):
18304 * startup.el (command-line-1):
18305 * strokes.el (strokes-xpm-for-stroke):
18306 * term.el (term-display-buffer-line):
18307 * view.el (View-goto-line):
18308 * calc/calc.el (calc-do, calc-trail-buffer):
18309 * play/gamegrid.el (gamegrid-add-score-insecure):
18310 * progmodes/ada-mode.el (ada-compile-goto-error):
18311 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18312 (ebrowse-select-1st-to-9nth):
18313 * progmodes/cperl-mode.el (cperl-time-fontification):
18314 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18315 * progmodes/gud.el (gud-display-line):
18316 (idlwave-shell-display-line):
18317 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18318 * progmodes/make-mode.el (makefile-browser-toggle):
18319 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18320 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18321 * textmodes/picture.el (picture-draw-rectangle):
18322 * textmodes/reftex-index.el (reftex-index-goto-letter):
18323 (reftex-select-jump-to-previous):
18324 * textmodes/reftex-sel.el (reftex-find-start-point)
18325 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18326 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18327 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18328 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18329 * textmodes/two-column.el (2C-associated-buffer):
18330 Use forward-line rather than goto-line.
18332 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18335 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18336 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18337 (quick-check-list-to-regexp): Declare.
18339 * progmodes/make-mode.el (makefile-browser-insert-selection):
18340 Use goto-char rather than goto-line.
18342 * progmodes/prolog.el (compilation-error-regexp-alist)
18343 (compilation-forget-errors): Declare.
18345 2009-08-22 Juri Linkov <juri@jurta.org>
18347 * progmodes/grep.el (lgrep, rgrep): At the beginning
18348 set `dir' to `default-directory' unless `dir' is a non-nil
18349 readable directory. (Bug#4052)
18350 (lgrep, rgrep): Change a weird way to report an error
18351 from using `read-string' to using `error'.
18352 Instead of using interactive arguments in the function body,
18353 add new argument `confirm'.
18355 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18357 * textmodes/remember.el (remember-buffer):
18358 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18359 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18360 (icalendar-extract-ical-from-buffer):
18361 * net/newst-treeview.el (newsticker-groups-filename):
18362 * net/newst-backend.el (newsticker-cache-filename):
18363 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18364 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18365 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18366 (speedbar-buffers-line-path, speedbar-path-line)
18367 (speedbar-buffers-line-path):
18368 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18370 * epa.el (epa-display-verify-result):
18371 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18373 2009-08-21 Glenn Morris <rgm@gnu.org>
18375 * progmodes/js.el (inferior-moz-process): Fix declaration.
18377 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18379 * obsolete/rnewspost.el (news-mail-reply):
18380 Use goto-char rather than goto-line.
18382 * term/ns-win.el (ns-open-file-select-line):
18383 Use line-beginning-position rather than goto-line.
18385 * apropos.el (apropos-command):
18386 * ehelp.el (electric-helpify):
18387 * printing.el (pr-show-setup):
18388 * strokes.el (strokes-help):
18389 * tutorial.el (tutorial--describe-nonstandard-key)
18390 (tutorial--detailed-help):
18391 * woman.el (woman-mini-help, woman-display-extended-fonts):
18392 * calc/calc-help.el (calc-describe-key):
18393 * emulation/edt.el (edt-electric-helpify):
18394 * international/mule-diag.el (mule-diag):
18395 * play/yow.el (apropos-zippy):
18396 * progmodes/python.el (python-describe-symbol):
18397 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18398 * textmodes/table.el (*table--cell-describe-mode)
18399 (*table--cell-describe-bindings):
18400 Use help-print-return-message rather than the now obsolete alias.
18402 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18403 (calendar-cursor-to-visible-date):
18404 * play/5x5.el (5x5-position-cursor):
18405 * play/decipher.el (decipher):
18406 * play/gomoku.el (gomoku-goto-xy):
18407 * play/landmark.el (lm-goto-xy):
18408 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18409 (mpuz-paint-digit):
18410 Use forward-line, not goto-line.
18412 * mail/rmail.el (rmail-obsolete): Delete custom group.
18413 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18414 (rmail-remote-password, rmail-remote-password-required):
18415 Remove unneeded :set-after and :set properties.
18417 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18419 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18421 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18423 * loadup.el: Remove leftover macos code.
18425 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18426 Explicitly pass the date format to git blame so that user local
18427 so that the output format can be parsed.
18429 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18431 * net/dbus.el (top): Don't check for (getenv
18432 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18434 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18436 * log-edit.el (log-edit-strip-single-file-name): New var.
18437 (log-edit-insert-changelog): Use it. Bug#3571
18439 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18441 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18444 * help.el (help-print-return-message): Rename from
18445 print-help-return-message.
18447 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18448 cvs-mode-map parent hack.
18449 (log-view-mode): Derive from special-mode.
18451 * linum.el (linum-mode): window-size-change-functions is redundant.
18452 Adapt to new window-configuration-change-hook behavior.
18453 (linum-after-size, linum-after-config): Remove.
18455 * imenu.el (imenu-example--name-and-position)
18456 (imenu-example--lisp-extract-index-name)
18457 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18460 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18461 (inferior-prolog-mode): Use it.
18462 (inferior-prolog-load-file): Reset list of errors.
18464 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18466 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18468 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18470 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18472 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18473 is running already.
18475 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18477 * subr.el (listify-key-sequence-1): Use normal syntax since those
18478 integers are nowadays always represented by the same (positive) number
18480 (read-key-empty-map): New const.
18481 (read-key-delay): New var.
18482 (read-key): New function.
18483 (force-mode-line-update): Use with-current-buffer.
18484 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18485 (start-process-shell-command, start-file-process-shell-command):
18486 Discourage the use of command-args.
18488 2009-08-19 Glenn Morris <rgm@gnu.org>
18490 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18492 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18494 * simple.el (choose-completion-string): Don't rely on
18495 minibuffer-completing-file-name and ad-hoc checks to decide whether
18496 to continue completion or not.
18498 * minibuffer.el (minibuffer-hide-completions): New function.
18499 (completion--do-completion): Use it.
18500 (completions-annotations): New face.
18501 (completion--insert-strings): Use it.
18502 (completion-pcm--delim-wild-regex): Add docstring.
18503 (completion-pcm--string->pattern): Add support for 0-width delimiters
18504 in completion-pcm--delim-wild-regex.
18506 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18508 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18509 Remove unused var `buffer-modified-p'.
18511 * minibuffer.el (completion--do-completion): Move point for the #b001
18512 case as well (bug#4176).
18513 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18515 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18517 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18518 and :session buses.
18520 2009-08-18 Kenichi Handa <handa@m17n.org>
18522 * international/ucs-normalize.el (ucs-normalize-version):
18524 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18525 (utf-8-hfs): Make it perform normalization on encoding too.
18527 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18528 (sentence-end-without-space): Delete duplicated chars.
18529 (sentence-end-base): Likewise.
18531 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18532 (html-mode): Delete duplicated chars from sentence-end-base.
18534 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18535 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18537 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18539 * files.el (hack-one-local-variable): If the mode function is for
18540 a minor mode, pass it an argument (Bug#4148).
18542 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18544 * net/tramp.el (tramp-register-completion-file-name-handler):
18545 Check also for (member 'partial-completion completion-styles).
18547 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18549 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18552 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18554 * progmodes/cperl-mode.el: Merge upstream 6.2.
18555 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18556 (cperl-forward-re): Check cperl-brace-recursing.
18557 (cperl-highlight-charclass): New function.
18558 (cperl-find-pods-heres): Use it.
18559 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18560 (cperl-beautify-regexp-piece): Fix column calculation.
18561 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18562 (cperl-beautify-level): Don't process entire regexp.
18563 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18565 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18566 (cperl-init-faces): Build a list in the normal way.
18568 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18570 * calendar/parse-time.el (parse-time-string-chars): Save match
18573 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18575 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18576 (sql-product): Use it.
18577 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18578 (sql-set-product): Add completion.
18579 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18580 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18581 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18582 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18583 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18584 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18585 (sql-highlight-db2-keywords): Remove.
18586 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18587 (sql-highlight-product): Use derived-mode-p.
18588 (sql-set-sqli-buffer): Use with-current-buffer.
18589 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18592 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18594 * term.el: Fix commenting convention, turn comments into docstrings.
18596 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18598 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18600 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18602 * calendar/parse-time.el (parse-time-string-chars): Compute using
18603 character classes, to handle non-ascii characters (Bug#3190).
18605 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18607 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18608 another heredoc if the user adds another < (Bug#3226).
18610 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18611 Don't initialize based on window-system (Bug#4124).
18613 * facemenu.el (facemenu-read-color): Use a completion function
18614 that accepts any defined color, such as RGB triplets (Bug#3677).
18616 * files.el (get-free-disk-space): Change fallback default
18617 directory to /. Expand DIR argument before switching to fallback.
18618 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18620 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18622 * files.el (load-library): Doc fix.
18624 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18626 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18627 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18628 incremental search string.
18630 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18633 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18634 (ediff-merge-region-is-non-clash)
18635 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18636 Also check if the job is really a merge job.
18638 * ediff.el (ediff-current-file): New function.
18640 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18642 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18644 (js-insert-and-indent): Delete function.
18645 (js-mode-map): Don't bind keys to js-insert-and-indent.
18646 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18647 (js-end-of-defun): Rename from js--end-of-defun.
18648 (js-auto-indent-flag): Delete variable.
18650 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18652 * progmodes/js.el: Remove proclaim statement.
18653 Defvar which-func-imenu-joiner-function to silence compiler.
18655 * files.el (auto-mode-alist): Use js-mode for .js files.
18657 * progmodes/js2-mode.el: Remove file.
18659 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18661 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18663 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18665 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18666 Karl Landstrom <karl.landstrom@brgeight.se>
18668 * progmodes/js.el: New file.
18670 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18672 * timezone.el (timezone-parse-date): Add ability to understand ISO
18673 basic format (minimal separators) dates in addition to the
18674 already-supported extended format dates.
18676 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18678 * international/ucs-normalize.el: Add a `coding' file variable.
18680 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18682 2009-08-14 Sam Steingold <sds@gnu.org>
18684 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18686 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18688 * faces.el (help-argument-name): Define it here instead of
18689 help-fns.el, because in daemon mode help-fns.el may be loaded when
18690 faces are still uninitialized (Bug#1078).
18692 * help-fns.el (help-argument-name): Move defface to faces.el.
18694 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18696 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18697 create buffer with a pty but no process so that GDB can make the
18698 inferior the controlling process.
18700 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18702 * international/ucs-normalize.el: New file.
18704 2009-08-13 Richard Stallman <rms@gnu.org>
18706 * mail/rmail.el (rmail-get-attr-names):
18707 Accept an attribute header that is too short.
18709 * mail/rmail.el (rmail-forget-messages):
18710 Ignore nil elt in rmail-message-vector. Use dotimes.
18712 * progmodes/compile.el (compilation-goto-locus):
18713 Use next-error-move-function.
18715 * simple.el (next-error-move-function): New variable.
18717 2009-08-12 Juri Linkov <juri@jurta.org>
18719 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18720 always non-nil. (Bug#4052)
18722 * replace.el (read-regexp): Return empty string when
18723 `default-value' is nil.
18724 (keep-lines-read-args): Don't use empty string as the
18725 default value for `read-regexp'. (Bug#2495)
18727 2009-08-12 Juri Linkov <juri@jurta.org>
18729 * international/mule-cmds.el (ucs-insert): Change arguments
18730 from `arg' to `character', `count', `inherit' to be the same
18731 as in `insert-char'. Doc fix. (Bug#4039)
18733 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18735 2009-08-12 Juri Linkov <juri@jurta.org>
18737 * files-x.el: New file.
18739 * files.el: Move code that deals with adding/deleting
18740 file/directory-local variables to files-x.el.
18742 * Makefile.in (ELCFILES): Add files-x.elc.
18744 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18746 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18747 to use `goto-line'.
18748 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18750 (gdb-invalidate-disassembly): Do not refresh upon receiving
18751 'update signal. Instead, update all disassembly buffers only after
18753 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18754 (gdb-starting): Move -data-list-register-names...
18755 (gdb-stopped): ...here so it's sent when first thread stops.
18756 (gdb-registers-handler-custom): Do nothing if register names are
18759 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18760 from `gdb-mi.el' to avoid extra tangling.
18762 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18763 change which breaks `gud-def' definitions used in `gdb'.
18764 (gdb-update-gud-running): No extra fuss for updating frame number.
18766 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18768 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18769 (describe-language-environment-map, setup-language-environment-map)
18770 (set-coding-system-map): Move initialization into declaration.
18771 (set-language-info-alist): Last arg to define-key-after can be skipped.
18773 * international/quail.el (quail-completion-1): Simplify.
18774 (quail-define-rules): Use slightly more compact code.
18775 (quail-insert-decode-map): Propertize keys, compact columns.
18777 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18780 2009-08-10 Miles Bader <miles@gnu.org>
18782 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18783 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18784 (js2-instance-member, js2-private-member, js2-private-function-call)
18785 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18786 (js2-magic-paren, js2-external-variable):
18787 Remove "-face" suffix from face names.
18788 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18789 (js2-highlight-undeclared-vars, js2-peek-token)
18790 (js2-parse-function-params, js2-mode-show-errors)
18791 (js2-mode-show-warnings, js2-make-magic-delimiter)
18792 (js2-mode-highlight-magic-parens): Update to use new face names.
18794 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18796 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18797 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18799 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18801 * subr.el: Provide hashtable-print-readable.
18803 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18804 hs-c-like-adjust-block-beginning.
18805 (hs-hide-block-at-point): Stop hiding at the beginning of
18806 hs-block-end-regexp (Bug#700).
18808 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18810 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18812 (gdb-registers-handler-custom): Do not fail when register names
18815 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18817 * progmodes/gdb-mi.el (gdb-control-all-threads)
18818 (gdb-control-current-thread): Interactive setters for
18819 `gdb-gud-control-all-threads' to use in menu.
18820 (gdb-show-run-p): Show «Go» when process is not active.
18821 (gud-tool-bar-map): Add non-stop/A,T indicator.
18822 Uses gud/thread.xpm and gud/all.xpm.
18824 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18826 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18827 (nslookup-font-lock-keywords): Make it a variable.
18828 (net-utils-mode): New mode for viewing diagnostic network output.
18829 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18830 (net-utils-run-simple): New function.
18831 (ifconfig, iwconfig, netstat, arp, route): Use it.
18833 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18835 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18836 (gdb-memory-set-address, def-gdb-set-positive-number)
18837 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18838 after changing settings.
18839 (gdb-invalidate-disassembly): Update when first shown.
18840 (gdb-edit-locals-value): Fixed.
18841 (gdb-registers-handler-custom): Print registers in right order and
18842 allow changing register values (only for current thread yet).
18843 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18844 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18845 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18846 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18847 Thread info in mode name.
18848 (gdb-registers-mode-map): TAB to switch to locals.
18850 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18852 * mail/rmail.el (rmail-add-mbox-headers)
18853 (rmail-set-message-counters-counter): Search for
18854 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18856 2009-08-08 Glenn Morris <rgm@gnu.org>
18858 * Makefile.in (ELCFILES): Update.
18860 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18862 * mail/sendmail.el (mail-yank-original):
18863 Set buffer-file-coding-system from the one used by the message whose
18866 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18867 to "windows" when "pgnuplot" is used.
18868 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18869 Don't call accept-process-output if "pgnuplot" is used.
18870 (calc-graph-init): Don't send -display and -geometry to
18871 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18872 running "pgnuplot -V" with shell-command-to-string.
18874 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18877 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18879 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18882 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18884 * vc-dispatcher.el (vc-resynch-window): Update comment.
18886 * term.el (term-handle-ansi-escape): Add comments with the
18887 terminfo capabilities implemented.
18889 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18891 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18892 (gdb-var-create-handler): Rewritten using JSON parser.
18893 (gdb-propertize-header): Move earlier.
18894 (gdb-set-header): Remove to avoid duplication.
18895 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18896 Refresh disassembly buffers only after threads list have been
18898 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18901 2009-08-04 Juri Linkov <juri@jurta.org>
18903 * files.el: Commands to add/delete file/directory-local variables.
18904 (read-file-local-variable, read-file-local-variable-value)
18905 (read-file-local-variable-mode, modify-file-local-variable)
18906 (modify-file-local-variable-prop-line)
18907 (modify-dir-local-variable): New functions.
18908 (add-file-local-variable, delete-file-local-variable)
18909 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18910 (add-dir-local-variable, delete-dir-local-variable)
18911 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18912 (copy-dir-locals-to-file-locals-prop-line): New commands.
18914 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18916 * abbrev.el (insert-abbrev-table-description): Prettify output.
18917 Suggested by Karl Chen.
18919 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18921 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18922 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18923 (gdb-overlay-arrow-position, gdb-thread-position)
18924 (gdb-disassembly-position): Declare variables.
18925 (gdb-wait-for-pending): Function now.
18926 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18927 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18928 compilation goes smoothly.
18929 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18930 (gdb-non-stop-setting): New customization setting which replaces
18931 `gdb-non-stop' so changing it doesn't break active GDB session.
18932 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18933 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18934 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18935 (gdb-show-threads-by-default): New customization options.
18936 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18938 (gdb-get-buffer-create): Send buffers update signal when they are
18940 (gdb-invalidate-locals, gdb-invalidate-registers)
18941 (gdb-invalidate-breakpoints)
18942 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18943 (gdb-invalidate-memory): Accept update signal.
18944 (gdb-current-context-command): Use --frame option.
18945 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18946 Implement `gdb-frame-number' selection logic.
18947 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18948 whether to show GUD toolbar buttons.
18949 (gdb-thread-exited): Unselect current thread when it exits.
18950 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18951 (gdb-mark-line): Routine which sets overlay arrow or inverses
18952 video on fringeless displays.
18953 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18954 to build aligned columns of data in GDB buffers and set text
18955 properties line-by-line.
18956 (gdb-invalidate-breakpoints)
18957 (gdb-breakpoints-list-handler-custom)
18958 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18959 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18960 (gdb-registers-handler-custom): Align data columns.
18961 (gdb-locals-handler-custom): Now prints data like in variable
18963 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18964 Remove confusing buttons.
18965 (gdb-invalidate-threads): Append --frame.
18966 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18967 between breakpoints/threads buffers.
18968 (gdb-set-window-buffer): Now can ignore dedicated windows.
18969 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18970 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18971 (def-gdb-thread-buffer-gud-command): Replaces
18972 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18973 for fine thread control.
18974 (gdb-preempt-existing-or-display-buffer): New function used to
18975 display bound buffers without breaking window layout.
18976 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18977 (gdb-select-frame): New version of `gdb-frames-select' which now
18978 sets `gdb-frame-number' so commands may use --frame option instead
18979 of inner debugger state.
18980 (gdb-frame-handler): Do not set `gdb-frame-number'.
18981 (gdb-threads-mode-map): Select threads with mouse.
18983 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18984 avoid compilation warning.
18985 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18988 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18989 Argument `key' renamed to `buffer-type'.
18990 (gdb-current-context-buffer-name): Do not add thread info to
18991 buffer name when no thread is selected.
18992 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18993 command (bug 3794).
18994 (gdb-thread-selected): Handle `=thread-selected' notification.
18995 (gdb-wait-for-pending): New macro to deal with congestion problems.
18996 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18998 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18999 This fixes problem similar to one described in bug 3947.
19000 (gud-menu-map): More menu items.
19001 (gdb-init-1): Reset `gdb-thread-number' to nil.
19003 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19006 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19007 (gdb-current-context-command): Do not append --thread if
19008 `gdb-thread-number' is nil.
19009 (gdb-running-threads-count, gdb-stopped-threads-count):
19011 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19012 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19013 New customization options.
19014 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19016 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19017 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19018 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19019 set `gdb-thread-number' and update `gud-running' properly.
19020 (gdb-running): Update threads list when new threads appear.
19021 (gdb-stopped): Support non-stop operation and new thread switching
19023 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19024 (gdb-json-partial-output): New set of JSON routines.
19025 (def-gdb-auto-update-trigger): New `signal-list' optional
19027 (gdb-thread-list-handler-custom): Update `gud-running',
19028 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19029 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19030 (gdb-continue-thread, gdb-step-thread): New commands for fine
19031 thread execution control.
19032 (gud-menu-map): New menu items to switch non-stop options.
19033 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19034 (gdb-send): Mimic RET properly (bug 3794).
19036 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19037 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19039 (def-gdb-auto-update-handler): New nopreserve optional argument.
19040 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19042 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19043 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19044 (gdb-parent-mode): New mode to derive other GDB modes from.
19045 (gdb-display-disassembly-for-thread)
19046 (gdb-frame-disassembly-for-thread): New commands for threads
19049 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19050 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19051 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19052 (gdb-update): We now store all GDB buffers in a list so that they
19053 can be updated by traversing a list instead of calling invalidate
19054 triggers explicitly.
19055 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19056 pair for GDB buffer.
19057 (gdb-stack-buffer-name): Add thread information.
19058 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19059 handle pending triggers.
19060 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19061 (def-gdb-thread-buffer-simple-command)
19062 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19063 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19064 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19065 New commands which show buffers bound to thread.
19066 (gdb-stack-list-locals-regexp): Remove unused regexp.
19068 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19069 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19070 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19071 to (gud-comint-buffer) in *-buffer-name functions
19072 because (gdb-get-target-string) already does that.
19073 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19074 (gdb-changed-registers-handler): Rewritten without regexps.
19076 * progmodes/gdb-mi.el: Basic thread selection support.
19077 (gdb-thread-number): New variable.
19078 (gdb-current-context-command): New macro which adds --thread
19080 (gdb-threads-mode-map): Select thread with SPC.
19081 (gdb-thread-list-handler-custom): Mark current thread with overlay
19082 arrow. Synchronize GDB thread and Emacs thread.
19083 (gdb-select-thread): New command which selects current thread.
19084 (gdb-invalidate-frames, gdb-invalidate-locals)
19085 (gdb-invalidate-registers): Use --thread option.
19087 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19089 * net/tramp.el (top): Make check for tramp-gvfs loading more
19091 (tramp-handle-insert-file-contents): `unwind-protect' must be
19092 inside `with-parsed-tramp-file-name'.
19094 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19097 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19099 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19100 directory if CLASSPATH is not set.
19102 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19104 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19106 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19108 2009-08-02 Kevin Ryde <user42@zip.com.au>
19110 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19111 Update freshmeat link. Delete newsforge.com as it seems gone.
19113 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19115 * select.el (x-set-selection): Doc fix (Bug#4021).
19117 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19119 * help-fns.el (describe-variable): Treat list return values from
19120 dir-locals-find-file properly (Bug#4005).
19122 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19124 * net/tramp.el (tramp-debug-message): Print also microseconds.
19126 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19128 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19130 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19131 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19134 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19135 (tramp-get-file-property): Use it.
19137 * autorevert.el (auto-revert-handler):
19138 Allow `auto-revert-tail-mode' for remote files.
19140 2009-08-02 Jason Rumney <jasonr@gnu.org>
19142 * minibuffer.el (read-file-name): Treat confirm options to
19143 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19145 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19147 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19148 (font-lock-variable-name-face, font-lock-constant-face):
19149 Darken the colors for light backgrounds.
19151 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19153 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19154 month names. (Bug#3987)
19156 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19158 * simple.el (line-move-finish): Pass whole number to
19159 line-move-to-column.
19160 (line-move-visual): Perform hscroll to the recorded position.
19162 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19164 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19166 2009-07-29 Alan Mackenzie <acm@muc.de>
19168 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19170 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19172 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19173 (gdb-place-breakpoints): Use full path when setting breakpoints.
19175 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19177 * calc/calc.el (calc-mode-map): Add keybinding for
19178 `calc-transpose-lines'.
19180 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19182 * calc/calc-misc.el (calc-transpose-lines): New function.
19184 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19186 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19187 Simplify check for out-of-band methods.
19188 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19189 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19191 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19193 * vc-git.el (vc-git-checkin): Fix typo.
19195 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19197 * progmodes/js2-mode.el: New file.
19199 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19201 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19202 (gud-menu-map): Adjust tooltip accordingly.
19204 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19206 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19207 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19209 * add-log.el (change-log-mode-map): Add a menu.
19211 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19213 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19214 function returns nil.
19215 (dbus-handle-event): Handle special return value :ignore.
19216 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19218 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19220 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19223 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19227 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19229 * term/pc-win.el (x-display-name, x-colors)
19230 (x-select-enable-clipboard, x-select-text): Doc fix.
19232 * term/common-win.el (x-display-name, x-colors): Doc fix.
19234 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19235 (xw-defined-colors): Doc fix.
19237 * w32-fns.el (x-select-text, x-setup-function-keys)
19238 (x-get-selection, x-set-selection): Doc fix.
19240 * term/x-win.el (x-select-text, x-setup-function-keys)
19241 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19243 * select.el (x-set-selection): Doc fix.
19245 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19247 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19248 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19249 "IsNSSSupportAvailable" method is not available.
19250 Reported by Steve Youngs <steve@sxemacs.org>.
19252 2009-07-24 Kenichi Handa <handa@m17n.org>
19254 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19255 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19256 (build-unicode-category-table): Fix range checks.
19258 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19260 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19261 the buffer we try to sync is current when calling
19264 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19265 not show up to date files.
19267 2009-07-24 Glenn Morris <rgm@gnu.org>
19269 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19270 Add autoload cookies. If necessary, initialize.
19271 (elint-log): Handle non-file buffers.
19272 (elint-initialize): Add optional argument to reinitialize.
19273 (elint-find-builtin-variables): Save excursion.
19275 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19277 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19280 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19282 * vc.el (vc-print-log-internal): New function, split out from ...
19283 (vc-print-log): ... here.
19284 (vc-dir-move-to-goal-column): Declare.
19286 * vc-git.el (vc-git-add-signoff): New variable.
19287 (vc-git-checkin): Use it.
19288 (vc-git-toggle-signoff): New function.
19289 (vc-git-extra-menu-map): Bind it to menu.
19290 (vc-git--run-command-string): Accept a nil FILE argument.
19291 (vc-git-stash-list): New function.
19292 (vc-git-dir-extra-headers): Use it.
19294 2009-07-23 Glenn Morris <rgm@gnu.org>
19296 * help-fns.el (describe-variable): Describe ignored and risky local
19297 variables in a similar way to that in which we describe safe ones.
19299 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19300 (byte-compile-output-file-form, byte-compile-output-docform)
19301 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19302 Give some more local variables with common names a "bytecomp-" prefix,
19303 so as not to shadow things during compilation.
19304 * emacs-lisp/cl-macs.el (load-time-value)
19305 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19306 `outbuffer' to `bytecomp-outbuffer'.
19308 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19309 since the next two variables cover them automatically now.
19310 (elint-builtin-variables, elint-autoloaded-variables): New.
19311 (elint-unknown-builtin-args): Remove all members, since they can be
19312 parsed automatically now.
19313 (elint-extra-errors): New.
19314 (elint-env-add-env, elint-env-add-macro): Use cadr.
19315 (elint-current-buffer): Use or. Change final message.
19316 (elint-get-top-forms): Use line-end-position.
19317 (elint-init-env): Use cadr. Handle autoload, declare-function,
19319 (elint-add-required-env): Doc fix. Use or. Standardize error.
19320 (regexp-assoc): Remove unused function.
19321 (elint-top-form): Set elint-current-pos, to record the start of the
19322 top-level form, for compilation-mode.
19323 (elint-form): Trap errors in macro expansion. Use dolist.
19324 (elint-unbound-variable): Use elint-builtin-variables and
19325 elint-autoloaded-variables.
19326 (elint-get-args): Use cadr, or.
19327 (elint-check-cond-form): Use dolist, cadr.
19328 (elint-check-condition-case-form): Doc fix. Use cadr.
19329 Use elint-extra-errors.
19330 (elint-log): New function.
19331 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19332 Distinguish errors and warnings.
19333 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19334 Use a bytecomp-style format.
19335 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19336 (elint-get-log-buffer): Use compilation mode. Disable undo.
19337 Don't truncate lines.
19338 (elint-initialize): Set builtin and autoloaded variable lists.
19339 Only process elint-unknown-builtin-args if non-nil.
19340 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19342 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19344 2009-07-22 Kevin Ryde <user42@zip.com.au>
19346 * net/newst-backend.el (newsticker--parse-atom-1.0)
19347 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19348 (newsticker--parse-rss-1.0):
19349 * progmodes/idlwave.el (idlwave-mode):
19350 * progmodes/idlw-shell.el (idlwave-shell-mode):
19351 * progmodes/vera-mode.el (vera-mode):
19352 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19353 * progmodes/vhdl-mode.el (vhdl-mode):
19354 * textmodes/table.el (table-generate-source)
19355 (table--warn-incompatibility):
19356 Hyperlink urls in docstrings with URL `...'.
19358 2009-07-22 Glenn Morris <rgm@gnu.org>
19360 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19361 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19362 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19363 Remove leading * from defcustom docs.
19365 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19367 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19369 (list-load-path-shadows): Optionally, just return shadows as a string.
19371 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19373 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19375 * mail/rmailedit.el (rmail-edit-mode):
19376 Use auto-save-include-big-deletions.
19378 * mail/rmail.el (rmail-variables):
19379 Use auto-save-include-big-deletions.
19381 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19384 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19386 * calc/calc.el (calc-undo-length): New variable.
19387 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19389 2009-07-21 Richard Stallman <rms@gnu.org>
19391 * files.el (auto-save-mode): Handle buffer-save-size = -2
19394 2009-07-21 Glenn Morris <rgm@gnu.org>
19396 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19398 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19400 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19401 silence compiler. Instead...
19402 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19403 (ps-print-ensure-fontified): Update for above function name changes.
19405 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19406 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19407 silence compiler. Instead...
19408 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19409 (mh-show-buffer): Only define for compiler.
19410 (pr-mh-current-message): Update for above function name changes.
19412 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19414 (find-file-noselect, insert-file-1): Update for above change.
19416 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19418 * mail/mailclient.el (mailclient-send-it): Fix message.
19420 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19421 (edebug-eval): Check cl-debug-env is bound.
19422 (print-level, print-circle): Don't redefine built-in variables.
19424 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19425 (custom-print-vectors): Remove old comments from doc.
19427 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19428 (emerge-version): Make the variable an obsolete alias for the
19429 emacs-version variable. Make the function obsolete.
19430 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19431 Emerge options, rather than merging in into the main Options menu.
19432 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19433 and auto advance modes. Disable edit/fast items when not relevant.
19435 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19437 * term/vt420.el (terminal-init-vt420): Fix typo.
19439 2009-07-20 Sam Steingold <sds@gnu.org>
19441 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19442 variable (removed from compile.el on 2004-03-11).
19444 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19446 * files.el (hack-local-variables-filter): Fix last change.
19448 2009-07-19 Juri Linkov <juri@jurta.org>
19450 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19451 (dir-local-variables-alist): New buffer-local variable.
19452 (hack-local-variables-filter): If variable is not dir-local,
19453 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19454 because file-local overrides dir-local.
19455 (c-postprocess-file-styles) <declare-function>:
19456 Remove obsolete declaration.
19457 (hack-dir-local-variables): Add dir-local variable/value pair to
19458 `dir-local-variables-alist' and remove duplicates. Doc fix.
19460 * help-fns.el (describe-variable): Add information about
19461 file-local and dir-local variables.
19463 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19465 * files.el (hack-local-variables-filter): Rewrite.
19467 2009-07-19 Glenn Morris <rgm@gnu.org>
19469 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19470 Silence compiler by only defining on XEmacs.
19472 * international/mule.el (auto-coding-regexp-alist): Only match
19473 BABYL... at the start of buffer, not of lines. (Bug#3790)
19475 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19476 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19477 (cal-menu-context-mouse-menu): Doc fix.
19479 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19481 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19483 2009-07-18 Juri Linkov <juri@jurta.org>
19485 * info.el: Virtual Info keyword finder.
19486 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19487 (Info-finder-file): New variable.
19488 (Info-finder-find-file): New function.
19489 (finder-known-keywords, finder-package-info)
19490 (find-library-name, lm-commentary): Use defvar and
19491 declare-function to silence compiler warnings.
19492 (Info-finder-find-node): New function.
19493 (info-finder): New command.
19495 * subr.el (process-kill-buffer-query-function): New function.
19496 (add-hook)<kill-buffer-query-functions>: Add hook
19497 `process-kill-buffer-query-function'.
19499 2009-07-18 Alan Mackenzie <acm@muc.de>
19501 * progmodes/cc-mode.el (c-before-hack-hook)
19502 (c-postprocess-file-styles): Give invocation of `c-set-style'
19503 DONT-OVERRIDE parameter of t. Already set style variables will
19504 thus not be overridden by style settings given by `c-file-syle'.
19506 * files.el (hack-local-variables-filter): Remove entries with
19507 duplicate keys from `file-local-variables-alist'.
19509 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19511 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19512 x-set-selection if display-selections-p returns nil for the
19515 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19517 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19519 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19521 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19522 Accept nil in addition to a regexp.
19523 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19524 Accept nil in addition to a regexp.
19525 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19526 buffers that have an associated file. Handle nil values of
19527 desktop-buffers-not-to-save and desktop-files-not-to-save.
19530 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19531 (x-disown-selection-internal): New functions.
19533 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19535 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19537 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19538 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19540 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19542 * simple.el (set-mark): Revert last change.
19544 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19546 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19547 rendering of pngs is not possible instead of messaging a long
19550 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19552 * w32-fns.el (x-selection-owner-p): New function.
19554 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19555 (mouse-yank-at-click, mouse-yank-primary):
19556 If select-active-regions is non-nil, deactivate the mark before
19559 * simple.el (deactivate-mark, set-mark): Only save selection if we
19562 2009-07-17 Kenichi Handa <handa@m17n.org>
19564 * case-table.el (describe-buffer-case-table): Fix for the case
19565 that KEY is a cons.
19567 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19569 * vc-rcs.el (vc-rcs-find-file-hook):
19570 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19572 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19574 * net/tramp.el (tramp-wait-for-output): Handle the case when
19575 commands do not return a newline but a null byte before the shell
19578 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19580 * term/ns-win.el (ns-set-alpha): Don't declare.
19581 (ns-set-background-alpha): Remove function.
19583 2009-07-16 Kevin Ryde <user42@zip.com.au>
19585 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19586 y-or-n-p, for safety.
19588 2009-07-16 Richard Stallman <rms@gnu.org>
19590 * files.el (auto-save-mode): If buffer-saved-size is -2,
19593 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19594 (rmail-retry-ignored-headers): Add more uninteresting fields.
19596 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19598 * net/rcirc.el (rcirc): Use history variables.
19599 (rcirc-server-name-history, rcirc-nick-name-history)
19600 (rcirc-server-port-history): New variables.
19602 2009-07-15 Kenichi Handa <handa@m17n.org>
19604 * international/mule-cmds.el (set-language-environment-charset):
19605 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19608 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19609 Delete unibyte-display.
19611 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19613 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19615 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19617 * simple.el (deactivate-mark): Optional argument FORCE.
19618 (set-mark): Use deactivate-mark.
19620 * info.el (Info-search): No need to check transient-mark-mode
19621 before calling deactivate-mark.
19623 * select.el (x-set-selection): Doc fix.
19624 (x-valid-simple-selection-p): Allow buffer values.
19625 (xselect--selection-bounds): Handle buffer values.
19626 Suggested by David De La Harpe Golden.
19628 * mouse.el (mouse-set-region, mouse-drag-track):
19629 Call copy-region-as-kill before setting the mark, to let
19630 select-active-regions work.
19632 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19634 * simple.el (deactivate-mark): If select-active-regions is
19635 non-nil, copy the selection data into a string.
19636 (activate-mark): If select-active-regions is non-nil, set the
19637 selection to the current buffer.
19638 (set-mark): Update selection if select-active-regions is non-nil.
19640 * select.el (x-valid-simple-selection-p): Allow buffer values.
19642 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19644 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19645 and more featureful message-mode.
19647 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19649 * select.el (x-set-selection): Doc fix.
19650 (x-valid-simple-selection-p): Disallow selection data consisting
19651 of a list or cons of integers, since that is not used.
19652 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19653 (xselect-convert-to-string, xselect-convert-to-length)
19654 (xselect-convert-to-filename, xselect-convert-to-charpos)
19655 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19657 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19659 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19660 output in -break-info command (Emacs bug #3794).
19662 2009-07-14 Glenn Morris <rgm@gnu.org>
19664 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19665 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19666 (edebug-print-length, edebug-print-level, edebug-print-circle)
19667 (edebug-sit-for-seconds, edebug-view-outside)
19668 (edebug-bounce-point, edebug-set-global-break-condition)
19669 (edebug-Go-nonstop-mode, edebug-trace-mode)
19670 (edebug-Trace-fast-mode, edebug-continue-mode)
19671 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19672 (edebug-visit-eval-list): Doc fixes.
19674 * subr.el (def-edebug-spec): Doc fix.
19676 2009-07-14 Kenichi Handa <handa@m17n.org>
19678 * international/characters.el: Fix setting of category ?C.
19680 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19682 * term/ns-win.el (x-select-font): defalias x-select-font to
19683 ns-popup-font-panel instead of generate-fontset-menu.
19685 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19687 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19689 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19691 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19692 the PK\003\004 header (Bug#3770).
19694 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19696 * pcomplete.el (pcomplete-comint-setup): Check for
19697 shell-dynamic-complete-filename too.
19699 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19701 * simple.el (temporary-goal-column): Change the value for
19702 line-move-visual to a cons cell.
19703 (line-move-visual): Record or set the window hscroll, if
19704 necessary (Bug#3494).
19705 (line-move-1): Handle cons value of temporary-goal-column.
19707 2009-07-11 Kenichi Handa <handa@m17n.org>
19709 * international/mule-diag.el (describe-character-set): Don't show
19712 2009-07-10 Sam Steingold <sds@gnu.org>
19714 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19715 Omake sometimes indents the errors it prints, so allow all
19716 regexps to start with spaces.
19718 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19720 * cus-edit.el (customize-changed-options-previous-release):
19721 Bump value to 22.1. (Bug#3804)
19723 2009-07-08 Sam Steingold <sds@gnu.org>
19725 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19726 to be a cons cell (test . ignored-directory) to selectively ignore
19727 some directories depending on the location of the search.
19729 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19731 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19732 remote user is root, on the local host.
19733 (tramp-local-host-p): Either the local user or the remote user
19734 must be root. (Bug#3771)
19736 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19738 * progmodes/gdb-mi.el (gdb): Remove description of
19739 gdb-use-separate-io-buffer.
19740 (menu): Don't allow toggling of or enable
19741 gdb-use-separate-io-buffer from menubar.
19743 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19745 * mail/unrmail.el (unrmail): Make sure the message ends with two
19746 newlines (Bug#3769).
19748 2009-07-08 Glenn Morris <rgm@gnu.org>
19750 * calendar/calendar.el (calendar-current-date): Rework previous change.
19752 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19754 * calendar/calendar.el (calendar-current-date):
19755 Add an optional argument giving an offset from today.
19757 2009-07-08 Glenn Morris <rgm@gnu.org>
19759 * tutorial.el (tutorial--describe-nonstandard-key):
19760 Adjust the message for when a key has been unbound.
19761 (help-with-tutorial): Hide the arch-tag.
19763 2009-07-08 Kenichi Handa <handa@m17n.org>
19765 * international/fontset.el (setup-default-fontset): For each
19766 script, append (not set) font-specs.
19768 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19771 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19773 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19774 -data-list-register-names to ...
19775 (gdb-starting): ... here because GDB 7.0 requires execution to
19776 have started when using this MI command.
19777 (gdb-set-header): New function to distinguish select and
19778 unselected tabs in gdb buffers.
19779 (gdb-propertize-header): New macro that uses gdb-set-header.
19780 (gdb-breakpoints-header, gdb-locals-header): Use it.
19781 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19783 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19785 * Makefile.in (ELCFILES): Remove fadr.elc.
19787 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19789 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19790 may contain frame information, so `string-match' should be used.
19791 (gdb-update): Disassembly is invalidated through
19792 `gdb-get-selected-frame'.
19793 (gdb-pad-string): New function to pad string with spaces.
19794 (gdb-invalidate-disassembly): Invalidate only if the buffer
19796 (gdb-disassembly-handler-custom): Column alignment.
19797 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19799 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19801 (gdb-frame-handler): Match convention to for disassembly buffer
19803 (gdb-stack-list-frames-handler): Rewritten without regexps.
19804 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19805 not highlight breakpoints without line information.
19806 (gdb-input): Add trailing newline to command.
19808 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19810 (gdb-breakpoints-list-handler-custom): Replacement for
19811 `gdb-break-list-handler'. Using real parser instead of regexps
19813 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19814 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19815 to place breakpoints.
19816 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19818 (gdb-disassembly-handler-custom): Show overlay arrow.
19819 (gdb-disassembly-place-breakpoints): Show breakpoints in
19820 disassembly buffer.
19821 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19822 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19823 instead of parsing breakpoints buffer. Fixed old menu references
19828 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19829 (gdb-memory-address): New variable which holds top address of
19830 memory page shown in memory buffer.
19831 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19832 New customization variables.
19834 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19835 display the memory buffer.
19836 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19837 buffer display parameters.
19838 (def-gdb-memory-format, gdb-memory-format-binary)
19839 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19840 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19841 Functions for setting memory buffer format.
19842 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19843 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19844 unit size used in memory buffer.
19845 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19846 Switch to next/previous page of memory buffer.
19847 Now using (bindat-get-field) instead of fadr functions.
19849 2009-07-07 Sam Steingold <sds@gnu.org>
19851 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19852 non-top-level files.
19854 2009-07-07 Kenichi Handa <handa@m17n.org>
19856 * international/mule-cmds.el (reset-language-environment):
19857 Put the highset priority to the charset iso-8859-1.
19859 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19861 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19862 to the end of the line when locating the block (Bug#700).
19864 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19866 * net/tramp.el (tramp-handle-write-region): Flush file properties
19867 in case of short track.
19869 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19871 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19872 Coded custom representation of verilog error regular expressions
19873 to work with Emacs-22's new format.
19874 (verilog-error-regexp-xemacs-alist): Coded custom representation
19875 of verilog error regular expressions to work with XEmacs format.
19876 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19877 error recognition into XEmacs.
19878 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19879 error recognition into Emacs-22.
19881 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19883 * woman.el: Remove stand-alone closing parentheses.
19884 (woman-file-name, woman2-format-paragraphs)
19885 (woman-leave-blank-lines): Code cleanup.
19886 (woman-use-own-frame): Change default to nil.
19887 (woman-italic, woman-bold, woman-unknown, woman-addition):
19888 Change defaults to inherit from default faces.
19889 (woman2-process-escapes): Consume the newline after a stand-alone
19890 filler character (Bug#3651).
19892 2009-07-06 Glenn Morris <rgm@gnu.org>
19894 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19895 (top-level): Move provide to the end.
19896 (ffap): Remove defunct URL from custom group.
19898 * subr.el (eval-after-load): Doc fix.
19900 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19902 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19903 `calc-embedded-word' is called twice.
19905 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19907 * files.el (find-alternate-file-other-window, find-alternate-file):
19908 Obey confirm-nonexistent-file-or-buffer.
19910 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19912 * dired-aux.el (dired-show-file-type): Handle remote files.
19914 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19916 * desktop.el (desktop-globals-to-save):
19917 Add file-name-history (Bug#2750).
19919 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19921 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19923 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19925 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19926 property on entire argument since this is what eshell-lisp-command
19929 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19931 * net/tramp-gvfs.el (tramp-gvfs-methods)
19932 (tramp-gvfs-zeroconf-domain)
19933 (tramp-bluez-discover-devices-timeout): Add version flag.
19934 (tramp-gvfs-handler-mounted-unmounted)
19935 (tramp-gvfs-connection-mounted-p): Polish handling of
19936 incompatibilities between GVFS 0.2 and 1.0.
19938 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19940 * cus-start.el (all): Add make-pointer-invisible.
19942 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19944 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19945 formatted correctly.
19947 2009-07-02 Juri Linkov <juri@jurta.org>
19949 * info.el: Virtual Info files and nodes.
19950 (Info-virtual-files, Info-virtual-nodes): New variables.
19951 (Info-current-node-virtual): New variable.
19952 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19954 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19955 to check for a virtual file instead of checking a fixed list
19957 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19958 instead of ad-hoc processing of "dir" and (apropos history toc).
19959 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19960 instead of ad-hoc processing of "dir" and (apropos history toc).
19961 Reread a file when moving from a virtual node.
19962 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19963 (Info-directory-toc-nodes, Info-directory-find-file)
19964 (Info-directory-find-node): New functions.
19965 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19966 (Info-history): Move part of code to
19967 `Info-history-find-node'.
19968 (Info-history-toc-nodes, Info-history-find-file)
19969 (Info-history-find-node): New functions.
19970 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19971 (Info-toc): Move part of code to `Info-toc-find-node'.
19972 (Info-toc-find-node): New function.
19973 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19974 the current Info file name to references because now the node
19975 "*TOC*" belongs to the same Info manual.
19976 (Info-toc-build): Rename from `Info-build-toc'.
19977 (Info-toc-nodes): Rename input argument `file' to `filename'.
19978 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19979 instead of ad-hoc processing of ("dir" apropos history toc).
19980 (Info-index-nodes): Use Info-virtual-file-p
19981 to check for a virtual file instead of checking a fixed list
19983 (Info-index-node): Add check for `Info-current-node-virtual'.
19984 Raise `save-match-data' higher up the tree to contain
19985 `search-forward' too (bug fix).
19986 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19987 (Info-virtual-index-nodes): New variable.
19988 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19989 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19990 (Info-apropos-file, Info-apropos-nodes): New variables.
19991 (Info-apropos-toc-nodes, Info-apropos-find-file)
19992 (Info-apropos-find-node, Info-apropos-matches): New functions.
19993 (info-apropos): Move part of code to `Info-apropos-find-node' and
19994 `Info-apropos-matches'.
19995 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19996 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19997 for a virtual file instead of checking a fixed list of node names.
19999 * simple.el (async-shell-command): New command.
20001 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20003 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20004 instead of `mount-info'.
20006 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20008 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20009 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20011 2009-07-02 Kenichi Handa <handa@m17n.org>
20013 * international/mule.el (set-keyboard-coding-system): Force *-unix
20014 coding-system to avoid eol conversion.
20016 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20018 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20019 Add handler for `process-file', `shell-command' and
20020 `start-file-process'.
20021 (tramp-gvfs-handle-shell-command)
20022 (tramp-gvfs-handle-start-file-process)
20023 (tramp-gvfs-handle-process-file): New defuns.
20024 (tramp-synce-list-devices): Simplify check for existence of property.
20026 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20028 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20030 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20032 * language/korean.el (set-language-info-alist): Add korean-cp949,
20035 2009-07-01 Kenichi Handa <handa@m17n.org>
20037 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20039 * international/encoded-kb.el: Deleted.
20041 * international/mule.el (set-keyboard-coding-system): Perform the
20042 necessary setup here instead of calling encoded-kbd-setup-display.
20044 2009-07-01 Glenn Morris <rgm@gnu.org>
20046 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20048 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20050 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20052 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20054 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20055 Handle also the 'rename case, when setting file modes. (Bug#3712)
20056 (tramp-default-file-modes): Remove execute permissions.
20058 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20059 (top): Add a default for "synce" in `tramp-default-user-alist'.
20060 Add completion function for "synce" method.
20061 (tramp-hal-service, tramp-hal-path-manager)
20062 (tramp-hal-interface-manager, tramp-hal-interface-device):
20064 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20065 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20068 * net/trampver.el: Update release number.
20070 2009-06-30 Kenichi Handa <handa@m17n.org>
20072 * international/fontset.el (setup-default-fontset): Add CJK fonts
20073 for symbols and the other miscellaneous characters.
20075 * language/korea-util.el (setup-korean-environment-internal):
20076 Make char-width-table suitable for Korean environments.
20077 (exit-korean-environment): Cancel above.
20079 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20080 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20081 setup-function to make char-width-table suitable for respective
20082 environments, and an exit-function to cancel that.
20084 * language/japan-util.el (setup-japanese-environment-internal):
20085 Call use-cjk-char-width-table with arg `ja_JP'.
20087 * international/characters.el (cjk-char-width-table): Delete it.
20088 (cjk-char-width-table-list): New variable.
20089 (use-cjk-char-width-table): New arg local-name.
20090 (use-default-char-width-table): Fix for the case that Emacs is
20091 already using the default char-width-table.
20093 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20095 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20096 modes mandatory. (Bug#3712)
20098 2009-06-29 Alan Mackenzie <acm@muc.de>
20100 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20101 correction between the visible width of TABs and their number of bytes.
20103 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20105 * server.el (server-buffer-done): Prevent kill-buffer from
20106 prompting by clearing the buffer modification flag (Bug#3696).
20108 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20110 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20111 (verilog-endcomment-reason-re): Support unique case and priority case.
20112 (verilog-basic-complete-re): Support localparam lineup.
20113 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20114 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20116 (verilog-leap-to-case-head): Now support *nested* unique &
20117 priority case statements.
20118 (verilog-auto-lineup): Make just declarations the default (as it
20120 (verilog-leap-to-case-head): Support priority/unique case statements.
20121 (verilog-auto-lineup): Rework to give users radio buttons to
20122 select the various styles of automatic lineup.
20123 (verilog-error-regexp-alist): Rework to support the XEmacs style
20124 of error regular expressions from compilers, lint tools &
20125 simulators. Note that GNU Emacs has made it impossible for a mode
20126 to load such things.
20127 (electric-verilog-terminate-line, verilog-indent-declaration)
20128 (verilog-auto-wiure): Rework for radio button selection of
20129 auto-lineup selection of specification of auto lineup.
20130 (verilog-beg-of-statement-1): Redesign to support proper operation
20131 in additional code, based on testing with auto-lineup.
20132 (verilog-calculate-indent, assignments & declarations)
20133 (verilog-backward-token): Enhance to support auto-lineup of
20134 assignments & declarations.
20135 (verilog-in-directive-p, verilog-at-struct-p): New function for
20136 easy test of whether we are.
20137 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20138 to support safe execution at almost anyline.
20139 (verilog-calc-1): Properly support indenting deep inside generate
20141 (verilog-init-font): Remove definition & use of verilog-init-font,
20142 as it is redundant with font-lock-defaults.
20143 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20144 to avoid circular calls if syntax-ppss is a function (as is the
20145 case now in 22.x GNU Emacs) as that function would sometimes call
20146 itself, leading to (nearly) infinite recursion.
20147 (verilog-ovm-begin-re, verilog-ovm-end-re)
20148 (verilog-ovm-statement-re, verilog-leap-to-head)
20149 (verilog-backward-token): Add support for OVM macros. Some are
20150 complete statements, and others open and close scopes like begin
20152 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20153 (verilog-defun-level-generate-only-re): Really fix the defun-list
20155 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20156 coverpoint, constraint and cross statements.
20157 (verilog-defun-level-list, verilog-generate-defun-level-list)
20158 (verilog-all-defun-level-list): Redo these specifications - it is
20159 too hard to support eval-when compile aggregation of lists also
20160 built at when-compile time.
20161 (verilog-defun-level-list): Place defconsts of variables used in
20162 building regular expressions which are built in eval-when-compile
20163 bodies in the same eval-when-compile body to facilitate compile
20165 (verilog-beg-block-re-ordered): Support indenting
20166 virtual/protected tasks and functions.
20167 (verilog-defun-level-list, verilog-in-generate-region-p)
20168 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20169 indentation of some module items (generate items).
20170 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20171 across virtual/protected tasks and functions.
20173 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20175 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20176 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20177 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20178 in concatenations. Reported by Yishay Belkind.
20179 (verilog-auto-ascii-enum): Support one-hot state machines in
20180 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20181 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20182 modport in AUTOINST and add vl-modport for users.
20183 Reported by David Rogoff.
20184 (verilog-auto-inout-module, verilog-auto-inst)
20185 (verilog-decls-get-interfaces, verilog-insert-definition)
20186 (verilog-insert-one-definition, verilog-read-decls)
20187 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20188 (verilog-sig-modport, verilog-signals-combine-bus)
20189 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20190 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20191 Suggested by David Rogoff.
20192 (verilog-repair-open-comma): Fix non-insertion of comma when
20193 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20194 (verilog-make-width-expression): Simplify [A-1:0] expression
20195 widths to just {A{1'b0}}.
20196 (verilog-mode): Cleanup checkdoc warnings.
20197 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20198 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20199 inputs/outputs or data type. Suggested by Vasu Kandadi.
20200 (next-error-last-buffer): Fix byte-compiler warning.
20201 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20202 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20203 or shell command text during AUTO expansion. Suggested by Tad Truex.
20204 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20205 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20206 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20207 in AUTOINOUT. Reported by Matthew Lovell.
20208 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20209 causing use of <= assignments. Reported by Alex Reed.
20210 (verilog-read-decls): Fix triand, trior, wand, wor to be
20211 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20212 (verilog-extended-complete-re): Support import "DPI-C" functions.
20213 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20214 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20215 (verilog-insert-date, verilog-insert-year)
20216 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20217 Windows systems. Reported by Michael Potts.
20218 (verilog-read-module-name): Fix AUTOINST when the child module
20219 declaration's name is a tick define. Reported by Elliot Mednick.
20220 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20221 passed to next parameter's definition. Reported by Bruce T.
20222 (verilog-read-decls): Fix detecting "parameter int" when using
20223 AUTOINSTPARAM. Reported by Bruce T.
20224 (verilog-goto-defun): Fix goto not finding modules unless first
20225 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20226 (verilog-mode): Expand -f flag arguments on entry to mode so
20227 verilog-goto-defun will work. Reported by Lawrence Butcher.
20228 (verilog-getopt): Expand environment variables in -f file
20229 arguments. Suggested by Lawrence Butcher.
20230 (verilog-set-define): Fix "Symbol's value as variable is void"
20231 when reading enumerations.
20232 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20233 Suggested by Stephen Peltan.
20234 (verilog-read-defines): Fix reading of enumerations in include
20235 files. Reported by Steve Peltan.
20237 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20239 * files.el (trash-directory): Fix defcustom type.
20241 2009-06-28 Juri Linkov <juri@jurta.org>
20243 * help-fns.el (describe-function-1): Correctly locate adviced
20244 functions in hyperlink (Bug#2438).
20246 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20248 * files.el (trash-directory): Change default to nil.
20249 (move-file-to-trash): If trash-directory is nil and
20250 system-move-file-to-trash is unbound, perform freedesktop-style
20253 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20255 * files.el (move-file-to-trash): Add freedesktop trash
20258 2009-06-28 Glenn Morris <rgm@gnu.org>
20260 * autorevert.el (global-auto-revert-non-file-buffers)
20261 (global-auto-revert-mode): Doc fixes.
20263 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20265 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20267 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20269 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20270 opened an X connection before calling x-get-resource (Bug#3194).
20272 * play/doctor.el: Remove reference to obsolete website.
20273 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20275 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20277 Remove find-file-not-found-hook VC method. (Bug#2757)
20278 * vc-hooks.el (vc-file-not-found-hook)
20279 (vc-default-find-file-not-found-hook): Remove functions.
20280 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20281 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20284 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20286 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20288 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20289 compatibility function for `looking-back'.
20291 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20292 Use `ispell-looking-back'.
20294 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20296 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20297 rather than `filename'.
20299 2009-06-23 Miles Bader <miles@gnu.org>
20301 * face-remap.el (text-scale-set): New function.
20303 2009-06-23 Glenn Morris <rgm@gnu.org>
20305 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20307 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20309 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20311 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20313 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20314 Simplify Persian conditionals.
20316 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20317 variable `filename'.
20319 * comint.el (comint-insert-input): Doc fix.
20321 * Makefile.in (ELCFILES): Fix typo in previous change.
20323 2009-06-23 Miles Bader <miles@gnu.org>
20325 * cus-start.el: Add entry for `recenter-redisplay'.
20327 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20329 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20330 Add an optional argument for the backend, use it instead of
20331 calling vc-backend.
20332 (vc-mode-line): Add an optional argument for the backend.
20333 Pass the backend to vc-state and vc-working-revision. Move code for
20334 special handling for vc-state being a buffer to ...
20336 * vc-rcs.el (vc-rcs-find-file-hook):
20337 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20339 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20340 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20341 vc-stay-local-p and vc-mode-line calls.
20343 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20344 (vc-cvs-diff, vc-cvs-annotate-command)
20345 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20346 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20347 vc-mode-line calls.
20349 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20351 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20352 backend when calling vc-mode-line.
20353 (vc-register): Do not create a closure for calling the vc register
20354 function, call it directly.
20356 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20358 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20359 to make it obvious item can be clicked.
20361 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20363 2009-06-23 Kenichi Handa <handa@m17n.org>
20365 * language/korea-util.el (korean-key-bindings): Change the binding
20366 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20369 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20371 Sync with Tramp 2.1.16.
20373 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20375 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20376 when a loading of a package fails. Completion function for rsync
20377 is `tramp-completion-function-alist-ssh'.
20378 (all): Replace all calls of `split-string' and
20379 `tramp-split-string' by `tramp-compat-split-string'.
20380 (tramp-default-method): Use `tramp-compat-process-running-p'.
20381 (tramp-default-proxies-alist): Allow also Lisp forms.
20382 (tramp-remote-path): Add choice "Private Directories".
20383 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20384 (tramp-domain-regexp): Allow also "-", "_" and ".".
20385 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20386 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20387 (tramp-debug-message): Insert header line in debug buffer.
20388 (tramp-handle-directory-files-and-attributes-with-stat):
20389 Care about filenames with spaces, or starting with "-".
20390 (tramp-handle-dired-uncache): New defun.
20391 (tramp-handle-insert-directory): Don't flush the directory from
20392 cache, this is handled by `dired-uncache' now.
20393 (tramp-handle-insert-file-contents): Improve error handling.
20394 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20395 Quote `tramp-end-of-output'.
20396 (tramp-action-password): Improve trace message.
20397 (tramp-check-for-regexp): Both echoes must be present, before removing.
20398 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20399 (tramp-compute-multi-hops): Eval cons cells of
20400 `tramp-default-proxies-alist'.
20401 (tramp-maybe-open-connection): Use the same command pattern for
20402 first hop and further hops.
20403 (tramp-wait-for-output): Remove handling of newlines.
20404 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20405 (tramp-split-string): Remove function. It is handled in
20408 * net/tramp-cmds.el (tramp-bug):
20409 Recommend `tramp-cleanup-all-connections' in the bug mail.
20411 * net/tramp-compat.el (tramp-compat-split-string)
20412 (tramp-compat-process-running-p): New defuns.
20414 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20415 for `dired-uncache'.
20417 * net/tramp-gvfs.el: New package.
20419 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20420 Add handler for `dired-uncache'.
20421 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20423 * net/trampver.el: Update release number. Make version check fit
20426 2009-06-22 Jim Meyering <meyering@redhat.com>
20428 Automatically handle .xz suffix (XZ-compressed files), too.
20429 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20430 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20432 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20433 Nick Roberts <nickrob@snap.net.nz>
20435 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20436 repository (http://sphinx.net.ru/hg/gdb-mi/).
20438 2009-06-22 Glenn Morris <rgm@gnu.org>
20440 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20441 `mode' and `eval' entries. (Bug#3430)
20443 * Makefile.in (ELCFILES): Add fadr.elc.
20445 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20446 differing behavior of \n and ^ in strings. (Bug#3385)
20448 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20450 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20452 (lisp-indent-function): Make it a defcustom.
20454 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20456 * progmodes/gdb-ui.el: Replace with ...
20457 * progmodes/gdb-mi.el: ... this file.
20458 * progmodes/gud.el: Modify for gdb-mi.el.
20460 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20462 * fadr.el: New file.
20464 See ChangeLog.14 for earlier changes.
20466 ;; Local Variables:
20470 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20472 This file is part of GNU Emacs.
20474 GNU Emacs is free software: you can redistribute it and/or modify
20475 it under the terms of the GNU General Public License as published by
20476 the Free Software Foundation, either version 3 of the License, or
20477 (at your option) any later version.
20479 GNU Emacs is distributed in the hope that it will be useful,
20480 but WITHOUT ANY WARRANTY; without even the implied warranty of
20481 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20482 GNU General Public License for more details.
20484 You should have received a copy of the GNU General Public License
20485 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.