1 2011-01-08 Glenn Morris <rgm@gnu.org>
3 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
5 2011-01-07 Sam Steingold <sds@gnu.org>
7 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
8 the `explicit-shell-file-name' because that is the
11 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
13 * subr.el (y-or-n-p): Accept format string args.
15 2011-01-07 Glenn Morris <rgm@gnu.org>
17 * Makefile.in (EMACSOPT): Add --no-site-lisp.
19 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
21 * allout.el (allout-back-to-current-heading): Ensure return to
22 the visible containing topic, rather than a collapsed one.
23 (allout-view-change-hook): Remove hook that was deprecated long ago.
24 (allout-exposure-change-hook): Remove documentation remarks
25 concerning removed allout-view-change-hook.
26 (allout-flag-region): Remove invocation of and documentation
27 remarks concerning allout-view-change-hook.
29 2011-01-06 Glenn Morris <rgm@gnu.org>
31 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
32 (vc-bzr-annotate-extract-revision-at-line):
33 Handle authors with embedded spaces. (Bug#7792)
35 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
37 * doc-view.el (doc-view-image-width): New variable.
38 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
39 backend for PNG images, and do dynamic rescaling instead of
40 reconverting the whole doc.
42 2011-01-05 Glenn Morris <rgm@gnu.org>
44 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
46 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
48 * allout.el: Reconcile with changes in line movement behavior for
49 long text lines that cross more than a single physical window
50 line, ie when truncate-lines is nil.
51 (allout-next-visible-heading): Provide for change in line-move
52 behavior on long lines when truncate-lines is nil. In that case,
53 line-move can wind up on the same textual line when it moves to
54 the next window line, and moving to the bullet position after the
55 move yields zero advancement. Add logic to detect and compensate
56 for the lack of progress.
57 (allout-current-topic-collapsed-p): move-end-of-line respect for
58 field boundaries is different when operating with body lines
59 shorter than window width versus ones greater than window width,
60 which can yield false negatives in this function. Avoid
61 difference by applying move-end-of-line while field-text-motion is
64 2011-01-04 Glenn Morris <rgm@gnu.org>
66 * textmodes/rst.el (rst-compile-toolsets):
67 Add pdf and s5 to option alist.
69 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
71 * net/dbus.el (dbus-register-property): Added optional parameter
72 dont-register-service. Updated docstring accordingly.
74 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
76 * textmodes/rst.el (rst-compile-pdf-preview)
77 (rst-compile-slides-preview): Remove extra line.
79 2011-01-04 Glenn Morris <rgm@gnu.org>
81 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
82 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
83 default to `prog' without a .py extension.
84 (rst-compile-pdf-preview, rst-compile-slides-preview):
85 Use program names from rst-compile-toolsets, rather than hard-coding.
86 (rst-portable-mark-active-p): Fix presumed typo.
88 2011-01-02 Eli Zaretskii <eliz@gnu.org>
90 * term/w32-win.el (dynamic-library-alist): Set up correctly for
91 libpng versions both before and after 1.4.0. (Bug#7716)
93 2011-01-02 Eli Zaretskii <eliz@gnu.org>
95 * time.el (display-time-mode): Mention display-time-interval in
96 the doc string. (Bug#7713)
98 2011-01-02 Kenichi Handa <handa@m17n.org>
100 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
101 condition-case and return an error message string if something
103 (rmail-show-mime): Adjust for the above change. Insert the
104 header by rmail-mime-insert-header.
106 2011-01-02 Kenichi Handa <handa@m17n.org>
108 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
109 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
110 (rmail-mime-mbox-buffer)
111 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
112 (rmail-mime-entity): Argument changed. All codes handling an
113 entity object are changed.
114 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
116 (rmail-mime-entity-children, rmail-mime-entity-handler)
117 (rmail-mime-entity-tagline): New functions.
118 (rmail-mime-message-p): New function.
119 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
120 (rmail-mime-entity-segment, rmail-mime-next-item)
121 (rmail-mime-previous-item, rmail-mime-shown-mode)
122 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
123 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
124 (rmail-mime-insert-tagline, rmail-mime-insert-header):
126 (rmail-mime-text-handler): Call rmail-mime-insert-text.
127 (rmail-mime-insert-decoded-text): New function.
128 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
129 (rmail-mime-insert-image): Argument changed. Caller changed.
130 (rmail-mime-image): Call rmail-mime-toggle-hidden.
131 (rmail-mime-set-bulk-data): New funciton.
132 (rmail-mime-insert-bulk): Argument changed.
133 (rmail-mime-multipart-handler): Return t.
134 (rmail-mime-process-multipart): Argument changed.
135 Handle "multipart/alternative" here.
136 (rmail-mime-process): Argument changed.
137 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
138 (rmail-mime-insert): Argument changed. Handle raw display mode.
139 (rmail-mime): Argument changed. Handle toggling of raw display
141 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
142 rmail-mime-view-buffer.
143 (rmail-insert-mime-forwarded-message): Likewise.
144 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
146 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
147 non-nil, handle the header in rmail-show-mime-function.
149 2011-01-02 Leo <sdl.web@gmail.com>
151 * help-fns.el (describe-variable): Fix previous change.
153 2011-01-02 Juri Linkov <juri@jurta.org>
155 * isearch.el (isearch-lazy-highlight-error): New variable.
156 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
157 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
158 to the current value of `isearch-error' (Bug#7468).
160 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
162 * help-fns.el (describe-variable): Don't emit trailing whitespace
165 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
167 * textmodes/rst.el (rst-compile-pdf-preview)
168 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
170 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
172 * emulation/edt-mapper.el: Override mapping of function keys so
173 that the later call to read-key-sequence works.
175 2011-01-02 Eli Zaretskii <eliz@gnu.org>
177 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
178 Unix EOLs. (Bug#7589)
180 2011-01-02 Leo <sdl.web@gmail.com>
182 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
183 if point is not behind eshell-last-output-end (Bug#7585).
185 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
187 * files.el (file-local-variables-alist):
188 Make permanent-local (bug#7767).
190 2011-01-02 Glenn Morris <rgm@gnu.org>
192 * version.el (emacs-copyright): Set short copyright year to 2011.
194 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
196 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
197 an existing temp buffer. (Bug#7746)
199 2011-01-02 Glenn Morris <rgm@gnu.org>
201 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
202 multiple addresses. (Bug#7760)
204 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
206 * allout.el (allout-auto-fill): Do not infinitely recurse - use
207 do-auto-fill if everything points back to allout-auto-fill.
208 (allout-mode-deactivate-hook): Declare obsolete, in favor of
209 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
211 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
213 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
216 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
218 * doc-view.el (doc-view-set-doc-type): New function refactored
220 (doc-view-fallback-mode): New function.
221 (doc-view-mode): Use it.
222 (doc-view-mode-maybe): New function that checks if doc-view-mode
223 can be used and falls back to the next best mode otherwise.
225 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
226 DVI, OpenDocument, and MS Office files.
228 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
230 * emacs-lisp/rx.el (rx-syntax): Fix typo.
232 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
234 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
235 on a copy of auto-mode-alist, because that deletes with side
238 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
240 * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
241 normal-mode without doc-view-mode bindings in auto-mode-alist as
242 fallback instead of hard coding fundamental mode.
244 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
246 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
247 Office) files also for searching.
249 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
251 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
252 Office) files. Not yet enabled via auto-mode-list.
253 (doc-view-unoconv-program): New custom variable.
254 (doc-view-mode-p): Handle new odf document type.
255 (doc-view-odf->pdf): New conversion function.
256 (doc-view-convert-current-doc): Call it for odf files.
257 (doc-view-mode): Recognize newly supported file extensions.
259 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
261 * net/tramp.el (tramp-default-method-alist)
262 (tramp-default-user-alist)
263 (tramp-local-host-regexp, tramp-prefix-domain-format)
264 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
271 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
272 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
274 2010-12-29 Karl Fogel <kfogel@red-bean.com>
276 * saveplace.el (save-place-alist-to-file): Save list sorted and
277 pretty-printed, so that it is mergeable by line-based text merging,
278 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
280 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
282 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
283 (allout-mode): Argument "toggle" => "force".
284 Refine the docstring.
285 Remove special provisions for reactivation, besides the 'force'
287 Consolidate layout provisions coce directly into the activation
288 condition branch, now that we've removed those provisions.
289 (allout-unload-function): Explicitly activate the mode before
290 deactivating, if it's initially deactivated.
291 (allout-set-buffer-multibyte): Properly prevent byte-compiler
292 warnings for version of function used only where
293 set-buffer-multibyte is unavailable.
295 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
297 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
298 are handled by the menu-bar entries. As before, don't use
299 :visibile to avoid changing the tool-bar.
301 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
303 * net/secrets.el (secrets-delete-alias): New defun.
305 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
307 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
308 methods, otherwise ~/.ssh/config would be ignored.
310 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
312 * emacs-lisp/rx.el: Make it a superset of sregex.
313 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
314 of args, add `regex' alias.
315 (rx-info): Add arg to distinguish head and standalone forms.
316 (rx-check, rx-form): Pass the corresponding arg.
318 (rx-repeat): Make it work for any number of args.
319 (rx-syntax): Make it accept syntax chars as is.
320 * obsolete/sregex.el: Move from emacs-lisp/.
321 * emacs-lisp/re-builder.el: Remove sregex support.
322 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
324 2010-12-25 Eli Zaretskii <eliz@gnu.org>
326 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
327 PRIMARY first, then the clipboard. (Bug#7699)
329 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
331 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
334 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
336 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
337 .emacs.elc (Bug#7530).
339 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
340 image spec (Bug#7480).
342 2010-12-21 Daiki Ueno <ueno@unixuser.org>
344 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
345 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
348 2010-12-20 Leo <sdl.web@gmail.com>
350 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
351 always be performed (Bug#7680).
353 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
355 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
356 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
359 * color.el: Move from gnus/.
361 * vc/diff.el (diff-better-file-name): Function deleted.
362 abbreviating file names causes problems with shell-quote-argument.
363 (diff-no-select): Just use expand-file-name.
365 * tool-bar.el (tool-bar--image-expression): New function.
366 (tool-bar-local-item, tool-bar--image-exp): Use it.
367 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
368 Use :enable instead of :visible to avoid changing the tool-bar
369 configuration unnecessarily.
371 * info.el (info-tool-bar-map): Add separators.
373 2010-12-17 Ken Brown <kbrown@cornell.edu>
375 * loadup.el: Use version numbers in Cygwin build.
377 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
379 * ido.el (ido-file-internal): Ask for confirmation before
380 overwriting an existing file (Bug#1238).
382 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
384 * tool-bar.el (tool-bar-setup): Add separators.
386 * menu-bar.el (featurep): Use menu-bar-separator.
388 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
390 Migrate allout encryption provisions from pgg to epg.
392 * allout.el (allout-toggle-current-subtree-encryption)
393 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
394 defaulting policy and other changes. Change fetch-pass to keymode-cue,
395 for simpler universal argument interpretation.
396 (allout-toggle-subtree-encryption): Adjust docstring to describe
397 changed encryption provisions. Change fetch-pass to keymode-cue, for
398 simpler universal argument interpretation. Remove provisions for
399 handling key type and identity - they'll all be within
400 allout-encrypt-string or epg/epg or even contained all the way in gpg.
401 (allout-encrypt-string): Include keymode-cue, for optionally prompting
402 for keypair recipients (universal argument > 1) and, in addition,
403 associating the specified recipients with the outline (universal
404 argument > 4) using a file local variable setting for
405 'epa-file-encrypt-to'.
406 Require epa, for recipients handling.
407 Change how regexp filtering elements are named.
408 Describe the problem with caching of incorrect symmetric-decryption
410 Use the epa-passphrase-callback-function, in case the user is using
412 Support saving of the selected keypair recipients when invoked with a
414 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
416 Establish epg-context with armoring and default epg-protocol.
417 Remove all passphrase cache, verification, and hinting code.
418 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
419 No longer used, delete.
420 (allout-mode): Adjust docstring to describe changed encryption
421 provisions. Describe the problem with caching of incorrect
422 symmetric-decryption keys.
423 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
424 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
425 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
426 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
429 2010-12-16 Daiki Ueno <ueno@unixuser.org>
431 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
432 key selection prompt; make 'silent as default (Bug#7487).
434 2010-12-16 Leo <sdl.web@gmail.com>
436 * eshell/eshell.el (eshell-directory-name): Use
437 locate-user-emacs-file (Bug#7578).
439 2010-12-15 Glenn Morris <rgm@gnu.org>
441 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
443 2010-12-15 Jari Aalto <jari.aalto@cante.net>
444 Scott Evans <gse@antisleep.com>
446 * rect.el (rectange--default-line-number-format)
447 (rectangle-number-line-callback): New functions.
448 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
450 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
452 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
453 Delete unused variables.
454 (move-to-column-force): Remove function obsolete since 21.2.
456 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
458 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
459 (tramp-handle-insert-file-contents): Do not set permanent-local
462 * net/tramp-cache.el (tramp-persistency-file-name): Use
463 `locate-user-emacs-file' if fboundp.
465 * net/tramp-sh.el (tramp-methods): Add "ksu".
466 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
469 2010-12-14 Glenn Morris <rgm@gnu.org>
471 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
472 (find-tag-marker-ring): Declare.
473 (js-find-symbol): Require etags.
475 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
477 (mail-alias-file): Don't autoload. Doc fix.
478 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
479 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
480 Mark as obsolete, and risky.
481 (mail-setup): Simplify.
483 * mail/mailalias.el (build-mail-aliases): Make it interactive.
484 * mail/sendmail.el (build-mail-aliases): Update autoload.
486 * dired.el (dired-trivial-filenames, dired-chown-program)
487 (dired-auto-revert-buffer): Remove autoload cookies.
488 * mail/sendmail.el (mail-recover-1): Require 'dired.
490 * dired.el (dired-subdir-switches, dired-chown-program)
491 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
492 Make into defcustoms.
493 (dired-chown-program): Simplify initialization.
495 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
497 2010-12-13 Romain Francoise <romain@orebokech.com>
499 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
501 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
503 * net/netrc.el (netrc-point-at-eol): Remove the unused
504 netrc-point-at-old and netrc-bound-and-true-p bindings.
505 (netrc-parse): Cache the netrc contents.
507 2010-12-13 Eli Zaretskii <eliz@gnu.org>
509 * subr.el (posn-col-row): Evaluate header-line-format in the
510 context of the POSITION window's buffer.
512 2010-12-13 Glenn Morris <rgm@gnu.org>
514 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
515 (with-silent-modifications): Doc fixes.
517 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
519 * net/tramp.el (tramp-action-password, tramp-process-actions):
520 Revert previous from. Use `save-restriction'.
522 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
524 * calendar/diary-lib.el (diary-list-sexp-entries):
525 Handle case of no newline at end of file. (Bug#7536)
527 2010-12-13 Glenn Morris <rgm@gnu.org>
529 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
531 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
533 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
534 (tramp-process-actions): Do not widen.
536 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
537 Protect buffer-modified value. (Bug#7557)
539 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
541 * log-edit.el (log-edit-changelog-entries):
542 Regexp quote filename. (Bug#7505)
544 2010-12-13 Tom Breton <tehom@panix.com>
546 * cus-edit.el (custom-save-all):
547 Bind print-length and print-level to nil. (Bug#7581)
549 2010-12-13 Glenn Morris <rgm@gnu.org>
551 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
552 Run hooks to update menu contents. (Bug#7586)
554 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
555 file names, for the sake of MS Windows. (Bug#7588)
557 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
559 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
560 empty lines without a leading space.
562 2010-12-13 Leo <sdl.web@gmail.com>
564 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
565 while mapping over marks (Bug#6810).
567 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
569 * image-dired.el (image-dired-db-file)
570 (image-dired-temp-image-file, image-dired-gallery-dir)
571 (image-dired-temp-rotate-image-file): Set default values relative
572 to image-dired-dir (Bug#7518).
574 2010-12-13 Lawrence Mitchell <wence@gmx.li>
576 * format.el (format-decode-run-method): Pass args FROM and TO, not
577 point-min and point-max, to shell-command-on-region (Bug#7488).
579 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
581 * frame.el (blink-cursor-mode): Make default t for ns.
583 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
585 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
587 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
589 * comint.el (comint-dynamic-list-input-ring)
590 (comint-dynamic-complete-filename)
591 (comint-replace-by-expanded-filename)
592 (comint-dynamic-simple-complete)
593 (comint-dynamic-list-filename-completions)
594 (comint-dynamic-list-completions): Doc fix (Bug#7499).
596 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
599 2010-12-13 Martin Rudalics <rudalics@gmx.at>
601 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
604 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
606 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
609 2010-12-13 Eli Zaretskii <eliz@gnu.org>
611 * files.el (file-relative-name): Handle UNC file names on
612 DOS/Windows. (Bug#4674)
614 2010-12-13 Daiki Ueno <ueno@unixuser.org>
616 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
617 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
618 (epg-context-set-passphrase-callback): Mention that the callback
619 is not called when used with GnuPG 2.x.
621 2010-12-13 Glenn Morris <rgm@gnu.org>
623 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
624 Ensure ps-footer-font-size-internal is initialized.
625 Call ps-get-page-dimensions before trying to use ps-font-for-text.
627 2010-12-13 Kenichi Handa <handa@m17n.org>
629 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
630 within condition-case.
631 (rmail-show-mime): Don't use condition-case.
632 (rmail-search-mime-message): New function.
633 (rmail-search-mime-message-function): Set to
634 rmail-search-mime-message.
636 2010-12-13 Leo <sdl.web@gmail.com>
638 * ido.el (ido-common-initialization): New function. (bug#3274)
640 (ido-completing-read): Call it.
642 2010-12-12 Karl Fogel <kfogel@red-bean.com>
644 * bookmark.el (bookmark-name-from-full-record): Rename back to
645 this original name from `bookmark-name-from-record' reverting part
646 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
647 As Drew Adams pointed out, there was no reason to cause churn for
650 2010-12-12 Alan Mackenzie <acm@muc.de>
652 * progmodes/cc-engine.el (c-forward-type): Before scanning a
653 template arglist, check that the current language supports this.
655 2010-12-11 Glenn Morris <rgm@gnu.org>
657 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
658 state of the file matches. (Bug#7544)
659 (vc-bzr-register, vc-bzr-checkin)
660 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
661 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
663 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
665 2010-12-11 Karel Klíč <kklic@redhat.com>
667 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
669 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
671 Derive from prog-mode, use derived-mode-p, and fix up various
672 minor style issues in lisp/progmodes.
674 * progmodes/vhdl-mode.el (vhdl-mode):
675 * progmodes/verilog-mode.el (verilog-mode):
676 * progmodes/vera-mode.el (vera-mode):
677 * progmodes/sql.el (sql-mode):
678 * progmodes/scheme.el (scheme-mode):
679 * progmodes/perl-mode.el (perl-mode):
680 * progmodes/octave-inf.el (inferior-octave-mode):
681 * progmodes/autoconf.el (autoconf-mode):
682 * progmodes/m4-mode.el (m4-mode):
683 * progmodes/inf-lisp.el (inferior-lisp-mode):
684 * progmodes/idlwave.el (idlwave-mode):
685 * progmodes/icon.el (icon-mode):
686 * progmodes/idlw-help.el (idlwave-help-mode):
687 * progmodes/dcl-mode.el (dcl-mode):
688 * progmodes/idlw-shell.el (idlwave-shell-mode):
689 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
690 (ebrowse-member-mode, ebrowse-electric-position-mode):
691 Use define-derived-mode.
693 * progmodes/xscheme.el (exit-scheme-interaction-mode)
694 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
695 (xscheme-debugger-mode-p, xscheme-send-string-1):
696 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
697 (tcl-load-file, tcl-restart-with-file):
698 * progmodes/ps-mode.el (ps-run-running):
699 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
700 * progmodes/js.el (js--get-all-known-symbols):
701 * progmodes/inf-lisp.el (inferior-lisp-proc):
702 * progmodes/idlwave.el (idlwave-beginning-of-statement)
703 (idlwave-template, idlwave-update-buffer-routine-info)
704 (idlwave-update-current-buffer-info)
705 (idlwave-get-routine-info-from-buffers, idlwave-choose)
706 (idlwave-scan-class-info, idlwave-fix-keywords)
707 (idlwave-list-buffer-load-path-shadows):
708 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
709 (idlwave-toolbar-remove):
710 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
711 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
712 (idlwave-shell-menu-def):
713 * progmodes/idlw-complete-structtag.el
714 (idlwave-prepare-structure-tag-completion):
715 * progmodes/gud.el (gud-set-buffer):
716 * progmodes/f90.el (f90-backslash-not-special):
717 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
719 * progmodes/xscheme.el (xscheme-start)
720 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
721 * progmodes/which-func.el (which-function):
722 * progmodes/vhdl-mode.el (vhdl-set-style):
723 * progmodes/verilog-mode.el (verilog-set-compile-command)
724 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
725 (verilog-set-define, verilog-auto-reeval-locals):
726 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
727 * progmodes/simula.el (simula-mode):
728 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
729 * progmodes/python.el (python-check, python-mode):
730 * progmodes/prolog.el (prolog-mode-variables):
731 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
732 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
733 * progmodes/delphi.el (delphi-mode):
734 * progmodes/cc-styles.el (c-setup-paragraph-variables):
735 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
736 (c-font-lock-init): Move make-local-variable to their setq.
738 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
739 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
741 * progmodes/sh-script.el (sh-require-final-newline): Remove.
742 (sh-set-shell): Don't set require-final-newline since it's already done
744 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
745 since we never set it.
746 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
747 Use read-string and standard prompt.
748 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
749 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
750 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
751 (meta-common-mode-map): Rename from meta-mode-map.
752 Remove C-m binding, which is a user preference, not mode specific.
753 (meta-common-mode): New major mode; replace meta-common-initialization.
754 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
755 around with font-lock.
756 * progmodes/etags.el (select-tags-table-mode):
757 Derive from special-mode.
758 * progmodes/octave-mod.el (octave-mode):
759 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
760 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
761 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
762 Let define-derived-mode do its job.
763 * progmodes/cpp.el (cpp-edit-mode-map):
764 Move initialization into declaration.
765 (cpp-edit-mode): Use define-derived-mode.
766 (cpp-edit-load): Use derived-mode-p.
767 * progmodes/mixal-mode.el (mixal-mode):
768 * progmodes/f90.el (f90-mode):
769 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
770 require-final-newline since prog-mode does it already.
771 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
772 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
773 * progmodes/antlr-mode.el: Require cc-mode upfront.
774 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
776 (antlr-directory-dependencies, antlr-show-makefile-rules):
778 (antlr-language-option): Don't assume point-min==1.
779 (antlr-mode): Use define-derived-mode.
780 * progmodes/ada-mode.el: Use derived-mode-p.
781 (ada-mode): Use define-derived-mode.
782 Use hack-local-variables-hook.
784 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
786 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
787 (texinfo-mode): Don't disable adaptive-fill-mode.
788 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
789 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
790 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
791 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
792 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
793 (texinfo-insert-@quotation, texinfo-insert-@samp)
794 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
795 (texinfo-insert-@uref): Use define-skeleton.
796 (texinfo-insert-@-with-arg): Delete.
798 2010-12-10 Eli Zaretskii <eliz@gnu.org>
800 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
801 nil, do quote archive member names. (Bug#6144)
803 2010-12-10 Glenn Morris <rgm@gnu.org>
805 * files.el (diff-no-select): Declare.
807 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
808 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
810 * comint.el (comint-input-ring-file-name): Doc fix.
812 2010-12-09 Eli Zaretskii <eliz@gnu.org>
814 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
816 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
817 Use them instead of `nil' and `>', respectively.
818 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
820 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
821 and menu-bar-positive-p instead of `nil' and `>', respectively.
824 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
826 * whitespace.el (whitespace-newline-mode): Code fix.
828 2010-12-09 Glenn Morris <rgm@gnu.org>
830 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
831 Rename functions without commas, update callers.
833 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
835 * whitespace.el (whitespace-cleanup-region):
836 Clean up spaces before tabs. (Bug#7582)
838 2010-12-08 Karl Fogel <kfogel@red-bean.com>
840 * bookmark.el: Adjust parameter names and doc strings to resolve
841 confusion over whether "bookmark" meant a bookmark name or a
842 bookmark record. Along the way, shorten one function's name for
843 similar reasons. (Issue #7548)
844 (bookmark-name-from-record): New name for
845 `bookmark-name-from-full-record'. All callers changed.
846 (bookmark-get-bookmark, bookmark-get-bookmark-record)
847 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
848 (bookmark-get-annotation, bookmark-set-annotation)
849 (bookmark-get-filename, bookmark-set-filename)
850 (bookmark-get-position, bookmark-set-position)
851 (bookmark-get-front-context-string, bookmark-set-front-context-string)
852 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
853 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
854 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
855 Rename `bookmark' parameter to `bookmark-name-or-record', to
856 clearly show its role, and shorten or adjust doc strings accordingly.
857 (bookmark-set-name): Same, and pass the parameter directly to
858 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
859 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
860 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
861 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
862 and in some cases shorten doc string accordingly.
863 (bookmark-rename): Change `old' and `new' parameters to `old-name'
864 and `new-name', and adjust an internal variable to avoid confusion.
865 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
866 parameter in doc string.
868 2010-12-08 Glenn Morris <rgm@gnu.org>
870 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
871 from gdb's history file. (Bug#7575)
873 * mail/emacsbug.el (report-emacs-bug):
874 Try to handle some other mail clients.
876 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
878 * files.el (dir-locals-collect-variables): Don't let errors stop us.
880 (file-name-version-regexp): New var.
881 (file-name-sans-versions):
882 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
883 (jka-compr-get-compression-info): Use dolist.
884 (jka-compr-compression-info-list): Don't bother specifying
885 version/backup regexps.
887 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
889 * simple.el (just-one-space): Make argument n default to 1 if
892 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
894 * electric.el (electric-indent-post-self-insert-function):
895 Delete trailing newlines even if we don't reindent.
897 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
899 * minibuffer.el (completion-at-point): Remove the `arg'.
900 * bindings.el (complete-symbol): Move back from minibuffer.el.
902 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
904 * simple.el (just-one-space): Delete newlines for negative arg.
906 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
908 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
909 (ansi-color-filter-apply): Simplify.
910 (ansi-color-apply): Use `font-lock-face' rather than `face'.
912 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
914 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
916 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
918 * dired.el (dired-use-ls-dired): Set default to a special
920 (dired-insert-directory): When called the first time, check
921 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
923 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
925 * replace.el: Add "collect" feature to occur.
926 (occur-collect-regexp-history): New var.
927 (occur-read-primary-args): Return a replace string for nlines,
929 (occur): Extend the meaning of nlines.
931 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
933 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
934 (which-func-update-1): Distinguish symbols from strings.
935 (which-function): Stay within 80 columns.
937 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
939 * subr.el (with-demoted-errors): Distinguish symbols from strings.
941 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
943 (comment-style): Use comment-styles's docs to describe values.
945 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
947 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
948 and ns-show-prefs (Bug#7535).
950 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
953 2010-12-03 Glenn Morris <rgm@gnu.org>
955 * nxml/nxml-mode.el: Require rng-nxml.
956 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
959 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
960 * nxml/rng-nxml.el, nxml/rng-valid.el:
961 Remove leading `*' from defcustom docs.
963 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
964 (normal-top-level-add-to-load-path, tty-handle-args):
965 Convert comments to basic doc-strings.
967 * net/browse-url.el (browse-url-url-at-point)
968 (browse-url-default-browser): Remove autoload cookies.
970 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
971 Remove more undefined cl functions.
973 * vc/diff.el (diff-sentinel): Make new arguments optional.
974 * ibuf-ext.el (diff-sentinel): Update declaration.
976 2010-12-03 Daiki Ueno <ueno@unixuser.org>
978 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
979 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
980 (epg-context-set-passphrase-callback): Mention that the callback
981 is not called when used with GnuPG 2.x.
983 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
985 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
986 (tramp-file-name-port): Check also for `tramp-default-port'.
987 (tramp-get-connection-name): New defun.
988 (tramp-get-connection-process): Use it.
989 (tramp-debug-message): Extend function exclude list.
990 (tramp-drop-volume-letter): Fix doc string.
992 * net/tramp-cmds.el: Remove solved todo item.
999 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1000 and `tramp-default-user-alist', respectively.
1002 * net/tramp-gw.el (tramp-gw-open-connection):
1003 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1005 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1006 `tramp-file-name-port'.
1008 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1009 and "psftp". Exchange "%k" marker with options.
1010 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1011 Compute size of link target.
1012 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1013 `tramp-current-*' up due to gateway methods. Optimze computing of
1014 copy arguments. Use `tramp-get-connection-name' and
1015 `tramp-get-connection-buffer'. Improve debug messages.
1016 (tramp-compute-multi-hops): Remove port determination.
1017 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1019 * net/trampver.el: Update release number.
1021 2010-12-02 Glenn Morris <rgm@gnu.org>
1023 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1024 Avoid infinite loop over windows. (Bug#7492)
1026 * progmodes/flymake.el (flymake-check-file-limit):
1027 Allow nil to mean "no limit".
1028 (flymake-check-patch-master-file-buffer): Update for above change.
1029 Allow a .tex file-name extension to be optional.
1030 (flymake-master-tex-init): Also match \include statements.
1032 2010-11-30 Sam Steingold <sds@gnu.org>
1034 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1035 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1036 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1037 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1038 define-derived-mode').
1039 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1040 users who want to call `nxml-parent-document-set'.
1042 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1044 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1045 stand-alone lines, since that is handled by log-edit-match-to-eoh
1048 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1050 * dired.el (dired-get-filename): Replace backslashes with slashes
1051 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1052 * locate.el (locate-default-make-command-line): Don't consider
1053 drive letter and root directory part of
1054 `directory-listing-before-filename-regexp'. (Bug#7308)
1055 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1057 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1059 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1060 of :smie-open/close-alist.
1061 (smie-next-sexp): Make it accept a "start token" as argument.
1062 (smie-indent-keyword): Be careful not to misidentify tokens that span
1063 more than one line, as empty lines. Add argument `token'.
1065 2010-11-27 Kenichi Handa <handa@m17n.org>
1067 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1068 multipart subtypes, insert all as usual.
1070 * mail/rmail.el: Require rfc2047.
1072 2010-11-27 Kenichi Handa <handa@m17n.org>
1074 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1075 (rmail-mime-entity-disposition)
1076 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1077 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1078 (rmail-mime-save): Handle the case that the button's `data' is a
1080 (rmail-mime-insert-text): New function.
1081 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1082 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1083 (rmail-mime-insert-bulk): New function mostly copied from the old
1084 rmail-mime-bulk-handler.
1085 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1086 (rmail-mime-process-multipart): New function mostly copied from
1087 the old rmail-mime-multipart-handler.
1088 (rmail-mime-show): Just call rmail-mime-process.
1089 (rmail-mime-process): New function mostly copied from the old
1091 (rmail-mime-insert-multipart, rmail-mime-parse)
1092 (rmail-mime-insert, rmail-show-mime)
1093 (rmail-insert-mime-forwarded-message)
1094 (rmail-insert-mime-resent-message): New functions.
1095 (rmail-insert-mime-forwarded-message-function): Set to
1096 rmail-insert-mime-forwarded-message.
1097 (rmail-insert-mime-resent-message-function): Set to
1098 rmail-insert-mime-resent-message.
1100 * mail/rmailsum.el: Require rfc2047.
1101 (rmail-header-summary): Handle multiline Subject: field.
1102 (rmail-summary-line-decoder): Change the default to
1103 rfc2047-decode-string.
1105 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1106 (rmail-mime-feature): Change the default to `rmailmm'.
1107 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1108 (rmail-display-labels): Likewise.
1109 (rmail-show-message-1): Check rmail-enable-mime, and use
1110 rmail-show-mime-function for a MIME message. Decode the headers
1111 according to RFC2047.
1113 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * progmodes/which-func.el (which-func-imenu-joiner-function):
1116 Return a string, as expected.
1117 (which-function-mode): Make sure we stop any previous timer before
1120 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1122 * net/tramp.el (tramp-default-method-alist)
1123 (tramp-default-user-alist, tramp-default-proxies-alist):
1124 Adapt custom options type. (Bug#7445)
1126 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1128 * progmodes/python.el: Add Ipython support (Bug#5390).
1129 (python-shell-prompt-alist)
1130 (python-shell-continuation-prompt-alist): New options.
1131 (python--set-prompt-regexp): New function.
1132 (inferior-python-mode, run-python, python-shell):
1133 Require ansi-color. Use python--set-prompt-regexp to set the comint
1134 prompt based on the Python interpreter.
1135 (python--prompt-regexp): New var.
1136 (python-check-comint-prompt)
1137 (python-comint-output-filter-function): Use it.
1138 (run-python): Use a pipe (Bug#5694).
1140 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1142 * progmodes/python.el (run-python): Doc fix.
1143 (python-keep-current-directory-in-path): New var (Bug#7454).
1145 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1147 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1148 Prompt user before actually printing.
1150 2010-11-27 Glenn Morris <rgm@gnu.org>
1152 * startup.el (package-enable-at-startup, package-initialize):
1153 Remove unnecessary declarations.
1155 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1157 * international/characters.el (glyphless-char-display-control):
1158 Exclude newline and TAB from the c0-control group.
1160 2010-11-27 Glenn Morris <rgm@gnu.org>
1162 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1163 (expand-mail-aliases): Remove unnecessary autoload.
1165 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1167 * shell.el (shell-dir-cookie-re): Move definition before use.
1169 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1170 Replace undefined CL functions.
1172 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1174 * simple.el (prog-mode): Set bidi-paragraph-direction to
1177 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1179 2010-11-26 Glenn Morris <rgm@gnu.org>
1181 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1182 diary-outlook-formats can be sensitive to calendar-date-style.
1183 (diary-outlook-formats): Simplify the default setting.
1184 (diary-from-outlook-internal): Pass subject and body as arguments.
1185 Use dolist rather than dotimes. Don't save the diary buffer.
1186 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1187 Pass subject and body as explicit arguments to the -internal function.
1189 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1191 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1192 parsing them. This makes mailto:...?subject=foo\nbar work.
1194 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1196 * vc/diff.el (diff): Fix last change.
1198 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1201 (pcase--dontcare-upats): New var.
1202 (pcase-let, pcase-let*): Generate better code.
1203 Accept the same bodies as `let'.
1204 (pcase-dolist): New macro.
1205 (pcase--trivial-upat-p): New helper function.
1206 (pcase--expand): Strip leading "(let nil" if any.
1208 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1210 * mail/mailclient.el (browse-url): Require.
1211 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1212 use the external browser function to send the mail (bug#7469).
1214 * net/browse-url.el (browse-url-browser-function): Revert the
1215 default back to the previous value, since the new value broke
1217 (browse-url-mailto-function): New variable for mailto: URLs.
1218 (browse-url): Use the new variable for mailto: URLs.
1220 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * eshell/esh-cmd.el (eshell-parse-command):
1223 * eshell/esh-arg.el (eshell-parse-arguments):
1224 * eshell/em-script.el (eshell-source-file):
1225 Use with-silent-modifications.
1227 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1229 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1230 for a merge location.
1232 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1233 (vc-bzr-merge-branch): Always prompt.
1234 (vc-bzr-async-command): Use the full branch filename.
1236 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * shell.el (shell): Use current-buffer by default if it's already
1239 a shell mode buffer and its process is dead.
1240 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1242 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1244 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1245 Mention that the keywords should be comma separated.
1247 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1249 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1250 Accept optional prefix arg meaning to prompt for a command.
1251 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1252 prefix arg meaning to prompt for a command.
1253 (vc-pull): Alias for vc-update.
1255 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1256 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1257 (vc-bzr-merge-branch): New functions, implementing merge-branch
1258 and pull operations.
1260 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * Makefile.in: Fix up last merge.
1264 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1265 (diff-sentinel): Get them as arguments instead.
1266 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1267 (diff-file-local-copy, diff-better-file-name): New funs.
1268 (diff-no-select): Rename from diff-into-buffer.
1269 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1270 Prefer closures to buffer-local variables.
1271 (diff): Adjust accordingly.
1272 (diff-buffer-with-file): Move from files.el.
1273 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1274 (diff-buffer-internal): Remove.
1275 (diff-buffer-buffer): Remove.
1276 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1277 the buffer name used, and so as not to mess up windows and frames.
1279 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1281 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1282 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1283 (diff-buffer-with-file): Use it.
1284 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1287 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1289 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1290 \ref's or \pageref's value as default instead of initial input.
1292 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1294 * files.el (backup-by-copying-when-mismatch): The default value is
1297 * startup.el (normal-top-level):
1298 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1299 `backup-by-copying-when-mismatch'.
1301 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1303 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1305 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1307 * progmodes/python.el (python-font-lock-keywords):
1308 Highlight top-level augmented assignments (Bug#6445).
1310 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1312 * term/ns-win.el (ns-right-control-modifier)
1313 (ns-right-command-modifier): Defvar them.
1315 * cus-start.el (all): Add ns-right-control-modifier and
1316 ns-right-command-modifier (Bug#7458).
1318 2010-11-20 Glenn Morris <rgm@gnu.org>
1320 * emacs-lisp/authors.el (authors-ignored-files)
1321 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1323 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1325 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1326 (report-emacs-bug-parse-query-results)
1327 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1328 keywords used for querying the bug database to show them in the
1329 existing bugs buffer.
1331 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1333 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1335 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1337 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1339 * international/characters.el (glyphless-char-display-control):
1340 Make it a defcustom, with update-glyphless-char-display as its
1342 (top level): Don't call update-glyphless-char-display.
1344 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1346 Sync with Tramp 2.2.0.
1348 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1349 `file-remote-p' (due to compatibility).
1351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1352 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1354 * net/trampver.el: Update release number.
1356 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1358 * faces.el (glyphless-char): Define value for `pc'.
1360 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1362 Implemented a bug querying mechanism.
1363 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1364 (report-emacs-bug-create-existing-bugs-buffer)
1365 (report-emacs-bug-parse-query-results)
1366 (report-emacs-bug-query-existing-bugs): New functions.
1368 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1370 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1371 a \ref{} or \pageref{} macro, then use its value as initial input.
1373 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1375 * calc/calc-units.el (math-build-units-table-buffer):
1376 calc/README: Mention that the TeX specific units won't use the
1377 `tex' prefix in TeX mode.
1378 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1379 prefix for units in TeX mode.
1381 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1383 * simple.el (kill-new, kill-append, kill-region):
1384 * comint.el (comint-kill-region): Make the yank-handler argument
1387 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1390 that are both openers (resp. closers) and something else.
1391 (smie-grammar): Loosen definition of valid values.
1392 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1393 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1394 (smie-indent-after-keyword): Adjust users.
1395 (smie-indent-keyword): Don't indent empty lines.
1397 * vc-hg.el (vc-hg-program): New var.
1398 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1399 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1401 2010-11-18 Glenn Morris <rgm@gnu.org>
1403 * emacs-lisp/autoload.el (autoload-find-destination): The function
1404 coding-system-eol-type may return non-numeric values. (Bug#7414)
1406 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1408 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1410 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1412 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1414 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1416 * textmodes/picture.el (picture-mouse-set-point): Don't use
1417 posn-col-row; explicitly compute the motion based on the posn at
1418 the window-start (Bug#7390).
1420 2010-11-18 Glenn Morris <rgm@gnu.org>
1422 * novice.el (disabled-command-function):
1423 Fix 2009-11-15 change. (Bug#7384)
1425 2010-11-18 Glenn Morris <rgm@gnu.org>
1427 * calendar/calendar.el (diary-iso-date-forms): Make elements
1428 mutually exclusive. (Bug#7377)
1430 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1433 when filling the remaining "unconstrained" values.
1435 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1440 * files.el (safe-local-variable-p): Gracefully handle errors.
1442 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1443 Use smie-indent-virtual when indenting relative to an opener.
1444 (smie-rule-separator): Use smie-rule-parent.
1445 (smie-indent-keyword): Consult rules, even for openers at bol.
1446 (smie-indent-comment-close): Try to align closer's content.
1448 2010-11-18 Glenn Morris <rgm@gnu.org>
1450 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1452 2010-11-18 Glenn Morris <rgm@gnu.org>
1454 * printing.el (pr-menu-bind): Doc fix.
1456 * speedbar.el (speedbar-toggle-images): Doc fix.
1458 * progmodes/python.el (python-shell): Doc fix.
1460 * wid-edit.el (widget-field-use-before-change)
1461 (widget-use-overlay-change): Doc fixes.
1463 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1465 Minor cleanup to improve style.
1466 * textmodes/rst.el (rst-update-section): Use point-marker.
1467 (rst-get-decoration): Eliminate unneeded assignment.
1468 (rst-promote-region, rst-straighten-decorations)
1469 (rst-section-tree, rst-adjust): Use point-marker.
1470 (rst-toc-mode-mouse-goto): Avoid setq.
1471 (rst-shift-region-guts, rst-shift-region-left)
1472 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1473 (rst-convert-bullets-to-enumeration): Use copy-marker.
1475 * minibuffer.el (completion-fail-discreetly): New var.
1476 (completion--do-completion): Use it.
1478 * electric.el (electric-pair-pairs): New var.
1479 (electric-pair-post-self-insert-function): Use it.
1480 (electric-layout-post-self-insert-function): Don't insert a before
1481 newline unless it's actually needed.
1483 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * progmodes/python.el (run-python): Explain why we remove the current
1486 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1488 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1490 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1493 (octave-mode-map): Don't bind ;, SPC, and LF.
1494 (octave-auto-indent, octave-auto-newline): Remove.
1495 (electric-layout-rules): Declare.
1496 (octave-mode): Set electric-layout-rules.
1497 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1498 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1499 (octave-electric-space): Remove.
1501 * electric.el (electric-layout-mode): New minor mode.
1502 (electric--after-char-pos): New function.
1503 (electric-indent-post-self-insert-function): Use it.
1504 (electric-layout-rules): New var.
1505 (electric-layout-post-self-insert-function): New function.
1506 (electric-indent-mode): Make them interact better.
1508 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1510 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1511 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1512 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1514 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1516 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1517 Make sure to check inside the word (Bug#6761).
1519 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1521 * startup.el (command-line): If the cursorColor resource is set,
1522 change the cursor face-spec (Bug#7392).
1524 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1526 The main features of the following allout.el changes are:
1527 - implement user customization for the allout key bindings
1528 - add a customization control by which the user can inhibit use of
1529 a trailing Ctrl-H, so by default it's reserved for use with
1530 describe-prefix-bindings
1531 - adapt to new version of called-interactively-p, while
1532 maintaining backwards compatibility with old version
1533 - fix hotspot navigation so i works properly with meta-modified keys
1535 * allout.el (allout-keybindings, allout-bind-keys)
1536 (allout-keybindings-binding, allout-prefixed-keybindings)
1537 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1538 (allout-keybindings-list, allout-mode-map-adjustments)
1539 (allout-setup-mode-map): Establish allout-mode keymaps as user
1540 customizable settings, and also establish a customizable setting which
1541 regulates whether or not a trailing control-h is reserved for use with
1542 describe-prefix-bindings - and inhibit it by default, so that control-h
1543 *is* reserved for describe-prefix-bindings unless the user changes it.
1545 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1546 and accurately between modified and unmodified events, and handle
1547 modified events more comprehensively.
1549 * allout.el (allout-substring-no-properties):
1550 Alias to use or provide version of `substring-no-properties'.
1551 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1553 * allout.el (allout-next-single-char-property-change):
1554 Alias to use or provide version of `next-single-char-property-change'.
1555 (allout-annotate-hidden, allout-hide-by-annotation):
1556 Use `allout-next-single-char-property-change'.
1558 * allout.el (allout-select-safe-coding-system):
1559 Alias to use or provide version of `select-safe-coding-system'.
1560 (allout-toggle-subtree-encryption):
1561 Use `allout-select-safe-coding-system'.
1563 * allout.el (allout-set-buffer-multibyte):
1564 Alias to use or provide version of `set-buffer-multibyte'.
1565 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1567 * allout.el (allout-called-interactively-p): Macro for using the
1568 different versions of called-interactively-p identically, depending on
1569 the subroutine's argument signature.
1570 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1571 Use `(interactive "p")' instead of `(called-interactively-p)'.
1573 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1574 (allout-previous-visible-heading, allout-forward-current-level)
1575 (allout-backward-current-level, allout-show-children):
1576 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1578 * allout.el (allout-before-change-handler):
1579 Exempt edits to the (overlaid) character after the allout outline
1580 bullet from edit confirmation prompt.
1582 * allout.el (allout-add-resumptions):
1583 Ensure that it respects correct buffer for keybindings.
1585 * allout.el (allout-beginning-of-line):
1586 Use `allout-previous-single-char-property-change' alias for the sake of
1587 diverse compatibility.
1589 * allout.el (allout-end-of-line):
1590 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1592 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1594 * frame.el (frame-notice-user-settings): Don't clobber other
1595 user-set parameters when calling face-set-after-frame-default in
1596 response to background-color parameter (Bug#7373).
1598 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1600 * international/characters.el (glyphless-char-display-control):
1601 Rename from glyphless-char-control; all users changed. Doc fix.
1602 Signal an error if display method is not one of the recognized
1605 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1607 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1608 (tramp-compat-line-end-position): Remove them.
1610 * net/tramp.el (tramp-parse-rhosts-group)
1611 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1612 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1613 (tramp-parse-netrc-group, tramp-parse-putty-group)
1614 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1615 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1616 (tramp-sh-handle-file-selinux-context)
1617 (tramp-sh-handle-file-name-all-completions)
1618 (tramp-sh-handle-insert-directory)
1619 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1620 (tramp-wait-for-output, tramp-send-command-and-read)
1621 * net/tramp-smb.el (tramp-smb-read-file-entry)
1622 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1624 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1626 (tramp-remote-coding-commands): Add an alternative using "base64
1627 -d -i". This is needed for older base64 versions from GNU
1628 coreutils. Reported by Klaus Reichl
1629 <Klaus.Reichl@thalesgroup.com>.
1631 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1633 * simple.el (count-words-region): New function.
1635 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * shell.el (shell-dir-cookie-re): New custom variable.
1638 (shell-dir-cookie-watcher): New function.
1640 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1641 and compilation-mode (bug#7350).
1643 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1644 highlight when one of them is empty.
1646 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1648 (skeleton-newline): New function.
1649 (skeleton-internal-1): Use it.
1651 * simple.el (open-line): `newline' may strip trailing space.
1653 2010-11-12 Kevin Ryde <user42@zip.com.au>
1655 * international/mule-cmds.el (princ-list): Use mapc.
1657 2010-11-12 Glenn Morris <rgm@gnu.org>
1659 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1660 Use it to replace all instances of "*Compile-Log*"
1662 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1667 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * progmodes/modula2.el: Use SMIE and skeleton.
1670 (m2-mode-syntax-table): (*..*) can be nested.
1671 Add //...\n. Fix paren syntax.
1672 (m2-mode-map): Remove LF and TAB bindings.
1673 (m2-indent): Add safety property.
1674 (m2-smie-grammar): New var.
1675 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1676 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1677 (m2-mode): Use define-derived-mode.
1678 (m2-newline, m2-tab): Remove.
1679 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1680 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1681 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1682 (m2-import): Use define-skeleton.
1684 2010-11-11 Glenn Morris <rgm@gnu.org>
1686 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1688 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1689 (ls-lisp-verbosity): Add custom :set-after property.
1690 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1691 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1692 (ls-lisp-insert-directory): Update caller.
1693 (ls-lisp-set-options): New function.
1694 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1697 * play/landmark.el (lm-prompt-for-move):
1698 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1700 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1702 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1703 (idlwave-study-twins): Prefix dynamic local variable `name'.
1704 (idlwave-routine-twin-compare): Update for above change.
1706 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1707 Prefix dynamic local variables `name', `kwd', and `link'.
1708 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1709 * progmodes/idlw-complete-structtag.el
1710 (idlwave-complete-structure-tag-help):
1711 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1712 (idlwave-complete-sysvar-tag-help)
1713 (idlwave-complete-class-structure-tag-help):
1714 Update for above name changes.
1716 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718 * net/browse-url.el (browse-url-browser-function): Change the
1719 default to use `browse-url-mail' on mailto: URLs.
1721 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1723 * emacs-lisp/package.el (package-read-all-archive-contents):
1724 Reset package-archive-contents to nil before re-reading.
1726 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1728 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1729 already found as misspellings by (flyspell-large-region), just
1730 do highlighting (bug#7322).
1732 2010-11-10 Glenn Morris <rgm@gnu.org>
1734 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1736 * emulation/edt.el (edt-with-position): New macro.
1737 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1738 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1739 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1741 * emulation/tpu-extras.el (tpu-with-position): New macro.
1742 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1744 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1746 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1747 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1748 (texinfo-master-menu, texinfo-insert-node-lines)
1749 (texinfo-multiple-files-update):
1750 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1751 Use line-beginning-position.
1753 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1754 No recent Emacs supports system-type `emx'.
1756 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1757 (ada-command-separator, ada-default-prj-properties)
1758 (ada-find-any-references): Update for above name change.
1760 * dirtrack.el (dirtrack-directory-function)
1761 (dirtrack-canonicalize-function):
1762 * filecache.el (file-cache-completion-ignore-case)
1763 (file-cache-case-fold-search, file-cache-ignore-case):
1764 * term.el (serial-port-is-file-p): Cosmetic change.
1766 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1767 Remove non-existent `windows-95' system-type.
1768 * dired.el (dired-chown-program): Remove non-existent `linux'
1771 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1772 (ping-program-options): Remove non-existent `linux' system-type.
1774 * startup.el (package-initialize): Update declaration.
1776 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1777 (ls-lisp-handle-switches): Use time-less-p.
1778 (ls-lisp-format-time): Use float-time.
1780 * textmodes/remember.el (remember-time-to-seconds): Remove.
1781 (remember-store-in-mailbox): Use float-time.
1783 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1785 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1786 never a real function.
1787 (with-no-warnings): Remove compat stub, now unused.
1788 (time-less-p): Doc fix.
1789 (time-to-number-of-days): Simplify.
1791 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1793 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1794 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1795 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1796 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1797 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1799 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1800 (eshell-shuffle-files, eshell-shorthand-tar-command)
1801 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1802 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1803 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1804 Prefix dynamic local variable `matches'.
1806 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1807 Prefix dynamic local variable `skeleton'.
1809 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1811 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1812 in mail buffer; make yank-action always a command that yanks original
1815 2010-11-09 Glenn Morris <rgm@gnu.org>
1817 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1819 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1822 completion field (bug#7211).
1824 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1825 Fix handling of backslash escapes.
1826 (python-quote-syntax): Adjust accordingly.
1828 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1830 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1831 (vc-mtn-workfile-branch): Adjust to new output format.
1833 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * international/mule-cmds.el (princ-list): Mark as obsolete.
1837 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * emacs-lisp/smie.el: New package.
1841 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1843 * files.el (backup-by-copying-when-mismatch):
1844 Set `permanent-local' property.
1846 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1847 `permanent-local' property for `backup-by-copying-when-mismatch'.
1849 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1851 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1853 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1855 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1856 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1857 AUTOINOUT for SV style multidimensional arrays, bug294.
1858 Reported by Eric Mastromarchi.
1859 (verilog-preprocess): Use with-current-buffer and
1860 font-lock-fontify-buffer to cleanup style issues.
1862 2010-11-09 Glenn Morris <rgm@gnu.org>
1864 * locate.el (locate, locate-mode): Doc fixes.
1866 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1868 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1869 user for confirmation.
1870 (server-force-stop): Use it.
1871 (server-start): Use server-force-stop for kill-emacs-hook, to
1872 avoid user interaction while killing Emacs.
1874 2010-11-09 Glenn Morris <rgm@gnu.org>
1876 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1877 (meta-indent-line): Simplify.
1879 * vc/emerge.el (emerge-line-number-in-buf):
1880 * textmodes/ispell.el (ispell-region):
1881 * textmodes/fill.el (current-fill-column):
1882 * progmodes/xscheme.el (xscheme-send-current-line):
1883 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1884 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1885 * progmodes/sh-script.el (sh-handle-prev-do):
1886 * progmodes/meta-mode.el (meta-indent-line):
1887 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1889 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1890 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1891 * progmodes/fortran.el (fortran-looking-at-if-then):
1892 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1893 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1894 (cperl-find-pods-heres):
1895 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1896 * net/quickurl.el (quickurl-list-insert):
1897 * net/ldap.el (ldap-search-internal):
1898 * net/eudc.el (eudc-expand-inline):
1899 * mail/sendmail.el (sendmail-send-it):
1900 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1901 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1902 (viper-brac-function):
1903 * calc/calc-yank.el (calc-do-grab-region):
1904 * calc/calc-keypd.el (calc-keypad-press):
1905 * term.el (term-move-columns, term-insert-spaces):
1906 * speedbar.el (speedbar-highlight-one-tag-line):
1907 * simple.el (current-word):
1908 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1909 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1911 * hippie-exp.el (he-line-beg):
1912 * epa.el (epa--marked-keys):
1913 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1914 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1915 (dired-relist-entry):
1916 * buff-menu.el (Buffer-menu-buffer):
1917 * array.el (current-line):
1918 * allout.el (allout-resolve-xref)
1919 (allout-latex-verbatim-quote-curr-line):
1920 Replace yet more uses of end-of-line etc with line-end-position, etc.
1922 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1925 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1926 (checkdoc-syntax-table): Initialize in the declaration.
1927 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1928 the mode on unconditionally.
1930 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1931 (extent-end-position, extent-start-position): Remove setf method for
1932 non-existing functions (bug#7319).
1934 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1937 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1938 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1939 (smie-prec2->grammar): Rename from smie-prec2-levels.
1940 (smie-grammar): Rename from smie-op-levels.
1941 (smie-indent--hanging-p): Rename from smie-hanging-p.
1942 (smie-rule-hanging-p): New alias.
1943 (smie-indent--bolp): Rename from smie-bolp.
1944 (smie-indent--hanging-p): New alias.
1945 (smie--token): New dynamically bound variable.
1946 (smie-indent--parent): New function.
1947 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1948 (smie-rule-next-p): Rename from smie-next-p.
1949 (smie-rule-prev-p): Rename from smie-prev-p.
1950 (smie-rule-sibling-p, smie-rule-parent)
1951 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1952 (smie-rule-separator-outdent): New var.
1953 (smie-indent--rule): Merge with smie-indent--column.
1954 (smie-indent-forward-token, smie-indent-backward-token):
1955 Also recognize close parens.
1956 (smie-indent-keyword): Don't use smie-indent--column any more.
1957 (smie-indent-after-keyword): Ignore closers by default.
1958 (smie-indent-line): Use with-demoted-errors.
1959 * progmodes/octave-mod.el (octave-smie-grammar):
1960 Rename from octave-smie-op-levels.
1961 (octave-smie-rules): Adjust to new behavior.
1962 * progmodes/prolog.el (prolog-smie-grammar):
1963 Rename from prolog-smie-op-levels.
1965 2010-11-07 Glenn Morris <rgm@gnu.org>
1967 * eshell/esh-util.el (subst-char-in-string)
1968 (directory-files-and-attributes): These compatibility definitions are
1969 not needed on any version of Emacs since at least 21.4.
1971 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1972 (verilog-get-end-of-line): Remove.
1973 (verilog-within-string, verilog-re-search-forward-substr)
1974 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1975 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1976 Use point-at-bol, point-at-eol.
1977 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1979 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1980 (electric-pascal-terminate-line, pascal-set-auto-comments)
1981 (pascal-indent-paramlist, pascal-indent-declaration)
1982 (pascal-get-lineup-indent, pascal-func-completion)
1983 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1984 Use point-at-bol, point-at-eol.
1985 * progmodes/flymake.el (flymake-line-beginning-position)
1986 (flymake-line-end-position): Remove.
1987 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1988 * eshell/esh-util.el (line-end-position, line-beginning-position):
1989 Remove compat definitions.
1991 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1993 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1994 Use line-end-position.
1996 * emacs-lisp/chart.el (chart-zap-chars):
1997 * play/decipher.el (decipher-set-map):
1998 * progmodes/ada-mode.el (ada-get-current-indent)
1999 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2000 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2001 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2002 (ada-get-all-references):
2003 * progmodes/cperl-mode.el (cperl-electric-paren)
2004 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2005 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2006 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2007 (cperl-word-at-point-hard):
2008 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2009 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2010 (idlwave-shell-display-line):
2011 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2012 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2013 * progmodes/js.el (js--re-search-forward-inner)
2014 (js--re-search-backward-inner):
2015 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2016 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2017 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2018 * textmodes/flyspell.el (flyspell-process-localwords):
2019 * textmodes/ispell.el (ispell-buffer-local-parsing)
2020 (ispell-buffer-local-dict, ispell-buffer-local-words):
2021 Use point-at-bol and point-at-eol.
2023 * speedbar.el (speedbar-generic-item-info)
2024 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2025 (speedbar-add-indicator, speedbar-check-vc-this-line)
2026 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2027 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2028 Replace more uses of end-of-line etc with line-end-position.
2030 2010-11-06 Glenn Morris <rgm@gnu.org>
2032 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2033 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2034 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2035 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2036 (texinfo-multiple-files-update):
2037 * textmodes/table.el (table--probe-cell-left-up)
2038 (table--probe-cell-right-bottom):
2039 * textmodes/picture.el (picture-tab-search):
2040 * textmodes/page-ext.el (pages-copy-header-and-position)
2041 (pages-directory-for-addresses):
2042 * progmodes/vera-mode.el (vera-get-offset):
2043 * progmodes/simula.el (simula-calculate-indent):
2044 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2045 * progmodes/prolog.el (end-of-prolog-clause):
2046 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2047 * progmodes/icon.el (indent-icon-exp):
2048 * progmodes/etags.el (tag-re-match-p):
2049 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2050 * progmodes/ebnf2ps.el (ebnf-begin-file):
2051 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2052 (dcl-save-local-variable):
2053 * play/life.el (life-setup):
2054 * play/gametree.el (gametree-looking-at-ply):
2055 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2056 * mail/sendmail.el (mail-mode-auto-fill):
2057 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2058 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2059 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2060 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2061 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2062 * type-break.el (type-break-file-keystroke-count):
2063 * term.el (term-replace-by-expanded-history-before-point)
2064 (term-skip-prompt, term-extract-string):
2065 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2066 (speedbar-contract-line, speedbar-toggle-line-expansion)
2067 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2068 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2069 * sort.el (sort-skip-fields):
2070 * skeleton.el (skeleton-internal-list):
2071 * simple.el (line-move-finish, line-move-to-column):
2072 * shell.el (shell-forward-command):
2073 * misc.el (copy-from-above-command):
2074 * makesum.el (double-column):
2075 * ebuff-menu.el (electric-buffer-update-highlight):
2076 * dired.el (dired-move-to-end-of-filename):
2077 * dframe.el (dframe-popup-kludge):
2078 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2079 * arc-mode.el (archive-get-lineno):
2080 Use line-end-position and line-beginning-position.
2082 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2083 (idlwave-study-twins): Prefix dynamic local `class'.
2084 (idlwave-routine-twin-compare): Update for above name change.
2086 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2087 Use boundp tests to silence compiler. Update for changed name of
2088 bytecomp-filename variable.
2090 * emulation/viper-cmd.el (viper-read-string-with-history):
2091 Prefix dynamic local `initial'.
2092 (viper-minibuffer-standard-hook): Update for above name change.
2094 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2095 (elint-init-form): Update for above name change.
2097 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2098 local variables `cbeg' and `cend' a prefix.
2099 (mail-extr-voodoo): Update for above name change.
2101 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2102 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2103 (reftex-toc-promote-action): Doc fix.
2105 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2106 `prompt', `data' a prefix.
2107 (reftex-select-post-command-hook, reftex-select-callback)
2108 (reftex-select-mouse-accept, reftex-select-read-cite):
2109 Update for above name changes.
2111 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2112 `refstyle' to reftex-refstyle.
2113 (reftex-offer-label-menu): Update for above name change.
2114 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2115 `refstyle' name change.
2117 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2118 with with-current-buffer.
2119 (diff, template): Give dynamic local variables a prefix.
2120 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2121 (emerge-line-number-in-buf): Update for above name change.
2122 (emerge-combine-versions-internal): Rename local `template' to
2123 emerge-combine-template.
2124 (emerge-combine-versions-edit): Update for above name change.
2126 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2128 * textmodes/reftex-cite.el
2129 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2130 entries with whitespace after \bibitem.
2131 (reftex-create-bibtex-file): Match entries containing numbers and
2132 symbol constituents. Make sure that entries with whitespace at
2133 various places are found.
2135 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2137 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2139 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2141 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2143 2010-11-05 Glenn Morris <rgm@gnu.org>
2145 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2146 (woman2-roff-buffer): Give local variable `request' a prefix.
2147 (woman0-macro): Rename argument `request' in the same way.
2148 (woman-request): New name for `request' dynamic variable.
2149 (woman-unquote, woman-forward-arg): Update for above name change.
2150 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2151 (woman1-unquote): New name for `unquote' dynamic variable.
2152 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2153 (woman-translations): Rename from `translations'. No longer global.
2154 (woman2-tr, woman-translate): Update for above name change.
2155 (woman-translate): Check for bound variable.
2156 (woman2-roff-buffer): Give local variable `translations' a prefix.
2158 * play/doctor.el: Give all local variables a prefix. Update callers.
2159 (doc$, doctor-put-meaning): Use backquote.
2161 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2162 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2164 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2165 variables bytes, ptr, op a prefix.
2166 (disassemble-offset): Update for above change.
2168 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2170 * emacs-lisp/package.el (package-unpack): Remove no-op.
2171 (package--builtins, package--dir): Doc fix.
2172 (package-activate-1, package-activate, package-install)
2173 (package-compute-transaction): Fix error message.
2174 (package-delete): Use delete-directory. Omit system packages.
2175 (package-initialize): Set package-alist to nil first.
2176 (package-menu-mark-delete, package-menu-mark-install): Don't add
2177 symbols that are inconsistent with the package state.
2178 (package-menu-execute): Perform deletions and installations as
2179 single batch operations.
2181 2010-11-03 Glenn Morris <rgm@gnu.org>
2183 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2184 (props): Remove unnecessary declaration.
2186 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2187 set-process-query-on-exit-flag.
2189 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2190 (reftex-toc-do-promote): Remove unused local `mpos'.
2191 (reftex-toc-restore-region): Make `mpos' local to this function.
2193 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2195 * play/landmark.el (lm-losing-threshold): Correct spelling.
2196 (lm-human-plays): Use new name.
2198 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2199 (gomoku-human-plays): Use new name.
2201 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2202 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2203 (gomoku-score-trans-table, gomoku-winning-threshold)
2204 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2206 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2208 * emacs-lisp/package.el: Don't put built-in packages in
2209 package-alist, to avoid loading inefficiencies.
2210 (package-built-in-p): Make VERSION optional, and treat it as a
2211 minimum acceptable version.
2212 (package-activate): Search separately for built-in packages.
2213 Emit a warning if a dependency fails.
2214 (define-package): Handle most common case, where there is no
2215 obsolete package, first.
2216 (package-compute-transaction): Print required version in error.
2217 (package--initialized): New variable.
2218 (list-packages): Use it.
2219 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2220 built-in packages in packages-alist; keep it separate.
2221 Set package--initialized.
2222 (describe-package): Avoid activating packages as a side-effect.
2223 Search separately for built-in packages.
2224 (describe-package-1): Handle the case where an elpa package is
2225 simultaneously built-in and available/installed.
2226 (package-installed-p, package--generate-package-list):
2227 Search separately for built-in packages.
2228 (package-load-descriptor): Doc fix.
2230 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2232 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2233 Handle __DATA__ and __END__.
2235 2010-11-02 Noah Friedman <friedman@splode.com>
2237 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2238 nil, do not ask to recompile files that are not already compiled,
2239 and do not recompile them.
2241 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2243 * emacs-lisp/package.el (package-initialize): Ensure that
2244 obsoleted built-in packages are not in package-activated-list
2246 (describe-package-1): Make the "installed" status override
2249 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2251 * subr.el (version-separator, version-regexp-alist): Remove '*'
2253 (version-list-<=, version<=, version=): Doc fix.
2255 2010-11-01 Kenichi Handa <handa@m17n.org>
2257 * faces.el (glyphless-char): Inherit underline for tty.
2259 2010-11-01 Kenichi Handa <handa@m17n.org>
2261 Implement various display methods for glyphless characters.
2263 * international/characters.el (char-acronym-table): New variable.
2264 (glyphless-char-control): New variable.
2265 (update-glyphless-char-display): New funciton.
2267 * faces.el (glyphless-char): New face.
2269 2010-11-01 Glenn Morris <rgm@gnu.org>
2271 * calendar/holidays.el (general-holidays, oriental-holidays)
2272 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2273 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2274 the definitions of their targets.
2276 * emacs-lisp/smie.el (smie): New custom group.
2277 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2279 * faces.el (xw-defined-colors, x-setup-function-keys):
2280 * mouse-sel.el (x-select-text):
2281 * term/w32console.el (x-setup-function-keys): Update declarations.
2283 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2285 * textmodes/ispell.el (comment-add): Declare.
2287 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2290 * info.el (finder-keywords-hash, package-alist): Declare.
2292 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2294 * finder.el (finder-compile-keywords): Don't use intern-soft,
2295 since package names may not yet exist in the obarray.
2297 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2299 * vc/vc-arch.el (vc-arch-checkin):
2300 * vc/vc-cvs.el (vc-cvs-checkin):
2301 * vc/vc-mtn.el (vc-mtn-checkin):
2302 * vc/vc-rcs.el (vc-rcs-checkin):
2303 * vc/vc-sccs.el (vc-sccs-checkin):
2304 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2305 since 2010-04-21 commit by Stefan Monnier.
2307 2010-11-01 Glenn Morris <rgm@gnu.org>
2309 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2311 * startup.el (package-enable-at-startup, package-initialize):
2314 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2317 2010-10-31 Julien Danjou <julien@danjou.info>
2319 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2320 (byte-recompile-directory):
2321 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2322 Use `byte-recompile-file'.
2324 2010-10-31 Glenn Morris <rgm@gnu.org>
2326 * cus-start.el: Handle standard values via a keyword.
2327 Only set version property if specified.
2328 (cursor-in-non-selected-windows, menu-bar-mode)
2329 (tool-bar-mode, show-trailing-whitespace):
2330 Do not specify standard values.
2331 (transient-mark-mode, temporary-file-directory): Use :standard.
2333 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2335 * term/x-win.el (x-get-selection-value): New function that gets
2336 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2338 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2340 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2341 preserve owner and group when editing files. (Bug#7289)
2343 2010-10-31 Glenn Morris <rgm@gnu.org>
2345 * speedbar.el (speedbar-mode):
2346 * play/fortune.el (fortune-in-buffer, fortune):
2347 * play/gomoku.el (gomoku-mode):
2348 * play/landmark.el (lm-mode):
2349 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2350 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2352 * select.el (x-selection): Mark it as an obsolete alias.
2354 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2356 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2357 major-mode (bug#7284).
2359 2010-10-31 Glenn Morris <rgm@gnu.org>
2361 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2362 rather than just an unused variable that inherits from the real one.
2364 2010-10-31 Alan Mackenzie <acm@muc.de>
2366 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2367 This fixes bug #7185.
2369 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2371 * startup.el (command-line): Search for package directories, and
2372 don't load package.el if none are found.
2374 * emacs-lisp/package.el (describe-package, list-packages):
2375 Call package-initialize if it has not been called yet.
2377 2010-10-30 Alan Mackenzie <acm@muc.de>
2379 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2380 which fontifies the tail of an enum.
2381 (c-basic-matchers-after): Insert a call to the above new function.
2382 This fixes bug #7264.
2384 2010-10-30 Glenn Morris <rgm@gnu.org>
2386 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2387 tool-bar-mode, transient-mark-mode. (Bug#7306)
2388 Include the :set property in the dumped Emacs.
2390 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2392 SMIE: change indent rules format, improve smie-setup.
2393 * emacs-lisp/smie.el (smie-precs-precedence-table)
2394 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2395 Mark them pure so the tables gets built at compile time.
2396 (smie-bnf-precedence-table): Store the closer-alist in the table.
2397 (smie-prec2-levels): Preserve the closer-alist.
2398 (smie-blink-matching-open): Be more forgiving in case of indentation.
2399 (smie-hanging-p): Rename from smie-indent--hanging-p.
2400 (smie-bolp): Rename from smie-indent--bolp.
2401 (smie--parent, smie--after): New dynamic vars.
2402 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2403 (smie-indent-rules): Remove.
2404 (smie-indent--offset-rule): Remove fun.
2405 (smie-rules-function): New var.
2406 (smie-indent--rule): New fun.
2407 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2408 (smie-indent-exps): Use it.
2409 (smie-setup): Setup paren blinking; add keyword args for token
2410 functions; extract closer-alist from op-levels.
2411 (smie-indent-debug-log): Remove var.
2412 (smie-indent-debug): Remove fun.
2413 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2414 (prolog-smie-rules): New fun to replace it.
2415 (prolog-mode-variables): Simplify.
2416 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2417 it's setup automatically.
2418 (octave-smie-indent-rules): Remove.
2419 (octave-smie-rules): New fun to replace it.
2420 (octave-mode): Simplify.
2422 2010-10-29 Glenn Morris <rgm@gnu.org>
2424 * files.el (temporary-file-directory): Remove (already defined in C).
2425 * cus-start.el: Add temporary-file-directory.
2427 * abbrev.el (abbrev-mode):
2428 * composite.el (auto-composition-mode):
2429 * menu-bar.el (menu-bar-mode):
2430 * simple.el (transient-mark-mode):
2431 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2432 that they do not define the associated variables twice.
2433 * simple.el (transient-mark-mode): Remove defvar.
2434 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2435 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2436 Handle multiple groups, and also custom-delayed-init-variables.
2437 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2439 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2442 (pcase-if): Add one minor optimization.
2443 (pcase-split-equal): Rename from pcase-split-eq.
2444 (pcase-split-member): Rename from pcase-split-memq.
2445 (pcase-u1): Add strings to the member optimization.
2446 Add `guard' variant of predicates.
2447 (pcase-q1): Add string patterns.
2449 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2453 2010-10-28 Glenn Morris <rgm@gnu.org>
2455 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2456 Move menu-bar related settings to ../menu-bar.el.
2457 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2458 Move ns-specific settings here from term/ns-win.el.
2460 * simple.el (x-selection-owner-p): Remove unused declaration.
2462 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2464 * minibuffer.el (completion-cycling): New var (bug#7266).
2465 (minibuffer-complete, completion--do-completion):
2466 Use completion--flush-all-sorted-completions.
2467 (minibuffer-complete): Only cycle if completion-cycling is set.
2468 (completion--flush-all-sorted-completions): Unset completion-cycling.
2469 (minibuffer-force-complete): Set completion-cycling.
2470 (completion-all-sorted-completions): Move declaration before first use.
2472 2010-10-28 Leo <sdl.web@gmail.com>
2474 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2475 which changes the order of matches seen by users (bug#7231).
2477 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2479 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2480 Don't confuse -omega as "-o mega".
2482 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2485 (log-edit-author): New dynamic var.
2486 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2487 to return the author if different from committer.
2488 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2490 * play/landmark.el: Adjust commenting convention.
2491 (lm-nil-score): Rename from nil-score.
2492 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2493 (OOOOscore): Move into a let in lm-score-trans-table.
2494 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2496 * electric.el (electric-indent-chars): Autoload.
2497 * progmodes/octave-mod.el (octave-mode):
2498 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2499 (ruby-mode-abbrev-table): Merge initialization and declaration.
2501 2010-10-27 Glenn Morris <rgm@gnu.org>
2503 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2506 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2508 * term/ns-win.el: Restore require of cl when compiling.
2509 (menu-bar-final-items): Remove non-existent `windows' menu.
2510 (ns-handle-nxopen): Optionally handle the temp-case.
2511 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2512 (ns-insert-file, ns-find-file): Use `pop'.
2514 2010-10-26 Glenn Morris <rgm@gnu.org>
2516 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2518 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2520 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2522 * term/common-win.el (x-setup-function-keys): Remove most of the
2523 keymappings. Comment on the remaining ones.
2525 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2527 * server.el (server-port): New option. (Bug#854)
2528 (server-start): Use server-port.
2530 2010-10-26 Glenn Morris <rgm@gnu.org>
2532 * term/ns-win.el (ns-version-string): Remove unused declaration.
2533 (ns-invocation-args): Change to x-invocation-args.
2534 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2535 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2536 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2537 Use x-invocation-args instead of ns-invocation-args.
2538 (ns-initialize-window-system, handle-args-function-alist):
2539 Use x-handle-args instead of ns-handle-args.
2540 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2541 * startup.el (command-line-ns-option-alist): Replace
2542 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2543 ns-handle-iconic with the x- equivalents.
2545 * term/common-win.el (x-select-enable-clipboard):
2546 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2548 * term/ns-win.el: No need to require cl when compiling.
2549 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2550 (xw-defined-colors): Use the common-win definitions.
2551 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2552 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2553 * term/common-win.el (x-select-text, x-alternatives-map)
2554 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2555 * loadup.el [ns]: Load common-win.
2557 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2559 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2560 recipients; expand mail aliases (Bug#7280).
2562 2010-10-25 Glenn Morris <rgm@gnu.org>
2564 * term/common-win.el (x-handle-switch): Simplify with pop.
2565 Optionally handle numeric switches.
2566 (x-handle-numeric-switch): Just call x-handle-switch.
2567 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2568 (x-handle-name-switch, x-handle-display, x-handle-args):
2571 * term/ns-win.el: Do not require easymenu.
2572 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2573 <spell>: Move adjustments to menu-bar.el.
2574 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2575 <separator-undo, spell>: Move ns-win's adjustments here.
2576 * loadup.el [ns]: Do not load easymenu.
2578 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2580 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2583 * startup.el (fancy-startup-tail): Instead of using inline images,
2584 refer to image files from etc/.
2586 * wid-edit.el (checkbox): Likewise.
2587 (widget-image-find): Center image specs.
2589 2010-10-24 Glenn Morris <rgm@gnu.org>
2591 * term/ns-win.el (x-select-text): Doc fix.
2592 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2593 (x-select-text): Move to term/common-win.
2594 * term/w32-win.el (xw-defined-colors): Move to common-win.
2595 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2596 (x-setup-function-keys, x-select-text): Move to common-win.
2597 * term/common-win.el (x-select-text, x-alternatives-map)
2598 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2601 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2603 * net/mairix.el (mairix-searches-mode-map):
2604 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2606 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2608 * verilog-mode.el (verilog-directive-re): Make this variable
2609 auto-built for efficiency of execution and updating.
2610 (verilog-extended-complete-re): Support 'pure' fucntion & task
2611 declarations (these have no bodies).
2612 (verilog-beg-of-statement): General cleanup to enable support of
2613 'pure' fucntion & task declarations (these have no bodies).
2614 These efforts together fix Verilog bug210 from veripool; which was also
2615 noticed by Steve Pearlmutter.
2616 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2617 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2618 Support `elsif. Reported by Shankar Giri.
2619 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2620 attribute handling for lining up declarations and assignments.
2621 (verilog-beg-of-statement-1): Fix issue where continued declaration
2622 is indented differently if it is after a begin..end clock.
2623 (verilog-in-attribute-p, verilog-skip-backward-comments)
2624 (verilog-skip-forward-comment-p): Support proper treatment of
2625 attributes by indent code. Reported by Jeff Steele.
2626 (verilog-in-directive-p): Fix comment to correctly describe function.
2627 (verilog-backward-up-list, verilog-in-struct-region-p)
2628 (verilog-backward-token, verilog-in-struct-p)
2629 (verilog-in-coverage-p, verilog-do-indent)
2630 (verilog-pretty-declarations): Use verilog-backward-up-list as
2631 wrapper around backward-up-list inorder to properly skip comments.
2632 Reported by David Rogoff.
2633 (verilog-property-re, verilog-endcomment-reason-re)
2634 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2635 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2636 of if). Reported by Max Bjurling and
2637 (verilog-calc-1): Fix for clocking block in modport
2638 declaration. Reported by Brian Hunter.
2640 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2642 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2643 (verilog-gate-keywords, verilog-read-sub-decls)
2644 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2645 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2646 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2647 (verilog-read-decls): Fix spaces in V2K module parameters causing
2648 mis-identification as interfaces, bug287.
2649 (verilog-read-decls): Fix not treating "parameter string" as a
2650 parameter in AUTOINSTPARAM.
2651 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2652 treating `elsif similar to `endif inside AUTOSENSE.
2653 (verilog-do-indent): Implement correct automatic or static task or
2654 function end comment highlight. Reported by Steve Pearlmutter.
2655 (verilog-font-lock-keywords-2): Fix highlighting of single
2656 character pins, bug264. Reported by Michael Laajanen.
2657 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2658 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2659 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2660 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2661 (verilog-pretty-expr): Fix interactive arguments, bug272.
2662 Reported by Mark Johnson.
2663 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2664 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2665 bug269. Suggested by Gary Delp.
2666 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2667 (verilog-preprocessor, verilog-set-compile-command):
2668 Create verilog-preprocess and verilog-preprocessor to show
2669 preprocessed output.
2670 (verilog-get-beg-of-line, verilog-get-end-of-line)
2671 (verilog-modi-file-or-buffer, verilog-modi-name)
2672 (verilog-modi-point, verilog-within-string): Move defmacro's
2673 before first use to avoid warning. Reported by Steve Pearlmutter.
2674 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2675 (verilog-colorize-region, verilog-highlight-buffer)
2676 (verilog-highlight-includes, verilog-highlight-modules)
2677 (verilog-highlight-region, verilog-mode): Rename colorize to
2678 highlight to match other packages. Disable module highlighting,
2679 as received speed complaints, reenable for experimentation only
2680 using new verilog-highlight-modules.
2681 (verilog-read-decls): Fix regexp stack overflow in very large
2682 AUTO_TEMPLATEs, bug250.
2683 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2684 (verilog-scan): Create verilog-save-buffer-state to standardize
2685 making insignificant changes that shouldn't call hooks.
2686 (verilog-save-no-change-functions, verilog-save-scan-cache)
2687 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2688 Create verilog-save-no-change-functions to wrap verilog-scan
2689 preservation, and fix to work with nested preserved calls.
2690 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2691 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2692 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2693 (verilog-submit-bug-report): Update variable list to be complete.
2694 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2695 breaking on-the-fly font-locking.
2696 (verilog-colorize-buffer, verilog-colorize-include-files)
2697 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2698 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2699 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2700 AUTOINST cell instance name, middle mouse button now finds-file on
2701 it. Suggested by Brad Dobbie.
2702 (verilog-alw-get-temps, verilog-auto-reset)
2703 (verilog-auto-sense-sigs, verilog-read-always-signals)
2704 (verilog-read-always-signals-recurse): Fix loop indexes being
2705 AUTORESET. AUTORESET now assumes any variables in the
2706 initialization section of a for() should be ignored.
2707 Reported by Dan Dever.
2708 (verilog-error-font-lock-keywords)
2709 (verilog-error-regexp-emacs-alist)
2710 (verilog-error-regexp-xemacs-alist): Fix error detection of
2711 Cadence HAL, reported by David Asher. Repair drift between the
2712 three similar error variables.
2713 (verilog-modi-lookup, verilog-modi-lookup-cache)
2714 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2715 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2716 Fix slow verilog-auto expansion on very large files.
2717 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2718 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2719 "{1*2{...". Broke in last revision.
2720 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2721 submodule connections with replications "{#{a},#{b}}".
2723 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2725 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2726 Fix typo in docstring.
2728 2010-10-24 Kenichi Handa <handa@m17n.org>
2730 * face-remap.el (text-scale-adjust): Call read-event with a proper
2733 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2735 * emacs-lisp/unsafep.el: Don't mark functions that display
2736 messages as safe. Suggested by Johan Bockgård.
2738 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2741 Turn comments into docstrings.
2743 * minibuffer.el (completion--replace): Move point where it belongs
2744 when there's a common suffix (bug#7215).
2746 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2748 Merge read-color and facemenu-read-color (Bug#7242).
2750 * faces.el (read-color): Use the completion code from
2751 facemenu-read-color. Require match in completion. Doc fix.
2753 * facemenu.el (facemenu-read-color): Alias for read-color.
2754 (facemenu-set-foreground, facemenu-set-background):
2757 * frame.el (set-background-color, set-foreground-color)
2758 (set-cursor-color, set-mouse-color, set-border-color):
2761 2010-10-24 Leo <sdl.web@gmail.com>
2763 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2764 argument of delete-file and delete-directory (Bug#7011).
2766 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2768 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2771 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2773 * emacs-lisp/package.el (package--generate-package-list): Make the
2774 *Packages* buffer read-only.
2776 2010-10-24 Alan Mackenzie <acm@muc.de>
2778 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2779 result of `c-beginning-of-decl-1' between invocations of a lambda
2780 function (Bug #7265).
2782 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2784 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2785 executable is not available on the system (Bug#7268).
2787 2010-10-24 Glenn Morris <rgm@gnu.org>
2789 * select.el (selection-coding-system, next-selection-coding-system):
2790 Sync doc with C versions.
2792 * w32-vars.el (x-select-enable-clipboard):
2793 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2794 * term/common-win.el (x-select-enable-clipboard): Move here.
2796 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2797 definition of C variable.
2799 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2800 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2801 Don't redefine things that are defined in C.
2802 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2803 (show-trailing-whitespace, auto-hscroll-mode)
2804 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2805 Set up the appropriate custom properties.
2807 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2810 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2811 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2812 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2813 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2815 2010-10-23 Glenn Morris <rgm@gnu.org>
2817 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2820 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2821 Sync docs with C version.
2823 * term/ns-win.el (xw-defined-colors):
2824 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2826 * term/pc-win.el (x-select-enable-clipboard):
2827 * term/x-win.el (x-select-enable-clipboard):
2828 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2830 * comint.el (comint-password-prompt-regexp): Make it less vague.
2833 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2835 * help.el (finder-by-keyword): Remove unnecessary autoload.
2837 2010-10-22 Glenn Morris <rgm@gnu.org>
2839 * loadup.el: Unconditionally load float-sup.
2840 * paren.el (show-paren-delay):
2841 * emacs-lisp/float-sup.el:
2842 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2843 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2844 (lazy-lock-stealth-verbose): Assume float support.
2845 * ps-print.el: Assume float support on Emacs.
2846 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2847 Remove non-float branch.
2849 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2850 src/Makefile no longer being pre-processed.
2852 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2854 * emacs-lisp/find-func.el (find-library): Use test-completion.
2856 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2860 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2862 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2863 space in stat format string.
2864 (tramp-send-command): Unset $PS1 when using here documents, in
2865 order not to get several prompts.
2866 (tramp-get-inline-coding): Return `nil' in case of errors.
2868 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2870 * hexl.el (hexl-mode, hexl-mode-exit):
2871 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2872 (hexl-revert-buffer-function): New function.
2873 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2875 2010-10-19 Alan Mackenzie <acm@muc.de>
2877 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2878 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2879 that these keywords aren't wrongly matched as identifiers.
2881 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2882 setting of c-new-BEG and c-new-END from c-before-change to
2883 c-after-change. (Bug#7181)
2885 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2887 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2890 * custom.el (custom-theme-set-variables): Likewise.
2891 (load-theme): Add custom-theme-set-faces and
2892 custom-theme-set-variables to safe-functions while loading.
2893 (custom-enabled-themes): Mark as risky.
2895 2010-10-18 Julien Danjou <julien@danjou.info>
2897 * bindings.el: Remove end dashes in default mode-line-format.
2899 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2901 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2902 to delete-forward-char.
2904 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2905 deletechar, and hence delete-forward-char.
2907 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2909 * repeat.el (repeat): Use read-key (bug#6256).
2911 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2913 * emacs-lisp/unsafep.el: Don't mark functions that display
2914 messages as safe. Suggested by Johan Bockgård.
2916 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2918 * minibuffer.el (completion--replace): Move point where it belongs
2919 when there's a common suffix (bug#7215).
2921 2010-10-19 Kenichi Handa <handa@m17n.org>
2923 * international/characters.el: Add category '|' (word breakable)
2924 to fullwidth characters.
2926 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2928 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2929 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2930 order to make stat results a float. Patch by Andreas Schwab
2931 <schwab@linux-m68k.org>.
2933 2010-10-18 Julien Danjou <julien@danjou.info>
2935 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2936 hidden by `make-pointer-invisible'.
2938 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * files.el (locate-file-completion-table): Strip non-matching elements
2941 before checking length of list (bug#7238).
2943 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2945 * custom.el (custom-theme-set-variables): Mark as a safe function.
2946 (load-theme): Check forms using unsafep.
2948 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2950 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2952 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2953 Fix aspell data file searching (bug#7230).
2955 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2957 * cus-theme.el (custom-theme--migrate-settings): New var.
2958 (customize-create-theme): Allow editing the `user' theme.
2959 (custom-theme-add-variable, custom-theme-add-var-1)
2960 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2961 to the front of each variable or face widget.
2962 (custom-theme-write): Save theme settings in the correct order.
2963 Optionally, remove saved settings from user customizations.
2964 (custom-theme-write-variables, custom-theme-write-faces):
2965 Save only the checked widgets.
2966 (customize-themes): Add a link for migrating custom settings.
2968 * custom.el (custom-declare-theme, provide-theme):
2969 Use custom-theme-name-valid-p.
2970 (custom-theme-name-valid-p): Remove checks that are now
2971 unnecessary since themes no longer obey load-path.
2973 * cus-edit.el (custom-variable-value-create): For the simple
2974 style, hide documentation string when hidden.
2976 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2978 * cus-edit.el (custom-variable, custom-face): Combine the
2979 :inhibit-magic and :display-style properties into a single
2980 :custom-style property.
2981 (custom-toggle-hide-variable, custom-toggle-hide-face):
2982 New functions. If hiding an edited value, save it to :shown-value.
2983 (custom-variable-value-create, custom-face-value-create): Use them.
2984 (custom-magic-reset): Allow magic property to be unset.
2986 * custom.el: Custom themes no longer use load-path.
2987 (custom-theme-load-path): New option. Change built-in theme
2989 (custom-enabled-themes): Add custom-theme-load-path dependency.
2990 (custom-theme--load-path): New function.
2991 (load-theme, custom-available-themes): Use it.
2993 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2994 (customize-themes): Link to custom-theme-load-path variable.
2995 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2996 :custom-style property.
2998 * themes/*.el: Moved to etc/.
3000 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3002 * textmodes/reftex-cite.el
3003 (reftex-extract-bib-entries-from-thebibliography): Do not move
3004 point when searching for \bibitem entries. Match entries with
3005 spaces or tabs in front of arguments.
3007 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3009 * cus-theme.el (customize-create-theme): Delete overlays after
3010 erasing. If given a THEME arg, display only the faces of that arg
3011 instead of custom-theme--listed-faces.
3012 (custom-theme-variable-menu, custom-theme-variable-action)
3013 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3014 (custom-theme-add-variable, custom-theme-add-face): Apply value
3015 from the theme settings, instead of the current value.
3016 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3017 (custom-theme-visit-theme): Allow calling outside theme buffers.
3018 (custom-theme-merge-theme): Don't enable the theme when merging.
3019 (custom-theme-write-variables, custom-theme-write-faces): Use the
3020 :shown-value properties to save buffer values, not global ones.
3021 (customize-themes): Display a warning about user customizations.
3023 * cus-edit.el (custom-variable-value-create)
3024 (custom-face-value-create): Obey new special properties
3025 :shown-value and :inhibit-magic.
3027 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3029 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3030 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3033 2010-10-14 Kenichi Handa <handa@m17n.org>
3035 * mail/rmail.el (rmail-show-message-1): Catch an error of
3036 base64-decode-region and just show an error message (bug#7165).
3038 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3039 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3040 a font-spec (bug#7197).
3042 2010-10-14 Glenn Morris <rgm@gnu.org>
3044 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3046 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3048 * international/mule.el (define-coding-system):
3049 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3050 * composite.el (compose-region): Fix typo in docstring.
3052 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3054 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3055 only after checking the theme-face property.
3057 * faces.el (face-spec-reset-face): Reset all attributes in one
3058 single call to set-face-attribute.
3059 (face-spec-match-p): Make it a defsubst.
3060 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3061 (x-create-frame-with-faces, tty-create-frame-with-faces)
3062 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3063 frame-set-background-mode, since they are recomputed immediately
3064 afterwards in face-set-after-frame-default.
3065 (face-set-after-frame-default): Minor optimization.
3066 (cursor): Provide non-trivial defface spec.
3068 * custom.el (custom-theme-recalc-face): Simplify.
3070 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3072 * calc/calc-alg.el (math-var): Rename from `var'.
3073 (math-is-polynomial, math-is-poly-rec): Replace `var'
3076 * calc/calcalg2.el (math-var): Rename from `var'.
3077 (calcFunc-table, math-scan-for-limits): Replace `var'
3080 2010-10-13 Glenn Morris <rgm@gnu.org>
3082 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3084 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3086 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3088 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3090 * net/tls.el (tls-program): Remove spurious %s from openssl.
3091 (tls-starttls-switches): Remove starttls hack.
3092 (open-tls-stream): Ditto.
3093 (tls-find-starttls-argument): Ditto.
3095 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3097 * image.el (image-library-alist): Declare as obsolete alias.
3098 (image-type-available-p): Use `dynamic-library-alist'.
3100 * term/w32-win.el (dynamic-library-alist):
3101 Use instead of `image-library-alist'.
3103 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3105 * subr.el (last): Make it faster. (Bug#7174)
3107 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3109 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3111 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3113 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3114 (describe-theme-1): Extract doc from unloaded themes.
3116 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3118 * themes/tango-theme.el:
3119 * themes/tango-dark-theme.el:
3120 * themes/wheatgrass-theme.el: New files.
3122 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3124 * cus-theme.el (describe-theme, customize-themes)
3125 (custom-theme-save): New commands.
3126 (custom-new-theme-mode-map): Bind C-x C-s.
3127 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3128 (customize-create-theme): New optional arg THEME.
3129 (custom-theme-revert): Use it.
3130 (custom-theme-visit-theme): Remove dead code.
3131 (custom-theme-merge-theme): Use custom-available-themes.
3132 (custom-theme-write): Make interactive.
3133 (custom-theme-write): Use custom-theme-name-valid-p.
3134 (describe-theme-1, custom-theme-choose-revert)
3135 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3137 (custom-theme-allow-multiple-selections): New option.
3138 (custom-theme-choose-mode): New major mode.
3140 * custom.el (custom-theme-set-variables): Remove dead code.
3141 Obey custom--inhibit-theme-enable.
3142 (custom--inhibit-theme-enable): New var.
3143 (provide-theme): Obey it.
3144 (load-theme): Replace load with manual read/eval, in order to
3145 check for correctness. Use custom-theme-name-valid-p.
3146 (custom-theme-name-valid-p): New function.
3147 (custom-available-themes): Use it.
3149 * cus-edit.el (custom--initialize-widget-variables): New function.
3150 (Custom-mode): Use it.
3152 * cus-face.el (custom-theme-set-faces): Remove dead code.
3153 Obey custom--inhibit-theme-enable.
3155 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3157 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3159 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3161 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3163 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3164 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3165 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3167 * cus-start.el (all): ns-right-alternate-modifier is new.
3169 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * emacs-lisp/lisp.el (lisp-completion-at-point):
3172 Use emacs-lisp-mode-syntax-table for the whole function.
3174 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3176 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3177 instead of font-lock-mode before adding keywords.
3178 Remove hi-lock-mode off code. Remove inhibit hack.
3179 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3180 non-nil; removed hook inhibit hack.
3182 2010-10-12 Glenn Morris <rgm@gnu.org>
3184 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3185 (load-path-shadows-find): ... to this.
3186 (list-load-path-shadows): Update for above change.
3188 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3190 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3192 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3193 Fix comment for declare-function.
3195 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3197 * custom.el (custom-fix-face-spec): New function; code moved from
3198 custom-face-edit-fix-value.
3199 (custom-push-theme): Use it when checking if a face has been
3200 changed outside customize.
3201 (custom-available-themes): New function.
3202 (load-theme): Use it.
3204 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3206 * custom.el (custom-push-theme): Cleanup (use cond).
3207 (disable-theme): Recompute the saved-face property.
3208 (custom-theme-recalc-face): Follow face alias before setting prop.
3210 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3211 New variables, containing checkbox images.
3213 * startup.el (fancy-startup-tail):
3214 * wid-edit.el (checkbox): Use them.
3216 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3218 * shell.el (shell-mode-map):
3219 * progmodes/modula2.el (m2-mode-map):
3220 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3221 * play/mpuz.el (mpuz-mode-map):
3222 * play/landmark.el (lm-mode-map):
3223 * play/decipher.el (decipher-mode-map):
3224 * play/5x5.el (5x5-mode-map):
3225 * net/telnet.el (telnet-mode-map):
3226 * net/quickurl.el (quickurl-list-mode-map):
3227 * net/mairix.el (mairix-searches-mode-map):
3228 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3229 * net/dig.el (dig-mode-map):
3230 * mail/mspools.el (mspools-mode-map):
3231 * hexl.el (hexl-mode-map):
3232 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3233 (wordstar-C-o-map, wordstar-C-q-map):
3234 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3235 * emacs-lisp/chart.el (chart-map):
3236 * edmacro.el (edmacro-mode-map):
3237 * erc/erc-list.el (erc-list-menu-mode-map):
3238 * array.el (array-mode-map): Declare and define in one step.
3240 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3242 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3244 * epa.el (epa-passphrase-callback-function): Display filename
3245 passed as the 3rd arg.
3246 * epa-file.el (epa-file-passphrase-callback-function):
3247 Pass filename to epa-passphrase-callback-function.
3249 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3251 * cus-edit.el (custom-face-widget-to-spec)
3252 (custom-face-get-current-spec, custom-face-state): New functions.
3253 (custom-face-set, custom-face-mark-to-save)
3254 (custom-face-value-create, custom-face-state-set): Use them.
3256 * cus-theme.el (custom-theme--listed-faces): New var.
3257 (customize-create-theme): Use *Custom Theme* as the buffer name.
3258 Set revert-buffer-function. Optional arg BUFFER. Insert all
3259 faces listed in custom-theme--listed-faces.
3260 (custom-theme-revert): New function.
3261 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3263 (custom-theme-write): Prompt for theme name if empty.
3264 (custom-theme-write-variables): Use dolist.
3265 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3267 2010-10-09 Alan Mackenzie <acm@muc.de>
3269 Enhance fontification of declarators to take account of the
3270 presence/absence of "typedef".
3272 * cc-engine.el (c-forward-type): New &optional param
3274 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3275 presence of either or both of a "struct"-like keyword and "typedef".
3277 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3278 fontification of declarators which follow a "}".
3279 (c-font-lock-declarations): Fontify declarators according to the
3280 presence/absence of "typedef".
3282 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3284 (c-typedef-decl-key): New lang variable built from
3285 c-typedef-decl-kwds.
3287 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3289 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3290 since that's too annoying. Move the filter groups commands to
3293 * epa.el (epa-passphrase-callback-function): Say what we're
3294 querying the password for.
3296 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3297 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3299 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3301 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3302 (custom-magic-value-create): Pad button tags with spaces.
3303 (custom-face-edit): New variable.
3304 (custom-face-value-create): Determine whether to use the usual
3305 face editor here, instead of using custom-face-selected.
3306 Pass face defaults to custom-face-edit widget.
3307 (custom-face-selected, custom-display-unselected): Delete widgets.
3308 (custom-display-unselected-match): Function removed.
3309 (custom-face-set, custom-face-mark-to-save):
3310 Accept custom-face-edit widgets as the direct widget child.
3312 * wid-edit.el (widget--completing-widget): New var.
3313 (widget-default-complete): Bind it when doing completion.
3314 (widget-string-complete, widget-file-complete): Use it.
3316 2010-10-09 Glenn Morris <rgm@gnu.org>
3318 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3319 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3320 (holiday-hebrew-misc): Small simplifications.
3322 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3324 * net/browse-url.el: Don't require thingatpt, term, dired,
3325 executable, or w3-auto when compiling.
3326 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3328 (browse-url-text-emacs): Require term.
3330 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3332 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3334 2010-10-08 Glenn Morris <rgm@gnu.org>
3336 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3338 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3339 (shadows-compare-text-p): Make it an obsolete alias for...
3340 (load-path-shadows-compare-text): ... new name.
3341 (find-emacs-lisp-shadows): Update for above name change.
3342 (load-path-shadows-same-file-or-nonexistent): New name for the old
3343 shadow-same-file-or-nonexistent.
3345 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3347 * minibuffer.el (completion--some, completion--do-completion)
3348 (minibuffer-complete-and-exit, minibuffer-completion-help)
3349 (completion-basic-try-completion)
3350 (completion-basic-all-completions)
3351 (completion-pcm--find-all-completions): Use lexical-let to
3352 avoid some false matches in variable completion (Bug#7056)
3354 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3356 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3358 2010-10-08 Leo <sdl.web@gmail.com>
3360 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3361 return non-nil if the file exists (Bug#7090).
3363 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * minibuffer.el (completion--replace):
3366 Better preserve markers (bug#7138).
3368 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3370 * server.el (server-process-filter): Doc fix.
3372 2010-10-08 Drew Adams <drew.adams@oracle.com>
3374 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3376 2010-10-08 Glenn Morris <rgm@gnu.org>
3378 * vc/ediff-wind.el (ediff-setup-control-frame):
3379 * vc/ediff-ptch.el (ediff-default-backup-extension):
3380 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3381 (ediff-exec-process): Remove system-types emx, windows-95.
3383 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3385 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3387 * cus-edit.el (custom-variable, custom-face): Doc fix.
3388 (custom-face-edit): Add value-create attribute.
3389 (custom-face-edit-value-create)
3390 (custom-face-edit-value-visibility-action): New functions.
3391 Hide unused face attributes by default, and add a visibility toggle.
3392 (custom-face-edit-deactivate): Show empty values with shadow face.
3393 (custom-face-selected): Only use this for face specs with default
3395 (custom-face-value-create): Cleanup.
3397 * wid-edit.el (widget-checklist-value-create): Use dolist.
3398 (widget-checklist-match-find): Make second arg optional.
3400 2010-10-07 Glenn Morris <rgm@gnu.org>
3402 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3405 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3406 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3407 load-path-shadows-mode, update references.
3408 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3409 Rename variable and button.
3410 (list-load-path-shadows): Update button caller.
3412 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3415 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3416 (smie-merge-prec2s): Handle those new entries.
3417 (smie-prec2-levels): Only set precedence to nil for actual
3419 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3420 that is now unnecessary.
3422 2010-10-07 Miles Bader <miles@gnu.org>
3424 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3426 2010-10-07 Glenn Morris <rgm@gnu.org>
3428 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3429 (mail-position-on-field): Remove declarations.
3430 (mail-position-on-field): Autoload it.
3431 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3432 and mail-header-end. Don't require sendmail.
3434 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3435 (shadow-mode): New mode.
3436 (shadow-find-file): New button.
3437 (list-load-path-shadows): Use shadow-mode and buttons.
3439 * iimage.el (iimage-version): Remove.
3440 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3441 Turn into defcustoms.
3442 (iimage-mode-map): Give it a doc string.
3444 * calendar/appt.el (appt-activate): Give a warning rather than an error
3445 if there is no diary-file.
3447 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3449 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3450 Use `tramp-handle-find-backup-file-name'.
3452 2010-10-06 Glenn Morris <rgm@gnu.org>
3454 * font-core.el (font-lock-defaults-alist): Remove variable.
3455 (font-lock-mode): Doc fix.
3456 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3457 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3458 (font-lock-set-defaults): Doc fix.
3459 Do not consult font-lock-defaults-alist.
3461 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3463 * emacs-lisp/cl.el: No longer provide cl-19.
3465 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3467 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3468 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3469 New defuns, taken from tramp-smb.el.
3470 (tramp-coding-system-change-eol-conversion)
3471 (tramp-set-process-query-on-exit-flag): Remove.
3473 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3474 (tramp-compat-coding-system-change-eol-conversion)
3475 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3478 * net/tramp-gvfs.el:
3479 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3480 by `tramp-compat-set-process-query-on-exit-flag'.
3482 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3483 Use `tramp-handle-directory-files-and-attributes',
3484 `tramp-handle-file-exists-p' and
3485 `tramp-handle-file-newer-than-file-p'.
3486 (tramp-imap-handle-file-exists-p)
3487 (tramp-imap-handle-file-executable-p)
3488 (tramp-imap-handle-file-readable-p)
3489 (tramp-imap-handle-directory-files-and-attributes)
3490 (tramp-imap-handle-file-newer-than-file-p): Remove.
3492 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3493 by `tramp-compat-set-process-query-on-exit-flag' and
3494 `tramp-coding-system-change-eol-conversion' by
3495 `tramp-compat-coding-system-change-eol-conversion'.
3497 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3498 Use `tramp-handle-directory-files-and-attributes',
3499 `tramp-handle-file-exists-p' and
3500 `tramp-handle-file-newer-than-file-p'.
3501 (tramp-smb-handle-directory-files-and-attributes)
3502 (tramp-smb-handle-file-exists-p)
3503 (tramp-smb-handle-file-newer-than-file-p): Remove.
3504 (tramp-smb-maybe-open-connection):
3505 Replace `tramp-set-process-query-on-exit-flag' by
3506 `tramp-compat-set-process-query-on-exit-flag'.
3508 2010-10-05 Glenn Morris <rgm@gnu.org>
3510 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3512 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3514 Continue reorganization of load dependencies. (Bug#7156)
3516 * net/tramp.el (tramp-handle-file-local-copy-hook)
3517 (tramp-delete-temp-file-function): Move down.
3518 (tramp-exists-file-name-handler): Move up.
3519 (tramp-register-file-name-handlers): Simplify autoload.
3520 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3521 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3522 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3523 (tramp-handle-file-name-completion)
3524 (tramp-handle-file-name-directory)
3525 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3526 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3527 (tramp-handle-find-backup-file-name)
3528 (tramp-handle-insert-file-contents, tramp-handle-load)
3529 (tramp-handle-substitute-in-file-name)
3530 (tramp-handle-unhandled-file-name-directory)
3531 (tramp-mode-string-to-int, tramp-local-host-p)
3532 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3534 * net/tramp-gvfs.el (top):
3535 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3537 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3538 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3540 2010-10-04 Glenn Morris <rgm@gnu.org>
3542 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3543 (appt-activate): Give status messages.
3545 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3547 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3548 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3549 `gnutls-negotiate' (formerly `starttls-negotiate').
3550 Remove trivial wrapper `starttls-open-stream'.
3552 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3554 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3555 log-outgoing commands.
3556 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3557 to create a buffer local revert-buffer-function variable.
3558 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3559 revert-buffer-function lambda.
3561 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3563 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3564 `gnutls-boot'. Make TYPE the only required parameter.
3565 Allow TRUSTFILES and KEYFILES to be lists.
3566 (open-ssl-stream): Use it.
3568 2010-10-03 Glenn Morris <rgm@gnu.org>
3570 * subr.el (directory-sep-char): Remove obsolete variable.
3571 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3574 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3575 * vc/vc.el (vc-static-header-alist): Doc fix.
3576 * vc/vc-cvs.el (vc-cvs-header):
3577 * vc/vc-rcs.el (vc-rcs-header):
3578 * vc/vc-sccs.el (vc-sccs-header):
3579 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3580 * obsolete/vc-mcvs.el (vc-mcvs-header):
3581 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3584 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3586 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3587 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3589 2010-10-03 Glenn Morris <rgm@gnu.org>
3591 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3593 * textmodes/rst.el (rst-font-lock-keywords-function):
3596 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3598 * printing.el: Drop Emacs 20 code.
3600 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3601 without having used appt.el already).
3603 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3604 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3605 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3607 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3608 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3610 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3611 (charset-width, find-charset-region, chars-in-region, forward-point)
3612 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3613 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3614 Remove compatibility cruft (none of these are used by ps*.el).
3616 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3618 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3620 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3622 * server.el (server-process-filter, server-return-error):
3623 Give emacsclient time to shut down after receiving an error string.
3625 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3627 * files.el (remote-file-name-inhibit-cache): New defcustom.
3629 * time.el (display-time-file-nonempty-p):
3630 Use `remote-file-name-inhibit-cache'.
3632 * net/tramp.el (tramp-completion-reread-directory-timeout):
3635 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3636 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3637 `remote-file-name-inhibit-cache'. Check also for an integer
3638 value. Add/increase counter when `tramp-verbose' >= 10.
3639 (tramp-set-file-property): Add/increase counter when
3640 `tramp-verbose' >= 10.
3642 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3643 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3644 (tramp-bug): Set tramp-autoload cookie. Report all interned
3645 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3646 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3647 characters only in strings.
3649 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3650 to backward compatibility.
3652 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3653 (tramp-handle-file-name-all-completions)
3654 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3655 (tramp-open-connection-setup-interactive-shell):
3656 Call `tramp-cleanup-connection' directly.
3658 2010-10-02 Glenn Morris <rgm@gnu.org>
3660 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3662 * subr.el (char-bytes): Remove obsolete function.
3664 * isearch.el (isearch-return-char): Remove obsolete function.
3666 * mouse.el: No longer provide mldrag.
3667 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3668 Remove obsolete aliases.
3670 * comint.el (comint-kill-output): Remove obsolete alias.
3672 * composite.el (decompose-composite-char): Remove obsolete function.
3673 * ps-def.el (decompose-composite-char): Remove unused function.
3675 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3677 * outline.el (outline-visible): Remove obsolete function.
3679 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3680 * faces.el (internal-find-face, internal-get-face)
3681 (frame-update-faces, frame-update-face-colors)
3682 (x-frob-font-weight, x-frob-font-slant)
3683 (internal-frob-font-weight, internal-frob-font-slant)
3684 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3685 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3686 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3688 * emulation/viper-util.el (viper-get-face):
3689 * obsolete/lucid.el (find-face, get-face): Use facep.
3690 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3691 Remove unused functions.
3692 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3694 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3695 delete tempfile if interrupted during compilation.
3697 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3699 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3701 (tls-program): Add --insecure to be consistent with the defaults from
3702 openssl s_client. Now all three commands are insecure.
3704 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3706 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3707 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3708 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3710 2010-10-01 Glenn Morris <rgm@gnu.org>
3712 * obsolete/sc.el: Remove file.
3714 * files.el (temporary-file-directory): On darwin, also try
3715 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3717 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3719 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3720 Let's not break compatibility gratuitously, shall we?
3722 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3724 * net/tls.el (tls-starttls-switches): New variable.
3725 (tls-find-starttls-argument): Use it.
3726 (open-tls-stream): Ditto.
3728 * net/netrc.el (netrc-credentials): Return the value of the "default"
3730 (netrc-machine): Ditto.
3732 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3734 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3736 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3738 * server.el (server-start): Don't write pid to the authentication file.
3739 (server-create-tty-frame): Don't send pid.
3740 (server-process-filter): Send pid at the start of every connection.
3742 2010-09-30 Glenn Morris <rgm@gnu.org>
3744 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3745 (show-all-diary-entries): Remove obsolete function aliases.
3747 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3748 Remove options, obsolete since 22.1.
3749 (appt-display-format, appt-display-message):
3750 Remove backwards-compatibility code.
3751 (appt-check): No longer check appt-issue-message.
3752 (appt-make-list): No longer autoload it. Doc fix. No longer
3753 activate the package.
3755 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3757 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3758 (starttls-negotiate): Just call boot, and let the handshake be
3759 triggered from the read loop.
3761 2010-09-29 Glenn Morris <rgm@gnu.org>
3763 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3764 not displaying the diary.
3765 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3766 * calendar/appt.el (appt-check): No longer need to kill diary.
3768 * calendar/diary-lib.el (diary-list-entries): Move the
3769 "Preparing..." message entirely here.
3770 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3771 messages to diary-list-entries.
3772 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3773 diary-display-function.
3775 * calendar/diary-lib.el (diary-include-other-diary-files):
3776 Trap some recursive includes.
3778 * calendar/appt.el (appt-activate): Check diary file.
3780 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3782 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3785 * calendar/time-date.el: No need to require cl for Emacs 21.
3787 2010-09-28 Glenn Morris <rgm@gnu.org>
3789 * calendar/appt.el (appt-check): Minor simplification.
3791 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3793 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3796 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3798 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3799 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3801 2010-09-27 Kenichi Handa <handa@m17n.org>
3803 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3806 2010-09-27 Kenichi Handa <handa@m17n.org>
3808 * international/mule.el (define-coding-system): Docstring fixed.
3810 * international/mule-diag.el (describe-character-set): Use princ
3811 with proper print-length and print-level instead of insert.
3813 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3815 * window.el (walk-windows): Doc fix (bug#7105).
3817 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * emacs-lisp/float-sup.el (e): Remove.
3821 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3823 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3825 (starttls-negotiate): Use it.
3827 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3829 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3832 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3836 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3838 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3840 * net/netrc.el (netrc-store-data): New function.
3842 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3844 * net/gnutls.el: GnuTLS glue code to set up a connection.
3846 2010-09-25 Julien Danjou <julien@danjou.info>
3848 * notifications.el: Call dbus-register-signal only if it is bound.
3850 2010-09-25 Glenn Morris <rgm@gnu.org>
3852 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3853 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3854 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3855 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3856 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3857 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3858 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3859 * eshell/esh-util.el, eshell/esh-var.el:
3860 Remove leading `*' from docs of faces and defcustoms.
3862 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3864 * eshell/em-ls.el (eshell-ls-archive-regexp):
3865 * eshell/esh-util.el (eshell-tar-regexp):
3866 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3867 * info.el (Info-suffix-list):
3868 * international/mule.el (auto-coding-alist):
3869 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3870 * progmodes/etags.el (tags-compression-info-list):
3871 Support xz compression.
3873 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3875 * files.el (get-free-disk-space): Don't assume the "df" output
3876 columns line up (Bug#6995).
3878 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3880 * finder.el (finder-unknown-keywords):
3881 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3882 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3884 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3886 * server.el (server-start): Revert part of 2010-08-08 change. Using
3887 address 127.0.0.1 for local host is now done in Fmake_network_process.
3889 2010-09-24 Glenn Morris <rgm@gnu.org>
3891 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3892 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3893 * textmodes/css-mode.el, textmodes/dns-mode.el:
3894 Move autoloaded auto-mode-alist entries to files.el.
3895 * files.el (auto-mode-alist): Move entries here.
3897 2010-09-23 Glenn Morris <rgm@gnu.org>
3899 * isearch.el (isearch-lazy-highlight-cleanup)
3900 (isearch-lazy-highlight-initial-delay)
3901 (isearch-lazy-highlight-interval)
3902 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3903 * net/net-utils.el (ipconfig-program-options):
3904 Move aliases to options before the associated definitions.
3906 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * newcomment.el (comment-normalize-vars): Better test validity of
3911 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3914 (float-e): New name for `e'.
3915 (degrees-to-radians, radians-to-degrees):
3916 * calendar/solar.el (solar-longitude):
3917 * calculator.el (calculator-registers, calculator-funcall):
3918 * textmodes/artist.el (artist-spray-random-points):
3919 * play/bubbles.el (bubbles--initialize-images): Use new names.
3921 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3923 Update to CEDET 1.0's version of EIEIO.
3925 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3927 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3928 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3929 (class-precedence-list): If class is nil, return nil.
3930 (eieio-generic-call): If class of first input arg is nil, don't
3931 look up static methods, and do check for primary methods.
3932 (initialize-instance): See if the default needs to be evaluated
3933 during the constructor.
3934 (eieio-perform-slot-validation-for-default): Don't do the check
3935 for values that will eventually be evaluated.
3936 (eieio-eval-default-p): New function.
3937 (eieio-default-eval-maybe): Use it.
3939 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3941 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3942 method-invocation-order.
3943 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3944 (eieio-class-precedence-dfs): Compute class precedence list using
3946 (eieio-class-precedence-bfs): Compute class precedence list using
3948 (eieio-class-precedence-c3): Compute class precedence list using
3950 (class-precedence-list): New function.
3951 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3952 (inconsistent-class-hierarchy): New error symbol.
3953 (call-next-method): Stow the replacement argument list for future
3954 call-next-method invocations.
3956 2010-09-23 Glenn Morris <rgm@gnu.org>
3958 * calendar/appt.el (appt-check): If not displaying the diary,
3959 use (diary 1) to only get the entries we need.
3960 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3961 that it is in day order. (Bug#7019)
3963 * calendar/appt.el (appt-check): Rather than showing the diary,
3964 just turn off invisible display, and only if needed.
3966 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3968 2010-09-23 Glenn Morris <rgm@gnu.org>
3970 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3971 (byte-compile-defvar, byte-compile-cl-warn):
3972 Start warnings with lower-case, like the majority.
3974 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3976 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3978 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3979 * files.el (auto-mode-alist): Move ld-script entries here, further down
3982 * vc/add-log.el: Don't require timezone when compiling.
3983 (timezone-make-date-sortable): Autoload it.
3984 (change-log-sortable-date-at): Don't require timezone.
3985 Use `ignore-errors'.
3987 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3988 Move alias before definition, so it does not need autoloading.
3990 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3991 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3992 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3993 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3994 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3995 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3996 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3997 * textmodes/tex-mode.el, textmodes/two-column.el:
3998 Remove leading `*' from docs of defcustoms etc.
4000 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4002 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4004 2010-09-22 Dan Christensen <jdc@uwo.ca>
4006 * calendar/time-date.el (date-to-time): Try using parse-time-string
4007 first before using the slower timezone-make-date-arpa-standard.
4009 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4011 * calendar/time-date.el (format-seconds): Comment fix.
4013 2010-09-22 Glenn Morris <rgm@gnu.org>
4015 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4016 is not automatically buffer-local.
4018 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4021 (smie-indent-comment): Be more careful with comment-start-skip.
4022 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4023 (smie-indent-functions): Use them.
4025 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4027 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4029 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4031 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4032 tool-bar-position. Don't modify frame parameters here.
4033 (menu-bar-options-save): Add tool-bar-position.
4035 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4037 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4039 * textmodes/reftex-parse.el (reftex-what-macro)
4040 (reftex-context-substring): Let-bind forward-sexp-function to nil
4041 since we don't need/want to treat \begin...\end as a block (bug#7053).
4043 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4045 * simple.el (blink-matching-open): Use syntax-class.
4047 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4048 Set invisibility spec for pascal's outline mode.
4049 (pascal-outline-change): Clean up calling convention.
4050 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4052 * progmodes/prolog.el (prolog-smie-forward-token)
4053 (prolog-smie-backward-token): New functions.
4054 (prolog-mode-variables): Use them to parse "!," correctly.
4055 Set up smie-blink-matching for ".".
4057 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4059 (ispell-region, ispell-process-line): Update users.
4061 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4064 * textmodes/ispell.el: Fix commenting convention.
4065 (ispell-parse-output): Simplify, use push.
4066 (ispell-region): Use match-string-no-properties.
4067 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4068 (ispell-minor-mode): Use define-minor-mode.
4069 (ispell-message): Remove unused var `skip-regexp'.
4070 (ispell-add-per-file-word-list): Use dynamic let-binding.
4071 Try and use the proper comment marker.
4073 * mail/sendmail.el: Fix commenting convention.
4074 (sendmail-send-it): Use line-beginning-position.
4076 * help-fns.el (describe-variable): Add original value, if applicable.
4078 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4080 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4082 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4084 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4087 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4088 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4089 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4090 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4091 something like "." can also be a closer.
4092 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4093 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4094 Rename internal functions to use "--". Update callers.
4096 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4098 * fringe.el (fringe-styles): New var.
4099 (fringe-mode, fringe-query-style): Use it.
4101 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4103 * progmodes/sql.el: Version 2.8
4104 (sql-login-params): Update widget structure; changes still needed.
4105 (sql-product-alist): Add :list-all and :list-table features for
4106 SQLite, Postgres and MySQL products.
4107 (sql-redirect): Handle default value.
4108 (sql-execute, sql-execute-feature): New functions.
4109 (sql-read-table-name): New function.
4110 (sql-list-all, sql-list-table): New functions. User API.
4111 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4112 for above functions.
4113 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4114 for above functions.
4115 (sql-postgres-login-params): Add user and database defaults.
4116 (sql-buffer-live-p): Bug fix.
4117 (sql-product-history): New variable.
4118 (sql-read-product): New function. Use it.
4119 (sql-set-product, sql-product-interactive): Use it.
4120 (sql-connection-history): New variable.
4121 (sql-read-connection): New function. Use it.
4122 (sql-connect): New function.
4123 (sql-for-each-login): Redesign function interface.
4124 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4125 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4126 (sql-comint): Check for program. Existing live buffer.
4127 (sql-comint-postgres): Add port parameter.
4129 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/warnings.el: Fix commenting convention.
4132 (display-warning): Use special mode and make the buffer read-only.
4134 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4136 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4137 empty string when it follows a repeated or optional pattern.
4139 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4142 (indent-region): Use indent-according-to-mode.
4144 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4146 * fringe.el (fringe-mode): Doc fix.
4148 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4150 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4151 refreshing the preview buffer.
4153 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4156 (latex-syntax-propertize-rules): New consts; replace
4157 tex-font-lock-syntactic-keywords.
4158 (tex-env-mark, latex-env-before-change): New functions.
4159 (latex-electric-env-pair-mode): New minor mode.
4160 (tex-font-lock-verb): Change arguments; do move point.
4161 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4162 representation as a form of comment.
4163 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4164 (doctex-syntax-propertize-rules): New const; replaces
4165 doctex-font-lock-syntactic-keywords.
4166 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4168 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4169 (fortran-make-syntax-propertize-function): New function; replaces
4170 fortran-font-lock-syntactic-keywords.
4171 (fortran-mode): Use it.
4172 (fortran-line-length): Use it. Improve interactive spec.
4174 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4175 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4176 when adding surrounding \(..\).
4178 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4180 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4183 Use with-current-buffer.
4185 * isearch.el (isearch-face): Rename from `isearch'.
4186 (isearch-highlight): Use new name.
4188 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4190 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4191 5, for `half' width fringes. (Bug#6933)
4193 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4196 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4198 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4200 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4202 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4203 in calculating new frame position. Add more space between new and
4204 parent on the left (Bug#7048).
4206 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4208 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4211 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4213 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4215 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4216 obsolete alias for x-selection-value.
4218 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4220 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4222 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4225 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4227 * net/tramp-compat.el (tramp-compat-with-temp-message)
4228 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4229 (tramp-compat-process-put): New defuns.
4231 * net/tramp.el (top):
4232 * net/tramp-gvfs.el (top):
4233 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4235 * net/tramp.el (tramp-progress-reporter-update):
4236 Use `tramp-compat-funcall'.
4238 * net/tramp.el (tramp-process-actions):
4239 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4240 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4241 (tramp-get-remote-stat, tramp-get-remote-readlink):
4242 Use `tramp-compat-with-temp-message'.
4244 * net/tramp-sh.el (top): Require 'cl.
4245 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4246 (tramp-open-connection-setup-interactive-shell):
4247 Use `tramp-compat-process-put'.
4249 2010-09-15 Alan Mackenzie <acm@muc.de>
4251 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4253 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4255 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4258 `lexical' for warnings related to lexical scoping.
4259 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4260 global vars which don't have a prefix and could hence affect lexical
4261 scoping in unrelated files.
4263 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265 * net/imap.el: Revert back to version
4266 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4269 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4271 * obsolete/old-whitespace.el (whitespace-unload-function):
4272 Explicitly pass `obarray' to `unintern' to avoid a warning.
4274 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4277 Add `when' argument. Update callers.
4279 * subr.el (unintern): Declare the obarray arg mandatory.
4281 2010-09-14 Glenn Morris <rgm@gnu.org>
4283 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4286 * calendar/diary-lib.el (diary-included-files): New variable.
4287 (diary-list-entries): Maybe initialize diary-included-files.
4288 (diary-include-other-diary-files): Append to diary-included-files.
4289 * calendar/appt.el (appt-update-list): Also check the members of
4290 diary-included-files. (Bug#6999)
4291 (appt-check): Doc fix.
4293 2010-09-14 David Reitter <david.reitter@gmail.com>
4295 * simple.el (line-move-visual): Do not truncate goal column to
4296 integer size. (Bug#7020)
4298 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4300 * repeat.el (repeat): Allow repeating when the last event is a click.
4301 Suggested by Drew Adams (bug#6256).
4303 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4305 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4306 Replace setting HGRCPATH to "" by some less invasive --config options.
4308 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * font-lock.el (font-lock-beginning-of-syntax-function):
4313 2010-09-14 Glenn Morris <rgm@gnu.org>
4315 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4316 and tool-bar modes. (Bug#6211)
4317 (menu-bar-mode): Move setting of standard-value after the
4318 minor-mode definition, otherwise it seems to have no effect.
4320 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4322 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4323 Fix typo. (Bug#6976)
4325 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4327 * whitespace.el: Allow cleaning up blanks without blank
4328 visualization (Bug#6651). Adjust help window for
4329 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4330 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4331 (whitespace-style): Add new value 'face. Adjust docstring.
4332 (whitespace-space, whitespace-hspace, whitespace-tab):
4333 Adjust foreground property face.
4334 (whitespace-line-column): Adjust docstring and type declaration.
4335 (whitespace-style-value-list, whitespace-toggle-option-alist)
4336 (whitespace-help-text): Adjust const initialization.
4337 (whitespace-toggle-options, global-whitespace-toggle-options):
4339 (whitespace-display-window, whitespace-interactive-char)
4340 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4341 (whitespace-help-scroll): New fun.
4343 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4345 * calendar/time-date.el (format-seconds): Comment fix.
4347 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4349 * progmodes/sql.el: Version 2.7.
4350 (sql-buffer-live-p): Improve detection.
4351 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4352 (sql-set-sqli-buffer): Use it.
4353 (sql-product-interactive): Run `sql-set-sqli-hook'.
4354 (sql-rename-buffer): Code cleanup.
4355 (sql-redirect, sql-redirect-value): New functions. More to come.
4357 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4359 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.
4360 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4361 (TRAMP_SRC): New macro.
4362 ($(lisp)/net/tramp-loaddefs.el): New target.
4364 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4366 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4368 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4370 * net/tramp.el (top): Don't show loading message. Require just
4371 'tramp-compat, everything else is required there.
4372 Use `ignore-errors' where appropriate.
4373 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4374 (tramp-terminal-type, tramp-end-of-output)
4375 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4376 (tramp-completion-function-alist-ssh)
4377 (tramp-completion-function-alist-telnet)
4378 (tramp-completion-function-alist-su)
4379 (tramp-completion-function-alist-putty, tramp-remote-path)
4380 (tramp-remote-process-environment, tramp-sh-extra-args)
4381 (tramp-actions-before-shell, tramp-uudecode)
4382 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4383 (tramp-perl-file-attributes)
4384 (tramp-perl-directory-files-and-attributes)
4385 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4386 (tramp-perl-encode, tramp-perl-decode)
4387 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4388 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4389 (tramp-handle-make-symbolic-link, tramp-handle-load)
4390 (tramp-handle-file-name-as-directory)
4391 (tramp-handle-file-name-directory)
4392 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4393 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4394 (tramp-do-file-attributes-with-ls)
4395 (tramp-do-file-attributes-with-perl)
4396 (tramp-do-file-attributes-with-stat)
4397 (tramp-handle-set-visited-file-modtime)
4398 (tramp-handle-verify-visited-file-modtime)
4399 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4400 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4401 (tramp-handle-file-selinux-context)
4402 (tramp-handle-set-file-selinux-context)
4403 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4404 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4405 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4406 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4407 (tramp-handle-file-ownership-preserved-p)
4408 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4409 (tramp-handle-directory-files-and-attributes)
4410 (tramp-do-directory-files-and-attributes-with-perl)
4411 (tramp-do-directory-files-and-attributes-with-stat)
4412 (tramp-handle-file-name-all-completions)
4413 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4414 (tramp-handle-copy-file, tramp-handle-copy-directory)
4415 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4416 (tramp-do-copy-or-rename-file-via-buffer)
4417 (tramp-do-copy-or-rename-file-directly)
4418 (tramp-do-copy-or-rename-file-out-of-band)
4419 (tramp-handle-make-directory, tramp-handle-delete-directory)
4420 (tramp-handle-delete-file)
4421 (tramp-handle-dired-recursive-delete-directory)
4422 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4423 (tramp-handle-insert-directory)
4424 (tramp-handle-unhandled-file-name-directory)
4425 (tramp-handle-expand-file-name)
4426 (tramp-handle-substitute-in-file-name)
4427 (tramp-handle-executable-find, tramp-process-sentinel)
4428 (tramp-handle-start-file-process, tramp-handle-process-file)
4429 (tramp-handle-call-process-region, tramp-handle-shell-command)
4430 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4431 (tramp-handle-insert-file-contents)
4432 (tramp-handle-insert-file-contents-literally)
4433 (tramp-handle-find-backup-file-name)
4434 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4435 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4436 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4437 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4438 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4439 (tramp-find-file-exists-command, tramp-open-shell)
4440 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4441 (tramp-open-connection-setup-interactive-shell)
4442 (tramp-local-coding-commands, tramp-remote-coding-commands)
4443 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4444 (tramp-inline-compress-commands, tramp-find-inline-compress)
4445 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4446 (tramp-send-command, tramp-wait-for-output)
4447 (tramp-send-command-and-check, tramp-barf-unless-okay)
4448 (tramp-send-command-and-read, tramp-mode-string-to-int)
4449 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4450 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4451 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4452 (tramp-method-out-of-band-p, tramp-local-host-p)
4453 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4454 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4455 (tramp-get-test-command, tramp-get-test-nt-command)
4456 (tramp-get-file-exists-command, tramp-get-remote-ln)
4457 (tramp-get-remote-perl, tramp-get-remote-stat)
4458 (tramp-get-remote-readlink, tramp-get-remote-trash)
4459 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4460 (tramp-get-local-uid, tramp-get-local-gid)
4461 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4463 (tramp-methods, tramp-default-method-alist)
4464 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4465 Move initialization to tramp-sh.el.
4466 (tramp-temp-name-prefix): Make it a defconst.
4467 (tramp-dissect-file-name): Don't check anymore for multi-hop
4469 (tramp-debug-outline-regexp): Add a docstring.
4470 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4471 (tramp-get-debug-buffer): Use it.
4473 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4474 initialization forms.
4475 (tramp-set-connection-property): Don't protect `tramp-message'
4476 call, it isn't necessary any longer.
4477 (tramp-dump-connection-properties): Use `ignore-errors'.
4479 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4480 'password-cache and 'auth-source.
4482 * net/tramp-gvfs.el (top):
4483 * net/tramp-smb.el (top): Require 'tramp-sh.
4485 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4487 * net/tramp-sh.el: New file, derived from tramp.el.
4488 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4489 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4490 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4491 Use `ignore-errors' where appropriate.
4492 (tramp-sh-file-name-handler-alist): Rename from
4493 `tramp-file-name-handler-alist'.
4494 (tramp-send-command-and-check): Return t or nil. Remove all
4495 `zerop' checks, where called.
4496 (tramp-handle-set-file-modes)
4497 (tramp-do-copy-or-rename-file-directly)
4498 (tramp-handle-delete-directory, tramp-handle-delete-file)
4499 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4500 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4501 (tramp-get-remote-ln): Set tramp-autoload cookie.
4503 * net/tramp-fish.el: Remove file.
4505 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4507 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4508 buffer-file-name to avoid file-locking. (Bug#7026)
4510 2010-09-13 Julien Danjou <julien@danjou.info>
4512 * notifications.el (notifications-notify): Add support for
4513 image-path and sound-name.
4514 (notifications-specification-version): Add this variable.
4516 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4518 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4520 2010-09-12 Leo <sdl.web@gmail.com>
4522 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4523 (rcirc-completion-start): New variables.
4524 (rcirc-nick-completions): Rename to rcirc-completions.
4525 (rcirc-nick-completion-start-offset): Delete.
4526 (rcirc-completion-at-point): New function for constructing
4527 completion data for both nicks and irc commands. Add to
4528 completion-at-point-functions in rcirc mode.
4529 (rcirc-complete): Rename from rcirc-nick-complete; use
4530 rcirc-completion-at-point.
4531 (defun-rcirc-command): Update rcirc-client-commands.
4533 2010-09-11 Glenn Morris <rgm@gnu.org>
4535 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4536 atomically, to avoid parallel build errors. (Bug#4196)
4538 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4540 * progmodes/sql.el: Version 2.6
4541 (sql-dialect): Synonym for "sql-product".
4542 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4543 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4544 Set "sql-buffer" to buffer name not buffer object so multiple sql
4545 interactive buffers work properly. Reverts misguided changes in
4547 (sql-comint): Make sure different buffer name is used if "*SQL*"
4548 buffer is for a different product.
4549 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4551 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4552 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4553 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4554 Accept new buffer name or prompt for one.
4555 (sql-port): Default to zero.
4556 (sql-comint-mysql): Handle "sql-port" as a numeric.
4557 (sql-port-history): Delete unused variable.
4558 (sql-get-login): Default "sql-port" to a number.
4559 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4560 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4561 "sqlite3" executables.
4562 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4563 (sql-buffer-live-p): New function.
4564 (sql-mode-menu, sql-send-string): Use it.
4565 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4567 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4568 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4570 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4572 * net/netrc.el (netrc-credentials): New convenience function.
4574 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4577 to replace texinfo-font-lock-syntactic-keywords.
4578 (texinfo-mode): Use it.
4580 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4581 Use syntax-propertize-function.
4583 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4584 replace sgml-font-lock-syntactic-keywords.
4585 (sgml-mode): Use it.
4587 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4588 since we don't use it.
4590 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4592 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4594 (vhdl-fontify-buffer): Adjust.
4596 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4597 replace tcl-font-lock-syntactic-keywords.
4600 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4601 replace simula-font-lock-syntactic-keywords.
4602 (simula-mode): Use it.
4604 * progmodes/sh-script.el (sh-st-symbol): Remove.
4605 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4606 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4607 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4608 (sh-font-lock-paren): Set syntax-multiline.
4609 (sh-font-lock-syntactic-keywords): Remove.
4610 (sh-syntax-propertize-function): New function to replace it.
4613 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4614 Define while compiling.
4615 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4616 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4617 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4618 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4619 (ruby-here-doc-end-syntax): Only define when
4620 syntax-propertize is not available.
4621 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4623 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4624 (electric-indent-chars): Silence bytecompiler.
4625 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4626 electric-indent-chars.
4628 * progmodes/python.el (python-syntax-propertize-function): New var to
4629 replace python-font-lock-syntactic-keywords.
4630 (python-mode): Use it.
4631 (python-quote-syntax): Simplify and adjust to new use.
4633 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4634 replace perl-font-lock-syntactic-keywords.
4635 (perl-syntax-propertize-special-constructs): New fun to replace
4636 perl-font-lock-special-syntactic-constructs.
4637 (perl-font-lock-syntactic-face-function): New fun.
4638 (perl-mode): Use it.
4640 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4641 to replace octave-font-lock-close-quotes.
4642 (octave-syntax-propertize-function): New function to replace
4643 octave-font-lock-syntactic-keywords.
4644 (octave-mode): Use it.
4646 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4647 replaces mixal-font-lock-syntactic-keywords.
4648 (mixal-mode): Use it.
4650 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4651 New var; replaces makefile-font-lock-syntactic-keywords.
4652 (makefile-mode): Use it.
4653 (makefile-imake-mode): Adjust.
4655 * progmodes/js.el (js--regexp-literal): Define while compiling.
4656 (js-syntax-propertize-function): New var; replaces
4657 js-font-lock-syntactic-keywords.
4660 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4661 replaces gdb-script-font-lock-syntactic-keywords.
4662 (gdb-script-mode): Use it.
4664 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4665 (fortran--font-lock-syntactic-keywords): New var.
4666 (fortran-line-length): Update syntax-propertize-function and
4667 fortran--font-lock-syntactic-keywords.
4669 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4671 * progmodes/cfengine.el (cfengine-mode):
4672 Use syntax-propertize-function.
4673 (cfengine-font-lock-syntactic-keywords): Remove.
4675 * progmodes/autoconf.el (autoconf-mode):
4676 Use syntax-propertize-function.
4677 (autoconf-font-lock-syntactic-keywords): Remove.
4679 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4680 (ada-after-change-function, ada-initialize-syntax-table-properties)
4681 (ada-handle-syntax-table-properties): Only define when
4682 syntax-propertize is not available.
4683 (ada-mode): Use syntax-propertize-function.
4685 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4686 (font-lock-fontify-syntactic-keywords-region): Move handling of
4687 font-lock-syntactically-fontified to...
4688 (font-lock-default-fontify-region): ...here.
4689 Let syntax-propertize-function take precedence.
4690 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4692 * emacs-lisp/syntax.el (syntax-propertize-function)
4693 (syntax-propertize-chunk-size, syntax-propertize--done)
4694 (syntax-propertize-extend-region-functions): New vars.
4695 (syntax-propertize-wholelines, syntax-propertize-multiline)
4696 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4697 (syntax-propertize): New functions.
4698 (syntax-propertize-rules): New macro.
4699 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4700 (syntax-ppss): Call syntax-propertize.
4702 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4704 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4706 * textmodes/ispell.el (ispell-init-process): Improve comments.
4707 XEmacs compatibility changes regarding (add-hook) 'local option
4708 and (set-process-query-on-exit-flag).
4710 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4712 * net/tramp-cache.el (tramp-parse-connection-properties):
4713 Set tramp-autoload cookie.
4715 2010-09-09 Glenn Morris <rgm@gnu.org>
4717 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4718 (imagemagick-register-types): Doc fix.
4720 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4722 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4724 * progmodes/js.el (require): Require is already "eval-and-compile".
4725 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4726 (js--re-search-backward): Use js--re-search-forward.
4728 * progmodes/fortran.el (fortran-line-length): Don't recompute
4729 syntactic keywords redundantly a second time.
4731 * progmodes/ada-mode.el: Replace "(set '" with setq.
4732 (ada-mode): Simplify.
4733 (ada-create-case-exception, ada-adjust-case-interactive)
4734 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4735 (ada-search-ignore-string-comment, ada-move-to-start)
4736 (ada-move-to-end): Use with-syntax-table.
4738 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4739 (font-lock-unfontify-region, font-lock-default-fontify-region):
4740 Update usage correspondingly.
4741 (font-lock-fontify-syntactic-keywords-region):
4742 Set parse-sexp-lookup-properties buffer-locally here.
4743 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4745 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4747 2010-09-08 Glenn Morris <rgm@gnu.org>
4749 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4750 Error if not compiled with -DBYTE_CODE_METER.
4752 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4753 Ignore dir-locals-file.
4755 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4759 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4760 for the `gnu' messages.
4761 (compilation-set-skip-threshold): New command.
4762 (compilation-start): Use \' rather than $.
4763 (compilation-forget-errors): Use clrhash.
4765 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4767 * textmodes/ispell.el (ispell-valid-dictionary-list):
4770 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4772 Migrate to Tramp 2.2. Rearrange load dependencies.
4773 (Bug#1529, Bug#5448, Bug#5705)
4775 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4776 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4777 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4779 * net/tramp.el (top): Remove all other tramp-* loads except
4780 tramp-compat.el. Remove all changes to tramp-unload-hook for
4781 other tramp-* packages. Rearrange defun order. Change calls of
4782 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4783 `tramp-compat-octal-to-decimal' to new function names.
4784 (tramp-terminal-type, tramp-initial-end-of-output)
4785 (tramp-methods, tramp-foreign-file-name-handler-alist)
4786 (tramp-tramp-file-p, tramp-completion-mode-p)
4787 (tramp-send-command-and-check, tramp-get-remote-path)
4788 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4789 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4790 (with-file-property, with-connection-property): Move to
4792 (tramp-local-call-process, tramp-decimal-to-octal)
4793 (tramp-octal-to-decimal): Move to tramp-compat.el.
4794 (tramp-handle-shell-command): Do not require 'shell.
4795 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4797 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4799 * net/tramp-cache.el (top): Require 'tramp. Add to
4800 `tramp-unload-hook'.
4801 (tramp-cache-data, tramp-get-file-property)
4802 (tramp-set-file-property, tramp-flush-file-property)
4803 (tramp-flush-directory-property, tramp-get-connection-property)
4804 (tramp-set-connection-property, tramp-flush-connection-property)
4805 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4807 (with-file-property, with-connection-property): New defuns, moved
4809 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4812 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4813 (tramp-version): Set tramp-autoload cookie.
4815 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4816 changes to tramp-unload-hook for other tramp-* packages. Add to
4817 `tramp-unload-hook'.
4818 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4819 (tramp-compat-call-process): New defuns, moved from tramp.el.
4821 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4822 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4823 Add to `tramp-unload-hook'. Change call of
4824 `tramp-compat-decimal-to-octal' to new function name.
4825 (tramp-fish-method): Make it a defconst.
4826 (tramp-fish-file-name-p): Make it a defsubst.
4827 (tramp-fish-method, tramp-fish-file-name-handler)
4828 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4830 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4831 `tramp-foreign-file-name-handler-alist'. Add to
4832 `tramp-unload-hook'.
4833 (tramp-ftp-method): Make it a defconst.
4834 (tramp-ftp-file-name-p): Make it a defsubst.
4835 (tramp-ftp-method, tramp-ftp-file-name-handler)
4836 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4838 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4839 `tramp-foreign-file-name-handler-alist'. Add to
4840 `tramp-unload-hook'. Change checks, whether package can be
4842 (tramp-gvfs-file-name-p): Make it a defsubst.
4843 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4844 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4845 (tramp-gvfs-handle-file-directory-p): New defun.
4846 (tramp-gvfs-file-name-handler-alist): Use it.
4848 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4849 `tramp-foreign-file-name-handler-alist'. Add to
4850 `tramp-unload-hook'.
4851 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4852 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4854 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4855 (tramp-gw-open-connection): Set tramp-autoload cookie.
4857 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4858 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4859 Add to `tramp-unload-hook'. Change checks, whether package can be
4861 (tramp-imap-file-name-p): Make it a defsubst.
4862 (tramp-imap-method, tramp-imaps-method)
4863 (tramp-imap-file-name-handler)
4864 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4866 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4867 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4868 Add to `tramp-unload-hook'. Change checks, whether package can be
4869 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4871 (tramp-smb-tunnel-method): Make it a defconst.
4872 (tramp-smb-file-name-p): Make it a defsubst.
4873 (tramp-smb-method, tramp-smb-file-name-handler)
4874 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4876 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4877 (tramp-uuencode-region): Set tramp-autoload cookie.
4879 * net/trampver.el (top) Add to `tramp-unload-hook'.
4880 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4881 cookie. Update release number.
4883 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4885 * textmodes/ispell.el (ispell-start-process): Make sure original
4886 arg list is properly initialized (Bug#6993, Bug#6994).
4888 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4890 * files.el (directory-abbrev-alist): Use \` as default regexp.
4892 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4893 chars like - or ] (bug#6984).
4894 (rx-any-condense-range): Explode 2-char ranges.
4896 2010-09-06 Glenn Morris <rgm@gnu.org>
4898 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4900 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4902 * textmodes/bibtex.el:
4903 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4905 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4907 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4908 since no callers use it.
4909 (imap-message-get): Ditto.
4910 (imap-message-put): Ditto.
4911 (imap-mailbox-map): Ditto.
4912 (imap-mailbox-put): Ditto.
4913 (imap-mailbox-get): Ditto.
4914 (imap-mailbox-get): Revert last change for this function.
4916 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4919 callers to use `imap-fetch' instead. According to the comments, this
4920 should be safe, since all other IMAP clients use the 1:* syntax.
4921 (imap-enable-exchange-bug-workaround): Remove.
4922 (imap-debug): Remove -- doesn't seem very useful.
4924 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4926 * net/imap.el (imap-log): New convenience function used throughout
4927 instead of repeating the same code all over the place.
4929 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4931 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4932 when mouse-drag-copy-region is non-nil (Bug#6956).
4934 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4936 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4937 Improve regexps (Bug#6987).
4938 (dired-sort-toggle): Search more robustly for -t flag.
4940 * files.el (get-free-disk-space): Search more robustly for
4941 "available" column. Suggested by Ehud Karni
4942 <ehud@unix.mvs.co.il>.
4944 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4946 * international/uni-bidi.el:
4947 * international/uni-category.el:
4948 * international/uni-combining.el:
4949 * international/uni-decimal.el:
4950 * international/uni-mirrored.el:
4951 * international/uni-name.el: Regenerate.
4953 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * electric.el (electric-indent-post-self-insert-function):
4956 Don't reindent with a sloppy indentation function.
4958 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4959 border case in change-log-mode.
4961 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4964 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4965 Recognize leading tab in gcc-include regexp. Ignore names with
4966 leading "from" or "in" in gnu regexp (Bug#6937).
4968 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4970 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4971 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4972 (ispell-start-process): Avoid setq and simplify logic.
4973 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4974 (kill-buffer-hook): Don't use it globally with code that uses
4975 expand-file-name since that may call kill-buffer via
4976 code_conversion_restore.
4978 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4980 * emacs-lisp/package.el (package-directory-list): Only call
4981 file-name-nondirectory on a string.
4983 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4985 * emacs-lisp/package.el (package--download-one-archive):
4986 Ensure that archive-contents is valid before saving it.
4987 (package-activate-1, package-mark-obsolete, define-package)
4988 (package-compute-transaction, package-list-maybe-add): Use push.
4990 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4992 Use SMIE's blink-paren for octave-mode.
4993 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4994 Backslashes do not escape single-quotes, single-quotes do.
4995 (octave-block-else-regexp, octave-block-end-regexp)
4996 (octave-block-match-alist): Remove.
4997 (octave-smie-bnf-table): New var, with old content.
4998 (octave-smie-op-levels): Use it.
4999 (octave-smie-closer-alist): New var.
5000 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5001 (octave-blink-matching-block-open): Remove.
5002 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5003 (octave-electric-space): Let self-insert-command run expand-abbrev and
5006 * electric.el (electricity): New group.
5007 (electric-indent-chars): New var.
5008 (electric-indent-post-self-insert-function): New fun.
5009 (electric-indent-mode): New minor mode.
5010 (electric-pair-skip-self): New custom.
5011 (electric-pair-post-self-insert-function): New function.
5012 (electric-pair-mode): New minor mode.
5014 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5015 calcAlg-blink-matching-open.
5016 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5017 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5018 Use the new blink-matching-check-function.
5020 Provide blink-matching support to SMIE.
5021 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5022 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5023 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5025 * simple.el (newline): Fix last change to properly remove itself from
5028 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * simple.el (newline): Eliminate optimization.
5031 Use post-self-insert-hook to set hard-newline and things before
5032 running post-self-insert-hook.
5033 (blink-matching-check-mismatch): New function.
5034 (blink-matching-check-function): New variable.
5035 (blink-matching-open): Use them.
5036 Skip back forward over prefix chars skipped by forward-sexp.
5037 Don't check if the parens are backslash escaped.
5038 (blink-paren-post-self-insert-function): Check backslash escaping here.
5040 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5042 * emacs-lisp/package.el (package-menu-mode-map):
5043 Change package-menu-revert bindings to revert-buffer.
5044 (package-menu-mode): Set revert-buffer-function.
5045 (package-menu-revert): Doc fix.
5047 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5049 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5050 `default-directory' unless using Ispell per-directory personal
5051 dictionaries and not in a mini-buffer under XEmacs.
5052 (kill-buffer-hook): Do not kill ispell process on exit when
5053 `ispell-process-directory' is "~/". (Bug#6143)
5055 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5057 * simple.el (kill-new): Call interprogram-cut-function with only
5060 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5061 Remove cut buffer from error message.
5063 * term/x-win.el (x-select-text):
5064 * term/pc-win.el (x-selection-value):
5065 * term/ns-win.el (x-selection-value):
5066 * eshell/em-term.el:
5067 * w32-fns.el (x-get-selection-value):
5068 * mouse-sel.el (mouse-sel-set-selection-function):
5069 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5071 * term/x-win.el: Update documentation for x-last-selected-text-*.
5072 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5073 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5074 (x-select-text): Remove argument PUSH, update documentation.
5075 Remove cut-buffer code.
5076 (x-selection-value-internal): Was previously x-selection-value.
5077 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5078 Update documentation, remove cut-buffer code.
5079 Call x-selection-value-internal.
5080 (x-clipboard-yank): Call x-selection-value-internal.
5081 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5083 * term/pc-win.el (x-last-selected-text):
5084 x-cut-buffer-or-selection-value renamed to x-selection-value
5085 (x-select-text): Remove argument PUSH, update documentation.
5087 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5088 x-cut-buffer-or-selection-value renamed to x-selection-value
5089 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5090 (x-select-text): Remove argument PUSH, update documentation.
5092 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5094 * w32-fns.el (x-last-selected-text):
5095 x-cut-buffer-or-selection-value renamed to x-selection-value.
5096 (x-cut-buffer-max): Remove.
5097 (x-select-text): Remove argument PUSH, update documentation.
5099 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5101 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5103 * mouse-sel.el (mouse-sel-get-selection-function):
5104 x-cut-buffer-or-selection-value renamed to x-selection-value.
5105 (x-select-text): Remove optional push.
5107 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * simple.el (blink-paren-function): Move from C to here.
5110 (blink-paren-post-self-insert-function): New function.
5111 (post-self-insert-hook): Use it.
5113 * emacs-lisp/pcase.el (pcase-split-memq):
5114 Fix overenthusiastic optimisation.
5115 (pcase-u1): Handle the case of a lambda pred.
5117 2010-08-31 Kenichi Handa <handa@m17n.org>
5119 * international/mule-cmds.el (standard-display-european-internal):
5120 Setup standard-display-table for 8-bit characters by storing 8-bit
5121 characters in the element vector.
5123 * disp-table.el (standard-display-8bit):
5124 Setup standard-display-table for 8-bit characters by storing 8-bit
5125 characters in the element vector.
5126 (standard-display-european): Likewise.
5128 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5130 * textmodes/nroff-mode.el (nroff-view): New command.
5131 (nroff-mode-map): Bind it to C-c C-c.
5133 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * emacs-lisp/smie.el (smie-down-list): New command.
5137 Remove old indentation and navigation code on octave-mode.
5138 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5139 smie-down-list rather than add a binding for octave-down-block.
5140 (octave-mark-block, octave-blink-matching-block-open):
5141 Rely on forward-sexp-function.
5142 (octave-fill-paragraph): Don't narrow, so you can use
5143 indent-according-to-mode.
5144 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5145 (octave-in-block-p, octave-re-search-forward-kw)
5146 (octave-re-search-backward-kw, octave-indent-calculate)
5147 (octave-end-as-array-index-p, octave-block-end-offset)
5148 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5149 (octave-down-block, octave-backward-up-block, octave-up-block)
5150 (octave-before-magic-comment-p, octave-indent-line): Remove.
5152 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5154 * emacs-lisp/package.el (package--read-archive-file): Just use
5155 `read', to avoid copying an additional string.
5156 (package-menu-mode): Set header-line-format here.
5157 (package-menu-refresh, package-menu-revert): Signal an error if
5158 not in the Package Menu.
5159 (package-menu-package-list): New var.
5160 (package--generate-package-list): Operate on the current buffer;
5161 don't assume that it is *Packages*, since the user may rename it.
5162 Allow persistent package listings and sort keys using
5163 package-menu-package-list and package-menu-package-sort-key.
5164 (package-menu--version-predicate): Fix version calculation.
5165 (package-menu-sort-by-column): Don't select the window.
5166 (package--list-packages): Create the *Packages* buffer.
5167 Set package-menu-package-list-key.
5168 (list-packages): Sorting by status is now the default.
5169 (package-buffer-info): Use match-string-no-properties.
5170 (define-package): Add a &rest argument for future proofing, but
5172 (package-install-from-buffer, package-install-buffer-internal):
5173 Merge into a single function, package-install-from-buffer.
5174 (package-install-file): Change caller.
5176 * finder.el: Load finder-inf using `require'.
5177 (finder-list-matches): Sorting by status is now the default.
5178 (finder-compile-keywords): Simpify printing.
5180 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5183 (octave-mode-map): Remove special bindings for forward/backward-block
5184 and octave-backward-up-block. Use smie-close-block.
5185 (octave-continuation-marker-regexp): New var.
5186 (octave-continuation-regexp): Use it.
5187 (octave-operator-table, octave-smie-op-levels)
5188 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5189 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5190 (octave-mode): Use SMIE.
5191 (octave-close-block): Delete.
5193 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5195 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5196 CLIPBOARD, not in PRIMARY. (Bug#6944)
5198 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5202 (smie-indent-column): Allow indirection through variables.
5204 * composite.el (save-buffer-state): Delete, unused.
5205 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5206 (font-lock-default-fontify-region): Use with-syntax-table.
5207 * jit-lock.el (with-buffer-unmodified): Remove.
5208 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5210 Use `declare' in defmacros.
5211 * window.el (save-selected-window):
5212 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5213 * progmodes/python.el (def-python-skeleton):
5214 * net/dbus.el (dbus-ignore-errors):
5215 * jka-cmpr-hook.el (with-auto-compression-mode):
5216 * international/mule.el (with-category-table):
5217 * emacs-lisp/timer.el (with-timeout):
5218 * emacs-lisp/lisp-mnt.el (lm-with-file):
5219 * emacs-lisp/eieio.el (with-slots):
5220 * emacs-lisp/easymenu.el (easy-menu-define):
5221 * emacs-lisp/debug.el (debugger-env-macro):
5222 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5223 (Multiple-value-call, Multiple-value-prog1):
5224 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5225 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5226 edebug rule to definition.
5227 * emacs-lisp/lisp-mode.el (save-selected-window)
5228 (with-current-buffer, combine-after-change-calls)
5229 (with-output-to-string, with-temp-file, with-temp-buffer)
5230 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5231 (dolist, dotimes, when, unless):
5232 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5234 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5236 * finder.el: Require `package'.
5237 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5238 (finder-package-info): Var deleted.
5239 (finder-keywords-hash, finder--builtins-alist): New vars.
5240 (finder-compile-keywords): Compute package--builtins and
5241 finder-keywords-hash instead of finder-keywords-hash, respecting
5242 the "Package" header.
5243 (finder-unknown-keywords, finder-list-matches):
5244 Use finder-keywords-hash and package--list-packages.
5245 (finder-mode): Don't set font-lock-defaults.
5246 (finder-exit): We don't use "*Finder-package*" and "*Finder
5247 Category*" buffers anymore.
5249 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5250 (package--builtins): Set default value to nil.
5251 (package-initialize): Load precomputed value of package--builtins
5253 (package-alist, package-compute-transaction)
5254 (package-download-transaction): Improve docstring.
5255 (package-read-all-archive-contents): Do not change
5256 package--builtins here.
5257 (list-packages): Make package-list-packages an alias for this.
5258 Sort by status by default.
5259 (package--list-packages): Add optional PACKAGES arg.
5260 (describe-package-1): Use font-lock-face property. For built-in
5261 packages, insert file commentary.
5262 (package--generate-package-list): Rename from
5263 package-list-packages-internal; all callers changed. Add optional
5264 PACKAGES arg. Add alphabetical sort fallbacks.
5265 (package-menu--version-predicate, package-menu--status-predicate)
5266 (package-menu--description-predicate)
5267 (package-menu--name-predicate): New functions.
5269 * info.el (Info-finder-find-node): Search package-alist instead of
5270 finder-package-info.
5272 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5274 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5276 (version-to-list): Handle versions like "10.3d".
5278 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5281 (macroexp-accumulate): Use `declare'.
5283 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5285 * whitespace.el (whitespace-style): Adjust type declaration.
5287 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5289 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5290 empty argument to gvfs-copy.
5292 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5294 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5295 handle new TRASH arg of `delete-file'.
5297 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5299 * net/tramp.el (tramp-handle-insert-directory): Don't use
5300 `forward-word', its default syntax could be changed.
5302 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5303 Michael Albinus <michael.albinus@gmx.de>
5305 Implement compression for inline methods.
5307 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5308 (tramp-copy-size-limit): Allow also nil.
5309 (tramp-inline-compress-commands): New defconst.
5310 (tramp-find-inline-compress, tramp-get-inline-compress)
5311 (tramp-get-inline-coding): New defuns.
5312 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5313 replaced by `tramp-get-inline-coding'.
5314 (tramp-handle-file-local-copy, tramp-handle-write-region)
5315 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5317 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5319 Detect ssh 'ControlMaster' argument automatically in some cases.
5321 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5322 (tramp-default-method): Use it.
5324 2010-08-26 Karel Klíč <kklic@redhat.com>
5326 * net/tramp.el (tramp-file-name-for-operation):
5327 Add file-selinux-context.
5329 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5331 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5333 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5335 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5338 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5340 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5341 (js-paren-indent-offset, js-square-indent-offset)
5342 (js-curly-indent-offset): New options.
5343 (js--proper-indentation): Use them.
5345 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5347 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5348 instead of inspecting font-lock properties (Bug#6916).
5350 2010-08-26 David Reitter <david.reitter@gmail.com>
5352 * server.el (server-visit-files): Run pre-command-hook and
5353 post-command-hook for each buffer while it is current (Bug#6910).
5354 (server-execute): Do not run hooks here.
5356 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5358 Sync with Tramp 2.1.19.
5360 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5361 (tramp-reporter-dump-variable, tramp-load-report-modules)
5362 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5363 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5365 * net/tramp-compat.el (top): Do not autoload
5366 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5367 only when `start-file-process' is not bound.
5368 (byte-compile-not-obsolete-vars): Define if not bound.
5369 (tramp-compat-funcall): New defmacro.
5370 (tramp-compat-line-beginning-position)
5371 (tramp-compat-line-end-position)
5372 (tramp-compat-temporary-file-directory)
5373 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5374 (tramp-compat-copy-file, tramp-compat-copy-directory)
5375 (tramp-compat-delete-file, tramp-compat-delete-directory)
5376 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5378 (tramp-advice-file-expand-wildcards): Do not use
5379 `tramp-handle-file-remote-p'.
5380 (tramp-compat-make-temp-file): Simplify fallback implementation.
5381 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5382 (tramp-compat-copy-tree): Remove function.
5383 (tramp-compat-delete-file): New defun.
5384 (tramp-compat-delete-directory): Provide implementation for older
5386 (tramp-compat-file-attributes): Handle only
5387 `wrong-number-of-arguments' error.
5389 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5390 Add PRESERVE_SELINUX_CONTEXT.
5391 (tramp-fish-handle-delete-file): Add TRASH arg.
5392 (tramp-fish-handle-directory-files-and-attributes):
5393 Do not use `tramp-fish-handle-file-attributes.
5394 (tramp-fish-handle-file-local-copy)
5395 (tramp-fish-handle-insert-file-contents)
5396 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5398 * net/tramp-gvfs.el (top): Require url-util.
5399 (tramp-gvfs-mount-point): Remove.
5400 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5401 and `set-file-selinux-context'.
5402 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5403 (tramp-gvfs-handle-file-selinux-context)
5404 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5405 (with-tramp-dbus-call-method): Format trace message.
5406 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5407 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5408 Implement backup call, when operation on local files fails.
5409 Use progress reporter. Flush properties of changed files.
5410 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5411 Use `tramp-compat-delete-file'.
5412 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5413 (tramp-gvfs-handle-make-directory): Make more traces.
5414 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5415 (tramp-gvfs-url-file-name): Hexify file name in url.
5416 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5417 into account for the resulting file name.
5418 (tramp-gvfs-handler-askquestion): Preserve current message, in
5419 order to let progress reporter continue afterwards. (Bug#6257)
5420 Return dummy mountpoint, when the answer is "no".
5421 See `tramp-gvfs-maybe-open-connection'.
5422 (tramp-gvfs-handler-mounted-unmounted)
5423 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5424 attribute "default_location". Set "prefix" property.
5425 Handle default-location.
5426 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5427 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5428 exists. Raise an error, if not (due to a corresponding answer
5429 "no" in interactive questions, for example).
5430 Use `tramp-compat-funcall'.
5432 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5433 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5434 (tramp-imap-do-copy-or-rename-file)
5435 (tramp-imap-handle-insert-file-contents)
5436 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5437 (tramp-imap-handle-delete-file): Add TRASH arg.
5439 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5440 Add PRESERVE-SELINUX-CONTEXT.
5441 (tramp-smb-handle-copy-file)
5442 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5443 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5444 Use `with-progress-reporter'.
5445 (tramp-smb-handle-delete-file): Add TRASH arg.
5447 * net/tramp.el (tramp-methods): Move hostname to the end in all
5448 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5450 (tramp-verbose): Describe verbose level 9.
5451 (tramp-completion-function-alist)
5452 (tramp-file-name-regexp, tramp-chunksize)
5453 (tramp-local-coding-commands, tramp-remote-coding-commands)
5454 (with-connection-property, tramp-completion-mode-p)
5455 (tramp-action-process-alive, tramp-action-out-of-band)
5456 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5457 (tramp-exists-file-name-handler): Fix docstring.
5458 (tramp-remote-process-environment): Use `format' instead of
5459 `concat'. Protect version string by apostroph.
5460 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5462 (tramp-file-name-regexp-unified)
5463 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5464 not regard the volume letter as remote filename. (Bug#5447)
5465 (tramp-perl-file-attributes)
5466 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5467 (tramp-vc-registered-read-file-names): Read input as
5468 here-document, otherwise the command could exceed maximum length
5470 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5471 `set-file-selinux-context'.
5472 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5473 backtrace functions.
5474 (tramp-error-with-buffer): Don't show the connection buffer when
5475 we are in completion mode.
5476 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5477 (tramp-handle-file-selinux-context)
5478 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5479 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5481 (with-progress-reporter): New defmacro.
5482 (tramp-debug-outline-regexp): New defconst.
5483 (top, tramp-rfn-eshadow-setup-minibuffer)
5484 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5485 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5486 (tramp-completion-mode-p, tramp-check-for-regexp)
5487 (tramp-open-connection-setup-interactive-shell)
5488 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5489 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5490 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5491 Use `tramp-compat-funcall'.
5492 (tramp-handle-make-symbolic-link): Flush file properties.
5493 (tramp-handle-load, tramp-handle-file-local-copy)
5494 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5495 (tramp-handle-vc-registered, tramp-maybe-send-script)
5496 (tramp-find-shell): Use `with-progress-reporter'.
5497 (tramp-do-file-attributes-with-stat): Add space in format string,
5498 in order to work around a bug in pdksh. Reported by Gilles Pion
5500 (tramp-handle-verify-visited-file-modtime): Do not send a command
5501 when the connection is not established.
5502 (tramp-handle-set-file-times): Simplify the check for utc.
5503 (tramp-handle-directory-files-and-attributes)
5504 (tramp-get-remote-path): Use `copy-tree'.
5505 (tramp-completion-handle-file-name-all-completions): Ensure, that
5506 non remote files are still checked. Oops.
5507 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5508 Handle PRESERVE-SELINUX-CONTEXT.
5509 (tramp-do-copy-or-rename-file): Add progress reporter.
5510 (tramp-do-copy-or-rename-file-directly): Do not use
5511 `tramp-handle-file-remote-p'.
5512 (tramp-do-copy-or-rename-file-out-of-band):
5513 Use `tramp-compat-delete-directory'.
5514 (tramp-do-copy-or-rename-file-out-of-band)
5515 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5516 Use `format-spec-make'.
5517 (tramp-handle-delete-file): Add TRASH arg.
5518 (tramp-handle-dired-uncache): Flush directory cache, not only file
5520 (tramp-handle-expand-file-name)
5521 (tramp-completion-handle-file-name-all-completions)
5522 (tramp-completion-handle-file-name-completion):
5523 Use `tramp-connectable-p'.
5524 (tramp-handle-start-file-process): Set connection property "vec".
5525 Use it, in order to invalidate file caches. Check only for
5526 `remote-tty' process property.
5527 Implement tty setting. (Bug#4604, Bug#6360)
5528 (tramp-file-name-for-operation): Add `call-process-region' and
5529 `set-file-selinux-context'.
5530 (tramp-find-foreign-file-name-handler)
5531 (tramp-advice-make-auto-save-file-name)
5532 (tramp-set-auto-save-file-modes): Remove superfluous check for
5533 `stringp'. This is done inside `tramp-tramp-file-p'.
5534 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5535 operations when we are in completion mode. This gives the user
5536 the chance to correct the file name in the minibuffer.
5537 (tramp-completion-mode-p): Use `non-essential'.
5538 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5539 compatibility: Use `completion-ignore-case' if
5540 `read-file-name-completion-ignore-case' does not exist.
5541 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5542 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5544 (tramp-action-password): Hide password prompt before next run.
5545 (tramp-process-actions): Widen connection buffer for the trace.
5546 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5547 process property. Trace stty settings if `tramp-verbose' >= 9.
5548 Apply workaround for IRIX64 bug. Move argument of last
5549 `tramp-send-command' where it belongs to.
5550 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5551 front of `login-args'.
5552 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5553 on "/dev/null" instead of "/".
5554 (tramp-get-ls-command-with-dired): Make test for "--dired"
5556 (tramp-set-auto-save-file-modes): Adapt version check.
5557 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5558 (tramp-handle-process-file): Call the program in a subshell, in
5559 order to preserve working directory.
5560 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5561 `tramp-remote-sh' from `tramp-methods'.
5562 (tramp-get-ls-command): Make test for "--color=never" stronger.
5563 (tramp-check-for-regexp): Use (forward-line 1).
5565 * net/trampver.el: Update release number.
5567 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5569 * help.el (help-map): Bind `C-h P' to describe-package.
5571 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5573 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5574 when downloading archives.
5575 (describe-package-1): Add package commentary.
5576 (package-install-button-action): New function.
5577 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5578 (package-menu-view-commentary): Function removed.
5579 (package-list-packages-internal): Hide the `package' package too.
5581 2010-08-25 Kenichi Handa <handa@m17n.org>
5583 * language/misc-lang.el ("Arabic"): New language environment.
5584 Setup composition-function-table for Arabic characters.
5586 * international/fontset.el (setup-default-fontset): Fix typo for
5587 arabic OTF spec (fini->fina).
5589 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5591 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5594 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5596 * whitespace.el: Allow cleaning up blanks without blank
5597 visualization (Bug#6651). Adjust help window for
5598 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5599 instead of whitespace-line-column (from EmacsWiki). New version
5601 (whitespace-style): Add new value 'face. Adjust docstring.
5602 (whitespace-space, whitespace-hspace, whitespace-tab):
5603 Adjust foreground property face.
5604 (whitespace-line-column): Adjust docstring and type declaration.
5605 (whitespace-style-value-list, whitespace-toggle-option-alist)
5606 (whitespace-help-text): Adjust const initialization.
5607 (whitespace-toggle-options, global-whitespace-toggle-options):
5609 (whitespace-display-window, whitespace-interactive-char)
5610 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5611 (whitespace-help-scroll): New fun.
5613 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5615 * emacs-lisp/package.el (list-packages): Alias for
5616 package-list-packages.
5618 2010-08-24 Kevin Ryde <user42@zip.com.au>
5620 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5623 * progmodes/ruby-mode.el (ruby): Add defgroup.
5625 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5627 * progmodes/python.el: Add Ipython support (Bug#5390).
5628 (python-shell-prompt-alist)
5629 (python-shell-continuation-prompt-alist): New options.
5630 (python--set-prompt-regexp): New function.
5631 (inferior-python-mode, run-python, python-shell):
5632 Require ansi-color. Use python--set-prompt-regexp to set the comint
5633 prompt based on the Python interpreter.
5634 (python--prompt-regexp): New var.
5635 (python-check-comint-prompt)
5636 (python-comint-output-filter-function): Use it.
5637 (run-python): Use a pipe (Bug#5694).
5639 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5641 * progmodes/python.el (python-send-region): Send a different
5642 Python command if Ipython is in use.
5643 (python-check-version): Use a Python command to find the version.
5645 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5647 * mouse.el (mouse-yank-primary): Avoid setting primary when
5648 deactivating the mark (Bug#6872).
5650 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5652 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5653 with "else" (Bug#3991).
5655 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5657 * net/dbus.el: Accept UNIX domain sockets as bus address.
5658 (top): Don't initialize `dbus-registered-objects-table' anymore,
5659 this is done in dbusbind,c.
5660 (dbus-check-event): Adapt test for bus.
5661 (dbus-return-values-table, dbus-unregister-service)
5662 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5665 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5667 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5669 2010-08-22 Juri Linkov <juri@jurta.org>
5671 * simple.el (read-extended-command): New function with the logic
5672 for `completing-read' moved to Elisp from `execute-extended-command'.
5673 Use `function-called-at-point' in `minibuffer-default-add-function'
5674 to get a command name for M-n (bug#5364, bug#5214).
5676 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5678 * startup.el (command-line-1): Issue warning for ignored arguments
5679 --unibyte, etc (Bug#6886).
5681 2010-08-22 Leo <sdl.web@gmail.com>
5683 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5684 (ignore, bright, dim, keyword): Split list of nicknames before
5685 passing to rcirc-add-or-remove (Bug#6894).
5687 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5689 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5691 2010-08-22 Leo <sdl.web@gmail.com>
5693 Fix buffer-list rename&refresh after killing a buffer in ido.
5694 * ido.el: Revert Óscar's.
5695 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5696 Remember the buffers at head, rather than their name.
5697 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5699 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5700 Stefan Monnier <monnier@iro.umontreal.ca>
5702 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5703 extra backslash added to each line (bug#6890).
5705 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5709 2010-08-22 Glenn Morris <rgm@gnu.org>
5711 * menu-bar.el (menu-bar-games-menu): Add landmark.
5713 2010-08-22 Glenn Morris <rgm@gnu.org>
5715 * align.el (align-regexp): Make group and spacing arguments
5716 use the interactive defaults when non-interactive. (Bug#6698)
5718 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5719 expansion, so as not to need sendmail.
5720 (mail-text-start): Remove declaration.
5721 (rmail-retry-failure): Require sendmail.
5723 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5725 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5727 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5729 * progmodes/flymake.el (flymake-start-syntax-check-process):
5730 Use `start-file-process' in order to let it run also on remote hosts.
5732 2010-08-22 Kenichi Handa <handa@m17n.org>
5734 * files.el: Add `word-wrap' as safe local variable.
5736 2010-08-22 Glenn Morris <rgm@gnu.org>
5738 * woman.el (woman-translate): Case matters. (Bug#6849)
5740 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5742 * simple.el (kill-region): Doc fix (Bug#6787).
5744 2010-08-22 Glenn Morris <rgm@gnu.org>
5746 * calendar/diary-lib.el (diary-header-line-format):
5747 Fit it to the window, not the frame.
5749 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5751 * subr.el (ignore-errors): Add debug declaration.
5753 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5755 * whitespace.el (whitespace-color-off): Remove post-command-hook
5758 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5762 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5764 * cus-edit.el (custom-group-value-create): Add extra newline
5765 before end line (Bug#6876).
5767 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5769 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5770 when extending it. Before killing on the second click, check if
5771 the buffer is the correct one. Doc fix.
5772 (mouse-secondary-save-then-kill): Allow usage without first
5773 calling mouse-start-secondary, by defaulting to point. Don't save
5774 an empty secondary selection. Doc fix.
5776 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5778 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5779 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5781 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5782 Adjust initialization.
5783 (whitespace-bob-marker, whitespace-eob-marker)
5784 (whitespace-buffer-changed): New vars.
5785 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5786 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5787 (whitespace-post-command-hook, whitespace-display-char-on):
5789 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5790 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5792 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * files.el (locate-file-completion-table): Only list the .el and .elc
5795 extensions if there's no other choice (bug#5955).
5797 * facemenu.el (facemenu-self-insert-data): New var.
5798 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5800 (facemenu-add-face): Use them.
5802 * simple.el (blink-matching-open): Obey forward-sexp-function.
5804 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5806 * simple.el (prog-mode-map): New var.
5807 (prog-indent-sexp): New command.
5809 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5811 * progmodes/prolog.el (smie): Require.
5813 * emacs-lisp/smie.el (smie-default-backward-token)
5814 (smie-default-forward-token): Strip properties.
5815 (smie-next-sexp): Be more careful with associative operators.
5816 (smie-forward-sexp-command): Generalize.
5817 (smie-backward-sexp-command): Simplify.
5818 (smie-closer-alist): New var.
5819 (smie-close-block): New command.
5820 (smie-indent-debug-log): New var.
5821 (smie-indent-offset-rule): Add a few more cases.
5822 (smie-indent-column): New function.
5823 (smie-indent-after-keyword): Use it.
5824 (smie-indent-keyword): Use it.
5825 Fix up the opener code's point position.
5826 (smie-indent-comment): Only applies at BOL.
5827 (smie-indent-debug): New command.
5829 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5830 declarations that are useful before running the macro.
5832 2010-08-18 Joakim Verona <joakim@verona.se>
5834 * image.el (imagemagick-types-inhibit): New variable.
5835 (imagemagick-register-types): New function.
5836 * image-mode.el (image-transform-properties): New function.
5837 (image-transform-set-scale, image-transform-fit-to-height)
5838 (image-transform-set-rotation, image-transform-set-resize)
5839 (image-transform-fit-to-width, image-transform-fit-to-height):
5841 (image-toggle-display-image): Support image transforms.
5843 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5845 * image.el (create-animated-image): Don't add heuristic mask to image
5848 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5850 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5851 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5853 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5857 Font-lock '...' strings, plus various simplifications and fixes.
5858 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5859 (octave-font-lock-close-quotes): New function.
5860 (octave-font-lock-syntactic-keywords): New var.
5861 (octave-mode): Use it. Set beginning-of-defun-function.
5862 (octave-mode-map): Don't override the <foo>-defun commands.
5863 (octave-mode-menu): Pass it directly to easy-menu-define;
5864 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5865 (octave-block-match-alist): Fix up last change so that
5866 octave-close-block uses the more specific keyword.
5867 (info-lookup-mode): Silence byte-compiler.
5868 (octave-beginning-of-defun): Not interactive any more.
5870 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5871 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5872 (octave-completion-at-point-function): Make sure point is within
5874 (octave-reindent-then-newline-and-indent):
5875 Use reindent-then-newline-and-indent.
5876 (octave-add-octave-menu): Remove.
5878 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5880 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5881 (report-emacs-bug-can-use-xdg-email): New functions.
5882 (report-emacs-bug): Set can-xdg-email to result of
5883 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5884 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5887 * net/browse-url.el (browse-url-default-browser): Add cond
5888 for browse-url-xdg-open.
5889 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5891 2010-08-17 Glenn Morris <rgm@gnu.org>
5893 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5894 (c-fontify-recorded-types-and-refs): Define for compiler.
5895 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5898 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5901 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5903 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5905 (tramp-handle-process-file): Call the program in a subshell, in
5906 order to preserve working directory.
5907 (tramp-action-password): Hide password prompt before next run.
5908 (tramp-process-actions): Widen connection buffer for the trace.
5910 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5912 * net/rcirc.el (rcirc-log-process-buffers): New option.
5913 (rcirc-print): Use it.
5914 (rcirc-generate-log-filename): New function.
5915 (rcirc-log-filename-function): Change default to
5916 rcirc-generate-log-filename (Bug#6828).
5918 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5920 * simple.el (deactivate-mark): If select-active-regions is `only',
5921 only set selection for temporarily active regions.
5923 * cus-start.el: Change defcustom for select-active-regions.
5925 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5927 * mouse.el (mouse--drag-set-mark-and-point): New function.
5928 (mouse-drag-track): Use LOCATION arg to push-mark.
5929 Use mouse--drag-set-mark-and-point to take click-count into
5930 consideration when updating point and mark (Bug#6840).
5932 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5934 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5935 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5937 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5939 * font-lock.el (lisp-font-lock-keywords-2):
5940 Add combine-after-change-calls, condition-case-no-debug,
5941 with-demoted-errors, and with-silent-modifications (Bug#6025).
5943 2010-08-14 Kevin Ryde <user42@zip.com.au>
5945 * emacs-lisp/copyright.el (copyright-update-year)
5946 (copyright-update): Temporary switch-to-buffer to ensure the
5947 buffer change being queried is visible (Bug#5394).
5949 2010-08-14 Tom Tromey <tromey@redhat.com>
5951 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5954 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5956 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5959 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5961 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5962 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5963 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5964 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5965 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5966 Call menu-bar-set-tool-bar-position.
5968 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5971 comment style (bug#6834).
5972 * progmodes/scheme.el (scheme-mode-syntax-table):
5973 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5974 "b" flag in "' 14b" syntax.
5976 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5977 for (un)commenting the region and performing completion.
5978 (octave-mode-menu): Use standard commands for help and completion.
5979 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5980 (octave-mode): Use define-derived-mode.
5981 Set completion-at-point-functions and don't set columns.
5982 Don't disable adaptive-fill-regexp.
5983 (octave-describe-major-mode, octave-comment-region)
5984 (octave-uncomment-region, octave-comment-indent)
5985 (octave-indent-for-comment): Remove.
5986 (octave-indent-calculate): Rename from calculate-octave-indent.
5987 (octave-indent-line, octave-fill-paragraph): Update caller.
5988 (octave-initialize-completions): No need to make an alist.
5989 (octave-completion-at-point-function): New function.
5990 (octave-complete-symbol): Use it.
5991 (octave-insert-defun): Use define-skeleton.
5993 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5994 (octave-mode-map): Use comment-dwim (bug#6829).
5996 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5998 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5999 indentation of inserted comment.
6001 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6003 * faces.el (region): Add type gtk that uses gtk colors.
6005 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6006 Handle theme-name change.
6008 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6010 * progmodes/sql.el: Version 2.5
6011 (sql-product-alist): Add :prompt-cont-regexp property for several
6013 (sql-prompt-cont-regexp): New variable.
6014 (sql-output-newline-count, sql-output-by-send):
6015 New variables. Record number of newlines in input text.
6016 (sql-send-string): Handle multiple filters and count newlines.
6017 (sql-send-magic-terminator): Count terminator newline.
6018 (sql-interactive-remove-continuation-prompt): Filters output to
6019 remove continuation prompts; one for each newline.
6020 (sql-interactive-mode): Set up new variables, prompt regexp and
6022 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6023 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6025 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * emacs-lisp/pcase.el: New file.
6029 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6031 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6032 as here-document, otherwise the command could exceed maximum
6033 length of command line.
6034 (tramp-handle-vc-registered): Call script accordingly.
6035 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6037 2010-08-10 Kenichi Handa <handa@m17n.org>
6039 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6042 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6044 * emacs-lisp/package.el (package-version-split)
6045 (package--version-first-nonzero, package-version-compare):
6047 (package-directory-list, package-load-all-descriptors)
6048 (package--built-in, package-activate, define-package)
6049 (package-installed-p, package-compute-transaction)
6050 (package-read-all-archive-contents)
6051 (package--add-to-archive-contents, package-buffer-info)
6052 (package-tar-file-info, package-list-packages-internal):
6053 Use version-to-list and version-list-*.
6055 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6056 Use version-to-list.
6057 (package-upload-buffer-internal): Use version-list-<=.
6059 2010-08-09 Kenichi Handa <handa@m17n.org>
6061 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6064 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6066 * tutorial.el (tutorial--default-keys): C-d is now bound to
6067 delete-forward-char (Bug#6826).
6069 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6070 for `double' value of mouse-1-click-follows-link (Bug#6807).
6072 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6074 * replace.el (replace-highlight): Bind isearch-forward and
6075 isearch-error, ensuring that highlighting is updated if the user
6076 switches the search direction (Bug#6808).
6078 * isearch.el (isearch-lazy-highlight-forward): New var.
6079 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6080 (isearch-lazy-highlight-update): Use it.
6082 2010-08-08 Kenichi Handa <handa@m17n.org>
6084 * international/mule.el (define-charset): Store NAME as :base property.
6085 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6086 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6087 current priority. Force using the designation of the specific
6088 charset by adding `charset' text property. Improve the whole algorithm.
6090 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6092 * emulation/pc-select.el (pc-selection-mode-hook)
6093 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6094 (pc-selection-mode): Fix typos in docstrings.
6096 2010-08-08 Kenichi Handa <handa@m17n.org>
6098 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6099 ctext-non-standard-encodings-alist here.
6101 * international/mule.el (ctext-non-standard-encodings-alist):
6102 Add "koi8-r" and "microsoft-cp1251".
6103 (ctext-standard-encodings): New variable.
6104 (ctext-non-standard-encodings-table): List only elements for
6105 non-standard encodings.
6106 (ctext-pre-write-conversion): Adjust for the above change.
6107 Check ctext-standard-encodings.
6109 * international/mule-conf.el (compound-text): Doc fix.
6110 (ctext-no-compositions): Doc fix.
6111 (compound-text-with-extensions): Doc fix.
6113 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6115 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6117 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6119 * progmodes/which-func.el (which-func-format): Split help-echo text
6120 into lines, like other mode-line tooltips.
6122 * server.el (server-start): When using TCP sockets, force IPv4
6123 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6125 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6129 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6131 * term.el (term-delimiter-argument-list): Reflow docstring.
6132 (term-read-input-ring, term-write-input-ring, term-send-input)
6133 (term-bol, term-erase-in-display, serial-supported-or-barf):
6134 Fix typos in docstrings.
6136 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6140 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6142 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6144 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6146 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6147 Fix typo in docstring (bug#6747).
6149 2010-08-08 Leo <sdl.web@gmail.com>
6151 * eshell/esh-io.el (eshell-get-target): Better detection of
6152 read-only file (Bug#6762).
6154 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6156 * align.el (align-default-spacing): Doc fix.
6157 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6159 2010-08-08 Stephen Peters <speters@itasoftware.com>
6161 * calendar/icalendar.el
6162 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6163 (icalendar--get-weekday-numbers): New.
6164 (icalendar--convert-recurring-to-diary): Handle multiple byday
6165 values in weekly rules. (Bug#6766)
6167 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6169 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6170 (icalendar--create-uid, icalendar-export-region)
6171 (icalendar--parse-summary-and-rest): Code formatting.
6173 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6175 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6176 to italicize headers.
6177 (calc-highlight-selections-with-faces): New variable.
6178 (calc-selected-face, calc-nonselected-face): New faces.
6180 * calc/calccomp.el (math-comp-highlight-string): Use
6181 `calc-highlight-selections-with-faces' to determine how to highlight
6184 * calc/calc-sel.el (calc-show-selections): Change message to when
6185 using faces to highlight selections.
6187 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6189 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6190 Add SQLite 3 keywords, functions and datatypes.
6191 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6194 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6196 * simple.el (select-active-regions): Move to keyboard.c.
6197 (deactivate-mark): Used saved-region-selection.
6198 (select-active-region): Function removed.
6199 (activate-mark, set-mark, push-mark-command)
6200 (handle-shift-selection): Don't call it.
6201 (keyboard-quit): Avoid adding the region to the window selection.
6203 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6204 select-active-regions implementation.
6205 (mouse-yank-at-click): Doc fix.
6207 * cus-start.el: Add custom declaration for select-active-regions.
6209 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6211 * simple.el (delete-forward-char): Doc fix.
6213 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6214 after reading the tutorial.
6216 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6218 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6219 Fix for the case that a C style comment has its delimiters alone on
6220 their respective lines.
6222 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6224 * net/tramp.el (tramp-handle-start-file-process): Set connection
6226 (tramp-process-sentinel): Use it for flushing the cache.
6227 We cannot do it via the process buffer, the buffer could be deleted
6228 already when running the sentinel.
6230 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6232 * comint.el (comint-mode): Make directory tracking functions
6233 functional on remote files. (Bug#6764)
6235 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6237 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6239 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6241 * emacs-lisp/find-gc.el (find-gc-source-files):
6242 Rename unexec.c => unexcoff.c.
6244 * emacs-lisp/authors.el (authors-fixed-entries):
6245 Rename unexec.c => unexcoff.c.
6247 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6249 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6250 cache, not only file cache.
6251 (tramp-process-sentinel): New defun.
6252 (tramp-handle-start-file-process): Use it, in order to invalidate
6255 2010-08-03 Leo <sdl.web@gmail.com>
6257 * server.el (server-start): Simplify loop.
6259 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * frame.el (screen-height, screen-width, set-screen-width)
6262 (set-screen-height): Remove ancient compatibility aliases.
6264 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6265 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6267 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6268 that change current buffer.
6270 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6272 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6273 beginning of the string. Use `string-match-p'. (Bug#6765)
6275 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6277 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6279 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6281 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6282 (package--builtins): Tweak descriptions.
6283 (package-print-package): Upcase descriptions if necessary.
6284 Show all built-in packages in font-lock-builtin-face.
6285 (package-list-packages-internal): Omit "emacs" package.
6286 Show status of built-in packages as "built-in".
6288 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6290 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6291 before killing to preserve the primary selection (Bug#6701).
6293 * term/x-win.el (x-select-text): Doc fix.
6295 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6297 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6298 (objc-font-lock-extra-types):
6299 * progmodes/cc-mode.el (c-basic-common-init):
6300 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6301 (c++-make-template-syntax-table)
6302 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6303 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6304 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6305 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6306 * progmodes/cc-fonts.el (c-make-inverse-face)
6307 (c-basic-matchers-after):
6308 * progmodes/cc-engine.el (c-forward-keyword-clause)
6309 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6310 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6311 (c-guess-continued-construct, c-guess-basic-syntax):
6312 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6313 The above functions were modified or created.
6315 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6317 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6319 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6321 * files.el (bidi-paragraph-direction): Define safe local values.
6323 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6324 language-info-alist. Remove outdated FIXME in a comment.
6326 2010-07-31 Alan Mackenzie <acm@muc.de>
6328 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6329 Auto-fill broken in C/C++ modes.
6331 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6333 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6334 (menu-bar-showhide-tool-bar-menu-customize-disable)
6335 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6336 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6337 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6338 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6339 make a menu for Options => toolbar that can move it.
6341 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6343 * emacs-lisp/package-x.el (package--make-rss-entry):
6344 (package-maint-add-news-item, package--update-news)
6345 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6347 * emacs-lisp/package.el (package-archive-url): Rename from
6349 (package-install): Doc fix.
6350 (package-download-single, package-download-tar, package-install)
6351 (package-menu-view-commentary): Callers changed.
6353 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6355 * net/tramp.el (tramp-handle-start-file-process): Check only for
6356 `remote-tty' process property.
6357 (tramp-open-shell): Don't check for tty.
6358 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6361 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6364 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6366 * emacs-lisp/package.el (package-load-list, package-archives)
6367 (package-archive-contents, package-user-dir)
6368 (package-directory-list, package--builtins, package-alist)
6369 (package-activated-list, package-obsolete-alist): Mark as risky.
6371 2010-07-28 Phil Hagelberg <phil@evri.com>
6373 Add support for non-default package repositories.
6374 * emacs-lisp/package.el (package-archive-base): Var deleted.
6375 (package-archives): New variable.
6376 (package-archive-contents): Doc fix.
6377 (package-load-descriptor): Do nothing if descriptor file is missing.
6378 (package--write-file-no-coding): New function.
6379 (package-unpack-single): Use it.
6380 (package-archive-id): New function.
6381 (package-download-single, package-download-tar)
6382 (package-menu-view-commentary): Use it.
6383 (package-installed-p): Make second argument optional.
6384 (package-read-all-archive-contents): New function.
6385 (package-initialize): Use it.
6386 (package-read-archive-contents): Add ARCHIVE argument.
6387 (package--add-to-archive-contents): New function.
6388 (package-install): Don't call package-read-archive-contents.
6389 (package--download-one-archive): Store archive file in a
6390 subdirectory of package-user-dir.
6391 (package-menu-execute): Remove spurious line movement.
6393 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6395 * cus-start.el (tool-bar-style): Add text-image-horiz.
6397 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6399 * progmodes/gud.el (gud-common-init): Check for remoteness of
6400 `file', and not of `default-directory'.
6402 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6404 * net/tramp.el (tramp-methods): Move hostname to the end in all
6405 ssh `tramp-login-args'.
6406 (tramp-verbose): Describe verbose level 9.
6407 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6408 (tramp-open-connection-setup-interactive-shell): Trace stty
6409 settings if `tramp-verbose' >= 9.
6410 (tramp-handle-start-file-process): Implement tty setting.
6411 (Bug#4604, Bug#6360)
6413 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6414 `tramp-verbose' to 9.
6416 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6418 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6419 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6420 Remove references to package `lisp-re' (bug#4369).
6422 2010-07-27 Tom Tromey <tromey@redhat.com>
6424 * progmodes/js.el (js-mode):
6425 * progmodes/make-mode.el (makefile-mode):
6426 * progmodes/simula.el (simula-mode):
6427 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6429 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6431 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6433 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6434 (display-time-world-buffer-name, display-time-world-mode-map):
6435 Fix typos in docstrings.
6437 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6439 * image-mode.el (image-display-size): New function.
6440 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6441 (image-mode-fit-frame): Use it (Bug#6639).
6443 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6445 * dired.el (dired-buffers-for-dir): Handle list values of
6446 dired-directory (Bug#6636).
6448 2010-07-26 Sam Steingold <sds@gnu.org>
6450 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6451 Do not call `x-get-selection' the second time, reuse the value.
6453 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6455 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6456 which consist of control chars only. Suggested by Richard Stallman.
6458 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6460 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6461 exists before passing an error to find-file-not-found-functions
6464 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6466 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6467 Remove leading nil element, adjust values.
6468 (tetris-shapes, tetris-shape-scores):
6469 Change representation of shapes and remove some redundancy.
6470 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6471 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6472 Adjust for working with new representation of shapes.
6473 (tetris-shape-rotations): New function.
6474 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6475 (tetris-rotate-prev, tetris-rotate-next):
6476 Adjust for working with the new version of tetris-test-shape.
6478 2010-07-23 Markus Triska <markus.triska@gmx.at>
6480 * progmodes/ps-mode.el: Use comint (bug#5954).
6481 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6482 (ps-mode-other-newline): Simplify.
6483 (ps-run-mode): Derive from comint-mode instead of
6484 fundamental-mode, yielding input history etc.
6485 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6486 (ps-run-send-string): Adapt for comint-mode.
6487 (ps-run-newline): Remove now unneeded function.
6489 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6491 * net/tramp.el (tramp-methods): Move hostname to the end in all
6492 plink `tramp-login-args'.
6494 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6496 * net/tramp.el (tramp-open-shell): New defun.
6497 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6500 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6502 * net/tramp.el (tramp-file-name-regexp-unified)
6503 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6504 not regard the volume letter as remote filename. (Bug#5447)
6506 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6508 * custom.el (custom-declare-variable): Give a clearer error message
6509 when the docstring is missing (bug#6476).
6511 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6513 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6514 (sql-login-params): New widget definition.
6515 (sql-oracle-login-params, sql-mysql-login-params)
6516 (sql-solid-login-params, sql-sybase-login-params)
6517 (sql-informix-login-params, sql-ingres-login-params)
6518 (sql-ms-login-params, sql-postgres-login-params)
6519 (sql-interbase-login-params, sql-db2-login-params)
6520 (sql-linter-login-params): Use it.
6521 (sql-sqlite-login-params): Use it; Define "database" parameter as
6523 (sql-sqlite-program): Change to "sqlite3".
6524 (sql-comint-sqlite): Make sure database name is complete.
6525 (sql-for-each-login): New function.
6526 (sql-connect, sql-save-connection): Use it.
6527 (sql-get-login-ext): New function.
6528 (sql-get-login): Use it.
6529 (sql-make-alternate-buffer-name): Handle :file parameters.
6531 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6533 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6534 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6536 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6538 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6540 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6542 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6544 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6546 * net/tramp.el (tramp-get-ls-command)
6547 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6550 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6552 * progmodes/sql.el: Version 2.3.
6553 (sql-connection-alist): Change keys from symbols to strings;
6554 enhanced the widget definition.
6555 (sql-mode-menu): Add submenu to select connections.
6556 (sql-interactive-mode-menu): Add "Save Connection" item.
6557 (sql-add-product): Fix menu item.
6558 (sql-get-product-feature): Improved error handling.
6559 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6560 (sql-make-alternate-buffer-name): Simplified.
6561 (sql-product-interactive): Handle missing product.
6562 (sql-connect): Support string keys, minor improvements.
6563 (sql-save-connection): New function.
6564 (sql-connection-menu-filter): New function.
6566 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6568 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6569 (tramp-open-connection-setup-interactive-shell):
6570 Apply workaround for IRIX64 bug. Move argument of last
6571 `tramp-send-command' where it belongs to.
6573 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6575 * net/tramp.el (tramp-perl-file-attributes)
6576 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6577 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6578 front of `login-args'.
6580 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6582 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6583 Set `show-trailing-whitespace' to nil.
6584 (display-time-world-display): Simplify.
6586 2010-07-18 Alan Mackenzie <acm@muc.de>
6588 Enhance `c-file-style' in file/directory local variables.
6589 * progmodes/cc-mode.el (c-count-cfss): New function.
6590 (c-before-hack-hook): Call `c-set-style' differently according to
6591 whether c-file-style was set in file or directory local
6594 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6596 * progmodes/sql.el: Version 2.2.
6597 (sql-product, sql-user, sql-database, sql-server, sql-port):
6598 Use defcustom :safe keyword rather than putting safe-local-variable
6600 (sql-password): Use defcustom :risky keyword rather than putting
6601 risky-local-variable property.
6602 (sql-oracle-login-params, sql-sqlite-login-params)
6603 (sql-solid-login-params, sql-sybase-login-params)
6604 (sql-informix-login-params, sql-ingres-login-params)
6605 (sql-ms-login-params, sql-postgres-login-params)
6606 (sql-interbase-login-params, sql-db2-login-params)
6607 (sql-linter-login-params): Add `port' option.
6608 (sql-get-product-feature): Add NO-INDIRECT parameter.
6609 (sql-comint-oracle, sql-comint-sybase)
6610 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6611 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6612 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6613 (sql-comint-linter): Rename sql-connect-* functions to
6615 (sql-product-alist, sql-mode-menu): Rename as above and
6616 :sqli-connect-func to :sqli-comint-func.
6617 (sql-connection): New variable.
6618 (sql-interactive-mode): Set it.
6619 (sql-connection-alist): New variable.
6620 (sql-connect): New function.
6621 (sql--alt-buffer-part, sql--alt-if-not-empty)
6622 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6624 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6626 * image-mode.el (image-bookmark-make-record): Do not set context
6627 in an image (Bug#6650).
6629 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6631 * simple.el (select-active-region): New function.
6632 (push-mark-command, set-mark, activate-mark)
6633 (handle-shift-selection): Use it.
6634 (deactivate-mark): Don't check for size of region.
6636 * mouse.el (mouse-drag-track): Use select-active-region.
6638 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6640 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6643 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6645 * term/x-win.el (x-select-enable-primary): Change default to nil.
6646 (x-select-enable-clipboard): Add :version keyword.
6648 * mouse.el (mouse-drag-copy-region):
6649 * simple.el (select-active-regions): Likewise.
6651 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6653 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6654 (vc-coding-system-for-diff): Use it to decide whether to inherit
6655 from the file the EOL format for reading the diffs of that file.
6658 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6660 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6661 unibyte, so compressed attachments are not compressed again.
6663 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6665 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6666 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6667 (tramp-find-shell): Simplify setting connection property.
6668 (tramp-get-ls-command): Make test for "--color=never" stronger.
6670 2010-07-15 Simon South <ssouth@member.fsf.org>
6672 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6673 blocks within record declarations (i.e. variant parts) correctly.
6675 2010-07-15 Simon South <ssouth@member.fsf.org>
6677 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6678 over literal tokens when parsing so newlines aren't "absorbed" by
6679 single-line comments. Corrects the indentation of case blocks
6680 that have a comment on the first line.
6682 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6684 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6685 by Drew Adams (Bug#5504).
6687 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6689 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6690 now that Unicode is used (Bug#6594).
6692 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6694 * term/x-win.el (x-select-enable-clipboard): Default to t.
6695 (x-initialize-window-system): Don't overwrite Paste menu item.
6697 * simple.el (select-active-regions): Default to t.
6698 (push-mark-command): Don't overwrite primary with empty string.
6700 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6701 (mouse-drag-copy-region): Default to nil.
6703 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6704 Cut/Copy/Paste menu bar items.
6706 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6708 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6709 Patch applied by Karl Fogel.
6711 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6712 and `bookmark-current-buffer' if they have been already set in
6713 another buffer (e.g gnus-art).
6715 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6716 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6718 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6720 * bookmark.el (bookmark-make-record-default): Allow unneeded
6721 information to be omitted from the record.
6723 Adjust declarations and calls:
6725 * info.el (bookmark-make-record-default): Adjust declaration.
6726 (Info-bookmark-make-record): Adjust call.
6728 * woman.el (bookmark-make-record-default): Adjust declaration.
6729 (woman-bookmark-make-record): Adjust call.
6731 * man.el (bookmark-make-record-default): Adjust declaration.
6732 (Man-bookmark-make-record): Adjust call.
6734 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6736 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6738 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6740 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6741 This is also from Thierry Volpiatto's patch in bug #6444. However,
6742 because it was extraneous to the functional change in that patch,
6743 and causes a re-indendation, I am committing it separately.
6745 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6747 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6748 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6749 Patch applied by Karl Fogel (Bug#6444).
6751 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6753 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6755 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6757 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6758 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6759 (ns-alternatives-map): Change S-tab binding to backtab
6762 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6765 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6767 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6770 * language/tv-util.el (tai-viet-re): Remove format.
6772 2010-07-12 Kenichi Handa <handa@m17n.org>
6774 * language/hebrew.el: Remove no-byte-compile declaration.
6775 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6776 composition-function-table for 3-character looking back.
6777 (hebrew-font-get-precomposed): New function.
6778 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6780 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6782 * mouse.el (mouse-drag-track): Handle select-active-regions
6785 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6787 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6788 empty argument to gvfs-copy.
6790 2010-07-10 Glenn Morris <rgm@gnu.org>
6792 * calendar/calendar.el (calendar-week-end-day): New function.
6793 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6794 Respect calendar-week-start-day. (Bug#6606)
6795 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6796 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6797 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6798 respect calendar-week-start-day.
6800 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6802 * simple.el (use-region-p): Doc fix (Bug#6607).
6804 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6806 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6807 Add regexps for cucumber and ruby.
6809 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6811 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6812 (epa-file-insert-file-contents): Hack to prevent
6813 find-file from opening empty buffer when decryption failed
6816 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6818 * textmodes/ispell.el (ispell-alternate-dictionary):
6819 Use file-readable-p.
6820 Return nil if no word-list is found at default locations.
6821 (ispell-complete-word-dict): Default to nil.
6822 (ispell-command-loop): Use 'word-list' when using lookup-words.
6823 (lookup-words): Use ispell-complete-word-dict or
6824 ispell-alternate-dictionary. Check for word-list availability
6825 and handle errors if needed with better messages (Bug#6539).
6826 (ispell-complete-word): Use ispell-complete-word-dict or
6827 ispell-alternate-dictionary.
6829 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6831 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6832 builtins (BufferError, BytesWarning, WindowsError; callables
6833 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6835 2010-07-07 Glenn Morris <rgm@gnu.org>
6837 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6838 (zone-shift-left): Ignore intangibility, and any errors from
6840 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6841 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6842 deleting, and copying text properties.
6843 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6844 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6845 to point-max is hard.
6846 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6847 (zone-fill-out-screen): Ignore intangibility.
6849 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6851 * menu-bar.el (menu-bar-mode):
6852 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6855 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6856 word/line selection (Bug#6565).
6858 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6860 * net/dbus.el (dbus-send-signal): Declare function.
6862 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6864 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6865 (dbus-register-property): New optional argument EMITS-SIGNAL.
6866 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6868 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6870 * mouse.el (mouse-drag-overlay): Variable deleted.
6871 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6872 (mouse--remap-link-click-p): New function.
6873 (mouse-drag-track): Handle dragging by using temporary Transient
6874 Mark mode, instead of a special overlay.
6875 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6878 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6881 2010-07-02 Juri Linkov <juri@jurta.org>
6883 * autoinsert.el (auto-insert-alist): Fix readability
6884 by using dotted pair notation for lambda.
6886 2010-07-02 Juri Linkov <juri@jurta.org>
6888 * faces.el (read-face-name): Rename arg `string-describing-default'
6889 to `default'. Doc fix. Display the default value in quotes
6890 in the prompt. With empty input, return the `default' arg,
6891 unless the default value is a string (in which case return nil).
6892 (describe-face): Replace the string `default' arg of `read-face-name'
6893 with the symbol `default'.
6895 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6897 * emulation/viper-cmd.el (viper-delete-backward-char)
6898 (viper-del-backward-char-in-insert)
6899 (viper-del-backward-char-in-replace, viper-change)
6900 (viper-backward-indent): Replace delete-backward-char with
6901 delete-char (Bug#6552).
6903 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6905 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6907 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6909 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6910 argument passed to frame-creation-function (Bug#5378).
6912 * faces.el (x-handle-named-frame-geometry)
6913 (x-handle-reverse-video, x-create-frame-with-faces)
6914 (face-set-after-frame-default, tty-create-frame-with-faces):
6915 Don't separately consult default-frame-alist. It is now passed as the
6918 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6920 * startup.el (command-line): Don't call tool-bar-setup in a
6923 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6925 * ruler-mode.el (ruler--save-header-line-format): New fun.
6926 (ruler-mode): Use it as a setter function, so as not to overwrite
6927 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6929 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6931 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6932 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6933 (vc-log-outgoing): Use it.
6934 (vc-diff-internal): Set diff-vc-backend.
6936 * vc/diff-mode.el (diff-vc-backend): New var.
6938 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6940 * dynamic-setting.el (font-setting-change-default-font):
6941 Remove call to message.
6943 2010-06-28 Kenichi Handa <handa@m17n.org>
6945 * international/quail.el (quail-insert-kbd-layout): Fix the
6946 showing of untranslated characters.
6948 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6950 * simple.el (delete-active-region): New option.
6951 (delete-backward-char): Implement in Lisp.
6952 (delete-forward-char): New command.
6954 * mouse.el (mouse-region-delete-keys): Deleted.
6955 (mouse-show-mark): Simplify.
6957 * bindings.el (global-map): Bind delete and DEL, the former to
6958 delete-forward-char.
6960 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6962 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6963 (ruby-mode): Bind indent-line-function (Bug#5119).
6965 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6967 * startup.el (command-line): Recognize "0" X resource value.
6969 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6971 * startup.el (command-line): Use X resources to set the value of
6972 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6974 * menu-bar.el (menu-bar-mode):
6975 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6976 Set init-value to t.
6978 * frame.el (frame-notice-user-settings): Don't change
6979 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6980 vice versa (Bug#2249).
6982 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6984 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6986 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6988 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6989 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6991 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6992 default directories are expanded (Bug#6143).
6994 2010-06-24 Juri Linkov <juri@jurta.org>
6996 * minibuffer.el (completions-format): Change default from nil to
6997 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6999 2010-06-24 Juri Linkov <juri@jurta.org>
7001 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7002 buffer-locally to lambda that re-runs the vc diff command.
7005 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7007 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7008 echo area is in use (Bug#3412).
7010 2010-06-22 Glenn Morris <rgm@gnu.org>
7012 * textmodes/texinfmt.el (texinfo-format-region)
7013 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7014 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7015 (texinfo-format-option, texinfo-noindent):
7016 Use line-beginning-position and line-end-position.
7018 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7019 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7020 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7023 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7025 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7026 forward-line fallout.
7028 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7030 * mouse.el (mouse-appearance-menu): Add docstring.
7032 * help.el (describe-key): Print up-event using key-description.
7034 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7036 * net/zeroconf.el (zeroconf-resolve-service)
7037 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7038 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7040 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7042 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7044 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7046 Avoid displaying files with a nil state in vc-dir.
7047 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7048 cases that cause insertion.
7049 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7052 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7054 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7056 2010-06-29 Leo <sdl.web@gmail.com>
7058 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7060 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7062 * generic-x.el (bat-generic-mode): Fix regexp for command line
7063 switches (Bug#5719).
7065 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7067 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7068 of nconc to avoid pure storage error (Bug#6239).
7070 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7072 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7073 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7074 bindings of bookmark-automatically-show-annotations (Bug#6515).
7076 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7078 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7079 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7081 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7083 * comint.el (make-comint, make-comint-in-buffer): Mention return
7084 value in the docstrings. (Bug#6498)
7086 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7088 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7089 since it is not present when using some non-default switches.
7091 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7093 * simple.el (compose-mail): Fix doc string to refer to
7094 `compose-mail-user-agent-warnings', instead of to the
7095 nonexistent `compose-mail-check-user-agent'.
7097 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7099 Fix an indentation bug:
7101 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7102 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7105 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7106 (c-clear->-pair-props-if-match-before): now return t when they've
7107 cleared properties, nil otherwise.
7108 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7109 by taking account of the existing value.
7111 * progmodes/cc-defs.el
7112 (c-clear-char-property-with-value-function): Fix this to clear the
7113 property rather than overwriting it with nil.
7115 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7117 * emacs-lisp/package.el (package-print-package): Add link to
7118 package description via describe-package.
7119 (describe-package-1): List package requirements. Add button to
7120 perform installation.
7121 (package-menu-describe-package): New command.
7123 * help-mode.el (help-package): New button type.
7125 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7127 * emacs-lisp/package.el: Move package-list-packages binding to
7129 (describe-package, describe-package-1, package--dir): New funs.
7130 (package-activate-1): Use package--dir.
7132 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7134 * help-mode.el (help-package-def): New button type.
7136 * menu-bar.el: Move package-list-packages binding here from
7139 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7141 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7143 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * emacs-lisp/edebug.el (edebug-read-list):
7146 Phase out old-style backquotes.
7148 2010-06-17 Juri Linkov <juri@jurta.org>
7150 * help-mode.el (help-mode): Set buffer-local variable
7151 revert-buffer-function to help-mode-revert-buffer.
7152 (help-mode-revert-buffer): New function.
7154 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7155 before popping to "*info*" (like in other Info functions).
7156 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7157 old-history-forward. Pop to old-buffer-name or "*info*" to
7158 recreate the killed buffer. Set Info-history-forward from
7159 old-history-forward.
7160 (Info-breadcrumbs-depth): Add :group and :version.
7162 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7164 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7166 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7168 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7169 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7171 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7173 * emacs-lisp/package.el (package-menu-mode-map):
7174 Move initialization into declaration.
7176 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7178 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7180 * emacs-lisp/package.el (package-archive-base): Point to
7182 (package-enable, package-load-list): New defcustoms.
7183 (package-user-dir, package-directory-list): Turn into defcustoms.
7184 Don't include package-user-dir in package-directory-list.
7185 (package--builtins-base): Don't include Emacs as a "package".
7186 (package-subdirectory-regexp): New var.
7187 (package-load-all-descriptors, package-compute-transaction)
7188 (package-download-transaction): Obey package-load-list.
7189 (package-activate-1): Rename from package-do-activate.
7190 (package-list-packages-internal): Check package-load-list.
7191 (package-load-descriptor, package-generate-autoloads)
7192 (package-unpack, package-unpack-single)
7193 (package--read-archive-file, package-delete):
7194 Use expand-file-name.
7196 * emacs-lisp/package-x.el: New file. Package uploading
7197 functionality split out from package.el.
7199 * startup.el (command-line): Load packages after reading init file.
7201 2010-06-17 Tom Tromey <tromey@redhat.com>
7203 * emacs-lisp/package.el: New file.
7205 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7207 Fix vc-annotate for renamed files when using Git.
7208 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7209 ls-files. Doe not pass the object as a file name to cat-file, it
7211 (vc-git-annotate-command): Pass the file name using -- to avoid
7212 ambiguity with the revision.
7213 (vc-git-previous-revision): Pass a relative file name.
7215 2010-06-22 Glenn Morris <rgm@gnu.org>
7217 * progmodes/js.el (js-mode-map): Use standard capitalization and
7218 ellipses for menu entries.
7220 * wid-edit.el (widget-complete): Doc fix.
7222 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7224 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7226 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7228 Fix annotating other revisions for renamed files in vc-annotate.
7229 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7230 VC backend. Use it when non-nil.
7231 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7234 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7235 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7236 Do not pass the file name to the 'previous-revision call when we
7237 don't want a file diff. (Bug#6489)
7239 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7241 Fix finding revisions for renamed files in vc-annotate.
7242 * vc/vc.el (vc-find-revision): Add an optional argument for
7243 the VC backend. Use it when non-nil.
7244 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7245 backend to vc-find-revision. (Bug#6487)
7247 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7249 Fix reading file names in Git annotate buffers.
7250 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7251 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7253 2010-06-20 Alan Mackenzie <acm@muc.de>
7255 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7256 in file local variables, set it first.
7258 2010-06-19 Glenn Morris <rgm@gnu.org>
7260 * descr-text.el (describe-char-unicode-data): Insert separating
7261 space when needed. (Bug#6422)
7263 * progmodes/idlwave.el (idlwave-action-and-binding):
7264 Fix typo in 2009-12-03 change. (Bug#6450)
7266 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7268 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7269 handling for `lambda' (misunderstanding).
7271 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7273 * calc/calc-poly.el (math-accum-factors): Make sure that
7274 constants aren't distributed after they are factored out.
7276 2010-06-16 Juri Linkov <juri@jurta.org>
7278 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7279 `list-colors-print'. (Bug#6332)
7281 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7283 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7286 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7288 * font-lock.el (font-lock-major-mode): Rename from
7289 font-lock-mode-major-mode to distinguish it from
7290 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7291 (font-lock-set-defaults):
7292 * font-core.el (font-lock-default-function): Adjust users.
7293 (font-lock-mode): Don't set it at all.
7295 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7299 2010-06-16 Glenn Morris <rgm@gnu.org>
7301 * calendar/appt.el (appt-time-msg-list): Doc fix.
7302 (appt-check): Let-bind appt-warn-time.
7303 (appt-add): Make the 3rd argument optional.
7304 Simplify argument names. Doc fix. Check for integer WARNTIME.
7305 Only add WARNTIME to the output list if non-nil.
7307 2010-06-16 Ivan Kanis <apple@kanis.eu>
7309 * calendar/appt.el (appt-check): Let the 3rd element of
7310 appt-time-msg-list specify the warning time.
7311 (appt-add): Add new argument with the warning time. (Bug#5176)
7313 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7315 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7316 older than version 1.6. (Bug#6361)
7318 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7320 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7321 used by cl-do-arglist. (Bug#6408)
7323 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7325 * textmodes/ispell.el (ispell-dictionary-base-alist):
7326 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7327 Suggested by Rolando Pereira (bug#6434).
7329 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7331 * facemenu.el (list-colors-sort): Doc fix.
7333 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7335 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7337 2010-06-14 Juri Linkov <juri@jurta.org>
7339 Add sort option `list-colors-sort'. (Bug#6332)
7340 * facemenu.el (color-rgb-to-hsv): New function.
7341 (list-colors-sort): New defcustom.
7342 (list-colors-sort-key): New function.
7343 (list-colors-display): Doc fix. Sort list according to the option
7345 (list-colors-print): Add HSV values to `help-echo' property of
7348 2010-06-14 Juri Linkov <juri@jurta.org>
7350 * compare-w.el: Move to the "vc" subdirectory.
7352 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * image-mode.el (image-mode-map): Remap left-char and right-char.
7356 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7358 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7360 * term/common-win.el (x-colors): Add all the color names defined
7361 in rgb.txt (Bug#6332).
7363 * facemenu.el (list-colors-print): Don't print extra names if it
7364 will overflow the window width.
7366 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7369 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7371 * files.el (make-directory): Doc fix (bug#6396).
7373 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7375 * net/tramp.el (tramp-remote-process-environment): Protect version
7376 string by apostroph.
7377 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7379 (tramp-file-name-for-operation): Add `call-process-region'.
7380 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7382 * net/tramp-compat.el (top): Do not autoload
7383 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7384 only when `start-file-process' is not bound.
7385 (tramp-advice-file-expand-wildcards): Do not use
7386 `tramp-handle-file-remote-p'.
7387 (tramp-compat-make-temp-file): Handle the case, that
7388 `make-temp-file' has no third argument EXTENSION.
7390 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7392 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7394 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7396 2010-06-11 Juri Linkov <juri@jurta.org>
7398 * finder.el (finder-known-keywords): Add keyword "vc"
7399 for version control.
7401 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7402 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7403 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7404 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7406 2010-06-11 Juri Linkov <juri@jurta.org>
7408 Move version control related files to the "vc" subdirectory.
7409 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7410 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7411 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7412 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7413 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7414 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7415 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7416 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7417 Move files to the "vc" subdirectory.
7419 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7421 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7424 2010-06-11 Stephen Eglen <stephen@gnu.org>
7426 * shell.el: Bind `shell-resync-dirs' to M-RET.
7428 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7430 * notifications.el: Move file from lisp/net, because it is
7431 supposed to talk locally to the user.
7433 2010-06-10 Julien Danjou <julien@danjou.info>
7435 * net/notifications.el (notifications-on-action-signal)
7436 (notifications-on-closed-signal): Pass notification id as first
7437 argument to the callback functions. Add docstrings.
7438 (notifications-notify): Fix docstring.
7440 2010-06-10 Glenn Morris <rgm@gnu.org>
7442 * emacs-lisp/authors.el (authors-ignored-files)
7443 (authors-valid-file-names): Add some files.
7445 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7448 merge conflict, giving preference to the emacs-23 version of the code.
7450 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7452 * emacs-lisp/advice.el (ad-compile-function):
7453 Define warning-suppress-types before we let-bind it (bug#6275).
7455 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7456 declare it, make it buffer-local and permanent-local (bug#6324).
7457 (vc-resynch-window): Adjust name.
7458 * vc-hooks.el (vc-find-file-hook): Adjust name.
7460 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7462 * net/notifications.el (notifications-notify): Fix docstring.
7464 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7466 Update to Unicode 6.0.0 beta.
7467 * international/charprop.el: Update copyright.
7468 * international/mule-cmds.el (ucs-names): Update character ranges.
7469 * international/uni-bidi.el:
7470 * international/uni-category.el:
7471 * international/uni-combining.el:
7472 * international/uni-comment.el:
7473 * international/uni-decimal.el:
7474 * international/uni-decomposition.el:
7475 * international/uni-digit.el:
7476 * international/uni-lowercase.el:
7477 * international/uni-mirrored.el:
7478 * international/uni-name.el:
7479 * international/uni-numeric.el:
7480 * international/uni-old-name.el:
7481 * international/uni-titlecase.el:
7482 * international/uni-uppercase.el: Regenerate.
7484 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7486 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7487 (smie-precs-precedence-table): Fix typo in docstring.
7489 * vc-mtn.el (log-edit-extract-headers): Declare function.
7491 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7493 * net/notifications.el (dbus-register-signal): Declare function.
7494 (notifications-notify): Fix typos and reflow docstring.
7496 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7498 Improve VC create/retrieve tag/branch.
7499 * vc.el (vc-create-tag): Do not read the directory name for VCs
7500 with repository revision granularity. Adjust the tag/branch
7501 prompt. Reset VC properties.
7502 (vc-retrieve-tag): Do not read the directory name for VCs
7503 with repository revision granularity. Reset VC properties.
7505 2010-06-09 Julien Danjou <julien@danjou.info>
7507 * net/notifications.el: New file.
7509 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7511 Add optional support for resetting VC properties.
7512 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7513 call vc-file-clearprops when true.
7514 (vc-resynch-buffer): Add new optional argument, pass it down.
7515 (vc-resynch-buffers-in-directory): Likewise.
7517 Improve support for special markup in the VC commit message.
7518 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7519 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7520 * vc-git.el (vc-git-checkin):
7521 * vc-bzr.el (vc-bzr-checkin): Likewise.
7523 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7526 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7528 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7530 * iimage.el: Remove images as soon as the underlying text is modified.
7531 (iimage-modification-hook): New function.
7532 (iimage-mode-buffer): Use it.
7534 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7537 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7538 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7539 (smie-indent-keyword): Add handling of open-paren keywords.
7540 (smie-indent-comment-continue): Don't assume comment-continue.
7542 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7544 * window.el (pop-to-buffer): Remove the conditional that
7545 compares new-window and old-window, so it will reselect
7546 the selected window unconditionally.
7547 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7549 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * emacs-lisp/smie.el (smie-indent-offset-after)
7552 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7553 (smie-indent-after-keyword): Use them.
7554 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7555 (smie-indent-keyword): Tweak the black magic.
7556 (smie-indent-comment-continue): Strip comment-continue before use.
7557 (smie-indent-functions): Indent comments before keywords.
7559 2010-06-06 Juri Linkov <juri@jurta.org>
7561 * isearch.el (isearch-lazy-highlight-search): Fix looping
7562 by checking for empty match. This syncs this loop with the
7563 similar loop in `isearch-search'. (Bug#6362)
7565 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7567 * net/dbus.el (dbus-register-method): Declare function.
7568 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7569 (dbus-introspect): Doc fix.
7570 (dbus-event-bus-name, dbus-introspect-get-interface)
7571 (dbus-introspect-get-argument): Reflow docstrings.
7573 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7575 vc-log-incoming/vc-log-outgoing fixes for Git.
7576 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7577 incoming/outgoing logs.
7578 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7579 instead of vc-git-compute-remote.
7580 (vc-git-compute-remote): Remove.
7582 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7584 * term/common-win.el (x-colors): Add "dark green" and "dark
7585 turquoise" (Bug#6332).
7587 2010-06-04 Juri Linkov <juri@jurta.org>
7589 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7590 Instead of setting `replace' to t and replacing the same string
7591 with itself, don't do certain actions when
7592 kill-do-not-save-duplicates is non-nil and string is equal to car
7593 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7594 interprogram-paste strings to kill-ring, and don't push the input
7595 argument `string' to kill-ring.
7596 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7598 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7600 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7602 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7604 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7605 (tramp-gvfs-handler-mounted-unmounted)
7606 (tramp-gvfs-connection-mounted-p): Handle default-location.
7608 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7609 move files to trash.
7611 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7613 * international/mule-cmds.el (nonascii-insert-offset)
7614 (nonascii-translation-table): Add obsolescence information.
7616 * international/mule.el (make-translation-table-from-vector): Doc fix.
7618 2010-06-03 Glenn Morris <rgm@gnu.org>
7620 * desktop.el (desktop-clear-preserve-buffers):
7621 Add "*Warnings*" buffer. (Bug#6336)
7623 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7625 vc-log-incoming/vc-log-outgoing improvements for Git.
7626 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7628 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7630 Add bindings for vc-log-incoming and vc-log-outgoing.
7631 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7632 and vc-log-outgoing.
7633 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7634 and vc-log-outgoing.
7636 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7638 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7639 (rcirc-handler-366): Always sort nicknames.
7641 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7643 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7645 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7647 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7649 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7652 (rcirc-sort-nicknames-join): Avoid setq.
7654 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7656 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7657 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7658 (rcirc-handler-366): Use them.
7660 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7662 Split smie-indent-calculate into more manageable chunks.
7663 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7664 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7665 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7666 (smie-indent-exps): Extract from smie-indent-calculate.
7667 (smie-indent-functions): New var.
7668 (smie-indent-functions): Use them.
7670 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7673 (smie-indent-calculate): Simplify and cleanup.
7675 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7677 * net/tramp-gvfs.el (top): Require url-util.
7678 (tramp-gvfs-mount-point): Remove.
7679 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7681 (with-tramp-dbus-call-method): Format trace message.
7682 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7683 Implement backup call, when operation on local files fails.
7684 Use progress reporter. Flush properties of changed files.
7685 (tramp-gvfs-handle-make-directory): Make more traces.
7686 (tramp-gvfs-url-file-name): Hexify file name in url.
7687 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7688 into account for the resulting file name.
7689 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7690 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7691 (tramp-gvfs-handler-mounted-unmounted)
7692 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7693 attribute "default_location". Set "prefix" property.
7694 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7695 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7696 exists. Raise an error, if not (due to a corresponding answer
7697 "no" in interactive questions, for example).
7699 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7701 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7703 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7705 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7708 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7710 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7711 * vc-git.el (vc-git-compute-remote): New function.
7712 (vc-git-log-outgoing): Use it instead of hard coding a value.
7713 (vc-git-log-incoming): New function.
7715 Improve state updating for VC tag commands.
7716 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7717 to update the state of all buffers in the directory.
7719 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7721 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7723 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7724 `file-directory-p' to the filename part rather than to the whole text.
7726 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7730 2010-05-31 Drew Adams <drew.adams@oracle.com>
7732 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7734 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7736 * subr.el (momentary-string-display): Just use read-event to read
7737 the exit event (Bug#6238).
7739 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7741 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7743 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7745 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7746 Suggested by Eli Zaretskii <eliz@gnu.org>.
7748 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * minibuffer.el (completion-file-name-table): Don't return a boundary
7751 past the end of `string' (bug#6299).
7752 (completion--file-name-table): Delegate to completion-file-name-table
7753 for the `boundaries' case.
7755 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7757 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7760 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7761 `path-separator', but maintain compatibility with Emacs 20.2.
7763 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7765 * server.el (server-process-filter): Receive parent-id argument
7767 (server-create-window-system-frame): New arg. Pass parent-id as
7770 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7772 Bidi-sensitive word movement with arrow keys.
7773 * subr.el (right-arrow-command, left-arrow-command): Move to
7776 * bindings.el (right-char, left-char): Move from subr.el and
7777 rename from right-arrow-command and left-arrow-command.
7778 (right-word, left-word): New functions.
7779 (global-map) <right>: Bind to right-char.
7780 (global-map) <left>: Bind to left-char.
7781 (global-map) <C-right>: Bind to right-word.
7782 (global-map) <C-left>: Bind to left-word.
7784 * ls-lisp.el (ls-lisp-classify-file): New function.
7785 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7786 (ls-lisp-classify): Call ls-lisp-classify-file.
7787 (insert-directory): Remove blanks from switches.
7789 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7791 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7792 (ansi-color-drop-regexp): New constant.
7793 (ansi-color-apply, ansi-color-filter-region)
7794 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7795 (ansi-color-apply): Build string list before calling concat.
7797 2010-05-28 Juri Linkov <juri@jurta.org>
7799 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7800 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7803 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7805 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7806 to ignored backtrace functions.
7807 (with-progress-reporter): Expand docstring.
7808 (tramp-handle-delete-file): Implement TRASH argument.
7809 (tramp-get-remote-trash): New defun.
7811 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7813 * net/tramp-compat.el (tramp-compat-delete-file):
7814 Use `symbol-value' for backward compatibility.
7816 * net/tramp.el (tramp-handle-make-symbolic-link)
7818 (tramp-do-copy-or-rename-file-via-buffer)
7819 (tramp-do-copy-or-rename-file-directly)
7820 (tramp-do-copy-or-rename-file-out-of-band)
7821 (tramp-handle-process-file, tramp-handle-call-process-region)
7822 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7823 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7824 (tramp-delete-temp-file-function): Use `delete-file' instead
7825 of `tramp-compat-delete-file'.
7827 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7828 (tramp-fish-handle-make-symbolic-link)
7829 (tramp-fish-handle-process-file): Use `delete-file' instead
7830 of `tramp-compat-delete-file'.
7832 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7833 Use `delete-file' instead of `tramp-compat-delete-file'.
7835 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7836 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7837 `tramp-compat-delete-file'.
7839 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7840 Use `delete-file' instead of `tramp-compat-delete-file'.
7842 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7843 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7844 (tramp-smb-handle-write-region): Use `delete-file' instead of
7845 `tramp-compat-delete-file'.
7846 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7848 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7850 * dired.el (dired-delete-file): New arg TRASH.
7851 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7852 (dired-do-flagged-delete, dired-do-delete): Use trash.
7854 * speedbar.el (speedbar-item-delete): Allow trashing.
7856 * files.el (delete-directory): New arg TRASH.
7858 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7859 (ange-ftp-rename-remote-to-remote)
7860 (ange-ftp-rename-local-to-remote)
7861 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7862 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7864 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7867 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7868 handle new TRASH arg of `delete-file'.
7870 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7871 (tramp-handle-make-symbolic-link, tramp-handle-load)
7872 (tramp-do-copy-or-rename-file-via-buffer)
7873 (tramp-do-copy-or-rename-file-directly)
7874 (tramp-do-copy-or-rename-file-out-of-band)
7875 (tramp-handle-process-file, tramp-handle-call-process-region)
7876 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7877 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7878 (tramp-delete-temp-file-function): Use null TRASH arg in
7879 tramp-compat-delete-file call.
7881 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7882 (tramp-fish-handle-delete-file)
7883 (tramp-fish-handle-make-symbolic-link)
7884 (tramp-fish-handle-process-file): Use null TRASH arg in
7885 `tramp-compat-delete-file' call.
7887 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7888 arg in `tramp-compat-delete-file' call.
7890 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7891 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7892 `tramp-compat-delete-file' call.
7894 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7895 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7896 `tramp-compat-delete-file' call.
7898 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7899 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7900 (tramp-smb-handle-write-region): Use null TRASH arg in
7901 tramp-compat-delete-file call.
7902 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7903 (tramp-smb-handle-delete-file): Rename arg.
7905 * diff.el (diff-sentinel):
7906 * epg.el (epg--make-temp-file, epg-decrypt-string)
7907 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7908 * jka-compr.el (jka-compr-partial-uncompress)
7909 (jka-compr-call-process, jka-compr-write-region):
7910 * server.el (server-sentinel): Remove optional arg from
7911 delete-file, reverting 2010-05-03 change.
7913 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7915 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7916 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7918 2010-05-27 Kenichi Handa <handa@m17n.org>
7920 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7921 element of GSTRING is nil.
7923 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7925 * emacs-lisp/smie.el (smie-forward-token-function)
7926 (smie-backward-token-function): New vars.
7927 (smie-backward-sexp, smie-forward-sexp)
7928 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7929 (smie-default-backward-token): Rename from smie-backward-token and
7931 (smie-default-forward-token): Rename from smie-forward-token and
7933 (smie-next-sexp): Handle nil results from next-token.
7934 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7936 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7938 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7939 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7941 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7943 * htmlfontify.el (hfy-face-resolve-face): New function.
7944 (hfy-face-to-style): Use it (Bug#6279).
7946 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7948 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7949 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7951 2010-05-26 Glenn Morris <rgm@gnu.org>
7953 * emulation/edt.el (edt-load-keys): Use locate-library.
7955 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7957 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7958 (log-edit-changelog-entries): Doc fix.
7959 (log-edit-changelog-insert-entries): Args changed.
7960 Rename relative filenames in ChangeLog entries. Delete tabs.
7961 (log-edit-insert-changelog-entries): Reorganize return value of
7962 `log-edit-changelog-entries' to pass filenames to
7963 log-edit-changelog-insert-entries.
7965 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7967 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7968 `image-dired-dired-insert-marked-thumbs' to
7969 `image-dired-dired-toggle-marked-thumbs'.
7971 * image-dired.el: Require cl when compiling.
7972 (image-dired-dired-toggle-marked-thumbs): Rename from
7973 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7974 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7975 to 'no-dir. Skip files whose names don't match
7976 `image-file-name-regexp'. When file has a thumbnail overlay,
7977 delete it. (Bug#5270)
7979 2010-05-25 Juri Linkov <juri@jurta.org>
7981 * image-mode.el (image-mode): Add image-after-revert-hook to
7983 (image-after-revert-hook): New function. (Bug#5669)
7985 2010-05-25 Juri Linkov <juri@jurta.org>
7987 * image.el (image-animated-p): When delay between animated images
7988 is 0, set it to 10 (0.1 sec). (Bug#6258)
7990 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7992 * net/tramp.el (tramp-handle-insert-directory): Don't use
7993 `forward-word', its default syntax could be changed.
7995 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7997 * net/tramp.el (tramp-progress-reporter-update): New defun.
7998 (with-progress-reporter): Use it.
7999 (tramp-process-actions):
8000 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8001 Preserve current message, in order to let progress reporter continue
8002 afterwards. (Bug#6257)
8004 2010-05-25 Glenn Morris <rgm@gnu.org>
8006 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8009 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8011 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8012 (rcirc-default-full-name): Change to "unknown".
8013 (rcirc-user-name-history): Add variable.
8015 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8016 Jonathan Rockway <jon@jrock.us>
8018 * net/rcirc.el (rcirc-server-alist): Add :pass.
8019 (rcirc): When prompting for connection parameters, also prompt for
8020 username and password.
8021 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8022 value to server when connecting.
8024 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8026 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8027 (smie-merge-prec2s): Pass the tables as separate args.
8028 (smie-bnf-precedence-table): Adjust call accordingly.
8029 (smie-prec2-levels): Set levels at the end.
8031 Replace Lisp calls to delete-backward-char by delete-char.
8032 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8033 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8034 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8035 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8036 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8037 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8038 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8039 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8040 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8041 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8042 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8043 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8044 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8045 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8046 delete-backward-char by calls to delete-char.
8048 2010-05-25 Kenichi Handa <handa@m17n.org>
8050 * language/hebrew.el (hebrew-shape-gstring): New function.
8051 Register it in composition-function-table for all Hebrew combining
8054 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8056 * epa.el (epa--select-keys): Don't explicitly delete the window since
8057 that can fail (e.g. sole window in frame). Use dedication instead.
8059 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8061 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8063 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8065 * image.el (image-refresh): Define as an alias for image-flush.
8067 * image-mode.el (image-toggle-display-image): Caller changed.
8069 2010-05-21 Juri Linkov <juri@jurta.org>
8071 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8072 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8073 whitespace, call wildcard-to-regexp on substrings and concat them
8074 with "\\|". (Bug#6114)
8076 2010-05-21 Alan Mackenzie <acm@muc.de>
8078 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8079 Replace parameter `here' with `here-' and `here-plus', which sandwich
8080 any pertinent CPP construct.
8081 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8082 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8083 CPP construct from taking part in the scanning.
8085 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8087 * net/tramp.el (tramp-do-copy-or-rename-file)
8088 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8089 Tune `with-progress-reporter' messages.
8090 (tramp-handle-vc-registered):
8091 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8092 (tramp-fish-handle-insert-file-contents)
8093 (tramp-fish-maybe-open-connection):
8094 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8095 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8096 (tramp-imap-handle-insert-file-contents)
8097 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8099 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8101 * add-log.el (change-log-font-lock-keywords):
8102 Highlight all authors in multi-author entries.
8104 * smerge-mode.el (smerge-refine-ignore-whitespace)
8105 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8106 Fix typos in docstrings.
8107 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8109 2010-05-21 Glenn Morris <rgm@gnu.org>
8111 * progmodes/fortran.el (fortran-mode):
8112 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8114 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8115 having a relative path in src/Makefile.in.
8117 2010-05-20 Kevin Ryde <user42@zip.com.au>
8119 * help-mode.el (help-make-xrefs): For Info node links turn
8120 newlines into spaces. Link node names with newlines are matched
8121 by help-xref-info-regexp and buttonized, this change ensures they
8122 can be followed successfully with RET. (Bug#6206)
8124 2010-05-20 Juri Linkov <juri@jurta.org>
8126 * locate.el (locate): Use pop-to-buffer instead of
8127 switch-to-buffer-other-window. (Bug#6204)
8129 2010-05-20 Juri Linkov <juri@jurta.org>
8131 * replace.el (replace-highlight): Fix lazy-highlighting
8132 for `M-s w str M-% str RET'.
8134 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8136 * isearch.el (isearch-yank-word-or-char): Pull next subword
8137 when `subword-mode' is activated. (Bug#6220)
8139 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8141 * isearch.el (isearch-update-post-hook): New hook.
8142 (isearch-update): Use the new hook. (Bug#6225)
8144 2010-05-20 Juri Linkov <juri@jurta.org>
8146 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8147 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8150 2010-05-20 Juri Linkov <juri@jurta.org>
8152 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8155 2010-05-20 Juri Linkov <juri@jurta.org>
8157 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8158 FILE-NAME to read from the minibuffer when called interactively
8159 with prefix argument instead of using buffer-file-name.
8160 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8162 * dired.el: Update autoloads.
8164 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8166 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8167 nxml-finish-element, for consistency with SGML mode.
8169 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8172 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8174 * composite.el: Require cl when compiling.
8175 (reference-point-alist, compose-gstring-for-graphic)
8176 (compose-gstring-for-terminal): Fix typos in docstrings.
8178 2010-05-19 Juri Linkov <juri@jurta.org>
8180 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8181 set-window-parameter.
8183 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8185 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8187 (tramp-maybe-open-connection): Use it.
8189 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8191 * simple.el (move-end-of-line): Make sure we are at line beginning
8192 before backing up to end of previous line.
8194 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8196 * password-cache.el (password-cache-remove): Fix docstring.
8198 * net/secrets.el: Autoload the widget functions.
8199 (secrets-search-items, secrets-create-item)
8200 (secrets-get-attributes, secrets-expand-item): Attributes will be
8201 stored on the password database without leading ":", as all other
8203 (secrets-mode): Fix docstring.
8204 (secrets-show-secrets): Provide it as autoloaded command only when
8205 D-Bus support is available. Check existence of Secret Service API.
8207 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * indent.el (indent-region): Deactivate region (bug#6200).
8211 2010-05-19 Glenn Morris <rgm@gnu.org>
8213 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8215 2010-05-19 Kenichi Handa <handa@m17n.org>
8217 * composite.el: Register compose-gstring-for-graphic in
8218 composition-function-table only for combining characters (Mn, Mc, Me).
8220 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8222 * calc/calc-trail.el (calc-trail-isearch-forward)
8223 (calc-trail-isearch-backward): Ensure that the new window
8224 point is set correctly.
8226 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * subr.el (read-quoted-char): Resolve modifiers after key
8229 remapping (bug#6212).
8231 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8233 Add visualization code for secrets.
8234 * net/secrets.el (secrets-mode): New major mode.
8235 (secrets-show-secrets, secrets-show-collections)
8236 (secrets-expand-collection, secrets-expand-item)
8237 (secrets-tree-widget-after-toggle-function)
8238 (secrets-tree-widget-show-password): New defuns.
8240 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8242 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8243 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8244 handled in smie-next-sexp.
8245 (smie-indent-calculate): Provide a starting indentation (so the
8246 recursion is well-founded ;-).
8248 Fix handling of non-associative equal levels.
8249 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8250 when it's not needed.
8251 (smie-op-left, smie-op-right): New functions.
8252 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8253 Better handle equal levels to distinguish the associative case from
8254 the "multi-keyword construct" case.
8255 (smie-backward-sexp, smie-forward-sexp): Use it.
8257 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8259 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8261 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8262 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8264 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8266 Provide a simple generic indentation engine and use it for Prolog.
8267 * emacs-lisp/smie.el: New file.
8268 * progmodes/prolog.el (prolog-smie-op-levels)
8269 (prolog-smie-indent-rules): New var.
8270 (prolog-mode-variables): Use them to configure SMIE.
8271 (prolog-indent-line, prolog-indent-level): Remove.
8273 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8275 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8276 order before computing the averages.
8278 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8280 * calc/calc-vec.el (calc-histogram):
8281 (calcFunc-histogram): Allow vectors as inputs.
8282 (math-vector-avg): New function.
8284 * calc/calc-ext.el (math-group-float): Have the number of digits
8285 being grouped depend on the radix (Bug#6189).
8287 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8289 * version.el (emacs-copyright, emacs-version): Don't define here,
8290 now that emacs.c defines it.
8292 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8294 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8295 "Describe Language Environment" menu item.
8297 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8299 Bidi-sensitive movement with arrow keys.
8300 * subr.el (right-arrow-command, left-arrow-command): New functions.
8302 * bindings.el (global-map): Bind them to right and left arrow keys.
8304 Don't override standard definition of convert-standard-filename.
8305 * files.el (convert-standard-filename):
8306 Call w32-convert-standard-filename and dos-convert-standard-filename on
8307 the corresponding systems.
8309 * w32-fns.el (w32-convert-standard-filename): Rename from
8310 convert-standard-filename. Doc fix.
8312 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8313 (convert-standard-filename): Don't defalias.
8314 (register-name-alist, make-register, register-value)
8315 (set-register-value, intdos): Obsolete aliases for the
8316 corresponding dos-* functions and variables.
8317 (dos-intdos): Add a doc string.
8319 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8321 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8322 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8323 (math-compose-tex-func):
8324 * calc/calccomp.el (math-compose-expr):
8325 * calc/calc-ext.el (math-format-flat-expr-fancy):
8326 * calc/calc-store.el (calc-read-var-name):
8327 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8329 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8330 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8331 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8332 (math-standard-units): Add units.
8334 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * progmodes/asm-mode.el (asm-mode):
8337 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8339 * pcomplete.el (pcomplete-completions-at-point): New function,
8340 extracted from pcomplete-std-complete.
8341 (pcomplete-std-complete): Use it.
8343 2010-05-15 Glenn Morris <rgm@gnu.org>
8345 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8346 Remove references to CVS, RCS and Old directories.
8348 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8350 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8353 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8355 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8356 (sh-mode-syntax-table): Give it a default value instead.
8357 (sh-header-marker): Make buffer-local.
8358 (sh-mode): Move make-local-variable to the corresponding setq.
8359 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8360 Use complete-with-action.
8362 * simple.el (prog-mode): New (abstract) major mode.
8363 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8364 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8366 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8368 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8369 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8370 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8371 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8372 (sql-escape-newlines-filter, sql-input-sender)
8373 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8375 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8377 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8379 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8380 latex-open-block and C-c / to latex-close-block.
8382 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8383 and C-c C-e to sgml-close-tag.
8385 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8387 * net/tramp.el (with-progress-reporter): Create reporter object
8388 only when the message would be displayed. Handle nested calls.
8389 (tramp-handle-load, tramp-handle-file-local-copy)
8390 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8391 (tramp-maybe-send-script, tramp-find-shell):
8392 Use `with-progress-reporter'.
8393 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8396 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8397 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8398 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8399 Use `with-progress-reporter'.
8401 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8403 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8404 process everytime when spellchecking from the minibuffer (bug#6143).
8406 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8408 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8410 * dos-fns.el: Add "dos-" prefix for namespace control.
8411 (convert-standard-filename): Define as alias for
8412 dos-convert-standard-filename but only if applicable.
8414 2010-05-12 Alan Mackenzie <acm@muc.de>
8416 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8417 Push the mark at the start of these functions when appropriate.
8419 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * minibuffer.el (completion-cycle-threshold): New custom var.
8422 (completion--do-completion): Use it.
8423 (minibuffer-complete): Use cycling if appropriate.
8425 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8427 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8428 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8430 2010-05-11 Juri Linkov <juri@jurta.org>
8432 * scroll-all.el (scroll-all-check-to-scroll):
8433 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8435 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8437 * iimage.el (iimage-mode-map): Move initialization into declaration.
8438 (iimage-mode-buffer): Use with-silent-modifications.
8439 Simplify calling convention. Adjust callers.
8440 (iimage-mode): Don't run hook redundantly.
8442 * minibuffer.el (completion-pcm--pattern->regex):
8443 Fix last change (bug#6160).
8445 2010-05-10 Juri Linkov <juri@jurta.org>
8447 Remove nodes visited during Isearch from the Info history.
8448 * info.el (Info-isearch-initial-history)
8449 (Info-isearch-initial-history-list): New variables.
8450 (Info-isearch-start): Record initial values of
8451 Info-isearch-initial-history and Info-isearch-initial-history-list.
8452 Add Info-isearch-end to isearch-mode-end-hook.
8453 (Info-isearch-end): New function.
8455 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8457 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8458 format string, in order to work around a bug in pdksh.
8459 Reported by Gilles Pion <gpion@lfdj.com>.
8460 (tramp-handle-verify-visited-file-modtime): Do not send a command
8461 when the connection is not established.
8462 (tramp-handle-set-file-times): Simplify the check for utc.
8464 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8466 Fix use of `filter-buffer-substring' (rework previous change).
8467 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8468 (cua-repeat-replace-region):
8469 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8470 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8471 (cua-cut-region-to-global-mark): Use it.
8473 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8475 * progmodes/sql.el: Version 2.1.
8476 (sql-product-alist): Redesign structure of product info.
8477 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8478 (sql-port, sql-port-history): New variables.
8479 (sql-interactive-product): New variable.
8480 (sql-send-terminator): New variable.
8481 (sql-imenu-generic-expression): Add "Types" imenu entry.
8482 (sql-oracle-login-params, sql-sqlite-login-params)
8483 (sql-mysql-login-params, sql-solid-login-params)
8484 (sql-sybase-login-params, sql-informix-login-params)
8485 (sql-ingres-login-params, sql-ms-login-params)
8486 (sql-postgres-login-params, sql-interbase-login-params)
8487 (sql-db2-login-params, sql-linter-login-params)
8488 (sql-oracle-scan-on): New variables.
8489 (sql-mode-map): Add C-c C-i to start interactive mode.
8490 (sql-mode-menu): Update existing menu entries.
8491 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8492 (sql-mode-oracle-font-lock-keywords)
8493 (sql-mode-postgres-font-lock-keywords)
8494 (sql-mode-ms-font-lock-keywords)
8495 (sql-mode-sybase-font-lock-keywords)
8496 (sql-mode-informix-font-lock-keywords)
8497 (sql-mode-interbase-font-lock-keywords)
8498 (sql-mode-ingres-font-lock-keywords)
8499 (sql-mode-solid-font-lock-keywords)
8500 (sql-mode-mysql-font-lock-keywords)
8501 (sql-mode-sqlite-font-lock-keywords)
8502 (sql-mode-db2-font-lock-keywords)
8503 (sql-mode-linter-font-lock-keywords): Update initialization to
8504 reduce run-time complexity.
8505 (sql-add-product, sql-del-product): New functions.
8506 (sql-set-product-feature, sql-get-product-feature): New functions.
8507 (sql-product-font-lock): Update product API.
8508 (sql-add-product-keywords): New function.
8509 (sql-highlight-product): Update product API.
8510 (sql-help-list-products): New function.
8511 (sql-help): Dynamically lists free and non-free products.
8512 (sql-get-login): Correct bug in handling history and added
8514 (sql-copy-column): Copy without properties.
8515 (sqli-input-sender): Apply filters to SQLi input.
8516 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8517 Implement as a filter.
8518 (sql-escape-newlines-filter): Implement as a filter.
8519 (sql-remove-tabs-filter): New function.
8520 (sql-send-magic-terminator): New function.
8521 (sql-send-string): Implement magic terminator.
8522 (sql-send-region): Use `sql-send-string'.
8523 (sql-interactive-mode): Use product API.
8524 (sql-product-interactive): Use product API.
8525 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8526 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8527 (sql-db2, sql-linter): Use `sql-product-interactive'.
8528 (sql-connect): New function.
8529 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8530 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8531 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8532 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8535 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8538 New custom variable.
8539 (completion-pcm--string->pattern): Use it.
8540 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8541 Make it handle any symbol as `any'.
8542 (completion-pcm--merge-completions): Extract common suffix for the new
8543 `prefix' symbol as well.
8544 (completion-substring--all-completions): Use the new `prefix' symbol.
8546 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8548 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8550 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8551 (tramp-compat-funcall): New defmacro.
8552 (tramp-compat-line-beginning-position)
8553 (tramp-compat-line-end-position)
8554 (tramp-compat-temporary-file-directory)
8555 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8556 (tramp-compat-copy-file, tramp-compat-copy-directory)
8557 (tramp-compat-delete-file, tramp-compat-delete-directory)
8558 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8559 * net/tramp.el (top, with-progress-reporter)
8560 (tramp-rfn-eshadow-setup-minibuffer)
8561 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8562 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8563 (tramp-completion-mode-p, tramp-check-for-regexp)
8564 (tramp-open-connection-setup-interactive-shell)
8565 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8566 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8567 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8568 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8569 (tramp-reporter-dump-variable, tramp-load-report-modules)
8570 (tramp-append-tramp-buffers)
8571 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8573 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8575 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8577 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8578 buffer-modtime. Adjust users.
8580 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8582 * international/mule.el (auto-coding-alist): Only purecopy
8583 car of each item, not the whole list (Bug#6083).
8585 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8587 * progmodes/js.el (js-mode): Make paragraph variables local before
8588 calling c-setup-paragraph-variables (Bug#6071).
8590 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8592 * composite.el (compose-region, reference-point-alist): Fix typos
8595 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8597 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8598 gnuplot's "set" command.
8600 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8602 * abbrev.el (last-abbrev-text): Doc fix.
8603 (abbrev-prefix-mark): Don't escape parenthesis.
8605 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8607 * composite.el (find-composition): Doc fix.
8609 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8611 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8612 (sql-oracle-program, sql-sqlite-options)
8613 (sql-query-placeholders-and-send): Doc fixes.
8614 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8615 (sql-imenu-generic-expression, sql-buffer)
8616 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8617 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8618 (sql-mode-sybase-font-lock-keywords)
8619 (sql-mode-informix-font-lock-keywords)
8620 (sql-mode-interbase-font-lock-keywords)
8621 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8622 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8623 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8624 (sql-product-feature, sql-highlight-product)
8625 (comint-line-beginning-position, sql-rename-buffer)
8626 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8627 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8628 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8629 Fix typos in docstrings.
8631 2010-05-08 Juri Linkov <juri@jurta.org>
8633 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8634 property instead of `invisible' and `after-string' (bug#5998).
8636 2010-05-08 Juri Linkov <juri@jurta.org>
8638 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8640 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8642 * filecache.el (file-cache-add-directory-list)
8643 (file-cache-add-directory-recursively): Fix typos in docstrings.
8645 2010-05-08 Kenichi Handa <handa@m17n.org>
8647 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8648 (gujarati-composable-pattern): Fix typo.
8650 2010-05-08 Kenichi Handa <handa@m17n.org>
8652 * language/indian.el (oriya-composable-pattern)
8653 (tamil-composable-pattern, malayalam-composable-pattern):
8654 Add two-part vowels to "v" (vowel sign).
8656 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8658 * files.el (copy-directory): Handle symlinks (Bug#5982).
8660 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8662 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8663 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8666 2010-05-08 Glenn Morris <rgm@gnu.org>
8668 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8670 * minibuffer.el (completion-at-point): Doc fix.
8672 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * electric.el (Electric-command-loop): Minor tweak.
8676 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8677 better with dedicated windows.
8679 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8681 * Version 23.2 released.
8683 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8684 Stefan Monnier <monnier@iro.umontreal.ca>
8686 Highlight vendor specific properties.
8687 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8688 (css-proprietary-property): New face.
8689 (css-font-lock-keywords): Use them.
8691 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8693 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8695 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8698 * files.el (auto-mode-alist): Remove redundant entries.
8700 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8701 * simple.el (auto-save-mode): Move from files.el.
8702 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8704 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8706 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8708 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8710 * mail/binhex.el (binhex-decode-region-internal)
8711 * mail/uudecode.el (uudecode-decode-region-internal)
8712 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8713 (dns-read-type, dns-query)
8714 * pgg-parse.el (pgg-parse-armor)
8715 * pgg.el (pgg-verify-region)
8716 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8719 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8721 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8723 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8725 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8726 * emulation/cua-base.el (cua-repeat-replace-region):
8727 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8728 (cua-cut-region-to-global-mark):
8729 Remove text properties with `set-text-properties'.
8731 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8733 * net/tramp.el (top, with-progress-reporter):
8734 Use `symbol-function' inside `funcall'.
8736 * net/tramp-compat.el (tramp-compat-file-attributes)
8737 (tramp-compat-delete-file, tramp-compat-delete-directory):
8738 Handle only `wrong-number-of-arguments' error.
8740 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8741 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8744 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * minibuffer.el (completion--sreverse, completion--common-suffix):
8748 (completion-pcm--merge-completions): Extract common suffix when safe.
8750 * emacs-lisp/easy-mmode.el (define-minor-mode):
8751 Make :variable more flexible.
8752 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8754 2010-05-05 Juri Linkov <juri@jurta.org>
8756 Add `slow' and `history' tags to the desktop data.
8758 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8759 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8760 (Info-finder-find-node): Require `finder.el' to be able
8761 to restore node from the desktop.
8762 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8763 data `Info-history' and `slow' tag in the assoc list.
8764 (Info-restore-desktop-buffer): Don't restore nodes with the
8765 `slow' tag. Restore `Info-history'.
8767 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8769 Add FORCE argument to `delete-file'.
8771 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8772 forcing to delete the temporary file.
8773 (ange-ftp-delete-file): Add FORCE arg.
8774 (ange-ftp-rename-remote-to-remote)
8775 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8776 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8777 Force file deletion.
8779 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8781 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8782 (tramp-handle-make-symbolic-link, tramp-handle-load)
8783 (tramp-do-copy-or-rename-file-via-buffer)
8784 (tramp-do-copy-or-rename-file-directly)
8785 (tramp-do-copy-or-rename-file-out-of-band)
8786 (tramp-handle-process-file, tramp-handle-call-process-region)
8787 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8788 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8789 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8791 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8792 (tramp-fish-handle-make-symbolic-link)
8793 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8795 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8796 Use `tramp-compat-delete-file'.
8798 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8799 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8801 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8802 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8804 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8805 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8806 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8807 Use `tramp-compat-delete-file'.
8809 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8812 * subr.el (add-minor-mode): Use push.
8813 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8814 * emulation/edt.el (edt-select-mode): Simplify.
8816 Use define-minor-mode in more cases.
8817 * term/tvi970.el (tvi970-set-keypad-mode):
8818 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8819 (normal-erase-is-backspace-mode):
8820 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8821 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8822 (get-scroll-bar-mode): New function.
8823 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8825 Use define-minor-mode for less obvious cases.
8826 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8827 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8828 * international/iso-ascii.el (iso-ascii-mode):
8829 * frame.el (auto-raise-mode, auto-lower-mode):
8830 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8832 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8834 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8835 in order to see error messages for failed logins.
8837 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8839 * diff.el (diff-sentinel):
8841 * epg.el (epg--make-temp-file, epg-decrypt-string)
8842 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8844 * jka-compr.el (jka-compr-partial-uncompress)
8845 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8847 * server.el (server-sentinel): Use delete-file's new FORCE arg
8850 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8852 Use define-minor-mode where applicable.
8853 * view.el (view-mode):
8854 * type-break.el (type-break-query-mode)
8855 (type-break-mode-line-message-mode):
8856 * textmodes/reftex.el (reftex-mode):
8857 * term/vt100.el (vt100-wide-mode):
8858 * tar-mode.el (tar-subfile-mode):
8859 * savehist.el (savehist-mode):
8860 * ibuf-ext.el (ibuffer-auto-mode):
8861 * composite.el (auto-composition-mode):
8862 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8863 Use define-minor-mode.
8864 (vhdl-mode): Use static mode-line format.
8865 (vhdl-mode-line-update): Delete.
8866 (vhdl-create-mode-menu, vhdl-activate-customizations)
8867 (vhdl-hs-minor-mode): Don't bother calling it.
8869 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * simple.el (with-wrapper-hook): Move.
8872 (buffer-substring-filters): Mark obsolete.
8873 (filter-buffer-substring-functions): New variable.
8874 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8876 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8877 Michael Albinus <michael.albinus@gmx.de>
8879 Implement compression for inline methods.
8881 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8882 (tramp-copy-size-limit): Allow also nil.
8883 (tramp-inline-compress-commands): New defconst.
8884 (tramp-find-inline-compress, tramp-get-inline-compress)
8885 (tramp-get-inline-coding): New defuns.
8886 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8887 replaced by `tramp-get-inline-coding'.
8888 (tramp-handle-file-local-copy, tramp-handle-write-region)
8889 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8891 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8893 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8894 Remove unused functions.
8896 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8897 Set find-tag-default-function as a variable rather than a property.
8899 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8900 * progmodes/etags.el (tags-completion-at-point-function):
8901 Remove left over interactive spec. Add autoloading stub.
8902 (complete-tag): Use tags-completion-at-point-function.
8904 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8906 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8908 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8910 * ido.el (ido-init-completion-maps): Remove C-v binding.
8911 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8913 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8915 * minibuffer.el (tags-completion-at-point-function): New function.
8916 (completion-at-point-functions): Use it.
8918 * progmodes/etags.el (complete-tag): Revert last change.
8920 2010-04-29 Alan Mackenzie <acm@muc.de>
8922 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8923 off-by-one error (in end of macro position).
8925 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8928 firefox is absent. Don't autoload.
8929 (browse-url-galeon-program): Don't autoload.
8931 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8933 * bindings.el (complete-symbol): Move into minibuffer.el.
8935 * minibuffer.el (complete-tag): Move from etags.el. If tags
8936 completion cannot be performed, return nil instead of signalling
8938 (completion-at-point): Make it an alias for complete-symbol.
8939 (complete-symbol): Move from bindings.el, and replace with the
8940 body of completion-at-point.
8942 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8944 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8946 * net/tramp.el (tramp-remote-selinux-p): New defun.
8947 (tramp-handle-file-selinux-context)
8948 (tramp-handle-set-file-selinux-context): Use it.
8950 2010-04-28 Sam Steingold <sds@gnu.org>
8952 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8953 `safe-local-variable' if the value is a string or a symbol with
8954 the property `bug-reference-url-format'.
8956 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8958 * progmodes/bug-reference.el (bug-reference-url-format):
8959 Revert 2010-04-27 change due to security risk.
8961 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8963 Make it possible to locally disable a globally enabled mode.
8964 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8965 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8966 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8967 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8968 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8969 that subsequent hooks get a chance to disable it.
8971 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8974 Avoid re-enabling a minor mode after the user turned the minor mode
8975 off if MODE-enable-in-buffers is run twice (typically once from
8976 fundamental-mode's after-change-major-mode-hook and a second time from
8977 run-mode-hook's own after-change-major-mode-hook).
8979 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8981 2010-04-27 Sam Steingold <sds@gnu.org>
8983 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8984 `safe-local-variable' if the value is a string or a function, as
8985 documented and implemented on 2010-04-02.
8987 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8989 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8990 when method is 'kill.
8992 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8994 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8995 condition in default directory check.
8996 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8997 Kill ispell process when killing its associated buffer.
8999 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9001 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9002 but we aren't using it.
9004 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9006 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9007 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9009 2010-04-24 Glenn Morris <rgm@gnu.org>
9011 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9012 Ignore VCS-ignore files, and deleted nextstep preferences files.
9013 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9014 (authors-ambiguous-files): New list.
9015 (authors-valid-file-names): Add some deleted files.
9016 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9017 (authors-disambiguate-file-name): New function. (Bug#5501)
9018 (authors-canonical-file-name): Doc fix.
9019 Don't warn about obsolete files.
9020 (authors-canonical-file-name, authors-scan-el):
9021 Use authors-disambiguate-file-name.
9023 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9024 Add autoload cookies.
9025 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9026 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9027 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9028 They have definitions / compiler macros in cl.el.
9029 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9030 Replace manual autoloads with generated ones.
9031 (htmlfontify-unload-rgb-file): Remove autoload.
9032 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9034 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9036 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9037 (byte-compile-setq-default): Optimize for the
9038 single-var case and don't call byte-compile-form in this case to avoid
9039 inf-loop with byte-compile-set-default.
9041 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9043 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9045 Implement SELINUX backends.
9047 * net/tramp.el (tramp-file-name-handler-alist):
9048 Add `file-selinux-context' and `set-file-selinux-context'.
9049 (tramp-handle-file-selinux-context)
9050 (tramp-handle-set-file-selinux-context): New defuns.
9051 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9052 Handle PRESERVE-SELINUX-CONTEXT.
9054 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9055 Add `file-selinux-context' and `set-file-selinux-context'.
9056 (tramp-gvfs-handle-file-selinux-context)
9057 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9058 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9060 * net/ange-ftp.el (ange-ftp-copy-file):
9061 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9062 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9063 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9064 Add PRESERVE-SELINUX-CONTEXT.
9066 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9068 Synchronize with Tramp repository.
9070 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9071 (tramp-action-process-alive, tramp-action-out-of-band)
9072 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9073 (tramp-exists-file-name-handler): Fix docstring.
9074 (with-progress-reporter): New defmacro.
9075 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9076 (tramp-maybe-open-connection): Use it.
9078 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9080 Detect ssh 'ControlMaster' argument automatically in some cases.
9082 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9083 (tramp-default-method): Use it.
9085 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9087 * net/tramp.el (tramp-handle-copy-file): Add new optional
9088 parameter `preserve-selinux-context'.
9089 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9091 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9093 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9094 Ensure, that non remote files are still checked. Oops.
9096 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9100 * icomplete.el (icomplete-completions): Use `non-essential'.
9102 * net/tramp.el (tramp-connectable-p): New defun.
9103 (tramp-handle-expand-file-name)
9104 (tramp-completion-handle-file-name-all-completions)
9105 (tramp-completion-handle-file-name-completion): Use it.
9107 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9109 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9111 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9113 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9115 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9117 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9120 * info.el (info-tool-bar-map): Add labels.
9122 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9124 * cus-edit.el (custom-commands): Add labels for tool bar.
9125 (custom-buffer-create-internal, Custom-mode): Adjust for
9126 labels in custom-commands.
9128 * dynamic-setting.el: Renamed from font-setting.el.
9130 2010-04-21 John Wiegley <jwiegley@gmail.com>
9132 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9133 toggles the use of virtual buffers.
9134 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9135 (ido-toggle-virtual-buffers): New function.
9137 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9139 Use `define-derived-mode'; fix window selection; doc fixes.
9140 * play/tetris.el (tetris, tetris-update-speed-function)
9141 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9142 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9143 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9144 (tetris-pause-game): Fix typos in docstrings.
9145 (tetris-mode-map, tetris-null-map):
9146 Move initialization into declaration.
9147 (tetris-mode): Define with `define-derived-mode';
9148 set show-trailing-whitespace to nil.
9149 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9151 2010-04-21 Karel Klíč <kklic@redhat.com>
9153 * files.el (backup-buffer): Handle SELinux context, and return it
9154 if a backup was made by renaming.
9155 (backup-buffer-copy): Set SELinux context to the target file.
9156 (basic-save-buffer): Set SELinux context of the newly written file.
9157 (basic-save-buffer-1): Now it also returns any SELinux context.
9158 (basic-save-buffer-2): Set SELinux context of the newly created file,
9160 * net/tramp.el (tramp-file-name-for-operation):
9161 Add file-selinux-context.
9163 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9165 Make the log-edit comments use RFC822 format throughout.
9167 * vc.el (vc-checkin, vc-modify-change-comment):
9168 Adjust to new vc-start/finish-logentry.
9169 (vc-find-conflicted-file): New command.
9170 (vc-transfer-file): Adjust to new vc-checkin.
9171 (vc-next-action): Improve scoping.
9173 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9174 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9176 * vc-git.el (vc-git-log-edit-mode): Remove.
9177 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9178 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9180 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9181 (vc-start-logentry): Remove argument `extra'.
9182 (vc-finish-logentry): Remove extra args.
9184 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9185 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9186 (vc-bzr-conflicted-files): New function.
9188 * log-edit.el (log-edit-extra-flags)
9189 (log-edit-before-checkin-process): Remove.
9190 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9191 (log-edit-headers-alist): New var.
9192 (log-edit-header-contents-regexp): New const.
9193 (log-edit-match-to-eoh): New function.
9194 (log-edit-font-lock-keywords): Use them.
9195 (log-edit): Insert a "Summary:" header as default.
9196 (log-edit-mode): Mark font-lock rules as case-insensitive.
9197 (log-edit-done): Cleanup headers.
9198 (log-view-process-buffer): Remove.
9199 (log-edit-extract-headers): New function to replace it.
9201 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9203 * subr.el (default-direction-reversed): Remove obsolescence info.
9205 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9210 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9211 I.e. include text after point in the completion region.
9212 Also, return nil when we're not after/in a symbol.
9214 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9215 default enable-multibyte-characters.
9217 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9219 * international/mule.el: Help the user choose a valid coding-system.
9220 (read-buffer-file-coding-system): New function.
9221 (set-buffer-file-coding-system): Use it. Prompt the user if the
9222 coding-system cannot encode all the chars.
9224 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9225 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9226 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9227 Don't use *vc-bzr-shelve*.
9229 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9231 Fix the version number for added files.
9232 * vc-hg.el (vc-hg-working-revision): Check if the file is
9233 registered after hg parent fails (Bug#5961).
9235 2010-04-19 Glenn Morris <rgm@gnu.org>
9237 * htmlfontify.el (htmlfontify-buffer)
9238 (htmlfontify-copy-and-link-dir): Autoload entry points.
9240 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9242 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9243 name relative to the project root (Bug#5960).
9245 2010-04-19 Glenn Morris <rgm@gnu.org>
9247 * vc-git.el (vc-git-print-log): Doc fix.
9249 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9251 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9253 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9255 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9256 default settings (Bug#5928).
9258 2010-04-19 Glenn Morris <rgm@gnu.org>
9260 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9262 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9264 2010-04-19 Kenichi Handa <handa@m17n.org>
9266 * language/indian.el (malayalam-composable-pattern): Fix previous
9267 change (add U+0D4D "SIGN VIRAMA").
9268 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9269 (tamil-composable-pattern): Fix typo in the regexp.
9270 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9271 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9272 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9274 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9276 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9277 paragraph-separate (Bug#5821).
9279 2010-04-19 Juri Linkov <juri@jurta.org>
9281 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9283 * info.el (Info-find-node-2): Comment out code that skips
9285 (Info-mouse-follow-link): New command.
9286 (Info-link-keymap): New keymap.
9287 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9288 Return a string with links instead of inserting breadcrumbs
9290 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9291 Instead of putting the `invisible' text property over the Info
9292 header, make an overlay over the Info header with the `invisible'
9293 property and `after-string' set to the string returned by
9296 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9298 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9299 Reported by monkey@sandpframing.com.
9301 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9304 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9305 available in the "keyseq cache" any more.
9307 * custom.el (defcustom): Add edebug spec.
9309 2010-04-18 Juri Linkov <juri@jurta.org>
9311 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9313 * view.el (view-file, view-buffer): Move test for special mode-class
9314 from view-file to view-buffer.
9316 * tar-mode.el (tar-extract): Turn if's into one cond
9317 like in arc-mode.el.
9319 2010-04-18 Juri Linkov <juri@jurta.org>
9321 Add 7z archive format support (bug#5475).
9323 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9324 (archive-7z-extract): New defcustom.
9325 (archive-find-type): Add magic string for 7z.
9326 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9327 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9328 `buffer' arg of `call-process'.
9329 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9330 call the function `archive-7z-extract' with the variable
9331 `archive-7z-extract' let-bound to `archive-zip-extract'.
9332 (archive-7z-summarize, archive-7z-extract): New functions.
9334 * international/mule.el (auto-coding-alist):
9335 * files.el (auto-mode-alist): Add 7z file extension.
9337 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * loadup.el: Setup hash-cons for pure data.
9341 Fix duplicate entries in cedet's loaddefs.el files.
9342 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9343 Should make most file-local generated-autoload-file unnecessary.
9344 (print-readably): Silence warnings.
9345 (autoload-find-destination): Take load-name as an arg to make sure
9346 it's the same as the one that will be in the file.
9347 (autoload-generate-file-autoloads): Adjust to above changes.
9348 Try to make the dataflow a bit simpler.
9350 * cvs-status.el (cvs-refontify): Remove unused.
9352 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9354 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9356 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9357 twos-complement mode.
9359 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9361 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9362 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9363 (calc-inverse): Add "Option" to message, as appropriate.
9364 (calc-hyperbolic): Add "Option" to message, as appropriate.
9365 (calc-option, calc-is-option): New functions.
9367 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9368 (calc-option-prefix-help): New function.
9370 * calc/calc-misc.el (calc-help): Add "Option" entry.
9372 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9373 (calc-option-flag): New variable.
9374 (calc-do): Set `calc-option-flag to nil.
9375 (calc-set-mode-line): Add "Opt " as appropriate.
9377 2010-04-16 Juri Linkov <juri@jurta.org>
9379 Move scrolling commands from simple.el to window.el
9380 because their primitives are implemented in window.c.
9382 * simple.el (scroll-error-top-bottom)
9383 (scroll-up-command, scroll-down-command, scroll-up-line)
9384 (scroll-down-line, scroll-other-window-down)
9385 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9386 * window.el (scroll-error-top-bottom)
9387 (scroll-up-command, scroll-down-command, scroll-up-line)
9388 (scroll-down-line, scroll-other-window-down)
9389 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9390 Move from simple.el to window.el because their primitives are
9391 implemented in window.c.
9393 2010-04-16 Juri Linkov <juri@jurta.org>
9395 * isearch.el (isearch-lookup-scroll-key): Check both
9396 `isearch-scroll' and `scroll-command' properties.
9397 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9399 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9401 * simple.el (scroll-up-command, scroll-down-command)
9402 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9404 2010-04-15 Juri Linkov <juri@jurta.org>
9406 * simple.el (scroll-up-command, scroll-down-command)
9407 (scroll-up-line, scroll-down-line): Put `scroll-command'
9408 property on the these symbols. Remove them from
9409 `scroll-preserve-screen-position-commands'.
9411 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9412 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9413 Remove it from `scroll-preserve-screen-position-commands'.
9415 * isearch.el (isearch-allow-scroll): Doc fix.
9417 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9419 * net/tramp.el (tramp-error-with-buffer): Don't show the
9420 connection buffer when we are in completion mode.
9421 (tramp-file-name-handler): Catch the error for some operations
9422 when we are in completion mode. This gives the user the chance to
9423 correct the file name in the minibuffer.
9425 2010-04-15 Glenn Morris <rgm@gnu.org>
9427 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9429 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9431 Simplify by using `define-derived-mode'.
9432 * info.el (Info-mode):
9433 * calendar/todo-mode.el (todo-mode):
9434 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9435 (gomoku-mode-map): Move initialization into declaration.
9437 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9440 * ido.el (ido-file-name-all-completions-1):
9441 * minibuffer.el (minibuffer-completion-help):
9442 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9444 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * simple.el (non-essential): New var.
9448 Add a new field `location' to bookmarks for non-file bookmarks.
9449 * bookmark.el (bookmark-location): Use the new field, if present.
9450 (bookmark-insert-location): Undo last change, not needed any more.
9451 * man.el (Man-bookmark-make-record):
9452 * woman.el (woman-bookmark-make-record): Add `location' field.
9454 2010-04-14 Juri Linkov <juri@jurta.org>
9456 * simple.el (scroll-error-top-bottom): New defcustom.
9457 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9459 * emulation/pc-select.el (pc-select-override-scroll-error):
9460 Obsolete in favor of `scroll-error-top-bottom'.
9462 2010-04-14 Juri Linkov <juri@jurta.org>
9464 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9465 `scroll-up-command' and `M-v' to `scroll-down-command'.
9467 * emulation/cua-rect.el (cua--init-rectangles):
9468 * forms.el (forms--change-commands):
9469 * image-mode.el (image-mode-map):
9470 Remap scroll-down-command and scroll-up-command
9471 in addition to scroll-down and scroll-up.
9473 2010-04-14 Juri Linkov <juri@jurta.org>
9475 * mwheel.el (scroll-preserve-screen-position-commands):
9476 Add mwheel-scroll to this list of commands.
9478 * simple.el (scroll-preserve-screen-position-commands):
9479 Add scroll-up-command, scroll-down-command, scroll-up-line,
9480 scroll-down-line to this list of commands.
9482 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * obsolete/complete.el: Move from lisp/complete.el.
9486 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9488 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9489 to the minor mode function now turns the mode ON unconditionally.
9491 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9493 * vc-dir.el (vc-dir-kill-line): New command.
9494 (vc-dir-mode-map): Bind it to C-k.
9496 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9498 * woman.el: Add bookmark declarations to silence the compiler.
9499 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9500 step to compatibility between man and woman bookmarks.
9501 Adjust for Man-default-bookmark-title renaming.
9502 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9504 * man.el: Add bookmark declarations to silence the compiler.
9505 (Man-name-local-regexp): Make it match NAME as well.
9506 (Man-getpage-in-background): Return the buffer.
9507 (Man-notify-when-ready): Use `case'.
9508 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9509 Don't hardcode "NAME". Simplify.
9510 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9511 Rename from Man-bookmark-make-record.
9512 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9513 we have the actual man-args. Use Man-getpage-in-background rather
9514 than `man' since the arg is already processed. Let bookmark.el do the
9515 window handling. Only wait for the relevant process.
9516 Don't forget to autoload.
9518 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9520 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9522 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9524 (woman-mode): Setup bookmark support.
9526 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9527 (man-bookmark-jump): New functions.
9528 (Man-mode): Setup bookmark support.
9530 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9532 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9533 recognize ssh-keygen prompt (Bug#2817).
9535 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9537 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9539 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9541 Synchronize with Tramp repository.
9543 * net/tramp.el (tramp-completion-function-alist)
9544 (tramp-file-name-regexp, tramp-chunksize)
9545 (tramp-local-coding-commands, tramp-remote-coding-commands):
9547 (tramp-remote-process-environment): Use `format' instead of `concat'.
9548 (tramp-handle-directory-files-and-attributes)
9549 (tramp-get-remote-path): Use `copy-tree'.
9550 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9551 compatibility: Use `completion-ignore-case' if
9552 `read-file-name-completion-ignore-case' does not exist.
9553 (tramp-do-copy-or-rename-file-directly): Do not use
9554 `tramp-handle-file-remote-p'.
9555 (tramp-do-copy-or-rename-file-out-of-band):
9556 Use `tramp-compat-delete-directory'.
9557 (tramp-do-copy-or-rename-file-out-of-band)
9558 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9559 Use `format-spec-make'.
9560 (tramp-find-foreign-file-name-handler)
9561 (tramp-advice-make-auto-save-file-name)
9562 (tramp-set-auto-save-file-modes): Remove superfluous check for
9563 `stringp'. This is done inside `tramp-tramp-file-p'.
9564 (tramp-debug-outline-regexp): New defconst.
9565 (tramp-get-debug-buffer): Use it.
9566 (tramp-check-for-regexp): Use (forward-line 1).
9567 (tramp-set-auto-save-file-modes): Adapt version check.
9569 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9570 Wrap call of `featurep' for 2nd argument.
9571 (tramp-compat-make-temp-file): Simplify fallback implementation.
9572 (tramp-compat-copy-tree): Remove function.
9573 (tramp-compat-delete-directory): Provide implementation for older
9576 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9577 Do not use `tramp-fish-handle-file-attributes.
9579 * net/trampver.el: Update release number.
9581 2010-04-10 Glenn Morris <rgm@gnu.org>
9583 * progmodes/compile.el (compilation-save-buffers-predicate):
9584 Add missing :version tag.
9586 2010-04-09 Sam Steingold <sds@gnu.org>
9588 * progmodes/compile.el (compilation-save-buffers-predicate):
9589 Remove the "autoload" cookie.
9591 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9592 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9593 and `bug-reference-prog-mode' can be used in hooks directly.
9595 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9597 Add --author support to git commit.
9598 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9599 (vc-git-log-edit-mode): New minor mode.
9600 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9603 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9605 * vc-hooks.el, vc-git.el: Improve documentation comments.
9607 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9609 Fix some of the problems in defsubst* (bug#5728).
9610 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9611 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9613 2010-04-07 Sam Steingold <sds@gnu.org>
9615 * progmodes/compile.el (compilation-save-buffers-predicate):
9616 New custom variable.
9617 (compile, recompile): Pass it to `save-some-buffers'.
9619 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9621 * wid-edit.el (widget-choose): Move cursor to the second line of
9622 the buffer (Bug#5695).
9624 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9626 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9627 * vc.el (vc-print-log-setup-buttons): New function split out from
9628 vc-print-log-internal.
9629 (vc-log-internal-common): New function, a parametrized version of
9630 vc-print-log-internal.
9631 (vc-print-log-internal): Just call vc-log-internal-common with the
9633 (vc-incoming-outgoing-internal):
9634 (vc-log-incoming, vc-log-outgoing): New functions.
9635 (vc-log-view-type): New permanent local variable.
9637 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9639 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9640 of the dynamic bound vc-short-log.
9641 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9643 * vc-git.el (vc-git-log-outgoing): New function.
9644 (vc-git-log-view-mode): Use vc-log-view-type instead
9645 of the dynamic bound vc-short-log.
9647 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9648 of the dynamic bound vc-short-log. Highlight the tag.
9649 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9650 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9651 (vc-hg-incoming-mode): Remove.
9652 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9654 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9656 Fix default-directory for vc-root-diff.
9657 * vc.el (vc-root-diff): Bind default-directory to the root
9658 directory for the diff command.
9660 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9662 * progmodes/verilog-mode.el (verilog-forward-sexp):
9663 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9664 word keywords, suggested by Steve Pearlmutter.
9665 (verilog-pretty-declarations): Support lineup of declarations in
9667 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9668 fix bug for /* / comments.
9669 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9670 Speed up and simplfy as this is never called with a bound.
9671 (verilog-pretty-declarations): Enhance to line up declarations
9672 inside a parameter list, suggested by Alan Morgan.
9673 (verilog-pretty-expr): Tune assignment regular expression match
9674 string for corner cases; also use markers instead of character
9675 number as indent changes the later.
9677 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9679 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9681 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9682 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9683 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9684 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9687 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9688 1800-2009 keywords, including "global.".
9690 2010-04-06 John Wiegley <jwiegley@gmail.com>
9692 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9693 appearing in buffer list (if a live buffer name matched a recentf
9694 file basename). Should use uniquify to offer a real solution.
9696 2010-04-06 John Wiegley <jwiegley@gmail.com>
9698 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9699 comment to code, and add a :version tag.
9700 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9702 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9704 Enable recentf-mode if using virtual buffers.
9705 * ido.el (recentf-list): Declare for byte-compiler.
9706 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9707 (ido-make-buffer-list): Simplify.
9708 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9710 2010-04-05 Juri Linkov <juri@jurta.org>
9712 Scrolling commands which scroll a line instead of full screen.
9713 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9715 * simple.el (scroll-up-line, scroll-down-line): New commands.
9716 Put property isearch-scroll=t on them.
9718 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9721 2010-04-05 Juri Linkov <juri@jurta.org>
9723 Scrolling commands which do not signal errors at top/bottom.
9724 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9726 * simple.el (scroll-up-command, scroll-down-command): New commands.
9727 Put property isearch-scroll=t on them.
9729 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9730 `scroll-down-command' and [next] from `scroll-up' to
9731 `scroll-up-command'.
9733 * emulation/cua-base.el: Put property CUA=move on
9734 `scroll-up-command' and `scroll-down-command'.
9735 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9736 and `scroll-down-command' to `cua-scroll-down'.
9738 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9740 * help.el (describe-mode): Return nil.
9742 2010-04-04 John Wiegley <jwiegley@gmail.com>
9744 * ido.el (ido-use-virtual-buffers): New variable to indicate
9745 whether "virtual buffer" support is enabled for IDO.
9746 (ido-virtual): Face used to indicate virtual buffers in the list.
9747 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9748 exists, but a virtual buffer of that name does (which would be why
9749 it was in the list), recreate the buffer by reopening the file.
9750 (ido-make-buffer-list): If virtual buffers are being used, call
9751 `ido-add-virtual-buffers-to-list' before the make list hook.
9752 (ido-virtual-buffers): New variable which contains a copy of the
9753 current contents of the `recentf-list', albeit pared down for the
9754 sake of speed, and with proper faces applied.
9755 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9756 create a list of "virtual buffers" to present to the user in
9757 addition to the currently open set. Note that this logic could
9758 get rather slow if that list is too large. With the default
9759 `recentf-max-saved-items' of 200, there is little speed penalty.
9761 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9763 * font-lock.el: Require CL when compiling.
9764 (font-lock-turn-on-thing-lock): Use `case'.
9766 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9768 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9771 2010-04-02 Juri Linkov <juri@jurta.org>
9773 * ehelp.el (electric-help-orig-major-mode):
9774 New buffer-local variable.
9775 (electric-help-mode): Set it to original major-mode. Doc fix.
9776 (with-electric-help): Use `electric-help-orig-major-mode' instead
9777 of (default-value 'major-mode). Doc fix.
9778 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9780 2010-04-02 Sam Steingold <sds@gnu.org>
9782 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9783 `vc-hg-command' with a list of flags.
9785 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9786 Also accept "patch" and "RFE".
9787 (bug-reference-fontify): `bug-reference-url-format' can also be a
9788 function to be able to handle the bug kind.
9789 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9791 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9793 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9794 value to fboundp, it may not be a symbol.
9796 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9798 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9800 2010-03-31 Juri Linkov <juri@jurta.org>
9802 * simple.el (next-line, previous-line): Re-throw a signal
9803 with `signal' instead of using `ding'.
9804 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9806 2010-03-31 Juri Linkov <juri@jurta.org>
9808 * simple.el (keyboard-escape-quit): Raise deselecting the active
9809 region higher than exiting the minibuffer.
9810 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9812 2010-03-31 Juri Linkov <juri@jurta.org>
9814 * image.el (image-animated-p): Use `image-metadata' instead of
9815 `image-extension-data'. Get GIF extenstion data from metadata
9816 property `extension-data'.
9818 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9820 * simple.el (append-to-buffer): Simplify.
9822 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9824 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9825 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9827 2010-03-31 Kenichi Handa <handa@m17n.org>
9829 * language/sinhala.el (composition-function-table): Fix regexp for
9830 the new Unicode specification.
9832 * language/indian.el (devanagari-composable-pattern)
9833 (tamil-composable-pattern, kannada-composable-pattern)
9834 (malayalam-composable-pattern): Adjust for the new Unicode
9836 (bengali-composable-pattern, gurmukhi-composable-pattern)
9837 (gujarati-composable-pattern, oriya-composable-pattern)
9838 (telugu-composable-pattern): New variables to cope with the new
9839 Unicode specification. Use them in composition-function-table.
9841 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9843 Make tmm-menubar work for the Buffers menu again (bug#5726).
9844 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9845 vectors rather than cons cells, as used in menu-bar-update-buffers.
9847 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9849 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9850 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9851 electric punctuation for "{}();,:" (Bug#5586).
9853 * mail/sendmail.el (mail-default-directory): Doc fix.
9855 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9857 * mail/sendmail.el (mail-default-directory): Doc fix.
9859 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9861 * subr.el (version-regexp-alist, version-to-list)
9862 (version-list-<, version-list-=, version-list-<=)
9863 (version-list-not-zero, version<, version<=, version=): Doc fix.
9866 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9868 * vc.el (vc-root-diff): Doc fix.
9870 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9872 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9874 * simple.el (append-to-buffer): Fix last change.
9876 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9878 * simple.el (append-to-buffer): Ensure that point is preserved if
9879 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9882 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * files.el (auto-mode-case-fold): Change default to t.
9886 2010-03-30 Juri Linkov <juri@jurta.org>
9888 * dired-x.el (dired-omit-mode): Doc fix.
9890 2010-03-30 Juri Linkov <juri@jurta.org>
9892 * replace.el (occur-accumulate-lines): Move occur-engine related
9893 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9894 to be located after `occur-engine'.
9896 2010-03-30 Juri Linkov <juri@jurta.org>
9898 Make occur handle multi-line matches cleanly with context.
9899 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9901 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9902 (occur-engine): Add local variables `ret', `prev-after-lines',
9903 `prev-lines'. Use more arguments for `occur-context-lines'.
9904 Set first elem of its returned list to `data', and the second elem
9905 to `prev-after-lines'. Don't print the separator line.
9906 In the end, print remaining context after-lines.
9907 (occur-context-lines): Add new arguments `begpt', `endpt',
9908 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9909 after-lines of the previous match with before-lines of the
9910 current match and not overlap them. Return a list with two
9911 values: the output line and the list of context after-lines.
9913 2010-03-30 Juri Linkov <juri@jurta.org>
9915 * replace.el (occur-accumulate-lines): Fix a bug where the first
9916 context line at the beginning of the buffer was missing.
9918 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9920 * files.el: Make bidi-display-reordering safe variable for boolean
9923 2010-03-29 Phil Hagelberg <phil@evri.com>
9924 Chong Yidong <cyd@stupidchicken.com>
9926 * subr.el: Extend progress reporters to perform "spinning".
9927 (progress-reporter-update, progress-reporter-do-update):
9928 Handle non-numeric value arguments.
9929 (progress-reporter--pulse-characters): New var.
9931 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9933 * progmodes/compile.el (compilation-start): Fix regexp detection
9934 of initial cd command (Bug#5771).
9936 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9938 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9940 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9942 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9943 * progmodes/gdb-mi.el: Restore.
9944 * progmodes/gdb-ui.el: Remove.
9945 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9947 2010-03-25 Glenn Morris <rgm@gnu.org>
9949 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9950 all dired buffers, even tramp ones. (Bug#5755)
9952 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9954 Add "union tags" in mpc.el.
9955 * mpc.el: Remove backward compatibility code.
9956 (mpc-browser-tags): Change default.
9957 (mpc--find-memoize-union-tags): New var.
9958 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9959 (mpc-cmd-find): Handle the case where the playlist does not exist.
9961 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9962 (mpc-cmd-add): Use mpc-cmd-flush.
9963 (mpc-tagbrowser-tag-name): New fun.
9964 (mpc-tagbrowser-buf): Use it.
9965 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9967 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9971 Use replace-regexp-in-string.
9972 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9973 (makefile-imake-mode-syntax-table): Move init into defvar.
9974 (makefile-mode): Use define-derived-mode.
9976 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9977 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9978 not be present any more.
9980 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9982 * faces.el (set-face-attribute): Fix typo in docstring.
9983 (face-valid-attribute-values): Reflow docstring.
9985 2010-03-24 Glenn Morris <rgm@gnu.org>
9987 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9989 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9991 * indent.el (indent-for-tab-command): Doc fix.
9993 2010-03-24 Alan Mackenzie <acm@muc.de>
9995 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9996 Fix off-by-one error. Fixes bug #5747.
9998 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10000 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10001 (image-dired-read-comment): Doc fix.
10003 * json.el (json-object-type, json-array-type, json-key-type)
10004 (json-false, json-null, json-read-number):
10005 * minibuffer.el (completion-in-region-functions):
10006 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10007 (cal-tex-cursor-week):
10008 * emacs-lisp/trace.el (trace-function):
10009 * eshell/em-basic.el (eshell/printnl):
10010 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10011 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10012 * obsolete/levents.el (allocate-event, event-key, event-object)
10013 (event-point, event-process, event-timestamp, event-to-character)
10014 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10015 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10016 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10017 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10018 (reftex-highlight-selection): Fix typos in docstrings.
10020 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10022 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10024 2010-03-24 Glenn Morris <rgm@gnu.org>
10026 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10027 2008-02-13 without comment; mark it obsolete.
10028 (rmail-highlight-headers): Use rmail-highlight-face once more.
10030 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10032 * woman.el (woman2-process-escapes): Only consume the newline if
10033 the filler character is on a line by itself (Bug#5729).
10035 2010-03-24 Kenichi Handa <handa@m17n.org>
10037 * language/indian.el (devanagari-composable-pattern): Add more
10040 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10042 * net/trampver.el: Update release number.
10044 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10046 * net/tramp.el (tramp-find-executable):
10047 Use `tramp-get-connection-buffer'. Make the regexp for checking
10048 output of "wc -l" more robust.
10049 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10050 (tramp-open-connection-setup-interactive-shell): Remove workaround
10051 for OpenSolaris bug, it is not needed anymore.
10053 2010-03-24 Glenn Morris <rgm@gnu.org>
10055 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10057 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10059 * files.el (auto-mode-alist): Accept more verilog file patterns.
10061 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10065 2010-03-24 Glenn Morris <rgm@gnu.org>
10067 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10068 log-edit-before-checkin-process.
10070 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10072 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10074 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10075 (log-view-process-buffer, log-edit-extra-flags): Declare.
10077 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10079 2010-03-23 Sam Steingold <sds@gnu.org>
10081 Fix bug#5620: recalculate all markers on compilation buffer
10082 modifications, not on file modifications.
10083 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10084 variable: the buffer modification time, for buffers not associated with
10086 (compilation-mode): Create it.
10087 (compilation-filter): Update it.
10088 (compilation-next-error-function): Use it instead of
10089 `visited-file-modtime' for timestamp.
10091 2010-03-23 Juri Linkov <juri@jurta.org>
10093 Implement Occur multi-line matches.
10094 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10096 * replace.el (occur): Doc fix.
10097 (occur-engine): Set `begpt' to the beginning of the first line.
10098 Set `endpt' to the end of the last match line. At first, count
10099 line numbers between `origpt' and `begpt'. Split out code from
10100 `out-line' variable to new let-bindings `match-prefix' and
10101 `match-str'. In `out-line' add non-numeric prefix to all
10102 non-first lines of multi-line matches. Finally, count lines
10103 between `begpt' and `endpt' and add to `lines'.
10105 2010-03-23 Juri Linkov <juri@jurta.org>
10107 * replace.el (occur-accumulate-lines, occur-engine):
10108 Use `occur-engine-line' instead of duplicate code.
10109 (occur-engine-line): New function created from duplicate code
10110 in `occur-accumulate-lines' and `occur-engine'.
10112 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10113 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10115 2010-03-23 Juri Linkov <juri@jurta.org>
10117 * finder.el: Remove TODO tasks.
10119 * info.el (Info-finder-find-node): Add node "all"
10120 with all package info. Handle a list of multiple keywords
10121 separated by comma.
10122 (info-finder): In interactive use with a prefix argument,
10123 use `completing-read-multiple' to read a list of keywords
10124 separated by comma.
10126 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10128 Add a new completion style `substring'.
10129 * minibuffer.el (completion-basic--pattern): New function.
10130 (completion-basic-try-completion, completion-basic-all-completions):
10132 (completion-substring--all-completions)
10133 (completion-substring-try-completion)
10134 (completion-substring-all-completions): New functions.
10135 (completion-styles-alist): New style `substring'.
10137 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10139 Get rid of .elc files after removal of the corresponding .el.
10140 * Makefile.in (compile-clean): New target.
10141 (compile-main): Use it.
10143 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10145 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10146 don't do make there. When compiling with separate object dir, there
10147 is no Makefile there.
10149 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10151 Get rid of the ELCFILES abomination, again.
10152 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10153 (all, compile): Don't call compile-last.
10154 (compile-main): Build the "elcfiles" list dynamically.
10155 (compile-targets): New (internal) target.
10157 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10159 * Makefile.in (top_srcdir): Define.
10160 (abs_top_builddir): Define.
10161 (srcdir): Don't append `/..'.
10162 (EMACS): Use ${abs_top_builddir}.
10163 (all, compile, compile-always, compile-last): Don't set emacswd.
10164 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10166 (lisp): Use $(srcdir) instead of @srcdir@.
10168 2010-03-21 Juri Linkov <juri@jurta.org>
10170 Fix message of multi-line occur regexps and multi-buffer header lines.
10171 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10173 * replace.el (occur-1): Don't display regexp if it is longer
10174 than window-width. Use `query-replace-descr' to display regexp.
10175 (occur-engine): Don't display regexp in the buffer header for
10176 multi-buffer occur. Display a separate header line with total
10177 match count and regexp for multi-buffer occur.
10178 Use `query-replace-descr' to display regexp.
10180 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10182 * net/secrets.el: Fix parenthesis.
10183 (secrets-enabled): Fix parenthesis.
10185 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10187 Use more relative file and directory names.
10188 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10189 (setwins, setwins_almost, setwins_for_subdirs):
10190 Don't `cd'; output relative names.
10191 (all, compile, compile-always, compile-last): Set emacswd.
10192 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10193 Just cd to the lisp source dir so we can use relative file names.
10195 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10197 2010-03-20 Glenn Morris <rgm@gnu.org>
10199 * textmodes/rst.el: Use faces for font-lock customization, and make the
10200 old -face variables obsolete.
10201 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10202 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10203 (rst-block-face, rst-external-face, rst-definition-face)
10204 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10205 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10207 (rst-font-lock-keywords-function): Update for above changes.
10209 2010-03-20 Juri Linkov <juri@jurta.org>
10212 * obsolete/s-region.el: Move to obsolete.
10214 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10216 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10218 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10220 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10222 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10224 Add special markup processing for commit logs.
10225 * log-edit.el (log-edit-extra-flags): New variable.
10226 (log-edit): Add new argument MODE. Use that mode when non-nil
10227 instead of the log-view-mode.
10228 (log-view-process-buffer): New function.
10230 * vc.el: Document that the checkin method takes optional
10231 arguments. Document new backend specific method: log-view-mode.
10232 (vc-default-log-edit-mode): New function.
10233 (vc-checkin): Use a backend specific log-view-mode.
10234 Pass extra arguments to the checkin method.
10235 (vc-modify-change-comment): Pass a dummy extra argument.
10237 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10239 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10240 (vc-finish-logentry): Process the log buffer before passing it
10241 down. Pass log-edit-extra-flags.
10243 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10245 (log-edit-extra-flags, log-edit-before-checkin-process):
10248 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10250 (log-edit-extra-flags, log-edit-before-checkin-process):
10252 (vc-hg-log-edit-mode): New derived mode.
10254 * vc-arch.el (vc-arch-checkin):
10255 * vc-cvs.el (vc-cvs-checkin):
10256 * vc-git.el (vc-git-checkin):
10257 * vc-mtn.el (vc-mtn-checkin):
10258 * vc-rcs.el (vc-rcs-checkin):
10259 * vc-sccs.el (vc-sccs-checkin):
10260 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10262 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10267 2010-03-19 Glenn Morris <rgm@gnu.org>
10269 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10271 2010-03-18 Glenn Morris <rgm@gnu.org>
10273 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10275 * replace.el (query-replace-history): Give it a doc string.
10276 (map-query-replace-regexp): Use query-replace-from-history-variable
10277 and query-replace-to-history-variable.
10279 * mail/hashcash.el (declare-function): Remove duplicate definition.
10281 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10282 Make it an obsolete alias for report-emacs-bug-address.
10283 (message-strip-special-text-properties): Declare.
10284 (report-emacs-bug): Remove test for a pretest bug address.
10285 Combine message-mode-specific code.
10287 * mail/supercite.el: Don't require sendmail.
10288 (mh-in-header-p): Declare rather than using with-no-warnings.
10289 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10290 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10292 * calendar/cal-french.el: Convert to utf-8.
10294 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10297 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10299 * net/secrets.el (secrets-enabled): New variable. Use it instead
10302 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10304 * net/secrets.el (top): Register the D-Bus signals only when the
10305 service "org.freedesktop.secrets" can be pinged.
10306 Provide subfeature `enabled'.
10308 2010-03-14 Juri Linkov <juri@jurta.org>
10310 Add finder unknown keywords.
10312 * finder.el (finder-unknown-keywords): New function.
10314 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10315 to create a Finder node with unknown keywords.
10317 2010-03-14 Juri Linkov <juri@jurta.org>
10319 * finder.el (finder-compile-keywords): Replace `princ' with
10320 `prin1' on a list of symbols interned from keyword strings.
10322 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10323 a comma, then split keywords using a comma and optional whitespace.
10324 Otherwise, split by whitespace.
10332 * progmodes/mixal-mode.el: Fix keywords.
10334 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10336 * Makefile.in (ELCFILES): Add net/secrets.elc.
10338 * net/secrets.el: New file.
10340 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10342 * facemenu.el (list-colors-display, list-colors-print): New arg
10343 callback. Use it to allow selecting colors.
10345 * wid-edit.el (widget-image-insert): Insert image prop even if the
10346 current display is non-graphic.
10347 (widget-field-value-set): New fun.
10348 (editable-field): Use it.
10349 (widget-field-value-get): Clean up unused var.
10350 (widget-color-value-create, widget-color--choose-action):
10351 New funs. Allow using list-colors-display to choose color.
10353 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10355 * cus-edit.el: Resort topmost custom groups.
10356 (custom-buffer-sort-alphabetically): Default to t.
10357 (customize-apropos): Use apropos-parse-pattern.
10358 (custom-search-field): New var.
10359 (custom-buffer-create-internal): Add custom-apropos search field.
10360 (custom-add-parent-links): Don't display parent doc.
10361 (custom-group-value-create): Don't sort top-level custom group.
10362 (custom-magic-value-create): Show visibility button before option name.
10364 (custom-variable-state): New fun, from custom-variable-state-set.
10365 (custom-variable-state-set): Use it.
10366 (custom-group-value-create): Hide options with standard values
10367 using the :hidden-states property. Use progress reporter.
10369 (custom-show): Simplify.
10370 (custom-visibility): Disable images by default.
10371 (custom-variable): New property :hidden-states.
10372 (custom-variable-value-create): Enable images for
10373 custom-visibility widgets. Use :hidden-states property to
10374 determine initial visibility.
10376 * wid-edit.el (widget-image-find): Give images center ascent.
10377 (visibility): Add :on-image and :off-image properties.
10378 (widget-visibility-value-create): Use them.
10380 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10382 * cus-edit.el (processes): Remove from development group.
10383 (oop, hypermedia): Delete group.
10384 (comm): Promote to top-level group.
10386 * net/browse-url.el (browse-url):
10387 * net/xesam.el (xesam):
10388 * net/tramp.el (tramp):
10389 * net/goto-addr.el (goto-address):
10390 * net/ange-ftp.el (ange-ftp): Put in comm group.
10392 * view.el (view): Remove from editing group.
10394 * uniquify.el (uniquify): Put in files group.
10396 * net/browse-url.el (browse-url):
10397 * ps-print.el (postscript): Put in external group.
10399 * cus-edit.el (outlines):
10400 * textmodes/text-mode.el (text-mode-hook):
10401 * textmodes/table.el (table):
10402 * textmodes/picture.el (picture):
10403 * outline.el (outlines): Put in wp group.
10405 * nxml/nxml-mode.el (nxml): Remove from wp group.
10407 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10409 * mail/metamail.el (metamail): Remove from hypermedia group.
10411 * cus-edit.el (abbrev):
10412 * whitespace.el (whitespace):
10413 * vcursor.el (vcursor):
10414 * reveal.el (reveal):
10415 * hl-line.el (hl-line): Put in convenience group.
10417 * epg-config.el (epg): Put in data group.
10419 * emulation/pc-select.el (pc-select): Put in emulations group.
10421 * calculator.el (calculator): Put in applications group.
10423 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10425 Add .dir-locals.el support for file-less buffers.
10426 * files.el (hack-local-variables): Split out code to apply local
10427 variable settings ...
10428 (hack-local-variables-apply): ... here. New function.
10429 (hack-dir-local-variables): Use the default directory for when the
10430 buffer does not have an associated file.
10431 (hack-dir-local-variables-non-file-buffer): New function.
10432 * diff-mode.el (diff-mode):
10433 * vc-annotate.el (vc-annotate-mode):
10434 * vc-dir.el (vc-dir-mode):
10435 * log-edit.el (log-edit-mode):
10436 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10438 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10440 Add support for shelving snapshots and for showing shelves.
10441 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10442 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10444 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10445 (vc-bzr-extra-menu-map): Map them.
10447 2010-03-11 Glenn Morris <rgm@gnu.org>
10449 * cus-edit.el (customize-changed-options-previous-release):
10452 * image.el (image-animate-max-time): Fix :version tag.
10454 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10458 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * vc-git.el (vc-git-revision-table): Include remote branches.
10462 2010-03-10 Kim F. Storm <storm@cua.dk>
10464 Animated image API.
10465 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10467 * image.el (image-animate-max-time): New defcustom.
10468 (image-animated-types): New defconst.
10469 (create-animated-image, image-animate-timer)
10470 (image-animate-start, image-animate-stop, image-animate-timeout)
10471 (image-animated-p): New functions.
10473 * image-mode.el (image-toggle-display-image):
10474 Replace `create-image' with `create-animated-image'.
10476 2010-03-09 Miles Bader <miles@gnu.org>
10478 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10479 instead of "format:"; this ensures that the output is
10480 newline-terminated.
10482 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10484 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10485 that all errors are caught, and that the return value is always a
10488 2010-03-08 Kenichi Handa <handa@m17n.org>
10490 * language/misc-lang.el (windows-1256): New coding system.
10491 (cp1256): New alias of windows-1256 (bug#5690).
10493 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10495 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10496 call to rfc822-bad-address. (Bug#5692)
10498 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10500 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10501 Use vc-git-root as default directory for revision path (Bug#5657).
10503 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10505 * calculator.el (calculator): Don't bind split-window-keep-point
10508 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * vc-git.el: Re-flow to fit into 80 columns.
10511 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10512 Remove spurious `quote' element in each case alternative.
10513 (vc-git-show-log-entry): Use prog1.
10514 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10516 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10520 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10522 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10523 definition, not the name (Bug#5481).
10525 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10527 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10528 argument with a local variable. (Bug#5670)
10530 2010-03-02 Juri Linkov <juri@jurta.org>
10532 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10534 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10536 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10537 error when FILENAME and NEWNAME are existing remote directories.
10539 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10540 parameter DIR-FLAG.
10542 2010-03-02 Glenn Morris <rgm@gnu.org>
10544 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10545 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10547 2010-03-01 Kenichi Handa <handa@m17n.org>
10549 * language/burmese.el (burmese-composable-pattern): Rename from
10550 myanmar-composable-pattern.
10552 * international/characters.el (script-list):
10553 * international/fontset.el (script-representative-chars):
10554 Change myanmar to burmese.
10555 (otf-script-alist): Likewise.
10556 (setup-default-fontset): Likewise. Re-fix :otf spec.
10558 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10560 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10562 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10564 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10566 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10568 * net/tramp.el (tramp-handle-write-region): START can be a string.
10569 Take care in the checks. Reported by Dan Davison
10570 <davison@stats.ox.ac.uk>.
10572 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10574 * net/dbus.el (dbus-introspect, dbus-get-property)
10575 (dbus-set-property, dbus-get-all-properties):
10576 Use `dbus-call-method' when noninteractive. (Bug#5645)
10578 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10580 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10581 * emacs-lisp/elint.el (elint-add-required-env):
10582 * calendar/icalendar.el (icalendar--add-diary-entry):
10583 * calc/calcalg2.el (math-tracing-integral):
10584 * files.el (recover-session-finish): Use with-current-buffer
10585 instead of save-excursion.
10587 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10589 Fix in-buffer completion when after-change-functions modify the buffer.
10590 * minibuffer.el (completion--replace): New function.
10591 (completion--do-completion): Use it and use relative movement.
10593 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10595 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10597 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10599 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10600 Allow the characters _<> in the stack entry (Bug#5653).
10602 2010-02-26 Kenichi Handa <handa@m17n.org>
10604 * language/burmese.el: Fix entries in composition-function-table.
10605 (myanmar-composable-pattern): New variable.
10607 * international/fontset.el (setup-default-fontset): Add an entry
10610 * international/characters.el (script-list): Add Myanmar
10613 2010-02-26 Glenn Morris <rgm@gnu.org>
10615 * custom.el (custom-initialize-delay): Doc fix.
10617 * mail/sendmail.el (send-mail-function): Autoload the call
10618 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10620 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10622 * files.el (hack-local-variables-filter): For eval forms, also
10623 check safe-local-variable-p (Bug#5636).
10625 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10628 setting the modes by `ignore-errors'. It might fail, for example
10629 if the file is not owned by the user but the group.
10630 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10632 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10634 * files.el (directory-listing-before-filename-regexp):
10635 Use stricter matching for iso-style dates, to avoid false matches with
10636 date-like filenames (Bug#5597).
10638 * htmlfontify.el (htmlfontify): Doc fix.
10640 * eshell/eshell.el (eshell): Doc fix.
10642 * startup.el (fancy-about-screen): In mode-line, apply
10643 mode-line-buffer-id face only to the buffer name (Bug#5613).
10645 2010-02-20 Kevin Ryde <user42@zip.com.au>
10647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10648 In `watcom' anchor regexp to start of line, to avoid slowness
10651 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10653 * subr.el (remove-yank-excluded-properties): Explain in a comment
10654 why `category' property is removed.
10656 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10658 * isearch.el (isearch-update-post-hook, isearch-update):
10659 Revert 2010-02-17 change.
10661 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10663 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10664 (icalendar--convert-weekly-to-ical)
10665 (icalendar--convert-yearly-to-ical)
10666 (icalendar--convert-block-to-ical)
10667 (icalendar--convert-cyclic-to-ical)
10668 (icalendar--convert-anniversary-to-ical): Take care of time
10669 specifications where hour has 1-digit only (Bug#5549).
10671 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10673 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10674 of disassemble output in GDB 7.1.
10676 2010-02-19 Glenn Morris <rgm@gnu.org>
10678 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10679 property. (Bug#5593)
10681 2010-02-18 Sam Steingold <sds@gnu.org>
10683 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10685 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10687 Use abbreviated file names in bookmarks (bug#5591).
10688 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10689 calls to expand-file-name.
10690 (bookmark-relocate): Use abbreviated file names in bookmarks.
10691 (bookmark-load): Use abbreviated file names in messages.
10693 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10695 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10696 expand "." and "..". Reported by Thierry Volpiatto
10697 <thierry.volpiatto@gmail.com>.
10699 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10701 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10702 permissions of the temporary file to "0600". In case the remote
10703 file has no read permissions for the owner, there might be
10704 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10706 22010-02-18 Glenn Morris <rgm@gnu.org>
10708 * emacs-lisp/authors.el (authors-renamed-files-alist):
10709 Add entries for INSTALL.CVS.
10711 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10713 * vc-bzr.el: Fix typo in Known Bugs section.
10715 * isearch.el (isearch-update-post-hook): New hook.
10716 (isearch-update): Use the new hook.
10718 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10720 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10721 Fix errors in copying directories.
10722 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10723 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10724 (tramp-handle-delete-file)
10725 (tramp-handle-dired-recursive-delete-directory)
10726 (tramp-handle-write-region): Flush also the cache for the upper
10729 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10731 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10733 * cus-edit.el (hardware): Doc fix.
10735 * man.el (man): Add to external custom group.
10737 * delim-col.el (columns): Move to wp custom group.
10739 * doc-view.el (doc-view): Add to data custom group.
10741 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10743 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10744 by ispell-parse-output (Bug#5575).
10746 2010-02-16 Kenichi Handa <handa@m17n.org>
10748 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10749 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10750 (skkdic-convert): Use `euc-japan' coding system for writing.
10752 2010-02-16 Glenn Morris <rgm@gnu.org>
10754 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10755 tex-main-file before using it. (Bug#5562)
10757 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10760 warnings, since it is annoying for the user to see them each time he
10763 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10765 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10766 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10767 instead of PROC for caching "first-password-request". Otherwise,
10768 new processes would not profit from passwords already entered.
10770 * net/tramp-cache.el (tramp-dump-connection-properties):
10771 Don't save "first-password-request" property.
10773 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10775 * outline.el (outline-head-from-level):
10776 * simple.el (with-wrapper-hook):
10777 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10778 (elint-defun, elint-buffer-env, elint-top-form-logged)
10779 (elint-unbound-variable):
10780 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10781 Fix typos in docstrings.
10783 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10785 * files.el (insert-directory): When WILDCARD-REGEXP and
10786 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10787 whole directory. (Bug#5551)
10789 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10790 dired's alignment sanity. (Bug#5516)
10792 2010-02-14 Juri Linkov <juri@jurta.org>
10794 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10795 Remove remaining ^H with their preceding chars. (Bug#5566)
10797 2010-02-13 Glenn Morris <rgm@gnu.org>
10799 * simple.el (transpose-subr): Give it a doc-string.
10801 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10804 2010-02-12 Juri Linkov <juri@jurta.org>
10806 * arc-mode.el (archive-unique-fname): Make directories for nested
10807 archives. (Bug#5540)
10809 2010-02-12 Juri Linkov <juri@jurta.org>
10811 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10813 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * subr.el (copy-overlay): Handle deleted overlays.
10817 * man.el (Man-completion-table): Don't signal an error if we can't run
10818 manual-program (bug#4056).
10820 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10822 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10824 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10826 * info.el (Info-bookmark-jump): Simplify.
10828 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10829 (bookmark-default-handler): Accept new bookmark field `buffer'.
10831 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10833 * iswitchb.el (iswitchb-completions): Revert last change.
10835 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10837 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10838 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10839 This prevents file names like "~/" being listed literally.
10841 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10843 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10844 Remove dead code. (Bug#5546)
10846 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10848 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10849 correctly (Bug#5548).
10851 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10853 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10854 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10856 2010-02-08 Kenichi Handa <handa@m17n.org>
10858 * international/mule-util.el (with-coding-priority): Add autoload
10859 cookie for putting `lisp-indent-function'.
10861 2010-02-07 Glenn Morris <rgm@gnu.org>
10863 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10864 Move F2003 named interfaces from keywords-2 to keywords-1, and
10865 use function-name-face rather than constant-face.
10866 Simplify "abstract interface" regexp.
10868 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10870 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10871 ID-FORMAT. Pass it to `file-attributes'.
10873 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10875 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10877 * faces.el (set-face-attribute): Allow calling
10878 internal-set-lisp-face-attribute with 'unspecified family and
10879 foundry argument (Bug#5536).
10881 2010-02-07 Glenn Morris <rgm@gnu.org>
10883 * progmodes/f90.el (f90-font-lock-keywords-2)
10884 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10885 Handle F2003 named interfaces.
10887 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10889 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10890 beg and end before calling c-get-state-before-change-functions.
10892 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10894 * vc-bzr.el (vc-bzr-dir-extra-headers):
10895 Disable the pending merges header.
10897 2010-02-05 Juri Linkov <juri@jurta.org>
10899 * doc-view.el (doc-view-mode):
10900 * image-mode.el (image-mode): Put property mode-class=special.
10903 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10905 * vc-svn.el (vc-svn-revision-table): New function.
10907 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10909 * net/ange-ftp.el (ange-ftp-insert-directory):
10910 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10911 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10912 Handle also directories. (Bug#5478)
10914 2010-02-05 Glenn Morris <rgm@gnu.org>
10916 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10918 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10920 * startup.el (command-line-1): Convert options beginning with a
10921 single dash as well (Bug#5519).
10923 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10925 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10926 * minibuffer.el (completion-initials-expand): Only check the presence
10927 of delims *within* the boundaries, since otherwise the / delim is
10928 always found for files.
10930 Fix up various corner case problems.
10931 * doc-view.el (doc-view-last-page-number): New function.
10932 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10933 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10934 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10935 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10936 (doc-view-convert-current-doc): Don't create the resolution.el file
10938 (doc-view-pdf/ps->png): Do it here instead.
10939 (doc-view-already-converted-p): Check that resolution.el is present.
10940 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10941 windows that are not yet showing images.
10943 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10945 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10946 `dired-uncache' for every elemnt which is an absolute file name.
10948 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10949 directory, handle its directory component.
10950 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10951 function is called permanently and creates noise, otherwise.
10953 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10954 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10955 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10957 2010-02-04 David Burger <dburger@google.com> (tiny change)
10959 * macros.el (apply-macro-to-region-lines):
10960 Minor simplification. (Bug#5485)
10962 2010-02-04 Glenn Morris <rgm@gnu.org>
10964 * mail/rmail.el (rmail-show-message-1): Handle malformed
10965 quoted-printable text. (Bug#5441)
10967 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10969 * simple.el (visual-line-mode): Capitalize lighter.
10971 2010-02-03 John Wiegley <jwiegley@gmail.com>
10973 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10974 list of files considered for "virtual buffer" completions.
10976 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10978 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10979 also in case of (and (not full) (not wildcard)). This is needed
10980 when dired is called with a list of files, which are not in
10981 `default-directory'. (Bug#5478)
10983 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10985 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10987 2010-02-02 Juri Linkov <juri@jurta.org>
10989 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10990 from unidiff to allow function-line after @@.
10992 2010-02-02 Juri Linkov <juri@jurta.org>
10994 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10995 '(RCS SCCS) with inverted condition.
10997 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10999 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11002 2010-02-01 Juri Linkov <juri@jurta.org>
11004 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11005 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11006 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11007 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11009 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11012 (doc-view-revert-buffer): New command.
11013 (doc-view-mode-map): Use it.
11015 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11017 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11018 pending merge is detected.
11020 2010-01-31 Juri Linkov <juri@jurta.org>
11022 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11023 beginning of interactive spec like all other grep commands do.
11024 Put "all" in front of "gz". (Bug#5260)
11026 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11028 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11030 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11032 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11033 regexp is incorrect (Bug#5476).
11035 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11037 * net/tramp.el (tramp-handle-insert-directory): Handle also
11038 symlinks, when FILENAME is not in `default-directory'.
11040 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11042 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11043 FILE is not in `default-directory'. (Bug#5478)
11045 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11046 of SWITCHES. Handle the case, FILENAME is not in
11047 `default-directory'. (Bug#5478)
11048 (tramp-register-file-name-handlers): Add safe-magic property.
11050 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11052 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11055 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11057 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11058 (flymake-master-make-header-init): Add other C++ filename masks.
11059 (flymake-find-possible-master-files)
11060 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11062 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11064 Fix some busybox annoyances.
11066 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11067 not responding." string.
11068 (tramp-open-connection-setup-interactive-shell): Dump stty
11069 settings. Enable "neveropen" arg for all `tramp-send-command'
11070 calls. Handle "=" in variable values properly.
11071 (tramp-find-inline-encoding): Raise an error, when no encoding is
11073 (tramp-wait-for-output): Check, whether PROC buffer is available.
11074 Remove spurious " ^H" sequences, sent by busybox.
11075 (tramp-get-ls-command): Suppress coloring, if possible.
11077 2010-01-28 Glenn Morris <rgm@gnu.org>
11079 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11081 * log-edit.el (log-edit-strip-single-file-name): Add missing
11082 :safe, :group, and :version tags.
11084 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11086 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11087 buffers. (Bug#5477)
11089 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11091 * files.el (delete-directory): Handle moving to trash without
11092 first doing recursion (Bug#5436).
11094 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11096 * vc-hooks.el (vc-path): Mark as obsolete.
11098 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11100 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11103 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11105 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11107 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11109 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11111 * vc-bzr.el (vc-bzr-revision-table): New function.
11113 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11115 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11116 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11118 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11120 Remove support for adding --signoff on commit.
11121 Future support will use an incompatible generic mechanism.
11122 * vc-git.el (vc-git-add-signoff): Remove variable.
11123 (vc-git-toggle-signoff): Remove function.
11124 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11126 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11127 Rename from xterm-set-background-mode. Return t if the background mode
11129 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11130 earlier, call it again in case the background mode has changed.
11132 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11134 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11137 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11139 * emacs-lisp/assoc.el (aelement): Doc fix.
11140 (aput, adelete, amake): Use lexical-let (Bug#5450).
11142 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11144 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11145 is the same as subprogram call, not declaration. (Bug#5435).
11147 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11149 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11150 (tramp-smb-maybe-open-connection): Use it.
11152 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11154 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11156 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11159 just because we see "encoding: 8bit".
11160 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11162 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11164 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11166 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11168 * jka-compr.el (jka-compr-load): If load-file is not in
11169 load-history, try its file-truename version. (bug#5447)
11171 2010-01-21 Alan Mackenzie <acm@muc.de>
11173 Fix a situation where deletion of a cpp construct throws an error.
11174 * progmodes/cc-engine.el (c-invalidate-state-cache):
11175 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11176 special cpp construct is still in the buffer.
11177 (c-parse-state): Record the special cpp with markers, not numbers.
11179 2010-01-21 Kenichi Handa <handa@m17n.org>
11181 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11182 process last-command-event, as it is now decoded first (Bug#5380).
11184 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11186 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11188 2010-01-20 Glenn Morris <rgm@gnu.org>
11190 * indent.el (tab-always-indent): Fix custom-type.
11192 2010-01-19 Alan Mackenzie <acm@muc.de>
11194 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11195 buffer throws "args out of range".
11196 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11197 playing the role of delimiter.
11199 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11201 * progmodes/ada-mode.el: Fix bug#5400.
11202 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11203 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11204 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11205 Improve comments in "is" portion. Handle null procedure declaration.
11206 (ada-move-to-end): Improve doc string.
11208 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11210 * ido.el (ido-cur-list): Initialize to nil.
11211 Remove obsolete information from commentary.
11212 (ido-choice-list): Initialize to nil.
11213 (ido-get-bufname): Reject minibuffers.
11214 (ido-make-buffer-list): If "default" is a nonexistent
11215 buffer, ignore it, as per the function's comment.
11216 (ido-kill-buffer-internal): New function.
11217 (ido-kill-buffer-at-head): Use it.
11218 (ido-visit-buffer): Likewise.
11220 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11222 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11224 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11226 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11227 Fix typos in chart titles.
11229 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11230 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11231 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11232 (describe-class, eieio-describe-generic, describe-generic):
11233 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11234 (eieio-speedbar-expand):
11235 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11236 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11237 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11238 (viper-del-backward-char-in-replace, viper-backward-indent)
11239 (viper-brac-function, viper-register-to-point, viper-submit-report):
11240 * net/tramp.el (tramp-remote-coding-commands):
11241 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11242 Fix typos in docstrings.
11244 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11246 * mail/sendmail.el (mail-yank-original): Set the mark if the
11247 specified function for yanking does not do it.
11249 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11251 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11253 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11254 resyncing a directory.
11256 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11258 * progmodes/ada-mode.el: Fix bug#1920.
11259 (ada-ident-re): Delete ., allow multibyte characters.
11260 (ada-goto-label-re): New; matches goto labels.
11261 (ada-block-label-re): New; matches block labels.
11262 (ada-label-re): New; matches both.
11263 (ada-named-block-re): Deleted; callers changed to use
11264 `ada-block-label-re' instead.
11265 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11266 Use `ada-block-label-re'.
11267 (ada-indent-on-previous-lines): Improve handling of goto labels.
11268 (ada-get-indent-block-start): Special-case block label.
11269 (ada-get-indent-label): Split into `ada-indent-block-label' and
11270 `ada-indent-goto-label'.
11271 (ada-goto-stmt-start, ada-goto-next-non-ws):
11272 Optionally ignore goto labels.
11273 (ada-goto-next-word): Simplify.
11274 (ada-indent-newline-indent-conditional): Insert newline before
11275 trying to fix indentation; doc fix.
11277 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11279 * calc/calc.el (calc-command-flags): Give it an initial value.
11281 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11283 * files.el (minibuffer-with-setup-hook):
11284 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11285 (artist-key-draw-continously, artist-key-do-continously-continously)
11286 (artist-key-set-point-continously, artist-mouse-draw-continously):
11287 Fix typos in docstrings.
11289 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11291 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11292 Never return t (Bug#3898).
11294 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11296 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11297 can parse the output of the external commands (Bug#5279).
11299 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11301 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11303 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11305 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11307 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11309 * startup.el (command-line): Remove unused --icon-type arg.
11310 Handle --display arg, passing it to command-line-1 (Bug#5392).
11312 2010-01-16 Mario Lang <mlang@delysid.org>
11314 * emacs-lisp/chart.el (chart-translate-namezone):
11315 * textmodes/artist.el (artist-compute-popup-menu-table):
11316 Remove duplicated words in doc-strings.
11318 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11320 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11321 to mairix-search to suppress threading (Bug#5342).
11323 2010-01-15 Kenichi Handa <handa@m17n.org>
11325 * international/mule-cmds.el (canonicalize-coding-system-name):
11326 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11328 2010-01-15 Glenn Morris <rgm@gnu.org>
11330 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11332 * wid-edit.el (widget-keymap): Doc fix.
11334 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11335 former seems to be more widely accepted by various svn versions.
11337 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11339 * find-cmd.el (find-constituents):
11340 * vc-arch.el (vc-arch-root):
11341 * window.el (window-body-height, pop-up-frames):
11342 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11343 * progmodes/ada-stmt.el (ada-if):
11344 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11345 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11346 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11347 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11349 * progmodes/flymake.el (flymake-post-syntax-check):
11350 Fix typo in error message.
11352 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11354 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11355 which is always a string. (Bug#5313)
11357 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11359 * progmodes/ada-xref.el (ada-default-prj-properties):
11360 Simplify previous change.
11362 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11364 * progmodes/ada-xref.el (ada-default-prj-properties):
11365 Default ada_project_path to $ADA_PROJECT_PATH.
11367 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11369 * progmodes/ada-mode.el (ada-create-keymap):
11370 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11372 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11374 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11375 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11376 (ada-get-current-indent, ada-imenu-generic-expression)
11377 (ada-which-function): Check for it.
11379 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11381 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11382 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11384 2010-01-14 Glenn Morris <rgm@gnu.org>
11386 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11388 2010-01-14 Kenichi Handa <handa@m17n.org>
11390 * composite.el (auto-composition-mode): Make it a buffer local
11391 variable (permanent-local).
11392 (auto-composition-function): Set the default value to
11393 auto-compose-chars.
11394 (auto-composition-mode): Make it a simple function, not a minor mode.
11395 (global-auto-composition-mode): Likewise.
11396 (turn-on-auto-composition-if-enabled): Delete it.
11398 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11400 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11402 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11404 * files.el (copy-directory): Compute target for recursive
11405 directories with identical names. (Bug#5343)
11407 2010-01-12 Glenn Morris <rgm@gnu.org>
11409 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11410 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11412 2010-01-11 Sam Steingold <sds@gnu.org>
11414 * imenu.el (imenu-default-create-index-function): Detect infinite
11415 loops caused by imenu-prev-index-position-function.
11417 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11419 * htmlfontify.el (htmlfontify-load-rgb-file)
11420 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11421 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11422 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11423 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11424 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11425 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11426 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11427 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11428 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11429 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11430 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11431 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11432 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11433 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11434 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11435 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11436 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11437 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11438 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11439 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11440 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11441 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11442 backslash-quoting from parentheses, etc.
11444 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11446 * progmodes/js.el: Autoload javascript-mode alias.
11448 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11450 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11451 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11452 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11453 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11454 Fix typos in docstrings.
11455 (ffap-url-regexp): Doc fix.
11456 (ffap-at-mouse): Fix typo in message.
11458 2010-01-11 Glenn Morris <rgm@gnu.org>
11460 * version.el (emacs-copyright): Set copyright year to 2010.
11462 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11464 * format.el (format-annotate-function): Only set
11465 write-region-post-annotation-function after running to-fn so as not to
11466 affect nested write-region calls (bug#5273).
11468 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11470 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11473 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11475 * man.el (Man-goto-section): Signal error if the section is not
11478 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11480 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11481 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11483 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11485 * progmodes/compile.el: Don't treat compile-command as safe if
11486 compilation-read-command might be nil (Bug#4218).
11488 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11490 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11493 2010-01-08 Kenichi Handa <handa@m17n.org>
11495 * international/fontset.el (build-default-fontset-data):
11496 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11498 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11500 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11501 to `create-file-buffer' as it expects, not just a buffer name.
11502 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11503 to help uniquify. (Bug#3224)
11505 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11507 * font-setting.el (font-setting-change-default-font): Use user-spec
11510 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11512 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11514 2010-01-05 Tom Tromey <tromey@redhat.com>
11516 * progmodes/python.el (python-font-lock-keywords):
11517 Handle qualified decorators (Bug#881).
11519 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11521 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11522 in a lightweight checkout.
11524 2010-01-05 Kenichi Handa <handa@m17n.org>
11526 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11528 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11530 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11532 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11534 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11535 checkouts. (Bug#618)
11536 (vc-bzr-log-view-mode): Also highlight the author.
11537 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11538 (vc-bzr-shelve-menu-map):
11539 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11540 (vc-bzr-shelve-apply): Make prompt more explicit.
11542 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11544 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11545 They are valid characters in URL paths (rfc3986), and at least
11546 Firefox does not understand the encoded version (Bug#3166).
11548 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11550 * progmodes/octave-mod.el (octave-end-keywords)
11551 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11552 Add "end" keyword (Bug#3061).
11553 (octave-end-as-array-index-p): New function.
11554 (calculate-octave-indent): Use it.
11556 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11558 * bookmark.el: Consistently put the text property on the bookmark name.
11559 (bookmark-bmenu-marks-width): Bump back to 2, to include
11561 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11562 property on the bookmark name, instead of not putting it at all.
11563 (bookmark-bmenu-list): Fix where we put the text property.
11565 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11567 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11568 for showing buffer modified state (as added in the previous change).
11570 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11572 * bookmark.el: Show modified state of bookmark buffer more accurately.
11573 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11574 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11575 (with-buffer-modified-unmodified): New macro.
11576 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11577 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11578 Use new macro to preserve the buffer modified state.
11580 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11582 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11583 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11584 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11585 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11586 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11587 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11588 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11590 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11592 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11593 Make the lines in the generated doc string shorter. (Bug#4668)
11595 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11597 * net/rcirc.el: Add follow-link binding (Bug#4738).
11599 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11601 * Makefile.in (bzr-update): Rename from cvs-update.
11602 (cvs-update): New target for backward compatibility.
11604 * makefile.w32-in (bzr-update): Rename from cvs-update.
11605 (cvs-update): New target for backward compatibility.
11607 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11609 * bookmark.el: Remove gratuitous gratitude.
11611 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11613 * bookmark.el (bookmark-bmenu-any-marks): New function.
11614 (bookmark-bmenu-save): Clear buffer modification if no marks.
11616 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11618 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11619 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11620 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11621 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11623 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11624 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11625 To: emacs-devel {_AT_} gnu.org
11626 Subject: bookmark.el bug report
11627 Date: Mon, 28 Dec 2009 14:19:16 +0800
11628 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11630 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11632 * bookmark.el: Improvements suggested by Drew Adams:
11633 (bookmark-bmenu-ensure-position): New name for
11634 `bookmark-bmenu-check-position'. Just ensure the position,
11635 don't return any meaningful value.
11636 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11639 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11641 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11642 (bookmark-yank-point, bookmark-bmenu-check-position):
11643 Fix typos in docstrings.
11644 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11645 (bookmark-name-from-full-record, bookmark-get-position)
11646 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11647 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11648 Remove useless quoting of parenthesis, etc. in docstrings.
11650 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11651 (ediff-append-custom-diff): Fix typo in error message.
11652 (ediff-meta-mark-equal-files): Fix typos in messages.
11654 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11656 * net/imap-hash.el (imap-hash-make): Doc fix.
11657 (imap-hash-test): Fix typo in error message; reflow docstring.
11658 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11659 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11660 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11661 Fix typos in docstrings.
11662 (imap-hash-open-connection): Fix typo in error message.
11664 * play/gomoku.el (gomoku): Fix typos in docstring.
11666 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11667 (gdb-jsonify-buffer): Fix typos in docstring.
11668 (gdb-goto-breakpoint): Fix typo in error message.
11669 ("Display Other Windows"): Fix typo in help message.
11670 (gdb-speedbar-expand-node): Fix typo in question.
11672 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11673 (idlwave-html-system-help-location, idlwave-html-help-location)
11674 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11675 (idlwave-help-browser-generic-args, idlwave-help-directory)
11676 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11677 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11678 (idlwave-online-help, idlwave-help-html-link)
11679 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11680 Fix typos in docstrings.
11681 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11683 (idlwave-help-assistant-start): Fix typo in error message.
11685 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11686 (octave-electric-space): Fix typos in docstrings.
11688 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11690 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11692 2010-01-01 Juri Linkov <juri@jurta.org>
11694 * comint.el (comint-input-ring-size): Make it a defcustom and
11695 increase the default to 500 (Bug#5148).
11697 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11699 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11700 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11701 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11703 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11705 Show working revision correctly for mercurial.
11706 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11707 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11709 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11711 Declare some functions for the byte-compiler.
11712 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11713 (speedbar-timer-fn, speedbar-change-expand-button-char)
11714 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11716 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11718 This changeset reverts GDB Graphical Interface to use annotations.
11719 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11721 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11723 Make vc-dir work on subdirectories of the bzr root.
11724 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11725 Return file names relative to it.
11726 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11727 relative directory to vc-bzr-after-dir-status.
11729 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11731 * font-lock.el (font-lock-refresh-defaults): New function, which
11732 can be used to let font-lock react to external changes in
11733 variables like font-lock-defaults and keywords.
11734 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11736 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11738 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11740 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11742 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11744 Supersede color.diff settings in git log (bug#5211).
11746 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11747 escape chars in its output when the user has color.diff set to `always'.
11748 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11750 2009-12-26 Kevin Ryde <user42@zip.com.au>
11752 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11753 node. Keep previous "Index" name to work with past coreutils too.
11755 * man.el (man): Revise docstring a bit to show -a and -l as
11756 examples. Add -k description since support for it has otherwise
11757 been a secret. (Further to bug#3717.)
11758 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11759 "no matches" rather than "Can't find manpage", as the latter reads
11760 like -k was interpreted as a page name, which is not so. (Bug#5431)
11762 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11764 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11765 switches. Check also for //SUBDIRED// line.
11767 2009-12-25 Kenichi Handa <handa@m17n.org>
11769 * language/indian.el (devanagari-composable-pattern): Fix to
11770 handle ZWNJ and ZWJ. Use it in composition-function-table for
11772 (malayalam-composable-pattern): Fix previous change.
11774 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11776 * ps-print.el (ps-face-attributes): It was not returning the
11777 attribute face for faces specified as string. Reported by harven
11778 <harven@free.fr>. (Bug#5254)
11779 (ps-print-version): New version 7.3.5.
11781 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11783 * calendar/icalendar.el (icalendar--convert-tz-offset):
11784 Fix timezone names.
11785 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11786 (icalendar--add-diary-entry): Remove the trailing blank that
11787 diary-make-entry inserts.
11789 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11791 Make `file-expand-wildcards' work for remote files.
11793 * files.el (file-expand-wildcards): In case of remote files, check
11794 only local file name part for wildcards. Provide feature 'files
11795 and subfeature 'remote-wildcards. (Bug#5198)
11797 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11798 if there is already an established connection.
11799 (tramp-advice-file-expand-wildcards): Remove it.
11801 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11802 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11803 Activate advice for older GNU Emacs versions. (Bug#5237)
11805 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11807 Some doc fixes (more needed).
11809 * find-cmd.el (find-constituents): Reflow docstring.
11810 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11811 (find-generic): Doc fix.
11813 2009-12-17 Juri Linkov <juri@jurta.org>
11815 Fix regression from 23.1 to allow multiple modes in Local Variables.
11817 * files.el (hack-local-variables-filter): While ignoring duplicates,
11818 don't take `mode' into account.
11819 (hack-local-variables-filter, hack-dir-local-variables):
11820 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11822 2009-12-17 Juri Linkov <juri@jurta.org>
11824 Make `dired-diff' safer. (Bug#5225)
11826 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11827 `current' or when `file' is a directory of the `current' file.
11829 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11831 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11832 unconditionally preloaded files.
11834 2009-12-16 Juri Linkov <juri@jurta.org>
11836 Revert to old 23.1 logic of using the file at the mark as default.
11837 * dired-aux.el (dired-diff): Use the file at the mark as default
11838 if it's not the same as the current file, and the target dir is
11839 the current dir or the mark is active. Add the current file
11840 as the arg of `dired-dwim-target-defaults'. Use the default file
11841 in the prompt. (Bug#5225)
11843 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11845 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11846 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11847 (tramp-check-for-regexp): Check also, when an echoing shell stops
11848 to echo sent commands.
11850 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11852 * Makefile.in: Revert last change (Bug#5191).
11854 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11856 * vc-hg.el (vc-hg-print-log): Fix argument order.
11857 (vc-hg-working-revision): Make sure the command is executed in a
11858 known environment so that we can parse the output. (Bug#4417)
11860 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11862 * progmodes/python.el (python-symbol-completions): Remove text
11863 properties from symbol string before calling python-send-receive.
11865 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11867 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11868 when there are values for both file and line. (Bug#5060)
11870 2009-12-14 Juri Linkov <juri@jurta.org>
11872 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11873 whitespace after the file name of the first line of unified format,
11874 because git-diff doesn't output whitespace and file modification time
11875 after the file name.
11877 2009-12-14 David Kastrup <dak@gnu.org>
11879 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11880 check if it already has the `display' property added by
11881 `Info-display-images-node', and not put the `invisible' property
11884 2009-12-13 Glenn Morris <rgm@gnu.org>
11886 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11887 (report-emacs-bug): In message-mode, sort manually before storing
11888 original report text. (Bug#5178)
11889 Remove superfluous save-excursion.
11891 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11893 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11894 when responding to "GetAll" properties.
11896 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11898 * simple.el (compose-mail): Remove mail-setup-with-from from
11899 customization checks.
11901 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11903 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11904 RAR archives created on Unix systems.
11906 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11908 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11909 the varalias that was accidentally removed by the 2009-11-19 change
11912 2009-12-12 Kenichi Handa <handa@m17n.org>
11914 * language/indian.el (indian-compose-regexp): New function.
11915 (malayalam-composable-pattern): Fix the pattern.
11916 (composition-function-table): Set malayalam-composable-pattern for
11917 Malayalam characters.
11919 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11921 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11922 rather than down-mouse-1, based on follow-link conventions.
11924 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11927 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11929 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11930 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11931 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11932 (verilog-leap-to-head, verilog-backward-token):
11933 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11935 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11937 * progmodes/verilog-mode.el (verilog-auto-lineup)
11938 (verilog-nameable-item-re): Cleanup user-visible spelling and
11939 documentation errors. One reported by Gary Delp.
11940 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11941 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11942 package, bug195. Reported by Pierre-David Pfister.
11944 2009-12-11 Glenn Morris <rgm@gnu.org>
11946 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11948 * mail/emacsbug.el: No longer require sendmail.
11949 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11950 (report-emacs-bug-orig-text): Doc fix.
11951 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11952 New local variables, to adapt to different mail-user-agents.
11953 (report-emacs-bug): Fix test for a gnu.org address.
11954 Use overlays for emphasis, since font-lock defeats 'face property.
11955 Pretest bugs also end up at the newsgroup these days.
11956 Stop message-mode stripping text properties.
11957 Set and use the new buffer-local variables.
11958 (report-emacs-bug-hook): Add doc-string.
11959 Remove some unnecessary save-excursions and simplify.
11960 Use the appropriate hook and send-command.
11962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11963 capitalization of some menu entries.
11965 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11967 * whitespace.el (whitespace-display-char-on):
11968 Ensure `buffer-display-table' is unique when two or more windows are
11969 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11972 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11974 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11975 characters in the Attribute field.
11977 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11979 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11981 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11983 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11984 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11985 Disregard autoload-excludes.
11986 (update-directory-autoloads): Obey autoload-excludes here instead.
11987 But don't store its contents in no-autoloads and remove entries that
11988 refer to excludes files.
11990 2009-12-10 Glenn Morris <rgm@gnu.org>
11992 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11993 (expand-mail-aliases): Define for compiler.
11995 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11996 Define for compiler.
11998 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11999 appropriate for the mail-user-agent in use.
12001 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12003 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12005 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12007 Fix short log parsing and fontification.
12008 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12009 Fix fontification for the [merge] label.
12011 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12013 Drop some properties to avoid surprises (bug#5002).
12014 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12015 (hfy-fontify-buffer): Use it.
12017 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12020 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12021 Adjust all callers.
12022 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12023 args compulsory. Adjust callers.
12024 (ffap-gopher-at-point): Remove unused var `name'.
12026 Get rid of the ELCFILES abomination.
12027 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12028 (compile-elcfiles): New phony target.
12029 (compile-main): Compute ELCFILES dynamically.
12030 (compile-clean): New target to remove left-over elc files.
12031 (compile, all): Use it.
12033 2009-12-09 Kenichi Handa <handa@etlken>
12035 * international/mule-diag.el: Require help-mode instead of help-fns.
12037 2009-12-09 Kenichi Handa <handa@m17n.org>
12039 * international/mule-cmds.el (ucs-names): Supply sufficiently
12040 fine ranges instead of pre-calculating accurate ranges.
12041 Iterate with bigger gc-cons-threshold.
12043 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12045 Add support for stashing a snapshot of the current tree.
12046 * vc-git.el (vc-git-stash-snapshot): New function.
12047 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12049 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12051 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12052 instead of `(beginning|end)-of-line'.
12054 2009-12-08 Glenn Morris <rgm@gnu.org>
12056 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12058 * Makefile.in (ELCFILES): Regenerate.
12060 2009-12-07 Juri Linkov <juri@jurta.org>
12062 Don't lazy-highlight the comint output in history Isearch mode.
12064 * comint.el (comint-history-isearch-search): Instead of
12065 `comint-line-beginning-position', use `comint-after-pmark-p'
12066 to check if point if before the process mark, and go to
12067 `process-mark' in this case.
12069 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12071 * textmodes/tex-mode.el (latex-complete)
12072 (latex-indent-or-complete): Remove.
12073 (latex-mode): Set completion-at-point-functions instead.
12075 Provide a standard completion command and hook it into TAB.
12076 * minibuffer.el (completion-at-point-functions): New var.
12077 (completion-at-point): New command.
12078 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12079 * progmodes/python.el (python-mode-map): Use completion-at-point.
12080 (python-completion-at-point): Rename from python-partial-symbol and
12081 adjust for use in completion-at-point-functions.
12082 (python-mode): Setup completion-at-point for Python completion.
12083 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12084 extracted from lisp-complete-symbol.
12085 (lisp-complete-symbol): Use it.
12086 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12087 setup completion-at-point for Elisp completion.
12088 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12089 Use completion-at-point.
12090 * ielm.el (ielm-map): Use completion-at-point.
12091 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12092 * progmodes/sym-comp.el: Move to...
12093 * obsolete/sym-comp.el: Move from progmodes.
12095 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12097 Prevent save-buffer in Rmail buffers from using the coding-system
12098 of the current message, and from clobbering the encoding mnemonics
12099 in the mode line (Bug#4623).
12101 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12103 (rmail-message-encoding): New variable.
12104 (rmail-write-region-annotate): Record the encoding of the current
12105 message in rmail-message-encoding.
12106 (rmail-after-save-hook): New function, restores the encoding of
12107 the current message after the message collection is saved.
12109 2009-12-07 Juri Linkov <juri@jurta.org>
12111 * progmodes/grep.el (grep-read-files): Use `completing-read'
12112 instead of `read-string'. Set its `collection' arg to
12113 `read-file-name-internal'. (Bug#4301)
12115 2009-12-07 Juri Linkov <juri@jurta.org>
12117 Correctly restore original Isearch point. (Bug#4994)
12119 * isearch.el (isearch-mode): Move `isearch-push-state' after
12120 `(run-hooks 'isearch-mode-hook)'.
12121 (isearch-cancel): When `isearch-push-state-function' is defined,
12122 let-bind `isearch-cmds' to the first state (the last element of
12123 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12124 function and restores the original point). Otherwise, move point
12125 to `isearch-opoint'.
12127 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12130 chars that don't have names, so the table can be built much faster at
12133 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12135 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12136 change. Suggested by David Kastrup.
12138 * simple.el (compose-mail): Check for incompatibilities and warn.
12139 (compose-mail-user-agent-warnings): New option.
12141 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12143 Support showing a single log entry from vc-annotate.
12144 * vc.el (print-log): Add a new argument: START-REVISION.
12145 (vc-print-log-internal): Add a new optional argument and
12146 pass it to the backend.
12147 (vc-print-log, vc-print-root-log): Adjust callers.
12148 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12149 buffer already displays the requested log entry, use it.
12150 Otherwise display only the log entry in question.
12151 * vc-svn.el (vc-svn-print-log):
12152 * vc-mtn.el (vc-mtn-print-log):
12153 * vc-hg.el (vc-hg-state):
12154 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12155 (vc-git-show-log-entry): Return t on success.
12156 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12157 (vc-bzr-show-log-entry): Return t on success.
12158 * vc-rcs.el (vc-rcs-print-log):
12159 * vc-sccs.el (vc-sccs-print-log):
12160 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12162 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12164 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12165 Add menus to the meta mode. (Bug#5043)
12167 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12169 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12172 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12174 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12176 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12177 Berbain <raphael.berbain@gmail.com>.
12179 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12181 (tramp-initial-end-of-output): New defconst.
12182 (tramp-methods, tramp-find-shell)
12183 (tramp-open-connection-setup-interactive-shell)
12184 (tramp-maybe-open-connection): Use it.
12185 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12186 Handle existence of `#' and `$'.
12188 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12189 Use `tramp-initial-end-of-output'.
12191 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12193 Get the background mode from the terminal for xterm, and set
12195 * term/xterm.el (xterm-set-background-mode): New function.
12196 (terminal-init-xterm): Use it in case xterm supports background
12197 color queries. Recompute faces after getting the background
12200 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12202 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12203 number comment back on its own line, for easier parsing.
12205 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12207 Make it work for non-file buffers (bug#5102).
12208 * doc-view.el (doc-view-current-cache-dir):
12209 Use doc-view-buffer-file-name rather than buffer-file-name.
12210 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12212 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12214 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12215 author field is too short.
12217 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12219 * vc-git.el (vc-git-print-log): Handle a limit argument.
12220 Display the short log in graph form and with labels.
12221 (vc-git-log-view-mode): Handle labels.
12223 Make vc-revert change VC state from 'added to 'unregistered.
12224 * vc-git.el (vc-git-revert): Call git reset first.
12226 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12228 * net/newst-backend.el, net/newst-plainview.el:
12229 * net/newst-reader.el, net/newst-ticker.el:
12230 * net/newst-treeview.el, net/newsticker.el:
12231 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12233 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12235 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12237 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12238 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12239 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12240 Update annotation regexp.
12242 * simple.el (beginning-of-visual-line): Constrain to field
12243 boundaries (Bug#5106).
12245 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12247 * xml.el (xml-substitute-numeric-entities):
12248 Move newsticker--decode-numeric-entities in newst-backend.el to
12249 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12250 * net/newst-backend.el (newsticker--parse-generic-feed)
12251 (newsticker--parse-generic-items)
12252 (newsticker--decode-numeric-entities):
12253 Move newsticker--decode-numeric-entities in newst-backend.el to
12254 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12256 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12258 * progmodes/js.el (js--js-not): Add null to the list of values.
12260 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12262 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12264 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12266 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12267 delimiter if it is at the end of the current line.
12268 (bibtex-generate-url-list): Fix docstring.
12270 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12272 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12273 minibuffer's content with itself.
12274 Fold the confirm-after-completion case into the `confirm' case.
12275 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12277 2009-12-06 Kevin Ryde <user42@zip.com.au>
12279 * ffap.el (ffap-rfc-path): Make this a defcustom since
12280 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12282 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12283 manuals, similar to existing setup for help-mode. (Bug#3913.)
12285 2009-12-05 Juri Linkov <juri@jurta.org>
12287 Save and restore dired buffer's point positions too. (Bug#4880)
12289 * dired.el (dired-save-positions): Return in the first element
12290 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12292 (dired-restore-positions): First restore buffer's position.
12293 While restoring window's positions, check if window still displays
12294 the original buffer.
12296 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12298 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12301 * shell.el (shell): Require ansi-color (Bug#5113).
12303 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12305 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12307 2009-12-05 Alan Mackenzie <acm@muc.de>
12309 * progmodes/cc-mode.el (c-before-hack-hook)
12310 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12311 `c-file-style' to work again. This reversion restores the current
12312 software to its state in Emacs 23.1. (Bug#4146)
12314 2009-12-05 Kevin Ryde <user42@zip.com.au>
12316 * textmodes/sgml-mode.el (sgml-lexical-context):
12317 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12319 2009-12-05 Juri Linkov <juri@jurta.org>
12321 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12322 for virtual nodes. (Bug#4147)
12323 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12324 when moving from a virtual node.
12325 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12326 (Info-mode): Add `Info-virtual-index' to the docstring.
12328 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12330 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12331 track of the buffer position of the end of a BibTeX entry as this
12332 position may change during reformatting.
12333 (bibtex-format-entry): Remove whitespace before processing
12334 numerical fields so that we recognize the latter properly.
12335 (bibtex-reformat): Do not use push which changes the global value
12336 of bibtex-entry-format.
12337 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12338 (bibtex-field-re-init): Replace only space characters by regexp
12340 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12341 (bibtex-initialize): Also update bibtex-strings.
12342 (bibtex-kill-field): Preserve white space at end of entry.
12343 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12344 Update bibtex-reference-keys.
12346 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12348 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12349 point after a star, if that's the only place where modifications can
12352 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12354 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12357 2009-12-04 Juri Linkov <juri@jurta.org>
12359 * proced.el (proced): Call `(proced-update t)' to update process
12360 information instead of only running proced-post-display-hook.
12361 (proced-send-signal): Add a leading space to the buffer name
12362 " *Marked Processes*" to make this buffer ephemeral.
12364 2009-12-04 Juri Linkov <juri@jurta.org>
12366 * dired.el (dired-auto-revert-buffer): New defcustom.
12367 (dired-internal-noselect): Use it.
12369 2009-12-04 Juri Linkov <juri@jurta.org>
12371 Change roles of modes and functions in image-mode.el (Bug#5062).
12373 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12374 in `auto-mode-alist'.
12375 (image-mode-previous-major-mode): New variable.
12376 (image-minor-mode-map): Rename from `image-mode-text-map'.
12377 (image-mode): Move graceful error-handling code from
12378 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12379 (image-minor-mode): Remove all image-handling code.
12380 Replace `image-mode-text-map' with `image-minor-mode-map'.
12381 Check for `image-type' in mode-line format string.
12382 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12383 (image-mode-as-text): New function with most code from
12384 `image-mode-maybe'.
12385 (image-toggle-display-text): Move code that removes image
12386 properties from `image-toggle-display' to here.
12387 (image-toggle-display-image): New function with code that adds
12388 image properties copied from `image-toggle-display'.
12389 (image-toggle-display): Remove most code with leaving only code
12390 that toggles between `image-mode-as-text' and `image-mode'.
12392 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12394 * net/newst-treeview.el
12395 (newsticker--treeview-list-highlight-start): Restored call to
12396 save-excursion: Selected item was stuck.
12397 (newsticker--treeview-list-select): New.
12398 (newsticker--treeview-item-show-text)
12399 (newsticker--treeview-item-show)
12400 (newsticker--treeview-item-update): Use new
12401 newsticker-treeview-item-mode.
12402 (newsticker-treeview-update): Keep current item.
12403 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12404 (newsticker--treeview-first-feed): Doc change.
12405 (newsticker-treeview-list-menu)
12406 (newsticker-treeview-item-menu): Add menu entries.
12407 (newsticker-treeview-item-mode): New.
12409 * net/newst-backend.el (newsticker-customize): Delete other
12412 2009-12-04 Sam Steingold <sds@gnu.org>
12414 * log-view.el (log-view-mode-map): "q" calls quit-window,
12415 like in all the other non-self-insert buffers.
12417 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12421 key decoding rather than do it manually via last-input-event +
12423 (term-exec): Use delete-and-extract-region.
12424 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12425 (term-process-pager): Remove unused var `i'.
12426 (term-dynamic-simple-complete): Make obsolete.
12427 (serial-update-config-menu): Remove unused vars `y' and `str'.
12428 (term-update-mode-line): Remove unused var `temp'.
12430 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12432 Limit the number of log entries displayed by default.
12433 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12434 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12435 using a prefix argument.
12437 2009-12-03 Glenn Morris <rgm@gnu.org>
12439 * progmodes/idlwave.el (class): Restore still useful declaration.
12441 2009-12-03 Alan Mackenzie <acm@muc.de>
12443 Enhance `c-parse-state' to run efficiently in "brace deserts".
12445 * progmodes/cc-mode.el (c-basic-common-init):
12446 Call c-state-cache-init.
12447 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12448 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12449 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12451 * progmodes/cc-langs.el (c-before-font-lock-function):
12452 c-extend-and-neutralize-syntax-in-CPP has been renamed
12453 c-neutralize-syntax-in-and-mark-CPP.
12455 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12456 with `category' properties now, not `syntax-table' ones.
12458 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12459 enhanced (but slower) version of c-end-of-macro that won't land
12460 inside a literal or on another awkward character.
12461 (c-state-cache-too-far, c-state-cache-start)
12462 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12463 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12464 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12465 (c-state-min-scan-pos, c-state-brace-pair-desert)
12466 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12467 buffer local variables.
12468 (c-state-literal-at, c-state-lit-beg)
12469 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12470 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12471 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12472 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12473 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12474 (c-renarrow-state-cache)
12475 (c-append-lower-brace-pair-to-state-cache)
12476 (c-state-push-any-brace-pair, c-append-to-state-cache)
12477 (c-remove-stale-state-cache)
12478 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12479 (c-invalidate-state-cache-1, c-parse-state-1)
12480 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12481 (c-parse-state): Enhance and refactor.
12482 (c-debug-parse-state): Amend to deal with all the new variables.
12484 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12485 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12486 modify to use category text properties rather than syntax-table ones.
12487 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12488 to switch off/on the syntactic paren property of C++ template
12489 delimiters using the category property.
12490 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12491 template delims suppressed.
12492 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12493 New constant/macros which apply category properties to the start
12494 and end of preprocessor constructs.
12495 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12496 "comment out" the syntactic value of characters in preprocessor
12498 (c-with-cpps-commented-out)
12499 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12500 with characters in all or all but one preprocessor constructs
12503 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12505 * proced.el (proced-filter-alist): Use regexp-quote.
12507 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12510 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12511 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12512 arguments. Expand `default-directory'.
12514 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12515 the benefit of returning an expanded localname.
12516 (tramp-tramp-file-p): Handle the case NAME is not a string.
12518 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12520 Add support for bzr shelve/unshelve.
12521 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12522 (vc-bzr-extra-menu-map): New variables.
12523 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12524 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12525 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12526 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12527 (vc-bzr-dir-extra-headers): Display shelves.
12529 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12531 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12533 * textmodes/bibtex.el (bibtex-complete-internal):
12534 Use completion-in-region.
12535 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12537 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12539 Support applying stashes. Improve UI.
12540 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12541 (vc-git-stash-apply, vc-git-stash-pop)
12542 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12543 (vc-git-stash-menu): New functions.
12544 (vc-git-stash-menu-map): New variable.
12545 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12547 2009-12-03 Glenn Morris <rgm@gnu.org>
12549 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12550 (vc-print-log-internal): Fix previous change.
12551 (vc-revert): Correct pluralization.
12553 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12555 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12556 it to be an alist any more.
12557 (makefile-complete): Use completion-in-region.
12559 * progmodes/octave-mod.el (octave-complete-symbol):
12560 Use completion-in-region.
12563 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12564 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12565 (idlwave-complete-class): Don't quote lambda.
12566 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12567 (idlwave-mode-map): Move initialization into declaration.
12568 (idlwave-action-and-binding): Use backquotes.
12569 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12571 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12572 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12573 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12574 `parts', and `all-parts'.
12575 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12576 (idlwave-convert-xml-system-routine-info): Remove unused string
12578 (idlwave-display-user-catalog-widget): Use dolist.
12579 (idlwave-scanning-lib): Declare dynamically-scoped var.
12580 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12581 (completion-highlight-first-word-only): Declare to silence bytecomp.
12582 (idlwave-popup-select): Tighten scope of `resp'.
12583 (idlwave-find-struct-tag): Remove unused var `beg'.
12584 (idlwave-after-load-rinfo-hook): Declare.
12585 (idlwave-sintern-class-info): Remove unused var `taglist'.
12586 (idlwave-find-class-definition): Remove unused var `list'.
12587 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12588 (idlwave-what-module-find-class): Remove unused var `classes'.
12590 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12592 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12594 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12597 buffers visited. Remove redundant current-buffer-saving.
12599 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12601 Use completion-in-buffer and remove uses of dynamic scoping.
12602 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12603 (pascal-buffer-to-use, pascal-flag): Don't declare.
12604 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12605 (pascal-get-completion-decl, pascal-keyword-completion):
12606 Add `pascal-str' argument, save-excursion,
12607 return the found completions, and don't filter with pascal-pred.
12608 (pascal-completion-cache): New var.
12609 (pascal-completion): Don't switch buffer any more (it was never
12610 necessary). Don't save-excursion any more (it's done by the called
12611 subroutines). Use a cache to avoid redundant computations.
12612 Use complete-with-action rather than pascal-completion-response and
12613 let it apply the predicate as well.
12614 (pascal-complete-word): Use completion-in-buffer when
12615 pascal-toggle-completions is nil.
12616 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12618 (pascal-comp-defun): Don't change buffer any more.
12619 Use complete-with-action rather than pascal-completion-response and
12620 let it apply the predicate as well.
12621 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12624 2009-12-02 Kenichi Handa <handa@m17n.org>
12626 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12627 shape for all Indic scripts.
12629 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12631 Use completion-in-buffer.
12632 * wid-edit.el (widget-field-text-end): New function.
12633 (widget-field-value-get): Use it.
12634 (widget-string-complete, widget-file-complete)
12635 (widget-color-complete): Use it and completion-in-region.
12636 (widget-complete): Don't narrow the buffer.
12638 2009-12-02 Glenn Morris <rgm@gnu.org>
12640 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12641 (rmail-select-summary): Use rmail-pop-to-buffer.
12642 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12643 rmail-pop-to-buffer, to prevent horizontal splits.
12645 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12646 save-excursion with save-current-buffer.
12647 Widen before searching. (Bug#5093)
12648 (diary-list-sexp-entries): Remove superfluous save-excursion.
12650 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12652 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12655 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12657 * ido.el (ido-file-internal): Handle filenames at point that do
12658 not have a directory part. (Bug#5049)
12660 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12662 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12663 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12665 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12667 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12668 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12671 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12673 * comint.el (comint-insert-input): Ignore clicks to the right of
12674 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12676 * vc.el (vc-print-log-internal): Don't wait for the process to
12677 terminate before setting up the major mode.
12679 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12682 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12685 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12687 2009-12-01 Glenn Morris <rgm@gnu.org>
12689 * window.el (window--display-buffer-2): Fix previous changes.
12691 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12693 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12695 2009-12-01 Glenn Morris <rgm@gnu.org>
12697 * Makefile.in (ELCFILES): Add mpc.elc.
12699 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * mpc.el: New file.
12703 2009-12-01 Glenn Morris <rgm@gnu.org>
12705 * window.el (window-to-use): Define for compiler.
12707 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12708 consistent with others (no final period).
12710 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12711 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12713 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12715 Make vc-print-log buttons work.
12716 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12718 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12720 * savehist.el (savehist-autosave-interval): Allow setting to nil
12721 through customize. (Bug#5056)
12723 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12725 Fix references to jit-lock properties.
12726 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12727 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12728 (perl-font-lock-special-syntactic-constructs):
12729 Quote jit-lock-defer-multiline property.
12731 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12733 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12735 2009-11-30 Juri Linkov <juri@jurta.org>
12737 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12738 value `buffer' of `multi-isearch-next-buffer-current-function'.
12739 Use `(current-buffer)' when `buffer' is nil.
12740 (multi-isearch-next-buffer-from-list): Don't fallback to
12741 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12743 2009-11-30 Juri Linkov <juri@jurta.org>
12745 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12746 of buffers with `get-buffer' to `multi-isearch-buffers'.
12747 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12748 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12749 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12750 FILES with `expand-file-name' converting relative file names
12751 to absolute. Doc fix. (Bug#4727)
12753 2009-11-30 Juri Linkov <juri@jurta.org>
12755 * misearch.el (multi-isearch-read-buffers)
12756 (multi-isearch-read-matching-buffers): New functions.
12757 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12758 Use them in the `interactive' spec. Doc fix.
12759 (multi-isearch-read-files, multi-isearch-read-matching-files):
12761 (multi-isearch-files, multi-isearch-files-regexp):
12762 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12764 2009-11-30 Juri Linkov <juri@jurta.org>
12766 * doc-view.el (doc-view-continuous):
12767 Rename from `doc-view-continuous-mode'.
12768 (doc-view-menu): Move "Toggle display" to the top.
12769 Add submenu "Continuous" with radio buttons "Off"/"On"
12770 and "Save as Default".
12771 (doc-view-scroll-up-or-next-page)
12772 (doc-view-scroll-down-or-previous-page)
12773 (doc-view-next-line-or-next-page)
12774 (doc-view-previous-line-or-previous-page):
12775 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12777 2009-11-30 Juri Linkov <juri@jurta.org>
12779 * comint.el (comint-mode-map): Rebind `M-r' from
12780 `comint-previous-matching-input' to
12781 `comint-history-isearch-backward-regexp'.
12782 Unbind `M-s' to allow global key binding `M-s'.
12783 Add menu items for `comint-history-isearch-backward' and
12784 `comint-history-isearch-backward-regexp'. (Bug#3746)
12786 2009-11-30 Juri Linkov <juri@jurta.org>
12788 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12789 For def=recenter, replace `recenter' with `recenter-top-bottom'
12790 that is called with `this-command' and `last-command' let-bound
12791 to `recenter-top-bottom'. When the last `def' was not `recenter',
12792 set `recenter-last-op' to nil. (Bug#4981)
12794 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12796 Minor cleanup and simplification.
12797 * filecache.el (file-cache-add-directory)
12798 (file-cache-add-directory-recursively)
12799 (file-cache-add-from-file-cache-buffer)
12800 (file-cache-delete-file-regexp, file-cache-delete-directory)
12801 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12802 (file-cache-temp-minibuffer-message): Delete function.
12803 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12805 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12806 Don't signal an error when bumping into EOB in tr, s, or y.
12808 2009-11-29 Juri Linkov <juri@jurta.org>
12810 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12813 * descr-text.el (describe-char-unidata-list): Use lowercase name
12814 for "Unicode name" like in other tags.
12816 2009-11-29 Juri Linkov <juri@jurta.org>
12818 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12819 New compatibility macro.
12820 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12822 2009-11-29 Juri Linkov <juri@jurta.org>
12824 Add defcustom to define the cycling order of `recenter-top-bottom'.
12827 * window.el (recenter-last-op): Doc fix.
12828 (recenter-positions): New defcustom.
12829 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12830 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12832 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12834 Improve integration of Tramp and ange-ftp in eshell.
12836 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12837 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12838 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12840 * eshell/esh-util.el (top): Require also Tramp when compiling.
12841 (eshell-directory-files-and-attributes): Check for FTP remote
12843 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12844 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12845 (eshell-file-attributes): Handle ".". Return `entry'.
12847 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12848 (ange-ftp-directory-files-and-attributes)
12849 (ange-ftp-real-directory-files-and-attributes): New defuns.
12851 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12852 shell with "exec" when possible. This prevents trailing prompts
12853 in `start-file-process'.
12855 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12857 Try and remove assumptions about point-min==1.
12858 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12859 (rng-compute-mode-line-string): Show the validation percentage in
12860 terms of the narrowed text, not the widened text.
12861 (rng-do-some-validation): Don't catch internal errors when debugging.
12862 (rng-first-error): Simplify.
12863 (rng-after-change-function): Remove work around. AFAIK the bug has
12864 been fixed a while ago.
12866 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12867 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12869 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12871 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12872 `cd' doesn't always do it for us (bug#5067).
12874 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12875 on 2009-10-25 as part of some other change (bug#5067).
12877 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12881 (byte-compile-warnings): Use byte-compile-warning-types.
12882 (byte-compile-save-excursion): Warn about use of set-buffer right
12883 after save-excursion.
12885 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12886 the excursion as well.
12888 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12890 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12891 providing a Tramp related implementation of "su" and "sudo".
12892 (eshell-unix-initialize): Add "su" and "sudo".
12894 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12896 * net/socks.el (socks-send-command): Convert binary request to
12897 unibyte before sending. This fixes mishandling of some port
12898 numbers such as 129.
12900 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12902 * help.el (describe-bindings-internal): Remove `interactive'.
12904 * man.el (Man-completion-table): Trim a terminating "(".
12905 Remove the space between name page a section.
12906 Add the command's description on the `help-echo' property.
12907 Remove `process-connection-type' binding since it's unused by
12909 Provide completion for the "<section> <name>" format as well.
12910 (Man-default-man-entry): Remove spurious var shadowing the argument.
12912 2009-11-26 Kevin Ryde <user42@zip.com.au>
12914 * log-view.el: Add "Keywords: tools", since its other keywords
12915 aren't in finder-known-keywords, and following vc.el.
12917 * sha1.el (sha1-string-external): default-directory "/" in case
12918 otherwise non-existent. process-connection-type pipe for touch of
12919 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12921 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12923 Misc coding convention cleanups.
12924 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12925 hfy-init-kludge-hooks.
12926 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12927 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12928 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12930 (hfy-slant, hfy-weight): Use tables rather than code.
12931 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12932 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12933 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12934 (hfy-face-to-css): Remove `nconc' with single arg.
12935 (hfy-p-to-face-lennart): Use `or'.
12936 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12937 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12938 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12939 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12940 (hfy-force-fontification): Use run-hooks.
12942 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12944 Various minor fixes.
12945 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12946 Javascript belongs in the header, not the body.
12947 (hfy-javascript): Remove.
12948 (hfy-fontify-buffer): Don't insert it any more.
12949 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12950 Fix bug in invis handling when there were no invis props in a chunk.
12952 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12956 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12958 * finder.el (finder-mode-map): Add a menu.
12960 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12962 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12963 "unsigned" structs.
12965 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12966 fork" statement better.
12968 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12970 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12971 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12972 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12973 Reported by Clay Douglass.
12975 (verilog-auto-inst, verilog-auto-star-safe)
12976 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12977 Fix removing "// Interfaces" when saving .* expansions.
12978 Reported by Pierre-David Pfister.
12980 2009-11-26 Glenn Morris <rgm@gnu.org>
12982 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12985 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12987 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12988 Really use previous revision.
12990 2009-11-25 Kevin Ryde <user42@zip.com.au>
12992 * man.el (Man-completion-table): default-directory "/" in case
12993 doesn't otherwise exist. process-environment COLUMNS=999 so as
12994 not to truncate long names. process-connection-type pipe to avoid
12995 any chance of hitting the pseudo-tty TIOCGWINSZ.
12996 (man): completion-ignore-case t for friendliness and since man
12997 itself is case-insensitive on the command line.
12998 Further to Bug#3717.
13000 * arc-mode.el: Add "Keywords: files", so the details in its
13001 commentary can be reached from finder-by-keyword.
13002 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13003 editing mode, but it's comms related and sgml-mode.el has "comm"
13005 * textmodes/bibtex-style.el: Add "Keywords: tex".
13006 * international/isearch-x.el, international/ja-dic-cnv.el:
13007 * international/ja-dic-utl.el, international/kkc.el:
13008 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13010 2009-11-25 Juri Linkov <juri@jurta.org>
13012 * man.el (Man-completion-table): Modify regexp to include
13013 section names to completion strings. (Bug#3717)
13015 2009-11-25 Juri Linkov <juri@jurta.org>
13017 Search recursively in gzipped files. (Bug#4982)
13019 * progmodes/grep.el (grep-highlight-matches): Add new options
13020 `always' and `auto'. Doc fix.
13021 (grep-process-setup): Check `grep-highlight-matches' for
13022 `auto-detect' to determine the need to compute grep defaults.
13023 Move Windows/DOS specific --colors settings handling
13024 to `grep-compute-defaults'. Check `grep-highlight-matches'
13025 to get the value of "--color=".
13026 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13027 has the value `auto-detect'. Move Windows/DOS specific settings
13028 from `grep-process-setup'.
13029 (zrgrep): New command with alias `rzgrep'.
13031 2009-11-25 Juri Linkov <juri@jurta.org>
13033 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13034 to nil instead of switching off view-mode. (Bug#4896)
13036 2009-11-25 Juri Linkov <juri@jurta.org>
13038 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13040 * mwheel.el (mwheel-scroll-up-function)
13041 (mwheel-scroll-down-function): New defvars.
13042 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13043 `scroll-up', and `mwheel-scroll-down-function' instead of
13046 * doc-view.el (doc-view-scroll-up-or-next-page)
13047 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13048 Use this ARG in the call to image-scroll-up/image-scroll-down.
13049 Change `interactive' spec to "P". Goto next/previous page only
13050 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13051 SPC/DEL case). Doc fix.
13052 (doc-view-next-line-or-next-page)
13053 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13055 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13056 `doc-view-scroll-up-or-next-page', and buffer-local
13057 `mwheel-scroll-down-function' to
13058 `doc-view-scroll-down-or-previous-page'.
13060 2009-11-25 Juri Linkov <juri@jurta.org>
13062 Provide additional default values (directories at other Dired
13063 windows) via M-n in the minibuffer of some Dired commands.
13065 * dired-aux.el (dired-diff, dired-compare-directories)
13066 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13067 `minibuffer-default' in `minibuffer-with-setup-hook'.
13068 (dired-dwim-target-directory): Find a window that displays Dired
13069 buffer instead of failing when the next window is not Dired.
13070 Use `get-window-with-predicate' to find for the next Dired window.
13071 (dired-dwim-target-defaults): New function.
13073 * ediff-util.el (ediff-read-file-name):
13074 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13075 in `minibuffer-with-setup-hook'.
13077 2009-11-25 Juri Linkov <juri@jurta.org>
13079 Provide additional default values (file name at point or at the
13080 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13082 * minibuffer.el (read-file-name-defaults): New function.
13083 (read-file-name): Reset `minibuffer-default' to nil when
13084 it duplicates initial input `insdef'.
13085 Bind `minibuffer-default-add-function' to lambda that
13086 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13087 (minibuffer-insert-file-name-at-point): New command.
13089 * files.el (file-name-at-point-functions): New defcustom.
13090 (find-file-default): Remove defvar.
13091 (find-file-read-args): Don't use `find-file-default'.
13092 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13093 to `read-file-name'.
13094 (find-file-literally): Use `read-file-name' with
13095 `confirm-nonexistent-file-or-buffer'.
13097 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13099 * dired.el (dired-read-dir-and-switches):
13100 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13101 to `read-file-name'.
13102 (dired-file-name-at-point): New function.
13103 (dired-mode): Add hook `dired-file-name-at-point' to
13104 `file-name-at-point-functions'.
13106 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13108 Really make the *Completions* window soft-dedicated (bug#5030).
13109 * window.el (window--display-buffer-2): Add `dedicated' argument.
13110 (display-buffer): Pass it when needed so the dedicated flag is set
13111 after calling set-window-buffer, which would otherwise reset it.
13113 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * progmodes/meta-mode.el (meta-complete-symbol):
13116 * progmodes/etags.el (complete-tag):
13117 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13118 Use completion-in-region.
13120 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13121 (dabbrev-completion): Use completion-in-region.
13122 (dabbrev--abbrev-at-point): Simplify regexp.
13124 * abbrev.el (abbrev--before-point): Use word-motion functions
13125 if :regexp is not specified (bug#5031).
13127 * subr.el (string-prefix-p): New function.
13129 * man.el (Man-completion-cache): New var.
13130 (Man-completion-table): Use it.
13132 * vc.el (vc-print-log-internal): Make `limit' optional for better
13133 compatibility (e.g. with vc-annotate.el).
13135 2009-11-24 Kevin Ryde <user42@zip.com.au>
13137 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13138 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13140 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13141 when .el source file not found or other error.
13143 2009-11-24 Markus Triska <markus.triska@gmx.at>
13145 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13147 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13149 Handle the [back] button properly (bug#4979).
13150 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13151 Use help-setup-xref, help-buffer, and with-help-window.
13152 (describe-char): Add `buffer' argument.
13153 Pass proper command to help-setup-xref. Don't meddle with
13154 help-xref-stack-item directly.
13155 (describe-text-category): Use with-help-window and help-buffer.
13157 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13158 for the displayed buffer (bug#4887).
13160 * man.el (Man-completion-table): New function.
13163 2009-11-24 David Reitter <david.reitter@gmail.com>
13165 * vc-git.el (vc-git-registered): Use checkout directory (where
13166 .git is) rather than the file's directory and a relative path spec
13167 to work around a bug in git.
13169 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13171 Improve handling of processes on remote hosts.
13173 * eshell/esh-util.el (eshell-path-env): New defvar.
13174 (eshell-parse-colon-path): New defun.
13175 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13177 * eshell/esh-ext.el (eshell-search-path):
13178 Use `eshell-parse-colon-path'.
13179 (eshell-remote-command): Remove argument HANDLER.
13180 (eshell-external-command): Check for FTP remote connection.
13182 * eshell/esh-proc.el (eshell-gather-process-output):
13183 Use `file-truename', in order to start also symlinked files.
13184 Apply `start-file-process' instead of `start-process'.
13185 Shorten `command' to the local file name part.
13187 * eshell/em-cmpl.el (eshell-complete-commands-list):
13188 Use `eshell-parse-colon-path'.
13190 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13192 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13193 to `eshell-directory-change-hook'.
13195 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13197 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13198 because it could be enabled automatically if view-read-only is non-nil.
13200 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13202 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13203 made on 2009-11-22.
13205 2009-11-24 Glenn Morris <rgm@gnu.org>
13207 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13208 deleted variable bookmark-bmenu-bookmark-column.
13210 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13212 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13214 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13216 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13217 two slashes to the "file:" prefix.
13218 (browse-url-file-url): De-munge Cygwin filenames before passing
13219 them to Windows browser.
13220 (browse-url-default-windows-browser): Use call-process.
13222 2009-11-23 Juri Linkov <juri@jurta.org>
13224 Implement DocView Continuous mode. (Bug#4896)
13225 * doc-view.el (doc-view-continuous-mode): New defcustom.
13226 (doc-view-mode-map): Bind C-n/<down> to
13227 `doc-view-next-line-or-next-page', C-p/<up> to
13228 `doc-view-previous-line-or-previous-page'.
13229 (doc-view-next-line-or-next-page)
13230 (doc-view-previous-line-or-previous-page): New commands.
13232 2009-11-23 Juri Linkov <juri@jurta.org>
13234 Implement Isearch in comint input history. (Bug#3746)
13235 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13236 `isearch-mode-hook'.
13237 (comint-history-isearch): New defcustom.
13238 (comint-history-isearch-backward)
13239 (comint-history-isearch-backward-regexp): New commands.
13240 (comint-history-isearch-message-overlay): New buffer-local variable.
13241 (comint-history-isearch-setup, comint-history-isearch-end)
13242 (comint-goto-input, comint-history-isearch-search)
13243 (comint-history-isearch-message, comint-history-isearch-wrap)
13244 (comint-history-isearch-push-state)
13245 (comint-history-isearch-pop-state): New functions.
13247 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13249 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13251 (tramp-handle-make-symbolic-link)
13252 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13254 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13255 (tramp-handle-process-file): Use it.
13257 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13259 * window.el (move-to-window-line-last-op): Remove.
13260 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13262 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13264 Make M-r mirror the new cycling behavior of C-l.
13265 * window.el (move-to-window-line-last-op): New var.
13266 (move-to-window-line-top-bottom): New command.
13267 (global-map): Bind M-r move-to-window-line-top-bottom.
13269 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13271 * dired-x.el (dired-guess-shell-alist-default):
13272 Support xz format. (Bug#4953)
13274 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13276 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13277 last-command-char/last-command-event.
13278 (viper-prefix-arg-value): Do correct conversion of event-char for
13281 * emulation/viper-util.el, emulation/viper.el:
13282 Use viper-last-command-char instead of
13283 last-command-char/last-command-event.
13285 * ediff-init.el, ediff-mult.el, ediff-util.el:
13286 Replace last-command-char and last-command-event
13287 with (ediff-last-command-char) everywhere.
13289 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13290 created in fundamental mode.
13292 * ediff.el (ediff-version): Revert the change of interactive-p to
13293 called-interactively-p.
13295 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13297 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13298 generation from word-movement command names.
13300 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13302 * cus-start.el (all): Add native condition for font-use-system-font.
13304 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13306 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13307 Correct the patch from 2009-11-18. (Bug#3910)
13309 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13311 * progmodes/subword.el: Rename from lisp/subword.el.
13313 * subword.el: Rename to progmodes/subword.el.
13315 * Makefile.in (ELCFILES): Adapt to subword.el move.
13317 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13318 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13321 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13322 (bookmark-bmenu-show-filenames): Use push.
13323 (bookmark-bmenu-hide-filenames): Use local var instead of
13324 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13325 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13326 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13327 filenames now that the bookmark names are always available.
13329 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13332 (bookmark-search-pattern): Move and leave unbound.
13333 (bookmark-bmenu-mode-map): Change binding.
13334 (bookmark-read-search-input): Simplify.
13335 Don't use text-char-description. Don't error on non-char events.
13336 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13337 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13338 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13339 Use a local var for the timer.
13340 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13341 (i.e. bookmark-bmenu-search).
13343 2009-11-21 Glenn Morris <rgm@gnu.org>
13345 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13347 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13349 * net/browse-url.el (browse-url-default-windows-browser):
13350 Use cygstart for cygwin.
13352 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13354 * bookmark.el: Formatting and doc fixes only:
13355 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13356 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13357 Minor grammar and punctuation fixes in doc string.
13358 (bookmark-read-search-input): Adjust to fit within 80 columns.
13360 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13362 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13363 (c-backward-into-nomenclature): Adapt to subword renaming.
13365 * subword.el (subword-forward, subword-backward, subword-mark)
13366 (subword-kill, subword-backward-kill, subword-transpose)
13367 (subword-downcase, subword-upcase, subword-capitalize)
13368 (subword-forward-internal, subword-backward-internal):
13369 Rename from forward-subword, backward-subword, mark-subword,
13370 kill-subword, backward-kill-subword, transpose-subwords,
13371 downcase-subword, upcase-subword, capitalize-subword,
13372 forward-subword-internal, backward-subword-internal.
13374 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13376 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13378 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13380 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13381 (bookmark-bmenu-filter-alist-by-regexp)
13382 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13383 (bookmark-bmenu-search): New command.
13384 (bookmark-bmenu-mode-map): Bind it.
13386 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13388 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13389 backward-subword to quit the byte-compiler.
13391 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13393 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13395 * progmodes/cc-cmds.el (c-update-modeline)
13396 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13397 Refer to subword.el functions instead of cc-subword.el.
13399 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13400 subword.el functions instead of cc-subword.el.
13402 * progmodes/cc-subword.el: Rename to subword.el.
13403 * subword.el: Rename from progmodes/cc-subword.el.
13404 (subword-mode-map): Rename from c-subword-mode-map.
13405 (subword-mode): Rename from c-subword-mode.
13406 (global-subword-mode): New global minor mode.
13407 (forward-subword): Rename from c-forward-subword.
13408 (backward-subword): Rename from c-backward-subword.
13409 (mark-subword): Rename from c-mark-subword.
13410 (kill-subword): Rename from c-kill-subword.
13411 (backward-kill-subword): Rename from c-backward-kill-subword.
13412 (transpose-subwords): Rename from c-tranpose-subword.
13413 (downcase-subword): Rename from c-downcase-subword.
13414 (capitalize-subword): Rename from c-capitalize-subword.
13415 (forward-subword-internal): Rename from c-forward-subword-internal.
13416 (backward-subword-internal): Rename from c-backward-subword-internal.
13418 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13420 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13421 from a dired buffer.
13422 (vc-dired-deduce-fileset): New function.
13423 (vc-root-diff, vc-print-root-log): Use it.
13425 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13426 nil LIMIT argument to vc-print-log-internal.
13428 2009-11-20 Glenn Morris <rgm@gnu.org>
13430 * Makefile.in (ELCFILES): Regenerate.
13432 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13434 * calc/calc.el (calc-set-mode-line):
13435 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13436 (math-format-number): Rename `math-format-complement-signed' to
13437 `math-format-twos-complement'.
13439 * calc/calc-bin.el (math-format-twos-complement): Rename from
13440 math-format-complement-signed.
13441 (calc-radix): Rename `calc-complement-signed-mode' to
13442 `calc-twos-complement-mode'.
13443 (calc-octal-radix, calc-hex-radix): Add an argument for
13446 * calc/calc-embed.el (calc-embedded-mode-vars):
13447 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13449 * calc/calc-ext.el (calc-init-extensions):
13450 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13451 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13453 * calc/calc-units.el (math-build-units-table-buffer):
13454 Let `calc-twos-complement-mode' be nil.
13456 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13459 * calc/calc-vec.el (calcFunc-vunpack):
13460 * calc/calc-aent.el (calc-do-calc-eval):
13461 * calc/calc-forms.el (math-format-date):
13462 * calc/calc-graph.el (calc-graph-plot):
13463 * calc/calc-math.el (math-use-emacs-fn):
13464 * calc/calccomp.el (math-compose-expr):
13465 Let `calc-twos-complement-mode' be nil.
13467 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13469 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13470 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13471 * minibuffer.el (completion-in-region-functions): New hook.
13472 (completion-in-region): New function.
13473 * emacs-lisp/lisp.el (lisp-complete-symbol):
13474 * pcomplete.el (pcomplete-std-complete): Use it.
13476 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13478 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13479 (latex-complete-alist): New vars.
13480 (latex-string-prefix-p, latex-complete-bibtex-keys)
13481 (latex-complete-envnames, latex-complete-refkeys)
13482 (latex-complete-data): New functions.
13483 (latex-complete, latex-indent-or-complete): New commands.
13485 * window.el (display-buffer-mark-dedicated): New var.
13486 (display-buffer): Obey it.
13487 * minibuffer.el (minibuffer-completion-help): Use it.
13489 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13491 * filecache.el (file-cache-add-file): Use push and cons.
13492 (file-cache-delete-file-regexp): Use push.
13493 (file-cache-complete): Use completion-in-region.
13495 * simple.el (with-wrapper-hook): Fix thinko.
13497 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13498 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13499 Use with-current-buffer and string-to-number.
13500 (hfy-fallback-colour-values): Use assoc-string.
13501 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13502 (hfy-face-at): Remove unused var `found-face'.
13503 (hfy-compile-stylesheet): Remove unused var `css'.
13504 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13506 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13507 Use with-current-buffer.
13508 (hfy-text-p): Use expand-file-name and fewer setq.
13510 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13512 * htmlfontify.el, hfy-cmap.el: New files.
13514 2009-11-19 Juri Linkov <juri@jurta.org>
13516 * minibuffer.el (completions-format): New defcustom.
13517 (completion--insert-strings): Implement vertical format.
13519 * simple.el (switch-to-completions): Move point to the first
13520 completion when point was at the beginning of the buffer.
13522 2009-11-19 Juri Linkov <juri@jurta.org>
13524 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13526 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13528 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13530 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13531 (mail-signature): Change default to t.
13532 (mail-from-style): Deprecate `system-default' value.
13533 (mail-insert-from-field): For default value of mail-from-style,
13534 default to `angles' unless `angles' needs quoting and `parens'
13536 (mail-citation-prefix-regexp): Use citation regexp from
13539 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13541 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13542 Set variables for computing the prompt for reading password.
13544 2009-11-19 Glenn Morris <rgm@gnu.org>
13546 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13548 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13550 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13551 (newsticker-treeview-listwindow-height): Fix custom type.
13553 2009-11-19 Kenichi Handa <handa@m17n.org>
13555 * descr-text.el (describe-char-padded-string): Compose with TAB
13556 only if there's a font for CH.
13557 (describe-char): Fix the condition for detecting a trivial composition.
13559 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13561 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13562 more accurate version of the regexp. (Bug#3910)
13564 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13566 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13568 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13570 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13571 (font-setting-change-default-font): Fix typo in docstring.
13573 2009-11-18 Alan Mackenzie <acm@muc.de>
13575 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13577 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13579 * font-setting.el (font-use-system-font): Move ...
13581 * cus-start.el (all): ... to here.
13583 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13585 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13586 Don't set `ad-return-value' if `ad-do-it' doesn't.
13588 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13591 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13593 * menu-bar.el: Put "Use system font" in Option-menu.
13594 (menu-bar-options-save): Add font-use-system-font.
13596 * loadup.el: If feature system-font-setting or font-render-setting is
13597 there, load font-setting.
13599 * Makefile.in (ELCFILES): Add font-settings.el.
13600 * font-setting.el: New file.
13602 2009-11-17 Glenn Morris <rgm@gnu.org>
13604 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13606 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13607 Preserve point in the list buffer. (Bug#4939)
13609 (newsticker--treeview-list-update-highlight)
13610 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13612 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13614 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13617 * calc/calc-ext.el (calc-init-extensions): Remove references to
13620 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13622 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13623 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13626 2009-11-16 Kevin Ryde <user42@zip.com.au>
13628 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13629 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13631 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13632 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13633 Ignore trailing spaces by omit-nulls to split-string (fixing
13634 regression from Emacs 21 due to the incompatible split-string
13635 change). (Bug #4928.)
13637 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13639 * vc.el (vc-log-show-limit): Default to 2000.
13640 (vc-print-log-internal): Insert buttons to request more entries
13641 when limiting the output.
13643 * vc-sccs.el (vc-sccs-print-log):
13644 * vc-rcs.el (vc-rcs-print-log):
13645 * vc-cvs.el (vc-cvs-print-log):
13646 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13649 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13651 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13652 error when `tramp-gvfs-dbus-event-vector' is set.
13653 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13655 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13657 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13659 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13661 * net/dbus.el (dbus-unregister-service): New defun.
13662 (dbus-register-property): Register the handlers of
13663 "org.freedesktop.DBus.Properties" for SERVICE.
13664 (dbus-property-handler): Fix docstring.
13666 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13668 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13669 Quote doc string reference in defvaralias as it is not in special form.
13670 (byte-compile-output-docform): Doc fix.
13672 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13674 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13675 (calc-complement-signed-mode): New variables.
13676 (calc-set-mode-line): Add indicator for twos-complements.
13677 (math-format-number): Format twos-complement notation.
13679 * calc/calc-bin.el (calc-word-size): Reset the variables
13680 `math-2-word-size' and `math-half-2-word-size'.
13681 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13682 (calc-symclip): New functions.
13684 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13686 * calc/calc-embed.el (calc-embedded-mode-vars):
13687 Add `calc-complement-signed-mode' to the list of modes.
13689 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13690 (calc-b-oper-keys): Add `calc-symclip' to list.
13692 * calc/calc-ext.el (math-read-number-fancy): Read complement
13694 (calc-init-extensions): Add binding for `calc-symclip'.
13695 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13697 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13699 (calc-modes-menu): Add item for twos complement mode.
13701 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13703 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13705 * register.el (jump-to-register, insert-register): Handle Semantic
13706 tags. From commented-out advice in semantic/senator.el.
13708 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13710 * vc.el (vc-log-show-limit): New variable.
13711 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13712 when using a prefix argument.
13713 (vc-print-log-internal): Add new argument LIMIT.
13715 * vc-svn.el (vc-svn-print-log):
13716 * vc-mtn.el (vc-mtn-print-log):
13717 * vc-hg.el (vc-hg-print-log):
13718 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13719 pass it to the log command when set. Make the BUFFER argument
13722 * vc-sccs.el (vc-sccs-print-log):
13723 * vc-rcs.el (vc-rcs-print-log):
13724 * vc-git.el (vc-git-print-log):
13725 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13726 ignore it. Make the BUFFER argument non-optional
13728 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13730 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13732 * dired.el (dired-mode-map): Move encryption items to "Operate"
13735 * strokes.el (strokes-update-window-configuration): Make strokes
13736 buffer current before erasing (Bug#4906).
13738 2009-11-15 Juri Linkov <juri@jurta.org>
13740 * simple.el (set-mark-default-inactive): Add :type, :group
13741 and :version. (Bug#4876)
13743 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13745 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13746 (archive-unique-fname): ... here. (Bug#4929)
13748 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13753 * novice.el (disabled-command-function): Add useful args.
13754 Setup the help buffer so that [back] works.
13755 Remove redundant call to help-mode.
13756 (disabled-command-function): Use `case'.
13757 (en/disable-command): New function extracted from enable-command.
13758 (enable-command, disable-command): Use it.
13760 2009-11-14 Glenn Morris <rgm@gnu.org>
13762 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13763 constants. (Bug#4913)
13765 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13767 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13769 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13770 defined in C that have no doc-strings. (Bug#1063)
13772 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13774 * cus-edit.el (data, files):
13775 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13777 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13779 * simple.el (shell-command): Doc fix (Bug#4891).
13781 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13783 2009-11-14 Glenn Morris <rgm@gnu.org>
13785 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13786 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13787 If they are already loaded, eval-after-load will do the right thing.
13789 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13792 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13794 * simple.el (x-selection-owner-p): Declare.
13795 (read-mail-command): Use custom radio type rather than choice.
13796 (completion-no-auto-exit): Doc fix.
13798 * custom.el (defgroup):
13799 * epg-config.el (epg): Doc fixes.
13801 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13803 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13804 * international/ccl.el (define-ccl-program): Do not purecopy the
13805 docstring, defconst does it anyway.
13807 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13809 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13812 * x-dnd.el (x-dnd-maybe-call-test-function):
13813 * window.el (split-window-vertically):
13814 * whitespace.el (whitespace-help-on):
13815 * vc-rcs.el (vc-rcs-consult-headers):
13816 * userlock.el (ask-user-about-lock-help)
13817 (ask-user-about-supersession-help):
13818 * type-break.el (type-break-force-mode-line-update):
13819 * time-stamp.el (time-stamp-conv-warn):
13820 * terminal.el (te-set-output-log, te-more-break, te-filter)
13821 (te-sentinel, terminal-emulator):
13822 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13823 (term-write-input-ring, term-check-source, term-start-output-log):
13824 (term-display-buffer-line, term-dynamic-list-completions):
13825 (term-ansi-make-term, serial-term):
13826 * subr.el (selective-display):
13827 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13828 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13829 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13830 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13831 (speedbar-remove-localized-speedbar-support)
13832 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13833 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13834 (speedbar-buffers-line-directory):
13835 * simple.el (shell-command-on-region, append-to-buffer)
13836 (prepend-to-buffer):
13837 * shadowfile.el (shadow-save-todo-file):
13838 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13839 (scroll-bar-maybe-set-window-start):
13840 * sb-image.el (speedbar-image-dump):
13841 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13842 (load-save-place-alist-from-file):
13843 * ps-samp.el (ps-print-message-from-summary):
13844 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13845 (ps-background-image, ps-begin-job, ps-do-despool):
13846 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13847 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13848 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13849 (pr-call-process, pr-file-list, pr-interface-save):
13850 * novice.el (disabled-command-function)
13851 (enable-command, disable-command):
13852 * mouse.el (mouse-buffer-menu-alist):
13853 * mouse-copy.el (mouse-kill-preserving-secondary):
13854 * macros.el (kbd-macro-query):
13855 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13856 * informat.el (batch-info-validate):
13857 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13858 * hippie-exp.el (try-expand-dabbrev-visible):
13859 * help-mode.el (help-make-xrefs):
13860 * help-fns.el (describe-variable):
13861 * generic-x.el (bat-generic-mode-run-as-comint):
13862 * finder.el (finder-mouse-select):
13863 * find-dired.el (find-dired-sentinel):
13864 * filesets.el (filesets-file-close):
13865 * files.el (list-directory):
13866 * faces.el (list-faces-display, describe-face):
13867 * facemenu.el (list-colors-display):
13868 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13869 * epg.el (epg--process-filter, epg-cancel):
13870 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13871 (epa--read-signature-type):
13872 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13873 (emerge-file-names):
13874 * ehelp.el (electric-helpify):
13875 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13876 * ediff-vers.el (rcs-ediff-view-revision):
13877 * ediff-util.el (ediff-setup):
13878 * ediff-mult.el (ediff-append-custom-diff):
13879 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13881 * echistory.el (Electric-command-history-redo-expression):
13882 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13883 * disp-table.el (describe-display-table):
13884 * dired.el (dired-find-buffer-nocreate):
13885 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13886 * dabbrev.el (dabbrev--same-major-mode-p):
13887 * chistory.el (list-command-history):
13888 * apropos.el (apropos-documentation):
13889 * allout.el (allout-obtain-passphrase):
13890 (allout-copy-exposed-to-buffer):
13891 (allout-verify-passphrase): Use with-current-buffer.
13893 2009-11-13 Glenn Morris <rgm@gnu.org>
13895 * Makefile.in (ELCFILES): Regenerate.
13897 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13899 * net/dbus.el (dbus-registered-objects-table): Rename from
13900 `dbus-registered-functions-table', because it contains also properties.
13901 (dbus-unregister-object): Unregister also properties.
13902 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13903 Use a timeout of 500 msec, in order to not block.
13904 (dbus-register-property, dbus-property-handler): New defuns.
13906 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13908 * simple.el (minibuffer-default-add-completions): Drop deprecated
13911 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13913 * textmodes/artist.el (artist-mouse-choose-operation):
13914 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13915 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13916 (artist-compute-up-event-key): New function.
13917 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13919 2009-11-13 Kenichi Handa <handa@m17n.org>
13921 * language/japan-util.el: Make sure that the value of jisx0208
13922 property is jisx0208 character.
13924 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13926 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13927 car or each item, not the whole list.
13929 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * minibuffer.el (minibuffer-completion-help):
13932 Use minibuffer-hide-completions.
13934 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13936 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13937 (dired-revert): Use them (bug#4880).
13939 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13941 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13943 2009-11-12 Juri Linkov <juri@jurta.org>
13945 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13947 (find-file-literally-at-point): Alias of `ffap-literally'.
13949 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13951 * textmodes/ispell.el (ispell-skip-region-alist):
13952 * textmodes/css-mode.el (auto-mode-alist):
13953 * progmodes/compile.el (auto-mode-alist):
13954 * international/mule.el (ctext-non-standard-encodings-alist)
13955 (ctext-non-standard-encodings-regexp):
13956 * simple.el (shell-command-switch, text-read-only):
13957 * replace.el (occur-mode-map):
13958 * paths.el (rmail-file-name):
13959 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13960 * find-file.el (ff-special-constructs):
13961 * files.el (file-name-handler-alist):
13962 * composite.el: Purecopy strings.
13964 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13966 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13968 * widget.el (define-widget): Purecopy the docstring.
13969 * international/mule-cmds.el (charset): Do not purecopy the
13970 docstring here, define-widget does it.
13972 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13973 * textmodes/bibtex-style.el (auto-mode-alist):
13974 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13975 * progmodes/compile.el (compile-command):
13976 * language/korea-util.el (default-korean-keyboard):
13977 * international/mule-conf.el (file-coding-system-alist):
13978 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13979 * tooltip.el (tooltip-frame-parameters):
13980 * newcomment.el (comment-end, comment-padding):
13981 * dired.el (dired-trivial-filenames):
13982 * comint.el (comint-file-name-prefix): Purecopy initial values.
13984 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13986 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13987 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13989 (tramp-advice-make-auto-save-file-name)
13990 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13991 after removing the advice.
13993 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13995 * progmodes/grep.el (grep-regexp-alist):
13996 * international/mule-cmds.el (iso-2022-control-alist):
13997 * emacs-lisp/timer.el (timer-duration-words):
13998 * subr.el (version-separator, version-regexp-alist):
13999 * minibuffer.el (completion-styles-alist):
14000 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14001 Change defvars to defconsts.
14003 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14004 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14005 * international/mule-conf.el: Allow to be byte compiled.
14007 * international/mule.el (define-charset): Purecopy props.
14008 (load-with-code-conversion): Purecopy doc string and file name.
14009 (put-charset-property): Purecopy strings.
14010 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14012 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14013 (define-char-code-property): Correctly purecopy the table.
14015 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14017 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14019 * subr.el (add-hook): Purecopy strings.
14020 (eval-after-load): Purecopy load-history-regexp and the form.
14022 * custom.el (custom-declare-group): Purecopy load-file-name.
14024 * subr.el (menu-bar-separator): New defconst.
14025 * net/eudc.el (eudc-tools-menu):
14026 * international/mule-cmds.el (set-coding-system-map)
14027 (mule-menu-keymap):
14028 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14029 * vc-hooks.el (vc-menu-map):
14030 * replace.el (occur-mode-map):
14031 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14032 (menu-bar-edit-menu, menu-bar-goto-menu)
14033 (menu-bar-custom-menu, menu-bar-showhide-menu)
14034 (menu-bar-options-menu, menu-bar-tools-menu)
14035 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14036 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14037 (menu-bar-help-menu):
14038 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14039 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14041 * term/x-win.el (x-gtk-stock-map):
14042 * progmodes/vera-mode.el (auto-mode-alist):
14043 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14044 (inferior-lisp-program, inferior-lisp-load-command):
14045 * progmodes/hideshow.el (hs-special-modes-alist):
14046 * progmodes/gud.el (same-window-regexps):
14047 * progmodes/grep.el (grep-program, find-program, xargs-program):
14048 * net/telnet.el (same-window-regexps):
14049 * net/rlogin.el (same-window-regexps):
14050 * language/ethiopic.el (font-ccl-encoder-alist):
14051 * vc-sccs.el (vc-sccs-master-templates):
14052 * vc-rcs.el (vc-rcs-master-templates):
14053 * subr.el (cl-assertion-failed):
14054 * simple.el (next-error-overlay-arrow-position):
14055 * lpr.el (lpr-command):
14056 * locate.el (locate-ls-subdir-switches):
14057 * info.el (same-window-regexps, info)
14058 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14059 * image-mode.el (image-mode, auto-mode-alist):
14060 * hippie-exp.el (hippie-expand-ignore-buffers):
14061 * format.el (format-alist):
14062 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14064 * facemenu.el (facemenu-keybindings):
14065 * dired.el (dired-listing-switches, dired-chown-program):
14066 * diff.el (diff-switches, diff-command):
14067 * cus-edit.el (same-window-regexps):
14068 * bindings.el (mode-line-mule-info)
14069 (mode-line-buffer-identification): Purecopy strings.
14071 2009-11-11 Juri Linkov <juri@jurta.org>
14073 * simple.el (dired-get-filename) <declare-function>:
14074 Tell the byte-compiler about dired-get-filename.
14075 (shell-command): In Dired mode, get filename from the current line
14076 as the default value.
14078 2009-11-10 Glenn Morris <rgm@gnu.org>
14080 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14081 * calendar/holidays.el, progmodes/cperl-mode.el:
14082 Update x-popup-menu declarations.
14084 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14085 (list-load-path-shadows): Use dolist.
14086 (list-load-path-shadows): Use with-current-buffer.
14088 2009-11-10 Juri Linkov <juri@jurta.org>
14090 * minibuffer.el (read-file-name): Support a list of default values
14091 in `default-filename'. Use the first file name where only one
14092 element is required. Doc fix.
14094 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14096 * net/dbus.el (dbus-unregister-object): Release service, if no
14097 other method is registered for it.
14099 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14101 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14102 bookmark-sort-flag is non-nil (Bug#4653).
14104 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14106 * emulation/cua-base.el: Add CUA property to some CC mode commands
14109 2009-11-08 Kevin Ryde <user42@zip.com.au>
14111 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14112 at end of sentence (Bug#4818).
14114 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14116 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14117 Handle "see declaration of" MSFT statements (Bug#4100).
14119 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14121 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14122 (tramp-advice-file-expand-wildcards): Unload via
14123 `ad-remove-advice'.
14125 * net/trampver.el: Update release number.
14127 2009-11-08 Kevin Ryde <user42@zip.com.au>
14129 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14132 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14134 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14135 in order to keep context in SELinux.
14137 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14139 * dired-aux.el (dired-query): Place cursor in echo area and allow
14142 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14143 menu item if not on a directory (Bug#4701).
14145 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14147 Sync with Tramp 2.1.17.
14149 * net/tramp.el (tramp-handle-copy-directory): Don't use
14150 `file-remote-p' (due to compatibility).
14152 * net/tramp-compat.el (tramp-compat-copy-directory)
14153 (tramp-compat-delete-directory): New defuns.
14155 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14156 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14157 Use `tramp-compat-delete-directory'.
14159 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14160 (tramp-smb-handle-delete-directory):
14161 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14163 * net/trampver.el: Update release number.
14165 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14167 * tar-mode.el (tar-copy): Call write-region on the right buffer
14170 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14171 by hand, if necessary (Bug#4878).
14173 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14175 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14176 align size column (Bug#4839).
14178 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14181 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14183 * progmodes/ld-script.el (auto-mode-alist):
14184 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14186 * cus-face.el (custom-declare-face): Purecopy face spec.
14188 2009-11-06 Kenichi Handa <handa@m17n.org>
14190 * international/uni-bidi.el: Re-generated.
14191 * international/uni-category.el: Re-generated.
14192 * international/uni-combining.el: Re-generated.
14193 * international/uni-mirrored.el: Re-generated.
14195 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14197 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14198 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14199 (tex-start-options, slitex-run-command, latex-run-command)
14200 (tex-run-command, tex-directory):
14201 * textmodes/ispell.el (ispell-html-skip-alists)
14202 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14203 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14204 (adaptive-fill-regexp):
14205 * textmodes/dns-mode.el (auto-mode-alist):
14206 * progmodes/python.el (interpreter-mode-alist):
14207 * progmodes/etags.el (tags-compression-info-list):
14208 * progmodes/etags.el (tags-file-name):
14209 * net/browse-url.el (browse-url-galeon-program)
14210 (browse-url-firefox-program):
14211 * mail/sendmail.el (mail-signature-file)
14212 (mail-citation-prefix-regexp):
14213 * international/mule-conf.el (eight-bit):
14214 * international/latexenc.el (latex-inputenc-coding-alist):
14215 * international/fontset.el (x-pixel-size-width-font-regexp):
14216 * emacs-lisp/warnings.el (warning-type-format):
14217 * emacs-lisp/trace.el (trace-buffer):
14218 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14219 (emacs-lisp-mode-map):
14220 * calendar/holidays.el (holiday-solar-holidays)
14221 (holiday-bahai-holidays, holiday-islamic-holidays)
14222 (holiday-christian-holidays, holiday-hebrew-holidays)
14223 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14224 (hebrew-holidays-1, holiday-oriental-holidays)
14225 (holiday-general-holidays):
14226 * x-dnd.el (x-dnd-known-types):
14227 * tool-bar.el (tool-bar):
14228 * startup.el (site-run-file):
14229 * shell.el (shell-dumb-shell-regexp):
14230 * rfn-eshadow.el (file-name-shadow-tty-properties)
14231 (file-name-shadow-properties):
14232 * paths.el (remote-shell-program, news-directory):
14233 * mouse.el ([C-down-mouse-3]):
14234 * menu-bar.el (menu-bar-tools-menu):
14235 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14236 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14237 (jka-compr-compression-info-list):
14238 * isearch.el (search-whitespace-regexp):
14239 * image-file.el (image-file-name-extensions):
14240 * find-dired.el (find-ls-option):
14241 * files.el (directory-listing-before-filename-regexp)
14242 (directory-free-space-args, insert-directory-program)
14243 (list-directory-brief-switches, magic-fallback-mode-alist)
14244 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14245 (automount-dir-prefix):
14246 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14247 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14248 (face-font-registry-alternatives, face-font-registry-alternatives)
14249 (face-font-family-alternatives):
14250 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14251 (facemenu-foreground-menu, facemenu-face-menu):
14252 * epa-hook.el (epa-file-name-regexp):
14253 * dnd.el (dnd-protocol-alist):
14254 * textmodes/rst.el (auto-mode-alist):
14255 * button.el (default-button): Purecopy strings.
14257 2009-11-06 Glenn Morris <rgm@gnu.org>
14259 * Makefile.in (ELCFILES): Update.
14261 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14263 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14264 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14266 * nxml/xsd-regexp.el (xsdre-gen-categories):
14267 * nxml/xmltok.el (xmltok-parse-entity):
14268 * nxml/rng-parse.el (rng-parse-validate-file):
14269 * nxml/rng-maint.el (rng-format-manual)
14270 (rng-manual-output-force-new-line):
14271 * nxml/rng-loc.el (rng-save-schema-location-1):
14272 * nxml/rng-cmpct.el (rng-c-parse-file):
14273 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14274 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14276 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14278 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14279 Remove extra save-excursions and make-variable-buffer-local's.
14280 Suggested by Stefan Monnier.
14282 (verilog-getopt-file, verilog-module-inside-filename-p)
14283 (verilog-set-define): Merge GNU 1.35 and repair changes from
14284 switching to using with-current-buffer.
14286 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14287 being treated as a number and confusing AUTORESET.
14288 Reported by Dan Dever.
14290 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14291 Add verilog-auto-ignore-concat to fix backward compatibility with
14292 older verilog-modes. Reported by Dan Katz.
14294 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14295 containing closing anchors "...$".
14297 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14298 Reported by Wade Smith.
14300 (verilog-batch-execute-func): Comment on function usage.
14302 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14304 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14307 (verilog-label-re, verilog-calc-1): Support proper indent of named
14310 (verilog-backward-token, verilog-basic-complete-re)
14311 (verilog-beg-of-statement, verilog-indent-re): Support proper
14312 indent of the assert statement at the beginning of a block of text.
14314 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14315 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14318 2009-11-05 Glenn Morris <rgm@gnu.org>
14320 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14321 Emacs 19. (Bug#1531)
14322 (byte-compile-fix-header): Update for the above change.
14323 Drop test for epoch::version.
14325 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14326 * cus-dep.el (custom-make-dependencies):
14327 * finder.el (finder-compile-keywords):
14328 Use autoload-rubric's feature argument.
14330 * calendar/diary-lib.el (top-level): Make load behave more like require.
14332 * vc-git.el (vc-git-stash-map): Move definition before use.
14334 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14336 * custom.el (custom-declare-group): Purecopy standard-value.
14337 (custom-declare-group): Purecopy custom-prefix.
14339 * international/mule.el (load-with-code-conversion):
14340 Call do-after-load-evaluation unconditionally.
14342 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14344 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14346 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14348 2009-11-04 Glenn Morris <rgm@gnu.org>
14350 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14351 (byte-compile-compatibility): Remove option.
14352 (byte-compile-close-variables, byte-compile-fix-header)
14353 (byte-compile-insert-header, byte-compile-output-docform)
14354 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14355 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14356 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14357 (byte-compile-insert, byte-compile-defun):
14358 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14359 (byte-defop-compiler19): Remove.
14360 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14361 used by anything. Replace all calls with byte-defop-compiler.
14363 2009-11-04 Juri Linkov <juri@jurta.org>
14365 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14366 (menu-bar-options-menu): Don't quote the `prop' arg of
14367 `menu-bar-make-mm-toggle'.
14369 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14371 * calendar/calendar.el (cal-loaddefs):
14372 * calendar/diary-lib.el (diary-loaddefs):
14373 * calendar/holidays.el (hol-loaddefs):
14374 * eshell/esh-module.el (esh-groups): Load rather than require.
14376 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14378 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14380 (todo-top-priorities): Only display-buffer when called interactively.
14381 (todo-item-start): Don't save excursion point.
14382 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14383 (todo-insert-item-here, todo-file-item, todo-remove-item):
14384 Adjust uses of todo-item-start and todo-item-end.
14386 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14387 (autoload-rubric): Don't use any more.
14389 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14390 and only put a prop if it is non-nil.
14392 2009-11-03 Juri Linkov <juri@jurta.org>
14394 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14395 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14397 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14398 and "Menu" to make top-level menu item visually one unit (like
14399 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14400 multi-word menu items). Fix :help string for quit-window.
14402 2009-11-03 Glenn Morris <rgm@gnu.org>
14404 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14405 (byte-compile-file-form-define-abbrev-table)
14406 (byte-compile-file-form-custom-declare-variable)
14407 (byte-compile-variable-ref, byte-compile-defvar):
14408 Whether or not a warning is enabled should only affect whether we issue
14409 the warning, not whether or not we collect the relevant data.
14410 Eg warnings can be turned on and off throughout the course of a file.
14412 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14413 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14415 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14417 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14418 * play/mpuz.el (mpuz-create-buffer):
14419 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14420 (lm-print-y,s,noise, lm-print-w0, lm-init):
14421 * play/gomoku.el (gomoku-prompt-for-move):
14422 * play/fortune.el (fortune-in-buffer):
14423 * play/dissociate.el (dissociated-press):
14424 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14425 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14426 * mail/supercite.el (sc-eref-show):
14427 * mail/smtpmail.el (smtpmail-send-it):
14428 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14429 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14430 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14431 (rmail-summary-goto-msg, rmail-summary-expunge)
14432 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14433 (rmail-summary-add-label, rmail-summary-output-menu)
14434 (rmail-summary-output-body):
14435 * mail/rfc822.el (rfc822-addresses):
14436 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14437 * mail/mailpost.el (post-mail-send-it):
14438 * mail/hashcash.el (hashcash-generate-payment):
14439 * mail/feedmail.el (feedmail-run-the-queue)
14440 (feedmail-queue-send-edit-prompt-help-first)
14441 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14442 (feedmail-deduce-address-list):
14443 * eshell/esh-ext.el (eshell-remote-command):
14444 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14445 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14446 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14447 (viper-save-string-in-file, viper-valid-marker):
14448 * emulation/viper-keym.el (viper-toggle-key):
14449 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14450 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14451 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14452 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14453 (viper-exec-form-in-emacs, viper-brac-function):
14454 * emulation/viper.el (viper-delocalize-var):
14455 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14456 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14457 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14458 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14459 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14460 * emulation/edt.el (edt-electric-helpify):
14461 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14462 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14463 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14464 (cua-indent-to-global-mark-column):
14465 * calendar/diary-lib.el (calendar-mark-1):
14466 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14467 Use with-current-buffer.
14468 * emulation/viper.el (viper-delocalize-var): Use dolist.
14470 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14472 * comint.el (comint-replace-by-expanded-history-before-point):
14473 Replace !! with the previous input string literally (Bug#1795).
14475 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14477 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14478 to be made up of whitespace.
14480 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14482 * minibuffer.el (read-file-name): Don't use file dialogs for
14483 remote directories (Bug#99).
14485 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14487 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14489 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14491 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14492 instead of deleting the window or frame.
14494 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14496 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14497 Support face colors.
14499 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14500 New function. Support face colors (Bug#1168).
14501 (tex-common-initialization): Use it.
14503 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14504 mode allows it (Bug#1168).
14506 2009-10-31 Juri Linkov <juri@jurta.org>
14508 * facemenu.el (list-colors-display): Don't mark buffer as
14509 modified (Bug#3948).
14511 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14513 * international/mule-diag.el (list-character-sets-1):
14514 Minor message fix (Bug#3526).
14516 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14517 Fix face property (Bug#4834).
14518 (etags-list-tags, etags-tags-apropos-additional)
14519 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14522 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14525 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14527 * textmodes/two-column.el (2C-split):
14528 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14529 * textmodes/tex-mode.el (tex-set-buffer-directory):
14530 * textmodes/spell.el (spell-region, spell-string):
14531 * textmodes/reftex.el (reftex-erase-buffer):
14532 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14533 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14534 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14535 (reftex-select-item):
14536 * textmodes/reftex-ref.el (reftex-label-info-update)
14537 (reftex-offer-label-menu):
14538 * textmodes/reftex-index.el (reftex-index-change-entry)
14539 (reftex-index-phrases-info):
14540 * textmodes/reftex-global.el (reftex-create-tags-file)
14541 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14542 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14543 (reftex-view-crossref-from-bibtex):
14544 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14545 (reftex-extract-bib-entries-from-thebibliography)
14546 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14547 * textmodes/refbib.el (r2b-capitalize-title):
14548 (r2b-convert-buffer, r2b-help):
14549 * textmodes/page-ext.el (pages-directory)
14550 (pages-directory-goto-with-mouse):
14551 * textmodes/bibtex.el (bibtex-validate-globally):
14552 * textmodes/bib-mode.el (bib-capitalize-title):
14553 * textmodes/artist.el (artist-clear-buffer, artist-system):
14554 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14555 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14556 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14557 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14558 (xscheme-send-control-g-interrupt, xscheme-start-process)
14559 (xscheme-process-sentinel, xscheme-cd):
14560 * progmodes/verilog-mode.el (verilog-read-always-signals)
14561 (verilog-set-define, verilog-getopt-file)
14562 (verilog-module-inside-filename-p):
14563 * progmodes/sh-script.el:
14564 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14565 (python-pdbtrack-grub-for-buffer, python-execute-file):
14566 * progmodes/octave-inf.el (inferior-octave):
14567 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14568 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14569 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14570 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14571 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14572 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14573 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14574 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14575 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14576 (idlwave-shell-examine-display, idlwave-shell-run-region)
14577 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14578 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14579 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14580 (idlwave-help-get-help-buffer):
14581 * progmodes/gud.el (gud-basic-call, gud-find-class)
14582 (gud-tooltip-activate-mouse-motions-if-enabled):
14583 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14584 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14585 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14586 (ebrowse-tags-next-file):
14587 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14588 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14589 (ebnf-eps-finish-and-write):
14590 * progmodes/cpp.el (cpp-edit-save):
14591 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14592 * progmodes/cc-defs.el (c-emacs-features):
14593 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14594 (antlr-directory-dependencies):
14595 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14596 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14597 (ada-find-any-references, ada-make-filename-from-adaname)
14598 (ada-make-body-gnatstub):
14599 * obsolete/rnews.el (news-list-news-groups):
14600 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14601 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14602 * net/rcirc.el (rcirc-debug):
14603 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14604 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14605 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14606 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14607 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14608 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14609 (newsticker--treeview-list-clear-highlight)
14610 (newsticker--treeview-list-update-highlight)
14611 (newsticker--treeview-list-highlight-start)
14612 (newsticker--treeview-tree-update-highlight)
14613 (newsticker--treeview-get-selected-item)
14614 (newsticker-treeview-mark-list-items-old)
14615 (newsticker--treeview-set-current-node):
14616 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14617 * net/newst-backend.el (newsticker--get-news-by-funcall)
14618 (newsticker--get-news-by-wget, newsticker--image-get)
14619 (newsticker--image-sentinel):
14620 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14621 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14622 (eudc-ph-close-session):
14623 * net/eudc.el (eudc-save-options):
14624 * language/thai-word.el (thai-update-word-table):
14625 * language/japan-util.el (japanese-string-conversion):
14626 * international/titdic-cnv.el (tsang-quick-converter)
14627 (ziranma-converter, ctlau-converter):
14628 * international/mule-cmds.el (describe-language-environment):
14629 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14630 (skkdic-convert-postfix, skkdic-convert-prefix):
14631 (skkdic-convert-okuri-nasi, skkdic-convert):
14632 * emacs-lisp/re-builder.el (reb-update-overlays):
14633 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14634 * emacs-lisp/gulp.el (gulp-send-requests):
14635 * emacs-lisp/find-gc.el (trace-call-tree):
14636 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14637 (eieio-describe-generic):
14638 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14639 * emacs-lisp/edebug.el (edebug-outside-excursion):
14640 * emacs-lisp/debug.el (debugger-make-xrefs):
14641 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14642 * emacs-lisp/chart.el (chart-new-buffer):
14643 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14644 Use with-current-buffer.
14645 * textmodes/artist.el (artist-system): Don't call
14646 copy-sequence on a fresh string.
14647 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14649 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14651 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14652 is no item to edit. (Bug#4820)
14653 (todo-top-priorities): Restore point and restore narrowing in Todo
14656 2009-10-31 Glenn Morris <rgm@gnu.org>
14658 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14659 (comint-last-output-start, comint-last-input-start)
14660 (comint-last-input-end): Don't defvar when compiling.
14661 (ange-ftp-process-file): Use bound-and-true-p.
14663 * pcmpl-rpm.el (top-level): Move provide statement to end.
14664 (pcmpl-rpm): Remove unused custom group.
14666 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14668 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14670 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14671 (byte-compile-warnings): Add `constants' as an option.
14672 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14673 (display-call-tree): Update for byte-compile-fdefinition possibly
14674 returning `(macro lambda ...)'. (Bug#4778)
14675 (byte-compile-variable-ref, byte-compile-setq-default):
14676 Respect `constants' member of byte-compile-warnings.
14678 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14680 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14681 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14684 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14686 * textmodes/ispell.el (ispell-skip-region-alist):
14687 * international/mule-conf.el (eight-bit):
14688 * international/fontset.el (font-encoding-alist):
14689 * startup.el (pure-space-overflow-message):
14690 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14691 * paths.el (gnus-nntp-service, rmail-spool-directory)
14692 (term-file-prefix):
14693 * files.el (save-some-buffers-action-alist):
14694 * cmuscheme.el (same-window-buffer-names):
14695 * ielm.el (same-window-buffer-names):
14696 * shell.el (same-window-buffer-names):
14697 * mail/sendmail.el (same-window-buffer-names):
14698 * progmodes/inf-lisp.el (same-window-buffer-names):
14699 * bindings.el (mode-line-client)
14700 (mode-line-column-line-number-mode-map):
14701 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14702 (tibetan-precomposed-regexp): Purecopy string arguments.
14704 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14706 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14707 (calcDigit-nondigit):
14708 * calc/calc-yank.el (calc-copy-to-buffer):
14709 * calc/calc-units.el (calc-invalidate-units-table):
14710 * calc/calc-trail.el (calc-trail-yank):
14711 * calc/calc-store.el (calc-insert-variables):
14712 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14713 * calc/calc-prog.el (calc-read-parse-table):
14714 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14715 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14716 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14717 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14718 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14719 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14720 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14721 * calc/calc-ext.el (calc-realign):
14722 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14723 (calc-embedded-finish-edit, calc-embedded-make-info)
14724 (calc-embedded-finish-command, calc-embedded-stack-change):
14725 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14727 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14728 shell-dynamic-complete-filename in preference to
14729 comint-dynamic-complete-filename.
14731 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14732 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14733 Don't consider whether the display supports colors.
14734 (bookmark-import-new-list): Use dolist.
14735 (bookmark-bmenu-mode-map): Move initialization into declaration.
14736 (bookmark-bmenu-list): Use dolist, simplify.
14737 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14738 (menu-bar-final-items): Use push.
14740 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14742 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14743 it works on remote files.
14744 (vc-hg-diff): Don't pass any `--cwd' argument.
14746 2009-10-27 Kevin Ryde <user42@zip.com.au>
14748 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14749 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14750 (Further to Bug#3921).
14752 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14754 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14755 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14756 calling `tramp-imap-put-file'. Add file size to the call.
14757 (tramp-imap-get-file-entries): Compute also user name, file size,
14759 (tramp-imap-handle-insert-directory): Insert uid and gid.
14760 (tramp-imap-handle-file-attributes): Transform uid and gid
14761 according to `id-format'.
14762 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14763 size in header X-Size.
14765 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14767 * simple.el (transpose-subr): Give clearer error when the mark
14768 is not set. (Bug#4807)
14770 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14772 * net/tramp.el (tramp-perl-file-truename): New defconst.
14773 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14774 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14775 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14776 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14778 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14779 Ignore `dired-call-process'.
14780 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14782 2009-10-26 Julian Scheid <julians37@gmail.com>
14784 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14785 (tramp-get-remote-readlink): New defun.
14786 (tramp-handle-file-truename): Use it.
14787 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14788 file exists if cache value present.
14789 (tramp-check-cached-permissions): New defun.
14790 (tramp-handle-file-readable-p): Use it.
14791 (tramp-handle-file-writable-p): Likewise.
14792 (tramp-handle-file-executable-p): Likewise.
14793 (tramp-handle-file-name-all-completions): Try using Perl to get
14794 partial completions. When perl not available, combine `cd' and
14795 `ls' into single remote operation and use shell expansion to get
14796 partial remote directory contents. Set `file-exists-p' cache for
14797 directory and any files returned by ls. Change cache handling to
14798 support partial directory contents. Use error message emitted by
14799 remote `cd' or Perl code for local tramp-error.
14800 (tramp-do-copy-or-rename-file-directly): Avoid separate
14801 tramp-send-command-and-check call.
14802 (tramp-handle-process-file): Merge three remote ops into one.
14803 Do not flush all caches when `process-file-side-effects' is set.
14804 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14805 file-attributes shows uid/gid to be set already.
14807 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14809 * textmodes/tex-mode.el (tex-dvi-view-command)
14810 (tex-show-queue-command, tex-open-quote):
14811 * progmodes/ruby-mode.el (auto-mode-alist)
14812 (interpreter-mode-alist): Purecopy strings.
14814 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14816 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14817 string for the hook, keymap and abbrev table.
14819 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14821 * x-dnd.el (x-dnd-xdnd-to-action):
14822 * startup.el (fancy-startup-text, fancy-about-text): Change to
14823 defconst from defvar.
14825 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14827 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14828 Purecopy initialization strings.
14830 * mail/sendmail.el (mail-header-separator)
14831 (mail-personal-alias-file):
14832 * mail/rmail.el (rmail-default-dont-reply-to-names)
14833 (rmail-ignored-headers, rmail-retry-ignored-headers)
14834 (rmail-highlighted-headers, rmail-secondary-file-directory)
14835 (rmail-secondary-file-regexp):
14836 * files.el (null-device, file-name-invalid-regexp)
14837 (locate-dominating-stop-dir-regexp)
14838 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14839 (interpreter-mode-alist): Use mapcar instead of mapc.
14841 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14843 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14844 (completion-ignored-extensions):
14845 (debug-ignored-errors): Purecopy strings.
14847 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14850 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14851 (pcomplete--here): Use push.
14853 * subr.el (all-completions): Declare the 4th arg obsolete.
14855 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14857 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14858 (pcomplete-unquote-argument): New function.
14859 (pcomplete--common-suffix): Always pay attention to case.
14860 (pcomplete--table-subvert): Quote and unquote the text.
14861 (pcomplete--common-quoted-suffix): New function.
14862 (pcomplete-std-complete): Use it and pcomplete-begin.
14864 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14865 we're inside a dedicated or minibuffer window.
14867 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14869 * bookmark.el: Update documentation, especially documentation
14870 of `bookmark-alist' and of the bookmark file format.
14871 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14873 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14875 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14876 keybindings apply to the mail buffer (Bug#4003). Shrink help
14879 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14880 (global-whitespace-mode, global-whitespace-newline-mode)
14881 (whitespace-toggle-options, global-whitespace-toggle-options):
14882 Doc fix (Bug#3660).
14884 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14885 of xmltok-start before the end tag was inserted (Bug#2840).
14887 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14888 patterns that are preceded by an open-paren (Bug#1320).
14890 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14892 * files.el (delete-directory): Delete symlinks to directories with
14893 delete-file (Bug#4739).
14895 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14897 * vc.el (vc-backend-for-registration): Rename from
14898 vc-get-backend-for-registration. Update callers.
14900 * international/mule-cmds.el (set-language-info-alist):
14902 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14903 (charset): Purecopy the name.
14904 (define-char-code-property): Purecopy string arguments.
14906 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14907 Purecopy string arguments.
14909 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14910 * ediff-hook.el (menu-bar-ediff-menu):
14911 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14912 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14914 2009-10-24 Glenn Morris <rgm@gnu.org>
14916 * comint.el (comint-dynamic-list-completions):
14917 * term.el (term-dynamic-list-completions): Use choose-completion rather
14918 than obsolete alias mouse-choose-completion.
14920 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14921 file-cache-choose-completion.
14922 (file-cache-choose-completion): Handle an optional event argument.
14923 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14925 * progmodes/octave-mod.el (octave-complete-symbol):
14926 Use choose-completion if mouse-choose-completion is ever removed.
14928 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14931 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14934 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14936 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14938 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14939 Ignore `pred' now that we receive one.
14940 Handle test-completion specially.
14942 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14944 * vc.el (vc-responsible-backend): Throw an error if not backend is
14945 found. Remove the REGISTER argument. Move the code dealing with
14947 (vc-get-backend-for-registration): ... here. New function.
14948 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14949 of vc-responsible-backend, pass the file name instead of the
14952 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14954 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14956 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14957 (pcomplete-comint-setup): Don't modify a global var via
14958 accidental side-effects.
14959 (pcomplete-shell-setup): Adjust call accordingly.
14960 (pcomplete-parse-comint-arguments): Use push.
14962 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14964 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14965 Allow uncapitalized info node names (Bug#3921).
14967 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14968 to the DEBUG file (Bug#3781).
14970 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14972 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14973 dictionary entry (Bug#4579).
14975 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14977 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14978 from `rfn-eshadow-update-overlay-hook' when unloading.
14979 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14980 "rsyncc". Adjust doc string.
14981 (tramp-temp-buffer-file-name): New buffer-local defvar.
14982 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14983 Keep temporary file when indicated by method ("rsync" and
14985 (tramp-handle-write-region): Handle APPEND.
14986 (tramp-delete-temp-file-function): New defun. Added to
14987 `kill-buffer-hook'.
14989 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14991 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14993 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14995 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14996 (color-name-rgb-alist, tty-standard-colors)
14997 (tty-color-mode-alist): Change to defconst.
14999 * simple.el (mark-inactive): Purecopy message.
15001 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15002 (global-map, yank-menu):
15003 * textmodes/ispell.el (ispell-menu-map):
15004 * net/eudc.el (eudc-tools-menu):
15005 * international/mule-cmds.el (describe-language-environment-map)
15006 (setup-language-environment-map, set-coding-system-map)
15007 (mule-menu-keymap):
15008 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15009 * replace.el (occur-mode-map):
15010 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15012 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15014 * calc/calc.el (math-read-number, math-read-number-simple):
15015 Use `save-match-data'.
15017 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15020 rather than fiddling with global-map bindings, since it should only
15021 affect per-terminal settings.
15022 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15024 * minibuffer.el (completion-table-with-terminator): Allow to specify
15025 the terminator-regexp.
15027 * simple.el (switch-to-completions): Look for *Completions* in other
15030 * pcomplete.el: Allow the use of completion-tables.
15031 (pcomplete-std-complete): New command.
15032 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15033 (pcomplete--here): Use a function for `form' rather than an expression,
15034 so it can be byte-compiled.
15035 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15036 Add edebug declaration.
15037 (pcomplete-show-completions): Remove unused var `curbuf'.
15038 (pcomplete-do-complete, pcomplete-stub):
15039 Don't assume `completions' is a list of strings any more.
15041 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15043 * find-dired.el (find-name-arg): Fix typo in docstring.
15045 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15047 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15048 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15050 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15053 * comint.el (comint-read-input-ring, comint-write-input-ring)
15054 (comint-substitute-in-file-name)
15055 (comint-dynamic-complete-as-filename)
15056 (comint-dynamic-simple-complete)
15057 (comint-dynamic-list-filename-completions)
15058 (comint-dynamic-list-completions)
15059 (comint-redirect-results-list-from-process): Minor simplifications.
15061 2009-10-21 Kevin Ryde <user42@zip.com.au>
15063 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15064 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15065 the first form. And insert a blank line after ";;; Code" since
15066 that's usual style. (Bug#4612)
15068 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15070 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15072 * minibuffer.el (completion-table-with-terminator): Properly implement
15073 boundaries, in case `terminator' appears in the suffix.
15074 (completion--embedded-envvar-table): Don't return boundaries if
15075 there's no valid completion. Simplify.
15076 (completion-file-name-table): New completion table extracted from
15077 completion--file-name-table.
15078 (completion--file-name-table): Use it.
15079 (read-file-name-predicate): Declare obsolete.
15080 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15081 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15082 completion-file-name-table, and use the `pred' argument.
15083 * files.el (locate-file-completion-table): Use the `pred' arg rather
15084 than read-file-name-predicate.
15085 (abbreviate-file-name): Use \` rather than ^ for BOS.
15087 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15089 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15090 vc-responsible-backend to register, it causes problems.
15092 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15094 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15096 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15098 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15099 (tramp-smb-handle-file-attributes): Use it.
15100 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15101 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15102 `mapcar'. Use `tramp-smb-get-stat-capability'.
15103 Add `dired-filename' text properties.
15104 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15105 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15108 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15110 * subr.el (read-key-delay): Reduce to 0.01.
15111 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15114 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15116 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15118 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15119 (Info-menu): Remove unused vars `last' and `completions'.
15120 (Info-index-nodes): Remove unused var `node'.
15122 * info.el (Info-complete-menu-item): Use complete-with-action.
15124 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15126 Make vc-annotate work through copies and renames.
15127 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15128 Return the file name too.
15129 (vc-annotate-revision-at-line)
15130 (vc-annotate-find-revision-at-line)
15131 (vc-annotate-revision-previous-to-line)
15132 (vc-annotate-show-log-revision-at-line): Update to get the file
15133 name from vc-annotate-extract-revision-at-line.
15134 (vc-annotate-show-diff-revision-at-line-internal): Change the
15135 argument to mean whether to show a file diff or not. Get the file
15136 name from vc-annotate-extract-revision-at-line.
15137 (vc-annotate-show-diff-revision-at-line):
15138 Update vc-annotate-show-diff-revision-at-line call.
15139 (vc-annotate-warp-revision): Add an optional file argument.
15141 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15142 (vc-git-annotate-extract-revision-at-line): Also return the file
15145 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15146 command. Remove unused code.
15147 (vc-hg-annotate-re): Update to match --follow output.
15148 (vc-hg-annotate-extract-revision-at-line): Also return the file
15151 * vc.el: Update annotate-extract-revision-at-line documentation.
15153 2009-10-18 Kevin Ryde <user42@zip.com.au>
15155 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15156 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15158 * net/browse-url.el (browse-url): Identify alist with "consp and
15159 not functionp" and let all other things go down the `apply' leg,
15160 as suggested by Stefan. (Further to bug#4531.)
15162 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15164 * minibuffer.el (read-file-name): Check for repeat before putting
15165 a default argument in file-name-history (Bug#4657).
15167 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15168 read syntax (Bug#4737).
15170 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15172 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15174 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15175 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15176 entries and make note of obsolete tags.
15178 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15182 2009-10-18 Glenn Morris <rgm@gnu.org>
15184 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15185 grep, so that binary files (eg international/uni-bidi.el) can match.
15186 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15187 now, and in any case the file header format has changed.
15189 2009-10-17 Glenn Morris <rgm@gnu.org>
15191 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15192 (flyspell-get-word, flyspell-large-region)
15193 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15195 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15197 * Makefile.in (ELCFILES): Add ede/shell.
15199 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15201 * term/common-win.el (x-colors): Purecopy it.
15203 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15205 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15206 permissive for when the buffer is empty.
15207 (tar-header-block-tokenize): Decode the username and groupname.
15208 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15210 2009-10-17 Eric Ludlam <zappo@gnu.org>
15212 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15213 contains multibyte characters, choose first applicable coding
15214 system automatically.
15216 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15218 * international/mule-cmds.el (select-safe-coding-system): If the file
15219 has a coding cookie, use it regardless of any other setting (bug#4712).
15221 2009-10-17 Glenn Morris <rgm@gnu.org>
15223 * foldout.el (foldout-mouse-swallow-events):
15224 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15226 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15227 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15228 (dired-keep-marker-symlink, dired-dwim-target)
15229 (dired-copy-preserve-time): Do not autoload these defcustoms.
15231 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15232 messages from messing up the file coding. (Bug#4623)
15234 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15236 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15237 if no match is found for the current dictionary. (Bug#4578)
15239 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15240 optional, since that is how it is documented, and this is often called
15241 with a nil argument. (Bug#4577)
15242 (flyspell-external-point-words, flyspell-auto-correct-word)
15243 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15244 (flyspell-word-search-backward): Remove nil argument in calls to
15245 flyspell-get-word, since it is not needed now.
15247 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15249 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15251 2009-10-16 Glenn Morris <rgm@gnu.org>
15253 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15255 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15257 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15258 (ange-ftp-file-size): New function.
15259 (ange-ftp-file-attributes): Use it.
15261 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15263 * net/tramp-smb.el (tramp-smb-version): New defvar.
15264 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15267 2009-10-16 Glenn Morris <rgm@gnu.org>
15269 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15270 Maybe copy some custom properties from old to new name. (Bug#4706)
15272 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15274 * subr.el (error, sit-for, start-process-shell-command)
15275 (start-file-process-shell-command): Set the calling convention
15276 after the function definition.
15278 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * subr.el (error, sit-for, start-process-shell-command)
15281 (start-file-process-shell-command): Use the new
15282 set-advertised-calling-convention feature.
15284 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15286 * international/ucs-normalize.el (ucs-normalize-version):
15288 (check-range): Adjust for Unicode 5.2.
15290 2009-10-15 Juri Linkov <juri@jurta.org>
15292 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15293 to the `menu-item' format.
15295 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15297 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15298 if the environment variable does not exist.
15300 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15301 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15303 (tramp-smb-handle-add-name-to-file)
15304 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15305 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15306 (tramp-smb-handle-file-attributes)
15307 (tramp-smb-do-file-attributes-with-stat)
15308 (tramp-smb-handle-file-local-copy)
15309 (tramp-smb-handle-insert-directory)
15310 (tramp-smb-handle-make-directory)
15311 (tramp-smb-handle-make-directory-internal)
15312 (tramp-smb-handle-make-symbolic-link)
15313 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15314 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15315 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15316 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15317 Handle long file names.
15318 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15319 process is running.
15320 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15321 Read share names with "-g" option.
15323 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15325 * net/rcirc.el (rcirc-view-log-file): New command.
15326 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15327 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15330 2009-10-15 Glenn Morris <rgm@gnu.org>
15332 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15333 from the second command-line argument.
15334 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15335 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15336 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15337 w32-batch-update-autoloads.
15338 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15339 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15341 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15342 the headers cannot be located. Simplify, subtracting superflous
15345 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15347 Replace completion-base-size by completion-base-position to fix bugs
15348 such as (bug#4699).
15349 * simple.el (completion-base-position): New var.
15350 (completion-base-size): Mark as obsolete.
15351 (choose-completion): Make it work for mouse events as well.
15352 Pass the new base-position to choose-completion-string.
15353 (choose-completion-guess-base-position): New function, extracted from
15354 choose-completion-delete-max-match.
15355 (choose-completion-delete-max-match): Use it. Make obsolete.
15356 (choose-completion-string): Use the new base-position info.
15357 (completion-root-regexp): Delete.
15358 (completion-setup-function): Preserve completion-base-position.
15359 Eliminate obsolete base-size manipulation.
15360 * minibuffer.el (display-completion-list): Don't mess with base-size.
15361 (minibuffer-completion-help): Set completion-base-position instead.
15362 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15364 * textmodes/bibtex.el (bibtex-complete):
15365 * emacs-lisp/crm.el (crm--choose-completion-string):
15366 Adjust to new calling convention.
15367 * complete.el (partial-completion-mode): Use minibufferp to avoid
15368 bumping into incompatible change to choose-completion-string-functions.
15369 * ido.el (ido-choose-completion-string): Make its calling convention
15371 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15372 base-size manipulation.
15373 (comint-dynamic-list-input-ring): Use dotimes and push.
15374 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15375 fundamental-mode. Use `or'.
15377 2009-10-14 Juri Linkov <juri@jurta.org>
15379 * misearch.el (multi-isearch-next-buffer-from-list)
15380 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15382 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15384 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15387 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15388 string we return is all made up of text from the completions rather
15389 than part from the completions and part from the input (bug#4219).
15391 * ido.el (ido-everywhere): Use define-minor-mode.
15393 * buff-menu.el (list-buffers, ctl-x-map):
15394 Mark the entry points with ;;;###autoload cookies.
15396 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15398 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15399 correctly in the detached head case.
15400 (vc-git-print-log): Remove unused binding.
15402 * vc.el (vc-responsible-backend): When a directory is passed for
15403 for registration create a VC repository if no backend is
15404 responsible for the directory argument.
15405 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15407 * vc.el: Move comments about RCS and SCCS ...
15409 * vc-sccs.el: ... here, respectively.
15411 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15413 * minibuffer.el (completion--file-name-table): Return nil if there's
15414 no file completion, even if substitute-in-file-name changed
15415 the string (bug#4708).
15417 2009-10-13 Juri Linkov <juri@jurta.org>
15419 * files-x.el (read-file-local-variable-value): Don't filter out
15420 minor modes from mode name completion (bug#4664).
15422 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15424 * international/mule-cmds.el (ucs-names): Remove exclusion of
15425 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15427 2009-10-13 Kenichi Handa <handa@m17n.org>
15429 * international/uni-name.el: Regenerated.
15431 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15433 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15434 should be automatically buffer-local, but isn't.)
15436 2009-10-12 Sam Steingold <sds@gnu.org>
15438 * progmodes/compile.el (compilation-next-error-function): Fix the
15439 timestamps if the buffer has been visited before.
15440 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15441 non-anchored patterns, like the perl one (bug#3928).
15443 2009-10-12 Glenn Morris <rgm@gnu.org>
15445 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15448 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15450 * proced.el (proced-unload-function): New function.
15452 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15453 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15456 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15458 2009-10-11 Juri Linkov <juri@jurta.org>
15460 * files-x.el (read-file-local-variable-value):
15461 Provide default value only for bound variables (bug#4664).
15463 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15465 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15466 connection methods like smb.
15468 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15471 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15472 (tramp-smb-file-name-handler-alist): Add handlers for
15473 `add-name-to-file', `make-symbolic-link'.
15474 (tramp-smb-handle-add-name-to-file)
15475 (tramp-smb-do-file-attributes-with-stat)
15476 (tramp-smb-handle-make-symbolic-link)
15477 (tramp-smb-get-cifs-capabilities): New defuns.
15478 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15479 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15480 (tramp-smb-handle-file-local-copy)
15481 (tramp-smb-handle-make-directory-internal)
15482 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15483 The file name syntax depends on cifs capabilities.
15484 (tramp-smb-handle-file-attributes):
15485 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15486 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15487 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15489 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15491 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15492 (eieio-defclass): Apply deftype handler and setf-method properties
15494 (eieio-add-new-slot): Avoid union function from cl library.
15495 (eieio--typep): New function.
15496 (eieio-perform-slot-validation): Use it.
15498 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15500 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15501 Update documentation to refer to the variables documented in r1.135.
15504 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15506 * bookmark.el (Info-suffix-list): Remove this unused variable.
15507 (bookmark-current-point): Remove this obsolete variable.
15508 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15509 Adjust for removal of bookmark-current-point.
15511 (bookmarks-already-loaded, bookmark-current-buffer)
15512 (bookmark-yank-point): Document. (Bug#4188)
15514 2009-10-10 Glenn Morris <rgm@gnu.org>
15516 * frame.el (frame-height): Doc fix.
15518 * calendar/calendar.el (calendar-split-width-threshold): New option.
15519 (calendar-basic-setup): Use calendar-split-width-threshold.
15521 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15523 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15524 Ideographic Supplement" range (U+1F200..U+1F2FF).
15526 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15528 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15529 since the list will have been rebuilt anyway. (Bug#4349)
15531 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15533 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15534 (bookmark-bmenu-execute-deletions): Don't save here, as
15535 bookmark-delete will now do so if necessary.
15536 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15539 2009-10-09 Glenn Morris <rgm@gnu.org>
15541 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15543 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15545 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15546 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15547 argument now, so the two function's behaviors will match. (Bug#3645)
15549 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15551 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15552 (tramp-file-name-real-host, tramp-file-name-port):
15553 Apply `save-match-data'.
15555 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15556 case both directories are remote.
15557 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15558 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15560 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15562 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15564 2009-10-07 Glenn Morris <rgm@gnu.org>
15566 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15569 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15571 * files-x.el (read-file-local-variable): Include some
15572 non-user-variables in the completion table (bug#4664).
15574 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15576 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15579 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15580 (tramp-smb-file-name-handler-alist): Add handler for
15581 `copy-directory', `expand-file-name', `set-file-modes'.
15582 (tramp-smb-handle-copy-directory)
15583 (tramp-smb-handle-expand-file-name)
15584 (tramp-smb-handle-set-file-modes): New defuns.
15585 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15586 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15588 (tramp-smb-handle-insert-directory): Don't flush the cache.
15589 (tramp-smb-maybe-open-connection): Check for samba client and
15592 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15594 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15595 to not error out of search for "^lisp=" fails.
15597 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15599 * makefile.w32-in (WINS_UPDATES): New macro.
15600 (custom-deps, finder-data, autoloads): Use it.
15602 2009-10-07 Glenn Morris <rgm@gnu.org>
15604 * Makefile.in (autoloads): Revert previous change.
15605 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15606 the list of preloaded files passed on the command-line, get
15607 it from src/Makefile.
15609 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15610 show the original buffer rather than a random one.
15612 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15614 * help.el (describe-no-warranty): Place point in a slightly better
15615 position in the GPLv3 text.
15617 2009-10-06 Sam Steingold <sds@gnu.org>
15619 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15620 the comm attribute is present before calling regexp-quote.
15622 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15624 * play/animate.el (animate-string): For good effect, make sure
15625 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15627 * play/animate.el (animate-sequence, animate-birthday-present):
15628 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15630 2009-10-06 Glenn Morris <rgm@gnu.org>
15632 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15634 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15635 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15636 (batch-update-autoloads): Process a string value of autoload-excludes,
15637 set during the build process.
15638 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15640 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15641 inside with-parsed... macro so that `v' is defined.
15643 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15644 * progmodes/fortran.el (fortran-end-of-block)
15645 (fortran-beginning-of-block):
15646 Also push mark in the macro case.
15648 * emerge.el (emerge-show-file-name):
15649 * calc/calc.el (calc-quit):
15650 * calc/calc-misc.el (calc-big-or-small):
15651 * calc/calc-graph.el (calc-graph-view):
15652 * calc/calc-ext.el (calc-reset):
15653 * calendar/calendar.el (calendar-basic-setup):
15654 Use window-full-height-p.
15656 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15657 header we don't understand, don't insert another. (Bug#4624)
15658 If changing mime charset, insert the new one in the right place.
15660 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15662 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15663 (cal-tex-cursor-month): Correctly increment the end date for diary and
15664 holiday listing. (Bug#4626)
15666 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15668 * help-fns.el (describe-function-1): Don't burp if the function is not
15671 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15673 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15674 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15675 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15676 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15678 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15679 (eieio-default-superclass): Reflow docstrings.
15680 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15681 (eieio-unbind-method-implementations, defmethod)
15682 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15683 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15684 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15685 (eieio-slot-originating-class-p, eieio-slot-name-index)
15686 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15687 (constructor, initialize-instance, no-next-method, object-print)
15688 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15689 Fix typos in docstrings.
15690 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15691 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15692 (next-method-p): Doc fixes.
15693 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15694 Fix typos in error messages.
15695 (eieio-defmethod): Fix typo in description of generic method.
15697 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15698 (eieio-persistent-save-interactive, slot-missing):
15699 Fix typos in docstrings.
15700 (eieio-instance-inheritor-slot-boundp): Doc fix.
15702 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15703 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15705 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15706 (eieio-custom-object-apply-reset):
15707 Fix typos in docstrings and error messages.
15709 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15710 Fix typo in docstring.
15712 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15713 (eieio-browse-tree): Doc fix.
15714 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15715 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15716 Fix typos in docstrings.
15718 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15719 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15720 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15721 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15724 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15726 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15727 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15728 Set log-view-vc-backend so that diff can work.
15730 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15732 (vc-diff-internal): Autoload this instead of vc-version-diff.
15734 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15736 * simple.el (eval-expression): Doc fix.
15738 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15740 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15742 * files.el (directory-files-no-dot-files-regexp): New defconst.
15743 (delete-directory): Use it.
15744 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15746 * net/tramp.el (tramp-verbose): Fix docstring.
15747 (tramp-methods): Add recursive option to `tramp-copy-args'.
15748 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15749 "scp1_old", "scp2_old", "rsync", "rsyncc".
15750 (tramp-default-method): Check also for `auth-source-user-or-password'.
15751 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15752 Add handler for `copy-directory'.
15753 (tramp-handle-copy-directory): New defun.
15754 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15755 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15756 Optimize sent command.
15758 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15760 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15761 window if necessary.
15763 * calendar/calendar.el (calendar-basic-setup): Don't call
15764 switch-to-buffer in a dedicated window.
15766 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15768 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15769 don't do anything related to relocating, just return nil.
15770 (bookmark-error-no-filename): New error.
15771 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15772 bookmark has no file. Don't even attempt to handle things that
15773 are not files; the whole point of custom handlers is to keep that
15774 knowledge elsewhere anyway. Tighten some comments.
15775 (bookmark-file-or-variation-thereof): Remove now-unused function.
15776 (bookmark-location): Doc string fix.
15779 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15781 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15782 don't use a file dialog, because they usually don't know how to read
15783 a directory target from the user. (Bug#4230)
15784 Also, make sure the prompt can display directories as well as files.
15786 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15788 * bookmark.el (bookmark-set, bookmark-buffer-name):
15789 Improve doc strings. (Bug#1193)
15791 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15793 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15794 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15795 (bookmark-get-annotation, bookmark-set-annotation)
15796 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15797 (bookmark-set-position, bookmark-get-front-context-string)
15798 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15799 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15800 (bookmark-jump-other-window, bookmark-handle-bookmark)
15801 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15802 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15803 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15804 Improve doc strings to say whether bookmark can be a string or
15805 a record or both, and make other consistency and clarity fixes.
15806 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15807 (bookmark-default-annotation-text, bookmark-yank-word)
15808 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15809 (bookmark-import-new-list, bookmark-maybe-rename)
15810 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15811 (bookmark-bmenu-bookmark): Give these doc strings.
15812 (bookmark-bmenu-check-position): Give this a doc string, but also
15813 add a FIXME comment about how the function may be pointless.
15814 (bookmark-default-handler): Rework doc string and change a
15815 parameter name, to clarify that this takes a bookmark record
15816 not a bookmark name.
15817 (bookmark-set): Change a parameter name to indicate its meaning,
15818 and improve the doc string a bit.
15821 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15823 * bookmark.el (bookmark-alist): Document the new `handler' element
15824 in the param alist.
15825 (bookmark-make-record-function): Adjust documentation for above.
15828 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15830 * info.el (Info-bookmark-make-record): Document this function.
15831 (Info-bookmark-jump): Document with a doc string, not just a comment.
15834 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15836 * files.el (copy-directory): New defun.
15838 * dired-aux.el (dired-copy-file-recursive): Use it.
15840 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15842 * files-x.el (modify-dir-local-variable)
15843 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15846 * recentf.el (recentf-unload-function): New function.
15848 2009-10-04 Glenn Morris <rgm@gnu.org>
15850 * window.el (window-full-height-p): Add doc string.
15852 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15854 * window.el (window-full-height-p): New function. (Bug#4543)
15856 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15858 * vc.el: Remove commented out code.
15859 (vc-derived-from-dir-mode): Remove, unused.
15860 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15862 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15864 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15865 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15866 there could be recursive loading when `default-directory' is a
15867 remote file name. (Bug#4614)
15869 2009-10-03 Glenn Morris <rgm@gnu.org>
15871 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15873 (calendar-generate-window): Test for shrinkability rather than width.
15875 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15876 reusing existing buffers, in case we happen to visit two files with the
15877 same basename. (Bug#4593)
15879 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15881 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15882 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15883 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15884 subdirs of cedet as well.
15885 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15887 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15889 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15890 Obey advertised-signature-table.
15892 * help-fns.el (help-function-arglist): Don't check
15893 advertised-signature-table.
15894 (describe-function-1): Do it here instead so it also applies to subrs.
15896 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15898 * simple.el (start-file-process): Say in the doc-string, that file
15899 handlers might not support pty association, if PROGRAM is nil.
15901 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15902 HOST and USER are strings. They are nil, when there are
15903 incomplete entries in ~/.netrc, for example.
15904 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15905 root directory ("device busy" error otherwise).
15907 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15908 Flush file properties of created directory.
15910 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15912 * makefile.w32-in (WINS_BASIC): Remove cedet.
15913 (WINS_CEDET): Add cedet.
15914 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15916 2009-10-02 Kevin Ryde <user42@zip.com.au>
15918 * net/browse-url.el (browse-url): Pass any symbol in
15919 browse-url-browser-function to `apply', since if you've mistakenly put
15920 an unbound symbol then the error is clearer. (Bug#4531)
15922 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15924 * allout.el (allout-init, allout-back-to-current-heading)
15925 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15926 (allout-ascend, allout-up-current-level, allout-end-of-level)
15927 (allout-previous-visible-heading, allout-forward-current-level)
15928 (allout-backward-current-level, allout-show-children):
15929 * apropos.el (apropos-describe-plist):
15930 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15931 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15932 * completion.el (add-completion, add-permanent-completion):
15933 * descr-text.el (describe-text-category, describe-char):
15934 * desktop.el (desktop-lazy-abort):
15935 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15936 * dired.el (dired-build-subdir-alist):
15937 * ediff.el (ediff-version):
15938 * elide-head.el (elide-head, elide-head-show):
15939 * emerge.el (emerge-version):
15941 * face-remap.el (variable-pitch-mode):
15942 * faces.el (describe-face):
15943 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15945 * files.el (find-file-existing, auto-save-mode):
15946 * font-lock.el (font-lock-fontify-buffer):
15947 * help-fns.el (describe-function, describe-variable)
15948 (describe-syntax, describe-categories):
15949 * help.el (view-lossage, describe-bindings, describe-key)
15951 * hexl.el (hexl-current-address):
15952 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15953 * info.el (Info-goto-emacs-key-command-node):
15954 * log-edit.el (log-edit-insert-cvs-template)
15955 (log-edit-insert-cvs-rcstemplate):
15956 * menu-bar.el (menu-bar-mode):
15957 * mouse.el (mouse-appearance-menu):
15958 * newcomment.el (comment-indent-new-line):
15959 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15960 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15961 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15962 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15963 * recentf.el (recentf-mode):
15964 * savehist.el (savehist-mode, savehist-save):
15965 * shadowfile.el (shadow-copy-files):
15966 * simple.el (kill-ring-save, next-line, previous-line)
15967 (normal-erase-is-backspace-mode):
15968 * strokes.el (strokes-update-window-configuration)
15969 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15970 (strokes-xpm-for-stroke):
15971 * time.el (emacs-uptime, emacs-init-time):
15972 * tutorial.el (tutorial--describe-nonstandard-key)
15973 (tutorial--detailed-help):
15974 * type-break.el (type-break-mode)
15975 (type-break-mode-line-message-mode, type-break-query-mode)
15976 (type-break-guesstimate-keystroke-threshold):
15977 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15978 * version.el (emacs-version):
15979 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15980 * winner.el (winner-mode):
15981 * calendar/timeclock.el (timeclock-in, timeclock-out)
15982 (timeclock-status-string, timeclock-change)
15983 (timeclock-workday-remaining-string)
15984 (timeclock-workday-elapsed-string)
15985 (timeclock-when-to-leave-string):
15986 * calendar/todo-mode.el (todo-add-category):
15987 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15988 * emacs-lisp/autoload.el (update-file-autoloads):
15989 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15990 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15991 (checkdoc-message-text, checkdoc-defun):
15992 * emacs-lisp/debug.el (debugger-list-functions):
15993 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15994 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15995 (eieio-describe-generic):
15996 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15997 * emacs-lisp/shadow.el (list-load-path-shadows):
15998 * emulation/cua-base.el (cua-mode):
15999 * emulation/edt.el (edt-set-scroll-margins):
16000 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16001 (tpu-toggle-regexp, tpu-toggle-search-direction)
16002 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16003 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16004 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16005 (viper-set-parsing-style-toggling-macro)
16006 (viper-set-emacs-state-searchstyle-macros):
16007 * emulation/viper.el (viper-set-hooks):
16008 * eshell/esh-mode.el (eshell-truncate-buffer):
16009 * international/mule-cmds.el (prefer-coding-system)
16010 (describe-input-method, describe-language-environment):
16011 * international/mule-diag.el (list-character-sets)
16012 (describe-character-set, describe-coding-system)
16013 (describe-fontset, list-fontsets, list-input-methods):
16014 * mail/sendmail.el (mail-signature):
16015 * net/ange-ftp.el (ange-ftp-copy-file):
16016 * net/browse-url.el (browse-url):
16017 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16018 * net/quickurl.el (quickurl-add-url):
16019 * net/rcirc.el (names, topic):
16020 * net/xesam.el (xesam-mode):
16021 * play/5x5.el (5x5-new-game):
16022 * play/yow.el (apropos-zippy):
16023 * progmodes/ada-mode.el (ada-mode-version):
16024 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16026 (f90-beginning-of-block):
16027 * progmodes/fortran.el (fortran-end-of-block)
16028 (fortran-beginning-of-block):
16029 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16030 * progmodes/python.el (python-describe-symbol, python-shell):
16031 * term/ns-win.el (ns-print-buffer):
16032 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16033 * textmodes/flyspell.el (flyspell-mode-on):
16034 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16035 (pages-directory-for-addresses):
16036 * textmodes/table.el (table-recognize-cell)
16037 (table-query-dimension, table-generate-source)
16038 (table-insert-sequence, table--warn-incompatibility):
16039 * textmodes/tex-mode.el (tex-validate-buffer):
16040 * textmodes/texinfmt.el (texinfmt-version)
16041 (texinfo-format-buffer):
16042 Use `called-interactively-p' instead of `interactive-p'.
16044 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16046 * image-mode.el (image-toggle-display):
16047 * emacs-lisp/elp.el (elp-instrument-function):
16048 * emacs-lisp/advice.el (ad-make-advised-definition):
16049 * emacs-lisp/easy-mmode.el (define-minor-mode):
16050 * net/browse-url.el (browse-url-maybe-new-window):
16051 * progmodes/sh-script.el (sh-learn-buffer-indent):
16052 Pass new argument 'any to `called-interactively-p'.
16054 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16056 * international/uni-bidi.el:
16057 * international/uni-category.el:
16058 * international/uni-combining.el:
16059 * international/uni-comment.el:
16060 * international/uni-decimal.el:
16061 * international/uni-decomposition.el:
16062 * international/uni-digit.el:
16063 * international/uni-lowercase.el:
16064 * international/uni-mirrored.el:
16065 * international/uni-name.el:
16066 * international/uni-numeric.el:
16067 * international/uni-old-name.el:
16068 * international/uni-titlecase.el:
16069 * international/uni-uppercase.el:
16070 Regenerate from Unicode 5.2.0 data.
16072 2009-10-01 Glenn Morris <rgm@gnu.org>
16074 * Makefile.in (ELCFILES): Regenerate.
16076 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * subr.el (interactive-p): Mark obsolete.
16079 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16080 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16081 advertised-signature-table for subroutines as well.
16083 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16084 (set-advertised-calling-convention): New function.
16085 (make-obsolete, define-obsolete-function-alias)
16086 (make-obsolete-variable, define-obsolete-variable-alias):
16087 Make the optional-ness of `when' obsolete.
16088 (define-obsolete-face-alias): Make `when' non-optional.
16089 * help-fns.el (help-function-arglist):
16090 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16091 Use advertised-signature-table.
16093 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16095 * files.el (delete-directory): New defun. The original function
16096 in fileio.c has been renamed to `delete-directory-internal'.
16098 * dired.el (dired-delete-file): Call `delete-directory' with
16099 RECURSIVE parameter.
16101 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16102 parameter RECURSIVE. Implementation is missing.
16104 * net/tramp.el (tramp-handle-make-directory): Flush upper
16105 directory's file properties.
16106 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16107 (tramp-handle-dired-recursive-delete-directory): Flush directory
16108 properties after the remove command only.
16110 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16111 Handle optional parameter RECURSIVE.
16113 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16114 Handle optional parameter RECURSIVE.
16116 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16117 connection timeout.
16118 (tramp-smb-handle-delete-directory): Handle optional parameter
16121 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16123 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16124 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16125 (byte-compile-defmacro): Use backquotes.
16127 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16129 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16130 has no associated file.
16131 (vc-resynch-buffer): Use vc-dir-buffers.
16133 2009-10-01 Glenn Morris <rgm@gnu.org>
16135 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16136 (chart-file-count):
16137 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16138 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16139 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16140 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16141 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16142 (eieio-copy-parents-into-subclass, make-instance, class-children)
16143 (eieio-generic-form):
16145 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16146 match-data. (Bug#4555).
16148 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16149 rather than parsing it as a regexp. This relaxes the layout
16150 requirements and makes errors easier to detect.
16151 (check-declare-verify): Check file is regular.
16152 (check-declare-directory): Doc fix.
16153 * subr.el (declare-function): Doc fix.
16155 * ibuffer.el (ibuffer-format-qualifier):
16156 * isearch.el (hi-lock-regexp-okay):
16157 * calc/calc.el (math-zerop):
16158 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16159 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16160 Remove unused declarations.
16162 2009-09-30 Eric Ludlam <zappo@gnu.org>
16164 * emacs-lisp/eieio.el (boolean-p): Delete.
16166 2009-09-30 Glenn Morris <rgm@gnu.org>
16168 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16170 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16171 filename is not a string.
16173 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16175 * files.el (safe-local-eval-forms): Fix typo.
16177 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16179 * vc-hooks.el (vc-dir-buffers): New var.
16180 (vc-state-refresh): New function.
16181 (vc-state): Use it.
16182 (vc-after-save): Always ask the backend to recompute the new state.
16183 Always call vc-dir if necessary, using vc-dir-buffers.
16184 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16185 Use vc-dir-buffers.
16186 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16187 (vc-dir-prepare-status-buffer, vc-dir-update)
16188 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16189 Don't call expand-file-name on default-directory.
16191 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16193 * speedbar.el (speedbar-item-delete):
16194 * calc/calc-prog.el (calc-kbd-if):
16195 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16197 * epa.el (epa-key-list-mode-map):
16198 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16200 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16201 (hs-show-hook): Fix typo in docstring.
16203 2009-09-29 Glenn Morris <rgm@gnu.org>
16205 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16206 file-name-nondirectory call preventing location of cedet files.
16207 (check-declare-verify): Use literal search rather than re-search.
16208 Add basic defmethod and defclass, and define-overloadable-function.
16210 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16211 Use tramp-compat-file-attributes rather than nonexistent
16212 tramp-compat-handle-file-attributes.
16214 * Makefile.in (lisptagsfiles4): New.
16215 (AUTOGENEL): Add cedet loaddefs files.
16216 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16217 (update-elclist, compile-always, backup-compiled-files)
16218 (bootstrap-clean): Add yet another directory level.
16219 (update-elclist): Use LC_COLLATE rather than COLLATE.
16220 (ELCFILES): Update, via `make update-elclist'.
16222 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16224 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16225 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16226 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16228 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16230 * Makefile.in (lisptagsfiles3): Define.
16231 (TAGS, TAGS-LISP): Use it.
16232 (update-elclist): Add third directory level to look for elc files.
16233 (compile-always): Likewise.
16234 (backup-compiled-files): Likewise.
16235 (bootstrap-clean): Likewise.
16236 (ELCFILES): Update.
16238 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16240 * Makefile.in (ELCFILES): Add CEDET files.
16242 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16244 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16246 * net/tramp.el (top): Require tramp-imap.
16248 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16249 Use `tramp-compat-handle-file-attributes'.
16251 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16253 * net/tramp-imap.el: New package.
16255 2009-09-28 Eric Ludlam <zappo@gnu.org>
16257 * emacs-lisp/chart.el:
16258 * emacs-lisp/eieio-base.el:
16259 * emacs-lisp/eieio-comp.el:
16260 * emacs-lisp/eieio-custom.el:
16261 * emacs-lisp/eieio-datadebug.el:
16262 * emacs-lisp/eieio-opt.el:
16263 * emacs-lisp/eieio-speedbar.el:
16264 * emacs-lisp/eieio.el: New files.
16266 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16268 * whitespace.el (whitespace-trailing-regexp)
16269 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16272 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16274 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16277 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16278 menu-bar-ediff-menu.
16280 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16281 define-overloadable-function.
16283 * progmodes/autoconf.el: Provide autoconf as well, so that this
16284 file can be `require'd.
16286 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16288 * emacs-lisp/autoload.el (generated-autoload-feature)
16289 (generated-autoload-load-name): New vars.
16290 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16291 (make-autoload): Recognize define-overloadable-function and
16292 defclass forms (for EIEIO).
16294 * Makefile.in (update-subdirs): Exclude cedet directory.
16296 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16298 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16300 * faces.el: Default light-background background for region face to
16301 ns_selection_color under NS.
16303 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16305 * net/imap-hash.el: New library, see NEWS.
16307 * Makefile.in (ELCFILES): Add imap-hash.el.
16309 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16311 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16312 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16313 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16314 definition where the docstring could be taken for the return value.
16316 2009-09-26 Glenn Morris <rgm@gnu.org>
16318 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16319 Add option to only show images below a certain size.
16320 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16321 save-excursion calls.
16323 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16325 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16326 subdirectories) and eieio.
16328 2009-09-26 Alan Mackenzie <acm@muc.de>
16330 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16331 Correct buggy bracketing. (Bug#4289)
16333 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16334 character constants (as case labels). (Bug#4289)
16336 2009-09-25 Juri Linkov <juri@jurta.org>
16338 * files.el (safe-local-eval-forms): Allow time-stamp in
16339 before-save-hook (Bug#4554).
16341 2009-09-25 Drew Adams <drew.adams@oracle.com>
16343 * menu-bar.el (list-buffers-directory): Doc fix.
16345 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16347 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16348 Try and avoid copying twice the same paragraph.
16349 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16350 Remove save-excursion.
16351 (log-edit-changelog-entry): Do it here instead.
16353 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16355 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16356 when available, instead of hardcoding mode names. Doc fix.
16358 * menu-bar.el (list-buffers-directory): Add docstring.
16359 Make automatically buffer-local.
16361 * dired.el (dired-mode):
16362 * files.el (cd-absolute):
16363 * pcvs.el (cvs-temp-buffer):
16364 * pcvs-util.el (cvs-get-buffer-create):
16365 * shell.el (shell-mode):
16366 * vc-dir.el (vc-dir-mode):
16367 Don't make `list-buffers-directory' buffer local.
16369 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16371 * comint.el (comint-exec, comint-run, make-comint):
16372 Doc fixes (Bug#4542).
16374 2009-09-25 Glenn Morris <rgm@gnu.org>
16376 * mail/rmailmm.el (rmail-mime): New custom group.
16377 Move all defcustoms in this file into this group.
16378 (rmail-mime-media-type-handlers-alist): Revert previous change.
16379 (rmail-mime-show-images): New option.
16380 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16381 references to it, since it wasn't actually used for anything.
16382 (rmail-mime-insert-image): New function.
16383 (rmail-mime-image): Use rmail-mime-insert-image.
16384 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16385 obey the value of `rmail-mime-show-images' option. Print the size of
16388 2009-09-25 David Engster <deng@randomsample.de>
16390 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16392 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16394 * whitespace.el: Does not highlight trailing spaces While point is
16395 at end of line. Does not highligt spaces at beginning of buffer
16396 while point is at beginning of buffer. Does not highlight spaces
16397 at end of buffer while point is at end of buffer. (Bug#4177)
16399 (whitespace-display-mappings): Adjust initialization.
16400 (whitespace-point, whitespace-font-lock-refontify): New vars.
16401 (whitespace-color-on, whitespace-color-off): Adjust code.
16402 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16403 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16404 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16406 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16408 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16410 * textmodes/sgml-mode.el: Remove xml-mode alias.
16412 * files.el (auto-mode-alist, conf-mode-maybe)
16413 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16415 2009-09-24 Alan Mackenzie <acm@muc.de>
16417 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16418 c-forward-conditionals, but it doesn't move point and doesn't set
16420 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16421 (c-down-conditional-with-else, c-backward-conditional)
16422 (c-forward-conditional): Refactor to use c-scan-conditionals.
16424 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16426 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16427 (help-default-arg-highlight): Remove.
16428 (help-highlight-arg): New function.
16429 (help-do-arg-highlight): Use it.
16430 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16432 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16434 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16435 Undo last change, which didn't fix the problem and introduced others.
16437 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16439 * progmodes/gdb-mi.el: Don't require speedbar.
16440 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16442 2009-09-24 Glenn Morris <rgm@gnu.org>
16444 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16446 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16448 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16449 there is no newline after the final mime boundary. (Bug#4539)
16450 Move markers on insertion so that any buttons inserted don't end up in
16451 the next part of a multipart message.
16452 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16453 (rmail-mime-bulk-handler): Optionally handle images.
16454 (rmail-mime-image): New button action.
16455 (rmail-mime-image-handler): New function.
16456 (rmail-mime-mode): New mode.
16457 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16459 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16461 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16462 than just dropping elements from it (bug#4504).
16464 * term.el (term-set-scroll-region): Don't move cursor any more.
16465 (term-handle-ansi-escape): Call term-goto here instead.
16466 Suggested by Ivan Kanis <apple@kanis.eu>.
16468 * term.el: Require CL.
16469 (term-ansi-reset): New function.
16470 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16471 (term-handle-colors-array): Simplify.
16473 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16475 * allout.el (allout-overlay-interior-modification-handler)
16476 (allout-obtain-passphrase):
16477 * epa-file.el (epa-file-write-region):
16478 * ps-print.el (ps-begin-job):
16479 * vc-hooks.el (vc-toggle-read-only):
16480 * vc-rcs.el (vc-rcs-rollback):
16481 * vc-sccs.el (vc-sccs-rollback):
16482 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16483 (vc-version-diff, vc-revert, vc-rollback):
16484 * wdired.el (wdired-check-kill-buffer):
16485 * emacs-lisp/authors.el (authors):
16486 * net/socks.el (socks-open-connection):
16487 * net/zeroconf.el (zeroconf-service-add-hook):
16488 * obsolete/vc-mcvs.el (vc-mcvs-register):
16489 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16490 (gdb-select-frame):
16491 * progmodes/grep.el (lgrep, rgrep):
16492 * progmodes/idlw-help.el (idlwave-help-check-locations)
16493 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16494 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16495 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16496 (reftex-toc-rename-label): Fix typos in error messages.
16498 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16499 (dired-copy-how-to-fn): Doc fix.
16500 (dired-files-attributes, dired-read-shell-command):
16501 Fix typos in docstrings.
16503 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16504 (dired-x-find-file-other-window): Reflow docstrings.
16505 (dired-omit-marker-char, dired-read-shell-command)
16506 (dired-x-submit-report): Fix typos in docstrings.
16508 * shell.el (shell-mode-hook):
16509 * view.el (View-scroll-line-forward):
16510 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16511 Fix typos in docstrings.
16513 * net/dig.el (dig-invoke): Fix typo in docstring.
16514 (query-dig): Reflow docstring.
16516 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16517 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16518 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16519 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16520 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16521 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16522 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16523 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16524 (idlwave-completion-map, idlwave-current-indent)
16525 (idlwave-custom-ampersand-surround, idlwave-customize)
16526 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16527 (idlwave-define-abbrev, idlwave-determine-class-special)
16528 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16529 (idlwave-end-block-reg, idlwave-end-of-statement)
16530 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16531 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16532 (idlwave-explicit-class-listed, idlwave-file-header)
16533 (idlwave-fill-paragraph, idlwave-find-class-definition)
16534 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16535 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16536 (idlwave-in-quote, idlwave-indent-action-table)
16537 (idlwave-indent-expand-table, idlwave-indent-line)
16538 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16539 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16540 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16541 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16542 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16543 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16544 (idlwave-outlawed-buffers, idlwave-popup-select)
16545 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16546 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16547 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16548 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16549 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16550 (idlwave-statement-type, idlwave-struct-skip)
16551 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16552 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16553 (idlwave-what-module-find-class): Fix typos in docstrings.
16554 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16555 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16556 (idlwave-find-module, idlwave-find-structure-definition)
16557 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16558 (idlwave-list-load-path-shadows, idlwave-next-statement)
16559 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16560 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16561 (idlwave-template): Reflow docstrings.
16563 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16564 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16565 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16566 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16567 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16568 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16569 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16570 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16571 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16572 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16573 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16574 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16575 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16576 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16577 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16578 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16579 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16580 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16581 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16582 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16583 Fix typos in docstrings.
16584 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16585 (idlwave-shell-hide-output, idlwave-shell-mode)
16586 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16589 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16591 2009-09-24 Ivan Kanis <apple@kanis.eu>
16593 * term.el (term-bold-attribute): New var.
16594 (term-handle-colors-array): Use it.
16596 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16598 * progmodes/gdb-mi.el (gdb-version): New variable.
16599 (gdb-non-stop-handler): Set gdb-version.
16600 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16601 Condition "--thread" option on gdb-version.
16602 (gdb-invalidate-threads): Remove unused argument.
16604 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16607 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16609 2009-09-23 Glenn Morris <rgm@gnu.org>
16611 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16612 replying to mail without References or Message-Id. (Bug#4525)
16614 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16616 * term/ns-win.el (ns-reg-to-script): New variable.
16618 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16620 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16622 2009-09-22 Sam Steingold <sds@gnu.org>
16624 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16625 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16626 to 1 because hg returns status 1 when nothing is found.
16627 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16629 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16631 * textmodes/fill.el: Convert to utf-8 encoding.
16632 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16635 * add-log.el (change-log-fill-forward-paragraph): New function.
16636 (change-log-mode): Use it so fill-region DTRT.
16637 Set fill-indent-according-to-mode here rather than in
16638 change-log-fill-paragraph.
16639 (change-log-fill-paragraph): Remove.
16641 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16643 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16644 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16646 2009-09-22 Glenn Morris <rgm@gnu.org>
16648 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16649 the scroll-bar scroll the calendar window rather than the buffer.
16651 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16652 commands that move point (as opposed to scrolling).
16654 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16656 * emacs-lisp/elint.el (elint): New custom group.
16657 (elint-log-buffer): Make it a defcustom.
16658 (elint-scan-preloaded, elint-ignored-warnings)
16659 (elint-directory-skip-re): New options.
16660 (elint-builtin-variables): Doc fix.
16661 (elint-preloaded-env): New variable.
16662 (elint-unknown-builtin-args): Add an entry for encode-time.
16663 (elint-extra-errors): Make it a variable rather than a constant.
16664 (elint-preloaded-skip-re): New constant.
16665 (elint-directory): Skip files matching elint-directory-skip-re.
16666 (elint-features): New variable, local to linted buffers.
16667 (elint-update-env): Initialize elint-features. Possibly add
16668 elint-preloaded-env to the buffer's environment.
16669 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16671 (elint-init-form): New function, extracted from elint-init-env.
16672 Make non-list forms a warning rather than an error.
16673 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16674 easy-menu-define, put that adds an error-condition, and provide.
16675 When requiring cl, also require cl-macs. Really require cl, to handle
16676 some cl macros. Store required libraries in the list elint-features,
16677 so as not to re-load them. Treat cc-require like require.
16678 (elint-init-env): Call elint-init-form to do the work.
16679 Handle eval-and-compile and such like.
16680 (elint-add-required-env): Do not clear messages.
16681 (elint-special-forms): Add handlers for function, defalias, if, when,
16683 (elint-form): Add optional argument to ignore elint-special-forms,
16684 useful to prevent recursive calls from handlers. Doc fix.
16685 Respect elint-ignored-warnings.
16686 (elint-form): Respect elint-ignored-warnings.
16687 (elint-bound-variable, elint-bound-function): New variables.
16688 (elint-unbound-variable): Respect elint-bound-variable.
16689 (elint-get-args): Respect elint-bound-function.
16690 (elint-check-cond-form): Add some simple handling for (f)boundp and
16692 (elint-check-defalias-form): New handler.
16693 (elint-check-let-form): Make an empty let a warning rather than an
16695 (elint-check-setq-form): Make an empty setq a warning rather than an
16696 error. Respect elint-ignored-warnings.
16697 (elint-check-defvar-form): Accept null doc-strings.
16698 (elint-check-conditional-form): New handler. Does some simple-minded
16699 checking of featurep and (f)boundp tests.
16700 (elint-put-function-args): New function.
16701 (elint-initialize): Use elint-scan-doc-file rather than
16702 elint-find-builtin-variables. Use elint-put-function-args.
16703 Possibly scan preloaded-file-list.
16704 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16705 extend to handle functions as well.
16707 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16709 * linum.el (linum-delete-overlays, linum-update-window):
16710 Do not modify the right margin. (Bug#3971)
16712 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16714 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16715 Use nxml-mode instead of xml-mode.
16717 2009-09-21 Kevin Ryde <user42@zip.com.au>
16719 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16721 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * net/dig.el (dig-mode): Use define-derived-mode.
16725 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16727 * vc-dispatcher.el (vc-do-command): Return the process object in
16728 the asynchronous case. Use when instead of if. Do not run
16729 vc-exec-after to display a message if not enabled. (Bug#4463)
16731 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16732 properties to the stash strings.
16733 (vc-git-stash-list): Return a list of strings.
16734 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16735 (vc-git-stash-show-at-point): New functions.
16736 (vc-git-stash-map): New keymap.
16738 * register.el (ctl-x-r-map): Define the keys here instead of
16741 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16743 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16744 list, to workaround performance problem (bug#4485).
16746 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16748 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16750 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16752 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16753 Document that this option is not recommended to use.
16755 2009-09-19 Glenn Morris <rgm@gnu.org>
16757 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16760 * calc/calc-alg.el (var):
16761 * calc/calcalg2.el (var): Define for compiler.
16763 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16765 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16766 Doc fix (Bug#3932).
16768 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16770 * time-stamp.el (time-stamp-month-dd-yyyy)
16771 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16772 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16773 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16774 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16775 Remove functions that have been obsolete since 1995 (Bug#4436).
16777 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16778 indent buffer only if called interactively (Bug#4452).
16780 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16781 Eli Zaretskii <eliz@gnu.org>
16783 This fixes bug#4197 (merged to bug#865, though not identical).
16784 * server.el (server-auth-dir): Add docstring note about FAT32.
16785 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16786 but warn against using them.
16788 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16790 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16791 older GDB where there is no has_more field.
16793 2009-09-19 Glenn Morris <rgm@gnu.org>
16795 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16797 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16799 * files.el (auto-mode-alist): Change default for XML files to nXML
16802 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16804 * server.el (server-ensure-safe-dir): Pass 'integer
16805 to `file-attributes', as suggested.
16807 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16809 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16810 (dired-query): Use read-key.
16812 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16814 * cus-start.el (ns-use-qd-smoothing): Remove.
16816 2009-09-18 Glenn Morris <rgm@gnu.org>
16818 * allout.el (top-level): Remove unnecessary progn.
16820 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16822 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16823 definition of abbrev table.
16825 * speedbar.el (speedbar-track-mouse):
16826 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16827 * net/eudc.el (eudc-expand-inline):
16828 * net/newst-backend.el (newsticker--cache-read-feed):
16829 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16830 condition-case handlers.
16832 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16834 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16835 (gdb-var-list): Add an element for has_more field.
16836 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16837 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16838 (gdb-var-update-handler-1): Parse output of dynamic variable
16839 objects (STL containers).
16840 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16841 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16843 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16845 (gud-speedbar-buttons): Make node expandable if expression "has more"
16848 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16850 * startup.el (emacs-quick-startup): Remove variable and all uses.
16851 (command-line): Set `inhibit-x-resources' instead.
16852 (command-line-1): Use `inhibit-x-resources' instead.
16854 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16856 * subr.el: Fix last change to avoid using the `unless' macro,
16857 which breaks bootstrapping.
16859 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16861 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16862 extended definitions, in case we reload subr.el after having
16864 (eval-next-after-load): Mark as obsolete.
16866 2009-09-17 Juri Linkov <juri@jurta.org>
16868 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16869 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16870 (menu-bar-showhide-menu, menu-bar-tools-menu)
16871 (menu-bar-describe-menu, menu-bar-help-menu)
16872 (minibuffer-local-completion-map, minibuffer-local-map):
16875 2009-09-17 Glenn Morris <rgm@gnu.org>
16877 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16878 arguments, whether or not it has a handler.
16880 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16882 * simple.el (hard-newline): Give it a doc-string.
16884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16885 (lisp-mode-syntax-table): Give them doc-strings.
16887 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16889 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16890 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16891 (menu-bar-options-menu, menu-bar-showhide-menu)
16892 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16893 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16894 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16895 (menu-bar-options-menu, menu-bar-tools-menu)
16896 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16897 (menu-bar-help-menu):
16898 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16901 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16902 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16903 calls for the menu names and :help.
16905 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16907 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16908 to :minor-mode-function (bug#4455).
16910 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16912 * startup.el (command-line): Initialize the window-system after
16913 processing the command-line.
16915 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16916 page-delimiter matches the empty string.
16918 2009-09-16 Glenn Morris <rgm@gnu.org>
16920 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16921 byte-compile-not-obsolete-var. It's a list now.
16922 (byte-compile-not-obsolete-funcs): New variable.
16923 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16924 byte-compile-not-obsolete-funcs.
16925 (byte-compile-variable-ref, byte-compile-defvar): Update for
16926 byte-compile-not-obsolete-vars name-change and list nature.
16927 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16928 and variables behind (f)boundp tests.
16929 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16931 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16933 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16935 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16937 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16938 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16941 2009-09-15 Stephen Eglen <stephen@gnu.org>
16943 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16944 the virtual-buffers, use the name of the buffer specified by
16945 find-file-noselect, as the match may be a symlink. (This was a
16946 problem if the target and the symlink had different names.)
16948 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16950 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16952 * desktop.el (desktop-path): Check user-emacs-directory.
16954 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16956 * loadup.el: Use after-load-functions to GC after loading each file.
16957 Remove the explicit GC calls that used to be sprinkled around.
16959 * subr.el (after-load-functions): New hook.
16960 (do-after-load-evaluation): Run it. Use string-match-p to detect
16961 `obsolete' packages, rather than painfully extracting the relevant
16964 2009-09-15 Glenn Morris <rgm@gnu.org>
16966 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16967 free variable `doc'.
16969 * dired.el (dired-mode-map): Add menu entry for async shell command.
16971 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16972 variables, also consider the .elc files, since the .el files are
16973 normally gzipped (subsequent code locates the .el.gz from the .elc).
16975 * calc/calc-prog.el (arglist): Define for compiler.
16977 * calendar/diary-lib.el (diary-display-function): Change the default to
16979 (body): Define for compiler.
16981 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16982 (byte-compile-file-form, byte-compile-lambda)
16983 (byte-compile-top-level-body, byte-compile-form)
16984 (byte-compile-variable-ref, byte-compile-setq)
16985 (byte-compile-setq-default, byte-compile-body)
16986 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16987 (batch-byte-compile): Give some more local variables with common names
16988 a "bytecomp-" prefix to avoid masking warnings about free variables.
16990 * startup.el (command-line-1): Give local variables with common names a
16991 distinguishing prefix, so as not to hide free variable warnings during
16994 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16995 clever and add a suffix to make a unique name, just let the user decide
16996 whether or not to overwrite it. If the input is a directory, write the
16997 default filename to that directory. (Bug#4388)
16998 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16999 is a filename-as-a-directory.
17001 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * textmodes/page.el (what-page): Don't move to beginning of line.
17004 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17006 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17008 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17010 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17012 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17013 * help.el (help-for-help-internal): Add purecopy calls for text.
17015 * vc.el (top): print-log method now takes an optional SHORTLOG
17016 argument. Add a new method: root.
17017 (vc-root-diff, vc-print-root-log): New functions.
17018 (vc-log-short-style): New variable.
17019 (vc-print-log-internal): Add support for showing short logs.
17021 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17022 vc-print-root-log and vc-print-root-diff.
17024 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17025 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17026 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17029 * vc-cvs.el (vc-cvs-print-log):
17030 * vc-mtn.el (vc-mtn-print-log):
17031 * vc-rcs.el (vc-rcs-print-log):
17032 * vc-sccs.el (vc-sccs-print-log):
17033 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17034 that is ignored for now.
17036 * vc-mtn.el (vc-mtn-annotate-command):
17037 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17039 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17041 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17042 to function-key-map, and give them ascii-character property.
17043 * term/x-win.el (x-alternatives-map):
17044 * term/ns-win.el (ns-alternatives-map):
17045 * term/internal.el (msdos-key-remapping-map):
17046 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17048 2009-09-14 Glenn Morris <rgm@gnu.org>
17050 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17051 temp-buffers (2009-09-12).
17053 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17055 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17056 the new read-key function.
17058 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17060 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17061 is defined (Bug#4405).
17063 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17065 * recentf.el (recentf-cleanup): Use a hash table to find
17066 duplicates (Bug#4407).
17068 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17070 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17071 kp-0 to ascii equivalents (Bug#4325).
17073 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17075 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17077 * eshell/em-hist.el:
17078 * eshell/em-dirs.el (eshell-complete-user-reference):
17079 Declare pcomplete functions and variables to avoid compiler warnings.
17081 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17083 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17084 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17085 * eshell/em-alias.el (eshell-aliases-file):
17086 * eshell/em-hist.el (eshell-history-file-name):
17087 Use expand-file-name instead of concat to make file names (Bug#4308).
17089 2009-09-13 Glenn Morris <rgm@gnu.org>
17091 * ediff-merg.el (ediff-do-merge):
17092 * filesets.el (filesets-run-cmd):
17093 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17094 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17095 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17096 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17097 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17098 Replace empty `let's with `progn'.
17100 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17102 * mail/sendmail.el (send-mail-function):
17103 * tooltip.el (tooltip-mode):
17104 * simple.el (transient-mark-mode):
17105 * rfn-eshadow.el (file-name-shadow-mode):
17106 * frame.el (blink-cursor-mode):
17107 * font-core.el (global-font-lock-mode):
17108 * files.el (temporary-file-directory)
17109 (small-temporary-file-directory, auto-save-file-name-transforms):
17110 * epa-hook.el (auto-encryption-mode):
17111 * composite.el (global-auto-composition-mode):
17112 Use custom-initialize-delay.
17113 * startup.el (command-line): Don't explicitly call
17114 custom-reevaluate-setting for all the above vars.
17115 * custom.el (custom-initialize-safe-set)
17116 (custom-initialize-safe-default): Delete.
17118 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17120 * term/x-win.el (x-initialize-window-system):
17121 * term/w32-win.el (w32-initialize-window-system):
17122 * term/ns-win.el (ns-initialize-window-system): Don't call
17123 mouse-wheel-mode since it's enabled globally by default already.
17125 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17126 actually define the variable, but only silences the byte-compiler.
17127 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17128 before looking it up.
17129 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17132 2009-09-12 Glenn Morris <rgm@gnu.org>
17134 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17136 (elint-add-required-env): Don't beep on error.
17137 (elint-forms): In case of error, return ENV unchanged.
17138 (elint-init-env): Skip non-list forms.
17139 (elint-log): Handle unknown file positions.
17141 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17143 * epg.el (epg-make-context): Add autoload cookie.
17144 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17145 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17146 (epg-verify-string, epg-start-sign, epg-sign-file)
17147 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17148 (epg-encrypt-string, epg-start-export-keys)
17149 (epg-export-keys-to-file, epg-export-keys-to-string)
17150 (epg-start-import-keys, epg-import-keys-from-file)
17151 (epg-import-keys-from-string, epg-start-receive-keys)
17152 (epg-receive-keys, epg-import-keys-from-server)
17153 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17154 (epg-sign-keys, epg-start-generate-key)
17155 (epg-generate-key-from-file, epg-generate-key-from-string):
17156 Remove autoload cookie.
17158 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17160 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17161 reevaluation of trash-directory.
17163 * mwheel.el: Fix last change.
17164 (mouse-wheel-mode): New defvar.
17165 (mouse-wheel-mode): Remove autoload cookie.
17167 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17169 * mwheel.el (mwheel-installed-bindings): New var.
17170 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17171 the bindings we set last time. Use custom-initialize-delay.
17172 * loadup.el: Load mwheel after term/*-win.el.
17173 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17174 and mouse-wheel-up-event now that their first evaluation is done
17175 sufficiently late to be correct.
17177 * startup.el (tutorial-directory): Make it a defcustom.
17178 Use custom-initialize-delay rather than eval-at-startup to set it.
17179 * image.el (image-load-path): Make it a defcustom.
17180 Use custom-initialize-delay rather than eval-at-startup to set it.
17181 * subr.el (eval-at-startup): Remove.
17182 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17184 * subr.el (do-after-load-evaluation): Warn the user after loading an
17187 2009-09-12 Glenn Morris <rgm@gnu.org>
17189 * proced.el (proced-mark-alt): Remove alias.
17190 (proced-mode-map): Remove proced-mark-alt.
17192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17193 Elint file and directory. Remove initialization entry.
17195 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17197 (elint-current-buffer): Set mode-line-process.
17198 (elint-init-env): Handle define-derived-mode.
17199 Fix declare-function with unspecified arglist. Guard against odd
17200 defalias statements (eg iso-insert's 8859-1-map).
17201 (elint-add-required-env): Use a temp buffer.
17202 (elint-form): Just print the function/macro name, not the whole form.
17203 Return env unchanged if we fail to parse a macro.
17204 (elint-forms): Guard against parse errors.
17205 (elint-output): New function, to handle batch mode.
17206 (elint-log-message): Add optional argument. Use elint-output.
17207 (elint-set-mode-line): New function.
17209 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17211 * emacs-lisp/elp.el (elp-not-profilable): Add more
17212 functions (Bug#4233).
17214 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17216 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17217 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17219 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17221 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17222 (gdb-var-list-children): Use json parsing.
17224 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17226 * progmodes/js.el (js--proper-indentation): Handle the case where
17227 char-before is null. Reported by Deniz Dogan.
17229 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17231 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17233 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17235 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17236 (epg-digest-algorithm-alist): Add SHA224.
17237 (epg-context-set-passphrase-callback)
17238 (epg-context-set-progress-callback): Add description about
17241 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17243 * custom.el (custom-delayed-init-variables): New var.
17244 (custom-initialize-delay): New function.
17245 * startup.el (command-line): "Re"evaluate all vars in
17246 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17247 explicitly any more.
17248 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17249 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17251 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17253 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17255 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17256 (gdb-var-update-handler): Use json parsing.
17258 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17260 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17261 decode annotated text, regardless of language environment. (Bug#2741)
17263 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17265 * Makefile.in (autoloads): Make rmail.el writable as well.
17267 2009-09-11 Glenn Morris <rgm@gnu.org>
17269 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17271 * dired.el: Regenerate with extracted autoloads.
17272 * Makefile.in (autoloads): Make dired.el writable.
17274 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17275 * ibuffer.el: Regenerate with extracted autoloads.
17276 * Makefile.in (autoloads): Make ibuffer.el writable.
17278 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17279 * version.el (emacs-copyright, emacs-major-version)
17280 (emacs-minor-version): Reformat doc-strings for make-docfile.
17282 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17283 functions and variables, since they must be stuff specific to some other
17285 (apropos-print): Make mouse-click message less specific about button.
17287 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17288 that records where a macro was defined.
17289 * help-fns.el (describe-function-1): Mention if a function has a
17291 * help-mode.el (help-function-cmacro): New button.
17293 * locate.el (top-level): Always require dired.
17294 (locate-mode-map): Initialize inside the defvar.
17296 * net/ange-ftp.el (dired-compress-file): Declare.
17297 (ange-ftp-dired-compress-file): Add doc string.
17299 * term/ns-win.el (x-display-name, x-setup-function-keys):
17300 Unify doc-strings with X versions.
17302 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17304 * emulation/crisp.el (crisp-mode-map): Move initialization
17306 (crisp-mode): Use define-minor-mode.
17308 * progmodes/xscheme.el (xscheme-evaluation-commands):
17309 Put a :advertised-binding property rather than using
17310 advertised-xscheme-send-previous-expression.
17311 (advertised-xscheme-send-previous-expression): Declare obsolete.
17312 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17314 (crisp-mode): Add corresponding bindings to
17315 undo's :advertised-binding instead.
17316 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17317 than using dired-advertised-find-file.
17318 (dired-advertised-find-file):
17319 * simple.el (advertised-undo):
17320 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17321 (widget-keymap): Put a :advertised-binding property rather
17322 than using advertised-widget-backward.
17323 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17324 than using advertised-undo.
17325 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17327 2009-09-10 Simon South <ssouth@slowcomputing.org>
17329 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17330 Mark mode is enabled and region is active; otherwise indent or
17331 insert TAB as usual.
17332 (delphi-mode): Update description of TAB-key binding.
17334 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17336 * subr.el (define-key-rebound-commands): Mark obsolete.
17337 * startup.el (precompute-menubar-bindings): Remove.
17338 (normal-top-level): Remove obsolete code that tried to precompute
17340 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17341 define-key-rebound-commands and precompute-menubar-bindings.
17343 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17345 * net/imap.el (imap-interactive-login): Better messages.
17346 (imap-open): Fix bug with renamed buffer on reconnect.
17347 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17348 for easier debugging and cleaner code. On successful (guessed based on
17349 server capabilities) secondary authentication, set imap-state
17351 (imap-last-authenticator): Define imap-last-authenticator as a variable
17354 2009-09-10 Glenn Morris <rgm@gnu.org>
17356 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17358 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17359 (byte-compile-file-form-autoload): Don't warn about unknown functions
17360 where the autoload statement comes after the use.
17361 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17362 that any handlers inside the body (eg require) are in turn respected.
17364 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17367 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17368 and syntax and abbrev tables basic docs, if they don't have any.
17370 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17372 * international/mule-cmds.el (top-level): Require cl when compiling.
17373 (view-hello-file): Use default-value rather than
17374 default-enable-multibyte-characters.
17376 * progmodes/fortran.el: Move all safe and risky properties into the
17379 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17380 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17381 * mail/undigest.el:
17382 Put autoloads in rmail.el rather than loaddefs.el.
17383 * mail/rmail.el: Regenerate with extracted autoloads.
17385 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17386 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17388 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17390 Reported in thread for Bug#4375.
17391 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17392 "-data-evaluate-expression" instead of print.
17393 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17394 (gdb-tooltip-print): Parse output from above MI command.
17395 (gdb): Revert 2009-08-11 change. User should detach inferior
17398 Remove the word "separate" from IO functions as inferior
17399 output is now never displayed in the GUD buffer.
17401 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17403 * startup.el (command-line-normalize-file-name): On Windows and
17404 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17406 2009-09-10 Juri Linkov <juri@jurta.org>
17408 * isearch.el (isearch-text-char-description): Propertize escape
17409 character sequences with the `escape-glyph' face. (Bug#4344)
17411 * simple.el (shell-command): Set asynchronous process filter to
17412 `comint-output-filter'. (Bug#4343)
17414 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17415 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17416 the list. Move "asm" to the bottom.
17417 (grep-find-ignored-directories): Add `choice' with nil value
17418 to empty the list easily.
17419 (grep-find-ignored-files): New option.
17420 (grep-files-history): Set to nil by default instead of '("ch" "el").
17421 (grep-compute-defaults): Add "<X>" to `grep-template'.
17422 (grep-read-files): Bind new local variables `default-alias' and
17423 `default-extension'. Use a list of default values for the file prompt.
17424 (lgrep): Add `--exclude=' command line options composed from
17425 `grep-find-ignored-files'.
17426 (rgrep): Add `-name' command line options composed from
17427 `grep-find-ignored-files'. (Bug#4301)
17429 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17431 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17434 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17436 * calendar/time-date.el (autoload):
17437 Expand define-obsolete-function-alias into defalias and make-obsolete
17438 for old Emacsen that Gnus supports.
17439 (with-no-warnings): Define it for old Emacsen.
17440 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17442 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17443 float-time is available; suppress compile warning for time-to-seconds.
17445 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17447 * net/imap.el (imap-message-map): Docstring fix.
17449 2009-09-09 Glenn Morris <rgm@gnu.org>
17451 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17452 line numbers too. (Bug#4374)
17454 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17456 * smerge-mode.el (smerge-remove-props, smerge-refine):
17457 Use with-silent-modifications (bug#4342).
17459 * subr.el (with-silent-modifications): New macro.
17461 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17463 * files.el (top-level): Require `cl' when compiling.
17465 2009-09-07 Glenn Morris <rgm@gnu.org>
17467 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17469 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17470 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17472 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17474 * vc-git.el (vc-git-annotate-command): Use separator to parse
17475 arguments correctly.
17477 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17479 * proced.el (proced-mode): Doc fix.
17481 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17483 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17485 (tramp-do-file-attributes-with-ls): Check for file existence at
17487 (tramp-do-file-attributes-with-stat): Likewise.
17488 (tramp-convert-file-attributes): Return nil when attr is nil.
17490 2009-09-05 Glenn Morris <rgm@gnu.org>
17492 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17493 properties to this button.
17494 (diary-fancy-display): Don't extend the button to the final newline.
17495 (diary-fancy-display-mode): Continue to define "q" as a local key.
17497 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17500 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17502 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17503 (byte-compile-dest-file-function): New option.
17504 (byte-compile-dest-file): Doc fix.
17505 Obey byte-compile-dest-file-function.
17506 (byte-compile-cl-file-p): New function.
17507 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17508 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17509 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17510 than for file being previously loaded.
17511 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17512 (byte-compile-file-form-require): Handle the case where requiring a file
17513 indirectly causes CL to be loaded.
17515 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17517 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17518 before killing the old buffer, since by the time `kill-buffer' is
17519 run so many buffer variables have been set to nil that it may not
17520 behave as expected. (Bug#4061)
17522 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17524 * files.el (find-alternate-file): If the old buffer is modified
17525 and visiting a file, behave similarly to `kill-buffer' when
17526 killing it, thus reverting to the pre-1.878 behavior; see
17527 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17528 for discussion. Also, consult `buffer-file-name' as a variable
17529 not as a function, for consistency with the rest of the code.
17531 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17533 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17534 also when adding a new directory.
17536 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17539 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * files.el (locate-file-completion-table): Make it provide boundary
17542 information, so partial-completion works better.
17544 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17546 * mail/footnote.el (Footnote-text-under-cursor):
17547 Check footnote-text-marker-alist before using it (bug#4324).
17549 2009-09-04 Glenn Morris <rgm@gnu.org>
17551 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17552 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17553 * play/solitaire.el, play/tetris.el:
17554 Remove leading * from defcustom and defface docs.
17556 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17558 (diary-fancy-overriding-map): New variable.
17559 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17562 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17565 2009-09-03 Glenn Morris <rgm@gnu.org>
17567 * arc-mode.el (archive-mode):
17568 * dos-fns.el (set-default-process-coding-system):
17569 * man.el (Man-getpage-in-background):
17570 * menu-bar.el (menu-bar-describe-menu):
17571 * server.el (server-process-filter):
17572 * startup.el (command-line):
17573 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17574 * w32-fns.el (set-default-process-coding-system):
17575 * x-dnd.el (x-dnd-handle-file-name):
17576 * international/mule-cmds.el (mule-menu-keymap)
17577 (set-default-coding-systems, language-info-alist, set-language-info)
17578 (set-language-environment, standard-display-european-internal)
17579 (set-locale-environment):
17580 * international/mule-diag.el (mule-diag):
17581 * mail/emacsbug.el (report-emacs-bug):
17582 * mail/rmail.el (rmail-mode):
17583 * mail/sendmail.el (mail-setup):
17584 Use default-value rather than default-enable-multibyte-characters.
17586 * progmodes/f90.el: Move all safe properties into the defcustoms.
17587 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17589 * calendar/appt.el (appt-check):
17590 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17591 (diary-check-diary-file, diary-list-entries)
17592 (diary-include-other-diary-files, diary-simple-display)
17593 (diary-fancy-display, diary-print-entries)
17594 (diary-mark-included-diary-files, diary-make-entry):
17595 Don't call substitute-in-file-name on diary-file.
17597 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17598 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17601 (footnote-mode-map): Move initialization into the declaration.
17602 (footnote-minor-mode-map): Define it rather than changing global-map.
17603 (footnote-mode): Use define-minor-mode.
17605 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17607 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17608 (tramp-do-file-attributes-with-perl)
17609 (tramp-do-file-attributes-with-stat): Rename from
17610 `tramp-handle-file-attributes-with-*'.
17611 (tramp-handle-file-attributes): Use them.
17612 (tramp-do-directory-files-and-attributes-with-perl)
17613 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17614 `tramp-handle-directory-files-and-attributes-with-*'.
17615 (tramp-handle-directory-files-and-attributes): Use them.
17616 (tramp-method-out-of-band-p): Additional parameter SIZE.
17617 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17618 (tramp-handle-write-region): Use it.
17619 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17620 (tramp-handle-vc-registered): Check, whether the first run did
17621 return files to be tested.
17622 (tramp-advice-make-auto-save-file-name): Do not call directly
17623 `tramp-handle-make-auto-save-file-name', because this would bypass
17624 the locking mechanism.
17626 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17627 (file-remote-p, process-file, start-file-process, set-file-times)
17628 (tramp-compat-file-attributes): Compatibility functions shall not
17629 call directly `tramp-handle-*', because this would bypass the
17631 (tramp-compat-number-sequence): New defun.
17633 2009-09-02 Glenn Morris <rgm@gnu.org>
17635 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17636 alias for float-time.
17637 (time-to-number-of-days): In Emacs, use float-time.
17638 * net/newst-backend.el (time-add): Suppress warnings from compat
17640 * time.el (emacs-uptime, emacs-init-time):
17641 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17642 Use float-time rather than time-to-seconds.
17644 * minibuffer.el (completion-initials-expand): Fix typo.
17646 * faces.el (modeline, modeline-inactive, modeline-highlight)
17647 (modeline-buffer-id):
17648 * info.el (info-menu-5): Mark these face aliases as obsolete.
17650 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17652 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17654 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17655 no "--thread" option.
17656 (gdb-stopped): Don't print "Switched to thread" message when it is
17659 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * minibuffer.el (completion-try-completion)
17662 (completion-all-completions): Remove ill-defined (and
17663 mistakenly installed and luckily never used nor documented)
17664 `completion-styles' property.
17665 (completion-initials-expand, completion-initials-all-completions)
17666 (completion-initials-try-completion): New functions.
17667 (completion-styles-alist): Add doc to each entry.
17668 Add new `initials' entry.
17670 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17672 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17673 MI command -var-evaluate-expression.
17674 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17675 and tweak for case of string child.
17676 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17678 2009-09-01 Glenn Morris <rgm@gnu.org>
17680 * add-log.el (change-log-date-face, change-log-name-face)
17681 (change-log-email-face, change-log-file-face, change-log-list-face)
17682 (change-log-conditionals-face, change-log-function-face)
17683 (change-log-acknowledgement-face):
17684 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17685 (custom-modified-face, custom-set-face, custom-changed-face)
17686 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17687 (custom-documentation-face, custom-state-face, custom-comment-face)
17688 (custom-comment-tag-face, custom-variable-tag-face)
17689 (custom-variable-button-face, custom-face-tag-face)
17690 (custom-group-tag-face-1, custom-group-tag-face):
17691 * diff-mode.el (diff-header-face, diff-file-header-face)
17692 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17693 (diff-added-face, diff-changed-face, diff-function-face)
17694 (diff-context-face, diff-nonexistent-face):
17695 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17696 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17697 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17698 (Info-title-4-face):
17699 * isearch.el (isearch-lazy-highlight-face):
17700 * log-view.el (log-view-file-face, log-view-message-face):
17701 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17702 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17703 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17705 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17706 (smerge-base-face, smerge-markers-face):
17707 * wid-edit.el (widget-documentation-face, widget-button-face)
17708 (widget-field-face, widget-single-line-field-face)
17709 (widget-inactive-face, widget-button-pressed-face):
17710 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17711 (woman-addition-face):
17712 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17713 (eshell-ls-executable-face, eshell-ls-readonly-face)
17714 (eshell-ls-unreadable-face, eshell-ls-special-face)
17715 (eshell-ls-missing-face, eshell-ls-archive-face)
17716 (eshell-ls-backup-face, eshell-ls-product-face)
17717 (eshell-ls-clutter-face):
17718 * eshell/em-prompt.el (eshell-prompt-face):
17719 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17720 * obsolete/old-whitespace.el (whitespace-highlight-face):
17721 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17722 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17723 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17724 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17725 (antlr-font-lock-literal-face):
17726 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17727 (ebrowse-root-class-face, ebrowse-file-name-face)
17728 (ebrowse-default-face, ebrowse-member-attribute-face)
17729 (ebrowse-member-class-face, ebrowse-progress-face):
17730 * progmodes/make-mode.el (makefile-space-face):
17731 * progmodes/sh-script.el (sh-heredoc-face):
17732 * textmodes/flyspell.el (flyspell-incorrect-face)
17733 (flyspell-duplicate-face):
17734 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17735 * textmodes/texinfo.el (texinfo-heading-face):
17736 Mark face aliases with "-face" suffix as obsolete.
17738 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17741 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17742 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17743 easy-menu-define wants to modify these.
17745 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17747 * net/browse-url.el (browse-url-file-url):
17748 * term/internal.el (dos-codepage-setup):
17749 Use default-value rather than default-enable-multibyte-characters.
17751 * progmodes/etags.el (etags-goto-tag-location):
17752 * progmodes/flymake.el (flymake-highlight-line)
17753 (flymake-goto-file-and-line, flymake-goto-line):
17754 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17755 (gdb-goto-breakpoint):
17756 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17757 * progmodes/python.el (python-find-function)
17758 (python-pdbtrack-track-stack-file):
17759 * progmodes/verilog-mode.el (verilog-surelint-off):
17760 * term/ns-win.el (ns-open-file-select-line):
17761 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17762 Use forward-line rather than goto-line.
17764 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17765 * textmodes/reftex-index.el (reftex-display-index):
17766 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17767 * textmodes/reftex-toc.el (reftex-toc):
17768 Remove unnecessary bindings of default-major-mode (all are followed by
17769 major-mode check and possible mode switch).
17771 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17773 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17774 Handle watchpoints (bug#4282).
17775 (def-gdb-thread-buffer-command): Enable thread to be selected by
17776 clicking without selecting threads buffer first.
17777 (gdb-current-context-command): Use selected frame so that "up",
17778 "down" etc work in the GUD buffer.
17779 (gdb-update): Find selected frame before rendering stack buffer.
17780 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17782 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17784 * progmodes/sym-comp.el (displayed-completions): Remove.
17785 (symbol-complete): Use minibuffer-complete.
17787 2009-08-31 Glenn Morris <rgm@gnu.org>
17789 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17791 * apropos.el (apropos-symbols-internal):
17792 Handle (obsolete) face aliases.
17794 * faces.el (describe-face): Adjust the output format to be more like
17795 describe-variable, and to mention (obsolete) face aliases.
17796 Adjust the whitespace so that help-setup-xref works.
17798 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17799 * calendar/diary-lib.el (diary-button-face):
17800 Mark these face aliases as obsolete.
17802 * calendar/calendar.el (calendar-today): Doc fix.
17804 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17806 * progmodes/gdb-mi.el (gdb-control-all-threads)
17807 (gdb-control-current-thread): Force tool bar update.
17808 (gdb-non-stop-handler): New function.
17809 (gdb-init-1): Use it to test if non-stop mode is supported.
17810 Remove unused gdbmi buffer type.
17812 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17814 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17815 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17817 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17819 * comint.el (comint-exec-1): Check command is non-null first.
17820 Part of gdb-mi.el change (2009-08-28).
17822 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17824 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17826 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17828 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17829 instead of `dolist' to avoid a recursive require when bootstrapping.
17831 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17833 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17835 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17837 * net/imap.el (imap-send-command): Simplify.
17838 (imap-wait-for-tag): point-max -> buffer-size.
17840 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17842 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17843 with constant argument.
17845 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17847 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17849 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17850 Change default, since most of our files don't have a history.
17851 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17854 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17857 * calc/calc.el: Improve commenting convention.
17858 (calc-digit-map, toplevel): Simplify.
17860 * comint.el (comint-insert-input): Be careful to only set point if we
17861 don't delegate to some other command.
17863 * proced.el (proced-signal-list): Make it an alist.
17864 (proced-grammar-alist): Capitalize names.
17865 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17866 Disable undo manually and make it read-only.
17867 Use completion-annotate-function.
17869 * minibuffer.el (minibuffer-message): If the current buffer is not
17870 a minibuffer, insert the message in the echo area rather than at the
17872 (completion-annotate-function): New variable.
17873 (minibuffer-completion-help): Use it.
17874 (completion--embedded-envvar-table): Environment vars are
17875 always case-sensitive.
17877 2009-08-30 Glenn Morris <rgm@gnu.org>
17879 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17880 from fortran-current-defun.
17881 (fortran-beginning-of-subprogram): Be more precise about finding the
17882 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17883 (fortran-end-of-subprogram): Simplify.
17884 (fortran-current-defun): Use fortran-start-prog-re.
17886 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17888 * subr.el (do-after-load-evaluation): Simplify.
17890 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17892 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17894 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17895 (vc-rcs-print-log): Use it.
17897 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17899 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17901 * paths.el (abbrev-file-name): Move to abbrev.el.
17902 * abbrev.el (abbrev-file-name): Move from paths.el.
17903 Obey user-emacs-directory.
17904 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17905 user-emacs-directory.
17906 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17907 abbrev-file-name and calc-settings-file any more.
17908 * startup.el (command-line): Recompute abbrev-file-name and
17909 abbreviated-home-dir.
17910 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17911 of the special code for when C-h bindings haven't been changed.
17912 (display-startup-echo-area-message): Use with-current-buffer.
17913 (command-line-1): Use a list of strings, rather than a list of lists
17914 of strings for longopts.
17916 * files.el (get-free-disk-space): Use / for default-directory.
17918 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17919 Use with-current-buffer.
17921 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17922 Recognize immutable variables like most-positive-fixnum.
17923 (byte-compile-setq-default): Check and warn if trying to assign
17924 to an immutable variable, or a non-variable.
17926 * progmodes/cc-vars.el (c-comment-continuation-stars):
17927 * progmodes/cc-engine.el (c-looking-at-bos):
17928 * progmodes/cc-cmds.el (c-toggle-auto-state)
17929 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17930 (c-comment-line-break-function): Add version of obsolescence.
17932 2009-08-28 Juri Linkov <juri@jurta.org>
17934 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17935 associated with `archive-mode'.
17937 * image.el (image-type-header-regexps): Use only JPEG magic number
17938 to determine JPEG images, and don't use `image-jpeg-p' because
17939 Emacs can display non-JFIF non-Exif JPEG images.
17941 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17943 * arc-mode.el (archive-mode):
17944 * emacs-lisp/re-builder.el (re-builder-unload-function):
17945 Protect against the default value of `major-mode' being nil.
17947 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17949 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17950 Fix typos in docstrings.
17952 * progmodes/js.el (js--macro-decl-re): Doc fix.
17953 (js--plain-method-re, js--split-name): Refloc docstring.
17954 (js--class-styles, js--make-merged-item, js--splice-into-items):
17955 Fix typos in docstrings; reflow docstrings.
17956 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17957 (js--variable-decl-matcher, js--inside-pitem-p)
17958 (js--parse-state-at-point, js--get-all-known-symbols)
17959 (js--symbol-history, js-find-symbol, js--js-references)
17960 (js--moz-interactor, js--js-encode-value, js--read-tab):
17961 Fix typos in docstrings.
17963 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17965 * textmodes/reftex.el (reftex-get-file-buffer-force):
17966 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17967 * emulation/viper.el (viper-go-away, viper-set-hooks):
17968 * emacs-lisp/re-builder.el (re-builder-unload-function):
17969 * emacs-lisp/bytecomp.el (byte-compile-file):
17970 * ses.el (ses-unload-function):
17971 * hexl.el (hexl-find-file):
17972 * files.el (normal-mode):
17973 * ehelp.el (with-electric-help):
17974 * autoinsert.el (auto-insert-alist):
17975 * arc-mode.el (archive-mode):
17976 Use (default-value 'major-mode) instead of default-major-mode.
17978 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17979 * international/mule.el (load-with-code-conversion):
17980 * emacs-lisp/debug.el (debug):
17981 * ediff-vers.el (ediff-rcs-get-output-buffer):
17982 * dired.el (dired-internal-noselect): Don't let-bind
17983 default-major-mode around code that doesn't use it.
17984 E.g. buffer creation via get-buffer-create doesn't use it.
17986 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17988 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17989 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17990 when writing the temp file. Otherwise, epa-file gets confused.
17991 (tramp-register-file-name-handlers): Make it a defun. Move also
17992 `epa-file-handler' to the front of `file-name-handler-alist'.
17994 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17996 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17997 start right after a ^M.
17998 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17999 (tramp-completion-file-name-regexp-separate)
18000 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18001 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18002 Don't modify last-coding-system-used by accident.
18003 (tramp-completion-file-name-handler): Apply the checks here,
18004 instead during registration.
18005 (tramp-register-file-name-handlers): Rename from
18006 `tramp-register-file-name-handler'. Register both
18007 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18008 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18010 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18012 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18013 Remove variable ...
18014 (gdb-init-1, gdb-display-separate-io-buffer)
18015 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18017 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18018 (gdb-inferior-filter): Use comint-output-filter to stop
18019 echoing and remove ^M characters.
18021 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18023 * emulation/viper-init.el (viper-restore-cursor-type):
18024 * emulation/cua-base.el (cua--update-indications):
18025 Replace default-cursor-type with (default-value 'cursor-type).
18027 * mail/sendmail.el (mail-recover-1):
18028 * international/mule-diag.el (describe-current-coding-system-briefly)
18029 (describe-current-coding-system):
18030 * international/mule-cmds.el (select-safe-coding-system)
18031 (select-message-coding-system)
18032 (set-language-environment-coding-systems, set-locale-environment):
18033 * hexl.el (hexl-insert-multibyte-char):
18034 * dos-w32.el (find-buffer-file-type-coding-system):
18035 * simple.el (what-cursor-position):
18036 Replace uses of default-buffer-file-coding-system
18037 with (default-value 'buffer-file-coding-system).
18039 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18040 Replace uses of default-cursor-in-non-selected-windows
18041 with (default-value 'cursor-in-non-selected-windows).
18042 Use with-current-buffer.
18044 * mail/feedmail.el: Use CL macros.
18045 (feedmail-run-the-queue, feedmail-send-it-immediately):
18046 * dos-w32.el (find-buffer-file-type): Replace uses of
18047 default-buffer-file-type with (default-value 'buffer-file-type).
18049 2009-08-28 Glenn Morris <rgm@gnu.org>
18051 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18052 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18053 Use default-value of major-mode rather than default-major-mode.
18055 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18057 * Makefile.in (update-elcfiles): Report left over elc files.
18059 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18060 expand-file-name and with-current-buffer.
18061 (mail-get-names, mail-directory): Use with-current-buffer.
18063 * vc.el (vc-read-revision): New function.
18064 (vc-version-diff, vc-merge): Use it.
18066 2009-08-27 Sam Steingold <sds@gnu.org>
18068 * simple.el (kill-do-not-save-duplicates): New user option.
18069 (kill-new): When it is non-nil, and the new string is the same as
18070 the latest kill, set replace to t to avoid duplicates in kill-ring.
18072 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18074 * net/tramp.el (tramp-handle-process-file): Do not flush all
18075 caches when `process-file-side-effects' is set.
18076 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18077 instead of `tramp-find-file-exists-command'.
18078 Unset `process-file-side-effects'.
18080 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18082 * net/tramp.el (tramp-methods): New method "rsyncc".
18083 (top): Add completion function for "rsyncc".
18084 (tramp-message-show-message): New defvar.
18085 (tramp-message, tramp-error): Use it.
18086 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18088 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18089 `tramp-methods' entry `copy-env' of "rsyncc".
18090 (tramp-vc-registered-read-file-names): New defconst.
18091 (tramp-vc-registered-file-names): New defvar.
18092 (tramp-handle-vc-registered): Implement optimization strategy.
18093 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18094 (tramp-vc-file-name-handler): New defun.
18095 (tramp-get-ls-command, tramp-get-test-command)
18096 (tramp-get-file-exists-command, tramp-get-remote-ln)
18097 (tramp-get-remote-perl, tramp-get-remote-stat)
18098 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18100 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18101 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18103 (tramp-get-file-property): Check for timestamps in
18104 `tramp-cache-inhibit-cache'.
18105 (tramp-set-file-property): Write timestamp.
18107 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18109 * language/japan-util.el (japanese-symbol-table): Add entries for
18112 * international/characters.el: Add category `j' to cp932-2-byte.
18114 2009-08-27 Kenichi Handa <handa@m17n.org>
18116 * international/fontset.el (build-default-fontset-data): New macro.
18117 (setup-default-fontset): Use build-default-fontset-data for CJK,
18118 tibetan, ethiopic, and ipa.
18120 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18122 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18123 (enable-multibyte-characters): Not customizable any more.
18125 * subr.el (default-mode-line-format, default-header-line-format)
18126 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18127 (default-direction-reversed, default-truncate-lines)
18128 (default-left-margin, default-tab-width, default-case-fold-search)
18129 (default-left-margin-width, default-right-margin-width)
18130 (default-left-fringe-width, default-right-fringe-width)
18131 (default-fringes-outside-margins, default-scroll-bar-width)
18132 (default-vertical-scroll-bar, default-indicate-empty-lines)
18133 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18134 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18135 (default-scroll-down-aggressively, default-fill-column)
18136 (default-cursor-type, default-buffer-file-type)
18137 (default-cursor-in-non-selected-windows)
18138 (default-buffer-file-coding-system, default-major-mode)
18139 (default-enable-multibyte-characters): Mark as obsolete.
18141 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18143 * vc-dir.el (vc-dir-update): Remove debug helper.
18145 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18147 2009-08-26 Sam Steingold <sds@gnu.org>
18149 * simple.el (save-interprogram-paste-before-kill): New user option.
18150 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18151 save the interprogram-paste into kill-ring before overriding it
18152 with the Emacs kill.
18154 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18156 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18157 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18158 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18159 and move to vc-rcs.el.
18160 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18162 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18163 (vc-rcs-update-changelog): Remove.
18164 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18165 and move to vc-rcs.el.
18167 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18168 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18170 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18171 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18172 vc.el, renamed to be RCS specific.
18174 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18176 (vc-cvs-update-changelog): Move here from vc.el.
18178 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18181 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18183 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18185 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18187 * vc-git.el (vc-git-register): Use "git add" for directories.
18188 (vc-git-stash, vc-git-stash-show): New functions.
18189 (vc-git-extra-menu-map): Bind them.
18191 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18192 directory correctly in case the item is a directory itself.
18194 * vc.el: Document the desired behavior for reverted files in the
18196 (vc-default-prettify-state-info): Remove function, unused.
18198 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18200 2009-08-26 Glenn Morris <rgm@gnu.org>
18202 * bindings.el (standard-mode-line-format): Reposition dashes in
18203 which-func entry. (Bug#4217)
18205 * files.el (enable-local-variables, enable-local-eval)
18206 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18208 (auto-mode-alist, ignored-local-variables)
18209 (save-some-buffers-action-alist): Move risky declarations to the
18211 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18212 (font-lock-defaults, format-alist, imenu--index-alist)
18213 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18214 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18215 (mode-line-modified, mode-line-mule-info, mode-line-position)
18216 (mode-line-process, mode-line-remote, outline-level)
18217 (parse-time-rules, rmail-output-file-alist)
18218 (special-display-buffer-names, vc-mode):
18219 Move risky declarations to the relevant files.
18220 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18221 (mode-line-modified, mode-line-process, mode-line-position)
18222 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18223 * font-core.el (font-lock-defaults):
18224 * format.el (format-alist):
18225 * vc-hooks.el (vc-mode):
18226 * window.el (special-display-buffer-names):
18227 * international/mule-cmds.el (input-method-alist):
18228 Define riskiness here (dumped file) rather than in files.el.
18229 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18230 * imenu.el (imenu-generic-expression, imenu--index-alist):
18231 * outline.el (outline-level):
18232 * time.el (display-time-string):
18233 * calendar/parse-time.el (parse-time-rules):
18234 * mail/rmailout.el (rmail-output-file-alist):
18235 Autoload riskiness here, rather than placing in files.el.
18237 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18239 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18241 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18243 * simple.el (process-file-side-effects): New defvar.
18245 * dired-aux.el (dired-show-file-type):
18246 * vc.el (vc-diff-internal):
18247 * vc-arch.el (vc-arch-diff):
18248 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18249 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18250 * vc-git.el (vc-git-registered, vc-git-working-revision)
18251 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18252 (vc-git--empty-db-p):
18253 * vc-hooks.el (vc-user-login-name):
18254 * vc-svn.el (vc-svn-registered, vc-svn-state)
18255 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18256 * progmodes/grep.el (grep-probe): Let-bind
18257 `process-file-side-effects' with nil.
18259 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18261 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18262 daemon. Replace ping by checking for running service for bluez
18263 and zeroconf. (Bug#4239)
18265 2009-08-25 Kevin Ryde <user42@zip.com.au>
18267 * net/dig.el (dig): Add autoload cookie.
18269 2009-08-25 Glenn Morris <rgm@gnu.org>
18271 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18272 load-history for absolute file-names.
18273 (byte-compile-file-form-require): Warn about use of the cl package.
18275 * format.el (format-alist): Doc fix.
18277 * play/bubbles.el (top-level): Don't require cl at run-time.
18279 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18282 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18284 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18286 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18288 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18290 * calc/calc-alg.el (math-trig-rewrite)
18291 (math-hyperbolic-trig-rewrite): New functions.
18292 (calc-simplify): Simplify trig functions when asked.
18294 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18296 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18298 2009-08-24 Kenichi Handa <handa@m17n.org>
18300 * language/ind-util.el (mapthread): Delete it.
18301 (combinatorial): New function.
18302 (indian--puthash-cv): Use combinatorial instead of mapthread.
18304 2009-08-22 Kevin Ryde <user42@zip.com.au>
18306 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18307 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18308 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18309 Clarify docstring that the value is strings not symbols.
18310 (checkdoc-list-of-strings-p): New function.
18312 2009-08-22 Glenn Morris <rgm@gnu.org>
18314 * files.el (auto-mode-alist):
18315 * hippie-exp.el (he-concat-directory-file-name):
18316 * lpr.el (lpr-windows-system, printer-name):
18317 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18318 * ps-print.el (ps-windows-system):
18319 * startup.el (command-line):
18320 * emulation/viper-ex.el (viper-glob-function):
18321 * international/mule-cmds.el (set-language-environment-coding-systems):
18322 * net/ange-ftp.el (ange-ftp-write-region):
18323 * obsolete/fast-lock.el (fast-lock-cache-name):
18324 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18325 unisoft-unix, vax-vms, win32, w32.
18327 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18328 given name if the pattern is not more specific.
18330 * calendar/lunar.el (lunar-phase-names): New option.
18331 (lunar-phase): Doc fix.
18332 (lunar-cycles-per-year): New constant.
18333 (lunar-index): New function.
18334 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18335 (lunar-phase-name): Use lunar-phase-names.
18336 (calendar-lunar-phases): Use format.
18337 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18339 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18340 Copy imenu-example--name-and-position function here for own use.
18341 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18343 * bs.el (bs--redisplay):
18344 * cus-edit.el (custom-redraw):
18345 * ibuffer.el (ibuffer-bury-buffer):
18346 * server.el (server-goto-line-column):
18347 * startup.el (command-line-1):
18348 * strokes.el (strokes-xpm-for-stroke):
18349 * term.el (term-display-buffer-line):
18350 * view.el (View-goto-line):
18351 * calc/calc.el (calc-do, calc-trail-buffer):
18352 * play/gamegrid.el (gamegrid-add-score-insecure):
18353 * progmodes/ada-mode.el (ada-compile-goto-error):
18354 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18355 (ebrowse-select-1st-to-9nth):
18356 * progmodes/cperl-mode.el (cperl-time-fontification):
18357 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18358 * progmodes/gud.el (gud-display-line):
18359 (idlwave-shell-display-line):
18360 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18361 * progmodes/make-mode.el (makefile-browser-toggle):
18362 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18363 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18364 * textmodes/picture.el (picture-draw-rectangle):
18365 * textmodes/reftex-index.el (reftex-index-goto-letter):
18366 (reftex-select-jump-to-previous):
18367 * textmodes/reftex-sel.el (reftex-find-start-point)
18368 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18369 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18370 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18371 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18372 * textmodes/two-column.el (2C-associated-buffer):
18373 Use forward-line rather than goto-line.
18375 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18378 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18379 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18380 (quick-check-list-to-regexp): Declare.
18382 * progmodes/make-mode.el (makefile-browser-insert-selection):
18383 Use goto-char rather than goto-line.
18385 * progmodes/prolog.el (compilation-error-regexp-alist)
18386 (compilation-forget-errors): Declare.
18388 2009-08-22 Juri Linkov <juri@jurta.org>
18390 * progmodes/grep.el (lgrep, rgrep): At the beginning
18391 set `dir' to `default-directory' unless `dir' is a non-nil
18392 readable directory. (Bug#4052)
18393 (lgrep, rgrep): Change a weird way to report an error
18394 from using `read-string' to using `error'.
18395 Instead of using interactive arguments in the function body,
18396 add new argument `confirm'.
18398 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18400 * textmodes/remember.el (remember-buffer):
18401 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18402 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18403 (icalendar-extract-ical-from-buffer):
18404 * net/newst-treeview.el (newsticker-groups-filename):
18405 * net/newst-backend.el (newsticker-cache-filename):
18406 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18407 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18408 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18409 (speedbar-buffers-line-path, speedbar-path-line)
18410 (speedbar-buffers-line-path):
18411 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18413 * epa.el (epa-display-verify-result):
18414 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18416 2009-08-21 Glenn Morris <rgm@gnu.org>
18418 * progmodes/js.el (inferior-moz-process): Fix declaration.
18420 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18422 * obsolete/rnewspost.el (news-mail-reply):
18423 Use goto-char rather than goto-line.
18425 * term/ns-win.el (ns-open-file-select-line):
18426 Use line-beginning-position rather than goto-line.
18428 * apropos.el (apropos-command):
18429 * ehelp.el (electric-helpify):
18430 * printing.el (pr-show-setup):
18431 * strokes.el (strokes-help):
18432 * tutorial.el (tutorial--describe-nonstandard-key)
18433 (tutorial--detailed-help):
18434 * woman.el (woman-mini-help, woman-display-extended-fonts):
18435 * calc/calc-help.el (calc-describe-key):
18436 * emulation/edt.el (edt-electric-helpify):
18437 * international/mule-diag.el (mule-diag):
18438 * play/yow.el (apropos-zippy):
18439 * progmodes/python.el (python-describe-symbol):
18440 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18441 * textmodes/table.el (*table--cell-describe-mode)
18442 (*table--cell-describe-bindings):
18443 Use help-print-return-message rather than the now obsolete alias.
18445 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18446 (calendar-cursor-to-visible-date):
18447 * play/5x5.el (5x5-position-cursor):
18448 * play/decipher.el (decipher):
18449 * play/gomoku.el (gomoku-goto-xy):
18450 * play/landmark.el (lm-goto-xy):
18451 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18452 (mpuz-paint-digit):
18453 Use forward-line, not goto-line.
18455 * mail/rmail.el (rmail-obsolete): Delete custom group.
18456 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18457 (rmail-remote-password, rmail-remote-password-required):
18458 Remove unneeded :set-after and :set properties.
18460 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18462 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18464 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18466 * loadup.el: Remove leftover macos code.
18468 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18469 Explicitly pass the date format to git blame so that user local
18470 so that the output format can be parsed.
18472 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18474 * net/dbus.el (top): Don't check for (getenv
18475 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18477 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18479 * log-edit.el (log-edit-strip-single-file-name): New var.
18480 (log-edit-insert-changelog): Use it. Bug#3571
18482 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18484 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18487 * help.el (help-print-return-message): Rename from
18488 print-help-return-message.
18490 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18491 cvs-mode-map parent hack.
18492 (log-view-mode): Derive from special-mode.
18494 * linum.el (linum-mode): window-size-change-functions is redundant.
18495 Adapt to new window-configuration-change-hook behavior.
18496 (linum-after-size, linum-after-config): Remove.
18498 * imenu.el (imenu-example--name-and-position)
18499 (imenu-example--lisp-extract-index-name)
18500 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18503 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18504 (inferior-prolog-mode): Use it.
18505 (inferior-prolog-load-file): Reset list of errors.
18507 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18509 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18511 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18513 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18515 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18516 is running already.
18518 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18520 * subr.el (listify-key-sequence-1): Use normal syntax since those
18521 integers are nowadays always represented by the same (positive) number
18523 (read-key-empty-map): New const.
18524 (read-key-delay): New var.
18525 (read-key): New function.
18526 (force-mode-line-update): Use with-current-buffer.
18527 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18528 (start-process-shell-command, start-file-process-shell-command):
18529 Discourage the use of command-args.
18531 2009-08-19 Glenn Morris <rgm@gnu.org>
18533 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18535 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18537 * simple.el (choose-completion-string): Don't rely on
18538 minibuffer-completing-file-name and ad-hoc checks to decide whether
18539 to continue completion or not.
18541 * minibuffer.el (minibuffer-hide-completions): New function.
18542 (completion--do-completion): Use it.
18543 (completions-annotations): New face.
18544 (completion--insert-strings): Use it.
18545 (completion-pcm--delim-wild-regex): Add docstring.
18546 (completion-pcm--string->pattern): Add support for 0-width delimiters
18547 in completion-pcm--delim-wild-regex.
18549 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18551 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18552 Remove unused var `buffer-modified-p'.
18554 * minibuffer.el (completion--do-completion): Move point for the #b001
18555 case as well (bug#4176).
18556 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18558 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18560 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18561 and :session buses.
18563 2009-08-18 Kenichi Handa <handa@m17n.org>
18565 * international/ucs-normalize.el (ucs-normalize-version):
18567 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18568 (utf-8-hfs): Make it perform normalization on encoding too.
18570 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18571 (sentence-end-without-space): Delete duplicated chars.
18572 (sentence-end-base): Likewise.
18574 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18575 (html-mode): Delete duplicated chars from sentence-end-base.
18577 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18578 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18580 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18582 * files.el (hack-one-local-variable): If the mode function is for
18583 a minor mode, pass it an argument (Bug#4148).
18585 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18587 * net/tramp.el (tramp-register-completion-file-name-handler):
18588 Check also for (member 'partial-completion completion-styles).
18590 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18592 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18595 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18597 * progmodes/cperl-mode.el: Merge upstream 6.2.
18598 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18599 (cperl-forward-re): Check cperl-brace-recursing.
18600 (cperl-highlight-charclass): New function.
18601 (cperl-find-pods-heres): Use it.
18602 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18603 (cperl-beautify-regexp-piece): Fix column calculation.
18604 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18605 (cperl-beautify-level): Don't process entire regexp.
18606 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18608 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18609 (cperl-init-faces): Build a list in the normal way.
18611 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18613 * calendar/parse-time.el (parse-time-string-chars): Save match
18616 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18618 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18619 (sql-product): Use it.
18620 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18621 (sql-set-product): Add completion.
18622 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18623 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18624 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18625 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18626 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18627 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18628 (sql-highlight-db2-keywords): Remove.
18629 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18630 (sql-highlight-product): Use derived-mode-p.
18631 (sql-set-sqli-buffer): Use with-current-buffer.
18632 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18635 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18637 * term.el: Fix commenting convention, turn comments into docstrings.
18639 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18641 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18643 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18645 * calendar/parse-time.el (parse-time-string-chars): Compute using
18646 character classes, to handle non-ascii characters (Bug#3190).
18648 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18650 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18651 another heredoc if the user adds another < (Bug#3226).
18653 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18654 Don't initialize based on window-system (Bug#4124).
18656 * facemenu.el (facemenu-read-color): Use a completion function
18657 that accepts any defined color, such as RGB triplets (Bug#3677).
18659 * files.el (get-free-disk-space): Change fallback default
18660 directory to /. Expand DIR argument before switching to fallback.
18661 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18663 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18665 * files.el (load-library): Doc fix.
18667 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18669 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18670 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18671 incremental search string.
18673 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18676 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18677 (ediff-merge-region-is-non-clash)
18678 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18679 Also check if the job is really a merge job.
18681 * ediff.el (ediff-current-file): New function.
18683 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18685 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18687 (js-insert-and-indent): Delete function.
18688 (js-mode-map): Don't bind keys to js-insert-and-indent.
18689 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18690 (js-end-of-defun): Rename from js--end-of-defun.
18691 (js-auto-indent-flag): Delete variable.
18693 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18695 * progmodes/js.el: Remove proclaim statement.
18696 Defvar which-func-imenu-joiner-function to silence compiler.
18698 * files.el (auto-mode-alist): Use js-mode for .js files.
18700 * progmodes/js2-mode.el: Remove file.
18702 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18704 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18706 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18708 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18709 Karl Landstrom <karl.landstrom@brgeight.se>
18711 * progmodes/js.el: New file.
18713 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18715 * timezone.el (timezone-parse-date): Add ability to understand ISO
18716 basic format (minimal separators) dates in addition to the
18717 already-supported extended format dates.
18719 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18721 * international/ucs-normalize.el: Add a `coding' file variable.
18723 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18725 2009-08-14 Sam Steingold <sds@gnu.org>
18727 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18729 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18731 * faces.el (help-argument-name): Define it here instead of
18732 help-fns.el, because in daemon mode help-fns.el may be loaded when
18733 faces are still uninitialized (Bug#1078).
18735 * help-fns.el (help-argument-name): Move defface to faces.el.
18737 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18739 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18740 create buffer with a pty but no process so that GDB can make the
18741 inferior the controlling process.
18743 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18745 * international/ucs-normalize.el: New file.
18747 2009-08-13 Richard Stallman <rms@gnu.org>
18749 * mail/rmail.el (rmail-get-attr-names):
18750 Accept an attribute header that is too short.
18752 * mail/rmail.el (rmail-forget-messages):
18753 Ignore nil elt in rmail-message-vector. Use dotimes.
18755 * progmodes/compile.el (compilation-goto-locus):
18756 Use next-error-move-function.
18758 * simple.el (next-error-move-function): New variable.
18760 2009-08-12 Juri Linkov <juri@jurta.org>
18762 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18763 always non-nil. (Bug#4052)
18765 * replace.el (read-regexp): Return empty string when
18766 `default-value' is nil.
18767 (keep-lines-read-args): Don't use empty string as the
18768 default value for `read-regexp'. (Bug#2495)
18770 2009-08-12 Juri Linkov <juri@jurta.org>
18772 * international/mule-cmds.el (ucs-insert): Change arguments
18773 from `arg' to `character', `count', `inherit' to be the same
18774 as in `insert-char'. Doc fix. (Bug#4039)
18776 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18778 2009-08-12 Juri Linkov <juri@jurta.org>
18780 * files-x.el: New file.
18782 * files.el: Move code that deals with adding/deleting
18783 file/directory-local variables to files-x.el.
18785 * Makefile.in (ELCFILES): Add files-x.elc.
18787 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18789 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18790 to use `goto-line'.
18791 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18793 (gdb-invalidate-disassembly): Do not refresh upon receiving
18794 'update signal. Instead, update all disassembly buffers only after
18796 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18797 (gdb-starting): Move -data-list-register-names...
18798 (gdb-stopped): ...here so it's sent when first thread stops.
18799 (gdb-registers-handler-custom): Do nothing if register names are
18802 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18803 from `gdb-mi.el' to avoid extra tangling.
18805 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18806 change which breaks `gud-def' definitions used in `gdb'.
18807 (gdb-update-gud-running): No extra fuss for updating frame number.
18809 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18811 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18812 (describe-language-environment-map, setup-language-environment-map)
18813 (set-coding-system-map): Move initialization into declaration.
18814 (set-language-info-alist): Last arg to define-key-after can be skipped.
18816 * international/quail.el (quail-completion-1): Simplify.
18817 (quail-define-rules): Use slightly more compact code.
18818 (quail-insert-decode-map): Propertize keys, compact columns.
18820 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18823 2009-08-10 Miles Bader <miles@gnu.org>
18825 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18826 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18827 (js2-instance-member, js2-private-member, js2-private-function-call)
18828 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18829 (js2-magic-paren, js2-external-variable):
18830 Remove "-face" suffix from face names.
18831 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18832 (js2-highlight-undeclared-vars, js2-peek-token)
18833 (js2-parse-function-params, js2-mode-show-errors)
18834 (js2-mode-show-warnings, js2-make-magic-delimiter)
18835 (js2-mode-highlight-magic-parens): Update to use new face names.
18837 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18839 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18840 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18842 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18844 * subr.el: Provide hashtable-print-readable.
18846 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18847 hs-c-like-adjust-block-beginning.
18848 (hs-hide-block-at-point): Stop hiding at the beginning of
18849 hs-block-end-regexp (Bug#700).
18851 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18853 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18855 (gdb-registers-handler-custom): Do not fail when register names
18858 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18860 * progmodes/gdb-mi.el (gdb-control-all-threads)
18861 (gdb-control-current-thread): Interactive setters for
18862 `gdb-gud-control-all-threads' to use in menu.
18863 (gdb-show-run-p): Show «Go» when process is not active.
18864 (gud-tool-bar-map): Add non-stop/A,T indicator.
18865 Uses gud/thread.xpm and gud/all.xpm.
18867 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18869 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18870 (nslookup-font-lock-keywords): Make it a variable.
18871 (net-utils-mode): New mode for viewing diagnostic network output.
18872 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18873 (net-utils-run-simple): New function.
18874 (ifconfig, iwconfig, netstat, arp, route): Use it.
18876 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18878 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18879 (gdb-memory-set-address, def-gdb-set-positive-number)
18880 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18881 after changing settings.
18882 (gdb-invalidate-disassembly): Update when first shown.
18883 (gdb-edit-locals-value): Fixed.
18884 (gdb-registers-handler-custom): Print registers in right order and
18885 allow changing register values (only for current thread yet).
18886 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18887 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18888 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18889 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18890 Thread info in mode name.
18891 (gdb-registers-mode-map): TAB to switch to locals.
18893 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18895 * mail/rmail.el (rmail-add-mbox-headers)
18896 (rmail-set-message-counters-counter): Search for
18897 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18899 2009-08-08 Glenn Morris <rgm@gnu.org>
18901 * Makefile.in (ELCFILES): Update.
18903 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18905 * mail/sendmail.el (mail-yank-original):
18906 Set buffer-file-coding-system from the one used by the message whose
18909 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18910 to "windows" when "pgnuplot" is used.
18911 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18912 Don't call accept-process-output if "pgnuplot" is used.
18913 (calc-graph-init): Don't send -display and -geometry to
18914 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18915 running "pgnuplot -V" with shell-command-to-string.
18917 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18920 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18922 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18925 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18927 * vc-dispatcher.el (vc-resynch-window): Update comment.
18929 * term.el (term-handle-ansi-escape): Add comments with the
18930 terminfo capabilities implemented.
18932 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18934 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18935 (gdb-var-create-handler): Rewritten using JSON parser.
18936 (gdb-propertize-header): Move earlier.
18937 (gdb-set-header): Remove to avoid duplication.
18938 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18939 Refresh disassembly buffers only after threads list have been
18941 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18944 2009-08-04 Juri Linkov <juri@jurta.org>
18946 * files.el: Commands to add/delete file/directory-local variables.
18947 (read-file-local-variable, read-file-local-variable-value)
18948 (read-file-local-variable-mode, modify-file-local-variable)
18949 (modify-file-local-variable-prop-line)
18950 (modify-dir-local-variable): New functions.
18951 (add-file-local-variable, delete-file-local-variable)
18952 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18953 (add-dir-local-variable, delete-dir-local-variable)
18954 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18955 (copy-dir-locals-to-file-locals-prop-line): New commands.
18957 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18959 * abbrev.el (insert-abbrev-table-description): Prettify output.
18960 Suggested by Karl Chen.
18962 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18964 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18965 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18966 (gdb-overlay-arrow-position, gdb-thread-position)
18967 (gdb-disassembly-position): Declare variables.
18968 (gdb-wait-for-pending): Function now.
18969 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18970 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18971 compilation goes smoothly.
18972 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18973 (gdb-non-stop-setting): New customization setting which replaces
18974 `gdb-non-stop' so changing it doesn't break active GDB session.
18975 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18976 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18977 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18978 (gdb-show-threads-by-default): New customization options.
18979 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18981 (gdb-get-buffer-create): Send buffers update signal when they are
18983 (gdb-invalidate-locals, gdb-invalidate-registers)
18984 (gdb-invalidate-breakpoints)
18985 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18986 (gdb-invalidate-memory): Accept update signal.
18987 (gdb-current-context-command): Use --frame option.
18988 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18989 Implement `gdb-frame-number' selection logic.
18990 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18991 whether to show GUD toolbar buttons.
18992 (gdb-thread-exited): Unselect current thread when it exits.
18993 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18994 (gdb-mark-line): Routine which sets overlay arrow or inverses
18995 video on fringeless displays.
18996 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18997 to build aligned columns of data in GDB buffers and set text
18998 properties line-by-line.
18999 (gdb-invalidate-breakpoints)
19000 (gdb-breakpoints-list-handler-custom)
19001 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19002 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19003 (gdb-registers-handler-custom): Align data columns.
19004 (gdb-locals-handler-custom): Now prints data like in variable
19006 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19007 Remove confusing buttons.
19008 (gdb-invalidate-threads): Append --frame.
19009 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19010 between breakpoints/threads buffers.
19011 (gdb-set-window-buffer): Now can ignore dedicated windows.
19012 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19013 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19014 (def-gdb-thread-buffer-gud-command): Replaces
19015 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19016 for fine thread control.
19017 (gdb-preempt-existing-or-display-buffer): New function used to
19018 display bound buffers without breaking window layout.
19019 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19020 (gdb-select-frame): New version of `gdb-frames-select' which now
19021 sets `gdb-frame-number' so commands may use --frame option instead
19022 of inner debugger state.
19023 (gdb-frame-handler): Do not set `gdb-frame-number'.
19024 (gdb-threads-mode-map): Select threads with mouse.
19026 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19027 avoid compilation warning.
19028 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19031 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19032 Argument `key' renamed to `buffer-type'.
19033 (gdb-current-context-buffer-name): Do not add thread info to
19034 buffer name when no thread is selected.
19035 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19036 command (bug 3794).
19037 (gdb-thread-selected): Handle `=thread-selected' notification.
19038 (gdb-wait-for-pending): New macro to deal with congestion problems.
19039 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19041 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19042 This fixes problem similar to one described in bug 3947.
19043 (gud-menu-map): More menu items.
19044 (gdb-init-1): Reset `gdb-thread-number' to nil.
19046 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19049 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19050 (gdb-current-context-command): Do not append --thread if
19051 `gdb-thread-number' is nil.
19052 (gdb-running-threads-count, gdb-stopped-threads-count):
19054 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19055 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19056 New customization options.
19057 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19059 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19060 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19061 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19062 set `gdb-thread-number' and update `gud-running' properly.
19063 (gdb-running): Update threads list when new threads appear.
19064 (gdb-stopped): Support non-stop operation and new thread switching
19066 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19067 (gdb-json-partial-output): New set of JSON routines.
19068 (def-gdb-auto-update-trigger): New `signal-list' optional
19070 (gdb-thread-list-handler-custom): Update `gud-running',
19071 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19072 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19073 (gdb-continue-thread, gdb-step-thread): New commands for fine
19074 thread execution control.
19075 (gud-menu-map): New menu items to switch non-stop options.
19076 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19077 (gdb-send): Mimic RET properly (bug 3794).
19079 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19080 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19082 (def-gdb-auto-update-handler): New nopreserve optional argument.
19083 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19085 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19086 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19087 (gdb-parent-mode): New mode to derive other GDB modes from.
19088 (gdb-display-disassembly-for-thread)
19089 (gdb-frame-disassembly-for-thread): New commands for threads
19092 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19093 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19094 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19095 (gdb-update): We now store all GDB buffers in a list so that they
19096 can be updated by traversing a list instead of calling invalidate
19097 triggers explicitly.
19098 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19099 pair for GDB buffer.
19100 (gdb-stack-buffer-name): Add thread information.
19101 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19102 handle pending triggers.
19103 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19104 (def-gdb-thread-buffer-simple-command)
19105 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19106 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19107 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19108 New commands which show buffers bound to thread.
19109 (gdb-stack-list-locals-regexp): Remove unused regexp.
19111 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19112 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19113 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19114 to (gud-comint-buffer) in *-buffer-name functions
19115 because (gdb-get-target-string) already does that.
19116 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19117 (gdb-changed-registers-handler): Rewritten without regexps.
19119 * progmodes/gdb-mi.el: Basic thread selection support.
19120 (gdb-thread-number): New variable.
19121 (gdb-current-context-command): New macro which adds --thread
19123 (gdb-threads-mode-map): Select thread with SPC.
19124 (gdb-thread-list-handler-custom): Mark current thread with overlay
19125 arrow. Synchronize GDB thread and Emacs thread.
19126 (gdb-select-thread): New command which selects current thread.
19127 (gdb-invalidate-frames, gdb-invalidate-locals)
19128 (gdb-invalidate-registers): Use --thread option.
19130 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19132 * net/tramp.el (top): Make check for tramp-gvfs loading more
19134 (tramp-handle-insert-file-contents): `unwind-protect' must be
19135 inside `with-parsed-tramp-file-name'.
19137 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19140 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19142 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19143 directory if CLASSPATH is not set.
19145 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19147 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19149 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19151 2009-08-02 Kevin Ryde <user42@zip.com.au>
19153 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19154 Update freshmeat link. Delete newsforge.com as it seems gone.
19156 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19158 * select.el (x-set-selection): Doc fix (Bug#4021).
19160 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19162 * help-fns.el (describe-variable): Treat list return values from
19163 dir-locals-find-file properly (Bug#4005).
19165 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19167 * net/tramp.el (tramp-debug-message): Print also microseconds.
19169 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19171 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19173 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19174 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19177 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19178 (tramp-get-file-property): Use it.
19180 * autorevert.el (auto-revert-handler):
19181 Allow `auto-revert-tail-mode' for remote files.
19183 2009-08-02 Jason Rumney <jasonr@gnu.org>
19185 * minibuffer.el (read-file-name): Treat confirm options to
19186 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19188 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19190 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19191 (font-lock-variable-name-face, font-lock-constant-face):
19192 Darken the colors for light backgrounds.
19194 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19196 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19197 month names. (Bug#3987)
19199 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19201 * simple.el (line-move-finish): Pass whole number to
19202 line-move-to-column.
19203 (line-move-visual): Perform hscroll to the recorded position.
19205 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19207 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19209 2009-07-29 Alan Mackenzie <acm@muc.de>
19211 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19213 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19215 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19216 (gdb-place-breakpoints): Use full path when setting breakpoints.
19218 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19220 * calc/calc.el (calc-mode-map): Add keybinding for
19221 `calc-transpose-lines'.
19223 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19225 * calc/calc-misc.el (calc-transpose-lines): New function.
19227 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19229 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19230 Simplify check for out-of-band methods.
19231 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19232 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19234 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19236 * vc-git.el (vc-git-checkin): Fix typo.
19238 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19240 * progmodes/js2-mode.el: New file.
19242 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19244 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19245 (gud-menu-map): Adjust tooltip accordingly.
19247 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19249 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19250 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19252 * add-log.el (change-log-mode-map): Add a menu.
19254 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19256 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19257 function returns nil.
19258 (dbus-handle-event): Handle special return value :ignore.
19259 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19261 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19263 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19266 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19270 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19272 * term/pc-win.el (x-display-name, x-colors)
19273 (x-select-enable-clipboard, x-select-text): Doc fix.
19275 * term/common-win.el (x-display-name, x-colors): Doc fix.
19277 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19278 (xw-defined-colors): Doc fix.
19280 * w32-fns.el (x-select-text, x-setup-function-keys)
19281 (x-get-selection, x-set-selection): Doc fix.
19283 * term/x-win.el (x-select-text, x-setup-function-keys)
19284 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19286 * select.el (x-set-selection): Doc fix.
19288 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19290 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19291 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19292 "IsNSSSupportAvailable" method is not available.
19293 Reported by Steve Youngs <steve@sxemacs.org>.
19295 2009-07-24 Kenichi Handa <handa@m17n.org>
19297 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19298 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19299 (build-unicode-category-table): Fix range checks.
19301 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19303 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19304 the buffer we try to sync is current when calling
19307 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19308 not show up to date files.
19310 2009-07-24 Glenn Morris <rgm@gnu.org>
19312 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19313 Add autoload cookies. If necessary, initialize.
19314 (elint-log): Handle non-file buffers.
19315 (elint-initialize): Add optional argument to reinitialize.
19316 (elint-find-builtin-variables): Save excursion.
19318 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19323 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19325 * vc.el (vc-print-log-internal): New function, split out from ...
19326 (vc-print-log): ... here.
19327 (vc-dir-move-to-goal-column): Declare.
19329 * vc-git.el (vc-git-add-signoff): New variable.
19330 (vc-git-checkin): Use it.
19331 (vc-git-toggle-signoff): New function.
19332 (vc-git-extra-menu-map): Bind it to menu.
19333 (vc-git--run-command-string): Accept a nil FILE argument.
19334 (vc-git-stash-list): New function.
19335 (vc-git-dir-extra-headers): Use it.
19337 2009-07-23 Glenn Morris <rgm@gnu.org>
19339 * help-fns.el (describe-variable): Describe ignored and risky local
19340 variables in a similar way to that in which we describe safe ones.
19342 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19343 (byte-compile-output-file-form, byte-compile-output-docform)
19344 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19345 Give some more local variables with common names a "bytecomp-" prefix,
19346 so as not to shadow things during compilation.
19347 * emacs-lisp/cl-macs.el (load-time-value)
19348 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19349 `outbuffer' to `bytecomp-outbuffer'.
19351 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19352 since the next two variables cover them automatically now.
19353 (elint-builtin-variables, elint-autoloaded-variables): New.
19354 (elint-unknown-builtin-args): Remove all members, since they can be
19355 parsed automatically now.
19356 (elint-extra-errors): New.
19357 (elint-env-add-env, elint-env-add-macro): Use cadr.
19358 (elint-current-buffer): Use or. Change final message.
19359 (elint-get-top-forms): Use line-end-position.
19360 (elint-init-env): Use cadr. Handle autoload, declare-function,
19362 (elint-add-required-env): Doc fix. Use or. Standardize error.
19363 (regexp-assoc): Remove unused function.
19364 (elint-top-form): Set elint-current-pos, to record the start of the
19365 top-level form, for compilation-mode.
19366 (elint-form): Trap errors in macro expansion. Use dolist.
19367 (elint-unbound-variable): Use elint-builtin-variables and
19368 elint-autoloaded-variables.
19369 (elint-get-args): Use cadr, or.
19370 (elint-check-cond-form): Use dolist, cadr.
19371 (elint-check-condition-case-form): Doc fix. Use cadr.
19372 Use elint-extra-errors.
19373 (elint-log): New function.
19374 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19375 Distinguish errors and warnings.
19376 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19377 Use a bytecomp-style format.
19378 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19379 (elint-get-log-buffer): Use compilation mode. Disable undo.
19380 Don't truncate lines.
19381 (elint-initialize): Set builtin and autoloaded variable lists.
19382 Only process elint-unknown-builtin-args if non-nil.
19383 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19385 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19387 2009-07-22 Kevin Ryde <user42@zip.com.au>
19389 * net/newst-backend.el (newsticker--parse-atom-1.0)
19390 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19391 (newsticker--parse-rss-1.0):
19392 * progmodes/idlwave.el (idlwave-mode):
19393 * progmodes/idlw-shell.el (idlwave-shell-mode):
19394 * progmodes/vera-mode.el (vera-mode):
19395 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19396 * progmodes/vhdl-mode.el (vhdl-mode):
19397 * textmodes/table.el (table-generate-source)
19398 (table--warn-incompatibility):
19399 Hyperlink urls in docstrings with URL `...'.
19401 2009-07-22 Glenn Morris <rgm@gnu.org>
19403 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19404 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19405 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19406 Remove leading * from defcustom docs.
19408 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19410 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19412 (list-load-path-shadows): Optionally, just return shadows as a string.
19414 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19416 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19418 * mail/rmailedit.el (rmail-edit-mode):
19419 Use auto-save-include-big-deletions.
19421 * mail/rmail.el (rmail-variables):
19422 Use auto-save-include-big-deletions.
19424 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19427 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19429 * calc/calc.el (calc-undo-length): New variable.
19430 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19432 2009-07-21 Richard Stallman <rms@gnu.org>
19434 * files.el (auto-save-mode): Handle buffer-save-size = -2
19437 2009-07-21 Glenn Morris <rgm@gnu.org>
19439 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19441 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19443 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19444 silence compiler. Instead...
19445 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19446 (ps-print-ensure-fontified): Update for above function name changes.
19448 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19449 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19450 silence compiler. Instead...
19451 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19452 (mh-show-buffer): Only define for compiler.
19453 (pr-mh-current-message): Update for above function name changes.
19455 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19457 (find-file-noselect, insert-file-1): Update for above change.
19459 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19461 * mail/mailclient.el (mailclient-send-it): Fix message.
19463 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19464 (edebug-eval): Check cl-debug-env is bound.
19465 (print-level, print-circle): Don't redefine built-in variables.
19467 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19468 (custom-print-vectors): Remove old comments from doc.
19470 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19471 (emerge-version): Make the variable an obsolete alias for the
19472 emacs-version variable. Make the function obsolete.
19473 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19474 Emerge options, rather than merging in into the main Options menu.
19475 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19476 and auto advance modes. Disable edit/fast items when not relevant.
19478 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19480 * term/vt420.el (terminal-init-vt420): Fix typo.
19482 2009-07-20 Sam Steingold <sds@gnu.org>
19484 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19485 variable (removed from compile.el on 2004-03-11).
19487 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19489 * files.el (hack-local-variables-filter): Fix last change.
19491 2009-07-19 Juri Linkov <juri@jurta.org>
19493 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19494 (dir-local-variables-alist): New buffer-local variable.
19495 (hack-local-variables-filter): If variable is not dir-local,
19496 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19497 because file-local overrides dir-local.
19498 (c-postprocess-file-styles) <declare-function>:
19499 Remove obsolete declaration.
19500 (hack-dir-local-variables): Add dir-local variable/value pair to
19501 `dir-local-variables-alist' and remove duplicates. Doc fix.
19503 * help-fns.el (describe-variable): Add information about
19504 file-local and dir-local variables.
19506 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19508 * files.el (hack-local-variables-filter): Rewrite.
19510 2009-07-19 Glenn Morris <rgm@gnu.org>
19512 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19513 Silence compiler by only defining on XEmacs.
19515 * international/mule.el (auto-coding-regexp-alist): Only match
19516 BABYL... at the start of buffer, not of lines. (Bug#3790)
19518 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19519 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19520 (cal-menu-context-mouse-menu): Doc fix.
19522 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19524 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19526 2009-07-18 Juri Linkov <juri@jurta.org>
19528 * info.el: Virtual Info keyword finder.
19529 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19530 (Info-finder-file): New variable.
19531 (Info-finder-find-file): New function.
19532 (finder-known-keywords, finder-package-info)
19533 (find-library-name, lm-commentary): Use defvar and
19534 declare-function to silence compiler warnings.
19535 (Info-finder-find-node): New function.
19536 (info-finder): New command.
19538 * subr.el (process-kill-buffer-query-function): New function.
19539 (add-hook)<kill-buffer-query-functions>: Add hook
19540 `process-kill-buffer-query-function'.
19542 2009-07-18 Alan Mackenzie <acm@muc.de>
19544 * progmodes/cc-mode.el (c-before-hack-hook)
19545 (c-postprocess-file-styles): Give invocation of `c-set-style'
19546 DONT-OVERRIDE parameter of t. Already set style variables will
19547 thus not be overridden by style settings given by `c-file-syle'.
19549 * files.el (hack-local-variables-filter): Remove entries with
19550 duplicate keys from `file-local-variables-alist'.
19552 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19554 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19555 x-set-selection if display-selections-p returns nil for the
19558 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19560 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19562 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19564 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19565 Accept nil in addition to a regexp.
19566 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19567 Accept nil in addition to a regexp.
19568 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19569 buffers that have an associated file. Handle nil values of
19570 desktop-buffers-not-to-save and desktop-files-not-to-save.
19573 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19574 (x-disown-selection-internal): New functions.
19576 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19578 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19580 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19581 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19583 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19585 * simple.el (set-mark): Revert last change.
19587 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19589 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19590 rendering of pngs is not possible instead of messaging a long
19593 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19595 * w32-fns.el (x-selection-owner-p): New function.
19597 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19598 (mouse-yank-at-click, mouse-yank-primary):
19599 If select-active-regions is non-nil, deactivate the mark before
19602 * simple.el (deactivate-mark, set-mark): Only save selection if we
19605 2009-07-17 Kenichi Handa <handa@m17n.org>
19607 * case-table.el (describe-buffer-case-table): Fix for the case
19608 that KEY is a cons.
19610 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19612 * vc-rcs.el (vc-rcs-find-file-hook):
19613 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19615 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19617 * net/tramp.el (tramp-wait-for-output): Handle the case when
19618 commands do not return a newline but a null byte before the shell
19621 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19623 * term/ns-win.el (ns-set-alpha): Don't declare.
19624 (ns-set-background-alpha): Remove function.
19626 2009-07-16 Kevin Ryde <user42@zip.com.au>
19628 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19629 y-or-n-p, for safety.
19631 2009-07-16 Richard Stallman <rms@gnu.org>
19633 * files.el (auto-save-mode): If buffer-saved-size is -2,
19636 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19637 (rmail-retry-ignored-headers): Add more uninteresting fields.
19639 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19641 * net/rcirc.el (rcirc): Use history variables.
19642 (rcirc-server-name-history, rcirc-nick-name-history)
19643 (rcirc-server-port-history): New variables.
19645 2009-07-15 Kenichi Handa <handa@m17n.org>
19647 * international/mule-cmds.el (set-language-environment-charset):
19648 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19651 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19652 Delete unibyte-display.
19654 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19656 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19658 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19660 * simple.el (deactivate-mark): Optional argument FORCE.
19661 (set-mark): Use deactivate-mark.
19663 * info.el (Info-search): No need to check transient-mark-mode
19664 before calling deactivate-mark.
19666 * select.el (x-set-selection): Doc fix.
19667 (x-valid-simple-selection-p): Allow buffer values.
19668 (xselect--selection-bounds): Handle buffer values.
19669 Suggested by David De La Harpe Golden.
19671 * mouse.el (mouse-set-region, mouse-drag-track):
19672 Call copy-region-as-kill before setting the mark, to let
19673 select-active-regions work.
19675 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19677 * simple.el (deactivate-mark): If select-active-regions is
19678 non-nil, copy the selection data into a string.
19679 (activate-mark): If select-active-regions is non-nil, set the
19680 selection to the current buffer.
19681 (set-mark): Update selection if select-active-regions is non-nil.
19683 * select.el (x-valid-simple-selection-p): Allow buffer values.
19685 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19687 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19688 and more featureful message-mode.
19690 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19692 * select.el (x-set-selection): Doc fix.
19693 (x-valid-simple-selection-p): Disallow selection data consisting
19694 of a list or cons of integers, since that is not used.
19695 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19696 (xselect-convert-to-string, xselect-convert-to-length)
19697 (xselect-convert-to-filename, xselect-convert-to-charpos)
19698 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19700 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19702 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19703 output in -break-info command (Emacs bug #3794).
19705 2009-07-14 Glenn Morris <rgm@gnu.org>
19707 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19708 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19709 (edebug-print-length, edebug-print-level, edebug-print-circle)
19710 (edebug-sit-for-seconds, edebug-view-outside)
19711 (edebug-bounce-point, edebug-set-global-break-condition)
19712 (edebug-Go-nonstop-mode, edebug-trace-mode)
19713 (edebug-Trace-fast-mode, edebug-continue-mode)
19714 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19715 (edebug-visit-eval-list): Doc fixes.
19717 * subr.el (def-edebug-spec): Doc fix.
19719 2009-07-14 Kenichi Handa <handa@m17n.org>
19721 * international/characters.el: Fix setting of category ?C.
19723 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19725 * term/ns-win.el (x-select-font): defalias x-select-font to
19726 ns-popup-font-panel instead of generate-fontset-menu.
19728 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19730 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19732 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19734 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19735 the PK\003\004 header (Bug#3770).
19737 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19739 * pcomplete.el (pcomplete-comint-setup): Check for
19740 shell-dynamic-complete-filename too.
19742 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19744 * simple.el (temporary-goal-column): Change the value for
19745 line-move-visual to a cons cell.
19746 (line-move-visual): Record or set the window hscroll, if
19747 necessary (Bug#3494).
19748 (line-move-1): Handle cons value of temporary-goal-column.
19750 2009-07-11 Kenichi Handa <handa@m17n.org>
19752 * international/mule-diag.el (describe-character-set): Don't show
19755 2009-07-10 Sam Steingold <sds@gnu.org>
19757 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19758 Omake sometimes indents the errors it prints, so allow all
19759 regexps to start with spaces.
19761 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19763 * cus-edit.el (customize-changed-options-previous-release):
19764 Bump value to 22.1. (Bug#3804)
19766 2009-07-08 Sam Steingold <sds@gnu.org>
19768 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19769 to be a cons cell (test . ignored-directory) to selectively ignore
19770 some directories depending on the location of the search.
19772 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19774 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19775 remote user is root, on the local host.
19776 (tramp-local-host-p): Either the local user or the remote user
19777 must be root. (Bug#3771)
19779 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19781 * progmodes/gdb-mi.el (gdb): Remove description of
19782 gdb-use-separate-io-buffer.
19783 (menu): Don't allow toggling of or enable
19784 gdb-use-separate-io-buffer from menubar.
19786 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19788 * mail/unrmail.el (unrmail): Make sure the message ends with two
19789 newlines (Bug#3769).
19791 2009-07-08 Glenn Morris <rgm@gnu.org>
19793 * calendar/calendar.el (calendar-current-date): Rework previous change.
19795 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19797 * calendar/calendar.el (calendar-current-date):
19798 Add an optional argument giving an offset from today.
19800 2009-07-08 Glenn Morris <rgm@gnu.org>
19802 * tutorial.el (tutorial--describe-nonstandard-key):
19803 Adjust the message for when a key has been unbound.
19804 (help-with-tutorial): Hide the arch-tag.
19806 2009-07-08 Kenichi Handa <handa@m17n.org>
19808 * international/fontset.el (setup-default-fontset): For each
19809 script, append (not set) font-specs.
19811 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19814 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19816 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19817 -data-list-register-names to ...
19818 (gdb-starting): ... here because GDB 7.0 requires execution to
19819 have started when using this MI command.
19820 (gdb-set-header): New function to distinguish select and
19821 unselected tabs in gdb buffers.
19822 (gdb-propertize-header): New macro that uses gdb-set-header.
19823 (gdb-breakpoints-header, gdb-locals-header): Use it.
19824 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19826 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19828 * Makefile.in (ELCFILES): Remove fadr.elc.
19830 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19832 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19833 may contain frame information, so `string-match' should be used.
19834 (gdb-update): Disassembly is invalidated through
19835 `gdb-get-selected-frame'.
19836 (gdb-pad-string): New function to pad string with spaces.
19837 (gdb-invalidate-disassembly): Invalidate only if the buffer
19839 (gdb-disassembly-handler-custom): Column alignment.
19840 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19842 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19844 (gdb-frame-handler): Match convention to for disassembly buffer
19846 (gdb-stack-list-frames-handler): Rewritten without regexps.
19847 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19848 not highlight breakpoints without line information.
19849 (gdb-input): Add trailing newline to command.
19851 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19853 (gdb-breakpoints-list-handler-custom): Replacement for
19854 `gdb-break-list-handler'. Using real parser instead of regexps
19856 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19857 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19858 to place breakpoints.
19859 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19861 (gdb-disassembly-handler-custom): Show overlay arrow.
19862 (gdb-disassembly-place-breakpoints): Show breakpoints in
19863 disassembly buffer.
19864 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19865 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19866 instead of parsing breakpoints buffer. Fixed old menu references
19871 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19872 (gdb-memory-address): New variable which holds top address of
19873 memory page shown in memory buffer.
19874 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19875 New customization variables.
19877 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19878 display the memory buffer.
19879 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19880 buffer display parameters.
19881 (def-gdb-memory-format, gdb-memory-format-binary)
19882 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19883 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19884 Functions for setting memory buffer format.
19885 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19886 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19887 unit size used in memory buffer.
19888 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19889 Switch to next/previous page of memory buffer.
19890 Now using (bindat-get-field) instead of fadr functions.
19892 2009-07-07 Sam Steingold <sds@gnu.org>
19894 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19895 non-top-level files.
19897 2009-07-07 Kenichi Handa <handa@m17n.org>
19899 * international/mule-cmds.el (reset-language-environment):
19900 Put the highset priority to the charset iso-8859-1.
19902 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19904 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19905 to the end of the line when locating the block (Bug#700).
19907 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19909 * net/tramp.el (tramp-handle-write-region): Flush file properties
19910 in case of short track.
19912 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19914 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19915 Coded custom representation of verilog error regular expressions
19916 to work with Emacs-22's new format.
19917 (verilog-error-regexp-xemacs-alist): Coded custom representation
19918 of verilog error regular expressions to work with XEmacs format.
19919 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19920 error recognition into XEmacs.
19921 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19922 error recognition into Emacs-22.
19924 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19926 * woman.el: Remove stand-alone closing parentheses.
19927 (woman-file-name, woman2-format-paragraphs)
19928 (woman-leave-blank-lines): Code cleanup.
19929 (woman-use-own-frame): Change default to nil.
19930 (woman-italic, woman-bold, woman-unknown, woman-addition):
19931 Change defaults to inherit from default faces.
19932 (woman2-process-escapes): Consume the newline after a stand-alone
19933 filler character (Bug#3651).
19935 2009-07-06 Glenn Morris <rgm@gnu.org>
19937 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19938 (top-level): Move provide to the end.
19939 (ffap): Remove defunct URL from custom group.
19941 * subr.el (eval-after-load): Doc fix.
19943 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19945 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19946 `calc-embedded-word' is called twice.
19948 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19950 * files.el (find-alternate-file-other-window, find-alternate-file):
19951 Obey confirm-nonexistent-file-or-buffer.
19953 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19955 * dired-aux.el (dired-show-file-type): Handle remote files.
19957 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19959 * desktop.el (desktop-globals-to-save):
19960 Add file-name-history (Bug#2750).
19962 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19964 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19966 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19968 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19969 property on entire argument since this is what eshell-lisp-command
19972 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19974 * net/tramp-gvfs.el (tramp-gvfs-methods)
19975 (tramp-gvfs-zeroconf-domain)
19976 (tramp-bluez-discover-devices-timeout): Add version flag.
19977 (tramp-gvfs-handler-mounted-unmounted)
19978 (tramp-gvfs-connection-mounted-p): Polish handling of
19979 incompatibilities between GVFS 0.2 and 1.0.
19981 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19983 * cus-start.el (all): Add make-pointer-invisible.
19985 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19987 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19988 formatted correctly.
19990 2009-07-02 Juri Linkov <juri@jurta.org>
19992 * info.el: Virtual Info files and nodes.
19993 (Info-virtual-files, Info-virtual-nodes): New variables.
19994 (Info-current-node-virtual): New variable.
19995 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19997 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19998 to check for a virtual file instead of checking a fixed list
20000 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20001 instead of ad-hoc processing of "dir" and (apropos history toc).
20002 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20003 instead of ad-hoc processing of "dir" and (apropos history toc).
20004 Reread a file when moving from a virtual node.
20005 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20006 (Info-directory-toc-nodes, Info-directory-find-file)
20007 (Info-directory-find-node): New functions.
20008 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20009 (Info-history): Move part of code to
20010 `Info-history-find-node'.
20011 (Info-history-toc-nodes, Info-history-find-file)
20012 (Info-history-find-node): New functions.
20013 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20014 (Info-toc): Move part of code to `Info-toc-find-node'.
20015 (Info-toc-find-node): New function.
20016 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20017 the current Info file name to references because now the node
20018 "*TOC*" belongs to the same Info manual.
20019 (Info-toc-build): Rename from `Info-build-toc'.
20020 (Info-toc-nodes): Rename input argument `file' to `filename'.
20021 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20022 instead of ad-hoc processing of ("dir" apropos history toc).
20023 (Info-index-nodes): Use Info-virtual-file-p
20024 to check for a virtual file instead of checking a fixed list
20026 (Info-index-node): Add check for `Info-current-node-virtual'.
20027 Raise `save-match-data' higher up the tree to contain
20028 `search-forward' too (bug fix).
20029 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20030 (Info-virtual-index-nodes): New variable.
20031 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20032 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20033 (Info-apropos-file, Info-apropos-nodes): New variables.
20034 (Info-apropos-toc-nodes, Info-apropos-find-file)
20035 (Info-apropos-find-node, Info-apropos-matches): New functions.
20036 (info-apropos): Move part of code to `Info-apropos-find-node' and
20037 `Info-apropos-matches'.
20038 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20039 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20040 for a virtual file instead of checking a fixed list of node names.
20042 * simple.el (async-shell-command): New command.
20044 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20046 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20047 instead of `mount-info'.
20049 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20051 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20052 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20054 2009-07-02 Kenichi Handa <handa@m17n.org>
20056 * international/mule.el (set-keyboard-coding-system): Force *-unix
20057 coding-system to avoid eol conversion.
20059 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20061 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20062 Add handler for `process-file', `shell-command' and
20063 `start-file-process'.
20064 (tramp-gvfs-handle-shell-command)
20065 (tramp-gvfs-handle-start-file-process)
20066 (tramp-gvfs-handle-process-file): New defuns.
20067 (tramp-synce-list-devices): Simplify check for existence of property.
20069 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20071 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20073 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20075 * language/korean.el (set-language-info-alist): Add korean-cp949,
20078 2009-07-01 Kenichi Handa <handa@m17n.org>
20080 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20082 * international/encoded-kb.el: Deleted.
20084 * international/mule.el (set-keyboard-coding-system): Perform the
20085 necessary setup here instead of calling encoded-kbd-setup-display.
20087 2009-07-01 Glenn Morris <rgm@gnu.org>
20089 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20091 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20093 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20095 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20097 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20098 Handle also the 'rename case, when setting file modes. (Bug#3712)
20099 (tramp-default-file-modes): Remove execute permissions.
20101 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20102 (top): Add a default for "synce" in `tramp-default-user-alist'.
20103 Add completion function for "synce" method.
20104 (tramp-hal-service, tramp-hal-path-manager)
20105 (tramp-hal-interface-manager, tramp-hal-interface-device):
20107 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20108 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20111 * net/trampver.el: Update release number.
20113 2009-06-30 Kenichi Handa <handa@m17n.org>
20115 * international/fontset.el (setup-default-fontset): Add CJK fonts
20116 for symbols and the other miscellaneous characters.
20118 * language/korea-util.el (setup-korean-environment-internal):
20119 Make char-width-table suitable for Korean environments.
20120 (exit-korean-environment): Cancel above.
20122 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20123 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20124 setup-function to make char-width-table suitable for respective
20125 environments, and an exit-function to cancel that.
20127 * language/japan-util.el (setup-japanese-environment-internal):
20128 Call use-cjk-char-width-table with arg `ja_JP'.
20130 * international/characters.el (cjk-char-width-table): Delete it.
20131 (cjk-char-width-table-list): New variable.
20132 (use-cjk-char-width-table): New arg local-name.
20133 (use-default-char-width-table): Fix for the case that Emacs is
20134 already using the default char-width-table.
20136 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20138 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20139 modes mandatory. (Bug#3712)
20141 2009-06-29 Alan Mackenzie <acm@muc.de>
20143 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20144 correction between the visible width of TABs and their number of bytes.
20146 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20148 * server.el (server-buffer-done): Prevent kill-buffer from
20149 prompting by clearing the buffer modification flag (Bug#3696).
20151 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20153 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20154 (verilog-endcomment-reason-re): Support unique case and priority case.
20155 (verilog-basic-complete-re): Support localparam lineup.
20156 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20157 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20159 (verilog-leap-to-case-head): Now support *nested* unique &
20160 priority case statements.
20161 (verilog-auto-lineup): Make just declarations the default (as it
20163 (verilog-leap-to-case-head): Support priority/unique case statements.
20164 (verilog-auto-lineup): Rework to give users radio buttons to
20165 select the various styles of automatic lineup.
20166 (verilog-error-regexp-alist): Rework to support the XEmacs style
20167 of error regular expressions from compilers, lint tools &
20168 simulators. Note that GNU Emacs has made it impossible for a mode
20169 to load such things.
20170 (electric-verilog-terminate-line, verilog-indent-declaration)
20171 (verilog-auto-wiure): Rework for radio button selection of
20172 auto-lineup selection of specification of auto lineup.
20173 (verilog-beg-of-statement-1): Redesign to support proper operation
20174 in additional code, based on testing with auto-lineup.
20175 (verilog-calculate-indent, assignments & declarations)
20176 (verilog-backward-token): Enhance to support auto-lineup of
20177 assignments & declarations.
20178 (verilog-in-directive-p, verilog-at-struct-p): New function for
20179 easy test of whether we are.
20180 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20181 to support safe execution at almost anyline.
20182 (verilog-calc-1): Properly support indenting deep inside generate
20184 (verilog-init-font): Remove definition & use of verilog-init-font,
20185 as it is redundant with font-lock-defaults.
20186 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20187 to avoid circular calls if syntax-ppss is a function (as is the
20188 case now in 22.x GNU Emacs) as that function would sometimes call
20189 itself, leading to (nearly) infinite recursion.
20190 (verilog-ovm-begin-re, verilog-ovm-end-re)
20191 (verilog-ovm-statement-re, verilog-leap-to-head)
20192 (verilog-backward-token): Add support for OVM macros. Some are
20193 complete statements, and others open and close scopes like begin
20195 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20196 (verilog-defun-level-generate-only-re): Really fix the defun-list
20198 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20199 coverpoint, constraint and cross statements.
20200 (verilog-defun-level-list, verilog-generate-defun-level-list)
20201 (verilog-all-defun-level-list): Redo these specifications - it is
20202 too hard to support eval-when compile aggregation of lists also
20203 built at when-compile time.
20204 (verilog-defun-level-list): Place defconsts of variables used in
20205 building regular expressions which are built in eval-when-compile
20206 bodies in the same eval-when-compile body to facilitate compile
20208 (verilog-beg-block-re-ordered): Support indenting
20209 virtual/protected tasks and functions.
20210 (verilog-defun-level-list, verilog-in-generate-region-p)
20211 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20212 indentation of some module items (generate items).
20213 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20214 across virtual/protected tasks and functions.
20216 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20218 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20219 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20220 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20221 in concatenations. Reported by Yishay Belkind.
20222 (verilog-auto-ascii-enum): Support one-hot state machines in
20223 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20224 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20225 modport in AUTOINST and add vl-modport for users.
20226 Reported by David Rogoff.
20227 (verilog-auto-inout-module, verilog-auto-inst)
20228 (verilog-decls-get-interfaces, verilog-insert-definition)
20229 (verilog-insert-one-definition, verilog-read-decls)
20230 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20231 (verilog-sig-modport, verilog-signals-combine-bus)
20232 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20233 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20234 Suggested by David Rogoff.
20235 (verilog-repair-open-comma): Fix non-insertion of comma when
20236 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20237 (verilog-make-width-expression): Simplify [A-1:0] expression
20238 widths to just {A{1'b0}}.
20239 (verilog-mode): Cleanup checkdoc warnings.
20240 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20241 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20242 inputs/outputs or data type. Suggested by Vasu Kandadi.
20243 (next-error-last-buffer): Fix byte-compiler warning.
20244 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20245 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20246 or shell command text during AUTO expansion. Suggested by Tad Truex.
20247 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20248 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20249 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20250 in AUTOINOUT. Reported by Matthew Lovell.
20251 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20252 causing use of <= assignments. Reported by Alex Reed.
20253 (verilog-read-decls): Fix triand, trior, wand, wor to be
20254 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20255 (verilog-extended-complete-re): Support import "DPI-C" functions.
20256 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20257 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20258 (verilog-insert-date, verilog-insert-year)
20259 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20260 Windows systems. Reported by Michael Potts.
20261 (verilog-read-module-name): Fix AUTOINST when the child module
20262 declaration's name is a tick define. Reported by Elliot Mednick.
20263 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20264 passed to next parameter's definition. Reported by Bruce T.
20265 (verilog-read-decls): Fix detecting "parameter int" when using
20266 AUTOINSTPARAM. Reported by Bruce T.
20267 (verilog-goto-defun): Fix goto not finding modules unless first
20268 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20269 (verilog-mode): Expand -f flag arguments on entry to mode so
20270 verilog-goto-defun will work. Reported by Lawrence Butcher.
20271 (verilog-getopt): Expand environment variables in -f file
20272 arguments. Suggested by Lawrence Butcher.
20273 (verilog-set-define): Fix "Symbol's value as variable is void"
20274 when reading enumerations.
20275 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20276 Suggested by Stephen Peltan.
20277 (verilog-read-defines): Fix reading of enumerations in include
20278 files. Reported by Steve Peltan.
20280 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20282 * files.el (trash-directory): Fix defcustom type.
20284 2009-06-28 Juri Linkov <juri@jurta.org>
20286 * help-fns.el (describe-function-1): Correctly locate adviced
20287 functions in hyperlink (Bug#2438).
20289 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20291 * files.el (trash-directory): Change default to nil.
20292 (move-file-to-trash): If trash-directory is nil and
20293 system-move-file-to-trash is unbound, perform freedesktop-style
20296 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20298 * files.el (move-file-to-trash): Add freedesktop trash
20301 2009-06-28 Glenn Morris <rgm@gnu.org>
20303 * autorevert.el (global-auto-revert-non-file-buffers)
20304 (global-auto-revert-mode): Doc fixes.
20306 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20308 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20310 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20312 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20313 opened an X connection before calling x-get-resource (Bug#3194).
20315 * play/doctor.el: Remove reference to obsolete website.
20316 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20318 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20320 Remove find-file-not-found-hook VC method. (Bug#2757)
20321 * vc-hooks.el (vc-file-not-found-hook)
20322 (vc-default-find-file-not-found-hook): Remove functions.
20323 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20324 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20327 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20329 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20331 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20332 compatibility function for `looking-back'.
20334 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20335 Use `ispell-looking-back'.
20337 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20339 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20340 rather than `filename'.
20342 2009-06-23 Miles Bader <miles@gnu.org>
20344 * face-remap.el (text-scale-set): New function.
20346 2009-06-23 Glenn Morris <rgm@gnu.org>
20348 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20350 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20352 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20354 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20356 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20357 Simplify Persian conditionals.
20359 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20360 variable `filename'.
20362 * comint.el (comint-insert-input): Doc fix.
20364 * Makefile.in (ELCFILES): Fix typo in previous change.
20366 2009-06-23 Miles Bader <miles@gnu.org>
20368 * cus-start.el: Add entry for `recenter-redisplay'.
20370 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20372 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20373 Add an optional argument for the backend, use it instead of
20374 calling vc-backend.
20375 (vc-mode-line): Add an optional argument for the backend.
20376 Pass the backend to vc-state and vc-working-revision. Move code for
20377 special handling for vc-state being a buffer to ...
20379 * vc-rcs.el (vc-rcs-find-file-hook):
20380 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20382 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20383 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20384 vc-stay-local-p and vc-mode-line calls.
20386 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20387 (vc-cvs-diff, vc-cvs-annotate-command)
20388 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20389 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20390 vc-mode-line calls.
20392 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20394 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20395 backend when calling vc-mode-line.
20396 (vc-register): Do not create a closure for calling the vc register
20397 function, call it directly.
20399 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20401 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20402 to make it obvious item can be clicked.
20404 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20406 2009-06-23 Kenichi Handa <handa@m17n.org>
20408 * language/korea-util.el (korean-key-bindings): Change the binding
20409 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20412 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20414 Sync with Tramp 2.1.16.
20416 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20418 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20419 when a loading of a package fails. Completion function for rsync
20420 is `tramp-completion-function-alist-ssh'.
20421 (all): Replace all calls of `split-string' and
20422 `tramp-split-string' by `tramp-compat-split-string'.
20423 (tramp-default-method): Use `tramp-compat-process-running-p'.
20424 (tramp-default-proxies-alist): Allow also Lisp forms.
20425 (tramp-remote-path): Add choice "Private Directories".
20426 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20427 (tramp-domain-regexp): Allow also "-", "_" and ".".
20428 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20429 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20430 (tramp-debug-message): Insert header line in debug buffer.
20431 (tramp-handle-directory-files-and-attributes-with-stat):
20432 Care about filenames with spaces, or starting with "-".
20433 (tramp-handle-dired-uncache): New defun.
20434 (tramp-handle-insert-directory): Don't flush the directory from
20435 cache, this is handled by `dired-uncache' now.
20436 (tramp-handle-insert-file-contents): Improve error handling.
20437 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20438 Quote `tramp-end-of-output'.
20439 (tramp-action-password): Improve trace message.
20440 (tramp-check-for-regexp): Both echoes must be present, before removing.
20441 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20442 (tramp-compute-multi-hops): Eval cons cells of
20443 `tramp-default-proxies-alist'.
20444 (tramp-maybe-open-connection): Use the same command pattern for
20445 first hop and further hops.
20446 (tramp-wait-for-output): Remove handling of newlines.
20447 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20448 (tramp-split-string): Remove function. It is handled in
20451 * net/tramp-cmds.el (tramp-bug):
20452 Recommend `tramp-cleanup-all-connections' in the bug mail.
20454 * net/tramp-compat.el (tramp-compat-split-string)
20455 (tramp-compat-process-running-p): New defuns.
20457 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20458 for `dired-uncache'.
20460 * net/tramp-gvfs.el: New package.
20462 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20463 Add handler for `dired-uncache'.
20464 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20466 * net/trampver.el: Update release number. Make version check fit
20469 2009-06-22 Jim Meyering <meyering@redhat.com>
20471 Automatically handle .xz suffix (XZ-compressed files), too.
20472 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20473 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20475 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20476 Nick Roberts <nickrob@snap.net.nz>
20478 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20479 repository (http://sphinx.net.ru/hg/gdb-mi/).
20481 2009-06-22 Glenn Morris <rgm@gnu.org>
20483 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20484 `mode' and `eval' entries. (Bug#3430)
20486 * Makefile.in (ELCFILES): Add fadr.elc.
20488 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20489 differing behavior of \n and ^ in strings. (Bug#3385)
20491 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20493 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20495 (lisp-indent-function): Make it a defcustom.
20497 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20499 * progmodes/gdb-ui.el: Replace with ...
20500 * progmodes/gdb-mi.el: ... this file.
20501 * progmodes/gud.el: Modify for gdb-mi.el.
20503 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20505 * fadr.el: New file.
20507 See ChangeLog.14 for earlier changes.
20509 ;; Local Variables:
20513 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20515 This file is part of GNU Emacs.
20517 GNU Emacs is free software: you can redistribute it and/or modify
20518 it under the terms of the GNU General Public License as published by
20519 the Free Software Foundation, either version 3 of the License, or
20520 (at your option) any later version.
20522 GNU Emacs is distributed in the hope that it will be useful,
20523 but WITHOUT ANY WARRANTY; without even the implied warranty of
20524 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20525 GNU General Public License for more details.
20527 You should have received a copy of the GNU General Public License
20528 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.