1 2011-01-05 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
5 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
7 * allout.el: Reconcile with changes in line movement behavior for
8 long text lines that cross more than a single physical window
9 line, ie when truncate-lines is nil.
10 (allout-next-visible-heading): Provide for change in line-move
11 behavior on long lines when truncate-lines is nil. In that case,
12 line-move can wind up on the same textual line when it moves to
13 the next window line, and moving to the bullet position after the
14 move yields zero advancement. Add logic to detect and compensate
15 for the lack of progress.
16 (allout-current-topic-collapsed-p): move-end-of-line respect for
17 field boundaries is different when operating with body lines
18 shorter than window width versus ones greater than window width,
19 which can yield false negatives in this function. Avoid
20 difference by applying move-end-of-line while field-text-motion is
23 2011-01-04 Glenn Morris <rgm@gnu.org>
25 * textmodes/rst.el (rst-compile-toolsets):
26 Add pdf and s5 to option alist.
28 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
30 * net/dbus.el (dbus-register-property): Added optional parameter
31 dont-register-service. Updated docstring accordingly.
33 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
35 * textmodes/rst.el (rst-compile-pdf-preview)
36 (rst-compile-slides-preview): Remove extra line.
38 2011-01-04 Glenn Morris <rgm@gnu.org>
40 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
41 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
42 default to `prog' without a .py extension.
43 (rst-compile-pdf-preview, rst-compile-slides-preview):
44 Use program names from rst-compile-toolsets, rather than hard-coding.
45 (rst-portable-mark-active-p): Fix presumed typo.
47 2011-01-02 Eli Zaretskii <eliz@gnu.org>
49 * term/w32-win.el (dynamic-library-alist): Set up correctly for
50 libpng versions both before and after 1.4.0. (Bug#7716)
52 2011-01-02 Eli Zaretskii <eliz@gnu.org>
54 * time.el (display-time-mode): Mention display-time-interval in
55 the doc string. (Bug#7713)
57 2011-01-02 Kenichi Handa <handa@m17n.org>
59 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
60 condition-case and return an error message string if something
62 (rmail-show-mime): Adjust for the above change. Insert the
63 header by rmail-mime-insert-header.
65 2011-01-02 Kenichi Handa <handa@m17n.org>
67 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
68 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
69 (rmail-mime-mbox-buffer)
70 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
71 (rmail-mime-entity): Argument changed. All codes handling an
72 entity object are changed.
73 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
75 (rmail-mime-entity-children, rmail-mime-entity-handler)
76 (rmail-mime-entity-tagline): New functions.
77 (rmail-mime-message-p): New function.
78 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
79 (rmail-mime-entity-segment, rmail-mime-next-item)
80 (rmail-mime-previous-item, rmail-mime-shown-mode)
81 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
82 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
83 (rmail-mime-insert-tagline, rmail-mime-insert-header):
85 (rmail-mime-text-handler): Call rmail-mime-insert-text.
86 (rmail-mime-insert-decoded-text): New function.
87 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
88 (rmail-mime-insert-image): Argument changed. Caller changed.
89 (rmail-mime-image): Call rmail-mime-toggle-hidden.
90 (rmail-mime-set-bulk-data): New funciton.
91 (rmail-mime-insert-bulk): Argument changed.
92 (rmail-mime-multipart-handler): Return t.
93 (rmail-mime-process-multipart): Argument changed.
94 Handle "multipart/alternative" here.
95 (rmail-mime-process): Argument changed.
96 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
97 (rmail-mime-insert): Argument changed. Handle raw display mode.
98 (rmail-mime): Argument changed. Handle toggling of raw display
100 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
101 rmail-mime-view-buffer.
102 (rmail-insert-mime-forwarded-message): Likewise.
103 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
105 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
106 non-nil, handle the header in rmail-show-mime-function.
108 2011-01-02 Leo <sdl.web@gmail.com>
110 * help-fns.el (describe-variable): Fix previous change.
112 2011-01-02 Juri Linkov <juri@jurta.org>
114 * isearch.el (isearch-lazy-highlight-error): New variable.
115 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
116 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
117 to the current value of `isearch-error' (Bug#7468).
119 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
121 * help-fns.el (describe-variable): Don't emit trailing whitespace
124 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
126 * textmodes/rst.el (rst-compile-pdf-preview)
127 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
129 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
131 * emulation/edt-mapper.el: Override mapping of function keys so
132 that the later call to read-key-sequence works.
134 2011-01-02 Eli Zaretskii <eliz@gnu.org>
136 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
137 Unix EOLs. (Bug#7589)
139 2011-01-02 Leo <sdl.web@gmail.com>
141 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
142 if point is not behind eshell-last-output-end (Bug#7585).
144 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
146 * files.el (file-local-variables-alist):
147 Make permanent-local (bug#7767).
149 2011-01-02 Glenn Morris <rgm@gnu.org>
151 * version.el (emacs-copyright): Set short copyright year to 2011.
153 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
155 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
156 an existing temp buffer. (Bug#7746)
158 2011-01-02 Glenn Morris <rgm@gnu.org>
160 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
161 multiple addresses. (Bug#7760)
163 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
165 * allout.el (allout-auto-fill): Do not infinitely recurse - use
166 do-auto-fill if everything points back to allout-auto-fill.
167 (allout-mode-deactivate-hook): Declare obsolete, in favor of
168 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
170 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
172 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
175 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
177 * doc-view.el (doc-view-set-doc-type): New function refactored
179 (doc-view-fallback-mode): New function.
180 (doc-view-mode): Use it.
181 (doc-view-mode-maybe): New function that checks if doc-view-mode
182 can be used and falls back to the next best mode otherwise.
184 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
185 DVI, OpenDocument, and MS Office files.
187 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
189 * emacs-lisp/rx.el (rx-syntax): Fix typo.
191 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
193 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
194 on a copy of auto-mode-alist, because that deletes with side
197 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
199 * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
200 normal-mode without doc-view-mode bindings in auto-mode-alist as
201 fallback instead of hard coding fundamental mode.
203 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
205 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
206 Office) files also for searching.
208 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
210 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
211 Office) files. Not yet enabled via auto-mode-list.
212 (doc-view-unoconv-program): New custom variable.
213 (doc-view-mode-p): Handle new odf document type.
214 (doc-view-odf->pdf): New conversion function.
215 (doc-view-convert-current-doc): Call it for odf files.
216 (doc-view-mode): Recognize newly supported file extensions.
218 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
220 * net/tramp.el (tramp-default-method-alist)
221 (tramp-default-user-alist)
222 (tramp-local-host-regexp, tramp-prefix-domain-format)
223 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
230 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
231 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
233 2010-12-29 Karl Fogel <kfogel@red-bean.com>
235 * saveplace.el (save-place-alist-to-file): Save list sorted and
236 pretty-printed, so that it is mergeable by line-based text merging,
237 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
239 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
241 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
242 (allout-mode): Argument "toggle" => "force".
243 Refine the docstring.
244 Remove special provisions for reactivation, besides the 'force'
246 Consolidate layout provisions coce directly into the activation
247 condition branch, now that we've removed those provisions.
248 (allout-unload-function): Explicitly activate the mode before
249 deactivating, if it's initially deactivated.
250 (allout-set-buffer-multibyte): Properly prevent byte-compiler
251 warnings for version of function used only where
252 set-buffer-multibyte is unavailable.
254 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
256 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
257 are handled by the menu-bar entries. As before, don't use
258 :visibile to avoid changing the tool-bar.
260 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
262 * net/secrets.el (secrets-delete-alias): New defun.
264 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
266 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
267 methods, otherwise ~/.ssh/config would be ignored.
269 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
271 * emacs-lisp/rx.el: Make it a superset of sregex.
272 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
273 of args, add `regex' alias.
274 (rx-info): Add arg to distinguish head and standalone forms.
275 (rx-check, rx-form): Pass the corresponding arg.
277 (rx-repeat): Make it work for any number of args.
278 (rx-syntax): Make it accept syntax chars as is.
279 * obsolete/sregex.el: Move from emacs-lisp/.
280 * emacs-lisp/re-builder.el: Remove sregex support.
281 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
283 2010-12-25 Eli Zaretskii <eliz@gnu.org>
285 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
286 PRIMARY first, then the clipboard. (Bug#7699)
288 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
290 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
293 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
295 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
296 .emacs.elc (Bug#7530).
298 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
299 image spec (Bug#7480).
301 2010-12-21 Daiki Ueno <ueno@unixuser.org>
303 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
304 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
307 2010-12-20 Leo <sdl.web@gmail.com>
309 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
310 always be performed (Bug#7680).
312 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
314 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
315 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
318 * color.el: Move from gnus/.
320 * vc/diff.el (diff-better-file-name): Function deleted.
321 abbreviating file names causes problems with shell-quote-argument.
322 (diff-no-select): Just use expand-file-name.
324 * tool-bar.el (tool-bar--image-expression): New function.
325 (tool-bar-local-item, tool-bar--image-exp): Use it.
326 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
327 Use :enable instead of :visible to avoid changing the tool-bar
328 configuration unnecessarily.
330 * info.el (info-tool-bar-map): Add separators.
332 2010-12-17 Ken Brown <kbrown@cornell.edu>
334 * loadup.el: Use version numbers in Cygwin build.
336 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
338 * ido.el (ido-file-internal): Ask for confirmation before
339 overwriting an existing file (Bug#1238).
341 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
343 * tool-bar.el (tool-bar-setup): Add separators.
345 * menu-bar.el (featurep): Use menu-bar-separator.
347 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
349 Migrate allout encryption provisions from pgg to epg.
351 * allout.el (allout-toggle-current-subtree-encryption)
352 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
353 defaulting policy and other changes. Change fetch-pass to keymode-cue,
354 for simpler universal argument interpretation.
355 (allout-toggle-subtree-encryption): Adjust docstring to describe
356 changed encryption provisions. Change fetch-pass to keymode-cue, for
357 simpler universal argument interpretation. Remove provisions for
358 handling key type and identity - they'll all be within
359 allout-encrypt-string or epg/epg or even contained all the way in gpg.
360 (allout-encrypt-string): Include keymode-cue, for optionally prompting
361 for keypair recipients (universal argument > 1) and, in addition,
362 associating the specified recipients with the outline (universal
363 argument > 4) using a file local variable setting for
364 'epa-file-encrypt-to'.
365 Require epa, for recipients handling.
366 Change how regexp filtering elements are named.
367 Describe the problem with caching of incorrect symmetric-decryption
369 Use the epa-passphrase-callback-function, in case the user is using
371 Support saving of the selected keypair recipients when invoked with a
373 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
375 Establish epg-context with armoring and default epg-protocol.
376 Remove all passphrase cache, verification, and hinting code.
377 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
378 No longer used, delete.
379 (allout-mode): Adjust docstring to describe changed encryption
380 provisions. Describe the problem with caching of incorrect
381 symmetric-decryption keys.
382 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
383 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
384 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
385 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
388 2010-12-16 Daiki Ueno <ueno@unixuser.org>
390 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
391 key selection prompt; make 'silent as default (Bug#7487).
393 2010-12-16 Leo <sdl.web@gmail.com>
395 * eshell/eshell.el (eshell-directory-name): Use
396 locate-user-emacs-file (Bug#7578).
398 2010-12-15 Glenn Morris <rgm@gnu.org>
400 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
402 2010-12-15 Jari Aalto <jari.aalto@cante.net>
403 Scott Evans <gse@antisleep.com>
405 * rect.el (rectange--default-line-number-format)
406 (rectangle-number-line-callback): New functions.
407 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
409 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
411 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
412 Delete unused variables.
413 (move-to-column-force): Remove function obsolete since 21.2.
415 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
417 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
418 (tramp-handle-insert-file-contents): Do not set permanent-local
421 * net/tramp-cache.el (tramp-persistency-file-name): Use
422 `locate-user-emacs-file' if fboundp.
424 * net/tramp-sh.el (tramp-methods): Add "ksu".
425 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
428 2010-12-14 Glenn Morris <rgm@gnu.org>
430 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
431 (find-tag-marker-ring): Declare.
432 (js-find-symbol): Require etags.
434 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
436 (mail-alias-file): Don't autoload. Doc fix.
437 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
438 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
439 Mark as obsolete, and risky.
440 (mail-setup): Simplify.
442 * mail/mailalias.el (build-mail-aliases): Make it interactive.
443 * mail/sendmail.el (build-mail-aliases): Update autoload.
445 * dired.el (dired-trivial-filenames, dired-chown-program)
446 (dired-auto-revert-buffer): Remove autoload cookies.
447 * mail/sendmail.el (mail-recover-1): Require 'dired.
449 * dired.el (dired-subdir-switches, dired-chown-program)
450 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
451 Make into defcustoms.
452 (dired-chown-program): Simplify initialization.
454 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
456 2010-12-13 Romain Francoise <romain@orebokech.com>
458 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
460 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
462 * net/netrc.el (netrc-point-at-eol): Remove the unused
463 netrc-point-at-old and netrc-bound-and-true-p bindings.
464 (netrc-parse): Cache the netrc contents.
466 2010-12-13 Eli Zaretskii <eliz@gnu.org>
468 * subr.el (posn-col-row): Evaluate header-line-format in the
469 context of the POSITION window's buffer.
471 2010-12-13 Glenn Morris <rgm@gnu.org>
473 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
474 (with-silent-modifications): Doc fixes.
476 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
478 * net/tramp.el (tramp-action-password, tramp-process-actions):
479 Revert previous from. Use `save-restriction'.
481 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
483 * calendar/diary-lib.el (diary-list-sexp-entries):
484 Handle case of no newline at end of file. (Bug#7536)
486 2010-12-13 Glenn Morris <rgm@gnu.org>
488 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
490 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
492 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
493 (tramp-process-actions): Do not widen.
495 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
496 Protect buffer-modified value. (Bug#7557)
498 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
500 * log-edit.el (log-edit-changelog-entries):
501 Regexp quote filename. (Bug#7505)
503 2010-12-13 Tom Breton <tehom@panix.com>
505 * cus-edit.el (custom-save-all):
506 Bind print-length and print-level to nil. (Bug#7581)
508 2010-12-13 Glenn Morris <rgm@gnu.org>
510 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
511 Run hooks to update menu contents. (Bug#7586)
513 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
514 file names, for the sake of MS Windows. (Bug#7588)
516 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
518 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
519 empty lines without a leading space.
521 2010-12-13 Leo <sdl.web@gmail.com>
523 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
524 while mapping over marks (Bug#6810).
526 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
528 * image-dired.el (image-dired-db-file)
529 (image-dired-temp-image-file, image-dired-gallery-dir)
530 (image-dired-temp-rotate-image-file): Set default values relative
531 to image-dired-dir (Bug#7518).
533 2010-12-13 Lawrence Mitchell <wence@gmx.li>
535 * format.el (format-decode-run-method): Pass args FROM and TO, not
536 point-min and point-max, to shell-command-on-region (Bug#7488).
538 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
540 * frame.el (blink-cursor-mode): Make default t for ns.
542 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
544 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
546 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
548 * comint.el (comint-dynamic-list-input-ring)
549 (comint-dynamic-complete-filename)
550 (comint-replace-by-expanded-filename)
551 (comint-dynamic-simple-complete)
552 (comint-dynamic-list-filename-completions)
553 (comint-dynamic-list-completions): Doc fix (Bug#7499).
555 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
558 2010-12-13 Martin Rudalics <rudalics@gmx.at>
560 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
563 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
565 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
568 2010-12-13 Eli Zaretskii <eliz@gnu.org>
570 * files.el (file-relative-name): Handle UNC file names on
571 DOS/Windows. (Bug#4674)
573 2010-12-13 Daiki Ueno <ueno@unixuser.org>
575 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
576 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
577 (epg-context-set-passphrase-callback): Mention that the callback
578 is not called when used with GnuPG 2.x.
580 2010-12-13 Glenn Morris <rgm@gnu.org>
582 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
583 Ensure ps-footer-font-size-internal is initialized.
584 Call ps-get-page-dimensions before trying to use ps-font-for-text.
586 2010-12-13 Kenichi Handa <handa@m17n.org>
588 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
589 within condition-case.
590 (rmail-show-mime): Don't use condition-case.
591 (rmail-search-mime-message): New function.
592 (rmail-search-mime-message-function): Set to
593 rmail-search-mime-message.
595 2010-12-13 Leo <sdl.web@gmail.com>
597 * ido.el (ido-common-initialization): New function. (bug#3274)
599 (ido-completing-read): Call it.
601 2010-12-12 Karl Fogel <kfogel@red-bean.com>
603 * bookmark.el (bookmark-name-from-full-record): Rename back to
604 this original name from `bookmark-name-from-record' reverting part
605 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
606 As Drew Adams pointed out, there was no reason to cause churn for
609 2010-12-12 Alan Mackenzie <acm@muc.de>
611 * progmodes/cc-engine.el (c-forward-type): Before scanning a
612 template arglist, check that the current language supports this.
614 2010-12-11 Glenn Morris <rgm@gnu.org>
616 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
617 state of the file matches. (Bug#7544)
618 (vc-bzr-register, vc-bzr-checkin)
619 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
620 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
622 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
624 2010-12-11 Karel Klíč <kklic@redhat.com>
626 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
628 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
630 Derive from prog-mode, use derived-mode-p, and fix up various
631 minor style issues in lisp/progmodes.
633 * progmodes/vhdl-mode.el (vhdl-mode):
634 * progmodes/verilog-mode.el (verilog-mode):
635 * progmodes/vera-mode.el (vera-mode):
636 * progmodes/sql.el (sql-mode):
637 * progmodes/scheme.el (scheme-mode):
638 * progmodes/perl-mode.el (perl-mode):
639 * progmodes/octave-inf.el (inferior-octave-mode):
640 * progmodes/autoconf.el (autoconf-mode):
641 * progmodes/m4-mode.el (m4-mode):
642 * progmodes/inf-lisp.el (inferior-lisp-mode):
643 * progmodes/idlwave.el (idlwave-mode):
644 * progmodes/icon.el (icon-mode):
645 * progmodes/idlw-help.el (idlwave-help-mode):
646 * progmodes/dcl-mode.el (dcl-mode):
647 * progmodes/idlw-shell.el (idlwave-shell-mode):
648 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
649 (ebrowse-member-mode, ebrowse-electric-position-mode):
650 Use define-derived-mode.
652 * progmodes/xscheme.el (exit-scheme-interaction-mode)
653 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
654 (xscheme-debugger-mode-p, xscheme-send-string-1):
655 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
656 (tcl-load-file, tcl-restart-with-file):
657 * progmodes/ps-mode.el (ps-run-running):
658 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
659 * progmodes/js.el (js--get-all-known-symbols):
660 * progmodes/inf-lisp.el (inferior-lisp-proc):
661 * progmodes/idlwave.el (idlwave-beginning-of-statement)
662 (idlwave-template, idlwave-update-buffer-routine-info)
663 (idlwave-update-current-buffer-info)
664 (idlwave-get-routine-info-from-buffers, idlwave-choose)
665 (idlwave-scan-class-info, idlwave-fix-keywords)
666 (idlwave-list-buffer-load-path-shadows):
667 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
668 (idlwave-toolbar-remove):
669 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
670 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
671 (idlwave-shell-menu-def):
672 * progmodes/idlw-complete-structtag.el
673 (idlwave-prepare-structure-tag-completion):
674 * progmodes/gud.el (gud-set-buffer):
675 * progmodes/f90.el (f90-backslash-not-special):
676 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
678 * progmodes/xscheme.el (xscheme-start)
679 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
680 * progmodes/which-func.el (which-function):
681 * progmodes/vhdl-mode.el (vhdl-set-style):
682 * progmodes/verilog-mode.el (verilog-set-compile-command)
683 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
684 (verilog-set-define, verilog-auto-reeval-locals):
685 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
686 * progmodes/simula.el (simula-mode):
687 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
688 * progmodes/python.el (python-check, python-mode):
689 * progmodes/prolog.el (prolog-mode-variables):
690 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
691 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
692 * progmodes/delphi.el (delphi-mode):
693 * progmodes/cc-styles.el (c-setup-paragraph-variables):
694 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
695 (c-font-lock-init): Move make-local-variable to their setq.
697 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
698 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
700 * progmodes/sh-script.el (sh-require-final-newline): Remove.
701 (sh-set-shell): Don't set require-final-newline since it's already done
703 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
704 since we never set it.
705 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
706 Use read-string and standard prompt.
707 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
708 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
709 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
710 (meta-common-mode-map): Rename from meta-mode-map.
711 Remove C-m binding, which is a user preference, not mode specific.
712 (meta-common-mode): New major mode; replace meta-common-initialization.
713 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
714 around with font-lock.
715 * progmodes/etags.el (select-tags-table-mode):
716 Derive from special-mode.
717 * progmodes/octave-mod.el (octave-mode):
718 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
719 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
720 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
721 Let define-derived-mode do its job.
722 * progmodes/cpp.el (cpp-edit-mode-map):
723 Move initialization into declaration.
724 (cpp-edit-mode): Use define-derived-mode.
725 (cpp-edit-load): Use derived-mode-p.
726 * progmodes/mixal-mode.el (mixal-mode):
727 * progmodes/f90.el (f90-mode):
728 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
729 require-final-newline since prog-mode does it already.
730 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
731 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
732 * progmodes/antlr-mode.el: Require cc-mode upfront.
733 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
735 (antlr-directory-dependencies, antlr-show-makefile-rules):
737 (antlr-language-option): Don't assume point-min==1.
738 (antlr-mode): Use define-derived-mode.
739 * progmodes/ada-mode.el: Use derived-mode-p.
740 (ada-mode): Use define-derived-mode.
741 Use hack-local-variables-hook.
743 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
745 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
746 (texinfo-mode): Don't disable adaptive-fill-mode.
747 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
748 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
749 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
750 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
751 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
752 (texinfo-insert-@quotation, texinfo-insert-@samp)
753 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
754 (texinfo-insert-@uref): Use define-skeleton.
755 (texinfo-insert-@-with-arg): Delete.
757 2010-12-10 Eli Zaretskii <eliz@gnu.org>
759 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
760 nil, do quote archive member names. (Bug#6144)
762 2010-12-10 Glenn Morris <rgm@gnu.org>
764 * files.el (diff-no-select): Declare.
766 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
767 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
769 * comint.el (comint-input-ring-file-name): Doc fix.
771 2010-12-09 Eli Zaretskii <eliz@gnu.org>
773 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
775 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
776 Use them instead of `nil' and `>', respectively.
777 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
779 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
780 and menu-bar-positive-p instead of `nil' and `>', respectively.
783 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
785 * whitespace.el (whitespace-newline-mode): Code fix.
787 2010-12-09 Glenn Morris <rgm@gnu.org>
789 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
790 Rename functions without commas, update callers.
792 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
794 * whitespace.el (whitespace-cleanup-region):
795 Clean up spaces before tabs. (Bug#7582)
797 2010-12-08 Karl Fogel <kfogel@red-bean.com>
799 * bookmark.el: Adjust parameter names and doc strings to resolve
800 confusion over whether "bookmark" meant a bookmark name or a
801 bookmark record. Along the way, shorten one function's name for
802 similar reasons. (Issue #7548)
803 (bookmark-name-from-record): New name for
804 `bookmark-name-from-full-record'. All callers changed.
805 (bookmark-get-bookmark, bookmark-get-bookmark-record)
806 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
807 (bookmark-get-annotation, bookmark-set-annotation)
808 (bookmark-get-filename, bookmark-set-filename)
809 (bookmark-get-position, bookmark-set-position)
810 (bookmark-get-front-context-string, bookmark-set-front-context-string)
811 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
812 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
813 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
814 Rename `bookmark' parameter to `bookmark-name-or-record', to
815 clearly show its role, and shorten or adjust doc strings accordingly.
816 (bookmark-set-name): Same, and pass the parameter directly to
817 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
818 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
819 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
820 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
821 and in some cases shorten doc string accordingly.
822 (bookmark-rename): Change `old' and `new' parameters to `old-name'
823 and `new-name', and adjust an internal variable to avoid confusion.
824 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
825 parameter in doc string.
827 2010-12-08 Glenn Morris <rgm@gnu.org>
829 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
830 from gdb's history file. (Bug#7575)
832 * mail/emacsbug.el (report-emacs-bug):
833 Try to handle some other mail clients.
835 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
837 * files.el (dir-locals-collect-variables): Don't let errors stop us.
839 (file-name-version-regexp): New var.
840 (file-name-sans-versions):
841 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
842 (jka-compr-get-compression-info): Use dolist.
843 (jka-compr-compression-info-list): Don't bother specifying
844 version/backup regexps.
846 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
848 * simple.el (just-one-space): Make argument n default to 1 if
851 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
853 * electric.el (electric-indent-post-self-insert-function):
854 Delete trailing newlines even if we don't reindent.
856 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
858 * minibuffer.el (completion-at-point): Remove the `arg'.
859 * bindings.el (complete-symbol): Move back from minibuffer.el.
861 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
863 * simple.el (just-one-space): Delete newlines for negative arg.
865 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
867 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
868 (ansi-color-filter-apply): Simplify.
869 (ansi-color-apply): Use `font-lock-face' rather than `face'.
871 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
873 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
875 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
877 * dired.el (dired-use-ls-dired): Set default to a special
879 (dired-insert-directory): When called the first time, check
880 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
882 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
884 * replace.el: Add "collect" feature to occur.
885 (occur-collect-regexp-history): New var.
886 (occur-read-primary-args): Return a replace string for nlines,
888 (occur): Extend the meaning of nlines.
890 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
892 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
893 (which-func-update-1): Distinguish symbols from strings.
894 (which-function): Stay within 80 columns.
896 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
898 * subr.el (with-demoted-errors): Distinguish symbols from strings.
900 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
902 (comment-style): Use comment-styles's docs to describe values.
904 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
906 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
907 and ns-show-prefs (Bug#7535).
909 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
912 2010-12-03 Glenn Morris <rgm@gnu.org>
914 * nxml/nxml-mode.el: Require rng-nxml.
915 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
918 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
919 * nxml/rng-nxml.el, nxml/rng-valid.el:
920 Remove leading `*' from defcustom docs.
922 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
923 (normal-top-level-add-to-load-path, tty-handle-args):
924 Convert comments to basic doc-strings.
926 * net/browse-url.el (browse-url-url-at-point)
927 (browse-url-default-browser): Remove autoload cookies.
929 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
930 Remove more undefined cl functions.
932 * vc/diff.el (diff-sentinel): Make new arguments optional.
933 * ibuf-ext.el (diff-sentinel): Update declaration.
935 2010-12-03 Daiki Ueno <ueno@unixuser.org>
937 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
938 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
939 (epg-context-set-passphrase-callback): Mention that the callback
940 is not called when used with GnuPG 2.x.
942 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
944 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
945 (tramp-file-name-port): Check also for `tramp-default-port'.
946 (tramp-get-connection-name): New defun.
947 (tramp-get-connection-process): Use it.
948 (tramp-debug-message): Extend function exclude list.
949 (tramp-drop-volume-letter): Fix doc string.
951 * net/tramp-cmds.el: Remove solved todo item.
958 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
959 and `tramp-default-user-alist', respectively.
961 * net/tramp-gw.el (tramp-gw-open-connection):
962 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
964 * net/tramp-imap.el (tramp-imap-make-iht): Use just
965 `tramp-file-name-port'.
967 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
968 and "psftp". Exchange "%k" marker with options.
969 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
970 Compute size of link target.
971 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
972 `tramp-current-*' up due to gateway methods. Optimze computing of
973 copy arguments. Use `tramp-get-connection-name' and
974 `tramp-get-connection-buffer'. Improve debug messages.
975 (tramp-compute-multi-hops): Remove port determination.
976 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
978 * net/trampver.el: Update release number.
980 2010-12-02 Glenn Morris <rgm@gnu.org>
982 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
983 Avoid infinite loop over windows. (Bug#7492)
985 * progmodes/flymake.el (flymake-check-file-limit):
986 Allow nil to mean "no limit".
987 (flymake-check-patch-master-file-buffer): Update for above change.
988 Allow a .tex file-name extension to be optional.
989 (flymake-master-tex-init): Also match \include statements.
991 2010-11-30 Sam Steingold <sds@gnu.org>
993 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
994 (nxml-parent-document-set): A function to set `nxml-parent-document'.
995 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
996 (nxml-mode-hook): Remove `defcustom' (auto-defined by
997 define-derived-mode').
998 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
999 users who want to call `nxml-parent-document-set'.
1001 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1003 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1004 stand-alone lines, since that is handled by log-edit-match-to-eoh
1007 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1009 * dired.el (dired-get-filename): Replace backslashes with slashes
1010 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1011 * locate.el (locate-default-make-command-line): Don't consider
1012 drive letter and root directory part of
1013 `directory-listing-before-filename-regexp'. (Bug#7308)
1014 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1016 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1019 of :smie-open/close-alist.
1020 (smie-next-sexp): Make it accept a "start token" as argument.
1021 (smie-indent-keyword): Be careful not to misidentify tokens that span
1022 more than one line, as empty lines. Add argument `token'.
1024 2010-11-27 Kenichi Handa <handa@m17n.org>
1026 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1027 multipart subtypes, insert all as usual.
1029 * mail/rmail.el: Require rfc2047.
1031 2010-11-27 Kenichi Handa <handa@m17n.org>
1033 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1034 (rmail-mime-entity-disposition)
1035 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1036 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1037 (rmail-mime-save): Handle the case that the button's `data' is a
1039 (rmail-mime-insert-text): New function.
1040 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1041 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1042 (rmail-mime-insert-bulk): New function mostly copied from the old
1043 rmail-mime-bulk-handler.
1044 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1045 (rmail-mime-process-multipart): New function mostly copied from
1046 the old rmail-mime-multipart-handler.
1047 (rmail-mime-show): Just call rmail-mime-process.
1048 (rmail-mime-process): New function mostly copied from the old
1050 (rmail-mime-insert-multipart, rmail-mime-parse)
1051 (rmail-mime-insert, rmail-show-mime)
1052 (rmail-insert-mime-forwarded-message)
1053 (rmail-insert-mime-resent-message): New functions.
1054 (rmail-insert-mime-forwarded-message-function): Set to
1055 rmail-insert-mime-forwarded-message.
1056 (rmail-insert-mime-resent-message-function): Set to
1057 rmail-insert-mime-resent-message.
1059 * mail/rmailsum.el: Require rfc2047.
1060 (rmail-header-summary): Handle multiline Subject: field.
1061 (rmail-summary-line-decoder): Change the default to
1062 rfc2047-decode-string.
1064 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1065 (rmail-mime-feature): Change the default to `rmailmm'.
1066 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1067 (rmail-display-labels): Likewise.
1068 (rmail-show-message-1): Check rmail-enable-mime, and use
1069 rmail-show-mime-function for a MIME message. Decode the headers
1070 according to RFC2047.
1072 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * progmodes/which-func.el (which-func-imenu-joiner-function):
1075 Return a string, as expected.
1076 (which-function-mode): Make sure we stop any previous timer before
1079 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1081 * net/tramp.el (tramp-default-method-alist)
1082 (tramp-default-user-alist, tramp-default-proxies-alist):
1083 Adapt custom options type. (Bug#7445)
1085 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1087 * progmodes/python.el: Add Ipython support (Bug#5390).
1088 (python-shell-prompt-alist)
1089 (python-shell-continuation-prompt-alist): New options.
1090 (python--set-prompt-regexp): New function.
1091 (inferior-python-mode, run-python, python-shell):
1092 Require ansi-color. Use python--set-prompt-regexp to set the comint
1093 prompt based on the Python interpreter.
1094 (python--prompt-regexp): New var.
1095 (python-check-comint-prompt)
1096 (python-comint-output-filter-function): Use it.
1097 (run-python): Use a pipe (Bug#5694).
1099 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1101 * progmodes/python.el (run-python): Doc fix.
1102 (python-keep-current-directory-in-path): New var (Bug#7454).
1104 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1106 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1107 Prompt user before actually printing.
1109 2010-11-27 Glenn Morris <rgm@gnu.org>
1111 * startup.el (package-enable-at-startup, package-initialize):
1112 Remove unnecessary declarations.
1114 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1116 * international/characters.el (glyphless-char-display-control):
1117 Exclude newline and TAB from the c0-control group.
1119 2010-11-27 Glenn Morris <rgm@gnu.org>
1121 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1122 (expand-mail-aliases): Remove unnecessary autoload.
1124 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1126 * shell.el (shell-dir-cookie-re): Move definition before use.
1128 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1129 Replace undefined CL functions.
1131 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1133 * simple.el (prog-mode): Set bidi-paragraph-direction to
1136 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1138 2010-11-26 Glenn Morris <rgm@gnu.org>
1140 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1141 diary-outlook-formats can be sensitive to calendar-date-style.
1142 (diary-outlook-formats): Simplify the default setting.
1143 (diary-from-outlook-internal): Pass subject and body as arguments.
1144 Use dolist rather than dotimes. Don't save the diary buffer.
1145 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1146 Pass subject and body as explicit arguments to the -internal function.
1148 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1150 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1151 parsing them. This makes mailto:...?subject=foo\nbar work.
1153 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * vc/diff.el (diff): Fix last change.
1157 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1160 (pcase--dontcare-upats): New var.
1161 (pcase-let, pcase-let*): Generate better code.
1162 Accept the same bodies as `let'.
1163 (pcase-dolist): New macro.
1164 (pcase--trivial-upat-p): New helper function.
1165 (pcase--expand): Strip leading "(let nil" if any.
1167 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1169 * mail/mailclient.el (browse-url): Require.
1170 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1171 use the external browser function to send the mail (bug#7469).
1173 * net/browse-url.el (browse-url-browser-function): Revert the
1174 default back to the previous value, since the new value broke
1176 (browse-url-mailto-function): New variable for mailto: URLs.
1177 (browse-url): Use the new variable for mailto: URLs.
1179 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * eshell/esh-cmd.el (eshell-parse-command):
1182 * eshell/esh-arg.el (eshell-parse-arguments):
1183 * eshell/em-script.el (eshell-source-file):
1184 Use with-silent-modifications.
1186 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1188 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1189 for a merge location.
1191 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1192 (vc-bzr-merge-branch): Always prompt.
1193 (vc-bzr-async-command): Use the full branch filename.
1195 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * shell.el (shell): Use current-buffer by default if it's already
1198 a shell mode buffer and its process is dead.
1199 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1201 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1203 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1204 Mention that the keywords should be comma separated.
1206 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1208 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1209 Accept optional prefix arg meaning to prompt for a command.
1210 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1211 prefix arg meaning to prompt for a command.
1212 (vc-pull): Alias for vc-update.
1214 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1215 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1216 (vc-bzr-merge-branch): New functions, implementing merge-branch
1217 and pull operations.
1219 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * Makefile.in: Fix up last merge.
1223 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1224 (diff-sentinel): Get them as arguments instead.
1225 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1226 (diff-file-local-copy, diff-better-file-name): New funs.
1227 (diff-no-select): Rename from diff-into-buffer.
1228 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1229 Prefer closures to buffer-local variables.
1230 (diff): Adjust accordingly.
1231 (diff-buffer-with-file): Move from files.el.
1232 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1233 (diff-buffer-internal): Remove.
1234 (diff-buffer-buffer): Remove.
1235 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1236 the buffer name used, and so as not to mess up windows and frames.
1238 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1240 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1241 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1242 (diff-buffer-with-file): Use it.
1243 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1246 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1248 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1249 \ref's or \pageref's value as default instead of initial input.
1251 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1253 * files.el (backup-by-copying-when-mismatch): The default value is
1256 * startup.el (normal-top-level):
1257 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1258 `backup-by-copying-when-mismatch'.
1260 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1262 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1264 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1266 * progmodes/python.el (python-font-lock-keywords):
1267 Highlight top-level augmented assignments (Bug#6445).
1269 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1271 * term/ns-win.el (ns-right-control-modifier)
1272 (ns-right-command-modifier): Defvar them.
1274 * cus-start.el (all): Add ns-right-control-modifier and
1275 ns-right-command-modifier (Bug#7458).
1277 2010-11-20 Glenn Morris <rgm@gnu.org>
1279 * emacs-lisp/authors.el (authors-ignored-files)
1280 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1282 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1284 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1285 (report-emacs-bug-parse-query-results)
1286 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1287 keywords used for querying the bug database to show them in the
1288 existing bugs buffer.
1290 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1292 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1294 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1296 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1298 * international/characters.el (glyphless-char-display-control):
1299 Make it a defcustom, with update-glyphless-char-display as its
1301 (top level): Don't call update-glyphless-char-display.
1303 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1305 Sync with Tramp 2.2.0.
1307 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1308 `file-remote-p' (due to compatibility).
1310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1311 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1313 * net/trampver.el: Update release number.
1315 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1317 * faces.el (glyphless-char): Define value for `pc'.
1319 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1321 Implemented a bug querying mechanism.
1322 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1323 (report-emacs-bug-create-existing-bugs-buffer)
1324 (report-emacs-bug-parse-query-results)
1325 (report-emacs-bug-query-existing-bugs): New functions.
1327 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1329 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1330 a \ref{} or \pageref{} macro, then use its value as initial input.
1332 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1334 * calc/calc-units.el (math-build-units-table-buffer):
1335 calc/README: Mention that the TeX specific units won't use the
1336 `tex' prefix in TeX mode.
1337 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1338 prefix for units in TeX mode.
1340 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * simple.el (kill-new, kill-append, kill-region):
1343 * comint.el (comint-kill-region): Make the yank-handler argument
1346 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1349 that are both openers (resp. closers) and something else.
1350 (smie-grammar): Loosen definition of valid values.
1351 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1352 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1353 (smie-indent-after-keyword): Adjust users.
1354 (smie-indent-keyword): Don't indent empty lines.
1356 * vc-hg.el (vc-hg-program): New var.
1357 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1358 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1360 2010-11-18 Glenn Morris <rgm@gnu.org>
1362 * emacs-lisp/autoload.el (autoload-find-destination): The function
1363 coding-system-eol-type may return non-numeric values. (Bug#7414)
1365 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1367 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1369 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1371 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1373 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1375 * textmodes/picture.el (picture-mouse-set-point): Don't use
1376 posn-col-row; explicitly compute the motion based on the posn at
1377 the window-start (Bug#7390).
1379 2010-11-18 Glenn Morris <rgm@gnu.org>
1381 * novice.el (disabled-command-function):
1382 Fix 2009-11-15 change. (Bug#7384)
1384 2010-11-18 Glenn Morris <rgm@gnu.org>
1386 * calendar/calendar.el (diary-iso-date-forms): Make elements
1387 mutually exclusive. (Bug#7377)
1389 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1392 when filling the remaining "unconstrained" values.
1394 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1399 * files.el (safe-local-variable-p): Gracefully handle errors.
1401 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1402 Use smie-indent-virtual when indenting relative to an opener.
1403 (smie-rule-separator): Use smie-rule-parent.
1404 (smie-indent-keyword): Consult rules, even for openers at bol.
1405 (smie-indent-comment-close): Try to align closer's content.
1407 2010-11-18 Glenn Morris <rgm@gnu.org>
1409 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1411 2010-11-18 Glenn Morris <rgm@gnu.org>
1413 * printing.el (pr-menu-bind): Doc fix.
1415 * speedbar.el (speedbar-toggle-images): Doc fix.
1417 * progmodes/python.el (python-shell): Doc fix.
1419 * wid-edit.el (widget-field-use-before-change)
1420 (widget-use-overlay-change): Doc fixes.
1422 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1424 Minor cleanup to improve style.
1425 * textmodes/rst.el (rst-update-section): Use point-marker.
1426 (rst-get-decoration): Eliminate unneeded assignment.
1427 (rst-promote-region, rst-straighten-decorations)
1428 (rst-section-tree, rst-adjust): Use point-marker.
1429 (rst-toc-mode-mouse-goto): Avoid setq.
1430 (rst-shift-region-guts, rst-shift-region-left)
1431 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1432 (rst-convert-bullets-to-enumeration): Use copy-marker.
1434 * minibuffer.el (completion-fail-discreetly): New var.
1435 (completion--do-completion): Use it.
1437 * electric.el (electric-pair-pairs): New var.
1438 (electric-pair-post-self-insert-function): Use it.
1439 (electric-layout-post-self-insert-function): Don't insert a before
1440 newline unless it's actually needed.
1442 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * progmodes/python.el (run-python): Explain why we remove the current
1445 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1447 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1449 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1451 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1452 (octave-mode-map): Don't bind ;, SPC, and LF.
1453 (octave-auto-indent, octave-auto-newline): Remove.
1454 (electric-layout-rules): Declare.
1455 (octave-mode): Set electric-layout-rules.
1456 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1457 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1458 (octave-electric-space): Remove.
1460 * electric.el (electric-layout-mode): New minor mode.
1461 (electric--after-char-pos): New function.
1462 (electric-indent-post-self-insert-function): Use it.
1463 (electric-layout-rules): New var.
1464 (electric-layout-post-self-insert-function): New function.
1465 (electric-indent-mode): Make them interact better.
1467 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1470 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1471 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1473 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1475 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1476 Make sure to check inside the word (Bug#6761).
1478 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1480 * startup.el (command-line): If the cursorColor resource is set,
1481 change the cursor face-spec (Bug#7392).
1483 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1485 The main features of the following allout.el changes are:
1486 - implement user customization for the allout key bindings
1487 - add a customization control by which the user can inhibit use of
1488 a trailing Ctrl-H, so by default it's reserved for use with
1489 describe-prefix-bindings
1490 - adapt to new version of called-interactively-p, while
1491 maintaining backwards compatibility with old version
1492 - fix hotspot navigation so i works properly with meta-modified keys
1494 * allout.el (allout-keybindings, allout-bind-keys)
1495 (allout-keybindings-binding, allout-prefixed-keybindings)
1496 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1497 (allout-keybindings-list, allout-mode-map-adjustments)
1498 (allout-setup-mode-map): Establish allout-mode keymaps as user
1499 customizable settings, and also establish a customizable setting which
1500 regulates whether or not a trailing control-h is reserved for use with
1501 describe-prefix-bindings - and inhibit it by default, so that control-h
1502 *is* reserved for describe-prefix-bindings unless the user changes it.
1504 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1505 and accurately between modified and unmodified events, and handle
1506 modified events more comprehensively.
1508 * allout.el (allout-substring-no-properties):
1509 Alias to use or provide version of `substring-no-properties'.
1510 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1512 * allout.el (allout-next-single-char-property-change):
1513 Alias to use or provide version of `next-single-char-property-change'.
1514 (allout-annotate-hidden, allout-hide-by-annotation):
1515 Use `allout-next-single-char-property-change'.
1517 * allout.el (allout-select-safe-coding-system):
1518 Alias to use or provide version of `select-safe-coding-system'.
1519 (allout-toggle-subtree-encryption):
1520 Use `allout-select-safe-coding-system'.
1522 * allout.el (allout-set-buffer-multibyte):
1523 Alias to use or provide version of `set-buffer-multibyte'.
1524 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1526 * allout.el (allout-called-interactively-p): Macro for using the
1527 different versions of called-interactively-p identically, depending on
1528 the subroutine's argument signature.
1529 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1530 Use `(interactive "p")' instead of `(called-interactively-p)'.
1532 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1533 (allout-previous-visible-heading, allout-forward-current-level)
1534 (allout-backward-current-level, allout-show-children):
1535 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1537 * allout.el (allout-before-change-handler):
1538 Exempt edits to the (overlaid) character after the allout outline
1539 bullet from edit confirmation prompt.
1541 * allout.el (allout-add-resumptions):
1542 Ensure that it respects correct buffer for keybindings.
1544 * allout.el (allout-beginning-of-line):
1545 Use `allout-previous-single-char-property-change' alias for the sake of
1546 diverse compatibility.
1548 * allout.el (allout-end-of-line):
1549 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1551 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1553 * frame.el (frame-notice-user-settings): Don't clobber other
1554 user-set parameters when calling face-set-after-frame-default in
1555 response to background-color parameter (Bug#7373).
1557 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1559 * international/characters.el (glyphless-char-display-control):
1560 Rename from glyphless-char-control; all users changed. Doc fix.
1561 Signal an error if display method is not one of the recognized
1564 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1566 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1567 (tramp-compat-line-end-position): Remove them.
1569 * net/tramp.el (tramp-parse-rhosts-group)
1570 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1571 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1572 (tramp-parse-netrc-group, tramp-parse-putty-group)
1573 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1574 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1575 (tramp-sh-handle-file-selinux-context)
1576 (tramp-sh-handle-file-name-all-completions)
1577 (tramp-sh-handle-insert-directory)
1578 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1579 (tramp-wait-for-output, tramp-send-command-and-read)
1580 * net/tramp-smb.el (tramp-smb-read-file-entry)
1581 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1583 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1585 (tramp-remote-coding-commands): Add an alternative using "base64
1586 -d -i". This is needed for older base64 versions from GNU
1587 coreutils. Reported by Klaus Reichl
1588 <Klaus.Reichl@thalesgroup.com>.
1590 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1592 * simple.el (count-words-region): New function.
1594 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * shell.el (shell-dir-cookie-re): New custom variable.
1597 (shell-dir-cookie-watcher): New function.
1599 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1600 and compilation-mode (bug#7350).
1602 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1603 highlight when one of them is empty.
1605 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1607 (skeleton-newline): New function.
1608 (skeleton-internal-1): Use it.
1610 * simple.el (open-line): `newline' may strip trailing space.
1612 2010-11-12 Kevin Ryde <user42@zip.com.au>
1614 * international/mule-cmds.el (princ-list): Use mapc.
1616 2010-11-12 Glenn Morris <rgm@gnu.org>
1618 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1619 Use it to replace all instances of "*Compile-Log*"
1621 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1626 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * progmodes/modula2.el: Use SMIE and skeleton.
1629 (m2-mode-syntax-table): (*..*) can be nested.
1630 Add //...\n. Fix paren syntax.
1631 (m2-mode-map): Remove LF and TAB bindings.
1632 (m2-indent): Add safety property.
1633 (m2-smie-grammar): New var.
1634 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1635 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1636 (m2-mode): Use define-derived-mode.
1637 (m2-newline, m2-tab): Remove.
1638 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1639 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1640 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1641 (m2-import): Use define-skeleton.
1643 2010-11-11 Glenn Morris <rgm@gnu.org>
1645 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1647 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1648 (ls-lisp-verbosity): Add custom :set-after property.
1649 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1650 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1651 (ls-lisp-insert-directory): Update caller.
1652 (ls-lisp-set-options): New function.
1653 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1656 * play/landmark.el (lm-prompt-for-move):
1657 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1659 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1661 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1662 (idlwave-study-twins): Prefix dynamic local variable `name'.
1663 (idlwave-routine-twin-compare): Update for above change.
1665 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1666 Prefix dynamic local variables `name', `kwd', and `link'.
1667 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1668 * progmodes/idlw-complete-structtag.el
1669 (idlwave-complete-structure-tag-help):
1670 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1671 (idlwave-complete-sysvar-tag-help)
1672 (idlwave-complete-class-structure-tag-help):
1673 Update for above name changes.
1675 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1677 * net/browse-url.el (browse-url-browser-function): Change the
1678 default to use `browse-url-mail' on mailto: URLs.
1680 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1682 * emacs-lisp/package.el (package-read-all-archive-contents):
1683 Reset package-archive-contents to nil before re-reading.
1685 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1687 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1688 already found as misspellings by (flyspell-large-region), just
1689 do highlighting (bug#7322).
1691 2010-11-10 Glenn Morris <rgm@gnu.org>
1693 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1695 * emulation/edt.el (edt-with-position): New macro.
1696 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1697 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1698 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1700 * emulation/tpu-extras.el (tpu-with-position): New macro.
1701 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1703 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1705 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1706 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1707 (texinfo-master-menu, texinfo-insert-node-lines)
1708 (texinfo-multiple-files-update):
1709 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1710 Use line-beginning-position.
1712 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1713 No recent Emacs supports system-type `emx'.
1715 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1716 (ada-command-separator, ada-default-prj-properties)
1717 (ada-find-any-references): Update for above name change.
1719 * dirtrack.el (dirtrack-directory-function)
1720 (dirtrack-canonicalize-function):
1721 * filecache.el (file-cache-completion-ignore-case)
1722 (file-cache-case-fold-search, file-cache-ignore-case):
1723 * term.el (serial-port-is-file-p): Cosmetic change.
1725 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1726 Remove non-existent `windows-95' system-type.
1727 * dired.el (dired-chown-program): Remove non-existent `linux'
1730 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1731 (ping-program-options): Remove non-existent `linux' system-type.
1733 * startup.el (package-initialize): Update declaration.
1735 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1736 (ls-lisp-handle-switches): Use time-less-p.
1737 (ls-lisp-format-time): Use float-time.
1739 * textmodes/remember.el (remember-time-to-seconds): Remove.
1740 (remember-store-in-mailbox): Use float-time.
1742 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1744 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1745 never a real function.
1746 (with-no-warnings): Remove compat stub, now unused.
1747 (time-less-p): Doc fix.
1748 (time-to-number-of-days): Simplify.
1750 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1752 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1753 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1754 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1755 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1756 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1758 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1759 (eshell-shuffle-files, eshell-shorthand-tar-command)
1760 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1761 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1762 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1763 Prefix dynamic local variable `matches'.
1765 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1766 Prefix dynamic local variable `skeleton'.
1768 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1770 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1771 in mail buffer; make yank-action always a command that yanks original
1774 2010-11-09 Glenn Morris <rgm@gnu.org>
1776 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1778 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1781 completion field (bug#7211).
1783 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1784 Fix handling of backslash escapes.
1785 (python-quote-syntax): Adjust accordingly.
1787 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1789 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1790 (vc-mtn-workfile-branch): Adjust to new output format.
1792 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * international/mule-cmds.el (princ-list): Mark as obsolete.
1796 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * emacs-lisp/smie.el: New package.
1800 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1802 * files.el (backup-by-copying-when-mismatch):
1803 Set `permanent-local' property.
1805 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1806 `permanent-local' property for `backup-by-copying-when-mismatch'.
1808 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1810 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1812 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1814 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1815 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1816 AUTOINOUT for SV style multidimensional arrays, bug294.
1817 Reported by Eric Mastromarchi.
1818 (verilog-preprocess): Use with-current-buffer and
1819 font-lock-fontify-buffer to cleanup style issues.
1821 2010-11-09 Glenn Morris <rgm@gnu.org>
1823 * locate.el (locate, locate-mode): Doc fixes.
1825 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1827 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1828 user for confirmation.
1829 (server-force-stop): Use it.
1830 (server-start): Use server-force-stop for kill-emacs-hook, to
1831 avoid user interaction while killing Emacs.
1833 2010-11-09 Glenn Morris <rgm@gnu.org>
1835 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1836 (meta-indent-line): Simplify.
1838 * vc/emerge.el (emerge-line-number-in-buf):
1839 * textmodes/ispell.el (ispell-region):
1840 * textmodes/fill.el (current-fill-column):
1841 * progmodes/xscheme.el (xscheme-send-current-line):
1842 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1843 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1844 * progmodes/sh-script.el (sh-handle-prev-do):
1845 * progmodes/meta-mode.el (meta-indent-line):
1846 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1848 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1849 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1850 * progmodes/fortran.el (fortran-looking-at-if-then):
1851 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1852 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1853 (cperl-find-pods-heres):
1854 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1855 * net/quickurl.el (quickurl-list-insert):
1856 * net/ldap.el (ldap-search-internal):
1857 * net/eudc.el (eudc-expand-inline):
1858 * mail/sendmail.el (sendmail-send-it):
1859 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1860 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1861 (viper-brac-function):
1862 * calc/calc-yank.el (calc-do-grab-region):
1863 * calc/calc-keypd.el (calc-keypad-press):
1864 * term.el (term-move-columns, term-insert-spaces):
1865 * speedbar.el (speedbar-highlight-one-tag-line):
1866 * simple.el (current-word):
1867 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1868 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1870 * hippie-exp.el (he-line-beg):
1871 * epa.el (epa--marked-keys):
1872 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1873 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1874 (dired-relist-entry):
1875 * buff-menu.el (Buffer-menu-buffer):
1876 * array.el (current-line):
1877 * allout.el (allout-resolve-xref)
1878 (allout-latex-verbatim-quote-curr-line):
1879 Replace yet more uses of end-of-line etc with line-end-position, etc.
1881 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1884 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1885 (checkdoc-syntax-table): Initialize in the declaration.
1886 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1887 the mode on unconditionally.
1889 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1890 (extent-end-position, extent-start-position): Remove setf method for
1891 non-existing functions (bug#7319).
1893 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1896 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1897 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1898 (smie-prec2->grammar): Rename from smie-prec2-levels.
1899 (smie-grammar): Rename from smie-op-levels.
1900 (smie-indent--hanging-p): Rename from smie-hanging-p.
1901 (smie-rule-hanging-p): New alias.
1902 (smie-indent--bolp): Rename from smie-bolp.
1903 (smie-indent--hanging-p): New alias.
1904 (smie--token): New dynamically bound variable.
1905 (smie-indent--parent): New function.
1906 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1907 (smie-rule-next-p): Rename from smie-next-p.
1908 (smie-rule-prev-p): Rename from smie-prev-p.
1909 (smie-rule-sibling-p, smie-rule-parent)
1910 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1911 (smie-rule-separator-outdent): New var.
1912 (smie-indent--rule): Merge with smie-indent--column.
1913 (smie-indent-forward-token, smie-indent-backward-token):
1914 Also recognize close parens.
1915 (smie-indent-keyword): Don't use smie-indent--column any more.
1916 (smie-indent-after-keyword): Ignore closers by default.
1917 (smie-indent-line): Use with-demoted-errors.
1918 * progmodes/octave-mod.el (octave-smie-grammar):
1919 Rename from octave-smie-op-levels.
1920 (octave-smie-rules): Adjust to new behavior.
1921 * progmodes/prolog.el (prolog-smie-grammar):
1922 Rename from prolog-smie-op-levels.
1924 2010-11-07 Glenn Morris <rgm@gnu.org>
1926 * eshell/esh-util.el (subst-char-in-string)
1927 (directory-files-and-attributes): These compatibility definitions are
1928 not needed on any version of Emacs since at least 21.4.
1930 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1931 (verilog-get-end-of-line): Remove.
1932 (verilog-within-string, verilog-re-search-forward-substr)
1933 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1934 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1935 Use point-at-bol, point-at-eol.
1936 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1938 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1939 (electric-pascal-terminate-line, pascal-set-auto-comments)
1940 (pascal-indent-paramlist, pascal-indent-declaration)
1941 (pascal-get-lineup-indent, pascal-func-completion)
1942 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1943 Use point-at-bol, point-at-eol.
1944 * progmodes/flymake.el (flymake-line-beginning-position)
1945 (flymake-line-end-position): Remove.
1946 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1947 * eshell/esh-util.el (line-end-position, line-beginning-position):
1948 Remove compat definitions.
1950 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1952 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1953 Use line-end-position.
1955 * emacs-lisp/chart.el (chart-zap-chars):
1956 * play/decipher.el (decipher-set-map):
1957 * progmodes/ada-mode.el (ada-get-current-indent)
1958 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1959 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1960 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1961 (ada-get-all-references):
1962 * progmodes/cperl-mode.el (cperl-electric-paren)
1963 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1964 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1965 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1966 (cperl-word-at-point-hard):
1967 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1968 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1969 (idlwave-shell-display-line):
1970 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1971 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1972 * progmodes/js.el (js--re-search-forward-inner)
1973 (js--re-search-backward-inner):
1974 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1975 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1976 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1977 * textmodes/flyspell.el (flyspell-process-localwords):
1978 * textmodes/ispell.el (ispell-buffer-local-parsing)
1979 (ispell-buffer-local-dict, ispell-buffer-local-words):
1980 Use point-at-bol and point-at-eol.
1982 * speedbar.el (speedbar-generic-item-info)
1983 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1984 (speedbar-add-indicator, speedbar-check-vc-this-line)
1985 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1986 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1987 Replace more uses of end-of-line etc with line-end-position.
1989 2010-11-06 Glenn Morris <rgm@gnu.org>
1991 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1992 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1993 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1994 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1995 (texinfo-multiple-files-update):
1996 * textmodes/table.el (table--probe-cell-left-up)
1997 (table--probe-cell-right-bottom):
1998 * textmodes/picture.el (picture-tab-search):
1999 * textmodes/page-ext.el (pages-copy-header-and-position)
2000 (pages-directory-for-addresses):
2001 * progmodes/vera-mode.el (vera-get-offset):
2002 * progmodes/simula.el (simula-calculate-indent):
2003 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2004 * progmodes/prolog.el (end-of-prolog-clause):
2005 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2006 * progmodes/icon.el (indent-icon-exp):
2007 * progmodes/etags.el (tag-re-match-p):
2008 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2009 * progmodes/ebnf2ps.el (ebnf-begin-file):
2010 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2011 (dcl-save-local-variable):
2012 * play/life.el (life-setup):
2013 * play/gametree.el (gametree-looking-at-ply):
2014 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2015 * mail/sendmail.el (mail-mode-auto-fill):
2016 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2017 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2018 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2019 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2020 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2021 * type-break.el (type-break-file-keystroke-count):
2022 * term.el (term-replace-by-expanded-history-before-point)
2023 (term-skip-prompt, term-extract-string):
2024 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2025 (speedbar-contract-line, speedbar-toggle-line-expansion)
2026 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2027 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2028 * sort.el (sort-skip-fields):
2029 * skeleton.el (skeleton-internal-list):
2030 * simple.el (line-move-finish, line-move-to-column):
2031 * shell.el (shell-forward-command):
2032 * misc.el (copy-from-above-command):
2033 * makesum.el (double-column):
2034 * ebuff-menu.el (electric-buffer-update-highlight):
2035 * dired.el (dired-move-to-end-of-filename):
2036 * dframe.el (dframe-popup-kludge):
2037 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2038 * arc-mode.el (archive-get-lineno):
2039 Use line-end-position and line-beginning-position.
2041 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2042 (idlwave-study-twins): Prefix dynamic local `class'.
2043 (idlwave-routine-twin-compare): Update for above name change.
2045 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2046 Use boundp tests to silence compiler. Update for changed name of
2047 bytecomp-filename variable.
2049 * emulation/viper-cmd.el (viper-read-string-with-history):
2050 Prefix dynamic local `initial'.
2051 (viper-minibuffer-standard-hook): Update for above name change.
2053 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2054 (elint-init-form): Update for above name change.
2056 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2057 local variables `cbeg' and `cend' a prefix.
2058 (mail-extr-voodoo): Update for above name change.
2060 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2061 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2062 (reftex-toc-promote-action): Doc fix.
2064 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2065 `prompt', `data' a prefix.
2066 (reftex-select-post-command-hook, reftex-select-callback)
2067 (reftex-select-mouse-accept, reftex-select-read-cite):
2068 Update for above name changes.
2070 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2071 `refstyle' to reftex-refstyle.
2072 (reftex-offer-label-menu): Update for above name change.
2073 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2074 `refstyle' name change.
2076 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2077 with with-current-buffer.
2078 (diff, template): Give dynamic local variables a prefix.
2079 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2080 (emerge-line-number-in-buf): Update for above name change.
2081 (emerge-combine-versions-internal): Rename local `template' to
2082 emerge-combine-template.
2083 (emerge-combine-versions-edit): Update for above name change.
2085 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2087 * textmodes/reftex-cite.el
2088 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2089 entries with whitespace after \bibitem.
2090 (reftex-create-bibtex-file): Match entries containing numbers and
2091 symbol constituents. Make sure that entries with whitespace at
2092 various places are found.
2094 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2096 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2098 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2100 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2102 2010-11-05 Glenn Morris <rgm@gnu.org>
2104 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2105 (woman2-roff-buffer): Give local variable `request' a prefix.
2106 (woman0-macro): Rename argument `request' in the same way.
2107 (woman-request): New name for `request' dynamic variable.
2108 (woman-unquote, woman-forward-arg): Update for above name change.
2109 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2110 (woman1-unquote): New name for `unquote' dynamic variable.
2111 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2112 (woman-translations): Rename from `translations'. No longer global.
2113 (woman2-tr, woman-translate): Update for above name change.
2114 (woman-translate): Check for bound variable.
2115 (woman2-roff-buffer): Give local variable `translations' a prefix.
2117 * play/doctor.el: Give all local variables a prefix. Update callers.
2118 (doc$, doctor-put-meaning): Use backquote.
2120 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2121 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2123 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2124 variables bytes, ptr, op a prefix.
2125 (disassemble-offset): Update for above change.
2127 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2129 * emacs-lisp/package.el (package-unpack): Remove no-op.
2130 (package--builtins, package--dir): Doc fix.
2131 (package-activate-1, package-activate, package-install)
2132 (package-compute-transaction): Fix error message.
2133 (package-delete): Use delete-directory. Omit system packages.
2134 (package-initialize): Set package-alist to nil first.
2135 (package-menu-mark-delete, package-menu-mark-install): Don't add
2136 symbols that are inconsistent with the package state.
2137 (package-menu-execute): Perform deletions and installations as
2138 single batch operations.
2140 2010-11-03 Glenn Morris <rgm@gnu.org>
2142 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2143 (props): Remove unnecessary declaration.
2145 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2146 set-process-query-on-exit-flag.
2148 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2149 (reftex-toc-do-promote): Remove unused local `mpos'.
2150 (reftex-toc-restore-region): Make `mpos' local to this function.
2152 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2154 * play/landmark.el (lm-losing-threshold): Correct spelling.
2155 (lm-human-plays): Use new name.
2157 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2158 (gomoku-human-plays): Use new name.
2160 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2161 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2162 (gomoku-score-trans-table, gomoku-winning-threshold)
2163 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2165 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2167 * emacs-lisp/package.el: Don't put built-in packages in
2168 package-alist, to avoid loading inefficiencies.
2169 (package-built-in-p): Make VERSION optional, and treat it as a
2170 minimum acceptable version.
2171 (package-activate): Search separately for built-in packages.
2172 Emit a warning if a dependency fails.
2173 (define-package): Handle most common case, where there is no
2174 obsolete package, first.
2175 (package-compute-transaction): Print required version in error.
2176 (package--initialized): New variable.
2177 (list-packages): Use it.
2178 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2179 built-in packages in packages-alist; keep it separate.
2180 Set package--initialized.
2181 (describe-package): Avoid activating packages as a side-effect.
2182 Search separately for built-in packages.
2183 (describe-package-1): Handle the case where an elpa package is
2184 simultaneously built-in and available/installed.
2185 (package-installed-p, package--generate-package-list):
2186 Search separately for built-in packages.
2187 (package-load-descriptor): Doc fix.
2189 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2192 Handle __DATA__ and __END__.
2194 2010-11-02 Noah Friedman <friedman@splode.com>
2196 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2197 nil, do not ask to recompile files that are not already compiled,
2198 and do not recompile them.
2200 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2202 * emacs-lisp/package.el (package-initialize): Ensure that
2203 obsoleted built-in packages are not in package-activated-list
2205 (describe-package-1): Make the "installed" status override
2208 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2210 * subr.el (version-separator, version-regexp-alist): Remove '*'
2212 (version-list-<=, version<=, version=): Doc fix.
2214 2010-11-01 Kenichi Handa <handa@m17n.org>
2216 * faces.el (glyphless-char): Inherit underline for tty.
2218 2010-11-01 Kenichi Handa <handa@m17n.org>
2220 Implement various display methods for glyphless characters.
2222 * international/characters.el (char-acronym-table): New variable.
2223 (glyphless-char-control): New variable.
2224 (update-glyphless-char-display): New funciton.
2226 * faces.el (glyphless-char): New face.
2228 2010-11-01 Glenn Morris <rgm@gnu.org>
2230 * calendar/holidays.el (general-holidays, oriental-holidays)
2231 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2232 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2233 the definitions of their targets.
2235 * emacs-lisp/smie.el (smie): New custom group.
2236 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2238 * faces.el (xw-defined-colors, x-setup-function-keys):
2239 * mouse-sel.el (x-select-text):
2240 * term/w32console.el (x-setup-function-keys): Update declarations.
2242 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2244 * textmodes/ispell.el (comment-add): Declare.
2246 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2249 * info.el (finder-keywords-hash, package-alist): Declare.
2251 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2253 * finder.el (finder-compile-keywords): Don't use intern-soft,
2254 since package names may not yet exist in the obarray.
2256 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2258 * vc/vc-arch.el (vc-arch-checkin):
2259 * vc/vc-cvs.el (vc-cvs-checkin):
2260 * vc/vc-mtn.el (vc-mtn-checkin):
2261 * vc/vc-rcs.el (vc-rcs-checkin):
2262 * vc/vc-sccs.el (vc-sccs-checkin):
2263 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2264 since 2010-04-21 commit by Stefan Monnier.
2266 2010-11-01 Glenn Morris <rgm@gnu.org>
2268 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2270 * startup.el (package-enable-at-startup, package-initialize):
2273 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2276 2010-10-31 Julien Danjou <julien@danjou.info>
2278 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2279 (byte-recompile-directory):
2280 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2281 Use `byte-recompile-file'.
2283 2010-10-31 Glenn Morris <rgm@gnu.org>
2285 * cus-start.el: Handle standard values via a keyword.
2286 Only set version property if specified.
2287 (cursor-in-non-selected-windows, menu-bar-mode)
2288 (tool-bar-mode, show-trailing-whitespace):
2289 Do not specify standard values.
2290 (transient-mark-mode, temporary-file-directory): Use :standard.
2292 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2294 * term/x-win.el (x-get-selection-value): New function that gets
2295 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2297 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2299 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2300 preserve owner and group when editing files. (Bug#7289)
2302 2010-10-31 Glenn Morris <rgm@gnu.org>
2304 * speedbar.el (speedbar-mode):
2305 * play/fortune.el (fortune-in-buffer, fortune):
2306 * play/gomoku.el (gomoku-mode):
2307 * play/landmark.el (lm-mode):
2308 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2309 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2311 * select.el (x-selection): Mark it as an obsolete alias.
2313 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2315 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2316 major-mode (bug#7284).
2318 2010-10-31 Glenn Morris <rgm@gnu.org>
2320 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2321 rather than just an unused variable that inherits from the real one.
2323 2010-10-31 Alan Mackenzie <acm@muc.de>
2325 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2326 This fixes bug #7185.
2328 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2330 * startup.el (command-line): Search for package directories, and
2331 don't load package.el if none are found.
2333 * emacs-lisp/package.el (describe-package, list-packages):
2334 Call package-initialize if it has not been called yet.
2336 2010-10-30 Alan Mackenzie <acm@muc.de>
2338 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2339 which fontifies the tail of an enum.
2340 (c-basic-matchers-after): Insert a call to the above new function.
2341 This fixes bug #7264.
2343 2010-10-30 Glenn Morris <rgm@gnu.org>
2345 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2346 tool-bar-mode, transient-mark-mode. (Bug#7306)
2347 Include the :set property in the dumped Emacs.
2349 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2351 SMIE: change indent rules format, improve smie-setup.
2352 * emacs-lisp/smie.el (smie-precs-precedence-table)
2353 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2354 Mark them pure so the tables gets built at compile time.
2355 (smie-bnf-precedence-table): Store the closer-alist in the table.
2356 (smie-prec2-levels): Preserve the closer-alist.
2357 (smie-blink-matching-open): Be more forgiving in case of indentation.
2358 (smie-hanging-p): Rename from smie-indent--hanging-p.
2359 (smie-bolp): Rename from smie-indent--bolp.
2360 (smie--parent, smie--after): New dynamic vars.
2361 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2362 (smie-indent-rules): Remove.
2363 (smie-indent--offset-rule): Remove fun.
2364 (smie-rules-function): New var.
2365 (smie-indent--rule): New fun.
2366 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2367 (smie-indent-exps): Use it.
2368 (smie-setup): Setup paren blinking; add keyword args for token
2369 functions; extract closer-alist from op-levels.
2370 (smie-indent-debug-log): Remove var.
2371 (smie-indent-debug): Remove fun.
2372 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2373 (prolog-smie-rules): New fun to replace it.
2374 (prolog-mode-variables): Simplify.
2375 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2376 it's setup automatically.
2377 (octave-smie-indent-rules): Remove.
2378 (octave-smie-rules): New fun to replace it.
2379 (octave-mode): Simplify.
2381 2010-10-29 Glenn Morris <rgm@gnu.org>
2383 * files.el (temporary-file-directory): Remove (already defined in C).
2384 * cus-start.el: Add temporary-file-directory.
2386 * abbrev.el (abbrev-mode):
2387 * composite.el (auto-composition-mode):
2388 * menu-bar.el (menu-bar-mode):
2389 * simple.el (transient-mark-mode):
2390 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2391 that they do not define the associated variables twice.
2392 * simple.el (transient-mark-mode): Remove defvar.
2393 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2394 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2395 Handle multiple groups, and also custom-delayed-init-variables.
2396 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2398 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2401 (pcase-if): Add one minor optimization.
2402 (pcase-split-equal): Rename from pcase-split-eq.
2403 (pcase-split-member): Rename from pcase-split-memq.
2404 (pcase-u1): Add strings to the member optimization.
2405 Add `guard' variant of predicates.
2406 (pcase-q1): Add string patterns.
2408 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2412 2010-10-28 Glenn Morris <rgm@gnu.org>
2414 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2415 Move menu-bar related settings to ../menu-bar.el.
2416 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2417 Move ns-specific settings here from term/ns-win.el.
2419 * simple.el (x-selection-owner-p): Remove unused declaration.
2421 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * minibuffer.el (completion-cycling): New var (bug#7266).
2424 (minibuffer-complete, completion--do-completion):
2425 Use completion--flush-all-sorted-completions.
2426 (minibuffer-complete): Only cycle if completion-cycling is set.
2427 (completion--flush-all-sorted-completions): Unset completion-cycling.
2428 (minibuffer-force-complete): Set completion-cycling.
2429 (completion-all-sorted-completions): Move declaration before first use.
2431 2010-10-28 Leo <sdl.web@gmail.com>
2433 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2434 which changes the order of matches seen by users (bug#7231).
2436 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2438 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2439 Don't confuse -omega as "-o mega".
2441 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2444 (log-edit-author): New dynamic var.
2445 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2446 to return the author if different from committer.
2447 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2449 * play/landmark.el: Adjust commenting convention.
2450 (lm-nil-score): Rename from nil-score.
2451 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2452 (OOOOscore): Move into a let in lm-score-trans-table.
2453 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2455 * electric.el (electric-indent-chars): Autoload.
2456 * progmodes/octave-mod.el (octave-mode):
2457 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2458 (ruby-mode-abbrev-table): Merge initialization and declaration.
2460 2010-10-27 Glenn Morris <rgm@gnu.org>
2462 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2465 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2467 * term/ns-win.el: Restore require of cl when compiling.
2468 (menu-bar-final-items): Remove non-existent `windows' menu.
2469 (ns-handle-nxopen): Optionally handle the temp-case.
2470 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2471 (ns-insert-file, ns-find-file): Use `pop'.
2473 2010-10-26 Glenn Morris <rgm@gnu.org>
2475 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2477 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2479 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2481 * term/common-win.el (x-setup-function-keys): Remove most of the
2482 keymappings. Comment on the remaining ones.
2484 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2486 * server.el (server-port): New option. (Bug#854)
2487 (server-start): Use server-port.
2489 2010-10-26 Glenn Morris <rgm@gnu.org>
2491 * term/ns-win.el (ns-version-string): Remove unused declaration.
2492 (ns-invocation-args): Change to x-invocation-args.
2493 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2494 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2495 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2496 Use x-invocation-args instead of ns-invocation-args.
2497 (ns-initialize-window-system, handle-args-function-alist):
2498 Use x-handle-args instead of ns-handle-args.
2499 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2500 * startup.el (command-line-ns-option-alist): Replace
2501 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2502 ns-handle-iconic with the x- equivalents.
2504 * term/common-win.el (x-select-enable-clipboard):
2505 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2507 * term/ns-win.el: No need to require cl when compiling.
2508 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2509 (xw-defined-colors): Use the common-win definitions.
2510 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2511 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2512 * term/common-win.el (x-select-text, x-alternatives-map)
2513 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2514 * loadup.el [ns]: Load common-win.
2516 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2518 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2519 recipients; expand mail aliases (Bug#7280).
2521 2010-10-25 Glenn Morris <rgm@gnu.org>
2523 * term/common-win.el (x-handle-switch): Simplify with pop.
2524 Optionally handle numeric switches.
2525 (x-handle-numeric-switch): Just call x-handle-switch.
2526 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2527 (x-handle-name-switch, x-handle-display, x-handle-args):
2530 * term/ns-win.el: Do not require easymenu.
2531 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2532 <spell>: Move adjustments to menu-bar.el.
2533 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2534 <separator-undo, spell>: Move ns-win's adjustments here.
2535 * loadup.el [ns]: Do not load easymenu.
2537 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2539 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2542 * startup.el (fancy-startup-tail): Instead of using inline images,
2543 refer to image files from etc/.
2545 * wid-edit.el (checkbox): Likewise.
2546 (widget-image-find): Center image specs.
2548 2010-10-24 Glenn Morris <rgm@gnu.org>
2550 * term/ns-win.el (x-select-text): Doc fix.
2551 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2552 (x-select-text): Move to term/common-win.
2553 * term/w32-win.el (xw-defined-colors): Move to common-win.
2554 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2555 (x-setup-function-keys, x-select-text): Move to common-win.
2556 * term/common-win.el (x-select-text, x-alternatives-map)
2557 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2560 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2562 * net/mairix.el (mairix-searches-mode-map):
2563 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2565 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2567 * verilog-mode.el (verilog-directive-re): Make this variable
2568 auto-built for efficiency of execution and updating.
2569 (verilog-extended-complete-re): Support 'pure' fucntion & task
2570 declarations (these have no bodies).
2571 (verilog-beg-of-statement): General cleanup to enable support of
2572 'pure' fucntion & task declarations (these have no bodies).
2573 These efforts together fix Verilog bug210 from veripool; which was also
2574 noticed by Steve Pearlmutter.
2575 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2576 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2577 Support `elsif. Reported by Shankar Giri.
2578 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2579 attribute handling for lining up declarations and assignments.
2580 (verilog-beg-of-statement-1): Fix issue where continued declaration
2581 is indented differently if it is after a begin..end clock.
2582 (verilog-in-attribute-p, verilog-skip-backward-comments)
2583 (verilog-skip-forward-comment-p): Support proper treatment of
2584 attributes by indent code. Reported by Jeff Steele.
2585 (verilog-in-directive-p): Fix comment to correctly describe function.
2586 (verilog-backward-up-list, verilog-in-struct-region-p)
2587 (verilog-backward-token, verilog-in-struct-p)
2588 (verilog-in-coverage-p, verilog-do-indent)
2589 (verilog-pretty-declarations): Use verilog-backward-up-list as
2590 wrapper around backward-up-list inorder to properly skip comments.
2591 Reported by David Rogoff.
2592 (verilog-property-re, verilog-endcomment-reason-re)
2593 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2594 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2595 of if). Reported by Max Bjurling and
2596 (verilog-calc-1): Fix for clocking block in modport
2597 declaration. Reported by Brian Hunter.
2599 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2601 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2602 (verilog-gate-keywords, verilog-read-sub-decls)
2603 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2604 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2605 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2606 (verilog-read-decls): Fix spaces in V2K module parameters causing
2607 mis-identification as interfaces, bug287.
2608 (verilog-read-decls): Fix not treating "parameter string" as a
2609 parameter in AUTOINSTPARAM.
2610 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2611 treating `elsif similar to `endif inside AUTOSENSE.
2612 (verilog-do-indent): Implement correct automatic or static task or
2613 function end comment highlight. Reported by Steve Pearlmutter.
2614 (verilog-font-lock-keywords-2): Fix highlighting of single
2615 character pins, bug264. Reported by Michael Laajanen.
2616 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2617 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2618 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2619 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2620 (verilog-pretty-expr): Fix interactive arguments, bug272.
2621 Reported by Mark Johnson.
2622 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2623 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2624 bug269. Suggested by Gary Delp.
2625 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2626 (verilog-preprocessor, verilog-set-compile-command):
2627 Create verilog-preprocess and verilog-preprocessor to show
2628 preprocessed output.
2629 (verilog-get-beg-of-line, verilog-get-end-of-line)
2630 (verilog-modi-file-or-buffer, verilog-modi-name)
2631 (verilog-modi-point, verilog-within-string): Move defmacro's
2632 before first use to avoid warning. Reported by Steve Pearlmutter.
2633 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2634 (verilog-colorize-region, verilog-highlight-buffer)
2635 (verilog-highlight-includes, verilog-highlight-modules)
2636 (verilog-highlight-region, verilog-mode): Rename colorize to
2637 highlight to match other packages. Disable module highlighting,
2638 as received speed complaints, reenable for experimentation only
2639 using new verilog-highlight-modules.
2640 (verilog-read-decls): Fix regexp stack overflow in very large
2641 AUTO_TEMPLATEs, bug250.
2642 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2643 (verilog-scan): Create verilog-save-buffer-state to standardize
2644 making insignificant changes that shouldn't call hooks.
2645 (verilog-save-no-change-functions, verilog-save-scan-cache)
2646 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2647 Create verilog-save-no-change-functions to wrap verilog-scan
2648 preservation, and fix to work with nested preserved calls.
2649 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2650 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2651 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2652 (verilog-submit-bug-report): Update variable list to be complete.
2653 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2654 breaking on-the-fly font-locking.
2655 (verilog-colorize-buffer, verilog-colorize-include-files)
2656 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2657 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2658 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2659 AUTOINST cell instance name, middle mouse button now finds-file on
2660 it. Suggested by Brad Dobbie.
2661 (verilog-alw-get-temps, verilog-auto-reset)
2662 (verilog-auto-sense-sigs, verilog-read-always-signals)
2663 (verilog-read-always-signals-recurse): Fix loop indexes being
2664 AUTORESET. AUTORESET now assumes any variables in the
2665 initialization section of a for() should be ignored.
2666 Reported by Dan Dever.
2667 (verilog-error-font-lock-keywords)
2668 (verilog-error-regexp-emacs-alist)
2669 (verilog-error-regexp-xemacs-alist): Fix error detection of
2670 Cadence HAL, reported by David Asher. Repair drift between the
2671 three similar error variables.
2672 (verilog-modi-lookup, verilog-modi-lookup-cache)
2673 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2674 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2675 Fix slow verilog-auto expansion on very large files.
2676 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2677 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2678 "{1*2{...". Broke in last revision.
2679 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2680 submodule connections with replications "{#{a},#{b}}".
2682 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2684 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2685 Fix typo in docstring.
2687 2010-10-24 Kenichi Handa <handa@m17n.org>
2689 * face-remap.el (text-scale-adjust): Call read-event with a proper
2692 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2694 * emacs-lisp/unsafep.el: Don't mark functions that display
2695 messages as safe. Suggested by Johan Bockgård.
2697 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2699 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2700 Turn comments into docstrings.
2702 * minibuffer.el (completion--replace): Move point where it belongs
2703 when there's a common suffix (bug#7215).
2705 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2707 Merge read-color and facemenu-read-color (Bug#7242).
2709 * faces.el (read-color): Use the completion code from
2710 facemenu-read-color. Require match in completion. Doc fix.
2712 * facemenu.el (facemenu-read-color): Alias for read-color.
2713 (facemenu-set-foreground, facemenu-set-background):
2716 * frame.el (set-background-color, set-foreground-color)
2717 (set-cursor-color, set-mouse-color, set-border-color):
2720 2010-10-24 Leo <sdl.web@gmail.com>
2722 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2723 argument of delete-file and delete-directory (Bug#7011).
2725 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2727 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2730 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2732 * emacs-lisp/package.el (package--generate-package-list): Make the
2733 *Packages* buffer read-only.
2735 2010-10-24 Alan Mackenzie <acm@muc.de>
2737 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2738 result of `c-beginning-of-decl-1' between invocations of a lambda
2739 function (Bug #7265).
2741 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2743 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2744 executable is not available on the system (Bug#7268).
2746 2010-10-24 Glenn Morris <rgm@gnu.org>
2748 * select.el (selection-coding-system, next-selection-coding-system):
2749 Sync doc with C versions.
2751 * w32-vars.el (x-select-enable-clipboard):
2752 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2753 * term/common-win.el (x-select-enable-clipboard): Move here.
2755 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2756 definition of C variable.
2758 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2759 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2760 Don't redefine things that are defined in C.
2761 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2762 (show-trailing-whitespace, auto-hscroll-mode)
2763 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2764 Set up the appropriate custom properties.
2766 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2769 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2770 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2771 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2772 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2774 2010-10-23 Glenn Morris <rgm@gnu.org>
2776 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2779 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2780 Sync docs with C version.
2782 * term/ns-win.el (xw-defined-colors):
2783 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2785 * term/pc-win.el (x-select-enable-clipboard):
2786 * term/x-win.el (x-select-enable-clipboard):
2787 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2789 * comint.el (comint-password-prompt-regexp): Make it less vague.
2792 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2794 * help.el (finder-by-keyword): Remove unnecessary autoload.
2796 2010-10-22 Glenn Morris <rgm@gnu.org>
2798 * loadup.el: Unconditionally load float-sup.
2799 * paren.el (show-paren-delay):
2800 * emacs-lisp/float-sup.el:
2801 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2802 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2803 (lazy-lock-stealth-verbose): Assume float support.
2804 * ps-print.el: Assume float support on Emacs.
2805 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2806 Remove non-float branch.
2808 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2809 src/Makefile no longer being pre-processed.
2811 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * emacs-lisp/find-func.el (find-library): Use test-completion.
2815 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2817 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2819 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2821 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2822 space in stat format string.
2823 (tramp-send-command): Unset $PS1 when using here documents, in
2824 order not to get several prompts.
2825 (tramp-get-inline-coding): Return `nil' in case of errors.
2827 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2829 * hexl.el (hexl-mode, hexl-mode-exit):
2830 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2831 (hexl-revert-buffer-function): New function.
2832 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2834 2010-10-19 Alan Mackenzie <acm@muc.de>
2836 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2837 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2838 that these keywords aren't wrongly matched as identifiers.
2840 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2841 setting of c-new-BEG and c-new-END from c-before-change to
2842 c-after-change. (Bug#7181)
2844 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2846 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2849 * custom.el (custom-theme-set-variables): Likewise.
2850 (load-theme): Add custom-theme-set-faces and
2851 custom-theme-set-variables to safe-functions while loading.
2852 (custom-enabled-themes): Mark as risky.
2854 2010-10-18 Julien Danjou <julien@danjou.info>
2856 * bindings.el: Remove end dashes in default mode-line-format.
2858 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2860 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2861 to delete-forward-char.
2863 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2864 deletechar, and hence delete-forward-char.
2866 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * repeat.el (repeat): Use read-key (bug#6256).
2870 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2872 * emacs-lisp/unsafep.el: Don't mark functions that display
2873 messages as safe. Suggested by Johan Bockgård.
2875 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * minibuffer.el (completion--replace): Move point where it belongs
2878 when there's a common suffix (bug#7215).
2880 2010-10-19 Kenichi Handa <handa@m17n.org>
2882 * international/characters.el: Add category '|' (word breakable)
2883 to fullwidth characters.
2885 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2887 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2888 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2889 order to make stat results a float. Patch by Andreas Schwab
2890 <schwab@linux-m68k.org>.
2892 2010-10-18 Julien Danjou <julien@danjou.info>
2894 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2895 hidden by `make-pointer-invisible'.
2897 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * files.el (locate-file-completion-table): Strip non-matching elements
2900 before checking length of list (bug#7238).
2902 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2904 * custom.el (custom-theme-set-variables): Mark as a safe function.
2905 (load-theme): Check forms using unsafep.
2907 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2909 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2911 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2912 Fix aspell data file searching (bug#7230).
2914 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2916 * cus-theme.el (custom-theme--migrate-settings): New var.
2917 (customize-create-theme): Allow editing the `user' theme.
2918 (custom-theme-add-variable, custom-theme-add-var-1)
2919 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2920 to the front of each variable or face widget.
2921 (custom-theme-write): Save theme settings in the correct order.
2922 Optionally, remove saved settings from user customizations.
2923 (custom-theme-write-variables, custom-theme-write-faces):
2924 Save only the checked widgets.
2925 (customize-themes): Add a link for migrating custom settings.
2927 * custom.el (custom-declare-theme, provide-theme):
2928 Use custom-theme-name-valid-p.
2929 (custom-theme-name-valid-p): Remove checks that are now
2930 unnecessary since themes no longer obey load-path.
2932 * cus-edit.el (custom-variable-value-create): For the simple
2933 style, hide documentation string when hidden.
2935 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2937 * cus-edit.el (custom-variable, custom-face): Combine the
2938 :inhibit-magic and :display-style properties into a single
2939 :custom-style property.
2940 (custom-toggle-hide-variable, custom-toggle-hide-face):
2941 New functions. If hiding an edited value, save it to :shown-value.
2942 (custom-variable-value-create, custom-face-value-create): Use them.
2943 (custom-magic-reset): Allow magic property to be unset.
2945 * custom.el: Custom themes no longer use load-path.
2946 (custom-theme-load-path): New option. Change built-in theme
2948 (custom-enabled-themes): Add custom-theme-load-path dependency.
2949 (custom-theme--load-path): New function.
2950 (load-theme, custom-available-themes): Use it.
2952 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2953 (customize-themes): Link to custom-theme-load-path variable.
2954 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2955 :custom-style property.
2957 * themes/*.el: Moved to etc/.
2959 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2961 * textmodes/reftex-cite.el
2962 (reftex-extract-bib-entries-from-thebibliography): Do not move
2963 point when searching for \bibitem entries. Match entries with
2964 spaces or tabs in front of arguments.
2966 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2968 * cus-theme.el (customize-create-theme): Delete overlays after
2969 erasing. If given a THEME arg, display only the faces of that arg
2970 instead of custom-theme--listed-faces.
2971 (custom-theme-variable-menu, custom-theme-variable-action)
2972 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2973 (custom-theme-add-variable, custom-theme-add-face): Apply value
2974 from the theme settings, instead of the current value.
2975 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2976 (custom-theme-visit-theme): Allow calling outside theme buffers.
2977 (custom-theme-merge-theme): Don't enable the theme when merging.
2978 (custom-theme-write-variables, custom-theme-write-faces): Use the
2979 :shown-value properties to save buffer values, not global ones.
2980 (customize-themes): Display a warning about user customizations.
2982 * cus-edit.el (custom-variable-value-create)
2983 (custom-face-value-create): Obey new special properties
2984 :shown-value and :inhibit-magic.
2986 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2988 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2989 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2992 2010-10-14 Kenichi Handa <handa@m17n.org>
2994 * mail/rmail.el (rmail-show-message-1): Catch an error of
2995 base64-decode-region and just show an error message (bug#7165).
2997 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2998 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2999 a font-spec (bug#7197).
3001 2010-10-14 Glenn Morris <rgm@gnu.org>
3003 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3005 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3007 * international/mule.el (define-coding-system):
3008 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3009 * composite.el (compose-region): Fix typo in docstring.
3011 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3013 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3014 only after checking the theme-face property.
3016 * faces.el (face-spec-reset-face): Reset all attributes in one
3017 single call to set-face-attribute.
3018 (face-spec-match-p): Make it a defsubst.
3019 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3020 (x-create-frame-with-faces, tty-create-frame-with-faces)
3021 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3022 frame-set-background-mode, since they are recomputed immediately
3023 afterwards in face-set-after-frame-default.
3024 (face-set-after-frame-default): Minor optimization.
3025 (cursor): Provide non-trivial defface spec.
3027 * custom.el (custom-theme-recalc-face): Simplify.
3029 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3031 * calc/calc-alg.el (math-var): Rename from `var'.
3032 (math-is-polynomial, math-is-poly-rec): Replace `var'
3035 * calc/calcalg2.el (math-var): Rename from `var'.
3036 (calcFunc-table, math-scan-for-limits): Replace `var'
3039 2010-10-13 Glenn Morris <rgm@gnu.org>
3041 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3043 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3045 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3047 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3049 * net/tls.el (tls-program): Remove spurious %s from openssl.
3050 (tls-starttls-switches): Remove starttls hack.
3051 (open-tls-stream): Ditto.
3052 (tls-find-starttls-argument): Ditto.
3054 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3056 * image.el (image-library-alist): Declare as obsolete alias.
3057 (image-type-available-p): Use `dynamic-library-alist'.
3059 * term/w32-win.el (dynamic-library-alist):
3060 Use instead of `image-library-alist'.
3062 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3064 * subr.el (last): Make it faster. (Bug#7174)
3066 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3068 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3070 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3072 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3073 (describe-theme-1): Extract doc from unloaded themes.
3075 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3077 * themes/tango-theme.el:
3078 * themes/tango-dark-theme.el:
3079 * themes/wheatgrass-theme.el: New files.
3081 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3083 * cus-theme.el (describe-theme, customize-themes)
3084 (custom-theme-save): New commands.
3085 (custom-new-theme-mode-map): Bind C-x C-s.
3086 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3087 (customize-create-theme): New optional arg THEME.
3088 (custom-theme-revert): Use it.
3089 (custom-theme-visit-theme): Remove dead code.
3090 (custom-theme-merge-theme): Use custom-available-themes.
3091 (custom-theme-write): Make interactive.
3092 (custom-theme-write): Use custom-theme-name-valid-p.
3093 (describe-theme-1, custom-theme-choose-revert)
3094 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3096 (custom-theme-allow-multiple-selections): New option.
3097 (custom-theme-choose-mode): New major mode.
3099 * custom.el (custom-theme-set-variables): Remove dead code.
3100 Obey custom--inhibit-theme-enable.
3101 (custom--inhibit-theme-enable): New var.
3102 (provide-theme): Obey it.
3103 (load-theme): Replace load with manual read/eval, in order to
3104 check for correctness. Use custom-theme-name-valid-p.
3105 (custom-theme-name-valid-p): New function.
3106 (custom-available-themes): Use it.
3108 * cus-edit.el (custom--initialize-widget-variables): New function.
3109 (Custom-mode): Use it.
3111 * cus-face.el (custom-theme-set-faces): Remove dead code.
3112 Obey custom--inhibit-theme-enable.
3114 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3116 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3118 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3120 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3122 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3123 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3124 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3126 * cus-start.el (all): ns-right-alternate-modifier is new.
3128 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * emacs-lisp/lisp.el (lisp-completion-at-point):
3131 Use emacs-lisp-mode-syntax-table for the whole function.
3133 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3135 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3136 instead of font-lock-mode before adding keywords.
3137 Remove hi-lock-mode off code. Remove inhibit hack.
3138 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3139 non-nil; removed hook inhibit hack.
3141 2010-10-12 Glenn Morris <rgm@gnu.org>
3143 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3144 (load-path-shadows-find): ... to this.
3145 (list-load-path-shadows): Update for above change.
3147 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3149 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3151 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3152 Fix comment for declare-function.
3154 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3156 * custom.el (custom-fix-face-spec): New function; code moved from
3157 custom-face-edit-fix-value.
3158 (custom-push-theme): Use it when checking if a face has been
3159 changed outside customize.
3160 (custom-available-themes): New function.
3161 (load-theme): Use it.
3163 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3165 * custom.el (custom-push-theme): Cleanup (use cond).
3166 (disable-theme): Recompute the saved-face property.
3167 (custom-theme-recalc-face): Follow face alias before setting prop.
3169 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3170 New variables, containing checkbox images.
3172 * startup.el (fancy-startup-tail):
3173 * wid-edit.el (checkbox): Use them.
3175 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3177 * shell.el (shell-mode-map):
3178 * progmodes/modula2.el (m2-mode-map):
3179 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3180 * play/mpuz.el (mpuz-mode-map):
3181 * play/landmark.el (lm-mode-map):
3182 * play/decipher.el (decipher-mode-map):
3183 * play/5x5.el (5x5-mode-map):
3184 * net/telnet.el (telnet-mode-map):
3185 * net/quickurl.el (quickurl-list-mode-map):
3186 * net/mairix.el (mairix-searches-mode-map):
3187 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3188 * net/dig.el (dig-mode-map):
3189 * mail/mspools.el (mspools-mode-map):
3190 * hexl.el (hexl-mode-map):
3191 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3192 (wordstar-C-o-map, wordstar-C-q-map):
3193 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3194 * emacs-lisp/chart.el (chart-map):
3195 * edmacro.el (edmacro-mode-map):
3196 * erc/erc-list.el (erc-list-menu-mode-map):
3197 * array.el (array-mode-map): Declare and define in one step.
3199 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3201 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3203 * epa.el (epa-passphrase-callback-function): Display filename
3204 passed as the 3rd arg.
3205 * epa-file.el (epa-file-passphrase-callback-function):
3206 Pass filename to epa-passphrase-callback-function.
3208 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3210 * cus-edit.el (custom-face-widget-to-spec)
3211 (custom-face-get-current-spec, custom-face-state): New functions.
3212 (custom-face-set, custom-face-mark-to-save)
3213 (custom-face-value-create, custom-face-state-set): Use them.
3215 * cus-theme.el (custom-theme--listed-faces): New var.
3216 (customize-create-theme): Use *Custom Theme* as the buffer name.
3217 Set revert-buffer-function. Optional arg BUFFER. Insert all
3218 faces listed in custom-theme--listed-faces.
3219 (custom-theme-revert): New function.
3220 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3222 (custom-theme-write): Prompt for theme name if empty.
3223 (custom-theme-write-variables): Use dolist.
3224 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3226 2010-10-09 Alan Mackenzie <acm@muc.de>
3228 Enhance fontification of declarators to take account of the
3229 presence/absence of "typedef".
3231 * cc-engine.el (c-forward-type): New &optional param
3233 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3234 presence of either or both of a "struct"-like keyword and "typedef".
3236 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3237 fontification of declarators which follow a "}".
3238 (c-font-lock-declarations): Fontify declarators according to the
3239 presence/absence of "typedef".
3241 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3243 (c-typedef-decl-key): New lang variable built from
3244 c-typedef-decl-kwds.
3246 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3248 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3249 since that's too annoying. Move the filter groups commands to
3252 * epa.el (epa-passphrase-callback-function): Say what we're
3253 querying the password for.
3255 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3256 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3258 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3260 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3261 (custom-magic-value-create): Pad button tags with spaces.
3262 (custom-face-edit): New variable.
3263 (custom-face-value-create): Determine whether to use the usual
3264 face editor here, instead of using custom-face-selected.
3265 Pass face defaults to custom-face-edit widget.
3266 (custom-face-selected, custom-display-unselected): Delete widgets.
3267 (custom-display-unselected-match): Function removed.
3268 (custom-face-set, custom-face-mark-to-save):
3269 Accept custom-face-edit widgets as the direct widget child.
3271 * wid-edit.el (widget--completing-widget): New var.
3272 (widget-default-complete): Bind it when doing completion.
3273 (widget-string-complete, widget-file-complete): Use it.
3275 2010-10-09 Glenn Morris <rgm@gnu.org>
3277 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3278 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3279 (holiday-hebrew-misc): Small simplifications.
3281 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3283 * net/browse-url.el: Don't require thingatpt, term, dired,
3284 executable, or w3-auto when compiling.
3285 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3287 (browse-url-text-emacs): Require term.
3289 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3291 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3293 2010-10-08 Glenn Morris <rgm@gnu.org>
3295 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3297 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3298 (shadows-compare-text-p): Make it an obsolete alias for...
3299 (load-path-shadows-compare-text): ... new name.
3300 (find-emacs-lisp-shadows): Update for above name change.
3301 (load-path-shadows-same-file-or-nonexistent): New name for the old
3302 shadow-same-file-or-nonexistent.
3304 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3306 * minibuffer.el (completion--some, completion--do-completion)
3307 (minibuffer-complete-and-exit, minibuffer-completion-help)
3308 (completion-basic-try-completion)
3309 (completion-basic-all-completions)
3310 (completion-pcm--find-all-completions): Use lexical-let to
3311 avoid some false matches in variable completion (Bug#7056)
3313 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3315 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3317 2010-10-08 Leo <sdl.web@gmail.com>
3319 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3320 return non-nil if the file exists (Bug#7090).
3322 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * minibuffer.el (completion--replace):
3325 Better preserve markers (bug#7138).
3327 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3329 * server.el (server-process-filter): Doc fix.
3331 2010-10-08 Drew Adams <drew.adams@oracle.com>
3333 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3335 2010-10-08 Glenn Morris <rgm@gnu.org>
3337 * vc/ediff-wind.el (ediff-setup-control-frame):
3338 * vc/ediff-ptch.el (ediff-default-backup-extension):
3339 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3340 (ediff-exec-process): Remove system-types emx, windows-95.
3342 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3344 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3346 * cus-edit.el (custom-variable, custom-face): Doc fix.
3347 (custom-face-edit): Add value-create attribute.
3348 (custom-face-edit-value-create)
3349 (custom-face-edit-value-visibility-action): New functions.
3350 Hide unused face attributes by default, and add a visibility toggle.
3351 (custom-face-edit-deactivate): Show empty values with shadow face.
3352 (custom-face-selected): Only use this for face specs with default
3354 (custom-face-value-create): Cleanup.
3356 * wid-edit.el (widget-checklist-value-create): Use dolist.
3357 (widget-checklist-match-find): Make second arg optional.
3359 2010-10-07 Glenn Morris <rgm@gnu.org>
3361 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3364 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3365 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3366 load-path-shadows-mode, update references.
3367 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3368 Rename variable and button.
3369 (list-load-path-shadows): Update button caller.
3371 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3374 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3375 (smie-merge-prec2s): Handle those new entries.
3376 (smie-prec2-levels): Only set precedence to nil for actual
3378 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3379 that is now unnecessary.
3381 2010-10-07 Miles Bader <miles@gnu.org>
3383 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3385 2010-10-07 Glenn Morris <rgm@gnu.org>
3387 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3388 (mail-position-on-field): Remove declarations.
3389 (mail-position-on-field): Autoload it.
3390 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3391 and mail-header-end. Don't require sendmail.
3393 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3394 (shadow-mode): New mode.
3395 (shadow-find-file): New button.
3396 (list-load-path-shadows): Use shadow-mode and buttons.
3398 * iimage.el (iimage-version): Remove.
3399 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3400 Turn into defcustoms.
3401 (iimage-mode-map): Give it a doc string.
3403 * calendar/appt.el (appt-activate): Give a warning rather than an error
3404 if there is no diary-file.
3406 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3409 Use `tramp-handle-find-backup-file-name'.
3411 2010-10-06 Glenn Morris <rgm@gnu.org>
3413 * font-core.el (font-lock-defaults-alist): Remove variable.
3414 (font-lock-mode): Doc fix.
3415 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3416 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3417 (font-lock-set-defaults): Doc fix.
3418 Do not consult font-lock-defaults-alist.
3420 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3422 * emacs-lisp/cl.el: No longer provide cl-19.
3424 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3426 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3427 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3428 New defuns, taken from tramp-smb.el.
3429 (tramp-coding-system-change-eol-conversion)
3430 (tramp-set-process-query-on-exit-flag): Remove.
3432 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3433 (tramp-compat-coding-system-change-eol-conversion)
3434 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3437 * net/tramp-gvfs.el:
3438 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3439 by `tramp-compat-set-process-query-on-exit-flag'.
3441 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3442 Use `tramp-handle-directory-files-and-attributes',
3443 `tramp-handle-file-exists-p' and
3444 `tramp-handle-file-newer-than-file-p'.
3445 (tramp-imap-handle-file-exists-p)
3446 (tramp-imap-handle-file-executable-p)
3447 (tramp-imap-handle-file-readable-p)
3448 (tramp-imap-handle-directory-files-and-attributes)
3449 (tramp-imap-handle-file-newer-than-file-p): Remove.
3451 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3452 by `tramp-compat-set-process-query-on-exit-flag' and
3453 `tramp-coding-system-change-eol-conversion' by
3454 `tramp-compat-coding-system-change-eol-conversion'.
3456 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3457 Use `tramp-handle-directory-files-and-attributes',
3458 `tramp-handle-file-exists-p' and
3459 `tramp-handle-file-newer-than-file-p'.
3460 (tramp-smb-handle-directory-files-and-attributes)
3461 (tramp-smb-handle-file-exists-p)
3462 (tramp-smb-handle-file-newer-than-file-p): Remove.
3463 (tramp-smb-maybe-open-connection):
3464 Replace `tramp-set-process-query-on-exit-flag' by
3465 `tramp-compat-set-process-query-on-exit-flag'.
3467 2010-10-05 Glenn Morris <rgm@gnu.org>
3469 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3471 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3473 Continue reorganization of load dependencies. (Bug#7156)
3475 * net/tramp.el (tramp-handle-file-local-copy-hook)
3476 (tramp-delete-temp-file-function): Move down.
3477 (tramp-exists-file-name-handler): Move up.
3478 (tramp-register-file-name-handlers): Simplify autoload.
3479 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3480 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3481 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3482 (tramp-handle-file-name-completion)
3483 (tramp-handle-file-name-directory)
3484 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3485 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3486 (tramp-handle-find-backup-file-name)
3487 (tramp-handle-insert-file-contents, tramp-handle-load)
3488 (tramp-handle-substitute-in-file-name)
3489 (tramp-handle-unhandled-file-name-directory)
3490 (tramp-mode-string-to-int, tramp-local-host-p)
3491 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3493 * net/tramp-gvfs.el (top):
3494 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3496 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3497 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3499 2010-10-04 Glenn Morris <rgm@gnu.org>
3501 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3502 (appt-activate): Give status messages.
3504 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3506 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3507 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3508 `gnutls-negotiate' (formerly `starttls-negotiate').
3509 Remove trivial wrapper `starttls-open-stream'.
3511 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3513 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3514 log-outgoing commands.
3515 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3516 to create a buffer local revert-buffer-function variable.
3517 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3518 revert-buffer-function lambda.
3520 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3522 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3523 `gnutls-boot'. Make TYPE the only required parameter.
3524 Allow TRUSTFILES and KEYFILES to be lists.
3525 (open-ssl-stream): Use it.
3527 2010-10-03 Glenn Morris <rgm@gnu.org>
3529 * subr.el (directory-sep-char): Remove obsolete variable.
3530 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3533 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3534 * vc/vc.el (vc-static-header-alist): Doc fix.
3535 * vc/vc-cvs.el (vc-cvs-header):
3536 * vc/vc-rcs.el (vc-rcs-header):
3537 * vc/vc-sccs.el (vc-sccs-header):
3538 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3539 * obsolete/vc-mcvs.el (vc-mcvs-header):
3540 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3543 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3545 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3546 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3548 2010-10-03 Glenn Morris <rgm@gnu.org>
3550 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3552 * textmodes/rst.el (rst-font-lock-keywords-function):
3555 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3557 * printing.el: Drop Emacs 20 code.
3559 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3560 without having used appt.el already).
3562 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3563 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3564 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3566 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3567 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3569 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3570 (charset-width, find-charset-region, chars-in-region, forward-point)
3571 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3572 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3573 Remove compatibility cruft (none of these are used by ps*.el).
3575 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3577 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3579 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3581 * server.el (server-process-filter, server-return-error):
3582 Give emacsclient time to shut down after receiving an error string.
3584 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3586 * files.el (remote-file-name-inhibit-cache): New defcustom.
3588 * time.el (display-time-file-nonempty-p):
3589 Use `remote-file-name-inhibit-cache'.
3591 * net/tramp.el (tramp-completion-reread-directory-timeout):
3594 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3595 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3596 `remote-file-name-inhibit-cache'. Check also for an integer
3597 value. Add/increase counter when `tramp-verbose' >= 10.
3598 (tramp-set-file-property): Add/increase counter when
3599 `tramp-verbose' >= 10.
3601 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3602 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3603 (tramp-bug): Set tramp-autoload cookie. Report all interned
3604 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3605 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3606 characters only in strings.
3608 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3609 to backward compatibility.
3611 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3612 (tramp-handle-file-name-all-completions)
3613 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3614 (tramp-open-connection-setup-interactive-shell):
3615 Call `tramp-cleanup-connection' directly.
3617 2010-10-02 Glenn Morris <rgm@gnu.org>
3619 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3621 * subr.el (char-bytes): Remove obsolete function.
3623 * isearch.el (isearch-return-char): Remove obsolete function.
3625 * mouse.el: No longer provide mldrag.
3626 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3627 Remove obsolete aliases.
3629 * comint.el (comint-kill-output): Remove obsolete alias.
3631 * composite.el (decompose-composite-char): Remove obsolete function.
3632 * ps-def.el (decompose-composite-char): Remove unused function.
3634 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3636 * outline.el (outline-visible): Remove obsolete function.
3638 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3639 * faces.el (internal-find-face, internal-get-face)
3640 (frame-update-faces, frame-update-face-colors)
3641 (x-frob-font-weight, x-frob-font-slant)
3642 (internal-frob-font-weight, internal-frob-font-slant)
3643 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3644 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3645 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3647 * emulation/viper-util.el (viper-get-face):
3648 * obsolete/lucid.el (find-face, get-face): Use facep.
3649 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3650 Remove unused functions.
3651 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3653 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3654 delete tempfile if interrupted during compilation.
3656 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3658 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3660 (tls-program): Add --insecure to be consistent with the defaults from
3661 openssl s_client. Now all three commands are insecure.
3663 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3665 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3666 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3667 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3669 2010-10-01 Glenn Morris <rgm@gnu.org>
3671 * obsolete/sc.el: Remove file.
3673 * files.el (temporary-file-directory): On darwin, also try
3674 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3676 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3678 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3679 Let's not break compatibility gratuitously, shall we?
3681 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3683 * net/tls.el (tls-starttls-switches): New variable.
3684 (tls-find-starttls-argument): Use it.
3685 (open-tls-stream): Ditto.
3687 * net/netrc.el (netrc-credentials): Return the value of the "default"
3689 (netrc-machine): Ditto.
3691 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3693 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3695 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3697 * server.el (server-start): Don't write pid to the authentication file.
3698 (server-create-tty-frame): Don't send pid.
3699 (server-process-filter): Send pid at the start of every connection.
3701 2010-09-30 Glenn Morris <rgm@gnu.org>
3703 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3704 (show-all-diary-entries): Remove obsolete function aliases.
3706 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3707 Remove options, obsolete since 22.1.
3708 (appt-display-format, appt-display-message):
3709 Remove backwards-compatibility code.
3710 (appt-check): No longer check appt-issue-message.
3711 (appt-make-list): No longer autoload it. Doc fix. No longer
3712 activate the package.
3714 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3716 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3717 (starttls-negotiate): Just call boot, and let the handshake be
3718 triggered from the read loop.
3720 2010-09-29 Glenn Morris <rgm@gnu.org>
3722 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3723 not displaying the diary.
3724 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3725 * calendar/appt.el (appt-check): No longer need to kill diary.
3727 * calendar/diary-lib.el (diary-list-entries): Move the
3728 "Preparing..." message entirely here.
3729 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3730 messages to diary-list-entries.
3731 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3732 diary-display-function.
3734 * calendar/diary-lib.el (diary-include-other-diary-files):
3735 Trap some recursive includes.
3737 * calendar/appt.el (appt-activate): Check diary file.
3739 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3741 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3744 * calendar/time-date.el: No need to require cl for Emacs 21.
3746 2010-09-28 Glenn Morris <rgm@gnu.org>
3748 * calendar/appt.el (appt-check): Minor simplification.
3750 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3752 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3755 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3757 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3758 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3760 2010-09-27 Kenichi Handa <handa@m17n.org>
3762 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3765 2010-09-27 Kenichi Handa <handa@m17n.org>
3767 * international/mule.el (define-coding-system): Docstring fixed.
3769 * international/mule-diag.el (describe-character-set): Use princ
3770 with proper print-length and print-level instead of insert.
3772 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3774 * window.el (walk-windows): Doc fix (bug#7105).
3776 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * emacs-lisp/float-sup.el (e): Remove.
3780 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3782 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3784 (starttls-negotiate): Use it.
3786 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3791 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3795 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3799 * net/netrc.el (netrc-store-data): New function.
3801 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3803 * net/gnutls.el: GnuTLS glue code to set up a connection.
3805 2010-09-25 Julien Danjou <julien@danjou.info>
3807 * notifications.el: Call dbus-register-signal only if it is bound.
3809 2010-09-25 Glenn Morris <rgm@gnu.org>
3811 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3812 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3813 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3814 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3815 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3816 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3817 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3818 * eshell/esh-util.el, eshell/esh-var.el:
3819 Remove leading `*' from docs of faces and defcustoms.
3821 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3823 * eshell/em-ls.el (eshell-ls-archive-regexp):
3824 * eshell/esh-util.el (eshell-tar-regexp):
3825 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3826 * info.el (Info-suffix-list):
3827 * international/mule.el (auto-coding-alist):
3828 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3829 * progmodes/etags.el (tags-compression-info-list):
3830 Support xz compression.
3832 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3834 * files.el (get-free-disk-space): Don't assume the "df" output
3835 columns line up (Bug#6995).
3837 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3839 * finder.el (finder-unknown-keywords):
3840 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3841 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3843 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3845 * server.el (server-start): Revert part of 2010-08-08 change. Using
3846 address 127.0.0.1 for local host is now done in Fmake_network_process.
3848 2010-09-24 Glenn Morris <rgm@gnu.org>
3850 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3851 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3852 * textmodes/css-mode.el, textmodes/dns-mode.el:
3853 Move autoloaded auto-mode-alist entries to files.el.
3854 * files.el (auto-mode-alist): Move entries here.
3856 2010-09-23 Glenn Morris <rgm@gnu.org>
3858 * isearch.el (isearch-lazy-highlight-cleanup)
3859 (isearch-lazy-highlight-initial-delay)
3860 (isearch-lazy-highlight-interval)
3861 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3862 * net/net-utils.el (ipconfig-program-options):
3863 Move aliases to options before the associated definitions.
3865 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3867 * newcomment.el (comment-normalize-vars): Better test validity of
3870 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3873 (float-e): New name for `e'.
3874 (degrees-to-radians, radians-to-degrees):
3875 * calendar/solar.el (solar-longitude):
3876 * calculator.el (calculator-registers, calculator-funcall):
3877 * textmodes/artist.el (artist-spray-random-points):
3878 * play/bubbles.el (bubbles--initialize-images): Use new names.
3880 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3882 Update to CEDET 1.0's version of EIEIO.
3884 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3886 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3887 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3888 (class-precedence-list): If class is nil, return nil.
3889 (eieio-generic-call): If class of first input arg is nil, don't
3890 look up static methods, and do check for primary methods.
3891 (initialize-instance): See if the default needs to be evaluated
3892 during the constructor.
3893 (eieio-perform-slot-validation-for-default): Don't do the check
3894 for values that will eventually be evaluated.
3895 (eieio-eval-default-p): New function.
3896 (eieio-default-eval-maybe): Use it.
3898 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3900 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3901 method-invocation-order.
3902 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3903 (eieio-class-precedence-dfs): Compute class precedence list using
3905 (eieio-class-precedence-bfs): Compute class precedence list using
3907 (eieio-class-precedence-c3): Compute class precedence list using
3909 (class-precedence-list): New function.
3910 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3911 (inconsistent-class-hierarchy): New error symbol.
3912 (call-next-method): Stow the replacement argument list for future
3913 call-next-method invocations.
3915 2010-09-23 Glenn Morris <rgm@gnu.org>
3917 * calendar/appt.el (appt-check): If not displaying the diary,
3918 use (diary 1) to only get the entries we need.
3919 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3920 that it is in day order. (Bug#7019)
3922 * calendar/appt.el (appt-check): Rather than showing the diary,
3923 just turn off invisible display, and only if needed.
3925 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3927 2010-09-23 Glenn Morris <rgm@gnu.org>
3929 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3930 (byte-compile-defvar, byte-compile-cl-warn):
3931 Start warnings with lower-case, like the majority.
3933 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3935 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3937 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3938 * files.el (auto-mode-alist): Move ld-script entries here, further down
3941 * vc/add-log.el: Don't require timezone when compiling.
3942 (timezone-make-date-sortable): Autoload it.
3943 (change-log-sortable-date-at): Don't require timezone.
3944 Use `ignore-errors'.
3946 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3947 Move alias before definition, so it does not need autoloading.
3949 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3950 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3951 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3952 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3953 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3954 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3955 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3956 * textmodes/tex-mode.el, textmodes/two-column.el:
3957 Remove leading `*' from docs of defcustoms etc.
3959 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3961 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3963 2010-09-22 Dan Christensen <jdc@uwo.ca>
3965 * calendar/time-date.el (date-to-time): Try using parse-time-string
3966 first before using the slower timezone-make-date-arpa-standard.
3968 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3970 * calendar/time-date.el (format-seconds): Comment fix.
3972 2010-09-22 Glenn Morris <rgm@gnu.org>
3974 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3975 is not automatically buffer-local.
3977 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3980 (smie-indent-comment): Be more careful with comment-start-skip.
3981 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3982 (smie-indent-functions): Use them.
3984 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3986 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3988 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3990 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3991 tool-bar-position. Don't modify frame parameters here.
3992 (menu-bar-options-save): Add tool-bar-position.
3994 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3996 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * textmodes/reftex-parse.el (reftex-what-macro)
3999 (reftex-context-substring): Let-bind forward-sexp-function to nil
4000 since we don't need/want to treat \begin...\end as a block (bug#7053).
4002 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4004 * simple.el (blink-matching-open): Use syntax-class.
4006 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4007 Set invisibility spec for pascal's outline mode.
4008 (pascal-outline-change): Clean up calling convention.
4009 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4011 * progmodes/prolog.el (prolog-smie-forward-token)
4012 (prolog-smie-backward-token): New functions.
4013 (prolog-mode-variables): Use them to parse "!," correctly.
4014 Set up smie-blink-matching for ".".
4016 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4018 (ispell-region, ispell-process-line): Update users.
4020 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4023 * textmodes/ispell.el: Fix commenting convention.
4024 (ispell-parse-output): Simplify, use push.
4025 (ispell-region): Use match-string-no-properties.
4026 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4027 (ispell-minor-mode): Use define-minor-mode.
4028 (ispell-message): Remove unused var `skip-regexp'.
4029 (ispell-add-per-file-word-list): Use dynamic let-binding.
4030 Try and use the proper comment marker.
4032 * mail/sendmail.el: Fix commenting convention.
4033 (sendmail-send-it): Use line-beginning-position.
4035 * help-fns.el (describe-variable): Add original value, if applicable.
4037 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4039 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4041 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4043 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4046 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4047 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4048 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4049 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4050 something like "." can also be a closer.
4051 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4052 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4053 Rename internal functions to use "--". Update callers.
4055 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4057 * fringe.el (fringe-styles): New var.
4058 (fringe-mode, fringe-query-style): Use it.
4060 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4062 * progmodes/sql.el: Version 2.8
4063 (sql-login-params): Update widget structure; changes still needed.
4064 (sql-product-alist): Add :list-all and :list-table features for
4065 SQLite, Postgres and MySQL products.
4066 (sql-redirect): Handle default value.
4067 (sql-execute, sql-execute-feature): New functions.
4068 (sql-read-table-name): New function.
4069 (sql-list-all, sql-list-table): New functions. User API.
4070 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4071 for above functions.
4072 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4073 for above functions.
4074 (sql-postgres-login-params): Add user and database defaults.
4075 (sql-buffer-live-p): Bug fix.
4076 (sql-product-history): New variable.
4077 (sql-read-product): New function. Use it.
4078 (sql-set-product, sql-product-interactive): Use it.
4079 (sql-connection-history): New variable.
4080 (sql-read-connection): New function. Use it.
4081 (sql-connect): New function.
4082 (sql-for-each-login): Redesign function interface.
4083 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4084 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4085 (sql-comint): Check for program. Existing live buffer.
4086 (sql-comint-postgres): Add port parameter.
4088 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * emacs-lisp/warnings.el: Fix commenting convention.
4091 (display-warning): Use special mode and make the buffer read-only.
4093 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4095 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4096 empty string when it follows a repeated or optional pattern.
4098 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4101 (indent-region): Use indent-according-to-mode.
4103 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4105 * fringe.el (fringe-mode): Doc fix.
4107 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4109 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4110 refreshing the preview buffer.
4112 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4114 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4115 (latex-syntax-propertize-rules): New consts; replace
4116 tex-font-lock-syntactic-keywords.
4117 (tex-env-mark, latex-env-before-change): New functions.
4118 (latex-electric-env-pair-mode): New minor mode.
4119 (tex-font-lock-verb): Change arguments; do move point.
4120 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4121 representation as a form of comment.
4122 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4123 (doctex-syntax-propertize-rules): New const; replaces
4124 doctex-font-lock-syntactic-keywords.
4125 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4127 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4128 (fortran-make-syntax-propertize-function): New function; replaces
4129 fortran-font-lock-syntactic-keywords.
4130 (fortran-mode): Use it.
4131 (fortran-line-length): Use it. Improve interactive spec.
4133 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4134 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4135 when adding surrounding \(..\).
4137 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4139 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4142 Use with-current-buffer.
4144 * isearch.el (isearch-face): Rename from `isearch'.
4145 (isearch-highlight): Use new name.
4147 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4149 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4150 5, for `half' width fringes. (Bug#6933)
4152 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4155 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4157 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4159 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4161 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4162 in calculating new frame position. Add more space between new and
4163 parent on the left (Bug#7048).
4165 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4167 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4170 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4172 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4174 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4175 obsolete alias for x-selection-value.
4177 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4179 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4181 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4184 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4186 * net/tramp-compat.el (tramp-compat-with-temp-message)
4187 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4188 (tramp-compat-process-put): New defuns.
4190 * net/tramp.el (top):
4191 * net/tramp-gvfs.el (top):
4192 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4194 * net/tramp.el (tramp-progress-reporter-update):
4195 Use `tramp-compat-funcall'.
4197 * net/tramp.el (tramp-process-actions):
4198 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4199 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4200 (tramp-get-remote-stat, tramp-get-remote-readlink):
4201 Use `tramp-compat-with-temp-message'.
4203 * net/tramp-sh.el (top): Require 'cl.
4204 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4205 (tramp-open-connection-setup-interactive-shell):
4206 Use `tramp-compat-process-put'.
4208 2010-09-15 Alan Mackenzie <acm@muc.de>
4210 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4212 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4214 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4217 `lexical' for warnings related to lexical scoping.
4218 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4219 global vars which don't have a prefix and could hence affect lexical
4220 scoping in unrelated files.
4222 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4224 * net/imap.el: Revert back to version
4225 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4228 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4230 * obsolete/old-whitespace.el (whitespace-unload-function):
4231 Explicitly pass `obarray' to `unintern' to avoid a warning.
4233 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4236 Add `when' argument. Update callers.
4238 * subr.el (unintern): Declare the obarray arg mandatory.
4240 2010-09-14 Glenn Morris <rgm@gnu.org>
4242 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4245 * calendar/diary-lib.el (diary-included-files): New variable.
4246 (diary-list-entries): Maybe initialize diary-included-files.
4247 (diary-include-other-diary-files): Append to diary-included-files.
4248 * calendar/appt.el (appt-update-list): Also check the members of
4249 diary-included-files. (Bug#6999)
4250 (appt-check): Doc fix.
4252 2010-09-14 David Reitter <david.reitter@gmail.com>
4254 * simple.el (line-move-visual): Do not truncate goal column to
4255 integer size. (Bug#7020)
4257 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * repeat.el (repeat): Allow repeating when the last event is a click.
4260 Suggested by Drew Adams (bug#6256).
4262 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4264 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4265 Replace setting HGRCPATH to "" by some less invasive --config options.
4267 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4269 * font-lock.el (font-lock-beginning-of-syntax-function):
4272 2010-09-14 Glenn Morris <rgm@gnu.org>
4274 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4275 and tool-bar modes. (Bug#6211)
4276 (menu-bar-mode): Move setting of standard-value after the
4277 minor-mode definition, otherwise it seems to have no effect.
4279 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4281 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4282 Fix typo. (Bug#6976)
4284 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4286 * whitespace.el: Allow cleaning up blanks without blank
4287 visualization (Bug#6651). Adjust help window for
4288 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4289 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4290 (whitespace-style): Add new value 'face. Adjust docstring.
4291 (whitespace-space, whitespace-hspace, whitespace-tab):
4292 Adjust foreground property face.
4293 (whitespace-line-column): Adjust docstring and type declaration.
4294 (whitespace-style-value-list, whitespace-toggle-option-alist)
4295 (whitespace-help-text): Adjust const initialization.
4296 (whitespace-toggle-options, global-whitespace-toggle-options):
4298 (whitespace-display-window, whitespace-interactive-char)
4299 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4300 (whitespace-help-scroll): New fun.
4302 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4304 * calendar/time-date.el (format-seconds): Comment fix.
4306 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4308 * progmodes/sql.el: Version 2.7.
4309 (sql-buffer-live-p): Improve detection.
4310 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4311 (sql-set-sqli-buffer): Use it.
4312 (sql-product-interactive): Run `sql-set-sqli-hook'.
4313 (sql-rename-buffer): Code cleanup.
4314 (sql-redirect, sql-redirect-value): New functions. More to come.
4316 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4318 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.
4319 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4320 (TRAMP_SRC): New macro.
4321 ($(lisp)/net/tramp-loaddefs.el): New target.
4323 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4325 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4327 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4329 * net/tramp.el (top): Don't show loading message. Require just
4330 'tramp-compat, everything else is required there.
4331 Use `ignore-errors' where appropriate.
4332 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4333 (tramp-terminal-type, tramp-end-of-output)
4334 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4335 (tramp-completion-function-alist-ssh)
4336 (tramp-completion-function-alist-telnet)
4337 (tramp-completion-function-alist-su)
4338 (tramp-completion-function-alist-putty, tramp-remote-path)
4339 (tramp-remote-process-environment, tramp-sh-extra-args)
4340 (tramp-actions-before-shell, tramp-uudecode)
4341 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4342 (tramp-perl-file-attributes)
4343 (tramp-perl-directory-files-and-attributes)
4344 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4345 (tramp-perl-encode, tramp-perl-decode)
4346 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4347 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4348 (tramp-handle-make-symbolic-link, tramp-handle-load)
4349 (tramp-handle-file-name-as-directory)
4350 (tramp-handle-file-name-directory)
4351 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4352 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4353 (tramp-do-file-attributes-with-ls)
4354 (tramp-do-file-attributes-with-perl)
4355 (tramp-do-file-attributes-with-stat)
4356 (tramp-handle-set-visited-file-modtime)
4357 (tramp-handle-verify-visited-file-modtime)
4358 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4359 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4360 (tramp-handle-file-selinux-context)
4361 (tramp-handle-set-file-selinux-context)
4362 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4363 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4364 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4365 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4366 (tramp-handle-file-ownership-preserved-p)
4367 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4368 (tramp-handle-directory-files-and-attributes)
4369 (tramp-do-directory-files-and-attributes-with-perl)
4370 (tramp-do-directory-files-and-attributes-with-stat)
4371 (tramp-handle-file-name-all-completions)
4372 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4373 (tramp-handle-copy-file, tramp-handle-copy-directory)
4374 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4375 (tramp-do-copy-or-rename-file-via-buffer)
4376 (tramp-do-copy-or-rename-file-directly)
4377 (tramp-do-copy-or-rename-file-out-of-band)
4378 (tramp-handle-make-directory, tramp-handle-delete-directory)
4379 (tramp-handle-delete-file)
4380 (tramp-handle-dired-recursive-delete-directory)
4381 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4382 (tramp-handle-insert-directory)
4383 (tramp-handle-unhandled-file-name-directory)
4384 (tramp-handle-expand-file-name)
4385 (tramp-handle-substitute-in-file-name)
4386 (tramp-handle-executable-find, tramp-process-sentinel)
4387 (tramp-handle-start-file-process, tramp-handle-process-file)
4388 (tramp-handle-call-process-region, tramp-handle-shell-command)
4389 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4390 (tramp-handle-insert-file-contents)
4391 (tramp-handle-insert-file-contents-literally)
4392 (tramp-handle-find-backup-file-name)
4393 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4394 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4395 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4396 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4397 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4398 (tramp-find-file-exists-command, tramp-open-shell)
4399 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4400 (tramp-open-connection-setup-interactive-shell)
4401 (tramp-local-coding-commands, tramp-remote-coding-commands)
4402 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4403 (tramp-inline-compress-commands, tramp-find-inline-compress)
4404 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4405 (tramp-send-command, tramp-wait-for-output)
4406 (tramp-send-command-and-check, tramp-barf-unless-okay)
4407 (tramp-send-command-and-read, tramp-mode-string-to-int)
4408 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4409 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4410 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4411 (tramp-method-out-of-band-p, tramp-local-host-p)
4412 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4413 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4414 (tramp-get-test-command, tramp-get-test-nt-command)
4415 (tramp-get-file-exists-command, tramp-get-remote-ln)
4416 (tramp-get-remote-perl, tramp-get-remote-stat)
4417 (tramp-get-remote-readlink, tramp-get-remote-trash)
4418 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4419 (tramp-get-local-uid, tramp-get-local-gid)
4420 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4422 (tramp-methods, tramp-default-method-alist)
4423 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4424 Move initialization to tramp-sh.el.
4425 (tramp-temp-name-prefix): Make it a defconst.
4426 (tramp-dissect-file-name): Don't check anymore for multi-hop
4428 (tramp-debug-outline-regexp): Add a docstring.
4429 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4430 (tramp-get-debug-buffer): Use it.
4432 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4433 initialization forms.
4434 (tramp-set-connection-property): Don't protect `tramp-message'
4435 call, it isn't necessary any longer.
4436 (tramp-dump-connection-properties): Use `ignore-errors'.
4438 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4439 'password-cache and 'auth-source.
4441 * net/tramp-gvfs.el (top):
4442 * net/tramp-smb.el (top): Require 'tramp-sh.
4444 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4446 * net/tramp-sh.el: New file, derived from tramp.el.
4447 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4448 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4449 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4450 Use `ignore-errors' where appropriate.
4451 (tramp-sh-file-name-handler-alist): Rename from
4452 `tramp-file-name-handler-alist'.
4453 (tramp-send-command-and-check): Return t or nil. Remove all
4454 `zerop' checks, where called.
4455 (tramp-handle-set-file-modes)
4456 (tramp-do-copy-or-rename-file-directly)
4457 (tramp-handle-delete-directory, tramp-handle-delete-file)
4458 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4459 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4460 (tramp-get-remote-ln): Set tramp-autoload cookie.
4462 * net/tramp-fish.el: Remove file.
4464 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4466 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4467 buffer-file-name to avoid file-locking. (Bug#7026)
4469 2010-09-13 Julien Danjou <julien@danjou.info>
4471 * notifications.el (notifications-notify): Add support for
4472 image-path and sound-name.
4473 (notifications-specification-version): Add this variable.
4475 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4479 2010-09-12 Leo <sdl.web@gmail.com>
4481 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4482 (rcirc-completion-start): New variables.
4483 (rcirc-nick-completions): Rename to rcirc-completions.
4484 (rcirc-nick-completion-start-offset): Delete.
4485 (rcirc-completion-at-point): New function for constructing
4486 completion data for both nicks and irc commands. Add to
4487 completion-at-point-functions in rcirc mode.
4488 (rcirc-complete): Rename from rcirc-nick-complete; use
4489 rcirc-completion-at-point.
4490 (defun-rcirc-command): Update rcirc-client-commands.
4492 2010-09-11 Glenn Morris <rgm@gnu.org>
4494 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4495 atomically, to avoid parallel build errors. (Bug#4196)
4497 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4499 * progmodes/sql.el: Version 2.6
4500 (sql-dialect): Synonym for "sql-product".
4501 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4502 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4503 Set "sql-buffer" to buffer name not buffer object so multiple sql
4504 interactive buffers work properly. Reverts misguided changes in
4506 (sql-comint): Make sure different buffer name is used if "*SQL*"
4507 buffer is for a different product.
4508 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4510 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4511 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4512 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4513 Accept new buffer name or prompt for one.
4514 (sql-port): Default to zero.
4515 (sql-comint-mysql): Handle "sql-port" as a numeric.
4516 (sql-port-history): Delete unused variable.
4517 (sql-get-login): Default "sql-port" to a number.
4518 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4519 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4520 "sqlite3" executables.
4521 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4522 (sql-buffer-live-p): New function.
4523 (sql-mode-menu, sql-send-string): Use it.
4524 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4526 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4527 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4529 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4531 * net/netrc.el (netrc-credentials): New convenience function.
4533 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4536 to replace texinfo-font-lock-syntactic-keywords.
4537 (texinfo-mode): Use it.
4539 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4540 Use syntax-propertize-function.
4542 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4543 replace sgml-font-lock-syntactic-keywords.
4544 (sgml-mode): Use it.
4546 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4547 since we don't use it.
4549 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4551 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4553 (vhdl-fontify-buffer): Adjust.
4555 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4556 replace tcl-font-lock-syntactic-keywords.
4559 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4560 replace simula-font-lock-syntactic-keywords.
4561 (simula-mode): Use it.
4563 * progmodes/sh-script.el (sh-st-symbol): Remove.
4564 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4565 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4566 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4567 (sh-font-lock-paren): Set syntax-multiline.
4568 (sh-font-lock-syntactic-keywords): Remove.
4569 (sh-syntax-propertize-function): New function to replace it.
4572 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4573 Define while compiling.
4574 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4575 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4576 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4577 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4578 (ruby-here-doc-end-syntax): Only define when
4579 syntax-propertize is not available.
4580 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4582 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4583 (electric-indent-chars): Silence bytecompiler.
4584 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4585 electric-indent-chars.
4587 * progmodes/python.el (python-syntax-propertize-function): New var to
4588 replace python-font-lock-syntactic-keywords.
4589 (python-mode): Use it.
4590 (python-quote-syntax): Simplify and adjust to new use.
4592 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4593 replace perl-font-lock-syntactic-keywords.
4594 (perl-syntax-propertize-special-constructs): New fun to replace
4595 perl-font-lock-special-syntactic-constructs.
4596 (perl-font-lock-syntactic-face-function): New fun.
4597 (perl-mode): Use it.
4599 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4600 to replace octave-font-lock-close-quotes.
4601 (octave-syntax-propertize-function): New function to replace
4602 octave-font-lock-syntactic-keywords.
4603 (octave-mode): Use it.
4605 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4606 replaces mixal-font-lock-syntactic-keywords.
4607 (mixal-mode): Use it.
4609 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4610 New var; replaces makefile-font-lock-syntactic-keywords.
4611 (makefile-mode): Use it.
4612 (makefile-imake-mode): Adjust.
4614 * progmodes/js.el (js--regexp-literal): Define while compiling.
4615 (js-syntax-propertize-function): New var; replaces
4616 js-font-lock-syntactic-keywords.
4619 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4620 replaces gdb-script-font-lock-syntactic-keywords.
4621 (gdb-script-mode): Use it.
4623 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4624 (fortran--font-lock-syntactic-keywords): New var.
4625 (fortran-line-length): Update syntax-propertize-function and
4626 fortran--font-lock-syntactic-keywords.
4628 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4630 * progmodes/cfengine.el (cfengine-mode):
4631 Use syntax-propertize-function.
4632 (cfengine-font-lock-syntactic-keywords): Remove.
4634 * progmodes/autoconf.el (autoconf-mode):
4635 Use syntax-propertize-function.
4636 (autoconf-font-lock-syntactic-keywords): Remove.
4638 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4639 (ada-after-change-function, ada-initialize-syntax-table-properties)
4640 (ada-handle-syntax-table-properties): Only define when
4641 syntax-propertize is not available.
4642 (ada-mode): Use syntax-propertize-function.
4644 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4645 (font-lock-fontify-syntactic-keywords-region): Move handling of
4646 font-lock-syntactically-fontified to...
4647 (font-lock-default-fontify-region): ...here.
4648 Let syntax-propertize-function take precedence.
4649 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4651 * emacs-lisp/syntax.el (syntax-propertize-function)
4652 (syntax-propertize-chunk-size, syntax-propertize--done)
4653 (syntax-propertize-extend-region-functions): New vars.
4654 (syntax-propertize-wholelines, syntax-propertize-multiline)
4655 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4656 (syntax-propertize): New functions.
4657 (syntax-propertize-rules): New macro.
4658 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4659 (syntax-ppss): Call syntax-propertize.
4661 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4663 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4665 * textmodes/ispell.el (ispell-init-process): Improve comments.
4666 XEmacs compatibility changes regarding (add-hook) 'local option
4667 and (set-process-query-on-exit-flag).
4669 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4671 * net/tramp-cache.el (tramp-parse-connection-properties):
4672 Set tramp-autoload cookie.
4674 2010-09-09 Glenn Morris <rgm@gnu.org>
4676 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4677 (imagemagick-register-types): Doc fix.
4679 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4683 * progmodes/js.el (require): Require is already "eval-and-compile".
4684 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4685 (js--re-search-backward): Use js--re-search-forward.
4687 * progmodes/fortran.el (fortran-line-length): Don't recompute
4688 syntactic keywords redundantly a second time.
4690 * progmodes/ada-mode.el: Replace "(set '" with setq.
4691 (ada-mode): Simplify.
4692 (ada-create-case-exception, ada-adjust-case-interactive)
4693 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4694 (ada-search-ignore-string-comment, ada-move-to-start)
4695 (ada-move-to-end): Use with-syntax-table.
4697 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4698 (font-lock-unfontify-region, font-lock-default-fontify-region):
4699 Update usage correspondingly.
4700 (font-lock-fontify-syntactic-keywords-region):
4701 Set parse-sexp-lookup-properties buffer-locally here.
4702 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4704 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4706 2010-09-08 Glenn Morris <rgm@gnu.org>
4708 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4709 Error if not compiled with -DBYTE_CODE_METER.
4711 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4712 Ignore dir-locals-file.
4714 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4718 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4719 for the `gnu' messages.
4720 (compilation-set-skip-threshold): New command.
4721 (compilation-start): Use \' rather than $.
4722 (compilation-forget-errors): Use clrhash.
4724 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4726 * textmodes/ispell.el (ispell-valid-dictionary-list):
4729 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4731 Migrate to Tramp 2.2. Rearrange load dependencies.
4732 (Bug#1529, Bug#5448, Bug#5705)
4734 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4735 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4736 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4738 * net/tramp.el (top): Remove all other tramp-* loads except
4739 tramp-compat.el. Remove all changes to tramp-unload-hook for
4740 other tramp-* packages. Rearrange defun order. Change calls of
4741 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4742 `tramp-compat-octal-to-decimal' to new function names.
4743 (tramp-terminal-type, tramp-initial-end-of-output)
4744 (tramp-methods, tramp-foreign-file-name-handler-alist)
4745 (tramp-tramp-file-p, tramp-completion-mode-p)
4746 (tramp-send-command-and-check, tramp-get-remote-path)
4747 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4748 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4749 (with-file-property, with-connection-property): Move to
4751 (tramp-local-call-process, tramp-decimal-to-octal)
4752 (tramp-octal-to-decimal): Move to tramp-compat.el.
4753 (tramp-handle-shell-command): Do not require 'shell.
4754 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4756 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4758 * net/tramp-cache.el (top): Require 'tramp. Add to
4759 `tramp-unload-hook'.
4760 (tramp-cache-data, tramp-get-file-property)
4761 (tramp-set-file-property, tramp-flush-file-property)
4762 (tramp-flush-directory-property, tramp-get-connection-property)
4763 (tramp-set-connection-property, tramp-flush-connection-property)
4764 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4766 (with-file-property, with-connection-property): New defuns, moved
4768 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4771 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4772 (tramp-version): Set tramp-autoload cookie.
4774 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4775 changes to tramp-unload-hook for other tramp-* packages. Add to
4776 `tramp-unload-hook'.
4777 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4778 (tramp-compat-call-process): New defuns, moved from tramp.el.
4780 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4781 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4782 Add to `tramp-unload-hook'. Change call of
4783 `tramp-compat-decimal-to-octal' to new function name.
4784 (tramp-fish-method): Make it a defconst.
4785 (tramp-fish-file-name-p): Make it a defsubst.
4786 (tramp-fish-method, tramp-fish-file-name-handler)
4787 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4789 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4790 `tramp-foreign-file-name-handler-alist'. Add to
4791 `tramp-unload-hook'.
4792 (tramp-ftp-method): Make it a defconst.
4793 (tramp-ftp-file-name-p): Make it a defsubst.
4794 (tramp-ftp-method, tramp-ftp-file-name-handler)
4795 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4797 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4798 `tramp-foreign-file-name-handler-alist'. Add to
4799 `tramp-unload-hook'. Change checks, whether package can be
4801 (tramp-gvfs-file-name-p): Make it a defsubst.
4802 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4803 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4804 (tramp-gvfs-handle-file-directory-p): New defun.
4805 (tramp-gvfs-file-name-handler-alist): Use it.
4807 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4808 `tramp-foreign-file-name-handler-alist'. Add to
4809 `tramp-unload-hook'.
4810 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4811 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4813 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4814 (tramp-gw-open-connection): Set tramp-autoload cookie.
4816 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4817 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4818 Add to `tramp-unload-hook'. Change checks, whether package can be
4820 (tramp-imap-file-name-p): Make it a defsubst.
4821 (tramp-imap-method, tramp-imaps-method)
4822 (tramp-imap-file-name-handler)
4823 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4825 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4826 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4827 Add to `tramp-unload-hook'. Change checks, whether package can be
4828 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4830 (tramp-smb-tunnel-method): Make it a defconst.
4831 (tramp-smb-file-name-p): Make it a defsubst.
4832 (tramp-smb-method, tramp-smb-file-name-handler)
4833 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4835 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4836 (tramp-uuencode-region): Set tramp-autoload cookie.
4838 * net/trampver.el (top) Add to `tramp-unload-hook'.
4839 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4840 cookie. Update release number.
4842 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4844 * textmodes/ispell.el (ispell-start-process): Make sure original
4845 arg list is properly initialized (Bug#6993, Bug#6994).
4847 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4849 * files.el (directory-abbrev-alist): Use \` as default regexp.
4851 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4852 chars like - or ] (bug#6984).
4853 (rx-any-condense-range): Explode 2-char ranges.
4855 2010-09-06 Glenn Morris <rgm@gnu.org>
4857 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4859 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * textmodes/bibtex.el:
4862 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4864 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4867 since no callers use it.
4868 (imap-message-get): Ditto.
4869 (imap-message-put): Ditto.
4870 (imap-mailbox-map): Ditto.
4871 (imap-mailbox-put): Ditto.
4872 (imap-mailbox-get): Ditto.
4873 (imap-mailbox-get): Revert last change for this function.
4875 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4877 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4878 callers to use `imap-fetch' instead. According to the comments, this
4879 should be safe, since all other IMAP clients use the 1:* syntax.
4880 (imap-enable-exchange-bug-workaround): Remove.
4881 (imap-debug): Remove -- doesn't seem very useful.
4883 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885 * net/imap.el (imap-log): New convenience function used throughout
4886 instead of repeating the same code all over the place.
4888 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4890 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4891 when mouse-drag-copy-region is non-nil (Bug#6956).
4893 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4895 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4896 Improve regexps (Bug#6987).
4897 (dired-sort-toggle): Search more robustly for -t flag.
4899 * files.el (get-free-disk-space): Search more robustly for
4900 "available" column. Suggested by Ehud Karni
4901 <ehud@unix.mvs.co.il>.
4903 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4905 * international/uni-bidi.el:
4906 * international/uni-category.el:
4907 * international/uni-combining.el:
4908 * international/uni-decimal.el:
4909 * international/uni-mirrored.el:
4910 * international/uni-name.el: Regenerate.
4912 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4914 * electric.el (electric-indent-post-self-insert-function):
4915 Don't reindent with a sloppy indentation function.
4917 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4918 border case in change-log-mode.
4920 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4923 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4924 Recognize leading tab in gcc-include regexp. Ignore names with
4925 leading "from" or "in" in gnu regexp (Bug#6937).
4927 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4929 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4930 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4931 (ispell-start-process): Avoid setq and simplify logic.
4932 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4933 (kill-buffer-hook): Don't use it globally with code that uses
4934 expand-file-name since that may call kill-buffer via
4935 code_conversion_restore.
4937 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4939 * emacs-lisp/package.el (package-directory-list): Only call
4940 file-name-nondirectory on a string.
4942 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4944 * emacs-lisp/package.el (package--download-one-archive):
4945 Ensure that archive-contents is valid before saving it.
4946 (package-activate-1, package-mark-obsolete, define-package)
4947 (package-compute-transaction, package-list-maybe-add): Use push.
4949 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4951 Use SMIE's blink-paren for octave-mode.
4952 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4953 Backslashes do not escape single-quotes, single-quotes do.
4954 (octave-block-else-regexp, octave-block-end-regexp)
4955 (octave-block-match-alist): Remove.
4956 (octave-smie-bnf-table): New var, with old content.
4957 (octave-smie-op-levels): Use it.
4958 (octave-smie-closer-alist): New var.
4959 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4960 (octave-blink-matching-block-open): Remove.
4961 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4962 (octave-electric-space): Let self-insert-command run expand-abbrev and
4965 * electric.el (electricity): New group.
4966 (electric-indent-chars): New var.
4967 (electric-indent-post-self-insert-function): New fun.
4968 (electric-indent-mode): New minor mode.
4969 (electric-pair-skip-self): New custom.
4970 (electric-pair-post-self-insert-function): New function.
4971 (electric-pair-mode): New minor mode.
4973 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4974 calcAlg-blink-matching-open.
4975 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4976 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4977 Use the new blink-matching-check-function.
4979 Provide blink-matching support to SMIE.
4980 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4981 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4982 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4984 * simple.el (newline): Fix last change to properly remove itself from
4987 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * simple.el (newline): Eliminate optimization.
4990 Use post-self-insert-hook to set hard-newline and things before
4991 running post-self-insert-hook.
4992 (blink-matching-check-mismatch): New function.
4993 (blink-matching-check-function): New variable.
4994 (blink-matching-open): Use them.
4995 Skip back forward over prefix chars skipped by forward-sexp.
4996 Don't check if the parens are backslash escaped.
4997 (blink-paren-post-self-insert-function): Check backslash escaping here.
4999 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5001 * emacs-lisp/package.el (package-menu-mode-map):
5002 Change package-menu-revert bindings to revert-buffer.
5003 (package-menu-mode): Set revert-buffer-function.
5004 (package-menu-revert): Doc fix.
5006 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5008 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5009 `default-directory' unless using Ispell per-directory personal
5010 dictionaries and not in a mini-buffer under XEmacs.
5011 (kill-buffer-hook): Do not kill ispell process on exit when
5012 `ispell-process-directory' is "~/". (Bug#6143)
5014 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5016 * simple.el (kill-new): Call interprogram-cut-function with only
5019 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5020 Remove cut buffer from error message.
5022 * term/x-win.el (x-select-text):
5023 * term/pc-win.el (x-selection-value):
5024 * term/ns-win.el (x-selection-value):
5025 * eshell/em-term.el:
5026 * w32-fns.el (x-get-selection-value):
5027 * mouse-sel.el (mouse-sel-set-selection-function):
5028 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5030 * term/x-win.el: Update documentation for x-last-selected-text-*.
5031 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5032 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5033 (x-select-text): Remove argument PUSH, update documentation.
5034 Remove cut-buffer code.
5035 (x-selection-value-internal): Was previously x-selection-value.
5036 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5037 Update documentation, remove cut-buffer code.
5038 Call x-selection-value-internal.
5039 (x-clipboard-yank): Call x-selection-value-internal.
5040 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5042 * term/pc-win.el (x-last-selected-text):
5043 x-cut-buffer-or-selection-value renamed to x-selection-value
5044 (x-select-text): Remove argument PUSH, update documentation.
5046 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5047 x-cut-buffer-or-selection-value renamed to x-selection-value
5048 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5049 (x-select-text): Remove argument PUSH, update documentation.
5051 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5053 * w32-fns.el (x-last-selected-text):
5054 x-cut-buffer-or-selection-value renamed to x-selection-value.
5055 (x-cut-buffer-max): Remove.
5056 (x-select-text): Remove argument PUSH, update documentation.
5058 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5060 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5062 * mouse-sel.el (mouse-sel-get-selection-function):
5063 x-cut-buffer-or-selection-value renamed to x-selection-value.
5064 (x-select-text): Remove optional push.
5066 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * simple.el (blink-paren-function): Move from C to here.
5069 (blink-paren-post-self-insert-function): New function.
5070 (post-self-insert-hook): Use it.
5072 * emacs-lisp/pcase.el (pcase-split-memq):
5073 Fix overenthusiastic optimisation.
5074 (pcase-u1): Handle the case of a lambda pred.
5076 2010-08-31 Kenichi Handa <handa@m17n.org>
5078 * international/mule-cmds.el (standard-display-european-internal):
5079 Setup standard-display-table for 8-bit characters by storing 8-bit
5080 characters in the element vector.
5082 * disp-table.el (standard-display-8bit):
5083 Setup standard-display-table for 8-bit characters by storing 8-bit
5084 characters in the element vector.
5085 (standard-display-european): Likewise.
5087 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5089 * textmodes/nroff-mode.el (nroff-view): New command.
5090 (nroff-mode-map): Bind it to C-c C-c.
5092 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * emacs-lisp/smie.el (smie-down-list): New command.
5096 Remove old indentation and navigation code on octave-mode.
5097 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5098 smie-down-list rather than add a binding for octave-down-block.
5099 (octave-mark-block, octave-blink-matching-block-open):
5100 Rely on forward-sexp-function.
5101 (octave-fill-paragraph): Don't narrow, so you can use
5102 indent-according-to-mode.
5103 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5104 (octave-in-block-p, octave-re-search-forward-kw)
5105 (octave-re-search-backward-kw, octave-indent-calculate)
5106 (octave-end-as-array-index-p, octave-block-end-offset)
5107 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5108 (octave-down-block, octave-backward-up-block, octave-up-block)
5109 (octave-before-magic-comment-p, octave-indent-line): Remove.
5111 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5113 * emacs-lisp/package.el (package--read-archive-file): Just use
5114 `read', to avoid copying an additional string.
5115 (package-menu-mode): Set header-line-format here.
5116 (package-menu-refresh, package-menu-revert): Signal an error if
5117 not in the Package Menu.
5118 (package-menu-package-list): New var.
5119 (package--generate-package-list): Operate on the current buffer;
5120 don't assume that it is *Packages*, since the user may rename it.
5121 Allow persistent package listings and sort keys using
5122 package-menu-package-list and package-menu-package-sort-key.
5123 (package-menu--version-predicate): Fix version calculation.
5124 (package-menu-sort-by-column): Don't select the window.
5125 (package--list-packages): Create the *Packages* buffer.
5126 Set package-menu-package-list-key.
5127 (list-packages): Sorting by status is now the default.
5128 (package-buffer-info): Use match-string-no-properties.
5129 (define-package): Add a &rest argument for future proofing, but
5131 (package-install-from-buffer, package-install-buffer-internal):
5132 Merge into a single function, package-install-from-buffer.
5133 (package-install-file): Change caller.
5135 * finder.el: Load finder-inf using `require'.
5136 (finder-list-matches): Sorting by status is now the default.
5137 (finder-compile-keywords): Simpify printing.
5139 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5142 (octave-mode-map): Remove special bindings for forward/backward-block
5143 and octave-backward-up-block. Use smie-close-block.
5144 (octave-continuation-marker-regexp): New var.
5145 (octave-continuation-regexp): Use it.
5146 (octave-operator-table, octave-smie-op-levels)
5147 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5148 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5149 (octave-mode): Use SMIE.
5150 (octave-close-block): Delete.
5152 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5154 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5155 CLIPBOARD, not in PRIMARY. (Bug#6944)
5157 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5161 (smie-indent-column): Allow indirection through variables.
5163 * composite.el (save-buffer-state): Delete, unused.
5164 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5165 (font-lock-default-fontify-region): Use with-syntax-table.
5166 * jit-lock.el (with-buffer-unmodified): Remove.
5167 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5169 Use `declare' in defmacros.
5170 * window.el (save-selected-window):
5171 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5172 * progmodes/python.el (def-python-skeleton):
5173 * net/dbus.el (dbus-ignore-errors):
5174 * jka-cmpr-hook.el (with-auto-compression-mode):
5175 * international/mule.el (with-category-table):
5176 * emacs-lisp/timer.el (with-timeout):
5177 * emacs-lisp/lisp-mnt.el (lm-with-file):
5178 * emacs-lisp/eieio.el (with-slots):
5179 * emacs-lisp/easymenu.el (easy-menu-define):
5180 * emacs-lisp/debug.el (debugger-env-macro):
5181 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5182 (Multiple-value-call, Multiple-value-prog1):
5183 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5184 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5185 edebug rule to definition.
5186 * emacs-lisp/lisp-mode.el (save-selected-window)
5187 (with-current-buffer, combine-after-change-calls)
5188 (with-output-to-string, with-temp-file, with-temp-buffer)
5189 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5190 (dolist, dotimes, when, unless):
5191 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5193 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5195 * finder.el: Require `package'.
5196 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5197 (finder-package-info): Var deleted.
5198 (finder-keywords-hash, finder--builtins-alist): New vars.
5199 (finder-compile-keywords): Compute package--builtins and
5200 finder-keywords-hash instead of finder-keywords-hash, respecting
5201 the "Package" header.
5202 (finder-unknown-keywords, finder-list-matches):
5203 Use finder-keywords-hash and package--list-packages.
5204 (finder-mode): Don't set font-lock-defaults.
5205 (finder-exit): We don't use "*Finder-package*" and "*Finder
5206 Category*" buffers anymore.
5208 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5209 (package--builtins): Set default value to nil.
5210 (package-initialize): Load precomputed value of package--builtins
5212 (package-alist, package-compute-transaction)
5213 (package-download-transaction): Improve docstring.
5214 (package-read-all-archive-contents): Do not change
5215 package--builtins here.
5216 (list-packages): Make package-list-packages an alias for this.
5217 Sort by status by default.
5218 (package--list-packages): Add optional PACKAGES arg.
5219 (describe-package-1): Use font-lock-face property. For built-in
5220 packages, insert file commentary.
5221 (package--generate-package-list): Rename from
5222 package-list-packages-internal; all callers changed. Add optional
5223 PACKAGES arg. Add alphabetical sort fallbacks.
5224 (package-menu--version-predicate, package-menu--status-predicate)
5225 (package-menu--description-predicate)
5226 (package-menu--name-predicate): New functions.
5228 * info.el (Info-finder-find-node): Search package-alist instead of
5229 finder-package-info.
5231 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5233 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5235 (version-to-list): Handle versions like "10.3d".
5237 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5239 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5240 (macroexp-accumulate): Use `declare'.
5242 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5244 * whitespace.el (whitespace-style): Adjust type declaration.
5246 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5248 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5249 empty argument to gvfs-copy.
5251 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5253 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5254 handle new TRASH arg of `delete-file'.
5256 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5258 * net/tramp.el (tramp-handle-insert-directory): Don't use
5259 `forward-word', its default syntax could be changed.
5261 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5262 Michael Albinus <michael.albinus@gmx.de>
5264 Implement compression for inline methods.
5266 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5267 (tramp-copy-size-limit): Allow also nil.
5268 (tramp-inline-compress-commands): New defconst.
5269 (tramp-find-inline-compress, tramp-get-inline-compress)
5270 (tramp-get-inline-coding): New defuns.
5271 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5272 replaced by `tramp-get-inline-coding'.
5273 (tramp-handle-file-local-copy, tramp-handle-write-region)
5274 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5276 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5278 Detect ssh 'ControlMaster' argument automatically in some cases.
5280 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5281 (tramp-default-method): Use it.
5283 2010-08-26 Karel Klíč <kklic@redhat.com>
5285 * net/tramp.el (tramp-file-name-for-operation):
5286 Add file-selinux-context.
5288 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5290 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5292 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5294 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5297 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5299 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5300 (js-paren-indent-offset, js-square-indent-offset)
5301 (js-curly-indent-offset): New options.
5302 (js--proper-indentation): Use them.
5304 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5306 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5307 instead of inspecting font-lock properties (Bug#6916).
5309 2010-08-26 David Reitter <david.reitter@gmail.com>
5311 * server.el (server-visit-files): Run pre-command-hook and
5312 post-command-hook for each buffer while it is current (Bug#6910).
5313 (server-execute): Do not run hooks here.
5315 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5317 Sync with Tramp 2.1.19.
5319 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5320 (tramp-reporter-dump-variable, tramp-load-report-modules)
5321 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5322 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5324 * net/tramp-compat.el (top): Do not autoload
5325 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5326 only when `start-file-process' is not bound.
5327 (byte-compile-not-obsolete-vars): Define if not bound.
5328 (tramp-compat-funcall): New defmacro.
5329 (tramp-compat-line-beginning-position)
5330 (tramp-compat-line-end-position)
5331 (tramp-compat-temporary-file-directory)
5332 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5333 (tramp-compat-copy-file, tramp-compat-copy-directory)
5334 (tramp-compat-delete-file, tramp-compat-delete-directory)
5335 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5337 (tramp-advice-file-expand-wildcards): Do not use
5338 `tramp-handle-file-remote-p'.
5339 (tramp-compat-make-temp-file): Simplify fallback implementation.
5340 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5341 (tramp-compat-copy-tree): Remove function.
5342 (tramp-compat-delete-file): New defun.
5343 (tramp-compat-delete-directory): Provide implementation for older
5345 (tramp-compat-file-attributes): Handle only
5346 `wrong-number-of-arguments' error.
5348 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5349 Add PRESERVE_SELINUX_CONTEXT.
5350 (tramp-fish-handle-delete-file): Add TRASH arg.
5351 (tramp-fish-handle-directory-files-and-attributes):
5352 Do not use `tramp-fish-handle-file-attributes.
5353 (tramp-fish-handle-file-local-copy)
5354 (tramp-fish-handle-insert-file-contents)
5355 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5357 * net/tramp-gvfs.el (top): Require url-util.
5358 (tramp-gvfs-mount-point): Remove.
5359 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5360 and `set-file-selinux-context'.
5361 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5362 (tramp-gvfs-handle-file-selinux-context)
5363 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5364 (with-tramp-dbus-call-method): Format trace message.
5365 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5366 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5367 Implement backup call, when operation on local files fails.
5368 Use progress reporter. Flush properties of changed files.
5369 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5370 Use `tramp-compat-delete-file'.
5371 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5372 (tramp-gvfs-handle-make-directory): Make more traces.
5373 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5374 (tramp-gvfs-url-file-name): Hexify file name in url.
5375 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5376 into account for the resulting file name.
5377 (tramp-gvfs-handler-askquestion): Preserve current message, in
5378 order to let progress reporter continue afterwards. (Bug#6257)
5379 Return dummy mountpoint, when the answer is "no".
5380 See `tramp-gvfs-maybe-open-connection'.
5381 (tramp-gvfs-handler-mounted-unmounted)
5382 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5383 attribute "default_location". Set "prefix" property.
5384 Handle default-location.
5385 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5386 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5387 exists. Raise an error, if not (due to a corresponding answer
5388 "no" in interactive questions, for example).
5389 Use `tramp-compat-funcall'.
5391 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5392 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5393 (tramp-imap-do-copy-or-rename-file)
5394 (tramp-imap-handle-insert-file-contents)
5395 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5396 (tramp-imap-handle-delete-file): Add TRASH arg.
5398 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5399 Add PRESERVE-SELINUX-CONTEXT.
5400 (tramp-smb-handle-copy-file)
5401 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5402 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5403 Use `with-progress-reporter'.
5404 (tramp-smb-handle-delete-file): Add TRASH arg.
5406 * net/tramp.el (tramp-methods): Move hostname to the end in all
5407 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5409 (tramp-verbose): Describe verbose level 9.
5410 (tramp-completion-function-alist)
5411 (tramp-file-name-regexp, tramp-chunksize)
5412 (tramp-local-coding-commands, tramp-remote-coding-commands)
5413 (with-connection-property, tramp-completion-mode-p)
5414 (tramp-action-process-alive, tramp-action-out-of-band)
5415 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5416 (tramp-exists-file-name-handler): Fix docstring.
5417 (tramp-remote-process-environment): Use `format' instead of
5418 `concat'. Protect version string by apostroph.
5419 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5421 (tramp-file-name-regexp-unified)
5422 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5423 not regard the volume letter as remote filename. (Bug#5447)
5424 (tramp-perl-file-attributes)
5425 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5426 (tramp-vc-registered-read-file-names): Read input as
5427 here-document, otherwise the command could exceed maximum length
5429 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5430 `set-file-selinux-context'.
5431 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5432 backtrace functions.
5433 (tramp-error-with-buffer): Don't show the connection buffer when
5434 we are in completion mode.
5435 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5436 (tramp-handle-file-selinux-context)
5437 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5438 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5440 (with-progress-reporter): New defmacro.
5441 (tramp-debug-outline-regexp): New defconst.
5442 (top, tramp-rfn-eshadow-setup-minibuffer)
5443 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5444 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5445 (tramp-completion-mode-p, tramp-check-for-regexp)
5446 (tramp-open-connection-setup-interactive-shell)
5447 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5448 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5449 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5450 Use `tramp-compat-funcall'.
5451 (tramp-handle-make-symbolic-link): Flush file properties.
5452 (tramp-handle-load, tramp-handle-file-local-copy)
5453 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5454 (tramp-handle-vc-registered, tramp-maybe-send-script)
5455 (tramp-find-shell): Use `with-progress-reporter'.
5456 (tramp-do-file-attributes-with-stat): Add space in format string,
5457 in order to work around a bug in pdksh. Reported by Gilles Pion
5459 (tramp-handle-verify-visited-file-modtime): Do not send a command
5460 when the connection is not established.
5461 (tramp-handle-set-file-times): Simplify the check for utc.
5462 (tramp-handle-directory-files-and-attributes)
5463 (tramp-get-remote-path): Use `copy-tree'.
5464 (tramp-completion-handle-file-name-all-completions): Ensure, that
5465 non remote files are still checked. Oops.
5466 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5467 Handle PRESERVE-SELINUX-CONTEXT.
5468 (tramp-do-copy-or-rename-file): Add progress reporter.
5469 (tramp-do-copy-or-rename-file-directly): Do not use
5470 `tramp-handle-file-remote-p'.
5471 (tramp-do-copy-or-rename-file-out-of-band):
5472 Use `tramp-compat-delete-directory'.
5473 (tramp-do-copy-or-rename-file-out-of-band)
5474 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5475 Use `format-spec-make'.
5476 (tramp-handle-delete-file): Add TRASH arg.
5477 (tramp-handle-dired-uncache): Flush directory cache, not only file
5479 (tramp-handle-expand-file-name)
5480 (tramp-completion-handle-file-name-all-completions)
5481 (tramp-completion-handle-file-name-completion):
5482 Use `tramp-connectable-p'.
5483 (tramp-handle-start-file-process): Set connection property "vec".
5484 Use it, in order to invalidate file caches. Check only for
5485 `remote-tty' process property.
5486 Implement tty setting. (Bug#4604, Bug#6360)
5487 (tramp-file-name-for-operation): Add `call-process-region' and
5488 `set-file-selinux-context'.
5489 (tramp-find-foreign-file-name-handler)
5490 (tramp-advice-make-auto-save-file-name)
5491 (tramp-set-auto-save-file-modes): Remove superfluous check for
5492 `stringp'. This is done inside `tramp-tramp-file-p'.
5493 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5494 operations when we are in completion mode. This gives the user
5495 the chance to correct the file name in the minibuffer.
5496 (tramp-completion-mode-p): Use `non-essential'.
5497 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5498 compatibility: Use `completion-ignore-case' if
5499 `read-file-name-completion-ignore-case' does not exist.
5500 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5501 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5503 (tramp-action-password): Hide password prompt before next run.
5504 (tramp-process-actions): Widen connection buffer for the trace.
5505 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5506 process property. Trace stty settings if `tramp-verbose' >= 9.
5507 Apply workaround for IRIX64 bug. Move argument of last
5508 `tramp-send-command' where it belongs to.
5509 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5510 front of `login-args'.
5511 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5512 on "/dev/null" instead of "/".
5513 (tramp-get-ls-command-with-dired): Make test for "--dired"
5515 (tramp-set-auto-save-file-modes): Adapt version check.
5516 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5517 (tramp-handle-process-file): Call the program in a subshell, in
5518 order to preserve working directory.
5519 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5520 `tramp-remote-sh' from `tramp-methods'.
5521 (tramp-get-ls-command): Make test for "--color=never" stronger.
5522 (tramp-check-for-regexp): Use (forward-line 1).
5524 * net/trampver.el: Update release number.
5526 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5528 * help.el (help-map): Bind `C-h P' to describe-package.
5530 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5532 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5533 when downloading archives.
5534 (describe-package-1): Add package commentary.
5535 (package-install-button-action): New function.
5536 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5537 (package-menu-view-commentary): Function removed.
5538 (package-list-packages-internal): Hide the `package' package too.
5540 2010-08-25 Kenichi Handa <handa@m17n.org>
5542 * language/misc-lang.el ("Arabic"): New language environment.
5543 Setup composition-function-table for Arabic characters.
5545 * international/fontset.el (setup-default-fontset): Fix typo for
5546 arabic OTF spec (fini->fina).
5548 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5550 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5553 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5555 * whitespace.el: Allow cleaning up blanks without blank
5556 visualization (Bug#6651). Adjust help window for
5557 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5558 instead of whitespace-line-column (from EmacsWiki). New version
5560 (whitespace-style): Add new value 'face. Adjust docstring.
5561 (whitespace-space, whitespace-hspace, whitespace-tab):
5562 Adjust foreground property face.
5563 (whitespace-line-column): Adjust docstring and type declaration.
5564 (whitespace-style-value-list, whitespace-toggle-option-alist)
5565 (whitespace-help-text): Adjust const initialization.
5566 (whitespace-toggle-options, global-whitespace-toggle-options):
5568 (whitespace-display-window, whitespace-interactive-char)
5569 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5570 (whitespace-help-scroll): New fun.
5572 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5574 * emacs-lisp/package.el (list-packages): Alias for
5575 package-list-packages.
5577 2010-08-24 Kevin Ryde <user42@zip.com.au>
5579 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5582 * progmodes/ruby-mode.el (ruby): Add defgroup.
5584 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5586 * progmodes/python.el: Add Ipython support (Bug#5390).
5587 (python-shell-prompt-alist)
5588 (python-shell-continuation-prompt-alist): New options.
5589 (python--set-prompt-regexp): New function.
5590 (inferior-python-mode, run-python, python-shell):
5591 Require ansi-color. Use python--set-prompt-regexp to set the comint
5592 prompt based on the Python interpreter.
5593 (python--prompt-regexp): New var.
5594 (python-check-comint-prompt)
5595 (python-comint-output-filter-function): Use it.
5596 (run-python): Use a pipe (Bug#5694).
5598 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5600 * progmodes/python.el (python-send-region): Send a different
5601 Python command if Ipython is in use.
5602 (python-check-version): Use a Python command to find the version.
5604 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5606 * mouse.el (mouse-yank-primary): Avoid setting primary when
5607 deactivating the mark (Bug#6872).
5609 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5611 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5612 with "else" (Bug#3991).
5614 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5616 * net/dbus.el: Accept UNIX domain sockets as bus address.
5617 (top): Don't initialize `dbus-registered-objects-table' anymore,
5618 this is done in dbusbind,c.
5619 (dbus-check-event): Adapt test for bus.
5620 (dbus-return-values-table, dbus-unregister-service)
5621 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5624 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5626 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5628 2010-08-22 Juri Linkov <juri@jurta.org>
5630 * simple.el (read-extended-command): New function with the logic
5631 for `completing-read' moved to Elisp from `execute-extended-command'.
5632 Use `function-called-at-point' in `minibuffer-default-add-function'
5633 to get a command name for M-n (bug#5364, bug#5214).
5635 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5637 * startup.el (command-line-1): Issue warning for ignored arguments
5638 --unibyte, etc (Bug#6886).
5640 2010-08-22 Leo <sdl.web@gmail.com>
5642 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5643 (ignore, bright, dim, keyword): Split list of nicknames before
5644 passing to rcirc-add-or-remove (Bug#6894).
5646 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5648 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5650 2010-08-22 Leo <sdl.web@gmail.com>
5652 Fix buffer-list rename&refresh after killing a buffer in ido.
5653 * ido.el: Revert Óscar's.
5654 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5655 Remember the buffers at head, rather than their name.
5656 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5658 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5659 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5662 extra backslash added to each line (bug#6890).
5664 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5668 2010-08-22 Glenn Morris <rgm@gnu.org>
5670 * menu-bar.el (menu-bar-games-menu): Add landmark.
5672 2010-08-22 Glenn Morris <rgm@gnu.org>
5674 * align.el (align-regexp): Make group and spacing arguments
5675 use the interactive defaults when non-interactive. (Bug#6698)
5677 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5678 expansion, so as not to need sendmail.
5679 (mail-text-start): Remove declaration.
5680 (rmail-retry-failure): Require sendmail.
5682 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5684 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5686 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5688 * progmodes/flymake.el (flymake-start-syntax-check-process):
5689 Use `start-file-process' in order to let it run also on remote hosts.
5691 2010-08-22 Kenichi Handa <handa@m17n.org>
5693 * files.el: Add `word-wrap' as safe local variable.
5695 2010-08-22 Glenn Morris <rgm@gnu.org>
5697 * woman.el (woman-translate): Case matters. (Bug#6849)
5699 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5701 * simple.el (kill-region): Doc fix (Bug#6787).
5703 2010-08-22 Glenn Morris <rgm@gnu.org>
5705 * calendar/diary-lib.el (diary-header-line-format):
5706 Fit it to the window, not the frame.
5708 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5710 * subr.el (ignore-errors): Add debug declaration.
5712 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5714 * whitespace.el (whitespace-color-off): Remove post-command-hook
5717 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5721 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5723 * cus-edit.el (custom-group-value-create): Add extra newline
5724 before end line (Bug#6876).
5726 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5728 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5729 when extending it. Before killing on the second click, check if
5730 the buffer is the correct one. Doc fix.
5731 (mouse-secondary-save-then-kill): Allow usage without first
5732 calling mouse-start-secondary, by defaulting to point. Don't save
5733 an empty secondary selection. Doc fix.
5735 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5737 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5738 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5740 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5741 Adjust initialization.
5742 (whitespace-bob-marker, whitespace-eob-marker)
5743 (whitespace-buffer-changed): New vars.
5744 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5745 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5746 (whitespace-post-command-hook, whitespace-display-char-on):
5748 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5749 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5751 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5753 * files.el (locate-file-completion-table): Only list the .el and .elc
5754 extensions if there's no other choice (bug#5955).
5756 * facemenu.el (facemenu-self-insert-data): New var.
5757 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5759 (facemenu-add-face): Use them.
5761 * simple.el (blink-matching-open): Obey forward-sexp-function.
5763 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * simple.el (prog-mode-map): New var.
5766 (prog-indent-sexp): New command.
5768 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5770 * progmodes/prolog.el (smie): Require.
5772 * emacs-lisp/smie.el (smie-default-backward-token)
5773 (smie-default-forward-token): Strip properties.
5774 (smie-next-sexp): Be more careful with associative operators.
5775 (smie-forward-sexp-command): Generalize.
5776 (smie-backward-sexp-command): Simplify.
5777 (smie-closer-alist): New var.
5778 (smie-close-block): New command.
5779 (smie-indent-debug-log): New var.
5780 (smie-indent-offset-rule): Add a few more cases.
5781 (smie-indent-column): New function.
5782 (smie-indent-after-keyword): Use it.
5783 (smie-indent-keyword): Use it.
5784 Fix up the opener code's point position.
5785 (smie-indent-comment): Only applies at BOL.
5786 (smie-indent-debug): New command.
5788 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5789 declarations that are useful before running the macro.
5791 2010-08-18 Joakim Verona <joakim@verona.se>
5793 * image.el (imagemagick-types-inhibit): New variable.
5794 (imagemagick-register-types): New function.
5795 * image-mode.el (image-transform-properties): New function.
5796 (image-transform-set-scale, image-transform-fit-to-height)
5797 (image-transform-set-rotation, image-transform-set-resize)
5798 (image-transform-fit-to-width, image-transform-fit-to-height):
5800 (image-toggle-display-image): Support image transforms.
5802 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5804 * image.el (create-animated-image): Don't add heuristic mask to image
5807 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5809 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5810 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5812 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5816 Font-lock '...' strings, plus various simplifications and fixes.
5817 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5818 (octave-font-lock-close-quotes): New function.
5819 (octave-font-lock-syntactic-keywords): New var.
5820 (octave-mode): Use it. Set beginning-of-defun-function.
5821 (octave-mode-map): Don't override the <foo>-defun commands.
5822 (octave-mode-menu): Pass it directly to easy-menu-define;
5823 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5824 (octave-block-match-alist): Fix up last change so that
5825 octave-close-block uses the more specific keyword.
5826 (info-lookup-mode): Silence byte-compiler.
5827 (octave-beginning-of-defun): Not interactive any more.
5829 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5830 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5831 (octave-completion-at-point-function): Make sure point is within
5833 (octave-reindent-then-newline-and-indent):
5834 Use reindent-then-newline-and-indent.
5835 (octave-add-octave-menu): Remove.
5837 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5839 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5840 (report-emacs-bug-can-use-xdg-email): New functions.
5841 (report-emacs-bug): Set can-xdg-email to result of
5842 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5843 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5846 * net/browse-url.el (browse-url-default-browser): Add cond
5847 for browse-url-xdg-open.
5848 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5850 2010-08-17 Glenn Morris <rgm@gnu.org>
5852 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5853 (c-fontify-recorded-types-and-refs): Define for compiler.
5854 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5857 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5860 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5862 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5864 (tramp-handle-process-file): Call the program in a subshell, in
5865 order to preserve working directory.
5866 (tramp-action-password): Hide password prompt before next run.
5867 (tramp-process-actions): Widen connection buffer for the trace.
5869 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5871 * net/rcirc.el (rcirc-log-process-buffers): New option.
5872 (rcirc-print): Use it.
5873 (rcirc-generate-log-filename): New function.
5874 (rcirc-log-filename-function): Change default to
5875 rcirc-generate-log-filename (Bug#6828).
5877 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5879 * simple.el (deactivate-mark): If select-active-regions is `only',
5880 only set selection for temporarily active regions.
5882 * cus-start.el: Change defcustom for select-active-regions.
5884 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5886 * mouse.el (mouse--drag-set-mark-and-point): New function.
5887 (mouse-drag-track): Use LOCATION arg to push-mark.
5888 Use mouse--drag-set-mark-and-point to take click-count into
5889 consideration when updating point and mark (Bug#6840).
5891 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5894 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5896 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5898 * font-lock.el (lisp-font-lock-keywords-2):
5899 Add combine-after-change-calls, condition-case-no-debug,
5900 with-demoted-errors, and with-silent-modifications (Bug#6025).
5902 2010-08-14 Kevin Ryde <user42@zip.com.au>
5904 * emacs-lisp/copyright.el (copyright-update-year)
5905 (copyright-update): Temporary switch-to-buffer to ensure the
5906 buffer change being queried is visible (Bug#5394).
5908 2010-08-14 Tom Tromey <tromey@redhat.com>
5910 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5913 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5915 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5918 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5920 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5921 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5922 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5923 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5924 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5925 Call menu-bar-set-tool-bar-position.
5927 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5930 comment style (bug#6834).
5931 * progmodes/scheme.el (scheme-mode-syntax-table):
5932 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5933 "b" flag in "' 14b" syntax.
5935 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5936 for (un)commenting the region and performing completion.
5937 (octave-mode-menu): Use standard commands for help and completion.
5938 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5939 (octave-mode): Use define-derived-mode.
5940 Set completion-at-point-functions and don't set columns.
5941 Don't disable adaptive-fill-regexp.
5942 (octave-describe-major-mode, octave-comment-region)
5943 (octave-uncomment-region, octave-comment-indent)
5944 (octave-indent-for-comment): Remove.
5945 (octave-indent-calculate): Rename from calculate-octave-indent.
5946 (octave-indent-line, octave-fill-paragraph): Update caller.
5947 (octave-initialize-completions): No need to make an alist.
5948 (octave-completion-at-point-function): New function.
5949 (octave-complete-symbol): Use it.
5950 (octave-insert-defun): Use define-skeleton.
5952 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5953 (octave-mode-map): Use comment-dwim (bug#6829).
5955 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5957 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5958 indentation of inserted comment.
5960 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5962 * faces.el (region): Add type gtk that uses gtk colors.
5964 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5965 Handle theme-name change.
5967 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5969 * progmodes/sql.el: Version 2.5
5970 (sql-product-alist): Add :prompt-cont-regexp property for several
5972 (sql-prompt-cont-regexp): New variable.
5973 (sql-output-newline-count, sql-output-by-send):
5974 New variables. Record number of newlines in input text.
5975 (sql-send-string): Handle multiple filters and count newlines.
5976 (sql-send-magic-terminator): Count terminator newline.
5977 (sql-interactive-remove-continuation-prompt): Filters output to
5978 remove continuation prompts; one for each newline.
5979 (sql-interactive-mode): Set up new variables, prompt regexp and
5981 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5982 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5984 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * emacs-lisp/pcase.el: New file.
5988 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5990 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5991 as here-document, otherwise the command could exceed maximum
5992 length of command line.
5993 (tramp-handle-vc-registered): Call script accordingly.
5994 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5996 2010-08-10 Kenichi Handa <handa@m17n.org>
5998 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6001 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6003 * emacs-lisp/package.el (package-version-split)
6004 (package--version-first-nonzero, package-version-compare):
6006 (package-directory-list, package-load-all-descriptors)
6007 (package--built-in, package-activate, define-package)
6008 (package-installed-p, package-compute-transaction)
6009 (package-read-all-archive-contents)
6010 (package--add-to-archive-contents, package-buffer-info)
6011 (package-tar-file-info, package-list-packages-internal):
6012 Use version-to-list and version-list-*.
6014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6015 Use version-to-list.
6016 (package-upload-buffer-internal): Use version-list-<=.
6018 2010-08-09 Kenichi Handa <handa@m17n.org>
6020 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6023 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6025 * tutorial.el (tutorial--default-keys): C-d is now bound to
6026 delete-forward-char (Bug#6826).
6028 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6029 for `double' value of mouse-1-click-follows-link (Bug#6807).
6031 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6033 * replace.el (replace-highlight): Bind isearch-forward and
6034 isearch-error, ensuring that highlighting is updated if the user
6035 switches the search direction (Bug#6808).
6037 * isearch.el (isearch-lazy-highlight-forward): New var.
6038 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6039 (isearch-lazy-highlight-update): Use it.
6041 2010-08-08 Kenichi Handa <handa@m17n.org>
6043 * international/mule.el (define-charset): Store NAME as :base property.
6044 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6045 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6046 current priority. Force using the designation of the specific
6047 charset by adding `charset' text property. Improve the whole algorithm.
6049 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6051 * emulation/pc-select.el (pc-selection-mode-hook)
6052 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6053 (pc-selection-mode): Fix typos in docstrings.
6055 2010-08-08 Kenichi Handa <handa@m17n.org>
6057 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6058 ctext-non-standard-encodings-alist here.
6060 * international/mule.el (ctext-non-standard-encodings-alist):
6061 Add "koi8-r" and "microsoft-cp1251".
6062 (ctext-standard-encodings): New variable.
6063 (ctext-non-standard-encodings-table): List only elements for
6064 non-standard encodings.
6065 (ctext-pre-write-conversion): Adjust for the above change.
6066 Check ctext-standard-encodings.
6068 * international/mule-conf.el (compound-text): Doc fix.
6069 (ctext-no-compositions): Doc fix.
6070 (compound-text-with-extensions): Doc fix.
6072 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6074 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6076 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6078 * progmodes/which-func.el (which-func-format): Split help-echo text
6079 into lines, like other mode-line tooltips.
6081 * server.el (server-start): When using TCP sockets, force IPv4
6082 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6084 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6088 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6090 * term.el (term-delimiter-argument-list): Reflow docstring.
6091 (term-read-input-ring, term-write-input-ring, term-send-input)
6092 (term-bol, term-erase-in-display, serial-supported-or-barf):
6093 Fix typos in docstrings.
6095 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6097 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6099 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6101 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6103 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6105 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6106 Fix typo in docstring (bug#6747).
6108 2010-08-08 Leo <sdl.web@gmail.com>
6110 * eshell/esh-io.el (eshell-get-target): Better detection of
6111 read-only file (Bug#6762).
6113 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6115 * align.el (align-default-spacing): Doc fix.
6116 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6118 2010-08-08 Stephen Peters <speters@itasoftware.com>
6120 * calendar/icalendar.el
6121 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6122 (icalendar--get-weekday-numbers): New.
6123 (icalendar--convert-recurring-to-diary): Handle multiple byday
6124 values in weekly rules. (Bug#6766)
6126 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6128 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6129 (icalendar--create-uid, icalendar-export-region)
6130 (icalendar--parse-summary-and-rest): Code formatting.
6132 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6134 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6135 to italicize headers.
6136 (calc-highlight-selections-with-faces): New variable.
6137 (calc-selected-face, calc-nonselected-face): New faces.
6139 * calc/calccomp.el (math-comp-highlight-string): Use
6140 `calc-highlight-selections-with-faces' to determine how to highlight
6143 * calc/calc-sel.el (calc-show-selections): Change message to when
6144 using faces to highlight selections.
6146 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6148 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6149 Add SQLite 3 keywords, functions and datatypes.
6150 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6153 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6155 * simple.el (select-active-regions): Move to keyboard.c.
6156 (deactivate-mark): Used saved-region-selection.
6157 (select-active-region): Function removed.
6158 (activate-mark, set-mark, push-mark-command)
6159 (handle-shift-selection): Don't call it.
6160 (keyboard-quit): Avoid adding the region to the window selection.
6162 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6163 select-active-regions implementation.
6164 (mouse-yank-at-click): Doc fix.
6166 * cus-start.el: Add custom declaration for select-active-regions.
6168 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6170 * simple.el (delete-forward-char): Doc fix.
6172 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6173 after reading the tutorial.
6175 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6177 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6178 Fix for the case that a C style comment has its delimiters alone on
6179 their respective lines.
6181 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6183 * net/tramp.el (tramp-handle-start-file-process): Set connection
6185 (tramp-process-sentinel): Use it for flushing the cache.
6186 We cannot do it via the process buffer, the buffer could be deleted
6187 already when running the sentinel.
6189 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6191 * comint.el (comint-mode): Make directory tracking functions
6192 functional on remote files. (Bug#6764)
6194 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6196 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6198 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6200 * emacs-lisp/find-gc.el (find-gc-source-files):
6201 Rename unexec.c => unexcoff.c.
6203 * emacs-lisp/authors.el (authors-fixed-entries):
6204 Rename unexec.c => unexcoff.c.
6206 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6208 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6209 cache, not only file cache.
6210 (tramp-process-sentinel): New defun.
6211 (tramp-handle-start-file-process): Use it, in order to invalidate
6214 2010-08-03 Leo <sdl.web@gmail.com>
6216 * server.el (server-start): Simplify loop.
6218 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * frame.el (screen-height, screen-width, set-screen-width)
6221 (set-screen-height): Remove ancient compatibility aliases.
6223 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6224 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6226 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6227 that change current buffer.
6229 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6231 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6232 beginning of the string. Use `string-match-p'. (Bug#6765)
6234 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6236 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6238 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6240 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6241 (package--builtins): Tweak descriptions.
6242 (package-print-package): Upcase descriptions if necessary.
6243 Show all built-in packages in font-lock-builtin-face.
6244 (package-list-packages-internal): Omit "emacs" package.
6245 Show status of built-in packages as "built-in".
6247 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6249 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6250 before killing to preserve the primary selection (Bug#6701).
6252 * term/x-win.el (x-select-text): Doc fix.
6254 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6256 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6257 (objc-font-lock-extra-types):
6258 * progmodes/cc-mode.el (c-basic-common-init):
6259 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6260 (c++-make-template-syntax-table)
6261 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6262 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6263 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6264 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6265 * progmodes/cc-fonts.el (c-make-inverse-face)
6266 (c-basic-matchers-after):
6267 * progmodes/cc-engine.el (c-forward-keyword-clause)
6268 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6269 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6270 (c-guess-continued-construct, c-guess-basic-syntax):
6271 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6272 The above functions were modified or created.
6274 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6276 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6278 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6280 * files.el (bidi-paragraph-direction): Define safe local values.
6282 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6283 language-info-alist. Remove outdated FIXME in a comment.
6285 2010-07-31 Alan Mackenzie <acm@muc.de>
6287 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6288 Auto-fill broken in C/C++ modes.
6290 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6292 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6293 (menu-bar-showhide-tool-bar-menu-customize-disable)
6294 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6295 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6296 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6297 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6298 make a menu for Options => toolbar that can move it.
6300 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6302 * emacs-lisp/package-x.el (package--make-rss-entry):
6303 (package-maint-add-news-item, package--update-news)
6304 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6306 * emacs-lisp/package.el (package-archive-url): Rename from
6308 (package-install): Doc fix.
6309 (package-download-single, package-download-tar, package-install)
6310 (package-menu-view-commentary): Callers changed.
6312 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6314 * net/tramp.el (tramp-handle-start-file-process): Check only for
6315 `remote-tty' process property.
6316 (tramp-open-shell): Don't check for tty.
6317 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6320 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6323 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6325 * emacs-lisp/package.el (package-load-list, package-archives)
6326 (package-archive-contents, package-user-dir)
6327 (package-directory-list, package--builtins, package-alist)
6328 (package-activated-list, package-obsolete-alist): Mark as risky.
6330 2010-07-28 Phil Hagelberg <phil@evri.com>
6332 Add support for non-default package repositories.
6333 * emacs-lisp/package.el (package-archive-base): Var deleted.
6334 (package-archives): New variable.
6335 (package-archive-contents): Doc fix.
6336 (package-load-descriptor): Do nothing if descriptor file is missing.
6337 (package--write-file-no-coding): New function.
6338 (package-unpack-single): Use it.
6339 (package-archive-id): New function.
6340 (package-download-single, package-download-tar)
6341 (package-menu-view-commentary): Use it.
6342 (package-installed-p): Make second argument optional.
6343 (package-read-all-archive-contents): New function.
6344 (package-initialize): Use it.
6345 (package-read-archive-contents): Add ARCHIVE argument.
6346 (package--add-to-archive-contents): New function.
6347 (package-install): Don't call package-read-archive-contents.
6348 (package--download-one-archive): Store archive file in a
6349 subdirectory of package-user-dir.
6350 (package-menu-execute): Remove spurious line movement.
6352 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6354 * cus-start.el (tool-bar-style): Add text-image-horiz.
6356 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6358 * progmodes/gud.el (gud-common-init): Check for remoteness of
6359 `file', and not of `default-directory'.
6361 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6363 * net/tramp.el (tramp-methods): Move hostname to the end in all
6364 ssh `tramp-login-args'.
6365 (tramp-verbose): Describe verbose level 9.
6366 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6367 (tramp-open-connection-setup-interactive-shell): Trace stty
6368 settings if `tramp-verbose' >= 9.
6369 (tramp-handle-start-file-process): Implement tty setting.
6370 (Bug#4604, Bug#6360)
6372 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6373 `tramp-verbose' to 9.
6375 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6377 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6378 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6379 Remove references to package `lisp-re' (bug#4369).
6381 2010-07-27 Tom Tromey <tromey@redhat.com>
6383 * progmodes/js.el (js-mode):
6384 * progmodes/make-mode.el (makefile-mode):
6385 * progmodes/simula.el (simula-mode):
6386 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6388 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6390 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6392 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6393 (display-time-world-buffer-name, display-time-world-mode-map):
6394 Fix typos in docstrings.
6396 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6398 * image-mode.el (image-display-size): New function.
6399 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6400 (image-mode-fit-frame): Use it (Bug#6639).
6402 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6404 * dired.el (dired-buffers-for-dir): Handle list values of
6405 dired-directory (Bug#6636).
6407 2010-07-26 Sam Steingold <sds@gnu.org>
6409 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6410 Do not call `x-get-selection' the second time, reuse the value.
6412 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6414 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6415 which consist of control chars only. Suggested by Richard Stallman.
6417 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6419 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6420 exists before passing an error to find-file-not-found-functions
6423 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6425 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6426 Remove leading nil element, adjust values.
6427 (tetris-shapes, tetris-shape-scores):
6428 Change representation of shapes and remove some redundancy.
6429 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6430 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6431 Adjust for working with new representation of shapes.
6432 (tetris-shape-rotations): New function.
6433 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6434 (tetris-rotate-prev, tetris-rotate-next):
6435 Adjust for working with the new version of tetris-test-shape.
6437 2010-07-23 Markus Triska <markus.triska@gmx.at>
6439 * progmodes/ps-mode.el: Use comint (bug#5954).
6440 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6441 (ps-mode-other-newline): Simplify.
6442 (ps-run-mode): Derive from comint-mode instead of
6443 fundamental-mode, yielding input history etc.
6444 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6445 (ps-run-send-string): Adapt for comint-mode.
6446 (ps-run-newline): Remove now unneeded function.
6448 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6450 * net/tramp.el (tramp-methods): Move hostname to the end in all
6451 plink `tramp-login-args'.
6453 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6455 * net/tramp.el (tramp-open-shell): New defun.
6456 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6459 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6461 * net/tramp.el (tramp-file-name-regexp-unified)
6462 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6463 not regard the volume letter as remote filename. (Bug#5447)
6465 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6467 * custom.el (custom-declare-variable): Give a clearer error message
6468 when the docstring is missing (bug#6476).
6470 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6472 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6473 (sql-login-params): New widget definition.
6474 (sql-oracle-login-params, sql-mysql-login-params)
6475 (sql-solid-login-params, sql-sybase-login-params)
6476 (sql-informix-login-params, sql-ingres-login-params)
6477 (sql-ms-login-params, sql-postgres-login-params)
6478 (sql-interbase-login-params, sql-db2-login-params)
6479 (sql-linter-login-params): Use it.
6480 (sql-sqlite-login-params): Use it; Define "database" parameter as
6482 (sql-sqlite-program): Change to "sqlite3".
6483 (sql-comint-sqlite): Make sure database name is complete.
6484 (sql-for-each-login): New function.
6485 (sql-connect, sql-save-connection): Use it.
6486 (sql-get-login-ext): New function.
6487 (sql-get-login): Use it.
6488 (sql-make-alternate-buffer-name): Handle :file parameters.
6490 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6492 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6493 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6495 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6497 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6499 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6501 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6503 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp.el (tramp-get-ls-command)
6506 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6509 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6511 * progmodes/sql.el: Version 2.3.
6512 (sql-connection-alist): Change keys from symbols to strings;
6513 enhanced the widget definition.
6514 (sql-mode-menu): Add submenu to select connections.
6515 (sql-interactive-mode-menu): Add "Save Connection" item.
6516 (sql-add-product): Fix menu item.
6517 (sql-get-product-feature): Improved error handling.
6518 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6519 (sql-make-alternate-buffer-name): Simplified.
6520 (sql-product-interactive): Handle missing product.
6521 (sql-connect): Support string keys, minor improvements.
6522 (sql-save-connection): New function.
6523 (sql-connection-menu-filter): New function.
6525 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6527 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6528 (tramp-open-connection-setup-interactive-shell):
6529 Apply workaround for IRIX64 bug. Move argument of last
6530 `tramp-send-command' where it belongs to.
6532 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6534 * net/tramp.el (tramp-perl-file-attributes)
6535 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6536 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6537 front of `login-args'.
6539 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6541 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6542 Set `show-trailing-whitespace' to nil.
6543 (display-time-world-display): Simplify.
6545 2010-07-18 Alan Mackenzie <acm@muc.de>
6547 Enhance `c-file-style' in file/directory local variables.
6548 * progmodes/cc-mode.el (c-count-cfss): New function.
6549 (c-before-hack-hook): Call `c-set-style' differently according to
6550 whether c-file-style was set in file or directory local
6553 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6555 * progmodes/sql.el: Version 2.2.
6556 (sql-product, sql-user, sql-database, sql-server, sql-port):
6557 Use defcustom :safe keyword rather than putting safe-local-variable
6559 (sql-password): Use defcustom :risky keyword rather than putting
6560 risky-local-variable property.
6561 (sql-oracle-login-params, sql-sqlite-login-params)
6562 (sql-solid-login-params, sql-sybase-login-params)
6563 (sql-informix-login-params, sql-ingres-login-params)
6564 (sql-ms-login-params, sql-postgres-login-params)
6565 (sql-interbase-login-params, sql-db2-login-params)
6566 (sql-linter-login-params): Add `port' option.
6567 (sql-get-product-feature): Add NO-INDIRECT parameter.
6568 (sql-comint-oracle, sql-comint-sybase)
6569 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6570 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6571 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6572 (sql-comint-linter): Rename sql-connect-* functions to
6574 (sql-product-alist, sql-mode-menu): Rename as above and
6575 :sqli-connect-func to :sqli-comint-func.
6576 (sql-connection): New variable.
6577 (sql-interactive-mode): Set it.
6578 (sql-connection-alist): New variable.
6579 (sql-connect): New function.
6580 (sql--alt-buffer-part, sql--alt-if-not-empty)
6581 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6583 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6585 * image-mode.el (image-bookmark-make-record): Do not set context
6586 in an image (Bug#6650).
6588 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6590 * simple.el (select-active-region): New function.
6591 (push-mark-command, set-mark, activate-mark)
6592 (handle-shift-selection): Use it.
6593 (deactivate-mark): Don't check for size of region.
6595 * mouse.el (mouse-drag-track): Use select-active-region.
6597 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6599 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6602 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6604 * term/x-win.el (x-select-enable-primary): Change default to nil.
6605 (x-select-enable-clipboard): Add :version keyword.
6607 * mouse.el (mouse-drag-copy-region):
6608 * simple.el (select-active-regions): Likewise.
6610 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6612 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6613 (vc-coding-system-for-diff): Use it to decide whether to inherit
6614 from the file the EOL format for reading the diffs of that file.
6617 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6619 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6620 unibyte, so compressed attachments are not compressed again.
6622 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6624 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6625 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6626 (tramp-find-shell): Simplify setting connection property.
6627 (tramp-get-ls-command): Make test for "--color=never" stronger.
6629 2010-07-15 Simon South <ssouth@member.fsf.org>
6631 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6632 blocks within record declarations (i.e. variant parts) correctly.
6634 2010-07-15 Simon South <ssouth@member.fsf.org>
6636 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6637 over literal tokens when parsing so newlines aren't "absorbed" by
6638 single-line comments. Corrects the indentation of case blocks
6639 that have a comment on the first line.
6641 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6643 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6644 by Drew Adams (Bug#5504).
6646 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6648 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6649 now that Unicode is used (Bug#6594).
6651 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6653 * term/x-win.el (x-select-enable-clipboard): Default to t.
6654 (x-initialize-window-system): Don't overwrite Paste menu item.
6656 * simple.el (select-active-regions): Default to t.
6657 (push-mark-command): Don't overwrite primary with empty string.
6659 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6660 (mouse-drag-copy-region): Default to nil.
6662 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6663 Cut/Copy/Paste menu bar items.
6665 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6667 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6668 Patch applied by Karl Fogel.
6670 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6671 and `bookmark-current-buffer' if they have been already set in
6672 another buffer (e.g gnus-art).
6674 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6675 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6677 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6679 * bookmark.el (bookmark-make-record-default): Allow unneeded
6680 information to be omitted from the record.
6682 Adjust declarations and calls:
6684 * info.el (bookmark-make-record-default): Adjust declaration.
6685 (Info-bookmark-make-record): Adjust call.
6687 * woman.el (bookmark-make-record-default): Adjust declaration.
6688 (woman-bookmark-make-record): Adjust call.
6690 * man.el (bookmark-make-record-default): Adjust declaration.
6691 (Man-bookmark-make-record): Adjust call.
6693 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6695 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6697 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6699 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6700 This is also from Thierry Volpiatto's patch in bug #6444. However,
6701 because it was extraneous to the functional change in that patch,
6702 and causes a re-indendation, I am committing it separately.
6704 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6706 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6707 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6708 Patch applied by Karl Fogel (Bug#6444).
6710 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6712 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6714 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6716 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6717 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6718 (ns-alternatives-map): Change S-tab binding to backtab
6721 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6724 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6726 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6729 * language/tv-util.el (tai-viet-re): Remove format.
6731 2010-07-12 Kenichi Handa <handa@m17n.org>
6733 * language/hebrew.el: Remove no-byte-compile declaration.
6734 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6735 composition-function-table for 3-character looking back.
6736 (hebrew-font-get-precomposed): New function.
6737 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6739 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6741 * mouse.el (mouse-drag-track): Handle select-active-regions
6744 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6746 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6747 empty argument to gvfs-copy.
6749 2010-07-10 Glenn Morris <rgm@gnu.org>
6751 * calendar/calendar.el (calendar-week-end-day): New function.
6752 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6753 Respect calendar-week-start-day. (Bug#6606)
6754 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6755 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6756 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6757 respect calendar-week-start-day.
6759 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6761 * simple.el (use-region-p): Doc fix (Bug#6607).
6763 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6766 Add regexps for cucumber and ruby.
6768 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6770 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6771 (epa-file-insert-file-contents): Hack to prevent
6772 find-file from opening empty buffer when decryption failed
6775 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6777 * textmodes/ispell.el (ispell-alternate-dictionary):
6778 Use file-readable-p.
6779 Return nil if no word-list is found at default locations.
6780 (ispell-complete-word-dict): Default to nil.
6781 (ispell-command-loop): Use 'word-list' when using lookup-words.
6782 (lookup-words): Use ispell-complete-word-dict or
6783 ispell-alternate-dictionary. Check for word-list availability
6784 and handle errors if needed with better messages (Bug#6539).
6785 (ispell-complete-word): Use ispell-complete-word-dict or
6786 ispell-alternate-dictionary.
6788 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6790 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6791 builtins (BufferError, BytesWarning, WindowsError; callables
6792 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6794 2010-07-07 Glenn Morris <rgm@gnu.org>
6796 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6797 (zone-shift-left): Ignore intangibility, and any errors from
6799 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6800 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6801 deleting, and copying text properties.
6802 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6803 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6804 to point-max is hard.
6805 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6806 (zone-fill-out-screen): Ignore intangibility.
6808 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6810 * menu-bar.el (menu-bar-mode):
6811 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6814 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6815 word/line selection (Bug#6565).
6817 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6819 * net/dbus.el (dbus-send-signal): Declare function.
6821 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6823 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6824 (dbus-register-property): New optional argument EMITS-SIGNAL.
6825 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6827 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6829 * mouse.el (mouse-drag-overlay): Variable deleted.
6830 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6831 (mouse--remap-link-click-p): New function.
6832 (mouse-drag-track): Handle dragging by using temporary Transient
6833 Mark mode, instead of a special overlay.
6834 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6837 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6840 2010-07-02 Juri Linkov <juri@jurta.org>
6842 * autoinsert.el (auto-insert-alist): Fix readability
6843 by using dotted pair notation for lambda.
6845 2010-07-02 Juri Linkov <juri@jurta.org>
6847 * faces.el (read-face-name): Rename arg `string-describing-default'
6848 to `default'. Doc fix. Display the default value in quotes
6849 in the prompt. With empty input, return the `default' arg,
6850 unless the default value is a string (in which case return nil).
6851 (describe-face): Replace the string `default' arg of `read-face-name'
6852 with the symbol `default'.
6854 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6856 * emulation/viper-cmd.el (viper-delete-backward-char)
6857 (viper-del-backward-char-in-insert)
6858 (viper-del-backward-char-in-replace, viper-change)
6859 (viper-backward-indent): Replace delete-backward-char with
6860 delete-char (Bug#6552).
6862 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6864 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6866 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6868 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6869 argument passed to frame-creation-function (Bug#5378).
6871 * faces.el (x-handle-named-frame-geometry)
6872 (x-handle-reverse-video, x-create-frame-with-faces)
6873 (face-set-after-frame-default, tty-create-frame-with-faces):
6874 Don't separately consult default-frame-alist. It is now passed as the
6877 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6879 * startup.el (command-line): Don't call tool-bar-setup in a
6882 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6884 * ruler-mode.el (ruler--save-header-line-format): New fun.
6885 (ruler-mode): Use it as a setter function, so as not to overwrite
6886 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6888 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6890 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6891 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6892 (vc-log-outgoing): Use it.
6893 (vc-diff-internal): Set diff-vc-backend.
6895 * vc/diff-mode.el (diff-vc-backend): New var.
6897 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6899 * dynamic-setting.el (font-setting-change-default-font):
6900 Remove call to message.
6902 2010-06-28 Kenichi Handa <handa@m17n.org>
6904 * international/quail.el (quail-insert-kbd-layout): Fix the
6905 showing of untranslated characters.
6907 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6909 * simple.el (delete-active-region): New option.
6910 (delete-backward-char): Implement in Lisp.
6911 (delete-forward-char): New command.
6913 * mouse.el (mouse-region-delete-keys): Deleted.
6914 (mouse-show-mark): Simplify.
6916 * bindings.el (global-map): Bind delete and DEL, the former to
6917 delete-forward-char.
6919 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6921 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6922 (ruby-mode): Bind indent-line-function (Bug#5119).
6924 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6926 * startup.el (command-line): Recognize "0" X resource value.
6928 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6930 * startup.el (command-line): Use X resources to set the value of
6931 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6933 * menu-bar.el (menu-bar-mode):
6934 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6935 Set init-value to t.
6937 * frame.el (frame-notice-user-settings): Don't change
6938 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6939 vice versa (Bug#2249).
6941 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6943 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6945 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6947 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6948 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6950 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6951 default directories are expanded (Bug#6143).
6953 2010-06-24 Juri Linkov <juri@jurta.org>
6955 * minibuffer.el (completions-format): Change default from nil to
6956 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6958 2010-06-24 Juri Linkov <juri@jurta.org>
6960 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6961 buffer-locally to lambda that re-runs the vc diff command.
6964 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6966 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6967 echo area is in use (Bug#3412).
6969 2010-06-22 Glenn Morris <rgm@gnu.org>
6971 * textmodes/texinfmt.el (texinfo-format-region)
6972 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6973 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6974 (texinfo-format-option, texinfo-noindent):
6975 Use line-beginning-position and line-end-position.
6977 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6978 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6979 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6982 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6984 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6985 forward-line fallout.
6987 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6989 * mouse.el (mouse-appearance-menu): Add docstring.
6991 * help.el (describe-key): Print up-event using key-description.
6993 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6995 * net/zeroconf.el (zeroconf-resolve-service)
6996 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6997 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6999 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7001 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7003 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7005 Avoid displaying files with a nil state in vc-dir.
7006 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7007 cases that cause insertion.
7008 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7011 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7013 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7015 2010-06-29 Leo <sdl.web@gmail.com>
7017 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7019 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7021 * generic-x.el (bat-generic-mode): Fix regexp for command line
7022 switches (Bug#5719).
7024 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7026 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7027 of nconc to avoid pure storage error (Bug#6239).
7029 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7031 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7032 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7033 bindings of bookmark-automatically-show-annotations (Bug#6515).
7035 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7037 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7038 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7040 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7042 * comint.el (make-comint, make-comint-in-buffer): Mention return
7043 value in the docstrings. (Bug#6498)
7045 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7047 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7048 since it is not present when using some non-default switches.
7050 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7052 * simple.el (compose-mail): Fix doc string to refer to
7053 `compose-mail-user-agent-warnings', instead of to the
7054 nonexistent `compose-mail-check-user-agent'.
7056 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7058 Fix an indentation bug:
7060 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7061 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7064 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7065 (c-clear->-pair-props-if-match-before): now return t when they've
7066 cleared properties, nil otherwise.
7067 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7068 by taking account of the existing value.
7070 * progmodes/cc-defs.el
7071 (c-clear-char-property-with-value-function): Fix this to clear the
7072 property rather than overwriting it with nil.
7074 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7076 * emacs-lisp/package.el (package-print-package): Add link to
7077 package description via describe-package.
7078 (describe-package-1): List package requirements. Add button to
7079 perform installation.
7080 (package-menu-describe-package): New command.
7082 * help-mode.el (help-package): New button type.
7084 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7086 * emacs-lisp/package.el: Move package-list-packages binding to
7088 (describe-package, describe-package-1, package--dir): New funs.
7089 (package-activate-1): Use package--dir.
7091 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7093 * help-mode.el (help-package-def): New button type.
7095 * menu-bar.el: Move package-list-packages binding here from
7098 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7100 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7102 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * emacs-lisp/edebug.el (edebug-read-list):
7105 Phase out old-style backquotes.
7107 2010-06-17 Juri Linkov <juri@jurta.org>
7109 * help-mode.el (help-mode): Set buffer-local variable
7110 revert-buffer-function to help-mode-revert-buffer.
7111 (help-mode-revert-buffer): New function.
7113 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7114 before popping to "*info*" (like in other Info functions).
7115 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7116 old-history-forward. Pop to old-buffer-name or "*info*" to
7117 recreate the killed buffer. Set Info-history-forward from
7118 old-history-forward.
7119 (Info-breadcrumbs-depth): Add :group and :version.
7121 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7123 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7125 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7127 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7128 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7130 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7132 * emacs-lisp/package.el (package-menu-mode-map):
7133 Move initialization into declaration.
7135 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7137 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7139 * emacs-lisp/package.el (package-archive-base): Point to
7141 (package-enable, package-load-list): New defcustoms.
7142 (package-user-dir, package-directory-list): Turn into defcustoms.
7143 Don't include package-user-dir in package-directory-list.
7144 (package--builtins-base): Don't include Emacs as a "package".
7145 (package-subdirectory-regexp): New var.
7146 (package-load-all-descriptors, package-compute-transaction)
7147 (package-download-transaction): Obey package-load-list.
7148 (package-activate-1): Rename from package-do-activate.
7149 (package-list-packages-internal): Check package-load-list.
7150 (package-load-descriptor, package-generate-autoloads)
7151 (package-unpack, package-unpack-single)
7152 (package--read-archive-file, package-delete):
7153 Use expand-file-name.
7155 * emacs-lisp/package-x.el: New file. Package uploading
7156 functionality split out from package.el.
7158 * startup.el (command-line): Load packages after reading init file.
7160 2010-06-17 Tom Tromey <tromey@redhat.com>
7162 * emacs-lisp/package.el: New file.
7164 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7166 Fix vc-annotate for renamed files when using Git.
7167 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7168 ls-files. Doe not pass the object as a file name to cat-file, it
7170 (vc-git-annotate-command): Pass the file name using -- to avoid
7171 ambiguity with the revision.
7172 (vc-git-previous-revision): Pass a relative file name.
7174 2010-06-22 Glenn Morris <rgm@gnu.org>
7176 * progmodes/js.el (js-mode-map): Use standard capitalization and
7177 ellipses for menu entries.
7179 * wid-edit.el (widget-complete): Doc fix.
7181 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7183 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7185 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7187 Fix annotating other revisions for renamed files in vc-annotate.
7188 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7189 VC backend. Use it when non-nil.
7190 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7193 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7194 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7195 Do not pass the file name to the 'previous-revision call when we
7196 don't want a file diff. (Bug#6489)
7198 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7200 Fix finding revisions for renamed files in vc-annotate.
7201 * vc/vc.el (vc-find-revision): Add an optional argument for
7202 the VC backend. Use it when non-nil.
7203 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7204 backend to vc-find-revision. (Bug#6487)
7206 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7208 Fix reading file names in Git annotate buffers.
7209 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7210 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7212 2010-06-20 Alan Mackenzie <acm@muc.de>
7214 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7215 in file local variables, set it first.
7217 2010-06-19 Glenn Morris <rgm@gnu.org>
7219 * descr-text.el (describe-char-unicode-data): Insert separating
7220 space when needed. (Bug#6422)
7222 * progmodes/idlwave.el (idlwave-action-and-binding):
7223 Fix typo in 2009-12-03 change. (Bug#6450)
7225 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7228 handling for `lambda' (misunderstanding).
7230 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7232 * calc/calc-poly.el (math-accum-factors): Make sure that
7233 constants aren't distributed after they are factored out.
7235 2010-06-16 Juri Linkov <juri@jurta.org>
7237 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7238 `list-colors-print'. (Bug#6332)
7240 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7242 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7244 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7245 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7247 * font-lock.el (font-lock-major-mode): Rename from
7248 font-lock-mode-major-mode to distinguish it from
7249 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7250 (font-lock-set-defaults):
7251 * font-core.el (font-lock-default-function): Adjust users.
7252 (font-lock-mode): Don't set it at all.
7254 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7258 2010-06-16 Glenn Morris <rgm@gnu.org>
7260 * calendar/appt.el (appt-time-msg-list): Doc fix.
7261 (appt-check): Let-bind appt-warn-time.
7262 (appt-add): Make the 3rd argument optional.
7263 Simplify argument names. Doc fix. Check for integer WARNTIME.
7264 Only add WARNTIME to the output list if non-nil.
7266 2010-06-16 Ivan Kanis <apple@kanis.eu>
7268 * calendar/appt.el (appt-check): Let the 3rd element of
7269 appt-time-msg-list specify the warning time.
7270 (appt-add): Add new argument with the warning time. (Bug#5176)
7272 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7274 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7275 older than version 1.6. (Bug#6361)
7277 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7279 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7280 used by cl-do-arglist. (Bug#6408)
7282 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7284 * textmodes/ispell.el (ispell-dictionary-base-alist):
7285 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7286 Suggested by Rolando Pereira (bug#6434).
7288 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7290 * facemenu.el (list-colors-sort): Doc fix.
7292 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7294 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7296 2010-06-14 Juri Linkov <juri@jurta.org>
7298 Add sort option `list-colors-sort'. (Bug#6332)
7299 * facemenu.el (color-rgb-to-hsv): New function.
7300 (list-colors-sort): New defcustom.
7301 (list-colors-sort-key): New function.
7302 (list-colors-display): Doc fix. Sort list according to the option
7304 (list-colors-print): Add HSV values to `help-echo' property of
7307 2010-06-14 Juri Linkov <juri@jurta.org>
7309 * compare-w.el: Move to the "vc" subdirectory.
7311 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * image-mode.el (image-mode-map): Remap left-char and right-char.
7315 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7317 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7319 * term/common-win.el (x-colors): Add all the color names defined
7320 in rgb.txt (Bug#6332).
7322 * facemenu.el (list-colors-print): Don't print extra names if it
7323 will overflow the window width.
7325 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7328 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7330 * files.el (make-directory): Doc fix (bug#6396).
7332 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7334 * net/tramp.el (tramp-remote-process-environment): Protect version
7335 string by apostroph.
7336 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7338 (tramp-file-name-for-operation): Add `call-process-region'.
7339 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7341 * net/tramp-compat.el (top): Do not autoload
7342 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7343 only when `start-file-process' is not bound.
7344 (tramp-advice-file-expand-wildcards): Do not use
7345 `tramp-handle-file-remote-p'.
7346 (tramp-compat-make-temp-file): Handle the case, that
7347 `make-temp-file' has no third argument EXTENSION.
7349 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7351 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7353 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7355 2010-06-11 Juri Linkov <juri@jurta.org>
7357 * finder.el (finder-known-keywords): Add keyword "vc"
7358 for version control.
7360 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7361 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7362 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7363 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7365 2010-06-11 Juri Linkov <juri@jurta.org>
7367 Move version control related files to the "vc" subdirectory.
7368 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7369 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7370 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7371 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7372 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7373 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7374 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7375 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7376 Move files to the "vc" subdirectory.
7378 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7380 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7383 2010-06-11 Stephen Eglen <stephen@gnu.org>
7385 * shell.el: Bind `shell-resync-dirs' to M-RET.
7387 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7389 * notifications.el: Move file from lisp/net, because it is
7390 supposed to talk locally to the user.
7392 2010-06-10 Julien Danjou <julien@danjou.info>
7394 * net/notifications.el (notifications-on-action-signal)
7395 (notifications-on-closed-signal): Pass notification id as first
7396 argument to the callback functions. Add docstrings.
7397 (notifications-notify): Fix docstring.
7399 2010-06-10 Glenn Morris <rgm@gnu.org>
7401 * emacs-lisp/authors.el (authors-ignored-files)
7402 (authors-valid-file-names): Add some files.
7404 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7406 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7407 merge conflict, giving preference to the emacs-23 version of the code.
7409 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7411 * emacs-lisp/advice.el (ad-compile-function):
7412 Define warning-suppress-types before we let-bind it (bug#6275).
7414 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7415 declare it, make it buffer-local and permanent-local (bug#6324).
7416 (vc-resynch-window): Adjust name.
7417 * vc-hooks.el (vc-find-file-hook): Adjust name.
7419 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7421 * net/notifications.el (notifications-notify): Fix docstring.
7423 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7425 Update to Unicode 6.0.0 beta.
7426 * international/charprop.el: Update copyright.
7427 * international/mule-cmds.el (ucs-names): Update character ranges.
7428 * international/uni-bidi.el:
7429 * international/uni-category.el:
7430 * international/uni-combining.el:
7431 * international/uni-comment.el:
7432 * international/uni-decimal.el:
7433 * international/uni-decomposition.el:
7434 * international/uni-digit.el:
7435 * international/uni-lowercase.el:
7436 * international/uni-mirrored.el:
7437 * international/uni-name.el:
7438 * international/uni-numeric.el:
7439 * international/uni-old-name.el:
7440 * international/uni-titlecase.el:
7441 * international/uni-uppercase.el: Regenerate.
7443 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7445 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7446 (smie-precs-precedence-table): Fix typo in docstring.
7448 * vc-mtn.el (log-edit-extract-headers): Declare function.
7450 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7452 * net/notifications.el (dbus-register-signal): Declare function.
7453 (notifications-notify): Fix typos and reflow docstring.
7455 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7457 Improve VC create/retrieve tag/branch.
7458 * vc.el (vc-create-tag): Do not read the directory name for VCs
7459 with repository revision granularity. Adjust the tag/branch
7460 prompt. Reset VC properties.
7461 (vc-retrieve-tag): Do not read the directory name for VCs
7462 with repository revision granularity. Reset VC properties.
7464 2010-06-09 Julien Danjou <julien@danjou.info>
7466 * net/notifications.el: New file.
7468 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7470 Add optional support for resetting VC properties.
7471 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7472 call vc-file-clearprops when true.
7473 (vc-resynch-buffer): Add new optional argument, pass it down.
7474 (vc-resynch-buffers-in-directory): Likewise.
7476 Improve support for special markup in the VC commit message.
7477 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7478 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7479 * vc-git.el (vc-git-checkin):
7480 * vc-bzr.el (vc-bzr-checkin): Likewise.
7482 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7484 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7485 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7487 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7489 * iimage.el: Remove images as soon as the underlying text is modified.
7490 (iimage-modification-hook): New function.
7491 (iimage-mode-buffer): Use it.
7493 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7496 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7497 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7498 (smie-indent-keyword): Add handling of open-paren keywords.
7499 (smie-indent-comment-continue): Don't assume comment-continue.
7501 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7503 * window.el (pop-to-buffer): Remove the conditional that
7504 compares new-window and old-window, so it will reselect
7505 the selected window unconditionally.
7506 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7508 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * emacs-lisp/smie.el (smie-indent-offset-after)
7511 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7512 (smie-indent-after-keyword): Use them.
7513 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7514 (smie-indent-keyword): Tweak the black magic.
7515 (smie-indent-comment-continue): Strip comment-continue before use.
7516 (smie-indent-functions): Indent comments before keywords.
7518 2010-06-06 Juri Linkov <juri@jurta.org>
7520 * isearch.el (isearch-lazy-highlight-search): Fix looping
7521 by checking for empty match. This syncs this loop with the
7522 similar loop in `isearch-search'. (Bug#6362)
7524 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7526 * net/dbus.el (dbus-register-method): Declare function.
7527 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7528 (dbus-introspect): Doc fix.
7529 (dbus-event-bus-name, dbus-introspect-get-interface)
7530 (dbus-introspect-get-argument): Reflow docstrings.
7532 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7534 vc-log-incoming/vc-log-outgoing fixes for Git.
7535 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7536 incoming/outgoing logs.
7537 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7538 instead of vc-git-compute-remote.
7539 (vc-git-compute-remote): Remove.
7541 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7543 * term/common-win.el (x-colors): Add "dark green" and "dark
7544 turquoise" (Bug#6332).
7546 2010-06-04 Juri Linkov <juri@jurta.org>
7548 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7549 Instead of setting `replace' to t and replacing the same string
7550 with itself, don't do certain actions when
7551 kill-do-not-save-duplicates is non-nil and string is equal to car
7552 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7553 interprogram-paste strings to kill-ring, and don't push the input
7554 argument `string' to kill-ring.
7555 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7557 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7559 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7561 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7563 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7564 (tramp-gvfs-handler-mounted-unmounted)
7565 (tramp-gvfs-connection-mounted-p): Handle default-location.
7567 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7568 move files to trash.
7570 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7572 * international/mule-cmds.el (nonascii-insert-offset)
7573 (nonascii-translation-table): Add obsolescence information.
7575 * international/mule.el (make-translation-table-from-vector): Doc fix.
7577 2010-06-03 Glenn Morris <rgm@gnu.org>
7579 * desktop.el (desktop-clear-preserve-buffers):
7580 Add "*Warnings*" buffer. (Bug#6336)
7582 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7584 vc-log-incoming/vc-log-outgoing improvements for Git.
7585 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7587 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7589 Add bindings for vc-log-incoming and vc-log-outgoing.
7590 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7591 and vc-log-outgoing.
7592 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7593 and vc-log-outgoing.
7595 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7597 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7598 (rcirc-handler-366): Always sort nicknames.
7600 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7602 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7604 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7606 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7608 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7610 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7611 (rcirc-sort-nicknames-join): Avoid setq.
7613 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7615 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7616 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7617 (rcirc-handler-366): Use them.
7619 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7621 Split smie-indent-calculate into more manageable chunks.
7622 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7623 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7624 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7625 (smie-indent-exps): Extract from smie-indent-calculate.
7626 (smie-indent-functions): New var.
7627 (smie-indent-functions): Use them.
7629 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7632 (smie-indent-calculate): Simplify and cleanup.
7634 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7636 * net/tramp-gvfs.el (top): Require url-util.
7637 (tramp-gvfs-mount-point): Remove.
7638 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7640 (with-tramp-dbus-call-method): Format trace message.
7641 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7642 Implement backup call, when operation on local files fails.
7643 Use progress reporter. Flush properties of changed files.
7644 (tramp-gvfs-handle-make-directory): Make more traces.
7645 (tramp-gvfs-url-file-name): Hexify file name in url.
7646 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7647 into account for the resulting file name.
7648 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7649 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7650 (tramp-gvfs-handler-mounted-unmounted)
7651 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7652 attribute "default_location". Set "prefix" property.
7653 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7654 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7655 exists. Raise an error, if not (due to a corresponding answer
7656 "no" in interactive questions, for example).
7658 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7660 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7662 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7664 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7667 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7669 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7670 * vc-git.el (vc-git-compute-remote): New function.
7671 (vc-git-log-outgoing): Use it instead of hard coding a value.
7672 (vc-git-log-incoming): New function.
7674 Improve state updating for VC tag commands.
7675 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7676 to update the state of all buffers in the directory.
7678 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7680 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7683 `file-directory-p' to the filename part rather than to the whole text.
7685 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7689 2010-05-31 Drew Adams <drew.adams@oracle.com>
7691 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7693 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7695 * subr.el (momentary-string-display): Just use read-event to read
7696 the exit event (Bug#6238).
7698 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7700 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7702 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7704 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7705 Suggested by Eli Zaretskii <eliz@gnu.org>.
7707 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7709 * minibuffer.el (completion-file-name-table): Don't return a boundary
7710 past the end of `string' (bug#6299).
7711 (completion--file-name-table): Delegate to completion-file-name-table
7712 for the `boundaries' case.
7714 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7716 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7719 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7720 `path-separator', but maintain compatibility with Emacs 20.2.
7722 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7724 * server.el (server-process-filter): Receive parent-id argument
7726 (server-create-window-system-frame): New arg. Pass parent-id as
7729 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7731 Bidi-sensitive word movement with arrow keys.
7732 * subr.el (right-arrow-command, left-arrow-command): Move to
7735 * bindings.el (right-char, left-char): Move from subr.el and
7736 rename from right-arrow-command and left-arrow-command.
7737 (right-word, left-word): New functions.
7738 (global-map) <right>: Bind to right-char.
7739 (global-map) <left>: Bind to left-char.
7740 (global-map) <C-right>: Bind to right-word.
7741 (global-map) <C-left>: Bind to left-word.
7743 * ls-lisp.el (ls-lisp-classify-file): New function.
7744 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7745 (ls-lisp-classify): Call ls-lisp-classify-file.
7746 (insert-directory): Remove blanks from switches.
7748 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7750 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7751 (ansi-color-drop-regexp): New constant.
7752 (ansi-color-apply, ansi-color-filter-region)
7753 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7754 (ansi-color-apply): Build string list before calling concat.
7756 2010-05-28 Juri Linkov <juri@jurta.org>
7758 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7759 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7762 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7764 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7765 to ignored backtrace functions.
7766 (with-progress-reporter): Expand docstring.
7767 (tramp-handle-delete-file): Implement TRASH argument.
7768 (tramp-get-remote-trash): New defun.
7770 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7772 * net/tramp-compat.el (tramp-compat-delete-file):
7773 Use `symbol-value' for backward compatibility.
7775 * net/tramp.el (tramp-handle-make-symbolic-link)
7777 (tramp-do-copy-or-rename-file-via-buffer)
7778 (tramp-do-copy-or-rename-file-directly)
7779 (tramp-do-copy-or-rename-file-out-of-band)
7780 (tramp-handle-process-file, tramp-handle-call-process-region)
7781 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7782 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7783 (tramp-delete-temp-file-function): Use `delete-file' instead
7784 of `tramp-compat-delete-file'.
7786 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7787 (tramp-fish-handle-make-symbolic-link)
7788 (tramp-fish-handle-process-file): Use `delete-file' instead
7789 of `tramp-compat-delete-file'.
7791 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7792 Use `delete-file' instead of `tramp-compat-delete-file'.
7794 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7795 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7796 `tramp-compat-delete-file'.
7798 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7799 Use `delete-file' instead of `tramp-compat-delete-file'.
7801 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7802 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7803 (tramp-smb-handle-write-region): Use `delete-file' instead of
7804 `tramp-compat-delete-file'.
7805 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7807 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7809 * dired.el (dired-delete-file): New arg TRASH.
7810 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7811 (dired-do-flagged-delete, dired-do-delete): Use trash.
7813 * speedbar.el (speedbar-item-delete): Allow trashing.
7815 * files.el (delete-directory): New arg TRASH.
7817 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7818 (ange-ftp-rename-remote-to-remote)
7819 (ange-ftp-rename-local-to-remote)
7820 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7821 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7823 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7826 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7827 handle new TRASH arg of `delete-file'.
7829 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7830 (tramp-handle-make-symbolic-link, tramp-handle-load)
7831 (tramp-do-copy-or-rename-file-via-buffer)
7832 (tramp-do-copy-or-rename-file-directly)
7833 (tramp-do-copy-or-rename-file-out-of-band)
7834 (tramp-handle-process-file, tramp-handle-call-process-region)
7835 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7836 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7837 (tramp-delete-temp-file-function): Use null TRASH arg in
7838 tramp-compat-delete-file call.
7840 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7841 (tramp-fish-handle-delete-file)
7842 (tramp-fish-handle-make-symbolic-link)
7843 (tramp-fish-handle-process-file): Use null TRASH arg in
7844 `tramp-compat-delete-file' call.
7846 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7847 arg in `tramp-compat-delete-file' call.
7849 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7850 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7851 `tramp-compat-delete-file' call.
7853 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7854 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7855 `tramp-compat-delete-file' call.
7857 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7858 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7859 (tramp-smb-handle-write-region): Use null TRASH arg in
7860 tramp-compat-delete-file call.
7861 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7862 (tramp-smb-handle-delete-file): Rename arg.
7864 * diff.el (diff-sentinel):
7865 * epg.el (epg--make-temp-file, epg-decrypt-string)
7866 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7867 * jka-compr.el (jka-compr-partial-uncompress)
7868 (jka-compr-call-process, jka-compr-write-region):
7869 * server.el (server-sentinel): Remove optional arg from
7870 delete-file, reverting 2010-05-03 change.
7872 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7874 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7875 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7877 2010-05-27 Kenichi Handa <handa@m17n.org>
7879 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7880 element of GSTRING is nil.
7882 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * emacs-lisp/smie.el (smie-forward-token-function)
7885 (smie-backward-token-function): New vars.
7886 (smie-backward-sexp, smie-forward-sexp)
7887 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7888 (smie-default-backward-token): Rename from smie-backward-token and
7890 (smie-default-forward-token): Rename from smie-forward-token and
7892 (smie-next-sexp): Handle nil results from next-token.
7893 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7895 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7897 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7898 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7900 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7902 * htmlfontify.el (hfy-face-resolve-face): New function.
7903 (hfy-face-to-style): Use it (Bug#6279).
7905 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7908 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7910 2010-05-26 Glenn Morris <rgm@gnu.org>
7912 * emulation/edt.el (edt-load-keys): Use locate-library.
7914 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7916 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7917 (log-edit-changelog-entries): Doc fix.
7918 (log-edit-changelog-insert-entries): Args changed.
7919 Rename relative filenames in ChangeLog entries. Delete tabs.
7920 (log-edit-insert-changelog-entries): Reorganize return value of
7921 `log-edit-changelog-entries' to pass filenames to
7922 log-edit-changelog-insert-entries.
7924 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7926 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7927 `image-dired-dired-insert-marked-thumbs' to
7928 `image-dired-dired-toggle-marked-thumbs'.
7930 * image-dired.el: Require cl when compiling.
7931 (image-dired-dired-toggle-marked-thumbs): Rename from
7932 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7933 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7934 to 'no-dir. Skip files whose names don't match
7935 `image-file-name-regexp'. When file has a thumbnail overlay,
7936 delete it. (Bug#5270)
7938 2010-05-25 Juri Linkov <juri@jurta.org>
7940 * image-mode.el (image-mode): Add image-after-revert-hook to
7942 (image-after-revert-hook): New function. (Bug#5669)
7944 2010-05-25 Juri Linkov <juri@jurta.org>
7946 * image.el (image-animated-p): When delay between animated images
7947 is 0, set it to 10 (0.1 sec). (Bug#6258)
7949 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7951 * net/tramp.el (tramp-handle-insert-directory): Don't use
7952 `forward-word', its default syntax could be changed.
7954 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7956 * net/tramp.el (tramp-progress-reporter-update): New defun.
7957 (with-progress-reporter): Use it.
7958 (tramp-process-actions):
7959 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7960 Preserve current message, in order to let progress reporter continue
7961 afterwards. (Bug#6257)
7963 2010-05-25 Glenn Morris <rgm@gnu.org>
7965 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7968 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7970 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7971 (rcirc-default-full-name): Change to "unknown".
7972 (rcirc-user-name-history): Add variable.
7974 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7975 Jonathan Rockway <jon@jrock.us>
7977 * net/rcirc.el (rcirc-server-alist): Add :pass.
7978 (rcirc): When prompting for connection parameters, also prompt for
7979 username and password.
7980 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7981 value to server when connecting.
7983 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7986 (smie-merge-prec2s): Pass the tables as separate args.
7987 (smie-bnf-precedence-table): Adjust call accordingly.
7988 (smie-prec2-levels): Set levels at the end.
7990 Replace Lisp calls to delete-backward-char by delete-char.
7991 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7992 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7993 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7994 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7995 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7996 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7997 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7998 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7999 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8000 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8001 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8002 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8003 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8004 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8005 delete-backward-char by calls to delete-char.
8007 2010-05-25 Kenichi Handa <handa@m17n.org>
8009 * language/hebrew.el (hebrew-shape-gstring): New function.
8010 Register it in composition-function-table for all Hebrew combining
8013 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * epa.el (epa--select-keys): Don't explicitly delete the window since
8016 that can fail (e.g. sole window in frame). Use dedication instead.
8018 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8020 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8022 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8024 * image.el (image-refresh): Define as an alias for image-flush.
8026 * image-mode.el (image-toggle-display-image): Caller changed.
8028 2010-05-21 Juri Linkov <juri@jurta.org>
8030 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8031 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8032 whitespace, call wildcard-to-regexp on substrings and concat them
8033 with "\\|". (Bug#6114)
8035 2010-05-21 Alan Mackenzie <acm@muc.de>
8037 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8038 Replace parameter `here' with `here-' and `here-plus', which sandwich
8039 any pertinent CPP construct.
8040 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8041 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8042 CPP construct from taking part in the scanning.
8044 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8046 * net/tramp.el (tramp-do-copy-or-rename-file)
8047 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8048 Tune `with-progress-reporter' messages.
8049 (tramp-handle-vc-registered):
8050 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8051 (tramp-fish-handle-insert-file-contents)
8052 (tramp-fish-maybe-open-connection):
8053 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8054 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8055 (tramp-imap-handle-insert-file-contents)
8056 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8058 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8060 * add-log.el (change-log-font-lock-keywords):
8061 Highlight all authors in multi-author entries.
8063 * smerge-mode.el (smerge-refine-ignore-whitespace)
8064 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8065 Fix typos in docstrings.
8066 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8068 2010-05-21 Glenn Morris <rgm@gnu.org>
8070 * progmodes/fortran.el (fortran-mode):
8071 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8073 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8074 having a relative path in src/Makefile.in.
8076 2010-05-20 Kevin Ryde <user42@zip.com.au>
8078 * help-mode.el (help-make-xrefs): For Info node links turn
8079 newlines into spaces. Link node names with newlines are matched
8080 by help-xref-info-regexp and buttonized, this change ensures they
8081 can be followed successfully with RET. (Bug#6206)
8083 2010-05-20 Juri Linkov <juri@jurta.org>
8085 * locate.el (locate): Use pop-to-buffer instead of
8086 switch-to-buffer-other-window. (Bug#6204)
8088 2010-05-20 Juri Linkov <juri@jurta.org>
8090 * replace.el (replace-highlight): Fix lazy-highlighting
8091 for `M-s w str M-% str RET'.
8093 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8095 * isearch.el (isearch-yank-word-or-char): Pull next subword
8096 when `subword-mode' is activated. (Bug#6220)
8098 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8100 * isearch.el (isearch-update-post-hook): New hook.
8101 (isearch-update): Use the new hook. (Bug#6225)
8103 2010-05-20 Juri Linkov <juri@jurta.org>
8105 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8106 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8109 2010-05-20 Juri Linkov <juri@jurta.org>
8111 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8114 2010-05-20 Juri Linkov <juri@jurta.org>
8116 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8117 FILE-NAME to read from the minibuffer when called interactively
8118 with prefix argument instead of using buffer-file-name.
8119 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8121 * dired.el: Update autoloads.
8123 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8125 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8126 nxml-finish-element, for consistency with SGML mode.
8128 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8131 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8133 * composite.el: Require cl when compiling.
8134 (reference-point-alist, compose-gstring-for-graphic)
8135 (compose-gstring-for-terminal): Fix typos in docstrings.
8137 2010-05-19 Juri Linkov <juri@jurta.org>
8139 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8140 set-window-parameter.
8142 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8144 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8146 (tramp-maybe-open-connection): Use it.
8148 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8150 * simple.el (move-end-of-line): Make sure we are at line beginning
8151 before backing up to end of previous line.
8153 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8155 * password-cache.el (password-cache-remove): Fix docstring.
8157 * net/secrets.el: Autoload the widget functions.
8158 (secrets-search-items, secrets-create-item)
8159 (secrets-get-attributes, secrets-expand-item): Attributes will be
8160 stored on the password database without leading ":", as all other
8162 (secrets-mode): Fix docstring.
8163 (secrets-show-secrets): Provide it as autoloaded command only when
8164 D-Bus support is available. Check existence of Secret Service API.
8166 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8168 * indent.el (indent-region): Deactivate region (bug#6200).
8170 2010-05-19 Glenn Morris <rgm@gnu.org>
8172 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8174 2010-05-19 Kenichi Handa <handa@m17n.org>
8176 * composite.el: Register compose-gstring-for-graphic in
8177 composition-function-table only for combining characters (Mn, Mc, Me).
8179 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8181 * calc/calc-trail.el (calc-trail-isearch-forward)
8182 (calc-trail-isearch-backward): Ensure that the new window
8183 point is set correctly.
8185 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * subr.el (read-quoted-char): Resolve modifiers after key
8188 remapping (bug#6212).
8190 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8192 Add visualization code for secrets.
8193 * net/secrets.el (secrets-mode): New major mode.
8194 (secrets-show-secrets, secrets-show-collections)
8195 (secrets-expand-collection, secrets-expand-item)
8196 (secrets-tree-widget-after-toggle-function)
8197 (secrets-tree-widget-show-password): New defuns.
8199 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8202 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8203 handled in smie-next-sexp.
8204 (smie-indent-calculate): Provide a starting indentation (so the
8205 recursion is well-founded ;-).
8207 Fix handling of non-associative equal levels.
8208 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8209 when it's not needed.
8210 (smie-op-left, smie-op-right): New functions.
8211 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8212 Better handle equal levels to distinguish the associative case from
8213 the "multi-keyword construct" case.
8214 (smie-backward-sexp, smie-forward-sexp): Use it.
8216 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8218 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8220 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8221 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8223 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8225 Provide a simple generic indentation engine and use it for Prolog.
8226 * emacs-lisp/smie.el: New file.
8227 * progmodes/prolog.el (prolog-smie-op-levels)
8228 (prolog-smie-indent-rules): New var.
8229 (prolog-mode-variables): Use them to configure SMIE.
8230 (prolog-indent-line, prolog-indent-level): Remove.
8232 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8234 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8235 order before computing the averages.
8237 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8239 * calc/calc-vec.el (calc-histogram):
8240 (calcFunc-histogram): Allow vectors as inputs.
8241 (math-vector-avg): New function.
8243 * calc/calc-ext.el (math-group-float): Have the number of digits
8244 being grouped depend on the radix (Bug#6189).
8246 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8248 * version.el (emacs-copyright, emacs-version): Don't define here,
8249 now that emacs.c defines it.
8251 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8253 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8254 "Describe Language Environment" menu item.
8256 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8258 Bidi-sensitive movement with arrow keys.
8259 * subr.el (right-arrow-command, left-arrow-command): New functions.
8261 * bindings.el (global-map): Bind them to right and left arrow keys.
8263 Don't override standard definition of convert-standard-filename.
8264 * files.el (convert-standard-filename):
8265 Call w32-convert-standard-filename and dos-convert-standard-filename on
8266 the corresponding systems.
8268 * w32-fns.el (w32-convert-standard-filename): Rename from
8269 convert-standard-filename. Doc fix.
8271 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8272 (convert-standard-filename): Don't defalias.
8273 (register-name-alist, make-register, register-value)
8274 (set-register-value, intdos): Obsolete aliases for the
8275 corresponding dos-* functions and variables.
8276 (dos-intdos): Add a doc string.
8278 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8280 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8281 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8282 (math-compose-tex-func):
8283 * calc/calccomp.el (math-compose-expr):
8284 * calc/calc-ext.el (math-format-flat-expr-fancy):
8285 * calc/calc-store.el (calc-read-var-name):
8286 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8288 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8289 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8290 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8291 (math-standard-units): Add units.
8293 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8295 * progmodes/asm-mode.el (asm-mode):
8296 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8298 * pcomplete.el (pcomplete-completions-at-point): New function,
8299 extracted from pcomplete-std-complete.
8300 (pcomplete-std-complete): Use it.
8302 2010-05-15 Glenn Morris <rgm@gnu.org>
8304 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8305 Remove references to CVS, RCS and Old directories.
8307 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8309 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8312 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8315 (sh-mode-syntax-table): Give it a default value instead.
8316 (sh-header-marker): Make buffer-local.
8317 (sh-mode): Move make-local-variable to the corresponding setq.
8318 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8319 Use complete-with-action.
8321 * simple.el (prog-mode): New (abstract) major mode.
8322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8323 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8325 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8327 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8328 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8329 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8330 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8331 (sql-escape-newlines-filter, sql-input-sender)
8332 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8334 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8336 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8338 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8339 latex-open-block and C-c / to latex-close-block.
8341 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8342 and C-c C-e to sgml-close-tag.
8344 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8346 * net/tramp.el (with-progress-reporter): Create reporter object
8347 only when the message would be displayed. Handle nested calls.
8348 (tramp-handle-load, tramp-handle-file-local-copy)
8349 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8350 (tramp-maybe-send-script, tramp-find-shell):
8351 Use `with-progress-reporter'.
8352 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8355 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8356 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8357 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8358 Use `with-progress-reporter'.
8360 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8362 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8363 process everytime when spellchecking from the minibuffer (bug#6143).
8365 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8367 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8369 * dos-fns.el: Add "dos-" prefix for namespace control.
8370 (convert-standard-filename): Define as alias for
8371 dos-convert-standard-filename but only if applicable.
8373 2010-05-12 Alan Mackenzie <acm@muc.de>
8375 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8376 Push the mark at the start of these functions when appropriate.
8378 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * minibuffer.el (completion-cycle-threshold): New custom var.
8381 (completion--do-completion): Use it.
8382 (minibuffer-complete): Use cycling if appropriate.
8384 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8386 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8387 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8389 2010-05-11 Juri Linkov <juri@jurta.org>
8391 * scroll-all.el (scroll-all-check-to-scroll):
8392 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8394 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * iimage.el (iimage-mode-map): Move initialization into declaration.
8397 (iimage-mode-buffer): Use with-silent-modifications.
8398 Simplify calling convention. Adjust callers.
8399 (iimage-mode): Don't run hook redundantly.
8401 * minibuffer.el (completion-pcm--pattern->regex):
8402 Fix last change (bug#6160).
8404 2010-05-10 Juri Linkov <juri@jurta.org>
8406 Remove nodes visited during Isearch from the Info history.
8407 * info.el (Info-isearch-initial-history)
8408 (Info-isearch-initial-history-list): New variables.
8409 (Info-isearch-start): Record initial values of
8410 Info-isearch-initial-history and Info-isearch-initial-history-list.
8411 Add Info-isearch-end to isearch-mode-end-hook.
8412 (Info-isearch-end): New function.
8414 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8416 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8417 format string, in order to work around a bug in pdksh.
8418 Reported by Gilles Pion <gpion@lfdj.com>.
8419 (tramp-handle-verify-visited-file-modtime): Do not send a command
8420 when the connection is not established.
8421 (tramp-handle-set-file-times): Simplify the check for utc.
8423 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8425 Fix use of `filter-buffer-substring' (rework previous change).
8426 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8427 (cua-repeat-replace-region):
8428 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8429 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8430 (cua-cut-region-to-global-mark): Use it.
8432 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8434 * progmodes/sql.el: Version 2.1.
8435 (sql-product-alist): Redesign structure of product info.
8436 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8437 (sql-port, sql-port-history): New variables.
8438 (sql-interactive-product): New variable.
8439 (sql-send-terminator): New variable.
8440 (sql-imenu-generic-expression): Add "Types" imenu entry.
8441 (sql-oracle-login-params, sql-sqlite-login-params)
8442 (sql-mysql-login-params, sql-solid-login-params)
8443 (sql-sybase-login-params, sql-informix-login-params)
8444 (sql-ingres-login-params, sql-ms-login-params)
8445 (sql-postgres-login-params, sql-interbase-login-params)
8446 (sql-db2-login-params, sql-linter-login-params)
8447 (sql-oracle-scan-on): New variables.
8448 (sql-mode-map): Add C-c C-i to start interactive mode.
8449 (sql-mode-menu): Update existing menu entries.
8450 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8451 (sql-mode-oracle-font-lock-keywords)
8452 (sql-mode-postgres-font-lock-keywords)
8453 (sql-mode-ms-font-lock-keywords)
8454 (sql-mode-sybase-font-lock-keywords)
8455 (sql-mode-informix-font-lock-keywords)
8456 (sql-mode-interbase-font-lock-keywords)
8457 (sql-mode-ingres-font-lock-keywords)
8458 (sql-mode-solid-font-lock-keywords)
8459 (sql-mode-mysql-font-lock-keywords)
8460 (sql-mode-sqlite-font-lock-keywords)
8461 (sql-mode-db2-font-lock-keywords)
8462 (sql-mode-linter-font-lock-keywords): Update initialization to
8463 reduce run-time complexity.
8464 (sql-add-product, sql-del-product): New functions.
8465 (sql-set-product-feature, sql-get-product-feature): New functions.
8466 (sql-product-font-lock): Update product API.
8467 (sql-add-product-keywords): New function.
8468 (sql-highlight-product): Update product API.
8469 (sql-help-list-products): New function.
8470 (sql-help): Dynamically lists free and non-free products.
8471 (sql-get-login): Correct bug in handling history and added
8473 (sql-copy-column): Copy without properties.
8474 (sqli-input-sender): Apply filters to SQLi input.
8475 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8476 Implement as a filter.
8477 (sql-escape-newlines-filter): Implement as a filter.
8478 (sql-remove-tabs-filter): New function.
8479 (sql-send-magic-terminator): New function.
8480 (sql-send-string): Implement magic terminator.
8481 (sql-send-region): Use `sql-send-string'.
8482 (sql-interactive-mode): Use product API.
8483 (sql-product-interactive): Use product API.
8484 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8485 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8486 (sql-db2, sql-linter): Use `sql-product-interactive'.
8487 (sql-connect): New function.
8488 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8489 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8490 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8491 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8494 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8497 New custom variable.
8498 (completion-pcm--string->pattern): Use it.
8499 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8500 Make it handle any symbol as `any'.
8501 (completion-pcm--merge-completions): Extract common suffix for the new
8502 `prefix' symbol as well.
8503 (completion-substring--all-completions): Use the new `prefix' symbol.
8505 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8507 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8509 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8510 (tramp-compat-funcall): New defmacro.
8511 (tramp-compat-line-beginning-position)
8512 (tramp-compat-line-end-position)
8513 (tramp-compat-temporary-file-directory)
8514 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8515 (tramp-compat-copy-file, tramp-compat-copy-directory)
8516 (tramp-compat-delete-file, tramp-compat-delete-directory)
8517 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8518 * net/tramp.el (top, with-progress-reporter)
8519 (tramp-rfn-eshadow-setup-minibuffer)
8520 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8521 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8522 (tramp-completion-mode-p, tramp-check-for-regexp)
8523 (tramp-open-connection-setup-interactive-shell)
8524 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8525 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8526 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8527 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8528 (tramp-reporter-dump-variable, tramp-load-report-modules)
8529 (tramp-append-tramp-buffers)
8530 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8532 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8534 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8537 buffer-modtime. Adjust users.
8539 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8541 * international/mule.el (auto-coding-alist): Only purecopy
8542 car of each item, not the whole list (Bug#6083).
8544 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8546 * progmodes/js.el (js-mode): Make paragraph variables local before
8547 calling c-setup-paragraph-variables (Bug#6071).
8549 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8551 * composite.el (compose-region, reference-point-alist): Fix typos
8554 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8556 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8557 gnuplot's "set" command.
8559 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8561 * abbrev.el (last-abbrev-text): Doc fix.
8562 (abbrev-prefix-mark): Don't escape parenthesis.
8564 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8566 * composite.el (find-composition): Doc fix.
8568 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8570 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8571 (sql-oracle-program, sql-sqlite-options)
8572 (sql-query-placeholders-and-send): Doc fixes.
8573 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8574 (sql-imenu-generic-expression, sql-buffer)
8575 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8576 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8577 (sql-mode-sybase-font-lock-keywords)
8578 (sql-mode-informix-font-lock-keywords)
8579 (sql-mode-interbase-font-lock-keywords)
8580 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8581 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8582 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8583 (sql-product-feature, sql-highlight-product)
8584 (comint-line-beginning-position, sql-rename-buffer)
8585 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8586 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8587 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8588 Fix typos in docstrings.
8590 2010-05-08 Juri Linkov <juri@jurta.org>
8592 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8593 property instead of `invisible' and `after-string' (bug#5998).
8595 2010-05-08 Juri Linkov <juri@jurta.org>
8597 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8599 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8601 * filecache.el (file-cache-add-directory-list)
8602 (file-cache-add-directory-recursively): Fix typos in docstrings.
8604 2010-05-08 Kenichi Handa <handa@m17n.org>
8606 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8607 (gujarati-composable-pattern): Fix typo.
8609 2010-05-08 Kenichi Handa <handa@m17n.org>
8611 * language/indian.el (oriya-composable-pattern)
8612 (tamil-composable-pattern, malayalam-composable-pattern):
8613 Add two-part vowels to "v" (vowel sign).
8615 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8617 * files.el (copy-directory): Handle symlinks (Bug#5982).
8619 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8621 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8622 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8625 2010-05-08 Glenn Morris <rgm@gnu.org>
8627 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8629 * minibuffer.el (completion-at-point): Doc fix.
8631 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8633 * electric.el (Electric-command-loop): Minor tweak.
8635 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8636 better with dedicated windows.
8638 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8640 * Version 23.2 released.
8642 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8643 Stefan Monnier <monnier@iro.umontreal.ca>
8645 Highlight vendor specific properties.
8646 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8647 (css-proprietary-property): New face.
8648 (css-font-lock-keywords): Use them.
8650 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8652 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8654 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8656 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8657 * files.el (auto-mode-alist): Remove redundant entries.
8659 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8660 * simple.el (auto-save-mode): Move from files.el.
8661 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8663 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8665 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8667 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8669 * mail/binhex.el (binhex-decode-region-internal)
8670 * mail/uudecode.el (uudecode-decode-region-internal)
8671 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8672 (dns-read-type, dns-query)
8673 * pgg-parse.el (pgg-parse-armor)
8674 * pgg.el (pgg-verify-region)
8675 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8678 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8680 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8682 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8684 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8685 * emulation/cua-base.el (cua-repeat-replace-region):
8686 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8687 (cua-cut-region-to-global-mark):
8688 Remove text properties with `set-text-properties'.
8690 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8692 * net/tramp.el (top, with-progress-reporter):
8693 Use `symbol-function' inside `funcall'.
8695 * net/tramp-compat.el (tramp-compat-file-attributes)
8696 (tramp-compat-delete-file, tramp-compat-delete-directory):
8697 Handle only `wrong-number-of-arguments' error.
8699 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8700 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8703 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * minibuffer.el (completion--sreverse, completion--common-suffix):
8707 (completion-pcm--merge-completions): Extract common suffix when safe.
8709 * emacs-lisp/easy-mmode.el (define-minor-mode):
8710 Make :variable more flexible.
8711 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8713 2010-05-05 Juri Linkov <juri@jurta.org>
8715 Add `slow' and `history' tags to the desktop data.
8717 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8718 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8719 (Info-finder-find-node): Require `finder.el' to be able
8720 to restore node from the desktop.
8721 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8722 data `Info-history' and `slow' tag in the assoc list.
8723 (Info-restore-desktop-buffer): Don't restore nodes with the
8724 `slow' tag. Restore `Info-history'.
8726 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8728 Add FORCE argument to `delete-file'.
8730 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8731 forcing to delete the temporary file.
8732 (ange-ftp-delete-file): Add FORCE arg.
8733 (ange-ftp-rename-remote-to-remote)
8734 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8735 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8736 Force file deletion.
8738 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8740 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8741 (tramp-handle-make-symbolic-link, tramp-handle-load)
8742 (tramp-do-copy-or-rename-file-via-buffer)
8743 (tramp-do-copy-or-rename-file-directly)
8744 (tramp-do-copy-or-rename-file-out-of-band)
8745 (tramp-handle-process-file, tramp-handle-call-process-region)
8746 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8747 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8748 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8750 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8751 (tramp-fish-handle-make-symbolic-link)
8752 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8754 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8755 Use `tramp-compat-delete-file'.
8757 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8758 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8760 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8761 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8763 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8764 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8765 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8766 Use `tramp-compat-delete-file'.
8768 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8771 * subr.el (add-minor-mode): Use push.
8772 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8773 * emulation/edt.el (edt-select-mode): Simplify.
8775 Use define-minor-mode in more cases.
8776 * term/tvi970.el (tvi970-set-keypad-mode):
8777 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8778 (normal-erase-is-backspace-mode):
8779 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8780 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8781 (get-scroll-bar-mode): New function.
8782 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8784 Use define-minor-mode for less obvious cases.
8785 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8786 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8787 * international/iso-ascii.el (iso-ascii-mode):
8788 * frame.el (auto-raise-mode, auto-lower-mode):
8789 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8791 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8793 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8794 in order to see error messages for failed logins.
8796 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8798 * diff.el (diff-sentinel):
8800 * epg.el (epg--make-temp-file, epg-decrypt-string)
8801 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8803 * jka-compr.el (jka-compr-partial-uncompress)
8804 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8806 * server.el (server-sentinel): Use delete-file's new FORCE arg
8809 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8811 Use define-minor-mode where applicable.
8812 * view.el (view-mode):
8813 * type-break.el (type-break-query-mode)
8814 (type-break-mode-line-message-mode):
8815 * textmodes/reftex.el (reftex-mode):
8816 * term/vt100.el (vt100-wide-mode):
8817 * tar-mode.el (tar-subfile-mode):
8818 * savehist.el (savehist-mode):
8819 * ibuf-ext.el (ibuffer-auto-mode):
8820 * composite.el (auto-composition-mode):
8821 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8822 Use define-minor-mode.
8823 (vhdl-mode): Use static mode-line format.
8824 (vhdl-mode-line-update): Delete.
8825 (vhdl-create-mode-menu, vhdl-activate-customizations)
8826 (vhdl-hs-minor-mode): Don't bother calling it.
8828 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8830 * simple.el (with-wrapper-hook): Move.
8831 (buffer-substring-filters): Mark obsolete.
8832 (filter-buffer-substring-functions): New variable.
8833 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8835 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8836 Michael Albinus <michael.albinus@gmx.de>
8838 Implement compression for inline methods.
8840 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8841 (tramp-copy-size-limit): Allow also nil.
8842 (tramp-inline-compress-commands): New defconst.
8843 (tramp-find-inline-compress, tramp-get-inline-compress)
8844 (tramp-get-inline-coding): New defuns.
8845 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8846 replaced by `tramp-get-inline-coding'.
8847 (tramp-handle-file-local-copy, tramp-handle-write-region)
8848 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8850 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8853 Remove unused functions.
8855 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8856 Set find-tag-default-function as a variable rather than a property.
8858 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8859 * progmodes/etags.el (tags-completion-at-point-function):
8860 Remove left over interactive spec. Add autoloading stub.
8861 (complete-tag): Use tags-completion-at-point-function.
8863 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8865 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8867 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8869 * ido.el (ido-init-completion-maps): Remove C-v binding.
8870 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8872 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8874 * minibuffer.el (tags-completion-at-point-function): New function.
8875 (completion-at-point-functions): Use it.
8877 * progmodes/etags.el (complete-tag): Revert last change.
8879 2010-04-29 Alan Mackenzie <acm@muc.de>
8881 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8882 off-by-one error (in end of macro position).
8884 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8886 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8887 firefox is absent. Don't autoload.
8888 (browse-url-galeon-program): Don't autoload.
8890 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8892 * bindings.el (complete-symbol): Move into minibuffer.el.
8894 * minibuffer.el (complete-tag): Move from etags.el. If tags
8895 completion cannot be performed, return nil instead of signalling
8897 (completion-at-point): Make it an alias for complete-symbol.
8898 (complete-symbol): Move from bindings.el, and replace with the
8899 body of completion-at-point.
8901 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8903 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8905 * net/tramp.el (tramp-remote-selinux-p): New defun.
8906 (tramp-handle-file-selinux-context)
8907 (tramp-handle-set-file-selinux-context): Use it.
8909 2010-04-28 Sam Steingold <sds@gnu.org>
8911 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8912 `safe-local-variable' if the value is a string or a symbol with
8913 the property `bug-reference-url-format'.
8915 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8917 * progmodes/bug-reference.el (bug-reference-url-format):
8918 Revert 2010-04-27 change due to security risk.
8920 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8922 Make it possible to locally disable a globally enabled mode.
8923 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8924 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8925 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8926 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8927 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8928 that subsequent hooks get a chance to disable it.
8930 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8932 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8933 Avoid re-enabling a minor mode after the user turned the minor mode
8934 off if MODE-enable-in-buffers is run twice (typically once from
8935 fundamental-mode's after-change-major-mode-hook and a second time from
8936 run-mode-hook's own after-change-major-mode-hook).
8938 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8940 2010-04-27 Sam Steingold <sds@gnu.org>
8942 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8943 `safe-local-variable' if the value is a string or a function, as
8944 documented and implemented on 2010-04-02.
8946 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8948 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8949 when method is 'kill.
8951 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8953 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8954 condition in default directory check.
8955 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8956 Kill ispell process when killing its associated buffer.
8958 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8960 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8961 but we aren't using it.
8963 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8965 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8966 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8968 2010-04-24 Glenn Morris <rgm@gnu.org>
8970 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8971 Ignore VCS-ignore files, and deleted nextstep preferences files.
8972 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8973 (authors-ambiguous-files): New list.
8974 (authors-valid-file-names): Add some deleted files.
8975 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8976 (authors-disambiguate-file-name): New function. (Bug#5501)
8977 (authors-canonical-file-name): Doc fix.
8978 Don't warn about obsolete files.
8979 (authors-canonical-file-name, authors-scan-el):
8980 Use authors-disambiguate-file-name.
8982 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8983 Add autoload cookies.
8984 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8985 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8986 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8987 They have definitions / compiler macros in cl.el.
8988 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8989 Replace manual autoloads with generated ones.
8990 (htmlfontify-unload-rgb-file): Remove autoload.
8991 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8993 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8996 (byte-compile-setq-default): Optimize for the
8997 single-var case and don't call byte-compile-form in this case to avoid
8998 inf-loop with byte-compile-set-default.
9000 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9002 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9004 Implement SELINUX backends.
9006 * net/tramp.el (tramp-file-name-handler-alist):
9007 Add `file-selinux-context' and `set-file-selinux-context'.
9008 (tramp-handle-file-selinux-context)
9009 (tramp-handle-set-file-selinux-context): New defuns.
9010 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9011 Handle PRESERVE-SELINUX-CONTEXT.
9013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9014 Add `file-selinux-context' and `set-file-selinux-context'.
9015 (tramp-gvfs-handle-file-selinux-context)
9016 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9017 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9019 * net/ange-ftp.el (ange-ftp-copy-file):
9020 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9021 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9022 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9023 Add PRESERVE-SELINUX-CONTEXT.
9025 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9027 Synchronize with Tramp repository.
9029 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9030 (tramp-action-process-alive, tramp-action-out-of-band)
9031 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9032 (tramp-exists-file-name-handler): Fix docstring.
9033 (with-progress-reporter): New defmacro.
9034 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9035 (tramp-maybe-open-connection): Use it.
9037 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9039 Detect ssh 'ControlMaster' argument automatically in some cases.
9041 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9042 (tramp-default-method): Use it.
9044 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9046 * net/tramp.el (tramp-handle-copy-file): Add new optional
9047 parameter `preserve-selinux-context'.
9048 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9050 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9052 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9053 Ensure, that non remote files are still checked. Oops.
9055 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9059 * icomplete.el (icomplete-completions): Use `non-essential'.
9061 * net/tramp.el (tramp-connectable-p): New defun.
9062 (tramp-handle-expand-file-name)
9063 (tramp-completion-handle-file-name-all-completions)
9064 (tramp-completion-handle-file-name-completion): Use it.
9066 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9068 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9070 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9072 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9074 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9076 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9079 * info.el (info-tool-bar-map): Add labels.
9081 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9083 * cus-edit.el (custom-commands): Add labels for tool bar.
9084 (custom-buffer-create-internal, Custom-mode): Adjust for
9085 labels in custom-commands.
9087 * dynamic-setting.el: Renamed from font-setting.el.
9089 2010-04-21 John Wiegley <jwiegley@gmail.com>
9091 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9092 toggles the use of virtual buffers.
9093 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9094 (ido-toggle-virtual-buffers): New function.
9096 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9098 Use `define-derived-mode'; fix window selection; doc fixes.
9099 * play/tetris.el (tetris, tetris-update-speed-function)
9100 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9101 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9102 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9103 (tetris-pause-game): Fix typos in docstrings.
9104 (tetris-mode-map, tetris-null-map):
9105 Move initialization into declaration.
9106 (tetris-mode): Define with `define-derived-mode';
9107 set show-trailing-whitespace to nil.
9108 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9110 2010-04-21 Karel Klíč <kklic@redhat.com>
9112 * files.el (backup-buffer): Handle SELinux context, and return it
9113 if a backup was made by renaming.
9114 (backup-buffer-copy): Set SELinux context to the target file.
9115 (basic-save-buffer): Set SELinux context of the newly written file.
9116 (basic-save-buffer-1): Now it also returns any SELinux context.
9117 (basic-save-buffer-2): Set SELinux context of the newly created file,
9119 * net/tramp.el (tramp-file-name-for-operation):
9120 Add file-selinux-context.
9122 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9124 Make the log-edit comments use RFC822 format throughout.
9126 * vc.el (vc-checkin, vc-modify-change-comment):
9127 Adjust to new vc-start/finish-logentry.
9128 (vc-find-conflicted-file): New command.
9129 (vc-transfer-file): Adjust to new vc-checkin.
9130 (vc-next-action): Improve scoping.
9132 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9133 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9135 * vc-git.el (vc-git-log-edit-mode): Remove.
9136 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9137 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9139 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9140 (vc-start-logentry): Remove argument `extra'.
9141 (vc-finish-logentry): Remove extra args.
9143 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9144 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9145 (vc-bzr-conflicted-files): New function.
9147 * log-edit.el (log-edit-extra-flags)
9148 (log-edit-before-checkin-process): Remove.
9149 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9150 (log-edit-headers-alist): New var.
9151 (log-edit-header-contents-regexp): New const.
9152 (log-edit-match-to-eoh): New function.
9153 (log-edit-font-lock-keywords): Use them.
9154 (log-edit): Insert a "Summary:" header as default.
9155 (log-edit-mode): Mark font-lock rules as case-insensitive.
9156 (log-edit-done): Cleanup headers.
9157 (log-view-process-buffer): Remove.
9158 (log-edit-extract-headers): New function to replace it.
9160 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9162 * subr.el (default-direction-reversed): Remove obsolescence info.
9164 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9169 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9170 I.e. include text after point in the completion region.
9171 Also, return nil when we're not after/in a symbol.
9173 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9174 default enable-multibyte-characters.
9176 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * international/mule.el: Help the user choose a valid coding-system.
9179 (read-buffer-file-coding-system): New function.
9180 (set-buffer-file-coding-system): Use it. Prompt the user if the
9181 coding-system cannot encode all the chars.
9183 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9184 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9185 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9186 Don't use *vc-bzr-shelve*.
9188 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9190 Fix the version number for added files.
9191 * vc-hg.el (vc-hg-working-revision): Check if the file is
9192 registered after hg parent fails (Bug#5961).
9194 2010-04-19 Glenn Morris <rgm@gnu.org>
9196 * htmlfontify.el (htmlfontify-buffer)
9197 (htmlfontify-copy-and-link-dir): Autoload entry points.
9199 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9201 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9202 name relative to the project root (Bug#5960).
9204 2010-04-19 Glenn Morris <rgm@gnu.org>
9206 * vc-git.el (vc-git-print-log): Doc fix.
9208 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9210 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9212 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9214 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9215 default settings (Bug#5928).
9217 2010-04-19 Glenn Morris <rgm@gnu.org>
9219 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9221 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9223 2010-04-19 Kenichi Handa <handa@m17n.org>
9225 * language/indian.el (malayalam-composable-pattern): Fix previous
9226 change (add U+0D4D "SIGN VIRAMA").
9227 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9228 (tamil-composable-pattern): Fix typo in the regexp.
9229 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9230 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9231 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9233 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9235 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9236 paragraph-separate (Bug#5821).
9238 2010-04-19 Juri Linkov <juri@jurta.org>
9240 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9242 * info.el (Info-find-node-2): Comment out code that skips
9244 (Info-mouse-follow-link): New command.
9245 (Info-link-keymap): New keymap.
9246 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9247 Return a string with links instead of inserting breadcrumbs
9249 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9250 Instead of putting the `invisible' text property over the Info
9251 header, make an overlay over the Info header with the `invisible'
9252 property and `after-string' set to the string returned by
9255 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9257 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9258 Reported by monkey@sandpframing.com.
9260 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9263 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9264 available in the "keyseq cache" any more.
9266 * custom.el (defcustom): Add edebug spec.
9268 2010-04-18 Juri Linkov <juri@jurta.org>
9270 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9272 * view.el (view-file, view-buffer): Move test for special mode-class
9273 from view-file to view-buffer.
9275 * tar-mode.el (tar-extract): Turn if's into one cond
9276 like in arc-mode.el.
9278 2010-04-18 Juri Linkov <juri@jurta.org>
9280 Add 7z archive format support (bug#5475).
9282 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9283 (archive-7z-extract): New defcustom.
9284 (archive-find-type): Add magic string for 7z.
9285 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9286 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9287 `buffer' arg of `call-process'.
9288 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9289 call the function `archive-7z-extract' with the variable
9290 `archive-7z-extract' let-bound to `archive-zip-extract'.
9291 (archive-7z-summarize, archive-7z-extract): New functions.
9293 * international/mule.el (auto-coding-alist):
9294 * files.el (auto-mode-alist): Add 7z file extension.
9296 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * loadup.el: Setup hash-cons for pure data.
9300 Fix duplicate entries in cedet's loaddefs.el files.
9301 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9302 Should make most file-local generated-autoload-file unnecessary.
9303 (print-readably): Silence warnings.
9304 (autoload-find-destination): Take load-name as an arg to make sure
9305 it's the same as the one that will be in the file.
9306 (autoload-generate-file-autoloads): Adjust to above changes.
9307 Try to make the dataflow a bit simpler.
9309 * cvs-status.el (cvs-refontify): Remove unused.
9311 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9313 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9315 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9316 twos-complement mode.
9318 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9320 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9321 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9322 (calc-inverse): Add "Option" to message, as appropriate.
9323 (calc-hyperbolic): Add "Option" to message, as appropriate.
9324 (calc-option, calc-is-option): New functions.
9326 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9327 (calc-option-prefix-help): New function.
9329 * calc/calc-misc.el (calc-help): Add "Option" entry.
9331 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9332 (calc-option-flag): New variable.
9333 (calc-do): Set `calc-option-flag to nil.
9334 (calc-set-mode-line): Add "Opt " as appropriate.
9336 2010-04-16 Juri Linkov <juri@jurta.org>
9338 Move scrolling commands from simple.el to window.el
9339 because their primitives are implemented in window.c.
9341 * simple.el (scroll-error-top-bottom)
9342 (scroll-up-command, scroll-down-command, scroll-up-line)
9343 (scroll-down-line, scroll-other-window-down)
9344 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9345 * window.el (scroll-error-top-bottom)
9346 (scroll-up-command, scroll-down-command, scroll-up-line)
9347 (scroll-down-line, scroll-other-window-down)
9348 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9349 Move from simple.el to window.el because their primitives are
9350 implemented in window.c.
9352 2010-04-16 Juri Linkov <juri@jurta.org>
9354 * isearch.el (isearch-lookup-scroll-key): Check both
9355 `isearch-scroll' and `scroll-command' properties.
9356 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9358 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9360 * simple.el (scroll-up-command, scroll-down-command)
9361 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9363 2010-04-15 Juri Linkov <juri@jurta.org>
9365 * simple.el (scroll-up-command, scroll-down-command)
9366 (scroll-up-line, scroll-down-line): Put `scroll-command'
9367 property on the these symbols. Remove them from
9368 `scroll-preserve-screen-position-commands'.
9370 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9371 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9372 Remove it from `scroll-preserve-screen-position-commands'.
9374 * isearch.el (isearch-allow-scroll): Doc fix.
9376 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9378 * net/tramp.el (tramp-error-with-buffer): Don't show the
9379 connection buffer when we are in completion mode.
9380 (tramp-file-name-handler): Catch the error for some operations
9381 when we are in completion mode. This gives the user the chance to
9382 correct the file name in the minibuffer.
9384 2010-04-15 Glenn Morris <rgm@gnu.org>
9386 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9388 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9390 Simplify by using `define-derived-mode'.
9391 * info.el (Info-mode):
9392 * calendar/todo-mode.el (todo-mode):
9393 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9394 (gomoku-mode-map): Move initialization into declaration.
9396 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9399 * ido.el (ido-file-name-all-completions-1):
9400 * minibuffer.el (minibuffer-completion-help):
9401 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9403 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * simple.el (non-essential): New var.
9407 Add a new field `location' to bookmarks for non-file bookmarks.
9408 * bookmark.el (bookmark-location): Use the new field, if present.
9409 (bookmark-insert-location): Undo last change, not needed any more.
9410 * man.el (Man-bookmark-make-record):
9411 * woman.el (woman-bookmark-make-record): Add `location' field.
9413 2010-04-14 Juri Linkov <juri@jurta.org>
9415 * simple.el (scroll-error-top-bottom): New defcustom.
9416 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9418 * emulation/pc-select.el (pc-select-override-scroll-error):
9419 Obsolete in favor of `scroll-error-top-bottom'.
9421 2010-04-14 Juri Linkov <juri@jurta.org>
9423 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9424 `scroll-up-command' and `M-v' to `scroll-down-command'.
9426 * emulation/cua-rect.el (cua--init-rectangles):
9427 * forms.el (forms--change-commands):
9428 * image-mode.el (image-mode-map):
9429 Remap scroll-down-command and scroll-up-command
9430 in addition to scroll-down and scroll-up.
9432 2010-04-14 Juri Linkov <juri@jurta.org>
9434 * mwheel.el (scroll-preserve-screen-position-commands):
9435 Add mwheel-scroll to this list of commands.
9437 * simple.el (scroll-preserve-screen-position-commands):
9438 Add scroll-up-command, scroll-down-command, scroll-up-line,
9439 scroll-down-line to this list of commands.
9441 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9443 * obsolete/complete.el: Move from lisp/complete.el.
9445 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9447 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9448 to the minor mode function now turns the mode ON unconditionally.
9450 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * vc-dir.el (vc-dir-kill-line): New command.
9453 (vc-dir-mode-map): Bind it to C-k.
9455 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9457 * woman.el: Add bookmark declarations to silence the compiler.
9458 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9459 step to compatibility between man and woman bookmarks.
9460 Adjust for Man-default-bookmark-title renaming.
9461 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9463 * man.el: Add bookmark declarations to silence the compiler.
9464 (Man-name-local-regexp): Make it match NAME as well.
9465 (Man-getpage-in-background): Return the buffer.
9466 (Man-notify-when-ready): Use `case'.
9467 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9468 Don't hardcode "NAME". Simplify.
9469 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9470 Rename from Man-bookmark-make-record.
9471 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9472 we have the actual man-args. Use Man-getpage-in-background rather
9473 than `man' since the arg is already processed. Let bookmark.el do the
9474 window handling. Only wait for the relevant process.
9475 Don't forget to autoload.
9477 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9479 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9481 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9483 (woman-mode): Setup bookmark support.
9485 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9486 (man-bookmark-jump): New functions.
9487 (Man-mode): Setup bookmark support.
9489 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9491 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9492 recognize ssh-keygen prompt (Bug#2817).
9494 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9496 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9498 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9500 Synchronize with Tramp repository.
9502 * net/tramp.el (tramp-completion-function-alist)
9503 (tramp-file-name-regexp, tramp-chunksize)
9504 (tramp-local-coding-commands, tramp-remote-coding-commands):
9506 (tramp-remote-process-environment): Use `format' instead of `concat'.
9507 (tramp-handle-directory-files-and-attributes)
9508 (tramp-get-remote-path): Use `copy-tree'.
9509 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9510 compatibility: Use `completion-ignore-case' if
9511 `read-file-name-completion-ignore-case' does not exist.
9512 (tramp-do-copy-or-rename-file-directly): Do not use
9513 `tramp-handle-file-remote-p'.
9514 (tramp-do-copy-or-rename-file-out-of-band):
9515 Use `tramp-compat-delete-directory'.
9516 (tramp-do-copy-or-rename-file-out-of-band)
9517 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9518 Use `format-spec-make'.
9519 (tramp-find-foreign-file-name-handler)
9520 (tramp-advice-make-auto-save-file-name)
9521 (tramp-set-auto-save-file-modes): Remove superfluous check for
9522 `stringp'. This is done inside `tramp-tramp-file-p'.
9523 (tramp-debug-outline-regexp): New defconst.
9524 (tramp-get-debug-buffer): Use it.
9525 (tramp-check-for-regexp): Use (forward-line 1).
9526 (tramp-set-auto-save-file-modes): Adapt version check.
9528 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9529 Wrap call of `featurep' for 2nd argument.
9530 (tramp-compat-make-temp-file): Simplify fallback implementation.
9531 (tramp-compat-copy-tree): Remove function.
9532 (tramp-compat-delete-directory): Provide implementation for older
9535 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9536 Do not use `tramp-fish-handle-file-attributes.
9538 * net/trampver.el: Update release number.
9540 2010-04-10 Glenn Morris <rgm@gnu.org>
9542 * progmodes/compile.el (compilation-save-buffers-predicate):
9543 Add missing :version tag.
9545 2010-04-09 Sam Steingold <sds@gnu.org>
9547 * progmodes/compile.el (compilation-save-buffers-predicate):
9548 Remove the "autoload" cookie.
9550 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9551 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9552 and `bug-reference-prog-mode' can be used in hooks directly.
9554 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9556 Add --author support to git commit.
9557 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9558 (vc-git-log-edit-mode): New minor mode.
9559 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9562 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9564 * vc-hooks.el, vc-git.el: Improve documentation comments.
9566 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9568 Fix some of the problems in defsubst* (bug#5728).
9569 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9570 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9572 2010-04-07 Sam Steingold <sds@gnu.org>
9574 * progmodes/compile.el (compilation-save-buffers-predicate):
9575 New custom variable.
9576 (compile, recompile): Pass it to `save-some-buffers'.
9578 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9580 * wid-edit.el (widget-choose): Move cursor to the second line of
9581 the buffer (Bug#5695).
9583 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9585 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9586 * vc.el (vc-print-log-setup-buttons): New function split out from
9587 vc-print-log-internal.
9588 (vc-log-internal-common): New function, a parametrized version of
9589 vc-print-log-internal.
9590 (vc-print-log-internal): Just call vc-log-internal-common with the
9592 (vc-incoming-outgoing-internal):
9593 (vc-log-incoming, vc-log-outgoing): New functions.
9594 (vc-log-view-type): New permanent local variable.
9596 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9598 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9599 of the dynamic bound vc-short-log.
9600 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9602 * vc-git.el (vc-git-log-outgoing): New function.
9603 (vc-git-log-view-mode): Use vc-log-view-type instead
9604 of the dynamic bound vc-short-log.
9606 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9607 of the dynamic bound vc-short-log. Highlight the tag.
9608 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9609 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9610 (vc-hg-incoming-mode): Remove.
9611 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9613 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9615 Fix default-directory for vc-root-diff.
9616 * vc.el (vc-root-diff): Bind default-directory to the root
9617 directory for the diff command.
9619 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9621 * progmodes/verilog-mode.el (verilog-forward-sexp):
9622 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9623 word keywords, suggested by Steve Pearlmutter.
9624 (verilog-pretty-declarations): Support lineup of declarations in
9626 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9627 fix bug for /* / comments.
9628 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9629 Speed up and simplfy as this is never called with a bound.
9630 (verilog-pretty-declarations): Enhance to line up declarations
9631 inside a parameter list, suggested by Alan Morgan.
9632 (verilog-pretty-expr): Tune assignment regular expression match
9633 string for corner cases; also use markers instead of character
9634 number as indent changes the later.
9636 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9638 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9640 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9641 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9642 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9643 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9646 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9647 1800-2009 keywords, including "global.".
9649 2010-04-06 John Wiegley <jwiegley@gmail.com>
9651 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9652 appearing in buffer list (if a live buffer name matched a recentf
9653 file basename). Should use uniquify to offer a real solution.
9655 2010-04-06 John Wiegley <jwiegley@gmail.com>
9657 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9658 comment to code, and add a :version tag.
9659 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9661 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9663 Enable recentf-mode if using virtual buffers.
9664 * ido.el (recentf-list): Declare for byte-compiler.
9665 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9666 (ido-make-buffer-list): Simplify.
9667 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9669 2010-04-05 Juri Linkov <juri@jurta.org>
9671 Scrolling commands which scroll a line instead of full screen.
9672 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9674 * simple.el (scroll-up-line, scroll-down-line): New commands.
9675 Put property isearch-scroll=t on them.
9677 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9680 2010-04-05 Juri Linkov <juri@jurta.org>
9682 Scrolling commands which do not signal errors at top/bottom.
9683 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9685 * simple.el (scroll-up-command, scroll-down-command): New commands.
9686 Put property isearch-scroll=t on them.
9688 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9689 `scroll-down-command' and [next] from `scroll-up' to
9690 `scroll-up-command'.
9692 * emulation/cua-base.el: Put property CUA=move on
9693 `scroll-up-command' and `scroll-down-command'.
9694 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9695 and `scroll-down-command' to `cua-scroll-down'.
9697 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9699 * help.el (describe-mode): Return nil.
9701 2010-04-04 John Wiegley <jwiegley@gmail.com>
9703 * ido.el (ido-use-virtual-buffers): New variable to indicate
9704 whether "virtual buffer" support is enabled for IDO.
9705 (ido-virtual): Face used to indicate virtual buffers in the list.
9706 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9707 exists, but a virtual buffer of that name does (which would be why
9708 it was in the list), recreate the buffer by reopening the file.
9709 (ido-make-buffer-list): If virtual buffers are being used, call
9710 `ido-add-virtual-buffers-to-list' before the make list hook.
9711 (ido-virtual-buffers): New variable which contains a copy of the
9712 current contents of the `recentf-list', albeit pared down for the
9713 sake of speed, and with proper faces applied.
9714 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9715 create a list of "virtual buffers" to present to the user in
9716 addition to the currently open set. Note that this logic could
9717 get rather slow if that list is too large. With the default
9718 `recentf-max-saved-items' of 200, there is little speed penalty.
9720 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * font-lock.el: Require CL when compiling.
9723 (font-lock-turn-on-thing-lock): Use `case'.
9725 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9727 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9730 2010-04-02 Juri Linkov <juri@jurta.org>
9732 * ehelp.el (electric-help-orig-major-mode):
9733 New buffer-local variable.
9734 (electric-help-mode): Set it to original major-mode. Doc fix.
9735 (with-electric-help): Use `electric-help-orig-major-mode' instead
9736 of (default-value 'major-mode). Doc fix.
9737 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9739 2010-04-02 Sam Steingold <sds@gnu.org>
9741 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9742 `vc-hg-command' with a list of flags.
9744 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9745 Also accept "patch" and "RFE".
9746 (bug-reference-fontify): `bug-reference-url-format' can also be a
9747 function to be able to handle the bug kind.
9748 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9750 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9752 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9753 value to fboundp, it may not be a symbol.
9755 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9757 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9759 2010-03-31 Juri Linkov <juri@jurta.org>
9761 * simple.el (next-line, previous-line): Re-throw a signal
9762 with `signal' instead of using `ding'.
9763 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9765 2010-03-31 Juri Linkov <juri@jurta.org>
9767 * simple.el (keyboard-escape-quit): Raise deselecting the active
9768 region higher than exiting the minibuffer.
9769 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9771 2010-03-31 Juri Linkov <juri@jurta.org>
9773 * image.el (image-animated-p): Use `image-metadata' instead of
9774 `image-extension-data'. Get GIF extenstion data from metadata
9775 property `extension-data'.
9777 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * simple.el (append-to-buffer): Simplify.
9781 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9783 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9784 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9786 2010-03-31 Kenichi Handa <handa@m17n.org>
9788 * language/sinhala.el (composition-function-table): Fix regexp for
9789 the new Unicode specification.
9791 * language/indian.el (devanagari-composable-pattern)
9792 (tamil-composable-pattern, kannada-composable-pattern)
9793 (malayalam-composable-pattern): Adjust for the new Unicode
9795 (bengali-composable-pattern, gurmukhi-composable-pattern)
9796 (gujarati-composable-pattern, oriya-composable-pattern)
9797 (telugu-composable-pattern): New variables to cope with the new
9798 Unicode specification. Use them in composition-function-table.
9800 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9802 Make tmm-menubar work for the Buffers menu again (bug#5726).
9803 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9804 vectors rather than cons cells, as used in menu-bar-update-buffers.
9806 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9808 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9809 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9810 electric punctuation for "{}();,:" (Bug#5586).
9812 * mail/sendmail.el (mail-default-directory): Doc fix.
9814 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9816 * mail/sendmail.el (mail-default-directory): Doc fix.
9818 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9820 * subr.el (version-regexp-alist, version-to-list)
9821 (version-list-<, version-list-=, version-list-<=)
9822 (version-list-not-zero, version<, version<=, version=): Doc fix.
9825 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9827 * vc.el (vc-root-diff): Doc fix.
9829 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9831 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9833 * simple.el (append-to-buffer): Fix last change.
9835 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9837 * simple.el (append-to-buffer): Ensure that point is preserved if
9838 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9841 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * files.el (auto-mode-case-fold): Change default to t.
9845 2010-03-30 Juri Linkov <juri@jurta.org>
9847 * dired-x.el (dired-omit-mode): Doc fix.
9849 2010-03-30 Juri Linkov <juri@jurta.org>
9851 * replace.el (occur-accumulate-lines): Move occur-engine related
9852 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9853 to be located after `occur-engine'.
9855 2010-03-30 Juri Linkov <juri@jurta.org>
9857 Make occur handle multi-line matches cleanly with context.
9858 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9860 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9861 (occur-engine): Add local variables `ret', `prev-after-lines',
9862 `prev-lines'. Use more arguments for `occur-context-lines'.
9863 Set first elem of its returned list to `data', and the second elem
9864 to `prev-after-lines'. Don't print the separator line.
9865 In the end, print remaining context after-lines.
9866 (occur-context-lines): Add new arguments `begpt', `endpt',
9867 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9868 after-lines of the previous match with before-lines of the
9869 current match and not overlap them. Return a list with two
9870 values: the output line and the list of context after-lines.
9872 2010-03-30 Juri Linkov <juri@jurta.org>
9874 * replace.el (occur-accumulate-lines): Fix a bug where the first
9875 context line at the beginning of the buffer was missing.
9877 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9879 * files.el: Make bidi-display-reordering safe variable for boolean
9882 2010-03-29 Phil Hagelberg <phil@evri.com>
9883 Chong Yidong <cyd@stupidchicken.com>
9885 * subr.el: Extend progress reporters to perform "spinning".
9886 (progress-reporter-update, progress-reporter-do-update):
9887 Handle non-numeric value arguments.
9888 (progress-reporter--pulse-characters): New var.
9890 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9892 * progmodes/compile.el (compilation-start): Fix regexp detection
9893 of initial cd command (Bug#5771).
9895 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9897 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9899 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9901 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9902 * progmodes/gdb-mi.el: Restore.
9903 * progmodes/gdb-ui.el: Remove.
9904 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9906 2010-03-25 Glenn Morris <rgm@gnu.org>
9908 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9909 all dired buffers, even tramp ones. (Bug#5755)
9911 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9913 Add "union tags" in mpc.el.
9914 * mpc.el: Remove backward compatibility code.
9915 (mpc-browser-tags): Change default.
9916 (mpc--find-memoize-union-tags): New var.
9917 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9918 (mpc-cmd-find): Handle the case where the playlist does not exist.
9920 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9921 (mpc-cmd-add): Use mpc-cmd-flush.
9922 (mpc-tagbrowser-tag-name): New fun.
9923 (mpc-tagbrowser-buf): Use it.
9924 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9926 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9929 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9930 Use replace-regexp-in-string.
9931 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9932 (makefile-imake-mode-syntax-table): Move init into defvar.
9933 (makefile-mode): Use define-derived-mode.
9935 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9936 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9937 not be present any more.
9939 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9941 * faces.el (set-face-attribute): Fix typo in docstring.
9942 (face-valid-attribute-values): Reflow docstring.
9944 2010-03-24 Glenn Morris <rgm@gnu.org>
9946 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9948 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9950 * indent.el (indent-for-tab-command): Doc fix.
9952 2010-03-24 Alan Mackenzie <acm@muc.de>
9954 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9955 Fix off-by-one error. Fixes bug #5747.
9957 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9959 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9960 (image-dired-read-comment): Doc fix.
9962 * json.el (json-object-type, json-array-type, json-key-type)
9963 (json-false, json-null, json-read-number):
9964 * minibuffer.el (completion-in-region-functions):
9965 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9966 (cal-tex-cursor-week):
9967 * emacs-lisp/trace.el (trace-function):
9968 * eshell/em-basic.el (eshell/printnl):
9969 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9970 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9971 * obsolete/levents.el (allocate-event, event-key, event-object)
9972 (event-point, event-process, event-timestamp, event-to-character)
9973 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9974 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9975 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9976 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9977 (reftex-highlight-selection): Fix typos in docstrings.
9979 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9981 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9983 2010-03-24 Glenn Morris <rgm@gnu.org>
9985 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9986 2008-02-13 without comment; mark it obsolete.
9987 (rmail-highlight-headers): Use rmail-highlight-face once more.
9989 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9991 * woman.el (woman2-process-escapes): Only consume the newline if
9992 the filler character is on a line by itself (Bug#5729).
9994 2010-03-24 Kenichi Handa <handa@m17n.org>
9996 * language/indian.el (devanagari-composable-pattern): Add more
9999 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10001 * net/trampver.el: Update release number.
10003 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10005 * net/tramp.el (tramp-find-executable):
10006 Use `tramp-get-connection-buffer'. Make the regexp for checking
10007 output of "wc -l" more robust.
10008 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10009 (tramp-open-connection-setup-interactive-shell): Remove workaround
10010 for OpenSolaris bug, it is not needed anymore.
10012 2010-03-24 Glenn Morris <rgm@gnu.org>
10014 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10016 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10018 * files.el (auto-mode-alist): Accept more verilog file patterns.
10020 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10022 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10024 2010-03-24 Glenn Morris <rgm@gnu.org>
10026 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10027 log-edit-before-checkin-process.
10029 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10031 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10033 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10034 (log-view-process-buffer, log-edit-extra-flags): Declare.
10036 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10038 2010-03-23 Sam Steingold <sds@gnu.org>
10040 Fix bug#5620: recalculate all markers on compilation buffer
10041 modifications, not on file modifications.
10042 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10043 variable: the buffer modification time, for buffers not associated with
10045 (compilation-mode): Create it.
10046 (compilation-filter): Update it.
10047 (compilation-next-error-function): Use it instead of
10048 `visited-file-modtime' for timestamp.
10050 2010-03-23 Juri Linkov <juri@jurta.org>
10052 Implement Occur multi-line matches.
10053 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10055 * replace.el (occur): Doc fix.
10056 (occur-engine): Set `begpt' to the beginning of the first line.
10057 Set `endpt' to the end of the last match line. At first, count
10058 line numbers between `origpt' and `begpt'. Split out code from
10059 `out-line' variable to new let-bindings `match-prefix' and
10060 `match-str'. In `out-line' add non-numeric prefix to all
10061 non-first lines of multi-line matches. Finally, count lines
10062 between `begpt' and `endpt' and add to `lines'.
10064 2010-03-23 Juri Linkov <juri@jurta.org>
10066 * replace.el (occur-accumulate-lines, occur-engine):
10067 Use `occur-engine-line' instead of duplicate code.
10068 (occur-engine-line): New function created from duplicate code
10069 in `occur-accumulate-lines' and `occur-engine'.
10071 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10072 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10074 2010-03-23 Juri Linkov <juri@jurta.org>
10076 * finder.el: Remove TODO tasks.
10078 * info.el (Info-finder-find-node): Add node "all"
10079 with all package info. Handle a list of multiple keywords
10080 separated by comma.
10081 (info-finder): In interactive use with a prefix argument,
10082 use `completing-read-multiple' to read a list of keywords
10083 separated by comma.
10085 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10087 Add a new completion style `substring'.
10088 * minibuffer.el (completion-basic--pattern): New function.
10089 (completion-basic-try-completion, completion-basic-all-completions):
10091 (completion-substring--all-completions)
10092 (completion-substring-try-completion)
10093 (completion-substring-all-completions): New functions.
10094 (completion-styles-alist): New style `substring'.
10096 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10098 Get rid of .elc files after removal of the corresponding .el.
10099 * Makefile.in (compile-clean): New target.
10100 (compile-main): Use it.
10102 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10104 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10105 don't do make there. When compiling with separate object dir, there
10106 is no Makefile there.
10108 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10110 Get rid of the ELCFILES abomination, again.
10111 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10112 (all, compile): Don't call compile-last.
10113 (compile-main): Build the "elcfiles" list dynamically.
10114 (compile-targets): New (internal) target.
10116 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10118 * Makefile.in (top_srcdir): Define.
10119 (abs_top_builddir): Define.
10120 (srcdir): Don't append `/..'.
10121 (EMACS): Use ${abs_top_builddir}.
10122 (all, compile, compile-always, compile-last): Don't set emacswd.
10123 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10125 (lisp): Use $(srcdir) instead of @srcdir@.
10127 2010-03-21 Juri Linkov <juri@jurta.org>
10129 Fix message of multi-line occur regexps and multi-buffer header lines.
10130 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10132 * replace.el (occur-1): Don't display regexp if it is longer
10133 than window-width. Use `query-replace-descr' to display regexp.
10134 (occur-engine): Don't display regexp in the buffer header for
10135 multi-buffer occur. Display a separate header line with total
10136 match count and regexp for multi-buffer occur.
10137 Use `query-replace-descr' to display regexp.
10139 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10141 * net/secrets.el: Fix parenthesis.
10142 (secrets-enabled): Fix parenthesis.
10144 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10146 Use more relative file and directory names.
10147 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10148 (setwins, setwins_almost, setwins_for_subdirs):
10149 Don't `cd'; output relative names.
10150 (all, compile, compile-always, compile-last): Set emacswd.
10151 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10152 Just cd to the lisp source dir so we can use relative file names.
10154 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10156 2010-03-20 Glenn Morris <rgm@gnu.org>
10158 * textmodes/rst.el: Use faces for font-lock customization, and make the
10159 old -face variables obsolete.
10160 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10161 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10162 (rst-block-face, rst-external-face, rst-definition-face)
10163 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10164 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10166 (rst-font-lock-keywords-function): Update for above changes.
10168 2010-03-20 Juri Linkov <juri@jurta.org>
10171 * obsolete/s-region.el: Move to obsolete.
10173 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10175 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10177 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10179 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10181 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10183 Add special markup processing for commit logs.
10184 * log-edit.el (log-edit-extra-flags): New variable.
10185 (log-edit): Add new argument MODE. Use that mode when non-nil
10186 instead of the log-view-mode.
10187 (log-view-process-buffer): New function.
10189 * vc.el: Document that the checkin method takes optional
10190 arguments. Document new backend specific method: log-view-mode.
10191 (vc-default-log-edit-mode): New function.
10192 (vc-checkin): Use a backend specific log-view-mode.
10193 Pass extra arguments to the checkin method.
10194 (vc-modify-change-comment): Pass a dummy extra argument.
10196 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10198 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10199 (vc-finish-logentry): Process the log buffer before passing it
10200 down. Pass log-edit-extra-flags.
10202 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10204 (log-edit-extra-flags, log-edit-before-checkin-process):
10207 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10209 (log-edit-extra-flags, log-edit-before-checkin-process):
10211 (vc-hg-log-edit-mode): New derived mode.
10213 * vc-arch.el (vc-arch-checkin):
10214 * vc-cvs.el (vc-cvs-checkin):
10215 * vc-git.el (vc-git-checkin):
10216 * vc-mtn.el (vc-mtn-checkin):
10217 * vc-rcs.el (vc-rcs-checkin):
10218 * vc-sccs.el (vc-sccs-checkin):
10219 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10221 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10223 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10226 2010-03-19 Glenn Morris <rgm@gnu.org>
10228 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10230 2010-03-18 Glenn Morris <rgm@gnu.org>
10232 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10234 * replace.el (query-replace-history): Give it a doc string.
10235 (map-query-replace-regexp): Use query-replace-from-history-variable
10236 and query-replace-to-history-variable.
10238 * mail/hashcash.el (declare-function): Remove duplicate definition.
10240 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10241 Make it an obsolete alias for report-emacs-bug-address.
10242 (message-strip-special-text-properties): Declare.
10243 (report-emacs-bug): Remove test for a pretest bug address.
10244 Combine message-mode-specific code.
10246 * mail/supercite.el: Don't require sendmail.
10247 (mh-in-header-p): Declare rather than using with-no-warnings.
10248 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10249 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10251 * calendar/cal-french.el: Convert to utf-8.
10253 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10256 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10258 * net/secrets.el (secrets-enabled): New variable. Use it instead
10261 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10263 * net/secrets.el (top): Register the D-Bus signals only when the
10264 service "org.freedesktop.secrets" can be pinged.
10265 Provide subfeature `enabled'.
10267 2010-03-14 Juri Linkov <juri@jurta.org>
10269 Add finder unknown keywords.
10271 * finder.el (finder-unknown-keywords): New function.
10273 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10274 to create a Finder node with unknown keywords.
10276 2010-03-14 Juri Linkov <juri@jurta.org>
10278 * finder.el (finder-compile-keywords): Replace `princ' with
10279 `prin1' on a list of symbols interned from keyword strings.
10281 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10282 a comma, then split keywords using a comma and optional whitespace.
10283 Otherwise, split by whitespace.
10291 * progmodes/mixal-mode.el: Fix keywords.
10293 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10295 * Makefile.in (ELCFILES): Add net/secrets.elc.
10297 * net/secrets.el: New file.
10299 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10301 * facemenu.el (list-colors-display, list-colors-print): New arg
10302 callback. Use it to allow selecting colors.
10304 * wid-edit.el (widget-image-insert): Insert image prop even if the
10305 current display is non-graphic.
10306 (widget-field-value-set): New fun.
10307 (editable-field): Use it.
10308 (widget-field-value-get): Clean up unused var.
10309 (widget-color-value-create, widget-color--choose-action):
10310 New funs. Allow using list-colors-display to choose color.
10312 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10314 * cus-edit.el: Resort topmost custom groups.
10315 (custom-buffer-sort-alphabetically): Default to t.
10316 (customize-apropos): Use apropos-parse-pattern.
10317 (custom-search-field): New var.
10318 (custom-buffer-create-internal): Add custom-apropos search field.
10319 (custom-add-parent-links): Don't display parent doc.
10320 (custom-group-value-create): Don't sort top-level custom group.
10321 (custom-magic-value-create): Show visibility button before option name.
10323 (custom-variable-state): New fun, from custom-variable-state-set.
10324 (custom-variable-state-set): Use it.
10325 (custom-group-value-create): Hide options with standard values
10326 using the :hidden-states property. Use progress reporter.
10328 (custom-show): Simplify.
10329 (custom-visibility): Disable images by default.
10330 (custom-variable): New property :hidden-states.
10331 (custom-variable-value-create): Enable images for
10332 custom-visibility widgets. Use :hidden-states property to
10333 determine initial visibility.
10335 * wid-edit.el (widget-image-find): Give images center ascent.
10336 (visibility): Add :on-image and :off-image properties.
10337 (widget-visibility-value-create): Use them.
10339 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10341 * cus-edit.el (processes): Remove from development group.
10342 (oop, hypermedia): Delete group.
10343 (comm): Promote to top-level group.
10345 * net/browse-url.el (browse-url):
10346 * net/xesam.el (xesam):
10347 * net/tramp.el (tramp):
10348 * net/goto-addr.el (goto-address):
10349 * net/ange-ftp.el (ange-ftp): Put in comm group.
10351 * view.el (view): Remove from editing group.
10353 * uniquify.el (uniquify): Put in files group.
10355 * net/browse-url.el (browse-url):
10356 * ps-print.el (postscript): Put in external group.
10358 * cus-edit.el (outlines):
10359 * textmodes/text-mode.el (text-mode-hook):
10360 * textmodes/table.el (table):
10361 * textmodes/picture.el (picture):
10362 * outline.el (outlines): Put in wp group.
10364 * nxml/nxml-mode.el (nxml): Remove from wp group.
10366 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10368 * mail/metamail.el (metamail): Remove from hypermedia group.
10370 * cus-edit.el (abbrev):
10371 * whitespace.el (whitespace):
10372 * vcursor.el (vcursor):
10373 * reveal.el (reveal):
10374 * hl-line.el (hl-line): Put in convenience group.
10376 * epg-config.el (epg): Put in data group.
10378 * emulation/pc-select.el (pc-select): Put in emulations group.
10380 * calculator.el (calculator): Put in applications group.
10382 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10384 Add .dir-locals.el support for file-less buffers.
10385 * files.el (hack-local-variables): Split out code to apply local
10386 variable settings ...
10387 (hack-local-variables-apply): ... here. New function.
10388 (hack-dir-local-variables): Use the default directory for when the
10389 buffer does not have an associated file.
10390 (hack-dir-local-variables-non-file-buffer): New function.
10391 * diff-mode.el (diff-mode):
10392 * vc-annotate.el (vc-annotate-mode):
10393 * vc-dir.el (vc-dir-mode):
10394 * log-edit.el (log-edit-mode):
10395 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10397 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10399 Add support for shelving snapshots and for showing shelves.
10400 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10401 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10403 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10404 (vc-bzr-extra-menu-map): Map them.
10406 2010-03-11 Glenn Morris <rgm@gnu.org>
10408 * cus-edit.el (customize-changed-options-previous-release):
10411 * image.el (image-animate-max-time): Fix :version tag.
10413 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10417 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10419 * vc-git.el (vc-git-revision-table): Include remote branches.
10421 2010-03-10 Kim F. Storm <storm@cua.dk>
10423 Animated image API.
10424 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10426 * image.el (image-animate-max-time): New defcustom.
10427 (image-animated-types): New defconst.
10428 (create-animated-image, image-animate-timer)
10429 (image-animate-start, image-animate-stop, image-animate-timeout)
10430 (image-animated-p): New functions.
10432 * image-mode.el (image-toggle-display-image):
10433 Replace `create-image' with `create-animated-image'.
10435 2010-03-09 Miles Bader <miles@gnu.org>
10437 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10438 instead of "format:"; this ensures that the output is
10439 newline-terminated.
10441 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10443 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10444 that all errors are caught, and that the return value is always a
10447 2010-03-08 Kenichi Handa <handa@m17n.org>
10449 * language/misc-lang.el (windows-1256): New coding system.
10450 (cp1256): New alias of windows-1256 (bug#5690).
10452 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10454 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10455 call to rfc822-bad-address. (Bug#5692)
10457 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10459 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10460 Use vc-git-root as default directory for revision path (Bug#5657).
10462 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10464 * calculator.el (calculator): Don't bind split-window-keep-point
10467 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * vc-git.el: Re-flow to fit into 80 columns.
10470 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10471 Remove spurious `quote' element in each case alternative.
10472 (vc-git-show-log-entry): Use prog1.
10473 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10475 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10479 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10481 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10482 definition, not the name (Bug#5481).
10484 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10486 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10487 argument with a local variable. (Bug#5670)
10489 2010-03-02 Juri Linkov <juri@jurta.org>
10491 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10493 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10495 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10496 error when FILENAME and NEWNAME are existing remote directories.
10498 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10499 parameter DIR-FLAG.
10501 2010-03-02 Glenn Morris <rgm@gnu.org>
10503 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10504 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10506 2010-03-01 Kenichi Handa <handa@m17n.org>
10508 * language/burmese.el (burmese-composable-pattern): Rename from
10509 myanmar-composable-pattern.
10511 * international/characters.el (script-list):
10512 * international/fontset.el (script-representative-chars):
10513 Change myanmar to burmese.
10514 (otf-script-alist): Likewise.
10515 (setup-default-fontset): Likewise. Re-fix :otf spec.
10517 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10519 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10521 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10523 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10525 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10527 * net/tramp.el (tramp-handle-write-region): START can be a string.
10528 Take care in the checks. Reported by Dan Davison
10529 <davison@stats.ox.ac.uk>.
10531 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10533 * net/dbus.el (dbus-introspect, dbus-get-property)
10534 (dbus-set-property, dbus-get-all-properties):
10535 Use `dbus-call-method' when noninteractive. (Bug#5645)
10537 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10539 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10540 * emacs-lisp/elint.el (elint-add-required-env):
10541 * calendar/icalendar.el (icalendar--add-diary-entry):
10542 * calc/calcalg2.el (math-tracing-integral):
10543 * files.el (recover-session-finish): Use with-current-buffer
10544 instead of save-excursion.
10546 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10548 Fix in-buffer completion when after-change-functions modify the buffer.
10549 * minibuffer.el (completion--replace): New function.
10550 (completion--do-completion): Use it and use relative movement.
10552 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10554 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10556 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10558 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10559 Allow the characters _<> in the stack entry (Bug#5653).
10561 2010-02-26 Kenichi Handa <handa@m17n.org>
10563 * language/burmese.el: Fix entries in composition-function-table.
10564 (myanmar-composable-pattern): New variable.
10566 * international/fontset.el (setup-default-fontset): Add an entry
10569 * international/characters.el (script-list): Add Myanmar
10572 2010-02-26 Glenn Morris <rgm@gnu.org>
10574 * custom.el (custom-initialize-delay): Doc fix.
10576 * mail/sendmail.el (send-mail-function): Autoload the call
10577 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10579 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10581 * files.el (hack-local-variables-filter): For eval forms, also
10582 check safe-local-variable-p (Bug#5636).
10584 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10586 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10587 setting the modes by `ignore-errors'. It might fail, for example
10588 if the file is not owned by the user but the group.
10589 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10591 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10593 * files.el (directory-listing-before-filename-regexp):
10594 Use stricter matching for iso-style dates, to avoid false matches with
10595 date-like filenames (Bug#5597).
10597 * htmlfontify.el (htmlfontify): Doc fix.
10599 * eshell/eshell.el (eshell): Doc fix.
10601 * startup.el (fancy-about-screen): In mode-line, apply
10602 mode-line-buffer-id face only to the buffer name (Bug#5613).
10604 2010-02-20 Kevin Ryde <user42@zip.com.au>
10606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10607 In `watcom' anchor regexp to start of line, to avoid slowness
10610 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10612 * subr.el (remove-yank-excluded-properties): Explain in a comment
10613 why `category' property is removed.
10615 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10617 * isearch.el (isearch-update-post-hook, isearch-update):
10618 Revert 2010-02-17 change.
10620 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10622 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10623 (icalendar--convert-weekly-to-ical)
10624 (icalendar--convert-yearly-to-ical)
10625 (icalendar--convert-block-to-ical)
10626 (icalendar--convert-cyclic-to-ical)
10627 (icalendar--convert-anniversary-to-ical): Take care of time
10628 specifications where hour has 1-digit only (Bug#5549).
10630 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10632 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10633 of disassemble output in GDB 7.1.
10635 2010-02-19 Glenn Morris <rgm@gnu.org>
10637 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10638 property. (Bug#5593)
10640 2010-02-18 Sam Steingold <sds@gnu.org>
10642 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10644 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10646 Use abbreviated file names in bookmarks (bug#5591).
10647 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10648 calls to expand-file-name.
10649 (bookmark-relocate): Use abbreviated file names in bookmarks.
10650 (bookmark-load): Use abbreviated file names in messages.
10652 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10654 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10655 expand "." and "..". Reported by Thierry Volpiatto
10656 <thierry.volpiatto@gmail.com>.
10658 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10660 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10661 permissions of the temporary file to "0600". In case the remote
10662 file has no read permissions for the owner, there might be
10663 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10665 22010-02-18 Glenn Morris <rgm@gnu.org>
10667 * emacs-lisp/authors.el (authors-renamed-files-alist):
10668 Add entries for INSTALL.CVS.
10670 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10672 * vc-bzr.el: Fix typo in Known Bugs section.
10674 * isearch.el (isearch-update-post-hook): New hook.
10675 (isearch-update): Use the new hook.
10677 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10679 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10680 Fix errors in copying directories.
10681 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10682 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10683 (tramp-handle-delete-file)
10684 (tramp-handle-dired-recursive-delete-directory)
10685 (tramp-handle-write-region): Flush also the cache for the upper
10688 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10690 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10692 * cus-edit.el (hardware): Doc fix.
10694 * man.el (man): Add to external custom group.
10696 * delim-col.el (columns): Move to wp custom group.
10698 * doc-view.el (doc-view): Add to data custom group.
10700 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10702 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10703 by ispell-parse-output (Bug#5575).
10705 2010-02-16 Kenichi Handa <handa@m17n.org>
10707 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10708 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10709 (skkdic-convert): Use `euc-japan' coding system for writing.
10711 2010-02-16 Glenn Morris <rgm@gnu.org>
10713 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10714 tex-main-file before using it. (Bug#5562)
10716 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10719 warnings, since it is annoying for the user to see them each time he
10722 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10724 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10726 instead of PROC for caching "first-password-request". Otherwise,
10727 new processes would not profit from passwords already entered.
10729 * net/tramp-cache.el (tramp-dump-connection-properties):
10730 Don't save "first-password-request" property.
10732 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10734 * outline.el (outline-head-from-level):
10735 * simple.el (with-wrapper-hook):
10736 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10737 (elint-defun, elint-buffer-env, elint-top-form-logged)
10738 (elint-unbound-variable):
10739 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10740 Fix typos in docstrings.
10742 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10744 * files.el (insert-directory): When WILDCARD-REGEXP and
10745 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10746 whole directory. (Bug#5551)
10748 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10749 dired's alignment sanity. (Bug#5516)
10751 2010-02-14 Juri Linkov <juri@jurta.org>
10753 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10754 Remove remaining ^H with their preceding chars. (Bug#5566)
10756 2010-02-13 Glenn Morris <rgm@gnu.org>
10758 * simple.el (transpose-subr): Give it a doc-string.
10760 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10763 2010-02-12 Juri Linkov <juri@jurta.org>
10765 * arc-mode.el (archive-unique-fname): Make directories for nested
10766 archives. (Bug#5540)
10768 2010-02-12 Juri Linkov <juri@jurta.org>
10770 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10772 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10774 * subr.el (copy-overlay): Handle deleted overlays.
10776 * man.el (Man-completion-table): Don't signal an error if we can't run
10777 manual-program (bug#4056).
10779 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10781 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10783 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10785 * info.el (Info-bookmark-jump): Simplify.
10787 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10788 (bookmark-default-handler): Accept new bookmark field `buffer'.
10790 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10792 * iswitchb.el (iswitchb-completions): Revert last change.
10794 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10796 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10797 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10798 This prevents file names like "~/" being listed literally.
10800 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10802 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10803 Remove dead code. (Bug#5546)
10805 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10807 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10808 correctly (Bug#5548).
10810 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10812 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10813 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10815 2010-02-08 Kenichi Handa <handa@m17n.org>
10817 * international/mule-util.el (with-coding-priority): Add autoload
10818 cookie for putting `lisp-indent-function'.
10820 2010-02-07 Glenn Morris <rgm@gnu.org>
10822 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10823 Move F2003 named interfaces from keywords-2 to keywords-1, and
10824 use function-name-face rather than constant-face.
10825 Simplify "abstract interface" regexp.
10827 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10829 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10830 ID-FORMAT. Pass it to `file-attributes'.
10832 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10834 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10836 * faces.el (set-face-attribute): Allow calling
10837 internal-set-lisp-face-attribute with 'unspecified family and
10838 foundry argument (Bug#5536).
10840 2010-02-07 Glenn Morris <rgm@gnu.org>
10842 * progmodes/f90.el (f90-font-lock-keywords-2)
10843 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10844 Handle F2003 named interfaces.
10846 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10848 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10849 beg and end before calling c-get-state-before-change-functions.
10851 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10853 * vc-bzr.el (vc-bzr-dir-extra-headers):
10854 Disable the pending merges header.
10856 2010-02-05 Juri Linkov <juri@jurta.org>
10858 * doc-view.el (doc-view-mode):
10859 * image-mode.el (image-mode): Put property mode-class=special.
10862 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10864 * vc-svn.el (vc-svn-revision-table): New function.
10866 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10868 * net/ange-ftp.el (ange-ftp-insert-directory):
10869 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10870 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10871 Handle also directories. (Bug#5478)
10873 2010-02-05 Glenn Morris <rgm@gnu.org>
10875 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10877 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10879 * startup.el (command-line-1): Convert options beginning with a
10880 single dash as well (Bug#5519).
10882 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10884 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10885 * minibuffer.el (completion-initials-expand): Only check the presence
10886 of delims *within* the boundaries, since otherwise the / delim is
10887 always found for files.
10889 Fix up various corner case problems.
10890 * doc-view.el (doc-view-last-page-number): New function.
10891 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10892 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10893 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10894 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10895 (doc-view-convert-current-doc): Don't create the resolution.el file
10897 (doc-view-pdf/ps->png): Do it here instead.
10898 (doc-view-already-converted-p): Check that resolution.el is present.
10899 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10900 windows that are not yet showing images.
10902 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10904 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10905 `dired-uncache' for every elemnt which is an absolute file name.
10907 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10908 directory, handle its directory component.
10909 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10910 function is called permanently and creates noise, otherwise.
10912 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10913 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10914 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10916 2010-02-04 David Burger <dburger@google.com> (tiny change)
10918 * macros.el (apply-macro-to-region-lines):
10919 Minor simplification. (Bug#5485)
10921 2010-02-04 Glenn Morris <rgm@gnu.org>
10923 * mail/rmail.el (rmail-show-message-1): Handle malformed
10924 quoted-printable text. (Bug#5441)
10926 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10928 * simple.el (visual-line-mode): Capitalize lighter.
10930 2010-02-03 John Wiegley <jwiegley@gmail.com>
10932 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10933 list of files considered for "virtual buffer" completions.
10935 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10937 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10938 also in case of (and (not full) (not wildcard)). This is needed
10939 when dired is called with a list of files, which are not in
10940 `default-directory'. (Bug#5478)
10942 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10946 2010-02-02 Juri Linkov <juri@jurta.org>
10948 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10949 from unidiff to allow function-line after @@.
10951 2010-02-02 Juri Linkov <juri@jurta.org>
10953 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10954 '(RCS SCCS) with inverted condition.
10956 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10958 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10961 2010-02-01 Juri Linkov <juri@jurta.org>
10963 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10964 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10965 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10966 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10968 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10971 (doc-view-revert-buffer): New command.
10972 (doc-view-mode-map): Use it.
10974 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10976 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10977 pending merge is detected.
10979 2010-01-31 Juri Linkov <juri@jurta.org>
10981 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10982 beginning of interactive spec like all other grep commands do.
10983 Put "all" in front of "gz". (Bug#5260)
10985 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10987 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10989 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10991 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10992 regexp is incorrect (Bug#5476).
10994 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10996 * net/tramp.el (tramp-handle-insert-directory): Handle also
10997 symlinks, when FILENAME is not in `default-directory'.
10999 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11001 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11002 FILE is not in `default-directory'. (Bug#5478)
11004 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11005 of SWITCHES. Handle the case, FILENAME is not in
11006 `default-directory'. (Bug#5478)
11007 (tramp-register-file-name-handlers): Add safe-magic property.
11009 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11011 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11014 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11016 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11017 (flymake-master-make-header-init): Add other C++ filename masks.
11018 (flymake-find-possible-master-files)
11019 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11021 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11023 Fix some busybox annoyances.
11025 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11026 not responding." string.
11027 (tramp-open-connection-setup-interactive-shell): Dump stty
11028 settings. Enable "neveropen" arg for all `tramp-send-command'
11029 calls. Handle "=" in variable values properly.
11030 (tramp-find-inline-encoding): Raise an error, when no encoding is
11032 (tramp-wait-for-output): Check, whether PROC buffer is available.
11033 Remove spurious " ^H" sequences, sent by busybox.
11034 (tramp-get-ls-command): Suppress coloring, if possible.
11036 2010-01-28 Glenn Morris <rgm@gnu.org>
11038 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11040 * log-edit.el (log-edit-strip-single-file-name): Add missing
11041 :safe, :group, and :version tags.
11043 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11045 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11046 buffers. (Bug#5477)
11048 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11050 * files.el (delete-directory): Handle moving to trash without
11051 first doing recursion (Bug#5436).
11053 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11055 * vc-hooks.el (vc-path): Mark as obsolete.
11057 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11059 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11062 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11064 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11066 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11068 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11070 * vc-bzr.el (vc-bzr-revision-table): New function.
11072 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11074 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11075 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11077 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11079 Remove support for adding --signoff on commit.
11080 Future support will use an incompatible generic mechanism.
11081 * vc-git.el (vc-git-add-signoff): Remove variable.
11082 (vc-git-toggle-signoff): Remove function.
11083 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11085 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11086 Rename from xterm-set-background-mode. Return t if the background mode
11088 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11089 earlier, call it again in case the background mode has changed.
11091 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11093 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11096 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11098 * emacs-lisp/assoc.el (aelement): Doc fix.
11099 (aput, adelete, amake): Use lexical-let (Bug#5450).
11101 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11103 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11104 is the same as subprogram call, not declaration. (Bug#5435).
11106 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11108 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11109 (tramp-smb-maybe-open-connection): Use it.
11111 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11113 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11115 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11118 just because we see "encoding: 8bit".
11119 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11121 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11123 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11125 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11127 * jka-compr.el (jka-compr-load): If load-file is not in
11128 load-history, try its file-truename version. (bug#5447)
11130 2010-01-21 Alan Mackenzie <acm@muc.de>
11132 Fix a situation where deletion of a cpp construct throws an error.
11133 * progmodes/cc-engine.el (c-invalidate-state-cache):
11134 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11135 special cpp construct is still in the buffer.
11136 (c-parse-state): Record the special cpp with markers, not numbers.
11138 2010-01-21 Kenichi Handa <handa@m17n.org>
11140 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11141 process last-command-event, as it is now decoded first (Bug#5380).
11143 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11145 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11147 2010-01-20 Glenn Morris <rgm@gnu.org>
11149 * indent.el (tab-always-indent): Fix custom-type.
11151 2010-01-19 Alan Mackenzie <acm@muc.de>
11153 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11154 buffer throws "args out of range".
11155 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11156 playing the role of delimiter.
11158 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11160 * progmodes/ada-mode.el: Fix bug#5400.
11161 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11162 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11163 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11164 Improve comments in "is" portion. Handle null procedure declaration.
11165 (ada-move-to-end): Improve doc string.
11167 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11169 * ido.el (ido-cur-list): Initialize to nil.
11170 Remove obsolete information from commentary.
11171 (ido-choice-list): Initialize to nil.
11172 (ido-get-bufname): Reject minibuffers.
11173 (ido-make-buffer-list): If "default" is a nonexistent
11174 buffer, ignore it, as per the function's comment.
11175 (ido-kill-buffer-internal): New function.
11176 (ido-kill-buffer-at-head): Use it.
11177 (ido-visit-buffer): Likewise.
11179 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11181 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11183 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11185 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11186 Fix typos in chart titles.
11188 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11189 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11190 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11191 (describe-class, eieio-describe-generic, describe-generic):
11192 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11193 (eieio-speedbar-expand):
11194 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11195 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11196 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11197 (viper-del-backward-char-in-replace, viper-backward-indent)
11198 (viper-brac-function, viper-register-to-point, viper-submit-report):
11199 * net/tramp.el (tramp-remote-coding-commands):
11200 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11201 Fix typos in docstrings.
11203 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11205 * mail/sendmail.el (mail-yank-original): Set the mark if the
11206 specified function for yanking does not do it.
11208 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11210 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11212 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11213 resyncing a directory.
11215 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11217 * progmodes/ada-mode.el: Fix bug#1920.
11218 (ada-ident-re): Delete ., allow multibyte characters.
11219 (ada-goto-label-re): New; matches goto labels.
11220 (ada-block-label-re): New; matches block labels.
11221 (ada-label-re): New; matches both.
11222 (ada-named-block-re): Deleted; callers changed to use
11223 `ada-block-label-re' instead.
11224 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11225 Use `ada-block-label-re'.
11226 (ada-indent-on-previous-lines): Improve handling of goto labels.
11227 (ada-get-indent-block-start): Special-case block label.
11228 (ada-get-indent-label): Split into `ada-indent-block-label' and
11229 `ada-indent-goto-label'.
11230 (ada-goto-stmt-start, ada-goto-next-non-ws):
11231 Optionally ignore goto labels.
11232 (ada-goto-next-word): Simplify.
11233 (ada-indent-newline-indent-conditional): Insert newline before
11234 trying to fix indentation; doc fix.
11236 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11238 * calc/calc.el (calc-command-flags): Give it an initial value.
11240 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11242 * files.el (minibuffer-with-setup-hook):
11243 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11244 (artist-key-draw-continously, artist-key-do-continously-continously)
11245 (artist-key-set-point-continously, artist-mouse-draw-continously):
11246 Fix typos in docstrings.
11248 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11250 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11251 Never return t (Bug#3898).
11253 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11255 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11256 can parse the output of the external commands (Bug#5279).
11258 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11260 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11262 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11264 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11266 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11268 * startup.el (command-line): Remove unused --icon-type arg.
11269 Handle --display arg, passing it to command-line-1 (Bug#5392).
11271 2010-01-16 Mario Lang <mlang@delysid.org>
11273 * emacs-lisp/chart.el (chart-translate-namezone):
11274 * textmodes/artist.el (artist-compute-popup-menu-table):
11275 Remove duplicated words in doc-strings.
11277 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11279 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11280 to mairix-search to suppress threading (Bug#5342).
11282 2010-01-15 Kenichi Handa <handa@m17n.org>
11284 * international/mule-cmds.el (canonicalize-coding-system-name):
11285 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11287 2010-01-15 Glenn Morris <rgm@gnu.org>
11289 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11291 * wid-edit.el (widget-keymap): Doc fix.
11293 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11294 former seems to be more widely accepted by various svn versions.
11296 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11298 * find-cmd.el (find-constituents):
11299 * vc-arch.el (vc-arch-root):
11300 * window.el (window-body-height, pop-up-frames):
11301 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11302 * progmodes/ada-stmt.el (ada-if):
11303 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11304 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11305 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11306 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11308 * progmodes/flymake.el (flymake-post-syntax-check):
11309 Fix typo in error message.
11311 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11313 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11314 which is always a string. (Bug#5313)
11316 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11318 * progmodes/ada-xref.el (ada-default-prj-properties):
11319 Simplify previous change.
11321 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11323 * progmodes/ada-xref.el (ada-default-prj-properties):
11324 Default ada_project_path to $ADA_PROJECT_PATH.
11326 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11328 * progmodes/ada-mode.el (ada-create-keymap):
11329 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11331 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11333 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11334 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11335 (ada-get-current-indent, ada-imenu-generic-expression)
11336 (ada-which-function): Check for it.
11338 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11340 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11341 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11343 2010-01-14 Glenn Morris <rgm@gnu.org>
11345 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11347 2010-01-14 Kenichi Handa <handa@m17n.org>
11349 * composite.el (auto-composition-mode): Make it a buffer local
11350 variable (permanent-local).
11351 (auto-composition-function): Set the default value to
11352 auto-compose-chars.
11353 (auto-composition-mode): Make it a simple function, not a minor mode.
11354 (global-auto-composition-mode): Likewise.
11355 (turn-on-auto-composition-if-enabled): Delete it.
11357 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11359 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11361 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11363 * files.el (copy-directory): Compute target for recursive
11364 directories with identical names. (Bug#5343)
11366 2010-01-12 Glenn Morris <rgm@gnu.org>
11368 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11369 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11371 2010-01-11 Sam Steingold <sds@gnu.org>
11373 * imenu.el (imenu-default-create-index-function): Detect infinite
11374 loops caused by imenu-prev-index-position-function.
11376 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11378 * htmlfontify.el (htmlfontify-load-rgb-file)
11379 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11380 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11381 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11382 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11383 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11384 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11385 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11386 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11387 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11388 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11389 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11390 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11391 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11392 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11393 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11394 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11395 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11396 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11397 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11398 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11399 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11400 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11401 backslash-quoting from parentheses, etc.
11403 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11405 * progmodes/js.el: Autoload javascript-mode alias.
11407 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11409 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11410 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11411 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11412 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11413 Fix typos in docstrings.
11414 (ffap-url-regexp): Doc fix.
11415 (ffap-at-mouse): Fix typo in message.
11417 2010-01-11 Glenn Morris <rgm@gnu.org>
11419 * version.el (emacs-copyright): Set copyright year to 2010.
11421 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11423 * format.el (format-annotate-function): Only set
11424 write-region-post-annotation-function after running to-fn so as not to
11425 affect nested write-region calls (bug#5273).
11427 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11429 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11432 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11434 * man.el (Man-goto-section): Signal error if the section is not
11437 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11439 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11440 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11442 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11444 * progmodes/compile.el: Don't treat compile-command as safe if
11445 compilation-read-command might be nil (Bug#4218).
11447 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11449 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11452 2010-01-08 Kenichi Handa <handa@m17n.org>
11454 * international/fontset.el (build-default-fontset-data):
11455 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11457 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11459 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11460 to `create-file-buffer' as it expects, not just a buffer name.
11461 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11462 to help uniquify. (Bug#3224)
11464 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11466 * font-setting.el (font-setting-change-default-font): Use user-spec
11469 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11471 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11473 2010-01-05 Tom Tromey <tromey@redhat.com>
11475 * progmodes/python.el (python-font-lock-keywords):
11476 Handle qualified decorators (Bug#881).
11478 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11480 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11481 in a lightweight checkout.
11483 2010-01-05 Kenichi Handa <handa@m17n.org>
11485 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11487 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11489 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11491 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11493 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11494 checkouts. (Bug#618)
11495 (vc-bzr-log-view-mode): Also highlight the author.
11496 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11497 (vc-bzr-shelve-menu-map):
11498 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11499 (vc-bzr-shelve-apply): Make prompt more explicit.
11501 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11503 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11504 They are valid characters in URL paths (rfc3986), and at least
11505 Firefox does not understand the encoded version (Bug#3166).
11507 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11509 * progmodes/octave-mod.el (octave-end-keywords)
11510 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11511 Add "end" keyword (Bug#3061).
11512 (octave-end-as-array-index-p): New function.
11513 (calculate-octave-indent): Use it.
11515 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11517 * bookmark.el: Consistently put the text property on the bookmark name.
11518 (bookmark-bmenu-marks-width): Bump back to 2, to include
11520 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11521 property on the bookmark name, instead of not putting it at all.
11522 (bookmark-bmenu-list): Fix where we put the text property.
11524 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11526 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11527 for showing buffer modified state (as added in the previous change).
11529 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11531 * bookmark.el: Show modified state of bookmark buffer more accurately.
11532 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11533 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11534 (with-buffer-modified-unmodified): New macro.
11535 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11536 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11537 Use new macro to preserve the buffer modified state.
11539 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11541 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11542 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11543 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11544 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11545 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11546 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11547 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11549 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11551 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11552 Make the lines in the generated doc string shorter. (Bug#4668)
11554 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11556 * net/rcirc.el: Add follow-link binding (Bug#4738).
11558 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11560 * Makefile.in (bzr-update): Rename from cvs-update.
11561 (cvs-update): New target for backward compatibility.
11563 * makefile.w32-in (bzr-update): Rename from cvs-update.
11564 (cvs-update): New target for backward compatibility.
11566 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11568 * bookmark.el: Remove gratuitous gratitude.
11570 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11572 * bookmark.el (bookmark-bmenu-any-marks): New function.
11573 (bookmark-bmenu-save): Clear buffer modification if no marks.
11575 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11577 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11578 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11579 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11580 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11582 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11583 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11584 To: emacs-devel {_AT_} gnu.org
11585 Subject: bookmark.el bug report
11586 Date: Mon, 28 Dec 2009 14:19:16 +0800
11587 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11589 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11591 * bookmark.el: Improvements suggested by Drew Adams:
11592 (bookmark-bmenu-ensure-position): New name for
11593 `bookmark-bmenu-check-position'. Just ensure the position,
11594 don't return any meaningful value.
11595 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11598 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11600 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11601 (bookmark-yank-point, bookmark-bmenu-check-position):
11602 Fix typos in docstrings.
11603 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11604 (bookmark-name-from-full-record, bookmark-get-position)
11605 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11606 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11607 Remove useless quoting of parenthesis, etc. in docstrings.
11609 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11610 (ediff-append-custom-diff): Fix typo in error message.
11611 (ediff-meta-mark-equal-files): Fix typos in messages.
11613 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11615 * net/imap-hash.el (imap-hash-make): Doc fix.
11616 (imap-hash-test): Fix typo in error message; reflow docstring.
11617 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11618 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11619 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11620 Fix typos in docstrings.
11621 (imap-hash-open-connection): Fix typo in error message.
11623 * play/gomoku.el (gomoku): Fix typos in docstring.
11625 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11626 (gdb-jsonify-buffer): Fix typos in docstring.
11627 (gdb-goto-breakpoint): Fix typo in error message.
11628 ("Display Other Windows"): Fix typo in help message.
11629 (gdb-speedbar-expand-node): Fix typo in question.
11631 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11632 (idlwave-html-system-help-location, idlwave-html-help-location)
11633 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11634 (idlwave-help-browser-generic-args, idlwave-help-directory)
11635 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11636 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11637 (idlwave-online-help, idlwave-help-html-link)
11638 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11639 Fix typos in docstrings.
11640 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11642 (idlwave-help-assistant-start): Fix typo in error message.
11644 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11645 (octave-electric-space): Fix typos in docstrings.
11647 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11649 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11651 2010-01-01 Juri Linkov <juri@jurta.org>
11653 * comint.el (comint-input-ring-size): Make it a defcustom and
11654 increase the default to 500 (Bug#5148).
11656 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11658 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11659 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11660 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11662 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11664 Show working revision correctly for mercurial.
11665 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11666 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11668 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11670 Declare some functions for the byte-compiler.
11671 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11672 (speedbar-timer-fn, speedbar-change-expand-button-char)
11673 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11675 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11677 This changeset reverts GDB Graphical Interface to use annotations.
11678 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11680 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11682 Make vc-dir work on subdirectories of the bzr root.
11683 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11684 Return file names relative to it.
11685 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11686 relative directory to vc-bzr-after-dir-status.
11688 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11690 * font-lock.el (font-lock-refresh-defaults): New function, which
11691 can be used to let font-lock react to external changes in
11692 variables like font-lock-defaults and keywords.
11693 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11695 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11697 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11699 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11701 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11703 Supersede color.diff settings in git log (bug#5211).
11705 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11706 escape chars in its output when the user has color.diff set to `always'.
11707 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11709 2009-12-26 Kevin Ryde <user42@zip.com.au>
11711 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11712 node. Keep previous "Index" name to work with past coreutils too.
11714 * man.el (man): Revise docstring a bit to show -a and -l as
11715 examples. Add -k description since support for it has otherwise
11716 been a secret. (Further to bug#3717.)
11717 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11718 "no matches" rather than "Can't find manpage", as the latter reads
11719 like -k was interpreted as a page name, which is not so. (Bug#5431)
11721 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11723 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11724 switches. Check also for //SUBDIRED// line.
11726 2009-12-25 Kenichi Handa <handa@m17n.org>
11728 * language/indian.el (devanagari-composable-pattern): Fix to
11729 handle ZWNJ and ZWJ. Use it in composition-function-table for
11731 (malayalam-composable-pattern): Fix previous change.
11733 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11735 * ps-print.el (ps-face-attributes): It was not returning the
11736 attribute face for faces specified as string. Reported by harven
11737 <harven@free.fr>. (Bug#5254)
11738 (ps-print-version): New version 7.3.5.
11740 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11742 * calendar/icalendar.el (icalendar--convert-tz-offset):
11743 Fix timezone names.
11744 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11745 (icalendar--add-diary-entry): Remove the trailing blank that
11746 diary-make-entry inserts.
11748 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11750 Make `file-expand-wildcards' work for remote files.
11752 * files.el (file-expand-wildcards): In case of remote files, check
11753 only local file name part for wildcards. Provide feature 'files
11754 and subfeature 'remote-wildcards. (Bug#5198)
11756 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11757 if there is already an established connection.
11758 (tramp-advice-file-expand-wildcards): Remove it.
11760 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11761 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11762 Activate advice for older GNU Emacs versions. (Bug#5237)
11764 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11766 Some doc fixes (more needed).
11768 * find-cmd.el (find-constituents): Reflow docstring.
11769 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11770 (find-generic): Doc fix.
11772 2009-12-17 Juri Linkov <juri@jurta.org>
11774 Fix regression from 23.1 to allow multiple modes in Local Variables.
11776 * files.el (hack-local-variables-filter): While ignoring duplicates,
11777 don't take `mode' into account.
11778 (hack-local-variables-filter, hack-dir-local-variables):
11779 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11781 2009-12-17 Juri Linkov <juri@jurta.org>
11783 Make `dired-diff' safer. (Bug#5225)
11785 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11786 `current' or when `file' is a directory of the `current' file.
11788 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11790 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11791 unconditionally preloaded files.
11793 2009-12-16 Juri Linkov <juri@jurta.org>
11795 Revert to old 23.1 logic of using the file at the mark as default.
11796 * dired-aux.el (dired-diff): Use the file at the mark as default
11797 if it's not the same as the current file, and the target dir is
11798 the current dir or the mark is active. Add the current file
11799 as the arg of `dired-dwim-target-defaults'. Use the default file
11800 in the prompt. (Bug#5225)
11802 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11804 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11805 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11806 (tramp-check-for-regexp): Check also, when an echoing shell stops
11807 to echo sent commands.
11809 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11811 * Makefile.in: Revert last change (Bug#5191).
11813 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11815 * vc-hg.el (vc-hg-print-log): Fix argument order.
11816 (vc-hg-working-revision): Make sure the command is executed in a
11817 known environment so that we can parse the output. (Bug#4417)
11819 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11821 * progmodes/python.el (python-symbol-completions): Remove text
11822 properties from symbol string before calling python-send-receive.
11824 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11826 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11827 when there are values for both file and line. (Bug#5060)
11829 2009-12-14 Juri Linkov <juri@jurta.org>
11831 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11832 whitespace after the file name of the first line of unified format,
11833 because git-diff doesn't output whitespace and file modification time
11834 after the file name.
11836 2009-12-14 David Kastrup <dak@gnu.org>
11838 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11839 check if it already has the `display' property added by
11840 `Info-display-images-node', and not put the `invisible' property
11843 2009-12-13 Glenn Morris <rgm@gnu.org>
11845 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11846 (report-emacs-bug): In message-mode, sort manually before storing
11847 original report text. (Bug#5178)
11848 Remove superfluous save-excursion.
11850 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11852 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11853 when responding to "GetAll" properties.
11855 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11857 * simple.el (compose-mail): Remove mail-setup-with-from from
11858 customization checks.
11860 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11862 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11863 RAR archives created on Unix systems.
11865 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11867 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11868 the varalias that was accidentally removed by the 2009-11-19 change
11871 2009-12-12 Kenichi Handa <handa@m17n.org>
11873 * language/indian.el (indian-compose-regexp): New function.
11874 (malayalam-composable-pattern): Fix the pattern.
11875 (composition-function-table): Set malayalam-composable-pattern for
11876 Malayalam characters.
11878 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11880 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11881 rather than down-mouse-1, based on follow-link conventions.
11883 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11886 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11888 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11889 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11890 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11891 (verilog-leap-to-head, verilog-backward-token):
11892 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11894 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11896 * progmodes/verilog-mode.el (verilog-auto-lineup)
11897 (verilog-nameable-item-re): Cleanup user-visible spelling and
11898 documentation errors. One reported by Gary Delp.
11899 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11900 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11901 package, bug195. Reported by Pierre-David Pfister.
11903 2009-12-11 Glenn Morris <rgm@gnu.org>
11905 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11907 * mail/emacsbug.el: No longer require sendmail.
11908 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11909 (report-emacs-bug-orig-text): Doc fix.
11910 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11911 New local variables, to adapt to different mail-user-agents.
11912 (report-emacs-bug): Fix test for a gnu.org address.
11913 Use overlays for emphasis, since font-lock defeats 'face property.
11914 Pretest bugs also end up at the newsgroup these days.
11915 Stop message-mode stripping text properties.
11916 Set and use the new buffer-local variables.
11917 (report-emacs-bug-hook): Add doc-string.
11918 Remove some unnecessary save-excursions and simplify.
11919 Use the appropriate hook and send-command.
11921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11922 capitalization of some menu entries.
11924 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11926 * whitespace.el (whitespace-display-char-on):
11927 Ensure `buffer-display-table' is unique when two or more windows are
11928 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11931 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11933 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11934 characters in the Attribute field.
11936 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11938 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11940 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11942 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11943 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11944 Disregard autoload-excludes.
11945 (update-directory-autoloads): Obey autoload-excludes here instead.
11946 But don't store its contents in no-autoloads and remove entries that
11947 refer to excludes files.
11949 2009-12-10 Glenn Morris <rgm@gnu.org>
11951 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11952 (expand-mail-aliases): Define for compiler.
11954 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11955 Define for compiler.
11957 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11958 appropriate for the mail-user-agent in use.
11960 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11962 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11964 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11966 Fix short log parsing and fontification.
11967 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11968 Fix fontification for the [merge] label.
11970 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11972 Drop some properties to avoid surprises (bug#5002).
11973 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11974 (hfy-fontify-buffer): Use it.
11976 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11980 Adjust all callers.
11981 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11982 args compulsory. Adjust callers.
11983 (ffap-gopher-at-point): Remove unused var `name'.
11985 Get rid of the ELCFILES abomination.
11986 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11987 (compile-elcfiles): New phony target.
11988 (compile-main): Compute ELCFILES dynamically.
11989 (compile-clean): New target to remove left-over elc files.
11990 (compile, all): Use it.
11992 2009-12-09 Kenichi Handa <handa@etlken>
11994 * international/mule-diag.el: Require help-mode instead of help-fns.
11996 2009-12-09 Kenichi Handa <handa@m17n.org>
11998 * international/mule-cmds.el (ucs-names): Supply sufficiently
11999 fine ranges instead of pre-calculating accurate ranges.
12000 Iterate with bigger gc-cons-threshold.
12002 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12004 Add support for stashing a snapshot of the current tree.
12005 * vc-git.el (vc-git-stash-snapshot): New function.
12006 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12008 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12010 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12011 instead of `(beginning|end)-of-line'.
12013 2009-12-08 Glenn Morris <rgm@gnu.org>
12015 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12017 * Makefile.in (ELCFILES): Regenerate.
12019 2009-12-07 Juri Linkov <juri@jurta.org>
12021 Don't lazy-highlight the comint output in history Isearch mode.
12023 * comint.el (comint-history-isearch-search): Instead of
12024 `comint-line-beginning-position', use `comint-after-pmark-p'
12025 to check if point if before the process mark, and go to
12026 `process-mark' in this case.
12028 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12030 * textmodes/tex-mode.el (latex-complete)
12031 (latex-indent-or-complete): Remove.
12032 (latex-mode): Set completion-at-point-functions instead.
12034 Provide a standard completion command and hook it into TAB.
12035 * minibuffer.el (completion-at-point-functions): New var.
12036 (completion-at-point): New command.
12037 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12038 * progmodes/python.el (python-mode-map): Use completion-at-point.
12039 (python-completion-at-point): Rename from python-partial-symbol and
12040 adjust for use in completion-at-point-functions.
12041 (python-mode): Setup completion-at-point for Python completion.
12042 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12043 extracted from lisp-complete-symbol.
12044 (lisp-complete-symbol): Use it.
12045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12046 setup completion-at-point for Elisp completion.
12047 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12048 Use completion-at-point.
12049 * ielm.el (ielm-map): Use completion-at-point.
12050 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12051 * progmodes/sym-comp.el: Move to...
12052 * obsolete/sym-comp.el: Move from progmodes.
12054 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12056 Prevent save-buffer in Rmail buffers from using the coding-system
12057 of the current message, and from clobbering the encoding mnemonics
12058 in the mode line (Bug#4623).
12060 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12062 (rmail-message-encoding): New variable.
12063 (rmail-write-region-annotate): Record the encoding of the current
12064 message in rmail-message-encoding.
12065 (rmail-after-save-hook): New function, restores the encoding of
12066 the current message after the message collection is saved.
12068 2009-12-07 Juri Linkov <juri@jurta.org>
12070 * progmodes/grep.el (grep-read-files): Use `completing-read'
12071 instead of `read-string'. Set its `collection' arg to
12072 `read-file-name-internal'. (Bug#4301)
12074 2009-12-07 Juri Linkov <juri@jurta.org>
12076 Correctly restore original Isearch point. (Bug#4994)
12078 * isearch.el (isearch-mode): Move `isearch-push-state' after
12079 `(run-hooks 'isearch-mode-hook)'.
12080 (isearch-cancel): When `isearch-push-state-function' is defined,
12081 let-bind `isearch-cmds' to the first state (the last element of
12082 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12083 function and restores the original point). Otherwise, move point
12084 to `isearch-opoint'.
12086 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12088 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12089 chars that don't have names, so the table can be built much faster at
12092 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12094 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12095 change. Suggested by David Kastrup.
12097 * simple.el (compose-mail): Check for incompatibilities and warn.
12098 (compose-mail-user-agent-warnings): New option.
12100 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12102 Support showing a single log entry from vc-annotate.
12103 * vc.el (print-log): Add a new argument: START-REVISION.
12104 (vc-print-log-internal): Add a new optional argument and
12105 pass it to the backend.
12106 (vc-print-log, vc-print-root-log): Adjust callers.
12107 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12108 buffer already displays the requested log entry, use it.
12109 Otherwise display only the log entry in question.
12110 * vc-svn.el (vc-svn-print-log):
12111 * vc-mtn.el (vc-mtn-print-log):
12112 * vc-hg.el (vc-hg-state):
12113 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12114 (vc-git-show-log-entry): Return t on success.
12115 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12116 (vc-bzr-show-log-entry): Return t on success.
12117 * vc-rcs.el (vc-rcs-print-log):
12118 * vc-sccs.el (vc-sccs-print-log):
12119 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12121 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12123 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12124 Add menus to the meta mode. (Bug#5043)
12126 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12128 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12131 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12133 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12135 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12136 Berbain <raphael.berbain@gmail.com>.
12138 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12140 (tramp-initial-end-of-output): New defconst.
12141 (tramp-methods, tramp-find-shell)
12142 (tramp-open-connection-setup-interactive-shell)
12143 (tramp-maybe-open-connection): Use it.
12144 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12145 Handle existence of `#' and `$'.
12147 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12148 Use `tramp-initial-end-of-output'.
12150 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12152 Get the background mode from the terminal for xterm, and set
12154 * term/xterm.el (xterm-set-background-mode): New function.
12155 (terminal-init-xterm): Use it in case xterm supports background
12156 color queries. Recompute faces after getting the background
12159 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12161 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12162 number comment back on its own line, for easier parsing.
12164 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12166 Make it work for non-file buffers (bug#5102).
12167 * doc-view.el (doc-view-current-cache-dir):
12168 Use doc-view-buffer-file-name rather than buffer-file-name.
12169 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12171 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12173 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12174 author field is too short.
12176 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12178 * vc-git.el (vc-git-print-log): Handle a limit argument.
12179 Display the short log in graph form and with labels.
12180 (vc-git-log-view-mode): Handle labels.
12182 Make vc-revert change VC state from 'added to 'unregistered.
12183 * vc-git.el (vc-git-revert): Call git reset first.
12185 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12187 * net/newst-backend.el, net/newst-plainview.el:
12188 * net/newst-reader.el, net/newst-ticker.el:
12189 * net/newst-treeview.el, net/newsticker.el:
12190 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12192 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12194 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12196 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12197 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12198 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12199 Update annotation regexp.
12201 * simple.el (beginning-of-visual-line): Constrain to field
12202 boundaries (Bug#5106).
12204 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12206 * xml.el (xml-substitute-numeric-entities):
12207 Move newsticker--decode-numeric-entities in newst-backend.el to
12208 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12209 * net/newst-backend.el (newsticker--parse-generic-feed)
12210 (newsticker--parse-generic-items)
12211 (newsticker--decode-numeric-entities):
12212 Move newsticker--decode-numeric-entities in newst-backend.el to
12213 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12215 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12217 * progmodes/js.el (js--js-not): Add null to the list of values.
12219 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12221 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12223 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12225 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12226 delimiter if it is at the end of the current line.
12227 (bibtex-generate-url-list): Fix docstring.
12229 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12231 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12232 minibuffer's content with itself.
12233 Fold the confirm-after-completion case into the `confirm' case.
12234 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12236 2009-12-06 Kevin Ryde <user42@zip.com.au>
12238 * ffap.el (ffap-rfc-path): Make this a defcustom since
12239 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12241 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12242 manuals, similar to existing setup for help-mode. (Bug#3913.)
12244 2009-12-05 Juri Linkov <juri@jurta.org>
12246 Save and restore dired buffer's point positions too. (Bug#4880)
12248 * dired.el (dired-save-positions): Return in the first element
12249 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12251 (dired-restore-positions): First restore buffer's position.
12252 While restoring window's positions, check if window still displays
12253 the original buffer.
12255 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12257 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12260 * shell.el (shell): Require ansi-color (Bug#5113).
12262 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12264 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12266 2009-12-05 Alan Mackenzie <acm@muc.de>
12268 * progmodes/cc-mode.el (c-before-hack-hook)
12269 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12270 `c-file-style' to work again. This reversion restores the current
12271 software to its state in Emacs 23.1. (Bug#4146)
12273 2009-12-05 Kevin Ryde <user42@zip.com.au>
12275 * textmodes/sgml-mode.el (sgml-lexical-context):
12276 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12278 2009-12-05 Juri Linkov <juri@jurta.org>
12280 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12281 for virtual nodes. (Bug#4147)
12282 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12283 when moving from a virtual node.
12284 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12285 (Info-mode): Add `Info-virtual-index' to the docstring.
12287 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12289 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12290 track of the buffer position of the end of a BibTeX entry as this
12291 position may change during reformatting.
12292 (bibtex-format-entry): Remove whitespace before processing
12293 numerical fields so that we recognize the latter properly.
12294 (bibtex-reformat): Do not use push which changes the global value
12295 of bibtex-entry-format.
12296 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12297 (bibtex-field-re-init): Replace only space characters by regexp
12299 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12300 (bibtex-initialize): Also update bibtex-strings.
12301 (bibtex-kill-field): Preserve white space at end of entry.
12302 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12303 Update bibtex-reference-keys.
12305 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12308 point after a star, if that's the only place where modifications can
12311 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12313 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12316 2009-12-04 Juri Linkov <juri@jurta.org>
12318 * proced.el (proced): Call `(proced-update t)' to update process
12319 information instead of only running proced-post-display-hook.
12320 (proced-send-signal): Add a leading space to the buffer name
12321 " *Marked Processes*" to make this buffer ephemeral.
12323 2009-12-04 Juri Linkov <juri@jurta.org>
12325 * dired.el (dired-auto-revert-buffer): New defcustom.
12326 (dired-internal-noselect): Use it.
12328 2009-12-04 Juri Linkov <juri@jurta.org>
12330 Change roles of modes and functions in image-mode.el (Bug#5062).
12332 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12333 in `auto-mode-alist'.
12334 (image-mode-previous-major-mode): New variable.
12335 (image-minor-mode-map): Rename from `image-mode-text-map'.
12336 (image-mode): Move graceful error-handling code from
12337 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12338 (image-minor-mode): Remove all image-handling code.
12339 Replace `image-mode-text-map' with `image-minor-mode-map'.
12340 Check for `image-type' in mode-line format string.
12341 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12342 (image-mode-as-text): New function with most code from
12343 `image-mode-maybe'.
12344 (image-toggle-display-text): Move code that removes image
12345 properties from `image-toggle-display' to here.
12346 (image-toggle-display-image): New function with code that adds
12347 image properties copied from `image-toggle-display'.
12348 (image-toggle-display): Remove most code with leaving only code
12349 that toggles between `image-mode-as-text' and `image-mode'.
12351 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12353 * net/newst-treeview.el
12354 (newsticker--treeview-list-highlight-start): Restored call to
12355 save-excursion: Selected item was stuck.
12356 (newsticker--treeview-list-select): New.
12357 (newsticker--treeview-item-show-text)
12358 (newsticker--treeview-item-show)
12359 (newsticker--treeview-item-update): Use new
12360 newsticker-treeview-item-mode.
12361 (newsticker-treeview-update): Keep current item.
12362 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12363 (newsticker--treeview-first-feed): Doc change.
12364 (newsticker-treeview-list-menu)
12365 (newsticker-treeview-item-menu): Add menu entries.
12366 (newsticker-treeview-item-mode): New.
12368 * net/newst-backend.el (newsticker-customize): Delete other
12371 2009-12-04 Sam Steingold <sds@gnu.org>
12373 * log-view.el (log-view-mode-map): "q" calls quit-window,
12374 like in all the other non-self-insert buffers.
12376 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12379 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12380 key decoding rather than do it manually via last-input-event +
12382 (term-exec): Use delete-and-extract-region.
12383 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12384 (term-process-pager): Remove unused var `i'.
12385 (term-dynamic-simple-complete): Make obsolete.
12386 (serial-update-config-menu): Remove unused vars `y' and `str'.
12387 (term-update-mode-line): Remove unused var `temp'.
12389 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12391 Limit the number of log entries displayed by default.
12392 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12393 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12394 using a prefix argument.
12396 2009-12-03 Glenn Morris <rgm@gnu.org>
12398 * progmodes/idlwave.el (class): Restore still useful declaration.
12400 2009-12-03 Alan Mackenzie <acm@muc.de>
12402 Enhance `c-parse-state' to run efficiently in "brace deserts".
12404 * progmodes/cc-mode.el (c-basic-common-init):
12405 Call c-state-cache-init.
12406 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12407 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12408 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12410 * progmodes/cc-langs.el (c-before-font-lock-function):
12411 c-extend-and-neutralize-syntax-in-CPP has been renamed
12412 c-neutralize-syntax-in-and-mark-CPP.
12414 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12415 with `category' properties now, not `syntax-table' ones.
12417 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12418 enhanced (but slower) version of c-end-of-macro that won't land
12419 inside a literal or on another awkward character.
12420 (c-state-cache-too-far, c-state-cache-start)
12421 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12422 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12423 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12424 (c-state-min-scan-pos, c-state-brace-pair-desert)
12425 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12426 buffer local variables.
12427 (c-state-literal-at, c-state-lit-beg)
12428 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12429 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12430 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12431 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12432 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12433 (c-renarrow-state-cache)
12434 (c-append-lower-brace-pair-to-state-cache)
12435 (c-state-push-any-brace-pair, c-append-to-state-cache)
12436 (c-remove-stale-state-cache)
12437 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12438 (c-invalidate-state-cache-1, c-parse-state-1)
12439 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12440 (c-parse-state): Enhance and refactor.
12441 (c-debug-parse-state): Amend to deal with all the new variables.
12443 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12444 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12445 modify to use category text properties rather than syntax-table ones.
12446 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12447 to switch off/on the syntactic paren property of C++ template
12448 delimiters using the category property.
12449 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12450 template delims suppressed.
12451 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12452 New constant/macros which apply category properties to the start
12453 and end of preprocessor constructs.
12454 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12455 "comment out" the syntactic value of characters in preprocessor
12457 (c-with-cpps-commented-out)
12458 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12459 with characters in all or all but one preprocessor constructs
12462 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12464 * proced.el (proced-filter-alist): Use regexp-quote.
12466 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12469 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12470 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12471 arguments. Expand `default-directory'.
12473 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12474 the benefit of returning an expanded localname.
12475 (tramp-tramp-file-p): Handle the case NAME is not a string.
12477 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12479 Add support for bzr shelve/unshelve.
12480 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12481 (vc-bzr-extra-menu-map): New variables.
12482 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12483 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12484 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12485 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12486 (vc-bzr-dir-extra-headers): Display shelves.
12488 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12490 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * textmodes/bibtex.el (bibtex-complete-internal):
12493 Use completion-in-region.
12494 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12496 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12498 Support applying stashes. Improve UI.
12499 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12500 (vc-git-stash-apply, vc-git-stash-pop)
12501 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12502 (vc-git-stash-menu): New functions.
12503 (vc-git-stash-menu-map): New variable.
12504 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12506 2009-12-03 Glenn Morris <rgm@gnu.org>
12508 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12509 (vc-print-log-internal): Fix previous change.
12510 (vc-revert): Correct pluralization.
12512 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12514 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12515 it to be an alist any more.
12516 (makefile-complete): Use completion-in-region.
12518 * progmodes/octave-mod.el (octave-complete-symbol):
12519 Use completion-in-region.
12522 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12523 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12524 (idlwave-complete-class): Don't quote lambda.
12525 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12526 (idlwave-mode-map): Move initialization into declaration.
12527 (idlwave-action-and-binding): Use backquotes.
12528 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12530 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12531 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12532 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12533 `parts', and `all-parts'.
12534 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12535 (idlwave-convert-xml-system-routine-info): Remove unused string
12537 (idlwave-display-user-catalog-widget): Use dolist.
12538 (idlwave-scanning-lib): Declare dynamically-scoped var.
12539 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12540 (completion-highlight-first-word-only): Declare to silence bytecomp.
12541 (idlwave-popup-select): Tighten scope of `resp'.
12542 (idlwave-find-struct-tag): Remove unused var `beg'.
12543 (idlwave-after-load-rinfo-hook): Declare.
12544 (idlwave-sintern-class-info): Remove unused var `taglist'.
12545 (idlwave-find-class-definition): Remove unused var `list'.
12546 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12547 (idlwave-what-module-find-class): Remove unused var `classes'.
12549 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12551 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12553 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12555 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12556 buffers visited. Remove redundant current-buffer-saving.
12558 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12560 Use completion-in-buffer and remove uses of dynamic scoping.
12561 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12562 (pascal-buffer-to-use, pascal-flag): Don't declare.
12563 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12564 (pascal-get-completion-decl, pascal-keyword-completion):
12565 Add `pascal-str' argument, save-excursion,
12566 return the found completions, and don't filter with pascal-pred.
12567 (pascal-completion-cache): New var.
12568 (pascal-completion): Don't switch buffer any more (it was never
12569 necessary). Don't save-excursion any more (it's done by the called
12570 subroutines). Use a cache to avoid redundant computations.
12571 Use complete-with-action rather than pascal-completion-response and
12572 let it apply the predicate as well.
12573 (pascal-complete-word): Use completion-in-buffer when
12574 pascal-toggle-completions is nil.
12575 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12577 (pascal-comp-defun): Don't change buffer any more.
12578 Use complete-with-action rather than pascal-completion-response and
12579 let it apply the predicate as well.
12580 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12583 2009-12-02 Kenichi Handa <handa@m17n.org>
12585 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12586 shape for all Indic scripts.
12588 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12590 Use completion-in-buffer.
12591 * wid-edit.el (widget-field-text-end): New function.
12592 (widget-field-value-get): Use it.
12593 (widget-string-complete, widget-file-complete)
12594 (widget-color-complete): Use it and completion-in-region.
12595 (widget-complete): Don't narrow the buffer.
12597 2009-12-02 Glenn Morris <rgm@gnu.org>
12599 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12600 (rmail-select-summary): Use rmail-pop-to-buffer.
12601 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12602 rmail-pop-to-buffer, to prevent horizontal splits.
12604 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12605 save-excursion with save-current-buffer.
12606 Widen before searching. (Bug#5093)
12607 (diary-list-sexp-entries): Remove superfluous save-excursion.
12609 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12611 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12614 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12616 * ido.el (ido-file-internal): Handle filenames at point that do
12617 not have a directory part. (Bug#5049)
12619 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12621 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12622 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12624 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12626 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12627 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12630 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * comint.el (comint-insert-input): Ignore clicks to the right of
12633 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12635 * vc.el (vc-print-log-internal): Don't wait for the process to
12636 terminate before setting up the major mode.
12638 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12641 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12644 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12646 2009-12-01 Glenn Morris <rgm@gnu.org>
12648 * window.el (window--display-buffer-2): Fix previous changes.
12650 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12652 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12654 2009-12-01 Glenn Morris <rgm@gnu.org>
12656 * Makefile.in (ELCFILES): Add mpc.elc.
12658 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12660 * mpc.el: New file.
12662 2009-12-01 Glenn Morris <rgm@gnu.org>
12664 * window.el (window-to-use): Define for compiler.
12666 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12667 consistent with others (no final period).
12669 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12670 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12672 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12674 Make vc-print-log buttons work.
12675 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12677 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12679 * savehist.el (savehist-autosave-interval): Allow setting to nil
12680 through customize. (Bug#5056)
12682 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12684 Fix references to jit-lock properties.
12685 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12686 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12687 (perl-font-lock-special-syntactic-constructs):
12688 Quote jit-lock-defer-multiline property.
12690 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12692 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12694 2009-11-30 Juri Linkov <juri@jurta.org>
12696 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12697 value `buffer' of `multi-isearch-next-buffer-current-function'.
12698 Use `(current-buffer)' when `buffer' is nil.
12699 (multi-isearch-next-buffer-from-list): Don't fallback to
12700 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12702 2009-11-30 Juri Linkov <juri@jurta.org>
12704 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12705 of buffers with `get-buffer' to `multi-isearch-buffers'.
12706 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12707 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12708 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12709 FILES with `expand-file-name' converting relative file names
12710 to absolute. Doc fix. (Bug#4727)
12712 2009-11-30 Juri Linkov <juri@jurta.org>
12714 * misearch.el (multi-isearch-read-buffers)
12715 (multi-isearch-read-matching-buffers): New functions.
12716 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12717 Use them in the `interactive' spec. Doc fix.
12718 (multi-isearch-read-files, multi-isearch-read-matching-files):
12720 (multi-isearch-files, multi-isearch-files-regexp):
12721 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12723 2009-11-30 Juri Linkov <juri@jurta.org>
12725 * doc-view.el (doc-view-continuous):
12726 Rename from `doc-view-continuous-mode'.
12727 (doc-view-menu): Move "Toggle display" to the top.
12728 Add submenu "Continuous" with radio buttons "Off"/"On"
12729 and "Save as Default".
12730 (doc-view-scroll-up-or-next-page)
12731 (doc-view-scroll-down-or-previous-page)
12732 (doc-view-next-line-or-next-page)
12733 (doc-view-previous-line-or-previous-page):
12734 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12736 2009-11-30 Juri Linkov <juri@jurta.org>
12738 * comint.el (comint-mode-map): Rebind `M-r' from
12739 `comint-previous-matching-input' to
12740 `comint-history-isearch-backward-regexp'.
12741 Unbind `M-s' to allow global key binding `M-s'.
12742 Add menu items for `comint-history-isearch-backward' and
12743 `comint-history-isearch-backward-regexp'. (Bug#3746)
12745 2009-11-30 Juri Linkov <juri@jurta.org>
12747 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12748 For def=recenter, replace `recenter' with `recenter-top-bottom'
12749 that is called with `this-command' and `last-command' let-bound
12750 to `recenter-top-bottom'. When the last `def' was not `recenter',
12751 set `recenter-last-op' to nil. (Bug#4981)
12753 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12755 Minor cleanup and simplification.
12756 * filecache.el (file-cache-add-directory)
12757 (file-cache-add-directory-recursively)
12758 (file-cache-add-from-file-cache-buffer)
12759 (file-cache-delete-file-regexp, file-cache-delete-directory)
12760 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12761 (file-cache-temp-minibuffer-message): Delete function.
12762 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12764 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12765 Don't signal an error when bumping into EOB in tr, s, or y.
12767 2009-11-29 Juri Linkov <juri@jurta.org>
12769 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12772 * descr-text.el (describe-char-unidata-list): Use lowercase name
12773 for "Unicode name" like in other tags.
12775 2009-11-29 Juri Linkov <juri@jurta.org>
12777 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12778 New compatibility macro.
12779 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12781 2009-11-29 Juri Linkov <juri@jurta.org>
12783 Add defcustom to define the cycling order of `recenter-top-bottom'.
12786 * window.el (recenter-last-op): Doc fix.
12787 (recenter-positions): New defcustom.
12788 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12789 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12791 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12793 Improve integration of Tramp and ange-ftp in eshell.
12795 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12796 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12797 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12799 * eshell/esh-util.el (top): Require also Tramp when compiling.
12800 (eshell-directory-files-and-attributes): Check for FTP remote
12802 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12803 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12804 (eshell-file-attributes): Handle ".". Return `entry'.
12806 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12807 (ange-ftp-directory-files-and-attributes)
12808 (ange-ftp-real-directory-files-and-attributes): New defuns.
12810 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12811 shell with "exec" when possible. This prevents trailing prompts
12812 in `start-file-process'.
12814 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12816 Try and remove assumptions about point-min==1.
12817 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12818 (rng-compute-mode-line-string): Show the validation percentage in
12819 terms of the narrowed text, not the widened text.
12820 (rng-do-some-validation): Don't catch internal errors when debugging.
12821 (rng-first-error): Simplify.
12822 (rng-after-change-function): Remove work around. AFAIK the bug has
12823 been fixed a while ago.
12825 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12826 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12828 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12830 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12831 `cd' doesn't always do it for us (bug#5067).
12833 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12834 on 2009-10-25 as part of some other change (bug#5067).
12836 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12838 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12840 (byte-compile-warnings): Use byte-compile-warning-types.
12841 (byte-compile-save-excursion): Warn about use of set-buffer right
12842 after save-excursion.
12844 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12845 the excursion as well.
12847 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12849 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12850 providing a Tramp related implementation of "su" and "sudo".
12851 (eshell-unix-initialize): Add "su" and "sudo".
12853 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12855 * net/socks.el (socks-send-command): Convert binary request to
12856 unibyte before sending. This fixes mishandling of some port
12857 numbers such as 129.
12859 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * help.el (describe-bindings-internal): Remove `interactive'.
12863 * man.el (Man-completion-table): Trim a terminating "(".
12864 Remove the space between name page a section.
12865 Add the command's description on the `help-echo' property.
12866 Remove `process-connection-type' binding since it's unused by
12868 Provide completion for the "<section> <name>" format as well.
12869 (Man-default-man-entry): Remove spurious var shadowing the argument.
12871 2009-11-26 Kevin Ryde <user42@zip.com.au>
12873 * log-view.el: Add "Keywords: tools", since its other keywords
12874 aren't in finder-known-keywords, and following vc.el.
12876 * sha1.el (sha1-string-external): default-directory "/" in case
12877 otherwise non-existent. process-connection-type pipe for touch of
12878 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12880 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12882 Misc coding convention cleanups.
12883 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12884 hfy-init-kludge-hooks.
12885 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12886 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12887 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12889 (hfy-slant, hfy-weight): Use tables rather than code.
12890 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12891 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12892 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12893 (hfy-face-to-css): Remove `nconc' with single arg.
12894 (hfy-p-to-face-lennart): Use `or'.
12895 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12896 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12897 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12898 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12899 (hfy-force-fontification): Use run-hooks.
12901 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12903 Various minor fixes.
12904 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12905 Javascript belongs in the header, not the body.
12906 (hfy-javascript): Remove.
12907 (hfy-fontify-buffer): Don't insert it any more.
12908 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12909 Fix bug in invis handling when there were no invis props in a chunk.
12911 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12915 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12917 * finder.el (finder-mode-map): Add a menu.
12919 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12921 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12922 "unsigned" structs.
12924 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12925 fork" statement better.
12927 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12929 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12930 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12931 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12932 Reported by Clay Douglass.
12934 (verilog-auto-inst, verilog-auto-star-safe)
12935 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12936 Fix removing "// Interfaces" when saving .* expansions.
12937 Reported by Pierre-David Pfister.
12939 2009-11-26 Glenn Morris <rgm@gnu.org>
12941 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12944 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12946 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12947 Really use previous revision.
12949 2009-11-25 Kevin Ryde <user42@zip.com.au>
12951 * man.el (Man-completion-table): default-directory "/" in case
12952 doesn't otherwise exist. process-environment COLUMNS=999 so as
12953 not to truncate long names. process-connection-type pipe to avoid
12954 any chance of hitting the pseudo-tty TIOCGWINSZ.
12955 (man): completion-ignore-case t for friendliness and since man
12956 itself is case-insensitive on the command line.
12957 Further to Bug#3717.
12959 * arc-mode.el: Add "Keywords: files", so the details in its
12960 commentary can be reached from finder-by-keyword.
12961 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12962 editing mode, but it's comms related and sgml-mode.el has "comm"
12964 * textmodes/bibtex-style.el: Add "Keywords: tex".
12965 * international/isearch-x.el, international/ja-dic-cnv.el:
12966 * international/ja-dic-utl.el, international/kkc.el:
12967 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12969 2009-11-25 Juri Linkov <juri@jurta.org>
12971 * man.el (Man-completion-table): Modify regexp to include
12972 section names to completion strings. (Bug#3717)
12974 2009-11-25 Juri Linkov <juri@jurta.org>
12976 Search recursively in gzipped files. (Bug#4982)
12978 * progmodes/grep.el (grep-highlight-matches): Add new options
12979 `always' and `auto'. Doc fix.
12980 (grep-process-setup): Check `grep-highlight-matches' for
12981 `auto-detect' to determine the need to compute grep defaults.
12982 Move Windows/DOS specific --colors settings handling
12983 to `grep-compute-defaults'. Check `grep-highlight-matches'
12984 to get the value of "--color=".
12985 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12986 has the value `auto-detect'. Move Windows/DOS specific settings
12987 from `grep-process-setup'.
12988 (zrgrep): New command with alias `rzgrep'.
12990 2009-11-25 Juri Linkov <juri@jurta.org>
12992 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12993 to nil instead of switching off view-mode. (Bug#4896)
12995 2009-11-25 Juri Linkov <juri@jurta.org>
12997 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12999 * mwheel.el (mwheel-scroll-up-function)
13000 (mwheel-scroll-down-function): New defvars.
13001 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13002 `scroll-up', and `mwheel-scroll-down-function' instead of
13005 * doc-view.el (doc-view-scroll-up-or-next-page)
13006 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13007 Use this ARG in the call to image-scroll-up/image-scroll-down.
13008 Change `interactive' spec to "P". Goto next/previous page only
13009 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13010 SPC/DEL case). Doc fix.
13011 (doc-view-next-line-or-next-page)
13012 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13014 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13015 `doc-view-scroll-up-or-next-page', and buffer-local
13016 `mwheel-scroll-down-function' to
13017 `doc-view-scroll-down-or-previous-page'.
13019 2009-11-25 Juri Linkov <juri@jurta.org>
13021 Provide additional default values (directories at other Dired
13022 windows) via M-n in the minibuffer of some Dired commands.
13024 * dired-aux.el (dired-diff, dired-compare-directories)
13025 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13026 `minibuffer-default' in `minibuffer-with-setup-hook'.
13027 (dired-dwim-target-directory): Find a window that displays Dired
13028 buffer instead of failing when the next window is not Dired.
13029 Use `get-window-with-predicate' to find for the next Dired window.
13030 (dired-dwim-target-defaults): New function.
13032 * ediff-util.el (ediff-read-file-name):
13033 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13034 in `minibuffer-with-setup-hook'.
13036 2009-11-25 Juri Linkov <juri@jurta.org>
13038 Provide additional default values (file name at point or at the
13039 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13041 * minibuffer.el (read-file-name-defaults): New function.
13042 (read-file-name): Reset `minibuffer-default' to nil when
13043 it duplicates initial input `insdef'.
13044 Bind `minibuffer-default-add-function' to lambda that
13045 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13046 (minibuffer-insert-file-name-at-point): New command.
13048 * files.el (file-name-at-point-functions): New defcustom.
13049 (find-file-default): Remove defvar.
13050 (find-file-read-args): Don't use `find-file-default'.
13051 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13052 to `read-file-name'.
13053 (find-file-literally): Use `read-file-name' with
13054 `confirm-nonexistent-file-or-buffer'.
13056 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13058 * dired.el (dired-read-dir-and-switches):
13059 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13060 to `read-file-name'.
13061 (dired-file-name-at-point): New function.
13062 (dired-mode): Add hook `dired-file-name-at-point' to
13063 `file-name-at-point-functions'.
13065 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13067 Really make the *Completions* window soft-dedicated (bug#5030).
13068 * window.el (window--display-buffer-2): Add `dedicated' argument.
13069 (display-buffer): Pass it when needed so the dedicated flag is set
13070 after calling set-window-buffer, which would otherwise reset it.
13072 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13074 * progmodes/meta-mode.el (meta-complete-symbol):
13075 * progmodes/etags.el (complete-tag):
13076 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13077 Use completion-in-region.
13079 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13080 (dabbrev-completion): Use completion-in-region.
13081 (dabbrev--abbrev-at-point): Simplify regexp.
13083 * abbrev.el (abbrev--before-point): Use word-motion functions
13084 if :regexp is not specified (bug#5031).
13086 * subr.el (string-prefix-p): New function.
13088 * man.el (Man-completion-cache): New var.
13089 (Man-completion-table): Use it.
13091 * vc.el (vc-print-log-internal): Make `limit' optional for better
13092 compatibility (e.g. with vc-annotate.el).
13094 2009-11-24 Kevin Ryde <user42@zip.com.au>
13096 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13097 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13099 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13100 when .el source file not found or other error.
13102 2009-11-24 Markus Triska <markus.triska@gmx.at>
13104 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13106 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13108 Handle the [back] button properly (bug#4979).
13109 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13110 Use help-setup-xref, help-buffer, and with-help-window.
13111 (describe-char): Add `buffer' argument.
13112 Pass proper command to help-setup-xref. Don't meddle with
13113 help-xref-stack-item directly.
13114 (describe-text-category): Use with-help-window and help-buffer.
13116 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13117 for the displayed buffer (bug#4887).
13119 * man.el (Man-completion-table): New function.
13122 2009-11-24 David Reitter <david.reitter@gmail.com>
13124 * vc-git.el (vc-git-registered): Use checkout directory (where
13125 .git is) rather than the file's directory and a relative path spec
13126 to work around a bug in git.
13128 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13130 Improve handling of processes on remote hosts.
13132 * eshell/esh-util.el (eshell-path-env): New defvar.
13133 (eshell-parse-colon-path): New defun.
13134 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13136 * eshell/esh-ext.el (eshell-search-path):
13137 Use `eshell-parse-colon-path'.
13138 (eshell-remote-command): Remove argument HANDLER.
13139 (eshell-external-command): Check for FTP remote connection.
13141 * eshell/esh-proc.el (eshell-gather-process-output):
13142 Use `file-truename', in order to start also symlinked files.
13143 Apply `start-file-process' instead of `start-process'.
13144 Shorten `command' to the local file name part.
13146 * eshell/em-cmpl.el (eshell-complete-commands-list):
13147 Use `eshell-parse-colon-path'.
13149 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13151 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13152 to `eshell-directory-change-hook'.
13154 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13156 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13157 because it could be enabled automatically if view-read-only is non-nil.
13159 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13161 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13162 made on 2009-11-22.
13164 2009-11-24 Glenn Morris <rgm@gnu.org>
13166 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13167 deleted variable bookmark-bmenu-bookmark-column.
13169 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13173 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13175 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13176 two slashes to the "file:" prefix.
13177 (browse-url-file-url): De-munge Cygwin filenames before passing
13178 them to Windows browser.
13179 (browse-url-default-windows-browser): Use call-process.
13181 2009-11-23 Juri Linkov <juri@jurta.org>
13183 Implement DocView Continuous mode. (Bug#4896)
13184 * doc-view.el (doc-view-continuous-mode): New defcustom.
13185 (doc-view-mode-map): Bind C-n/<down> to
13186 `doc-view-next-line-or-next-page', C-p/<up> to
13187 `doc-view-previous-line-or-previous-page'.
13188 (doc-view-next-line-or-next-page)
13189 (doc-view-previous-line-or-previous-page): New commands.
13191 2009-11-23 Juri Linkov <juri@jurta.org>
13193 Implement Isearch in comint input history. (Bug#3746)
13194 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13195 `isearch-mode-hook'.
13196 (comint-history-isearch): New defcustom.
13197 (comint-history-isearch-backward)
13198 (comint-history-isearch-backward-regexp): New commands.
13199 (comint-history-isearch-message-overlay): New buffer-local variable.
13200 (comint-history-isearch-setup, comint-history-isearch-end)
13201 (comint-goto-input, comint-history-isearch-search)
13202 (comint-history-isearch-message, comint-history-isearch-wrap)
13203 (comint-history-isearch-push-state)
13204 (comint-history-isearch-pop-state): New functions.
13206 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13208 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13210 (tramp-handle-make-symbolic-link)
13211 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13213 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13214 (tramp-handle-process-file): Use it.
13216 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * window.el (move-to-window-line-last-op): Remove.
13219 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13221 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13223 Make M-r mirror the new cycling behavior of C-l.
13224 * window.el (move-to-window-line-last-op): New var.
13225 (move-to-window-line-top-bottom): New command.
13226 (global-map): Bind M-r move-to-window-line-top-bottom.
13228 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13230 * dired-x.el (dired-guess-shell-alist-default):
13231 Support xz format. (Bug#4953)
13233 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13235 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13236 last-command-char/last-command-event.
13237 (viper-prefix-arg-value): Do correct conversion of event-char for
13240 * emulation/viper-util.el, emulation/viper.el:
13241 Use viper-last-command-char instead of
13242 last-command-char/last-command-event.
13244 * ediff-init.el, ediff-mult.el, ediff-util.el:
13245 Replace last-command-char and last-command-event
13246 with (ediff-last-command-char) everywhere.
13248 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13249 created in fundamental mode.
13251 * ediff.el (ediff-version): Revert the change of interactive-p to
13252 called-interactively-p.
13254 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13256 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13257 generation from word-movement command names.
13259 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13261 * cus-start.el (all): Add native condition for font-use-system-font.
13263 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13265 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13266 Correct the patch from 2009-11-18. (Bug#3910)
13268 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13270 * progmodes/subword.el: Rename from lisp/subword.el.
13272 * subword.el: Rename to progmodes/subword.el.
13274 * Makefile.in (ELCFILES): Adapt to subword.el move.
13276 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13277 Stefan Monnier <monnier@iro.umontreal.ca>
13279 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13280 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13281 (bookmark-bmenu-show-filenames): Use push.
13282 (bookmark-bmenu-hide-filenames): Use local var instead of
13283 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13284 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13285 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13286 filenames now that the bookmark names are always available.
13288 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13290 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13291 (bookmark-search-pattern): Move and leave unbound.
13292 (bookmark-bmenu-mode-map): Change binding.
13293 (bookmark-read-search-input): Simplify.
13294 Don't use text-char-description. Don't error on non-char events.
13295 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13296 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13297 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13298 Use a local var for the timer.
13299 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13300 (i.e. bookmark-bmenu-search).
13302 2009-11-21 Glenn Morris <rgm@gnu.org>
13304 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13306 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13308 * net/browse-url.el (browse-url-default-windows-browser):
13309 Use cygstart for cygwin.
13311 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13313 * bookmark.el: Formatting and doc fixes only:
13314 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13315 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13316 Minor grammar and punctuation fixes in doc string.
13317 (bookmark-read-search-input): Adjust to fit within 80 columns.
13319 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13321 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13322 (c-backward-into-nomenclature): Adapt to subword renaming.
13324 * subword.el (subword-forward, subword-backward, subword-mark)
13325 (subword-kill, subword-backward-kill, subword-transpose)
13326 (subword-downcase, subword-upcase, subword-capitalize)
13327 (subword-forward-internal, subword-backward-internal):
13328 Rename from forward-subword, backward-subword, mark-subword,
13329 kill-subword, backward-kill-subword, transpose-subwords,
13330 downcase-subword, upcase-subword, capitalize-subword,
13331 forward-subword-internal, backward-subword-internal.
13333 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13335 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13337 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13339 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13340 (bookmark-bmenu-filter-alist-by-regexp)
13341 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13342 (bookmark-bmenu-search): New command.
13343 (bookmark-bmenu-mode-map): Bind it.
13345 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13347 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13348 backward-subword to quit the byte-compiler.
13350 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13352 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13354 * progmodes/cc-cmds.el (c-update-modeline)
13355 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13356 Refer to subword.el functions instead of cc-subword.el.
13358 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13359 subword.el functions instead of cc-subword.el.
13361 * progmodes/cc-subword.el: Rename to subword.el.
13362 * subword.el: Rename from progmodes/cc-subword.el.
13363 (subword-mode-map): Rename from c-subword-mode-map.
13364 (subword-mode): Rename from c-subword-mode.
13365 (global-subword-mode): New global minor mode.
13366 (forward-subword): Rename from c-forward-subword.
13367 (backward-subword): Rename from c-backward-subword.
13368 (mark-subword): Rename from c-mark-subword.
13369 (kill-subword): Rename from c-kill-subword.
13370 (backward-kill-subword): Rename from c-backward-kill-subword.
13371 (transpose-subwords): Rename from c-tranpose-subword.
13372 (downcase-subword): Rename from c-downcase-subword.
13373 (capitalize-subword): Rename from c-capitalize-subword.
13374 (forward-subword-internal): Rename from c-forward-subword-internal.
13375 (backward-subword-internal): Rename from c-backward-subword-internal.
13377 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13379 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13380 from a dired buffer.
13381 (vc-dired-deduce-fileset): New function.
13382 (vc-root-diff, vc-print-root-log): Use it.
13384 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13385 nil LIMIT argument to vc-print-log-internal.
13387 2009-11-20 Glenn Morris <rgm@gnu.org>
13389 * Makefile.in (ELCFILES): Regenerate.
13391 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13393 * calc/calc.el (calc-set-mode-line):
13394 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13395 (math-format-number): Rename `math-format-complement-signed' to
13396 `math-format-twos-complement'.
13398 * calc/calc-bin.el (math-format-twos-complement): Rename from
13399 math-format-complement-signed.
13400 (calc-radix): Rename `calc-complement-signed-mode' to
13401 `calc-twos-complement-mode'.
13402 (calc-octal-radix, calc-hex-radix): Add an argument for
13405 * calc/calc-embed.el (calc-embedded-mode-vars):
13406 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13408 * calc/calc-ext.el (calc-init-extensions):
13409 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13410 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13412 * calc/calc-units.el (math-build-units-table-buffer):
13413 Let `calc-twos-complement-mode' be nil.
13415 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13418 * calc/calc-vec.el (calcFunc-vunpack):
13419 * calc/calc-aent.el (calc-do-calc-eval):
13420 * calc/calc-forms.el (math-format-date):
13421 * calc/calc-graph.el (calc-graph-plot):
13422 * calc/calc-math.el (math-use-emacs-fn):
13423 * calc/calccomp.el (math-compose-expr):
13424 Let `calc-twos-complement-mode' be nil.
13426 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13428 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13429 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13430 * minibuffer.el (completion-in-region-functions): New hook.
13431 (completion-in-region): New function.
13432 * emacs-lisp/lisp.el (lisp-complete-symbol):
13433 * pcomplete.el (pcomplete-std-complete): Use it.
13435 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13437 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13438 (latex-complete-alist): New vars.
13439 (latex-string-prefix-p, latex-complete-bibtex-keys)
13440 (latex-complete-envnames, latex-complete-refkeys)
13441 (latex-complete-data): New functions.
13442 (latex-complete, latex-indent-or-complete): New commands.
13444 * window.el (display-buffer-mark-dedicated): New var.
13445 (display-buffer): Obey it.
13446 * minibuffer.el (minibuffer-completion-help): Use it.
13448 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13450 * filecache.el (file-cache-add-file): Use push and cons.
13451 (file-cache-delete-file-regexp): Use push.
13452 (file-cache-complete): Use completion-in-region.
13454 * simple.el (with-wrapper-hook): Fix thinko.
13456 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13457 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13458 Use with-current-buffer and string-to-number.
13459 (hfy-fallback-colour-values): Use assoc-string.
13460 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13461 (hfy-face-at): Remove unused var `found-face'.
13462 (hfy-compile-stylesheet): Remove unused var `css'.
13463 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13465 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13466 Use with-current-buffer.
13467 (hfy-text-p): Use expand-file-name and fewer setq.
13469 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13471 * htmlfontify.el, hfy-cmap.el: New files.
13473 2009-11-19 Juri Linkov <juri@jurta.org>
13475 * minibuffer.el (completions-format): New defcustom.
13476 (completion--insert-strings): Implement vertical format.
13478 * simple.el (switch-to-completions): Move point to the first
13479 completion when point was at the beginning of the buffer.
13481 2009-11-19 Juri Linkov <juri@jurta.org>
13483 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13485 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13487 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13489 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13490 (mail-signature): Change default to t.
13491 (mail-from-style): Deprecate `system-default' value.
13492 (mail-insert-from-field): For default value of mail-from-style,
13493 default to `angles' unless `angles' needs quoting and `parens'
13495 (mail-citation-prefix-regexp): Use citation regexp from
13498 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13500 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13501 Set variables for computing the prompt for reading password.
13503 2009-11-19 Glenn Morris <rgm@gnu.org>
13505 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13507 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13509 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13510 (newsticker-treeview-listwindow-height): Fix custom type.
13512 2009-11-19 Kenichi Handa <handa@m17n.org>
13514 * descr-text.el (describe-char-padded-string): Compose with TAB
13515 only if there's a font for CH.
13516 (describe-char): Fix the condition for detecting a trivial composition.
13518 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13520 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13521 more accurate version of the regexp. (Bug#3910)
13523 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13525 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13527 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13529 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13530 (font-setting-change-default-font): Fix typo in docstring.
13532 2009-11-18 Alan Mackenzie <acm@muc.de>
13534 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13536 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13538 * font-setting.el (font-use-system-font): Move ...
13540 * cus-start.el (all): ... to here.
13542 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13544 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13545 Don't set `ad-return-value' if `ad-do-it' doesn't.
13547 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13550 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13552 * menu-bar.el: Put "Use system font" in Option-menu.
13553 (menu-bar-options-save): Add font-use-system-font.
13555 * loadup.el: If feature system-font-setting or font-render-setting is
13556 there, load font-setting.
13558 * Makefile.in (ELCFILES): Add font-settings.el.
13559 * font-setting.el: New file.
13561 2009-11-17 Glenn Morris <rgm@gnu.org>
13563 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13565 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13566 Preserve point in the list buffer. (Bug#4939)
13568 (newsticker--treeview-list-update-highlight)
13569 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13571 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13573 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13576 * calc/calc-ext.el (calc-init-extensions): Remove references to
13579 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13581 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13582 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13585 2009-11-16 Kevin Ryde <user42@zip.com.au>
13587 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13588 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13590 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13591 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13592 Ignore trailing spaces by omit-nulls to split-string (fixing
13593 regression from Emacs 21 due to the incompatible split-string
13594 change). (Bug #4928.)
13596 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13598 * vc.el (vc-log-show-limit): Default to 2000.
13599 (vc-print-log-internal): Insert buttons to request more entries
13600 when limiting the output.
13602 * vc-sccs.el (vc-sccs-print-log):
13603 * vc-rcs.el (vc-rcs-print-log):
13604 * vc-cvs.el (vc-cvs-print-log):
13605 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13608 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13610 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13611 error when `tramp-gvfs-dbus-event-vector' is set.
13612 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13614 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13618 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13620 * net/dbus.el (dbus-unregister-service): New defun.
13621 (dbus-register-property): Register the handlers of
13622 "org.freedesktop.DBus.Properties" for SERVICE.
13623 (dbus-property-handler): Fix docstring.
13625 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13627 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13628 Quote doc string reference in defvaralias as it is not in special form.
13629 (byte-compile-output-docform): Doc fix.
13631 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13633 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13634 (calc-complement-signed-mode): New variables.
13635 (calc-set-mode-line): Add indicator for twos-complements.
13636 (math-format-number): Format twos-complement notation.
13638 * calc/calc-bin.el (calc-word-size): Reset the variables
13639 `math-2-word-size' and `math-half-2-word-size'.
13640 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13641 (calc-symclip): New functions.
13643 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13645 * calc/calc-embed.el (calc-embedded-mode-vars):
13646 Add `calc-complement-signed-mode' to the list of modes.
13648 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13649 (calc-b-oper-keys): Add `calc-symclip' to list.
13651 * calc/calc-ext.el (math-read-number-fancy): Read complement
13653 (calc-init-extensions): Add binding for `calc-symclip'.
13654 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13656 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13658 (calc-modes-menu): Add item for twos complement mode.
13660 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13662 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13664 * register.el (jump-to-register, insert-register): Handle Semantic
13665 tags. From commented-out advice in semantic/senator.el.
13667 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13669 * vc.el (vc-log-show-limit): New variable.
13670 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13671 when using a prefix argument.
13672 (vc-print-log-internal): Add new argument LIMIT.
13674 * vc-svn.el (vc-svn-print-log):
13675 * vc-mtn.el (vc-mtn-print-log):
13676 * vc-hg.el (vc-hg-print-log):
13677 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13678 pass it to the log command when set. Make the BUFFER argument
13681 * vc-sccs.el (vc-sccs-print-log):
13682 * vc-rcs.el (vc-rcs-print-log):
13683 * vc-git.el (vc-git-print-log):
13684 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13685 ignore it. Make the BUFFER argument non-optional
13687 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13689 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13691 * dired.el (dired-mode-map): Move encryption items to "Operate"
13694 * strokes.el (strokes-update-window-configuration): Make strokes
13695 buffer current before erasing (Bug#4906).
13697 2009-11-15 Juri Linkov <juri@jurta.org>
13699 * simple.el (set-mark-default-inactive): Add :type, :group
13700 and :version. (Bug#4876)
13702 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13704 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13705 (archive-unique-fname): ... here. (Bug#4929)
13707 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13712 * novice.el (disabled-command-function): Add useful args.
13713 Setup the help buffer so that [back] works.
13714 Remove redundant call to help-mode.
13715 (disabled-command-function): Use `case'.
13716 (en/disable-command): New function extracted from enable-command.
13717 (enable-command, disable-command): Use it.
13719 2009-11-14 Glenn Morris <rgm@gnu.org>
13721 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13722 constants. (Bug#4913)
13724 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13726 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13728 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13729 defined in C that have no doc-strings. (Bug#1063)
13731 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13733 * cus-edit.el (data, files):
13734 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13736 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13738 * simple.el (shell-command): Doc fix (Bug#4891).
13740 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13742 2009-11-14 Glenn Morris <rgm@gnu.org>
13744 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13745 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13746 If they are already loaded, eval-after-load will do the right thing.
13748 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13751 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13753 * simple.el (x-selection-owner-p): Declare.
13754 (read-mail-command): Use custom radio type rather than choice.
13755 (completion-no-auto-exit): Doc fix.
13757 * custom.el (defgroup):
13758 * epg-config.el (epg): Doc fixes.
13760 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13762 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13763 * international/ccl.el (define-ccl-program): Do not purecopy the
13764 docstring, defconst does it anyway.
13766 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13771 * x-dnd.el (x-dnd-maybe-call-test-function):
13772 * window.el (split-window-vertically):
13773 * whitespace.el (whitespace-help-on):
13774 * vc-rcs.el (vc-rcs-consult-headers):
13775 * userlock.el (ask-user-about-lock-help)
13776 (ask-user-about-supersession-help):
13777 * type-break.el (type-break-force-mode-line-update):
13778 * time-stamp.el (time-stamp-conv-warn):
13779 * terminal.el (te-set-output-log, te-more-break, te-filter)
13780 (te-sentinel, terminal-emulator):
13781 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13782 (term-write-input-ring, term-check-source, term-start-output-log):
13783 (term-display-buffer-line, term-dynamic-list-completions):
13784 (term-ansi-make-term, serial-term):
13785 * subr.el (selective-display):
13786 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13787 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13788 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13789 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13790 (speedbar-remove-localized-speedbar-support)
13791 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13792 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13793 (speedbar-buffers-line-directory):
13794 * simple.el (shell-command-on-region, append-to-buffer)
13795 (prepend-to-buffer):
13796 * shadowfile.el (shadow-save-todo-file):
13797 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13798 (scroll-bar-maybe-set-window-start):
13799 * sb-image.el (speedbar-image-dump):
13800 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13801 (load-save-place-alist-from-file):
13802 * ps-samp.el (ps-print-message-from-summary):
13803 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13804 (ps-background-image, ps-begin-job, ps-do-despool):
13805 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13806 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13807 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13808 (pr-call-process, pr-file-list, pr-interface-save):
13809 * novice.el (disabled-command-function)
13810 (enable-command, disable-command):
13811 * mouse.el (mouse-buffer-menu-alist):
13812 * mouse-copy.el (mouse-kill-preserving-secondary):
13813 * macros.el (kbd-macro-query):
13814 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13815 * informat.el (batch-info-validate):
13816 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13817 * hippie-exp.el (try-expand-dabbrev-visible):
13818 * help-mode.el (help-make-xrefs):
13819 * help-fns.el (describe-variable):
13820 * generic-x.el (bat-generic-mode-run-as-comint):
13821 * finder.el (finder-mouse-select):
13822 * find-dired.el (find-dired-sentinel):
13823 * filesets.el (filesets-file-close):
13824 * files.el (list-directory):
13825 * faces.el (list-faces-display, describe-face):
13826 * facemenu.el (list-colors-display):
13827 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13828 * epg.el (epg--process-filter, epg-cancel):
13829 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13830 (epa--read-signature-type):
13831 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13832 (emerge-file-names):
13833 * ehelp.el (electric-helpify):
13834 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13835 * ediff-vers.el (rcs-ediff-view-revision):
13836 * ediff-util.el (ediff-setup):
13837 * ediff-mult.el (ediff-append-custom-diff):
13838 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13840 * echistory.el (Electric-command-history-redo-expression):
13841 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13842 * disp-table.el (describe-display-table):
13843 * dired.el (dired-find-buffer-nocreate):
13844 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13845 * dabbrev.el (dabbrev--same-major-mode-p):
13846 * chistory.el (list-command-history):
13847 * apropos.el (apropos-documentation):
13848 * allout.el (allout-obtain-passphrase):
13849 (allout-copy-exposed-to-buffer):
13850 (allout-verify-passphrase): Use with-current-buffer.
13852 2009-11-13 Glenn Morris <rgm@gnu.org>
13854 * Makefile.in (ELCFILES): Regenerate.
13856 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13858 * net/dbus.el (dbus-registered-objects-table): Rename from
13859 `dbus-registered-functions-table', because it contains also properties.
13860 (dbus-unregister-object): Unregister also properties.
13861 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13862 Use a timeout of 500 msec, in order to not block.
13863 (dbus-register-property, dbus-property-handler): New defuns.
13865 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * simple.el (minibuffer-default-add-completions): Drop deprecated
13870 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13872 * textmodes/artist.el (artist-mouse-choose-operation):
13873 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13874 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13875 (artist-compute-up-event-key): New function.
13876 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13878 2009-11-13 Kenichi Handa <handa@m17n.org>
13880 * language/japan-util.el: Make sure that the value of jisx0208
13881 property is jisx0208 character.
13883 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13885 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13886 car or each item, not the whole list.
13888 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * minibuffer.el (minibuffer-completion-help):
13891 Use minibuffer-hide-completions.
13893 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13895 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13896 (dired-revert): Use them (bug#4880).
13898 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13900 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13902 2009-11-12 Juri Linkov <juri@jurta.org>
13904 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13906 (find-file-literally-at-point): Alias of `ffap-literally'.
13908 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13910 * textmodes/ispell.el (ispell-skip-region-alist):
13911 * textmodes/css-mode.el (auto-mode-alist):
13912 * progmodes/compile.el (auto-mode-alist):
13913 * international/mule.el (ctext-non-standard-encodings-alist)
13914 (ctext-non-standard-encodings-regexp):
13915 * simple.el (shell-command-switch, text-read-only):
13916 * replace.el (occur-mode-map):
13917 * paths.el (rmail-file-name):
13918 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13919 * find-file.el (ff-special-constructs):
13920 * files.el (file-name-handler-alist):
13921 * composite.el: Purecopy strings.
13923 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13925 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13927 * widget.el (define-widget): Purecopy the docstring.
13928 * international/mule-cmds.el (charset): Do not purecopy the
13929 docstring here, define-widget does it.
13931 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13932 * textmodes/bibtex-style.el (auto-mode-alist):
13933 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13934 * progmodes/compile.el (compile-command):
13935 * language/korea-util.el (default-korean-keyboard):
13936 * international/mule-conf.el (file-coding-system-alist):
13937 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13938 * tooltip.el (tooltip-frame-parameters):
13939 * newcomment.el (comment-end, comment-padding):
13940 * dired.el (dired-trivial-filenames):
13941 * comint.el (comint-file-name-prefix): Purecopy initial values.
13943 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13945 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13946 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13948 (tramp-advice-make-auto-save-file-name)
13949 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13950 after removing the advice.
13952 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13954 * progmodes/grep.el (grep-regexp-alist):
13955 * international/mule-cmds.el (iso-2022-control-alist):
13956 * emacs-lisp/timer.el (timer-duration-words):
13957 * subr.el (version-separator, version-regexp-alist):
13958 * minibuffer.el (completion-styles-alist):
13959 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13960 Change defvars to defconsts.
13962 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13963 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13964 * international/mule-conf.el: Allow to be byte compiled.
13966 * international/mule.el (define-charset): Purecopy props.
13967 (load-with-code-conversion): Purecopy doc string and file name.
13968 (put-charset-property): Purecopy strings.
13969 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13971 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13972 (define-char-code-property): Correctly purecopy the table.
13974 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13976 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13978 * subr.el (add-hook): Purecopy strings.
13979 (eval-after-load): Purecopy load-history-regexp and the form.
13981 * custom.el (custom-declare-group): Purecopy load-file-name.
13983 * subr.el (menu-bar-separator): New defconst.
13984 * net/eudc.el (eudc-tools-menu):
13985 * international/mule-cmds.el (set-coding-system-map)
13986 (mule-menu-keymap):
13987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13988 * vc-hooks.el (vc-menu-map):
13989 * replace.el (occur-mode-map):
13990 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13991 (menu-bar-edit-menu, menu-bar-goto-menu)
13992 (menu-bar-custom-menu, menu-bar-showhide-menu)
13993 (menu-bar-options-menu, menu-bar-tools-menu)
13994 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13995 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13996 (menu-bar-help-menu):
13997 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13998 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14000 * term/x-win.el (x-gtk-stock-map):
14001 * progmodes/vera-mode.el (auto-mode-alist):
14002 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14003 (inferior-lisp-program, inferior-lisp-load-command):
14004 * progmodes/hideshow.el (hs-special-modes-alist):
14005 * progmodes/gud.el (same-window-regexps):
14006 * progmodes/grep.el (grep-program, find-program, xargs-program):
14007 * net/telnet.el (same-window-regexps):
14008 * net/rlogin.el (same-window-regexps):
14009 * language/ethiopic.el (font-ccl-encoder-alist):
14010 * vc-sccs.el (vc-sccs-master-templates):
14011 * vc-rcs.el (vc-rcs-master-templates):
14012 * subr.el (cl-assertion-failed):
14013 * simple.el (next-error-overlay-arrow-position):
14014 * lpr.el (lpr-command):
14015 * locate.el (locate-ls-subdir-switches):
14016 * info.el (same-window-regexps, info)
14017 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14018 * image-mode.el (image-mode, auto-mode-alist):
14019 * hippie-exp.el (hippie-expand-ignore-buffers):
14020 * format.el (format-alist):
14021 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14023 * facemenu.el (facemenu-keybindings):
14024 * dired.el (dired-listing-switches, dired-chown-program):
14025 * diff.el (diff-switches, diff-command):
14026 * cus-edit.el (same-window-regexps):
14027 * bindings.el (mode-line-mule-info)
14028 (mode-line-buffer-identification): Purecopy strings.
14030 2009-11-11 Juri Linkov <juri@jurta.org>
14032 * simple.el (dired-get-filename) <declare-function>:
14033 Tell the byte-compiler about dired-get-filename.
14034 (shell-command): In Dired mode, get filename from the current line
14035 as the default value.
14037 2009-11-10 Glenn Morris <rgm@gnu.org>
14039 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14040 * calendar/holidays.el, progmodes/cperl-mode.el:
14041 Update x-popup-menu declarations.
14043 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14044 (list-load-path-shadows): Use dolist.
14045 (list-load-path-shadows): Use with-current-buffer.
14047 2009-11-10 Juri Linkov <juri@jurta.org>
14049 * minibuffer.el (read-file-name): Support a list of default values
14050 in `default-filename'. Use the first file name where only one
14051 element is required. Doc fix.
14053 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14055 * net/dbus.el (dbus-unregister-object): Release service, if no
14056 other method is registered for it.
14058 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14060 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14061 bookmark-sort-flag is non-nil (Bug#4653).
14063 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14065 * emulation/cua-base.el: Add CUA property to some CC mode commands
14068 2009-11-08 Kevin Ryde <user42@zip.com.au>
14070 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14071 at end of sentence (Bug#4818).
14073 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14076 Handle "see declaration of" MSFT statements (Bug#4100).
14078 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14080 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14081 (tramp-advice-file-expand-wildcards): Unload via
14082 `ad-remove-advice'.
14084 * net/trampver.el: Update release number.
14086 2009-11-08 Kevin Ryde <user42@zip.com.au>
14088 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14091 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14093 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14094 in order to keep context in SELinux.
14096 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14098 * dired-aux.el (dired-query): Place cursor in echo area and allow
14101 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14102 menu item if not on a directory (Bug#4701).
14104 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14106 Sync with Tramp 2.1.17.
14108 * net/tramp.el (tramp-handle-copy-directory): Don't use
14109 `file-remote-p' (due to compatibility).
14111 * net/tramp-compat.el (tramp-compat-copy-directory)
14112 (tramp-compat-delete-directory): New defuns.
14114 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14115 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14116 Use `tramp-compat-delete-directory'.
14118 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14119 (tramp-smb-handle-delete-directory):
14120 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14122 * net/trampver.el: Update release number.
14124 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14126 * tar-mode.el (tar-copy): Call write-region on the right buffer
14129 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14130 by hand, if necessary (Bug#4878).
14132 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14134 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14135 align size column (Bug#4839).
14137 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14140 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14142 * progmodes/ld-script.el (auto-mode-alist):
14143 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14145 * cus-face.el (custom-declare-face): Purecopy face spec.
14147 2009-11-06 Kenichi Handa <handa@m17n.org>
14149 * international/uni-bidi.el: Re-generated.
14150 * international/uni-category.el: Re-generated.
14151 * international/uni-combining.el: Re-generated.
14152 * international/uni-mirrored.el: Re-generated.
14154 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14156 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14157 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14158 (tex-start-options, slitex-run-command, latex-run-command)
14159 (tex-run-command, tex-directory):
14160 * textmodes/ispell.el (ispell-html-skip-alists)
14161 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14162 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14163 (adaptive-fill-regexp):
14164 * textmodes/dns-mode.el (auto-mode-alist):
14165 * progmodes/python.el (interpreter-mode-alist):
14166 * progmodes/etags.el (tags-compression-info-list):
14167 * progmodes/etags.el (tags-file-name):
14168 * net/browse-url.el (browse-url-galeon-program)
14169 (browse-url-firefox-program):
14170 * mail/sendmail.el (mail-signature-file)
14171 (mail-citation-prefix-regexp):
14172 * international/mule-conf.el (eight-bit):
14173 * international/latexenc.el (latex-inputenc-coding-alist):
14174 * international/fontset.el (x-pixel-size-width-font-regexp):
14175 * emacs-lisp/warnings.el (warning-type-format):
14176 * emacs-lisp/trace.el (trace-buffer):
14177 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14178 (emacs-lisp-mode-map):
14179 * calendar/holidays.el (holiday-solar-holidays)
14180 (holiday-bahai-holidays, holiday-islamic-holidays)
14181 (holiday-christian-holidays, holiday-hebrew-holidays)
14182 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14183 (hebrew-holidays-1, holiday-oriental-holidays)
14184 (holiday-general-holidays):
14185 * x-dnd.el (x-dnd-known-types):
14186 * tool-bar.el (tool-bar):
14187 * startup.el (site-run-file):
14188 * shell.el (shell-dumb-shell-regexp):
14189 * rfn-eshadow.el (file-name-shadow-tty-properties)
14190 (file-name-shadow-properties):
14191 * paths.el (remote-shell-program, news-directory):
14192 * mouse.el ([C-down-mouse-3]):
14193 * menu-bar.el (menu-bar-tools-menu):
14194 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14195 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14196 (jka-compr-compression-info-list):
14197 * isearch.el (search-whitespace-regexp):
14198 * image-file.el (image-file-name-extensions):
14199 * find-dired.el (find-ls-option):
14200 * files.el (directory-listing-before-filename-regexp)
14201 (directory-free-space-args, insert-directory-program)
14202 (list-directory-brief-switches, magic-fallback-mode-alist)
14203 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14204 (automount-dir-prefix):
14205 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14206 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14207 (face-font-registry-alternatives, face-font-registry-alternatives)
14208 (face-font-family-alternatives):
14209 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14210 (facemenu-foreground-menu, facemenu-face-menu):
14211 * epa-hook.el (epa-file-name-regexp):
14212 * dnd.el (dnd-protocol-alist):
14213 * textmodes/rst.el (auto-mode-alist):
14214 * button.el (default-button): Purecopy strings.
14216 2009-11-06 Glenn Morris <rgm@gnu.org>
14218 * Makefile.in (ELCFILES): Update.
14220 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14222 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14223 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14225 * nxml/xsd-regexp.el (xsdre-gen-categories):
14226 * nxml/xmltok.el (xmltok-parse-entity):
14227 * nxml/rng-parse.el (rng-parse-validate-file):
14228 * nxml/rng-maint.el (rng-format-manual)
14229 (rng-manual-output-force-new-line):
14230 * nxml/rng-loc.el (rng-save-schema-location-1):
14231 * nxml/rng-cmpct.el (rng-c-parse-file):
14232 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14233 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14235 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14237 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14238 Remove extra save-excursions and make-variable-buffer-local's.
14239 Suggested by Stefan Monnier.
14241 (verilog-getopt-file, verilog-module-inside-filename-p)
14242 (verilog-set-define): Merge GNU 1.35 and repair changes from
14243 switching to using with-current-buffer.
14245 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14246 being treated as a number and confusing AUTORESET.
14247 Reported by Dan Dever.
14249 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14250 Add verilog-auto-ignore-concat to fix backward compatibility with
14251 older verilog-modes. Reported by Dan Katz.
14253 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14254 containing closing anchors "...$".
14256 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14257 Reported by Wade Smith.
14259 (verilog-batch-execute-func): Comment on function usage.
14261 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14263 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14266 (verilog-label-re, verilog-calc-1): Support proper indent of named
14269 (verilog-backward-token, verilog-basic-complete-re)
14270 (verilog-beg-of-statement, verilog-indent-re): Support proper
14271 indent of the assert statement at the beginning of a block of text.
14273 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14274 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14277 2009-11-05 Glenn Morris <rgm@gnu.org>
14279 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14280 Emacs 19. (Bug#1531)
14281 (byte-compile-fix-header): Update for the above change.
14282 Drop test for epoch::version.
14284 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14285 * cus-dep.el (custom-make-dependencies):
14286 * finder.el (finder-compile-keywords):
14287 Use autoload-rubric's feature argument.
14289 * calendar/diary-lib.el (top-level): Make load behave more like require.
14291 * vc-git.el (vc-git-stash-map): Move definition before use.
14293 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14295 * custom.el (custom-declare-group): Purecopy standard-value.
14296 (custom-declare-group): Purecopy custom-prefix.
14298 * international/mule.el (load-with-code-conversion):
14299 Call do-after-load-evaluation unconditionally.
14301 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14303 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14305 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14307 2009-11-04 Glenn Morris <rgm@gnu.org>
14309 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14310 (byte-compile-compatibility): Remove option.
14311 (byte-compile-close-variables, byte-compile-fix-header)
14312 (byte-compile-insert-header, byte-compile-output-docform)
14313 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14314 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14315 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14316 (byte-compile-insert, byte-compile-defun):
14317 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14318 (byte-defop-compiler19): Remove.
14319 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14320 used by anything. Replace all calls with byte-defop-compiler.
14322 2009-11-04 Juri Linkov <juri@jurta.org>
14324 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14325 (menu-bar-options-menu): Don't quote the `prop' arg of
14326 `menu-bar-make-mm-toggle'.
14328 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14330 * calendar/calendar.el (cal-loaddefs):
14331 * calendar/diary-lib.el (diary-loaddefs):
14332 * calendar/holidays.el (hol-loaddefs):
14333 * eshell/esh-module.el (esh-groups): Load rather than require.
14335 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14339 (todo-top-priorities): Only display-buffer when called interactively.
14340 (todo-item-start): Don't save excursion point.
14341 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14342 (todo-insert-item-here, todo-file-item, todo-remove-item):
14343 Adjust uses of todo-item-start and todo-item-end.
14345 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14346 (autoload-rubric): Don't use any more.
14348 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14349 and only put a prop if it is non-nil.
14351 2009-11-03 Juri Linkov <juri@jurta.org>
14353 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14354 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14356 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14357 and "Menu" to make top-level menu item visually one unit (like
14358 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14359 multi-word menu items). Fix :help string for quit-window.
14361 2009-11-03 Glenn Morris <rgm@gnu.org>
14363 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14364 (byte-compile-file-form-define-abbrev-table)
14365 (byte-compile-file-form-custom-declare-variable)
14366 (byte-compile-variable-ref, byte-compile-defvar):
14367 Whether or not a warning is enabled should only affect whether we issue
14368 the warning, not whether or not we collect the relevant data.
14369 Eg warnings can be turned on and off throughout the course of a file.
14371 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14372 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14374 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14376 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14377 * play/mpuz.el (mpuz-create-buffer):
14378 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14379 (lm-print-y,s,noise, lm-print-w0, lm-init):
14380 * play/gomoku.el (gomoku-prompt-for-move):
14381 * play/fortune.el (fortune-in-buffer):
14382 * play/dissociate.el (dissociated-press):
14383 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14384 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14385 * mail/supercite.el (sc-eref-show):
14386 * mail/smtpmail.el (smtpmail-send-it):
14387 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14388 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14389 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14390 (rmail-summary-goto-msg, rmail-summary-expunge)
14391 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14392 (rmail-summary-add-label, rmail-summary-output-menu)
14393 (rmail-summary-output-body):
14394 * mail/rfc822.el (rfc822-addresses):
14395 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14396 * mail/mailpost.el (post-mail-send-it):
14397 * mail/hashcash.el (hashcash-generate-payment):
14398 * mail/feedmail.el (feedmail-run-the-queue)
14399 (feedmail-queue-send-edit-prompt-help-first)
14400 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14401 (feedmail-deduce-address-list):
14402 * eshell/esh-ext.el (eshell-remote-command):
14403 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14404 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14405 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14406 (viper-save-string-in-file, viper-valid-marker):
14407 * emulation/viper-keym.el (viper-toggle-key):
14408 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14409 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14410 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14411 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14412 (viper-exec-form-in-emacs, viper-brac-function):
14413 * emulation/viper.el (viper-delocalize-var):
14414 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14415 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14416 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14417 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14418 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14419 * emulation/edt.el (edt-electric-helpify):
14420 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14421 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14422 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14423 (cua-indent-to-global-mark-column):
14424 * calendar/diary-lib.el (calendar-mark-1):
14425 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14426 Use with-current-buffer.
14427 * emulation/viper.el (viper-delocalize-var): Use dolist.
14429 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14431 * comint.el (comint-replace-by-expanded-history-before-point):
14432 Replace !! with the previous input string literally (Bug#1795).
14434 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14436 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14437 to be made up of whitespace.
14439 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14441 * minibuffer.el (read-file-name): Don't use file dialogs for
14442 remote directories (Bug#99).
14444 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14446 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14448 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14450 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14451 instead of deleting the window or frame.
14453 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14455 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14456 Support face colors.
14458 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14459 New function. Support face colors (Bug#1168).
14460 (tex-common-initialization): Use it.
14462 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14463 mode allows it (Bug#1168).
14465 2009-10-31 Juri Linkov <juri@jurta.org>
14467 * facemenu.el (list-colors-display): Don't mark buffer as
14468 modified (Bug#3948).
14470 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14472 * international/mule-diag.el (list-character-sets-1):
14473 Minor message fix (Bug#3526).
14475 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14476 Fix face property (Bug#4834).
14477 (etags-list-tags, etags-tags-apropos-additional)
14478 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14481 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14484 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14486 * textmodes/two-column.el (2C-split):
14487 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14488 * textmodes/tex-mode.el (tex-set-buffer-directory):
14489 * textmodes/spell.el (spell-region, spell-string):
14490 * textmodes/reftex.el (reftex-erase-buffer):
14491 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14492 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14493 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14494 (reftex-select-item):
14495 * textmodes/reftex-ref.el (reftex-label-info-update)
14496 (reftex-offer-label-menu):
14497 * textmodes/reftex-index.el (reftex-index-change-entry)
14498 (reftex-index-phrases-info):
14499 * textmodes/reftex-global.el (reftex-create-tags-file)
14500 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14501 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14502 (reftex-view-crossref-from-bibtex):
14503 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14504 (reftex-extract-bib-entries-from-thebibliography)
14505 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14506 * textmodes/refbib.el (r2b-capitalize-title):
14507 (r2b-convert-buffer, r2b-help):
14508 * textmodes/page-ext.el (pages-directory)
14509 (pages-directory-goto-with-mouse):
14510 * textmodes/bibtex.el (bibtex-validate-globally):
14511 * textmodes/bib-mode.el (bib-capitalize-title):
14512 * textmodes/artist.el (artist-clear-buffer, artist-system):
14513 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14514 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14515 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14516 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14517 (xscheme-send-control-g-interrupt, xscheme-start-process)
14518 (xscheme-process-sentinel, xscheme-cd):
14519 * progmodes/verilog-mode.el (verilog-read-always-signals)
14520 (verilog-set-define, verilog-getopt-file)
14521 (verilog-module-inside-filename-p):
14522 * progmodes/sh-script.el:
14523 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14524 (python-pdbtrack-grub-for-buffer, python-execute-file):
14525 * progmodes/octave-inf.el (inferior-octave):
14526 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14527 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14528 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14529 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14530 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14531 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14532 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14533 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14534 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14535 (idlwave-shell-examine-display, idlwave-shell-run-region)
14536 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14537 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14538 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14539 (idlwave-help-get-help-buffer):
14540 * progmodes/gud.el (gud-basic-call, gud-find-class)
14541 (gud-tooltip-activate-mouse-motions-if-enabled):
14542 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14543 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14544 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14545 (ebrowse-tags-next-file):
14546 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14547 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14548 (ebnf-eps-finish-and-write):
14549 * progmodes/cpp.el (cpp-edit-save):
14550 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14551 * progmodes/cc-defs.el (c-emacs-features):
14552 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14553 (antlr-directory-dependencies):
14554 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14555 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14556 (ada-find-any-references, ada-make-filename-from-adaname)
14557 (ada-make-body-gnatstub):
14558 * obsolete/rnews.el (news-list-news-groups):
14559 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14560 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14561 * net/rcirc.el (rcirc-debug):
14562 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14563 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14564 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14565 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14566 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14567 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14568 (newsticker--treeview-list-clear-highlight)
14569 (newsticker--treeview-list-update-highlight)
14570 (newsticker--treeview-list-highlight-start)
14571 (newsticker--treeview-tree-update-highlight)
14572 (newsticker--treeview-get-selected-item)
14573 (newsticker-treeview-mark-list-items-old)
14574 (newsticker--treeview-set-current-node):
14575 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14576 * net/newst-backend.el (newsticker--get-news-by-funcall)
14577 (newsticker--get-news-by-wget, newsticker--image-get)
14578 (newsticker--image-sentinel):
14579 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14580 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14581 (eudc-ph-close-session):
14582 * net/eudc.el (eudc-save-options):
14583 * language/thai-word.el (thai-update-word-table):
14584 * language/japan-util.el (japanese-string-conversion):
14585 * international/titdic-cnv.el (tsang-quick-converter)
14586 (ziranma-converter, ctlau-converter):
14587 * international/mule-cmds.el (describe-language-environment):
14588 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14589 (skkdic-convert-postfix, skkdic-convert-prefix):
14590 (skkdic-convert-okuri-nasi, skkdic-convert):
14591 * emacs-lisp/re-builder.el (reb-update-overlays):
14592 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14593 * emacs-lisp/gulp.el (gulp-send-requests):
14594 * emacs-lisp/find-gc.el (trace-call-tree):
14595 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14596 (eieio-describe-generic):
14597 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14598 * emacs-lisp/edebug.el (edebug-outside-excursion):
14599 * emacs-lisp/debug.el (debugger-make-xrefs):
14600 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14601 * emacs-lisp/chart.el (chart-new-buffer):
14602 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14603 Use with-current-buffer.
14604 * textmodes/artist.el (artist-system): Don't call
14605 copy-sequence on a fresh string.
14606 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14608 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14610 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14611 is no item to edit. (Bug#4820)
14612 (todo-top-priorities): Restore point and restore narrowing in Todo
14615 2009-10-31 Glenn Morris <rgm@gnu.org>
14617 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14618 (comint-last-output-start, comint-last-input-start)
14619 (comint-last-input-end): Don't defvar when compiling.
14620 (ange-ftp-process-file): Use bound-and-true-p.
14622 * pcmpl-rpm.el (top-level): Move provide statement to end.
14623 (pcmpl-rpm): Remove unused custom group.
14625 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14627 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14629 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14630 (byte-compile-warnings): Add `constants' as an option.
14631 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14632 (display-call-tree): Update for byte-compile-fdefinition possibly
14633 returning `(macro lambda ...)'. (Bug#4778)
14634 (byte-compile-variable-ref, byte-compile-setq-default):
14635 Respect `constants' member of byte-compile-warnings.
14637 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14639 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14640 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14643 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14645 * textmodes/ispell.el (ispell-skip-region-alist):
14646 * international/mule-conf.el (eight-bit):
14647 * international/fontset.el (font-encoding-alist):
14648 * startup.el (pure-space-overflow-message):
14649 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14650 * paths.el (gnus-nntp-service, rmail-spool-directory)
14651 (term-file-prefix):
14652 * files.el (save-some-buffers-action-alist):
14653 * cmuscheme.el (same-window-buffer-names):
14654 * ielm.el (same-window-buffer-names):
14655 * shell.el (same-window-buffer-names):
14656 * mail/sendmail.el (same-window-buffer-names):
14657 * progmodes/inf-lisp.el (same-window-buffer-names):
14658 * bindings.el (mode-line-client)
14659 (mode-line-column-line-number-mode-map):
14660 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14661 (tibetan-precomposed-regexp): Purecopy string arguments.
14663 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14665 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14666 (calcDigit-nondigit):
14667 * calc/calc-yank.el (calc-copy-to-buffer):
14668 * calc/calc-units.el (calc-invalidate-units-table):
14669 * calc/calc-trail.el (calc-trail-yank):
14670 * calc/calc-store.el (calc-insert-variables):
14671 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14672 * calc/calc-prog.el (calc-read-parse-table):
14673 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14674 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14675 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14676 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14677 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14678 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14679 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14680 * calc/calc-ext.el (calc-realign):
14681 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14682 (calc-embedded-finish-edit, calc-embedded-make-info)
14683 (calc-embedded-finish-command, calc-embedded-stack-change):
14684 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14686 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14687 shell-dynamic-complete-filename in preference to
14688 comint-dynamic-complete-filename.
14690 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14691 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14692 Don't consider whether the display supports colors.
14693 (bookmark-import-new-list): Use dolist.
14694 (bookmark-bmenu-mode-map): Move initialization into declaration.
14695 (bookmark-bmenu-list): Use dolist, simplify.
14696 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14697 (menu-bar-final-items): Use push.
14699 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14701 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14702 it works on remote files.
14703 (vc-hg-diff): Don't pass any `--cwd' argument.
14705 2009-10-27 Kevin Ryde <user42@zip.com.au>
14707 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14708 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14709 (Further to Bug#3921).
14711 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14713 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14714 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14715 calling `tramp-imap-put-file'. Add file size to the call.
14716 (tramp-imap-get-file-entries): Compute also user name, file size,
14718 (tramp-imap-handle-insert-directory): Insert uid and gid.
14719 (tramp-imap-handle-file-attributes): Transform uid and gid
14720 according to `id-format'.
14721 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14722 size in header X-Size.
14724 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14726 * simple.el (transpose-subr): Give clearer error when the mark
14727 is not set. (Bug#4807)
14729 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14731 * net/tramp.el (tramp-perl-file-truename): New defconst.
14732 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14733 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14734 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14735 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14737 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14738 Ignore `dired-call-process'.
14739 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14741 2009-10-26 Julian Scheid <julians37@gmail.com>
14743 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14744 (tramp-get-remote-readlink): New defun.
14745 (tramp-handle-file-truename): Use it.
14746 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14747 file exists if cache value present.
14748 (tramp-check-cached-permissions): New defun.
14749 (tramp-handle-file-readable-p): Use it.
14750 (tramp-handle-file-writable-p): Likewise.
14751 (tramp-handle-file-executable-p): Likewise.
14752 (tramp-handle-file-name-all-completions): Try using Perl to get
14753 partial completions. When perl not available, combine `cd' and
14754 `ls' into single remote operation and use shell expansion to get
14755 partial remote directory contents. Set `file-exists-p' cache for
14756 directory and any files returned by ls. Change cache handling to
14757 support partial directory contents. Use error message emitted by
14758 remote `cd' or Perl code for local tramp-error.
14759 (tramp-do-copy-or-rename-file-directly): Avoid separate
14760 tramp-send-command-and-check call.
14761 (tramp-handle-process-file): Merge three remote ops into one.
14762 Do not flush all caches when `process-file-side-effects' is set.
14763 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14764 file-attributes shows uid/gid to be set already.
14766 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14768 * textmodes/tex-mode.el (tex-dvi-view-command)
14769 (tex-show-queue-command, tex-open-quote):
14770 * progmodes/ruby-mode.el (auto-mode-alist)
14771 (interpreter-mode-alist): Purecopy strings.
14773 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14775 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14776 string for the hook, keymap and abbrev table.
14778 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14780 * x-dnd.el (x-dnd-xdnd-to-action):
14781 * startup.el (fancy-startup-text, fancy-about-text): Change to
14782 defconst from defvar.
14784 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14786 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14787 Purecopy initialization strings.
14789 * mail/sendmail.el (mail-header-separator)
14790 (mail-personal-alias-file):
14791 * mail/rmail.el (rmail-default-dont-reply-to-names)
14792 (rmail-ignored-headers, rmail-retry-ignored-headers)
14793 (rmail-highlighted-headers, rmail-secondary-file-directory)
14794 (rmail-secondary-file-regexp):
14795 * files.el (null-device, file-name-invalid-regexp)
14796 (locate-dominating-stop-dir-regexp)
14797 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14798 (interpreter-mode-alist): Use mapcar instead of mapc.
14800 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14802 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14803 (completion-ignored-extensions):
14804 (debug-ignored-errors): Purecopy strings.
14806 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14808 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14809 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14810 (pcomplete--here): Use push.
14812 * subr.el (all-completions): Declare the 4th arg obsolete.
14814 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14816 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14817 (pcomplete-unquote-argument): New function.
14818 (pcomplete--common-suffix): Always pay attention to case.
14819 (pcomplete--table-subvert): Quote and unquote the text.
14820 (pcomplete--common-quoted-suffix): New function.
14821 (pcomplete-std-complete): Use it and pcomplete-begin.
14823 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14824 we're inside a dedicated or minibuffer window.
14826 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14828 * bookmark.el: Update documentation, especially documentation
14829 of `bookmark-alist' and of the bookmark file format.
14830 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14832 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14834 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14835 keybindings apply to the mail buffer (Bug#4003). Shrink help
14838 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14839 (global-whitespace-mode, global-whitespace-newline-mode)
14840 (whitespace-toggle-options, global-whitespace-toggle-options):
14841 Doc fix (Bug#3660).
14843 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14844 of xmltok-start before the end tag was inserted (Bug#2840).
14846 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14847 patterns that are preceded by an open-paren (Bug#1320).
14849 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14851 * files.el (delete-directory): Delete symlinks to directories with
14852 delete-file (Bug#4739).
14854 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14856 * vc.el (vc-backend-for-registration): Rename from
14857 vc-get-backend-for-registration. Update callers.
14859 * international/mule-cmds.el (set-language-info-alist):
14861 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14862 (charset): Purecopy the name.
14863 (define-char-code-property): Purecopy string arguments.
14865 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14866 Purecopy string arguments.
14868 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14869 * ediff-hook.el (menu-bar-ediff-menu):
14870 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14871 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14873 2009-10-24 Glenn Morris <rgm@gnu.org>
14875 * comint.el (comint-dynamic-list-completions):
14876 * term.el (term-dynamic-list-completions): Use choose-completion rather
14877 than obsolete alias mouse-choose-completion.
14879 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14880 file-cache-choose-completion.
14881 (file-cache-choose-completion): Handle an optional event argument.
14882 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14884 * progmodes/octave-mod.el (octave-complete-symbol):
14885 Use choose-completion if mouse-choose-completion is ever removed.
14887 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14890 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14893 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14895 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14897 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14898 Ignore `pred' now that we receive one.
14899 Handle test-completion specially.
14901 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14903 * vc.el (vc-responsible-backend): Throw an error if not backend is
14904 found. Remove the REGISTER argument. Move the code dealing with
14906 (vc-get-backend-for-registration): ... here. New function.
14907 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14908 of vc-responsible-backend, pass the file name instead of the
14911 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14913 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14915 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14916 (pcomplete-comint-setup): Don't modify a global var via
14917 accidental side-effects.
14918 (pcomplete-shell-setup): Adjust call accordingly.
14919 (pcomplete-parse-comint-arguments): Use push.
14921 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14923 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14924 Allow uncapitalized info node names (Bug#3921).
14926 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14927 to the DEBUG file (Bug#3781).
14929 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14931 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14932 dictionary entry (Bug#4579).
14934 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14936 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14937 from `rfn-eshadow-update-overlay-hook' when unloading.
14938 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14939 "rsyncc". Adjust doc string.
14940 (tramp-temp-buffer-file-name): New buffer-local defvar.
14941 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14942 Keep temporary file when indicated by method ("rsync" and
14944 (tramp-handle-write-region): Handle APPEND.
14945 (tramp-delete-temp-file-function): New defun. Added to
14946 `kill-buffer-hook'.
14948 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14950 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14952 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14954 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14955 (color-name-rgb-alist, tty-standard-colors)
14956 (tty-color-mode-alist): Change to defconst.
14958 * simple.el (mark-inactive): Purecopy message.
14960 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14961 (global-map, yank-menu):
14962 * textmodes/ispell.el (ispell-menu-map):
14963 * net/eudc.el (eudc-tools-menu):
14964 * international/mule-cmds.el (describe-language-environment-map)
14965 (setup-language-environment-map, set-coding-system-map)
14966 (mule-menu-keymap):
14967 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14968 * replace.el (occur-mode-map):
14969 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14971 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14973 * calc/calc.el (math-read-number, math-read-number-simple):
14974 Use `save-match-data'.
14976 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14978 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14979 rather than fiddling with global-map bindings, since it should only
14980 affect per-terminal settings.
14981 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14983 * minibuffer.el (completion-table-with-terminator): Allow to specify
14984 the terminator-regexp.
14986 * simple.el (switch-to-completions): Look for *Completions* in other
14989 * pcomplete.el: Allow the use of completion-tables.
14990 (pcomplete-std-complete): New command.
14991 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14992 (pcomplete--here): Use a function for `form' rather than an expression,
14993 so it can be byte-compiled.
14994 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14995 Add edebug declaration.
14996 (pcomplete-show-completions): Remove unused var `curbuf'.
14997 (pcomplete-do-complete, pcomplete-stub):
14998 Don't assume `completions' is a list of strings any more.
15000 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15002 * find-dired.el (find-name-arg): Fix typo in docstring.
15004 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15006 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15007 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15009 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15012 * comint.el (comint-read-input-ring, comint-write-input-ring)
15013 (comint-substitute-in-file-name)
15014 (comint-dynamic-complete-as-filename)
15015 (comint-dynamic-simple-complete)
15016 (comint-dynamic-list-filename-completions)
15017 (comint-dynamic-list-completions)
15018 (comint-redirect-results-list-from-process): Minor simplifications.
15020 2009-10-21 Kevin Ryde <user42@zip.com.au>
15022 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15023 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15024 the first form. And insert a blank line after ";;; Code" since
15025 that's usual style. (Bug#4612)
15027 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15029 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15031 * minibuffer.el (completion-table-with-terminator): Properly implement
15032 boundaries, in case `terminator' appears in the suffix.
15033 (completion--embedded-envvar-table): Don't return boundaries if
15034 there's no valid completion. Simplify.
15035 (completion-file-name-table): New completion table extracted from
15036 completion--file-name-table.
15037 (completion--file-name-table): Use it.
15038 (read-file-name-predicate): Declare obsolete.
15039 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15040 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15041 completion-file-name-table, and use the `pred' argument.
15042 * files.el (locate-file-completion-table): Use the `pred' arg rather
15043 than read-file-name-predicate.
15044 (abbreviate-file-name): Use \` rather than ^ for BOS.
15046 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15048 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15049 vc-responsible-backend to register, it causes problems.
15051 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15053 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15055 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15057 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15058 (tramp-smb-handle-file-attributes): Use it.
15059 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15060 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15061 `mapcar'. Use `tramp-smb-get-stat-capability'.
15062 Add `dired-filename' text properties.
15063 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15064 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15067 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15069 * subr.el (read-key-delay): Reduce to 0.01.
15070 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15073 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15075 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15077 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15078 (Info-menu): Remove unused vars `last' and `completions'.
15079 (Info-index-nodes): Remove unused var `node'.
15081 * info.el (Info-complete-menu-item): Use complete-with-action.
15083 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15085 Make vc-annotate work through copies and renames.
15086 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15087 Return the file name too.
15088 (vc-annotate-revision-at-line)
15089 (vc-annotate-find-revision-at-line)
15090 (vc-annotate-revision-previous-to-line)
15091 (vc-annotate-show-log-revision-at-line): Update to get the file
15092 name from vc-annotate-extract-revision-at-line.
15093 (vc-annotate-show-diff-revision-at-line-internal): Change the
15094 argument to mean whether to show a file diff or not. Get the file
15095 name from vc-annotate-extract-revision-at-line.
15096 (vc-annotate-show-diff-revision-at-line):
15097 Update vc-annotate-show-diff-revision-at-line call.
15098 (vc-annotate-warp-revision): Add an optional file argument.
15100 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15101 (vc-git-annotate-extract-revision-at-line): Also return the file
15104 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15105 command. Remove unused code.
15106 (vc-hg-annotate-re): Update to match --follow output.
15107 (vc-hg-annotate-extract-revision-at-line): Also return the file
15110 * vc.el: Update annotate-extract-revision-at-line documentation.
15112 2009-10-18 Kevin Ryde <user42@zip.com.au>
15114 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15115 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15117 * net/browse-url.el (browse-url): Identify alist with "consp and
15118 not functionp" and let all other things go down the `apply' leg,
15119 as suggested by Stefan. (Further to bug#4531.)
15121 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15123 * minibuffer.el (read-file-name): Check for repeat before putting
15124 a default argument in file-name-history (Bug#4657).
15126 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15127 read syntax (Bug#4737).
15129 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15131 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15133 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15134 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15135 entries and make note of obsolete tags.
15137 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15139 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15141 2009-10-18 Glenn Morris <rgm@gnu.org>
15143 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15144 grep, so that binary files (eg international/uni-bidi.el) can match.
15145 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15146 now, and in any case the file header format has changed.
15148 2009-10-17 Glenn Morris <rgm@gnu.org>
15150 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15151 (flyspell-get-word, flyspell-large-region)
15152 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15154 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15156 * Makefile.in (ELCFILES): Add ede/shell.
15158 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15160 * term/common-win.el (x-colors): Purecopy it.
15162 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15164 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15165 permissive for when the buffer is empty.
15166 (tar-header-block-tokenize): Decode the username and groupname.
15167 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15169 2009-10-17 Eric Ludlam <zappo@gnu.org>
15171 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15172 contains multibyte characters, choose first applicable coding
15173 system automatically.
15175 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15177 * international/mule-cmds.el (select-safe-coding-system): If the file
15178 has a coding cookie, use it regardless of any other setting (bug#4712).
15180 2009-10-17 Glenn Morris <rgm@gnu.org>
15182 * foldout.el (foldout-mouse-swallow-events):
15183 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15185 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15186 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15187 (dired-keep-marker-symlink, dired-dwim-target)
15188 (dired-copy-preserve-time): Do not autoload these defcustoms.
15190 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15191 messages from messing up the file coding. (Bug#4623)
15193 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15195 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15196 if no match is found for the current dictionary. (Bug#4578)
15198 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15199 optional, since that is how it is documented, and this is often called
15200 with a nil argument. (Bug#4577)
15201 (flyspell-external-point-words, flyspell-auto-correct-word)
15202 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15203 (flyspell-word-search-backward): Remove nil argument in calls to
15204 flyspell-get-word, since it is not needed now.
15206 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15208 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15210 2009-10-16 Glenn Morris <rgm@gnu.org>
15212 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15214 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15216 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15217 (ange-ftp-file-size): New function.
15218 (ange-ftp-file-attributes): Use it.
15220 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15222 * net/tramp-smb.el (tramp-smb-version): New defvar.
15223 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15226 2009-10-16 Glenn Morris <rgm@gnu.org>
15228 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15229 Maybe copy some custom properties from old to new name. (Bug#4706)
15231 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15233 * subr.el (error, sit-for, start-process-shell-command)
15234 (start-file-process-shell-command): Set the calling convention
15235 after the function definition.
15237 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15239 * subr.el (error, sit-for, start-process-shell-command)
15240 (start-file-process-shell-command): Use the new
15241 set-advertised-calling-convention feature.
15243 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15245 * international/ucs-normalize.el (ucs-normalize-version):
15247 (check-range): Adjust for Unicode 5.2.
15249 2009-10-15 Juri Linkov <juri@jurta.org>
15251 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15252 to the `menu-item' format.
15254 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15256 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15257 if the environment variable does not exist.
15259 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15260 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15262 (tramp-smb-handle-add-name-to-file)
15263 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15264 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15265 (tramp-smb-handle-file-attributes)
15266 (tramp-smb-do-file-attributes-with-stat)
15267 (tramp-smb-handle-file-local-copy)
15268 (tramp-smb-handle-insert-directory)
15269 (tramp-smb-handle-make-directory)
15270 (tramp-smb-handle-make-directory-internal)
15271 (tramp-smb-handle-make-symbolic-link)
15272 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15273 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15274 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15275 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15276 Handle long file names.
15277 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15278 process is running.
15279 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15280 Read share names with "-g" option.
15282 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15284 * net/rcirc.el (rcirc-view-log-file): New command.
15285 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15286 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15289 2009-10-15 Glenn Morris <rgm@gnu.org>
15291 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15292 from the second command-line argument.
15293 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15294 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15295 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15296 w32-batch-update-autoloads.
15297 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15298 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15300 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15301 the headers cannot be located. Simplify, subtracting superflous
15304 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15306 Replace completion-base-size by completion-base-position to fix bugs
15307 such as (bug#4699).
15308 * simple.el (completion-base-position): New var.
15309 (completion-base-size): Mark as obsolete.
15310 (choose-completion): Make it work for mouse events as well.
15311 Pass the new base-position to choose-completion-string.
15312 (choose-completion-guess-base-position): New function, extracted from
15313 choose-completion-delete-max-match.
15314 (choose-completion-delete-max-match): Use it. Make obsolete.
15315 (choose-completion-string): Use the new base-position info.
15316 (completion-root-regexp): Delete.
15317 (completion-setup-function): Preserve completion-base-position.
15318 Eliminate obsolete base-size manipulation.
15319 * minibuffer.el (display-completion-list): Don't mess with base-size.
15320 (minibuffer-completion-help): Set completion-base-position instead.
15321 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15323 * textmodes/bibtex.el (bibtex-complete):
15324 * emacs-lisp/crm.el (crm--choose-completion-string):
15325 Adjust to new calling convention.
15326 * complete.el (partial-completion-mode): Use minibufferp to avoid
15327 bumping into incompatible change to choose-completion-string-functions.
15328 * ido.el (ido-choose-completion-string): Make its calling convention
15330 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15331 base-size manipulation.
15332 (comint-dynamic-list-input-ring): Use dotimes and push.
15333 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15334 fundamental-mode. Use `or'.
15336 2009-10-14 Juri Linkov <juri@jurta.org>
15338 * misearch.el (multi-isearch-next-buffer-from-list)
15339 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15341 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15346 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15347 string we return is all made up of text from the completions rather
15348 than part from the completions and part from the input (bug#4219).
15350 * ido.el (ido-everywhere): Use define-minor-mode.
15352 * buff-menu.el (list-buffers, ctl-x-map):
15353 Mark the entry points with ;;;###autoload cookies.
15355 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15357 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15358 correctly in the detached head case.
15359 (vc-git-print-log): Remove unused binding.
15361 * vc.el (vc-responsible-backend): When a directory is passed for
15362 for registration create a VC repository if no backend is
15363 responsible for the directory argument.
15364 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15366 * vc.el: Move comments about RCS and SCCS ...
15368 * vc-sccs.el: ... here, respectively.
15370 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15372 * minibuffer.el (completion--file-name-table): Return nil if there's
15373 no file completion, even if substitute-in-file-name changed
15374 the string (bug#4708).
15376 2009-10-13 Juri Linkov <juri@jurta.org>
15378 * files-x.el (read-file-local-variable-value): Don't filter out
15379 minor modes from mode name completion (bug#4664).
15381 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15383 * international/mule-cmds.el (ucs-names): Remove exclusion of
15384 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15386 2009-10-13 Kenichi Handa <handa@m17n.org>
15388 * international/uni-name.el: Regenerated.
15390 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15392 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15393 should be automatically buffer-local, but isn't.)
15395 2009-10-12 Sam Steingold <sds@gnu.org>
15397 * progmodes/compile.el (compilation-next-error-function): Fix the
15398 timestamps if the buffer has been visited before.
15399 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15400 non-anchored patterns, like the perl one (bug#3928).
15402 2009-10-12 Glenn Morris <rgm@gnu.org>
15404 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15407 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15409 * proced.el (proced-unload-function): New function.
15411 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15412 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15415 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15417 2009-10-11 Juri Linkov <juri@jurta.org>
15419 * files-x.el (read-file-local-variable-value):
15420 Provide default value only for bound variables (bug#4664).
15422 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15424 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15425 connection methods like smb.
15427 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15430 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15431 (tramp-smb-file-name-handler-alist): Add handlers for
15432 `add-name-to-file', `make-symbolic-link'.
15433 (tramp-smb-handle-add-name-to-file)
15434 (tramp-smb-do-file-attributes-with-stat)
15435 (tramp-smb-handle-make-symbolic-link)
15436 (tramp-smb-get-cifs-capabilities): New defuns.
15437 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15438 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15439 (tramp-smb-handle-file-local-copy)
15440 (tramp-smb-handle-make-directory-internal)
15441 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15442 The file name syntax depends on cifs capabilities.
15443 (tramp-smb-handle-file-attributes):
15444 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15445 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15446 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15448 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15450 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15451 (eieio-defclass): Apply deftype handler and setf-method properties
15453 (eieio-add-new-slot): Avoid union function from cl library.
15454 (eieio--typep): New function.
15455 (eieio-perform-slot-validation): Use it.
15457 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15459 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15460 Update documentation to refer to the variables documented in r1.135.
15463 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15465 * bookmark.el (Info-suffix-list): Remove this unused variable.
15466 (bookmark-current-point): Remove this obsolete variable.
15467 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15468 Adjust for removal of bookmark-current-point.
15470 (bookmarks-already-loaded, bookmark-current-buffer)
15471 (bookmark-yank-point): Document. (Bug#4188)
15473 2009-10-10 Glenn Morris <rgm@gnu.org>
15475 * frame.el (frame-height): Doc fix.
15477 * calendar/calendar.el (calendar-split-width-threshold): New option.
15478 (calendar-basic-setup): Use calendar-split-width-threshold.
15480 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15482 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15483 Ideographic Supplement" range (U+1F200..U+1F2FF).
15485 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15487 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15488 since the list will have been rebuilt anyway. (Bug#4349)
15490 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15492 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15493 (bookmark-bmenu-execute-deletions): Don't save here, as
15494 bookmark-delete will now do so if necessary.
15495 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15498 2009-10-09 Glenn Morris <rgm@gnu.org>
15500 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15502 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15504 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15505 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15506 argument now, so the two function's behaviors will match. (Bug#3645)
15508 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15510 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15511 (tramp-file-name-real-host, tramp-file-name-port):
15512 Apply `save-match-data'.
15514 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15515 case both directories are remote.
15516 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15517 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15519 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15521 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15523 2009-10-07 Glenn Morris <rgm@gnu.org>
15525 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15528 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15530 * files-x.el (read-file-local-variable): Include some
15531 non-user-variables in the completion table (bug#4664).
15533 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15535 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15538 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15539 (tramp-smb-file-name-handler-alist): Add handler for
15540 `copy-directory', `expand-file-name', `set-file-modes'.
15541 (tramp-smb-handle-copy-directory)
15542 (tramp-smb-handle-expand-file-name)
15543 (tramp-smb-handle-set-file-modes): New defuns.
15544 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15545 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15547 (tramp-smb-handle-insert-directory): Don't flush the cache.
15548 (tramp-smb-maybe-open-connection): Check for samba client and
15551 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15553 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15554 to not error out of search for "^lisp=" fails.
15556 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15558 * makefile.w32-in (WINS_UPDATES): New macro.
15559 (custom-deps, finder-data, autoloads): Use it.
15561 2009-10-07 Glenn Morris <rgm@gnu.org>
15563 * Makefile.in (autoloads): Revert previous change.
15564 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15565 the list of preloaded files passed on the command-line, get
15566 it from src/Makefile.
15568 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15569 show the original buffer rather than a random one.
15571 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15573 * help.el (describe-no-warranty): Place point in a slightly better
15574 position in the GPLv3 text.
15576 2009-10-06 Sam Steingold <sds@gnu.org>
15578 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15579 the comm attribute is present before calling regexp-quote.
15581 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15583 * play/animate.el (animate-string): For good effect, make sure
15584 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15586 * play/animate.el (animate-sequence, animate-birthday-present):
15587 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15589 2009-10-06 Glenn Morris <rgm@gnu.org>
15591 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15593 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15594 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15595 (batch-update-autoloads): Process a string value of autoload-excludes,
15596 set during the build process.
15597 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15599 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15600 inside with-parsed... macro so that `v' is defined.
15602 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15603 * progmodes/fortran.el (fortran-end-of-block)
15604 (fortran-beginning-of-block):
15605 Also push mark in the macro case.
15607 * emerge.el (emerge-show-file-name):
15608 * calc/calc.el (calc-quit):
15609 * calc/calc-misc.el (calc-big-or-small):
15610 * calc/calc-graph.el (calc-graph-view):
15611 * calc/calc-ext.el (calc-reset):
15612 * calendar/calendar.el (calendar-basic-setup):
15613 Use window-full-height-p.
15615 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15616 header we don't understand, don't insert another. (Bug#4624)
15617 If changing mime charset, insert the new one in the right place.
15619 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15621 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15622 (cal-tex-cursor-month): Correctly increment the end date for diary and
15623 holiday listing. (Bug#4626)
15625 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15627 * help-fns.el (describe-function-1): Don't burp if the function is not
15630 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15632 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15633 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15634 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15635 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15637 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15638 (eieio-default-superclass): Reflow docstrings.
15639 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15640 (eieio-unbind-method-implementations, defmethod)
15641 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15642 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15643 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15644 (eieio-slot-originating-class-p, eieio-slot-name-index)
15645 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15646 (constructor, initialize-instance, no-next-method, object-print)
15647 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15648 Fix typos in docstrings.
15649 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15650 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15651 (next-method-p): Doc fixes.
15652 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15653 Fix typos in error messages.
15654 (eieio-defmethod): Fix typo in description of generic method.
15656 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15657 (eieio-persistent-save-interactive, slot-missing):
15658 Fix typos in docstrings.
15659 (eieio-instance-inheritor-slot-boundp): Doc fix.
15661 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15662 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15664 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15665 (eieio-custom-object-apply-reset):
15666 Fix typos in docstrings and error messages.
15668 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15669 Fix typo in docstring.
15671 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15672 (eieio-browse-tree): Doc fix.
15673 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15674 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15675 Fix typos in docstrings.
15677 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15678 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15679 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15680 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15683 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15685 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15686 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15687 Set log-view-vc-backend so that diff can work.
15689 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15691 (vc-diff-internal): Autoload this instead of vc-version-diff.
15693 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15695 * simple.el (eval-expression): Doc fix.
15697 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15699 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15701 * files.el (directory-files-no-dot-files-regexp): New defconst.
15702 (delete-directory): Use it.
15703 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15705 * net/tramp.el (tramp-verbose): Fix docstring.
15706 (tramp-methods): Add recursive option to `tramp-copy-args'.
15707 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15708 "scp1_old", "scp2_old", "rsync", "rsyncc".
15709 (tramp-default-method): Check also for `auth-source-user-or-password'.
15710 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15711 Add handler for `copy-directory'.
15712 (tramp-handle-copy-directory): New defun.
15713 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15714 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15715 Optimize sent command.
15717 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15719 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15720 window if necessary.
15722 * calendar/calendar.el (calendar-basic-setup): Don't call
15723 switch-to-buffer in a dedicated window.
15725 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15727 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15728 don't do anything related to relocating, just return nil.
15729 (bookmark-error-no-filename): New error.
15730 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15731 bookmark has no file. Don't even attempt to handle things that
15732 are not files; the whole point of custom handlers is to keep that
15733 knowledge elsewhere anyway. Tighten some comments.
15734 (bookmark-file-or-variation-thereof): Remove now-unused function.
15735 (bookmark-location): Doc string fix.
15738 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15740 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15741 don't use a file dialog, because they usually don't know how to read
15742 a directory target from the user. (Bug#4230)
15743 Also, make sure the prompt can display directories as well as files.
15745 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15747 * bookmark.el (bookmark-set, bookmark-buffer-name):
15748 Improve doc strings. (Bug#1193)
15750 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15752 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15753 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15754 (bookmark-get-annotation, bookmark-set-annotation)
15755 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15756 (bookmark-set-position, bookmark-get-front-context-string)
15757 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15758 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15759 (bookmark-jump-other-window, bookmark-handle-bookmark)
15760 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15761 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15762 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15763 Improve doc strings to say whether bookmark can be a string or
15764 a record or both, and make other consistency and clarity fixes.
15765 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15766 (bookmark-default-annotation-text, bookmark-yank-word)
15767 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15768 (bookmark-import-new-list, bookmark-maybe-rename)
15769 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15770 (bookmark-bmenu-bookmark): Give these doc strings.
15771 (bookmark-bmenu-check-position): Give this a doc string, but also
15772 add a FIXME comment about how the function may be pointless.
15773 (bookmark-default-handler): Rework doc string and change a
15774 parameter name, to clarify that this takes a bookmark record
15775 not a bookmark name.
15776 (bookmark-set): Change a parameter name to indicate its meaning,
15777 and improve the doc string a bit.
15780 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15782 * bookmark.el (bookmark-alist): Document the new `handler' element
15783 in the param alist.
15784 (bookmark-make-record-function): Adjust documentation for above.
15787 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15789 * info.el (Info-bookmark-make-record): Document this function.
15790 (Info-bookmark-jump): Document with a doc string, not just a comment.
15793 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15795 * files.el (copy-directory): New defun.
15797 * dired-aux.el (dired-copy-file-recursive): Use it.
15799 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15801 * files-x.el (modify-dir-local-variable)
15802 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15805 * recentf.el (recentf-unload-function): New function.
15807 2009-10-04 Glenn Morris <rgm@gnu.org>
15809 * window.el (window-full-height-p): Add doc string.
15811 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15813 * window.el (window-full-height-p): New function. (Bug#4543)
15815 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15817 * vc.el: Remove commented out code.
15818 (vc-derived-from-dir-mode): Remove, unused.
15819 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15821 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15823 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15824 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15825 there could be recursive loading when `default-directory' is a
15826 remote file name. (Bug#4614)
15828 2009-10-03 Glenn Morris <rgm@gnu.org>
15830 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15832 (calendar-generate-window): Test for shrinkability rather than width.
15834 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15835 reusing existing buffers, in case we happen to visit two files with the
15836 same basename. (Bug#4593)
15838 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15840 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15841 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15842 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15843 subdirs of cedet as well.
15844 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15846 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15848 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15849 Obey advertised-signature-table.
15851 * help-fns.el (help-function-arglist): Don't check
15852 advertised-signature-table.
15853 (describe-function-1): Do it here instead so it also applies to subrs.
15855 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15857 * simple.el (start-file-process): Say in the doc-string, that file
15858 handlers might not support pty association, if PROGRAM is nil.
15860 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15861 HOST and USER are strings. They are nil, when there are
15862 incomplete entries in ~/.netrc, for example.
15863 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15864 root directory ("device busy" error otherwise).
15866 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15867 Flush file properties of created directory.
15869 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15871 * makefile.w32-in (WINS_BASIC): Remove cedet.
15872 (WINS_CEDET): Add cedet.
15873 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15875 2009-10-02 Kevin Ryde <user42@zip.com.au>
15877 * net/browse-url.el (browse-url): Pass any symbol in
15878 browse-url-browser-function to `apply', since if you've mistakenly put
15879 an unbound symbol then the error is clearer. (Bug#4531)
15881 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15883 * allout.el (allout-init, allout-back-to-current-heading)
15884 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15885 (allout-ascend, allout-up-current-level, allout-end-of-level)
15886 (allout-previous-visible-heading, allout-forward-current-level)
15887 (allout-backward-current-level, allout-show-children):
15888 * apropos.el (apropos-describe-plist):
15889 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15890 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15891 * completion.el (add-completion, add-permanent-completion):
15892 * descr-text.el (describe-text-category, describe-char):
15893 * desktop.el (desktop-lazy-abort):
15894 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15895 * dired.el (dired-build-subdir-alist):
15896 * ediff.el (ediff-version):
15897 * elide-head.el (elide-head, elide-head-show):
15898 * emerge.el (emerge-version):
15900 * face-remap.el (variable-pitch-mode):
15901 * faces.el (describe-face):
15902 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15904 * files.el (find-file-existing, auto-save-mode):
15905 * font-lock.el (font-lock-fontify-buffer):
15906 * help-fns.el (describe-function, describe-variable)
15907 (describe-syntax, describe-categories):
15908 * help.el (view-lossage, describe-bindings, describe-key)
15910 * hexl.el (hexl-current-address):
15911 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15912 * info.el (Info-goto-emacs-key-command-node):
15913 * log-edit.el (log-edit-insert-cvs-template)
15914 (log-edit-insert-cvs-rcstemplate):
15915 * menu-bar.el (menu-bar-mode):
15916 * mouse.el (mouse-appearance-menu):
15917 * newcomment.el (comment-indent-new-line):
15918 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15919 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15920 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15921 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15922 * recentf.el (recentf-mode):
15923 * savehist.el (savehist-mode, savehist-save):
15924 * shadowfile.el (shadow-copy-files):
15925 * simple.el (kill-ring-save, next-line, previous-line)
15926 (normal-erase-is-backspace-mode):
15927 * strokes.el (strokes-update-window-configuration)
15928 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15929 (strokes-xpm-for-stroke):
15930 * time.el (emacs-uptime, emacs-init-time):
15931 * tutorial.el (tutorial--describe-nonstandard-key)
15932 (tutorial--detailed-help):
15933 * type-break.el (type-break-mode)
15934 (type-break-mode-line-message-mode, type-break-query-mode)
15935 (type-break-guesstimate-keystroke-threshold):
15936 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15937 * version.el (emacs-version):
15938 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15939 * winner.el (winner-mode):
15940 * calendar/timeclock.el (timeclock-in, timeclock-out)
15941 (timeclock-status-string, timeclock-change)
15942 (timeclock-workday-remaining-string)
15943 (timeclock-workday-elapsed-string)
15944 (timeclock-when-to-leave-string):
15945 * calendar/todo-mode.el (todo-add-category):
15946 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15947 * emacs-lisp/autoload.el (update-file-autoloads):
15948 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15949 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15950 (checkdoc-message-text, checkdoc-defun):
15951 * emacs-lisp/debug.el (debugger-list-functions):
15952 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15953 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15954 (eieio-describe-generic):
15955 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15956 * emacs-lisp/shadow.el (list-load-path-shadows):
15957 * emulation/cua-base.el (cua-mode):
15958 * emulation/edt.el (edt-set-scroll-margins):
15959 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15960 (tpu-toggle-regexp, tpu-toggle-search-direction)
15961 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15962 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15963 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15964 (viper-set-parsing-style-toggling-macro)
15965 (viper-set-emacs-state-searchstyle-macros):
15966 * emulation/viper.el (viper-set-hooks):
15967 * eshell/esh-mode.el (eshell-truncate-buffer):
15968 * international/mule-cmds.el (prefer-coding-system)
15969 (describe-input-method, describe-language-environment):
15970 * international/mule-diag.el (list-character-sets)
15971 (describe-character-set, describe-coding-system)
15972 (describe-fontset, list-fontsets, list-input-methods):
15973 * mail/sendmail.el (mail-signature):
15974 * net/ange-ftp.el (ange-ftp-copy-file):
15975 * net/browse-url.el (browse-url):
15976 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15977 * net/quickurl.el (quickurl-add-url):
15978 * net/rcirc.el (names, topic):
15979 * net/xesam.el (xesam-mode):
15980 * play/5x5.el (5x5-new-game):
15981 * play/yow.el (apropos-zippy):
15982 * progmodes/ada-mode.el (ada-mode-version):
15983 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15985 (f90-beginning-of-block):
15986 * progmodes/fortran.el (fortran-end-of-block)
15987 (fortran-beginning-of-block):
15988 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15989 * progmodes/python.el (python-describe-symbol, python-shell):
15990 * term/ns-win.el (ns-print-buffer):
15991 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15992 * textmodes/flyspell.el (flyspell-mode-on):
15993 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15994 (pages-directory-for-addresses):
15995 * textmodes/table.el (table-recognize-cell)
15996 (table-query-dimension, table-generate-source)
15997 (table-insert-sequence, table--warn-incompatibility):
15998 * textmodes/tex-mode.el (tex-validate-buffer):
15999 * textmodes/texinfmt.el (texinfmt-version)
16000 (texinfo-format-buffer):
16001 Use `called-interactively-p' instead of `interactive-p'.
16003 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16005 * image-mode.el (image-toggle-display):
16006 * emacs-lisp/elp.el (elp-instrument-function):
16007 * emacs-lisp/advice.el (ad-make-advised-definition):
16008 * emacs-lisp/easy-mmode.el (define-minor-mode):
16009 * net/browse-url.el (browse-url-maybe-new-window):
16010 * progmodes/sh-script.el (sh-learn-buffer-indent):
16011 Pass new argument 'any to `called-interactively-p'.
16013 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16015 * international/uni-bidi.el:
16016 * international/uni-category.el:
16017 * international/uni-combining.el:
16018 * international/uni-comment.el:
16019 * international/uni-decimal.el:
16020 * international/uni-decomposition.el:
16021 * international/uni-digit.el:
16022 * international/uni-lowercase.el:
16023 * international/uni-mirrored.el:
16024 * international/uni-name.el:
16025 * international/uni-numeric.el:
16026 * international/uni-old-name.el:
16027 * international/uni-titlecase.el:
16028 * international/uni-uppercase.el:
16029 Regenerate from Unicode 5.2.0 data.
16031 2009-10-01 Glenn Morris <rgm@gnu.org>
16033 * Makefile.in (ELCFILES): Regenerate.
16035 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * subr.el (interactive-p): Mark obsolete.
16038 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16039 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16040 advertised-signature-table for subroutines as well.
16042 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16043 (set-advertised-calling-convention): New function.
16044 (make-obsolete, define-obsolete-function-alias)
16045 (make-obsolete-variable, define-obsolete-variable-alias):
16046 Make the optional-ness of `when' obsolete.
16047 (define-obsolete-face-alias): Make `when' non-optional.
16048 * help-fns.el (help-function-arglist):
16049 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16050 Use advertised-signature-table.
16052 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16054 * files.el (delete-directory): New defun. The original function
16055 in fileio.c has been renamed to `delete-directory-internal'.
16057 * dired.el (dired-delete-file): Call `delete-directory' with
16058 RECURSIVE parameter.
16060 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16061 parameter RECURSIVE. Implementation is missing.
16063 * net/tramp.el (tramp-handle-make-directory): Flush upper
16064 directory's file properties.
16065 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16066 (tramp-handle-dired-recursive-delete-directory): Flush directory
16067 properties after the remove command only.
16069 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16070 Handle optional parameter RECURSIVE.
16072 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16073 Handle optional parameter RECURSIVE.
16075 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16076 connection timeout.
16077 (tramp-smb-handle-delete-directory): Handle optional parameter
16080 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16082 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16083 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16084 (byte-compile-defmacro): Use backquotes.
16086 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16088 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16089 has no associated file.
16090 (vc-resynch-buffer): Use vc-dir-buffers.
16092 2009-10-01 Glenn Morris <rgm@gnu.org>
16094 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16095 (chart-file-count):
16096 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16097 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16098 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16099 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16100 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16101 (eieio-copy-parents-into-subclass, make-instance, class-children)
16102 (eieio-generic-form):
16104 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16105 match-data. (Bug#4555).
16107 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16108 rather than parsing it as a regexp. This relaxes the layout
16109 requirements and makes errors easier to detect.
16110 (check-declare-verify): Check file is regular.
16111 (check-declare-directory): Doc fix.
16112 * subr.el (declare-function): Doc fix.
16114 * ibuffer.el (ibuffer-format-qualifier):
16115 * isearch.el (hi-lock-regexp-okay):
16116 * calc/calc.el (math-zerop):
16117 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16118 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16119 Remove unused declarations.
16121 2009-09-30 Eric Ludlam <zappo@gnu.org>
16123 * emacs-lisp/eieio.el (boolean-p): Delete.
16125 2009-09-30 Glenn Morris <rgm@gnu.org>
16127 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16129 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16130 filename is not a string.
16132 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16134 * files.el (safe-local-eval-forms): Fix typo.
16136 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16138 * vc-hooks.el (vc-dir-buffers): New var.
16139 (vc-state-refresh): New function.
16140 (vc-state): Use it.
16141 (vc-after-save): Always ask the backend to recompute the new state.
16142 Always call vc-dir if necessary, using vc-dir-buffers.
16143 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16144 Use vc-dir-buffers.
16145 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16146 (vc-dir-prepare-status-buffer, vc-dir-update)
16147 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16148 Don't call expand-file-name on default-directory.
16150 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16152 * speedbar.el (speedbar-item-delete):
16153 * calc/calc-prog.el (calc-kbd-if):
16154 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16156 * epa.el (epa-key-list-mode-map):
16157 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16159 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16160 (hs-show-hook): Fix typo in docstring.
16162 2009-09-29 Glenn Morris <rgm@gnu.org>
16164 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16165 file-name-nondirectory call preventing location of cedet files.
16166 (check-declare-verify): Use literal search rather than re-search.
16167 Add basic defmethod and defclass, and define-overloadable-function.
16169 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16170 Use tramp-compat-file-attributes rather than nonexistent
16171 tramp-compat-handle-file-attributes.
16173 * Makefile.in (lisptagsfiles4): New.
16174 (AUTOGENEL): Add cedet loaddefs files.
16175 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16176 (update-elclist, compile-always, backup-compiled-files)
16177 (bootstrap-clean): Add yet another directory level.
16178 (update-elclist): Use LC_COLLATE rather than COLLATE.
16179 (ELCFILES): Update, via `make update-elclist'.
16181 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16183 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16184 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16185 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16187 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16189 * Makefile.in (lisptagsfiles3): Define.
16190 (TAGS, TAGS-LISP): Use it.
16191 (update-elclist): Add third directory level to look for elc files.
16192 (compile-always): Likewise.
16193 (backup-compiled-files): Likewise.
16194 (bootstrap-clean): Likewise.
16195 (ELCFILES): Update.
16197 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16199 * Makefile.in (ELCFILES): Add CEDET files.
16201 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16203 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16205 * net/tramp.el (top): Require tramp-imap.
16207 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16208 Use `tramp-compat-handle-file-attributes'.
16210 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16212 * net/tramp-imap.el: New package.
16214 2009-09-28 Eric Ludlam <zappo@gnu.org>
16216 * emacs-lisp/chart.el:
16217 * emacs-lisp/eieio-base.el:
16218 * emacs-lisp/eieio-comp.el:
16219 * emacs-lisp/eieio-custom.el:
16220 * emacs-lisp/eieio-datadebug.el:
16221 * emacs-lisp/eieio-opt.el:
16222 * emacs-lisp/eieio-speedbar.el:
16223 * emacs-lisp/eieio.el: New files.
16225 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16227 * whitespace.el (whitespace-trailing-regexp)
16228 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16231 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16233 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16236 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16237 menu-bar-ediff-menu.
16239 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16240 define-overloadable-function.
16242 * progmodes/autoconf.el: Provide autoconf as well, so that this
16243 file can be `require'd.
16245 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16247 * emacs-lisp/autoload.el (generated-autoload-feature)
16248 (generated-autoload-load-name): New vars.
16249 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16250 (make-autoload): Recognize define-overloadable-function and
16251 defclass forms (for EIEIO).
16253 * Makefile.in (update-subdirs): Exclude cedet directory.
16255 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16257 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16259 * faces.el: Default light-background background for region face to
16260 ns_selection_color under NS.
16262 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16264 * net/imap-hash.el: New library, see NEWS.
16266 * Makefile.in (ELCFILES): Add imap-hash.el.
16268 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16270 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16271 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16272 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16273 definition where the docstring could be taken for the return value.
16275 2009-09-26 Glenn Morris <rgm@gnu.org>
16277 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16278 Add option to only show images below a certain size.
16279 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16280 save-excursion calls.
16282 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16284 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16285 subdirectories) and eieio.
16287 2009-09-26 Alan Mackenzie <acm@muc.de>
16289 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16290 Correct buggy bracketing. (Bug#4289)
16292 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16293 character constants (as case labels). (Bug#4289)
16295 2009-09-25 Juri Linkov <juri@jurta.org>
16297 * files.el (safe-local-eval-forms): Allow time-stamp in
16298 before-save-hook (Bug#4554).
16300 2009-09-25 Drew Adams <drew.adams@oracle.com>
16302 * menu-bar.el (list-buffers-directory): Doc fix.
16304 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16306 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16307 Try and avoid copying twice the same paragraph.
16308 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16309 Remove save-excursion.
16310 (log-edit-changelog-entry): Do it here instead.
16312 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16314 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16315 when available, instead of hardcoding mode names. Doc fix.
16317 * menu-bar.el (list-buffers-directory): Add docstring.
16318 Make automatically buffer-local.
16320 * dired.el (dired-mode):
16321 * files.el (cd-absolute):
16322 * pcvs.el (cvs-temp-buffer):
16323 * pcvs-util.el (cvs-get-buffer-create):
16324 * shell.el (shell-mode):
16325 * vc-dir.el (vc-dir-mode):
16326 Don't make `list-buffers-directory' buffer local.
16328 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16330 * comint.el (comint-exec, comint-run, make-comint):
16331 Doc fixes (Bug#4542).
16333 2009-09-25 Glenn Morris <rgm@gnu.org>
16335 * mail/rmailmm.el (rmail-mime): New custom group.
16336 Move all defcustoms in this file into this group.
16337 (rmail-mime-media-type-handlers-alist): Revert previous change.
16338 (rmail-mime-show-images): New option.
16339 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16340 references to it, since it wasn't actually used for anything.
16341 (rmail-mime-insert-image): New function.
16342 (rmail-mime-image): Use rmail-mime-insert-image.
16343 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16344 obey the value of `rmail-mime-show-images' option. Print the size of
16347 2009-09-25 David Engster <deng@randomsample.de>
16349 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16351 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16353 * whitespace.el: Does not highlight trailing spaces While point is
16354 at end of line. Does not highligt spaces at beginning of buffer
16355 while point is at beginning of buffer. Does not highlight spaces
16356 at end of buffer while point is at end of buffer. (Bug#4177)
16358 (whitespace-display-mappings): Adjust initialization.
16359 (whitespace-point, whitespace-font-lock-refontify): New vars.
16360 (whitespace-color-on, whitespace-color-off): Adjust code.
16361 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16362 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16363 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16365 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16367 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16369 * textmodes/sgml-mode.el: Remove xml-mode alias.
16371 * files.el (auto-mode-alist, conf-mode-maybe)
16372 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16374 2009-09-24 Alan Mackenzie <acm@muc.de>
16376 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16377 c-forward-conditionals, but it doesn't move point and doesn't set
16379 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16380 (c-down-conditional-with-else, c-backward-conditional)
16381 (c-forward-conditional): Refactor to use c-scan-conditionals.
16383 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16385 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16386 (help-default-arg-highlight): Remove.
16387 (help-highlight-arg): New function.
16388 (help-do-arg-highlight): Use it.
16389 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16391 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16394 Undo last change, which didn't fix the problem and introduced others.
16396 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16398 * progmodes/gdb-mi.el: Don't require speedbar.
16399 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16401 2009-09-24 Glenn Morris <rgm@gnu.org>
16403 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16405 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16407 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16408 there is no newline after the final mime boundary. (Bug#4539)
16409 Move markers on insertion so that any buttons inserted don't end up in
16410 the next part of a multipart message.
16411 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16412 (rmail-mime-bulk-handler): Optionally handle images.
16413 (rmail-mime-image): New button action.
16414 (rmail-mime-image-handler): New function.
16415 (rmail-mime-mode): New mode.
16416 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16418 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16420 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16421 than just dropping elements from it (bug#4504).
16423 * term.el (term-set-scroll-region): Don't move cursor any more.
16424 (term-handle-ansi-escape): Call term-goto here instead.
16425 Suggested by Ivan Kanis <apple@kanis.eu>.
16427 * term.el: Require CL.
16428 (term-ansi-reset): New function.
16429 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16430 (term-handle-colors-array): Simplify.
16432 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16434 * allout.el (allout-overlay-interior-modification-handler)
16435 (allout-obtain-passphrase):
16436 * epa-file.el (epa-file-write-region):
16437 * ps-print.el (ps-begin-job):
16438 * vc-hooks.el (vc-toggle-read-only):
16439 * vc-rcs.el (vc-rcs-rollback):
16440 * vc-sccs.el (vc-sccs-rollback):
16441 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16442 (vc-version-diff, vc-revert, vc-rollback):
16443 * wdired.el (wdired-check-kill-buffer):
16444 * emacs-lisp/authors.el (authors):
16445 * net/socks.el (socks-open-connection):
16446 * net/zeroconf.el (zeroconf-service-add-hook):
16447 * obsolete/vc-mcvs.el (vc-mcvs-register):
16448 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16449 (gdb-select-frame):
16450 * progmodes/grep.el (lgrep, rgrep):
16451 * progmodes/idlw-help.el (idlwave-help-check-locations)
16452 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16453 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16454 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16455 (reftex-toc-rename-label): Fix typos in error messages.
16457 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16458 (dired-copy-how-to-fn): Doc fix.
16459 (dired-files-attributes, dired-read-shell-command):
16460 Fix typos in docstrings.
16462 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16463 (dired-x-find-file-other-window): Reflow docstrings.
16464 (dired-omit-marker-char, dired-read-shell-command)
16465 (dired-x-submit-report): Fix typos in docstrings.
16467 * shell.el (shell-mode-hook):
16468 * view.el (View-scroll-line-forward):
16469 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16470 Fix typos in docstrings.
16472 * net/dig.el (dig-invoke): Fix typo in docstring.
16473 (query-dig): Reflow docstring.
16475 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16476 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16477 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16478 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16479 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16480 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16481 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16482 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16483 (idlwave-completion-map, idlwave-current-indent)
16484 (idlwave-custom-ampersand-surround, idlwave-customize)
16485 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16486 (idlwave-define-abbrev, idlwave-determine-class-special)
16487 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16488 (idlwave-end-block-reg, idlwave-end-of-statement)
16489 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16490 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16491 (idlwave-explicit-class-listed, idlwave-file-header)
16492 (idlwave-fill-paragraph, idlwave-find-class-definition)
16493 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16494 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16495 (idlwave-in-quote, idlwave-indent-action-table)
16496 (idlwave-indent-expand-table, idlwave-indent-line)
16497 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16498 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16499 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16500 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16501 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16502 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16503 (idlwave-outlawed-buffers, idlwave-popup-select)
16504 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16505 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16506 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16507 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16508 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16509 (idlwave-statement-type, idlwave-struct-skip)
16510 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16511 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16512 (idlwave-what-module-find-class): Fix typos in docstrings.
16513 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16514 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16515 (idlwave-find-module, idlwave-find-structure-definition)
16516 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16517 (idlwave-list-load-path-shadows, idlwave-next-statement)
16518 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16519 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16520 (idlwave-template): Reflow docstrings.
16522 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16523 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16524 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16525 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16526 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16527 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16528 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16529 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16530 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16531 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16532 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16533 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16534 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16535 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16536 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16537 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16538 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16539 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16540 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16541 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16542 Fix typos in docstrings.
16543 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16544 (idlwave-shell-hide-output, idlwave-shell-mode)
16545 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16548 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16550 2009-09-24 Ivan Kanis <apple@kanis.eu>
16552 * term.el (term-bold-attribute): New var.
16553 (term-handle-colors-array): Use it.
16555 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16557 * progmodes/gdb-mi.el (gdb-version): New variable.
16558 (gdb-non-stop-handler): Set gdb-version.
16559 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16560 Condition "--thread" option on gdb-version.
16561 (gdb-invalidate-threads): Remove unused argument.
16563 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16565 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16566 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16568 2009-09-23 Glenn Morris <rgm@gnu.org>
16570 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16571 replying to mail without References or Message-Id. (Bug#4525)
16573 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16575 * term/ns-win.el (ns-reg-to-script): New variable.
16577 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16579 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16581 2009-09-22 Sam Steingold <sds@gnu.org>
16583 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16584 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16585 to 1 because hg returns status 1 when nothing is found.
16586 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16588 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16590 * textmodes/fill.el: Convert to utf-8 encoding.
16591 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16594 * add-log.el (change-log-fill-forward-paragraph): New function.
16595 (change-log-mode): Use it so fill-region DTRT.
16596 Set fill-indent-according-to-mode here rather than in
16597 change-log-fill-paragraph.
16598 (change-log-fill-paragraph): Remove.
16600 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16602 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16603 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16605 2009-09-22 Glenn Morris <rgm@gnu.org>
16607 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16608 the scroll-bar scroll the calendar window rather than the buffer.
16610 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16611 commands that move point (as opposed to scrolling).
16613 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16615 * emacs-lisp/elint.el (elint): New custom group.
16616 (elint-log-buffer): Make it a defcustom.
16617 (elint-scan-preloaded, elint-ignored-warnings)
16618 (elint-directory-skip-re): New options.
16619 (elint-builtin-variables): Doc fix.
16620 (elint-preloaded-env): New variable.
16621 (elint-unknown-builtin-args): Add an entry for encode-time.
16622 (elint-extra-errors): Make it a variable rather than a constant.
16623 (elint-preloaded-skip-re): New constant.
16624 (elint-directory): Skip files matching elint-directory-skip-re.
16625 (elint-features): New variable, local to linted buffers.
16626 (elint-update-env): Initialize elint-features. Possibly add
16627 elint-preloaded-env to the buffer's environment.
16628 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16630 (elint-init-form): New function, extracted from elint-init-env.
16631 Make non-list forms a warning rather than an error.
16632 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16633 easy-menu-define, put that adds an error-condition, and provide.
16634 When requiring cl, also require cl-macs. Really require cl, to handle
16635 some cl macros. Store required libraries in the list elint-features,
16636 so as not to re-load them. Treat cc-require like require.
16637 (elint-init-env): Call elint-init-form to do the work.
16638 Handle eval-and-compile and such like.
16639 (elint-add-required-env): Do not clear messages.
16640 (elint-special-forms): Add handlers for function, defalias, if, when,
16642 (elint-form): Add optional argument to ignore elint-special-forms,
16643 useful to prevent recursive calls from handlers. Doc fix.
16644 Respect elint-ignored-warnings.
16645 (elint-form): Respect elint-ignored-warnings.
16646 (elint-bound-variable, elint-bound-function): New variables.
16647 (elint-unbound-variable): Respect elint-bound-variable.
16648 (elint-get-args): Respect elint-bound-function.
16649 (elint-check-cond-form): Add some simple handling for (f)boundp and
16651 (elint-check-defalias-form): New handler.
16652 (elint-check-let-form): Make an empty let a warning rather than an
16654 (elint-check-setq-form): Make an empty setq a warning rather than an
16655 error. Respect elint-ignored-warnings.
16656 (elint-check-defvar-form): Accept null doc-strings.
16657 (elint-check-conditional-form): New handler. Does some simple-minded
16658 checking of featurep and (f)boundp tests.
16659 (elint-put-function-args): New function.
16660 (elint-initialize): Use elint-scan-doc-file rather than
16661 elint-find-builtin-variables. Use elint-put-function-args.
16662 Possibly scan preloaded-file-list.
16663 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16664 extend to handle functions as well.
16666 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16668 * linum.el (linum-delete-overlays, linum-update-window):
16669 Do not modify the right margin. (Bug#3971)
16671 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16673 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16674 Use nxml-mode instead of xml-mode.
16676 2009-09-21 Kevin Ryde <user42@zip.com.au>
16678 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16680 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16682 * net/dig.el (dig-mode): Use define-derived-mode.
16684 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16686 * vc-dispatcher.el (vc-do-command): Return the process object in
16687 the asynchronous case. Use when instead of if. Do not run
16688 vc-exec-after to display a message if not enabled. (Bug#4463)
16690 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16691 properties to the stash strings.
16692 (vc-git-stash-list): Return a list of strings.
16693 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16694 (vc-git-stash-show-at-point): New functions.
16695 (vc-git-stash-map): New keymap.
16697 * register.el (ctl-x-r-map): Define the keys here instead of
16700 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16702 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16703 list, to workaround performance problem (bug#4485).
16705 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16707 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16709 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16711 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16712 Document that this option is not recommended to use.
16714 2009-09-19 Glenn Morris <rgm@gnu.org>
16716 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16719 * calc/calc-alg.el (var):
16720 * calc/calcalg2.el (var): Define for compiler.
16722 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16724 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16725 Doc fix (Bug#3932).
16727 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16729 * time-stamp.el (time-stamp-month-dd-yyyy)
16730 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16731 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16732 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16733 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16734 Remove functions that have been obsolete since 1995 (Bug#4436).
16736 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16737 indent buffer only if called interactively (Bug#4452).
16739 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16740 Eli Zaretskii <eliz@gnu.org>
16742 This fixes bug#4197 (merged to bug#865, though not identical).
16743 * server.el (server-auth-dir): Add docstring note about FAT32.
16744 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16745 but warn against using them.
16747 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16749 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16750 older GDB where there is no has_more field.
16752 2009-09-19 Glenn Morris <rgm@gnu.org>
16754 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16756 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16758 * files.el (auto-mode-alist): Change default for XML files to nXML
16761 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16763 * server.el (server-ensure-safe-dir): Pass 'integer
16764 to `file-attributes', as suggested.
16766 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16768 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16769 (dired-query): Use read-key.
16771 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16773 * cus-start.el (ns-use-qd-smoothing): Remove.
16775 2009-09-18 Glenn Morris <rgm@gnu.org>
16777 * allout.el (top-level): Remove unnecessary progn.
16779 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16781 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16782 definition of abbrev table.
16784 * speedbar.el (speedbar-track-mouse):
16785 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16786 * net/eudc.el (eudc-expand-inline):
16787 * net/newst-backend.el (newsticker--cache-read-feed):
16788 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16789 condition-case handlers.
16791 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16793 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16794 (gdb-var-list): Add an element for has_more field.
16795 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16796 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16797 (gdb-var-update-handler-1): Parse output of dynamic variable
16798 objects (STL containers).
16799 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16800 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16802 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16804 (gud-speedbar-buttons): Make node expandable if expression "has more"
16807 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16809 * startup.el (emacs-quick-startup): Remove variable and all uses.
16810 (command-line): Set `inhibit-x-resources' instead.
16811 (command-line-1): Use `inhibit-x-resources' instead.
16813 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16815 * subr.el: Fix last change to avoid using the `unless' macro,
16816 which breaks bootstrapping.
16818 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16820 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16821 extended definitions, in case we reload subr.el after having
16823 (eval-next-after-load): Mark as obsolete.
16825 2009-09-17 Juri Linkov <juri@jurta.org>
16827 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16828 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16829 (menu-bar-showhide-menu, menu-bar-tools-menu)
16830 (menu-bar-describe-menu, menu-bar-help-menu)
16831 (minibuffer-local-completion-map, minibuffer-local-map):
16834 2009-09-17 Glenn Morris <rgm@gnu.org>
16836 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16837 arguments, whether or not it has a handler.
16839 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16841 * simple.el (hard-newline): Give it a doc-string.
16843 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16844 (lisp-mode-syntax-table): Give them doc-strings.
16846 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16848 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16849 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16850 (menu-bar-options-menu, menu-bar-showhide-menu)
16851 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16852 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16853 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16854 (menu-bar-options-menu, menu-bar-tools-menu)
16855 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16856 (menu-bar-help-menu):
16857 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16860 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16861 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16862 calls for the menu names and :help.
16864 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16867 to :minor-mode-function (bug#4455).
16869 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * startup.el (command-line): Initialize the window-system after
16872 processing the command-line.
16874 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16875 page-delimiter matches the empty string.
16877 2009-09-16 Glenn Morris <rgm@gnu.org>
16879 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16880 byte-compile-not-obsolete-var. It's a list now.
16881 (byte-compile-not-obsolete-funcs): New variable.
16882 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16883 byte-compile-not-obsolete-funcs.
16884 (byte-compile-variable-ref, byte-compile-defvar): Update for
16885 byte-compile-not-obsolete-vars name-change and list nature.
16886 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16887 and variables behind (f)boundp tests.
16888 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16890 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16892 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16894 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16896 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16897 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16900 2009-09-15 Stephen Eglen <stephen@gnu.org>
16902 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16903 the virtual-buffers, use the name of the buffer specified by
16904 find-file-noselect, as the match may be a symlink. (This was a
16905 problem if the target and the symlink had different names.)
16907 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16909 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16911 * desktop.el (desktop-path): Check user-emacs-directory.
16913 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16915 * loadup.el: Use after-load-functions to GC after loading each file.
16916 Remove the explicit GC calls that used to be sprinkled around.
16918 * subr.el (after-load-functions): New hook.
16919 (do-after-load-evaluation): Run it. Use string-match-p to detect
16920 `obsolete' packages, rather than painfully extracting the relevant
16923 2009-09-15 Glenn Morris <rgm@gnu.org>
16925 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16926 free variable `doc'.
16928 * dired.el (dired-mode-map): Add menu entry for async shell command.
16930 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16931 variables, also consider the .elc files, since the .el files are
16932 normally gzipped (subsequent code locates the .el.gz from the .elc).
16934 * calc/calc-prog.el (arglist): Define for compiler.
16936 * calendar/diary-lib.el (diary-display-function): Change the default to
16938 (body): Define for compiler.
16940 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16941 (byte-compile-file-form, byte-compile-lambda)
16942 (byte-compile-top-level-body, byte-compile-form)
16943 (byte-compile-variable-ref, byte-compile-setq)
16944 (byte-compile-setq-default, byte-compile-body)
16945 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16946 (batch-byte-compile): Give some more local variables with common names
16947 a "bytecomp-" prefix to avoid masking warnings about free variables.
16949 * startup.el (command-line-1): Give local variables with common names a
16950 distinguishing prefix, so as not to hide free variable warnings during
16953 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16954 clever and add a suffix to make a unique name, just let the user decide
16955 whether or not to overwrite it. If the input is a directory, write the
16956 default filename to that directory. (Bug#4388)
16957 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16958 is a filename-as-a-directory.
16960 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16962 * textmodes/page.el (what-page): Don't move to beginning of line.
16963 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16965 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16967 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16969 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16971 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16972 * help.el (help-for-help-internal): Add purecopy calls for text.
16974 * vc.el (top): print-log method now takes an optional SHORTLOG
16975 argument. Add a new method: root.
16976 (vc-root-diff, vc-print-root-log): New functions.
16977 (vc-log-short-style): New variable.
16978 (vc-print-log-internal): Add support for showing short logs.
16980 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16981 vc-print-root-log and vc-print-root-diff.
16983 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16984 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16985 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16988 * vc-cvs.el (vc-cvs-print-log):
16989 * vc-mtn.el (vc-mtn-print-log):
16990 * vc-rcs.el (vc-rcs-print-log):
16991 * vc-sccs.el (vc-sccs-print-log):
16992 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16993 that is ignored for now.
16995 * vc-mtn.el (vc-mtn-annotate-command):
16996 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16998 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17000 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17001 to function-key-map, and give them ascii-character property.
17002 * term/x-win.el (x-alternatives-map):
17003 * term/ns-win.el (ns-alternatives-map):
17004 * term/internal.el (msdos-key-remapping-map):
17005 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17007 2009-09-14 Glenn Morris <rgm@gnu.org>
17009 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17010 temp-buffers (2009-09-12).
17012 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17014 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17015 the new read-key function.
17017 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17019 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17020 is defined (Bug#4405).
17022 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17024 * recentf.el (recentf-cleanup): Use a hash table to find
17025 duplicates (Bug#4407).
17027 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17029 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17030 kp-0 to ascii equivalents (Bug#4325).
17032 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17034 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17036 * eshell/em-hist.el:
17037 * eshell/em-dirs.el (eshell-complete-user-reference):
17038 Declare pcomplete functions and variables to avoid compiler warnings.
17040 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17042 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17043 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17044 * eshell/em-alias.el (eshell-aliases-file):
17045 * eshell/em-hist.el (eshell-history-file-name):
17046 Use expand-file-name instead of concat to make file names (Bug#4308).
17048 2009-09-13 Glenn Morris <rgm@gnu.org>
17050 * ediff-merg.el (ediff-do-merge):
17051 * filesets.el (filesets-run-cmd):
17052 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17053 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17054 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17055 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17056 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17057 Replace empty `let's with `progn'.
17059 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * mail/sendmail.el (send-mail-function):
17062 * tooltip.el (tooltip-mode):
17063 * simple.el (transient-mark-mode):
17064 * rfn-eshadow.el (file-name-shadow-mode):
17065 * frame.el (blink-cursor-mode):
17066 * font-core.el (global-font-lock-mode):
17067 * files.el (temporary-file-directory)
17068 (small-temporary-file-directory, auto-save-file-name-transforms):
17069 * epa-hook.el (auto-encryption-mode):
17070 * composite.el (global-auto-composition-mode):
17071 Use custom-initialize-delay.
17072 * startup.el (command-line): Don't explicitly call
17073 custom-reevaluate-setting for all the above vars.
17074 * custom.el (custom-initialize-safe-set)
17075 (custom-initialize-safe-default): Delete.
17077 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17079 * term/x-win.el (x-initialize-window-system):
17080 * term/w32-win.el (w32-initialize-window-system):
17081 * term/ns-win.el (ns-initialize-window-system): Don't call
17082 mouse-wheel-mode since it's enabled globally by default already.
17084 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17085 actually define the variable, but only silences the byte-compiler.
17086 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17087 before looking it up.
17088 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17091 2009-09-12 Glenn Morris <rgm@gnu.org>
17093 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17095 (elint-add-required-env): Don't beep on error.
17096 (elint-forms): In case of error, return ENV unchanged.
17097 (elint-init-env): Skip non-list forms.
17098 (elint-log): Handle unknown file positions.
17100 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17102 * epg.el (epg-make-context): Add autoload cookie.
17103 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17104 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17105 (epg-verify-string, epg-start-sign, epg-sign-file)
17106 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17107 (epg-encrypt-string, epg-start-export-keys)
17108 (epg-export-keys-to-file, epg-export-keys-to-string)
17109 (epg-start-import-keys, epg-import-keys-from-file)
17110 (epg-import-keys-from-string, epg-start-receive-keys)
17111 (epg-receive-keys, epg-import-keys-from-server)
17112 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17113 (epg-sign-keys, epg-start-generate-key)
17114 (epg-generate-key-from-file, epg-generate-key-from-string):
17115 Remove autoload cookie.
17117 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17119 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17120 reevaluation of trash-directory.
17122 * mwheel.el: Fix last change.
17123 (mouse-wheel-mode): New defvar.
17124 (mouse-wheel-mode): Remove autoload cookie.
17126 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17128 * mwheel.el (mwheel-installed-bindings): New var.
17129 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17130 the bindings we set last time. Use custom-initialize-delay.
17131 * loadup.el: Load mwheel after term/*-win.el.
17132 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17133 and mouse-wheel-up-event now that their first evaluation is done
17134 sufficiently late to be correct.
17136 * startup.el (tutorial-directory): Make it a defcustom.
17137 Use custom-initialize-delay rather than eval-at-startup to set it.
17138 * image.el (image-load-path): Make it a defcustom.
17139 Use custom-initialize-delay rather than eval-at-startup to set it.
17140 * subr.el (eval-at-startup): Remove.
17141 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17143 * subr.el (do-after-load-evaluation): Warn the user after loading an
17146 2009-09-12 Glenn Morris <rgm@gnu.org>
17148 * proced.el (proced-mark-alt): Remove alias.
17149 (proced-mode-map): Remove proced-mark-alt.
17151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17152 Elint file and directory. Remove initialization entry.
17154 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17156 (elint-current-buffer): Set mode-line-process.
17157 (elint-init-env): Handle define-derived-mode.
17158 Fix declare-function with unspecified arglist. Guard against odd
17159 defalias statements (eg iso-insert's 8859-1-map).
17160 (elint-add-required-env): Use a temp buffer.
17161 (elint-form): Just print the function/macro name, not the whole form.
17162 Return env unchanged if we fail to parse a macro.
17163 (elint-forms): Guard against parse errors.
17164 (elint-output): New function, to handle batch mode.
17165 (elint-log-message): Add optional argument. Use elint-output.
17166 (elint-set-mode-line): New function.
17168 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17170 * emacs-lisp/elp.el (elp-not-profilable): Add more
17171 functions (Bug#4233).
17173 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17175 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17176 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17178 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17180 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17181 (gdb-var-list-children): Use json parsing.
17183 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17185 * progmodes/js.el (js--proper-indentation): Handle the case where
17186 char-before is null. Reported by Deniz Dogan.
17188 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17190 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17192 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17194 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17195 (epg-digest-algorithm-alist): Add SHA224.
17196 (epg-context-set-passphrase-callback)
17197 (epg-context-set-progress-callback): Add description about
17200 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17202 * custom.el (custom-delayed-init-variables): New var.
17203 (custom-initialize-delay): New function.
17204 * startup.el (command-line): "Re"evaluate all vars in
17205 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17206 explicitly any more.
17207 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17208 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17210 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17212 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17214 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17215 (gdb-var-update-handler): Use json parsing.
17217 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17219 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17220 decode annotated text, regardless of language environment. (Bug#2741)
17222 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17224 * Makefile.in (autoloads): Make rmail.el writable as well.
17226 2009-09-11 Glenn Morris <rgm@gnu.org>
17228 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17230 * dired.el: Regenerate with extracted autoloads.
17231 * Makefile.in (autoloads): Make dired.el writable.
17233 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17234 * ibuffer.el: Regenerate with extracted autoloads.
17235 * Makefile.in (autoloads): Make ibuffer.el writable.
17237 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17238 * version.el (emacs-copyright, emacs-major-version)
17239 (emacs-minor-version): Reformat doc-strings for make-docfile.
17241 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17242 functions and variables, since they must be stuff specific to some other
17244 (apropos-print): Make mouse-click message less specific about button.
17246 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17247 that records where a macro was defined.
17248 * help-fns.el (describe-function-1): Mention if a function has a
17250 * help-mode.el (help-function-cmacro): New button.
17252 * locate.el (top-level): Always require dired.
17253 (locate-mode-map): Initialize inside the defvar.
17255 * net/ange-ftp.el (dired-compress-file): Declare.
17256 (ange-ftp-dired-compress-file): Add doc string.
17258 * term/ns-win.el (x-display-name, x-setup-function-keys):
17259 Unify doc-strings with X versions.
17261 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17263 * emulation/crisp.el (crisp-mode-map): Move initialization
17265 (crisp-mode): Use define-minor-mode.
17267 * progmodes/xscheme.el (xscheme-evaluation-commands):
17268 Put a :advertised-binding property rather than using
17269 advertised-xscheme-send-previous-expression.
17270 (advertised-xscheme-send-previous-expression): Declare obsolete.
17271 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17273 (crisp-mode): Add corresponding bindings to
17274 undo's :advertised-binding instead.
17275 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17276 than using dired-advertised-find-file.
17277 (dired-advertised-find-file):
17278 * simple.el (advertised-undo):
17279 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17280 (widget-keymap): Put a :advertised-binding property rather
17281 than using advertised-widget-backward.
17282 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17283 than using advertised-undo.
17284 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17286 2009-09-10 Simon South <ssouth@slowcomputing.org>
17288 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17289 Mark mode is enabled and region is active; otherwise indent or
17290 insert TAB as usual.
17291 (delphi-mode): Update description of TAB-key binding.
17293 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17295 * subr.el (define-key-rebound-commands): Mark obsolete.
17296 * startup.el (precompute-menubar-bindings): Remove.
17297 (normal-top-level): Remove obsolete code that tried to precompute
17299 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17300 define-key-rebound-commands and precompute-menubar-bindings.
17302 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17304 * net/imap.el (imap-interactive-login): Better messages.
17305 (imap-open): Fix bug with renamed buffer on reconnect.
17306 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17307 for easier debugging and cleaner code. On successful (guessed based on
17308 server capabilities) secondary authentication, set imap-state
17310 (imap-last-authenticator): Define imap-last-authenticator as a variable
17313 2009-09-10 Glenn Morris <rgm@gnu.org>
17315 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17317 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17318 (byte-compile-file-form-autoload): Don't warn about unknown functions
17319 where the autoload statement comes after the use.
17320 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17321 that any handlers inside the body (eg require) are in turn respected.
17323 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17326 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17327 and syntax and abbrev tables basic docs, if they don't have any.
17329 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17331 * international/mule-cmds.el (top-level): Require cl when compiling.
17332 (view-hello-file): Use default-value rather than
17333 default-enable-multibyte-characters.
17335 * progmodes/fortran.el: Move all safe and risky properties into the
17338 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17339 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17340 * mail/undigest.el:
17341 Put autoloads in rmail.el rather than loaddefs.el.
17342 * mail/rmail.el: Regenerate with extracted autoloads.
17344 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17345 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17347 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17349 Reported in thread for Bug#4375.
17350 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17351 "-data-evaluate-expression" instead of print.
17352 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17353 (gdb-tooltip-print): Parse output from above MI command.
17354 (gdb): Revert 2009-08-11 change. User should detach inferior
17357 Remove the word "separate" from IO functions as inferior
17358 output is now never displayed in the GUD buffer.
17360 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17362 * startup.el (command-line-normalize-file-name): On Windows and
17363 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17365 2009-09-10 Juri Linkov <juri@jurta.org>
17367 * isearch.el (isearch-text-char-description): Propertize escape
17368 character sequences with the `escape-glyph' face. (Bug#4344)
17370 * simple.el (shell-command): Set asynchronous process filter to
17371 `comint-output-filter'. (Bug#4343)
17373 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17374 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17375 the list. Move "asm" to the bottom.
17376 (grep-find-ignored-directories): Add `choice' with nil value
17377 to empty the list easily.
17378 (grep-find-ignored-files): New option.
17379 (grep-files-history): Set to nil by default instead of '("ch" "el").
17380 (grep-compute-defaults): Add "<X>" to `grep-template'.
17381 (grep-read-files): Bind new local variables `default-alias' and
17382 `default-extension'. Use a list of default values for the file prompt.
17383 (lgrep): Add `--exclude=' command line options composed from
17384 `grep-find-ignored-files'.
17385 (rgrep): Add `-name' command line options composed from
17386 `grep-find-ignored-files'. (Bug#4301)
17388 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17390 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17393 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17395 * calendar/time-date.el (autoload):
17396 Expand define-obsolete-function-alias into defalias and make-obsolete
17397 for old Emacsen that Gnus supports.
17398 (with-no-warnings): Define it for old Emacsen.
17399 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17401 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17402 float-time is available; suppress compile warning for time-to-seconds.
17404 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17406 * net/imap.el (imap-message-map): Docstring fix.
17408 2009-09-09 Glenn Morris <rgm@gnu.org>
17410 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17411 line numbers too. (Bug#4374)
17413 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17415 * smerge-mode.el (smerge-remove-props, smerge-refine):
17416 Use with-silent-modifications (bug#4342).
17418 * subr.el (with-silent-modifications): New macro.
17420 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17422 * files.el (top-level): Require `cl' when compiling.
17424 2009-09-07 Glenn Morris <rgm@gnu.org>
17426 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17428 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17429 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17431 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17433 * vc-git.el (vc-git-annotate-command): Use separator to parse
17434 arguments correctly.
17436 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17438 * proced.el (proced-mode): Doc fix.
17440 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17442 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17444 (tramp-do-file-attributes-with-ls): Check for file existence at
17446 (tramp-do-file-attributes-with-stat): Likewise.
17447 (tramp-convert-file-attributes): Return nil when attr is nil.
17449 2009-09-05 Glenn Morris <rgm@gnu.org>
17451 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17452 properties to this button.
17453 (diary-fancy-display): Don't extend the button to the final newline.
17454 (diary-fancy-display-mode): Continue to define "q" as a local key.
17456 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17459 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17461 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17462 (byte-compile-dest-file-function): New option.
17463 (byte-compile-dest-file): Doc fix.
17464 Obey byte-compile-dest-file-function.
17465 (byte-compile-cl-file-p): New function.
17466 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17467 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17468 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17469 than for file being previously loaded.
17470 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17471 (byte-compile-file-form-require): Handle the case where requiring a file
17472 indirectly causes CL to be loaded.
17474 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17476 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17477 before killing the old buffer, since by the time `kill-buffer' is
17478 run so many buffer variables have been set to nil that it may not
17479 behave as expected. (Bug#4061)
17481 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17483 * files.el (find-alternate-file): If the old buffer is modified
17484 and visiting a file, behave similarly to `kill-buffer' when
17485 killing it, thus reverting to the pre-1.878 behavior; see
17486 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17487 for discussion. Also, consult `buffer-file-name' as a variable
17488 not as a function, for consistency with the rest of the code.
17490 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17492 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17493 also when adding a new directory.
17495 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17498 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17500 * files.el (locate-file-completion-table): Make it provide boundary
17501 information, so partial-completion works better.
17503 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17505 * mail/footnote.el (Footnote-text-under-cursor):
17506 Check footnote-text-marker-alist before using it (bug#4324).
17508 2009-09-04 Glenn Morris <rgm@gnu.org>
17510 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17511 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17512 * play/solitaire.el, play/tetris.el:
17513 Remove leading * from defcustom and defface docs.
17515 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17517 (diary-fancy-overriding-map): New variable.
17518 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17521 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17524 2009-09-03 Glenn Morris <rgm@gnu.org>
17526 * arc-mode.el (archive-mode):
17527 * dos-fns.el (set-default-process-coding-system):
17528 * man.el (Man-getpage-in-background):
17529 * menu-bar.el (menu-bar-describe-menu):
17530 * server.el (server-process-filter):
17531 * startup.el (command-line):
17532 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17533 * w32-fns.el (set-default-process-coding-system):
17534 * x-dnd.el (x-dnd-handle-file-name):
17535 * international/mule-cmds.el (mule-menu-keymap)
17536 (set-default-coding-systems, language-info-alist, set-language-info)
17537 (set-language-environment, standard-display-european-internal)
17538 (set-locale-environment):
17539 * international/mule-diag.el (mule-diag):
17540 * mail/emacsbug.el (report-emacs-bug):
17541 * mail/rmail.el (rmail-mode):
17542 * mail/sendmail.el (mail-setup):
17543 Use default-value rather than default-enable-multibyte-characters.
17545 * progmodes/f90.el: Move all safe properties into the defcustoms.
17546 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17548 * calendar/appt.el (appt-check):
17549 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17550 (diary-check-diary-file, diary-list-entries)
17551 (diary-include-other-diary-files, diary-simple-display)
17552 (diary-fancy-display, diary-print-entries)
17553 (diary-mark-included-diary-files, diary-make-entry):
17554 Don't call substitute-in-file-name on diary-file.
17556 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17557 Stefan Monnier <monnier@iro.umontreal.ca>
17559 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17560 (footnote-mode-map): Move initialization into the declaration.
17561 (footnote-minor-mode-map): Define it rather than changing global-map.
17562 (footnote-mode): Use define-minor-mode.
17564 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17566 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17567 (tramp-do-file-attributes-with-perl)
17568 (tramp-do-file-attributes-with-stat): Rename from
17569 `tramp-handle-file-attributes-with-*'.
17570 (tramp-handle-file-attributes): Use them.
17571 (tramp-do-directory-files-and-attributes-with-perl)
17572 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17573 `tramp-handle-directory-files-and-attributes-with-*'.
17574 (tramp-handle-directory-files-and-attributes): Use them.
17575 (tramp-method-out-of-band-p): Additional parameter SIZE.
17576 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17577 (tramp-handle-write-region): Use it.
17578 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17579 (tramp-handle-vc-registered): Check, whether the first run did
17580 return files to be tested.
17581 (tramp-advice-make-auto-save-file-name): Do not call directly
17582 `tramp-handle-make-auto-save-file-name', because this would bypass
17583 the locking mechanism.
17585 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17586 (file-remote-p, process-file, start-file-process, set-file-times)
17587 (tramp-compat-file-attributes): Compatibility functions shall not
17588 call directly `tramp-handle-*', because this would bypass the
17590 (tramp-compat-number-sequence): New defun.
17592 2009-09-02 Glenn Morris <rgm@gnu.org>
17594 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17595 alias for float-time.
17596 (time-to-number-of-days): In Emacs, use float-time.
17597 * net/newst-backend.el (time-add): Suppress warnings from compat
17599 * time.el (emacs-uptime, emacs-init-time):
17600 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17601 Use float-time rather than time-to-seconds.
17603 * minibuffer.el (completion-initials-expand): Fix typo.
17605 * faces.el (modeline, modeline-inactive, modeline-highlight)
17606 (modeline-buffer-id):
17607 * info.el (info-menu-5): Mark these face aliases as obsolete.
17609 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17611 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17613 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17614 no "--thread" option.
17615 (gdb-stopped): Don't print "Switched to thread" message when it is
17618 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17620 * minibuffer.el (completion-try-completion)
17621 (completion-all-completions): Remove ill-defined (and
17622 mistakenly installed and luckily never used nor documented)
17623 `completion-styles' property.
17624 (completion-initials-expand, completion-initials-all-completions)
17625 (completion-initials-try-completion): New functions.
17626 (completion-styles-alist): Add doc to each entry.
17627 Add new `initials' entry.
17629 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17631 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17632 MI command -var-evaluate-expression.
17633 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17634 and tweak for case of string child.
17635 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17637 2009-09-01 Glenn Morris <rgm@gnu.org>
17639 * add-log.el (change-log-date-face, change-log-name-face)
17640 (change-log-email-face, change-log-file-face, change-log-list-face)
17641 (change-log-conditionals-face, change-log-function-face)
17642 (change-log-acknowledgement-face):
17643 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17644 (custom-modified-face, custom-set-face, custom-changed-face)
17645 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17646 (custom-documentation-face, custom-state-face, custom-comment-face)
17647 (custom-comment-tag-face, custom-variable-tag-face)
17648 (custom-variable-button-face, custom-face-tag-face)
17649 (custom-group-tag-face-1, custom-group-tag-face):
17650 * diff-mode.el (diff-header-face, diff-file-header-face)
17651 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17652 (diff-added-face, diff-changed-face, diff-function-face)
17653 (diff-context-face, diff-nonexistent-face):
17654 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17655 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17656 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17657 (Info-title-4-face):
17658 * isearch.el (isearch-lazy-highlight-face):
17659 * log-view.el (log-view-file-face, log-view-message-face):
17660 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17661 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17662 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17664 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17665 (smerge-base-face, smerge-markers-face):
17666 * wid-edit.el (widget-documentation-face, widget-button-face)
17667 (widget-field-face, widget-single-line-field-face)
17668 (widget-inactive-face, widget-button-pressed-face):
17669 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17670 (woman-addition-face):
17671 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17672 (eshell-ls-executable-face, eshell-ls-readonly-face)
17673 (eshell-ls-unreadable-face, eshell-ls-special-face)
17674 (eshell-ls-missing-face, eshell-ls-archive-face)
17675 (eshell-ls-backup-face, eshell-ls-product-face)
17676 (eshell-ls-clutter-face):
17677 * eshell/em-prompt.el (eshell-prompt-face):
17678 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17679 * obsolete/old-whitespace.el (whitespace-highlight-face):
17680 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17681 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17682 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17683 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17684 (antlr-font-lock-literal-face):
17685 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17686 (ebrowse-root-class-face, ebrowse-file-name-face)
17687 (ebrowse-default-face, ebrowse-member-attribute-face)
17688 (ebrowse-member-class-face, ebrowse-progress-face):
17689 * progmodes/make-mode.el (makefile-space-face):
17690 * progmodes/sh-script.el (sh-heredoc-face):
17691 * textmodes/flyspell.el (flyspell-incorrect-face)
17692 (flyspell-duplicate-face):
17693 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17694 * textmodes/texinfo.el (texinfo-heading-face):
17695 Mark face aliases with "-face" suffix as obsolete.
17697 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17700 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17701 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17702 easy-menu-define wants to modify these.
17704 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17706 * net/browse-url.el (browse-url-file-url):
17707 * term/internal.el (dos-codepage-setup):
17708 Use default-value rather than default-enable-multibyte-characters.
17710 * progmodes/etags.el (etags-goto-tag-location):
17711 * progmodes/flymake.el (flymake-highlight-line)
17712 (flymake-goto-file-and-line, flymake-goto-line):
17713 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17714 (gdb-goto-breakpoint):
17715 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17716 * progmodes/python.el (python-find-function)
17717 (python-pdbtrack-track-stack-file):
17718 * progmodes/verilog-mode.el (verilog-surelint-off):
17719 * term/ns-win.el (ns-open-file-select-line):
17720 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17721 Use forward-line rather than goto-line.
17723 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17724 * textmodes/reftex-index.el (reftex-display-index):
17725 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17726 * textmodes/reftex-toc.el (reftex-toc):
17727 Remove unnecessary bindings of default-major-mode (all are followed by
17728 major-mode check and possible mode switch).
17730 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17732 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17733 Handle watchpoints (bug#4282).
17734 (def-gdb-thread-buffer-command): Enable thread to be selected by
17735 clicking without selecting threads buffer first.
17736 (gdb-current-context-command): Use selected frame so that "up",
17737 "down" etc work in the GUD buffer.
17738 (gdb-update): Find selected frame before rendering stack buffer.
17739 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17741 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17743 * progmodes/sym-comp.el (displayed-completions): Remove.
17744 (symbol-complete): Use minibuffer-complete.
17746 2009-08-31 Glenn Morris <rgm@gnu.org>
17748 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17750 * apropos.el (apropos-symbols-internal):
17751 Handle (obsolete) face aliases.
17753 * faces.el (describe-face): Adjust the output format to be more like
17754 describe-variable, and to mention (obsolete) face aliases.
17755 Adjust the whitespace so that help-setup-xref works.
17757 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17758 * calendar/diary-lib.el (diary-button-face):
17759 Mark these face aliases as obsolete.
17761 * calendar/calendar.el (calendar-today): Doc fix.
17763 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17765 * progmodes/gdb-mi.el (gdb-control-all-threads)
17766 (gdb-control-current-thread): Force tool bar update.
17767 (gdb-non-stop-handler): New function.
17768 (gdb-init-1): Use it to test if non-stop mode is supported.
17769 Remove unused gdbmi buffer type.
17771 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17773 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17774 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17776 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17778 * comint.el (comint-exec-1): Check command is non-null first.
17779 Part of gdb-mi.el change (2009-08-28).
17781 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17783 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17785 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17787 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17788 instead of `dolist' to avoid a recursive require when bootstrapping.
17790 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17792 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17794 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17796 * net/imap.el (imap-send-command): Simplify.
17797 (imap-wait-for-tag): point-max -> buffer-size.
17799 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17801 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17802 with constant argument.
17804 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17806 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17808 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17809 Change default, since most of our files don't have a history.
17810 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17816 * calc/calc.el: Improve commenting convention.
17817 (calc-digit-map, toplevel): Simplify.
17819 * comint.el (comint-insert-input): Be careful to only set point if we
17820 don't delegate to some other command.
17822 * proced.el (proced-signal-list): Make it an alist.
17823 (proced-grammar-alist): Capitalize names.
17824 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17825 Disable undo manually and make it read-only.
17826 Use completion-annotate-function.
17828 * minibuffer.el (minibuffer-message): If the current buffer is not
17829 a minibuffer, insert the message in the echo area rather than at the
17831 (completion-annotate-function): New variable.
17832 (minibuffer-completion-help): Use it.
17833 (completion--embedded-envvar-table): Environment vars are
17834 always case-sensitive.
17836 2009-08-30 Glenn Morris <rgm@gnu.org>
17838 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17839 from fortran-current-defun.
17840 (fortran-beginning-of-subprogram): Be more precise about finding the
17841 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17842 (fortran-end-of-subprogram): Simplify.
17843 (fortran-current-defun): Use fortran-start-prog-re.
17845 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17847 * subr.el (do-after-load-evaluation): Simplify.
17849 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17851 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17853 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17854 (vc-rcs-print-log): Use it.
17856 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17858 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17860 * paths.el (abbrev-file-name): Move to abbrev.el.
17861 * abbrev.el (abbrev-file-name): Move from paths.el.
17862 Obey user-emacs-directory.
17863 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17864 user-emacs-directory.
17865 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17866 abbrev-file-name and calc-settings-file any more.
17867 * startup.el (command-line): Recompute abbrev-file-name and
17868 abbreviated-home-dir.
17869 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17870 of the special code for when C-h bindings haven't been changed.
17871 (display-startup-echo-area-message): Use with-current-buffer.
17872 (command-line-1): Use a list of strings, rather than a list of lists
17873 of strings for longopts.
17875 * files.el (get-free-disk-space): Use / for default-directory.
17877 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17878 Use with-current-buffer.
17880 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17881 Recognize immutable variables like most-positive-fixnum.
17882 (byte-compile-setq-default): Check and warn if trying to assign
17883 to an immutable variable, or a non-variable.
17885 * progmodes/cc-vars.el (c-comment-continuation-stars):
17886 * progmodes/cc-engine.el (c-looking-at-bos):
17887 * progmodes/cc-cmds.el (c-toggle-auto-state)
17888 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17889 (c-comment-line-break-function): Add version of obsolescence.
17891 2009-08-28 Juri Linkov <juri@jurta.org>
17893 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17894 associated with `archive-mode'.
17896 * image.el (image-type-header-regexps): Use only JPEG magic number
17897 to determine JPEG images, and don't use `image-jpeg-p' because
17898 Emacs can display non-JFIF non-Exif JPEG images.
17900 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17902 * arc-mode.el (archive-mode):
17903 * emacs-lisp/re-builder.el (re-builder-unload-function):
17904 Protect against the default value of `major-mode' being nil.
17906 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17908 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17909 Fix typos in docstrings.
17911 * progmodes/js.el (js--macro-decl-re): Doc fix.
17912 (js--plain-method-re, js--split-name): Refloc docstring.
17913 (js--class-styles, js--make-merged-item, js--splice-into-items):
17914 Fix typos in docstrings; reflow docstrings.
17915 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17916 (js--variable-decl-matcher, js--inside-pitem-p)
17917 (js--parse-state-at-point, js--get-all-known-symbols)
17918 (js--symbol-history, js-find-symbol, js--js-references)
17919 (js--moz-interactor, js--js-encode-value, js--read-tab):
17920 Fix typos in docstrings.
17922 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17924 * textmodes/reftex.el (reftex-get-file-buffer-force):
17925 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17926 * emulation/viper.el (viper-go-away, viper-set-hooks):
17927 * emacs-lisp/re-builder.el (re-builder-unload-function):
17928 * emacs-lisp/bytecomp.el (byte-compile-file):
17929 * ses.el (ses-unload-function):
17930 * hexl.el (hexl-find-file):
17931 * files.el (normal-mode):
17932 * ehelp.el (with-electric-help):
17933 * autoinsert.el (auto-insert-alist):
17934 * arc-mode.el (archive-mode):
17935 Use (default-value 'major-mode) instead of default-major-mode.
17937 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17938 * international/mule.el (load-with-code-conversion):
17939 * emacs-lisp/debug.el (debug):
17940 * ediff-vers.el (ediff-rcs-get-output-buffer):
17941 * dired.el (dired-internal-noselect): Don't let-bind
17942 default-major-mode around code that doesn't use it.
17943 E.g. buffer creation via get-buffer-create doesn't use it.
17945 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17947 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17948 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17949 when writing the temp file. Otherwise, epa-file gets confused.
17950 (tramp-register-file-name-handlers): Make it a defun. Move also
17951 `epa-file-handler' to the front of `file-name-handler-alist'.
17953 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17955 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17956 start right after a ^M.
17957 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17958 (tramp-completion-file-name-regexp-separate)
17959 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17960 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17961 Don't modify last-coding-system-used by accident.
17962 (tramp-completion-file-name-handler): Apply the checks here,
17963 instead during registration.
17964 (tramp-register-file-name-handlers): Rename from
17965 `tramp-register-file-name-handler'. Register both
17966 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17967 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17969 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17971 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17972 Remove variable ...
17973 (gdb-init-1, gdb-display-separate-io-buffer)
17974 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17976 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17977 (gdb-inferior-filter): Use comint-output-filter to stop
17978 echoing and remove ^M characters.
17980 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17982 * emulation/viper-init.el (viper-restore-cursor-type):
17983 * emulation/cua-base.el (cua--update-indications):
17984 Replace default-cursor-type with (default-value 'cursor-type).
17986 * mail/sendmail.el (mail-recover-1):
17987 * international/mule-diag.el (describe-current-coding-system-briefly)
17988 (describe-current-coding-system):
17989 * international/mule-cmds.el (select-safe-coding-system)
17990 (select-message-coding-system)
17991 (set-language-environment-coding-systems, set-locale-environment):
17992 * hexl.el (hexl-insert-multibyte-char):
17993 * dos-w32.el (find-buffer-file-type-coding-system):
17994 * simple.el (what-cursor-position):
17995 Replace uses of default-buffer-file-coding-system
17996 with (default-value 'buffer-file-coding-system).
17998 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17999 Replace uses of default-cursor-in-non-selected-windows
18000 with (default-value 'cursor-in-non-selected-windows).
18001 Use with-current-buffer.
18003 * mail/feedmail.el: Use CL macros.
18004 (feedmail-run-the-queue, feedmail-send-it-immediately):
18005 * dos-w32.el (find-buffer-file-type): Replace uses of
18006 default-buffer-file-type with (default-value 'buffer-file-type).
18008 2009-08-28 Glenn Morris <rgm@gnu.org>
18010 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18011 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18012 Use default-value of major-mode rather than default-major-mode.
18014 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18016 * Makefile.in (update-elcfiles): Report left over elc files.
18018 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18019 expand-file-name and with-current-buffer.
18020 (mail-get-names, mail-directory): Use with-current-buffer.
18022 * vc.el (vc-read-revision): New function.
18023 (vc-version-diff, vc-merge): Use it.
18025 2009-08-27 Sam Steingold <sds@gnu.org>
18027 * simple.el (kill-do-not-save-duplicates): New user option.
18028 (kill-new): When it is non-nil, and the new string is the same as
18029 the latest kill, set replace to t to avoid duplicates in kill-ring.
18031 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18033 * net/tramp.el (tramp-handle-process-file): Do not flush all
18034 caches when `process-file-side-effects' is set.
18035 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18036 instead of `tramp-find-file-exists-command'.
18037 Unset `process-file-side-effects'.
18039 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18041 * net/tramp.el (tramp-methods): New method "rsyncc".
18042 (top): Add completion function for "rsyncc".
18043 (tramp-message-show-message): New defvar.
18044 (tramp-message, tramp-error): Use it.
18045 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18047 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18048 `tramp-methods' entry `copy-env' of "rsyncc".
18049 (tramp-vc-registered-read-file-names): New defconst.
18050 (tramp-vc-registered-file-names): New defvar.
18051 (tramp-handle-vc-registered): Implement optimization strategy.
18052 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18053 (tramp-vc-file-name-handler): New defun.
18054 (tramp-get-ls-command, tramp-get-test-command)
18055 (tramp-get-file-exists-command, tramp-get-remote-ln)
18056 (tramp-get-remote-perl, tramp-get-remote-stat)
18057 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18059 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18060 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18062 (tramp-get-file-property): Check for timestamps in
18063 `tramp-cache-inhibit-cache'.
18064 (tramp-set-file-property): Write timestamp.
18066 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18068 * language/japan-util.el (japanese-symbol-table): Add entries for
18071 * international/characters.el: Add category `j' to cp932-2-byte.
18073 2009-08-27 Kenichi Handa <handa@m17n.org>
18075 * international/fontset.el (build-default-fontset-data): New macro.
18076 (setup-default-fontset): Use build-default-fontset-data for CJK,
18077 tibetan, ethiopic, and ipa.
18079 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18081 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18082 (enable-multibyte-characters): Not customizable any more.
18084 * subr.el (default-mode-line-format, default-header-line-format)
18085 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18086 (default-direction-reversed, default-truncate-lines)
18087 (default-left-margin, default-tab-width, default-case-fold-search)
18088 (default-left-margin-width, default-right-margin-width)
18089 (default-left-fringe-width, default-right-fringe-width)
18090 (default-fringes-outside-margins, default-scroll-bar-width)
18091 (default-vertical-scroll-bar, default-indicate-empty-lines)
18092 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18093 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18094 (default-scroll-down-aggressively, default-fill-column)
18095 (default-cursor-type, default-buffer-file-type)
18096 (default-cursor-in-non-selected-windows)
18097 (default-buffer-file-coding-system, default-major-mode)
18098 (default-enable-multibyte-characters): Mark as obsolete.
18100 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18102 * vc-dir.el (vc-dir-update): Remove debug helper.
18104 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18106 2009-08-26 Sam Steingold <sds@gnu.org>
18108 * simple.el (save-interprogram-paste-before-kill): New user option.
18109 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18110 save the interprogram-paste into kill-ring before overriding it
18111 with the Emacs kill.
18113 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18115 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18116 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18117 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18118 and move to vc-rcs.el.
18119 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18121 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18122 (vc-rcs-update-changelog): Remove.
18123 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18124 and move to vc-rcs.el.
18126 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18127 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18129 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18130 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18131 vc.el, renamed to be RCS specific.
18133 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18135 (vc-cvs-update-changelog): Move here from vc.el.
18137 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18140 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18142 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18144 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18146 * vc-git.el (vc-git-register): Use "git add" for directories.
18147 (vc-git-stash, vc-git-stash-show): New functions.
18148 (vc-git-extra-menu-map): Bind them.
18150 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18151 directory correctly in case the item is a directory itself.
18153 * vc.el: Document the desired behavior for reverted files in the
18155 (vc-default-prettify-state-info): Remove function, unused.
18157 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18159 2009-08-26 Glenn Morris <rgm@gnu.org>
18161 * bindings.el (standard-mode-line-format): Reposition dashes in
18162 which-func entry. (Bug#4217)
18164 * files.el (enable-local-variables, enable-local-eval)
18165 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18167 (auto-mode-alist, ignored-local-variables)
18168 (save-some-buffers-action-alist): Move risky declarations to the
18170 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18171 (font-lock-defaults, format-alist, imenu--index-alist)
18172 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18173 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18174 (mode-line-modified, mode-line-mule-info, mode-line-position)
18175 (mode-line-process, mode-line-remote, outline-level)
18176 (parse-time-rules, rmail-output-file-alist)
18177 (special-display-buffer-names, vc-mode):
18178 Move risky declarations to the relevant files.
18179 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18180 (mode-line-modified, mode-line-process, mode-line-position)
18181 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18182 * font-core.el (font-lock-defaults):
18183 * format.el (format-alist):
18184 * vc-hooks.el (vc-mode):
18185 * window.el (special-display-buffer-names):
18186 * international/mule-cmds.el (input-method-alist):
18187 Define riskiness here (dumped file) rather than in files.el.
18188 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18189 * imenu.el (imenu-generic-expression, imenu--index-alist):
18190 * outline.el (outline-level):
18191 * time.el (display-time-string):
18192 * calendar/parse-time.el (parse-time-rules):
18193 * mail/rmailout.el (rmail-output-file-alist):
18194 Autoload riskiness here, rather than placing in files.el.
18196 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18198 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18200 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18202 * simple.el (process-file-side-effects): New defvar.
18204 * dired-aux.el (dired-show-file-type):
18205 * vc.el (vc-diff-internal):
18206 * vc-arch.el (vc-arch-diff):
18207 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18208 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18209 * vc-git.el (vc-git-registered, vc-git-working-revision)
18210 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18211 (vc-git--empty-db-p):
18212 * vc-hooks.el (vc-user-login-name):
18213 * vc-svn.el (vc-svn-registered, vc-svn-state)
18214 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18215 * progmodes/grep.el (grep-probe): Let-bind
18216 `process-file-side-effects' with nil.
18218 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18220 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18221 daemon. Replace ping by checking for running service for bluez
18222 and zeroconf. (Bug#4239)
18224 2009-08-25 Kevin Ryde <user42@zip.com.au>
18226 * net/dig.el (dig): Add autoload cookie.
18228 2009-08-25 Glenn Morris <rgm@gnu.org>
18230 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18231 load-history for absolute file-names.
18232 (byte-compile-file-form-require): Warn about use of the cl package.
18234 * format.el (format-alist): Doc fix.
18236 * play/bubbles.el (top-level): Don't require cl at run-time.
18238 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18241 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18243 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18245 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18247 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18249 * calc/calc-alg.el (math-trig-rewrite)
18250 (math-hyperbolic-trig-rewrite): New functions.
18251 (calc-simplify): Simplify trig functions when asked.
18253 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18255 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18257 2009-08-24 Kenichi Handa <handa@m17n.org>
18259 * language/ind-util.el (mapthread): Delete it.
18260 (combinatorial): New function.
18261 (indian--puthash-cv): Use combinatorial instead of mapthread.
18263 2009-08-22 Kevin Ryde <user42@zip.com.au>
18265 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18266 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18267 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18268 Clarify docstring that the value is strings not symbols.
18269 (checkdoc-list-of-strings-p): New function.
18271 2009-08-22 Glenn Morris <rgm@gnu.org>
18273 * files.el (auto-mode-alist):
18274 * hippie-exp.el (he-concat-directory-file-name):
18275 * lpr.el (lpr-windows-system, printer-name):
18276 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18277 * ps-print.el (ps-windows-system):
18278 * startup.el (command-line):
18279 * emulation/viper-ex.el (viper-glob-function):
18280 * international/mule-cmds.el (set-language-environment-coding-systems):
18281 * net/ange-ftp.el (ange-ftp-write-region):
18282 * obsolete/fast-lock.el (fast-lock-cache-name):
18283 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18284 unisoft-unix, vax-vms, win32, w32.
18286 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18287 given name if the pattern is not more specific.
18289 * calendar/lunar.el (lunar-phase-names): New option.
18290 (lunar-phase): Doc fix.
18291 (lunar-cycles-per-year): New constant.
18292 (lunar-index): New function.
18293 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18294 (lunar-phase-name): Use lunar-phase-names.
18295 (calendar-lunar-phases): Use format.
18296 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18298 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18299 Copy imenu-example--name-and-position function here for own use.
18300 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18302 * bs.el (bs--redisplay):
18303 * cus-edit.el (custom-redraw):
18304 * ibuffer.el (ibuffer-bury-buffer):
18305 * server.el (server-goto-line-column):
18306 * startup.el (command-line-1):
18307 * strokes.el (strokes-xpm-for-stroke):
18308 * term.el (term-display-buffer-line):
18309 * view.el (View-goto-line):
18310 * calc/calc.el (calc-do, calc-trail-buffer):
18311 * play/gamegrid.el (gamegrid-add-score-insecure):
18312 * progmodes/ada-mode.el (ada-compile-goto-error):
18313 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18314 (ebrowse-select-1st-to-9nth):
18315 * progmodes/cperl-mode.el (cperl-time-fontification):
18316 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18317 * progmodes/gud.el (gud-display-line):
18318 (idlwave-shell-display-line):
18319 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18320 * progmodes/make-mode.el (makefile-browser-toggle):
18321 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18322 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18323 * textmodes/picture.el (picture-draw-rectangle):
18324 * textmodes/reftex-index.el (reftex-index-goto-letter):
18325 (reftex-select-jump-to-previous):
18326 * textmodes/reftex-sel.el (reftex-find-start-point)
18327 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18328 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18329 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18330 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18331 * textmodes/two-column.el (2C-associated-buffer):
18332 Use forward-line rather than goto-line.
18334 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18337 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18338 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18339 (quick-check-list-to-regexp): Declare.
18341 * progmodes/make-mode.el (makefile-browser-insert-selection):
18342 Use goto-char rather than goto-line.
18344 * progmodes/prolog.el (compilation-error-regexp-alist)
18345 (compilation-forget-errors): Declare.
18347 2009-08-22 Juri Linkov <juri@jurta.org>
18349 * progmodes/grep.el (lgrep, rgrep): At the beginning
18350 set `dir' to `default-directory' unless `dir' is a non-nil
18351 readable directory. (Bug#4052)
18352 (lgrep, rgrep): Change a weird way to report an error
18353 from using `read-string' to using `error'.
18354 Instead of using interactive arguments in the function body,
18355 add new argument `confirm'.
18357 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18359 * textmodes/remember.el (remember-buffer):
18360 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18361 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18362 (icalendar-extract-ical-from-buffer):
18363 * net/newst-treeview.el (newsticker-groups-filename):
18364 * net/newst-backend.el (newsticker-cache-filename):
18365 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18366 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18367 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18368 (speedbar-buffers-line-path, speedbar-path-line)
18369 (speedbar-buffers-line-path):
18370 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18372 * epa.el (epa-display-verify-result):
18373 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18375 2009-08-21 Glenn Morris <rgm@gnu.org>
18377 * progmodes/js.el (inferior-moz-process): Fix declaration.
18379 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18381 * obsolete/rnewspost.el (news-mail-reply):
18382 Use goto-char rather than goto-line.
18384 * term/ns-win.el (ns-open-file-select-line):
18385 Use line-beginning-position rather than goto-line.
18387 * apropos.el (apropos-command):
18388 * ehelp.el (electric-helpify):
18389 * printing.el (pr-show-setup):
18390 * strokes.el (strokes-help):
18391 * tutorial.el (tutorial--describe-nonstandard-key)
18392 (tutorial--detailed-help):
18393 * woman.el (woman-mini-help, woman-display-extended-fonts):
18394 * calc/calc-help.el (calc-describe-key):
18395 * emulation/edt.el (edt-electric-helpify):
18396 * international/mule-diag.el (mule-diag):
18397 * play/yow.el (apropos-zippy):
18398 * progmodes/python.el (python-describe-symbol):
18399 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18400 * textmodes/table.el (*table--cell-describe-mode)
18401 (*table--cell-describe-bindings):
18402 Use help-print-return-message rather than the now obsolete alias.
18404 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18405 (calendar-cursor-to-visible-date):
18406 * play/5x5.el (5x5-position-cursor):
18407 * play/decipher.el (decipher):
18408 * play/gomoku.el (gomoku-goto-xy):
18409 * play/landmark.el (lm-goto-xy):
18410 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18411 (mpuz-paint-digit):
18412 Use forward-line, not goto-line.
18414 * mail/rmail.el (rmail-obsolete): Delete custom group.
18415 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18416 (rmail-remote-password, rmail-remote-password-required):
18417 Remove unneeded :set-after and :set properties.
18419 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18421 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18423 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18425 * loadup.el: Remove leftover macos code.
18427 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18428 Explicitly pass the date format to git blame so that user local
18429 so that the output format can be parsed.
18431 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18433 * net/dbus.el (top): Don't check for (getenv
18434 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18436 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18438 * log-edit.el (log-edit-strip-single-file-name): New var.
18439 (log-edit-insert-changelog): Use it. Bug#3571
18441 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18443 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18446 * help.el (help-print-return-message): Rename from
18447 print-help-return-message.
18449 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18450 cvs-mode-map parent hack.
18451 (log-view-mode): Derive from special-mode.
18453 * linum.el (linum-mode): window-size-change-functions is redundant.
18454 Adapt to new window-configuration-change-hook behavior.
18455 (linum-after-size, linum-after-config): Remove.
18457 * imenu.el (imenu-example--name-and-position)
18458 (imenu-example--lisp-extract-index-name)
18459 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18462 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18463 (inferior-prolog-mode): Use it.
18464 (inferior-prolog-load-file): Reset list of errors.
18466 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18468 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18470 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18472 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18474 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18475 is running already.
18477 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18479 * subr.el (listify-key-sequence-1): Use normal syntax since those
18480 integers are nowadays always represented by the same (positive) number
18482 (read-key-empty-map): New const.
18483 (read-key-delay): New var.
18484 (read-key): New function.
18485 (force-mode-line-update): Use with-current-buffer.
18486 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18487 (start-process-shell-command, start-file-process-shell-command):
18488 Discourage the use of command-args.
18490 2009-08-19 Glenn Morris <rgm@gnu.org>
18492 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18494 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18496 * simple.el (choose-completion-string): Don't rely on
18497 minibuffer-completing-file-name and ad-hoc checks to decide whether
18498 to continue completion or not.
18500 * minibuffer.el (minibuffer-hide-completions): New function.
18501 (completion--do-completion): Use it.
18502 (completions-annotations): New face.
18503 (completion--insert-strings): Use it.
18504 (completion-pcm--delim-wild-regex): Add docstring.
18505 (completion-pcm--string->pattern): Add support for 0-width delimiters
18506 in completion-pcm--delim-wild-regex.
18508 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18510 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18511 Remove unused var `buffer-modified-p'.
18513 * minibuffer.el (completion--do-completion): Move point for the #b001
18514 case as well (bug#4176).
18515 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18517 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18519 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18520 and :session buses.
18522 2009-08-18 Kenichi Handa <handa@m17n.org>
18524 * international/ucs-normalize.el (ucs-normalize-version):
18526 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18527 (utf-8-hfs): Make it perform normalization on encoding too.
18529 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18530 (sentence-end-without-space): Delete duplicated chars.
18531 (sentence-end-base): Likewise.
18533 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18534 (html-mode): Delete duplicated chars from sentence-end-base.
18536 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18537 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18539 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18541 * files.el (hack-one-local-variable): If the mode function is for
18542 a minor mode, pass it an argument (Bug#4148).
18544 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18546 * net/tramp.el (tramp-register-completion-file-name-handler):
18547 Check also for (member 'partial-completion completion-styles).
18549 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18551 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18554 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18556 * progmodes/cperl-mode.el: Merge upstream 6.2.
18557 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18558 (cperl-forward-re): Check cperl-brace-recursing.
18559 (cperl-highlight-charclass): New function.
18560 (cperl-find-pods-heres): Use it.
18561 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18562 (cperl-beautify-regexp-piece): Fix column calculation.
18563 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18564 (cperl-beautify-level): Don't process entire regexp.
18565 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18567 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18568 (cperl-init-faces): Build a list in the normal way.
18570 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18572 * calendar/parse-time.el (parse-time-string-chars): Save match
18575 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18577 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18578 (sql-product): Use it.
18579 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18580 (sql-set-product): Add completion.
18581 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18582 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18583 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18584 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18585 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18586 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18587 (sql-highlight-db2-keywords): Remove.
18588 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18589 (sql-highlight-product): Use derived-mode-p.
18590 (sql-set-sqli-buffer): Use with-current-buffer.
18591 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18594 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18596 * term.el: Fix commenting convention, turn comments into docstrings.
18598 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18600 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18602 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18604 * calendar/parse-time.el (parse-time-string-chars): Compute using
18605 character classes, to handle non-ascii characters (Bug#3190).
18607 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18609 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18610 another heredoc if the user adds another < (Bug#3226).
18612 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18613 Don't initialize based on window-system (Bug#4124).
18615 * facemenu.el (facemenu-read-color): Use a completion function
18616 that accepts any defined color, such as RGB triplets (Bug#3677).
18618 * files.el (get-free-disk-space): Change fallback default
18619 directory to /. Expand DIR argument before switching to fallback.
18620 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18622 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18624 * files.el (load-library): Doc fix.
18626 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18628 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18629 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18630 incremental search string.
18632 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18635 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18636 (ediff-merge-region-is-non-clash)
18637 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18638 Also check if the job is really a merge job.
18640 * ediff.el (ediff-current-file): New function.
18642 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18644 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18646 (js-insert-and-indent): Delete function.
18647 (js-mode-map): Don't bind keys to js-insert-and-indent.
18648 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18649 (js-end-of-defun): Rename from js--end-of-defun.
18650 (js-auto-indent-flag): Delete variable.
18652 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18654 * progmodes/js.el: Remove proclaim statement.
18655 Defvar which-func-imenu-joiner-function to silence compiler.
18657 * files.el (auto-mode-alist): Use js-mode for .js files.
18659 * progmodes/js2-mode.el: Remove file.
18661 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18663 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18665 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18667 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18668 Karl Landstrom <karl.landstrom@brgeight.se>
18670 * progmodes/js.el: New file.
18672 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18674 * timezone.el (timezone-parse-date): Add ability to understand ISO
18675 basic format (minimal separators) dates in addition to the
18676 already-supported extended format dates.
18678 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18680 * international/ucs-normalize.el: Add a `coding' file variable.
18682 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18684 2009-08-14 Sam Steingold <sds@gnu.org>
18686 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18688 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18690 * faces.el (help-argument-name): Define it here instead of
18691 help-fns.el, because in daemon mode help-fns.el may be loaded when
18692 faces are still uninitialized (Bug#1078).
18694 * help-fns.el (help-argument-name): Move defface to faces.el.
18696 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18698 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18699 create buffer with a pty but no process so that GDB can make the
18700 inferior the controlling process.
18702 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18704 * international/ucs-normalize.el: New file.
18706 2009-08-13 Richard Stallman <rms@gnu.org>
18708 * mail/rmail.el (rmail-get-attr-names):
18709 Accept an attribute header that is too short.
18711 * mail/rmail.el (rmail-forget-messages):
18712 Ignore nil elt in rmail-message-vector. Use dotimes.
18714 * progmodes/compile.el (compilation-goto-locus):
18715 Use next-error-move-function.
18717 * simple.el (next-error-move-function): New variable.
18719 2009-08-12 Juri Linkov <juri@jurta.org>
18721 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18722 always non-nil. (Bug#4052)
18724 * replace.el (read-regexp): Return empty string when
18725 `default-value' is nil.
18726 (keep-lines-read-args): Don't use empty string as the
18727 default value for `read-regexp'. (Bug#2495)
18729 2009-08-12 Juri Linkov <juri@jurta.org>
18731 * international/mule-cmds.el (ucs-insert): Change arguments
18732 from `arg' to `character', `count', `inherit' to be the same
18733 as in `insert-char'. Doc fix. (Bug#4039)
18735 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18737 2009-08-12 Juri Linkov <juri@jurta.org>
18739 * files-x.el: New file.
18741 * files.el: Move code that deals with adding/deleting
18742 file/directory-local variables to files-x.el.
18744 * Makefile.in (ELCFILES): Add files-x.elc.
18746 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18748 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18749 to use `goto-line'.
18750 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18752 (gdb-invalidate-disassembly): Do not refresh upon receiving
18753 'update signal. Instead, update all disassembly buffers only after
18755 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18756 (gdb-starting): Move -data-list-register-names...
18757 (gdb-stopped): ...here so it's sent when first thread stops.
18758 (gdb-registers-handler-custom): Do nothing if register names are
18761 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18762 from `gdb-mi.el' to avoid extra tangling.
18764 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18765 change which breaks `gud-def' definitions used in `gdb'.
18766 (gdb-update-gud-running): No extra fuss for updating frame number.
18768 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18770 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18771 (describe-language-environment-map, setup-language-environment-map)
18772 (set-coding-system-map): Move initialization into declaration.
18773 (set-language-info-alist): Last arg to define-key-after can be skipped.
18775 * international/quail.el (quail-completion-1): Simplify.
18776 (quail-define-rules): Use slightly more compact code.
18777 (quail-insert-decode-map): Propertize keys, compact columns.
18779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18782 2009-08-10 Miles Bader <miles@gnu.org>
18784 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18785 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18786 (js2-instance-member, js2-private-member, js2-private-function-call)
18787 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18788 (js2-magic-paren, js2-external-variable):
18789 Remove "-face" suffix from face names.
18790 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18791 (js2-highlight-undeclared-vars, js2-peek-token)
18792 (js2-parse-function-params, js2-mode-show-errors)
18793 (js2-mode-show-warnings, js2-make-magic-delimiter)
18794 (js2-mode-highlight-magic-parens): Update to use new face names.
18796 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18798 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18799 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18801 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18803 * subr.el: Provide hashtable-print-readable.
18805 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18806 hs-c-like-adjust-block-beginning.
18807 (hs-hide-block-at-point): Stop hiding at the beginning of
18808 hs-block-end-regexp (Bug#700).
18810 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18812 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18814 (gdb-registers-handler-custom): Do not fail when register names
18817 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18819 * progmodes/gdb-mi.el (gdb-control-all-threads)
18820 (gdb-control-current-thread): Interactive setters for
18821 `gdb-gud-control-all-threads' to use in menu.
18822 (gdb-show-run-p): Show «Go» when process is not active.
18823 (gud-tool-bar-map): Add non-stop/A,T indicator.
18824 Uses gud/thread.xpm and gud/all.xpm.
18826 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18828 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18829 (nslookup-font-lock-keywords): Make it a variable.
18830 (net-utils-mode): New mode for viewing diagnostic network output.
18831 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18832 (net-utils-run-simple): New function.
18833 (ifconfig, iwconfig, netstat, arp, route): Use it.
18835 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18837 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18838 (gdb-memory-set-address, def-gdb-set-positive-number)
18839 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18840 after changing settings.
18841 (gdb-invalidate-disassembly): Update when first shown.
18842 (gdb-edit-locals-value): Fixed.
18843 (gdb-registers-handler-custom): Print registers in right order and
18844 allow changing register values (only for current thread yet).
18845 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18846 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18847 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18848 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18849 Thread info in mode name.
18850 (gdb-registers-mode-map): TAB to switch to locals.
18852 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18854 * mail/rmail.el (rmail-add-mbox-headers)
18855 (rmail-set-message-counters-counter): Search for
18856 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18858 2009-08-08 Glenn Morris <rgm@gnu.org>
18860 * Makefile.in (ELCFILES): Update.
18862 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18864 * mail/sendmail.el (mail-yank-original):
18865 Set buffer-file-coding-system from the one used by the message whose
18868 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18869 to "windows" when "pgnuplot" is used.
18870 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18871 Don't call accept-process-output if "pgnuplot" is used.
18872 (calc-graph-init): Don't send -display and -geometry to
18873 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18874 running "pgnuplot -V" with shell-command-to-string.
18876 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18879 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18881 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18884 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18886 * vc-dispatcher.el (vc-resynch-window): Update comment.
18888 * term.el (term-handle-ansi-escape): Add comments with the
18889 terminfo capabilities implemented.
18891 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18893 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18894 (gdb-var-create-handler): Rewritten using JSON parser.
18895 (gdb-propertize-header): Move earlier.
18896 (gdb-set-header): Remove to avoid duplication.
18897 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18898 Refresh disassembly buffers only after threads list have been
18900 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18903 2009-08-04 Juri Linkov <juri@jurta.org>
18905 * files.el: Commands to add/delete file/directory-local variables.
18906 (read-file-local-variable, read-file-local-variable-value)
18907 (read-file-local-variable-mode, modify-file-local-variable)
18908 (modify-file-local-variable-prop-line)
18909 (modify-dir-local-variable): New functions.
18910 (add-file-local-variable, delete-file-local-variable)
18911 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18912 (add-dir-local-variable, delete-dir-local-variable)
18913 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18914 (copy-dir-locals-to-file-locals-prop-line): New commands.
18916 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18918 * abbrev.el (insert-abbrev-table-description): Prettify output.
18919 Suggested by Karl Chen.
18921 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18923 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18924 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18925 (gdb-overlay-arrow-position, gdb-thread-position)
18926 (gdb-disassembly-position): Declare variables.
18927 (gdb-wait-for-pending): Function now.
18928 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18929 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18930 compilation goes smoothly.
18931 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18932 (gdb-non-stop-setting): New customization setting which replaces
18933 `gdb-non-stop' so changing it doesn't break active GDB session.
18934 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18935 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18936 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18937 (gdb-show-threads-by-default): New customization options.
18938 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18940 (gdb-get-buffer-create): Send buffers update signal when they are
18942 (gdb-invalidate-locals, gdb-invalidate-registers)
18943 (gdb-invalidate-breakpoints)
18944 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18945 (gdb-invalidate-memory): Accept update signal.
18946 (gdb-current-context-command): Use --frame option.
18947 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18948 Implement `gdb-frame-number' selection logic.
18949 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18950 whether to show GUD toolbar buttons.
18951 (gdb-thread-exited): Unselect current thread when it exits.
18952 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18953 (gdb-mark-line): Routine which sets overlay arrow or inverses
18954 video on fringeless displays.
18955 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18956 to build aligned columns of data in GDB buffers and set text
18957 properties line-by-line.
18958 (gdb-invalidate-breakpoints)
18959 (gdb-breakpoints-list-handler-custom)
18960 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18961 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18962 (gdb-registers-handler-custom): Align data columns.
18963 (gdb-locals-handler-custom): Now prints data like in variable
18965 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18966 Remove confusing buttons.
18967 (gdb-invalidate-threads): Append --frame.
18968 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18969 between breakpoints/threads buffers.
18970 (gdb-set-window-buffer): Now can ignore dedicated windows.
18971 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18972 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18973 (def-gdb-thread-buffer-gud-command): Replaces
18974 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18975 for fine thread control.
18976 (gdb-preempt-existing-or-display-buffer): New function used to
18977 display bound buffers without breaking window layout.
18978 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18979 (gdb-select-frame): New version of `gdb-frames-select' which now
18980 sets `gdb-frame-number' so commands may use --frame option instead
18981 of inner debugger state.
18982 (gdb-frame-handler): Do not set `gdb-frame-number'.
18983 (gdb-threads-mode-map): Select threads with mouse.
18985 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18986 avoid compilation warning.
18987 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18990 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18991 Argument `key' renamed to `buffer-type'.
18992 (gdb-current-context-buffer-name): Do not add thread info to
18993 buffer name when no thread is selected.
18994 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18995 command (bug 3794).
18996 (gdb-thread-selected): Handle `=thread-selected' notification.
18997 (gdb-wait-for-pending): New macro to deal with congestion problems.
18998 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19000 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19001 This fixes problem similar to one described in bug 3947.
19002 (gud-menu-map): More menu items.
19003 (gdb-init-1): Reset `gdb-thread-number' to nil.
19005 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19008 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19009 (gdb-current-context-command): Do not append --thread if
19010 `gdb-thread-number' is nil.
19011 (gdb-running-threads-count, gdb-stopped-threads-count):
19013 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19014 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19015 New customization options.
19016 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19018 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19019 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19020 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19021 set `gdb-thread-number' and update `gud-running' properly.
19022 (gdb-running): Update threads list when new threads appear.
19023 (gdb-stopped): Support non-stop operation and new thread switching
19025 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19026 (gdb-json-partial-output): New set of JSON routines.
19027 (def-gdb-auto-update-trigger): New `signal-list' optional
19029 (gdb-thread-list-handler-custom): Update `gud-running',
19030 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19031 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19032 (gdb-continue-thread, gdb-step-thread): New commands for fine
19033 thread execution control.
19034 (gud-menu-map): New menu items to switch non-stop options.
19035 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19036 (gdb-send): Mimic RET properly (bug 3794).
19038 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19039 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19041 (def-gdb-auto-update-handler): New nopreserve optional argument.
19042 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19044 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19045 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19046 (gdb-parent-mode): New mode to derive other GDB modes from.
19047 (gdb-display-disassembly-for-thread)
19048 (gdb-frame-disassembly-for-thread): New commands for threads
19051 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19052 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19053 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19054 (gdb-update): We now store all GDB buffers in a list so that they
19055 can be updated by traversing a list instead of calling invalidate
19056 triggers explicitly.
19057 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19058 pair for GDB buffer.
19059 (gdb-stack-buffer-name): Add thread information.
19060 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19061 handle pending triggers.
19062 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19063 (def-gdb-thread-buffer-simple-command)
19064 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19065 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19066 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19067 New commands which show buffers bound to thread.
19068 (gdb-stack-list-locals-regexp): Remove unused regexp.
19070 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19071 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19072 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19073 to (gud-comint-buffer) in *-buffer-name functions
19074 because (gdb-get-target-string) already does that.
19075 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19076 (gdb-changed-registers-handler): Rewritten without regexps.
19078 * progmodes/gdb-mi.el: Basic thread selection support.
19079 (gdb-thread-number): New variable.
19080 (gdb-current-context-command): New macro which adds --thread
19082 (gdb-threads-mode-map): Select thread with SPC.
19083 (gdb-thread-list-handler-custom): Mark current thread with overlay
19084 arrow. Synchronize GDB thread and Emacs thread.
19085 (gdb-select-thread): New command which selects current thread.
19086 (gdb-invalidate-frames, gdb-invalidate-locals)
19087 (gdb-invalidate-registers): Use --thread option.
19089 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19091 * net/tramp.el (top): Make check for tramp-gvfs loading more
19093 (tramp-handle-insert-file-contents): `unwind-protect' must be
19094 inside `with-parsed-tramp-file-name'.
19096 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19099 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19101 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19102 directory if CLASSPATH is not set.
19104 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19106 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19108 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19110 2009-08-02 Kevin Ryde <user42@zip.com.au>
19112 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19113 Update freshmeat link. Delete newsforge.com as it seems gone.
19115 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19117 * select.el (x-set-selection): Doc fix (Bug#4021).
19119 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19121 * help-fns.el (describe-variable): Treat list return values from
19122 dir-locals-find-file properly (Bug#4005).
19124 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19126 * net/tramp.el (tramp-debug-message): Print also microseconds.
19128 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19130 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19132 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19133 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19136 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19137 (tramp-get-file-property): Use it.
19139 * autorevert.el (auto-revert-handler):
19140 Allow `auto-revert-tail-mode' for remote files.
19142 2009-08-02 Jason Rumney <jasonr@gnu.org>
19144 * minibuffer.el (read-file-name): Treat confirm options to
19145 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19147 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19149 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19150 (font-lock-variable-name-face, font-lock-constant-face):
19151 Darken the colors for light backgrounds.
19153 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19155 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19156 month names. (Bug#3987)
19158 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19160 * simple.el (line-move-finish): Pass whole number to
19161 line-move-to-column.
19162 (line-move-visual): Perform hscroll to the recorded position.
19164 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19166 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19168 2009-07-29 Alan Mackenzie <acm@muc.de>
19170 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19172 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19174 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19175 (gdb-place-breakpoints): Use full path when setting breakpoints.
19177 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19179 * calc/calc.el (calc-mode-map): Add keybinding for
19180 `calc-transpose-lines'.
19182 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19184 * calc/calc-misc.el (calc-transpose-lines): New function.
19186 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19188 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19189 Simplify check for out-of-band methods.
19190 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19191 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19193 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19195 * vc-git.el (vc-git-checkin): Fix typo.
19197 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19199 * progmodes/js2-mode.el: New file.
19201 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19203 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19204 (gud-menu-map): Adjust tooltip accordingly.
19206 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19208 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19209 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19211 * add-log.el (change-log-mode-map): Add a menu.
19213 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19215 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19216 function returns nil.
19217 (dbus-handle-event): Handle special return value :ignore.
19218 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19220 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19222 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19225 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19229 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19231 * term/pc-win.el (x-display-name, x-colors)
19232 (x-select-enable-clipboard, x-select-text): Doc fix.
19234 * term/common-win.el (x-display-name, x-colors): Doc fix.
19236 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19237 (xw-defined-colors): Doc fix.
19239 * w32-fns.el (x-select-text, x-setup-function-keys)
19240 (x-get-selection, x-set-selection): Doc fix.
19242 * term/x-win.el (x-select-text, x-setup-function-keys)
19243 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19245 * select.el (x-set-selection): Doc fix.
19247 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19249 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19250 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19251 "IsNSSSupportAvailable" method is not available.
19252 Reported by Steve Youngs <steve@sxemacs.org>.
19254 2009-07-24 Kenichi Handa <handa@m17n.org>
19256 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19257 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19258 (build-unicode-category-table): Fix range checks.
19260 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19262 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19263 the buffer we try to sync is current when calling
19266 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19267 not show up to date files.
19269 2009-07-24 Glenn Morris <rgm@gnu.org>
19271 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19272 Add autoload cookies. If necessary, initialize.
19273 (elint-log): Handle non-file buffers.
19274 (elint-initialize): Add optional argument to reinitialize.
19275 (elint-find-builtin-variables): Save excursion.
19277 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19279 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19282 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19284 * vc.el (vc-print-log-internal): New function, split out from ...
19285 (vc-print-log): ... here.
19286 (vc-dir-move-to-goal-column): Declare.
19288 * vc-git.el (vc-git-add-signoff): New variable.
19289 (vc-git-checkin): Use it.
19290 (vc-git-toggle-signoff): New function.
19291 (vc-git-extra-menu-map): Bind it to menu.
19292 (vc-git--run-command-string): Accept a nil FILE argument.
19293 (vc-git-stash-list): New function.
19294 (vc-git-dir-extra-headers): Use it.
19296 2009-07-23 Glenn Morris <rgm@gnu.org>
19298 * help-fns.el (describe-variable): Describe ignored and risky local
19299 variables in a similar way to that in which we describe safe ones.
19301 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19302 (byte-compile-output-file-form, byte-compile-output-docform)
19303 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19304 Give some more local variables with common names a "bytecomp-" prefix,
19305 so as not to shadow things during compilation.
19306 * emacs-lisp/cl-macs.el (load-time-value)
19307 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19308 `outbuffer' to `bytecomp-outbuffer'.
19310 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19311 since the next two variables cover them automatically now.
19312 (elint-builtin-variables, elint-autoloaded-variables): New.
19313 (elint-unknown-builtin-args): Remove all members, since they can be
19314 parsed automatically now.
19315 (elint-extra-errors): New.
19316 (elint-env-add-env, elint-env-add-macro): Use cadr.
19317 (elint-current-buffer): Use or. Change final message.
19318 (elint-get-top-forms): Use line-end-position.
19319 (elint-init-env): Use cadr. Handle autoload, declare-function,
19321 (elint-add-required-env): Doc fix. Use or. Standardize error.
19322 (regexp-assoc): Remove unused function.
19323 (elint-top-form): Set elint-current-pos, to record the start of the
19324 top-level form, for compilation-mode.
19325 (elint-form): Trap errors in macro expansion. Use dolist.
19326 (elint-unbound-variable): Use elint-builtin-variables and
19327 elint-autoloaded-variables.
19328 (elint-get-args): Use cadr, or.
19329 (elint-check-cond-form): Use dolist, cadr.
19330 (elint-check-condition-case-form): Doc fix. Use cadr.
19331 Use elint-extra-errors.
19332 (elint-log): New function.
19333 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19334 Distinguish errors and warnings.
19335 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19336 Use a bytecomp-style format.
19337 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19338 (elint-get-log-buffer): Use compilation mode. Disable undo.
19339 Don't truncate lines.
19340 (elint-initialize): Set builtin and autoloaded variable lists.
19341 Only process elint-unknown-builtin-args if non-nil.
19342 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19344 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19346 2009-07-22 Kevin Ryde <user42@zip.com.au>
19348 * net/newst-backend.el (newsticker--parse-atom-1.0)
19349 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19350 (newsticker--parse-rss-1.0):
19351 * progmodes/idlwave.el (idlwave-mode):
19352 * progmodes/idlw-shell.el (idlwave-shell-mode):
19353 * progmodes/vera-mode.el (vera-mode):
19354 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19355 * progmodes/vhdl-mode.el (vhdl-mode):
19356 * textmodes/table.el (table-generate-source)
19357 (table--warn-incompatibility):
19358 Hyperlink urls in docstrings with URL `...'.
19360 2009-07-22 Glenn Morris <rgm@gnu.org>
19362 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19363 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19364 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19365 Remove leading * from defcustom docs.
19367 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19369 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19371 (list-load-path-shadows): Optionally, just return shadows as a string.
19373 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19375 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19377 * mail/rmailedit.el (rmail-edit-mode):
19378 Use auto-save-include-big-deletions.
19380 * mail/rmail.el (rmail-variables):
19381 Use auto-save-include-big-deletions.
19383 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19386 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19388 * calc/calc.el (calc-undo-length): New variable.
19389 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19391 2009-07-21 Richard Stallman <rms@gnu.org>
19393 * files.el (auto-save-mode): Handle buffer-save-size = -2
19396 2009-07-21 Glenn Morris <rgm@gnu.org>
19398 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19400 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19402 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19403 silence compiler. Instead...
19404 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19405 (ps-print-ensure-fontified): Update for above function name changes.
19407 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19408 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19409 silence compiler. Instead...
19410 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19411 (mh-show-buffer): Only define for compiler.
19412 (pr-mh-current-message): Update for above function name changes.
19414 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19416 (find-file-noselect, insert-file-1): Update for above change.
19418 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19420 * mail/mailclient.el (mailclient-send-it): Fix message.
19422 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19423 (edebug-eval): Check cl-debug-env is bound.
19424 (print-level, print-circle): Don't redefine built-in variables.
19426 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19427 (custom-print-vectors): Remove old comments from doc.
19429 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19430 (emerge-version): Make the variable an obsolete alias for the
19431 emacs-version variable. Make the function obsolete.
19432 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19433 Emerge options, rather than merging in into the main Options menu.
19434 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19435 and auto advance modes. Disable edit/fast items when not relevant.
19437 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19439 * term/vt420.el (terminal-init-vt420): Fix typo.
19441 2009-07-20 Sam Steingold <sds@gnu.org>
19443 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19444 variable (removed from compile.el on 2004-03-11).
19446 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19448 * files.el (hack-local-variables-filter): Fix last change.
19450 2009-07-19 Juri Linkov <juri@jurta.org>
19452 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19453 (dir-local-variables-alist): New buffer-local variable.
19454 (hack-local-variables-filter): If variable is not dir-local,
19455 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19456 because file-local overrides dir-local.
19457 (c-postprocess-file-styles) <declare-function>:
19458 Remove obsolete declaration.
19459 (hack-dir-local-variables): Add dir-local variable/value pair to
19460 `dir-local-variables-alist' and remove duplicates. Doc fix.
19462 * help-fns.el (describe-variable): Add information about
19463 file-local and dir-local variables.
19465 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19467 * files.el (hack-local-variables-filter): Rewrite.
19469 2009-07-19 Glenn Morris <rgm@gnu.org>
19471 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19472 Silence compiler by only defining on XEmacs.
19474 * international/mule.el (auto-coding-regexp-alist): Only match
19475 BABYL... at the start of buffer, not of lines. (Bug#3790)
19477 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19478 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19479 (cal-menu-context-mouse-menu): Doc fix.
19481 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19483 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19485 2009-07-18 Juri Linkov <juri@jurta.org>
19487 * info.el: Virtual Info keyword finder.
19488 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19489 (Info-finder-file): New variable.
19490 (Info-finder-find-file): New function.
19491 (finder-known-keywords, finder-package-info)
19492 (find-library-name, lm-commentary): Use defvar and
19493 declare-function to silence compiler warnings.
19494 (Info-finder-find-node): New function.
19495 (info-finder): New command.
19497 * subr.el (process-kill-buffer-query-function): New function.
19498 (add-hook)<kill-buffer-query-functions>: Add hook
19499 `process-kill-buffer-query-function'.
19501 2009-07-18 Alan Mackenzie <acm@muc.de>
19503 * progmodes/cc-mode.el (c-before-hack-hook)
19504 (c-postprocess-file-styles): Give invocation of `c-set-style'
19505 DONT-OVERRIDE parameter of t. Already set style variables will
19506 thus not be overridden by style settings given by `c-file-syle'.
19508 * files.el (hack-local-variables-filter): Remove entries with
19509 duplicate keys from `file-local-variables-alist'.
19511 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19513 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19514 x-set-selection if display-selections-p returns nil for the
19517 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19519 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19521 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19523 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19524 Accept nil in addition to a regexp.
19525 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19526 Accept nil in addition to a regexp.
19527 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19528 buffers that have an associated file. Handle nil values of
19529 desktop-buffers-not-to-save and desktop-files-not-to-save.
19532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19533 (x-disown-selection-internal): New functions.
19535 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19537 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19539 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19540 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19542 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19544 * simple.el (set-mark): Revert last change.
19546 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19548 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19549 rendering of pngs is not possible instead of messaging a long
19552 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19554 * w32-fns.el (x-selection-owner-p): New function.
19556 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19557 (mouse-yank-at-click, mouse-yank-primary):
19558 If select-active-regions is non-nil, deactivate the mark before
19561 * simple.el (deactivate-mark, set-mark): Only save selection if we
19564 2009-07-17 Kenichi Handa <handa@m17n.org>
19566 * case-table.el (describe-buffer-case-table): Fix for the case
19567 that KEY is a cons.
19569 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19571 * vc-rcs.el (vc-rcs-find-file-hook):
19572 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19574 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19576 * net/tramp.el (tramp-wait-for-output): Handle the case when
19577 commands do not return a newline but a null byte before the shell
19580 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19582 * term/ns-win.el (ns-set-alpha): Don't declare.
19583 (ns-set-background-alpha): Remove function.
19585 2009-07-16 Kevin Ryde <user42@zip.com.au>
19587 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19588 y-or-n-p, for safety.
19590 2009-07-16 Richard Stallman <rms@gnu.org>
19592 * files.el (auto-save-mode): If buffer-saved-size is -2,
19595 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19596 (rmail-retry-ignored-headers): Add more uninteresting fields.
19598 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19600 * net/rcirc.el (rcirc): Use history variables.
19601 (rcirc-server-name-history, rcirc-nick-name-history)
19602 (rcirc-server-port-history): New variables.
19604 2009-07-15 Kenichi Handa <handa@m17n.org>
19606 * international/mule-cmds.el (set-language-environment-charset):
19607 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19610 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19611 Delete unibyte-display.
19613 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19615 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19617 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19619 * simple.el (deactivate-mark): Optional argument FORCE.
19620 (set-mark): Use deactivate-mark.
19622 * info.el (Info-search): No need to check transient-mark-mode
19623 before calling deactivate-mark.
19625 * select.el (x-set-selection): Doc fix.
19626 (x-valid-simple-selection-p): Allow buffer values.
19627 (xselect--selection-bounds): Handle buffer values.
19628 Suggested by David De La Harpe Golden.
19630 * mouse.el (mouse-set-region, mouse-drag-track):
19631 Call copy-region-as-kill before setting the mark, to let
19632 select-active-regions work.
19634 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19636 * simple.el (deactivate-mark): If select-active-regions is
19637 non-nil, copy the selection data into a string.
19638 (activate-mark): If select-active-regions is non-nil, set the
19639 selection to the current buffer.
19640 (set-mark): Update selection if select-active-regions is non-nil.
19642 * select.el (x-valid-simple-selection-p): Allow buffer values.
19644 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19646 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19647 and more featureful message-mode.
19649 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19651 * select.el (x-set-selection): Doc fix.
19652 (x-valid-simple-selection-p): Disallow selection data consisting
19653 of a list or cons of integers, since that is not used.
19654 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19655 (xselect-convert-to-string, xselect-convert-to-length)
19656 (xselect-convert-to-filename, xselect-convert-to-charpos)
19657 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19659 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19661 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19662 output in -break-info command (Emacs bug #3794).
19664 2009-07-14 Glenn Morris <rgm@gnu.org>
19666 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19667 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19668 (edebug-print-length, edebug-print-level, edebug-print-circle)
19669 (edebug-sit-for-seconds, edebug-view-outside)
19670 (edebug-bounce-point, edebug-set-global-break-condition)
19671 (edebug-Go-nonstop-mode, edebug-trace-mode)
19672 (edebug-Trace-fast-mode, edebug-continue-mode)
19673 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19674 (edebug-visit-eval-list): Doc fixes.
19676 * subr.el (def-edebug-spec): Doc fix.
19678 2009-07-14 Kenichi Handa <handa@m17n.org>
19680 * international/characters.el: Fix setting of category ?C.
19682 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19684 * term/ns-win.el (x-select-font): defalias x-select-font to
19685 ns-popup-font-panel instead of generate-fontset-menu.
19687 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19689 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19691 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19693 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19694 the PK\003\004 header (Bug#3770).
19696 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19698 * pcomplete.el (pcomplete-comint-setup): Check for
19699 shell-dynamic-complete-filename too.
19701 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19703 * simple.el (temporary-goal-column): Change the value for
19704 line-move-visual to a cons cell.
19705 (line-move-visual): Record or set the window hscroll, if
19706 necessary (Bug#3494).
19707 (line-move-1): Handle cons value of temporary-goal-column.
19709 2009-07-11 Kenichi Handa <handa@m17n.org>
19711 * international/mule-diag.el (describe-character-set): Don't show
19714 2009-07-10 Sam Steingold <sds@gnu.org>
19716 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19717 Omake sometimes indents the errors it prints, so allow all
19718 regexps to start with spaces.
19720 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19722 * cus-edit.el (customize-changed-options-previous-release):
19723 Bump value to 22.1. (Bug#3804)
19725 2009-07-08 Sam Steingold <sds@gnu.org>
19727 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19728 to be a cons cell (test . ignored-directory) to selectively ignore
19729 some directories depending on the location of the search.
19731 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19733 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19734 remote user is root, on the local host.
19735 (tramp-local-host-p): Either the local user or the remote user
19736 must be root. (Bug#3771)
19738 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19740 * progmodes/gdb-mi.el (gdb): Remove description of
19741 gdb-use-separate-io-buffer.
19742 (menu): Don't allow toggling of or enable
19743 gdb-use-separate-io-buffer from menubar.
19745 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19747 * mail/unrmail.el (unrmail): Make sure the message ends with two
19748 newlines (Bug#3769).
19750 2009-07-08 Glenn Morris <rgm@gnu.org>
19752 * calendar/calendar.el (calendar-current-date): Rework previous change.
19754 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19756 * calendar/calendar.el (calendar-current-date):
19757 Add an optional argument giving an offset from today.
19759 2009-07-08 Glenn Morris <rgm@gnu.org>
19761 * tutorial.el (tutorial--describe-nonstandard-key):
19762 Adjust the message for when a key has been unbound.
19763 (help-with-tutorial): Hide the arch-tag.
19765 2009-07-08 Kenichi Handa <handa@m17n.org>
19767 * international/fontset.el (setup-default-fontset): For each
19768 script, append (not set) font-specs.
19770 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19773 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19775 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19776 -data-list-register-names to ...
19777 (gdb-starting): ... here because GDB 7.0 requires execution to
19778 have started when using this MI command.
19779 (gdb-set-header): New function to distinguish select and
19780 unselected tabs in gdb buffers.
19781 (gdb-propertize-header): New macro that uses gdb-set-header.
19782 (gdb-breakpoints-header, gdb-locals-header): Use it.
19783 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19785 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19787 * Makefile.in (ELCFILES): Remove fadr.elc.
19789 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19791 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19792 may contain frame information, so `string-match' should be used.
19793 (gdb-update): Disassembly is invalidated through
19794 `gdb-get-selected-frame'.
19795 (gdb-pad-string): New function to pad string with spaces.
19796 (gdb-invalidate-disassembly): Invalidate only if the buffer
19798 (gdb-disassembly-handler-custom): Column alignment.
19799 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19801 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19803 (gdb-frame-handler): Match convention to for disassembly buffer
19805 (gdb-stack-list-frames-handler): Rewritten without regexps.
19806 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19807 not highlight breakpoints without line information.
19808 (gdb-input): Add trailing newline to command.
19810 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19812 (gdb-breakpoints-list-handler-custom): Replacement for
19813 `gdb-break-list-handler'. Using real parser instead of regexps
19815 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19816 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19817 to place breakpoints.
19818 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19820 (gdb-disassembly-handler-custom): Show overlay arrow.
19821 (gdb-disassembly-place-breakpoints): Show breakpoints in
19822 disassembly buffer.
19823 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19824 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19825 instead of parsing breakpoints buffer. Fixed old menu references
19830 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19831 (gdb-memory-address): New variable which holds top address of
19832 memory page shown in memory buffer.
19833 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19834 New customization variables.
19836 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19837 display the memory buffer.
19838 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19839 buffer display parameters.
19840 (def-gdb-memory-format, gdb-memory-format-binary)
19841 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19842 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19843 Functions for setting memory buffer format.
19844 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19845 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19846 unit size used in memory buffer.
19847 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19848 Switch to next/previous page of memory buffer.
19849 Now using (bindat-get-field) instead of fadr functions.
19851 2009-07-07 Sam Steingold <sds@gnu.org>
19853 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19854 non-top-level files.
19856 2009-07-07 Kenichi Handa <handa@m17n.org>
19858 * international/mule-cmds.el (reset-language-environment):
19859 Put the highset priority to the charset iso-8859-1.
19861 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19863 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19864 to the end of the line when locating the block (Bug#700).
19866 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19868 * net/tramp.el (tramp-handle-write-region): Flush file properties
19869 in case of short track.
19871 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19873 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19874 Coded custom representation of verilog error regular expressions
19875 to work with Emacs-22's new format.
19876 (verilog-error-regexp-xemacs-alist): Coded custom representation
19877 of verilog error regular expressions to work with XEmacs format.
19878 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19879 error recognition into XEmacs.
19880 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19881 error recognition into Emacs-22.
19883 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19885 * woman.el: Remove stand-alone closing parentheses.
19886 (woman-file-name, woman2-format-paragraphs)
19887 (woman-leave-blank-lines): Code cleanup.
19888 (woman-use-own-frame): Change default to nil.
19889 (woman-italic, woman-bold, woman-unknown, woman-addition):
19890 Change defaults to inherit from default faces.
19891 (woman2-process-escapes): Consume the newline after a stand-alone
19892 filler character (Bug#3651).
19894 2009-07-06 Glenn Morris <rgm@gnu.org>
19896 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19897 (top-level): Move provide to the end.
19898 (ffap): Remove defunct URL from custom group.
19900 * subr.el (eval-after-load): Doc fix.
19902 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19904 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19905 `calc-embedded-word' is called twice.
19907 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19909 * files.el (find-alternate-file-other-window, find-alternate-file):
19910 Obey confirm-nonexistent-file-or-buffer.
19912 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19914 * dired-aux.el (dired-show-file-type): Handle remote files.
19916 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19918 * desktop.el (desktop-globals-to-save):
19919 Add file-name-history (Bug#2750).
19921 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19923 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19925 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19927 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19928 property on entire argument since this is what eshell-lisp-command
19931 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19933 * net/tramp-gvfs.el (tramp-gvfs-methods)
19934 (tramp-gvfs-zeroconf-domain)
19935 (tramp-bluez-discover-devices-timeout): Add version flag.
19936 (tramp-gvfs-handler-mounted-unmounted)
19937 (tramp-gvfs-connection-mounted-p): Polish handling of
19938 incompatibilities between GVFS 0.2 and 1.0.
19940 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19942 * cus-start.el (all): Add make-pointer-invisible.
19944 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19946 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19947 formatted correctly.
19949 2009-07-02 Juri Linkov <juri@jurta.org>
19951 * info.el: Virtual Info files and nodes.
19952 (Info-virtual-files, Info-virtual-nodes): New variables.
19953 (Info-current-node-virtual): New variable.
19954 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19956 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19957 to check for a virtual file instead of checking a fixed list
19959 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19960 instead of ad-hoc processing of "dir" and (apropos history toc).
19961 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19962 instead of ad-hoc processing of "dir" and (apropos history toc).
19963 Reread a file when moving from a virtual node.
19964 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19965 (Info-directory-toc-nodes, Info-directory-find-file)
19966 (Info-directory-find-node): New functions.
19967 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19968 (Info-history): Move part of code to
19969 `Info-history-find-node'.
19970 (Info-history-toc-nodes, Info-history-find-file)
19971 (Info-history-find-node): New functions.
19972 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19973 (Info-toc): Move part of code to `Info-toc-find-node'.
19974 (Info-toc-find-node): New function.
19975 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19976 the current Info file name to references because now the node
19977 "*TOC*" belongs to the same Info manual.
19978 (Info-toc-build): Rename from `Info-build-toc'.
19979 (Info-toc-nodes): Rename input argument `file' to `filename'.
19980 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19981 instead of ad-hoc processing of ("dir" apropos history toc).
19982 (Info-index-nodes): Use Info-virtual-file-p
19983 to check for a virtual file instead of checking a fixed list
19985 (Info-index-node): Add check for `Info-current-node-virtual'.
19986 Raise `save-match-data' higher up the tree to contain
19987 `search-forward' too (bug fix).
19988 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19989 (Info-virtual-index-nodes): New variable.
19990 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19991 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19992 (Info-apropos-file, Info-apropos-nodes): New variables.
19993 (Info-apropos-toc-nodes, Info-apropos-find-file)
19994 (Info-apropos-find-node, Info-apropos-matches): New functions.
19995 (info-apropos): Move part of code to `Info-apropos-find-node' and
19996 `Info-apropos-matches'.
19997 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19998 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19999 for a virtual file instead of checking a fixed list of node names.
20001 * simple.el (async-shell-command): New command.
20003 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20005 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20006 instead of `mount-info'.
20008 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20010 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20011 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20013 2009-07-02 Kenichi Handa <handa@m17n.org>
20015 * international/mule.el (set-keyboard-coding-system): Force *-unix
20016 coding-system to avoid eol conversion.
20018 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20021 Add handler for `process-file', `shell-command' and
20022 `start-file-process'.
20023 (tramp-gvfs-handle-shell-command)
20024 (tramp-gvfs-handle-start-file-process)
20025 (tramp-gvfs-handle-process-file): New defuns.
20026 (tramp-synce-list-devices): Simplify check for existence of property.
20028 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20030 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20032 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20034 * language/korean.el (set-language-info-alist): Add korean-cp949,
20037 2009-07-01 Kenichi Handa <handa@m17n.org>
20039 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20041 * international/encoded-kb.el: Deleted.
20043 * international/mule.el (set-keyboard-coding-system): Perform the
20044 necessary setup here instead of calling encoded-kbd-setup-display.
20046 2009-07-01 Glenn Morris <rgm@gnu.org>
20048 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20050 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20052 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20054 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20056 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20057 Handle also the 'rename case, when setting file modes. (Bug#3712)
20058 (tramp-default-file-modes): Remove execute permissions.
20060 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20061 (top): Add a default for "synce" in `tramp-default-user-alist'.
20062 Add completion function for "synce" method.
20063 (tramp-hal-service, tramp-hal-path-manager)
20064 (tramp-hal-interface-manager, tramp-hal-interface-device):
20066 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20067 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20070 * net/trampver.el: Update release number.
20072 2009-06-30 Kenichi Handa <handa@m17n.org>
20074 * international/fontset.el (setup-default-fontset): Add CJK fonts
20075 for symbols and the other miscellaneous characters.
20077 * language/korea-util.el (setup-korean-environment-internal):
20078 Make char-width-table suitable for Korean environments.
20079 (exit-korean-environment): Cancel above.
20081 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20082 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20083 setup-function to make char-width-table suitable for respective
20084 environments, and an exit-function to cancel that.
20086 * language/japan-util.el (setup-japanese-environment-internal):
20087 Call use-cjk-char-width-table with arg `ja_JP'.
20089 * international/characters.el (cjk-char-width-table): Delete it.
20090 (cjk-char-width-table-list): New variable.
20091 (use-cjk-char-width-table): New arg local-name.
20092 (use-default-char-width-table): Fix for the case that Emacs is
20093 already using the default char-width-table.
20095 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20097 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20098 modes mandatory. (Bug#3712)
20100 2009-06-29 Alan Mackenzie <acm@muc.de>
20102 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20103 correction between the visible width of TABs and their number of bytes.
20105 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20107 * server.el (server-buffer-done): Prevent kill-buffer from
20108 prompting by clearing the buffer modification flag (Bug#3696).
20110 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20112 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20113 (verilog-endcomment-reason-re): Support unique case and priority case.
20114 (verilog-basic-complete-re): Support localparam lineup.
20115 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20116 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20118 (verilog-leap-to-case-head): Now support *nested* unique &
20119 priority case statements.
20120 (verilog-auto-lineup): Make just declarations the default (as it
20122 (verilog-leap-to-case-head): Support priority/unique case statements.
20123 (verilog-auto-lineup): Rework to give users radio buttons to
20124 select the various styles of automatic lineup.
20125 (verilog-error-regexp-alist): Rework to support the XEmacs style
20126 of error regular expressions from compilers, lint tools &
20127 simulators. Note that GNU Emacs has made it impossible for a mode
20128 to load such things.
20129 (electric-verilog-terminate-line, verilog-indent-declaration)
20130 (verilog-auto-wiure): Rework for radio button selection of
20131 auto-lineup selection of specification of auto lineup.
20132 (verilog-beg-of-statement-1): Redesign to support proper operation
20133 in additional code, based on testing with auto-lineup.
20134 (verilog-calculate-indent, assignments & declarations)
20135 (verilog-backward-token): Enhance to support auto-lineup of
20136 assignments & declarations.
20137 (verilog-in-directive-p, verilog-at-struct-p): New function for
20138 easy test of whether we are.
20139 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20140 to support safe execution at almost anyline.
20141 (verilog-calc-1): Properly support indenting deep inside generate
20143 (verilog-init-font): Remove definition & use of verilog-init-font,
20144 as it is redundant with font-lock-defaults.
20145 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20146 to avoid circular calls if syntax-ppss is a function (as is the
20147 case now in 22.x GNU Emacs) as that function would sometimes call
20148 itself, leading to (nearly) infinite recursion.
20149 (verilog-ovm-begin-re, verilog-ovm-end-re)
20150 (verilog-ovm-statement-re, verilog-leap-to-head)
20151 (verilog-backward-token): Add support for OVM macros. Some are
20152 complete statements, and others open and close scopes like begin
20154 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20155 (verilog-defun-level-generate-only-re): Really fix the defun-list
20157 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20158 coverpoint, constraint and cross statements.
20159 (verilog-defun-level-list, verilog-generate-defun-level-list)
20160 (verilog-all-defun-level-list): Redo these specifications - it is
20161 too hard to support eval-when compile aggregation of lists also
20162 built at when-compile time.
20163 (verilog-defun-level-list): Place defconsts of variables used in
20164 building regular expressions which are built in eval-when-compile
20165 bodies in the same eval-when-compile body to facilitate compile
20167 (verilog-beg-block-re-ordered): Support indenting
20168 virtual/protected tasks and functions.
20169 (verilog-defun-level-list, verilog-in-generate-region-p)
20170 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20171 indentation of some module items (generate items).
20172 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20173 across virtual/protected tasks and functions.
20175 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20177 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20178 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20179 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20180 in concatenations. Reported by Yishay Belkind.
20181 (verilog-auto-ascii-enum): Support one-hot state machines in
20182 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20183 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20184 modport in AUTOINST and add vl-modport for users.
20185 Reported by David Rogoff.
20186 (verilog-auto-inout-module, verilog-auto-inst)
20187 (verilog-decls-get-interfaces, verilog-insert-definition)
20188 (verilog-insert-one-definition, verilog-read-decls)
20189 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20190 (verilog-sig-modport, verilog-signals-combine-bus)
20191 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20192 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20193 Suggested by David Rogoff.
20194 (verilog-repair-open-comma): Fix non-insertion of comma when
20195 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20196 (verilog-make-width-expression): Simplify [A-1:0] expression
20197 widths to just {A{1'b0}}.
20198 (verilog-mode): Cleanup checkdoc warnings.
20199 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20200 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20201 inputs/outputs or data type. Suggested by Vasu Kandadi.
20202 (next-error-last-buffer): Fix byte-compiler warning.
20203 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20204 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20205 or shell command text during AUTO expansion. Suggested by Tad Truex.
20206 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20207 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20208 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20209 in AUTOINOUT. Reported by Matthew Lovell.
20210 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20211 causing use of <= assignments. Reported by Alex Reed.
20212 (verilog-read-decls): Fix triand, trior, wand, wor to be
20213 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20214 (verilog-extended-complete-re): Support import "DPI-C" functions.
20215 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20216 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20217 (verilog-insert-date, verilog-insert-year)
20218 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20219 Windows systems. Reported by Michael Potts.
20220 (verilog-read-module-name): Fix AUTOINST when the child module
20221 declaration's name is a tick define. Reported by Elliot Mednick.
20222 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20223 passed to next parameter's definition. Reported by Bruce T.
20224 (verilog-read-decls): Fix detecting "parameter int" when using
20225 AUTOINSTPARAM. Reported by Bruce T.
20226 (verilog-goto-defun): Fix goto not finding modules unless first
20227 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20228 (verilog-mode): Expand -f flag arguments on entry to mode so
20229 verilog-goto-defun will work. Reported by Lawrence Butcher.
20230 (verilog-getopt): Expand environment variables in -f file
20231 arguments. Suggested by Lawrence Butcher.
20232 (verilog-set-define): Fix "Symbol's value as variable is void"
20233 when reading enumerations.
20234 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20235 Suggested by Stephen Peltan.
20236 (verilog-read-defines): Fix reading of enumerations in include
20237 files. Reported by Steve Peltan.
20239 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20241 * files.el (trash-directory): Fix defcustom type.
20243 2009-06-28 Juri Linkov <juri@jurta.org>
20245 * help-fns.el (describe-function-1): Correctly locate adviced
20246 functions in hyperlink (Bug#2438).
20248 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20250 * files.el (trash-directory): Change default to nil.
20251 (move-file-to-trash): If trash-directory is nil and
20252 system-move-file-to-trash is unbound, perform freedesktop-style
20255 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20257 * files.el (move-file-to-trash): Add freedesktop trash
20260 2009-06-28 Glenn Morris <rgm@gnu.org>
20262 * autorevert.el (global-auto-revert-non-file-buffers)
20263 (global-auto-revert-mode): Doc fixes.
20265 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20267 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20269 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20271 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20272 opened an X connection before calling x-get-resource (Bug#3194).
20274 * play/doctor.el: Remove reference to obsolete website.
20275 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20277 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20279 Remove find-file-not-found-hook VC method. (Bug#2757)
20280 * vc-hooks.el (vc-file-not-found-hook)
20281 (vc-default-find-file-not-found-hook): Remove functions.
20282 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20283 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20286 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20288 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20290 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20291 compatibility function for `looking-back'.
20293 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20294 Use `ispell-looking-back'.
20296 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20298 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20299 rather than `filename'.
20301 2009-06-23 Miles Bader <miles@gnu.org>
20303 * face-remap.el (text-scale-set): New function.
20305 2009-06-23 Glenn Morris <rgm@gnu.org>
20307 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20309 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20311 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20313 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20315 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20316 Simplify Persian conditionals.
20318 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20319 variable `filename'.
20321 * comint.el (comint-insert-input): Doc fix.
20323 * Makefile.in (ELCFILES): Fix typo in previous change.
20325 2009-06-23 Miles Bader <miles@gnu.org>
20327 * cus-start.el: Add entry for `recenter-redisplay'.
20329 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20331 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20332 Add an optional argument for the backend, use it instead of
20333 calling vc-backend.
20334 (vc-mode-line): Add an optional argument for the backend.
20335 Pass the backend to vc-state and vc-working-revision. Move code for
20336 special handling for vc-state being a buffer to ...
20338 * vc-rcs.el (vc-rcs-find-file-hook):
20339 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20341 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20342 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20343 vc-stay-local-p and vc-mode-line calls.
20345 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20346 (vc-cvs-diff, vc-cvs-annotate-command)
20347 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20348 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20349 vc-mode-line calls.
20351 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20353 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20354 backend when calling vc-mode-line.
20355 (vc-register): Do not create a closure for calling the vc register
20356 function, call it directly.
20358 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20360 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20361 to make it obvious item can be clicked.
20363 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20365 2009-06-23 Kenichi Handa <handa@m17n.org>
20367 * language/korea-util.el (korean-key-bindings): Change the binding
20368 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20371 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20373 Sync with Tramp 2.1.16.
20375 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20377 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20378 when a loading of a package fails. Completion function for rsync
20379 is `tramp-completion-function-alist-ssh'.
20380 (all): Replace all calls of `split-string' and
20381 `tramp-split-string' by `tramp-compat-split-string'.
20382 (tramp-default-method): Use `tramp-compat-process-running-p'.
20383 (tramp-default-proxies-alist): Allow also Lisp forms.
20384 (tramp-remote-path): Add choice "Private Directories".
20385 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20386 (tramp-domain-regexp): Allow also "-", "_" and ".".
20387 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20388 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20389 (tramp-debug-message): Insert header line in debug buffer.
20390 (tramp-handle-directory-files-and-attributes-with-stat):
20391 Care about filenames with spaces, or starting with "-".
20392 (tramp-handle-dired-uncache): New defun.
20393 (tramp-handle-insert-directory): Don't flush the directory from
20394 cache, this is handled by `dired-uncache' now.
20395 (tramp-handle-insert-file-contents): Improve error handling.
20396 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20397 Quote `tramp-end-of-output'.
20398 (tramp-action-password): Improve trace message.
20399 (tramp-check-for-regexp): Both echoes must be present, before removing.
20400 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20401 (tramp-compute-multi-hops): Eval cons cells of
20402 `tramp-default-proxies-alist'.
20403 (tramp-maybe-open-connection): Use the same command pattern for
20404 first hop and further hops.
20405 (tramp-wait-for-output): Remove handling of newlines.
20406 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20407 (tramp-split-string): Remove function. It is handled in
20410 * net/tramp-cmds.el (tramp-bug):
20411 Recommend `tramp-cleanup-all-connections' in the bug mail.
20413 * net/tramp-compat.el (tramp-compat-split-string)
20414 (tramp-compat-process-running-p): New defuns.
20416 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20417 for `dired-uncache'.
20419 * net/tramp-gvfs.el: New package.
20421 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20422 Add handler for `dired-uncache'.
20423 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20425 * net/trampver.el: Update release number. Make version check fit
20428 2009-06-22 Jim Meyering <meyering@redhat.com>
20430 Automatically handle .xz suffix (XZ-compressed files), too.
20431 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20432 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20434 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20435 Nick Roberts <nickrob@snap.net.nz>
20437 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20438 repository (http://sphinx.net.ru/hg/gdb-mi/).
20440 2009-06-22 Glenn Morris <rgm@gnu.org>
20442 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20443 `mode' and `eval' entries. (Bug#3430)
20445 * Makefile.in (ELCFILES): Add fadr.elc.
20447 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20448 differing behavior of \n and ^ in strings. (Bug#3385)
20450 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20452 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20454 (lisp-indent-function): Make it a defcustom.
20456 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20458 * progmodes/gdb-ui.el: Replace with ...
20459 * progmodes/gdb-mi.el: ... this file.
20460 * progmodes/gud.el: Modify for gdb-mi.el.
20462 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20464 * fadr.el: New file.
20466 See ChangeLog.14 for earlier changes.
20468 ;; Local Variables:
20472 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20474 This file is part of GNU Emacs.
20476 GNU Emacs is free software: you can redistribute it and/or modify
20477 it under the terms of the GNU General Public License as published by
20478 the Free Software Foundation, either version 3 of the License, or
20479 (at your option) any later version.
20481 GNU Emacs is distributed in the hope that it will be useful,
20482 but WITHOUT ANY WARRANTY; without even the implied warranty of
20483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20484 GNU General Public License for more details.
20486 You should have received a copy of the GNU General Public License
20487 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.