1 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3 * subr.el (eval-after-load): Fix timing for features (bug#7769).
4 (declare-function, undefined, insert-for-yank)
5 (replace-regexp-in-string): Follow checkdoc's recommendations.
7 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
10 refreshing the diary buffer.
12 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
14 * allout.el: Add 2011 to the file copyright.
15 (allout-encrypt-string): Prevent encryption from adding an extra
16 newline at the end of the topic body.
17 (allout-version): Increment to 2.3.
19 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
21 * net/dbus.el (dbus-unregister-service): Complete doc.
22 Fix call of dbus-error signal.
23 (dbus-register-property): Use `dont-register' keyword.
25 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
27 * net/dbus.el (dbus-unregister-service): Translate returned
28 integer into a symbol.
29 (dbus-register-property): Use `dbus-register-service' to do the
32 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
34 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
35 Suggested by Joakim Verona.
37 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
39 * wid-edit.el (visibility): Replace :on-image and :off-image
40 widget properties with :on-glyph and :off-glyph, for consistency
41 with the `visibility' widget.
42 (widget-toggle-value-create, widget-visibility-value-create):
43 Merge into a single function `widget-toggle-value-create'.
45 * cus-edit.el (custom-variable-value-create, custom-visibility)
46 (custom-face-edit-value-create, custom-face-value-create):
47 Replace :on-image and :off-image widget properties with :on-glyph and
48 :off-glyph, for consistency with the `visibility' widget.
50 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
52 * net/ldap.el (ldap-search-internal): Don't use eval.
54 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
56 * subr.el (read-char-choice): Use read-key.
58 * custom.el (custom-safe-themes): Rename from
59 custom-safe-theme-files. Add :risky tag.
60 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
61 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
63 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
65 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
66 from Search and add a label to Undo.
68 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
69 inappropriate buttons and adding :vert-only tags.
71 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
72 removal of Help tool-bar button. Remove Undo button for space.
74 * info.el (info-tool-bar-map): Add :vert-only tags.
76 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
78 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
79 image backend support. Either of them is fine.
81 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
83 * subr.el (y-or-n-p): Doc fix.
85 * custom.el (custom-safe-theme-files): New defcustom.
86 (custom-theme-load-confirm): New function.
87 (load-theme): Load theme using `load', confirming with
88 custom-theme-load-confirm if necessary.
90 * subr.el (read-char-choice): New function, factored out from
91 dired-query and hack-local-variables-confirm.
93 * dired-aux.el (dired-query):
94 * files.el (hack-local-variables-confirm): Use it.
96 * dired-aux.el (dired-compress-file):
97 * files.el (abort-if-file-too-large, find-alternate-file)
98 (set-visited-file-name, write-file, backup-buffer)
99 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
100 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
101 Use new format string args for y-or-n-p and yes-or-no-p.
103 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
105 * progmodes/compile.el (compilation-error-regexp-alist-alist)
106 [gcc-include]: Tighten file name match, add match for column
108 [gnu]: Remove unused group.
110 2011-01-08 Glenn Morris <rgm@gnu.org>
112 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
114 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
116 2011-01-07 Sam Steingold <sds@gnu.org>
118 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
119 the `explicit-shell-file-name' because that is the
120 non-interactive shell.
122 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
124 * subr.el (y-or-n-p): Accept format string args.
126 2011-01-07 Glenn Morris <rgm@gnu.org>
128 * Makefile.in (EMACSOPT): Add --no-site-lisp.
130 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
132 * allout.el (allout-back-to-current-heading): Ensure return to
133 the visible containing topic, rather than a collapsed one.
134 (allout-view-change-hook): Remove hook that was deprecated long ago.
135 (allout-exposure-change-hook): Remove documentation remarks
136 concerning removed allout-view-change-hook.
137 (allout-flag-region): Remove invocation of and documentation
138 remarks concerning allout-view-change-hook.
140 2011-01-06 Glenn Morris <rgm@gnu.org>
142 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
143 (vc-bzr-annotate-extract-revision-at-line):
144 Handle authors with embedded spaces. (Bug#7792)
146 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
148 * doc-view.el (doc-view-image-width): New variable.
149 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
150 backend for PNG images, and do dynamic rescaling instead of
151 reconverting the whole doc.
153 2011-01-05 Glenn Morris <rgm@gnu.org>
155 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
157 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
159 * allout.el: Reconcile with changes in line movement behavior for
160 long text lines that cross more than a single physical window
161 line, ie when truncate-lines is nil.
162 (allout-next-visible-heading): Provide for change in line-move
163 behavior on long lines when truncate-lines is nil. In that case,
164 line-move can wind up on the same textual line when it moves to
165 the next window line, and moving to the bullet position after the
166 move yields zero advancement. Add logic to detect and compensate
167 for the lack of progress.
168 (allout-current-topic-collapsed-p): move-end-of-line respect for
169 field boundaries is different when operating with body lines
170 shorter than window width versus ones greater than window width,
171 which can yield false negatives in this function. Avoid
172 difference by applying move-end-of-line while field-text-motion is
175 2011-01-04 Glenn Morris <rgm@gnu.org>
177 * textmodes/rst.el (rst-compile-toolsets):
178 Add pdf and s5 to option alist.
180 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
182 * net/dbus.el (dbus-register-property): Add optional parameter
183 dont-register-service. Updated docstring accordingly.
185 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
187 * textmodes/rst.el (rst-compile-pdf-preview)
188 (rst-compile-slides-preview): Remove extra line.
190 2011-01-04 Glenn Morris <rgm@gnu.org>
192 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
193 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
194 default to `prog' without a .py extension.
195 (rst-compile-pdf-preview, rst-compile-slides-preview):
196 Use program names from rst-compile-toolsets, rather than hard-coding.
197 (rst-portable-mark-active-p): Fix presumed typo.
199 2011-01-02 Eli Zaretskii <eliz@gnu.org>
201 * term/w32-win.el (dynamic-library-alist): Set up correctly for
202 libpng versions both before and after 1.4.0. (Bug#7716)
204 2011-01-02 Eli Zaretskii <eliz@gnu.org>
206 * time.el (display-time-mode): Mention display-time-interval in
207 the doc string. (Bug#7713)
209 2011-01-02 Kenichi Handa <handa@m17n.org>
211 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
212 condition-case and return an error message string if something
214 (rmail-show-mime): Adjust for the above change. Insert the
215 header by rmail-mime-insert-header.
217 2011-01-02 Kenichi Handa <handa@m17n.org>
219 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
220 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
221 (rmail-mime-mbox-buffer)
222 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
223 (rmail-mime-entity): Argument changed. All codes handling an
224 entity object are changed.
225 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
227 (rmail-mime-entity-children, rmail-mime-entity-handler)
228 (rmail-mime-entity-tagline): New functions.
229 (rmail-mime-message-p): New function.
230 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
231 (rmail-mime-entity-segment, rmail-mime-next-item)
232 (rmail-mime-previous-item, rmail-mime-shown-mode)
233 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
234 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
235 (rmail-mime-insert-tagline, rmail-mime-insert-header):
237 (rmail-mime-text-handler): Call rmail-mime-insert-text.
238 (rmail-mime-insert-decoded-text): New function.
239 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
240 (rmail-mime-insert-image): Argument changed. Caller changed.
241 (rmail-mime-image): Call rmail-mime-toggle-hidden.
242 (rmail-mime-set-bulk-data): New funciton.
243 (rmail-mime-insert-bulk): Argument changed.
244 (rmail-mime-multipart-handler): Return t.
245 (rmail-mime-process-multipart): Argument changed.
246 Handle "multipart/alternative" here.
247 (rmail-mime-process): Argument changed.
248 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
249 (rmail-mime-insert): Argument changed. Handle raw display mode.
250 (rmail-mime): Argument changed. Handle toggling of raw display
252 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
253 rmail-mime-view-buffer.
254 (rmail-insert-mime-forwarded-message): Likewise.
255 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
257 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
258 non-nil, handle the header in rmail-show-mime-function.
260 2011-01-02 Leo <sdl.web@gmail.com>
262 * help-fns.el (describe-variable): Fix previous change.
264 2011-01-02 Juri Linkov <juri@jurta.org>
266 * isearch.el (isearch-lazy-highlight-error): New variable.
267 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
268 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
269 to the current value of `isearch-error' (Bug#7468).
271 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
273 * help-fns.el (describe-variable): Don't emit trailing whitespace
276 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
278 * textmodes/rst.el (rst-compile-pdf-preview)
279 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
281 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
283 * emulation/edt-mapper.el: Override mapping of function keys so
284 that the later call to read-key-sequence works.
286 2011-01-02 Eli Zaretskii <eliz@gnu.org>
288 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
289 Unix EOLs. (Bug#7589)
291 2011-01-02 Leo <sdl.web@gmail.com>
293 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
294 if point is not behind eshell-last-output-end (Bug#7585).
296 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
298 * files.el (file-local-variables-alist):
299 Make permanent-local (bug#7767).
301 2011-01-02 Glenn Morris <rgm@gnu.org>
303 * version.el (emacs-copyright): Set short copyright year to 2011.
305 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
307 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
308 an existing temp buffer. (Bug#7746)
310 2011-01-02 Glenn Morris <rgm@gnu.org>
312 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
313 multiple addresses. (Bug#7760)
315 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
317 * allout.el (allout-auto-fill): Do not infinitely recurse - use
318 do-auto-fill if everything points back to allout-auto-fill.
319 (allout-mode-deactivate-hook): Declare obsolete, in favor of
320 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
322 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
324 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
327 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
329 * doc-view.el (doc-view-set-doc-type): New function refactored
331 (doc-view-fallback-mode): New function.
332 (doc-view-mode): Use it.
333 (doc-view-mode-maybe): New function that checks if doc-view-mode
334 can be used and falls back to the next best mode otherwise.
336 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
337 DVI, OpenDocument, and MS Office files.
339 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
341 * emacs-lisp/rx.el (rx-syntax): Fix typo.
343 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
345 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
346 on a copy of auto-mode-alist, because that deletes with side
349 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
351 * doc-view.el (doc-view-mode, doc-view-toggle-display):
352 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
353 fallback instead of hard coding fundamental mode.
355 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
357 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
358 Office) files also for searching.
360 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
362 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
363 Office) files. Not yet enabled via auto-mode-list.
364 (doc-view-unoconv-program): New custom variable.
365 (doc-view-mode-p): Handle new odf document type.
366 (doc-view-odf->pdf): New conversion function.
367 (doc-view-convert-current-doc): Call it for odf files.
368 (doc-view-mode): Recognize newly supported file extensions.
370 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
372 * net/tramp.el (tramp-default-method-alist)
373 (tramp-default-user-alist)
374 (tramp-local-host-regexp, tramp-prefix-domain-format)
375 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
382 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
383 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
385 2010-12-29 Karl Fogel <kfogel@red-bean.com>
387 * saveplace.el (save-place-alist-to-file): Save list sorted and
388 pretty-printed, so that it is mergeable by line-based text merging,
389 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
391 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
393 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
394 (allout-mode): Argument "toggle" => "force".
395 Refine the docstring.
396 Remove special provisions for reactivation, besides the 'force'
398 Consolidate layout provisions coce directly into the activation
399 condition branch, now that we've removed those provisions.
400 (allout-unload-function): Explicitly activate the mode before
401 deactivating, if it's initially deactivated.
402 (allout-set-buffer-multibyte): Properly prevent byte-compiler
403 warnings for version of function used only where
404 set-buffer-multibyte is unavailable.
406 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
408 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
409 are handled by the menu-bar entries. As before, don't use
410 :visibile to avoid changing the tool-bar.
412 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
414 * net/secrets.el (secrets-delete-alias): New defun.
416 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
418 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
419 methods, otherwise ~/.ssh/config would be ignored.
421 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
423 * emacs-lisp/rx.el: Make it a superset of sregex.
424 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
425 of args, add `regex' alias.
426 (rx-info): Add arg to distinguish head and standalone forms.
427 (rx-check, rx-form): Pass the corresponding arg.
429 (rx-repeat): Make it work for any number of args.
430 (rx-syntax): Make it accept syntax chars as is.
431 * obsolete/sregex.el: Move from emacs-lisp/.
432 * emacs-lisp/re-builder.el: Remove sregex support.
433 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
435 2010-12-25 Eli Zaretskii <eliz@gnu.org>
437 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
438 PRIMARY first, then the clipboard. (Bug#7699)
440 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
442 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
445 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
447 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
448 .emacs.elc (Bug#7530).
450 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
451 image spec (Bug#7480).
453 2010-12-21 Daiki Ueno <ueno@unixuser.org>
455 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
456 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
459 2010-12-20 Leo <sdl.web@gmail.com>
461 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
462 always be performed (Bug#7680).
464 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
466 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
467 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
470 * color.el: Move from gnus/.
472 * vc/diff.el (diff-better-file-name): Function deleted.
473 abbreviating file names causes problems with shell-quote-argument.
474 (diff-no-select): Just use expand-file-name.
476 * tool-bar.el (tool-bar--image-expression): New function.
477 (tool-bar-local-item, tool-bar--image-exp): Use it.
478 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
479 Use :enable instead of :visible to avoid changing the tool-bar
480 configuration unnecessarily.
482 * info.el (info-tool-bar-map): Add separators.
484 2010-12-17 Ken Brown <kbrown@cornell.edu>
486 * loadup.el: Use version numbers in Cygwin build.
488 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
490 * ido.el (ido-file-internal): Ask for confirmation before
491 overwriting an existing file (Bug#1238).
493 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
495 * tool-bar.el (tool-bar-setup): Add separators.
497 * menu-bar.el (featurep): Use menu-bar-separator.
499 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
501 Migrate allout encryption provisions from pgg to epg.
503 * allout.el (allout-toggle-current-subtree-encryption)
504 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
505 defaulting policy and other changes. Change fetch-pass to keymode-cue,
506 for simpler universal argument interpretation.
507 (allout-toggle-subtree-encryption): Adjust docstring to describe
508 changed encryption provisions. Change fetch-pass to keymode-cue, for
509 simpler universal argument interpretation. Remove provisions for
510 handling key type and identity - they'll all be within
511 allout-encrypt-string or epg/epg or even contained all the way in gpg.
512 (allout-encrypt-string): Include keymode-cue, for optionally prompting
513 for keypair recipients (universal argument > 1) and, in addition,
514 associating the specified recipients with the outline (universal
515 argument > 4) using a file local variable setting for
516 'epa-file-encrypt-to'.
517 Require epa, for recipients handling.
518 Change how regexp filtering elements are named.
519 Describe the problem with caching of incorrect symmetric-decryption
521 Use the epa-passphrase-callback-function, in case the user is using
523 Support saving of the selected keypair recipients when invoked with a
525 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
527 Establish epg-context with armoring and default epg-protocol.
528 Remove all passphrase cache, verification, and hinting code.
529 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
530 No longer used, delete.
531 (allout-mode): Adjust docstring to describe changed encryption
532 provisions. Describe the problem with caching of incorrect
533 symmetric-decryption keys.
534 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
535 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
536 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
537 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
540 2010-12-16 Daiki Ueno <ueno@unixuser.org>
542 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
543 key selection prompt; make 'silent as default (Bug#7487).
545 2010-12-16 Leo <sdl.web@gmail.com>
547 * eshell/eshell.el (eshell-directory-name):
548 Use locate-user-emacs-file (Bug#7578).
550 2010-12-15 Glenn Morris <rgm@gnu.org>
552 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
554 2010-12-15 Jari Aalto <jari.aalto@cante.net>
555 Scott Evans <gse@antisleep.com>
557 * rect.el (rectange--default-line-number-format)
558 (rectangle-number-line-callback): New functions.
559 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
561 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
563 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
564 Delete unused variables.
565 (move-to-column-force): Remove function obsolete since 21.2.
567 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
569 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
570 (tramp-handle-insert-file-contents): Do not set permanent-local
573 * net/tramp-cache.el (tramp-persistency-file-name):
574 Use `locate-user-emacs-file' if fboundp.
576 * net/tramp-sh.el (tramp-methods): Add "ksu".
577 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
580 2010-12-14 Glenn Morris <rgm@gnu.org>
582 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
583 (find-tag-marker-ring): Declare.
584 (js-find-symbol): Require etags.
586 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
588 (mail-alias-file): Don't autoload. Doc fix.
589 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
590 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
591 Mark as obsolete, and risky.
592 (mail-setup): Simplify.
594 * mail/mailalias.el (build-mail-aliases): Make it interactive.
595 * mail/sendmail.el (build-mail-aliases): Update autoload.
597 * dired.el (dired-trivial-filenames, dired-chown-program)
598 (dired-auto-revert-buffer): Remove autoload cookies.
599 * mail/sendmail.el (mail-recover-1): Require 'dired.
601 * dired.el (dired-subdir-switches, dired-chown-program)
602 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
603 Make into defcustoms.
604 (dired-chown-program): Simplify initialization.
606 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
608 2010-12-13 Romain Francoise <romain@orebokech.com>
610 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
612 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
614 * net/netrc.el (netrc-point-at-eol): Remove the unused
615 netrc-point-at-old and netrc-bound-and-true-p bindings.
616 (netrc-parse): Cache the netrc contents.
618 2010-12-13 Eli Zaretskii <eliz@gnu.org>
620 * subr.el (posn-col-row): Evaluate header-line-format in the
621 context of the POSITION window's buffer.
623 2010-12-13 Glenn Morris <rgm@gnu.org>
625 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
626 (with-silent-modifications): Doc fixes.
628 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
630 * net/tramp.el (tramp-action-password, tramp-process-actions):
631 Revert previous from. Use `save-restriction'.
633 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
635 * calendar/diary-lib.el (diary-list-sexp-entries):
636 Handle case of no newline at end of file. (Bug#7536)
638 2010-12-13 Glenn Morris <rgm@gnu.org>
640 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
642 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
644 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
645 (tramp-process-actions): Do not widen.
647 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
648 Protect buffer-modified value. (Bug#7557)
650 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
652 * log-edit.el (log-edit-changelog-entries):
653 Regexp quote filename. (Bug#7505)
655 2010-12-13 Tom Breton <tehom@panix.com>
657 * cus-edit.el (custom-save-all):
658 Bind print-length and print-level to nil. (Bug#7581)
660 2010-12-13 Glenn Morris <rgm@gnu.org>
662 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
663 Run hooks to update menu contents. (Bug#7586)
665 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
666 file names, for the sake of MS Windows. (Bug#7588)
668 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
670 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
671 empty lines without a leading space.
673 2010-12-13 Leo <sdl.web@gmail.com>
675 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
676 while mapping over marks (Bug#6810).
678 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
680 * image-dired.el (image-dired-db-file)
681 (image-dired-temp-image-file, image-dired-gallery-dir)
682 (image-dired-temp-rotate-image-file): Set default values relative
683 to image-dired-dir (Bug#7518).
685 2010-12-13 Lawrence Mitchell <wence@gmx.li>
687 * format.el (format-decode-run-method): Pass args FROM and TO, not
688 point-min and point-max, to shell-command-on-region (Bug#7488).
690 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
692 * frame.el (blink-cursor-mode): Make default t for ns.
694 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
696 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
698 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
700 * comint.el (comint-dynamic-list-input-ring)
701 (comint-dynamic-complete-filename)
702 (comint-replace-by-expanded-filename)
703 (comint-dynamic-simple-complete)
704 (comint-dynamic-list-filename-completions)
705 (comint-dynamic-list-completions): Doc fix (Bug#7499).
707 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
710 2010-12-13 Martin Rudalics <rudalics@gmx.at>
712 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
715 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
717 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
720 2010-12-13 Eli Zaretskii <eliz@gnu.org>
722 * files.el (file-relative-name): Handle UNC file names on
723 DOS/Windows. (Bug#4674)
725 2010-12-13 Daiki Ueno <ueno@unixuser.org>
727 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
728 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
729 (epg-context-set-passphrase-callback): Mention that the callback
730 is not called when used with GnuPG 2.x.
732 2010-12-13 Glenn Morris <rgm@gnu.org>
734 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
735 Ensure ps-footer-font-size-internal is initialized.
736 Call ps-get-page-dimensions before trying to use ps-font-for-text.
738 2010-12-13 Kenichi Handa <handa@m17n.org>
740 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
741 within condition-case.
742 (rmail-show-mime): Don't use condition-case.
743 (rmail-search-mime-message): New function.
744 (rmail-search-mime-message-function): Set to
745 rmail-search-mime-message.
747 2010-12-13 Leo <sdl.web@gmail.com>
749 * ido.el (ido-common-initialization): New function. (bug#3274)
751 (ido-completing-read): Call it.
753 2010-12-12 Karl Fogel <kfogel@red-bean.com>
755 * bookmark.el (bookmark-name-from-full-record): Rename back to
756 this original name from `bookmark-name-from-record' reverting part
757 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
758 As Drew Adams pointed out, there was no reason to cause churn for
761 2010-12-12 Alan Mackenzie <acm@muc.de>
763 * progmodes/cc-engine.el (c-forward-type): Before scanning a
764 template arglist, check that the current language supports this.
766 2010-12-11 Glenn Morris <rgm@gnu.org>
768 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
769 state of the file matches. (Bug#7544)
770 (vc-bzr-register, vc-bzr-checkin)
771 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
772 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
774 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
776 2010-12-11 Karel Klíč <kklic@redhat.com>
778 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
780 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
782 Derive from prog-mode, use derived-mode-p, and fix up various
783 minor style issues in lisp/progmodes.
785 * progmodes/vhdl-mode.el (vhdl-mode):
786 * progmodes/verilog-mode.el (verilog-mode):
787 * progmodes/vera-mode.el (vera-mode):
788 * progmodes/sql.el (sql-mode):
789 * progmodes/scheme.el (scheme-mode):
790 * progmodes/perl-mode.el (perl-mode):
791 * progmodes/octave-inf.el (inferior-octave-mode):
792 * progmodes/autoconf.el (autoconf-mode):
793 * progmodes/m4-mode.el (m4-mode):
794 * progmodes/inf-lisp.el (inferior-lisp-mode):
795 * progmodes/idlwave.el (idlwave-mode):
796 * progmodes/icon.el (icon-mode):
797 * progmodes/idlw-help.el (idlwave-help-mode):
798 * progmodes/dcl-mode.el (dcl-mode):
799 * progmodes/idlw-shell.el (idlwave-shell-mode):
800 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
801 (ebrowse-member-mode, ebrowse-electric-position-mode):
802 Use define-derived-mode.
804 * progmodes/xscheme.el (exit-scheme-interaction-mode)
805 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
806 (xscheme-debugger-mode-p, xscheme-send-string-1):
807 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
808 (tcl-load-file, tcl-restart-with-file):
809 * progmodes/ps-mode.el (ps-run-running):
810 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
811 * progmodes/js.el (js--get-all-known-symbols):
812 * progmodes/inf-lisp.el (inferior-lisp-proc):
813 * progmodes/idlwave.el (idlwave-beginning-of-statement)
814 (idlwave-template, idlwave-update-buffer-routine-info)
815 (idlwave-update-current-buffer-info)
816 (idlwave-get-routine-info-from-buffers, idlwave-choose)
817 (idlwave-scan-class-info, idlwave-fix-keywords)
818 (idlwave-list-buffer-load-path-shadows):
819 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
820 (idlwave-toolbar-remove):
821 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
822 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
823 (idlwave-shell-menu-def):
824 * progmodes/idlw-complete-structtag.el
825 (idlwave-prepare-structure-tag-completion):
826 * progmodes/gud.el (gud-set-buffer):
827 * progmodes/f90.el (f90-backslash-not-special):
828 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
830 * progmodes/xscheme.el (xscheme-start)
831 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
832 * progmodes/which-func.el (which-function):
833 * progmodes/vhdl-mode.el (vhdl-set-style):
834 * progmodes/verilog-mode.el (verilog-set-compile-command)
835 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
836 (verilog-set-define, verilog-auto-reeval-locals):
837 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
838 * progmodes/simula.el (simula-mode):
839 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
840 * progmodes/python.el (python-check, python-mode):
841 * progmodes/prolog.el (prolog-mode-variables):
842 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
843 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
844 * progmodes/delphi.el (delphi-mode):
845 * progmodes/cc-styles.el (c-setup-paragraph-variables):
846 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
847 (c-font-lock-init): Move make-local-variable to their setq.
849 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
850 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
852 * progmodes/sh-script.el (sh-require-final-newline): Remove.
853 (sh-set-shell): Don't set require-final-newline since it's already done
855 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
856 since we never set it.
857 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
858 Use read-string and standard prompt.
859 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
860 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
861 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
862 (meta-common-mode-map): Rename from meta-mode-map.
863 Remove C-m binding, which is a user preference, not mode specific.
864 (meta-common-mode): New major mode; replace meta-common-initialization.
865 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
866 around with font-lock.
867 * progmodes/etags.el (select-tags-table-mode):
868 Derive from special-mode.
869 * progmodes/octave-mod.el (octave-mode):
870 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
871 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
872 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
873 Let define-derived-mode do its job.
874 * progmodes/cpp.el (cpp-edit-mode-map):
875 Move initialization into declaration.
876 (cpp-edit-mode): Use define-derived-mode.
877 (cpp-edit-load): Use derived-mode-p.
878 * progmodes/mixal-mode.el (mixal-mode):
879 * progmodes/f90.el (f90-mode):
880 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
881 require-final-newline since prog-mode does it already.
882 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
883 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
884 * progmodes/antlr-mode.el: Require cc-mode upfront.
885 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
887 (antlr-directory-dependencies, antlr-show-makefile-rules):
889 (antlr-language-option): Don't assume point-min==1.
890 (antlr-mode): Use define-derived-mode.
891 * progmodes/ada-mode.el: Use derived-mode-p.
892 (ada-mode): Use define-derived-mode.
893 Use hack-local-variables-hook.
895 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
897 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
898 (texinfo-mode): Don't disable adaptive-fill-mode.
899 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
900 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
901 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
902 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
903 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
904 (texinfo-insert-@quotation, texinfo-insert-@samp)
905 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
906 (texinfo-insert-@uref): Use define-skeleton.
907 (texinfo-insert-@-with-arg): Delete.
909 2010-12-10 Eli Zaretskii <eliz@gnu.org>
911 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
912 nil, do quote archive member names. (Bug#6144)
914 2010-12-10 Glenn Morris <rgm@gnu.org>
916 * files.el (diff-no-select): Declare.
918 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
919 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
921 * comint.el (comint-input-ring-file-name): Doc fix.
923 2010-12-09 Eli Zaretskii <eliz@gnu.org>
925 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
927 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
928 Use them instead of `nil' and `>', respectively.
929 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
931 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
932 and menu-bar-positive-p instead of `nil' and `>', respectively.
935 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
937 * whitespace.el (whitespace-newline-mode): Code fix.
939 2010-12-09 Glenn Morris <rgm@gnu.org>
941 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
942 Rename functions without commas, update callers.
944 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
946 * whitespace.el (whitespace-cleanup-region):
947 Clean up spaces before tabs. (Bug#7582)
949 2010-12-08 Karl Fogel <kfogel@red-bean.com>
951 * bookmark.el: Adjust parameter names and doc strings to resolve
952 confusion over whether "bookmark" meant a bookmark name or a
953 bookmark record. Along the way, shorten one function's name for
954 similar reasons. (Issue #7548)
955 (bookmark-name-from-record): New name for
956 `bookmark-name-from-full-record'. All callers changed.
957 (bookmark-get-bookmark, bookmark-get-bookmark-record)
958 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
959 (bookmark-get-annotation, bookmark-set-annotation)
960 (bookmark-get-filename, bookmark-set-filename)
961 (bookmark-get-position, bookmark-set-position)
962 (bookmark-get-front-context-string, bookmark-set-front-context-string)
963 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
964 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
965 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
966 Rename `bookmark' parameter to `bookmark-name-or-record', to
967 clearly show its role, and shorten or adjust doc strings accordingly.
968 (bookmark-set-name): Same, and pass the parameter directly to
969 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
970 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
971 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
972 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
973 and in some cases shorten doc string accordingly.
974 (bookmark-rename): Change `old' and `new' parameters to `old-name'
975 and `new-name', and adjust an internal variable to avoid confusion.
976 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
977 parameter in doc string.
979 2010-12-08 Glenn Morris <rgm@gnu.org>
981 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
982 from gdb's history file. (Bug#7575)
984 * mail/emacsbug.el (report-emacs-bug):
985 Try to handle some other mail clients.
987 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
989 * files.el (dir-locals-collect-variables): Don't let errors stop us.
991 (file-name-version-regexp): New var.
992 (file-name-sans-versions):
993 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
994 (jka-compr-get-compression-info): Use dolist.
995 (jka-compr-compression-info-list): Don't bother specifying
996 version/backup regexps.
998 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1000 * simple.el (just-one-space): Make argument n default to 1 if
1003 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * electric.el (electric-indent-post-self-insert-function):
1006 Delete trailing newlines even if we don't reindent.
1008 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1010 * minibuffer.el (completion-at-point): Remove the `arg'.
1011 * bindings.el (complete-symbol): Move back from minibuffer.el.
1013 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1015 * simple.el (just-one-space): Delete newlines for negative arg.
1017 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1019 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1020 (ansi-color-filter-apply): Simplify.
1021 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1023 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1025 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1027 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1029 * dired.el (dired-use-ls-dired): Set default to a special
1030 "unspecified" value.
1031 (dired-insert-directory): When called the first time, check
1032 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1034 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1036 * replace.el: Add "collect" feature to occur.
1037 (occur-collect-regexp-history): New var.
1038 (occur-read-primary-args): Return a replace string for nlines,
1040 (occur): Extend the meaning of nlines.
1042 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1045 (which-func-update-1): Distinguish symbols from strings.
1046 (which-function): Stay within 80 columns.
1048 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1052 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1054 (comment-style): Use comment-styles's docs to describe values.
1056 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1058 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1059 and ns-show-prefs (Bug#7535).
1061 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1062 bindings (Bug#7535).
1064 2010-12-03 Glenn Morris <rgm@gnu.org>
1066 * nxml/nxml-mode.el: Require rng-nxml.
1067 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1068 Remove declarations.
1070 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1071 * nxml/rng-nxml.el, nxml/rng-valid.el:
1072 Remove leading `*' from defcustom docs.
1074 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1075 (normal-top-level-add-to-load-path, tty-handle-args):
1076 Convert comments to basic doc-strings.
1078 * net/browse-url.el (browse-url-url-at-point)
1079 (browse-url-default-browser): Remove autoload cookies.
1081 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1082 Remove more undefined cl functions.
1084 * vc/diff.el (diff-sentinel): Make new arguments optional.
1085 * ibuf-ext.el (diff-sentinel): Update declaration.
1087 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1089 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1090 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1091 (epg-context-set-passphrase-callback): Mention that the callback
1092 is not called when used with GnuPG 2.x.
1094 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1096 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1097 (tramp-file-name-port): Check also for `tramp-default-port'.
1098 (tramp-get-connection-name): New defun.
1099 (tramp-get-connection-process): Use it.
1100 (tramp-debug-message): Extend function exclude list.
1101 (tramp-drop-volume-letter): Fix doc string.
1103 * net/tramp-cmds.el: Remove solved todo item.
1107 * net/tramp-gvfs.el:
1109 * net/tramp-imap.el:
1110 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1111 and `tramp-default-user-alist', respectively.
1113 * net/tramp-gw.el (tramp-gw-open-connection):
1114 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1116 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1117 `tramp-file-name-port'.
1119 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1120 and "psftp". Exchange "%k" marker with options.
1121 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1122 Compute size of link target.
1123 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1124 `tramp-current-*' up due to gateway methods. Optimze computing of
1125 copy arguments. Use `tramp-get-connection-name' and
1126 `tramp-get-connection-buffer'. Improve debug messages.
1127 (tramp-compute-multi-hops): Remove port determination.
1128 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1130 * net/trampver.el: Update release number.
1132 2010-12-02 Glenn Morris <rgm@gnu.org>
1134 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1135 Avoid infinite loop over windows. (Bug#7492)
1137 * progmodes/flymake.el (flymake-check-file-limit):
1138 Allow nil to mean "no limit".
1139 (flymake-check-patch-master-file-buffer): Update for above change.
1140 Allow a .tex file-name extension to be optional.
1141 (flymake-master-tex-init): Also match \include statements.
1143 2010-11-30 Sam Steingold <sds@gnu.org>
1145 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1146 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1147 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1148 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1149 define-derived-mode').
1150 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1151 users who want to call `nxml-parent-document-set'.
1153 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1155 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1156 stand-alone lines, since that is handled by log-edit-match-to-eoh
1159 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1161 * dired.el (dired-get-filename): Replace backslashes with slashes
1162 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1163 * locate.el (locate-default-make-command-line): Don't consider
1164 drive letter and root directory part of
1165 `directory-listing-before-filename-regexp'. (Bug#7308)
1166 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1168 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1171 of :smie-open/close-alist.
1172 (smie-next-sexp): Make it accept a "start token" as argument.
1173 (smie-indent-keyword): Be careful not to misidentify tokens that span
1174 more than one line, as empty lines. Add argument `token'.
1176 2010-11-27 Kenichi Handa <handa@m17n.org>
1178 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1179 multipart subtypes, insert all as usual.
1181 * mail/rmail.el: Require rfc2047.
1183 2010-11-27 Kenichi Handa <handa@m17n.org>
1185 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1186 (rmail-mime-entity-disposition)
1187 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1188 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1189 (rmail-mime-save): Handle the case that the button's `data' is a
1191 (rmail-mime-insert-text): New function.
1192 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1193 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1194 (rmail-mime-insert-bulk): New function mostly copied from the old
1195 rmail-mime-bulk-handler.
1196 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1197 (rmail-mime-process-multipart): New function mostly copied from
1198 the old rmail-mime-multipart-handler.
1199 (rmail-mime-show): Just call rmail-mime-process.
1200 (rmail-mime-process): New function mostly copied from the old
1202 (rmail-mime-insert-multipart, rmail-mime-parse)
1203 (rmail-mime-insert, rmail-show-mime)
1204 (rmail-insert-mime-forwarded-message)
1205 (rmail-insert-mime-resent-message): New functions.
1206 (rmail-insert-mime-forwarded-message-function): Set to
1207 rmail-insert-mime-forwarded-message.
1208 (rmail-insert-mime-resent-message-function): Set to
1209 rmail-insert-mime-resent-message.
1211 * mail/rmailsum.el: Require rfc2047.
1212 (rmail-header-summary): Handle multiline Subject: field.
1213 (rmail-summary-line-decoder): Change the default to
1214 rfc2047-decode-string.
1216 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1217 (rmail-mime-feature): Change the default to `rmailmm'.
1218 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1219 (rmail-display-labels): Likewise.
1220 (rmail-show-message-1): Check rmail-enable-mime, and use
1221 rmail-show-mime-function for a MIME message. Decode the headers
1222 according to RFC2047.
1224 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * progmodes/which-func.el (which-func-imenu-joiner-function):
1227 Return a string, as expected.
1228 (which-function-mode): Make sure we stop any previous timer before
1231 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1233 * net/tramp.el (tramp-default-method-alist)
1234 (tramp-default-user-alist, tramp-default-proxies-alist):
1235 Adapt custom options type. (Bug#7445)
1237 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1239 * progmodes/python.el: Add Ipython support (Bug#5390).
1240 (python-shell-prompt-alist)
1241 (python-shell-continuation-prompt-alist): New options.
1242 (python--set-prompt-regexp): New function.
1243 (inferior-python-mode, run-python, python-shell):
1244 Require ansi-color. Use python--set-prompt-regexp to set the comint
1245 prompt based on the Python interpreter.
1246 (python--prompt-regexp): New var.
1247 (python-check-comint-prompt)
1248 (python-comint-output-filter-function): Use it.
1249 (run-python): Use a pipe (Bug#5694).
1251 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1253 * progmodes/python.el (run-python): Doc fix.
1254 (python-keep-current-directory-in-path): New var (Bug#7454).
1256 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1258 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1259 Prompt user before actually printing.
1261 2010-11-27 Glenn Morris <rgm@gnu.org>
1263 * startup.el (package-enable-at-startup, package-initialize):
1264 Remove unnecessary declarations.
1266 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1268 * international/characters.el (glyphless-char-display-control):
1269 Exclude newline and TAB from the c0-control group.
1271 2010-11-27 Glenn Morris <rgm@gnu.org>
1273 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1274 (expand-mail-aliases): Remove unnecessary autoload.
1276 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1278 * shell.el (shell-dir-cookie-re): Move definition before use.
1280 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1281 Replace undefined CL functions.
1283 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1285 * simple.el (prog-mode): Set bidi-paragraph-direction to
1288 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1290 2010-11-26 Glenn Morris <rgm@gnu.org>
1292 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1293 diary-outlook-formats can be sensitive to calendar-date-style.
1294 (diary-outlook-formats): Simplify the default setting.
1295 (diary-from-outlook-internal): Pass subject and body as arguments.
1296 Use dolist rather than dotimes. Don't save the diary buffer.
1297 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1298 Pass subject and body as explicit arguments to the -internal function.
1300 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1302 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1303 parsing them. This makes mailto:...?subject=foo\nbar work.
1305 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * vc/diff.el (diff): Fix last change.
1309 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1312 (pcase--dontcare-upats): New var.
1313 (pcase-let, pcase-let*): Generate better code.
1314 Accept the same bodies as `let'.
1315 (pcase-dolist): New macro.
1316 (pcase--trivial-upat-p): New helper function.
1317 (pcase--expand): Strip leading "(let nil" if any.
1319 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1321 * mail/mailclient.el (browse-url): Require.
1322 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1323 use the external browser function to send the mail (bug#7469).
1325 * net/browse-url.el (browse-url-browser-function): Revert the
1326 default back to the previous value, since the new value broke
1328 (browse-url-mailto-function): New variable for mailto: URLs.
1329 (browse-url): Use the new variable for mailto: URLs.
1331 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * eshell/esh-cmd.el (eshell-parse-command):
1334 * eshell/esh-arg.el (eshell-parse-arguments):
1335 * eshell/em-script.el (eshell-source-file):
1336 Use with-silent-modifications.
1338 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1340 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1341 for a merge location.
1343 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1344 (vc-bzr-merge-branch): Always prompt.
1345 (vc-bzr-async-command): Use the full branch filename.
1347 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1349 * shell.el (shell): Use current-buffer by default if it's already
1350 a shell mode buffer and its process is dead.
1351 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1353 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1355 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1356 Mention that the keywords should be comma separated.
1358 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1360 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1361 Accept optional prefix arg meaning to prompt for a command.
1362 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1363 prefix arg meaning to prompt for a command.
1364 (vc-pull): Alias for vc-update.
1366 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1367 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1368 (vc-bzr-merge-branch): New functions, implementing merge-branch
1369 and pull operations.
1371 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * Makefile.in: Fix up last merge.
1375 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1376 (diff-sentinel): Get them as arguments instead.
1377 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1378 (diff-file-local-copy, diff-better-file-name): New funs.
1379 (diff-no-select): Rename from diff-into-buffer.
1380 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1381 Prefer closures to buffer-local variables.
1382 (diff): Adjust accordingly.
1383 (diff-buffer-with-file): Move from files.el.
1384 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1385 (diff-buffer-internal): Remove.
1386 (diff-buffer-buffer): Remove.
1387 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1388 the buffer name used, and so as not to mess up windows and frames.
1390 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1392 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1393 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1394 (diff-buffer-with-file): Use it.
1395 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1398 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1400 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1401 \ref's or \pageref's value as default instead of initial input.
1403 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1405 * files.el (backup-by-copying-when-mismatch): The default value is
1408 * startup.el (normal-top-level):
1409 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1410 `backup-by-copying-when-mismatch'.
1412 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1414 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1416 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1418 * progmodes/python.el (python-font-lock-keywords):
1419 Highlight top-level augmented assignments (Bug#6445).
1421 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1423 * term/ns-win.el (ns-right-control-modifier)
1424 (ns-right-command-modifier): Defvar them.
1426 * cus-start.el (all): Add ns-right-control-modifier and
1427 ns-right-command-modifier (Bug#7458).
1429 2010-11-20 Glenn Morris <rgm@gnu.org>
1431 * emacs-lisp/authors.el (authors-ignored-files)
1432 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1434 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1436 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1437 (report-emacs-bug-parse-query-results)
1438 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1439 keywords used for querying the bug database to show them in the
1440 existing bugs buffer.
1442 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1444 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1446 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1448 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1450 * international/characters.el (glyphless-char-display-control):
1451 Make it a defcustom, with update-glyphless-char-display as its
1453 (top level): Don't call update-glyphless-char-display.
1455 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1457 Sync with Tramp 2.2.0.
1459 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1460 `file-remote-p' (due to compatibility).
1462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1463 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1465 * net/trampver.el: Update release number.
1467 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1469 * faces.el (glyphless-char): Define value for `pc'.
1471 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1473 Implemented a bug querying mechanism.
1474 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1475 (report-emacs-bug-create-existing-bugs-buffer)
1476 (report-emacs-bug-parse-query-results)
1477 (report-emacs-bug-query-existing-bugs): New functions.
1479 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1481 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1482 a \ref{} or \pageref{} macro, then use its value as initial input.
1484 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1486 * calc/calc-units.el (math-build-units-table-buffer):
1487 calc/README: Mention that the TeX specific units won't use the
1488 `tex' prefix in TeX mode.
1489 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1490 prefix for units in TeX mode.
1492 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * simple.el (kill-new, kill-append, kill-region):
1495 * comint.el (comint-kill-region): Make the yank-handler argument
1498 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1501 that are both openers (resp. closers) and something else.
1502 (smie-grammar): Loosen definition of valid values.
1503 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1504 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1505 (smie-indent-after-keyword): Adjust users.
1506 (smie-indent-keyword): Don't indent empty lines.
1508 * vc-hg.el (vc-hg-program): New var.
1509 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1510 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1512 2010-11-18 Glenn Morris <rgm@gnu.org>
1514 * emacs-lisp/autoload.el (autoload-find-destination): The function
1515 coding-system-eol-type may return non-numeric values. (Bug#7414)
1517 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1519 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1521 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1523 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1525 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1527 * textmodes/picture.el (picture-mouse-set-point): Don't use
1528 posn-col-row; explicitly compute the motion based on the posn at
1529 the window-start (Bug#7390).
1531 2010-11-18 Glenn Morris <rgm@gnu.org>
1533 * novice.el (disabled-command-function):
1534 Fix 2009-11-15 change. (Bug#7384)
1536 2010-11-18 Glenn Morris <rgm@gnu.org>
1538 * calendar/calendar.el (diary-iso-date-forms): Make elements
1539 mutually exclusive. (Bug#7377)
1541 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1543 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1544 when filling the remaining "unconstrained" values.
1546 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1551 * files.el (safe-local-variable-p): Gracefully handle errors.
1553 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1554 Use smie-indent-virtual when indenting relative to an opener.
1555 (smie-rule-separator): Use smie-rule-parent.
1556 (smie-indent-keyword): Consult rules, even for openers at bol.
1557 (smie-indent-comment-close): Try to align closer's content.
1559 2010-11-18 Glenn Morris <rgm@gnu.org>
1561 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1563 2010-11-18 Glenn Morris <rgm@gnu.org>
1565 * printing.el (pr-menu-bind): Doc fix.
1567 * speedbar.el (speedbar-toggle-images): Doc fix.
1569 * progmodes/python.el (python-shell): Doc fix.
1571 * wid-edit.el (widget-field-use-before-change)
1572 (widget-use-overlay-change): Doc fixes.
1574 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1576 Minor cleanup to improve style.
1577 * textmodes/rst.el (rst-update-section): Use point-marker.
1578 (rst-get-decoration): Eliminate unneeded assignment.
1579 (rst-promote-region, rst-straighten-decorations)
1580 (rst-section-tree, rst-adjust): Use point-marker.
1581 (rst-toc-mode-mouse-goto): Avoid setq.
1582 (rst-shift-region-guts, rst-shift-region-left)
1583 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1584 (rst-convert-bullets-to-enumeration): Use copy-marker.
1586 * minibuffer.el (completion-fail-discreetly): New var.
1587 (completion--do-completion): Use it.
1589 * electric.el (electric-pair-pairs): New var.
1590 (electric-pair-post-self-insert-function): Use it.
1591 (electric-layout-post-self-insert-function): Don't insert a before
1592 newline unless it's actually needed.
1594 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * progmodes/python.el (run-python): Explain why we remove the current
1597 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1599 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1601 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1604 (octave-mode-map): Don't bind ;, SPC, and LF.
1605 (octave-auto-indent, octave-auto-newline): Remove.
1606 (electric-layout-rules): Declare.
1607 (octave-mode): Set electric-layout-rules.
1608 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1609 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1610 (octave-electric-space): Remove.
1612 * electric.el (electric-layout-mode): New minor mode.
1613 (electric--after-char-pos): New function.
1614 (electric-indent-post-self-insert-function): Use it.
1615 (electric-layout-rules): New var.
1616 (electric-layout-post-self-insert-function): New function.
1617 (electric-indent-mode): Make them interact better.
1619 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1621 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1622 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1623 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1625 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1627 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1628 Make sure to check inside the word (Bug#6761).
1630 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1632 * startup.el (command-line): If the cursorColor resource is set,
1633 change the cursor face-spec (Bug#7392).
1635 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1637 The main features of the following allout.el changes are:
1638 - implement user customization for the allout key bindings
1639 - add a customization control by which the user can inhibit use of
1640 a trailing Ctrl-H, so by default it's reserved for use with
1641 describe-prefix-bindings
1642 - adapt to new version of called-interactively-p, while
1643 maintaining backwards compatibility with old version
1644 - fix hotspot navigation so i works properly with meta-modified keys
1646 * allout.el (allout-keybindings, allout-bind-keys)
1647 (allout-keybindings-binding, allout-prefixed-keybindings)
1648 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1649 (allout-keybindings-list, allout-mode-map-adjustments)
1650 (allout-setup-mode-map): Establish allout-mode keymaps as user
1651 customizable settings, and also establish a customizable setting which
1652 regulates whether or not a trailing control-h is reserved for use with
1653 describe-prefix-bindings - and inhibit it by default, so that control-h
1654 *is* reserved for describe-prefix-bindings unless the user changes it.
1656 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1657 and accurately between modified and unmodified events, and handle
1658 modified events more comprehensively.
1660 * allout.el (allout-substring-no-properties):
1661 Alias to use or provide version of `substring-no-properties'.
1662 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1664 * allout.el (allout-next-single-char-property-change):
1665 Alias to use or provide version of `next-single-char-property-change'.
1666 (allout-annotate-hidden, allout-hide-by-annotation):
1667 Use `allout-next-single-char-property-change'.
1669 * allout.el (allout-select-safe-coding-system):
1670 Alias to use or provide version of `select-safe-coding-system'.
1671 (allout-toggle-subtree-encryption):
1672 Use `allout-select-safe-coding-system'.
1674 * allout.el (allout-set-buffer-multibyte):
1675 Alias to use or provide version of `set-buffer-multibyte'.
1676 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1678 * allout.el (allout-called-interactively-p): Macro for using the
1679 different versions of called-interactively-p identically, depending on
1680 the subroutine's argument signature.
1681 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1682 Use `(interactive "p")' instead of `(called-interactively-p)'.
1684 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1685 (allout-previous-visible-heading, allout-forward-current-level)
1686 (allout-backward-current-level, allout-show-children):
1687 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1689 * allout.el (allout-before-change-handler):
1690 Exempt edits to the (overlaid) character after the allout outline
1691 bullet from edit confirmation prompt.
1693 * allout.el (allout-add-resumptions):
1694 Ensure that it respects correct buffer for keybindings.
1696 * allout.el (allout-beginning-of-line):
1697 Use `allout-previous-single-char-property-change' alias for the sake of
1698 diverse compatibility.
1700 * allout.el (allout-end-of-line):
1701 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1703 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1705 * frame.el (frame-notice-user-settings): Don't clobber other
1706 user-set parameters when calling face-set-after-frame-default in
1707 response to background-color parameter (Bug#7373).
1709 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1711 * international/characters.el (glyphless-char-display-control):
1712 Rename from glyphless-char-control; all users changed. Doc fix.
1713 Signal an error if display method is not one of the recognized
1716 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1718 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1719 (tramp-compat-line-end-position): Remove them.
1721 * net/tramp.el (tramp-parse-rhosts-group)
1722 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1723 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1724 (tramp-parse-netrc-group, tramp-parse-putty-group)
1725 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1726 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1727 (tramp-sh-handle-file-selinux-context)
1728 (tramp-sh-handle-file-name-all-completions)
1729 (tramp-sh-handle-insert-directory)
1730 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1731 (tramp-wait-for-output, tramp-send-command-and-read)
1732 * net/tramp-smb.el (tramp-smb-read-file-entry)
1733 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1735 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1737 (tramp-remote-coding-commands): Add an alternative using "base64
1738 -d -i". This is needed for older base64 versions from GNU
1739 coreutils. Reported by Klaus Reichl
1740 <Klaus.Reichl@thalesgroup.com>.
1742 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1744 * simple.el (count-words-region): New function.
1746 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * shell.el (shell-dir-cookie-re): New custom variable.
1749 (shell-dir-cookie-watcher): New function.
1751 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1752 and compilation-mode (bug#7350).
1754 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1755 highlight when one of them is empty.
1757 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1759 (skeleton-newline): New function.
1760 (skeleton-internal-1): Use it.
1762 * simple.el (open-line): `newline' may strip trailing space.
1764 2010-11-12 Kevin Ryde <user42@zip.com.au>
1766 * international/mule-cmds.el (princ-list): Use mapc.
1768 2010-11-12 Glenn Morris <rgm@gnu.org>
1770 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1771 Use it to replace all instances of "*Compile-Log*"
1773 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1778 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * progmodes/modula2.el: Use SMIE and skeleton.
1781 (m2-mode-syntax-table): (*..*) can be nested.
1782 Add //...\n. Fix paren syntax.
1783 (m2-mode-map): Remove LF and TAB bindings.
1784 (m2-indent): Add safety property.
1785 (m2-smie-grammar): New var.
1786 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1787 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1788 (m2-mode): Use define-derived-mode.
1789 (m2-newline, m2-tab): Remove.
1790 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1791 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1792 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1793 (m2-import): Use define-skeleton.
1795 2010-11-11 Glenn Morris <rgm@gnu.org>
1797 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1799 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1800 (ls-lisp-verbosity): Add custom :set-after property.
1801 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1802 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1803 (ls-lisp-insert-directory): Update caller.
1804 (ls-lisp-set-options): New function.
1805 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1808 * play/landmark.el (lm-prompt-for-move):
1809 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1811 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1813 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1814 (idlwave-study-twins): Prefix dynamic local variable `name'.
1815 (idlwave-routine-twin-compare): Update for above change.
1817 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1818 Prefix dynamic local variables `name', `kwd', and `link'.
1819 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1820 * progmodes/idlw-complete-structtag.el
1821 (idlwave-complete-structure-tag-help):
1822 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1823 (idlwave-complete-sysvar-tag-help)
1824 (idlwave-complete-class-structure-tag-help):
1825 Update for above name changes.
1827 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1829 * net/browse-url.el (browse-url-browser-function): Change the
1830 default to use `browse-url-mail' on mailto: URLs.
1832 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1834 * emacs-lisp/package.el (package-read-all-archive-contents):
1835 Reset package-archive-contents to nil before re-reading.
1837 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1839 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1840 already found as misspellings by (flyspell-large-region), just
1841 do highlighting (bug#7322).
1843 2010-11-10 Glenn Morris <rgm@gnu.org>
1845 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1847 * emulation/edt.el (edt-with-position): New macro.
1848 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1849 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1850 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1852 * emulation/tpu-extras.el (tpu-with-position): New macro.
1853 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1855 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1857 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1858 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1859 (texinfo-master-menu, texinfo-insert-node-lines)
1860 (texinfo-multiple-files-update):
1861 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1862 Use line-beginning-position.
1864 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1865 No recent Emacs supports system-type `emx'.
1867 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1868 (ada-command-separator, ada-default-prj-properties)
1869 (ada-find-any-references): Update for above name change.
1871 * dirtrack.el (dirtrack-directory-function)
1872 (dirtrack-canonicalize-function):
1873 * filecache.el (file-cache-completion-ignore-case)
1874 (file-cache-case-fold-search, file-cache-ignore-case):
1875 * term.el (serial-port-is-file-p): Cosmetic change.
1877 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1878 Remove non-existent `windows-95' system-type.
1879 * dired.el (dired-chown-program): Remove non-existent `linux'
1882 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1883 (ping-program-options): Remove non-existent `linux' system-type.
1885 * startup.el (package-initialize): Update declaration.
1887 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1888 (ls-lisp-handle-switches): Use time-less-p.
1889 (ls-lisp-format-time): Use float-time.
1891 * textmodes/remember.el (remember-time-to-seconds): Remove.
1892 (remember-store-in-mailbox): Use float-time.
1894 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1896 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1897 never a real function.
1898 (with-no-warnings): Remove compat stub, now unused.
1899 (time-less-p): Doc fix.
1900 (time-to-number-of-days): Simplify.
1902 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1904 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1905 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1906 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1907 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1908 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1910 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1911 (eshell-shuffle-files, eshell-shorthand-tar-command)
1912 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1913 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1914 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1915 Prefix dynamic local variable `matches'.
1917 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1918 Prefix dynamic local variable `skeleton'.
1920 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1922 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1923 in mail buffer; make yank-action always a command that yanks original
1926 2010-11-09 Glenn Morris <rgm@gnu.org>
1928 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1930 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1933 completion field (bug#7211).
1935 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1936 Fix handling of backslash escapes.
1937 (python-quote-syntax): Adjust accordingly.
1939 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1941 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1942 (vc-mtn-workfile-branch): Adjust to new output format.
1944 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * international/mule-cmds.el (princ-list): Mark as obsolete.
1948 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * emacs-lisp/smie.el: New package.
1952 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1954 * files.el (backup-by-copying-when-mismatch):
1955 Set `permanent-local' property.
1957 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1958 `permanent-local' property for `backup-by-copying-when-mismatch'.
1960 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1962 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1964 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1966 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1967 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1968 AUTOINOUT for SV style multidimensional arrays, bug294.
1969 Reported by Eric Mastromarchi.
1970 (verilog-preprocess): Use with-current-buffer and
1971 font-lock-fontify-buffer to cleanup style issues.
1973 2010-11-09 Glenn Morris <rgm@gnu.org>
1975 * locate.el (locate, locate-mode): Doc fixes.
1977 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1979 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1980 user for confirmation.
1981 (server-force-stop): Use it.
1982 (server-start): Use server-force-stop for kill-emacs-hook, to
1983 avoid user interaction while killing Emacs.
1985 2010-11-09 Glenn Morris <rgm@gnu.org>
1987 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1988 (meta-indent-line): Simplify.
1990 * vc/emerge.el (emerge-line-number-in-buf):
1991 * textmodes/ispell.el (ispell-region):
1992 * textmodes/fill.el (current-fill-column):
1993 * progmodes/xscheme.el (xscheme-send-current-line):
1994 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1995 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1996 * progmodes/sh-script.el (sh-handle-prev-do):
1997 * progmodes/meta-mode.el (meta-indent-line):
1998 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2000 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2001 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2002 * progmodes/fortran.el (fortran-looking-at-if-then):
2003 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2004 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2005 (cperl-find-pods-heres):
2006 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2007 * net/quickurl.el (quickurl-list-insert):
2008 * net/ldap.el (ldap-search-internal):
2009 * net/eudc.el (eudc-expand-inline):
2010 * mail/sendmail.el (sendmail-send-it):
2011 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2012 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2013 (viper-brac-function):
2014 * calc/calc-yank.el (calc-do-grab-region):
2015 * calc/calc-keypd.el (calc-keypad-press):
2016 * term.el (term-move-columns, term-insert-spaces):
2017 * speedbar.el (speedbar-highlight-one-tag-line):
2018 * simple.el (current-word):
2019 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2020 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2022 * hippie-exp.el (he-line-beg):
2023 * epa.el (epa--marked-keys):
2024 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2025 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2026 (dired-relist-entry):
2027 * buff-menu.el (Buffer-menu-buffer):
2028 * array.el (current-line):
2029 * allout.el (allout-resolve-xref)
2030 (allout-latex-verbatim-quote-curr-line):
2031 Replace yet more uses of end-of-line etc with line-end-position, etc.
2033 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2036 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2037 (checkdoc-syntax-table): Initialize in the declaration.
2038 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2039 the mode on unconditionally.
2041 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2042 (extent-end-position, extent-start-position): Remove setf method for
2043 non-existing functions (bug#7319).
2045 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2048 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2049 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2050 (smie-prec2->grammar): Rename from smie-prec2-levels.
2051 (smie-grammar): Rename from smie-op-levels.
2052 (smie-indent--hanging-p): Rename from smie-hanging-p.
2053 (smie-rule-hanging-p): New alias.
2054 (smie-indent--bolp): Rename from smie-bolp.
2055 (smie-indent--hanging-p): New alias.
2056 (smie--token): New dynamically bound variable.
2057 (smie-indent--parent): New function.
2058 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2059 (smie-rule-next-p): Rename from smie-next-p.
2060 (smie-rule-prev-p): Rename from smie-prev-p.
2061 (smie-rule-sibling-p, smie-rule-parent)
2062 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2063 (smie-rule-separator-outdent): New var.
2064 (smie-indent--rule): Merge with smie-indent--column.
2065 (smie-indent-forward-token, smie-indent-backward-token):
2066 Also recognize close parens.
2067 (smie-indent-keyword): Don't use smie-indent--column any more.
2068 (smie-indent-after-keyword): Ignore closers by default.
2069 (smie-indent-line): Use with-demoted-errors.
2070 * progmodes/octave-mod.el (octave-smie-grammar):
2071 Rename from octave-smie-op-levels.
2072 (octave-smie-rules): Adjust to new behavior.
2073 * progmodes/prolog.el (prolog-smie-grammar):
2074 Rename from prolog-smie-op-levels.
2076 2010-11-07 Glenn Morris <rgm@gnu.org>
2078 * eshell/esh-util.el (subst-char-in-string)
2079 (directory-files-and-attributes): These compatibility definitions are
2080 not needed on any version of Emacs since at least 21.4.
2082 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2083 (verilog-get-end-of-line): Remove.
2084 (verilog-within-string, verilog-re-search-forward-substr)
2085 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2086 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2087 Use point-at-bol, point-at-eol.
2088 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2090 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2091 (electric-pascal-terminate-line, pascal-set-auto-comments)
2092 (pascal-indent-paramlist, pascal-indent-declaration)
2093 (pascal-get-lineup-indent, pascal-func-completion)
2094 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2095 Use point-at-bol, point-at-eol.
2096 * progmodes/flymake.el (flymake-line-beginning-position)
2097 (flymake-line-end-position): Remove.
2098 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2099 * eshell/esh-util.el (line-end-position, line-beginning-position):
2100 Remove compat definitions.
2102 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2104 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2105 Use line-end-position.
2107 * emacs-lisp/chart.el (chart-zap-chars):
2108 * play/decipher.el (decipher-set-map):
2109 * progmodes/ada-mode.el (ada-get-current-indent)
2110 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2111 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2112 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2113 (ada-get-all-references):
2114 * progmodes/cperl-mode.el (cperl-electric-paren)
2115 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2116 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2117 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2118 (cperl-word-at-point-hard):
2119 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2120 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2121 (idlwave-shell-display-line):
2122 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2123 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2124 * progmodes/js.el (js--re-search-forward-inner)
2125 (js--re-search-backward-inner):
2126 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2127 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2128 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2129 * textmodes/flyspell.el (flyspell-process-localwords):
2130 * textmodes/ispell.el (ispell-buffer-local-parsing)
2131 (ispell-buffer-local-dict, ispell-buffer-local-words):
2132 Use point-at-bol and point-at-eol.
2134 * speedbar.el (speedbar-generic-item-info)
2135 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2136 (speedbar-add-indicator, speedbar-check-vc-this-line)
2137 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2138 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2139 Replace more uses of end-of-line etc with line-end-position.
2141 2010-11-06 Glenn Morris <rgm@gnu.org>
2143 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2144 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2145 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2146 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2147 (texinfo-multiple-files-update):
2148 * textmodes/table.el (table--probe-cell-left-up)
2149 (table--probe-cell-right-bottom):
2150 * textmodes/picture.el (picture-tab-search):
2151 * textmodes/page-ext.el (pages-copy-header-and-position)
2152 (pages-directory-for-addresses):
2153 * progmodes/vera-mode.el (vera-get-offset):
2154 * progmodes/simula.el (simula-calculate-indent):
2155 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2156 * progmodes/prolog.el (end-of-prolog-clause):
2157 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2158 * progmodes/icon.el (indent-icon-exp):
2159 * progmodes/etags.el (tag-re-match-p):
2160 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2161 * progmodes/ebnf2ps.el (ebnf-begin-file):
2162 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2163 (dcl-save-local-variable):
2164 * play/life.el (life-setup):
2165 * play/gametree.el (gametree-looking-at-ply):
2166 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2167 * mail/sendmail.el (mail-mode-auto-fill):
2168 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2169 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2170 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2171 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2172 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2173 * type-break.el (type-break-file-keystroke-count):
2174 * term.el (term-replace-by-expanded-history-before-point)
2175 (term-skip-prompt, term-extract-string):
2176 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2177 (speedbar-contract-line, speedbar-toggle-line-expansion)
2178 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2179 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2180 * sort.el (sort-skip-fields):
2181 * skeleton.el (skeleton-internal-list):
2182 * simple.el (line-move-finish, line-move-to-column):
2183 * shell.el (shell-forward-command):
2184 * misc.el (copy-from-above-command):
2185 * makesum.el (double-column):
2186 * ebuff-menu.el (electric-buffer-update-highlight):
2187 * dired.el (dired-move-to-end-of-filename):
2188 * dframe.el (dframe-popup-kludge):
2189 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2190 * arc-mode.el (archive-get-lineno):
2191 Use line-end-position and line-beginning-position.
2193 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2194 (idlwave-study-twins): Prefix dynamic local `class'.
2195 (idlwave-routine-twin-compare): Update for above name change.
2197 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2198 Use boundp tests to silence compiler. Update for changed name of
2199 bytecomp-filename variable.
2201 * emulation/viper-cmd.el (viper-read-string-with-history):
2202 Prefix dynamic local `initial'.
2203 (viper-minibuffer-standard-hook): Update for above name change.
2205 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2206 (elint-init-form): Update for above name change.
2208 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2209 local variables `cbeg' and `cend' a prefix.
2210 (mail-extr-voodoo): Update for above name change.
2212 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2213 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2214 (reftex-toc-promote-action): Doc fix.
2216 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2217 `prompt', `data' a prefix.
2218 (reftex-select-post-command-hook, reftex-select-callback)
2219 (reftex-select-mouse-accept, reftex-select-read-cite):
2220 Update for above name changes.
2222 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2223 `refstyle' to reftex-refstyle.
2224 (reftex-offer-label-menu): Update for above name change.
2225 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2226 `refstyle' name change.
2228 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2229 with with-current-buffer.
2230 (diff, template): Give dynamic local variables a prefix.
2231 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2232 (emerge-line-number-in-buf): Update for above name change.
2233 (emerge-combine-versions-internal): Rename local `template' to
2234 emerge-combine-template.
2235 (emerge-combine-versions-edit): Update for above name change.
2237 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2239 * textmodes/reftex-cite.el
2240 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2241 entries with whitespace after \bibitem.
2242 (reftex-create-bibtex-file): Match entries containing numbers and
2243 symbol constituents. Make sure that entries with whitespace at
2244 various places are found.
2246 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2248 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2250 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2252 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2254 2010-11-05 Glenn Morris <rgm@gnu.org>
2256 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2257 (woman2-roff-buffer): Give local variable `request' a prefix.
2258 (woman0-macro): Rename argument `request' in the same way.
2259 (woman-request): New name for `request' dynamic variable.
2260 (woman-unquote, woman-forward-arg): Update for above name change.
2261 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2262 (woman1-unquote): New name for `unquote' dynamic variable.
2263 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2264 (woman-translations): Rename from `translations'. No longer global.
2265 (woman2-tr, woman-translate): Update for above name change.
2266 (woman-translate): Check for bound variable.
2267 (woman2-roff-buffer): Give local variable `translations' a prefix.
2269 * play/doctor.el: Give all local variables a prefix. Update callers.
2270 (doc$, doctor-put-meaning): Use backquote.
2272 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2273 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2275 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2276 variables bytes, ptr, op a prefix.
2277 (disassemble-offset): Update for above change.
2279 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2281 * emacs-lisp/package.el (package-unpack): Remove no-op.
2282 (package--builtins, package--dir): Doc fix.
2283 (package-activate-1, package-activate, package-install)
2284 (package-compute-transaction): Fix error message.
2285 (package-delete): Use delete-directory. Omit system packages.
2286 (package-initialize): Set package-alist to nil first.
2287 (package-menu-mark-delete, package-menu-mark-install): Don't add
2288 symbols that are inconsistent with the package state.
2289 (package-menu-execute): Perform deletions and installations as
2290 single batch operations.
2292 2010-11-03 Glenn Morris <rgm@gnu.org>
2294 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2295 (props): Remove unnecessary declaration.
2297 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2298 set-process-query-on-exit-flag.
2300 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2301 (reftex-toc-do-promote): Remove unused local `mpos'.
2302 (reftex-toc-restore-region): Make `mpos' local to this function.
2304 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2306 * play/landmark.el (lm-losing-threshold): Correct spelling.
2307 (lm-human-plays): Use new name.
2309 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2310 (gomoku-human-plays): Use new name.
2312 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2313 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2314 (gomoku-score-trans-table, gomoku-winning-threshold)
2315 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2317 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2319 * emacs-lisp/package.el: Don't put built-in packages in
2320 package-alist, to avoid loading inefficiencies.
2321 (package-built-in-p): Make VERSION optional, and treat it as a
2322 minimum acceptable version.
2323 (package-activate): Search separately for built-in packages.
2324 Emit a warning if a dependency fails.
2325 (define-package): Handle most common case, where there is no
2326 obsolete package, first.
2327 (package-compute-transaction): Print required version in error.
2328 (package--initialized): New variable.
2329 (list-packages): Use it.
2330 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2331 built-in packages in packages-alist; keep it separate.
2332 Set package--initialized.
2333 (describe-package): Avoid activating packages as a side-effect.
2334 Search separately for built-in packages.
2335 (describe-package-1): Handle the case where an elpa package is
2336 simultaneously built-in and available/installed.
2337 (package-installed-p, package--generate-package-list):
2338 Search separately for built-in packages.
2339 (package-load-descriptor): Doc fix.
2341 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2344 Handle __DATA__ and __END__.
2346 2010-11-02 Noah Friedman <friedman@splode.com>
2348 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2349 nil, do not ask to recompile files that are not already compiled,
2350 and do not recompile them.
2352 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2354 * emacs-lisp/package.el (package-initialize): Ensure that
2355 obsoleted built-in packages are not in package-activated-list
2357 (describe-package-1): Make the "installed" status override
2360 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2362 * subr.el (version-separator, version-regexp-alist): Remove '*'
2364 (version-list-<=, version<=, version=): Doc fix.
2366 2010-11-01 Kenichi Handa <handa@m17n.org>
2368 * faces.el (glyphless-char): Inherit underline for tty.
2370 2010-11-01 Kenichi Handa <handa@m17n.org>
2372 Implement various display methods for glyphless characters.
2374 * international/characters.el (char-acronym-table): New variable.
2375 (glyphless-char-control): New variable.
2376 (update-glyphless-char-display): New funciton.
2378 * faces.el (glyphless-char): New face.
2380 2010-11-01 Glenn Morris <rgm@gnu.org>
2382 * calendar/holidays.el (general-holidays, oriental-holidays)
2383 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2384 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2385 the definitions of their targets.
2387 * emacs-lisp/smie.el (smie): New custom group.
2388 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2390 * faces.el (xw-defined-colors, x-setup-function-keys):
2391 * mouse-sel.el (x-select-text):
2392 * term/w32console.el (x-setup-function-keys): Update declarations.
2394 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2396 * textmodes/ispell.el (comment-add): Declare.
2398 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2401 * info.el (finder-keywords-hash, package-alist): Declare.
2403 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2405 * finder.el (finder-compile-keywords): Don't use intern-soft,
2406 since package names may not yet exist in the obarray.
2408 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2410 * vc/vc-arch.el (vc-arch-checkin):
2411 * vc/vc-cvs.el (vc-cvs-checkin):
2412 * vc/vc-mtn.el (vc-mtn-checkin):
2413 * vc/vc-rcs.el (vc-rcs-checkin):
2414 * vc/vc-sccs.el (vc-sccs-checkin):
2415 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2416 since 2010-04-21 commit by Stefan Monnier.
2418 2010-11-01 Glenn Morris <rgm@gnu.org>
2420 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2422 * startup.el (package-enable-at-startup, package-initialize):
2425 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2428 2010-10-31 Julien Danjou <julien@danjou.info>
2430 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2431 (byte-recompile-directory):
2432 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2433 Use `byte-recompile-file'.
2435 2010-10-31 Glenn Morris <rgm@gnu.org>
2437 * cus-start.el: Handle standard values via a keyword.
2438 Only set version property if specified.
2439 (cursor-in-non-selected-windows, menu-bar-mode)
2440 (tool-bar-mode, show-trailing-whitespace):
2441 Do not specify standard values.
2442 (transient-mark-mode, temporary-file-directory): Use :standard.
2444 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2446 * term/x-win.el (x-get-selection-value): New function that gets
2447 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2449 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2451 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2452 preserve owner and group when editing files. (Bug#7289)
2454 2010-10-31 Glenn Morris <rgm@gnu.org>
2456 * speedbar.el (speedbar-mode):
2457 * play/fortune.el (fortune-in-buffer, fortune):
2458 * play/gomoku.el (gomoku-mode):
2459 * play/landmark.el (lm-mode):
2460 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2461 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2463 * select.el (x-selection): Mark it as an obsolete alias.
2465 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2467 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2468 major-mode (bug#7284).
2470 2010-10-31 Glenn Morris <rgm@gnu.org>
2472 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2473 rather than just an unused variable that inherits from the real one.
2475 2010-10-31 Alan Mackenzie <acm@muc.de>
2477 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2478 This fixes bug #7185.
2480 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2482 * startup.el (command-line): Search for package directories, and
2483 don't load package.el if none are found.
2485 * emacs-lisp/package.el (describe-package, list-packages):
2486 Call package-initialize if it has not been called yet.
2488 2010-10-30 Alan Mackenzie <acm@muc.de>
2490 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2491 which fontifies the tail of an enum.
2492 (c-basic-matchers-after): Insert a call to the above new function.
2493 This fixes bug #7264.
2495 2010-10-30 Glenn Morris <rgm@gnu.org>
2497 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2498 tool-bar-mode, transient-mark-mode. (Bug#7306)
2499 Include the :set property in the dumped Emacs.
2501 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2503 SMIE: change indent rules format, improve smie-setup.
2504 * emacs-lisp/smie.el (smie-precs-precedence-table)
2505 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2506 Mark them pure so the tables gets built at compile time.
2507 (smie-bnf-precedence-table): Store the closer-alist in the table.
2508 (smie-prec2-levels): Preserve the closer-alist.
2509 (smie-blink-matching-open): Be more forgiving in case of indentation.
2510 (smie-hanging-p): Rename from smie-indent--hanging-p.
2511 (smie-bolp): Rename from smie-indent--bolp.
2512 (smie--parent, smie--after): New dynamic vars.
2513 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2514 (smie-indent-rules): Remove.
2515 (smie-indent--offset-rule): Remove fun.
2516 (smie-rules-function): New var.
2517 (smie-indent--rule): New fun.
2518 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2519 (smie-indent-exps): Use it.
2520 (smie-setup): Setup paren blinking; add keyword args for token
2521 functions; extract closer-alist from op-levels.
2522 (smie-indent-debug-log): Remove var.
2523 (smie-indent-debug): Remove fun.
2524 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2525 (prolog-smie-rules): New fun to replace it.
2526 (prolog-mode-variables): Simplify.
2527 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2528 it's setup automatically.
2529 (octave-smie-indent-rules): Remove.
2530 (octave-smie-rules): New fun to replace it.
2531 (octave-mode): Simplify.
2533 2010-10-29 Glenn Morris <rgm@gnu.org>
2535 * files.el (temporary-file-directory): Remove (already defined in C).
2536 * cus-start.el: Add temporary-file-directory.
2538 * abbrev.el (abbrev-mode):
2539 * composite.el (auto-composition-mode):
2540 * menu-bar.el (menu-bar-mode):
2541 * simple.el (transient-mark-mode):
2542 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2543 that they do not define the associated variables twice.
2544 * simple.el (transient-mark-mode): Remove defvar.
2545 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2546 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2547 Handle multiple groups, and also custom-delayed-init-variables.
2548 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2550 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2553 (pcase-if): Add one minor optimization.
2554 (pcase-split-equal): Rename from pcase-split-eq.
2555 (pcase-split-member): Rename from pcase-split-memq.
2556 (pcase-u1): Add strings to the member optimization.
2557 Add `guard' variant of predicates.
2558 (pcase-q1): Add string patterns.
2560 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2564 2010-10-28 Glenn Morris <rgm@gnu.org>
2566 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2567 Move menu-bar related settings to ../menu-bar.el.
2568 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2569 Move ns-specific settings here from term/ns-win.el.
2571 * simple.el (x-selection-owner-p): Remove unused declaration.
2573 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * minibuffer.el (completion-cycling): New var (bug#7266).
2576 (minibuffer-complete, completion--do-completion):
2577 Use completion--flush-all-sorted-completions.
2578 (minibuffer-complete): Only cycle if completion-cycling is set.
2579 (completion--flush-all-sorted-completions): Unset completion-cycling.
2580 (minibuffer-force-complete): Set completion-cycling.
2581 (completion-all-sorted-completions): Move declaration before first use.
2583 2010-10-28 Leo <sdl.web@gmail.com>
2585 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2586 which changes the order of matches seen by users (bug#7231).
2588 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2590 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2591 Don't confuse -omega as "-o mega".
2593 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2596 (log-edit-author): New dynamic var.
2597 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2598 to return the author if different from committer.
2599 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2601 * play/landmark.el: Adjust commenting convention.
2602 (lm-nil-score): Rename from nil-score.
2603 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2604 (OOOOscore): Move into a let in lm-score-trans-table.
2605 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2607 * electric.el (electric-indent-chars): Autoload.
2608 * progmodes/octave-mod.el (octave-mode):
2609 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2610 (ruby-mode-abbrev-table): Merge initialization and declaration.
2612 2010-10-27 Glenn Morris <rgm@gnu.org>
2614 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2617 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2619 * term/ns-win.el: Restore require of cl when compiling.
2620 (menu-bar-final-items): Remove non-existent `windows' menu.
2621 (ns-handle-nxopen): Optionally handle the temp-case.
2622 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2623 (ns-insert-file, ns-find-file): Use `pop'.
2625 2010-10-26 Glenn Morris <rgm@gnu.org>
2627 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2629 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2631 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2633 * term/common-win.el (x-setup-function-keys): Remove most of the
2634 keymappings. Comment on the remaining ones.
2636 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2638 * server.el (server-port): New option. (Bug#854)
2639 (server-start): Use server-port.
2641 2010-10-26 Glenn Morris <rgm@gnu.org>
2643 * term/ns-win.el (ns-version-string): Remove unused declaration.
2644 (ns-invocation-args): Change to x-invocation-args.
2645 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2646 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2647 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2648 Use x-invocation-args instead of ns-invocation-args.
2649 (ns-initialize-window-system, handle-args-function-alist):
2650 Use x-handle-args instead of ns-handle-args.
2651 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2652 * startup.el (command-line-ns-option-alist): Replace
2653 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2654 ns-handle-iconic with the x- equivalents.
2656 * term/common-win.el (x-select-enable-clipboard):
2657 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2659 * term/ns-win.el: No need to require cl when compiling.
2660 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2661 (xw-defined-colors): Use the common-win definitions.
2662 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2663 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2664 * term/common-win.el (x-select-text, x-alternatives-map)
2665 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2666 * loadup.el [ns]: Load common-win.
2668 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2670 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2671 recipients; expand mail aliases (Bug#7280).
2673 2010-10-25 Glenn Morris <rgm@gnu.org>
2675 * term/common-win.el (x-handle-switch): Simplify with pop.
2676 Optionally handle numeric switches.
2677 (x-handle-numeric-switch): Just call x-handle-switch.
2678 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2679 (x-handle-name-switch, x-handle-display, x-handle-args):
2682 * term/ns-win.el: Do not require easymenu.
2683 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2684 <spell>: Move adjustments to menu-bar.el.
2685 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2686 <separator-undo, spell>: Move ns-win's adjustments here.
2687 * loadup.el [ns]: Do not load easymenu.
2689 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2691 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2694 * startup.el (fancy-startup-tail): Instead of using inline images,
2695 refer to image files from etc/.
2697 * wid-edit.el (checkbox): Likewise.
2698 (widget-image-find): Center image specs.
2700 2010-10-24 Glenn Morris <rgm@gnu.org>
2702 * term/ns-win.el (x-select-text): Doc fix.
2703 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2704 (x-select-text): Move to term/common-win.
2705 * term/w32-win.el (xw-defined-colors): Move to common-win.
2706 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2707 (x-setup-function-keys, x-select-text): Move to common-win.
2708 * term/common-win.el (x-select-text, x-alternatives-map)
2709 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2712 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2714 * net/mairix.el (mairix-searches-mode-map):
2715 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2717 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2719 * verilog-mode.el (verilog-directive-re): Make this variable
2720 auto-built for efficiency of execution and updating.
2721 (verilog-extended-complete-re): Support 'pure' fucntion & task
2722 declarations (these have no bodies).
2723 (verilog-beg-of-statement): General cleanup to enable support of
2724 'pure' fucntion & task declarations (these have no bodies).
2725 These efforts together fix Verilog bug210 from veripool; which was also
2726 noticed by Steve Pearlmutter.
2727 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2728 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2729 Support `elsif. Reported by Shankar Giri.
2730 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2731 attribute handling for lining up declarations and assignments.
2732 (verilog-beg-of-statement-1): Fix issue where continued declaration
2733 is indented differently if it is after a begin..end clock.
2734 (verilog-in-attribute-p, verilog-skip-backward-comments)
2735 (verilog-skip-forward-comment-p): Support proper treatment of
2736 attributes by indent code. Reported by Jeff Steele.
2737 (verilog-in-directive-p): Fix comment to correctly describe function.
2738 (verilog-backward-up-list, verilog-in-struct-region-p)
2739 (verilog-backward-token, verilog-in-struct-p)
2740 (verilog-in-coverage-p, verilog-do-indent)
2741 (verilog-pretty-declarations): Use verilog-backward-up-list as
2742 wrapper around backward-up-list inorder to properly skip comments.
2743 Reported by David Rogoff.
2744 (verilog-property-re, verilog-endcomment-reason-re)
2745 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2746 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2747 of if). Reported by Max Bjurling and
2748 (verilog-calc-1): Fix for clocking block in modport
2749 declaration. Reported by Brian Hunter.
2751 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2753 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2754 (verilog-gate-keywords, verilog-read-sub-decls)
2755 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2756 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2757 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2758 (verilog-read-decls): Fix spaces in V2K module parameters causing
2759 mis-identification as interfaces, bug287.
2760 (verilog-read-decls): Fix not treating "parameter string" as a
2761 parameter in AUTOINSTPARAM.
2762 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2763 treating `elsif similar to `endif inside AUTOSENSE.
2764 (verilog-do-indent): Implement correct automatic or static task or
2765 function end comment highlight. Reported by Steve Pearlmutter.
2766 (verilog-font-lock-keywords-2): Fix highlighting of single
2767 character pins, bug264. Reported by Michael Laajanen.
2768 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2769 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2770 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2771 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2772 (verilog-pretty-expr): Fix interactive arguments, bug272.
2773 Reported by Mark Johnson.
2774 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2775 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2776 bug269. Suggested by Gary Delp.
2777 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2778 (verilog-preprocessor, verilog-set-compile-command):
2779 Create verilog-preprocess and verilog-preprocessor to show
2780 preprocessed output.
2781 (verilog-get-beg-of-line, verilog-get-end-of-line)
2782 (verilog-modi-file-or-buffer, verilog-modi-name)
2783 (verilog-modi-point, verilog-within-string): Move defmacro's
2784 before first use to avoid warning. Reported by Steve Pearlmutter.
2785 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2786 (verilog-colorize-region, verilog-highlight-buffer)
2787 (verilog-highlight-includes, verilog-highlight-modules)
2788 (verilog-highlight-region, verilog-mode): Rename colorize to
2789 highlight to match other packages. Disable module highlighting,
2790 as received speed complaints, reenable for experimentation only
2791 using new verilog-highlight-modules.
2792 (verilog-read-decls): Fix regexp stack overflow in very large
2793 AUTO_TEMPLATEs, bug250.
2794 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2795 (verilog-scan): Create verilog-save-buffer-state to standardize
2796 making insignificant changes that shouldn't call hooks.
2797 (verilog-save-no-change-functions, verilog-save-scan-cache)
2798 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2799 Create verilog-save-no-change-functions to wrap verilog-scan
2800 preservation, and fix to work with nested preserved calls.
2801 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2802 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2803 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2804 (verilog-submit-bug-report): Update variable list to be complete.
2805 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2806 breaking on-the-fly font-locking.
2807 (verilog-colorize-buffer, verilog-colorize-include-files)
2808 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2809 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2810 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2811 AUTOINST cell instance name, middle mouse button now finds-file on
2812 it. Suggested by Brad Dobbie.
2813 (verilog-alw-get-temps, verilog-auto-reset)
2814 (verilog-auto-sense-sigs, verilog-read-always-signals)
2815 (verilog-read-always-signals-recurse): Fix loop indexes being
2816 AUTORESET. AUTORESET now assumes any variables in the
2817 initialization section of a for() should be ignored.
2818 Reported by Dan Dever.
2819 (verilog-error-font-lock-keywords)
2820 (verilog-error-regexp-emacs-alist)
2821 (verilog-error-regexp-xemacs-alist): Fix error detection of
2822 Cadence HAL, reported by David Asher. Repair drift between the
2823 three similar error variables.
2824 (verilog-modi-lookup, verilog-modi-lookup-cache)
2825 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2826 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2827 Fix slow verilog-auto expansion on very large files.
2828 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2829 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2830 "{1*2{...". Broke in last revision.
2831 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2832 submodule connections with replications "{#{a},#{b}}".
2834 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2836 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2837 Fix typo in docstring.
2839 2010-10-24 Kenichi Handa <handa@m17n.org>
2841 * face-remap.el (text-scale-adjust): Call read-event with a proper
2844 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2846 * emacs-lisp/unsafep.el: Don't mark functions that display
2847 messages as safe. Suggested by Johan Bockgård.
2849 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2852 Turn comments into docstrings.
2854 * minibuffer.el (completion--replace): Move point where it belongs
2855 when there's a common suffix (bug#7215).
2857 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2859 Merge read-color and facemenu-read-color (Bug#7242).
2861 * faces.el (read-color): Use the completion code from
2862 facemenu-read-color. Require match in completion. Doc fix.
2864 * facemenu.el (facemenu-read-color): Alias for read-color.
2865 (facemenu-set-foreground, facemenu-set-background):
2868 * frame.el (set-background-color, set-foreground-color)
2869 (set-cursor-color, set-mouse-color, set-border-color):
2872 2010-10-24 Leo <sdl.web@gmail.com>
2874 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2875 argument of delete-file and delete-directory (Bug#7011).
2877 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2879 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2882 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2884 * emacs-lisp/package.el (package--generate-package-list): Make the
2885 *Packages* buffer read-only.
2887 2010-10-24 Alan Mackenzie <acm@muc.de>
2889 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2890 result of `c-beginning-of-decl-1' between invocations of a lambda
2891 function (Bug #7265).
2893 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2895 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2896 executable is not available on the system (Bug#7268).
2898 2010-10-24 Glenn Morris <rgm@gnu.org>
2900 * select.el (selection-coding-system, next-selection-coding-system):
2901 Sync doc with C versions.
2903 * w32-vars.el (x-select-enable-clipboard):
2904 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2905 * term/common-win.el (x-select-enable-clipboard): Move here.
2907 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2908 definition of C variable.
2910 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2911 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2912 Don't redefine things that are defined in C.
2913 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2914 (show-trailing-whitespace, auto-hscroll-mode)
2915 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2916 Set up the appropriate custom properties.
2918 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2921 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2922 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2923 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2924 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2926 2010-10-23 Glenn Morris <rgm@gnu.org>
2928 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2931 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2932 Sync docs with C version.
2934 * term/ns-win.el (xw-defined-colors):
2935 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2937 * term/pc-win.el (x-select-enable-clipboard):
2938 * term/x-win.el (x-select-enable-clipboard):
2939 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2941 * comint.el (comint-password-prompt-regexp): Make it less vague.
2944 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2946 * help.el (finder-by-keyword): Remove unnecessary autoload.
2948 2010-10-22 Glenn Morris <rgm@gnu.org>
2950 * loadup.el: Unconditionally load float-sup.
2951 * paren.el (show-paren-delay):
2952 * emacs-lisp/float-sup.el:
2953 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2954 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2955 (lazy-lock-stealth-verbose): Assume float support.
2956 * ps-print.el: Assume float support on Emacs.
2957 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2958 Remove non-float branch.
2960 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2961 src/Makefile no longer being pre-processed.
2963 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * emacs-lisp/find-func.el (find-library): Use test-completion.
2967 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2969 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2971 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2974 space in stat format string.
2975 (tramp-send-command): Unset $PS1 when using here documents, in
2976 order not to get several prompts.
2977 (tramp-get-inline-coding): Return `nil' in case of errors.
2979 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2981 * hexl.el (hexl-mode, hexl-mode-exit):
2982 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2983 (hexl-revert-buffer-function): New function.
2984 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2986 2010-10-19 Alan Mackenzie <acm@muc.de>
2988 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2989 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2990 that these keywords aren't wrongly matched as identifiers.
2992 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2993 setting of c-new-BEG and c-new-END from c-before-change to
2994 c-after-change. (Bug#7181)
2996 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2998 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3001 * custom.el (custom-theme-set-variables): Likewise.
3002 (load-theme): Add custom-theme-set-faces and
3003 custom-theme-set-variables to safe-functions while loading.
3004 (custom-enabled-themes): Mark as risky.
3006 2010-10-18 Julien Danjou <julien@danjou.info>
3008 * bindings.el: Remove end dashes in default mode-line-format.
3010 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3012 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3013 to delete-forward-char.
3015 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3016 deletechar, and hence delete-forward-char.
3018 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * repeat.el (repeat): Use read-key (bug#6256).
3022 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3024 * emacs-lisp/unsafep.el: Don't mark functions that display
3025 messages as safe. Suggested by Johan Bockgård.
3027 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3029 * minibuffer.el (completion--replace): Move point where it belongs
3030 when there's a common suffix (bug#7215).
3032 2010-10-19 Kenichi Handa <handa@m17n.org>
3034 * international/characters.el: Add category '|' (word breakable)
3035 to fullwidth characters.
3037 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3039 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3040 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3041 order to make stat results a float. Patch by Andreas Schwab
3042 <schwab@linux-m68k.org>.
3044 2010-10-18 Julien Danjou <julien@danjou.info>
3046 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3047 hidden by `make-pointer-invisible'.
3049 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * files.el (locate-file-completion-table): Strip non-matching elements
3052 before checking length of list (bug#7238).
3054 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3056 * custom.el (custom-theme-set-variables): Mark as a safe function.
3057 (load-theme): Check forms using unsafep.
3059 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3061 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3063 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3064 Fix aspell data file searching (bug#7230).
3066 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3068 * cus-theme.el (custom-theme--migrate-settings): New var.
3069 (customize-create-theme): Allow editing the `user' theme.
3070 (custom-theme-add-variable, custom-theme-add-var-1)
3071 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3072 to the front of each variable or face widget.
3073 (custom-theme-write): Save theme settings in the correct order.
3074 Optionally, remove saved settings from user customizations.
3075 (custom-theme-write-variables, custom-theme-write-faces):
3076 Save only the checked widgets.
3077 (customize-themes): Add a link for migrating custom settings.
3079 * custom.el (custom-declare-theme, provide-theme):
3080 Use custom-theme-name-valid-p.
3081 (custom-theme-name-valid-p): Remove checks that are now
3082 unnecessary since themes no longer obey load-path.
3084 * cus-edit.el (custom-variable-value-create): For the simple
3085 style, hide documentation string when hidden.
3087 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3089 * cus-edit.el (custom-variable, custom-face): Combine the
3090 :inhibit-magic and :display-style properties into a single
3091 :custom-style property.
3092 (custom-toggle-hide-variable, custom-toggle-hide-face):
3093 New functions. If hiding an edited value, save it to :shown-value.
3094 (custom-variable-value-create, custom-face-value-create): Use them.
3095 (custom-magic-reset): Allow magic property to be unset.
3097 * custom.el: Custom themes no longer use load-path.
3098 (custom-theme-load-path): New option. Change built-in theme
3100 (custom-enabled-themes): Add custom-theme-load-path dependency.
3101 (custom-theme--load-path): New function.
3102 (load-theme, custom-available-themes): Use it.
3104 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3105 (customize-themes): Link to custom-theme-load-path variable.
3106 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3107 :custom-style property.
3109 * themes/*.el: Moved to etc/.
3111 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3113 * textmodes/reftex-cite.el
3114 (reftex-extract-bib-entries-from-thebibliography): Do not move
3115 point when searching for \bibitem entries. Match entries with
3116 spaces or tabs in front of arguments.
3118 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3120 * cus-theme.el (customize-create-theme): Delete overlays after
3121 erasing. If given a THEME arg, display only the faces of that arg
3122 instead of custom-theme--listed-faces.
3123 (custom-theme-variable-menu, custom-theme-variable-action)
3124 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3125 (custom-theme-add-variable, custom-theme-add-face): Apply value
3126 from the theme settings, instead of the current value.
3127 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3128 (custom-theme-visit-theme): Allow calling outside theme buffers.
3129 (custom-theme-merge-theme): Don't enable the theme when merging.
3130 (custom-theme-write-variables, custom-theme-write-faces): Use the
3131 :shown-value properties to save buffer values, not global ones.
3132 (customize-themes): Display a warning about user customizations.
3134 * cus-edit.el (custom-variable-value-create)
3135 (custom-face-value-create): Obey new special properties
3136 :shown-value and :inhibit-magic.
3138 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3140 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3141 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3144 2010-10-14 Kenichi Handa <handa@m17n.org>
3146 * mail/rmail.el (rmail-show-message-1): Catch an error of
3147 base64-decode-region and just show an error message (bug#7165).
3149 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3150 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3151 a font-spec (bug#7197).
3153 2010-10-14 Glenn Morris <rgm@gnu.org>
3155 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3157 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3159 * international/mule.el (define-coding-system):
3160 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3161 * composite.el (compose-region): Fix typo in docstring.
3163 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3165 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3166 only after checking the theme-face property.
3168 * faces.el (face-spec-reset-face): Reset all attributes in one
3169 single call to set-face-attribute.
3170 (face-spec-match-p): Make it a defsubst.
3171 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3172 (x-create-frame-with-faces, tty-create-frame-with-faces)
3173 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3174 frame-set-background-mode, since they are recomputed immediately
3175 afterwards in face-set-after-frame-default.
3176 (face-set-after-frame-default): Minor optimization.
3177 (cursor): Provide non-trivial defface spec.
3179 * custom.el (custom-theme-recalc-face): Simplify.
3181 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3183 * calc/calc-alg.el (math-var): Rename from `var'.
3184 (math-is-polynomial, math-is-poly-rec): Replace `var'
3187 * calc/calcalg2.el (math-var): Rename from `var'.
3188 (calcFunc-table, math-scan-for-limits): Replace `var'
3191 2010-10-13 Glenn Morris <rgm@gnu.org>
3193 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3195 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3197 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3199 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3201 * net/tls.el (tls-program): Remove spurious %s from openssl.
3202 (tls-starttls-switches): Remove starttls hack.
3203 (open-tls-stream): Ditto.
3204 (tls-find-starttls-argument): Ditto.
3206 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3208 * image.el (image-library-alist): Declare as obsolete alias.
3209 (image-type-available-p): Use `dynamic-library-alist'.
3211 * term/w32-win.el (dynamic-library-alist):
3212 Use instead of `image-library-alist'.
3214 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3216 * subr.el (last): Make it faster. (Bug#7174)
3218 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3220 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3222 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3224 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3225 (describe-theme-1): Extract doc from unloaded themes.
3227 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3229 * themes/tango-theme.el:
3230 * themes/tango-dark-theme.el:
3231 * themes/wheatgrass-theme.el: New files.
3233 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3235 * cus-theme.el (describe-theme, customize-themes)
3236 (custom-theme-save): New commands.
3237 (custom-new-theme-mode-map): Bind C-x C-s.
3238 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3239 (customize-create-theme): New optional arg THEME.
3240 (custom-theme-revert): Use it.
3241 (custom-theme-visit-theme): Remove dead code.
3242 (custom-theme-merge-theme): Use custom-available-themes.
3243 (custom-theme-write): Make interactive.
3244 (custom-theme-write): Use custom-theme-name-valid-p.
3245 (describe-theme-1, custom-theme-choose-revert)
3246 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3248 (custom-theme-allow-multiple-selections): New option.
3249 (custom-theme-choose-mode): New major mode.
3251 * custom.el (custom-theme-set-variables): Remove dead code.
3252 Obey custom--inhibit-theme-enable.
3253 (custom--inhibit-theme-enable): New var.
3254 (provide-theme): Obey it.
3255 (load-theme): Replace load with manual read/eval, in order to
3256 check for correctness. Use custom-theme-name-valid-p.
3257 (custom-theme-name-valid-p): New function.
3258 (custom-available-themes): Use it.
3260 * cus-edit.el (custom--initialize-widget-variables): New function.
3261 (Custom-mode): Use it.
3263 * cus-face.el (custom-theme-set-faces): Remove dead code.
3264 Obey custom--inhibit-theme-enable.
3266 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3268 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3270 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3272 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3274 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3275 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3276 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3278 * cus-start.el (all): ns-right-alternate-modifier is new.
3280 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * emacs-lisp/lisp.el (lisp-completion-at-point):
3283 Use emacs-lisp-mode-syntax-table for the whole function.
3285 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3287 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3288 instead of font-lock-mode before adding keywords.
3289 Remove hi-lock-mode off code. Remove inhibit hack.
3290 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3291 non-nil; removed hook inhibit hack.
3293 2010-10-12 Glenn Morris <rgm@gnu.org>
3295 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3296 (load-path-shadows-find): ... to this.
3297 (list-load-path-shadows): Update for above change.
3299 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3301 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3303 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3304 Fix comment for declare-function.
3306 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3308 * custom.el (custom-fix-face-spec): New function; code moved from
3309 custom-face-edit-fix-value.
3310 (custom-push-theme): Use it when checking if a face has been
3311 changed outside customize.
3312 (custom-available-themes): New function.
3313 (load-theme): Use it.
3315 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3317 * custom.el (custom-push-theme): Cleanup (use cond).
3318 (disable-theme): Recompute the saved-face property.
3319 (custom-theme-recalc-face): Follow face alias before setting prop.
3321 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3322 New variables, containing checkbox images.
3324 * startup.el (fancy-startup-tail):
3325 * wid-edit.el (checkbox): Use them.
3327 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3329 * shell.el (shell-mode-map):
3330 * progmodes/modula2.el (m2-mode-map):
3331 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3332 * play/mpuz.el (mpuz-mode-map):
3333 * play/landmark.el (lm-mode-map):
3334 * play/decipher.el (decipher-mode-map):
3335 * play/5x5.el (5x5-mode-map):
3336 * net/telnet.el (telnet-mode-map):
3337 * net/quickurl.el (quickurl-list-mode-map):
3338 * net/mairix.el (mairix-searches-mode-map):
3339 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3340 * net/dig.el (dig-mode-map):
3341 * mail/mspools.el (mspools-mode-map):
3342 * hexl.el (hexl-mode-map):
3343 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3344 (wordstar-C-o-map, wordstar-C-q-map):
3345 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3346 * emacs-lisp/chart.el (chart-map):
3347 * edmacro.el (edmacro-mode-map):
3348 * erc/erc-list.el (erc-list-menu-mode-map):
3349 * array.el (array-mode-map): Declare and define in one step.
3351 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3353 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3355 * epa.el (epa-passphrase-callback-function): Display filename
3356 passed as the 3rd arg.
3357 * epa-file.el (epa-file-passphrase-callback-function):
3358 Pass filename to epa-passphrase-callback-function.
3360 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3362 * cus-edit.el (custom-face-widget-to-spec)
3363 (custom-face-get-current-spec, custom-face-state): New functions.
3364 (custom-face-set, custom-face-mark-to-save)
3365 (custom-face-value-create, custom-face-state-set): Use them.
3367 * cus-theme.el (custom-theme--listed-faces): New var.
3368 (customize-create-theme): Use *Custom Theme* as the buffer name.
3369 Set revert-buffer-function. Optional arg BUFFER. Insert all
3370 faces listed in custom-theme--listed-faces.
3371 (custom-theme-revert): New function.
3372 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3374 (custom-theme-write): Prompt for theme name if empty.
3375 (custom-theme-write-variables): Use dolist.
3376 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3378 2010-10-09 Alan Mackenzie <acm@muc.de>
3380 Enhance fontification of declarators to take account of the
3381 presence/absence of "typedef".
3383 * cc-engine.el (c-forward-type): New &optional param
3385 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3386 presence of either or both of a "struct"-like keyword and "typedef".
3388 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3389 fontification of declarators which follow a "}".
3390 (c-font-lock-declarations): Fontify declarators according to the
3391 presence/absence of "typedef".
3393 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3395 (c-typedef-decl-key): New lang variable built from
3396 c-typedef-decl-kwds.
3398 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3400 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3401 since that's too annoying. Move the filter groups commands to
3404 * epa.el (epa-passphrase-callback-function): Say what we're
3405 querying the password for.
3407 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3408 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3410 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3412 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3413 (custom-magic-value-create): Pad button tags with spaces.
3414 (custom-face-edit): New variable.
3415 (custom-face-value-create): Determine whether to use the usual
3416 face editor here, instead of using custom-face-selected.
3417 Pass face defaults to custom-face-edit widget.
3418 (custom-face-selected, custom-display-unselected): Delete widgets.
3419 (custom-display-unselected-match): Function removed.
3420 (custom-face-set, custom-face-mark-to-save):
3421 Accept custom-face-edit widgets as the direct widget child.
3423 * wid-edit.el (widget--completing-widget): New var.
3424 (widget-default-complete): Bind it when doing completion.
3425 (widget-string-complete, widget-file-complete): Use it.
3427 2010-10-09 Glenn Morris <rgm@gnu.org>
3429 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3430 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3431 (holiday-hebrew-misc): Small simplifications.
3433 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3435 * net/browse-url.el: Don't require thingatpt, term, dired,
3436 executable, or w3-auto when compiling.
3437 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3439 (browse-url-text-emacs): Require term.
3441 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3443 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3445 2010-10-08 Glenn Morris <rgm@gnu.org>
3447 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3449 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3450 (shadows-compare-text-p): Make it an obsolete alias for...
3451 (load-path-shadows-compare-text): ... new name.
3452 (find-emacs-lisp-shadows): Update for above name change.
3453 (load-path-shadows-same-file-or-nonexistent): New name for the old
3454 shadow-same-file-or-nonexistent.
3456 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3458 * minibuffer.el (completion--some, completion--do-completion)
3459 (minibuffer-complete-and-exit, minibuffer-completion-help)
3460 (completion-basic-try-completion)
3461 (completion-basic-all-completions)
3462 (completion-pcm--find-all-completions): Use lexical-let to
3463 avoid some false matches in variable completion (Bug#7056)
3465 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3467 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3469 2010-10-08 Leo <sdl.web@gmail.com>
3471 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3472 return non-nil if the file exists (Bug#7090).
3474 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * minibuffer.el (completion--replace):
3477 Better preserve markers (bug#7138).
3479 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3481 * server.el (server-process-filter): Doc fix.
3483 2010-10-08 Drew Adams <drew.adams@oracle.com>
3485 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3487 2010-10-08 Glenn Morris <rgm@gnu.org>
3489 * vc/ediff-wind.el (ediff-setup-control-frame):
3490 * vc/ediff-ptch.el (ediff-default-backup-extension):
3491 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3492 (ediff-exec-process): Remove system-types emx, windows-95.
3494 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3496 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3498 * cus-edit.el (custom-variable, custom-face): Doc fix.
3499 (custom-face-edit): Add value-create attribute.
3500 (custom-face-edit-value-create)
3501 (custom-face-edit-value-visibility-action): New functions.
3502 Hide unused face attributes by default, and add a visibility toggle.
3503 (custom-face-edit-deactivate): Show empty values with shadow face.
3504 (custom-face-selected): Only use this for face specs with default
3506 (custom-face-value-create): Cleanup.
3508 * wid-edit.el (widget-checklist-value-create): Use dolist.
3509 (widget-checklist-match-find): Make second arg optional.
3511 2010-10-07 Glenn Morris <rgm@gnu.org>
3513 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3516 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3517 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3518 load-path-shadows-mode, update references.
3519 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3520 Rename variable and button.
3521 (list-load-path-shadows): Update button caller.
3523 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3526 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3527 (smie-merge-prec2s): Handle those new entries.
3528 (smie-prec2-levels): Only set precedence to nil for actual
3530 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3531 that is now unnecessary.
3533 2010-10-07 Miles Bader <miles@gnu.org>
3535 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3537 2010-10-07 Glenn Morris <rgm@gnu.org>
3539 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3540 (mail-position-on-field): Remove declarations.
3541 (mail-position-on-field): Autoload it.
3542 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3543 and mail-header-end. Don't require sendmail.
3545 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3546 (shadow-mode): New mode.
3547 (shadow-find-file): New button.
3548 (list-load-path-shadows): Use shadow-mode and buttons.
3550 * iimage.el (iimage-version): Remove.
3551 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3552 Turn into defcustoms.
3553 (iimage-mode-map): Give it a doc string.
3555 * calendar/appt.el (appt-activate): Give a warning rather than an error
3556 if there is no diary-file.
3558 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3560 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3561 Use `tramp-handle-find-backup-file-name'.
3563 2010-10-06 Glenn Morris <rgm@gnu.org>
3565 * font-core.el (font-lock-defaults-alist): Remove variable.
3566 (font-lock-mode): Doc fix.
3567 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3568 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3569 (font-lock-set-defaults): Doc fix.
3570 Do not consult font-lock-defaults-alist.
3572 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3574 * emacs-lisp/cl.el: No longer provide cl-19.
3576 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3578 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3579 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3580 New defuns, taken from tramp-smb.el.
3581 (tramp-coding-system-change-eol-conversion)
3582 (tramp-set-process-query-on-exit-flag): Remove.
3584 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3585 (tramp-compat-coding-system-change-eol-conversion)
3586 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3589 * net/tramp-gvfs.el:
3590 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3591 by `tramp-compat-set-process-query-on-exit-flag'.
3593 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3594 Use `tramp-handle-directory-files-and-attributes',
3595 `tramp-handle-file-exists-p' and
3596 `tramp-handle-file-newer-than-file-p'.
3597 (tramp-imap-handle-file-exists-p)
3598 (tramp-imap-handle-file-executable-p)
3599 (tramp-imap-handle-file-readable-p)
3600 (tramp-imap-handle-directory-files-and-attributes)
3601 (tramp-imap-handle-file-newer-than-file-p): Remove.
3603 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3604 by `tramp-compat-set-process-query-on-exit-flag' and
3605 `tramp-coding-system-change-eol-conversion' by
3606 `tramp-compat-coding-system-change-eol-conversion'.
3608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3609 Use `tramp-handle-directory-files-and-attributes',
3610 `tramp-handle-file-exists-p' and
3611 `tramp-handle-file-newer-than-file-p'.
3612 (tramp-smb-handle-directory-files-and-attributes)
3613 (tramp-smb-handle-file-exists-p)
3614 (tramp-smb-handle-file-newer-than-file-p): Remove.
3615 (tramp-smb-maybe-open-connection):
3616 Replace `tramp-set-process-query-on-exit-flag' by
3617 `tramp-compat-set-process-query-on-exit-flag'.
3619 2010-10-05 Glenn Morris <rgm@gnu.org>
3621 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3623 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3625 Continue reorganization of load dependencies. (Bug#7156)
3627 * net/tramp.el (tramp-handle-file-local-copy-hook)
3628 (tramp-delete-temp-file-function): Move down.
3629 (tramp-exists-file-name-handler): Move up.
3630 (tramp-register-file-name-handlers): Simplify autoload.
3631 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3632 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3633 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3634 (tramp-handle-file-name-completion)
3635 (tramp-handle-file-name-directory)
3636 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3637 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3638 (tramp-handle-find-backup-file-name)
3639 (tramp-handle-insert-file-contents, tramp-handle-load)
3640 (tramp-handle-substitute-in-file-name)
3641 (tramp-handle-unhandled-file-name-directory)
3642 (tramp-mode-string-to-int, tramp-local-host-p)
3643 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3645 * net/tramp-gvfs.el (top):
3646 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3648 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3649 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3651 2010-10-04 Glenn Morris <rgm@gnu.org>
3653 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3654 (appt-activate): Give status messages.
3656 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3658 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3659 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3660 `gnutls-negotiate' (formerly `starttls-negotiate').
3661 Remove trivial wrapper `starttls-open-stream'.
3663 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3665 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3666 log-outgoing commands.
3667 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3668 to create a buffer local revert-buffer-function variable.
3669 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3670 revert-buffer-function lambda.
3672 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3674 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3675 `gnutls-boot'. Make TYPE the only required parameter.
3676 Allow TRUSTFILES and KEYFILES to be lists.
3677 (open-ssl-stream): Use it.
3679 2010-10-03 Glenn Morris <rgm@gnu.org>
3681 * subr.el (directory-sep-char): Remove obsolete variable.
3682 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3685 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3686 * vc/vc.el (vc-static-header-alist): Doc fix.
3687 * vc/vc-cvs.el (vc-cvs-header):
3688 * vc/vc-rcs.el (vc-rcs-header):
3689 * vc/vc-sccs.el (vc-sccs-header):
3690 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3691 * obsolete/vc-mcvs.el (vc-mcvs-header):
3692 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3695 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3697 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3698 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3700 2010-10-03 Glenn Morris <rgm@gnu.org>
3702 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3704 * textmodes/rst.el (rst-font-lock-keywords-function):
3707 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3709 * printing.el: Drop Emacs 20 code.
3711 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3712 without having used appt.el already).
3714 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3715 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3716 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3718 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3719 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3721 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3722 (charset-width, find-charset-region, chars-in-region, forward-point)
3723 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3724 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3725 Remove compatibility cruft (none of these are used by ps*.el).
3727 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3729 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3731 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3733 * server.el (server-process-filter, server-return-error):
3734 Give emacsclient time to shut down after receiving an error string.
3736 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3738 * files.el (remote-file-name-inhibit-cache): New defcustom.
3740 * time.el (display-time-file-nonempty-p):
3741 Use `remote-file-name-inhibit-cache'.
3743 * net/tramp.el (tramp-completion-reread-directory-timeout):
3746 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3747 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3748 `remote-file-name-inhibit-cache'. Check also for an integer
3749 value. Add/increase counter when `tramp-verbose' >= 10.
3750 (tramp-set-file-property): Add/increase counter when
3751 `tramp-verbose' >= 10.
3753 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3754 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3755 (tramp-bug): Set tramp-autoload cookie. Report all interned
3756 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3757 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3758 characters only in strings.
3760 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3761 to backward compatibility.
3763 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3764 (tramp-handle-file-name-all-completions)
3765 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3766 (tramp-open-connection-setup-interactive-shell):
3767 Call `tramp-cleanup-connection' directly.
3769 2010-10-02 Glenn Morris <rgm@gnu.org>
3771 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3773 * subr.el (char-bytes): Remove obsolete function.
3775 * isearch.el (isearch-return-char): Remove obsolete function.
3777 * mouse.el: No longer provide mldrag.
3778 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3779 Remove obsolete aliases.
3781 * comint.el (comint-kill-output): Remove obsolete alias.
3783 * composite.el (decompose-composite-char): Remove obsolete function.
3784 * ps-def.el (decompose-composite-char): Remove unused function.
3786 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3788 * outline.el (outline-visible): Remove obsolete function.
3790 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3791 * faces.el (internal-find-face, internal-get-face)
3792 (frame-update-faces, frame-update-face-colors)
3793 (x-frob-font-weight, x-frob-font-slant)
3794 (internal-frob-font-weight, internal-frob-font-slant)
3795 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3796 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3797 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3799 * emulation/viper-util.el (viper-get-face):
3800 * obsolete/lucid.el (find-face, get-face): Use facep.
3801 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3802 Remove unused functions.
3803 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3805 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3806 delete tempfile if interrupted during compilation.
3808 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3810 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3812 (tls-program): Add --insecure to be consistent with the defaults from
3813 openssl s_client. Now all three commands are insecure.
3815 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3817 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3818 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3819 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3821 2010-10-01 Glenn Morris <rgm@gnu.org>
3823 * obsolete/sc.el: Remove file.
3825 * files.el (temporary-file-directory): On darwin, also try
3826 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3828 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3830 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3831 Let's not break compatibility gratuitously, shall we?
3833 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3835 * net/tls.el (tls-starttls-switches): New variable.
3836 (tls-find-starttls-argument): Use it.
3837 (open-tls-stream): Ditto.
3839 * net/netrc.el (netrc-credentials): Return the value of the "default"
3841 (netrc-machine): Ditto.
3843 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3845 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3847 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3849 * server.el (server-start): Don't write pid to the authentication file.
3850 (server-create-tty-frame): Don't send pid.
3851 (server-process-filter): Send pid at the start of every connection.
3853 2010-09-30 Glenn Morris <rgm@gnu.org>
3855 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3856 (show-all-diary-entries): Remove obsolete function aliases.
3858 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3859 Remove options, obsolete since 22.1.
3860 (appt-display-format, appt-display-message):
3861 Remove backwards-compatibility code.
3862 (appt-check): No longer check appt-issue-message.
3863 (appt-make-list): No longer autoload it. Doc fix. No longer
3864 activate the package.
3866 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3868 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3869 (starttls-negotiate): Just call boot, and let the handshake be
3870 triggered from the read loop.
3872 2010-09-29 Glenn Morris <rgm@gnu.org>
3874 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3875 not displaying the diary.
3876 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3877 * calendar/appt.el (appt-check): No longer need to kill diary.
3879 * calendar/diary-lib.el (diary-list-entries): Move the
3880 "Preparing..." message entirely here.
3881 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3882 messages to diary-list-entries.
3883 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3884 diary-display-function.
3886 * calendar/diary-lib.el (diary-include-other-diary-files):
3887 Trap some recursive includes.
3889 * calendar/appt.el (appt-activate): Check diary file.
3891 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3893 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3896 * calendar/time-date.el: No need to require cl for Emacs 21.
3898 2010-09-28 Glenn Morris <rgm@gnu.org>
3900 * calendar/appt.el (appt-check): Minor simplification.
3902 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3904 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3907 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3909 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3910 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3912 2010-09-27 Kenichi Handa <handa@m17n.org>
3914 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3917 2010-09-27 Kenichi Handa <handa@m17n.org>
3919 * international/mule.el (define-coding-system): Docstring fixed.
3921 * international/mule-diag.el (describe-character-set): Use princ
3922 with proper print-length and print-level instead of insert.
3924 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3926 * window.el (walk-windows): Doc fix (bug#7105).
3928 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/float-sup.el (e): Remove.
3932 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3934 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3936 (starttls-negotiate): Use it.
3938 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3940 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3943 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3947 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3949 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3951 * net/netrc.el (netrc-store-data): New function.
3953 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3955 * net/gnutls.el: GnuTLS glue code to set up a connection.
3957 2010-09-25 Julien Danjou <julien@danjou.info>
3959 * notifications.el: Call dbus-register-signal only if it is bound.
3961 2010-09-25 Glenn Morris <rgm@gnu.org>
3963 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3964 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3965 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3966 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3967 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3968 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3969 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3970 * eshell/esh-util.el, eshell/esh-var.el:
3971 Remove leading `*' from docs of faces and defcustoms.
3973 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3975 * eshell/em-ls.el (eshell-ls-archive-regexp):
3976 * eshell/esh-util.el (eshell-tar-regexp):
3977 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3978 * info.el (Info-suffix-list):
3979 * international/mule.el (auto-coding-alist):
3980 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3981 * progmodes/etags.el (tags-compression-info-list):
3982 Support xz compression.
3984 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3986 * files.el (get-free-disk-space): Don't assume the "df" output
3987 columns line up (Bug#6995).
3989 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3991 * finder.el (finder-unknown-keywords):
3992 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3993 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3995 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3997 * server.el (server-start): Revert part of 2010-08-08 change. Using
3998 address 127.0.0.1 for local host is now done in Fmake_network_process.
4000 2010-09-24 Glenn Morris <rgm@gnu.org>
4002 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4003 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4004 * textmodes/css-mode.el, textmodes/dns-mode.el:
4005 Move autoloaded auto-mode-alist entries to files.el.
4006 * files.el (auto-mode-alist): Move entries here.
4008 2010-09-23 Glenn Morris <rgm@gnu.org>
4010 * isearch.el (isearch-lazy-highlight-cleanup)
4011 (isearch-lazy-highlight-initial-delay)
4012 (isearch-lazy-highlight-interval)
4013 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4014 * net/net-utils.el (ipconfig-program-options):
4015 Move aliases to options before the associated definitions.
4017 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * newcomment.el (comment-normalize-vars): Better test validity of
4022 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4025 (float-e): New name for `e'.
4026 (degrees-to-radians, radians-to-degrees):
4027 * calendar/solar.el (solar-longitude):
4028 * calculator.el (calculator-registers, calculator-funcall):
4029 * textmodes/artist.el (artist-spray-random-points):
4030 * play/bubbles.el (bubbles--initialize-images): Use new names.
4032 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4034 Update to CEDET 1.0's version of EIEIO.
4036 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4038 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4039 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4040 (class-precedence-list): If class is nil, return nil.
4041 (eieio-generic-call): If class of first input arg is nil, don't
4042 look up static methods, and do check for primary methods.
4043 (initialize-instance): See if the default needs to be evaluated
4044 during the constructor.
4045 (eieio-perform-slot-validation-for-default): Don't do the check
4046 for values that will eventually be evaluated.
4047 (eieio-eval-default-p): New function.
4048 (eieio-default-eval-maybe): Use it.
4050 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4052 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4053 method-invocation-order.
4054 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4055 (eieio-class-precedence-dfs): Compute class precedence list using
4057 (eieio-class-precedence-bfs): Compute class precedence list using
4059 (eieio-class-precedence-c3): Compute class precedence list using
4061 (class-precedence-list): New function.
4062 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4063 (inconsistent-class-hierarchy): New error symbol.
4064 (call-next-method): Stow the replacement argument list for future
4065 call-next-method invocations.
4067 2010-09-23 Glenn Morris <rgm@gnu.org>
4069 * calendar/appt.el (appt-check): If not displaying the diary,
4070 use (diary 1) to only get the entries we need.
4071 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4072 that it is in day order. (Bug#7019)
4074 * calendar/appt.el (appt-check): Rather than showing the diary,
4075 just turn off invisible display, and only if needed.
4077 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4079 2010-09-23 Glenn Morris <rgm@gnu.org>
4081 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4082 (byte-compile-defvar, byte-compile-cl-warn):
4083 Start warnings with lower-case, like the majority.
4085 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4087 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4089 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4090 * files.el (auto-mode-alist): Move ld-script entries here, further down
4093 * vc/add-log.el: Don't require timezone when compiling.
4094 (timezone-make-date-sortable): Autoload it.
4095 (change-log-sortable-date-at): Don't require timezone.
4096 Use `ignore-errors'.
4098 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4099 Move alias before definition, so it does not need autoloading.
4101 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4102 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4103 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4104 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4105 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4106 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4107 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4108 * textmodes/tex-mode.el, textmodes/two-column.el:
4109 Remove leading `*' from docs of defcustoms etc.
4111 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4113 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4115 2010-09-22 Dan Christensen <jdc@uwo.ca>
4117 * calendar/time-date.el (date-to-time): Try using parse-time-string
4118 first before using the slower timezone-make-date-arpa-standard.
4120 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4122 * calendar/time-date.el (format-seconds): Comment fix.
4124 2010-09-22 Glenn Morris <rgm@gnu.org>
4126 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4127 is not automatically buffer-local.
4129 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4132 (smie-indent-comment): Be more careful with comment-start-skip.
4133 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4134 (smie-indent-functions): Use them.
4136 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4138 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4140 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4142 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4143 tool-bar-position. Don't modify frame parameters here.
4144 (menu-bar-options-save): Add tool-bar-position.
4146 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4148 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * textmodes/reftex-parse.el (reftex-what-macro)
4151 (reftex-context-substring): Let-bind forward-sexp-function to nil
4152 since we don't need/want to treat \begin...\end as a block (bug#7053).
4154 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4156 * simple.el (blink-matching-open): Use syntax-class.
4158 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4159 Set invisibility spec for pascal's outline mode.
4160 (pascal-outline-change): Clean up calling convention.
4161 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4163 * progmodes/prolog.el (prolog-smie-forward-token)
4164 (prolog-smie-backward-token): New functions.
4165 (prolog-mode-variables): Use them to parse "!," correctly.
4166 Set up smie-blink-matching for ".".
4168 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4170 (ispell-region, ispell-process-line): Update users.
4172 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4175 * textmodes/ispell.el: Fix commenting convention.
4176 (ispell-parse-output): Simplify, use push.
4177 (ispell-region): Use match-string-no-properties.
4178 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4179 (ispell-minor-mode): Use define-minor-mode.
4180 (ispell-message): Remove unused var `skip-regexp'.
4181 (ispell-add-per-file-word-list): Use dynamic let-binding.
4182 Try and use the proper comment marker.
4184 * mail/sendmail.el: Fix commenting convention.
4185 (sendmail-send-it): Use line-beginning-position.
4187 * help-fns.el (describe-variable): Add original value, if applicable.
4189 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4191 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4193 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4195 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4198 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4199 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4200 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4201 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4202 something like "." can also be a closer.
4203 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4204 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4205 Rename internal functions to use "--". Update callers.
4207 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4209 * fringe.el (fringe-styles): New var.
4210 (fringe-mode, fringe-query-style): Use it.
4212 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4214 * progmodes/sql.el: Version 2.8
4215 (sql-login-params): Update widget structure; changes still needed.
4216 (sql-product-alist): Add :list-all and :list-table features for
4217 SQLite, Postgres and MySQL products.
4218 (sql-redirect): Handle default value.
4219 (sql-execute, sql-execute-feature): New functions.
4220 (sql-read-table-name): New function.
4221 (sql-list-all, sql-list-table): New functions. User API.
4222 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4223 for above functions.
4224 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4225 for above functions.
4226 (sql-postgres-login-params): Add user and database defaults.
4227 (sql-buffer-live-p): Bug fix.
4228 (sql-product-history): New variable.
4229 (sql-read-product): New function. Use it.
4230 (sql-set-product, sql-product-interactive): Use it.
4231 (sql-connection-history): New variable.
4232 (sql-read-connection): New function. Use it.
4233 (sql-connect): New function.
4234 (sql-for-each-login): Redesign function interface.
4235 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4236 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4237 (sql-comint): Check for program. Existing live buffer.
4238 (sql-comint-postgres): Add port parameter.
4240 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * emacs-lisp/warnings.el: Fix commenting convention.
4243 (display-warning): Use special mode and make the buffer read-only.
4245 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4247 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4248 empty string when it follows a repeated or optional pattern.
4250 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4252 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4253 (indent-region): Use indent-according-to-mode.
4255 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4257 * fringe.el (fringe-mode): Doc fix.
4259 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4261 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4262 refreshing the preview buffer.
4264 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4267 (latex-syntax-propertize-rules): New consts; replace
4268 tex-font-lock-syntactic-keywords.
4269 (tex-env-mark, latex-env-before-change): New functions.
4270 (latex-electric-env-pair-mode): New minor mode.
4271 (tex-font-lock-verb): Change arguments; do move point.
4272 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4273 representation as a form of comment.
4274 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4275 (doctex-syntax-propertize-rules): New const; replaces
4276 doctex-font-lock-syntactic-keywords.
4277 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4279 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4280 (fortran-make-syntax-propertize-function): New function; replaces
4281 fortran-font-lock-syntactic-keywords.
4282 (fortran-mode): Use it.
4283 (fortran-line-length): Use it. Improve interactive spec.
4285 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4286 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4287 when adding surrounding \(..\).
4289 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4291 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4294 Use with-current-buffer.
4296 * isearch.el (isearch-face): Rename from `isearch'.
4297 (isearch-highlight): Use new name.
4299 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4301 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4302 5, for `half' width fringes. (Bug#6933)
4304 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4307 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4309 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4311 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4313 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4314 in calculating new frame position. Add more space between new and
4315 parent on the left (Bug#7048).
4317 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4319 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4322 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4324 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4326 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4327 obsolete alias for x-selection-value.
4329 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4331 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4333 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4336 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4338 * net/tramp-compat.el (tramp-compat-with-temp-message)
4339 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4340 (tramp-compat-process-put): New defuns.
4342 * net/tramp.el (top):
4343 * net/tramp-gvfs.el (top):
4344 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4346 * net/tramp.el (tramp-progress-reporter-update):
4347 Use `tramp-compat-funcall'.
4349 * net/tramp.el (tramp-process-actions):
4350 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4351 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4352 (tramp-get-remote-stat, tramp-get-remote-readlink):
4353 Use `tramp-compat-with-temp-message'.
4355 * net/tramp-sh.el (top): Require 'cl.
4356 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4357 (tramp-open-connection-setup-interactive-shell):
4358 Use `tramp-compat-process-put'.
4360 2010-09-15 Alan Mackenzie <acm@muc.de>
4362 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4364 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4366 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4369 `lexical' for warnings related to lexical scoping.
4370 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4371 global vars which don't have a prefix and could hence affect lexical
4372 scoping in unrelated files.
4374 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4376 * net/imap.el: Revert back to version
4377 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4380 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4382 * obsolete/old-whitespace.el (whitespace-unload-function):
4383 Explicitly pass `obarray' to `unintern' to avoid a warning.
4385 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4388 Add `when' argument. Update callers.
4390 * subr.el (unintern): Declare the obarray arg mandatory.
4392 2010-09-14 Glenn Morris <rgm@gnu.org>
4394 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4397 * calendar/diary-lib.el (diary-included-files): New variable.
4398 (diary-list-entries): Maybe initialize diary-included-files.
4399 (diary-include-other-diary-files): Append to diary-included-files.
4400 * calendar/appt.el (appt-update-list): Also check the members of
4401 diary-included-files. (Bug#6999)
4402 (appt-check): Doc fix.
4404 2010-09-14 David Reitter <david.reitter@gmail.com>
4406 * simple.el (line-move-visual): Do not truncate goal column to
4407 integer size. (Bug#7020)
4409 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * repeat.el (repeat): Allow repeating when the last event is a click.
4412 Suggested by Drew Adams (bug#6256).
4414 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4416 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4417 Replace setting HGRCPATH to "" by some less invasive --config options.
4419 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * font-lock.el (font-lock-beginning-of-syntax-function):
4424 2010-09-14 Glenn Morris <rgm@gnu.org>
4426 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4427 and tool-bar modes. (Bug#6211)
4428 (menu-bar-mode): Move setting of standard-value after the
4429 minor-mode definition, otherwise it seems to have no effect.
4431 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4433 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4434 Fix typo. (Bug#6976)
4436 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4438 * whitespace.el: Allow cleaning up blanks without blank
4439 visualization (Bug#6651). Adjust help window for
4440 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4441 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4442 (whitespace-style): Add new value 'face. Adjust docstring.
4443 (whitespace-space, whitespace-hspace, whitespace-tab):
4444 Adjust foreground property face.
4445 (whitespace-line-column): Adjust docstring and type declaration.
4446 (whitespace-style-value-list, whitespace-toggle-option-alist)
4447 (whitespace-help-text): Adjust const initialization.
4448 (whitespace-toggle-options, global-whitespace-toggle-options):
4450 (whitespace-display-window, whitespace-interactive-char)
4451 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4452 (whitespace-help-scroll): New fun.
4454 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4456 * calendar/time-date.el (format-seconds): Comment fix.
4458 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4460 * progmodes/sql.el: Version 2.7.
4461 (sql-buffer-live-p): Improve detection.
4462 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4463 (sql-set-sqli-buffer): Use it.
4464 (sql-product-interactive): Run `sql-set-sqli-hook'.
4465 (sql-rename-buffer): Code cleanup.
4466 (sql-redirect, sql-redirect-value): New functions. More to come.
4468 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4470 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.
4471 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4472 (TRAMP_SRC): New macro.
4473 ($(lisp)/net/tramp-loaddefs.el): New target.
4475 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4477 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4479 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4481 * net/tramp.el (top): Don't show loading message. Require just
4482 'tramp-compat, everything else is required there.
4483 Use `ignore-errors' where appropriate.
4484 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4485 (tramp-terminal-type, tramp-end-of-output)
4486 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4487 (tramp-completion-function-alist-ssh)
4488 (tramp-completion-function-alist-telnet)
4489 (tramp-completion-function-alist-su)
4490 (tramp-completion-function-alist-putty, tramp-remote-path)
4491 (tramp-remote-process-environment, tramp-sh-extra-args)
4492 (tramp-actions-before-shell, tramp-uudecode)
4493 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4494 (tramp-perl-file-attributes)
4495 (tramp-perl-directory-files-and-attributes)
4496 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4497 (tramp-perl-encode, tramp-perl-decode)
4498 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4499 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4500 (tramp-handle-make-symbolic-link, tramp-handle-load)
4501 (tramp-handle-file-name-as-directory)
4502 (tramp-handle-file-name-directory)
4503 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4504 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4505 (tramp-do-file-attributes-with-ls)
4506 (tramp-do-file-attributes-with-perl)
4507 (tramp-do-file-attributes-with-stat)
4508 (tramp-handle-set-visited-file-modtime)
4509 (tramp-handle-verify-visited-file-modtime)
4510 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4511 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4512 (tramp-handle-file-selinux-context)
4513 (tramp-handle-set-file-selinux-context)
4514 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4515 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4516 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4517 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4518 (tramp-handle-file-ownership-preserved-p)
4519 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4520 (tramp-handle-directory-files-and-attributes)
4521 (tramp-do-directory-files-and-attributes-with-perl)
4522 (tramp-do-directory-files-and-attributes-with-stat)
4523 (tramp-handle-file-name-all-completions)
4524 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4525 (tramp-handle-copy-file, tramp-handle-copy-directory)
4526 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4527 (tramp-do-copy-or-rename-file-via-buffer)
4528 (tramp-do-copy-or-rename-file-directly)
4529 (tramp-do-copy-or-rename-file-out-of-band)
4530 (tramp-handle-make-directory, tramp-handle-delete-directory)
4531 (tramp-handle-delete-file)
4532 (tramp-handle-dired-recursive-delete-directory)
4533 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4534 (tramp-handle-insert-directory)
4535 (tramp-handle-unhandled-file-name-directory)
4536 (tramp-handle-expand-file-name)
4537 (tramp-handle-substitute-in-file-name)
4538 (tramp-handle-executable-find, tramp-process-sentinel)
4539 (tramp-handle-start-file-process, tramp-handle-process-file)
4540 (tramp-handle-call-process-region, tramp-handle-shell-command)
4541 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4542 (tramp-handle-insert-file-contents)
4543 (tramp-handle-insert-file-contents-literally)
4544 (tramp-handle-find-backup-file-name)
4545 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4546 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4547 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4548 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4549 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4550 (tramp-find-file-exists-command, tramp-open-shell)
4551 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4552 (tramp-open-connection-setup-interactive-shell)
4553 (tramp-local-coding-commands, tramp-remote-coding-commands)
4554 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4555 (tramp-inline-compress-commands, tramp-find-inline-compress)
4556 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4557 (tramp-send-command, tramp-wait-for-output)
4558 (tramp-send-command-and-check, tramp-barf-unless-okay)
4559 (tramp-send-command-and-read, tramp-mode-string-to-int)
4560 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4561 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4562 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4563 (tramp-method-out-of-band-p, tramp-local-host-p)
4564 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4565 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4566 (tramp-get-test-command, tramp-get-test-nt-command)
4567 (tramp-get-file-exists-command, tramp-get-remote-ln)
4568 (tramp-get-remote-perl, tramp-get-remote-stat)
4569 (tramp-get-remote-readlink, tramp-get-remote-trash)
4570 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4571 (tramp-get-local-uid, tramp-get-local-gid)
4572 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4574 (tramp-methods, tramp-default-method-alist)
4575 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4576 Move initialization to tramp-sh.el.
4577 (tramp-temp-name-prefix): Make it a defconst.
4578 (tramp-dissect-file-name): Don't check anymore for multi-hop
4580 (tramp-debug-outline-regexp): Add a docstring.
4581 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4582 (tramp-get-debug-buffer): Use it.
4584 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4585 initialization forms.
4586 (tramp-set-connection-property): Don't protect `tramp-message'
4587 call, it isn't necessary any longer.
4588 (tramp-dump-connection-properties): Use `ignore-errors'.
4590 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4591 'password-cache and 'auth-source.
4593 * net/tramp-gvfs.el (top):
4594 * net/tramp-smb.el (top): Require 'tramp-sh.
4596 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4598 * net/tramp-sh.el: New file, derived from tramp.el.
4599 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4600 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4601 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4602 Use `ignore-errors' where appropriate.
4603 (tramp-sh-file-name-handler-alist): Rename from
4604 `tramp-file-name-handler-alist'.
4605 (tramp-send-command-and-check): Return t or nil. Remove all
4606 `zerop' checks, where called.
4607 (tramp-handle-set-file-modes)
4608 (tramp-do-copy-or-rename-file-directly)
4609 (tramp-handle-delete-directory, tramp-handle-delete-file)
4610 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4611 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4612 (tramp-get-remote-ln): Set tramp-autoload cookie.
4614 * net/tramp-fish.el: Remove file.
4616 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4618 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4619 buffer-file-name to avoid file-locking. (Bug#7026)
4621 2010-09-13 Julien Danjou <julien@danjou.info>
4623 * notifications.el (notifications-notify): Add support for
4624 image-path and sound-name.
4625 (notifications-specification-version): Add this variable.
4627 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4631 2010-09-12 Leo <sdl.web@gmail.com>
4633 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4634 (rcirc-completion-start): New variables.
4635 (rcirc-nick-completions): Rename to rcirc-completions.
4636 (rcirc-nick-completion-start-offset): Delete.
4637 (rcirc-completion-at-point): New function for constructing
4638 completion data for both nicks and irc commands. Add to
4639 completion-at-point-functions in rcirc mode.
4640 (rcirc-complete): Rename from rcirc-nick-complete; use
4641 rcirc-completion-at-point.
4642 (defun-rcirc-command): Update rcirc-client-commands.
4644 2010-09-11 Glenn Morris <rgm@gnu.org>
4646 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4647 atomically, to avoid parallel build errors. (Bug#4196)
4649 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4651 * progmodes/sql.el: Version 2.6
4652 (sql-dialect): Synonym for "sql-product".
4653 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4654 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4655 Set "sql-buffer" to buffer name not buffer object so multiple sql
4656 interactive buffers work properly. Reverts misguided changes in
4658 (sql-comint): Make sure different buffer name is used if "*SQL*"
4659 buffer is for a different product.
4660 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4662 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4663 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4664 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4665 Accept new buffer name or prompt for one.
4666 (sql-port): Default to zero.
4667 (sql-comint-mysql): Handle "sql-port" as a numeric.
4668 (sql-port-history): Delete unused variable.
4669 (sql-get-login): Default "sql-port" to a number.
4670 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4671 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4672 "sqlite3" executables.
4673 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4674 (sql-buffer-live-p): New function.
4675 (sql-mode-menu, sql-send-string): Use it.
4676 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4678 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4679 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4681 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4683 * net/netrc.el (netrc-credentials): New convenience function.
4685 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4688 to replace texinfo-font-lock-syntactic-keywords.
4689 (texinfo-mode): Use it.
4691 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4692 Use syntax-propertize-function.
4694 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4695 replace sgml-font-lock-syntactic-keywords.
4696 (sgml-mode): Use it.
4698 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4699 since we don't use it.
4701 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4703 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4705 (vhdl-fontify-buffer): Adjust.
4707 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4708 replace tcl-font-lock-syntactic-keywords.
4711 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4712 replace simula-font-lock-syntactic-keywords.
4713 (simula-mode): Use it.
4715 * progmodes/sh-script.el (sh-st-symbol): Remove.
4716 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4717 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4718 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4719 (sh-font-lock-paren): Set syntax-multiline.
4720 (sh-font-lock-syntactic-keywords): Remove.
4721 (sh-syntax-propertize-function): New function to replace it.
4724 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4725 Define while compiling.
4726 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4727 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4728 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4729 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4730 (ruby-here-doc-end-syntax): Only define when
4731 syntax-propertize is not available.
4732 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4734 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4735 (electric-indent-chars): Silence bytecompiler.
4736 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4737 electric-indent-chars.
4739 * progmodes/python.el (python-syntax-propertize-function): New var to
4740 replace python-font-lock-syntactic-keywords.
4741 (python-mode): Use it.
4742 (python-quote-syntax): Simplify and adjust to new use.
4744 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4745 replace perl-font-lock-syntactic-keywords.
4746 (perl-syntax-propertize-special-constructs): New fun to replace
4747 perl-font-lock-special-syntactic-constructs.
4748 (perl-font-lock-syntactic-face-function): New fun.
4749 (perl-mode): Use it.
4751 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4752 to replace octave-font-lock-close-quotes.
4753 (octave-syntax-propertize-function): New function to replace
4754 octave-font-lock-syntactic-keywords.
4755 (octave-mode): Use it.
4757 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4758 replaces mixal-font-lock-syntactic-keywords.
4759 (mixal-mode): Use it.
4761 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4762 New var; replaces makefile-font-lock-syntactic-keywords.
4763 (makefile-mode): Use it.
4764 (makefile-imake-mode): Adjust.
4766 * progmodes/js.el (js--regexp-literal): Define while compiling.
4767 (js-syntax-propertize-function): New var; replaces
4768 js-font-lock-syntactic-keywords.
4771 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4772 replaces gdb-script-font-lock-syntactic-keywords.
4773 (gdb-script-mode): Use it.
4775 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4776 (fortran--font-lock-syntactic-keywords): New var.
4777 (fortran-line-length): Update syntax-propertize-function and
4778 fortran--font-lock-syntactic-keywords.
4780 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4782 * progmodes/cfengine.el (cfengine-mode):
4783 Use syntax-propertize-function.
4784 (cfengine-font-lock-syntactic-keywords): Remove.
4786 * progmodes/autoconf.el (autoconf-mode):
4787 Use syntax-propertize-function.
4788 (autoconf-font-lock-syntactic-keywords): Remove.
4790 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4791 (ada-after-change-function, ada-initialize-syntax-table-properties)
4792 (ada-handle-syntax-table-properties): Only define when
4793 syntax-propertize is not available.
4794 (ada-mode): Use syntax-propertize-function.
4796 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4797 (font-lock-fontify-syntactic-keywords-region): Move handling of
4798 font-lock-syntactically-fontified to...
4799 (font-lock-default-fontify-region): ...here.
4800 Let syntax-propertize-function take precedence.
4801 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4803 * emacs-lisp/syntax.el (syntax-propertize-function)
4804 (syntax-propertize-chunk-size, syntax-propertize--done)
4805 (syntax-propertize-extend-region-functions): New vars.
4806 (syntax-propertize-wholelines, syntax-propertize-multiline)
4807 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4808 (syntax-propertize): New functions.
4809 (syntax-propertize-rules): New macro.
4810 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4811 (syntax-ppss): Call syntax-propertize.
4813 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4815 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4817 * textmodes/ispell.el (ispell-init-process): Improve comments.
4818 XEmacs compatibility changes regarding (add-hook) 'local option
4819 and (set-process-query-on-exit-flag).
4821 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4823 * net/tramp-cache.el (tramp-parse-connection-properties):
4824 Set tramp-autoload cookie.
4826 2010-09-09 Glenn Morris <rgm@gnu.org>
4828 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4829 (imagemagick-register-types): Doc fix.
4831 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4835 * progmodes/js.el (require): Require is already "eval-and-compile".
4836 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4837 (js--re-search-backward): Use js--re-search-forward.
4839 * progmodes/fortran.el (fortran-line-length): Don't recompute
4840 syntactic keywords redundantly a second time.
4842 * progmodes/ada-mode.el: Replace "(set '" with setq.
4843 (ada-mode): Simplify.
4844 (ada-create-case-exception, ada-adjust-case-interactive)
4845 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4846 (ada-search-ignore-string-comment, ada-move-to-start)
4847 (ada-move-to-end): Use with-syntax-table.
4849 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4850 (font-lock-unfontify-region, font-lock-default-fontify-region):
4851 Update usage correspondingly.
4852 (font-lock-fontify-syntactic-keywords-region):
4853 Set parse-sexp-lookup-properties buffer-locally here.
4854 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4856 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4858 2010-09-08 Glenn Morris <rgm@gnu.org>
4860 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4861 Error if not compiled with -DBYTE_CODE_METER.
4863 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4864 Ignore dir-locals-file.
4866 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4868 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4870 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4871 for the `gnu' messages.
4872 (compilation-set-skip-threshold): New command.
4873 (compilation-start): Use \' rather than $.
4874 (compilation-forget-errors): Use clrhash.
4876 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4878 * textmodes/ispell.el (ispell-valid-dictionary-list):
4881 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4883 Migrate to Tramp 2.2. Rearrange load dependencies.
4884 (Bug#1529, Bug#5448, Bug#5705)
4886 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4887 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4888 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4890 * net/tramp.el (top): Remove all other tramp-* loads except
4891 tramp-compat.el. Remove all changes to tramp-unload-hook for
4892 other tramp-* packages. Rearrange defun order. Change calls of
4893 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4894 `tramp-compat-octal-to-decimal' to new function names.
4895 (tramp-terminal-type, tramp-initial-end-of-output)
4896 (tramp-methods, tramp-foreign-file-name-handler-alist)
4897 (tramp-tramp-file-p, tramp-completion-mode-p)
4898 (tramp-send-command-and-check, tramp-get-remote-path)
4899 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4900 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4901 (with-file-property, with-connection-property): Move to
4903 (tramp-local-call-process, tramp-decimal-to-octal)
4904 (tramp-octal-to-decimal): Move to tramp-compat.el.
4905 (tramp-handle-shell-command): Do not require 'shell.
4906 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4908 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4910 * net/tramp-cache.el (top): Require 'tramp. Add to
4911 `tramp-unload-hook'.
4912 (tramp-cache-data, tramp-get-file-property)
4913 (tramp-set-file-property, tramp-flush-file-property)
4914 (tramp-flush-directory-property, tramp-get-connection-property)
4915 (tramp-set-connection-property, tramp-flush-connection-property)
4916 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4918 (with-file-property, with-connection-property): New defuns, moved
4920 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4923 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4924 (tramp-version): Set tramp-autoload cookie.
4926 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4927 changes to tramp-unload-hook for other tramp-* packages. Add to
4928 `tramp-unload-hook'.
4929 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4930 (tramp-compat-call-process): New defuns, moved from tramp.el.
4932 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4933 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4934 Add to `tramp-unload-hook'. Change call of
4935 `tramp-compat-decimal-to-octal' to new function name.
4936 (tramp-fish-method): Make it a defconst.
4937 (tramp-fish-file-name-p): Make it a defsubst.
4938 (tramp-fish-method, tramp-fish-file-name-handler)
4939 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4941 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4942 `tramp-foreign-file-name-handler-alist'. Add to
4943 `tramp-unload-hook'.
4944 (tramp-ftp-method): Make it a defconst.
4945 (tramp-ftp-file-name-p): Make it a defsubst.
4946 (tramp-ftp-method, tramp-ftp-file-name-handler)
4947 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4949 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4950 `tramp-foreign-file-name-handler-alist'. Add to
4951 `tramp-unload-hook'. Change checks, whether package can be
4953 (tramp-gvfs-file-name-p): Make it a defsubst.
4954 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4955 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4956 (tramp-gvfs-handle-file-directory-p): New defun.
4957 (tramp-gvfs-file-name-handler-alist): Use it.
4959 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4960 `tramp-foreign-file-name-handler-alist'. Add to
4961 `tramp-unload-hook'.
4962 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4963 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4965 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4966 (tramp-gw-open-connection): Set tramp-autoload cookie.
4968 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4969 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4970 Add to `tramp-unload-hook'. Change checks, whether package can be
4972 (tramp-imap-file-name-p): Make it a defsubst.
4973 (tramp-imap-method, tramp-imaps-method)
4974 (tramp-imap-file-name-handler)
4975 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4977 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4978 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4979 Add to `tramp-unload-hook'. Change checks, whether package can be
4980 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4982 (tramp-smb-tunnel-method): Make it a defconst.
4983 (tramp-smb-file-name-p): Make it a defsubst.
4984 (tramp-smb-method, tramp-smb-file-name-handler)
4985 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4987 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4988 (tramp-uuencode-region): Set tramp-autoload cookie.
4990 * net/trampver.el (top) Add to `tramp-unload-hook'.
4991 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4992 cookie. Update release number.
4994 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4996 * textmodes/ispell.el (ispell-start-process): Make sure original
4997 arg list is properly initialized (Bug#6993, Bug#6994).
4999 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5001 * files.el (directory-abbrev-alist): Use \` as default regexp.
5003 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5004 chars like - or ] (bug#6984).
5005 (rx-any-condense-range): Explode 2-char ranges.
5007 2010-09-06 Glenn Morris <rgm@gnu.org>
5009 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5011 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5013 * textmodes/bibtex.el:
5014 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5016 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5019 since no callers use it.
5020 (imap-message-get): Ditto.
5021 (imap-message-put): Ditto.
5022 (imap-mailbox-map): Ditto.
5023 (imap-mailbox-put): Ditto.
5024 (imap-mailbox-get): Ditto.
5025 (imap-mailbox-get): Revert last change for this function.
5027 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5029 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5030 callers to use `imap-fetch' instead. According to the comments, this
5031 should be safe, since all other IMAP clients use the 1:* syntax.
5032 (imap-enable-exchange-bug-workaround): Remove.
5033 (imap-debug): Remove -- doesn't seem very useful.
5035 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5037 * net/imap.el (imap-log): New convenience function used throughout
5038 instead of repeating the same code all over the place.
5040 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5042 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5043 when mouse-drag-copy-region is non-nil (Bug#6956).
5045 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5047 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5048 Improve regexps (Bug#6987).
5049 (dired-sort-toggle): Search more robustly for -t flag.
5051 * files.el (get-free-disk-space): Search more robustly for
5052 "available" column. Suggested by Ehud Karni
5053 <ehud@unix.mvs.co.il>.
5055 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5057 * international/uni-bidi.el:
5058 * international/uni-category.el:
5059 * international/uni-combining.el:
5060 * international/uni-decimal.el:
5061 * international/uni-mirrored.el:
5062 * international/uni-name.el: Regenerate.
5064 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * electric.el (electric-indent-post-self-insert-function):
5067 Don't reindent with a sloppy indentation function.
5069 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5070 border case in change-log-mode.
5072 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5075 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5076 Recognize leading tab in gcc-include regexp. Ignore names with
5077 leading "from" or "in" in gnu regexp (Bug#6937).
5079 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5081 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5082 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5083 (ispell-start-process): Avoid setq and simplify logic.
5084 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5085 (kill-buffer-hook): Don't use it globally with code that uses
5086 expand-file-name since that may call kill-buffer via
5087 code_conversion_restore.
5089 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5091 * emacs-lisp/package.el (package-directory-list): Only call
5092 file-name-nondirectory on a string.
5094 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5096 * emacs-lisp/package.el (package--download-one-archive):
5097 Ensure that archive-contents is valid before saving it.
5098 (package-activate-1, package-mark-obsolete, define-package)
5099 (package-compute-transaction, package-list-maybe-add): Use push.
5101 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5103 Use SMIE's blink-paren for octave-mode.
5104 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5105 Backslashes do not escape single-quotes, single-quotes do.
5106 (octave-block-else-regexp, octave-block-end-regexp)
5107 (octave-block-match-alist): Remove.
5108 (octave-smie-bnf-table): New var, with old content.
5109 (octave-smie-op-levels): Use it.
5110 (octave-smie-closer-alist): New var.
5111 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5112 (octave-blink-matching-block-open): Remove.
5113 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5114 (octave-electric-space): Let self-insert-command run expand-abbrev and
5117 * electric.el (electricity): New group.
5118 (electric-indent-chars): New var.
5119 (electric-indent-post-self-insert-function): New fun.
5120 (electric-indent-mode): New minor mode.
5121 (electric-pair-skip-self): New custom.
5122 (electric-pair-post-self-insert-function): New function.
5123 (electric-pair-mode): New minor mode.
5125 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5126 calcAlg-blink-matching-open.
5127 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5128 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5129 Use the new blink-matching-check-function.
5131 Provide blink-matching support to SMIE.
5132 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5133 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5134 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5136 * simple.el (newline): Fix last change to properly remove itself from
5139 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * simple.el (newline): Eliminate optimization.
5142 Use post-self-insert-hook to set hard-newline and things before
5143 running post-self-insert-hook.
5144 (blink-matching-check-mismatch): New function.
5145 (blink-matching-check-function): New variable.
5146 (blink-matching-open): Use them.
5147 Skip back forward over prefix chars skipped by forward-sexp.
5148 Don't check if the parens are backslash escaped.
5149 (blink-paren-post-self-insert-function): Check backslash escaping here.
5151 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5153 * emacs-lisp/package.el (package-menu-mode-map):
5154 Change package-menu-revert bindings to revert-buffer.
5155 (package-menu-mode): Set revert-buffer-function.
5156 (package-menu-revert): Doc fix.
5158 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5160 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5161 `default-directory' unless using Ispell per-directory personal
5162 dictionaries and not in a mini-buffer under XEmacs.
5163 (kill-buffer-hook): Do not kill ispell process on exit when
5164 `ispell-process-directory' is "~/". (Bug#6143)
5166 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5168 * simple.el (kill-new): Call interprogram-cut-function with only
5171 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5172 Remove cut buffer from error message.
5174 * term/x-win.el (x-select-text):
5175 * term/pc-win.el (x-selection-value):
5176 * term/ns-win.el (x-selection-value):
5177 * eshell/em-term.el:
5178 * w32-fns.el (x-get-selection-value):
5179 * mouse-sel.el (mouse-sel-set-selection-function):
5180 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5182 * term/x-win.el: Update documentation for x-last-selected-text-*.
5183 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5184 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5185 (x-select-text): Remove argument PUSH, update documentation.
5186 Remove cut-buffer code.
5187 (x-selection-value-internal): Was previously x-selection-value.
5188 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5189 Update documentation, remove cut-buffer code.
5190 Call x-selection-value-internal.
5191 (x-clipboard-yank): Call x-selection-value-internal.
5192 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5194 * term/pc-win.el (x-last-selected-text):
5195 x-cut-buffer-or-selection-value renamed to x-selection-value
5196 (x-select-text): Remove argument PUSH, update documentation.
5198 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5199 x-cut-buffer-or-selection-value renamed to x-selection-value
5200 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5201 (x-select-text): Remove argument PUSH, update documentation.
5203 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5205 * w32-fns.el (x-last-selected-text):
5206 x-cut-buffer-or-selection-value renamed to x-selection-value.
5207 (x-cut-buffer-max): Remove.
5208 (x-select-text): Remove argument PUSH, update documentation.
5210 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5212 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5214 * mouse-sel.el (mouse-sel-get-selection-function):
5215 x-cut-buffer-or-selection-value renamed to x-selection-value.
5216 (x-select-text): Remove optional push.
5218 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * simple.el (blink-paren-function): Move from C to here.
5221 (blink-paren-post-self-insert-function): New function.
5222 (post-self-insert-hook): Use it.
5224 * emacs-lisp/pcase.el (pcase-split-memq):
5225 Fix overenthusiastic optimisation.
5226 (pcase-u1): Handle the case of a lambda pred.
5228 2010-08-31 Kenichi Handa <handa@m17n.org>
5230 * international/mule-cmds.el (standard-display-european-internal):
5231 Setup standard-display-table for 8-bit characters by storing 8-bit
5232 characters in the element vector.
5234 * disp-table.el (standard-display-8bit):
5235 Setup standard-display-table for 8-bit characters by storing 8-bit
5236 characters in the element vector.
5237 (standard-display-european): Likewise.
5239 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5241 * textmodes/nroff-mode.el (nroff-view): New command.
5242 (nroff-mode-map): Bind it to C-c C-c.
5244 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * emacs-lisp/smie.el (smie-down-list): New command.
5248 Remove old indentation and navigation code on octave-mode.
5249 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5250 smie-down-list rather than add a binding for octave-down-block.
5251 (octave-mark-block, octave-blink-matching-block-open):
5252 Rely on forward-sexp-function.
5253 (octave-fill-paragraph): Don't narrow, so you can use
5254 indent-according-to-mode.
5255 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5256 (octave-in-block-p, octave-re-search-forward-kw)
5257 (octave-re-search-backward-kw, octave-indent-calculate)
5258 (octave-end-as-array-index-p, octave-block-end-offset)
5259 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5260 (octave-down-block, octave-backward-up-block, octave-up-block)
5261 (octave-before-magic-comment-p, octave-indent-line): Remove.
5263 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5265 * emacs-lisp/package.el (package--read-archive-file): Just use
5266 `read', to avoid copying an additional string.
5267 (package-menu-mode): Set header-line-format here.
5268 (package-menu-refresh, package-menu-revert): Signal an error if
5269 not in the Package Menu.
5270 (package-menu-package-list): New var.
5271 (package--generate-package-list): Operate on the current buffer;
5272 don't assume that it is *Packages*, since the user may rename it.
5273 Allow persistent package listings and sort keys using
5274 package-menu-package-list and package-menu-package-sort-key.
5275 (package-menu--version-predicate): Fix version calculation.
5276 (package-menu-sort-by-column): Don't select the window.
5277 (package--list-packages): Create the *Packages* buffer.
5278 Set package-menu-package-list-key.
5279 (list-packages): Sorting by status is now the default.
5280 (package-buffer-info): Use match-string-no-properties.
5281 (define-package): Add a &rest argument for future proofing, but
5283 (package-install-from-buffer, package-install-buffer-internal):
5284 Merge into a single function, package-install-from-buffer.
5285 (package-install-file): Change caller.
5287 * finder.el: Load finder-inf using `require'.
5288 (finder-list-matches): Sorting by status is now the default.
5289 (finder-compile-keywords): Simpify printing.
5291 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5294 (octave-mode-map): Remove special bindings for forward/backward-block
5295 and octave-backward-up-block. Use smie-close-block.
5296 (octave-continuation-marker-regexp): New var.
5297 (octave-continuation-regexp): Use it.
5298 (octave-operator-table, octave-smie-op-levels)
5299 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5300 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5301 (octave-mode): Use SMIE.
5302 (octave-close-block): Delete.
5304 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5306 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5307 CLIPBOARD, not in PRIMARY. (Bug#6944)
5309 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5313 (smie-indent-column): Allow indirection through variables.
5315 * composite.el (save-buffer-state): Delete, unused.
5316 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5317 (font-lock-default-fontify-region): Use with-syntax-table.
5318 * jit-lock.el (with-buffer-unmodified): Remove.
5319 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5321 Use `declare' in defmacros.
5322 * window.el (save-selected-window):
5323 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5324 * progmodes/python.el (def-python-skeleton):
5325 * net/dbus.el (dbus-ignore-errors):
5326 * jka-cmpr-hook.el (with-auto-compression-mode):
5327 * international/mule.el (with-category-table):
5328 * emacs-lisp/timer.el (with-timeout):
5329 * emacs-lisp/lisp-mnt.el (lm-with-file):
5330 * emacs-lisp/eieio.el (with-slots):
5331 * emacs-lisp/easymenu.el (easy-menu-define):
5332 * emacs-lisp/debug.el (debugger-env-macro):
5333 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5334 (Multiple-value-call, Multiple-value-prog1):
5335 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5336 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5337 edebug rule to definition.
5338 * emacs-lisp/lisp-mode.el (save-selected-window)
5339 (with-current-buffer, combine-after-change-calls)
5340 (with-output-to-string, with-temp-file, with-temp-buffer)
5341 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5342 (dolist, dotimes, when, unless):
5343 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5345 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5347 * finder.el: Require `package'.
5348 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5349 (finder-package-info): Var deleted.
5350 (finder-keywords-hash, finder--builtins-alist): New vars.
5351 (finder-compile-keywords): Compute package--builtins and
5352 finder-keywords-hash instead of finder-keywords-hash, respecting
5353 the "Package" header.
5354 (finder-unknown-keywords, finder-list-matches):
5355 Use finder-keywords-hash and package--list-packages.
5356 (finder-mode): Don't set font-lock-defaults.
5357 (finder-exit): We don't use "*Finder-package*" and "*Finder
5358 Category*" buffers anymore.
5360 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5361 (package--builtins): Set default value to nil.
5362 (package-initialize): Load precomputed value of package--builtins
5364 (package-alist, package-compute-transaction)
5365 (package-download-transaction): Improve docstring.
5366 (package-read-all-archive-contents): Do not change
5367 package--builtins here.
5368 (list-packages): Make package-list-packages an alias for this.
5369 Sort by status by default.
5370 (package--list-packages): Add optional PACKAGES arg.
5371 (describe-package-1): Use font-lock-face property. For built-in
5372 packages, insert file commentary.
5373 (package--generate-package-list): Rename from
5374 package-list-packages-internal; all callers changed. Add optional
5375 PACKAGES arg. Add alphabetical sort fallbacks.
5376 (package-menu--version-predicate, package-menu--status-predicate)
5377 (package-menu--description-predicate)
5378 (package-menu--name-predicate): New functions.
5380 * info.el (Info-finder-find-node): Search package-alist instead of
5381 finder-package-info.
5383 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5385 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5387 (version-to-list): Handle versions like "10.3d".
5389 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5392 (macroexp-accumulate): Use `declare'.
5394 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5396 * whitespace.el (whitespace-style): Adjust type declaration.
5398 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5400 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5401 empty argument to gvfs-copy.
5403 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5405 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5406 handle new TRASH arg of `delete-file'.
5408 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5410 * net/tramp.el (tramp-handle-insert-directory): Don't use
5411 `forward-word', its default syntax could be changed.
5413 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5414 Michael Albinus <michael.albinus@gmx.de>
5416 Implement compression for inline methods.
5418 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5419 (tramp-copy-size-limit): Allow also nil.
5420 (tramp-inline-compress-commands): New defconst.
5421 (tramp-find-inline-compress, tramp-get-inline-compress)
5422 (tramp-get-inline-coding): New defuns.
5423 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5424 replaced by `tramp-get-inline-coding'.
5425 (tramp-handle-file-local-copy, tramp-handle-write-region)
5426 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5428 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5430 Detect ssh 'ControlMaster' argument automatically in some cases.
5432 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5433 (tramp-default-method): Use it.
5435 2010-08-26 Karel Klíč <kklic@redhat.com>
5437 * net/tramp.el (tramp-file-name-for-operation):
5438 Add file-selinux-context.
5440 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5442 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5444 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5446 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5449 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5451 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5452 (js-paren-indent-offset, js-square-indent-offset)
5453 (js-curly-indent-offset): New options.
5454 (js--proper-indentation): Use them.
5456 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5458 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5459 instead of inspecting font-lock properties (Bug#6916).
5461 2010-08-26 David Reitter <david.reitter@gmail.com>
5463 * server.el (server-visit-files): Run pre-command-hook and
5464 post-command-hook for each buffer while it is current (Bug#6910).
5465 (server-execute): Do not run hooks here.
5467 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5469 Sync with Tramp 2.1.19.
5471 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5472 (tramp-reporter-dump-variable, tramp-load-report-modules)
5473 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5474 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5476 * net/tramp-compat.el (top): Do not autoload
5477 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5478 only when `start-file-process' is not bound.
5479 (byte-compile-not-obsolete-vars): Define if not bound.
5480 (tramp-compat-funcall): New defmacro.
5481 (tramp-compat-line-beginning-position)
5482 (tramp-compat-line-end-position)
5483 (tramp-compat-temporary-file-directory)
5484 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5485 (tramp-compat-copy-file, tramp-compat-copy-directory)
5486 (tramp-compat-delete-file, tramp-compat-delete-directory)
5487 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5489 (tramp-advice-file-expand-wildcards): Do not use
5490 `tramp-handle-file-remote-p'.
5491 (tramp-compat-make-temp-file): Simplify fallback implementation.
5492 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5493 (tramp-compat-copy-tree): Remove function.
5494 (tramp-compat-delete-file): New defun.
5495 (tramp-compat-delete-directory): Provide implementation for older
5497 (tramp-compat-file-attributes): Handle only
5498 `wrong-number-of-arguments' error.
5500 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5501 Add PRESERVE_SELINUX_CONTEXT.
5502 (tramp-fish-handle-delete-file): Add TRASH arg.
5503 (tramp-fish-handle-directory-files-and-attributes):
5504 Do not use `tramp-fish-handle-file-attributes.
5505 (tramp-fish-handle-file-local-copy)
5506 (tramp-fish-handle-insert-file-contents)
5507 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5509 * net/tramp-gvfs.el (top): Require url-util.
5510 (tramp-gvfs-mount-point): Remove.
5511 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5512 and `set-file-selinux-context'.
5513 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5514 (tramp-gvfs-handle-file-selinux-context)
5515 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5516 (with-tramp-dbus-call-method): Format trace message.
5517 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5518 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5519 Implement backup call, when operation on local files fails.
5520 Use progress reporter. Flush properties of changed files.
5521 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5522 Use `tramp-compat-delete-file'.
5523 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5524 (tramp-gvfs-handle-make-directory): Make more traces.
5525 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5526 (tramp-gvfs-url-file-name): Hexify file name in url.
5527 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5528 into account for the resulting file name.
5529 (tramp-gvfs-handler-askquestion): Preserve current message, in
5530 order to let progress reporter continue afterwards. (Bug#6257)
5531 Return dummy mountpoint, when the answer is "no".
5532 See `tramp-gvfs-maybe-open-connection'.
5533 (tramp-gvfs-handler-mounted-unmounted)
5534 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5535 attribute "default_location". Set "prefix" property.
5536 Handle default-location.
5537 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5538 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5539 exists. Raise an error, if not (due to a corresponding answer
5540 "no" in interactive questions, for example).
5541 Use `tramp-compat-funcall'.
5543 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5544 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5545 (tramp-imap-do-copy-or-rename-file)
5546 (tramp-imap-handle-insert-file-contents)
5547 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5548 (tramp-imap-handle-delete-file): Add TRASH arg.
5550 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5551 Add PRESERVE-SELINUX-CONTEXT.
5552 (tramp-smb-handle-copy-file)
5553 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5554 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5555 Use `with-progress-reporter'.
5556 (tramp-smb-handle-delete-file): Add TRASH arg.
5558 * net/tramp.el (tramp-methods): Move hostname to the end in all
5559 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5561 (tramp-verbose): Describe verbose level 9.
5562 (tramp-completion-function-alist)
5563 (tramp-file-name-regexp, tramp-chunksize)
5564 (tramp-local-coding-commands, tramp-remote-coding-commands)
5565 (with-connection-property, tramp-completion-mode-p)
5566 (tramp-action-process-alive, tramp-action-out-of-band)
5567 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5568 (tramp-exists-file-name-handler): Fix docstring.
5569 (tramp-remote-process-environment): Use `format' instead of
5570 `concat'. Protect version string by apostroph.
5571 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5573 (tramp-file-name-regexp-unified)
5574 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5575 not regard the volume letter as remote filename. (Bug#5447)
5576 (tramp-perl-file-attributes)
5577 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5578 (tramp-vc-registered-read-file-names): Read input as
5579 here-document, otherwise the command could exceed maximum length
5581 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5582 `set-file-selinux-context'.
5583 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5584 backtrace functions.
5585 (tramp-error-with-buffer): Don't show the connection buffer when
5586 we are in completion mode.
5587 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5588 (tramp-handle-file-selinux-context)
5589 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5590 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5592 (with-progress-reporter): New defmacro.
5593 (tramp-debug-outline-regexp): New defconst.
5594 (top, tramp-rfn-eshadow-setup-minibuffer)
5595 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5596 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5597 (tramp-completion-mode-p, tramp-check-for-regexp)
5598 (tramp-open-connection-setup-interactive-shell)
5599 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5600 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5601 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5602 Use `tramp-compat-funcall'.
5603 (tramp-handle-make-symbolic-link): Flush file properties.
5604 (tramp-handle-load, tramp-handle-file-local-copy)
5605 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5606 (tramp-handle-vc-registered, tramp-maybe-send-script)
5607 (tramp-find-shell): Use `with-progress-reporter'.
5608 (tramp-do-file-attributes-with-stat): Add space in format string,
5609 in order to work around a bug in pdksh. Reported by Gilles Pion
5611 (tramp-handle-verify-visited-file-modtime): Do not send a command
5612 when the connection is not established.
5613 (tramp-handle-set-file-times): Simplify the check for utc.
5614 (tramp-handle-directory-files-and-attributes)
5615 (tramp-get-remote-path): Use `copy-tree'.
5616 (tramp-completion-handle-file-name-all-completions): Ensure, that
5617 non remote files are still checked. Oops.
5618 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5619 Handle PRESERVE-SELINUX-CONTEXT.
5620 (tramp-do-copy-or-rename-file): Add progress reporter.
5621 (tramp-do-copy-or-rename-file-directly): Do not use
5622 `tramp-handle-file-remote-p'.
5623 (tramp-do-copy-or-rename-file-out-of-band):
5624 Use `tramp-compat-delete-directory'.
5625 (tramp-do-copy-or-rename-file-out-of-band)
5626 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5627 Use `format-spec-make'.
5628 (tramp-handle-delete-file): Add TRASH arg.
5629 (tramp-handle-dired-uncache): Flush directory cache, not only file
5631 (tramp-handle-expand-file-name)
5632 (tramp-completion-handle-file-name-all-completions)
5633 (tramp-completion-handle-file-name-completion):
5634 Use `tramp-connectable-p'.
5635 (tramp-handle-start-file-process): Set connection property "vec".
5636 Use it, in order to invalidate file caches. Check only for
5637 `remote-tty' process property.
5638 Implement tty setting. (Bug#4604, Bug#6360)
5639 (tramp-file-name-for-operation): Add `call-process-region' and
5640 `set-file-selinux-context'.
5641 (tramp-find-foreign-file-name-handler)
5642 (tramp-advice-make-auto-save-file-name)
5643 (tramp-set-auto-save-file-modes): Remove superfluous check for
5644 `stringp'. This is done inside `tramp-tramp-file-p'.
5645 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5646 operations when we are in completion mode. This gives the user
5647 the chance to correct the file name in the minibuffer.
5648 (tramp-completion-mode-p): Use `non-essential'.
5649 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5650 compatibility: Use `completion-ignore-case' if
5651 `read-file-name-completion-ignore-case' does not exist.
5652 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5653 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5655 (tramp-action-password): Hide password prompt before next run.
5656 (tramp-process-actions): Widen connection buffer for the trace.
5657 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5658 process property. Trace stty settings if `tramp-verbose' >= 9.
5659 Apply workaround for IRIX64 bug. Move argument of last
5660 `tramp-send-command' where it belongs to.
5661 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5662 front of `login-args'.
5663 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5664 on "/dev/null" instead of "/".
5665 (tramp-get-ls-command-with-dired): Make test for "--dired"
5667 (tramp-set-auto-save-file-modes): Adapt version check.
5668 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5669 (tramp-handle-process-file): Call the program in a subshell, in
5670 order to preserve working directory.
5671 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5672 `tramp-remote-sh' from `tramp-methods'.
5673 (tramp-get-ls-command): Make test for "--color=never" stronger.
5674 (tramp-check-for-regexp): Use (forward-line 1).
5676 * net/trampver.el: Update release number.
5678 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5680 * help.el (help-map): Bind `C-h P' to describe-package.
5682 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5684 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5685 when downloading archives.
5686 (describe-package-1): Add package commentary.
5687 (package-install-button-action): New function.
5688 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5689 (package-menu-view-commentary): Function removed.
5690 (package-list-packages-internal): Hide the `package' package too.
5692 2010-08-25 Kenichi Handa <handa@m17n.org>
5694 * language/misc-lang.el ("Arabic"): New language environment.
5695 Setup composition-function-table for Arabic characters.
5697 * international/fontset.el (setup-default-fontset): Fix typo for
5698 arabic OTF spec (fini->fina).
5700 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5702 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5705 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5707 * whitespace.el: Allow cleaning up blanks without blank
5708 visualization (Bug#6651). Adjust help window for
5709 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5710 instead of whitespace-line-column (from EmacsWiki). New version
5712 (whitespace-style): Add new value 'face. Adjust docstring.
5713 (whitespace-space, whitespace-hspace, whitespace-tab):
5714 Adjust foreground property face.
5715 (whitespace-line-column): Adjust docstring and type declaration.
5716 (whitespace-style-value-list, whitespace-toggle-option-alist)
5717 (whitespace-help-text): Adjust const initialization.
5718 (whitespace-toggle-options, global-whitespace-toggle-options):
5720 (whitespace-display-window, whitespace-interactive-char)
5721 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5722 (whitespace-help-scroll): New fun.
5724 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5726 * emacs-lisp/package.el (list-packages): Alias for
5727 package-list-packages.
5729 2010-08-24 Kevin Ryde <user42@zip.com.au>
5731 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5734 * progmodes/ruby-mode.el (ruby): Add defgroup.
5736 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5738 * progmodes/python.el: Add Ipython support (Bug#5390).
5739 (python-shell-prompt-alist)
5740 (python-shell-continuation-prompt-alist): New options.
5741 (python--set-prompt-regexp): New function.
5742 (inferior-python-mode, run-python, python-shell):
5743 Require ansi-color. Use python--set-prompt-regexp to set the comint
5744 prompt based on the Python interpreter.
5745 (python--prompt-regexp): New var.
5746 (python-check-comint-prompt)
5747 (python-comint-output-filter-function): Use it.
5748 (run-python): Use a pipe (Bug#5694).
5750 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5752 * progmodes/python.el (python-send-region): Send a different
5753 Python command if Ipython is in use.
5754 (python-check-version): Use a Python command to find the version.
5756 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5758 * mouse.el (mouse-yank-primary): Avoid setting primary when
5759 deactivating the mark (Bug#6872).
5761 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5763 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5764 with "else" (Bug#3991).
5766 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5768 * net/dbus.el: Accept UNIX domain sockets as bus address.
5769 (top): Don't initialize `dbus-registered-objects-table' anymore,
5770 this is done in dbusbind,c.
5771 (dbus-check-event): Adapt test for bus.
5772 (dbus-return-values-table, dbus-unregister-service)
5773 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5776 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5778 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5780 2010-08-22 Juri Linkov <juri@jurta.org>
5782 * simple.el (read-extended-command): New function with the logic
5783 for `completing-read' moved to Elisp from `execute-extended-command'.
5784 Use `function-called-at-point' in `minibuffer-default-add-function'
5785 to get a command name for M-n (bug#5364, bug#5214).
5787 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5789 * startup.el (command-line-1): Issue warning for ignored arguments
5790 --unibyte, etc (Bug#6886).
5792 2010-08-22 Leo <sdl.web@gmail.com>
5794 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5795 (ignore, bright, dim, keyword): Split list of nicknames before
5796 passing to rcirc-add-or-remove (Bug#6894).
5798 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5802 2010-08-22 Leo <sdl.web@gmail.com>
5804 Fix buffer-list rename&refresh after killing a buffer in ido.
5805 * ido.el: Revert Óscar's.
5806 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5807 Remember the buffers at head, rather than their name.
5808 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5810 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5811 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5814 extra backslash added to each line (bug#6890).
5816 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5820 2010-08-22 Glenn Morris <rgm@gnu.org>
5822 * menu-bar.el (menu-bar-games-menu): Add landmark.
5824 2010-08-22 Glenn Morris <rgm@gnu.org>
5826 * align.el (align-regexp): Make group and spacing arguments
5827 use the interactive defaults when non-interactive. (Bug#6698)
5829 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5830 expansion, so as not to need sendmail.
5831 (mail-text-start): Remove declaration.
5832 (rmail-retry-failure): Require sendmail.
5834 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5836 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5838 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5840 * progmodes/flymake.el (flymake-start-syntax-check-process):
5841 Use `start-file-process' in order to let it run also on remote hosts.
5843 2010-08-22 Kenichi Handa <handa@m17n.org>
5845 * files.el: Add `word-wrap' as safe local variable.
5847 2010-08-22 Glenn Morris <rgm@gnu.org>
5849 * woman.el (woman-translate): Case matters. (Bug#6849)
5851 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5853 * simple.el (kill-region): Doc fix (Bug#6787).
5855 2010-08-22 Glenn Morris <rgm@gnu.org>
5857 * calendar/diary-lib.el (diary-header-line-format):
5858 Fit it to the window, not the frame.
5860 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5862 * subr.el (ignore-errors): Add debug declaration.
5864 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5866 * whitespace.el (whitespace-color-off): Remove post-command-hook
5869 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5873 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5875 * cus-edit.el (custom-group-value-create): Add extra newline
5876 before end line (Bug#6876).
5878 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5880 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5881 when extending it. Before killing on the second click, check if
5882 the buffer is the correct one. Doc fix.
5883 (mouse-secondary-save-then-kill): Allow usage without first
5884 calling mouse-start-secondary, by defaulting to point. Don't save
5885 an empty secondary selection. Doc fix.
5887 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5889 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5890 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5892 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5893 Adjust initialization.
5894 (whitespace-bob-marker, whitespace-eob-marker)
5895 (whitespace-buffer-changed): New vars.
5896 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5897 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5898 (whitespace-post-command-hook, whitespace-display-char-on):
5900 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5901 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5903 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * files.el (locate-file-completion-table): Only list the .el and .elc
5906 extensions if there's no other choice (bug#5955).
5908 * facemenu.el (facemenu-self-insert-data): New var.
5909 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5911 (facemenu-add-face): Use them.
5913 * simple.el (blink-matching-open): Obey forward-sexp-function.
5915 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5917 * simple.el (prog-mode-map): New var.
5918 (prog-indent-sexp): New command.
5920 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5922 * progmodes/prolog.el (smie): Require.
5924 * emacs-lisp/smie.el (smie-default-backward-token)
5925 (smie-default-forward-token): Strip properties.
5926 (smie-next-sexp): Be more careful with associative operators.
5927 (smie-forward-sexp-command): Generalize.
5928 (smie-backward-sexp-command): Simplify.
5929 (smie-closer-alist): New var.
5930 (smie-close-block): New command.
5931 (smie-indent-debug-log): New var.
5932 (smie-indent-offset-rule): Add a few more cases.
5933 (smie-indent-column): New function.
5934 (smie-indent-after-keyword): Use it.
5935 (smie-indent-keyword): Use it.
5936 Fix up the opener code's point position.
5937 (smie-indent-comment): Only applies at BOL.
5938 (smie-indent-debug): New command.
5940 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5941 declarations that are useful before running the macro.
5943 2010-08-18 Joakim Verona <joakim@verona.se>
5945 * image.el (imagemagick-types-inhibit): New variable.
5946 (imagemagick-register-types): New function.
5947 * image-mode.el (image-transform-properties): New function.
5948 (image-transform-set-scale, image-transform-fit-to-height)
5949 (image-transform-set-rotation, image-transform-set-resize)
5950 (image-transform-fit-to-width, image-transform-fit-to-height):
5952 (image-toggle-display-image): Support image transforms.
5954 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5956 * image.el (create-animated-image): Don't add heuristic mask to image
5959 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5961 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5962 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5964 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5968 Font-lock '...' strings, plus various simplifications and fixes.
5969 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5970 (octave-font-lock-close-quotes): New function.
5971 (octave-font-lock-syntactic-keywords): New var.
5972 (octave-mode): Use it. Set beginning-of-defun-function.
5973 (octave-mode-map): Don't override the <foo>-defun commands.
5974 (octave-mode-menu): Pass it directly to easy-menu-define;
5975 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5976 (octave-block-match-alist): Fix up last change so that
5977 octave-close-block uses the more specific keyword.
5978 (info-lookup-mode): Silence byte-compiler.
5979 (octave-beginning-of-defun): Not interactive any more.
5981 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5982 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5983 (octave-completion-at-point-function): Make sure point is within
5985 (octave-reindent-then-newline-and-indent):
5986 Use reindent-then-newline-and-indent.
5987 (octave-add-octave-menu): Remove.
5989 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5991 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5992 (report-emacs-bug-can-use-xdg-email): New functions.
5993 (report-emacs-bug): Set can-xdg-email to result of
5994 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5995 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5998 * net/browse-url.el (browse-url-default-browser): Add cond
5999 for browse-url-xdg-open.
6000 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6002 2010-08-17 Glenn Morris <rgm@gnu.org>
6004 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6005 (c-fontify-recorded-types-and-refs): Define for compiler.
6006 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6009 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6012 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6014 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6016 (tramp-handle-process-file): Call the program in a subshell, in
6017 order to preserve working directory.
6018 (tramp-action-password): Hide password prompt before next run.
6019 (tramp-process-actions): Widen connection buffer for the trace.
6021 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6023 * net/rcirc.el (rcirc-log-process-buffers): New option.
6024 (rcirc-print): Use it.
6025 (rcirc-generate-log-filename): New function.
6026 (rcirc-log-filename-function): Change default to
6027 rcirc-generate-log-filename (Bug#6828).
6029 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6031 * simple.el (deactivate-mark): If select-active-regions is `only',
6032 only set selection for temporarily active regions.
6034 * cus-start.el: Change defcustom for select-active-regions.
6036 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6038 * mouse.el (mouse--drag-set-mark-and-point): New function.
6039 (mouse-drag-track): Use LOCATION arg to push-mark.
6040 Use mouse--drag-set-mark-and-point to take click-count into
6041 consideration when updating point and mark (Bug#6840).
6043 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6045 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6046 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6048 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6050 * font-lock.el (lisp-font-lock-keywords-2):
6051 Add combine-after-change-calls, condition-case-no-debug,
6052 with-demoted-errors, and with-silent-modifications (Bug#6025).
6054 2010-08-14 Kevin Ryde <user42@zip.com.au>
6056 * emacs-lisp/copyright.el (copyright-update-year)
6057 (copyright-update): Temporary switch-to-buffer to ensure the
6058 buffer change being queried is visible (Bug#5394).
6060 2010-08-14 Tom Tromey <tromey@redhat.com>
6062 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6065 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6067 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6070 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6072 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6073 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6074 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6075 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6076 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6077 Call menu-bar-set-tool-bar-position.
6079 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6082 comment style (bug#6834).
6083 * progmodes/scheme.el (scheme-mode-syntax-table):
6084 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6085 "b" flag in "' 14b" syntax.
6087 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6088 for (un)commenting the region and performing completion.
6089 (octave-mode-menu): Use standard commands for help and completion.
6090 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6091 (octave-mode): Use define-derived-mode.
6092 Set completion-at-point-functions and don't set columns.
6093 Don't disable adaptive-fill-regexp.
6094 (octave-describe-major-mode, octave-comment-region)
6095 (octave-uncomment-region, octave-comment-indent)
6096 (octave-indent-for-comment): Remove.
6097 (octave-indent-calculate): Rename from calculate-octave-indent.
6098 (octave-indent-line, octave-fill-paragraph): Update caller.
6099 (octave-initialize-completions): No need to make an alist.
6100 (octave-completion-at-point-function): New function.
6101 (octave-complete-symbol): Use it.
6102 (octave-insert-defun): Use define-skeleton.
6104 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6105 (octave-mode-map): Use comment-dwim (bug#6829).
6107 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6109 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6110 indentation of inserted comment.
6112 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6114 * faces.el (region): Add type gtk that uses gtk colors.
6116 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6117 Handle theme-name change.
6119 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6121 * progmodes/sql.el: Version 2.5
6122 (sql-product-alist): Add :prompt-cont-regexp property for several
6124 (sql-prompt-cont-regexp): New variable.
6125 (sql-output-newline-count, sql-output-by-send):
6126 New variables. Record number of newlines in input text.
6127 (sql-send-string): Handle multiple filters and count newlines.
6128 (sql-send-magic-terminator): Count terminator newline.
6129 (sql-interactive-remove-continuation-prompt): Filters output to
6130 remove continuation prompts; one for each newline.
6131 (sql-interactive-mode): Set up new variables, prompt regexp and
6133 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6134 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6136 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * emacs-lisp/pcase.el: New file.
6140 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6142 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6143 as here-document, otherwise the command could exceed maximum
6144 length of command line.
6145 (tramp-handle-vc-registered): Call script accordingly.
6146 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6148 2010-08-10 Kenichi Handa <handa@m17n.org>
6150 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6153 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6155 * emacs-lisp/package.el (package-version-split)
6156 (package--version-first-nonzero, package-version-compare):
6158 (package-directory-list, package-load-all-descriptors)
6159 (package--built-in, package-activate, define-package)
6160 (package-installed-p, package-compute-transaction)
6161 (package-read-all-archive-contents)
6162 (package--add-to-archive-contents, package-buffer-info)
6163 (package-tar-file-info, package-list-packages-internal):
6164 Use version-to-list and version-list-*.
6166 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6167 Use version-to-list.
6168 (package-upload-buffer-internal): Use version-list-<=.
6170 2010-08-09 Kenichi Handa <handa@m17n.org>
6172 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6175 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6177 * tutorial.el (tutorial--default-keys): C-d is now bound to
6178 delete-forward-char (Bug#6826).
6180 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6181 for `double' value of mouse-1-click-follows-link (Bug#6807).
6183 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6185 * replace.el (replace-highlight): Bind isearch-forward and
6186 isearch-error, ensuring that highlighting is updated if the user
6187 switches the search direction (Bug#6808).
6189 * isearch.el (isearch-lazy-highlight-forward): New var.
6190 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6191 (isearch-lazy-highlight-update): Use it.
6193 2010-08-08 Kenichi Handa <handa@m17n.org>
6195 * international/mule.el (define-charset): Store NAME as :base property.
6196 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6197 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6198 current priority. Force using the designation of the specific
6199 charset by adding `charset' text property. Improve the whole algorithm.
6201 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6203 * emulation/pc-select.el (pc-selection-mode-hook)
6204 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6205 (pc-selection-mode): Fix typos in docstrings.
6207 2010-08-08 Kenichi Handa <handa@m17n.org>
6209 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6210 ctext-non-standard-encodings-alist here.
6212 * international/mule.el (ctext-non-standard-encodings-alist):
6213 Add "koi8-r" and "microsoft-cp1251".
6214 (ctext-standard-encodings): New variable.
6215 (ctext-non-standard-encodings-table): List only elements for
6216 non-standard encodings.
6217 (ctext-pre-write-conversion): Adjust for the above change.
6218 Check ctext-standard-encodings.
6220 * international/mule-conf.el (compound-text): Doc fix.
6221 (ctext-no-compositions): Doc fix.
6222 (compound-text-with-extensions): Doc fix.
6224 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6226 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6228 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6230 * progmodes/which-func.el (which-func-format): Split help-echo text
6231 into lines, like other mode-line tooltips.
6233 * server.el (server-start): When using TCP sockets, force IPv4
6234 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6236 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6238 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6240 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6242 * term.el (term-delimiter-argument-list): Reflow docstring.
6243 (term-read-input-ring, term-write-input-ring, term-send-input)
6244 (term-bol, term-erase-in-display, serial-supported-or-barf):
6245 Fix typos in docstrings.
6247 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6251 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6253 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6255 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6257 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6258 Fix typo in docstring (bug#6747).
6260 2010-08-08 Leo <sdl.web@gmail.com>
6262 * eshell/esh-io.el (eshell-get-target): Better detection of
6263 read-only file (Bug#6762).
6265 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6267 * align.el (align-default-spacing): Doc fix.
6268 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6270 2010-08-08 Stephen Peters <speters@itasoftware.com>
6272 * calendar/icalendar.el
6273 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6274 (icalendar--get-weekday-numbers): New.
6275 (icalendar--convert-recurring-to-diary): Handle multiple byday
6276 values in weekly rules. (Bug#6766)
6278 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6280 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6281 (icalendar--create-uid, icalendar-export-region)
6282 (icalendar--parse-summary-and-rest): Code formatting.
6284 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6286 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6287 to italicize headers.
6288 (calc-highlight-selections-with-faces): New variable.
6289 (calc-selected-face, calc-nonselected-face): New faces.
6291 * calc/calccomp.el (math-comp-highlight-string): Use
6292 `calc-highlight-selections-with-faces' to determine how to highlight
6295 * calc/calc-sel.el (calc-show-selections): Change message to when
6296 using faces to highlight selections.
6298 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6300 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6301 Add SQLite 3 keywords, functions and datatypes.
6302 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6305 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6307 * simple.el (select-active-regions): Move to keyboard.c.
6308 (deactivate-mark): Used saved-region-selection.
6309 (select-active-region): Function removed.
6310 (activate-mark, set-mark, push-mark-command)
6311 (handle-shift-selection): Don't call it.
6312 (keyboard-quit): Avoid adding the region to the window selection.
6314 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6315 select-active-regions implementation.
6316 (mouse-yank-at-click): Doc fix.
6318 * cus-start.el: Add custom declaration for select-active-regions.
6320 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6322 * simple.el (delete-forward-char): Doc fix.
6324 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6325 after reading the tutorial.
6327 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6329 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6330 Fix for the case that a C style comment has its delimiters alone on
6331 their respective lines.
6333 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6335 * net/tramp.el (tramp-handle-start-file-process): Set connection
6337 (tramp-process-sentinel): Use it for flushing the cache.
6338 We cannot do it via the process buffer, the buffer could be deleted
6339 already when running the sentinel.
6341 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6343 * comint.el (comint-mode): Make directory tracking functions
6344 functional on remote files. (Bug#6764)
6346 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6348 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6350 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6352 * emacs-lisp/find-gc.el (find-gc-source-files):
6353 Rename unexec.c => unexcoff.c.
6355 * emacs-lisp/authors.el (authors-fixed-entries):
6356 Rename unexec.c => unexcoff.c.
6358 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6360 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6361 cache, not only file cache.
6362 (tramp-process-sentinel): New defun.
6363 (tramp-handle-start-file-process): Use it, in order to invalidate
6366 2010-08-03 Leo <sdl.web@gmail.com>
6368 * server.el (server-start): Simplify loop.
6370 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6372 * frame.el (screen-height, screen-width, set-screen-width)
6373 (set-screen-height): Remove ancient compatibility aliases.
6375 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6376 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6378 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6379 that change current buffer.
6381 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6383 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6384 beginning of the string. Use `string-match-p'. (Bug#6765)
6386 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6388 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6390 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6392 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6393 (package--builtins): Tweak descriptions.
6394 (package-print-package): Upcase descriptions if necessary.
6395 Show all built-in packages in font-lock-builtin-face.
6396 (package-list-packages-internal): Omit "emacs" package.
6397 Show status of built-in packages as "built-in".
6399 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6401 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6402 before killing to preserve the primary selection (Bug#6701).
6404 * term/x-win.el (x-select-text): Doc fix.
6406 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6408 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6409 (objc-font-lock-extra-types):
6410 * progmodes/cc-mode.el (c-basic-common-init):
6411 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6412 (c++-make-template-syntax-table)
6413 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6414 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6415 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6416 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6417 * progmodes/cc-fonts.el (c-make-inverse-face)
6418 (c-basic-matchers-after):
6419 * progmodes/cc-engine.el (c-forward-keyword-clause)
6420 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6421 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6422 (c-guess-continued-construct, c-guess-basic-syntax):
6423 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6424 The above functions were modified or created.
6426 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6428 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6430 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6432 * files.el (bidi-paragraph-direction): Define safe local values.
6434 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6435 language-info-alist. Remove outdated FIXME in a comment.
6437 2010-07-31 Alan Mackenzie <acm@muc.de>
6439 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6440 Auto-fill broken in C/C++ modes.
6442 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6444 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6445 (menu-bar-showhide-tool-bar-menu-customize-disable)
6446 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6447 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6448 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6449 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6450 make a menu for Options => toolbar that can move it.
6452 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6454 * emacs-lisp/package-x.el (package--make-rss-entry):
6455 (package-maint-add-news-item, package--update-news)
6456 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6458 * emacs-lisp/package.el (package-archive-url): Rename from
6460 (package-install): Doc fix.
6461 (package-download-single, package-download-tar, package-install)
6462 (package-menu-view-commentary): Callers changed.
6464 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6466 * net/tramp.el (tramp-handle-start-file-process): Check only for
6467 `remote-tty' process property.
6468 (tramp-open-shell): Don't check for tty.
6469 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6472 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6475 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6477 * emacs-lisp/package.el (package-load-list, package-archives)
6478 (package-archive-contents, package-user-dir)
6479 (package-directory-list, package--builtins, package-alist)
6480 (package-activated-list, package-obsolete-alist): Mark as risky.
6482 2010-07-28 Phil Hagelberg <phil@evri.com>
6484 Add support for non-default package repositories.
6485 * emacs-lisp/package.el (package-archive-base): Var deleted.
6486 (package-archives): New variable.
6487 (package-archive-contents): Doc fix.
6488 (package-load-descriptor): Do nothing if descriptor file is missing.
6489 (package--write-file-no-coding): New function.
6490 (package-unpack-single): Use it.
6491 (package-archive-id): New function.
6492 (package-download-single, package-download-tar)
6493 (package-menu-view-commentary): Use it.
6494 (package-installed-p): Make second argument optional.
6495 (package-read-all-archive-contents): New function.
6496 (package-initialize): Use it.
6497 (package-read-archive-contents): Add ARCHIVE argument.
6498 (package--add-to-archive-contents): New function.
6499 (package-install): Don't call package-read-archive-contents.
6500 (package--download-one-archive): Store archive file in a
6501 subdirectory of package-user-dir.
6502 (package-menu-execute): Remove spurious line movement.
6504 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6506 * cus-start.el (tool-bar-style): Add text-image-horiz.
6508 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6510 * progmodes/gud.el (gud-common-init): Check for remoteness of
6511 `file', and not of `default-directory'.
6513 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6515 * net/tramp.el (tramp-methods): Move hostname to the end in all
6516 ssh `tramp-login-args'.
6517 (tramp-verbose): Describe verbose level 9.
6518 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6519 (tramp-open-connection-setup-interactive-shell): Trace stty
6520 settings if `tramp-verbose' >= 9.
6521 (tramp-handle-start-file-process): Implement tty setting.
6522 (Bug#4604, Bug#6360)
6524 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6525 `tramp-verbose' to 9.
6527 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6529 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6530 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6531 Remove references to package `lisp-re' (bug#4369).
6533 2010-07-27 Tom Tromey <tromey@redhat.com>
6535 * progmodes/js.el (js-mode):
6536 * progmodes/make-mode.el (makefile-mode):
6537 * progmodes/simula.el (simula-mode):
6538 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6540 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6542 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6544 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6545 (display-time-world-buffer-name, display-time-world-mode-map):
6546 Fix typos in docstrings.
6548 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6550 * image-mode.el (image-display-size): New function.
6551 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6552 (image-mode-fit-frame): Use it (Bug#6639).
6554 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6556 * dired.el (dired-buffers-for-dir): Handle list values of
6557 dired-directory (Bug#6636).
6559 2010-07-26 Sam Steingold <sds@gnu.org>
6561 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6562 Do not call `x-get-selection' the second time, reuse the value.
6564 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6566 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6567 which consist of control chars only. Suggested by Richard Stallman.
6569 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6571 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6572 exists before passing an error to find-file-not-found-functions
6575 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6577 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6578 Remove leading nil element, adjust values.
6579 (tetris-shapes, tetris-shape-scores):
6580 Change representation of shapes and remove some redundancy.
6581 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6582 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6583 Adjust for working with new representation of shapes.
6584 (tetris-shape-rotations): New function.
6585 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6586 (tetris-rotate-prev, tetris-rotate-next):
6587 Adjust for working with the new version of tetris-test-shape.
6589 2010-07-23 Markus Triska <markus.triska@gmx.at>
6591 * progmodes/ps-mode.el: Use comint (bug#5954).
6592 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6593 (ps-mode-other-newline): Simplify.
6594 (ps-run-mode): Derive from comint-mode instead of
6595 fundamental-mode, yielding input history etc.
6596 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6597 (ps-run-send-string): Adapt for comint-mode.
6598 (ps-run-newline): Remove now unneeded function.
6600 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6602 * net/tramp.el (tramp-methods): Move hostname to the end in all
6603 plink `tramp-login-args'.
6605 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6607 * net/tramp.el (tramp-open-shell): New defun.
6608 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6611 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6613 * net/tramp.el (tramp-file-name-regexp-unified)
6614 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6615 not regard the volume letter as remote filename. (Bug#5447)
6617 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6619 * custom.el (custom-declare-variable): Give a clearer error message
6620 when the docstring is missing (bug#6476).
6622 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6624 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6625 (sql-login-params): New widget definition.
6626 (sql-oracle-login-params, sql-mysql-login-params)
6627 (sql-solid-login-params, sql-sybase-login-params)
6628 (sql-informix-login-params, sql-ingres-login-params)
6629 (sql-ms-login-params, sql-postgres-login-params)
6630 (sql-interbase-login-params, sql-db2-login-params)
6631 (sql-linter-login-params): Use it.
6632 (sql-sqlite-login-params): Use it; Define "database" parameter as
6634 (sql-sqlite-program): Change to "sqlite3".
6635 (sql-comint-sqlite): Make sure database name is complete.
6636 (sql-for-each-login): New function.
6637 (sql-connect, sql-save-connection): Use it.
6638 (sql-get-login-ext): New function.
6639 (sql-get-login): Use it.
6640 (sql-make-alternate-buffer-name): Handle :file parameters.
6642 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6644 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6645 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6647 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6649 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6651 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6653 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6655 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6657 * net/tramp.el (tramp-get-ls-command)
6658 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6661 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6663 * progmodes/sql.el: Version 2.3.
6664 (sql-connection-alist): Change keys from symbols to strings;
6665 enhanced the widget definition.
6666 (sql-mode-menu): Add submenu to select connections.
6667 (sql-interactive-mode-menu): Add "Save Connection" item.
6668 (sql-add-product): Fix menu item.
6669 (sql-get-product-feature): Improved error handling.
6670 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6671 (sql-make-alternate-buffer-name): Simplified.
6672 (sql-product-interactive): Handle missing product.
6673 (sql-connect): Support string keys, minor improvements.
6674 (sql-save-connection): New function.
6675 (sql-connection-menu-filter): New function.
6677 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6679 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6680 (tramp-open-connection-setup-interactive-shell):
6681 Apply workaround for IRIX64 bug. Move argument of last
6682 `tramp-send-command' where it belongs to.
6684 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6686 * net/tramp.el (tramp-perl-file-attributes)
6687 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6688 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6689 front of `login-args'.
6691 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6693 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6694 Set `show-trailing-whitespace' to nil.
6695 (display-time-world-display): Simplify.
6697 2010-07-18 Alan Mackenzie <acm@muc.de>
6699 Enhance `c-file-style' in file/directory local variables.
6700 * progmodes/cc-mode.el (c-count-cfss): New function.
6701 (c-before-hack-hook): Call `c-set-style' differently according to
6702 whether c-file-style was set in file or directory local
6705 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6707 * progmodes/sql.el: Version 2.2.
6708 (sql-product, sql-user, sql-database, sql-server, sql-port):
6709 Use defcustom :safe keyword rather than putting safe-local-variable
6711 (sql-password): Use defcustom :risky keyword rather than putting
6712 risky-local-variable property.
6713 (sql-oracle-login-params, sql-sqlite-login-params)
6714 (sql-solid-login-params, sql-sybase-login-params)
6715 (sql-informix-login-params, sql-ingres-login-params)
6716 (sql-ms-login-params, sql-postgres-login-params)
6717 (sql-interbase-login-params, sql-db2-login-params)
6718 (sql-linter-login-params): Add `port' option.
6719 (sql-get-product-feature): Add NO-INDIRECT parameter.
6720 (sql-comint-oracle, sql-comint-sybase)
6721 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6722 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6723 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6724 (sql-comint-linter): Rename sql-connect-* functions to
6726 (sql-product-alist, sql-mode-menu): Rename as above and
6727 :sqli-connect-func to :sqli-comint-func.
6728 (sql-connection): New variable.
6729 (sql-interactive-mode): Set it.
6730 (sql-connection-alist): New variable.
6731 (sql-connect): New function.
6732 (sql--alt-buffer-part, sql--alt-if-not-empty)
6733 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6735 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6737 * image-mode.el (image-bookmark-make-record): Do not set context
6738 in an image (Bug#6650).
6740 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6742 * simple.el (select-active-region): New function.
6743 (push-mark-command, set-mark, activate-mark)
6744 (handle-shift-selection): Use it.
6745 (deactivate-mark): Don't check for size of region.
6747 * mouse.el (mouse-drag-track): Use select-active-region.
6749 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6751 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6754 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6756 * term/x-win.el (x-select-enable-primary): Change default to nil.
6757 (x-select-enable-clipboard): Add :version keyword.
6759 * mouse.el (mouse-drag-copy-region):
6760 * simple.el (select-active-regions): Likewise.
6762 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6764 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6765 (vc-coding-system-for-diff): Use it to decide whether to inherit
6766 from the file the EOL format for reading the diffs of that file.
6769 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6771 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6772 unibyte, so compressed attachments are not compressed again.
6774 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6776 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6777 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6778 (tramp-find-shell): Simplify setting connection property.
6779 (tramp-get-ls-command): Make test for "--color=never" stronger.
6781 2010-07-15 Simon South <ssouth@member.fsf.org>
6783 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6784 blocks within record declarations (i.e. variant parts) correctly.
6786 2010-07-15 Simon South <ssouth@member.fsf.org>
6788 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6789 over literal tokens when parsing so newlines aren't "absorbed" by
6790 single-line comments. Corrects the indentation of case blocks
6791 that have a comment on the first line.
6793 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6795 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6796 by Drew Adams (Bug#5504).
6798 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6800 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6801 now that Unicode is used (Bug#6594).
6803 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6805 * term/x-win.el (x-select-enable-clipboard): Default to t.
6806 (x-initialize-window-system): Don't overwrite Paste menu item.
6808 * simple.el (select-active-regions): Default to t.
6809 (push-mark-command): Don't overwrite primary with empty string.
6811 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6812 (mouse-drag-copy-region): Default to nil.
6814 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6815 Cut/Copy/Paste menu bar items.
6817 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6819 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6820 Patch applied by Karl Fogel.
6822 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6823 and `bookmark-current-buffer' if they have been already set in
6824 another buffer (e.g gnus-art).
6826 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6827 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6829 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6831 * bookmark.el (bookmark-make-record-default): Allow unneeded
6832 information to be omitted from the record.
6834 Adjust declarations and calls:
6836 * info.el (bookmark-make-record-default): Adjust declaration.
6837 (Info-bookmark-make-record): Adjust call.
6839 * woman.el (bookmark-make-record-default): Adjust declaration.
6840 (woman-bookmark-make-record): Adjust call.
6842 * man.el (bookmark-make-record-default): Adjust declaration.
6843 (Man-bookmark-make-record): Adjust call.
6845 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6847 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6849 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6851 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6852 This is also from Thierry Volpiatto's patch in bug #6444. However,
6853 because it was extraneous to the functional change in that patch,
6854 and causes a re-indendation, I am committing it separately.
6856 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6858 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6859 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6860 Patch applied by Karl Fogel (Bug#6444).
6862 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6864 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6866 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6868 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6869 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6870 (ns-alternatives-map): Change S-tab binding to backtab
6873 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6876 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6878 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6881 * language/tv-util.el (tai-viet-re): Remove format.
6883 2010-07-12 Kenichi Handa <handa@m17n.org>
6885 * language/hebrew.el: Remove no-byte-compile declaration.
6886 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6887 composition-function-table for 3-character looking back.
6888 (hebrew-font-get-precomposed): New function.
6889 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6891 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6893 * mouse.el (mouse-drag-track): Handle select-active-regions
6896 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6898 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6899 empty argument to gvfs-copy.
6901 2010-07-10 Glenn Morris <rgm@gnu.org>
6903 * calendar/calendar.el (calendar-week-end-day): New function.
6904 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6905 Respect calendar-week-start-day. (Bug#6606)
6906 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6907 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6908 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6909 respect calendar-week-start-day.
6911 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6913 * simple.el (use-region-p): Doc fix (Bug#6607).
6915 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6917 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6918 Add regexps for cucumber and ruby.
6920 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6922 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6923 (epa-file-insert-file-contents): Hack to prevent
6924 find-file from opening empty buffer when decryption failed
6927 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6929 * textmodes/ispell.el (ispell-alternate-dictionary):
6930 Use file-readable-p.
6931 Return nil if no word-list is found at default locations.
6932 (ispell-complete-word-dict): Default to nil.
6933 (ispell-command-loop): Use 'word-list' when using lookup-words.
6934 (lookup-words): Use ispell-complete-word-dict or
6935 ispell-alternate-dictionary. Check for word-list availability
6936 and handle errors if needed with better messages (Bug#6539).
6937 (ispell-complete-word): Use ispell-complete-word-dict or
6938 ispell-alternate-dictionary.
6940 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6942 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6943 builtins (BufferError, BytesWarning, WindowsError; callables
6944 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6946 2010-07-07 Glenn Morris <rgm@gnu.org>
6948 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6949 (zone-shift-left): Ignore intangibility, and any errors from
6951 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6952 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6953 deleting, and copying text properties.
6954 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6955 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6956 to point-max is hard.
6957 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6958 (zone-fill-out-screen): Ignore intangibility.
6960 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6962 * menu-bar.el (menu-bar-mode):
6963 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6966 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6967 word/line selection (Bug#6565).
6969 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6971 * net/dbus.el (dbus-send-signal): Declare function.
6973 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6975 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6976 (dbus-register-property): New optional argument EMITS-SIGNAL.
6977 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6979 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6981 * mouse.el (mouse-drag-overlay): Variable deleted.
6982 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6983 (mouse--remap-link-click-p): New function.
6984 (mouse-drag-track): Handle dragging by using temporary Transient
6985 Mark mode, instead of a special overlay.
6986 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6989 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6992 2010-07-02 Juri Linkov <juri@jurta.org>
6994 * autoinsert.el (auto-insert-alist): Fix readability
6995 by using dotted pair notation for lambda.
6997 2010-07-02 Juri Linkov <juri@jurta.org>
6999 * faces.el (read-face-name): Rename arg `string-describing-default'
7000 to `default'. Doc fix. Display the default value in quotes
7001 in the prompt. With empty input, return the `default' arg,
7002 unless the default value is a string (in which case return nil).
7003 (describe-face): Replace the string `default' arg of `read-face-name'
7004 with the symbol `default'.
7006 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7008 * emulation/viper-cmd.el (viper-delete-backward-char)
7009 (viper-del-backward-char-in-insert)
7010 (viper-del-backward-char-in-replace, viper-change)
7011 (viper-backward-indent): Replace delete-backward-char with
7012 delete-char (Bug#6552).
7014 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7016 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7018 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7020 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7021 argument passed to frame-creation-function (Bug#5378).
7023 * faces.el (x-handle-named-frame-geometry)
7024 (x-handle-reverse-video, x-create-frame-with-faces)
7025 (face-set-after-frame-default, tty-create-frame-with-faces):
7026 Don't separately consult default-frame-alist. It is now passed as the
7029 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7031 * startup.el (command-line): Don't call tool-bar-setup in a
7034 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7036 * ruler-mode.el (ruler--save-header-line-format): New fun.
7037 (ruler-mode): Use it as a setter function, so as not to overwrite
7038 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7040 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7042 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7043 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7044 (vc-log-outgoing): Use it.
7045 (vc-diff-internal): Set diff-vc-backend.
7047 * vc/diff-mode.el (diff-vc-backend): New var.
7049 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7051 * dynamic-setting.el (font-setting-change-default-font):
7052 Remove call to message.
7054 2010-06-28 Kenichi Handa <handa@m17n.org>
7056 * international/quail.el (quail-insert-kbd-layout): Fix the
7057 showing of untranslated characters.
7059 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7061 * simple.el (delete-active-region): New option.
7062 (delete-backward-char): Implement in Lisp.
7063 (delete-forward-char): New command.
7065 * mouse.el (mouse-region-delete-keys): Deleted.
7066 (mouse-show-mark): Simplify.
7068 * bindings.el (global-map): Bind delete and DEL, the former to
7069 delete-forward-char.
7071 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7073 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7074 (ruby-mode): Bind indent-line-function (Bug#5119).
7076 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7078 * startup.el (command-line): Recognize "0" X resource value.
7080 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7082 * startup.el (command-line): Use X resources to set the value of
7083 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7085 * menu-bar.el (menu-bar-mode):
7086 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7087 Set init-value to t.
7089 * frame.el (frame-notice-user-settings): Don't change
7090 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7091 vice versa (Bug#2249).
7093 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7095 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7097 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7099 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7100 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7102 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7103 default directories are expanded (Bug#6143).
7105 2010-06-24 Juri Linkov <juri@jurta.org>
7107 * minibuffer.el (completions-format): Change default from nil to
7108 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7110 2010-06-24 Juri Linkov <juri@jurta.org>
7112 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7113 buffer-locally to lambda that re-runs the vc diff command.
7116 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7118 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7119 echo area is in use (Bug#3412).
7121 2010-06-22 Glenn Morris <rgm@gnu.org>
7123 * textmodes/texinfmt.el (texinfo-format-region)
7124 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7125 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7126 (texinfo-format-option, texinfo-noindent):
7127 Use line-beginning-position and line-end-position.
7129 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7130 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7131 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7134 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7136 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7137 forward-line fallout.
7139 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7141 * mouse.el (mouse-appearance-menu): Add docstring.
7143 * help.el (describe-key): Print up-event using key-description.
7145 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7147 * net/zeroconf.el (zeroconf-resolve-service)
7148 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7149 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7151 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7153 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7155 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7157 Avoid displaying files with a nil state in vc-dir.
7158 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7159 cases that cause insertion.
7160 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7163 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7165 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7167 2010-06-29 Leo <sdl.web@gmail.com>
7169 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7171 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7173 * generic-x.el (bat-generic-mode): Fix regexp for command line
7174 switches (Bug#5719).
7176 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7178 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7179 of nconc to avoid pure storage error (Bug#6239).
7181 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7183 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7184 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7185 bindings of bookmark-automatically-show-annotations (Bug#6515).
7187 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7189 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7190 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7192 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7194 * comint.el (make-comint, make-comint-in-buffer): Mention return
7195 value in the docstrings. (Bug#6498)
7197 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7199 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7200 since it is not present when using some non-default switches.
7202 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7204 * simple.el (compose-mail): Fix doc string to refer to
7205 `compose-mail-user-agent-warnings', instead of to the
7206 nonexistent `compose-mail-check-user-agent'.
7208 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7210 Fix an indentation bug:
7212 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7213 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7216 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7217 (c-clear->-pair-props-if-match-before): now return t when they've
7218 cleared properties, nil otherwise.
7219 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7220 by taking account of the existing value.
7222 * progmodes/cc-defs.el
7223 (c-clear-char-property-with-value-function): Fix this to clear the
7224 property rather than overwriting it with nil.
7226 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7228 * emacs-lisp/package.el (package-print-package): Add link to
7229 package description via describe-package.
7230 (describe-package-1): List package requirements. Add button to
7231 perform installation.
7232 (package-menu-describe-package): New command.
7234 * help-mode.el (help-package): New button type.
7236 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7238 * emacs-lisp/package.el: Move package-list-packages binding to
7240 (describe-package, describe-package-1, package--dir): New funs.
7241 (package-activate-1): Use package--dir.
7243 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7245 * help-mode.el (help-package-def): New button type.
7247 * menu-bar.el: Move package-list-packages binding here from
7250 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7252 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7254 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * emacs-lisp/edebug.el (edebug-read-list):
7257 Phase out old-style backquotes.
7259 2010-06-17 Juri Linkov <juri@jurta.org>
7261 * help-mode.el (help-mode): Set buffer-local variable
7262 revert-buffer-function to help-mode-revert-buffer.
7263 (help-mode-revert-buffer): New function.
7265 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7266 before popping to "*info*" (like in other Info functions).
7267 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7268 old-history-forward. Pop to old-buffer-name or "*info*" to
7269 recreate the killed buffer. Set Info-history-forward from
7270 old-history-forward.
7271 (Info-breadcrumbs-depth): Add :group and :version.
7273 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7275 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7277 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7279 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7280 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7282 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7284 * emacs-lisp/package.el (package-menu-mode-map):
7285 Move initialization into declaration.
7287 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7289 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7291 * emacs-lisp/package.el (package-archive-base): Point to
7293 (package-enable, package-load-list): New defcustoms.
7294 (package-user-dir, package-directory-list): Turn into defcustoms.
7295 Don't include package-user-dir in package-directory-list.
7296 (package--builtins-base): Don't include Emacs as a "package".
7297 (package-subdirectory-regexp): New var.
7298 (package-load-all-descriptors, package-compute-transaction)
7299 (package-download-transaction): Obey package-load-list.
7300 (package-activate-1): Rename from package-do-activate.
7301 (package-list-packages-internal): Check package-load-list.
7302 (package-load-descriptor, package-generate-autoloads)
7303 (package-unpack, package-unpack-single)
7304 (package--read-archive-file, package-delete):
7305 Use expand-file-name.
7307 * emacs-lisp/package-x.el: New file. Package uploading
7308 functionality split out from package.el.
7310 * startup.el (command-line): Load packages after reading init file.
7312 2010-06-17 Tom Tromey <tromey@redhat.com>
7314 * emacs-lisp/package.el: New file.
7316 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7318 Fix vc-annotate for renamed files when using Git.
7319 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7320 ls-files. Doe not pass the object as a file name to cat-file, it
7322 (vc-git-annotate-command): Pass the file name using -- to avoid
7323 ambiguity with the revision.
7324 (vc-git-previous-revision): Pass a relative file name.
7326 2010-06-22 Glenn Morris <rgm@gnu.org>
7328 * progmodes/js.el (js-mode-map): Use standard capitalization and
7329 ellipses for menu entries.
7331 * wid-edit.el (widget-complete): Doc fix.
7333 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7335 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7337 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7339 Fix annotating other revisions for renamed files in vc-annotate.
7340 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7341 VC backend. Use it when non-nil.
7342 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7345 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7346 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7347 Do not pass the file name to the 'previous-revision call when we
7348 don't want a file diff. (Bug#6489)
7350 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7352 Fix finding revisions for renamed files in vc-annotate.
7353 * vc/vc.el (vc-find-revision): Add an optional argument for
7354 the VC backend. Use it when non-nil.
7355 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7356 backend to vc-find-revision. (Bug#6487)
7358 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7360 Fix reading file names in Git annotate buffers.
7361 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7362 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7364 2010-06-20 Alan Mackenzie <acm@muc.de>
7366 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7367 in file local variables, set it first.
7369 2010-06-19 Glenn Morris <rgm@gnu.org>
7371 * descr-text.el (describe-char-unicode-data): Insert separating
7372 space when needed. (Bug#6422)
7374 * progmodes/idlwave.el (idlwave-action-and-binding):
7375 Fix typo in 2009-12-03 change. (Bug#6450)
7377 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7380 handling for `lambda' (misunderstanding).
7382 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7384 * calc/calc-poly.el (math-accum-factors): Make sure that
7385 constants aren't distributed after they are factored out.
7387 2010-06-16 Juri Linkov <juri@jurta.org>
7389 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7390 `list-colors-print'. (Bug#6332)
7392 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7394 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7397 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7399 * font-lock.el (font-lock-major-mode): Rename from
7400 font-lock-mode-major-mode to distinguish it from
7401 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7402 (font-lock-set-defaults):
7403 * font-core.el (font-lock-default-function): Adjust users.
7404 (font-lock-mode): Don't set it at all.
7406 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7408 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7410 2010-06-16 Glenn Morris <rgm@gnu.org>
7412 * calendar/appt.el (appt-time-msg-list): Doc fix.
7413 (appt-check): Let-bind appt-warn-time.
7414 (appt-add): Make the 3rd argument optional.
7415 Simplify argument names. Doc fix. Check for integer WARNTIME.
7416 Only add WARNTIME to the output list if non-nil.
7418 2010-06-16 Ivan Kanis <apple@kanis.eu>
7420 * calendar/appt.el (appt-check): Let the 3rd element of
7421 appt-time-msg-list specify the warning time.
7422 (appt-add): Add new argument with the warning time. (Bug#5176)
7424 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7426 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7427 older than version 1.6. (Bug#6361)
7429 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7431 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7432 used by cl-do-arglist. (Bug#6408)
7434 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7436 * textmodes/ispell.el (ispell-dictionary-base-alist):
7437 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7438 Suggested by Rolando Pereira (bug#6434).
7440 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7442 * facemenu.el (list-colors-sort): Doc fix.
7444 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7446 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7448 2010-06-14 Juri Linkov <juri@jurta.org>
7450 Add sort option `list-colors-sort'. (Bug#6332)
7451 * facemenu.el (color-rgb-to-hsv): New function.
7452 (list-colors-sort): New defcustom.
7453 (list-colors-sort-key): New function.
7454 (list-colors-display): Doc fix. Sort list according to the option
7456 (list-colors-print): Add HSV values to `help-echo' property of
7459 2010-06-14 Juri Linkov <juri@jurta.org>
7461 * compare-w.el: Move to the "vc" subdirectory.
7463 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * image-mode.el (image-mode-map): Remap left-char and right-char.
7467 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7469 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7471 * term/common-win.el (x-colors): Add all the color names defined
7472 in rgb.txt (Bug#6332).
7474 * facemenu.el (list-colors-print): Don't print extra names if it
7475 will overflow the window width.
7477 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7480 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7482 * files.el (make-directory): Doc fix (bug#6396).
7484 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7486 * net/tramp.el (tramp-remote-process-environment): Protect version
7487 string by apostroph.
7488 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7490 (tramp-file-name-for-operation): Add `call-process-region'.
7491 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7493 * net/tramp-compat.el (top): Do not autoload
7494 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7495 only when `start-file-process' is not bound.
7496 (tramp-advice-file-expand-wildcards): Do not use
7497 `tramp-handle-file-remote-p'.
7498 (tramp-compat-make-temp-file): Handle the case, that
7499 `make-temp-file' has no third argument EXTENSION.
7501 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7503 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7505 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7507 2010-06-11 Juri Linkov <juri@jurta.org>
7509 * finder.el (finder-known-keywords): Add keyword "vc"
7510 for version control.
7512 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7513 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7514 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7515 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7517 2010-06-11 Juri Linkov <juri@jurta.org>
7519 Move version control related files to the "vc" subdirectory.
7520 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7521 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7522 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7523 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7524 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7525 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7526 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7527 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7528 Move files to the "vc" subdirectory.
7530 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7532 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7535 2010-06-11 Stephen Eglen <stephen@gnu.org>
7537 * shell.el: Bind `shell-resync-dirs' to M-RET.
7539 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7541 * notifications.el: Move file from lisp/net, because it is
7542 supposed to talk locally to the user.
7544 2010-06-10 Julien Danjou <julien@danjou.info>
7546 * net/notifications.el (notifications-on-action-signal)
7547 (notifications-on-closed-signal): Pass notification id as first
7548 argument to the callback functions. Add docstrings.
7549 (notifications-notify): Fix docstring.
7551 2010-06-10 Glenn Morris <rgm@gnu.org>
7553 * emacs-lisp/authors.el (authors-ignored-files)
7554 (authors-valid-file-names): Add some files.
7556 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7559 merge conflict, giving preference to the emacs-23 version of the code.
7561 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * emacs-lisp/advice.el (ad-compile-function):
7564 Define warning-suppress-types before we let-bind it (bug#6275).
7566 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7567 declare it, make it buffer-local and permanent-local (bug#6324).
7568 (vc-resynch-window): Adjust name.
7569 * vc-hooks.el (vc-find-file-hook): Adjust name.
7571 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7573 * net/notifications.el (notifications-notify): Fix docstring.
7575 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7577 Update to Unicode 6.0.0 beta.
7578 * international/charprop.el: Update copyright.
7579 * international/mule-cmds.el (ucs-names): Update character ranges.
7580 * international/uni-bidi.el:
7581 * international/uni-category.el:
7582 * international/uni-combining.el:
7583 * international/uni-comment.el:
7584 * international/uni-decimal.el:
7585 * international/uni-decomposition.el:
7586 * international/uni-digit.el:
7587 * international/uni-lowercase.el:
7588 * international/uni-mirrored.el:
7589 * international/uni-name.el:
7590 * international/uni-numeric.el:
7591 * international/uni-old-name.el:
7592 * international/uni-titlecase.el:
7593 * international/uni-uppercase.el: Regenerate.
7595 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7597 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7598 (smie-precs-precedence-table): Fix typo in docstring.
7600 * vc-mtn.el (log-edit-extract-headers): Declare function.
7602 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7604 * net/notifications.el (dbus-register-signal): Declare function.
7605 (notifications-notify): Fix typos and reflow docstring.
7607 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7609 Improve VC create/retrieve tag/branch.
7610 * vc.el (vc-create-tag): Do not read the directory name for VCs
7611 with repository revision granularity. Adjust the tag/branch
7612 prompt. Reset VC properties.
7613 (vc-retrieve-tag): Do not read the directory name for VCs
7614 with repository revision granularity. Reset VC properties.
7616 2010-06-09 Julien Danjou <julien@danjou.info>
7618 * net/notifications.el: New file.
7620 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7622 Add optional support for resetting VC properties.
7623 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7624 call vc-file-clearprops when true.
7625 (vc-resynch-buffer): Add new optional argument, pass it down.
7626 (vc-resynch-buffers-in-directory): Likewise.
7628 Improve support for special markup in the VC commit message.
7629 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7630 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7631 * vc-git.el (vc-git-checkin):
7632 * vc-bzr.el (vc-bzr-checkin): Likewise.
7634 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7636 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7637 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7639 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7641 * iimage.el: Remove images as soon as the underlying text is modified.
7642 (iimage-modification-hook): New function.
7643 (iimage-mode-buffer): Use it.
7645 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7648 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7649 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7650 (smie-indent-keyword): Add handling of open-paren keywords.
7651 (smie-indent-comment-continue): Don't assume comment-continue.
7653 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7655 * window.el (pop-to-buffer): Remove the conditional that
7656 compares new-window and old-window, so it will reselect
7657 the selected window unconditionally.
7658 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7660 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7662 * emacs-lisp/smie.el (smie-indent-offset-after)
7663 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7664 (smie-indent-after-keyword): Use them.
7665 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7666 (smie-indent-keyword): Tweak the black magic.
7667 (smie-indent-comment-continue): Strip comment-continue before use.
7668 (smie-indent-functions): Indent comments before keywords.
7670 2010-06-06 Juri Linkov <juri@jurta.org>
7672 * isearch.el (isearch-lazy-highlight-search): Fix looping
7673 by checking for empty match. This syncs this loop with the
7674 similar loop in `isearch-search'. (Bug#6362)
7676 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7678 * net/dbus.el (dbus-register-method): Declare function.
7679 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7680 (dbus-introspect): Doc fix.
7681 (dbus-event-bus-name, dbus-introspect-get-interface)
7682 (dbus-introspect-get-argument): Reflow docstrings.
7684 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7686 vc-log-incoming/vc-log-outgoing fixes for Git.
7687 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7688 incoming/outgoing logs.
7689 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7690 instead of vc-git-compute-remote.
7691 (vc-git-compute-remote): Remove.
7693 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7695 * term/common-win.el (x-colors): Add "dark green" and "dark
7696 turquoise" (Bug#6332).
7698 2010-06-04 Juri Linkov <juri@jurta.org>
7700 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7701 Instead of setting `replace' to t and replacing the same string
7702 with itself, don't do certain actions when
7703 kill-do-not-save-duplicates is non-nil and string is equal to car
7704 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7705 interprogram-paste strings to kill-ring, and don't push the input
7706 argument `string' to kill-ring.
7707 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7709 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7711 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7713 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7715 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7716 (tramp-gvfs-handler-mounted-unmounted)
7717 (tramp-gvfs-connection-mounted-p): Handle default-location.
7719 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7720 move files to trash.
7722 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7724 * international/mule-cmds.el (nonascii-insert-offset)
7725 (nonascii-translation-table): Add obsolescence information.
7727 * international/mule.el (make-translation-table-from-vector): Doc fix.
7729 2010-06-03 Glenn Morris <rgm@gnu.org>
7731 * desktop.el (desktop-clear-preserve-buffers):
7732 Add "*Warnings*" buffer. (Bug#6336)
7734 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7736 vc-log-incoming/vc-log-outgoing improvements for Git.
7737 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7739 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7741 Add bindings for vc-log-incoming and vc-log-outgoing.
7742 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7743 and vc-log-outgoing.
7744 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7745 and vc-log-outgoing.
7747 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7749 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7750 (rcirc-handler-366): Always sort nicknames.
7752 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7754 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7756 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7758 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7760 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7763 (rcirc-sort-nicknames-join): Avoid setq.
7765 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7767 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7768 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7769 (rcirc-handler-366): Use them.
7771 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7773 Split smie-indent-calculate into more manageable chunks.
7774 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7775 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7776 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7777 (smie-indent-exps): Extract from smie-indent-calculate.
7778 (smie-indent-functions): New var.
7779 (smie-indent-functions): Use them.
7781 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7784 (smie-indent-calculate): Simplify and cleanup.
7786 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7788 * net/tramp-gvfs.el (top): Require url-util.
7789 (tramp-gvfs-mount-point): Remove.
7790 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7792 (with-tramp-dbus-call-method): Format trace message.
7793 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7794 Implement backup call, when operation on local files fails.
7795 Use progress reporter. Flush properties of changed files.
7796 (tramp-gvfs-handle-make-directory): Make more traces.
7797 (tramp-gvfs-url-file-name): Hexify file name in url.
7798 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7799 into account for the resulting file name.
7800 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7801 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7802 (tramp-gvfs-handler-mounted-unmounted)
7803 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7804 attribute "default_location". Set "prefix" property.
7805 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7806 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7807 exists. Raise an error, if not (due to a corresponding answer
7808 "no" in interactive questions, for example).
7810 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7812 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7814 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7816 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7819 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7821 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7822 * vc-git.el (vc-git-compute-remote): New function.
7823 (vc-git-log-outgoing): Use it instead of hard coding a value.
7824 (vc-git-log-incoming): New function.
7826 Improve state updating for VC tag commands.
7827 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7828 to update the state of all buffers in the directory.
7830 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7832 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7834 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7835 `file-directory-p' to the filename part rather than to the whole text.
7837 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7841 2010-05-31 Drew Adams <drew.adams@oracle.com>
7843 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7845 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7847 * subr.el (momentary-string-display): Just use read-event to read
7848 the exit event (Bug#6238).
7850 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7852 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7854 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7856 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7857 Suggested by Eli Zaretskii <eliz@gnu.org>.
7859 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * minibuffer.el (completion-file-name-table): Don't return a boundary
7862 past the end of `string' (bug#6299).
7863 (completion--file-name-table): Delegate to completion-file-name-table
7864 for the `boundaries' case.
7866 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7868 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7871 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7872 `path-separator', but maintain compatibility with Emacs 20.2.
7874 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7876 * server.el (server-process-filter): Receive parent-id argument
7878 (server-create-window-system-frame): New arg. Pass parent-id as
7881 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7883 Bidi-sensitive word movement with arrow keys.
7884 * subr.el (right-arrow-command, left-arrow-command): Move to
7887 * bindings.el (right-char, left-char): Move from subr.el and
7888 rename from right-arrow-command and left-arrow-command.
7889 (right-word, left-word): New functions.
7890 (global-map) <right>: Bind to right-char.
7891 (global-map) <left>: Bind to left-char.
7892 (global-map) <C-right>: Bind to right-word.
7893 (global-map) <C-left>: Bind to left-word.
7895 * ls-lisp.el (ls-lisp-classify-file): New function.
7896 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7897 (ls-lisp-classify): Call ls-lisp-classify-file.
7898 (insert-directory): Remove blanks from switches.
7900 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7902 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7903 (ansi-color-drop-regexp): New constant.
7904 (ansi-color-apply, ansi-color-filter-region)
7905 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7906 (ansi-color-apply): Build string list before calling concat.
7908 2010-05-28 Juri Linkov <juri@jurta.org>
7910 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7911 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7914 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7916 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7917 to ignored backtrace functions.
7918 (with-progress-reporter): Expand docstring.
7919 (tramp-handle-delete-file): Implement TRASH argument.
7920 (tramp-get-remote-trash): New defun.
7922 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7924 * net/tramp-compat.el (tramp-compat-delete-file):
7925 Use `symbol-value' for backward compatibility.
7927 * net/tramp.el (tramp-handle-make-symbolic-link)
7929 (tramp-do-copy-or-rename-file-via-buffer)
7930 (tramp-do-copy-or-rename-file-directly)
7931 (tramp-do-copy-or-rename-file-out-of-band)
7932 (tramp-handle-process-file, tramp-handle-call-process-region)
7933 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7934 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7935 (tramp-delete-temp-file-function): Use `delete-file' instead
7936 of `tramp-compat-delete-file'.
7938 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7939 (tramp-fish-handle-make-symbolic-link)
7940 (tramp-fish-handle-process-file): Use `delete-file' instead
7941 of `tramp-compat-delete-file'.
7943 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7944 Use `delete-file' instead of `tramp-compat-delete-file'.
7946 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7947 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7948 `tramp-compat-delete-file'.
7950 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7951 Use `delete-file' instead of `tramp-compat-delete-file'.
7953 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7954 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7955 (tramp-smb-handle-write-region): Use `delete-file' instead of
7956 `tramp-compat-delete-file'.
7957 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7959 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7961 * dired.el (dired-delete-file): New arg TRASH.
7962 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7963 (dired-do-flagged-delete, dired-do-delete): Use trash.
7965 * speedbar.el (speedbar-item-delete): Allow trashing.
7967 * files.el (delete-directory): New arg TRASH.
7969 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7970 (ange-ftp-rename-remote-to-remote)
7971 (ange-ftp-rename-local-to-remote)
7972 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7973 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7975 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7978 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7979 handle new TRASH arg of `delete-file'.
7981 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7982 (tramp-handle-make-symbolic-link, tramp-handle-load)
7983 (tramp-do-copy-or-rename-file-via-buffer)
7984 (tramp-do-copy-or-rename-file-directly)
7985 (tramp-do-copy-or-rename-file-out-of-band)
7986 (tramp-handle-process-file, tramp-handle-call-process-region)
7987 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7988 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7989 (tramp-delete-temp-file-function): Use null TRASH arg in
7990 tramp-compat-delete-file call.
7992 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7993 (tramp-fish-handle-delete-file)
7994 (tramp-fish-handle-make-symbolic-link)
7995 (tramp-fish-handle-process-file): Use null TRASH arg in
7996 `tramp-compat-delete-file' call.
7998 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7999 arg in `tramp-compat-delete-file' call.
8001 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8002 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8003 `tramp-compat-delete-file' call.
8005 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8006 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8007 `tramp-compat-delete-file' call.
8009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8010 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8011 (tramp-smb-handle-write-region): Use null TRASH arg in
8012 tramp-compat-delete-file call.
8013 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8014 (tramp-smb-handle-delete-file): Rename arg.
8016 * diff.el (diff-sentinel):
8017 * epg.el (epg--make-temp-file, epg-decrypt-string)
8018 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8019 * jka-compr.el (jka-compr-partial-uncompress)
8020 (jka-compr-call-process, jka-compr-write-region):
8021 * server.el (server-sentinel): Remove optional arg from
8022 delete-file, reverting 2010-05-03 change.
8024 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8026 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8027 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8029 2010-05-27 Kenichi Handa <handa@m17n.org>
8031 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8032 element of GSTRING is nil.
8034 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * emacs-lisp/smie.el (smie-forward-token-function)
8037 (smie-backward-token-function): New vars.
8038 (smie-backward-sexp, smie-forward-sexp)
8039 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8040 (smie-default-backward-token): Rename from smie-backward-token and
8042 (smie-default-forward-token): Rename from smie-forward-token and
8044 (smie-next-sexp): Handle nil results from next-token.
8045 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8047 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8049 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8050 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8052 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8054 * htmlfontify.el (hfy-face-resolve-face): New function.
8055 (hfy-face-to-style): Use it (Bug#6279).
8057 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8059 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8060 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8062 2010-05-26 Glenn Morris <rgm@gnu.org>
8064 * emulation/edt.el (edt-load-keys): Use locate-library.
8066 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8068 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8069 (log-edit-changelog-entries): Doc fix.
8070 (log-edit-changelog-insert-entries): Args changed.
8071 Rename relative filenames in ChangeLog entries. Delete tabs.
8072 (log-edit-insert-changelog-entries): Reorganize return value of
8073 `log-edit-changelog-entries' to pass filenames to
8074 log-edit-changelog-insert-entries.
8076 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8078 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8079 `image-dired-dired-insert-marked-thumbs' to
8080 `image-dired-dired-toggle-marked-thumbs'.
8082 * image-dired.el: Require cl when compiling.
8083 (image-dired-dired-toggle-marked-thumbs): Rename from
8084 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8085 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8086 to 'no-dir. Skip files whose names don't match
8087 `image-file-name-regexp'. When file has a thumbnail overlay,
8088 delete it. (Bug#5270)
8090 2010-05-25 Juri Linkov <juri@jurta.org>
8092 * image-mode.el (image-mode): Add image-after-revert-hook to
8094 (image-after-revert-hook): New function. (Bug#5669)
8096 2010-05-25 Juri Linkov <juri@jurta.org>
8098 * image.el (image-animated-p): When delay between animated images
8099 is 0, set it to 10 (0.1 sec). (Bug#6258)
8101 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8103 * net/tramp.el (tramp-handle-insert-directory): Don't use
8104 `forward-word', its default syntax could be changed.
8106 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8108 * net/tramp.el (tramp-progress-reporter-update): New defun.
8109 (with-progress-reporter): Use it.
8110 (tramp-process-actions):
8111 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8112 Preserve current message, in order to let progress reporter continue
8113 afterwards. (Bug#6257)
8115 2010-05-25 Glenn Morris <rgm@gnu.org>
8117 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8120 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8122 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8123 (rcirc-default-full-name): Change to "unknown".
8124 (rcirc-user-name-history): Add variable.
8126 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8127 Jonathan Rockway <jon@jrock.us>
8129 * net/rcirc.el (rcirc-server-alist): Add :pass.
8130 (rcirc): When prompting for connection parameters, also prompt for
8131 username and password.
8132 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8133 value to server when connecting.
8135 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8138 (smie-merge-prec2s): Pass the tables as separate args.
8139 (smie-bnf-precedence-table): Adjust call accordingly.
8140 (smie-prec2-levels): Set levels at the end.
8142 Replace Lisp calls to delete-backward-char by delete-char.
8143 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8144 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8145 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8146 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8147 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8148 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8149 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8150 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8151 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8152 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8153 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8154 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8155 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8156 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8157 delete-backward-char by calls to delete-char.
8159 2010-05-25 Kenichi Handa <handa@m17n.org>
8161 * language/hebrew.el (hebrew-shape-gstring): New function.
8162 Register it in composition-function-table for all Hebrew combining
8165 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8167 * epa.el (epa--select-keys): Don't explicitly delete the window since
8168 that can fail (e.g. sole window in frame). Use dedication instead.
8170 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8172 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8174 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8176 * image.el (image-refresh): Define as an alias for image-flush.
8178 * image-mode.el (image-toggle-display-image): Caller changed.
8180 2010-05-21 Juri Linkov <juri@jurta.org>
8182 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8183 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8184 whitespace, call wildcard-to-regexp on substrings and concat them
8185 with "\\|". (Bug#6114)
8187 2010-05-21 Alan Mackenzie <acm@muc.de>
8189 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8190 Replace parameter `here' with `here-' and `here-plus', which sandwich
8191 any pertinent CPP construct.
8192 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8193 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8194 CPP construct from taking part in the scanning.
8196 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8198 * net/tramp.el (tramp-do-copy-or-rename-file)
8199 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8200 Tune `with-progress-reporter' messages.
8201 (tramp-handle-vc-registered):
8202 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8203 (tramp-fish-handle-insert-file-contents)
8204 (tramp-fish-maybe-open-connection):
8205 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8206 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8207 (tramp-imap-handle-insert-file-contents)
8208 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8210 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8212 * add-log.el (change-log-font-lock-keywords):
8213 Highlight all authors in multi-author entries.
8215 * smerge-mode.el (smerge-refine-ignore-whitespace)
8216 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8217 Fix typos in docstrings.
8218 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8220 2010-05-21 Glenn Morris <rgm@gnu.org>
8222 * progmodes/fortran.el (fortran-mode):
8223 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8225 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8226 having a relative path in src/Makefile.in.
8228 2010-05-20 Kevin Ryde <user42@zip.com.au>
8230 * help-mode.el (help-make-xrefs): For Info node links turn
8231 newlines into spaces. Link node names with newlines are matched
8232 by help-xref-info-regexp and buttonized, this change ensures they
8233 can be followed successfully with RET. (Bug#6206)
8235 2010-05-20 Juri Linkov <juri@jurta.org>
8237 * locate.el (locate): Use pop-to-buffer instead of
8238 switch-to-buffer-other-window. (Bug#6204)
8240 2010-05-20 Juri Linkov <juri@jurta.org>
8242 * replace.el (replace-highlight): Fix lazy-highlighting
8243 for `M-s w str M-% str RET'.
8245 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8247 * isearch.el (isearch-yank-word-or-char): Pull next subword
8248 when `subword-mode' is activated. (Bug#6220)
8250 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8252 * isearch.el (isearch-update-post-hook): New hook.
8253 (isearch-update): Use the new hook. (Bug#6225)
8255 2010-05-20 Juri Linkov <juri@jurta.org>
8257 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8258 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8261 2010-05-20 Juri Linkov <juri@jurta.org>
8263 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8266 2010-05-20 Juri Linkov <juri@jurta.org>
8268 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8269 FILE-NAME to read from the minibuffer when called interactively
8270 with prefix argument instead of using buffer-file-name.
8271 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8273 * dired.el: Update autoloads.
8275 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8277 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8278 nxml-finish-element, for consistency with SGML mode.
8280 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8283 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8285 * composite.el: Require cl when compiling.
8286 (reference-point-alist, compose-gstring-for-graphic)
8287 (compose-gstring-for-terminal): Fix typos in docstrings.
8289 2010-05-19 Juri Linkov <juri@jurta.org>
8291 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8292 set-window-parameter.
8294 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8296 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8298 (tramp-maybe-open-connection): Use it.
8300 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8302 * simple.el (move-end-of-line): Make sure we are at line beginning
8303 before backing up to end of previous line.
8305 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8307 * password-cache.el (password-cache-remove): Fix docstring.
8309 * net/secrets.el: Autoload the widget functions.
8310 (secrets-search-items, secrets-create-item)
8311 (secrets-get-attributes, secrets-expand-item): Attributes will be
8312 stored on the password database without leading ":", as all other
8314 (secrets-mode): Fix docstring.
8315 (secrets-show-secrets): Provide it as autoloaded command only when
8316 D-Bus support is available. Check existence of Secret Service API.
8318 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8320 * indent.el (indent-region): Deactivate region (bug#6200).
8322 2010-05-19 Glenn Morris <rgm@gnu.org>
8324 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8326 2010-05-19 Kenichi Handa <handa@m17n.org>
8328 * composite.el: Register compose-gstring-for-graphic in
8329 composition-function-table only for combining characters (Mn, Mc, Me).
8331 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8333 * calc/calc-trail.el (calc-trail-isearch-forward)
8334 (calc-trail-isearch-backward): Ensure that the new window
8335 point is set correctly.
8337 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8339 * subr.el (read-quoted-char): Resolve modifiers after key
8340 remapping (bug#6212).
8342 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8344 Add visualization code for secrets.
8345 * net/secrets.el (secrets-mode): New major mode.
8346 (secrets-show-secrets, secrets-show-collections)
8347 (secrets-expand-collection, secrets-expand-item)
8348 (secrets-tree-widget-after-toggle-function)
8349 (secrets-tree-widget-show-password): New defuns.
8351 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8353 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8354 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8355 handled in smie-next-sexp.
8356 (smie-indent-calculate): Provide a starting indentation (so the
8357 recursion is well-founded ;-).
8359 Fix handling of non-associative equal levels.
8360 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8361 when it's not needed.
8362 (smie-op-left, smie-op-right): New functions.
8363 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8364 Better handle equal levels to distinguish the associative case from
8365 the "multi-keyword construct" case.
8366 (smie-backward-sexp, smie-forward-sexp): Use it.
8368 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8370 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8372 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8373 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8375 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8377 Provide a simple generic indentation engine and use it for Prolog.
8378 * emacs-lisp/smie.el: New file.
8379 * progmodes/prolog.el (prolog-smie-op-levels)
8380 (prolog-smie-indent-rules): New var.
8381 (prolog-mode-variables): Use them to configure SMIE.
8382 (prolog-indent-line, prolog-indent-level): Remove.
8384 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8386 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8387 order before computing the averages.
8389 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8391 * calc/calc-vec.el (calc-histogram):
8392 (calcFunc-histogram): Allow vectors as inputs.
8393 (math-vector-avg): New function.
8395 * calc/calc-ext.el (math-group-float): Have the number of digits
8396 being grouped depend on the radix (Bug#6189).
8398 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8400 * version.el (emacs-copyright, emacs-version): Don't define here,
8401 now that emacs.c defines it.
8403 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8405 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8406 "Describe Language Environment" menu item.
8408 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8410 Bidi-sensitive movement with arrow keys.
8411 * subr.el (right-arrow-command, left-arrow-command): New functions.
8413 * bindings.el (global-map): Bind them to right and left arrow keys.
8415 Don't override standard definition of convert-standard-filename.
8416 * files.el (convert-standard-filename):
8417 Call w32-convert-standard-filename and dos-convert-standard-filename on
8418 the corresponding systems.
8420 * w32-fns.el (w32-convert-standard-filename): Rename from
8421 convert-standard-filename. Doc fix.
8423 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8424 (convert-standard-filename): Don't defalias.
8425 (register-name-alist, make-register, register-value)
8426 (set-register-value, intdos): Obsolete aliases for the
8427 corresponding dos-* functions and variables.
8428 (dos-intdos): Add a doc string.
8430 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8432 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8433 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8434 (math-compose-tex-func):
8435 * calc/calccomp.el (math-compose-expr):
8436 * calc/calc-ext.el (math-format-flat-expr-fancy):
8437 * calc/calc-store.el (calc-read-var-name):
8438 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8440 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8441 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8442 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8443 (math-standard-units): Add units.
8445 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8447 * progmodes/asm-mode.el (asm-mode):
8448 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8450 * pcomplete.el (pcomplete-completions-at-point): New function,
8451 extracted from pcomplete-std-complete.
8452 (pcomplete-std-complete): Use it.
8454 2010-05-15 Glenn Morris <rgm@gnu.org>
8456 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8457 Remove references to CVS, RCS and Old directories.
8459 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8461 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8464 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8466 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8467 (sh-mode-syntax-table): Give it a default value instead.
8468 (sh-header-marker): Make buffer-local.
8469 (sh-mode): Move make-local-variable to the corresponding setq.
8470 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8471 Use complete-with-action.
8473 * simple.el (prog-mode): New (abstract) major mode.
8474 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8475 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8477 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8479 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8480 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8481 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8482 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8483 (sql-escape-newlines-filter, sql-input-sender)
8484 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8486 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8488 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8490 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8491 latex-open-block and C-c / to latex-close-block.
8493 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8494 and C-c C-e to sgml-close-tag.
8496 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8498 * net/tramp.el (with-progress-reporter): Create reporter object
8499 only when the message would be displayed. Handle nested calls.
8500 (tramp-handle-load, tramp-handle-file-local-copy)
8501 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8502 (tramp-maybe-send-script, tramp-find-shell):
8503 Use `with-progress-reporter'.
8504 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8507 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8508 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8509 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8510 Use `with-progress-reporter'.
8512 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8514 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8515 process everytime when spellchecking from the minibuffer (bug#6143).
8517 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8519 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8521 * dos-fns.el: Add "dos-" prefix for namespace control.
8522 (convert-standard-filename): Define as alias for
8523 dos-convert-standard-filename but only if applicable.
8525 2010-05-12 Alan Mackenzie <acm@muc.de>
8527 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8528 Push the mark at the start of these functions when appropriate.
8530 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * minibuffer.el (completion-cycle-threshold): New custom var.
8533 (completion--do-completion): Use it.
8534 (minibuffer-complete): Use cycling if appropriate.
8536 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8538 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8539 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8541 2010-05-11 Juri Linkov <juri@jurta.org>
8543 * scroll-all.el (scroll-all-check-to-scroll):
8544 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8546 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * iimage.el (iimage-mode-map): Move initialization into declaration.
8549 (iimage-mode-buffer): Use with-silent-modifications.
8550 Simplify calling convention. Adjust callers.
8551 (iimage-mode): Don't run hook redundantly.
8553 * minibuffer.el (completion-pcm--pattern->regex):
8554 Fix last change (bug#6160).
8556 2010-05-10 Juri Linkov <juri@jurta.org>
8558 Remove nodes visited during Isearch from the Info history.
8559 * info.el (Info-isearch-initial-history)
8560 (Info-isearch-initial-history-list): New variables.
8561 (Info-isearch-start): Record initial values of
8562 Info-isearch-initial-history and Info-isearch-initial-history-list.
8563 Add Info-isearch-end to isearch-mode-end-hook.
8564 (Info-isearch-end): New function.
8566 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8568 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8569 format string, in order to work around a bug in pdksh.
8570 Reported by Gilles Pion <gpion@lfdj.com>.
8571 (tramp-handle-verify-visited-file-modtime): Do not send a command
8572 when the connection is not established.
8573 (tramp-handle-set-file-times): Simplify the check for utc.
8575 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8577 Fix use of `filter-buffer-substring' (rework previous change).
8578 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8579 (cua-repeat-replace-region):
8580 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8581 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8582 (cua-cut-region-to-global-mark): Use it.
8584 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8586 * progmodes/sql.el: Version 2.1.
8587 (sql-product-alist): Redesign structure of product info.
8588 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8589 (sql-port, sql-port-history): New variables.
8590 (sql-interactive-product): New variable.
8591 (sql-send-terminator): New variable.
8592 (sql-imenu-generic-expression): Add "Types" imenu entry.
8593 (sql-oracle-login-params, sql-sqlite-login-params)
8594 (sql-mysql-login-params, sql-solid-login-params)
8595 (sql-sybase-login-params, sql-informix-login-params)
8596 (sql-ingres-login-params, sql-ms-login-params)
8597 (sql-postgres-login-params, sql-interbase-login-params)
8598 (sql-db2-login-params, sql-linter-login-params)
8599 (sql-oracle-scan-on): New variables.
8600 (sql-mode-map): Add C-c C-i to start interactive mode.
8601 (sql-mode-menu): Update existing menu entries.
8602 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8603 (sql-mode-oracle-font-lock-keywords)
8604 (sql-mode-postgres-font-lock-keywords)
8605 (sql-mode-ms-font-lock-keywords)
8606 (sql-mode-sybase-font-lock-keywords)
8607 (sql-mode-informix-font-lock-keywords)
8608 (sql-mode-interbase-font-lock-keywords)
8609 (sql-mode-ingres-font-lock-keywords)
8610 (sql-mode-solid-font-lock-keywords)
8611 (sql-mode-mysql-font-lock-keywords)
8612 (sql-mode-sqlite-font-lock-keywords)
8613 (sql-mode-db2-font-lock-keywords)
8614 (sql-mode-linter-font-lock-keywords): Update initialization to
8615 reduce run-time complexity.
8616 (sql-add-product, sql-del-product): New functions.
8617 (sql-set-product-feature, sql-get-product-feature): New functions.
8618 (sql-product-font-lock): Update product API.
8619 (sql-add-product-keywords): New function.
8620 (sql-highlight-product): Update product API.
8621 (sql-help-list-products): New function.
8622 (sql-help): Dynamically lists free and non-free products.
8623 (sql-get-login): Correct bug in handling history and added
8625 (sql-copy-column): Copy without properties.
8626 (sqli-input-sender): Apply filters to SQLi input.
8627 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8628 Implement as a filter.
8629 (sql-escape-newlines-filter): Implement as a filter.
8630 (sql-remove-tabs-filter): New function.
8631 (sql-send-magic-terminator): New function.
8632 (sql-send-string): Implement magic terminator.
8633 (sql-send-region): Use `sql-send-string'.
8634 (sql-interactive-mode): Use product API.
8635 (sql-product-interactive): Use product API.
8636 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8637 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8638 (sql-db2, sql-linter): Use `sql-product-interactive'.
8639 (sql-connect): New function.
8640 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8641 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8642 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8643 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8646 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8648 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8649 New custom variable.
8650 (completion-pcm--string->pattern): Use it.
8651 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8652 Make it handle any symbol as `any'.
8653 (completion-pcm--merge-completions): Extract common suffix for the new
8654 `prefix' symbol as well.
8655 (completion-substring--all-completions): Use the new `prefix' symbol.
8657 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8659 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8661 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8662 (tramp-compat-funcall): New defmacro.
8663 (tramp-compat-line-beginning-position)
8664 (tramp-compat-line-end-position)
8665 (tramp-compat-temporary-file-directory)
8666 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8667 (tramp-compat-copy-file, tramp-compat-copy-directory)
8668 (tramp-compat-delete-file, tramp-compat-delete-directory)
8669 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8670 * net/tramp.el (top, with-progress-reporter)
8671 (tramp-rfn-eshadow-setup-minibuffer)
8672 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8673 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8674 (tramp-completion-mode-p, tramp-check-for-regexp)
8675 (tramp-open-connection-setup-interactive-shell)
8676 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8677 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8678 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8679 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8680 (tramp-reporter-dump-variable, tramp-load-report-modules)
8681 (tramp-append-tramp-buffers)
8682 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8684 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8686 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8688 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8689 buffer-modtime. Adjust users.
8691 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8693 * international/mule.el (auto-coding-alist): Only purecopy
8694 car of each item, not the whole list (Bug#6083).
8696 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8698 * progmodes/js.el (js-mode): Make paragraph variables local before
8699 calling c-setup-paragraph-variables (Bug#6071).
8701 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8703 * composite.el (compose-region, reference-point-alist): Fix typos
8706 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8708 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8709 gnuplot's "set" command.
8711 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8713 * abbrev.el (last-abbrev-text): Doc fix.
8714 (abbrev-prefix-mark): Don't escape parenthesis.
8716 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8718 * composite.el (find-composition): Doc fix.
8720 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8722 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8723 (sql-oracle-program, sql-sqlite-options)
8724 (sql-query-placeholders-and-send): Doc fixes.
8725 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8726 (sql-imenu-generic-expression, sql-buffer)
8727 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8728 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8729 (sql-mode-sybase-font-lock-keywords)
8730 (sql-mode-informix-font-lock-keywords)
8731 (sql-mode-interbase-font-lock-keywords)
8732 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8733 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8734 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8735 (sql-product-feature, sql-highlight-product)
8736 (comint-line-beginning-position, sql-rename-buffer)
8737 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8738 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8739 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8740 Fix typos in docstrings.
8742 2010-05-08 Juri Linkov <juri@jurta.org>
8744 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8745 property instead of `invisible' and `after-string' (bug#5998).
8747 2010-05-08 Juri Linkov <juri@jurta.org>
8749 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8751 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8753 * filecache.el (file-cache-add-directory-list)
8754 (file-cache-add-directory-recursively): Fix typos in docstrings.
8756 2010-05-08 Kenichi Handa <handa@m17n.org>
8758 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8759 (gujarati-composable-pattern): Fix typo.
8761 2010-05-08 Kenichi Handa <handa@m17n.org>
8763 * language/indian.el (oriya-composable-pattern)
8764 (tamil-composable-pattern, malayalam-composable-pattern):
8765 Add two-part vowels to "v" (vowel sign).
8767 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8769 * files.el (copy-directory): Handle symlinks (Bug#5982).
8771 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8773 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8774 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8777 2010-05-08 Glenn Morris <rgm@gnu.org>
8779 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8781 * minibuffer.el (completion-at-point): Doc fix.
8783 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8785 * electric.el (Electric-command-loop): Minor tweak.
8787 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8788 better with dedicated windows.
8790 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8792 * Version 23.2 released.
8794 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8795 Stefan Monnier <monnier@iro.umontreal.ca>
8797 Highlight vendor specific properties.
8798 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8799 (css-proprietary-property): New face.
8800 (css-font-lock-keywords): Use them.
8802 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8804 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8806 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8809 * files.el (auto-mode-alist): Remove redundant entries.
8811 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8812 * simple.el (auto-save-mode): Move from files.el.
8813 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8815 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8817 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8819 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8821 * mail/binhex.el (binhex-decode-region-internal)
8822 * mail/uudecode.el (uudecode-decode-region-internal)
8823 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8824 (dns-read-type, dns-query)
8825 * pgg-parse.el (pgg-parse-armor)
8826 * pgg.el (pgg-verify-region)
8827 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8830 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8832 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8834 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8836 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8837 * emulation/cua-base.el (cua-repeat-replace-region):
8838 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8839 (cua-cut-region-to-global-mark):
8840 Remove text properties with `set-text-properties'.
8842 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8844 * net/tramp.el (top, with-progress-reporter):
8845 Use `symbol-function' inside `funcall'.
8847 * net/tramp-compat.el (tramp-compat-file-attributes)
8848 (tramp-compat-delete-file, tramp-compat-delete-directory):
8849 Handle only `wrong-number-of-arguments' error.
8851 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8852 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8855 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * minibuffer.el (completion--sreverse, completion--common-suffix):
8859 (completion-pcm--merge-completions): Extract common suffix when safe.
8861 * emacs-lisp/easy-mmode.el (define-minor-mode):
8862 Make :variable more flexible.
8863 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8865 2010-05-05 Juri Linkov <juri@jurta.org>
8867 Add `slow' and `history' tags to the desktop data.
8869 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8870 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8871 (Info-finder-find-node): Require `finder.el' to be able
8872 to restore node from the desktop.
8873 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8874 data `Info-history' and `slow' tag in the assoc list.
8875 (Info-restore-desktop-buffer): Don't restore nodes with the
8876 `slow' tag. Restore `Info-history'.
8878 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8880 Add FORCE argument to `delete-file'.
8882 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8883 forcing to delete the temporary file.
8884 (ange-ftp-delete-file): Add FORCE arg.
8885 (ange-ftp-rename-remote-to-remote)
8886 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8887 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8888 Force file deletion.
8890 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8892 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8893 (tramp-handle-make-symbolic-link, tramp-handle-load)
8894 (tramp-do-copy-or-rename-file-via-buffer)
8895 (tramp-do-copy-or-rename-file-directly)
8896 (tramp-do-copy-or-rename-file-out-of-band)
8897 (tramp-handle-process-file, tramp-handle-call-process-region)
8898 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8899 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8900 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8902 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8903 (tramp-fish-handle-make-symbolic-link)
8904 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8906 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8907 Use `tramp-compat-delete-file'.
8909 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8910 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8912 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8913 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8915 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8916 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8917 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8918 Use `tramp-compat-delete-file'.
8920 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * subr.el (add-minor-mode): Use push.
8924 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8925 * emulation/edt.el (edt-select-mode): Simplify.
8927 Use define-minor-mode in more cases.
8928 * term/tvi970.el (tvi970-set-keypad-mode):
8929 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8930 (normal-erase-is-backspace-mode):
8931 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8932 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8933 (get-scroll-bar-mode): New function.
8934 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8936 Use define-minor-mode for less obvious cases.
8937 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8938 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8939 * international/iso-ascii.el (iso-ascii-mode):
8940 * frame.el (auto-raise-mode, auto-lower-mode):
8941 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8943 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8945 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8946 in order to see error messages for failed logins.
8948 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8950 * diff.el (diff-sentinel):
8952 * epg.el (epg--make-temp-file, epg-decrypt-string)
8953 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8955 * jka-compr.el (jka-compr-partial-uncompress)
8956 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8958 * server.el (server-sentinel): Use delete-file's new FORCE arg
8961 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8963 Use define-minor-mode where applicable.
8964 * view.el (view-mode):
8965 * type-break.el (type-break-query-mode)
8966 (type-break-mode-line-message-mode):
8967 * textmodes/reftex.el (reftex-mode):
8968 * term/vt100.el (vt100-wide-mode):
8969 * tar-mode.el (tar-subfile-mode):
8970 * savehist.el (savehist-mode):
8971 * ibuf-ext.el (ibuffer-auto-mode):
8972 * composite.el (auto-composition-mode):
8973 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8974 Use define-minor-mode.
8975 (vhdl-mode): Use static mode-line format.
8976 (vhdl-mode-line-update): Delete.
8977 (vhdl-create-mode-menu, vhdl-activate-customizations)
8978 (vhdl-hs-minor-mode): Don't bother calling it.
8980 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8982 * simple.el (with-wrapper-hook): Move.
8983 (buffer-substring-filters): Mark obsolete.
8984 (filter-buffer-substring-functions): New variable.
8985 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8987 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8988 Michael Albinus <michael.albinus@gmx.de>
8990 Implement compression for inline methods.
8992 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8993 (tramp-copy-size-limit): Allow also nil.
8994 (tramp-inline-compress-commands): New defconst.
8995 (tramp-find-inline-compress, tramp-get-inline-compress)
8996 (tramp-get-inline-coding): New defuns.
8997 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8998 replaced by `tramp-get-inline-coding'.
8999 (tramp-handle-file-local-copy, tramp-handle-write-region)
9000 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9002 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9004 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9005 Remove unused functions.
9007 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9008 Set find-tag-default-function as a variable rather than a property.
9010 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9011 * progmodes/etags.el (tags-completion-at-point-function):
9012 Remove left over interactive spec. Add autoloading stub.
9013 (complete-tag): Use tags-completion-at-point-function.
9015 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9017 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9019 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9021 * ido.el (ido-init-completion-maps): Remove C-v binding.
9022 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9024 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9026 * minibuffer.el (tags-completion-at-point-function): New function.
9027 (completion-at-point-functions): Use it.
9029 * progmodes/etags.el (complete-tag): Revert last change.
9031 2010-04-29 Alan Mackenzie <acm@muc.de>
9033 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9034 off-by-one error (in end of macro position).
9036 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9038 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9039 firefox is absent. Don't autoload.
9040 (browse-url-galeon-program): Don't autoload.
9042 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9044 * bindings.el (complete-symbol): Move into minibuffer.el.
9046 * minibuffer.el (complete-tag): Move from etags.el. If tags
9047 completion cannot be performed, return nil instead of signalling
9049 (completion-at-point): Make it an alias for complete-symbol.
9050 (complete-symbol): Move from bindings.el, and replace with the
9051 body of completion-at-point.
9053 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9055 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9057 * net/tramp.el (tramp-remote-selinux-p): New defun.
9058 (tramp-handle-file-selinux-context)
9059 (tramp-handle-set-file-selinux-context): Use it.
9061 2010-04-28 Sam Steingold <sds@gnu.org>
9063 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9064 `safe-local-variable' if the value is a string or a symbol with
9065 the property `bug-reference-url-format'.
9067 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9069 * progmodes/bug-reference.el (bug-reference-url-format):
9070 Revert 2010-04-27 change due to security risk.
9072 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9074 Make it possible to locally disable a globally enabled mode.
9075 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9076 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9077 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9078 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9079 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9080 that subsequent hooks get a chance to disable it.
9082 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9085 Avoid re-enabling a minor mode after the user turned the minor mode
9086 off if MODE-enable-in-buffers is run twice (typically once from
9087 fundamental-mode's after-change-major-mode-hook and a second time from
9088 run-mode-hook's own after-change-major-mode-hook).
9090 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9092 2010-04-27 Sam Steingold <sds@gnu.org>
9094 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9095 `safe-local-variable' if the value is a string or a function, as
9096 documented and implemented on 2010-04-02.
9098 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9100 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9101 when method is 'kill.
9103 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9105 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9106 condition in default directory check.
9107 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9108 Kill ispell process when killing its associated buffer.
9110 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9112 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9113 but we aren't using it.
9115 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9117 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9118 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9120 2010-04-24 Glenn Morris <rgm@gnu.org>
9122 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9123 Ignore VCS-ignore files, and deleted nextstep preferences files.
9124 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9125 (authors-ambiguous-files): New list.
9126 (authors-valid-file-names): Add some deleted files.
9127 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9128 (authors-disambiguate-file-name): New function. (Bug#5501)
9129 (authors-canonical-file-name): Doc fix.
9130 Don't warn about obsolete files.
9131 (authors-canonical-file-name, authors-scan-el):
9132 Use authors-disambiguate-file-name.
9134 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9135 Add autoload cookies.
9136 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9137 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9138 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9139 They have definitions / compiler macros in cl.el.
9140 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9141 Replace manual autoloads with generated ones.
9142 (htmlfontify-unload-rgb-file): Remove autoload.
9143 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9145 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9147 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9148 (byte-compile-setq-default): Optimize for the
9149 single-var case and don't call byte-compile-form in this case to avoid
9150 inf-loop with byte-compile-set-default.
9152 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9154 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9156 Implement SELINUX backends.
9158 * net/tramp.el (tramp-file-name-handler-alist):
9159 Add `file-selinux-context' and `set-file-selinux-context'.
9160 (tramp-handle-file-selinux-context)
9161 (tramp-handle-set-file-selinux-context): New defuns.
9162 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9163 Handle PRESERVE-SELINUX-CONTEXT.
9165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9166 Add `file-selinux-context' and `set-file-selinux-context'.
9167 (tramp-gvfs-handle-file-selinux-context)
9168 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9169 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9171 * net/ange-ftp.el (ange-ftp-copy-file):
9172 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9173 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9174 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9175 Add PRESERVE-SELINUX-CONTEXT.
9177 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9179 Synchronize with Tramp repository.
9181 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9182 (tramp-action-process-alive, tramp-action-out-of-band)
9183 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9184 (tramp-exists-file-name-handler): Fix docstring.
9185 (with-progress-reporter): New defmacro.
9186 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9187 (tramp-maybe-open-connection): Use it.
9189 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9191 Detect ssh 'ControlMaster' argument automatically in some cases.
9193 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9194 (tramp-default-method): Use it.
9196 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9198 * net/tramp.el (tramp-handle-copy-file): Add new optional
9199 parameter `preserve-selinux-context'.
9200 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9202 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9204 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9205 Ensure, that non remote files are still checked. Oops.
9207 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9211 * icomplete.el (icomplete-completions): Use `non-essential'.
9213 * net/tramp.el (tramp-connectable-p): New defun.
9214 (tramp-handle-expand-file-name)
9215 (tramp-completion-handle-file-name-all-completions)
9216 (tramp-completion-handle-file-name-completion): Use it.
9218 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9222 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9224 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9226 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9228 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9231 * info.el (info-tool-bar-map): Add labels.
9233 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9235 * cus-edit.el (custom-commands): Add labels for tool bar.
9236 (custom-buffer-create-internal, Custom-mode): Adjust for
9237 labels in custom-commands.
9239 * dynamic-setting.el: Renamed from font-setting.el.
9241 2010-04-21 John Wiegley <jwiegley@gmail.com>
9243 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9244 toggles the use of virtual buffers.
9245 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9246 (ido-toggle-virtual-buffers): New function.
9248 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9250 Use `define-derived-mode'; fix window selection; doc fixes.
9251 * play/tetris.el (tetris, tetris-update-speed-function)
9252 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9253 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9254 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9255 (tetris-pause-game): Fix typos in docstrings.
9256 (tetris-mode-map, tetris-null-map):
9257 Move initialization into declaration.
9258 (tetris-mode): Define with `define-derived-mode';
9259 set show-trailing-whitespace to nil.
9260 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9262 2010-04-21 Karel Klíč <kklic@redhat.com>
9264 * files.el (backup-buffer): Handle SELinux context, and return it
9265 if a backup was made by renaming.
9266 (backup-buffer-copy): Set SELinux context to the target file.
9267 (basic-save-buffer): Set SELinux context of the newly written file.
9268 (basic-save-buffer-1): Now it also returns any SELinux context.
9269 (basic-save-buffer-2): Set SELinux context of the newly created file,
9271 * net/tramp.el (tramp-file-name-for-operation):
9272 Add file-selinux-context.
9274 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9276 Make the log-edit comments use RFC822 format throughout.
9278 * vc.el (vc-checkin, vc-modify-change-comment):
9279 Adjust to new vc-start/finish-logentry.
9280 (vc-find-conflicted-file): New command.
9281 (vc-transfer-file): Adjust to new vc-checkin.
9282 (vc-next-action): Improve scoping.
9284 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9285 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9287 * vc-git.el (vc-git-log-edit-mode): Remove.
9288 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9289 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9291 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9292 (vc-start-logentry): Remove argument `extra'.
9293 (vc-finish-logentry): Remove extra args.
9295 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9296 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9297 (vc-bzr-conflicted-files): New function.
9299 * log-edit.el (log-edit-extra-flags)
9300 (log-edit-before-checkin-process): Remove.
9301 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9302 (log-edit-headers-alist): New var.
9303 (log-edit-header-contents-regexp): New const.
9304 (log-edit-match-to-eoh): New function.
9305 (log-edit-font-lock-keywords): Use them.
9306 (log-edit): Insert a "Summary:" header as default.
9307 (log-edit-mode): Mark font-lock rules as case-insensitive.
9308 (log-edit-done): Cleanup headers.
9309 (log-view-process-buffer): Remove.
9310 (log-edit-extract-headers): New function to replace it.
9312 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9314 * subr.el (default-direction-reversed): Remove obsolescence info.
9316 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9318 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9321 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9322 I.e. include text after point in the completion region.
9323 Also, return nil when we're not after/in a symbol.
9325 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9326 default enable-multibyte-characters.
9328 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9330 * international/mule.el: Help the user choose a valid coding-system.
9331 (read-buffer-file-coding-system): New function.
9332 (set-buffer-file-coding-system): Use it. Prompt the user if the
9333 coding-system cannot encode all the chars.
9335 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9336 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9337 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9338 Don't use *vc-bzr-shelve*.
9340 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9342 Fix the version number for added files.
9343 * vc-hg.el (vc-hg-working-revision): Check if the file is
9344 registered after hg parent fails (Bug#5961).
9346 2010-04-19 Glenn Morris <rgm@gnu.org>
9348 * htmlfontify.el (htmlfontify-buffer)
9349 (htmlfontify-copy-and-link-dir): Autoload entry points.
9351 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9353 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9354 name relative to the project root (Bug#5960).
9356 2010-04-19 Glenn Morris <rgm@gnu.org>
9358 * vc-git.el (vc-git-print-log): Doc fix.
9360 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9362 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9364 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9366 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9367 default settings (Bug#5928).
9369 2010-04-19 Glenn Morris <rgm@gnu.org>
9371 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9373 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9375 2010-04-19 Kenichi Handa <handa@m17n.org>
9377 * language/indian.el (malayalam-composable-pattern): Fix previous
9378 change (add U+0D4D "SIGN VIRAMA").
9379 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9380 (tamil-composable-pattern): Fix typo in the regexp.
9381 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9382 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9383 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9385 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9387 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9388 paragraph-separate (Bug#5821).
9390 2010-04-19 Juri Linkov <juri@jurta.org>
9392 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9394 * info.el (Info-find-node-2): Comment out code that skips
9396 (Info-mouse-follow-link): New command.
9397 (Info-link-keymap): New keymap.
9398 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9399 Return a string with links instead of inserting breadcrumbs
9401 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9402 Instead of putting the `invisible' text property over the Info
9403 header, make an overlay over the Info header with the `invisible'
9404 property and `after-string' set to the string returned by
9407 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9409 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9410 Reported by monkey@sandpframing.com.
9412 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9414 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9415 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9416 available in the "keyseq cache" any more.
9418 * custom.el (defcustom): Add edebug spec.
9420 2010-04-18 Juri Linkov <juri@jurta.org>
9422 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9424 * view.el (view-file, view-buffer): Move test for special mode-class
9425 from view-file to view-buffer.
9427 * tar-mode.el (tar-extract): Turn if's into one cond
9428 like in arc-mode.el.
9430 2010-04-18 Juri Linkov <juri@jurta.org>
9432 Add 7z archive format support (bug#5475).
9434 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9435 (archive-7z-extract): New defcustom.
9436 (archive-find-type): Add magic string for 7z.
9437 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9438 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9439 `buffer' arg of `call-process'.
9440 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9441 call the function `archive-7z-extract' with the variable
9442 `archive-7z-extract' let-bound to `archive-zip-extract'.
9443 (archive-7z-summarize, archive-7z-extract): New functions.
9445 * international/mule.el (auto-coding-alist):
9446 * files.el (auto-mode-alist): Add 7z file extension.
9448 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * loadup.el: Setup hash-cons for pure data.
9452 Fix duplicate entries in cedet's loaddefs.el files.
9453 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9454 Should make most file-local generated-autoload-file unnecessary.
9455 (print-readably): Silence warnings.
9456 (autoload-find-destination): Take load-name as an arg to make sure
9457 it's the same as the one that will be in the file.
9458 (autoload-generate-file-autoloads): Adjust to above changes.
9459 Try to make the dataflow a bit simpler.
9461 * cvs-status.el (cvs-refontify): Remove unused.
9463 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9465 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9467 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9468 twos-complement mode.
9470 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9472 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9473 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9474 (calc-inverse): Add "Option" to message, as appropriate.
9475 (calc-hyperbolic): Add "Option" to message, as appropriate.
9476 (calc-option, calc-is-option): New functions.
9478 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9479 (calc-option-prefix-help): New function.
9481 * calc/calc-misc.el (calc-help): Add "Option" entry.
9483 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9484 (calc-option-flag): New variable.
9485 (calc-do): Set `calc-option-flag to nil.
9486 (calc-set-mode-line): Add "Opt " as appropriate.
9488 2010-04-16 Juri Linkov <juri@jurta.org>
9490 Move scrolling commands from simple.el to window.el
9491 because their primitives are implemented in window.c.
9493 * simple.el (scroll-error-top-bottom)
9494 (scroll-up-command, scroll-down-command, scroll-up-line)
9495 (scroll-down-line, scroll-other-window-down)
9496 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9497 * window.el (scroll-error-top-bottom)
9498 (scroll-up-command, scroll-down-command, scroll-up-line)
9499 (scroll-down-line, scroll-other-window-down)
9500 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9501 Move from simple.el to window.el because their primitives are
9502 implemented in window.c.
9504 2010-04-16 Juri Linkov <juri@jurta.org>
9506 * isearch.el (isearch-lookup-scroll-key): Check both
9507 `isearch-scroll' and `scroll-command' properties.
9508 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9510 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9512 * simple.el (scroll-up-command, scroll-down-command)
9513 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9515 2010-04-15 Juri Linkov <juri@jurta.org>
9517 * simple.el (scroll-up-command, scroll-down-command)
9518 (scroll-up-line, scroll-down-line): Put `scroll-command'
9519 property on the these symbols. Remove them from
9520 `scroll-preserve-screen-position-commands'.
9522 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9523 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9524 Remove it from `scroll-preserve-screen-position-commands'.
9526 * isearch.el (isearch-allow-scroll): Doc fix.
9528 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9530 * net/tramp.el (tramp-error-with-buffer): Don't show the
9531 connection buffer when we are in completion mode.
9532 (tramp-file-name-handler): Catch the error for some operations
9533 when we are in completion mode. This gives the user the chance to
9534 correct the file name in the minibuffer.
9536 2010-04-15 Glenn Morris <rgm@gnu.org>
9538 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9540 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9542 Simplify by using `define-derived-mode'.
9543 * info.el (Info-mode):
9544 * calendar/todo-mode.el (todo-mode):
9545 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9546 (gomoku-mode-map): Move initialization into declaration.
9548 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9551 * ido.el (ido-file-name-all-completions-1):
9552 * minibuffer.el (minibuffer-completion-help):
9553 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9555 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * simple.el (non-essential): New var.
9559 Add a new field `location' to bookmarks for non-file bookmarks.
9560 * bookmark.el (bookmark-location): Use the new field, if present.
9561 (bookmark-insert-location): Undo last change, not needed any more.
9562 * man.el (Man-bookmark-make-record):
9563 * woman.el (woman-bookmark-make-record): Add `location' field.
9565 2010-04-14 Juri Linkov <juri@jurta.org>
9567 * simple.el (scroll-error-top-bottom): New defcustom.
9568 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9570 * emulation/pc-select.el (pc-select-override-scroll-error):
9571 Obsolete in favor of `scroll-error-top-bottom'.
9573 2010-04-14 Juri Linkov <juri@jurta.org>
9575 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9576 `scroll-up-command' and `M-v' to `scroll-down-command'.
9578 * emulation/cua-rect.el (cua--init-rectangles):
9579 * forms.el (forms--change-commands):
9580 * image-mode.el (image-mode-map):
9581 Remap scroll-down-command and scroll-up-command
9582 in addition to scroll-down and scroll-up.
9584 2010-04-14 Juri Linkov <juri@jurta.org>
9586 * mwheel.el (scroll-preserve-screen-position-commands):
9587 Add mwheel-scroll to this list of commands.
9589 * simple.el (scroll-preserve-screen-position-commands):
9590 Add scroll-up-command, scroll-down-command, scroll-up-line,
9591 scroll-down-line to this list of commands.
9593 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9595 * obsolete/complete.el: Move from lisp/complete.el.
9597 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9599 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9600 to the minor mode function now turns the mode ON unconditionally.
9602 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * vc-dir.el (vc-dir-kill-line): New command.
9605 (vc-dir-mode-map): Bind it to C-k.
9607 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9609 * woman.el: Add bookmark declarations to silence the compiler.
9610 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9611 step to compatibility between man and woman bookmarks.
9612 Adjust for Man-default-bookmark-title renaming.
9613 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9615 * man.el: Add bookmark declarations to silence the compiler.
9616 (Man-name-local-regexp): Make it match NAME as well.
9617 (Man-getpage-in-background): Return the buffer.
9618 (Man-notify-when-ready): Use `case'.
9619 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9620 Don't hardcode "NAME". Simplify.
9621 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9622 Rename from Man-bookmark-make-record.
9623 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9624 we have the actual man-args. Use Man-getpage-in-background rather
9625 than `man' since the arg is already processed. Let bookmark.el do the
9626 window handling. Only wait for the relevant process.
9627 Don't forget to autoload.
9629 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9631 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9633 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9635 (woman-mode): Setup bookmark support.
9637 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9638 (man-bookmark-jump): New functions.
9639 (Man-mode): Setup bookmark support.
9641 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9643 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9644 recognize ssh-keygen prompt (Bug#2817).
9646 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9648 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9650 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9652 Synchronize with Tramp repository.
9654 * net/tramp.el (tramp-completion-function-alist)
9655 (tramp-file-name-regexp, tramp-chunksize)
9656 (tramp-local-coding-commands, tramp-remote-coding-commands):
9658 (tramp-remote-process-environment): Use `format' instead of `concat'.
9659 (tramp-handle-directory-files-and-attributes)
9660 (tramp-get-remote-path): Use `copy-tree'.
9661 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9662 compatibility: Use `completion-ignore-case' if
9663 `read-file-name-completion-ignore-case' does not exist.
9664 (tramp-do-copy-or-rename-file-directly): Do not use
9665 `tramp-handle-file-remote-p'.
9666 (tramp-do-copy-or-rename-file-out-of-band):
9667 Use `tramp-compat-delete-directory'.
9668 (tramp-do-copy-or-rename-file-out-of-band)
9669 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9670 Use `format-spec-make'.
9671 (tramp-find-foreign-file-name-handler)
9672 (tramp-advice-make-auto-save-file-name)
9673 (tramp-set-auto-save-file-modes): Remove superfluous check for
9674 `stringp'. This is done inside `tramp-tramp-file-p'.
9675 (tramp-debug-outline-regexp): New defconst.
9676 (tramp-get-debug-buffer): Use it.
9677 (tramp-check-for-regexp): Use (forward-line 1).
9678 (tramp-set-auto-save-file-modes): Adapt version check.
9680 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9681 Wrap call of `featurep' for 2nd argument.
9682 (tramp-compat-make-temp-file): Simplify fallback implementation.
9683 (tramp-compat-copy-tree): Remove function.
9684 (tramp-compat-delete-directory): Provide implementation for older
9687 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9688 Do not use `tramp-fish-handle-file-attributes.
9690 * net/trampver.el: Update release number.
9692 2010-04-10 Glenn Morris <rgm@gnu.org>
9694 * progmodes/compile.el (compilation-save-buffers-predicate):
9695 Add missing :version tag.
9697 2010-04-09 Sam Steingold <sds@gnu.org>
9699 * progmodes/compile.el (compilation-save-buffers-predicate):
9700 Remove the "autoload" cookie.
9702 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9703 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9704 and `bug-reference-prog-mode' can be used in hooks directly.
9706 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9708 Add --author support to git commit.
9709 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9710 (vc-git-log-edit-mode): New minor mode.
9711 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9714 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9716 * vc-hooks.el, vc-git.el: Improve documentation comments.
9718 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9720 Fix some of the problems in defsubst* (bug#5728).
9721 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9722 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9724 2010-04-07 Sam Steingold <sds@gnu.org>
9726 * progmodes/compile.el (compilation-save-buffers-predicate):
9727 New custom variable.
9728 (compile, recompile): Pass it to `save-some-buffers'.
9730 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9732 * wid-edit.el (widget-choose): Move cursor to the second line of
9733 the buffer (Bug#5695).
9735 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9737 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9738 * vc.el (vc-print-log-setup-buttons): New function split out from
9739 vc-print-log-internal.
9740 (vc-log-internal-common): New function, a parametrized version of
9741 vc-print-log-internal.
9742 (vc-print-log-internal): Just call vc-log-internal-common with the
9744 (vc-incoming-outgoing-internal):
9745 (vc-log-incoming, vc-log-outgoing): New functions.
9746 (vc-log-view-type): New permanent local variable.
9748 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9750 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9751 of the dynamic bound vc-short-log.
9752 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9754 * vc-git.el (vc-git-log-outgoing): New function.
9755 (vc-git-log-view-mode): Use vc-log-view-type instead
9756 of the dynamic bound vc-short-log.
9758 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9759 of the dynamic bound vc-short-log. Highlight the tag.
9760 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9761 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9762 (vc-hg-incoming-mode): Remove.
9763 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9765 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9767 Fix default-directory for vc-root-diff.
9768 * vc.el (vc-root-diff): Bind default-directory to the root
9769 directory for the diff command.
9771 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9773 * progmodes/verilog-mode.el (verilog-forward-sexp):
9774 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9775 word keywords, suggested by Steve Pearlmutter.
9776 (verilog-pretty-declarations): Support lineup of declarations in
9778 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9779 fix bug for /* / comments.
9780 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9781 Speed up and simplfy as this is never called with a bound.
9782 (verilog-pretty-declarations): Enhance to line up declarations
9783 inside a parameter list, suggested by Alan Morgan.
9784 (verilog-pretty-expr): Tune assignment regular expression match
9785 string for corner cases; also use markers instead of character
9786 number as indent changes the later.
9788 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9790 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9792 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9793 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9794 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9795 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9798 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9799 1800-2009 keywords, including "global.".
9801 2010-04-06 John Wiegley <jwiegley@gmail.com>
9803 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9804 appearing in buffer list (if a live buffer name matched a recentf
9805 file basename). Should use uniquify to offer a real solution.
9807 2010-04-06 John Wiegley <jwiegley@gmail.com>
9809 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9810 comment to code, and add a :version tag.
9811 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9813 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9815 Enable recentf-mode if using virtual buffers.
9816 * ido.el (recentf-list): Declare for byte-compiler.
9817 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9818 (ido-make-buffer-list): Simplify.
9819 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9821 2010-04-05 Juri Linkov <juri@jurta.org>
9823 Scrolling commands which scroll a line instead of full screen.
9824 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9826 * simple.el (scroll-up-line, scroll-down-line): New commands.
9827 Put property isearch-scroll=t on them.
9829 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9832 2010-04-05 Juri Linkov <juri@jurta.org>
9834 Scrolling commands which do not signal errors at top/bottom.
9835 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9837 * simple.el (scroll-up-command, scroll-down-command): New commands.
9838 Put property isearch-scroll=t on them.
9840 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9841 `scroll-down-command' and [next] from `scroll-up' to
9842 `scroll-up-command'.
9844 * emulation/cua-base.el: Put property CUA=move on
9845 `scroll-up-command' and `scroll-down-command'.
9846 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9847 and `scroll-down-command' to `cua-scroll-down'.
9849 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9851 * help.el (describe-mode): Return nil.
9853 2010-04-04 John Wiegley <jwiegley@gmail.com>
9855 * ido.el (ido-use-virtual-buffers): New variable to indicate
9856 whether "virtual buffer" support is enabled for IDO.
9857 (ido-virtual): Face used to indicate virtual buffers in the list.
9858 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9859 exists, but a virtual buffer of that name does (which would be why
9860 it was in the list), recreate the buffer by reopening the file.
9861 (ido-make-buffer-list): If virtual buffers are being used, call
9862 `ido-add-virtual-buffers-to-list' before the make list hook.
9863 (ido-virtual-buffers): New variable which contains a copy of the
9864 current contents of the `recentf-list', albeit pared down for the
9865 sake of speed, and with proper faces applied.
9866 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9867 create a list of "virtual buffers" to present to the user in
9868 addition to the currently open set. Note that this logic could
9869 get rather slow if that list is too large. With the default
9870 `recentf-max-saved-items' of 200, there is little speed penalty.
9872 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9874 * font-lock.el: Require CL when compiling.
9875 (font-lock-turn-on-thing-lock): Use `case'.
9877 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9879 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9882 2010-04-02 Juri Linkov <juri@jurta.org>
9884 * ehelp.el (electric-help-orig-major-mode):
9885 New buffer-local variable.
9886 (electric-help-mode): Set it to original major-mode. Doc fix.
9887 (with-electric-help): Use `electric-help-orig-major-mode' instead
9888 of (default-value 'major-mode). Doc fix.
9889 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9891 2010-04-02 Sam Steingold <sds@gnu.org>
9893 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9894 `vc-hg-command' with a list of flags.
9896 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9897 Also accept "patch" and "RFE".
9898 (bug-reference-fontify): `bug-reference-url-format' can also be a
9899 function to be able to handle the bug kind.
9900 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9902 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9904 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9905 value to fboundp, it may not be a symbol.
9907 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9909 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9911 2010-03-31 Juri Linkov <juri@jurta.org>
9913 * simple.el (next-line, previous-line): Re-throw a signal
9914 with `signal' instead of using `ding'.
9915 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9917 2010-03-31 Juri Linkov <juri@jurta.org>
9919 * simple.el (keyboard-escape-quit): Raise deselecting the active
9920 region higher than exiting the minibuffer.
9921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9923 2010-03-31 Juri Linkov <juri@jurta.org>
9925 * image.el (image-animated-p): Use `image-metadata' instead of
9926 `image-extension-data'. Get GIF extenstion data from metadata
9927 property `extension-data'.
9929 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * simple.el (append-to-buffer): Simplify.
9933 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9935 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9936 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9938 2010-03-31 Kenichi Handa <handa@m17n.org>
9940 * language/sinhala.el (composition-function-table): Fix regexp for
9941 the new Unicode specification.
9943 * language/indian.el (devanagari-composable-pattern)
9944 (tamil-composable-pattern, kannada-composable-pattern)
9945 (malayalam-composable-pattern): Adjust for the new Unicode
9947 (bengali-composable-pattern, gurmukhi-composable-pattern)
9948 (gujarati-composable-pattern, oriya-composable-pattern)
9949 (telugu-composable-pattern): New variables to cope with the new
9950 Unicode specification. Use them in composition-function-table.
9952 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9954 Make tmm-menubar work for the Buffers menu again (bug#5726).
9955 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9956 vectors rather than cons cells, as used in menu-bar-update-buffers.
9958 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9960 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9961 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9962 electric punctuation for "{}();,:" (Bug#5586).
9964 * mail/sendmail.el (mail-default-directory): Doc fix.
9966 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9968 * mail/sendmail.el (mail-default-directory): Doc fix.
9970 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9972 * subr.el (version-regexp-alist, version-to-list)
9973 (version-list-<, version-list-=, version-list-<=)
9974 (version-list-not-zero, version<, version<=, version=): Doc fix.
9977 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9979 * vc.el (vc-root-diff): Doc fix.
9981 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9983 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9985 * simple.el (append-to-buffer): Fix last change.
9987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9989 * simple.el (append-to-buffer): Ensure that point is preserved if
9990 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9993 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9995 * files.el (auto-mode-case-fold): Change default to t.
9997 2010-03-30 Juri Linkov <juri@jurta.org>
9999 * dired-x.el (dired-omit-mode): Doc fix.
10001 2010-03-30 Juri Linkov <juri@jurta.org>
10003 * replace.el (occur-accumulate-lines): Move occur-engine related
10004 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10005 to be located after `occur-engine'.
10007 2010-03-30 Juri Linkov <juri@jurta.org>
10009 Make occur handle multi-line matches cleanly with context.
10010 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10012 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10013 (occur-engine): Add local variables `ret', `prev-after-lines',
10014 `prev-lines'. Use more arguments for `occur-context-lines'.
10015 Set first elem of its returned list to `data', and the second elem
10016 to `prev-after-lines'. Don't print the separator line.
10017 In the end, print remaining context after-lines.
10018 (occur-context-lines): Add new arguments `begpt', `endpt',
10019 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10020 after-lines of the previous match with before-lines of the
10021 current match and not overlap them. Return a list with two
10022 values: the output line and the list of context after-lines.
10024 2010-03-30 Juri Linkov <juri@jurta.org>
10026 * replace.el (occur-accumulate-lines): Fix a bug where the first
10027 context line at the beginning of the buffer was missing.
10029 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10031 * files.el: Make bidi-display-reordering safe variable for boolean
10034 2010-03-29 Phil Hagelberg <phil@evri.com>
10035 Chong Yidong <cyd@stupidchicken.com>
10037 * subr.el: Extend progress reporters to perform "spinning".
10038 (progress-reporter-update, progress-reporter-do-update):
10039 Handle non-numeric value arguments.
10040 (progress-reporter--pulse-characters): New var.
10042 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10044 * progmodes/compile.el (compilation-start): Fix regexp detection
10045 of initial cd command (Bug#5771).
10047 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10049 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10051 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10053 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10054 * progmodes/gdb-mi.el: Restore.
10055 * progmodes/gdb-ui.el: Remove.
10056 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10058 2010-03-25 Glenn Morris <rgm@gnu.org>
10060 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10061 all dired buffers, even tramp ones. (Bug#5755)
10063 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10065 Add "union tags" in mpc.el.
10066 * mpc.el: Remove backward compatibility code.
10067 (mpc-browser-tags): Change default.
10068 (mpc--find-memoize-union-tags): New var.
10069 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10070 (mpc-cmd-find): Handle the case where the playlist does not exist.
10072 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10073 (mpc-cmd-add): Use mpc-cmd-flush.
10074 (mpc-tagbrowser-tag-name): New fun.
10075 (mpc-tagbrowser-buf): Use it.
10076 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10078 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10082 Use replace-regexp-in-string.
10083 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10084 (makefile-imake-mode-syntax-table): Move init into defvar.
10085 (makefile-mode): Use define-derived-mode.
10087 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10088 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10089 not be present any more.
10091 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10093 * faces.el (set-face-attribute): Fix typo in docstring.
10094 (face-valid-attribute-values): Reflow docstring.
10096 2010-03-24 Glenn Morris <rgm@gnu.org>
10098 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10100 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10102 * indent.el (indent-for-tab-command): Doc fix.
10104 2010-03-24 Alan Mackenzie <acm@muc.de>
10106 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10107 Fix off-by-one error. Fixes bug #5747.
10109 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10111 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10112 (image-dired-read-comment): Doc fix.
10114 * json.el (json-object-type, json-array-type, json-key-type)
10115 (json-false, json-null, json-read-number):
10116 * minibuffer.el (completion-in-region-functions):
10117 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10118 (cal-tex-cursor-week):
10119 * emacs-lisp/trace.el (trace-function):
10120 * eshell/em-basic.el (eshell/printnl):
10121 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10122 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10123 * obsolete/levents.el (allocate-event, event-key, event-object)
10124 (event-point, event-process, event-timestamp, event-to-character)
10125 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10126 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10127 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10128 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10129 (reftex-highlight-selection): Fix typos in docstrings.
10131 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10133 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10135 2010-03-24 Glenn Morris <rgm@gnu.org>
10137 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10138 2008-02-13 without comment; mark it obsolete.
10139 (rmail-highlight-headers): Use rmail-highlight-face once more.
10141 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10143 * woman.el (woman2-process-escapes): Only consume the newline if
10144 the filler character is on a line by itself (Bug#5729).
10146 2010-03-24 Kenichi Handa <handa@m17n.org>
10148 * language/indian.el (devanagari-composable-pattern): Add more
10151 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10153 * net/trampver.el: Update release number.
10155 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10157 * net/tramp.el (tramp-find-executable):
10158 Use `tramp-get-connection-buffer'. Make the regexp for checking
10159 output of "wc -l" more robust.
10160 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10161 (tramp-open-connection-setup-interactive-shell): Remove workaround
10162 for OpenSolaris bug, it is not needed anymore.
10164 2010-03-24 Glenn Morris <rgm@gnu.org>
10166 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10168 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10170 * files.el (auto-mode-alist): Accept more verilog file patterns.
10172 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10174 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10176 2010-03-24 Glenn Morris <rgm@gnu.org>
10178 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10179 log-edit-before-checkin-process.
10181 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10183 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10185 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10186 (log-view-process-buffer, log-edit-extra-flags): Declare.
10188 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10190 2010-03-23 Sam Steingold <sds@gnu.org>
10192 Fix bug#5620: recalculate all markers on compilation buffer
10193 modifications, not on file modifications.
10194 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10195 variable: the buffer modification time, for buffers not associated with
10197 (compilation-mode): Create it.
10198 (compilation-filter): Update it.
10199 (compilation-next-error-function): Use it instead of
10200 `visited-file-modtime' for timestamp.
10202 2010-03-23 Juri Linkov <juri@jurta.org>
10204 Implement Occur multi-line matches.
10205 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10207 * replace.el (occur): Doc fix.
10208 (occur-engine): Set `begpt' to the beginning of the first line.
10209 Set `endpt' to the end of the last match line. At first, count
10210 line numbers between `origpt' and `begpt'. Split out code from
10211 `out-line' variable to new let-bindings `match-prefix' and
10212 `match-str'. In `out-line' add non-numeric prefix to all
10213 non-first lines of multi-line matches. Finally, count lines
10214 between `begpt' and `endpt' and add to `lines'.
10216 2010-03-23 Juri Linkov <juri@jurta.org>
10218 * replace.el (occur-accumulate-lines, occur-engine):
10219 Use `occur-engine-line' instead of duplicate code.
10220 (occur-engine-line): New function created from duplicate code
10221 in `occur-accumulate-lines' and `occur-engine'.
10223 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10224 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10226 2010-03-23 Juri Linkov <juri@jurta.org>
10228 * finder.el: Remove TODO tasks.
10230 * info.el (Info-finder-find-node): Add node "all"
10231 with all package info. Handle a list of multiple keywords
10232 separated by comma.
10233 (info-finder): In interactive use with a prefix argument,
10234 use `completing-read-multiple' to read a list of keywords
10235 separated by comma.
10237 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10239 Add a new completion style `substring'.
10240 * minibuffer.el (completion-basic--pattern): New function.
10241 (completion-basic-try-completion, completion-basic-all-completions):
10243 (completion-substring--all-completions)
10244 (completion-substring-try-completion)
10245 (completion-substring-all-completions): New functions.
10246 (completion-styles-alist): New style `substring'.
10248 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10250 Get rid of .elc files after removal of the corresponding .el.
10251 * Makefile.in (compile-clean): New target.
10252 (compile-main): Use it.
10254 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10256 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10257 don't do make there. When compiling with separate object dir, there
10258 is no Makefile there.
10260 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10262 Get rid of the ELCFILES abomination, again.
10263 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10264 (all, compile): Don't call compile-last.
10265 (compile-main): Build the "elcfiles" list dynamically.
10266 (compile-targets): New (internal) target.
10268 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10270 * Makefile.in (top_srcdir): Define.
10271 (abs_top_builddir): Define.
10272 (srcdir): Don't append `/..'.
10273 (EMACS): Use ${abs_top_builddir}.
10274 (all, compile, compile-always, compile-last): Don't set emacswd.
10275 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10277 (lisp): Use $(srcdir) instead of @srcdir@.
10279 2010-03-21 Juri Linkov <juri@jurta.org>
10281 Fix message of multi-line occur regexps and multi-buffer header lines.
10282 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10284 * replace.el (occur-1): Don't display regexp if it is longer
10285 than window-width. Use `query-replace-descr' to display regexp.
10286 (occur-engine): Don't display regexp in the buffer header for
10287 multi-buffer occur. Display a separate header line with total
10288 match count and regexp for multi-buffer occur.
10289 Use `query-replace-descr' to display regexp.
10291 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10293 * net/secrets.el: Fix parenthesis.
10294 (secrets-enabled): Fix parenthesis.
10296 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10298 Use more relative file and directory names.
10299 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10300 (setwins, setwins_almost, setwins_for_subdirs):
10301 Don't `cd'; output relative names.
10302 (all, compile, compile-always, compile-last): Set emacswd.
10303 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10304 Just cd to the lisp source dir so we can use relative file names.
10306 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10308 2010-03-20 Glenn Morris <rgm@gnu.org>
10310 * textmodes/rst.el: Use faces for font-lock customization, and make the
10311 old -face variables obsolete.
10312 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10313 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10314 (rst-block-face, rst-external-face, rst-definition-face)
10315 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10316 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10318 (rst-font-lock-keywords-function): Update for above changes.
10320 2010-03-20 Juri Linkov <juri@jurta.org>
10323 * obsolete/s-region.el: Move to obsolete.
10325 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10327 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10329 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10331 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10333 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10335 Add special markup processing for commit logs.
10336 * log-edit.el (log-edit-extra-flags): New variable.
10337 (log-edit): Add new argument MODE. Use that mode when non-nil
10338 instead of the log-view-mode.
10339 (log-view-process-buffer): New function.
10341 * vc.el: Document that the checkin method takes optional
10342 arguments. Document new backend specific method: log-view-mode.
10343 (vc-default-log-edit-mode): New function.
10344 (vc-checkin): Use a backend specific log-view-mode.
10345 Pass extra arguments to the checkin method.
10346 (vc-modify-change-comment): Pass a dummy extra argument.
10348 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10350 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10351 (vc-finish-logentry): Process the log buffer before passing it
10352 down. Pass log-edit-extra-flags.
10354 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10356 (log-edit-extra-flags, log-edit-before-checkin-process):
10359 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10361 (log-edit-extra-flags, log-edit-before-checkin-process):
10363 (vc-hg-log-edit-mode): New derived mode.
10365 * vc-arch.el (vc-arch-checkin):
10366 * vc-cvs.el (vc-cvs-checkin):
10367 * vc-git.el (vc-git-checkin):
10368 * vc-mtn.el (vc-mtn-checkin):
10369 * vc-rcs.el (vc-rcs-checkin):
10370 * vc-sccs.el (vc-sccs-checkin):
10371 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10373 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10378 2010-03-19 Glenn Morris <rgm@gnu.org>
10380 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10382 2010-03-18 Glenn Morris <rgm@gnu.org>
10384 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10386 * replace.el (query-replace-history): Give it a doc string.
10387 (map-query-replace-regexp): Use query-replace-from-history-variable
10388 and query-replace-to-history-variable.
10390 * mail/hashcash.el (declare-function): Remove duplicate definition.
10392 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10393 Make it an obsolete alias for report-emacs-bug-address.
10394 (message-strip-special-text-properties): Declare.
10395 (report-emacs-bug): Remove test for a pretest bug address.
10396 Combine message-mode-specific code.
10398 * mail/supercite.el: Don't require sendmail.
10399 (mh-in-header-p): Declare rather than using with-no-warnings.
10400 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10401 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10403 * calendar/cal-french.el: Convert to utf-8.
10405 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10408 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10410 * net/secrets.el (secrets-enabled): New variable. Use it instead
10413 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10415 * net/secrets.el (top): Register the D-Bus signals only when the
10416 service "org.freedesktop.secrets" can be pinged.
10417 Provide subfeature `enabled'.
10419 2010-03-14 Juri Linkov <juri@jurta.org>
10421 Add finder unknown keywords.
10423 * finder.el (finder-unknown-keywords): New function.
10425 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10426 to create a Finder node with unknown keywords.
10428 2010-03-14 Juri Linkov <juri@jurta.org>
10430 * finder.el (finder-compile-keywords): Replace `princ' with
10431 `prin1' on a list of symbols interned from keyword strings.
10433 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10434 a comma, then split keywords using a comma and optional whitespace.
10435 Otherwise, split by whitespace.
10443 * progmodes/mixal-mode.el: Fix keywords.
10445 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10447 * Makefile.in (ELCFILES): Add net/secrets.elc.
10449 * net/secrets.el: New file.
10451 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10453 * facemenu.el (list-colors-display, list-colors-print): New arg
10454 callback. Use it to allow selecting colors.
10456 * wid-edit.el (widget-image-insert): Insert image prop even if the
10457 current display is non-graphic.
10458 (widget-field-value-set): New fun.
10459 (editable-field): Use it.
10460 (widget-field-value-get): Clean up unused var.
10461 (widget-color-value-create, widget-color--choose-action):
10462 New funs. Allow using list-colors-display to choose color.
10464 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10466 * cus-edit.el: Resort topmost custom groups.
10467 (custom-buffer-sort-alphabetically): Default to t.
10468 (customize-apropos): Use apropos-parse-pattern.
10469 (custom-search-field): New var.
10470 (custom-buffer-create-internal): Add custom-apropos search field.
10471 (custom-add-parent-links): Don't display parent doc.
10472 (custom-group-value-create): Don't sort top-level custom group.
10473 (custom-magic-value-create): Show visibility button before option name.
10475 (custom-variable-state): New fun, from custom-variable-state-set.
10476 (custom-variable-state-set): Use it.
10477 (custom-group-value-create): Hide options with standard values
10478 using the :hidden-states property. Use progress reporter.
10480 (custom-show): Simplify.
10481 (custom-visibility): Disable images by default.
10482 (custom-variable): New property :hidden-states.
10483 (custom-variable-value-create): Enable images for
10484 custom-visibility widgets. Use :hidden-states property to
10485 determine initial visibility.
10487 * wid-edit.el (widget-image-find): Give images center ascent.
10488 (visibility): Add :on-image and :off-image properties.
10489 (widget-visibility-value-create): Use them.
10491 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10493 * cus-edit.el (processes): Remove from development group.
10494 (oop, hypermedia): Delete group.
10495 (comm): Promote to top-level group.
10497 * net/browse-url.el (browse-url):
10498 * net/xesam.el (xesam):
10499 * net/tramp.el (tramp):
10500 * net/goto-addr.el (goto-address):
10501 * net/ange-ftp.el (ange-ftp): Put in comm group.
10503 * view.el (view): Remove from editing group.
10505 * uniquify.el (uniquify): Put in files group.
10507 * net/browse-url.el (browse-url):
10508 * ps-print.el (postscript): Put in external group.
10510 * cus-edit.el (outlines):
10511 * textmodes/text-mode.el (text-mode-hook):
10512 * textmodes/table.el (table):
10513 * textmodes/picture.el (picture):
10514 * outline.el (outlines): Put in wp group.
10516 * nxml/nxml-mode.el (nxml): Remove from wp group.
10518 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10520 * mail/metamail.el (metamail): Remove from hypermedia group.
10522 * cus-edit.el (abbrev):
10523 * whitespace.el (whitespace):
10524 * vcursor.el (vcursor):
10525 * reveal.el (reveal):
10526 * hl-line.el (hl-line): Put in convenience group.
10528 * epg-config.el (epg): Put in data group.
10530 * emulation/pc-select.el (pc-select): Put in emulations group.
10532 * calculator.el (calculator): Put in applications group.
10534 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10536 Add .dir-locals.el support for file-less buffers.
10537 * files.el (hack-local-variables): Split out code to apply local
10538 variable settings ...
10539 (hack-local-variables-apply): ... here. New function.
10540 (hack-dir-local-variables): Use the default directory for when the
10541 buffer does not have an associated file.
10542 (hack-dir-local-variables-non-file-buffer): New function.
10543 * diff-mode.el (diff-mode):
10544 * vc-annotate.el (vc-annotate-mode):
10545 * vc-dir.el (vc-dir-mode):
10546 * log-edit.el (log-edit-mode):
10547 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10549 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10551 Add support for shelving snapshots and for showing shelves.
10552 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10553 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10555 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10556 (vc-bzr-extra-menu-map): Map them.
10558 2010-03-11 Glenn Morris <rgm@gnu.org>
10560 * cus-edit.el (customize-changed-options-previous-release):
10563 * image.el (image-animate-max-time): Fix :version tag.
10565 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10569 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10571 * vc-git.el (vc-git-revision-table): Include remote branches.
10573 2010-03-10 Kim F. Storm <storm@cua.dk>
10575 Animated image API.
10576 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10578 * image.el (image-animate-max-time): New defcustom.
10579 (image-animated-types): New defconst.
10580 (create-animated-image, image-animate-timer)
10581 (image-animate-start, image-animate-stop, image-animate-timeout)
10582 (image-animated-p): New functions.
10584 * image-mode.el (image-toggle-display-image):
10585 Replace `create-image' with `create-animated-image'.
10587 2010-03-09 Miles Bader <miles@gnu.org>
10589 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10590 instead of "format:"; this ensures that the output is
10591 newline-terminated.
10593 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10595 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10596 that all errors are caught, and that the return value is always a
10599 2010-03-08 Kenichi Handa <handa@m17n.org>
10601 * language/misc-lang.el (windows-1256): New coding system.
10602 (cp1256): New alias of windows-1256 (bug#5690).
10604 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10606 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10607 call to rfc822-bad-address. (Bug#5692)
10609 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10611 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10612 Use vc-git-root as default directory for revision path (Bug#5657).
10614 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10616 * calculator.el (calculator): Don't bind split-window-keep-point
10619 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * vc-git.el: Re-flow to fit into 80 columns.
10622 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10623 Remove spurious `quote' element in each case alternative.
10624 (vc-git-show-log-entry): Use prog1.
10625 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10627 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10631 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10633 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10634 definition, not the name (Bug#5481).
10636 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10638 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10639 argument with a local variable. (Bug#5670)
10641 2010-03-02 Juri Linkov <juri@jurta.org>
10643 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10645 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10647 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10648 error when FILENAME and NEWNAME are existing remote directories.
10650 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10651 parameter DIR-FLAG.
10653 2010-03-02 Glenn Morris <rgm@gnu.org>
10655 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10656 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10658 2010-03-01 Kenichi Handa <handa@m17n.org>
10660 * language/burmese.el (burmese-composable-pattern): Rename from
10661 myanmar-composable-pattern.
10663 * international/characters.el (script-list):
10664 * international/fontset.el (script-representative-chars):
10665 Change myanmar to burmese.
10666 (otf-script-alist): Likewise.
10667 (setup-default-fontset): Likewise. Re-fix :otf spec.
10669 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10671 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10673 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10675 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10677 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10679 * net/tramp.el (tramp-handle-write-region): START can be a string.
10680 Take care in the checks. Reported by Dan Davison
10681 <davison@stats.ox.ac.uk>.
10683 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10685 * net/dbus.el (dbus-introspect, dbus-get-property)
10686 (dbus-set-property, dbus-get-all-properties):
10687 Use `dbus-call-method' when noninteractive. (Bug#5645)
10689 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10691 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10692 * emacs-lisp/elint.el (elint-add-required-env):
10693 * calendar/icalendar.el (icalendar--add-diary-entry):
10694 * calc/calcalg2.el (math-tracing-integral):
10695 * files.el (recover-session-finish): Use with-current-buffer
10696 instead of save-excursion.
10698 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10700 Fix in-buffer completion when after-change-functions modify the buffer.
10701 * minibuffer.el (completion--replace): New function.
10702 (completion--do-completion): Use it and use relative movement.
10704 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10706 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10708 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10710 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10711 Allow the characters _<> in the stack entry (Bug#5653).
10713 2010-02-26 Kenichi Handa <handa@m17n.org>
10715 * language/burmese.el: Fix entries in composition-function-table.
10716 (myanmar-composable-pattern): New variable.
10718 * international/fontset.el (setup-default-fontset): Add an entry
10721 * international/characters.el (script-list): Add Myanmar
10724 2010-02-26 Glenn Morris <rgm@gnu.org>
10726 * custom.el (custom-initialize-delay): Doc fix.
10728 * mail/sendmail.el (send-mail-function): Autoload the call
10729 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10731 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10733 * files.el (hack-local-variables-filter): For eval forms, also
10734 check safe-local-variable-p (Bug#5636).
10736 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10738 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10739 setting the modes by `ignore-errors'. It might fail, for example
10740 if the file is not owned by the user but the group.
10741 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10743 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10745 * files.el (directory-listing-before-filename-regexp):
10746 Use stricter matching for iso-style dates, to avoid false matches with
10747 date-like filenames (Bug#5597).
10749 * htmlfontify.el (htmlfontify): Doc fix.
10751 * eshell/eshell.el (eshell): Doc fix.
10753 * startup.el (fancy-about-screen): In mode-line, apply
10754 mode-line-buffer-id face only to the buffer name (Bug#5613).
10756 2010-02-20 Kevin Ryde <user42@zip.com.au>
10758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10759 In `watcom' anchor regexp to start of line, to avoid slowness
10762 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10764 * subr.el (remove-yank-excluded-properties): Explain in a comment
10765 why `category' property is removed.
10767 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10769 * isearch.el (isearch-update-post-hook, isearch-update):
10770 Revert 2010-02-17 change.
10772 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10774 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10775 (icalendar--convert-weekly-to-ical)
10776 (icalendar--convert-yearly-to-ical)
10777 (icalendar--convert-block-to-ical)
10778 (icalendar--convert-cyclic-to-ical)
10779 (icalendar--convert-anniversary-to-ical): Take care of time
10780 specifications where hour has 1-digit only (Bug#5549).
10782 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10784 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10785 of disassemble output in GDB 7.1.
10787 2010-02-19 Glenn Morris <rgm@gnu.org>
10789 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10790 property. (Bug#5593)
10792 2010-02-18 Sam Steingold <sds@gnu.org>
10794 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10796 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10798 Use abbreviated file names in bookmarks (bug#5591).
10799 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10800 calls to expand-file-name.
10801 (bookmark-relocate): Use abbreviated file names in bookmarks.
10802 (bookmark-load): Use abbreviated file names in messages.
10804 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10806 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10807 expand "." and "..". Reported by Thierry Volpiatto
10808 <thierry.volpiatto@gmail.com>.
10810 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10812 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10813 permissions of the temporary file to "0600". In case the remote
10814 file has no read permissions for the owner, there might be
10815 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10817 22010-02-18 Glenn Morris <rgm@gnu.org>
10819 * emacs-lisp/authors.el (authors-renamed-files-alist):
10820 Add entries for INSTALL.CVS.
10822 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10824 * vc-bzr.el: Fix typo in Known Bugs section.
10826 * isearch.el (isearch-update-post-hook): New hook.
10827 (isearch-update): Use the new hook.
10829 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10831 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10832 Fix errors in copying directories.
10833 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10834 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10835 (tramp-handle-delete-file)
10836 (tramp-handle-dired-recursive-delete-directory)
10837 (tramp-handle-write-region): Flush also the cache for the upper
10840 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10842 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10844 * cus-edit.el (hardware): Doc fix.
10846 * man.el (man): Add to external custom group.
10848 * delim-col.el (columns): Move to wp custom group.
10850 * doc-view.el (doc-view): Add to data custom group.
10852 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10854 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10855 by ispell-parse-output (Bug#5575).
10857 2010-02-16 Kenichi Handa <handa@m17n.org>
10859 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10860 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10861 (skkdic-convert): Use `euc-japan' coding system for writing.
10863 2010-02-16 Glenn Morris <rgm@gnu.org>
10865 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10866 tex-main-file before using it. (Bug#5562)
10868 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10871 warnings, since it is annoying for the user to see them each time he
10874 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10876 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10877 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10878 instead of PROC for caching "first-password-request". Otherwise,
10879 new processes would not profit from passwords already entered.
10881 * net/tramp-cache.el (tramp-dump-connection-properties):
10882 Don't save "first-password-request" property.
10884 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10886 * outline.el (outline-head-from-level):
10887 * simple.el (with-wrapper-hook):
10888 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10889 (elint-defun, elint-buffer-env, elint-top-form-logged)
10890 (elint-unbound-variable):
10891 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10892 Fix typos in docstrings.
10894 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10896 * files.el (insert-directory): When WILDCARD-REGEXP and
10897 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10898 whole directory. (Bug#5551)
10900 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10901 dired's alignment sanity. (Bug#5516)
10903 2010-02-14 Juri Linkov <juri@jurta.org>
10905 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10906 Remove remaining ^H with their preceding chars. (Bug#5566)
10908 2010-02-13 Glenn Morris <rgm@gnu.org>
10910 * simple.el (transpose-subr): Give it a doc-string.
10912 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10915 2010-02-12 Juri Linkov <juri@jurta.org>
10917 * arc-mode.el (archive-unique-fname): Make directories for nested
10918 archives. (Bug#5540)
10920 2010-02-12 Juri Linkov <juri@jurta.org>
10922 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10924 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * subr.el (copy-overlay): Handle deleted overlays.
10928 * man.el (Man-completion-table): Don't signal an error if we can't run
10929 manual-program (bug#4056).
10931 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10933 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10935 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10937 * info.el (Info-bookmark-jump): Simplify.
10939 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10940 (bookmark-default-handler): Accept new bookmark field `buffer'.
10942 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10944 * iswitchb.el (iswitchb-completions): Revert last change.
10946 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10948 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10949 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10950 This prevents file names like "~/" being listed literally.
10952 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10954 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10955 Remove dead code. (Bug#5546)
10957 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10959 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10960 correctly (Bug#5548).
10962 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10964 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10965 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10967 2010-02-08 Kenichi Handa <handa@m17n.org>
10969 * international/mule-util.el (with-coding-priority): Add autoload
10970 cookie for putting `lisp-indent-function'.
10972 2010-02-07 Glenn Morris <rgm@gnu.org>
10974 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10975 Move F2003 named interfaces from keywords-2 to keywords-1, and
10976 use function-name-face rather than constant-face.
10977 Simplify "abstract interface" regexp.
10979 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10981 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10982 ID-FORMAT. Pass it to `file-attributes'.
10984 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10986 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10988 * faces.el (set-face-attribute): Allow calling
10989 internal-set-lisp-face-attribute with 'unspecified family and
10990 foundry argument (Bug#5536).
10992 2010-02-07 Glenn Morris <rgm@gnu.org>
10994 * progmodes/f90.el (f90-font-lock-keywords-2)
10995 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10996 Handle F2003 named interfaces.
10998 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11000 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11001 beg and end before calling c-get-state-before-change-functions.
11003 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11005 * vc-bzr.el (vc-bzr-dir-extra-headers):
11006 Disable the pending merges header.
11008 2010-02-05 Juri Linkov <juri@jurta.org>
11010 * doc-view.el (doc-view-mode):
11011 * image-mode.el (image-mode): Put property mode-class=special.
11014 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11016 * vc-svn.el (vc-svn-revision-table): New function.
11018 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11020 * net/ange-ftp.el (ange-ftp-insert-directory):
11021 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11022 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11023 Handle also directories. (Bug#5478)
11025 2010-02-05 Glenn Morris <rgm@gnu.org>
11027 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11029 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11031 * startup.el (command-line-1): Convert options beginning with a
11032 single dash as well (Bug#5519).
11034 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11036 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11037 * minibuffer.el (completion-initials-expand): Only check the presence
11038 of delims *within* the boundaries, since otherwise the / delim is
11039 always found for files.
11041 Fix up various corner case problems.
11042 * doc-view.el (doc-view-last-page-number): New function.
11043 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11044 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11045 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11046 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11047 (doc-view-convert-current-doc): Don't create the resolution.el file
11049 (doc-view-pdf/ps->png): Do it here instead.
11050 (doc-view-already-converted-p): Check that resolution.el is present.
11051 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11052 windows that are not yet showing images.
11054 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11056 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11057 `dired-uncache' for every elemnt which is an absolute file name.
11059 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11060 directory, handle its directory component.
11061 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11062 function is called permanently and creates noise, otherwise.
11064 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11065 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11066 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11068 2010-02-04 David Burger <dburger@google.com> (tiny change)
11070 * macros.el (apply-macro-to-region-lines):
11071 Minor simplification. (Bug#5485)
11073 2010-02-04 Glenn Morris <rgm@gnu.org>
11075 * mail/rmail.el (rmail-show-message-1): Handle malformed
11076 quoted-printable text. (Bug#5441)
11078 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11080 * simple.el (visual-line-mode): Capitalize lighter.
11082 2010-02-03 John Wiegley <jwiegley@gmail.com>
11084 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11085 list of files considered for "virtual buffer" completions.
11087 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11089 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11090 also in case of (and (not full) (not wildcard)). This is needed
11091 when dired is called with a list of files, which are not in
11092 `default-directory'. (Bug#5478)
11094 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11096 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11098 2010-02-02 Juri Linkov <juri@jurta.org>
11100 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11101 from unidiff to allow function-line after @@.
11103 2010-02-02 Juri Linkov <juri@jurta.org>
11105 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11106 '(RCS SCCS) with inverted condition.
11108 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11110 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11113 2010-02-01 Juri Linkov <juri@jurta.org>
11115 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11116 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11117 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11118 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11120 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11122 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11123 (doc-view-revert-buffer): New command.
11124 (doc-view-mode-map): Use it.
11126 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11128 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11129 pending merge is detected.
11131 2010-01-31 Juri Linkov <juri@jurta.org>
11133 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11134 beginning of interactive spec like all other grep commands do.
11135 Put "all" in front of "gz". (Bug#5260)
11137 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11139 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11141 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11143 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11144 regexp is incorrect (Bug#5476).
11146 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11148 * net/tramp.el (tramp-handle-insert-directory): Handle also
11149 symlinks, when FILENAME is not in `default-directory'.
11151 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11153 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11154 FILE is not in `default-directory'. (Bug#5478)
11156 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11157 of SWITCHES. Handle the case, FILENAME is not in
11158 `default-directory'. (Bug#5478)
11159 (tramp-register-file-name-handlers): Add safe-magic property.
11161 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11163 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11166 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11168 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11169 (flymake-master-make-header-init): Add other C++ filename masks.
11170 (flymake-find-possible-master-files)
11171 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11173 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11175 Fix some busybox annoyances.
11177 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11178 not responding." string.
11179 (tramp-open-connection-setup-interactive-shell): Dump stty
11180 settings. Enable "neveropen" arg for all `tramp-send-command'
11181 calls. Handle "=" in variable values properly.
11182 (tramp-find-inline-encoding): Raise an error, when no encoding is
11184 (tramp-wait-for-output): Check, whether PROC buffer is available.
11185 Remove spurious " ^H" sequences, sent by busybox.
11186 (tramp-get-ls-command): Suppress coloring, if possible.
11188 2010-01-28 Glenn Morris <rgm@gnu.org>
11190 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11192 * log-edit.el (log-edit-strip-single-file-name): Add missing
11193 :safe, :group, and :version tags.
11195 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11197 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11198 buffers. (Bug#5477)
11200 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11202 * files.el (delete-directory): Handle moving to trash without
11203 first doing recursion (Bug#5436).
11205 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11207 * vc-hooks.el (vc-path): Mark as obsolete.
11209 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11211 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11214 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11216 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11218 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11220 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11222 * vc-bzr.el (vc-bzr-revision-table): New function.
11224 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11226 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11227 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11229 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11231 Remove support for adding --signoff on commit.
11232 Future support will use an incompatible generic mechanism.
11233 * vc-git.el (vc-git-add-signoff): Remove variable.
11234 (vc-git-toggle-signoff): Remove function.
11235 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11237 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11238 Rename from xterm-set-background-mode. Return t if the background mode
11240 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11241 earlier, call it again in case the background mode has changed.
11243 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11245 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11248 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11250 * emacs-lisp/assoc.el (aelement): Doc fix.
11251 (aput, adelete, amake): Use lexical-let (Bug#5450).
11253 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11255 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11256 is the same as subprogram call, not declaration. (Bug#5435).
11258 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11260 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11261 (tramp-smb-maybe-open-connection): Use it.
11263 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11265 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11267 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11270 just because we see "encoding: 8bit".
11271 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11273 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11275 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11277 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11279 * jka-compr.el (jka-compr-load): If load-file is not in
11280 load-history, try its file-truename version. (bug#5447)
11282 2010-01-21 Alan Mackenzie <acm@muc.de>
11284 Fix a situation where deletion of a cpp construct throws an error.
11285 * progmodes/cc-engine.el (c-invalidate-state-cache):
11286 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11287 special cpp construct is still in the buffer.
11288 (c-parse-state): Record the special cpp with markers, not numbers.
11290 2010-01-21 Kenichi Handa <handa@m17n.org>
11292 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11293 process last-command-event, as it is now decoded first (Bug#5380).
11295 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11297 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11299 2010-01-20 Glenn Morris <rgm@gnu.org>
11301 * indent.el (tab-always-indent): Fix custom-type.
11303 2010-01-19 Alan Mackenzie <acm@muc.de>
11305 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11306 buffer throws "args out of range".
11307 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11308 playing the role of delimiter.
11310 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11312 * progmodes/ada-mode.el: Fix bug#5400.
11313 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11314 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11315 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11316 Improve comments in "is" portion. Handle null procedure declaration.
11317 (ada-move-to-end): Improve doc string.
11319 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11321 * ido.el (ido-cur-list): Initialize to nil.
11322 Remove obsolete information from commentary.
11323 (ido-choice-list): Initialize to nil.
11324 (ido-get-bufname): Reject minibuffers.
11325 (ido-make-buffer-list): If "default" is a nonexistent
11326 buffer, ignore it, as per the function's comment.
11327 (ido-kill-buffer-internal): New function.
11328 (ido-kill-buffer-at-head): Use it.
11329 (ido-visit-buffer): Likewise.
11331 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11333 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11335 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11337 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11338 Fix typos in chart titles.
11340 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11341 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11342 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11343 (describe-class, eieio-describe-generic, describe-generic):
11344 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11345 (eieio-speedbar-expand):
11346 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11347 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11348 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11349 (viper-del-backward-char-in-replace, viper-backward-indent)
11350 (viper-brac-function, viper-register-to-point, viper-submit-report):
11351 * net/tramp.el (tramp-remote-coding-commands):
11352 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11353 Fix typos in docstrings.
11355 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11357 * mail/sendmail.el (mail-yank-original): Set the mark if the
11358 specified function for yanking does not do it.
11360 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11362 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11364 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11365 resyncing a directory.
11367 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11369 * progmodes/ada-mode.el: Fix bug#1920.
11370 (ada-ident-re): Delete ., allow multibyte characters.
11371 (ada-goto-label-re): New; matches goto labels.
11372 (ada-block-label-re): New; matches block labels.
11373 (ada-label-re): New; matches both.
11374 (ada-named-block-re): Deleted; callers changed to use
11375 `ada-block-label-re' instead.
11376 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11377 Use `ada-block-label-re'.
11378 (ada-indent-on-previous-lines): Improve handling of goto labels.
11379 (ada-get-indent-block-start): Special-case block label.
11380 (ada-get-indent-label): Split into `ada-indent-block-label' and
11381 `ada-indent-goto-label'.
11382 (ada-goto-stmt-start, ada-goto-next-non-ws):
11383 Optionally ignore goto labels.
11384 (ada-goto-next-word): Simplify.
11385 (ada-indent-newline-indent-conditional): Insert newline before
11386 trying to fix indentation; doc fix.
11388 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11390 * calc/calc.el (calc-command-flags): Give it an initial value.
11392 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11394 * files.el (minibuffer-with-setup-hook):
11395 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11396 (artist-key-draw-continously, artist-key-do-continously-continously)
11397 (artist-key-set-point-continously, artist-mouse-draw-continously):
11398 Fix typos in docstrings.
11400 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11402 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11403 Never return t (Bug#3898).
11405 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11407 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11408 can parse the output of the external commands (Bug#5279).
11410 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11412 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11414 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11416 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11418 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11420 * startup.el (command-line): Remove unused --icon-type arg.
11421 Handle --display arg, passing it to command-line-1 (Bug#5392).
11423 2010-01-16 Mario Lang <mlang@delysid.org>
11425 * emacs-lisp/chart.el (chart-translate-namezone):
11426 * textmodes/artist.el (artist-compute-popup-menu-table):
11427 Remove duplicated words in doc-strings.
11429 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11431 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11432 to mairix-search to suppress threading (Bug#5342).
11434 2010-01-15 Kenichi Handa <handa@m17n.org>
11436 * international/mule-cmds.el (canonicalize-coding-system-name):
11437 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11439 2010-01-15 Glenn Morris <rgm@gnu.org>
11441 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11443 * wid-edit.el (widget-keymap): Doc fix.
11445 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11446 former seems to be more widely accepted by various svn versions.
11448 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11450 * find-cmd.el (find-constituents):
11451 * vc-arch.el (vc-arch-root):
11452 * window.el (window-body-height, pop-up-frames):
11453 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11454 * progmodes/ada-stmt.el (ada-if):
11455 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11456 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11457 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11458 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11460 * progmodes/flymake.el (flymake-post-syntax-check):
11461 Fix typo in error message.
11463 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11465 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11466 which is always a string. (Bug#5313)
11468 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11470 * progmodes/ada-xref.el (ada-default-prj-properties):
11471 Simplify previous change.
11473 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11475 * progmodes/ada-xref.el (ada-default-prj-properties):
11476 Default ada_project_path to $ADA_PROJECT_PATH.
11478 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11480 * progmodes/ada-mode.el (ada-create-keymap):
11481 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11483 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11485 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11486 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11487 (ada-get-current-indent, ada-imenu-generic-expression)
11488 (ada-which-function): Check for it.
11490 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11492 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11493 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11495 2010-01-14 Glenn Morris <rgm@gnu.org>
11497 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11499 2010-01-14 Kenichi Handa <handa@m17n.org>
11501 * composite.el (auto-composition-mode): Make it a buffer local
11502 variable (permanent-local).
11503 (auto-composition-function): Set the default value to
11504 auto-compose-chars.
11505 (auto-composition-mode): Make it a simple function, not a minor mode.
11506 (global-auto-composition-mode): Likewise.
11507 (turn-on-auto-composition-if-enabled): Delete it.
11509 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11511 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11513 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11515 * files.el (copy-directory): Compute target for recursive
11516 directories with identical names. (Bug#5343)
11518 2010-01-12 Glenn Morris <rgm@gnu.org>
11520 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11521 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11523 2010-01-11 Sam Steingold <sds@gnu.org>
11525 * imenu.el (imenu-default-create-index-function): Detect infinite
11526 loops caused by imenu-prev-index-position-function.
11528 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11530 * htmlfontify.el (htmlfontify-load-rgb-file)
11531 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11532 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11533 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11534 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11535 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11536 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11537 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11538 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11539 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11540 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11541 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11542 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11543 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11544 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11545 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11546 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11547 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11548 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11549 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11550 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11551 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11552 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11553 backslash-quoting from parentheses, etc.
11555 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11557 * progmodes/js.el: Autoload javascript-mode alias.
11559 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11561 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11562 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11563 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11564 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11565 Fix typos in docstrings.
11566 (ffap-url-regexp): Doc fix.
11567 (ffap-at-mouse): Fix typo in message.
11569 2010-01-11 Glenn Morris <rgm@gnu.org>
11571 * version.el (emacs-copyright): Set copyright year to 2010.
11573 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * format.el (format-annotate-function): Only set
11576 write-region-post-annotation-function after running to-fn so as not to
11577 affect nested write-region calls (bug#5273).
11579 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11581 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11584 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11586 * man.el (Man-goto-section): Signal error if the section is not
11589 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11591 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11592 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11594 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11596 * progmodes/compile.el: Don't treat compile-command as safe if
11597 compilation-read-command might be nil (Bug#4218).
11599 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11601 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11604 2010-01-08 Kenichi Handa <handa@m17n.org>
11606 * international/fontset.el (build-default-fontset-data):
11607 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11609 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11611 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11612 to `create-file-buffer' as it expects, not just a buffer name.
11613 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11614 to help uniquify. (Bug#3224)
11616 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11618 * font-setting.el (font-setting-change-default-font): Use user-spec
11621 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11623 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11625 2010-01-05 Tom Tromey <tromey@redhat.com>
11627 * progmodes/python.el (python-font-lock-keywords):
11628 Handle qualified decorators (Bug#881).
11630 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11632 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11633 in a lightweight checkout.
11635 2010-01-05 Kenichi Handa <handa@m17n.org>
11637 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11639 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11641 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11643 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11645 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11646 checkouts. (Bug#618)
11647 (vc-bzr-log-view-mode): Also highlight the author.
11648 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11649 (vc-bzr-shelve-menu-map):
11650 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11651 (vc-bzr-shelve-apply): Make prompt more explicit.
11653 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11655 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11656 They are valid characters in URL paths (rfc3986), and at least
11657 Firefox does not understand the encoded version (Bug#3166).
11659 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11661 * progmodes/octave-mod.el (octave-end-keywords)
11662 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11663 Add "end" keyword (Bug#3061).
11664 (octave-end-as-array-index-p): New function.
11665 (calculate-octave-indent): Use it.
11667 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11669 * bookmark.el: Consistently put the text property on the bookmark name.
11670 (bookmark-bmenu-marks-width): Bump back to 2, to include
11672 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11673 property on the bookmark name, instead of not putting it at all.
11674 (bookmark-bmenu-list): Fix where we put the text property.
11676 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11678 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11679 for showing buffer modified state (as added in the previous change).
11681 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11683 * bookmark.el: Show modified state of bookmark buffer more accurately.
11684 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11685 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11686 (with-buffer-modified-unmodified): New macro.
11687 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11688 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11689 Use new macro to preserve the buffer modified state.
11691 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11693 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11694 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11695 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11696 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11697 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11698 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11699 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11701 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11704 Make the lines in the generated doc string shorter. (Bug#4668)
11706 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11708 * net/rcirc.el: Add follow-link binding (Bug#4738).
11710 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11712 * Makefile.in (bzr-update): Rename from cvs-update.
11713 (cvs-update): New target for backward compatibility.
11715 * makefile.w32-in (bzr-update): Rename from cvs-update.
11716 (cvs-update): New target for backward compatibility.
11718 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11720 * bookmark.el: Remove gratuitous gratitude.
11722 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11724 * bookmark.el (bookmark-bmenu-any-marks): New function.
11725 (bookmark-bmenu-save): Clear buffer modification if no marks.
11727 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11729 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11730 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11731 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11732 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11734 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11735 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11736 To: emacs-devel {_AT_} gnu.org
11737 Subject: bookmark.el bug report
11738 Date: Mon, 28 Dec 2009 14:19:16 +0800
11739 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11741 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11743 * bookmark.el: Improvements suggested by Drew Adams:
11744 (bookmark-bmenu-ensure-position): New name for
11745 `bookmark-bmenu-check-position'. Just ensure the position,
11746 don't return any meaningful value.
11747 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11750 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11752 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11753 (bookmark-yank-point, bookmark-bmenu-check-position):
11754 Fix typos in docstrings.
11755 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11756 (bookmark-name-from-full-record, bookmark-get-position)
11757 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11758 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11759 Remove useless quoting of parenthesis, etc. in docstrings.
11761 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11762 (ediff-append-custom-diff): Fix typo in error message.
11763 (ediff-meta-mark-equal-files): Fix typos in messages.
11765 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11767 * net/imap-hash.el (imap-hash-make): Doc fix.
11768 (imap-hash-test): Fix typo in error message; reflow docstring.
11769 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11770 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11771 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11772 Fix typos in docstrings.
11773 (imap-hash-open-connection): Fix typo in error message.
11775 * play/gomoku.el (gomoku): Fix typos in docstring.
11777 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11778 (gdb-jsonify-buffer): Fix typos in docstring.
11779 (gdb-goto-breakpoint): Fix typo in error message.
11780 ("Display Other Windows"): Fix typo in help message.
11781 (gdb-speedbar-expand-node): Fix typo in question.
11783 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11784 (idlwave-html-system-help-location, idlwave-html-help-location)
11785 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11786 (idlwave-help-browser-generic-args, idlwave-help-directory)
11787 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11788 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11789 (idlwave-online-help, idlwave-help-html-link)
11790 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11791 Fix typos in docstrings.
11792 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11794 (idlwave-help-assistant-start): Fix typo in error message.
11796 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11797 (octave-electric-space): Fix typos in docstrings.
11799 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11801 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11803 2010-01-01 Juri Linkov <juri@jurta.org>
11805 * comint.el (comint-input-ring-size): Make it a defcustom and
11806 increase the default to 500 (Bug#5148).
11808 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11810 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11811 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11812 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11814 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11816 Show working revision correctly for mercurial.
11817 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11818 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11820 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11822 Declare some functions for the byte-compiler.
11823 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11824 (speedbar-timer-fn, speedbar-change-expand-button-char)
11825 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11827 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11829 This changeset reverts GDB Graphical Interface to use annotations.
11830 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11832 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11834 Make vc-dir work on subdirectories of the bzr root.
11835 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11836 Return file names relative to it.
11837 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11838 relative directory to vc-bzr-after-dir-status.
11840 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11842 * font-lock.el (font-lock-refresh-defaults): New function, which
11843 can be used to let font-lock react to external changes in
11844 variables like font-lock-defaults and keywords.
11845 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11847 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11849 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11851 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11853 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11855 Supersede color.diff settings in git log (bug#5211).
11857 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11858 escape chars in its output when the user has color.diff set to `always'.
11859 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11861 2009-12-26 Kevin Ryde <user42@zip.com.au>
11863 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11864 node. Keep previous "Index" name to work with past coreutils too.
11866 * man.el (man): Revise docstring a bit to show -a and -l as
11867 examples. Add -k description since support for it has otherwise
11868 been a secret. (Further to bug#3717.)
11869 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11870 "no matches" rather than "Can't find manpage", as the latter reads
11871 like -k was interpreted as a page name, which is not so. (Bug#5431)
11873 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11875 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11876 switches. Check also for //SUBDIRED// line.
11878 2009-12-25 Kenichi Handa <handa@m17n.org>
11880 * language/indian.el (devanagari-composable-pattern): Fix to
11881 handle ZWNJ and ZWJ. Use it in composition-function-table for
11883 (malayalam-composable-pattern): Fix previous change.
11885 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11887 * ps-print.el (ps-face-attributes): It was not returning the
11888 attribute face for faces specified as string. Reported by harven
11889 <harven@free.fr>. (Bug#5254)
11890 (ps-print-version): New version 7.3.5.
11892 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11894 * calendar/icalendar.el (icalendar--convert-tz-offset):
11895 Fix timezone names.
11896 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11897 (icalendar--add-diary-entry): Remove the trailing blank that
11898 diary-make-entry inserts.
11900 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11902 Make `file-expand-wildcards' work for remote files.
11904 * files.el (file-expand-wildcards): In case of remote files, check
11905 only local file name part for wildcards. Provide feature 'files
11906 and subfeature 'remote-wildcards. (Bug#5198)
11908 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11909 if there is already an established connection.
11910 (tramp-advice-file-expand-wildcards): Remove it.
11912 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11913 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11914 Activate advice for older GNU Emacs versions. (Bug#5237)
11916 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11918 Some doc fixes (more needed).
11920 * find-cmd.el (find-constituents): Reflow docstring.
11921 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11922 (find-generic): Doc fix.
11924 2009-12-17 Juri Linkov <juri@jurta.org>
11926 Fix regression from 23.1 to allow multiple modes in Local Variables.
11928 * files.el (hack-local-variables-filter): While ignoring duplicates,
11929 don't take `mode' into account.
11930 (hack-local-variables-filter, hack-dir-local-variables):
11931 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11933 2009-12-17 Juri Linkov <juri@jurta.org>
11935 Make `dired-diff' safer. (Bug#5225)
11937 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11938 `current' or when `file' is a directory of the `current' file.
11940 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11942 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11943 unconditionally preloaded files.
11945 2009-12-16 Juri Linkov <juri@jurta.org>
11947 Revert to old 23.1 logic of using the file at the mark as default.
11948 * dired-aux.el (dired-diff): Use the file at the mark as default
11949 if it's not the same as the current file, and the target dir is
11950 the current dir or the mark is active. Add the current file
11951 as the arg of `dired-dwim-target-defaults'. Use the default file
11952 in the prompt. (Bug#5225)
11954 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11956 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11957 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11958 (tramp-check-for-regexp): Check also, when an echoing shell stops
11959 to echo sent commands.
11961 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11963 * Makefile.in: Revert last change (Bug#5191).
11965 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11967 * vc-hg.el (vc-hg-print-log): Fix argument order.
11968 (vc-hg-working-revision): Make sure the command is executed in a
11969 known environment so that we can parse the output. (Bug#4417)
11971 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11973 * progmodes/python.el (python-symbol-completions): Remove text
11974 properties from symbol string before calling python-send-receive.
11976 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11978 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11979 when there are values for both file and line. (Bug#5060)
11981 2009-12-14 Juri Linkov <juri@jurta.org>
11983 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11984 whitespace after the file name of the first line of unified format,
11985 because git-diff doesn't output whitespace and file modification time
11986 after the file name.
11988 2009-12-14 David Kastrup <dak@gnu.org>
11990 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11991 check if it already has the `display' property added by
11992 `Info-display-images-node', and not put the `invisible' property
11995 2009-12-13 Glenn Morris <rgm@gnu.org>
11997 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11998 (report-emacs-bug): In message-mode, sort manually before storing
11999 original report text. (Bug#5178)
12000 Remove superfluous save-excursion.
12002 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12004 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12005 when responding to "GetAll" properties.
12007 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12009 * simple.el (compose-mail): Remove mail-setup-with-from from
12010 customization checks.
12012 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12014 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12015 RAR archives created on Unix systems.
12017 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12019 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12020 the varalias that was accidentally removed by the 2009-11-19 change
12023 2009-12-12 Kenichi Handa <handa@m17n.org>
12025 * language/indian.el (indian-compose-regexp): New function.
12026 (malayalam-composable-pattern): Fix the pattern.
12027 (composition-function-table): Set malayalam-composable-pattern for
12028 Malayalam characters.
12030 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12032 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12033 rather than down-mouse-1, based on follow-link conventions.
12035 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12038 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12040 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12041 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12042 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12043 (verilog-leap-to-head, verilog-backward-token):
12044 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12046 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12048 * progmodes/verilog-mode.el (verilog-auto-lineup)
12049 (verilog-nameable-item-re): Cleanup user-visible spelling and
12050 documentation errors. One reported by Gary Delp.
12051 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12052 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12053 package, bug195. Reported by Pierre-David Pfister.
12055 2009-12-11 Glenn Morris <rgm@gnu.org>
12057 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12059 * mail/emacsbug.el: No longer require sendmail.
12060 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12061 (report-emacs-bug-orig-text): Doc fix.
12062 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12063 New local variables, to adapt to different mail-user-agents.
12064 (report-emacs-bug): Fix test for a gnu.org address.
12065 Use overlays for emphasis, since font-lock defeats 'face property.
12066 Pretest bugs also end up at the newsgroup these days.
12067 Stop message-mode stripping text properties.
12068 Set and use the new buffer-local variables.
12069 (report-emacs-bug-hook): Add doc-string.
12070 Remove some unnecessary save-excursions and simplify.
12071 Use the appropriate hook and send-command.
12073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12074 capitalization of some menu entries.
12076 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12078 * whitespace.el (whitespace-display-char-on):
12079 Ensure `buffer-display-table' is unique when two or more windows are
12080 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12083 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12085 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12086 characters in the Attribute field.
12088 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12090 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12092 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12094 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12095 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12096 Disregard autoload-excludes.
12097 (update-directory-autoloads): Obey autoload-excludes here instead.
12098 But don't store its contents in no-autoloads and remove entries that
12099 refer to excludes files.
12101 2009-12-10 Glenn Morris <rgm@gnu.org>
12103 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12104 (expand-mail-aliases): Define for compiler.
12106 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12107 Define for compiler.
12109 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12110 appropriate for the mail-user-agent in use.
12112 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12114 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12116 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12118 Fix short log parsing and fontification.
12119 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12120 Fix fontification for the [merge] label.
12122 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12124 Drop some properties to avoid surprises (bug#5002).
12125 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12126 (hfy-fontify-buffer): Use it.
12128 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12131 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12132 Adjust all callers.
12133 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12134 args compulsory. Adjust callers.
12135 (ffap-gopher-at-point): Remove unused var `name'.
12137 Get rid of the ELCFILES abomination.
12138 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12139 (compile-elcfiles): New phony target.
12140 (compile-main): Compute ELCFILES dynamically.
12141 (compile-clean): New target to remove left-over elc files.
12142 (compile, all): Use it.
12144 2009-12-09 Kenichi Handa <handa@etlken>
12146 * international/mule-diag.el: Require help-mode instead of help-fns.
12148 2009-12-09 Kenichi Handa <handa@m17n.org>
12150 * international/mule-cmds.el (ucs-names): Supply sufficiently
12151 fine ranges instead of pre-calculating accurate ranges.
12152 Iterate with bigger gc-cons-threshold.
12154 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12156 Add support for stashing a snapshot of the current tree.
12157 * vc-git.el (vc-git-stash-snapshot): New function.
12158 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12160 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12162 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12163 instead of `(beginning|end)-of-line'.
12165 2009-12-08 Glenn Morris <rgm@gnu.org>
12167 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12169 * Makefile.in (ELCFILES): Regenerate.
12171 2009-12-07 Juri Linkov <juri@jurta.org>
12173 Don't lazy-highlight the comint output in history Isearch mode.
12175 * comint.el (comint-history-isearch-search): Instead of
12176 `comint-line-beginning-position', use `comint-after-pmark-p'
12177 to check if point if before the process mark, and go to
12178 `process-mark' in this case.
12180 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * textmodes/tex-mode.el (latex-complete)
12183 (latex-indent-or-complete): Remove.
12184 (latex-mode): Set completion-at-point-functions instead.
12186 Provide a standard completion command and hook it into TAB.
12187 * minibuffer.el (completion-at-point-functions): New var.
12188 (completion-at-point): New command.
12189 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12190 * progmodes/python.el (python-mode-map): Use completion-at-point.
12191 (python-completion-at-point): Rename from python-partial-symbol and
12192 adjust for use in completion-at-point-functions.
12193 (python-mode): Setup completion-at-point for Python completion.
12194 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12195 extracted from lisp-complete-symbol.
12196 (lisp-complete-symbol): Use it.
12197 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12198 setup completion-at-point for Elisp completion.
12199 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12200 Use completion-at-point.
12201 * ielm.el (ielm-map): Use completion-at-point.
12202 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12203 * progmodes/sym-comp.el: Move to...
12204 * obsolete/sym-comp.el: Move from progmodes.
12206 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12208 Prevent save-buffer in Rmail buffers from using the coding-system
12209 of the current message, and from clobbering the encoding mnemonics
12210 in the mode line (Bug#4623).
12212 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12214 (rmail-message-encoding): New variable.
12215 (rmail-write-region-annotate): Record the encoding of the current
12216 message in rmail-message-encoding.
12217 (rmail-after-save-hook): New function, restores the encoding of
12218 the current message after the message collection is saved.
12220 2009-12-07 Juri Linkov <juri@jurta.org>
12222 * progmodes/grep.el (grep-read-files): Use `completing-read'
12223 instead of `read-string'. Set its `collection' arg to
12224 `read-file-name-internal'. (Bug#4301)
12226 2009-12-07 Juri Linkov <juri@jurta.org>
12228 Correctly restore original Isearch point. (Bug#4994)
12230 * isearch.el (isearch-mode): Move `isearch-push-state' after
12231 `(run-hooks 'isearch-mode-hook)'.
12232 (isearch-cancel): When `isearch-push-state-function' is defined,
12233 let-bind `isearch-cmds' to the first state (the last element of
12234 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12235 function and restores the original point). Otherwise, move point
12236 to `isearch-opoint'.
12238 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12240 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12241 chars that don't have names, so the table can be built much faster at
12244 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12246 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12247 change. Suggested by David Kastrup.
12249 * simple.el (compose-mail): Check for incompatibilities and warn.
12250 (compose-mail-user-agent-warnings): New option.
12252 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12254 Support showing a single log entry from vc-annotate.
12255 * vc.el (print-log): Add a new argument: START-REVISION.
12256 (vc-print-log-internal): Add a new optional argument and
12257 pass it to the backend.
12258 (vc-print-log, vc-print-root-log): Adjust callers.
12259 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12260 buffer already displays the requested log entry, use it.
12261 Otherwise display only the log entry in question.
12262 * vc-svn.el (vc-svn-print-log):
12263 * vc-mtn.el (vc-mtn-print-log):
12264 * vc-hg.el (vc-hg-state):
12265 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12266 (vc-git-show-log-entry): Return t on success.
12267 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12268 (vc-bzr-show-log-entry): Return t on success.
12269 * vc-rcs.el (vc-rcs-print-log):
12270 * vc-sccs.el (vc-sccs-print-log):
12271 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12273 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12275 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12276 Add menus to the meta mode. (Bug#5043)
12278 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12280 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12283 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12285 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12287 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12288 Berbain <raphael.berbain@gmail.com>.
12290 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12292 (tramp-initial-end-of-output): New defconst.
12293 (tramp-methods, tramp-find-shell)
12294 (tramp-open-connection-setup-interactive-shell)
12295 (tramp-maybe-open-connection): Use it.
12296 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12297 Handle existence of `#' and `$'.
12299 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12300 Use `tramp-initial-end-of-output'.
12302 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12304 Get the background mode from the terminal for xterm, and set
12306 * term/xterm.el (xterm-set-background-mode): New function.
12307 (terminal-init-xterm): Use it in case xterm supports background
12308 color queries. Recompute faces after getting the background
12311 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12313 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12314 number comment back on its own line, for easier parsing.
12316 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12318 Make it work for non-file buffers (bug#5102).
12319 * doc-view.el (doc-view-current-cache-dir):
12320 Use doc-view-buffer-file-name rather than buffer-file-name.
12321 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12323 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12325 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12326 author field is too short.
12328 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12330 * vc-git.el (vc-git-print-log): Handle a limit argument.
12331 Display the short log in graph form and with labels.
12332 (vc-git-log-view-mode): Handle labels.
12334 Make vc-revert change VC state from 'added to 'unregistered.
12335 * vc-git.el (vc-git-revert): Call git reset first.
12337 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12339 * net/newst-backend.el, net/newst-plainview.el:
12340 * net/newst-reader.el, net/newst-ticker.el:
12341 * net/newst-treeview.el, net/newsticker.el:
12342 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12344 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12346 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12348 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12349 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12350 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12351 Update annotation regexp.
12353 * simple.el (beginning-of-visual-line): Constrain to field
12354 boundaries (Bug#5106).
12356 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12358 * xml.el (xml-substitute-numeric-entities):
12359 Move newsticker--decode-numeric-entities in newst-backend.el to
12360 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12361 * net/newst-backend.el (newsticker--parse-generic-feed)
12362 (newsticker--parse-generic-items)
12363 (newsticker--decode-numeric-entities):
12364 Move newsticker--decode-numeric-entities in newst-backend.el to
12365 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12367 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12369 * progmodes/js.el (js--js-not): Add null to the list of values.
12371 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12373 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12375 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12377 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12378 delimiter if it is at the end of the current line.
12379 (bibtex-generate-url-list): Fix docstring.
12381 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12383 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12384 minibuffer's content with itself.
12385 Fold the confirm-after-completion case into the `confirm' case.
12386 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12388 2009-12-06 Kevin Ryde <user42@zip.com.au>
12390 * ffap.el (ffap-rfc-path): Make this a defcustom since
12391 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12393 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12394 manuals, similar to existing setup for help-mode. (Bug#3913.)
12396 2009-12-05 Juri Linkov <juri@jurta.org>
12398 Save and restore dired buffer's point positions too. (Bug#4880)
12400 * dired.el (dired-save-positions): Return in the first element
12401 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12403 (dired-restore-positions): First restore buffer's position.
12404 While restoring window's positions, check if window still displays
12405 the original buffer.
12407 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12409 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12412 * shell.el (shell): Require ansi-color (Bug#5113).
12414 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12416 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12418 2009-12-05 Alan Mackenzie <acm@muc.de>
12420 * progmodes/cc-mode.el (c-before-hack-hook)
12421 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12422 `c-file-style' to work again. This reversion restores the current
12423 software to its state in Emacs 23.1. (Bug#4146)
12425 2009-12-05 Kevin Ryde <user42@zip.com.au>
12427 * textmodes/sgml-mode.el (sgml-lexical-context):
12428 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12430 2009-12-05 Juri Linkov <juri@jurta.org>
12432 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12433 for virtual nodes. (Bug#4147)
12434 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12435 when moving from a virtual node.
12436 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12437 (Info-mode): Add `Info-virtual-index' to the docstring.
12439 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12441 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12442 track of the buffer position of the end of a BibTeX entry as this
12443 position may change during reformatting.
12444 (bibtex-format-entry): Remove whitespace before processing
12445 numerical fields so that we recognize the latter properly.
12446 (bibtex-reformat): Do not use push which changes the global value
12447 of bibtex-entry-format.
12448 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12449 (bibtex-field-re-init): Replace only space characters by regexp
12451 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12452 (bibtex-initialize): Also update bibtex-strings.
12453 (bibtex-kill-field): Preserve white space at end of entry.
12454 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12455 Update bibtex-reference-keys.
12457 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12460 point after a star, if that's the only place where modifications can
12463 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12465 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12468 2009-12-04 Juri Linkov <juri@jurta.org>
12470 * proced.el (proced): Call `(proced-update t)' to update process
12471 information instead of only running proced-post-display-hook.
12472 (proced-send-signal): Add a leading space to the buffer name
12473 " *Marked Processes*" to make this buffer ephemeral.
12475 2009-12-04 Juri Linkov <juri@jurta.org>
12477 * dired.el (dired-auto-revert-buffer): New defcustom.
12478 (dired-internal-noselect): Use it.
12480 2009-12-04 Juri Linkov <juri@jurta.org>
12482 Change roles of modes and functions in image-mode.el (Bug#5062).
12484 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12485 in `auto-mode-alist'.
12486 (image-mode-previous-major-mode): New variable.
12487 (image-minor-mode-map): Rename from `image-mode-text-map'.
12488 (image-mode): Move graceful error-handling code from
12489 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12490 (image-minor-mode): Remove all image-handling code.
12491 Replace `image-mode-text-map' with `image-minor-mode-map'.
12492 Check for `image-type' in mode-line format string.
12493 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12494 (image-mode-as-text): New function with most code from
12495 `image-mode-maybe'.
12496 (image-toggle-display-text): Move code that removes image
12497 properties from `image-toggle-display' to here.
12498 (image-toggle-display-image): New function with code that adds
12499 image properties copied from `image-toggle-display'.
12500 (image-toggle-display): Remove most code with leaving only code
12501 that toggles between `image-mode-as-text' and `image-mode'.
12503 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12505 * net/newst-treeview.el
12506 (newsticker--treeview-list-highlight-start): Restored call to
12507 save-excursion: Selected item was stuck.
12508 (newsticker--treeview-list-select): New.
12509 (newsticker--treeview-item-show-text)
12510 (newsticker--treeview-item-show)
12511 (newsticker--treeview-item-update): Use new
12512 newsticker-treeview-item-mode.
12513 (newsticker-treeview-update): Keep current item.
12514 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12515 (newsticker--treeview-first-feed): Doc change.
12516 (newsticker-treeview-list-menu)
12517 (newsticker-treeview-item-menu): Add menu entries.
12518 (newsticker-treeview-item-mode): New.
12520 * net/newst-backend.el (newsticker-customize): Delete other
12523 2009-12-04 Sam Steingold <sds@gnu.org>
12525 * log-view.el (log-view-mode-map): "q" calls quit-window,
12526 like in all the other non-self-insert buffers.
12528 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12531 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12532 key decoding rather than do it manually via last-input-event +
12534 (term-exec): Use delete-and-extract-region.
12535 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12536 (term-process-pager): Remove unused var `i'.
12537 (term-dynamic-simple-complete): Make obsolete.
12538 (serial-update-config-menu): Remove unused vars `y' and `str'.
12539 (term-update-mode-line): Remove unused var `temp'.
12541 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12543 Limit the number of log entries displayed by default.
12544 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12545 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12546 using a prefix argument.
12548 2009-12-03 Glenn Morris <rgm@gnu.org>
12550 * progmodes/idlwave.el (class): Restore still useful declaration.
12552 2009-12-03 Alan Mackenzie <acm@muc.de>
12554 Enhance `c-parse-state' to run efficiently in "brace deserts".
12556 * progmodes/cc-mode.el (c-basic-common-init):
12557 Call c-state-cache-init.
12558 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12559 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12560 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12562 * progmodes/cc-langs.el (c-before-font-lock-function):
12563 c-extend-and-neutralize-syntax-in-CPP has been renamed
12564 c-neutralize-syntax-in-and-mark-CPP.
12566 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12567 with `category' properties now, not `syntax-table' ones.
12569 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12570 enhanced (but slower) version of c-end-of-macro that won't land
12571 inside a literal or on another awkward character.
12572 (c-state-cache-too-far, c-state-cache-start)
12573 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12574 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12575 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12576 (c-state-min-scan-pos, c-state-brace-pair-desert)
12577 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12578 buffer local variables.
12579 (c-state-literal-at, c-state-lit-beg)
12580 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12581 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12582 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12583 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12584 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12585 (c-renarrow-state-cache)
12586 (c-append-lower-brace-pair-to-state-cache)
12587 (c-state-push-any-brace-pair, c-append-to-state-cache)
12588 (c-remove-stale-state-cache)
12589 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12590 (c-invalidate-state-cache-1, c-parse-state-1)
12591 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12592 (c-parse-state): Enhance and refactor.
12593 (c-debug-parse-state): Amend to deal with all the new variables.
12595 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12596 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12597 modify to use category text properties rather than syntax-table ones.
12598 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12599 to switch off/on the syntactic paren property of C++ template
12600 delimiters using the category property.
12601 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12602 template delims suppressed.
12603 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12604 New constant/macros which apply category properties to the start
12605 and end of preprocessor constructs.
12606 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12607 "comment out" the syntactic value of characters in preprocessor
12609 (c-with-cpps-commented-out)
12610 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12611 with characters in all or all but one preprocessor constructs
12614 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12616 * proced.el (proced-filter-alist): Use regexp-quote.
12618 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12621 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12622 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12623 arguments. Expand `default-directory'.
12625 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12626 the benefit of returning an expanded localname.
12627 (tramp-tramp-file-p): Handle the case NAME is not a string.
12629 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12631 Add support for bzr shelve/unshelve.
12632 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12633 (vc-bzr-extra-menu-map): New variables.
12634 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12635 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12636 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12637 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12638 (vc-bzr-dir-extra-headers): Display shelves.
12640 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12642 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12644 * textmodes/bibtex.el (bibtex-complete-internal):
12645 Use completion-in-region.
12646 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12648 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12650 Support applying stashes. Improve UI.
12651 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12652 (vc-git-stash-apply, vc-git-stash-pop)
12653 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12654 (vc-git-stash-menu): New functions.
12655 (vc-git-stash-menu-map): New variable.
12656 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12658 2009-12-03 Glenn Morris <rgm@gnu.org>
12660 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12661 (vc-print-log-internal): Fix previous change.
12662 (vc-revert): Correct pluralization.
12664 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12666 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12667 it to be an alist any more.
12668 (makefile-complete): Use completion-in-region.
12670 * progmodes/octave-mod.el (octave-complete-symbol):
12671 Use completion-in-region.
12674 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12675 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12676 (idlwave-complete-class): Don't quote lambda.
12677 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12678 (idlwave-mode-map): Move initialization into declaration.
12679 (idlwave-action-and-binding): Use backquotes.
12680 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12682 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12683 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12684 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12685 `parts', and `all-parts'.
12686 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12687 (idlwave-convert-xml-system-routine-info): Remove unused string
12689 (idlwave-display-user-catalog-widget): Use dolist.
12690 (idlwave-scanning-lib): Declare dynamically-scoped var.
12691 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12692 (completion-highlight-first-word-only): Declare to silence bytecomp.
12693 (idlwave-popup-select): Tighten scope of `resp'.
12694 (idlwave-find-struct-tag): Remove unused var `beg'.
12695 (idlwave-after-load-rinfo-hook): Declare.
12696 (idlwave-sintern-class-info): Remove unused var `taglist'.
12697 (idlwave-find-class-definition): Remove unused var `list'.
12698 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12699 (idlwave-what-module-find-class): Remove unused var `classes'.
12701 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12703 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12705 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12708 buffers visited. Remove redundant current-buffer-saving.
12710 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12712 Use completion-in-buffer and remove uses of dynamic scoping.
12713 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12714 (pascal-buffer-to-use, pascal-flag): Don't declare.
12715 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12716 (pascal-get-completion-decl, pascal-keyword-completion):
12717 Add `pascal-str' argument, save-excursion,
12718 return the found completions, and don't filter with pascal-pred.
12719 (pascal-completion-cache): New var.
12720 (pascal-completion): Don't switch buffer any more (it was never
12721 necessary). Don't save-excursion any more (it's done by the called
12722 subroutines). Use a cache to avoid redundant computations.
12723 Use complete-with-action rather than pascal-completion-response and
12724 let it apply the predicate as well.
12725 (pascal-complete-word): Use completion-in-buffer when
12726 pascal-toggle-completions is nil.
12727 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12729 (pascal-comp-defun): Don't change buffer any more.
12730 Use complete-with-action rather than pascal-completion-response and
12731 let it apply the predicate as well.
12732 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12735 2009-12-02 Kenichi Handa <handa@m17n.org>
12737 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12738 shape for all Indic scripts.
12740 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12742 Use completion-in-buffer.
12743 * wid-edit.el (widget-field-text-end): New function.
12744 (widget-field-value-get): Use it.
12745 (widget-string-complete, widget-file-complete)
12746 (widget-color-complete): Use it and completion-in-region.
12747 (widget-complete): Don't narrow the buffer.
12749 2009-12-02 Glenn Morris <rgm@gnu.org>
12751 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12752 (rmail-select-summary): Use rmail-pop-to-buffer.
12753 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12754 rmail-pop-to-buffer, to prevent horizontal splits.
12756 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12757 save-excursion with save-current-buffer.
12758 Widen before searching. (Bug#5093)
12759 (diary-list-sexp-entries): Remove superfluous save-excursion.
12761 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12763 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12766 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12768 * ido.el (ido-file-internal): Handle filenames at point that do
12769 not have a directory part. (Bug#5049)
12771 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12773 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12774 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12776 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12778 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12779 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12782 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12784 * comint.el (comint-insert-input): Ignore clicks to the right of
12785 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12787 * vc.el (vc-print-log-internal): Don't wait for the process to
12788 terminate before setting up the major mode.
12790 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12793 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12796 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12798 2009-12-01 Glenn Morris <rgm@gnu.org>
12800 * window.el (window--display-buffer-2): Fix previous changes.
12802 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12804 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12806 2009-12-01 Glenn Morris <rgm@gnu.org>
12808 * Makefile.in (ELCFILES): Add mpc.elc.
12810 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12812 * mpc.el: New file.
12814 2009-12-01 Glenn Morris <rgm@gnu.org>
12816 * window.el (window-to-use): Define for compiler.
12818 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12819 consistent with others (no final period).
12821 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12822 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12824 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12826 Make vc-print-log buttons work.
12827 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12829 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12831 * savehist.el (savehist-autosave-interval): Allow setting to nil
12832 through customize. (Bug#5056)
12834 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12836 Fix references to jit-lock properties.
12837 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12838 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12839 (perl-font-lock-special-syntactic-constructs):
12840 Quote jit-lock-defer-multiline property.
12842 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12844 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12846 2009-11-30 Juri Linkov <juri@jurta.org>
12848 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12849 value `buffer' of `multi-isearch-next-buffer-current-function'.
12850 Use `(current-buffer)' when `buffer' is nil.
12851 (multi-isearch-next-buffer-from-list): Don't fallback to
12852 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12854 2009-11-30 Juri Linkov <juri@jurta.org>
12856 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12857 of buffers with `get-buffer' to `multi-isearch-buffers'.
12858 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12859 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12860 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12861 FILES with `expand-file-name' converting relative file names
12862 to absolute. Doc fix. (Bug#4727)
12864 2009-11-30 Juri Linkov <juri@jurta.org>
12866 * misearch.el (multi-isearch-read-buffers)
12867 (multi-isearch-read-matching-buffers): New functions.
12868 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12869 Use them in the `interactive' spec. Doc fix.
12870 (multi-isearch-read-files, multi-isearch-read-matching-files):
12872 (multi-isearch-files, multi-isearch-files-regexp):
12873 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12875 2009-11-30 Juri Linkov <juri@jurta.org>
12877 * doc-view.el (doc-view-continuous):
12878 Rename from `doc-view-continuous-mode'.
12879 (doc-view-menu): Move "Toggle display" to the top.
12880 Add submenu "Continuous" with radio buttons "Off"/"On"
12881 and "Save as Default".
12882 (doc-view-scroll-up-or-next-page)
12883 (doc-view-scroll-down-or-previous-page)
12884 (doc-view-next-line-or-next-page)
12885 (doc-view-previous-line-or-previous-page):
12886 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12888 2009-11-30 Juri Linkov <juri@jurta.org>
12890 * comint.el (comint-mode-map): Rebind `M-r' from
12891 `comint-previous-matching-input' to
12892 `comint-history-isearch-backward-regexp'.
12893 Unbind `M-s' to allow global key binding `M-s'.
12894 Add menu items for `comint-history-isearch-backward' and
12895 `comint-history-isearch-backward-regexp'. (Bug#3746)
12897 2009-11-30 Juri Linkov <juri@jurta.org>
12899 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12900 For def=recenter, replace `recenter' with `recenter-top-bottom'
12901 that is called with `this-command' and `last-command' let-bound
12902 to `recenter-top-bottom'. When the last `def' was not `recenter',
12903 set `recenter-last-op' to nil. (Bug#4981)
12905 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12907 Minor cleanup and simplification.
12908 * filecache.el (file-cache-add-directory)
12909 (file-cache-add-directory-recursively)
12910 (file-cache-add-from-file-cache-buffer)
12911 (file-cache-delete-file-regexp, file-cache-delete-directory)
12912 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12913 (file-cache-temp-minibuffer-message): Delete function.
12914 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12916 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12917 Don't signal an error when bumping into EOB in tr, s, or y.
12919 2009-11-29 Juri Linkov <juri@jurta.org>
12921 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12924 * descr-text.el (describe-char-unidata-list): Use lowercase name
12925 for "Unicode name" like in other tags.
12927 2009-11-29 Juri Linkov <juri@jurta.org>
12929 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12930 New compatibility macro.
12931 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12933 2009-11-29 Juri Linkov <juri@jurta.org>
12935 Add defcustom to define the cycling order of `recenter-top-bottom'.
12938 * window.el (recenter-last-op): Doc fix.
12939 (recenter-positions): New defcustom.
12940 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12941 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12943 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12945 Improve integration of Tramp and ange-ftp in eshell.
12947 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12948 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12949 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12951 * eshell/esh-util.el (top): Require also Tramp when compiling.
12952 (eshell-directory-files-and-attributes): Check for FTP remote
12954 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12955 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12956 (eshell-file-attributes): Handle ".". Return `entry'.
12958 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12959 (ange-ftp-directory-files-and-attributes)
12960 (ange-ftp-real-directory-files-and-attributes): New defuns.
12962 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12963 shell with "exec" when possible. This prevents trailing prompts
12964 in `start-file-process'.
12966 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12968 Try and remove assumptions about point-min==1.
12969 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12970 (rng-compute-mode-line-string): Show the validation percentage in
12971 terms of the narrowed text, not the widened text.
12972 (rng-do-some-validation): Don't catch internal errors when debugging.
12973 (rng-first-error): Simplify.
12974 (rng-after-change-function): Remove work around. AFAIK the bug has
12975 been fixed a while ago.
12977 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12978 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12980 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12982 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12983 `cd' doesn't always do it for us (bug#5067).
12985 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12986 on 2009-10-25 as part of some other change (bug#5067).
12988 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12990 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12992 (byte-compile-warnings): Use byte-compile-warning-types.
12993 (byte-compile-save-excursion): Warn about use of set-buffer right
12994 after save-excursion.
12996 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12997 the excursion as well.
12999 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13001 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13002 providing a Tramp related implementation of "su" and "sudo".
13003 (eshell-unix-initialize): Add "su" and "sudo".
13005 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13007 * net/socks.el (socks-send-command): Convert binary request to
13008 unibyte before sending. This fixes mishandling of some port
13009 numbers such as 129.
13011 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * help.el (describe-bindings-internal): Remove `interactive'.
13015 * man.el (Man-completion-table): Trim a terminating "(".
13016 Remove the space between name page a section.
13017 Add the command's description on the `help-echo' property.
13018 Remove `process-connection-type' binding since it's unused by
13020 Provide completion for the "<section> <name>" format as well.
13021 (Man-default-man-entry): Remove spurious var shadowing the argument.
13023 2009-11-26 Kevin Ryde <user42@zip.com.au>
13025 * log-view.el: Add "Keywords: tools", since its other keywords
13026 aren't in finder-known-keywords, and following vc.el.
13028 * sha1.el (sha1-string-external): default-directory "/" in case
13029 otherwise non-existent. process-connection-type pipe for touch of
13030 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13032 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13034 Misc coding convention cleanups.
13035 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13036 hfy-init-kludge-hooks.
13037 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13038 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13039 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13041 (hfy-slant, hfy-weight): Use tables rather than code.
13042 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13043 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13044 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13045 (hfy-face-to-css): Remove `nconc' with single arg.
13046 (hfy-p-to-face-lennart): Use `or'.
13047 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13048 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13049 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13050 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13051 (hfy-force-fontification): Use run-hooks.
13053 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13055 Various minor fixes.
13056 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13057 Javascript belongs in the header, not the body.
13058 (hfy-javascript): Remove.
13059 (hfy-fontify-buffer): Don't insert it any more.
13060 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13061 Fix bug in invis handling when there were no invis props in a chunk.
13063 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13067 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13069 * finder.el (finder-mode-map): Add a menu.
13071 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13073 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13074 "unsigned" structs.
13076 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13077 fork" statement better.
13079 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13081 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13082 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13083 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13084 Reported by Clay Douglass.
13086 (verilog-auto-inst, verilog-auto-star-safe)
13087 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13088 Fix removing "// Interfaces" when saving .* expansions.
13089 Reported by Pierre-David Pfister.
13091 2009-11-26 Glenn Morris <rgm@gnu.org>
13093 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13096 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13098 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13099 Really use previous revision.
13101 2009-11-25 Kevin Ryde <user42@zip.com.au>
13103 * man.el (Man-completion-table): default-directory "/" in case
13104 doesn't otherwise exist. process-environment COLUMNS=999 so as
13105 not to truncate long names. process-connection-type pipe to avoid
13106 any chance of hitting the pseudo-tty TIOCGWINSZ.
13107 (man): completion-ignore-case t for friendliness and since man
13108 itself is case-insensitive on the command line.
13109 Further to Bug#3717.
13111 * arc-mode.el: Add "Keywords: files", so the details in its
13112 commentary can be reached from finder-by-keyword.
13113 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13114 editing mode, but it's comms related and sgml-mode.el has "comm"
13116 * textmodes/bibtex-style.el: Add "Keywords: tex".
13117 * international/isearch-x.el, international/ja-dic-cnv.el:
13118 * international/ja-dic-utl.el, international/kkc.el:
13119 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13121 2009-11-25 Juri Linkov <juri@jurta.org>
13123 * man.el (Man-completion-table): Modify regexp to include
13124 section names to completion strings. (Bug#3717)
13126 2009-11-25 Juri Linkov <juri@jurta.org>
13128 Search recursively in gzipped files. (Bug#4982)
13130 * progmodes/grep.el (grep-highlight-matches): Add new options
13131 `always' and `auto'. Doc fix.
13132 (grep-process-setup): Check `grep-highlight-matches' for
13133 `auto-detect' to determine the need to compute grep defaults.
13134 Move Windows/DOS specific --colors settings handling
13135 to `grep-compute-defaults'. Check `grep-highlight-matches'
13136 to get the value of "--color=".
13137 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13138 has the value `auto-detect'. Move Windows/DOS specific settings
13139 from `grep-process-setup'.
13140 (zrgrep): New command with alias `rzgrep'.
13142 2009-11-25 Juri Linkov <juri@jurta.org>
13144 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13145 to nil instead of switching off view-mode. (Bug#4896)
13147 2009-11-25 Juri Linkov <juri@jurta.org>
13149 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13151 * mwheel.el (mwheel-scroll-up-function)
13152 (mwheel-scroll-down-function): New defvars.
13153 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13154 `scroll-up', and `mwheel-scroll-down-function' instead of
13157 * doc-view.el (doc-view-scroll-up-or-next-page)
13158 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13159 Use this ARG in the call to image-scroll-up/image-scroll-down.
13160 Change `interactive' spec to "P". Goto next/previous page only
13161 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13162 SPC/DEL case). Doc fix.
13163 (doc-view-next-line-or-next-page)
13164 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13166 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13167 `doc-view-scroll-up-or-next-page', and buffer-local
13168 `mwheel-scroll-down-function' to
13169 `doc-view-scroll-down-or-previous-page'.
13171 2009-11-25 Juri Linkov <juri@jurta.org>
13173 Provide additional default values (directories at other Dired
13174 windows) via M-n in the minibuffer of some Dired commands.
13176 * dired-aux.el (dired-diff, dired-compare-directories)
13177 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13178 `minibuffer-default' in `minibuffer-with-setup-hook'.
13179 (dired-dwim-target-directory): Find a window that displays Dired
13180 buffer instead of failing when the next window is not Dired.
13181 Use `get-window-with-predicate' to find for the next Dired window.
13182 (dired-dwim-target-defaults): New function.
13184 * ediff-util.el (ediff-read-file-name):
13185 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13186 in `minibuffer-with-setup-hook'.
13188 2009-11-25 Juri Linkov <juri@jurta.org>
13190 Provide additional default values (file name at point or at the
13191 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13193 * minibuffer.el (read-file-name-defaults): New function.
13194 (read-file-name): Reset `minibuffer-default' to nil when
13195 it duplicates initial input `insdef'.
13196 Bind `minibuffer-default-add-function' to lambda that
13197 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13198 (minibuffer-insert-file-name-at-point): New command.
13200 * files.el (file-name-at-point-functions): New defcustom.
13201 (find-file-default): Remove defvar.
13202 (find-file-read-args): Don't use `find-file-default'.
13203 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13204 to `read-file-name'.
13205 (find-file-literally): Use `read-file-name' with
13206 `confirm-nonexistent-file-or-buffer'.
13208 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13210 * dired.el (dired-read-dir-and-switches):
13211 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13212 to `read-file-name'.
13213 (dired-file-name-at-point): New function.
13214 (dired-mode): Add hook `dired-file-name-at-point' to
13215 `file-name-at-point-functions'.
13217 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13219 Really make the *Completions* window soft-dedicated (bug#5030).
13220 * window.el (window--display-buffer-2): Add `dedicated' argument.
13221 (display-buffer): Pass it when needed so the dedicated flag is set
13222 after calling set-window-buffer, which would otherwise reset it.
13224 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * progmodes/meta-mode.el (meta-complete-symbol):
13227 * progmodes/etags.el (complete-tag):
13228 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13229 Use completion-in-region.
13231 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13232 (dabbrev-completion): Use completion-in-region.
13233 (dabbrev--abbrev-at-point): Simplify regexp.
13235 * abbrev.el (abbrev--before-point): Use word-motion functions
13236 if :regexp is not specified (bug#5031).
13238 * subr.el (string-prefix-p): New function.
13240 * man.el (Man-completion-cache): New var.
13241 (Man-completion-table): Use it.
13243 * vc.el (vc-print-log-internal): Make `limit' optional for better
13244 compatibility (e.g. with vc-annotate.el).
13246 2009-11-24 Kevin Ryde <user42@zip.com.au>
13248 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13249 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13251 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13252 when .el source file not found or other error.
13254 2009-11-24 Markus Triska <markus.triska@gmx.at>
13256 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13258 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13260 Handle the [back] button properly (bug#4979).
13261 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13262 Use help-setup-xref, help-buffer, and with-help-window.
13263 (describe-char): Add `buffer' argument.
13264 Pass proper command to help-setup-xref. Don't meddle with
13265 help-xref-stack-item directly.
13266 (describe-text-category): Use with-help-window and help-buffer.
13268 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13269 for the displayed buffer (bug#4887).
13271 * man.el (Man-completion-table): New function.
13274 2009-11-24 David Reitter <david.reitter@gmail.com>
13276 * vc-git.el (vc-git-registered): Use checkout directory (where
13277 .git is) rather than the file's directory and a relative path spec
13278 to work around a bug in git.
13280 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13282 Improve handling of processes on remote hosts.
13284 * eshell/esh-util.el (eshell-path-env): New defvar.
13285 (eshell-parse-colon-path): New defun.
13286 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13288 * eshell/esh-ext.el (eshell-search-path):
13289 Use `eshell-parse-colon-path'.
13290 (eshell-remote-command): Remove argument HANDLER.
13291 (eshell-external-command): Check for FTP remote connection.
13293 * eshell/esh-proc.el (eshell-gather-process-output):
13294 Use `file-truename', in order to start also symlinked files.
13295 Apply `start-file-process' instead of `start-process'.
13296 Shorten `command' to the local file name part.
13298 * eshell/em-cmpl.el (eshell-complete-commands-list):
13299 Use `eshell-parse-colon-path'.
13301 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13303 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13304 to `eshell-directory-change-hook'.
13306 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13308 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13309 because it could be enabled automatically if view-read-only is non-nil.
13311 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13313 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13314 made on 2009-11-22.
13316 2009-11-24 Glenn Morris <rgm@gnu.org>
13318 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13319 deleted variable bookmark-bmenu-bookmark-column.
13321 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13323 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13325 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13327 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13328 two slashes to the "file:" prefix.
13329 (browse-url-file-url): De-munge Cygwin filenames before passing
13330 them to Windows browser.
13331 (browse-url-default-windows-browser): Use call-process.
13333 2009-11-23 Juri Linkov <juri@jurta.org>
13335 Implement DocView Continuous mode. (Bug#4896)
13336 * doc-view.el (doc-view-continuous-mode): New defcustom.
13337 (doc-view-mode-map): Bind C-n/<down> to
13338 `doc-view-next-line-or-next-page', C-p/<up> to
13339 `doc-view-previous-line-or-previous-page'.
13340 (doc-view-next-line-or-next-page)
13341 (doc-view-previous-line-or-previous-page): New commands.
13343 2009-11-23 Juri Linkov <juri@jurta.org>
13345 Implement Isearch in comint input history. (Bug#3746)
13346 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13347 `isearch-mode-hook'.
13348 (comint-history-isearch): New defcustom.
13349 (comint-history-isearch-backward)
13350 (comint-history-isearch-backward-regexp): New commands.
13351 (comint-history-isearch-message-overlay): New buffer-local variable.
13352 (comint-history-isearch-setup, comint-history-isearch-end)
13353 (comint-goto-input, comint-history-isearch-search)
13354 (comint-history-isearch-message, comint-history-isearch-wrap)
13355 (comint-history-isearch-push-state)
13356 (comint-history-isearch-pop-state): New functions.
13358 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13360 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13362 (tramp-handle-make-symbolic-link)
13363 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13365 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13366 (tramp-handle-process-file): Use it.
13368 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * window.el (move-to-window-line-last-op): Remove.
13371 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13373 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13375 Make M-r mirror the new cycling behavior of C-l.
13376 * window.el (move-to-window-line-last-op): New var.
13377 (move-to-window-line-top-bottom): New command.
13378 (global-map): Bind M-r move-to-window-line-top-bottom.
13380 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13382 * dired-x.el (dired-guess-shell-alist-default):
13383 Support xz format. (Bug#4953)
13385 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13387 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13388 last-command-char/last-command-event.
13389 (viper-prefix-arg-value): Do correct conversion of event-char for
13392 * emulation/viper-util.el, emulation/viper.el:
13393 Use viper-last-command-char instead of
13394 last-command-char/last-command-event.
13396 * ediff-init.el, ediff-mult.el, ediff-util.el:
13397 Replace last-command-char and last-command-event
13398 with (ediff-last-command-char) everywhere.
13400 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13401 created in fundamental mode.
13403 * ediff.el (ediff-version): Revert the change of interactive-p to
13404 called-interactively-p.
13406 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13408 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13409 generation from word-movement command names.
13411 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13413 * cus-start.el (all): Add native condition for font-use-system-font.
13415 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13417 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13418 Correct the patch from 2009-11-18. (Bug#3910)
13420 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13422 * progmodes/subword.el: Rename from lisp/subword.el.
13424 * subword.el: Rename to progmodes/subword.el.
13426 * Makefile.in (ELCFILES): Adapt to subword.el move.
13428 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13429 Stefan Monnier <monnier@iro.umontreal.ca>
13431 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13432 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13433 (bookmark-bmenu-show-filenames): Use push.
13434 (bookmark-bmenu-hide-filenames): Use local var instead of
13435 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13436 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13437 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13438 filenames now that the bookmark names are always available.
13440 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13442 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13443 (bookmark-search-pattern): Move and leave unbound.
13444 (bookmark-bmenu-mode-map): Change binding.
13445 (bookmark-read-search-input): Simplify.
13446 Don't use text-char-description. Don't error on non-char events.
13447 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13448 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13449 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13450 Use a local var for the timer.
13451 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13452 (i.e. bookmark-bmenu-search).
13454 2009-11-21 Glenn Morris <rgm@gnu.org>
13456 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13458 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13460 * net/browse-url.el (browse-url-default-windows-browser):
13461 Use cygstart for cygwin.
13463 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13465 * bookmark.el: Formatting and doc fixes only:
13466 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13467 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13468 Minor grammar and punctuation fixes in doc string.
13469 (bookmark-read-search-input): Adjust to fit within 80 columns.
13471 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13473 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13474 (c-backward-into-nomenclature): Adapt to subword renaming.
13476 * subword.el (subword-forward, subword-backward, subword-mark)
13477 (subword-kill, subword-backward-kill, subword-transpose)
13478 (subword-downcase, subword-upcase, subword-capitalize)
13479 (subword-forward-internal, subword-backward-internal):
13480 Rename from forward-subword, backward-subword, mark-subword,
13481 kill-subword, backward-kill-subword, transpose-subwords,
13482 downcase-subword, upcase-subword, capitalize-subword,
13483 forward-subword-internal, backward-subword-internal.
13485 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13487 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13489 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13491 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13492 (bookmark-bmenu-filter-alist-by-regexp)
13493 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13494 (bookmark-bmenu-search): New command.
13495 (bookmark-bmenu-mode-map): Bind it.
13497 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13499 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13500 backward-subword to quit the byte-compiler.
13502 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13504 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13506 * progmodes/cc-cmds.el (c-update-modeline)
13507 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13508 Refer to subword.el functions instead of cc-subword.el.
13510 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13511 subword.el functions instead of cc-subword.el.
13513 * progmodes/cc-subword.el: Rename to subword.el.
13514 * subword.el: Rename from progmodes/cc-subword.el.
13515 (subword-mode-map): Rename from c-subword-mode-map.
13516 (subword-mode): Rename from c-subword-mode.
13517 (global-subword-mode): New global minor mode.
13518 (forward-subword): Rename from c-forward-subword.
13519 (backward-subword): Rename from c-backward-subword.
13520 (mark-subword): Rename from c-mark-subword.
13521 (kill-subword): Rename from c-kill-subword.
13522 (backward-kill-subword): Rename from c-backward-kill-subword.
13523 (transpose-subwords): Rename from c-tranpose-subword.
13524 (downcase-subword): Rename from c-downcase-subword.
13525 (capitalize-subword): Rename from c-capitalize-subword.
13526 (forward-subword-internal): Rename from c-forward-subword-internal.
13527 (backward-subword-internal): Rename from c-backward-subword-internal.
13529 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13531 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13532 from a dired buffer.
13533 (vc-dired-deduce-fileset): New function.
13534 (vc-root-diff, vc-print-root-log): Use it.
13536 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13537 nil LIMIT argument to vc-print-log-internal.
13539 2009-11-20 Glenn Morris <rgm@gnu.org>
13541 * Makefile.in (ELCFILES): Regenerate.
13543 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13545 * calc/calc.el (calc-set-mode-line):
13546 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13547 (math-format-number): Rename `math-format-complement-signed' to
13548 `math-format-twos-complement'.
13550 * calc/calc-bin.el (math-format-twos-complement): Rename from
13551 math-format-complement-signed.
13552 (calc-radix): Rename `calc-complement-signed-mode' to
13553 `calc-twos-complement-mode'.
13554 (calc-octal-radix, calc-hex-radix): Add an argument for
13557 * calc/calc-embed.el (calc-embedded-mode-vars):
13558 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13560 * calc/calc-ext.el (calc-init-extensions):
13561 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13562 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13564 * calc/calc-units.el (math-build-units-table-buffer):
13565 Let `calc-twos-complement-mode' be nil.
13567 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13570 * calc/calc-vec.el (calcFunc-vunpack):
13571 * calc/calc-aent.el (calc-do-calc-eval):
13572 * calc/calc-forms.el (math-format-date):
13573 * calc/calc-graph.el (calc-graph-plot):
13574 * calc/calc-math.el (math-use-emacs-fn):
13575 * calc/calccomp.el (math-compose-expr):
13576 Let `calc-twos-complement-mode' be nil.
13578 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13580 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13581 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13582 * minibuffer.el (completion-in-region-functions): New hook.
13583 (completion-in-region): New function.
13584 * emacs-lisp/lisp.el (lisp-complete-symbol):
13585 * pcomplete.el (pcomplete-std-complete): Use it.
13587 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13590 (latex-complete-alist): New vars.
13591 (latex-string-prefix-p, latex-complete-bibtex-keys)
13592 (latex-complete-envnames, latex-complete-refkeys)
13593 (latex-complete-data): New functions.
13594 (latex-complete, latex-indent-or-complete): New commands.
13596 * window.el (display-buffer-mark-dedicated): New var.
13597 (display-buffer): Obey it.
13598 * minibuffer.el (minibuffer-completion-help): Use it.
13600 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13602 * filecache.el (file-cache-add-file): Use push and cons.
13603 (file-cache-delete-file-regexp): Use push.
13604 (file-cache-complete): Use completion-in-region.
13606 * simple.el (with-wrapper-hook): Fix thinko.
13608 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13609 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13610 Use with-current-buffer and string-to-number.
13611 (hfy-fallback-colour-values): Use assoc-string.
13612 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13613 (hfy-face-at): Remove unused var `found-face'.
13614 (hfy-compile-stylesheet): Remove unused var `css'.
13615 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13617 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13618 Use with-current-buffer.
13619 (hfy-text-p): Use expand-file-name and fewer setq.
13621 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13623 * htmlfontify.el, hfy-cmap.el: New files.
13625 2009-11-19 Juri Linkov <juri@jurta.org>
13627 * minibuffer.el (completions-format): New defcustom.
13628 (completion--insert-strings): Implement vertical format.
13630 * simple.el (switch-to-completions): Move point to the first
13631 completion when point was at the beginning of the buffer.
13633 2009-11-19 Juri Linkov <juri@jurta.org>
13635 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13637 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13639 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13641 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13642 (mail-signature): Change default to t.
13643 (mail-from-style): Deprecate `system-default' value.
13644 (mail-insert-from-field): For default value of mail-from-style,
13645 default to `angles' unless `angles' needs quoting and `parens'
13647 (mail-citation-prefix-regexp): Use citation regexp from
13650 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13652 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13653 Set variables for computing the prompt for reading password.
13655 2009-11-19 Glenn Morris <rgm@gnu.org>
13657 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13659 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13661 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13662 (newsticker-treeview-listwindow-height): Fix custom type.
13664 2009-11-19 Kenichi Handa <handa@m17n.org>
13666 * descr-text.el (describe-char-padded-string): Compose with TAB
13667 only if there's a font for CH.
13668 (describe-char): Fix the condition for detecting a trivial composition.
13670 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13672 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13673 more accurate version of the regexp. (Bug#3910)
13675 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13677 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13679 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13681 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13682 (font-setting-change-default-font): Fix typo in docstring.
13684 2009-11-18 Alan Mackenzie <acm@muc.de>
13686 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13688 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13690 * font-setting.el (font-use-system-font): Move ...
13692 * cus-start.el (all): ... to here.
13694 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13696 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13697 Don't set `ad-return-value' if `ad-do-it' doesn't.
13699 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13702 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13704 * menu-bar.el: Put "Use system font" in Option-menu.
13705 (menu-bar-options-save): Add font-use-system-font.
13707 * loadup.el: If feature system-font-setting or font-render-setting is
13708 there, load font-setting.
13710 * Makefile.in (ELCFILES): Add font-settings.el.
13711 * font-setting.el: New file.
13713 2009-11-17 Glenn Morris <rgm@gnu.org>
13715 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13717 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13718 Preserve point in the list buffer. (Bug#4939)
13720 (newsticker--treeview-list-update-highlight)
13721 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13723 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13725 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13728 * calc/calc-ext.el (calc-init-extensions): Remove references to
13731 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13733 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13734 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13737 2009-11-16 Kevin Ryde <user42@zip.com.au>
13739 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13740 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13742 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13743 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13744 Ignore trailing spaces by omit-nulls to split-string (fixing
13745 regression from Emacs 21 due to the incompatible split-string
13746 change). (Bug #4928.)
13748 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13750 * vc.el (vc-log-show-limit): Default to 2000.
13751 (vc-print-log-internal): Insert buttons to request more entries
13752 when limiting the output.
13754 * vc-sccs.el (vc-sccs-print-log):
13755 * vc-rcs.el (vc-rcs-print-log):
13756 * vc-cvs.el (vc-cvs-print-log):
13757 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13760 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13762 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13763 error when `tramp-gvfs-dbus-event-vector' is set.
13764 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13766 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13770 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13772 * net/dbus.el (dbus-unregister-service): New defun.
13773 (dbus-register-property): Register the handlers of
13774 "org.freedesktop.DBus.Properties" for SERVICE.
13775 (dbus-property-handler): Fix docstring.
13777 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13779 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13780 Quote doc string reference in defvaralias as it is not in special form.
13781 (byte-compile-output-docform): Doc fix.
13783 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13785 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13786 (calc-complement-signed-mode): New variables.
13787 (calc-set-mode-line): Add indicator for twos-complements.
13788 (math-format-number): Format twos-complement notation.
13790 * calc/calc-bin.el (calc-word-size): Reset the variables
13791 `math-2-word-size' and `math-half-2-word-size'.
13792 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13793 (calc-symclip): New functions.
13795 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13797 * calc/calc-embed.el (calc-embedded-mode-vars):
13798 Add `calc-complement-signed-mode' to the list of modes.
13800 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13801 (calc-b-oper-keys): Add `calc-symclip' to list.
13803 * calc/calc-ext.el (math-read-number-fancy): Read complement
13805 (calc-init-extensions): Add binding for `calc-symclip'.
13806 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13808 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13810 (calc-modes-menu): Add item for twos complement mode.
13812 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13814 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13816 * register.el (jump-to-register, insert-register): Handle Semantic
13817 tags. From commented-out advice in semantic/senator.el.
13819 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13821 * vc.el (vc-log-show-limit): New variable.
13822 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13823 when using a prefix argument.
13824 (vc-print-log-internal): Add new argument LIMIT.
13826 * vc-svn.el (vc-svn-print-log):
13827 * vc-mtn.el (vc-mtn-print-log):
13828 * vc-hg.el (vc-hg-print-log):
13829 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13830 pass it to the log command when set. Make the BUFFER argument
13833 * vc-sccs.el (vc-sccs-print-log):
13834 * vc-rcs.el (vc-rcs-print-log):
13835 * vc-git.el (vc-git-print-log):
13836 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13837 ignore it. Make the BUFFER argument non-optional
13839 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13841 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13843 * dired.el (dired-mode-map): Move encryption items to "Operate"
13846 * strokes.el (strokes-update-window-configuration): Make strokes
13847 buffer current before erasing (Bug#4906).
13849 2009-11-15 Juri Linkov <juri@jurta.org>
13851 * simple.el (set-mark-default-inactive): Add :type, :group
13852 and :version. (Bug#4876)
13854 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13856 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13857 (archive-unique-fname): ... here. (Bug#4929)
13859 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13861 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13864 * novice.el (disabled-command-function): Add useful args.
13865 Setup the help buffer so that [back] works.
13866 Remove redundant call to help-mode.
13867 (disabled-command-function): Use `case'.
13868 (en/disable-command): New function extracted from enable-command.
13869 (enable-command, disable-command): Use it.
13871 2009-11-14 Glenn Morris <rgm@gnu.org>
13873 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13874 constants. (Bug#4913)
13876 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13878 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13880 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13881 defined in C that have no doc-strings. (Bug#1063)
13883 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13885 * cus-edit.el (data, files):
13886 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13888 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13890 * simple.el (shell-command): Doc fix (Bug#4891).
13892 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13894 2009-11-14 Glenn Morris <rgm@gnu.org>
13896 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13897 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13898 If they are already loaded, eval-after-load will do the right thing.
13900 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13903 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13905 * simple.el (x-selection-owner-p): Declare.
13906 (read-mail-command): Use custom radio type rather than choice.
13907 (completion-no-auto-exit): Doc fix.
13909 * custom.el (defgroup):
13910 * epg-config.el (epg): Doc fixes.
13912 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13914 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13915 * international/ccl.el (define-ccl-program): Do not purecopy the
13916 docstring, defconst does it anyway.
13918 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13920 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13923 * x-dnd.el (x-dnd-maybe-call-test-function):
13924 * window.el (split-window-vertically):
13925 * whitespace.el (whitespace-help-on):
13926 * vc-rcs.el (vc-rcs-consult-headers):
13927 * userlock.el (ask-user-about-lock-help)
13928 (ask-user-about-supersession-help):
13929 * type-break.el (type-break-force-mode-line-update):
13930 * time-stamp.el (time-stamp-conv-warn):
13931 * terminal.el (te-set-output-log, te-more-break, te-filter)
13932 (te-sentinel, terminal-emulator):
13933 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13934 (term-write-input-ring, term-check-source, term-start-output-log):
13935 (term-display-buffer-line, term-dynamic-list-completions):
13936 (term-ansi-make-term, serial-term):
13937 * subr.el (selective-display):
13938 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13939 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13940 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13941 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13942 (speedbar-remove-localized-speedbar-support)
13943 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13944 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13945 (speedbar-buffers-line-directory):
13946 * simple.el (shell-command-on-region, append-to-buffer)
13947 (prepend-to-buffer):
13948 * shadowfile.el (shadow-save-todo-file):
13949 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13950 (scroll-bar-maybe-set-window-start):
13951 * sb-image.el (speedbar-image-dump):
13952 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13953 (load-save-place-alist-from-file):
13954 * ps-samp.el (ps-print-message-from-summary):
13955 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13956 (ps-background-image, ps-begin-job, ps-do-despool):
13957 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13958 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13959 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13960 (pr-call-process, pr-file-list, pr-interface-save):
13961 * novice.el (disabled-command-function)
13962 (enable-command, disable-command):
13963 * mouse.el (mouse-buffer-menu-alist):
13964 * mouse-copy.el (mouse-kill-preserving-secondary):
13965 * macros.el (kbd-macro-query):
13966 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13967 * informat.el (batch-info-validate):
13968 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13969 * hippie-exp.el (try-expand-dabbrev-visible):
13970 * help-mode.el (help-make-xrefs):
13971 * help-fns.el (describe-variable):
13972 * generic-x.el (bat-generic-mode-run-as-comint):
13973 * finder.el (finder-mouse-select):
13974 * find-dired.el (find-dired-sentinel):
13975 * filesets.el (filesets-file-close):
13976 * files.el (list-directory):
13977 * faces.el (list-faces-display, describe-face):
13978 * facemenu.el (list-colors-display):
13979 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13980 * epg.el (epg--process-filter, epg-cancel):
13981 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13982 (epa--read-signature-type):
13983 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13984 (emerge-file-names):
13985 * ehelp.el (electric-helpify):
13986 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13987 * ediff-vers.el (rcs-ediff-view-revision):
13988 * ediff-util.el (ediff-setup):
13989 * ediff-mult.el (ediff-append-custom-diff):
13990 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13992 * echistory.el (Electric-command-history-redo-expression):
13993 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13994 * disp-table.el (describe-display-table):
13995 * dired.el (dired-find-buffer-nocreate):
13996 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13997 * dabbrev.el (dabbrev--same-major-mode-p):
13998 * chistory.el (list-command-history):
13999 * apropos.el (apropos-documentation):
14000 * allout.el (allout-obtain-passphrase):
14001 (allout-copy-exposed-to-buffer):
14002 (allout-verify-passphrase): Use with-current-buffer.
14004 2009-11-13 Glenn Morris <rgm@gnu.org>
14006 * Makefile.in (ELCFILES): Regenerate.
14008 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14010 * net/dbus.el (dbus-registered-objects-table): Rename from
14011 `dbus-registered-functions-table', because it contains also properties.
14012 (dbus-unregister-object): Unregister also properties.
14013 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14014 Use a timeout of 500 msec, in order to not block.
14015 (dbus-register-property, dbus-property-handler): New defuns.
14017 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14019 * simple.el (minibuffer-default-add-completions): Drop deprecated
14022 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14024 * textmodes/artist.el (artist-mouse-choose-operation):
14025 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14026 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14027 (artist-compute-up-event-key): New function.
14028 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14030 2009-11-13 Kenichi Handa <handa@m17n.org>
14032 * language/japan-util.el: Make sure that the value of jisx0208
14033 property is jisx0208 character.
14035 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14037 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14038 car or each item, not the whole list.
14040 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14042 * minibuffer.el (minibuffer-completion-help):
14043 Use minibuffer-hide-completions.
14045 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14047 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14048 (dired-revert): Use them (bug#4880).
14050 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14052 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14054 2009-11-12 Juri Linkov <juri@jurta.org>
14056 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14058 (find-file-literally-at-point): Alias of `ffap-literally'.
14060 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14062 * textmodes/ispell.el (ispell-skip-region-alist):
14063 * textmodes/css-mode.el (auto-mode-alist):
14064 * progmodes/compile.el (auto-mode-alist):
14065 * international/mule.el (ctext-non-standard-encodings-alist)
14066 (ctext-non-standard-encodings-regexp):
14067 * simple.el (shell-command-switch, text-read-only):
14068 * replace.el (occur-mode-map):
14069 * paths.el (rmail-file-name):
14070 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14071 * find-file.el (ff-special-constructs):
14072 * files.el (file-name-handler-alist):
14073 * composite.el: Purecopy strings.
14075 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14077 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14079 * widget.el (define-widget): Purecopy the docstring.
14080 * international/mule-cmds.el (charset): Do not purecopy the
14081 docstring here, define-widget does it.
14083 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14084 * textmodes/bibtex-style.el (auto-mode-alist):
14085 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14086 * progmodes/compile.el (compile-command):
14087 * language/korea-util.el (default-korean-keyboard):
14088 * international/mule-conf.el (file-coding-system-alist):
14089 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14090 * tooltip.el (tooltip-frame-parameters):
14091 * newcomment.el (comment-end, comment-padding):
14092 * dired.el (dired-trivial-filenames):
14093 * comint.el (comint-file-name-prefix): Purecopy initial values.
14095 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14097 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14098 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14100 (tramp-advice-make-auto-save-file-name)
14101 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14102 after removing the advice.
14104 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14106 * progmodes/grep.el (grep-regexp-alist):
14107 * international/mule-cmds.el (iso-2022-control-alist):
14108 * emacs-lisp/timer.el (timer-duration-words):
14109 * subr.el (version-separator, version-regexp-alist):
14110 * minibuffer.el (completion-styles-alist):
14111 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14112 Change defvars to defconsts.
14114 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14115 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14116 * international/mule-conf.el: Allow to be byte compiled.
14118 * international/mule.el (define-charset): Purecopy props.
14119 (load-with-code-conversion): Purecopy doc string and file name.
14120 (put-charset-property): Purecopy strings.
14121 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14123 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14124 (define-char-code-property): Correctly purecopy the table.
14126 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14128 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14130 * subr.el (add-hook): Purecopy strings.
14131 (eval-after-load): Purecopy load-history-regexp and the form.
14133 * custom.el (custom-declare-group): Purecopy load-file-name.
14135 * subr.el (menu-bar-separator): New defconst.
14136 * net/eudc.el (eudc-tools-menu):
14137 * international/mule-cmds.el (set-coding-system-map)
14138 (mule-menu-keymap):
14139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14140 * vc-hooks.el (vc-menu-map):
14141 * replace.el (occur-mode-map):
14142 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14143 (menu-bar-edit-menu, menu-bar-goto-menu)
14144 (menu-bar-custom-menu, menu-bar-showhide-menu)
14145 (menu-bar-options-menu, menu-bar-tools-menu)
14146 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14147 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14148 (menu-bar-help-menu):
14149 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14150 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14152 * term/x-win.el (x-gtk-stock-map):
14153 * progmodes/vera-mode.el (auto-mode-alist):
14154 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14155 (inferior-lisp-program, inferior-lisp-load-command):
14156 * progmodes/hideshow.el (hs-special-modes-alist):
14157 * progmodes/gud.el (same-window-regexps):
14158 * progmodes/grep.el (grep-program, find-program, xargs-program):
14159 * net/telnet.el (same-window-regexps):
14160 * net/rlogin.el (same-window-regexps):
14161 * language/ethiopic.el (font-ccl-encoder-alist):
14162 * vc-sccs.el (vc-sccs-master-templates):
14163 * vc-rcs.el (vc-rcs-master-templates):
14164 * subr.el (cl-assertion-failed):
14165 * simple.el (next-error-overlay-arrow-position):
14166 * lpr.el (lpr-command):
14167 * locate.el (locate-ls-subdir-switches):
14168 * info.el (same-window-regexps, info)
14169 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14170 * image-mode.el (image-mode, auto-mode-alist):
14171 * hippie-exp.el (hippie-expand-ignore-buffers):
14172 * format.el (format-alist):
14173 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14175 * facemenu.el (facemenu-keybindings):
14176 * dired.el (dired-listing-switches, dired-chown-program):
14177 * diff.el (diff-switches, diff-command):
14178 * cus-edit.el (same-window-regexps):
14179 * bindings.el (mode-line-mule-info)
14180 (mode-line-buffer-identification): Purecopy strings.
14182 2009-11-11 Juri Linkov <juri@jurta.org>
14184 * simple.el (dired-get-filename) <declare-function>:
14185 Tell the byte-compiler about dired-get-filename.
14186 (shell-command): In Dired mode, get filename from the current line
14187 as the default value.
14189 2009-11-10 Glenn Morris <rgm@gnu.org>
14191 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14192 * calendar/holidays.el, progmodes/cperl-mode.el:
14193 Update x-popup-menu declarations.
14195 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14196 (list-load-path-shadows): Use dolist.
14197 (list-load-path-shadows): Use with-current-buffer.
14199 2009-11-10 Juri Linkov <juri@jurta.org>
14201 * minibuffer.el (read-file-name): Support a list of default values
14202 in `default-filename'. Use the first file name where only one
14203 element is required. Doc fix.
14205 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14207 * net/dbus.el (dbus-unregister-object): Release service, if no
14208 other method is registered for it.
14210 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14212 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14213 bookmark-sort-flag is non-nil (Bug#4653).
14215 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14217 * emulation/cua-base.el: Add CUA property to some CC mode commands
14220 2009-11-08 Kevin Ryde <user42@zip.com.au>
14222 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14223 at end of sentence (Bug#4818).
14225 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14228 Handle "see declaration of" MSFT statements (Bug#4100).
14230 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14232 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14233 (tramp-advice-file-expand-wildcards): Unload via
14234 `ad-remove-advice'.
14236 * net/trampver.el: Update release number.
14238 2009-11-08 Kevin Ryde <user42@zip.com.au>
14240 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14243 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14245 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14246 in order to keep context in SELinux.
14248 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14250 * dired-aux.el (dired-query): Place cursor in echo area and allow
14253 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14254 menu item if not on a directory (Bug#4701).
14256 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14258 Sync with Tramp 2.1.17.
14260 * net/tramp.el (tramp-handle-copy-directory): Don't use
14261 `file-remote-p' (due to compatibility).
14263 * net/tramp-compat.el (tramp-compat-copy-directory)
14264 (tramp-compat-delete-directory): New defuns.
14266 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14267 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14268 Use `tramp-compat-delete-directory'.
14270 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14271 (tramp-smb-handle-delete-directory):
14272 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14274 * net/trampver.el: Update release number.
14276 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14278 * tar-mode.el (tar-copy): Call write-region on the right buffer
14281 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14282 by hand, if necessary (Bug#4878).
14284 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14286 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14287 align size column (Bug#4839).
14289 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14292 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14294 * progmodes/ld-script.el (auto-mode-alist):
14295 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14297 * cus-face.el (custom-declare-face): Purecopy face spec.
14299 2009-11-06 Kenichi Handa <handa@m17n.org>
14301 * international/uni-bidi.el: Re-generated.
14302 * international/uni-category.el: Re-generated.
14303 * international/uni-combining.el: Re-generated.
14304 * international/uni-mirrored.el: Re-generated.
14306 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14308 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14309 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14310 (tex-start-options, slitex-run-command, latex-run-command)
14311 (tex-run-command, tex-directory):
14312 * textmodes/ispell.el (ispell-html-skip-alists)
14313 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14314 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14315 (adaptive-fill-regexp):
14316 * textmodes/dns-mode.el (auto-mode-alist):
14317 * progmodes/python.el (interpreter-mode-alist):
14318 * progmodes/etags.el (tags-compression-info-list):
14319 * progmodes/etags.el (tags-file-name):
14320 * net/browse-url.el (browse-url-galeon-program)
14321 (browse-url-firefox-program):
14322 * mail/sendmail.el (mail-signature-file)
14323 (mail-citation-prefix-regexp):
14324 * international/mule-conf.el (eight-bit):
14325 * international/latexenc.el (latex-inputenc-coding-alist):
14326 * international/fontset.el (x-pixel-size-width-font-regexp):
14327 * emacs-lisp/warnings.el (warning-type-format):
14328 * emacs-lisp/trace.el (trace-buffer):
14329 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14330 (emacs-lisp-mode-map):
14331 * calendar/holidays.el (holiday-solar-holidays)
14332 (holiday-bahai-holidays, holiday-islamic-holidays)
14333 (holiday-christian-holidays, holiday-hebrew-holidays)
14334 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14335 (hebrew-holidays-1, holiday-oriental-holidays)
14336 (holiday-general-holidays):
14337 * x-dnd.el (x-dnd-known-types):
14338 * tool-bar.el (tool-bar):
14339 * startup.el (site-run-file):
14340 * shell.el (shell-dumb-shell-regexp):
14341 * rfn-eshadow.el (file-name-shadow-tty-properties)
14342 (file-name-shadow-properties):
14343 * paths.el (remote-shell-program, news-directory):
14344 * mouse.el ([C-down-mouse-3]):
14345 * menu-bar.el (menu-bar-tools-menu):
14346 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14347 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14348 (jka-compr-compression-info-list):
14349 * isearch.el (search-whitespace-regexp):
14350 * image-file.el (image-file-name-extensions):
14351 * find-dired.el (find-ls-option):
14352 * files.el (directory-listing-before-filename-regexp)
14353 (directory-free-space-args, insert-directory-program)
14354 (list-directory-brief-switches, magic-fallback-mode-alist)
14355 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14356 (automount-dir-prefix):
14357 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14358 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14359 (face-font-registry-alternatives, face-font-registry-alternatives)
14360 (face-font-family-alternatives):
14361 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14362 (facemenu-foreground-menu, facemenu-face-menu):
14363 * epa-hook.el (epa-file-name-regexp):
14364 * dnd.el (dnd-protocol-alist):
14365 * textmodes/rst.el (auto-mode-alist):
14366 * button.el (default-button): Purecopy strings.
14368 2009-11-06 Glenn Morris <rgm@gnu.org>
14370 * Makefile.in (ELCFILES): Update.
14372 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14374 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14375 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14377 * nxml/xsd-regexp.el (xsdre-gen-categories):
14378 * nxml/xmltok.el (xmltok-parse-entity):
14379 * nxml/rng-parse.el (rng-parse-validate-file):
14380 * nxml/rng-maint.el (rng-format-manual)
14381 (rng-manual-output-force-new-line):
14382 * nxml/rng-loc.el (rng-save-schema-location-1):
14383 * nxml/rng-cmpct.el (rng-c-parse-file):
14384 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14385 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14387 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14389 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14390 Remove extra save-excursions and make-variable-buffer-local's.
14391 Suggested by Stefan Monnier.
14393 (verilog-getopt-file, verilog-module-inside-filename-p)
14394 (verilog-set-define): Merge GNU 1.35 and repair changes from
14395 switching to using with-current-buffer.
14397 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14398 being treated as a number and confusing AUTORESET.
14399 Reported by Dan Dever.
14401 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14402 Add verilog-auto-ignore-concat to fix backward compatibility with
14403 older verilog-modes. Reported by Dan Katz.
14405 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14406 containing closing anchors "...$".
14408 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14409 Reported by Wade Smith.
14411 (verilog-batch-execute-func): Comment on function usage.
14413 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14415 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14418 (verilog-label-re, verilog-calc-1): Support proper indent of named
14421 (verilog-backward-token, verilog-basic-complete-re)
14422 (verilog-beg-of-statement, verilog-indent-re): Support proper
14423 indent of the assert statement at the beginning of a block of text.
14425 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14426 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14429 2009-11-05 Glenn Morris <rgm@gnu.org>
14431 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14432 Emacs 19. (Bug#1531)
14433 (byte-compile-fix-header): Update for the above change.
14434 Drop test for epoch::version.
14436 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14437 * cus-dep.el (custom-make-dependencies):
14438 * finder.el (finder-compile-keywords):
14439 Use autoload-rubric's feature argument.
14441 * calendar/diary-lib.el (top-level): Make load behave more like require.
14443 * vc-git.el (vc-git-stash-map): Move definition before use.
14445 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14447 * custom.el (custom-declare-group): Purecopy standard-value.
14448 (custom-declare-group): Purecopy custom-prefix.
14450 * international/mule.el (load-with-code-conversion):
14451 Call do-after-load-evaluation unconditionally.
14453 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14455 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14457 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14459 2009-11-04 Glenn Morris <rgm@gnu.org>
14461 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14462 (byte-compile-compatibility): Remove option.
14463 (byte-compile-close-variables, byte-compile-fix-header)
14464 (byte-compile-insert-header, byte-compile-output-docform)
14465 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14466 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14467 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14468 (byte-compile-insert, byte-compile-defun):
14469 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14470 (byte-defop-compiler19): Remove.
14471 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14472 used by anything. Replace all calls with byte-defop-compiler.
14474 2009-11-04 Juri Linkov <juri@jurta.org>
14476 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14477 (menu-bar-options-menu): Don't quote the `prop' arg of
14478 `menu-bar-make-mm-toggle'.
14480 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14482 * calendar/calendar.el (cal-loaddefs):
14483 * calendar/diary-lib.el (diary-loaddefs):
14484 * calendar/holidays.el (hol-loaddefs):
14485 * eshell/esh-module.el (esh-groups): Load rather than require.
14487 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14489 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14491 (todo-top-priorities): Only display-buffer when called interactively.
14492 (todo-item-start): Don't save excursion point.
14493 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14494 (todo-insert-item-here, todo-file-item, todo-remove-item):
14495 Adjust uses of todo-item-start and todo-item-end.
14497 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14498 (autoload-rubric): Don't use any more.
14500 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14501 and only put a prop if it is non-nil.
14503 2009-11-03 Juri Linkov <juri@jurta.org>
14505 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14506 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14508 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14509 and "Menu" to make top-level menu item visually one unit (like
14510 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14511 multi-word menu items). Fix :help string for quit-window.
14513 2009-11-03 Glenn Morris <rgm@gnu.org>
14515 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14516 (byte-compile-file-form-define-abbrev-table)
14517 (byte-compile-file-form-custom-declare-variable)
14518 (byte-compile-variable-ref, byte-compile-defvar):
14519 Whether or not a warning is enabled should only affect whether we issue
14520 the warning, not whether or not we collect the relevant data.
14521 Eg warnings can be turned on and off throughout the course of a file.
14523 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14524 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14526 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14528 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14529 * play/mpuz.el (mpuz-create-buffer):
14530 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14531 (lm-print-y,s,noise, lm-print-w0, lm-init):
14532 * play/gomoku.el (gomoku-prompt-for-move):
14533 * play/fortune.el (fortune-in-buffer):
14534 * play/dissociate.el (dissociated-press):
14535 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14536 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14537 * mail/supercite.el (sc-eref-show):
14538 * mail/smtpmail.el (smtpmail-send-it):
14539 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14540 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14541 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14542 (rmail-summary-goto-msg, rmail-summary-expunge)
14543 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14544 (rmail-summary-add-label, rmail-summary-output-menu)
14545 (rmail-summary-output-body):
14546 * mail/rfc822.el (rfc822-addresses):
14547 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14548 * mail/mailpost.el (post-mail-send-it):
14549 * mail/hashcash.el (hashcash-generate-payment):
14550 * mail/feedmail.el (feedmail-run-the-queue)
14551 (feedmail-queue-send-edit-prompt-help-first)
14552 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14553 (feedmail-deduce-address-list):
14554 * eshell/esh-ext.el (eshell-remote-command):
14555 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14556 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14557 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14558 (viper-save-string-in-file, viper-valid-marker):
14559 * emulation/viper-keym.el (viper-toggle-key):
14560 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14561 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14562 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14563 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14564 (viper-exec-form-in-emacs, viper-brac-function):
14565 * emulation/viper.el (viper-delocalize-var):
14566 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14567 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14568 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14569 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14570 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14571 * emulation/edt.el (edt-electric-helpify):
14572 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14573 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14574 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14575 (cua-indent-to-global-mark-column):
14576 * calendar/diary-lib.el (calendar-mark-1):
14577 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14578 Use with-current-buffer.
14579 * emulation/viper.el (viper-delocalize-var): Use dolist.
14581 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14583 * comint.el (comint-replace-by-expanded-history-before-point):
14584 Replace !! with the previous input string literally (Bug#1795).
14586 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14588 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14589 to be made up of whitespace.
14591 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14593 * minibuffer.el (read-file-name): Don't use file dialogs for
14594 remote directories (Bug#99).
14596 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14598 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14600 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14602 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14603 instead of deleting the window or frame.
14605 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14607 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14608 Support face colors.
14610 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14611 New function. Support face colors (Bug#1168).
14612 (tex-common-initialization): Use it.
14614 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14615 mode allows it (Bug#1168).
14617 2009-10-31 Juri Linkov <juri@jurta.org>
14619 * facemenu.el (list-colors-display): Don't mark buffer as
14620 modified (Bug#3948).
14622 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14624 * international/mule-diag.el (list-character-sets-1):
14625 Minor message fix (Bug#3526).
14627 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14628 Fix face property (Bug#4834).
14629 (etags-list-tags, etags-tags-apropos-additional)
14630 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14633 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14636 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14638 * textmodes/two-column.el (2C-split):
14639 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14640 * textmodes/tex-mode.el (tex-set-buffer-directory):
14641 * textmodes/spell.el (spell-region, spell-string):
14642 * textmodes/reftex.el (reftex-erase-buffer):
14643 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14644 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14645 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14646 (reftex-select-item):
14647 * textmodes/reftex-ref.el (reftex-label-info-update)
14648 (reftex-offer-label-menu):
14649 * textmodes/reftex-index.el (reftex-index-change-entry)
14650 (reftex-index-phrases-info):
14651 * textmodes/reftex-global.el (reftex-create-tags-file)
14652 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14653 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14654 (reftex-view-crossref-from-bibtex):
14655 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14656 (reftex-extract-bib-entries-from-thebibliography)
14657 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14658 * textmodes/refbib.el (r2b-capitalize-title):
14659 (r2b-convert-buffer, r2b-help):
14660 * textmodes/page-ext.el (pages-directory)
14661 (pages-directory-goto-with-mouse):
14662 * textmodes/bibtex.el (bibtex-validate-globally):
14663 * textmodes/bib-mode.el (bib-capitalize-title):
14664 * textmodes/artist.el (artist-clear-buffer, artist-system):
14665 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14666 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14667 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14668 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14669 (xscheme-send-control-g-interrupt, xscheme-start-process)
14670 (xscheme-process-sentinel, xscheme-cd):
14671 * progmodes/verilog-mode.el (verilog-read-always-signals)
14672 (verilog-set-define, verilog-getopt-file)
14673 (verilog-module-inside-filename-p):
14674 * progmodes/sh-script.el:
14675 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14676 (python-pdbtrack-grub-for-buffer, python-execute-file):
14677 * progmodes/octave-inf.el (inferior-octave):
14678 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14679 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14680 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14681 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14682 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14683 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14684 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14685 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14686 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14687 (idlwave-shell-examine-display, idlwave-shell-run-region)
14688 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14689 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14690 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14691 (idlwave-help-get-help-buffer):
14692 * progmodes/gud.el (gud-basic-call, gud-find-class)
14693 (gud-tooltip-activate-mouse-motions-if-enabled):
14694 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14695 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14696 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14697 (ebrowse-tags-next-file):
14698 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14699 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14700 (ebnf-eps-finish-and-write):
14701 * progmodes/cpp.el (cpp-edit-save):
14702 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14703 * progmodes/cc-defs.el (c-emacs-features):
14704 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14705 (antlr-directory-dependencies):
14706 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14707 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14708 (ada-find-any-references, ada-make-filename-from-adaname)
14709 (ada-make-body-gnatstub):
14710 * obsolete/rnews.el (news-list-news-groups):
14711 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14712 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14713 * net/rcirc.el (rcirc-debug):
14714 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14715 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14716 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14717 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14718 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14719 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14720 (newsticker--treeview-list-clear-highlight)
14721 (newsticker--treeview-list-update-highlight)
14722 (newsticker--treeview-list-highlight-start)
14723 (newsticker--treeview-tree-update-highlight)
14724 (newsticker--treeview-get-selected-item)
14725 (newsticker-treeview-mark-list-items-old)
14726 (newsticker--treeview-set-current-node):
14727 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14728 * net/newst-backend.el (newsticker--get-news-by-funcall)
14729 (newsticker--get-news-by-wget, newsticker--image-get)
14730 (newsticker--image-sentinel):
14731 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14732 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14733 (eudc-ph-close-session):
14734 * net/eudc.el (eudc-save-options):
14735 * language/thai-word.el (thai-update-word-table):
14736 * language/japan-util.el (japanese-string-conversion):
14737 * international/titdic-cnv.el (tsang-quick-converter)
14738 (ziranma-converter, ctlau-converter):
14739 * international/mule-cmds.el (describe-language-environment):
14740 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14741 (skkdic-convert-postfix, skkdic-convert-prefix):
14742 (skkdic-convert-okuri-nasi, skkdic-convert):
14743 * emacs-lisp/re-builder.el (reb-update-overlays):
14744 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14745 * emacs-lisp/gulp.el (gulp-send-requests):
14746 * emacs-lisp/find-gc.el (trace-call-tree):
14747 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14748 (eieio-describe-generic):
14749 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14750 * emacs-lisp/edebug.el (edebug-outside-excursion):
14751 * emacs-lisp/debug.el (debugger-make-xrefs):
14752 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14753 * emacs-lisp/chart.el (chart-new-buffer):
14754 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14755 Use with-current-buffer.
14756 * textmodes/artist.el (artist-system): Don't call
14757 copy-sequence on a fresh string.
14758 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14760 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14762 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14763 is no item to edit. (Bug#4820)
14764 (todo-top-priorities): Restore point and restore narrowing in Todo
14767 2009-10-31 Glenn Morris <rgm@gnu.org>
14769 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14770 (comint-last-output-start, comint-last-input-start)
14771 (comint-last-input-end): Don't defvar when compiling.
14772 (ange-ftp-process-file): Use bound-and-true-p.
14774 * pcmpl-rpm.el (top-level): Move provide statement to end.
14775 (pcmpl-rpm): Remove unused custom group.
14777 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14779 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14781 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14782 (byte-compile-warnings): Add `constants' as an option.
14783 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14784 (display-call-tree): Update for byte-compile-fdefinition possibly
14785 returning `(macro lambda ...)'. (Bug#4778)
14786 (byte-compile-variable-ref, byte-compile-setq-default):
14787 Respect `constants' member of byte-compile-warnings.
14789 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14791 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14792 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14795 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14797 * textmodes/ispell.el (ispell-skip-region-alist):
14798 * international/mule-conf.el (eight-bit):
14799 * international/fontset.el (font-encoding-alist):
14800 * startup.el (pure-space-overflow-message):
14801 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14802 * paths.el (gnus-nntp-service, rmail-spool-directory)
14803 (term-file-prefix):
14804 * files.el (save-some-buffers-action-alist):
14805 * cmuscheme.el (same-window-buffer-names):
14806 * ielm.el (same-window-buffer-names):
14807 * shell.el (same-window-buffer-names):
14808 * mail/sendmail.el (same-window-buffer-names):
14809 * progmodes/inf-lisp.el (same-window-buffer-names):
14810 * bindings.el (mode-line-client)
14811 (mode-line-column-line-number-mode-map):
14812 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14813 (tibetan-precomposed-regexp): Purecopy string arguments.
14815 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14817 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14818 (calcDigit-nondigit):
14819 * calc/calc-yank.el (calc-copy-to-buffer):
14820 * calc/calc-units.el (calc-invalidate-units-table):
14821 * calc/calc-trail.el (calc-trail-yank):
14822 * calc/calc-store.el (calc-insert-variables):
14823 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14824 * calc/calc-prog.el (calc-read-parse-table):
14825 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14826 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14827 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14828 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14829 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14830 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14831 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14832 * calc/calc-ext.el (calc-realign):
14833 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14834 (calc-embedded-finish-edit, calc-embedded-make-info)
14835 (calc-embedded-finish-command, calc-embedded-stack-change):
14836 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14838 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14839 shell-dynamic-complete-filename in preference to
14840 comint-dynamic-complete-filename.
14842 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14843 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14844 Don't consider whether the display supports colors.
14845 (bookmark-import-new-list): Use dolist.
14846 (bookmark-bmenu-mode-map): Move initialization into declaration.
14847 (bookmark-bmenu-list): Use dolist, simplify.
14848 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14849 (menu-bar-final-items): Use push.
14851 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14853 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14854 it works on remote files.
14855 (vc-hg-diff): Don't pass any `--cwd' argument.
14857 2009-10-27 Kevin Ryde <user42@zip.com.au>
14859 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14860 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14861 (Further to Bug#3921).
14863 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14865 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14866 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14867 calling `tramp-imap-put-file'. Add file size to the call.
14868 (tramp-imap-get-file-entries): Compute also user name, file size,
14870 (tramp-imap-handle-insert-directory): Insert uid and gid.
14871 (tramp-imap-handle-file-attributes): Transform uid and gid
14872 according to `id-format'.
14873 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14874 size in header X-Size.
14876 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14878 * simple.el (transpose-subr): Give clearer error when the mark
14879 is not set. (Bug#4807)
14881 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14883 * net/tramp.el (tramp-perl-file-truename): New defconst.
14884 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14885 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14886 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14887 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14889 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14890 Ignore `dired-call-process'.
14891 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14893 2009-10-26 Julian Scheid <julians37@gmail.com>
14895 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14896 (tramp-get-remote-readlink): New defun.
14897 (tramp-handle-file-truename): Use it.
14898 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14899 file exists if cache value present.
14900 (tramp-check-cached-permissions): New defun.
14901 (tramp-handle-file-readable-p): Use it.
14902 (tramp-handle-file-writable-p): Likewise.
14903 (tramp-handle-file-executable-p): Likewise.
14904 (tramp-handle-file-name-all-completions): Try using Perl to get
14905 partial completions. When perl not available, combine `cd' and
14906 `ls' into single remote operation and use shell expansion to get
14907 partial remote directory contents. Set `file-exists-p' cache for
14908 directory and any files returned by ls. Change cache handling to
14909 support partial directory contents. Use error message emitted by
14910 remote `cd' or Perl code for local tramp-error.
14911 (tramp-do-copy-or-rename-file-directly): Avoid separate
14912 tramp-send-command-and-check call.
14913 (tramp-handle-process-file): Merge three remote ops into one.
14914 Do not flush all caches when `process-file-side-effects' is set.
14915 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14916 file-attributes shows uid/gid to be set already.
14918 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14920 * textmodes/tex-mode.el (tex-dvi-view-command)
14921 (tex-show-queue-command, tex-open-quote):
14922 * progmodes/ruby-mode.el (auto-mode-alist)
14923 (interpreter-mode-alist): Purecopy strings.
14925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14927 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14928 string for the hook, keymap and abbrev table.
14930 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14932 * x-dnd.el (x-dnd-xdnd-to-action):
14933 * startup.el (fancy-startup-text, fancy-about-text): Change to
14934 defconst from defvar.
14936 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14938 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14939 Purecopy initialization strings.
14941 * mail/sendmail.el (mail-header-separator)
14942 (mail-personal-alias-file):
14943 * mail/rmail.el (rmail-default-dont-reply-to-names)
14944 (rmail-ignored-headers, rmail-retry-ignored-headers)
14945 (rmail-highlighted-headers, rmail-secondary-file-directory)
14946 (rmail-secondary-file-regexp):
14947 * files.el (null-device, file-name-invalid-regexp)
14948 (locate-dominating-stop-dir-regexp)
14949 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14950 (interpreter-mode-alist): Use mapcar instead of mapc.
14952 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14954 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14955 (completion-ignored-extensions):
14956 (debug-ignored-errors): Purecopy strings.
14958 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14960 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14961 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14962 (pcomplete--here): Use push.
14964 * subr.el (all-completions): Declare the 4th arg obsolete.
14966 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14968 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14969 (pcomplete-unquote-argument): New function.
14970 (pcomplete--common-suffix): Always pay attention to case.
14971 (pcomplete--table-subvert): Quote and unquote the text.
14972 (pcomplete--common-quoted-suffix): New function.
14973 (pcomplete-std-complete): Use it and pcomplete-begin.
14975 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14976 we're inside a dedicated or minibuffer window.
14978 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14980 * bookmark.el: Update documentation, especially documentation
14981 of `bookmark-alist' and of the bookmark file format.
14982 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14984 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14986 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14987 keybindings apply to the mail buffer (Bug#4003). Shrink help
14990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14991 (global-whitespace-mode, global-whitespace-newline-mode)
14992 (whitespace-toggle-options, global-whitespace-toggle-options):
14993 Doc fix (Bug#3660).
14995 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14996 of xmltok-start before the end tag was inserted (Bug#2840).
14998 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14999 patterns that are preceded by an open-paren (Bug#1320).
15001 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15003 * files.el (delete-directory): Delete symlinks to directories with
15004 delete-file (Bug#4739).
15006 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15008 * vc.el (vc-backend-for-registration): Rename from
15009 vc-get-backend-for-registration. Update callers.
15011 * international/mule-cmds.el (set-language-info-alist):
15013 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15014 (charset): Purecopy the name.
15015 (define-char-code-property): Purecopy string arguments.
15017 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15018 Purecopy string arguments.
15020 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15021 * ediff-hook.el (menu-bar-ediff-menu):
15022 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15023 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15025 2009-10-24 Glenn Morris <rgm@gnu.org>
15027 * comint.el (comint-dynamic-list-completions):
15028 * term.el (term-dynamic-list-completions): Use choose-completion rather
15029 than obsolete alias mouse-choose-completion.
15031 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15032 file-cache-choose-completion.
15033 (file-cache-choose-completion): Handle an optional event argument.
15034 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15036 * progmodes/octave-mod.el (octave-complete-symbol):
15037 Use choose-completion if mouse-choose-completion is ever removed.
15039 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15042 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15045 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15047 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15049 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15050 Ignore `pred' now that we receive one.
15051 Handle test-completion specially.
15053 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15055 * vc.el (vc-responsible-backend): Throw an error if not backend is
15056 found. Remove the REGISTER argument. Move the code dealing with
15058 (vc-get-backend-for-registration): ... here. New function.
15059 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15060 of vc-responsible-backend, pass the file name instead of the
15063 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15065 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15067 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15068 (pcomplete-comint-setup): Don't modify a global var via
15069 accidental side-effects.
15070 (pcomplete-shell-setup): Adjust call accordingly.
15071 (pcomplete-parse-comint-arguments): Use push.
15073 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15075 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15076 Allow uncapitalized info node names (Bug#3921).
15078 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15079 to the DEBUG file (Bug#3781).
15081 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15083 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15084 dictionary entry (Bug#4579).
15086 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15088 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15089 from `rfn-eshadow-update-overlay-hook' when unloading.
15090 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15091 "rsyncc". Adjust doc string.
15092 (tramp-temp-buffer-file-name): New buffer-local defvar.
15093 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15094 Keep temporary file when indicated by method ("rsync" and
15096 (tramp-handle-write-region): Handle APPEND.
15097 (tramp-delete-temp-file-function): New defun. Added to
15098 `kill-buffer-hook'.
15100 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15102 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15104 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15106 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15107 (color-name-rgb-alist, tty-standard-colors)
15108 (tty-color-mode-alist): Change to defconst.
15110 * simple.el (mark-inactive): Purecopy message.
15112 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15113 (global-map, yank-menu):
15114 * textmodes/ispell.el (ispell-menu-map):
15115 * net/eudc.el (eudc-tools-menu):
15116 * international/mule-cmds.el (describe-language-environment-map)
15117 (setup-language-environment-map, set-coding-system-map)
15118 (mule-menu-keymap):
15119 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15120 * replace.el (occur-mode-map):
15121 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15123 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15125 * calc/calc.el (math-read-number, math-read-number-simple):
15126 Use `save-match-data'.
15128 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15130 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15131 rather than fiddling with global-map bindings, since it should only
15132 affect per-terminal settings.
15133 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15135 * minibuffer.el (completion-table-with-terminator): Allow to specify
15136 the terminator-regexp.
15138 * simple.el (switch-to-completions): Look for *Completions* in other
15141 * pcomplete.el: Allow the use of completion-tables.
15142 (pcomplete-std-complete): New command.
15143 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15144 (pcomplete--here): Use a function for `form' rather than an expression,
15145 so it can be byte-compiled.
15146 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15147 Add edebug declaration.
15148 (pcomplete-show-completions): Remove unused var `curbuf'.
15149 (pcomplete-do-complete, pcomplete-stub):
15150 Don't assume `completions' is a list of strings any more.
15152 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15154 * find-dired.el (find-name-arg): Fix typo in docstring.
15156 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15158 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15159 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15161 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15164 * comint.el (comint-read-input-ring, comint-write-input-ring)
15165 (comint-substitute-in-file-name)
15166 (comint-dynamic-complete-as-filename)
15167 (comint-dynamic-simple-complete)
15168 (comint-dynamic-list-filename-completions)
15169 (comint-dynamic-list-completions)
15170 (comint-redirect-results-list-from-process): Minor simplifications.
15172 2009-10-21 Kevin Ryde <user42@zip.com.au>
15174 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15175 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15176 the first form. And insert a blank line after ";;; Code" since
15177 that's usual style. (Bug#4612)
15179 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15181 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15183 * minibuffer.el (completion-table-with-terminator): Properly implement
15184 boundaries, in case `terminator' appears in the suffix.
15185 (completion--embedded-envvar-table): Don't return boundaries if
15186 there's no valid completion. Simplify.
15187 (completion-file-name-table): New completion table extracted from
15188 completion--file-name-table.
15189 (completion--file-name-table): Use it.
15190 (read-file-name-predicate): Declare obsolete.
15191 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15192 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15193 completion-file-name-table, and use the `pred' argument.
15194 * files.el (locate-file-completion-table): Use the `pred' arg rather
15195 than read-file-name-predicate.
15196 (abbreviate-file-name): Use \` rather than ^ for BOS.
15198 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15200 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15201 vc-responsible-backend to register, it causes problems.
15203 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15205 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15207 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15209 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15210 (tramp-smb-handle-file-attributes): Use it.
15211 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15212 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15213 `mapcar'. Use `tramp-smb-get-stat-capability'.
15214 Add `dired-filename' text properties.
15215 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15216 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15219 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15221 * subr.el (read-key-delay): Reduce to 0.01.
15222 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15225 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15227 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15229 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15230 (Info-menu): Remove unused vars `last' and `completions'.
15231 (Info-index-nodes): Remove unused var `node'.
15233 * info.el (Info-complete-menu-item): Use complete-with-action.
15235 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15237 Make vc-annotate work through copies and renames.
15238 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15239 Return the file name too.
15240 (vc-annotate-revision-at-line)
15241 (vc-annotate-find-revision-at-line)
15242 (vc-annotate-revision-previous-to-line)
15243 (vc-annotate-show-log-revision-at-line): Update to get the file
15244 name from vc-annotate-extract-revision-at-line.
15245 (vc-annotate-show-diff-revision-at-line-internal): Change the
15246 argument to mean whether to show a file diff or not. Get the file
15247 name from vc-annotate-extract-revision-at-line.
15248 (vc-annotate-show-diff-revision-at-line):
15249 Update vc-annotate-show-diff-revision-at-line call.
15250 (vc-annotate-warp-revision): Add an optional file argument.
15252 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15253 (vc-git-annotate-extract-revision-at-line): Also return the file
15256 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15257 command. Remove unused code.
15258 (vc-hg-annotate-re): Update to match --follow output.
15259 (vc-hg-annotate-extract-revision-at-line): Also return the file
15262 * vc.el: Update annotate-extract-revision-at-line documentation.
15264 2009-10-18 Kevin Ryde <user42@zip.com.au>
15266 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15267 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15269 * net/browse-url.el (browse-url): Identify alist with "consp and
15270 not functionp" and let all other things go down the `apply' leg,
15271 as suggested by Stefan. (Further to bug#4531.)
15273 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15275 * minibuffer.el (read-file-name): Check for repeat before putting
15276 a default argument in file-name-history (Bug#4657).
15278 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15279 read syntax (Bug#4737).
15281 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15283 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15285 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15286 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15287 entries and make note of obsolete tags.
15289 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15291 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15293 2009-10-18 Glenn Morris <rgm@gnu.org>
15295 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15296 grep, so that binary files (eg international/uni-bidi.el) can match.
15297 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15298 now, and in any case the file header format has changed.
15300 2009-10-17 Glenn Morris <rgm@gnu.org>
15302 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15303 (flyspell-get-word, flyspell-large-region)
15304 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15306 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15308 * Makefile.in (ELCFILES): Add ede/shell.
15310 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15312 * term/common-win.el (x-colors): Purecopy it.
15314 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15317 permissive for when the buffer is empty.
15318 (tar-header-block-tokenize): Decode the username and groupname.
15319 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15321 2009-10-17 Eric Ludlam <zappo@gnu.org>
15323 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15324 contains multibyte characters, choose first applicable coding
15325 system automatically.
15327 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15329 * international/mule-cmds.el (select-safe-coding-system): If the file
15330 has a coding cookie, use it regardless of any other setting (bug#4712).
15332 2009-10-17 Glenn Morris <rgm@gnu.org>
15334 * foldout.el (foldout-mouse-swallow-events):
15335 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15337 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15338 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15339 (dired-keep-marker-symlink, dired-dwim-target)
15340 (dired-copy-preserve-time): Do not autoload these defcustoms.
15342 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15343 messages from messing up the file coding. (Bug#4623)
15345 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15347 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15348 if no match is found for the current dictionary. (Bug#4578)
15350 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15351 optional, since that is how it is documented, and this is often called
15352 with a nil argument. (Bug#4577)
15353 (flyspell-external-point-words, flyspell-auto-correct-word)
15354 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15355 (flyspell-word-search-backward): Remove nil argument in calls to
15356 flyspell-get-word, since it is not needed now.
15358 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15360 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15362 2009-10-16 Glenn Morris <rgm@gnu.org>
15364 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15366 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15368 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15369 (ange-ftp-file-size): New function.
15370 (ange-ftp-file-attributes): Use it.
15372 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15374 * net/tramp-smb.el (tramp-smb-version): New defvar.
15375 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15378 2009-10-16 Glenn Morris <rgm@gnu.org>
15380 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15381 Maybe copy some custom properties from old to new name. (Bug#4706)
15383 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15385 * subr.el (error, sit-for, start-process-shell-command)
15386 (start-file-process-shell-command): Set the calling convention
15387 after the function definition.
15389 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * subr.el (error, sit-for, start-process-shell-command)
15392 (start-file-process-shell-command): Use the new
15393 set-advertised-calling-convention feature.
15395 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15397 * international/ucs-normalize.el (ucs-normalize-version):
15399 (check-range): Adjust for Unicode 5.2.
15401 2009-10-15 Juri Linkov <juri@jurta.org>
15403 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15404 to the `menu-item' format.
15406 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15408 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15409 if the environment variable does not exist.
15411 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15412 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15414 (tramp-smb-handle-add-name-to-file)
15415 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15416 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15417 (tramp-smb-handle-file-attributes)
15418 (tramp-smb-do-file-attributes-with-stat)
15419 (tramp-smb-handle-file-local-copy)
15420 (tramp-smb-handle-insert-directory)
15421 (tramp-smb-handle-make-directory)
15422 (tramp-smb-handle-make-directory-internal)
15423 (tramp-smb-handle-make-symbolic-link)
15424 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15425 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15426 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15427 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15428 Handle long file names.
15429 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15430 process is running.
15431 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15432 Read share names with "-g" option.
15434 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15436 * net/rcirc.el (rcirc-view-log-file): New command.
15437 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15438 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15441 2009-10-15 Glenn Morris <rgm@gnu.org>
15443 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15444 from the second command-line argument.
15445 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15446 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15447 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15448 w32-batch-update-autoloads.
15449 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15450 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15452 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15453 the headers cannot be located. Simplify, subtracting superflous
15456 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15458 Replace completion-base-size by completion-base-position to fix bugs
15459 such as (bug#4699).
15460 * simple.el (completion-base-position): New var.
15461 (completion-base-size): Mark as obsolete.
15462 (choose-completion): Make it work for mouse events as well.
15463 Pass the new base-position to choose-completion-string.
15464 (choose-completion-guess-base-position): New function, extracted from
15465 choose-completion-delete-max-match.
15466 (choose-completion-delete-max-match): Use it. Make obsolete.
15467 (choose-completion-string): Use the new base-position info.
15468 (completion-root-regexp): Delete.
15469 (completion-setup-function): Preserve completion-base-position.
15470 Eliminate obsolete base-size manipulation.
15471 * minibuffer.el (display-completion-list): Don't mess with base-size.
15472 (minibuffer-completion-help): Set completion-base-position instead.
15473 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15475 * textmodes/bibtex.el (bibtex-complete):
15476 * emacs-lisp/crm.el (crm--choose-completion-string):
15477 Adjust to new calling convention.
15478 * complete.el (partial-completion-mode): Use minibufferp to avoid
15479 bumping into incompatible change to choose-completion-string-functions.
15480 * ido.el (ido-choose-completion-string): Make its calling convention
15482 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15483 base-size manipulation.
15484 (comint-dynamic-list-input-ring): Use dotimes and push.
15485 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15486 fundamental-mode. Use `or'.
15488 2009-10-14 Juri Linkov <juri@jurta.org>
15490 * misearch.el (multi-isearch-next-buffer-from-list)
15491 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15493 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15495 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15498 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15499 string we return is all made up of text from the completions rather
15500 than part from the completions and part from the input (bug#4219).
15502 * ido.el (ido-everywhere): Use define-minor-mode.
15504 * buff-menu.el (list-buffers, ctl-x-map):
15505 Mark the entry points with ;;;###autoload cookies.
15507 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15509 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15510 correctly in the detached head case.
15511 (vc-git-print-log): Remove unused binding.
15513 * vc.el (vc-responsible-backend): When a directory is passed for
15514 for registration create a VC repository if no backend is
15515 responsible for the directory argument.
15516 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15518 * vc.el: Move comments about RCS and SCCS ...
15520 * vc-sccs.el: ... here, respectively.
15522 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15524 * minibuffer.el (completion--file-name-table): Return nil if there's
15525 no file completion, even if substitute-in-file-name changed
15526 the string (bug#4708).
15528 2009-10-13 Juri Linkov <juri@jurta.org>
15530 * files-x.el (read-file-local-variable-value): Don't filter out
15531 minor modes from mode name completion (bug#4664).
15533 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15535 * international/mule-cmds.el (ucs-names): Remove exclusion of
15536 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15538 2009-10-13 Kenichi Handa <handa@m17n.org>
15540 * international/uni-name.el: Regenerated.
15542 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15544 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15545 should be automatically buffer-local, but isn't.)
15547 2009-10-12 Sam Steingold <sds@gnu.org>
15549 * progmodes/compile.el (compilation-next-error-function): Fix the
15550 timestamps if the buffer has been visited before.
15551 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15552 non-anchored patterns, like the perl one (bug#3928).
15554 2009-10-12 Glenn Morris <rgm@gnu.org>
15556 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15559 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15561 * proced.el (proced-unload-function): New function.
15563 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15564 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15567 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15569 2009-10-11 Juri Linkov <juri@jurta.org>
15571 * files-x.el (read-file-local-variable-value):
15572 Provide default value only for bound variables (bug#4664).
15574 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15576 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15577 connection methods like smb.
15579 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15582 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15583 (tramp-smb-file-name-handler-alist): Add handlers for
15584 `add-name-to-file', `make-symbolic-link'.
15585 (tramp-smb-handle-add-name-to-file)
15586 (tramp-smb-do-file-attributes-with-stat)
15587 (tramp-smb-handle-make-symbolic-link)
15588 (tramp-smb-get-cifs-capabilities): New defuns.
15589 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15590 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15591 (tramp-smb-handle-file-local-copy)
15592 (tramp-smb-handle-make-directory-internal)
15593 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15594 The file name syntax depends on cifs capabilities.
15595 (tramp-smb-handle-file-attributes):
15596 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15597 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15598 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15600 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15602 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15603 (eieio-defclass): Apply deftype handler and setf-method properties
15605 (eieio-add-new-slot): Avoid union function from cl library.
15606 (eieio--typep): New function.
15607 (eieio-perform-slot-validation): Use it.
15609 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15611 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15612 Update documentation to refer to the variables documented in r1.135.
15615 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15617 * bookmark.el (Info-suffix-list): Remove this unused variable.
15618 (bookmark-current-point): Remove this obsolete variable.
15619 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15620 Adjust for removal of bookmark-current-point.
15622 (bookmarks-already-loaded, bookmark-current-buffer)
15623 (bookmark-yank-point): Document. (Bug#4188)
15625 2009-10-10 Glenn Morris <rgm@gnu.org>
15627 * frame.el (frame-height): Doc fix.
15629 * calendar/calendar.el (calendar-split-width-threshold): New option.
15630 (calendar-basic-setup): Use calendar-split-width-threshold.
15632 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15634 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15635 Ideographic Supplement" range (U+1F200..U+1F2FF).
15637 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15639 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15640 since the list will have been rebuilt anyway. (Bug#4349)
15642 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15644 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15645 (bookmark-bmenu-execute-deletions): Don't save here, as
15646 bookmark-delete will now do so if necessary.
15647 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15650 2009-10-09 Glenn Morris <rgm@gnu.org>
15652 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15654 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15656 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15657 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15658 argument now, so the two function's behaviors will match. (Bug#3645)
15660 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15662 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15663 (tramp-file-name-real-host, tramp-file-name-port):
15664 Apply `save-match-data'.
15666 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15667 case both directories are remote.
15668 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15669 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15671 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15673 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15675 2009-10-07 Glenn Morris <rgm@gnu.org>
15677 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15680 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15682 * files-x.el (read-file-local-variable): Include some
15683 non-user-variables in the completion table (bug#4664).
15685 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15687 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15690 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15691 (tramp-smb-file-name-handler-alist): Add handler for
15692 `copy-directory', `expand-file-name', `set-file-modes'.
15693 (tramp-smb-handle-copy-directory)
15694 (tramp-smb-handle-expand-file-name)
15695 (tramp-smb-handle-set-file-modes): New defuns.
15696 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15697 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15699 (tramp-smb-handle-insert-directory): Don't flush the cache.
15700 (tramp-smb-maybe-open-connection): Check for samba client and
15703 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15705 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15706 to not error out of search for "^lisp=" fails.
15708 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15710 * makefile.w32-in (WINS_UPDATES): New macro.
15711 (custom-deps, finder-data, autoloads): Use it.
15713 2009-10-07 Glenn Morris <rgm@gnu.org>
15715 * Makefile.in (autoloads): Revert previous change.
15716 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15717 the list of preloaded files passed on the command-line, get
15718 it from src/Makefile.
15720 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15721 show the original buffer rather than a random one.
15723 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15725 * help.el (describe-no-warranty): Place point in a slightly better
15726 position in the GPLv3 text.
15728 2009-10-06 Sam Steingold <sds@gnu.org>
15730 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15731 the comm attribute is present before calling regexp-quote.
15733 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15735 * play/animate.el (animate-string): For good effect, make sure
15736 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15738 * play/animate.el (animate-sequence, animate-birthday-present):
15739 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15741 2009-10-06 Glenn Morris <rgm@gnu.org>
15743 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15745 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15746 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15747 (batch-update-autoloads): Process a string value of autoload-excludes,
15748 set during the build process.
15749 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15751 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15752 inside with-parsed... macro so that `v' is defined.
15754 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15755 * progmodes/fortran.el (fortran-end-of-block)
15756 (fortran-beginning-of-block):
15757 Also push mark in the macro case.
15759 * emerge.el (emerge-show-file-name):
15760 * calc/calc.el (calc-quit):
15761 * calc/calc-misc.el (calc-big-or-small):
15762 * calc/calc-graph.el (calc-graph-view):
15763 * calc/calc-ext.el (calc-reset):
15764 * calendar/calendar.el (calendar-basic-setup):
15765 Use window-full-height-p.
15767 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15768 header we don't understand, don't insert another. (Bug#4624)
15769 If changing mime charset, insert the new one in the right place.
15771 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15773 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15774 (cal-tex-cursor-month): Correctly increment the end date for diary and
15775 holiday listing. (Bug#4626)
15777 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * help-fns.el (describe-function-1): Don't burp if the function is not
15782 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15784 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15785 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15786 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15787 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15789 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15790 (eieio-default-superclass): Reflow docstrings.
15791 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15792 (eieio-unbind-method-implementations, defmethod)
15793 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15794 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15795 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15796 (eieio-slot-originating-class-p, eieio-slot-name-index)
15797 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15798 (constructor, initialize-instance, no-next-method, object-print)
15799 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15800 Fix typos in docstrings.
15801 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15802 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15803 (next-method-p): Doc fixes.
15804 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15805 Fix typos in error messages.
15806 (eieio-defmethod): Fix typo in description of generic method.
15808 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15809 (eieio-persistent-save-interactive, slot-missing):
15810 Fix typos in docstrings.
15811 (eieio-instance-inheritor-slot-boundp): Doc fix.
15813 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15814 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15816 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15817 (eieio-custom-object-apply-reset):
15818 Fix typos in docstrings and error messages.
15820 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15821 Fix typo in docstring.
15823 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15824 (eieio-browse-tree): Doc fix.
15825 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15826 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15827 Fix typos in docstrings.
15829 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15830 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15831 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15832 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15835 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15837 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15838 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15839 Set log-view-vc-backend so that diff can work.
15841 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15843 (vc-diff-internal): Autoload this instead of vc-version-diff.
15845 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15847 * simple.el (eval-expression): Doc fix.
15849 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15851 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15853 * files.el (directory-files-no-dot-files-regexp): New defconst.
15854 (delete-directory): Use it.
15855 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15857 * net/tramp.el (tramp-verbose): Fix docstring.
15858 (tramp-methods): Add recursive option to `tramp-copy-args'.
15859 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15860 "scp1_old", "scp2_old", "rsync", "rsyncc".
15861 (tramp-default-method): Check also for `auth-source-user-or-password'.
15862 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15863 Add handler for `copy-directory'.
15864 (tramp-handle-copy-directory): New defun.
15865 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15866 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15867 Optimize sent command.
15869 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15871 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15872 window if necessary.
15874 * calendar/calendar.el (calendar-basic-setup): Don't call
15875 switch-to-buffer in a dedicated window.
15877 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15879 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15880 don't do anything related to relocating, just return nil.
15881 (bookmark-error-no-filename): New error.
15882 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15883 bookmark has no file. Don't even attempt to handle things that
15884 are not files; the whole point of custom handlers is to keep that
15885 knowledge elsewhere anyway. Tighten some comments.
15886 (bookmark-file-or-variation-thereof): Remove now-unused function.
15887 (bookmark-location): Doc string fix.
15890 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15892 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15893 don't use a file dialog, because they usually don't know how to read
15894 a directory target from the user. (Bug#4230)
15895 Also, make sure the prompt can display directories as well as files.
15897 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15899 * bookmark.el (bookmark-set, bookmark-buffer-name):
15900 Improve doc strings. (Bug#1193)
15902 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15904 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15905 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15906 (bookmark-get-annotation, bookmark-set-annotation)
15907 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15908 (bookmark-set-position, bookmark-get-front-context-string)
15909 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15910 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15911 (bookmark-jump-other-window, bookmark-handle-bookmark)
15912 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15913 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15914 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15915 Improve doc strings to say whether bookmark can be a string or
15916 a record or both, and make other consistency and clarity fixes.
15917 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15918 (bookmark-default-annotation-text, bookmark-yank-word)
15919 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15920 (bookmark-import-new-list, bookmark-maybe-rename)
15921 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15922 (bookmark-bmenu-bookmark): Give these doc strings.
15923 (bookmark-bmenu-check-position): Give this a doc string, but also
15924 add a FIXME comment about how the function may be pointless.
15925 (bookmark-default-handler): Rework doc string and change a
15926 parameter name, to clarify that this takes a bookmark record
15927 not a bookmark name.
15928 (bookmark-set): Change a parameter name to indicate its meaning,
15929 and improve the doc string a bit.
15932 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15934 * bookmark.el (bookmark-alist): Document the new `handler' element
15935 in the param alist.
15936 (bookmark-make-record-function): Adjust documentation for above.
15939 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15941 * info.el (Info-bookmark-make-record): Document this function.
15942 (Info-bookmark-jump): Document with a doc string, not just a comment.
15945 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15947 * files.el (copy-directory): New defun.
15949 * dired-aux.el (dired-copy-file-recursive): Use it.
15951 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15953 * files-x.el (modify-dir-local-variable)
15954 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15957 * recentf.el (recentf-unload-function): New function.
15959 2009-10-04 Glenn Morris <rgm@gnu.org>
15961 * window.el (window-full-height-p): Add doc string.
15963 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15965 * window.el (window-full-height-p): New function. (Bug#4543)
15967 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15969 * vc.el: Remove commented out code.
15970 (vc-derived-from-dir-mode): Remove, unused.
15971 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15973 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15975 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15976 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15977 there could be recursive loading when `default-directory' is a
15978 remote file name. (Bug#4614)
15980 2009-10-03 Glenn Morris <rgm@gnu.org>
15982 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15984 (calendar-generate-window): Test for shrinkability rather than width.
15986 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15987 reusing existing buffers, in case we happen to visit two files with the
15988 same basename. (Bug#4593)
15990 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15992 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15993 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15994 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15995 subdirs of cedet as well.
15996 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15998 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16001 Obey advertised-signature-table.
16003 * help-fns.el (help-function-arglist): Don't check
16004 advertised-signature-table.
16005 (describe-function-1): Do it here instead so it also applies to subrs.
16007 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16009 * simple.el (start-file-process): Say in the doc-string, that file
16010 handlers might not support pty association, if PROGRAM is nil.
16012 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16013 HOST and USER are strings. They are nil, when there are
16014 incomplete entries in ~/.netrc, for example.
16015 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16016 root directory ("device busy" error otherwise).
16018 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16019 Flush file properties of created directory.
16021 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16023 * makefile.w32-in (WINS_BASIC): Remove cedet.
16024 (WINS_CEDET): Add cedet.
16025 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16027 2009-10-02 Kevin Ryde <user42@zip.com.au>
16029 * net/browse-url.el (browse-url): Pass any symbol in
16030 browse-url-browser-function to `apply', since if you've mistakenly put
16031 an unbound symbol then the error is clearer. (Bug#4531)
16033 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16035 * allout.el (allout-init, allout-back-to-current-heading)
16036 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16037 (allout-ascend, allout-up-current-level, allout-end-of-level)
16038 (allout-previous-visible-heading, allout-forward-current-level)
16039 (allout-backward-current-level, allout-show-children):
16040 * apropos.el (apropos-describe-plist):
16041 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16042 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16043 * completion.el (add-completion, add-permanent-completion):
16044 * descr-text.el (describe-text-category, describe-char):
16045 * desktop.el (desktop-lazy-abort):
16046 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16047 * dired.el (dired-build-subdir-alist):
16048 * ediff.el (ediff-version):
16049 * elide-head.el (elide-head, elide-head-show):
16050 * emerge.el (emerge-version):
16052 * face-remap.el (variable-pitch-mode):
16053 * faces.el (describe-face):
16054 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16056 * files.el (find-file-existing, auto-save-mode):
16057 * font-lock.el (font-lock-fontify-buffer):
16058 * help-fns.el (describe-function, describe-variable)
16059 (describe-syntax, describe-categories):
16060 * help.el (view-lossage, describe-bindings, describe-key)
16062 * hexl.el (hexl-current-address):
16063 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16064 * info.el (Info-goto-emacs-key-command-node):
16065 * log-edit.el (log-edit-insert-cvs-template)
16066 (log-edit-insert-cvs-rcstemplate):
16067 * menu-bar.el (menu-bar-mode):
16068 * mouse.el (mouse-appearance-menu):
16069 * newcomment.el (comment-indent-new-line):
16070 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16071 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16072 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16073 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16074 * recentf.el (recentf-mode):
16075 * savehist.el (savehist-mode, savehist-save):
16076 * shadowfile.el (shadow-copy-files):
16077 * simple.el (kill-ring-save, next-line, previous-line)
16078 (normal-erase-is-backspace-mode):
16079 * strokes.el (strokes-update-window-configuration)
16080 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16081 (strokes-xpm-for-stroke):
16082 * time.el (emacs-uptime, emacs-init-time):
16083 * tutorial.el (tutorial--describe-nonstandard-key)
16084 (tutorial--detailed-help):
16085 * type-break.el (type-break-mode)
16086 (type-break-mode-line-message-mode, type-break-query-mode)
16087 (type-break-guesstimate-keystroke-threshold):
16088 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16089 * version.el (emacs-version):
16090 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16091 * winner.el (winner-mode):
16092 * calendar/timeclock.el (timeclock-in, timeclock-out)
16093 (timeclock-status-string, timeclock-change)
16094 (timeclock-workday-remaining-string)
16095 (timeclock-workday-elapsed-string)
16096 (timeclock-when-to-leave-string):
16097 * calendar/todo-mode.el (todo-add-category):
16098 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16099 * emacs-lisp/autoload.el (update-file-autoloads):
16100 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16101 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16102 (checkdoc-message-text, checkdoc-defun):
16103 * emacs-lisp/debug.el (debugger-list-functions):
16104 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16105 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16106 (eieio-describe-generic):
16107 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16108 * emacs-lisp/shadow.el (list-load-path-shadows):
16109 * emulation/cua-base.el (cua-mode):
16110 * emulation/edt.el (edt-set-scroll-margins):
16111 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16112 (tpu-toggle-regexp, tpu-toggle-search-direction)
16113 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16114 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16115 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16116 (viper-set-parsing-style-toggling-macro)
16117 (viper-set-emacs-state-searchstyle-macros):
16118 * emulation/viper.el (viper-set-hooks):
16119 * eshell/esh-mode.el (eshell-truncate-buffer):
16120 * international/mule-cmds.el (prefer-coding-system)
16121 (describe-input-method, describe-language-environment):
16122 * international/mule-diag.el (list-character-sets)
16123 (describe-character-set, describe-coding-system)
16124 (describe-fontset, list-fontsets, list-input-methods):
16125 * mail/sendmail.el (mail-signature):
16126 * net/ange-ftp.el (ange-ftp-copy-file):
16127 * net/browse-url.el (browse-url):
16128 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16129 * net/quickurl.el (quickurl-add-url):
16130 * net/rcirc.el (names, topic):
16131 * net/xesam.el (xesam-mode):
16132 * play/5x5.el (5x5-new-game):
16133 * play/yow.el (apropos-zippy):
16134 * progmodes/ada-mode.el (ada-mode-version):
16135 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16137 (f90-beginning-of-block):
16138 * progmodes/fortran.el (fortran-end-of-block)
16139 (fortran-beginning-of-block):
16140 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16141 * progmodes/python.el (python-describe-symbol, python-shell):
16142 * term/ns-win.el (ns-print-buffer):
16143 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16144 * textmodes/flyspell.el (flyspell-mode-on):
16145 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16146 (pages-directory-for-addresses):
16147 * textmodes/table.el (table-recognize-cell)
16148 (table-query-dimension, table-generate-source)
16149 (table-insert-sequence, table--warn-incompatibility):
16150 * textmodes/tex-mode.el (tex-validate-buffer):
16151 * textmodes/texinfmt.el (texinfmt-version)
16152 (texinfo-format-buffer):
16153 Use `called-interactively-p' instead of `interactive-p'.
16155 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16157 * image-mode.el (image-toggle-display):
16158 * emacs-lisp/elp.el (elp-instrument-function):
16159 * emacs-lisp/advice.el (ad-make-advised-definition):
16160 * emacs-lisp/easy-mmode.el (define-minor-mode):
16161 * net/browse-url.el (browse-url-maybe-new-window):
16162 * progmodes/sh-script.el (sh-learn-buffer-indent):
16163 Pass new argument 'any to `called-interactively-p'.
16165 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16167 * international/uni-bidi.el:
16168 * international/uni-category.el:
16169 * international/uni-combining.el:
16170 * international/uni-comment.el:
16171 * international/uni-decimal.el:
16172 * international/uni-decomposition.el:
16173 * international/uni-digit.el:
16174 * international/uni-lowercase.el:
16175 * international/uni-mirrored.el:
16176 * international/uni-name.el:
16177 * international/uni-numeric.el:
16178 * international/uni-old-name.el:
16179 * international/uni-titlecase.el:
16180 * international/uni-uppercase.el:
16181 Regenerate from Unicode 5.2.0 data.
16183 2009-10-01 Glenn Morris <rgm@gnu.org>
16185 * Makefile.in (ELCFILES): Regenerate.
16187 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16189 * subr.el (interactive-p): Mark obsolete.
16190 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16191 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16192 advertised-signature-table for subroutines as well.
16194 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16195 (set-advertised-calling-convention): New function.
16196 (make-obsolete, define-obsolete-function-alias)
16197 (make-obsolete-variable, define-obsolete-variable-alias):
16198 Make the optional-ness of `when' obsolete.
16199 (define-obsolete-face-alias): Make `when' non-optional.
16200 * help-fns.el (help-function-arglist):
16201 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16202 Use advertised-signature-table.
16204 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16206 * files.el (delete-directory): New defun. The original function
16207 in fileio.c has been renamed to `delete-directory-internal'.
16209 * dired.el (dired-delete-file): Call `delete-directory' with
16210 RECURSIVE parameter.
16212 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16213 parameter RECURSIVE. Implementation is missing.
16215 * net/tramp.el (tramp-handle-make-directory): Flush upper
16216 directory's file properties.
16217 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16218 (tramp-handle-dired-recursive-delete-directory): Flush directory
16219 properties after the remove command only.
16221 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16222 Handle optional parameter RECURSIVE.
16224 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16225 Handle optional parameter RECURSIVE.
16227 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16228 connection timeout.
16229 (tramp-smb-handle-delete-directory): Handle optional parameter
16232 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16234 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16235 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16236 (byte-compile-defmacro): Use backquotes.
16238 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16240 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16241 has no associated file.
16242 (vc-resynch-buffer): Use vc-dir-buffers.
16244 2009-10-01 Glenn Morris <rgm@gnu.org>
16246 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16247 (chart-file-count):
16248 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16249 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16250 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16251 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16252 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16253 (eieio-copy-parents-into-subclass, make-instance, class-children)
16254 (eieio-generic-form):
16256 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16257 match-data. (Bug#4555).
16259 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16260 rather than parsing it as a regexp. This relaxes the layout
16261 requirements and makes errors easier to detect.
16262 (check-declare-verify): Check file is regular.
16263 (check-declare-directory): Doc fix.
16264 * subr.el (declare-function): Doc fix.
16266 * ibuffer.el (ibuffer-format-qualifier):
16267 * isearch.el (hi-lock-regexp-okay):
16268 * calc/calc.el (math-zerop):
16269 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16270 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16271 Remove unused declarations.
16273 2009-09-30 Eric Ludlam <zappo@gnu.org>
16275 * emacs-lisp/eieio.el (boolean-p): Delete.
16277 2009-09-30 Glenn Morris <rgm@gnu.org>
16279 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16281 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16282 filename is not a string.
16284 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16286 * files.el (safe-local-eval-forms): Fix typo.
16288 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16290 * vc-hooks.el (vc-dir-buffers): New var.
16291 (vc-state-refresh): New function.
16292 (vc-state): Use it.
16293 (vc-after-save): Always ask the backend to recompute the new state.
16294 Always call vc-dir if necessary, using vc-dir-buffers.
16295 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16296 Use vc-dir-buffers.
16297 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16298 (vc-dir-prepare-status-buffer, vc-dir-update)
16299 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16300 Don't call expand-file-name on default-directory.
16302 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16304 * speedbar.el (speedbar-item-delete):
16305 * calc/calc-prog.el (calc-kbd-if):
16306 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16308 * epa.el (epa-key-list-mode-map):
16309 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16311 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16312 (hs-show-hook): Fix typo in docstring.
16314 2009-09-29 Glenn Morris <rgm@gnu.org>
16316 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16317 file-name-nondirectory call preventing location of cedet files.
16318 (check-declare-verify): Use literal search rather than re-search.
16319 Add basic defmethod and defclass, and define-overloadable-function.
16321 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16322 Use tramp-compat-file-attributes rather than nonexistent
16323 tramp-compat-handle-file-attributes.
16325 * Makefile.in (lisptagsfiles4): New.
16326 (AUTOGENEL): Add cedet loaddefs files.
16327 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16328 (update-elclist, compile-always, backup-compiled-files)
16329 (bootstrap-clean): Add yet another directory level.
16330 (update-elclist): Use LC_COLLATE rather than COLLATE.
16331 (ELCFILES): Update, via `make update-elclist'.
16333 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16335 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16336 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16337 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16339 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16341 * Makefile.in (lisptagsfiles3): Define.
16342 (TAGS, TAGS-LISP): Use it.
16343 (update-elclist): Add third directory level to look for elc files.
16344 (compile-always): Likewise.
16345 (backup-compiled-files): Likewise.
16346 (bootstrap-clean): Likewise.
16347 (ELCFILES): Update.
16349 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16351 * Makefile.in (ELCFILES): Add CEDET files.
16353 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16355 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16357 * net/tramp.el (top): Require tramp-imap.
16359 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16360 Use `tramp-compat-handle-file-attributes'.
16362 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16364 * net/tramp-imap.el: New package.
16366 2009-09-28 Eric Ludlam <zappo@gnu.org>
16368 * emacs-lisp/chart.el:
16369 * emacs-lisp/eieio-base.el:
16370 * emacs-lisp/eieio-comp.el:
16371 * emacs-lisp/eieio-custom.el:
16372 * emacs-lisp/eieio-datadebug.el:
16373 * emacs-lisp/eieio-opt.el:
16374 * emacs-lisp/eieio-speedbar.el:
16375 * emacs-lisp/eieio.el: New files.
16377 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16379 * whitespace.el (whitespace-trailing-regexp)
16380 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16383 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16385 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16388 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16389 menu-bar-ediff-menu.
16391 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16392 define-overloadable-function.
16394 * progmodes/autoconf.el: Provide autoconf as well, so that this
16395 file can be `require'd.
16397 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16399 * emacs-lisp/autoload.el (generated-autoload-feature)
16400 (generated-autoload-load-name): New vars.
16401 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16402 (make-autoload): Recognize define-overloadable-function and
16403 defclass forms (for EIEIO).
16405 * Makefile.in (update-subdirs): Exclude cedet directory.
16407 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16409 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16411 * faces.el: Default light-background background for region face to
16412 ns_selection_color under NS.
16414 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16416 * net/imap-hash.el: New library, see NEWS.
16418 * Makefile.in (ELCFILES): Add imap-hash.el.
16420 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16423 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16424 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16425 definition where the docstring could be taken for the return value.
16427 2009-09-26 Glenn Morris <rgm@gnu.org>
16429 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16430 Add option to only show images below a certain size.
16431 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16432 save-excursion calls.
16434 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16436 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16437 subdirectories) and eieio.
16439 2009-09-26 Alan Mackenzie <acm@muc.de>
16441 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16442 Correct buggy bracketing. (Bug#4289)
16444 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16445 character constants (as case labels). (Bug#4289)
16447 2009-09-25 Juri Linkov <juri@jurta.org>
16449 * files.el (safe-local-eval-forms): Allow time-stamp in
16450 before-save-hook (Bug#4554).
16452 2009-09-25 Drew Adams <drew.adams@oracle.com>
16454 * menu-bar.el (list-buffers-directory): Doc fix.
16456 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16458 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16459 Try and avoid copying twice the same paragraph.
16460 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16461 Remove save-excursion.
16462 (log-edit-changelog-entry): Do it here instead.
16464 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16466 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16467 when available, instead of hardcoding mode names. Doc fix.
16469 * menu-bar.el (list-buffers-directory): Add docstring.
16470 Make automatically buffer-local.
16472 * dired.el (dired-mode):
16473 * files.el (cd-absolute):
16474 * pcvs.el (cvs-temp-buffer):
16475 * pcvs-util.el (cvs-get-buffer-create):
16476 * shell.el (shell-mode):
16477 * vc-dir.el (vc-dir-mode):
16478 Don't make `list-buffers-directory' buffer local.
16480 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16482 * comint.el (comint-exec, comint-run, make-comint):
16483 Doc fixes (Bug#4542).
16485 2009-09-25 Glenn Morris <rgm@gnu.org>
16487 * mail/rmailmm.el (rmail-mime): New custom group.
16488 Move all defcustoms in this file into this group.
16489 (rmail-mime-media-type-handlers-alist): Revert previous change.
16490 (rmail-mime-show-images): New option.
16491 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16492 references to it, since it wasn't actually used for anything.
16493 (rmail-mime-insert-image): New function.
16494 (rmail-mime-image): Use rmail-mime-insert-image.
16495 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16496 obey the value of `rmail-mime-show-images' option. Print the size of
16499 2009-09-25 David Engster <deng@randomsample.de>
16501 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16503 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16505 * whitespace.el: Does not highlight trailing spaces While point is
16506 at end of line. Does not highligt spaces at beginning of buffer
16507 while point is at beginning of buffer. Does not highlight spaces
16508 at end of buffer while point is at end of buffer. (Bug#4177)
16510 (whitespace-display-mappings): Adjust initialization.
16511 (whitespace-point, whitespace-font-lock-refontify): New vars.
16512 (whitespace-color-on, whitespace-color-off): Adjust code.
16513 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16514 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16515 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16517 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16519 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16521 * textmodes/sgml-mode.el: Remove xml-mode alias.
16523 * files.el (auto-mode-alist, conf-mode-maybe)
16524 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16526 2009-09-24 Alan Mackenzie <acm@muc.de>
16528 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16529 c-forward-conditionals, but it doesn't move point and doesn't set
16531 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16532 (c-down-conditional-with-else, c-backward-conditional)
16533 (c-forward-conditional): Refactor to use c-scan-conditionals.
16535 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16537 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16538 (help-default-arg-highlight): Remove.
16539 (help-highlight-arg): New function.
16540 (help-do-arg-highlight): Use it.
16541 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16543 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16545 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16546 Undo last change, which didn't fix the problem and introduced others.
16548 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16550 * progmodes/gdb-mi.el: Don't require speedbar.
16551 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16553 2009-09-24 Glenn Morris <rgm@gnu.org>
16555 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16557 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16559 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16560 there is no newline after the final mime boundary. (Bug#4539)
16561 Move markers on insertion so that any buttons inserted don't end up in
16562 the next part of a multipart message.
16563 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16564 (rmail-mime-bulk-handler): Optionally handle images.
16565 (rmail-mime-image): New button action.
16566 (rmail-mime-image-handler): New function.
16567 (rmail-mime-mode): New mode.
16568 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16570 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16572 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16573 than just dropping elements from it (bug#4504).
16575 * term.el (term-set-scroll-region): Don't move cursor any more.
16576 (term-handle-ansi-escape): Call term-goto here instead.
16577 Suggested by Ivan Kanis <apple@kanis.eu>.
16579 * term.el: Require CL.
16580 (term-ansi-reset): New function.
16581 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16582 (term-handle-colors-array): Simplify.
16584 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16586 * allout.el (allout-overlay-interior-modification-handler)
16587 (allout-obtain-passphrase):
16588 * epa-file.el (epa-file-write-region):
16589 * ps-print.el (ps-begin-job):
16590 * vc-hooks.el (vc-toggle-read-only):
16591 * vc-rcs.el (vc-rcs-rollback):
16592 * vc-sccs.el (vc-sccs-rollback):
16593 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16594 (vc-version-diff, vc-revert, vc-rollback):
16595 * wdired.el (wdired-check-kill-buffer):
16596 * emacs-lisp/authors.el (authors):
16597 * net/socks.el (socks-open-connection):
16598 * net/zeroconf.el (zeroconf-service-add-hook):
16599 * obsolete/vc-mcvs.el (vc-mcvs-register):
16600 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16601 (gdb-select-frame):
16602 * progmodes/grep.el (lgrep, rgrep):
16603 * progmodes/idlw-help.el (idlwave-help-check-locations)
16604 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16605 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16606 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16607 (reftex-toc-rename-label): Fix typos in error messages.
16609 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16610 (dired-copy-how-to-fn): Doc fix.
16611 (dired-files-attributes, dired-read-shell-command):
16612 Fix typos in docstrings.
16614 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16615 (dired-x-find-file-other-window): Reflow docstrings.
16616 (dired-omit-marker-char, dired-read-shell-command)
16617 (dired-x-submit-report): Fix typos in docstrings.
16619 * shell.el (shell-mode-hook):
16620 * view.el (View-scroll-line-forward):
16621 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16622 Fix typos in docstrings.
16624 * net/dig.el (dig-invoke): Fix typo in docstring.
16625 (query-dig): Reflow docstring.
16627 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16628 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16629 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16630 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16631 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16632 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16633 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16634 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16635 (idlwave-completion-map, idlwave-current-indent)
16636 (idlwave-custom-ampersand-surround, idlwave-customize)
16637 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16638 (idlwave-define-abbrev, idlwave-determine-class-special)
16639 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16640 (idlwave-end-block-reg, idlwave-end-of-statement)
16641 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16642 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16643 (idlwave-explicit-class-listed, idlwave-file-header)
16644 (idlwave-fill-paragraph, idlwave-find-class-definition)
16645 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16646 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16647 (idlwave-in-quote, idlwave-indent-action-table)
16648 (idlwave-indent-expand-table, idlwave-indent-line)
16649 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16650 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16651 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16652 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16653 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16654 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16655 (idlwave-outlawed-buffers, idlwave-popup-select)
16656 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16657 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16658 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16659 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16660 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16661 (idlwave-statement-type, idlwave-struct-skip)
16662 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16663 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16664 (idlwave-what-module-find-class): Fix typos in docstrings.
16665 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16666 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16667 (idlwave-find-module, idlwave-find-structure-definition)
16668 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16669 (idlwave-list-load-path-shadows, idlwave-next-statement)
16670 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16671 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16672 (idlwave-template): Reflow docstrings.
16674 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16675 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16676 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16677 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16678 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16679 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16680 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16681 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16682 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16683 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16684 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16685 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16686 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16687 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16688 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16689 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16690 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16691 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16692 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16693 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16694 Fix typos in docstrings.
16695 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16696 (idlwave-shell-hide-output, idlwave-shell-mode)
16697 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16700 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16702 2009-09-24 Ivan Kanis <apple@kanis.eu>
16704 * term.el (term-bold-attribute): New var.
16705 (term-handle-colors-array): Use it.
16707 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16709 * progmodes/gdb-mi.el (gdb-version): New variable.
16710 (gdb-non-stop-handler): Set gdb-version.
16711 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16712 Condition "--thread" option on gdb-version.
16713 (gdb-invalidate-threads): Remove unused argument.
16715 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16717 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16718 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16720 2009-09-23 Glenn Morris <rgm@gnu.org>
16722 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16723 replying to mail without References or Message-Id. (Bug#4525)
16725 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16727 * term/ns-win.el (ns-reg-to-script): New variable.
16729 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16731 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16733 2009-09-22 Sam Steingold <sds@gnu.org>
16735 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16736 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16737 to 1 because hg returns status 1 when nothing is found.
16738 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16740 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16742 * textmodes/fill.el: Convert to utf-8 encoding.
16743 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16746 * add-log.el (change-log-fill-forward-paragraph): New function.
16747 (change-log-mode): Use it so fill-region DTRT.
16748 Set fill-indent-according-to-mode here rather than in
16749 change-log-fill-paragraph.
16750 (change-log-fill-paragraph): Remove.
16752 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16754 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16755 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16757 2009-09-22 Glenn Morris <rgm@gnu.org>
16759 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16760 the scroll-bar scroll the calendar window rather than the buffer.
16762 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16763 commands that move point (as opposed to scrolling).
16765 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16767 * emacs-lisp/elint.el (elint): New custom group.
16768 (elint-log-buffer): Make it a defcustom.
16769 (elint-scan-preloaded, elint-ignored-warnings)
16770 (elint-directory-skip-re): New options.
16771 (elint-builtin-variables): Doc fix.
16772 (elint-preloaded-env): New variable.
16773 (elint-unknown-builtin-args): Add an entry for encode-time.
16774 (elint-extra-errors): Make it a variable rather than a constant.
16775 (elint-preloaded-skip-re): New constant.
16776 (elint-directory): Skip files matching elint-directory-skip-re.
16777 (elint-features): New variable, local to linted buffers.
16778 (elint-update-env): Initialize elint-features. Possibly add
16779 elint-preloaded-env to the buffer's environment.
16780 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16782 (elint-init-form): New function, extracted from elint-init-env.
16783 Make non-list forms a warning rather than an error.
16784 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16785 easy-menu-define, put that adds an error-condition, and provide.
16786 When requiring cl, also require cl-macs. Really require cl, to handle
16787 some cl macros. Store required libraries in the list elint-features,
16788 so as not to re-load them. Treat cc-require like require.
16789 (elint-init-env): Call elint-init-form to do the work.
16790 Handle eval-and-compile and such like.
16791 (elint-add-required-env): Do not clear messages.
16792 (elint-special-forms): Add handlers for function, defalias, if, when,
16794 (elint-form): Add optional argument to ignore elint-special-forms,
16795 useful to prevent recursive calls from handlers. Doc fix.
16796 Respect elint-ignored-warnings.
16797 (elint-form): Respect elint-ignored-warnings.
16798 (elint-bound-variable, elint-bound-function): New variables.
16799 (elint-unbound-variable): Respect elint-bound-variable.
16800 (elint-get-args): Respect elint-bound-function.
16801 (elint-check-cond-form): Add some simple handling for (f)boundp and
16803 (elint-check-defalias-form): New handler.
16804 (elint-check-let-form): Make an empty let a warning rather than an
16806 (elint-check-setq-form): Make an empty setq a warning rather than an
16807 error. Respect elint-ignored-warnings.
16808 (elint-check-defvar-form): Accept null doc-strings.
16809 (elint-check-conditional-form): New handler. Does some simple-minded
16810 checking of featurep and (f)boundp tests.
16811 (elint-put-function-args): New function.
16812 (elint-initialize): Use elint-scan-doc-file rather than
16813 elint-find-builtin-variables. Use elint-put-function-args.
16814 Possibly scan preloaded-file-list.
16815 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16816 extend to handle functions as well.
16818 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16820 * linum.el (linum-delete-overlays, linum-update-window):
16821 Do not modify the right margin. (Bug#3971)
16823 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16825 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16826 Use nxml-mode instead of xml-mode.
16828 2009-09-21 Kevin Ryde <user42@zip.com.au>
16830 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16832 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16834 * net/dig.el (dig-mode): Use define-derived-mode.
16836 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16838 * vc-dispatcher.el (vc-do-command): Return the process object in
16839 the asynchronous case. Use when instead of if. Do not run
16840 vc-exec-after to display a message if not enabled. (Bug#4463)
16842 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16843 properties to the stash strings.
16844 (vc-git-stash-list): Return a list of strings.
16845 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16846 (vc-git-stash-show-at-point): New functions.
16847 (vc-git-stash-map): New keymap.
16849 * register.el (ctl-x-r-map): Define the keys here instead of
16852 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16854 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16855 list, to workaround performance problem (bug#4485).
16857 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16859 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16861 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16863 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16864 Document that this option is not recommended to use.
16866 2009-09-19 Glenn Morris <rgm@gnu.org>
16868 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16871 * calc/calc-alg.el (var):
16872 * calc/calcalg2.el (var): Define for compiler.
16874 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16876 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16877 Doc fix (Bug#3932).
16879 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16881 * time-stamp.el (time-stamp-month-dd-yyyy)
16882 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16883 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16884 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16885 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16886 Remove functions that have been obsolete since 1995 (Bug#4436).
16888 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16889 indent buffer only if called interactively (Bug#4452).
16891 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16892 Eli Zaretskii <eliz@gnu.org>
16894 This fixes bug#4197 (merged to bug#865, though not identical).
16895 * server.el (server-auth-dir): Add docstring note about FAT32.
16896 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16897 but warn against using them.
16899 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16901 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16902 older GDB where there is no has_more field.
16904 2009-09-19 Glenn Morris <rgm@gnu.org>
16906 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16908 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16910 * files.el (auto-mode-alist): Change default for XML files to nXML
16913 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16915 * server.el (server-ensure-safe-dir): Pass 'integer
16916 to `file-attributes', as suggested.
16918 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16921 (dired-query): Use read-key.
16923 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16925 * cus-start.el (ns-use-qd-smoothing): Remove.
16927 2009-09-18 Glenn Morris <rgm@gnu.org>
16929 * allout.el (top-level): Remove unnecessary progn.
16931 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16933 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16934 definition of abbrev table.
16936 * speedbar.el (speedbar-track-mouse):
16937 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16938 * net/eudc.el (eudc-expand-inline):
16939 * net/newst-backend.el (newsticker--cache-read-feed):
16940 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16941 condition-case handlers.
16943 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16945 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16946 (gdb-var-list): Add an element for has_more field.
16947 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16948 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16949 (gdb-var-update-handler-1): Parse output of dynamic variable
16950 objects (STL containers).
16951 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16952 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16954 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16956 (gud-speedbar-buttons): Make node expandable if expression "has more"
16959 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16961 * startup.el (emacs-quick-startup): Remove variable and all uses.
16962 (command-line): Set `inhibit-x-resources' instead.
16963 (command-line-1): Use `inhibit-x-resources' instead.
16965 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16967 * subr.el: Fix last change to avoid using the `unless' macro,
16968 which breaks bootstrapping.
16970 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16972 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16973 extended definitions, in case we reload subr.el after having
16975 (eval-next-after-load): Mark as obsolete.
16977 2009-09-17 Juri Linkov <juri@jurta.org>
16979 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16980 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16981 (menu-bar-showhide-menu, menu-bar-tools-menu)
16982 (menu-bar-describe-menu, menu-bar-help-menu)
16983 (minibuffer-local-completion-map, minibuffer-local-map):
16986 2009-09-17 Glenn Morris <rgm@gnu.org>
16988 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16989 arguments, whether or not it has a handler.
16991 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16993 * simple.el (hard-newline): Give it a doc-string.
16995 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16996 (lisp-mode-syntax-table): Give them doc-strings.
16998 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17000 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17001 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17002 (menu-bar-options-menu, menu-bar-showhide-menu)
17003 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17004 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17005 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17006 (menu-bar-options-menu, menu-bar-tools-menu)
17007 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17008 (menu-bar-help-menu):
17009 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17012 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17013 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17014 calls for the menu names and :help.
17016 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17018 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17019 to :minor-mode-function (bug#4455).
17021 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17023 * startup.el (command-line): Initialize the window-system after
17024 processing the command-line.
17026 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17027 page-delimiter matches the empty string.
17029 2009-09-16 Glenn Morris <rgm@gnu.org>
17031 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17032 byte-compile-not-obsolete-var. It's a list now.
17033 (byte-compile-not-obsolete-funcs): New variable.
17034 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17035 byte-compile-not-obsolete-funcs.
17036 (byte-compile-variable-ref, byte-compile-defvar): Update for
17037 byte-compile-not-obsolete-vars name-change and list nature.
17038 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17039 and variables behind (f)boundp tests.
17040 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17042 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17044 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17046 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17048 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17049 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17052 2009-09-15 Stephen Eglen <stephen@gnu.org>
17054 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17055 the virtual-buffers, use the name of the buffer specified by
17056 find-file-noselect, as the match may be a symlink. (This was a
17057 problem if the target and the symlink had different names.)
17059 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17063 * desktop.el (desktop-path): Check user-emacs-directory.
17065 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17067 * loadup.el: Use after-load-functions to GC after loading each file.
17068 Remove the explicit GC calls that used to be sprinkled around.
17070 * subr.el (after-load-functions): New hook.
17071 (do-after-load-evaluation): Run it. Use string-match-p to detect
17072 `obsolete' packages, rather than painfully extracting the relevant
17075 2009-09-15 Glenn Morris <rgm@gnu.org>
17077 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17078 free variable `doc'.
17080 * dired.el (dired-mode-map): Add menu entry for async shell command.
17082 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17083 variables, also consider the .elc files, since the .el files are
17084 normally gzipped (subsequent code locates the .el.gz from the .elc).
17086 * calc/calc-prog.el (arglist): Define for compiler.
17088 * calendar/diary-lib.el (diary-display-function): Change the default to
17090 (body): Define for compiler.
17092 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17093 (byte-compile-file-form, byte-compile-lambda)
17094 (byte-compile-top-level-body, byte-compile-form)
17095 (byte-compile-variable-ref, byte-compile-setq)
17096 (byte-compile-setq-default, byte-compile-body)
17097 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17098 (batch-byte-compile): Give some more local variables with common names
17099 a "bytecomp-" prefix to avoid masking warnings about free variables.
17101 * startup.el (command-line-1): Give local variables with common names a
17102 distinguishing prefix, so as not to hide free variable warnings during
17105 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17106 clever and add a suffix to make a unique name, just let the user decide
17107 whether or not to overwrite it. If the input is a directory, write the
17108 default filename to that directory. (Bug#4388)
17109 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17110 is a filename-as-a-directory.
17112 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * textmodes/page.el (what-page): Don't move to beginning of line.
17115 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17117 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17119 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17121 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17123 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17124 * help.el (help-for-help-internal): Add purecopy calls for text.
17126 * vc.el (top): print-log method now takes an optional SHORTLOG
17127 argument. Add a new method: root.
17128 (vc-root-diff, vc-print-root-log): New functions.
17129 (vc-log-short-style): New variable.
17130 (vc-print-log-internal): Add support for showing short logs.
17132 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17133 vc-print-root-log and vc-print-root-diff.
17135 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17136 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17137 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17140 * vc-cvs.el (vc-cvs-print-log):
17141 * vc-mtn.el (vc-mtn-print-log):
17142 * vc-rcs.el (vc-rcs-print-log):
17143 * vc-sccs.el (vc-sccs-print-log):
17144 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17145 that is ignored for now.
17147 * vc-mtn.el (vc-mtn-annotate-command):
17148 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17150 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17152 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17153 to function-key-map, and give them ascii-character property.
17154 * term/x-win.el (x-alternatives-map):
17155 * term/ns-win.el (ns-alternatives-map):
17156 * term/internal.el (msdos-key-remapping-map):
17157 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17159 2009-09-14 Glenn Morris <rgm@gnu.org>
17161 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17162 temp-buffers (2009-09-12).
17164 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17166 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17167 the new read-key function.
17169 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17171 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17172 is defined (Bug#4405).
17174 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17176 * recentf.el (recentf-cleanup): Use a hash table to find
17177 duplicates (Bug#4407).
17179 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17181 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17182 kp-0 to ascii equivalents (Bug#4325).
17184 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17186 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17188 * eshell/em-hist.el:
17189 * eshell/em-dirs.el (eshell-complete-user-reference):
17190 Declare pcomplete functions and variables to avoid compiler warnings.
17192 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17194 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17195 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17196 * eshell/em-alias.el (eshell-aliases-file):
17197 * eshell/em-hist.el (eshell-history-file-name):
17198 Use expand-file-name instead of concat to make file names (Bug#4308).
17200 2009-09-13 Glenn Morris <rgm@gnu.org>
17202 * ediff-merg.el (ediff-do-merge):
17203 * filesets.el (filesets-run-cmd):
17204 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17205 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17206 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17207 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17208 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17209 Replace empty `let's with `progn'.
17211 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17213 * mail/sendmail.el (send-mail-function):
17214 * tooltip.el (tooltip-mode):
17215 * simple.el (transient-mark-mode):
17216 * rfn-eshadow.el (file-name-shadow-mode):
17217 * frame.el (blink-cursor-mode):
17218 * font-core.el (global-font-lock-mode):
17219 * files.el (temporary-file-directory)
17220 (small-temporary-file-directory, auto-save-file-name-transforms):
17221 * epa-hook.el (auto-encryption-mode):
17222 * composite.el (global-auto-composition-mode):
17223 Use custom-initialize-delay.
17224 * startup.el (command-line): Don't explicitly call
17225 custom-reevaluate-setting for all the above vars.
17226 * custom.el (custom-initialize-safe-set)
17227 (custom-initialize-safe-default): Delete.
17229 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * term/x-win.el (x-initialize-window-system):
17232 * term/w32-win.el (w32-initialize-window-system):
17233 * term/ns-win.el (ns-initialize-window-system): Don't call
17234 mouse-wheel-mode since it's enabled globally by default already.
17236 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17237 actually define the variable, but only silences the byte-compiler.
17238 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17239 before looking it up.
17240 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17243 2009-09-12 Glenn Morris <rgm@gnu.org>
17245 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17247 (elint-add-required-env): Don't beep on error.
17248 (elint-forms): In case of error, return ENV unchanged.
17249 (elint-init-env): Skip non-list forms.
17250 (elint-log): Handle unknown file positions.
17252 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17254 * epg.el (epg-make-context): Add autoload cookie.
17255 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17256 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17257 (epg-verify-string, epg-start-sign, epg-sign-file)
17258 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17259 (epg-encrypt-string, epg-start-export-keys)
17260 (epg-export-keys-to-file, epg-export-keys-to-string)
17261 (epg-start-import-keys, epg-import-keys-from-file)
17262 (epg-import-keys-from-string, epg-start-receive-keys)
17263 (epg-receive-keys, epg-import-keys-from-server)
17264 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17265 (epg-sign-keys, epg-start-generate-key)
17266 (epg-generate-key-from-file, epg-generate-key-from-string):
17267 Remove autoload cookie.
17269 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17271 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17272 reevaluation of trash-directory.
17274 * mwheel.el: Fix last change.
17275 (mouse-wheel-mode): New defvar.
17276 (mouse-wheel-mode): Remove autoload cookie.
17278 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17280 * mwheel.el (mwheel-installed-bindings): New var.
17281 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17282 the bindings we set last time. Use custom-initialize-delay.
17283 * loadup.el: Load mwheel after term/*-win.el.
17284 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17285 and mouse-wheel-up-event now that their first evaluation is done
17286 sufficiently late to be correct.
17288 * startup.el (tutorial-directory): Make it a defcustom.
17289 Use custom-initialize-delay rather than eval-at-startup to set it.
17290 * image.el (image-load-path): Make it a defcustom.
17291 Use custom-initialize-delay rather than eval-at-startup to set it.
17292 * subr.el (eval-at-startup): Remove.
17293 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17295 * subr.el (do-after-load-evaluation): Warn the user after loading an
17298 2009-09-12 Glenn Morris <rgm@gnu.org>
17300 * proced.el (proced-mark-alt): Remove alias.
17301 (proced-mode-map): Remove proced-mark-alt.
17303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17304 Elint file and directory. Remove initialization entry.
17306 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17308 (elint-current-buffer): Set mode-line-process.
17309 (elint-init-env): Handle define-derived-mode.
17310 Fix declare-function with unspecified arglist. Guard against odd
17311 defalias statements (eg iso-insert's 8859-1-map).
17312 (elint-add-required-env): Use a temp buffer.
17313 (elint-form): Just print the function/macro name, not the whole form.
17314 Return env unchanged if we fail to parse a macro.
17315 (elint-forms): Guard against parse errors.
17316 (elint-output): New function, to handle batch mode.
17317 (elint-log-message): Add optional argument. Use elint-output.
17318 (elint-set-mode-line): New function.
17320 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17322 * emacs-lisp/elp.el (elp-not-profilable): Add more
17323 functions (Bug#4233).
17325 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17327 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17328 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17330 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17332 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17333 (gdb-var-list-children): Use json parsing.
17335 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17337 * progmodes/js.el (js--proper-indentation): Handle the case where
17338 char-before is null. Reported by Deniz Dogan.
17340 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17342 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17344 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17346 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17347 (epg-digest-algorithm-alist): Add SHA224.
17348 (epg-context-set-passphrase-callback)
17349 (epg-context-set-progress-callback): Add description about
17352 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * custom.el (custom-delayed-init-variables): New var.
17355 (custom-initialize-delay): New function.
17356 * startup.el (command-line): "Re"evaluate all vars in
17357 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17358 explicitly any more.
17359 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17360 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17362 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17364 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17366 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17367 (gdb-var-update-handler): Use json parsing.
17369 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17371 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17372 decode annotated text, regardless of language environment. (Bug#2741)
17374 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17376 * Makefile.in (autoloads): Make rmail.el writable as well.
17378 2009-09-11 Glenn Morris <rgm@gnu.org>
17380 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17382 * dired.el: Regenerate with extracted autoloads.
17383 * Makefile.in (autoloads): Make dired.el writable.
17385 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17386 * ibuffer.el: Regenerate with extracted autoloads.
17387 * Makefile.in (autoloads): Make ibuffer.el writable.
17389 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17390 * version.el (emacs-copyright, emacs-major-version)
17391 (emacs-minor-version): Reformat doc-strings for make-docfile.
17393 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17394 functions and variables, since they must be stuff specific to some other
17396 (apropos-print): Make mouse-click message less specific about button.
17398 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17399 that records where a macro was defined.
17400 * help-fns.el (describe-function-1): Mention if a function has a
17402 * help-mode.el (help-function-cmacro): New button.
17404 * locate.el (top-level): Always require dired.
17405 (locate-mode-map): Initialize inside the defvar.
17407 * net/ange-ftp.el (dired-compress-file): Declare.
17408 (ange-ftp-dired-compress-file): Add doc string.
17410 * term/ns-win.el (x-display-name, x-setup-function-keys):
17411 Unify doc-strings with X versions.
17413 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17415 * emulation/crisp.el (crisp-mode-map): Move initialization
17417 (crisp-mode): Use define-minor-mode.
17419 * progmodes/xscheme.el (xscheme-evaluation-commands):
17420 Put a :advertised-binding property rather than using
17421 advertised-xscheme-send-previous-expression.
17422 (advertised-xscheme-send-previous-expression): Declare obsolete.
17423 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17425 (crisp-mode): Add corresponding bindings to
17426 undo's :advertised-binding instead.
17427 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17428 than using dired-advertised-find-file.
17429 (dired-advertised-find-file):
17430 * simple.el (advertised-undo):
17431 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17432 (widget-keymap): Put a :advertised-binding property rather
17433 than using advertised-widget-backward.
17434 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17435 than using advertised-undo.
17436 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17438 2009-09-10 Simon South <ssouth@slowcomputing.org>
17440 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17441 Mark mode is enabled and region is active; otherwise indent or
17442 insert TAB as usual.
17443 (delphi-mode): Update description of TAB-key binding.
17445 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17447 * subr.el (define-key-rebound-commands): Mark obsolete.
17448 * startup.el (precompute-menubar-bindings): Remove.
17449 (normal-top-level): Remove obsolete code that tried to precompute
17451 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17452 define-key-rebound-commands and precompute-menubar-bindings.
17454 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17456 * net/imap.el (imap-interactive-login): Better messages.
17457 (imap-open): Fix bug with renamed buffer on reconnect.
17458 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17459 for easier debugging and cleaner code. On successful (guessed based on
17460 server capabilities) secondary authentication, set imap-state
17462 (imap-last-authenticator): Define imap-last-authenticator as a variable
17465 2009-09-10 Glenn Morris <rgm@gnu.org>
17467 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17469 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17470 (byte-compile-file-form-autoload): Don't warn about unknown functions
17471 where the autoload statement comes after the use.
17472 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17473 that any handlers inside the body (eg require) are in turn respected.
17475 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17478 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17479 and syntax and abbrev tables basic docs, if they don't have any.
17481 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17483 * international/mule-cmds.el (top-level): Require cl when compiling.
17484 (view-hello-file): Use default-value rather than
17485 default-enable-multibyte-characters.
17487 * progmodes/fortran.el: Move all safe and risky properties into the
17490 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17491 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17492 * mail/undigest.el:
17493 Put autoloads in rmail.el rather than loaddefs.el.
17494 * mail/rmail.el: Regenerate with extracted autoloads.
17496 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17497 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17499 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17501 Reported in thread for Bug#4375.
17502 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17503 "-data-evaluate-expression" instead of print.
17504 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17505 (gdb-tooltip-print): Parse output from above MI command.
17506 (gdb): Revert 2009-08-11 change. User should detach inferior
17509 Remove the word "separate" from IO functions as inferior
17510 output is now never displayed in the GUD buffer.
17512 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17514 * startup.el (command-line-normalize-file-name): On Windows and
17515 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17517 2009-09-10 Juri Linkov <juri@jurta.org>
17519 * isearch.el (isearch-text-char-description): Propertize escape
17520 character sequences with the `escape-glyph' face. (Bug#4344)
17522 * simple.el (shell-command): Set asynchronous process filter to
17523 `comint-output-filter'. (Bug#4343)
17525 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17526 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17527 the list. Move "asm" to the bottom.
17528 (grep-find-ignored-directories): Add `choice' with nil value
17529 to empty the list easily.
17530 (grep-find-ignored-files): New option.
17531 (grep-files-history): Set to nil by default instead of '("ch" "el").
17532 (grep-compute-defaults): Add "<X>" to `grep-template'.
17533 (grep-read-files): Bind new local variables `default-alias' and
17534 `default-extension'. Use a list of default values for the file prompt.
17535 (lgrep): Add `--exclude=' command line options composed from
17536 `grep-find-ignored-files'.
17537 (rgrep): Add `-name' command line options composed from
17538 `grep-find-ignored-files'. (Bug#4301)
17540 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17542 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17545 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17547 * calendar/time-date.el (autoload):
17548 Expand define-obsolete-function-alias into defalias and make-obsolete
17549 for old Emacsen that Gnus supports.
17550 (with-no-warnings): Define it for old Emacsen.
17551 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17553 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17554 float-time is available; suppress compile warning for time-to-seconds.
17556 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17558 * net/imap.el (imap-message-map): Docstring fix.
17560 2009-09-09 Glenn Morris <rgm@gnu.org>
17562 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17563 line numbers too. (Bug#4374)
17565 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17567 * smerge-mode.el (smerge-remove-props, smerge-refine):
17568 Use with-silent-modifications (bug#4342).
17570 * subr.el (with-silent-modifications): New macro.
17572 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17574 * files.el (top-level): Require `cl' when compiling.
17576 2009-09-07 Glenn Morris <rgm@gnu.org>
17578 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17580 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17581 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17583 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17585 * vc-git.el (vc-git-annotate-command): Use separator to parse
17586 arguments correctly.
17588 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17590 * proced.el (proced-mode): Doc fix.
17592 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17594 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17596 (tramp-do-file-attributes-with-ls): Check for file existence at
17598 (tramp-do-file-attributes-with-stat): Likewise.
17599 (tramp-convert-file-attributes): Return nil when attr is nil.
17601 2009-09-05 Glenn Morris <rgm@gnu.org>
17603 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17604 properties to this button.
17605 (diary-fancy-display): Don't extend the button to the final newline.
17606 (diary-fancy-display-mode): Continue to define "q" as a local key.
17608 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17611 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17613 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17614 (byte-compile-dest-file-function): New option.
17615 (byte-compile-dest-file): Doc fix.
17616 Obey byte-compile-dest-file-function.
17617 (byte-compile-cl-file-p): New function.
17618 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17619 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17620 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17621 than for file being previously loaded.
17622 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17623 (byte-compile-file-form-require): Handle the case where requiring a file
17624 indirectly causes CL to be loaded.
17626 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17628 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17629 before killing the old buffer, since by the time `kill-buffer' is
17630 run so many buffer variables have been set to nil that it may not
17631 behave as expected. (Bug#4061)
17633 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17635 * files.el (find-alternate-file): If the old buffer is modified
17636 and visiting a file, behave similarly to `kill-buffer' when
17637 killing it, thus reverting to the pre-1.878 behavior; see
17638 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17639 for discussion. Also, consult `buffer-file-name' as a variable
17640 not as a function, for consistency with the rest of the code.
17642 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17644 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17645 also when adding a new directory.
17647 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17650 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17652 * files.el (locate-file-completion-table): Make it provide boundary
17653 information, so partial-completion works better.
17655 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17657 * mail/footnote.el (Footnote-text-under-cursor):
17658 Check footnote-text-marker-alist before using it (bug#4324).
17660 2009-09-04 Glenn Morris <rgm@gnu.org>
17662 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17663 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17664 * play/solitaire.el, play/tetris.el:
17665 Remove leading * from defcustom and defface docs.
17667 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17669 (diary-fancy-overriding-map): New variable.
17670 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17673 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17676 2009-09-03 Glenn Morris <rgm@gnu.org>
17678 * arc-mode.el (archive-mode):
17679 * dos-fns.el (set-default-process-coding-system):
17680 * man.el (Man-getpage-in-background):
17681 * menu-bar.el (menu-bar-describe-menu):
17682 * server.el (server-process-filter):
17683 * startup.el (command-line):
17684 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17685 * w32-fns.el (set-default-process-coding-system):
17686 * x-dnd.el (x-dnd-handle-file-name):
17687 * international/mule-cmds.el (mule-menu-keymap)
17688 (set-default-coding-systems, language-info-alist, set-language-info)
17689 (set-language-environment, standard-display-european-internal)
17690 (set-locale-environment):
17691 * international/mule-diag.el (mule-diag):
17692 * mail/emacsbug.el (report-emacs-bug):
17693 * mail/rmail.el (rmail-mode):
17694 * mail/sendmail.el (mail-setup):
17695 Use default-value rather than default-enable-multibyte-characters.
17697 * progmodes/f90.el: Move all safe properties into the defcustoms.
17698 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17700 * calendar/appt.el (appt-check):
17701 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17702 (diary-check-diary-file, diary-list-entries)
17703 (diary-include-other-diary-files, diary-simple-display)
17704 (diary-fancy-display, diary-print-entries)
17705 (diary-mark-included-diary-files, diary-make-entry):
17706 Don't call substitute-in-file-name on diary-file.
17708 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17709 Stefan Monnier <monnier@iro.umontreal.ca>
17711 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17712 (footnote-mode-map): Move initialization into the declaration.
17713 (footnote-minor-mode-map): Define it rather than changing global-map.
17714 (footnote-mode): Use define-minor-mode.
17716 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17718 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17719 (tramp-do-file-attributes-with-perl)
17720 (tramp-do-file-attributes-with-stat): Rename from
17721 `tramp-handle-file-attributes-with-*'.
17722 (tramp-handle-file-attributes): Use them.
17723 (tramp-do-directory-files-and-attributes-with-perl)
17724 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17725 `tramp-handle-directory-files-and-attributes-with-*'.
17726 (tramp-handle-directory-files-and-attributes): Use them.
17727 (tramp-method-out-of-band-p): Additional parameter SIZE.
17728 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17729 (tramp-handle-write-region): Use it.
17730 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17731 (tramp-handle-vc-registered): Check, whether the first run did
17732 return files to be tested.
17733 (tramp-advice-make-auto-save-file-name): Do not call directly
17734 `tramp-handle-make-auto-save-file-name', because this would bypass
17735 the locking mechanism.
17737 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17738 (file-remote-p, process-file, start-file-process, set-file-times)
17739 (tramp-compat-file-attributes): Compatibility functions shall not
17740 call directly `tramp-handle-*', because this would bypass the
17742 (tramp-compat-number-sequence): New defun.
17744 2009-09-02 Glenn Morris <rgm@gnu.org>
17746 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17747 alias for float-time.
17748 (time-to-number-of-days): In Emacs, use float-time.
17749 * net/newst-backend.el (time-add): Suppress warnings from compat
17751 * time.el (emacs-uptime, emacs-init-time):
17752 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17753 Use float-time rather than time-to-seconds.
17755 * minibuffer.el (completion-initials-expand): Fix typo.
17757 * faces.el (modeline, modeline-inactive, modeline-highlight)
17758 (modeline-buffer-id):
17759 * info.el (info-menu-5): Mark these face aliases as obsolete.
17761 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17763 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17765 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17766 no "--thread" option.
17767 (gdb-stopped): Don't print "Switched to thread" message when it is
17770 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17772 * minibuffer.el (completion-try-completion)
17773 (completion-all-completions): Remove ill-defined (and
17774 mistakenly installed and luckily never used nor documented)
17775 `completion-styles' property.
17776 (completion-initials-expand, completion-initials-all-completions)
17777 (completion-initials-try-completion): New functions.
17778 (completion-styles-alist): Add doc to each entry.
17779 Add new `initials' entry.
17781 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17783 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17784 MI command -var-evaluate-expression.
17785 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17786 and tweak for case of string child.
17787 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17789 2009-09-01 Glenn Morris <rgm@gnu.org>
17791 * add-log.el (change-log-date-face, change-log-name-face)
17792 (change-log-email-face, change-log-file-face, change-log-list-face)
17793 (change-log-conditionals-face, change-log-function-face)
17794 (change-log-acknowledgement-face):
17795 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17796 (custom-modified-face, custom-set-face, custom-changed-face)
17797 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17798 (custom-documentation-face, custom-state-face, custom-comment-face)
17799 (custom-comment-tag-face, custom-variable-tag-face)
17800 (custom-variable-button-face, custom-face-tag-face)
17801 (custom-group-tag-face-1, custom-group-tag-face):
17802 * diff-mode.el (diff-header-face, diff-file-header-face)
17803 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17804 (diff-added-face, diff-changed-face, diff-function-face)
17805 (diff-context-face, diff-nonexistent-face):
17806 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17807 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17808 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17809 (Info-title-4-face):
17810 * isearch.el (isearch-lazy-highlight-face):
17811 * log-view.el (log-view-file-face, log-view-message-face):
17812 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17813 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17814 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17816 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17817 (smerge-base-face, smerge-markers-face):
17818 * wid-edit.el (widget-documentation-face, widget-button-face)
17819 (widget-field-face, widget-single-line-field-face)
17820 (widget-inactive-face, widget-button-pressed-face):
17821 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17822 (woman-addition-face):
17823 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17824 (eshell-ls-executable-face, eshell-ls-readonly-face)
17825 (eshell-ls-unreadable-face, eshell-ls-special-face)
17826 (eshell-ls-missing-face, eshell-ls-archive-face)
17827 (eshell-ls-backup-face, eshell-ls-product-face)
17828 (eshell-ls-clutter-face):
17829 * eshell/em-prompt.el (eshell-prompt-face):
17830 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17831 * obsolete/old-whitespace.el (whitespace-highlight-face):
17832 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17833 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17834 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17835 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17836 (antlr-font-lock-literal-face):
17837 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17838 (ebrowse-root-class-face, ebrowse-file-name-face)
17839 (ebrowse-default-face, ebrowse-member-attribute-face)
17840 (ebrowse-member-class-face, ebrowse-progress-face):
17841 * progmodes/make-mode.el (makefile-space-face):
17842 * progmodes/sh-script.el (sh-heredoc-face):
17843 * textmodes/flyspell.el (flyspell-incorrect-face)
17844 (flyspell-duplicate-face):
17845 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17846 * textmodes/texinfo.el (texinfo-heading-face):
17847 Mark face aliases with "-face" suffix as obsolete.
17849 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17852 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17853 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17854 easy-menu-define wants to modify these.
17856 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17858 * net/browse-url.el (browse-url-file-url):
17859 * term/internal.el (dos-codepage-setup):
17860 Use default-value rather than default-enable-multibyte-characters.
17862 * progmodes/etags.el (etags-goto-tag-location):
17863 * progmodes/flymake.el (flymake-highlight-line)
17864 (flymake-goto-file-and-line, flymake-goto-line):
17865 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17866 (gdb-goto-breakpoint):
17867 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17868 * progmodes/python.el (python-find-function)
17869 (python-pdbtrack-track-stack-file):
17870 * progmodes/verilog-mode.el (verilog-surelint-off):
17871 * term/ns-win.el (ns-open-file-select-line):
17872 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17873 Use forward-line rather than goto-line.
17875 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17876 * textmodes/reftex-index.el (reftex-display-index):
17877 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17878 * textmodes/reftex-toc.el (reftex-toc):
17879 Remove unnecessary bindings of default-major-mode (all are followed by
17880 major-mode check and possible mode switch).
17882 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17884 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17885 Handle watchpoints (bug#4282).
17886 (def-gdb-thread-buffer-command): Enable thread to be selected by
17887 clicking without selecting threads buffer first.
17888 (gdb-current-context-command): Use selected frame so that "up",
17889 "down" etc work in the GUD buffer.
17890 (gdb-update): Find selected frame before rendering stack buffer.
17891 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17893 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17895 * progmodes/sym-comp.el (displayed-completions): Remove.
17896 (symbol-complete): Use minibuffer-complete.
17898 2009-08-31 Glenn Morris <rgm@gnu.org>
17900 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17902 * apropos.el (apropos-symbols-internal):
17903 Handle (obsolete) face aliases.
17905 * faces.el (describe-face): Adjust the output format to be more like
17906 describe-variable, and to mention (obsolete) face aliases.
17907 Adjust the whitespace so that help-setup-xref works.
17909 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17910 * calendar/diary-lib.el (diary-button-face):
17911 Mark these face aliases as obsolete.
17913 * calendar/calendar.el (calendar-today): Doc fix.
17915 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17917 * progmodes/gdb-mi.el (gdb-control-all-threads)
17918 (gdb-control-current-thread): Force tool bar update.
17919 (gdb-non-stop-handler): New function.
17920 (gdb-init-1): Use it to test if non-stop mode is supported.
17921 Remove unused gdbmi buffer type.
17923 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17925 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17926 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17928 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17930 * comint.el (comint-exec-1): Check command is non-null first.
17931 Part of gdb-mi.el change (2009-08-28).
17933 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17935 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17937 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17939 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17940 instead of `dolist' to avoid a recursive require when bootstrapping.
17942 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17944 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17946 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17948 * net/imap.el (imap-send-command): Simplify.
17949 (imap-wait-for-tag): point-max -> buffer-size.
17951 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17953 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17954 with constant argument.
17956 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17958 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17960 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17961 Change default, since most of our files don't have a history.
17962 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17968 * calc/calc.el: Improve commenting convention.
17969 (calc-digit-map, toplevel): Simplify.
17971 * comint.el (comint-insert-input): Be careful to only set point if we
17972 don't delegate to some other command.
17974 * proced.el (proced-signal-list): Make it an alist.
17975 (proced-grammar-alist): Capitalize names.
17976 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17977 Disable undo manually and make it read-only.
17978 Use completion-annotate-function.
17980 * minibuffer.el (minibuffer-message): If the current buffer is not
17981 a minibuffer, insert the message in the echo area rather than at the
17983 (completion-annotate-function): New variable.
17984 (minibuffer-completion-help): Use it.
17985 (completion--embedded-envvar-table): Environment vars are
17986 always case-sensitive.
17988 2009-08-30 Glenn Morris <rgm@gnu.org>
17990 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17991 from fortran-current-defun.
17992 (fortran-beginning-of-subprogram): Be more precise about finding the
17993 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17994 (fortran-end-of-subprogram): Simplify.
17995 (fortran-current-defun): Use fortran-start-prog-re.
17997 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17999 * subr.el (do-after-load-evaluation): Simplify.
18001 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18003 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18005 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18006 (vc-rcs-print-log): Use it.
18008 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18010 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18012 * paths.el (abbrev-file-name): Move to abbrev.el.
18013 * abbrev.el (abbrev-file-name): Move from paths.el.
18014 Obey user-emacs-directory.
18015 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18016 user-emacs-directory.
18017 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18018 abbrev-file-name and calc-settings-file any more.
18019 * startup.el (command-line): Recompute abbrev-file-name and
18020 abbreviated-home-dir.
18021 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18022 of the special code for when C-h bindings haven't been changed.
18023 (display-startup-echo-area-message): Use with-current-buffer.
18024 (command-line-1): Use a list of strings, rather than a list of lists
18025 of strings for longopts.
18027 * files.el (get-free-disk-space): Use / for default-directory.
18029 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18030 Use with-current-buffer.
18032 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18033 Recognize immutable variables like most-positive-fixnum.
18034 (byte-compile-setq-default): Check and warn if trying to assign
18035 to an immutable variable, or a non-variable.
18037 * progmodes/cc-vars.el (c-comment-continuation-stars):
18038 * progmodes/cc-engine.el (c-looking-at-bos):
18039 * progmodes/cc-cmds.el (c-toggle-auto-state)
18040 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18041 (c-comment-line-break-function): Add version of obsolescence.
18043 2009-08-28 Juri Linkov <juri@jurta.org>
18045 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18046 associated with `archive-mode'.
18048 * image.el (image-type-header-regexps): Use only JPEG magic number
18049 to determine JPEG images, and don't use `image-jpeg-p' because
18050 Emacs can display non-JFIF non-Exif JPEG images.
18052 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18054 * arc-mode.el (archive-mode):
18055 * emacs-lisp/re-builder.el (re-builder-unload-function):
18056 Protect against the default value of `major-mode' being nil.
18058 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18060 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18061 Fix typos in docstrings.
18063 * progmodes/js.el (js--macro-decl-re): Doc fix.
18064 (js--plain-method-re, js--split-name): Refloc docstring.
18065 (js--class-styles, js--make-merged-item, js--splice-into-items):
18066 Fix typos in docstrings; reflow docstrings.
18067 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18068 (js--variable-decl-matcher, js--inside-pitem-p)
18069 (js--parse-state-at-point, js--get-all-known-symbols)
18070 (js--symbol-history, js-find-symbol, js--js-references)
18071 (js--moz-interactor, js--js-encode-value, js--read-tab):
18072 Fix typos in docstrings.
18074 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18076 * textmodes/reftex.el (reftex-get-file-buffer-force):
18077 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18078 * emulation/viper.el (viper-go-away, viper-set-hooks):
18079 * emacs-lisp/re-builder.el (re-builder-unload-function):
18080 * emacs-lisp/bytecomp.el (byte-compile-file):
18081 * ses.el (ses-unload-function):
18082 * hexl.el (hexl-find-file):
18083 * files.el (normal-mode):
18084 * ehelp.el (with-electric-help):
18085 * autoinsert.el (auto-insert-alist):
18086 * arc-mode.el (archive-mode):
18087 Use (default-value 'major-mode) instead of default-major-mode.
18089 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18090 * international/mule.el (load-with-code-conversion):
18091 * emacs-lisp/debug.el (debug):
18092 * ediff-vers.el (ediff-rcs-get-output-buffer):
18093 * dired.el (dired-internal-noselect): Don't let-bind
18094 default-major-mode around code that doesn't use it.
18095 E.g. buffer creation via get-buffer-create doesn't use it.
18097 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18099 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18100 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18101 when writing the temp file. Otherwise, epa-file gets confused.
18102 (tramp-register-file-name-handlers): Make it a defun. Move also
18103 `epa-file-handler' to the front of `file-name-handler-alist'.
18105 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18107 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18108 start right after a ^M.
18109 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18110 (tramp-completion-file-name-regexp-separate)
18111 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18112 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18113 Don't modify last-coding-system-used by accident.
18114 (tramp-completion-file-name-handler): Apply the checks here,
18115 instead during registration.
18116 (tramp-register-file-name-handlers): Rename from
18117 `tramp-register-file-name-handler'. Register both
18118 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18119 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18121 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18123 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18124 Remove variable ...
18125 (gdb-init-1, gdb-display-separate-io-buffer)
18126 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18128 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18129 (gdb-inferior-filter): Use comint-output-filter to stop
18130 echoing and remove ^M characters.
18132 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18134 * emulation/viper-init.el (viper-restore-cursor-type):
18135 * emulation/cua-base.el (cua--update-indications):
18136 Replace default-cursor-type with (default-value 'cursor-type).
18138 * mail/sendmail.el (mail-recover-1):
18139 * international/mule-diag.el (describe-current-coding-system-briefly)
18140 (describe-current-coding-system):
18141 * international/mule-cmds.el (select-safe-coding-system)
18142 (select-message-coding-system)
18143 (set-language-environment-coding-systems, set-locale-environment):
18144 * hexl.el (hexl-insert-multibyte-char):
18145 * dos-w32.el (find-buffer-file-type-coding-system):
18146 * simple.el (what-cursor-position):
18147 Replace uses of default-buffer-file-coding-system
18148 with (default-value 'buffer-file-coding-system).
18150 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18151 Replace uses of default-cursor-in-non-selected-windows
18152 with (default-value 'cursor-in-non-selected-windows).
18153 Use with-current-buffer.
18155 * mail/feedmail.el: Use CL macros.
18156 (feedmail-run-the-queue, feedmail-send-it-immediately):
18157 * dos-w32.el (find-buffer-file-type): Replace uses of
18158 default-buffer-file-type with (default-value 'buffer-file-type).
18160 2009-08-28 Glenn Morris <rgm@gnu.org>
18162 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18163 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18164 Use default-value of major-mode rather than default-major-mode.
18166 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18168 * Makefile.in (update-elcfiles): Report left over elc files.
18170 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18171 expand-file-name and with-current-buffer.
18172 (mail-get-names, mail-directory): Use with-current-buffer.
18174 * vc.el (vc-read-revision): New function.
18175 (vc-version-diff, vc-merge): Use it.
18177 2009-08-27 Sam Steingold <sds@gnu.org>
18179 * simple.el (kill-do-not-save-duplicates): New user option.
18180 (kill-new): When it is non-nil, and the new string is the same as
18181 the latest kill, set replace to t to avoid duplicates in kill-ring.
18183 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18185 * net/tramp.el (tramp-handle-process-file): Do not flush all
18186 caches when `process-file-side-effects' is set.
18187 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18188 instead of `tramp-find-file-exists-command'.
18189 Unset `process-file-side-effects'.
18191 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18193 * net/tramp.el (tramp-methods): New method "rsyncc".
18194 (top): Add completion function for "rsyncc".
18195 (tramp-message-show-message): New defvar.
18196 (tramp-message, tramp-error): Use it.
18197 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18199 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18200 `tramp-methods' entry `copy-env' of "rsyncc".
18201 (tramp-vc-registered-read-file-names): New defconst.
18202 (tramp-vc-registered-file-names): New defvar.
18203 (tramp-handle-vc-registered): Implement optimization strategy.
18204 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18205 (tramp-vc-file-name-handler): New defun.
18206 (tramp-get-ls-command, tramp-get-test-command)
18207 (tramp-get-file-exists-command, tramp-get-remote-ln)
18208 (tramp-get-remote-perl, tramp-get-remote-stat)
18209 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18211 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18212 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18214 (tramp-get-file-property): Check for timestamps in
18215 `tramp-cache-inhibit-cache'.
18216 (tramp-set-file-property): Write timestamp.
18218 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18220 * language/japan-util.el (japanese-symbol-table): Add entries for
18223 * international/characters.el: Add category `j' to cp932-2-byte.
18225 2009-08-27 Kenichi Handa <handa@m17n.org>
18227 * international/fontset.el (build-default-fontset-data): New macro.
18228 (setup-default-fontset): Use build-default-fontset-data for CJK,
18229 tibetan, ethiopic, and ipa.
18231 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18233 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18234 (enable-multibyte-characters): Not customizable any more.
18236 * subr.el (default-mode-line-format, default-header-line-format)
18237 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18238 (default-direction-reversed, default-truncate-lines)
18239 (default-left-margin, default-tab-width, default-case-fold-search)
18240 (default-left-margin-width, default-right-margin-width)
18241 (default-left-fringe-width, default-right-fringe-width)
18242 (default-fringes-outside-margins, default-scroll-bar-width)
18243 (default-vertical-scroll-bar, default-indicate-empty-lines)
18244 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18245 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18246 (default-scroll-down-aggressively, default-fill-column)
18247 (default-cursor-type, default-buffer-file-type)
18248 (default-cursor-in-non-selected-windows)
18249 (default-buffer-file-coding-system, default-major-mode)
18250 (default-enable-multibyte-characters): Mark as obsolete.
18252 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18254 * vc-dir.el (vc-dir-update): Remove debug helper.
18256 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18258 2009-08-26 Sam Steingold <sds@gnu.org>
18260 * simple.el (save-interprogram-paste-before-kill): New user option.
18261 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18262 save the interprogram-paste into kill-ring before overriding it
18263 with the Emacs kill.
18265 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18267 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18268 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18269 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18270 and move to vc-rcs.el.
18271 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18273 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18274 (vc-rcs-update-changelog): Remove.
18275 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18276 and move to vc-rcs.el.
18278 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18279 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18281 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18282 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18283 vc.el, renamed to be RCS specific.
18285 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18287 (vc-cvs-update-changelog): Move here from vc.el.
18289 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18292 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18294 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18296 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18298 * vc-git.el (vc-git-register): Use "git add" for directories.
18299 (vc-git-stash, vc-git-stash-show): New functions.
18300 (vc-git-extra-menu-map): Bind them.
18302 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18303 directory correctly in case the item is a directory itself.
18305 * vc.el: Document the desired behavior for reverted files in the
18307 (vc-default-prettify-state-info): Remove function, unused.
18309 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18311 2009-08-26 Glenn Morris <rgm@gnu.org>
18313 * bindings.el (standard-mode-line-format): Reposition dashes in
18314 which-func entry. (Bug#4217)
18316 * files.el (enable-local-variables, enable-local-eval)
18317 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18319 (auto-mode-alist, ignored-local-variables)
18320 (save-some-buffers-action-alist): Move risky declarations to the
18322 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18323 (font-lock-defaults, format-alist, imenu--index-alist)
18324 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18325 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18326 (mode-line-modified, mode-line-mule-info, mode-line-position)
18327 (mode-line-process, mode-line-remote, outline-level)
18328 (parse-time-rules, rmail-output-file-alist)
18329 (special-display-buffer-names, vc-mode):
18330 Move risky declarations to the relevant files.
18331 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18332 (mode-line-modified, mode-line-process, mode-line-position)
18333 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18334 * font-core.el (font-lock-defaults):
18335 * format.el (format-alist):
18336 * vc-hooks.el (vc-mode):
18337 * window.el (special-display-buffer-names):
18338 * international/mule-cmds.el (input-method-alist):
18339 Define riskiness here (dumped file) rather than in files.el.
18340 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18341 * imenu.el (imenu-generic-expression, imenu--index-alist):
18342 * outline.el (outline-level):
18343 * time.el (display-time-string):
18344 * calendar/parse-time.el (parse-time-rules):
18345 * mail/rmailout.el (rmail-output-file-alist):
18346 Autoload riskiness here, rather than placing in files.el.
18348 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18350 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18352 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18354 * simple.el (process-file-side-effects): New defvar.
18356 * dired-aux.el (dired-show-file-type):
18357 * vc.el (vc-diff-internal):
18358 * vc-arch.el (vc-arch-diff):
18359 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18360 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18361 * vc-git.el (vc-git-registered, vc-git-working-revision)
18362 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18363 (vc-git--empty-db-p):
18364 * vc-hooks.el (vc-user-login-name):
18365 * vc-svn.el (vc-svn-registered, vc-svn-state)
18366 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18367 * progmodes/grep.el (grep-probe): Let-bind
18368 `process-file-side-effects' with nil.
18370 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18372 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18373 daemon. Replace ping by checking for running service for bluez
18374 and zeroconf. (Bug#4239)
18376 2009-08-25 Kevin Ryde <user42@zip.com.au>
18378 * net/dig.el (dig): Add autoload cookie.
18380 2009-08-25 Glenn Morris <rgm@gnu.org>
18382 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18383 load-history for absolute file-names.
18384 (byte-compile-file-form-require): Warn about use of the cl package.
18386 * format.el (format-alist): Doc fix.
18388 * play/bubbles.el (top-level): Don't require cl at run-time.
18390 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18393 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18395 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18397 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18399 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18401 * calc/calc-alg.el (math-trig-rewrite)
18402 (math-hyperbolic-trig-rewrite): New functions.
18403 (calc-simplify): Simplify trig functions when asked.
18405 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18407 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18409 2009-08-24 Kenichi Handa <handa@m17n.org>
18411 * language/ind-util.el (mapthread): Delete it.
18412 (combinatorial): New function.
18413 (indian--puthash-cv): Use combinatorial instead of mapthread.
18415 2009-08-22 Kevin Ryde <user42@zip.com.au>
18417 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18418 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18419 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18420 Clarify docstring that the value is strings not symbols.
18421 (checkdoc-list-of-strings-p): New function.
18423 2009-08-22 Glenn Morris <rgm@gnu.org>
18425 * files.el (auto-mode-alist):
18426 * hippie-exp.el (he-concat-directory-file-name):
18427 * lpr.el (lpr-windows-system, printer-name):
18428 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18429 * ps-print.el (ps-windows-system):
18430 * startup.el (command-line):
18431 * emulation/viper-ex.el (viper-glob-function):
18432 * international/mule-cmds.el (set-language-environment-coding-systems):
18433 * net/ange-ftp.el (ange-ftp-write-region):
18434 * obsolete/fast-lock.el (fast-lock-cache-name):
18435 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18436 unisoft-unix, vax-vms, win32, w32.
18438 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18439 given name if the pattern is not more specific.
18441 * calendar/lunar.el (lunar-phase-names): New option.
18442 (lunar-phase): Doc fix.
18443 (lunar-cycles-per-year): New constant.
18444 (lunar-index): New function.
18445 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18446 (lunar-phase-name): Use lunar-phase-names.
18447 (calendar-lunar-phases): Use format.
18448 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18450 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18451 Copy imenu-example--name-and-position function here for own use.
18452 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18454 * bs.el (bs--redisplay):
18455 * cus-edit.el (custom-redraw):
18456 * ibuffer.el (ibuffer-bury-buffer):
18457 * server.el (server-goto-line-column):
18458 * startup.el (command-line-1):
18459 * strokes.el (strokes-xpm-for-stroke):
18460 * term.el (term-display-buffer-line):
18461 * view.el (View-goto-line):
18462 * calc/calc.el (calc-do, calc-trail-buffer):
18463 * play/gamegrid.el (gamegrid-add-score-insecure):
18464 * progmodes/ada-mode.el (ada-compile-goto-error):
18465 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18466 (ebrowse-select-1st-to-9nth):
18467 * progmodes/cperl-mode.el (cperl-time-fontification):
18468 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18469 * progmodes/gud.el (gud-display-line):
18470 (idlwave-shell-display-line):
18471 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18472 * progmodes/make-mode.el (makefile-browser-toggle):
18473 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18474 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18475 * textmodes/picture.el (picture-draw-rectangle):
18476 * textmodes/reftex-index.el (reftex-index-goto-letter):
18477 (reftex-select-jump-to-previous):
18478 * textmodes/reftex-sel.el (reftex-find-start-point)
18479 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18480 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18481 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18482 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18483 * textmodes/two-column.el (2C-associated-buffer):
18484 Use forward-line rather than goto-line.
18486 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18489 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18490 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18491 (quick-check-list-to-regexp): Declare.
18493 * progmodes/make-mode.el (makefile-browser-insert-selection):
18494 Use goto-char rather than goto-line.
18496 * progmodes/prolog.el (compilation-error-regexp-alist)
18497 (compilation-forget-errors): Declare.
18499 2009-08-22 Juri Linkov <juri@jurta.org>
18501 * progmodes/grep.el (lgrep, rgrep): At the beginning
18502 set `dir' to `default-directory' unless `dir' is a non-nil
18503 readable directory. (Bug#4052)
18504 (lgrep, rgrep): Change a weird way to report an error
18505 from using `read-string' to using `error'.
18506 Instead of using interactive arguments in the function body,
18507 add new argument `confirm'.
18509 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18511 * textmodes/remember.el (remember-buffer):
18512 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18513 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18514 (icalendar-extract-ical-from-buffer):
18515 * net/newst-treeview.el (newsticker-groups-filename):
18516 * net/newst-backend.el (newsticker-cache-filename):
18517 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18518 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18519 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18520 (speedbar-buffers-line-path, speedbar-path-line)
18521 (speedbar-buffers-line-path):
18522 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18524 * epa.el (epa-display-verify-result):
18525 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18527 2009-08-21 Glenn Morris <rgm@gnu.org>
18529 * progmodes/js.el (inferior-moz-process): Fix declaration.
18531 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18533 * obsolete/rnewspost.el (news-mail-reply):
18534 Use goto-char rather than goto-line.
18536 * term/ns-win.el (ns-open-file-select-line):
18537 Use line-beginning-position rather than goto-line.
18539 * apropos.el (apropos-command):
18540 * ehelp.el (electric-helpify):
18541 * printing.el (pr-show-setup):
18542 * strokes.el (strokes-help):
18543 * tutorial.el (tutorial--describe-nonstandard-key)
18544 (tutorial--detailed-help):
18545 * woman.el (woman-mini-help, woman-display-extended-fonts):
18546 * calc/calc-help.el (calc-describe-key):
18547 * emulation/edt.el (edt-electric-helpify):
18548 * international/mule-diag.el (mule-diag):
18549 * play/yow.el (apropos-zippy):
18550 * progmodes/python.el (python-describe-symbol):
18551 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18552 * textmodes/table.el (*table--cell-describe-mode)
18553 (*table--cell-describe-bindings):
18554 Use help-print-return-message rather than the now obsolete alias.
18556 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18557 (calendar-cursor-to-visible-date):
18558 * play/5x5.el (5x5-position-cursor):
18559 * play/decipher.el (decipher):
18560 * play/gomoku.el (gomoku-goto-xy):
18561 * play/landmark.el (lm-goto-xy):
18562 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18563 (mpuz-paint-digit):
18564 Use forward-line, not goto-line.
18566 * mail/rmail.el (rmail-obsolete): Delete custom group.
18567 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18568 (rmail-remote-password, rmail-remote-password-required):
18569 Remove unneeded :set-after and :set properties.
18571 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18573 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18575 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18577 * loadup.el: Remove leftover macos code.
18579 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18580 Explicitly pass the date format to git blame so that user local
18581 so that the output format can be parsed.
18583 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18585 * net/dbus.el (top): Don't check for (getenv
18586 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18588 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18590 * log-edit.el (log-edit-strip-single-file-name): New var.
18591 (log-edit-insert-changelog): Use it. Bug#3571
18593 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18595 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18598 * help.el (help-print-return-message): Rename from
18599 print-help-return-message.
18601 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18602 cvs-mode-map parent hack.
18603 (log-view-mode): Derive from special-mode.
18605 * linum.el (linum-mode): window-size-change-functions is redundant.
18606 Adapt to new window-configuration-change-hook behavior.
18607 (linum-after-size, linum-after-config): Remove.
18609 * imenu.el (imenu-example--name-and-position)
18610 (imenu-example--lisp-extract-index-name)
18611 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18614 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18615 (inferior-prolog-mode): Use it.
18616 (inferior-prolog-load-file): Reset list of errors.
18618 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18620 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18622 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18624 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18626 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18627 is running already.
18629 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18631 * subr.el (listify-key-sequence-1): Use normal syntax since those
18632 integers are nowadays always represented by the same (positive) number
18634 (read-key-empty-map): New const.
18635 (read-key-delay): New var.
18636 (read-key): New function.
18637 (force-mode-line-update): Use with-current-buffer.
18638 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18639 (start-process-shell-command, start-file-process-shell-command):
18640 Discourage the use of command-args.
18642 2009-08-19 Glenn Morris <rgm@gnu.org>
18644 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18646 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18648 * simple.el (choose-completion-string): Don't rely on
18649 minibuffer-completing-file-name and ad-hoc checks to decide whether
18650 to continue completion or not.
18652 * minibuffer.el (minibuffer-hide-completions): New function.
18653 (completion--do-completion): Use it.
18654 (completions-annotations): New face.
18655 (completion--insert-strings): Use it.
18656 (completion-pcm--delim-wild-regex): Add docstring.
18657 (completion-pcm--string->pattern): Add support for 0-width delimiters
18658 in completion-pcm--delim-wild-regex.
18660 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18662 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18663 Remove unused var `buffer-modified-p'.
18665 * minibuffer.el (completion--do-completion): Move point for the #b001
18666 case as well (bug#4176).
18667 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18669 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18671 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18672 and :session buses.
18674 2009-08-18 Kenichi Handa <handa@m17n.org>
18676 * international/ucs-normalize.el (ucs-normalize-version):
18678 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18679 (utf-8-hfs): Make it perform normalization on encoding too.
18681 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18682 (sentence-end-without-space): Delete duplicated chars.
18683 (sentence-end-base): Likewise.
18685 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18686 (html-mode): Delete duplicated chars from sentence-end-base.
18688 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18689 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18691 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18693 * files.el (hack-one-local-variable): If the mode function is for
18694 a minor mode, pass it an argument (Bug#4148).
18696 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18698 * net/tramp.el (tramp-register-completion-file-name-handler):
18699 Check also for (member 'partial-completion completion-styles).
18701 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18703 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18706 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18708 * progmodes/cperl-mode.el: Merge upstream 6.2.
18709 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18710 (cperl-forward-re): Check cperl-brace-recursing.
18711 (cperl-highlight-charclass): New function.
18712 (cperl-find-pods-heres): Use it.
18713 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18714 (cperl-beautify-regexp-piece): Fix column calculation.
18715 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18716 (cperl-beautify-level): Don't process entire regexp.
18717 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18719 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18720 (cperl-init-faces): Build a list in the normal way.
18722 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18724 * calendar/parse-time.el (parse-time-string-chars): Save match
18727 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18729 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18730 (sql-product): Use it.
18731 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18732 (sql-set-product): Add completion.
18733 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18734 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18735 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18736 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18737 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18738 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18739 (sql-highlight-db2-keywords): Remove.
18740 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18741 (sql-highlight-product): Use derived-mode-p.
18742 (sql-set-sqli-buffer): Use with-current-buffer.
18743 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18746 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18748 * term.el: Fix commenting convention, turn comments into docstrings.
18750 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18752 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18754 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18756 * calendar/parse-time.el (parse-time-string-chars): Compute using
18757 character classes, to handle non-ascii characters (Bug#3190).
18759 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18761 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18762 another heredoc if the user adds another < (Bug#3226).
18764 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18765 Don't initialize based on window-system (Bug#4124).
18767 * facemenu.el (facemenu-read-color): Use a completion function
18768 that accepts any defined color, such as RGB triplets (Bug#3677).
18770 * files.el (get-free-disk-space): Change fallback default
18771 directory to /. Expand DIR argument before switching to fallback.
18772 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18774 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18776 * files.el (load-library): Doc fix.
18778 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18780 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18781 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18782 incremental search string.
18784 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18787 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18788 (ediff-merge-region-is-non-clash)
18789 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18790 Also check if the job is really a merge job.
18792 * ediff.el (ediff-current-file): New function.
18794 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18796 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18798 (js-insert-and-indent): Delete function.
18799 (js-mode-map): Don't bind keys to js-insert-and-indent.
18800 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18801 (js-end-of-defun): Rename from js--end-of-defun.
18802 (js-auto-indent-flag): Delete variable.
18804 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18806 * progmodes/js.el: Remove proclaim statement.
18807 Defvar which-func-imenu-joiner-function to silence compiler.
18809 * files.el (auto-mode-alist): Use js-mode for .js files.
18811 * progmodes/js2-mode.el: Remove file.
18813 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18815 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18817 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18819 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18820 Karl Landstrom <karl.landstrom@brgeight.se>
18822 * progmodes/js.el: New file.
18824 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18826 * timezone.el (timezone-parse-date): Add ability to understand ISO
18827 basic format (minimal separators) dates in addition to the
18828 already-supported extended format dates.
18830 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18832 * international/ucs-normalize.el: Add a `coding' file variable.
18834 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18836 2009-08-14 Sam Steingold <sds@gnu.org>
18838 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18840 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18842 * faces.el (help-argument-name): Define it here instead of
18843 help-fns.el, because in daemon mode help-fns.el may be loaded when
18844 faces are still uninitialized (Bug#1078).
18846 * help-fns.el (help-argument-name): Move defface to faces.el.
18848 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18850 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18851 create buffer with a pty but no process so that GDB can make the
18852 inferior the controlling process.
18854 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18856 * international/ucs-normalize.el: New file.
18858 2009-08-13 Richard Stallman <rms@gnu.org>
18860 * mail/rmail.el (rmail-get-attr-names):
18861 Accept an attribute header that is too short.
18863 * mail/rmail.el (rmail-forget-messages):
18864 Ignore nil elt in rmail-message-vector. Use dotimes.
18866 * progmodes/compile.el (compilation-goto-locus):
18867 Use next-error-move-function.
18869 * simple.el (next-error-move-function): New variable.
18871 2009-08-12 Juri Linkov <juri@jurta.org>
18873 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18874 always non-nil. (Bug#4052)
18876 * replace.el (read-regexp): Return empty string when
18877 `default-value' is nil.
18878 (keep-lines-read-args): Don't use empty string as the
18879 default value for `read-regexp'. (Bug#2495)
18881 2009-08-12 Juri Linkov <juri@jurta.org>
18883 * international/mule-cmds.el (ucs-insert): Change arguments
18884 from `arg' to `character', `count', `inherit' to be the same
18885 as in `insert-char'. Doc fix. (Bug#4039)
18887 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18889 2009-08-12 Juri Linkov <juri@jurta.org>
18891 * files-x.el: New file.
18893 * files.el: Move code that deals with adding/deleting
18894 file/directory-local variables to files-x.el.
18896 * Makefile.in (ELCFILES): Add files-x.elc.
18898 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18900 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18901 to use `goto-line'.
18902 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18904 (gdb-invalidate-disassembly): Do not refresh upon receiving
18905 'update signal. Instead, update all disassembly buffers only after
18907 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18908 (gdb-starting): Move -data-list-register-names...
18909 (gdb-stopped): ...here so it's sent when first thread stops.
18910 (gdb-registers-handler-custom): Do nothing if register names are
18913 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18914 from `gdb-mi.el' to avoid extra tangling.
18916 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18917 change which breaks `gud-def' definitions used in `gdb'.
18918 (gdb-update-gud-running): No extra fuss for updating frame number.
18920 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18922 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18923 (describe-language-environment-map, setup-language-environment-map)
18924 (set-coding-system-map): Move initialization into declaration.
18925 (set-language-info-alist): Last arg to define-key-after can be skipped.
18927 * international/quail.el (quail-completion-1): Simplify.
18928 (quail-define-rules): Use slightly more compact code.
18929 (quail-insert-decode-map): Propertize keys, compact columns.
18931 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18934 2009-08-10 Miles Bader <miles@gnu.org>
18936 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18937 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18938 (js2-instance-member, js2-private-member, js2-private-function-call)
18939 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18940 (js2-magic-paren, js2-external-variable):
18941 Remove "-face" suffix from face names.
18942 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18943 (js2-highlight-undeclared-vars, js2-peek-token)
18944 (js2-parse-function-params, js2-mode-show-errors)
18945 (js2-mode-show-warnings, js2-make-magic-delimiter)
18946 (js2-mode-highlight-magic-parens): Update to use new face names.
18948 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18950 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18951 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18953 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18955 * subr.el: Provide hashtable-print-readable.
18957 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18958 hs-c-like-adjust-block-beginning.
18959 (hs-hide-block-at-point): Stop hiding at the beginning of
18960 hs-block-end-regexp (Bug#700).
18962 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18964 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18966 (gdb-registers-handler-custom): Do not fail when register names
18969 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18971 * progmodes/gdb-mi.el (gdb-control-all-threads)
18972 (gdb-control-current-thread): Interactive setters for
18973 `gdb-gud-control-all-threads' to use in menu.
18974 (gdb-show-run-p): Show «Go» when process is not active.
18975 (gud-tool-bar-map): Add non-stop/A,T indicator.
18976 Uses gud/thread.xpm and gud/all.xpm.
18978 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18980 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18981 (nslookup-font-lock-keywords): Make it a variable.
18982 (net-utils-mode): New mode for viewing diagnostic network output.
18983 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18984 (net-utils-run-simple): New function.
18985 (ifconfig, iwconfig, netstat, arp, route): Use it.
18987 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18989 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18990 (gdb-memory-set-address, def-gdb-set-positive-number)
18991 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18992 after changing settings.
18993 (gdb-invalidate-disassembly): Update when first shown.
18994 (gdb-edit-locals-value): Fixed.
18995 (gdb-registers-handler-custom): Print registers in right order and
18996 allow changing register values (only for current thread yet).
18997 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18998 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18999 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19000 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19001 Thread info in mode name.
19002 (gdb-registers-mode-map): TAB to switch to locals.
19004 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19006 * mail/rmail.el (rmail-add-mbox-headers)
19007 (rmail-set-message-counters-counter): Search for
19008 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19010 2009-08-08 Glenn Morris <rgm@gnu.org>
19012 * Makefile.in (ELCFILES): Update.
19014 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19016 * mail/sendmail.el (mail-yank-original):
19017 Set buffer-file-coding-system from the one used by the message whose
19020 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19021 to "windows" when "pgnuplot" is used.
19022 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19023 Don't call accept-process-output if "pgnuplot" is used.
19024 (calc-graph-init): Don't send -display and -geometry to
19025 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19026 running "pgnuplot -V" with shell-command-to-string.
19028 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19031 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19033 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19036 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19038 * vc-dispatcher.el (vc-resynch-window): Update comment.
19040 * term.el (term-handle-ansi-escape): Add comments with the
19041 terminfo capabilities implemented.
19043 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19045 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19046 (gdb-var-create-handler): Rewritten using JSON parser.
19047 (gdb-propertize-header): Move earlier.
19048 (gdb-set-header): Remove to avoid duplication.
19049 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19050 Refresh disassembly buffers only after threads list have been
19052 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19055 2009-08-04 Juri Linkov <juri@jurta.org>
19057 * files.el: Commands to add/delete file/directory-local variables.
19058 (read-file-local-variable, read-file-local-variable-value)
19059 (read-file-local-variable-mode, modify-file-local-variable)
19060 (modify-file-local-variable-prop-line)
19061 (modify-dir-local-variable): New functions.
19062 (add-file-local-variable, delete-file-local-variable)
19063 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19064 (add-dir-local-variable, delete-dir-local-variable)
19065 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19066 (copy-dir-locals-to-file-locals-prop-line): New commands.
19068 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19070 * abbrev.el (insert-abbrev-table-description): Prettify output.
19071 Suggested by Karl Chen.
19073 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19075 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19076 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19077 (gdb-overlay-arrow-position, gdb-thread-position)
19078 (gdb-disassembly-position): Declare variables.
19079 (gdb-wait-for-pending): Function now.
19080 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19081 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19082 compilation goes smoothly.
19083 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19084 (gdb-non-stop-setting): New customization setting which replaces
19085 `gdb-non-stop' so changing it doesn't break active GDB session.
19086 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19087 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19088 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19089 (gdb-show-threads-by-default): New customization options.
19090 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19092 (gdb-get-buffer-create): Send buffers update signal when they are
19094 (gdb-invalidate-locals, gdb-invalidate-registers)
19095 (gdb-invalidate-breakpoints)
19096 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19097 (gdb-invalidate-memory): Accept update signal.
19098 (gdb-current-context-command): Use --frame option.
19099 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19100 Implement `gdb-frame-number' selection logic.
19101 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19102 whether to show GUD toolbar buttons.
19103 (gdb-thread-exited): Unselect current thread when it exits.
19104 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19105 (gdb-mark-line): Routine which sets overlay arrow or inverses
19106 video on fringeless displays.
19107 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19108 to build aligned columns of data in GDB buffers and set text
19109 properties line-by-line.
19110 (gdb-invalidate-breakpoints)
19111 (gdb-breakpoints-list-handler-custom)
19112 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19113 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19114 (gdb-registers-handler-custom): Align data columns.
19115 (gdb-locals-handler-custom): Now prints data like in variable
19117 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19118 Remove confusing buttons.
19119 (gdb-invalidate-threads): Append --frame.
19120 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19121 between breakpoints/threads buffers.
19122 (gdb-set-window-buffer): Now can ignore dedicated windows.
19123 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19124 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19125 (def-gdb-thread-buffer-gud-command): Replaces
19126 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19127 for fine thread control.
19128 (gdb-preempt-existing-or-display-buffer): New function used to
19129 display bound buffers without breaking window layout.
19130 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19131 (gdb-select-frame): New version of `gdb-frames-select' which now
19132 sets `gdb-frame-number' so commands may use --frame option instead
19133 of inner debugger state.
19134 (gdb-frame-handler): Do not set `gdb-frame-number'.
19135 (gdb-threads-mode-map): Select threads with mouse.
19137 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19138 avoid compilation warning.
19139 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19142 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19143 Argument `key' renamed to `buffer-type'.
19144 (gdb-current-context-buffer-name): Do not add thread info to
19145 buffer name when no thread is selected.
19146 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19147 command (bug 3794).
19148 (gdb-thread-selected): Handle `=thread-selected' notification.
19149 (gdb-wait-for-pending): New macro to deal with congestion problems.
19150 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19152 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19153 This fixes problem similar to one described in bug 3947.
19154 (gud-menu-map): More menu items.
19155 (gdb-init-1): Reset `gdb-thread-number' to nil.
19157 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19160 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19161 (gdb-current-context-command): Do not append --thread if
19162 `gdb-thread-number' is nil.
19163 (gdb-running-threads-count, gdb-stopped-threads-count):
19165 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19166 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19167 New customization options.
19168 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19170 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19171 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19172 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19173 set `gdb-thread-number' and update `gud-running' properly.
19174 (gdb-running): Update threads list when new threads appear.
19175 (gdb-stopped): Support non-stop operation and new thread switching
19177 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19178 (gdb-json-partial-output): New set of JSON routines.
19179 (def-gdb-auto-update-trigger): New `signal-list' optional
19181 (gdb-thread-list-handler-custom): Update `gud-running',
19182 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19183 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19184 (gdb-continue-thread, gdb-step-thread): New commands for fine
19185 thread execution control.
19186 (gud-menu-map): New menu items to switch non-stop options.
19187 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19188 (gdb-send): Mimic RET properly (bug 3794).
19190 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19191 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19193 (def-gdb-auto-update-handler): New nopreserve optional argument.
19194 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19196 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19197 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19198 (gdb-parent-mode): New mode to derive other GDB modes from.
19199 (gdb-display-disassembly-for-thread)
19200 (gdb-frame-disassembly-for-thread): New commands for threads
19203 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19204 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19205 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19206 (gdb-update): We now store all GDB buffers in a list so that they
19207 can be updated by traversing a list instead of calling invalidate
19208 triggers explicitly.
19209 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19210 pair for GDB buffer.
19211 (gdb-stack-buffer-name): Add thread information.
19212 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19213 handle pending triggers.
19214 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19215 (def-gdb-thread-buffer-simple-command)
19216 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19217 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19218 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19219 New commands which show buffers bound to thread.
19220 (gdb-stack-list-locals-regexp): Remove unused regexp.
19222 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19223 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19224 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19225 to (gud-comint-buffer) in *-buffer-name functions
19226 because (gdb-get-target-string) already does that.
19227 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19228 (gdb-changed-registers-handler): Rewritten without regexps.
19230 * progmodes/gdb-mi.el: Basic thread selection support.
19231 (gdb-thread-number): New variable.
19232 (gdb-current-context-command): New macro which adds --thread
19234 (gdb-threads-mode-map): Select thread with SPC.
19235 (gdb-thread-list-handler-custom): Mark current thread with overlay
19236 arrow. Synchronize GDB thread and Emacs thread.
19237 (gdb-select-thread): New command which selects current thread.
19238 (gdb-invalidate-frames, gdb-invalidate-locals)
19239 (gdb-invalidate-registers): Use --thread option.
19241 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19243 * net/tramp.el (top): Make check for tramp-gvfs loading more
19245 (tramp-handle-insert-file-contents): `unwind-protect' must be
19246 inside `with-parsed-tramp-file-name'.
19248 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19251 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19253 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19254 directory if CLASSPATH is not set.
19256 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19258 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19260 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19262 2009-08-02 Kevin Ryde <user42@zip.com.au>
19264 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19265 Update freshmeat link. Delete newsforge.com as it seems gone.
19267 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19269 * select.el (x-set-selection): Doc fix (Bug#4021).
19271 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19273 * help-fns.el (describe-variable): Treat list return values from
19274 dir-locals-find-file properly (Bug#4005).
19276 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19278 * net/tramp.el (tramp-debug-message): Print also microseconds.
19280 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19282 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19284 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19285 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19288 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19289 (tramp-get-file-property): Use it.
19291 * autorevert.el (auto-revert-handler):
19292 Allow `auto-revert-tail-mode' for remote files.
19294 2009-08-02 Jason Rumney <jasonr@gnu.org>
19296 * minibuffer.el (read-file-name): Treat confirm options to
19297 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19299 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19301 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19302 (font-lock-variable-name-face, font-lock-constant-face):
19303 Darken the colors for light backgrounds.
19305 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19307 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19308 month names. (Bug#3987)
19310 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19312 * simple.el (line-move-finish): Pass whole number to
19313 line-move-to-column.
19314 (line-move-visual): Perform hscroll to the recorded position.
19316 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19318 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19320 2009-07-29 Alan Mackenzie <acm@muc.de>
19322 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19324 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19326 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19327 (gdb-place-breakpoints): Use full path when setting breakpoints.
19329 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19331 * calc/calc.el (calc-mode-map): Add keybinding for
19332 `calc-transpose-lines'.
19334 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19336 * calc/calc-misc.el (calc-transpose-lines): New function.
19338 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19340 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19341 Simplify check for out-of-band methods.
19342 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19343 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19345 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19347 * vc-git.el (vc-git-checkin): Fix typo.
19349 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19351 * progmodes/js2-mode.el: New file.
19353 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19355 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19356 (gud-menu-map): Adjust tooltip accordingly.
19358 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19360 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19361 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19363 * add-log.el (change-log-mode-map): Add a menu.
19365 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19367 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19368 function returns nil.
19369 (dbus-handle-event): Handle special return value :ignore.
19370 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19372 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19374 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19377 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19381 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19383 * term/pc-win.el (x-display-name, x-colors)
19384 (x-select-enable-clipboard, x-select-text): Doc fix.
19386 * term/common-win.el (x-display-name, x-colors): Doc fix.
19388 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19389 (xw-defined-colors): Doc fix.
19391 * w32-fns.el (x-select-text, x-setup-function-keys)
19392 (x-get-selection, x-set-selection): Doc fix.
19394 * term/x-win.el (x-select-text, x-setup-function-keys)
19395 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19397 * select.el (x-set-selection): Doc fix.
19399 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19401 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19402 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19403 "IsNSSSupportAvailable" method is not available.
19404 Reported by Steve Youngs <steve@sxemacs.org>.
19406 2009-07-24 Kenichi Handa <handa@m17n.org>
19408 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19409 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19410 (build-unicode-category-table): Fix range checks.
19412 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19414 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19415 the buffer we try to sync is current when calling
19418 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19419 not show up to date files.
19421 2009-07-24 Glenn Morris <rgm@gnu.org>
19423 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19424 Add autoload cookies. If necessary, initialize.
19425 (elint-log): Handle non-file buffers.
19426 (elint-initialize): Add optional argument to reinitialize.
19427 (elint-find-builtin-variables): Save excursion.
19429 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19434 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19436 * vc.el (vc-print-log-internal): New function, split out from ...
19437 (vc-print-log): ... here.
19438 (vc-dir-move-to-goal-column): Declare.
19440 * vc-git.el (vc-git-add-signoff): New variable.
19441 (vc-git-checkin): Use it.
19442 (vc-git-toggle-signoff): New function.
19443 (vc-git-extra-menu-map): Bind it to menu.
19444 (vc-git--run-command-string): Accept a nil FILE argument.
19445 (vc-git-stash-list): New function.
19446 (vc-git-dir-extra-headers): Use it.
19448 2009-07-23 Glenn Morris <rgm@gnu.org>
19450 * help-fns.el (describe-variable): Describe ignored and risky local
19451 variables in a similar way to that in which we describe safe ones.
19453 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19454 (byte-compile-output-file-form, byte-compile-output-docform)
19455 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19456 Give some more local variables with common names a "bytecomp-" prefix,
19457 so as not to shadow things during compilation.
19458 * emacs-lisp/cl-macs.el (load-time-value)
19459 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19460 `outbuffer' to `bytecomp-outbuffer'.
19462 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19463 since the next two variables cover them automatically now.
19464 (elint-builtin-variables, elint-autoloaded-variables): New.
19465 (elint-unknown-builtin-args): Remove all members, since they can be
19466 parsed automatically now.
19467 (elint-extra-errors): New.
19468 (elint-env-add-env, elint-env-add-macro): Use cadr.
19469 (elint-current-buffer): Use or. Change final message.
19470 (elint-get-top-forms): Use line-end-position.
19471 (elint-init-env): Use cadr. Handle autoload, declare-function,
19473 (elint-add-required-env): Doc fix. Use or. Standardize error.
19474 (regexp-assoc): Remove unused function.
19475 (elint-top-form): Set elint-current-pos, to record the start of the
19476 top-level form, for compilation-mode.
19477 (elint-form): Trap errors in macro expansion. Use dolist.
19478 (elint-unbound-variable): Use elint-builtin-variables and
19479 elint-autoloaded-variables.
19480 (elint-get-args): Use cadr, or.
19481 (elint-check-cond-form): Use dolist, cadr.
19482 (elint-check-condition-case-form): Doc fix. Use cadr.
19483 Use elint-extra-errors.
19484 (elint-log): New function.
19485 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19486 Distinguish errors and warnings.
19487 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19488 Use a bytecomp-style format.
19489 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19490 (elint-get-log-buffer): Use compilation mode. Disable undo.
19491 Don't truncate lines.
19492 (elint-initialize): Set builtin and autoloaded variable lists.
19493 Only process elint-unknown-builtin-args if non-nil.
19494 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19496 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19498 2009-07-22 Kevin Ryde <user42@zip.com.au>
19500 * net/newst-backend.el (newsticker--parse-atom-1.0)
19501 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19502 (newsticker--parse-rss-1.0):
19503 * progmodes/idlwave.el (idlwave-mode):
19504 * progmodes/idlw-shell.el (idlwave-shell-mode):
19505 * progmodes/vera-mode.el (vera-mode):
19506 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19507 * progmodes/vhdl-mode.el (vhdl-mode):
19508 * textmodes/table.el (table-generate-source)
19509 (table--warn-incompatibility):
19510 Hyperlink urls in docstrings with URL `...'.
19512 2009-07-22 Glenn Morris <rgm@gnu.org>
19514 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19515 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19516 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19517 Remove leading * from defcustom docs.
19519 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19521 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19523 (list-load-path-shadows): Optionally, just return shadows as a string.
19525 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19527 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19529 * mail/rmailedit.el (rmail-edit-mode):
19530 Use auto-save-include-big-deletions.
19532 * mail/rmail.el (rmail-variables):
19533 Use auto-save-include-big-deletions.
19535 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19538 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19540 * calc/calc.el (calc-undo-length): New variable.
19541 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19543 2009-07-21 Richard Stallman <rms@gnu.org>
19545 * files.el (auto-save-mode): Handle buffer-save-size = -2
19548 2009-07-21 Glenn Morris <rgm@gnu.org>
19550 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19552 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19554 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19555 silence compiler. Instead...
19556 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19557 (ps-print-ensure-fontified): Update for above function name changes.
19559 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19560 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19561 silence compiler. Instead...
19562 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19563 (mh-show-buffer): Only define for compiler.
19564 (pr-mh-current-message): Update for above function name changes.
19566 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19568 (find-file-noselect, insert-file-1): Update for above change.
19570 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19572 * mail/mailclient.el (mailclient-send-it): Fix message.
19574 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19575 (edebug-eval): Check cl-debug-env is bound.
19576 (print-level, print-circle): Don't redefine built-in variables.
19578 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19579 (custom-print-vectors): Remove old comments from doc.
19581 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19582 (emerge-version): Make the variable an obsolete alias for the
19583 emacs-version variable. Make the function obsolete.
19584 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19585 Emerge options, rather than merging in into the main Options menu.
19586 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19587 and auto advance modes. Disable edit/fast items when not relevant.
19589 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19591 * term/vt420.el (terminal-init-vt420): Fix typo.
19593 2009-07-20 Sam Steingold <sds@gnu.org>
19595 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19596 variable (removed from compile.el on 2004-03-11).
19598 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19600 * files.el (hack-local-variables-filter): Fix last change.
19602 2009-07-19 Juri Linkov <juri@jurta.org>
19604 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19605 (dir-local-variables-alist): New buffer-local variable.
19606 (hack-local-variables-filter): If variable is not dir-local,
19607 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19608 because file-local overrides dir-local.
19609 (c-postprocess-file-styles) <declare-function>:
19610 Remove obsolete declaration.
19611 (hack-dir-local-variables): Add dir-local variable/value pair to
19612 `dir-local-variables-alist' and remove duplicates. Doc fix.
19614 * help-fns.el (describe-variable): Add information about
19615 file-local and dir-local variables.
19617 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19619 * files.el (hack-local-variables-filter): Rewrite.
19621 2009-07-19 Glenn Morris <rgm@gnu.org>
19623 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19624 Silence compiler by only defining on XEmacs.
19626 * international/mule.el (auto-coding-regexp-alist): Only match
19627 BABYL... at the start of buffer, not of lines. (Bug#3790)
19629 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19630 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19631 (cal-menu-context-mouse-menu): Doc fix.
19633 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19635 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19637 2009-07-18 Juri Linkov <juri@jurta.org>
19639 * info.el: Virtual Info keyword finder.
19640 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19641 (Info-finder-file): New variable.
19642 (Info-finder-find-file): New function.
19643 (finder-known-keywords, finder-package-info)
19644 (find-library-name, lm-commentary): Use defvar and
19645 declare-function to silence compiler warnings.
19646 (Info-finder-find-node): New function.
19647 (info-finder): New command.
19649 * subr.el (process-kill-buffer-query-function): New function.
19650 (add-hook)<kill-buffer-query-functions>: Add hook
19651 `process-kill-buffer-query-function'.
19653 2009-07-18 Alan Mackenzie <acm@muc.de>
19655 * progmodes/cc-mode.el (c-before-hack-hook)
19656 (c-postprocess-file-styles): Give invocation of `c-set-style'
19657 DONT-OVERRIDE parameter of t. Already set style variables will
19658 thus not be overridden by style settings given by `c-file-syle'.
19660 * files.el (hack-local-variables-filter): Remove entries with
19661 duplicate keys from `file-local-variables-alist'.
19663 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19665 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19666 x-set-selection if display-selections-p returns nil for the
19669 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19671 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19673 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19675 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19676 Accept nil in addition to a regexp.
19677 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19678 Accept nil in addition to a regexp.
19679 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19680 buffers that have an associated file. Handle nil values of
19681 desktop-buffers-not-to-save and desktop-files-not-to-save.
19684 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19685 (x-disown-selection-internal): New functions.
19687 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19689 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19691 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19692 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19694 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19696 * simple.el (set-mark): Revert last change.
19698 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19700 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19701 rendering of pngs is not possible instead of messaging a long
19704 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19706 * w32-fns.el (x-selection-owner-p): New function.
19708 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19709 (mouse-yank-at-click, mouse-yank-primary):
19710 If select-active-regions is non-nil, deactivate the mark before
19713 * simple.el (deactivate-mark, set-mark): Only save selection if we
19716 2009-07-17 Kenichi Handa <handa@m17n.org>
19718 * case-table.el (describe-buffer-case-table): Fix for the case
19719 that KEY is a cons.
19721 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19723 * vc-rcs.el (vc-rcs-find-file-hook):
19724 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19726 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19728 * net/tramp.el (tramp-wait-for-output): Handle the case when
19729 commands do not return a newline but a null byte before the shell
19732 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19734 * term/ns-win.el (ns-set-alpha): Don't declare.
19735 (ns-set-background-alpha): Remove function.
19737 2009-07-16 Kevin Ryde <user42@zip.com.au>
19739 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19740 y-or-n-p, for safety.
19742 2009-07-16 Richard Stallman <rms@gnu.org>
19744 * files.el (auto-save-mode): If buffer-saved-size is -2,
19747 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19748 (rmail-retry-ignored-headers): Add more uninteresting fields.
19750 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19752 * net/rcirc.el (rcirc): Use history variables.
19753 (rcirc-server-name-history, rcirc-nick-name-history)
19754 (rcirc-server-port-history): New variables.
19756 2009-07-15 Kenichi Handa <handa@m17n.org>
19758 * international/mule-cmds.el (set-language-environment-charset):
19759 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19762 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19763 Delete unibyte-display.
19765 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19767 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19769 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19771 * simple.el (deactivate-mark): Optional argument FORCE.
19772 (set-mark): Use deactivate-mark.
19774 * info.el (Info-search): No need to check transient-mark-mode
19775 before calling deactivate-mark.
19777 * select.el (x-set-selection): Doc fix.
19778 (x-valid-simple-selection-p): Allow buffer values.
19779 (xselect--selection-bounds): Handle buffer values.
19780 Suggested by David De La Harpe Golden.
19782 * mouse.el (mouse-set-region, mouse-drag-track):
19783 Call copy-region-as-kill before setting the mark, to let
19784 select-active-regions work.
19786 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19788 * simple.el (deactivate-mark): If select-active-regions is
19789 non-nil, copy the selection data into a string.
19790 (activate-mark): If select-active-regions is non-nil, set the
19791 selection to the current buffer.
19792 (set-mark): Update selection if select-active-regions is non-nil.
19794 * select.el (x-valid-simple-selection-p): Allow buffer values.
19796 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19798 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19799 and more featureful message-mode.
19801 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19803 * select.el (x-set-selection): Doc fix.
19804 (x-valid-simple-selection-p): Disallow selection data consisting
19805 of a list or cons of integers, since that is not used.
19806 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19807 (xselect-convert-to-string, xselect-convert-to-length)
19808 (xselect-convert-to-filename, xselect-convert-to-charpos)
19809 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19811 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19813 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19814 output in -break-info command (Emacs bug #3794).
19816 2009-07-14 Glenn Morris <rgm@gnu.org>
19818 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19819 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19820 (edebug-print-length, edebug-print-level, edebug-print-circle)
19821 (edebug-sit-for-seconds, edebug-view-outside)
19822 (edebug-bounce-point, edebug-set-global-break-condition)
19823 (edebug-Go-nonstop-mode, edebug-trace-mode)
19824 (edebug-Trace-fast-mode, edebug-continue-mode)
19825 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19826 (edebug-visit-eval-list): Doc fixes.
19828 * subr.el (def-edebug-spec): Doc fix.
19830 2009-07-14 Kenichi Handa <handa@m17n.org>
19832 * international/characters.el: Fix setting of category ?C.
19834 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19836 * term/ns-win.el (x-select-font): defalias x-select-font to
19837 ns-popup-font-panel instead of generate-fontset-menu.
19839 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19841 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19843 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19845 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19846 the PK\003\004 header (Bug#3770).
19848 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19850 * pcomplete.el (pcomplete-comint-setup): Check for
19851 shell-dynamic-complete-filename too.
19853 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19855 * simple.el (temporary-goal-column): Change the value for
19856 line-move-visual to a cons cell.
19857 (line-move-visual): Record or set the window hscroll, if
19858 necessary (Bug#3494).
19859 (line-move-1): Handle cons value of temporary-goal-column.
19861 2009-07-11 Kenichi Handa <handa@m17n.org>
19863 * international/mule-diag.el (describe-character-set): Don't show
19866 2009-07-10 Sam Steingold <sds@gnu.org>
19868 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19869 Omake sometimes indents the errors it prints, so allow all
19870 regexps to start with spaces.
19872 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19874 * cus-edit.el (customize-changed-options-previous-release):
19875 Bump value to 22.1. (Bug#3804)
19877 2009-07-08 Sam Steingold <sds@gnu.org>
19879 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19880 to be a cons cell (test . ignored-directory) to selectively ignore
19881 some directories depending on the location of the search.
19883 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19885 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19886 remote user is root, on the local host.
19887 (tramp-local-host-p): Either the local user or the remote user
19888 must be root. (Bug#3771)
19890 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19892 * progmodes/gdb-mi.el (gdb): Remove description of
19893 gdb-use-separate-io-buffer.
19894 (menu): Don't allow toggling of or enable
19895 gdb-use-separate-io-buffer from menubar.
19897 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19899 * mail/unrmail.el (unrmail): Make sure the message ends with two
19900 newlines (Bug#3769).
19902 2009-07-08 Glenn Morris <rgm@gnu.org>
19904 * calendar/calendar.el (calendar-current-date): Rework previous change.
19906 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19908 * calendar/calendar.el (calendar-current-date):
19909 Add an optional argument giving an offset from today.
19911 2009-07-08 Glenn Morris <rgm@gnu.org>
19913 * tutorial.el (tutorial--describe-nonstandard-key):
19914 Adjust the message for when a key has been unbound.
19915 (help-with-tutorial): Hide the arch-tag.
19917 2009-07-08 Kenichi Handa <handa@m17n.org>
19919 * international/fontset.el (setup-default-fontset): For each
19920 script, append (not set) font-specs.
19922 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19925 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19927 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19928 -data-list-register-names to ...
19929 (gdb-starting): ... here because GDB 7.0 requires execution to
19930 have started when using this MI command.
19931 (gdb-set-header): New function to distinguish select and
19932 unselected tabs in gdb buffers.
19933 (gdb-propertize-header): New macro that uses gdb-set-header.
19934 (gdb-breakpoints-header, gdb-locals-header): Use it.
19935 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19937 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19939 * Makefile.in (ELCFILES): Remove fadr.elc.
19941 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19943 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19944 may contain frame information, so `string-match' should be used.
19945 (gdb-update): Disassembly is invalidated through
19946 `gdb-get-selected-frame'.
19947 (gdb-pad-string): New function to pad string with spaces.
19948 (gdb-invalidate-disassembly): Invalidate only if the buffer
19950 (gdb-disassembly-handler-custom): Column alignment.
19951 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19953 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19955 (gdb-frame-handler): Match convention to for disassembly buffer
19957 (gdb-stack-list-frames-handler): Rewritten without regexps.
19958 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19959 not highlight breakpoints without line information.
19960 (gdb-input): Add trailing newline to command.
19962 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19964 (gdb-breakpoints-list-handler-custom): Replacement for
19965 `gdb-break-list-handler'. Using real parser instead of regexps
19967 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19968 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19969 to place breakpoints.
19970 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19972 (gdb-disassembly-handler-custom): Show overlay arrow.
19973 (gdb-disassembly-place-breakpoints): Show breakpoints in
19974 disassembly buffer.
19975 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19976 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19977 instead of parsing breakpoints buffer. Fixed old menu references
19982 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19983 (gdb-memory-address): New variable which holds top address of
19984 memory page shown in memory buffer.
19985 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19986 New customization variables.
19988 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19989 display the memory buffer.
19990 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19991 buffer display parameters.
19992 (def-gdb-memory-format, gdb-memory-format-binary)
19993 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19994 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19995 Functions for setting memory buffer format.
19996 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19997 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19998 unit size used in memory buffer.
19999 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20000 Switch to next/previous page of memory buffer.
20001 Now using (bindat-get-field) instead of fadr functions.
20003 2009-07-07 Sam Steingold <sds@gnu.org>
20005 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20006 non-top-level files.
20008 2009-07-07 Kenichi Handa <handa@m17n.org>
20010 * international/mule-cmds.el (reset-language-environment):
20011 Put the highset priority to the charset iso-8859-1.
20013 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20015 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20016 to the end of the line when locating the block (Bug#700).
20018 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20020 * net/tramp.el (tramp-handle-write-region): Flush file properties
20021 in case of short track.
20023 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20025 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20026 Coded custom representation of verilog error regular expressions
20027 to work with Emacs-22's new format.
20028 (verilog-error-regexp-xemacs-alist): Coded custom representation
20029 of verilog error regular expressions to work with XEmacs format.
20030 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20031 error recognition into XEmacs.
20032 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20033 error recognition into Emacs-22.
20035 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20037 * woman.el: Remove stand-alone closing parentheses.
20038 (woman-file-name, woman2-format-paragraphs)
20039 (woman-leave-blank-lines): Code cleanup.
20040 (woman-use-own-frame): Change default to nil.
20041 (woman-italic, woman-bold, woman-unknown, woman-addition):
20042 Change defaults to inherit from default faces.
20043 (woman2-process-escapes): Consume the newline after a stand-alone
20044 filler character (Bug#3651).
20046 2009-07-06 Glenn Morris <rgm@gnu.org>
20048 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20049 (top-level): Move provide to the end.
20050 (ffap): Remove defunct URL from custom group.
20052 * subr.el (eval-after-load): Doc fix.
20054 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20056 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20057 `calc-embedded-word' is called twice.
20059 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * files.el (find-alternate-file-other-window, find-alternate-file):
20062 Obey confirm-nonexistent-file-or-buffer.
20064 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20066 * dired-aux.el (dired-show-file-type): Handle remote files.
20068 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20070 * desktop.el (desktop-globals-to-save):
20071 Add file-name-history (Bug#2750).
20073 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20075 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20077 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20079 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20080 property on entire argument since this is what eshell-lisp-command
20083 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20085 * net/tramp-gvfs.el (tramp-gvfs-methods)
20086 (tramp-gvfs-zeroconf-domain)
20087 (tramp-bluez-discover-devices-timeout): Add version flag.
20088 (tramp-gvfs-handler-mounted-unmounted)
20089 (tramp-gvfs-connection-mounted-p): Polish handling of
20090 incompatibilities between GVFS 0.2 and 1.0.
20092 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20094 * cus-start.el (all): Add make-pointer-invisible.
20096 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20098 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20099 formatted correctly.
20101 2009-07-02 Juri Linkov <juri@jurta.org>
20103 * info.el: Virtual Info files and nodes.
20104 (Info-virtual-files, Info-virtual-nodes): New variables.
20105 (Info-current-node-virtual): New variable.
20106 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20108 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20109 to check for a virtual file instead of checking a fixed list
20111 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20112 instead of ad-hoc processing of "dir" and (apropos history toc).
20113 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20114 instead of ad-hoc processing of "dir" and (apropos history toc).
20115 Reread a file when moving from a virtual node.
20116 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20117 (Info-directory-toc-nodes, Info-directory-find-file)
20118 (Info-directory-find-node): New functions.
20119 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20120 (Info-history): Move part of code to
20121 `Info-history-find-node'.
20122 (Info-history-toc-nodes, Info-history-find-file)
20123 (Info-history-find-node): New functions.
20124 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20125 (Info-toc): Move part of code to `Info-toc-find-node'.
20126 (Info-toc-find-node): New function.
20127 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20128 the current Info file name to references because now the node
20129 "*TOC*" belongs to the same Info manual.
20130 (Info-toc-build): Rename from `Info-build-toc'.
20131 (Info-toc-nodes): Rename input argument `file' to `filename'.
20132 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20133 instead of ad-hoc processing of ("dir" apropos history toc).
20134 (Info-index-nodes): Use Info-virtual-file-p
20135 to check for a virtual file instead of checking a fixed list
20137 (Info-index-node): Add check for `Info-current-node-virtual'.
20138 Raise `save-match-data' higher up the tree to contain
20139 `search-forward' too (bug fix).
20140 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20141 (Info-virtual-index-nodes): New variable.
20142 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20143 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20144 (Info-apropos-file, Info-apropos-nodes): New variables.
20145 (Info-apropos-toc-nodes, Info-apropos-find-file)
20146 (Info-apropos-find-node, Info-apropos-matches): New functions.
20147 (info-apropos): Move part of code to `Info-apropos-find-node' and
20148 `Info-apropos-matches'.
20149 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20150 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20151 for a virtual file instead of checking a fixed list of node names.
20153 * simple.el (async-shell-command): New command.
20155 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20157 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20158 instead of `mount-info'.
20160 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20162 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20163 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20165 2009-07-02 Kenichi Handa <handa@m17n.org>
20167 * international/mule.el (set-keyboard-coding-system): Force *-unix
20168 coding-system to avoid eol conversion.
20170 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20173 Add handler for `process-file', `shell-command' and
20174 `start-file-process'.
20175 (tramp-gvfs-handle-shell-command)
20176 (tramp-gvfs-handle-start-file-process)
20177 (tramp-gvfs-handle-process-file): New defuns.
20178 (tramp-synce-list-devices): Simplify check for existence of property.
20180 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20182 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20184 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20186 * language/korean.el (set-language-info-alist): Add korean-cp949,
20189 2009-07-01 Kenichi Handa <handa@m17n.org>
20191 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20193 * international/encoded-kb.el: Deleted.
20195 * international/mule.el (set-keyboard-coding-system): Perform the
20196 necessary setup here instead of calling encoded-kbd-setup-display.
20198 2009-07-01 Glenn Morris <rgm@gnu.org>
20200 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20202 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20204 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20206 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20208 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20209 Handle also the 'rename case, when setting file modes. (Bug#3712)
20210 (tramp-default-file-modes): Remove execute permissions.
20212 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20213 (top): Add a default for "synce" in `tramp-default-user-alist'.
20214 Add completion function for "synce" method.
20215 (tramp-hal-service, tramp-hal-path-manager)
20216 (tramp-hal-interface-manager, tramp-hal-interface-device):
20218 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20219 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20222 * net/trampver.el: Update release number.
20224 2009-06-30 Kenichi Handa <handa@m17n.org>
20226 * international/fontset.el (setup-default-fontset): Add CJK fonts
20227 for symbols and the other miscellaneous characters.
20229 * language/korea-util.el (setup-korean-environment-internal):
20230 Make char-width-table suitable for Korean environments.
20231 (exit-korean-environment): Cancel above.
20233 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20234 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20235 setup-function to make char-width-table suitable for respective
20236 environments, and an exit-function to cancel that.
20238 * language/japan-util.el (setup-japanese-environment-internal):
20239 Call use-cjk-char-width-table with arg `ja_JP'.
20241 * international/characters.el (cjk-char-width-table): Delete it.
20242 (cjk-char-width-table-list): New variable.
20243 (use-cjk-char-width-table): New arg local-name.
20244 (use-default-char-width-table): Fix for the case that Emacs is
20245 already using the default char-width-table.
20247 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20249 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20250 modes mandatory. (Bug#3712)
20252 2009-06-29 Alan Mackenzie <acm@muc.de>
20254 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20255 correction between the visible width of TABs and their number of bytes.
20257 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20259 * server.el (server-buffer-done): Prevent kill-buffer from
20260 prompting by clearing the buffer modification flag (Bug#3696).
20262 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20264 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20265 (verilog-endcomment-reason-re): Support unique case and priority case.
20266 (verilog-basic-complete-re): Support localparam lineup.
20267 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20268 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20270 (verilog-leap-to-case-head): Now support *nested* unique &
20271 priority case statements.
20272 (verilog-auto-lineup): Make just declarations the default (as it
20274 (verilog-leap-to-case-head): Support priority/unique case statements.
20275 (verilog-auto-lineup): Rework to give users radio buttons to
20276 select the various styles of automatic lineup.
20277 (verilog-error-regexp-alist): Rework to support the XEmacs style
20278 of error regular expressions from compilers, lint tools &
20279 simulators. Note that GNU Emacs has made it impossible for a mode
20280 to load such things.
20281 (electric-verilog-terminate-line, verilog-indent-declaration)
20282 (verilog-auto-wiure): Rework for radio button selection of
20283 auto-lineup selection of specification of auto lineup.
20284 (verilog-beg-of-statement-1): Redesign to support proper operation
20285 in additional code, based on testing with auto-lineup.
20286 (verilog-calculate-indent, assignments & declarations)
20287 (verilog-backward-token): Enhance to support auto-lineup of
20288 assignments & declarations.
20289 (verilog-in-directive-p, verilog-at-struct-p): New function for
20290 easy test of whether we are.
20291 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20292 to support safe execution at almost anyline.
20293 (verilog-calc-1): Properly support indenting deep inside generate
20295 (verilog-init-font): Remove definition & use of verilog-init-font,
20296 as it is redundant with font-lock-defaults.
20297 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20298 to avoid circular calls if syntax-ppss is a function (as is the
20299 case now in 22.x GNU Emacs) as that function would sometimes call
20300 itself, leading to (nearly) infinite recursion.
20301 (verilog-ovm-begin-re, verilog-ovm-end-re)
20302 (verilog-ovm-statement-re, verilog-leap-to-head)
20303 (verilog-backward-token): Add support for OVM macros. Some are
20304 complete statements, and others open and close scopes like begin
20306 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20307 (verilog-defun-level-generate-only-re): Really fix the defun-list
20309 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20310 coverpoint, constraint and cross statements.
20311 (verilog-defun-level-list, verilog-generate-defun-level-list)
20312 (verilog-all-defun-level-list): Redo these specifications - it is
20313 too hard to support eval-when compile aggregation of lists also
20314 built at when-compile time.
20315 (verilog-defun-level-list): Place defconsts of variables used in
20316 building regular expressions which are built in eval-when-compile
20317 bodies in the same eval-when-compile body to facilitate compile
20319 (verilog-beg-block-re-ordered): Support indenting
20320 virtual/protected tasks and functions.
20321 (verilog-defun-level-list, verilog-in-generate-region-p)
20322 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20323 indentation of some module items (generate items).
20324 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20325 across virtual/protected tasks and functions.
20327 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20329 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20330 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20331 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20332 in concatenations. Reported by Yishay Belkind.
20333 (verilog-auto-ascii-enum): Support one-hot state machines in
20334 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20335 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20336 modport in AUTOINST and add vl-modport for users.
20337 Reported by David Rogoff.
20338 (verilog-auto-inout-module, verilog-auto-inst)
20339 (verilog-decls-get-interfaces, verilog-insert-definition)
20340 (verilog-insert-one-definition, verilog-read-decls)
20341 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20342 (verilog-sig-modport, verilog-signals-combine-bus)
20343 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20344 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20345 Suggested by David Rogoff.
20346 (verilog-repair-open-comma): Fix non-insertion of comma when
20347 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20348 (verilog-make-width-expression): Simplify [A-1:0] expression
20349 widths to just {A{1'b0}}.
20350 (verilog-mode): Cleanup checkdoc warnings.
20351 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20352 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20353 inputs/outputs or data type. Suggested by Vasu Kandadi.
20354 (next-error-last-buffer): Fix byte-compiler warning.
20355 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20356 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20357 or shell command text during AUTO expansion. Suggested by Tad Truex.
20358 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20359 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20360 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20361 in AUTOINOUT. Reported by Matthew Lovell.
20362 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20363 causing use of <= assignments. Reported by Alex Reed.
20364 (verilog-read-decls): Fix triand, trior, wand, wor to be
20365 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20366 (verilog-extended-complete-re): Support import "DPI-C" functions.
20367 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20368 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20369 (verilog-insert-date, verilog-insert-year)
20370 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20371 Windows systems. Reported by Michael Potts.
20372 (verilog-read-module-name): Fix AUTOINST when the child module
20373 declaration's name is a tick define. Reported by Elliot Mednick.
20374 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20375 passed to next parameter's definition. Reported by Bruce T.
20376 (verilog-read-decls): Fix detecting "parameter int" when using
20377 AUTOINSTPARAM. Reported by Bruce T.
20378 (verilog-goto-defun): Fix goto not finding modules unless first
20379 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20380 (verilog-mode): Expand -f flag arguments on entry to mode so
20381 verilog-goto-defun will work. Reported by Lawrence Butcher.
20382 (verilog-getopt): Expand environment variables in -f file
20383 arguments. Suggested by Lawrence Butcher.
20384 (verilog-set-define): Fix "Symbol's value as variable is void"
20385 when reading enumerations.
20386 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20387 Suggested by Stephen Peltan.
20388 (verilog-read-defines): Fix reading of enumerations in include
20389 files. Reported by Steve Peltan.
20391 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20393 * files.el (trash-directory): Fix defcustom type.
20395 2009-06-28 Juri Linkov <juri@jurta.org>
20397 * help-fns.el (describe-function-1): Correctly locate adviced
20398 functions in hyperlink (Bug#2438).
20400 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20402 * files.el (trash-directory): Change default to nil.
20403 (move-file-to-trash): If trash-directory is nil and
20404 system-move-file-to-trash is unbound, perform freedesktop-style
20407 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20409 * files.el (move-file-to-trash): Add freedesktop trash
20412 2009-06-28 Glenn Morris <rgm@gnu.org>
20414 * autorevert.el (global-auto-revert-non-file-buffers)
20415 (global-auto-revert-mode): Doc fixes.
20417 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20419 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20421 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20423 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20424 opened an X connection before calling x-get-resource (Bug#3194).
20426 * play/doctor.el: Remove reference to obsolete website.
20427 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20429 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20431 Remove find-file-not-found-hook VC method. (Bug#2757)
20432 * vc-hooks.el (vc-file-not-found-hook)
20433 (vc-default-find-file-not-found-hook): Remove functions.
20434 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20435 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20438 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20440 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20442 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20443 compatibility function for `looking-back'.
20445 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20446 Use `ispell-looking-back'.
20448 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20450 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20451 rather than `filename'.
20453 2009-06-23 Miles Bader <miles@gnu.org>
20455 * face-remap.el (text-scale-set): New function.
20457 2009-06-23 Glenn Morris <rgm@gnu.org>
20459 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20461 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20463 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20465 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20467 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20468 Simplify Persian conditionals.
20470 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20471 variable `filename'.
20473 * comint.el (comint-insert-input): Doc fix.
20475 * Makefile.in (ELCFILES): Fix typo in previous change.
20477 2009-06-23 Miles Bader <miles@gnu.org>
20479 * cus-start.el: Add entry for `recenter-redisplay'.
20481 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20483 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20484 Add an optional argument for the backend, use it instead of
20485 calling vc-backend.
20486 (vc-mode-line): Add an optional argument for the backend.
20487 Pass the backend to vc-state and vc-working-revision. Move code for
20488 special handling for vc-state being a buffer to ...
20490 * vc-rcs.el (vc-rcs-find-file-hook):
20491 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20493 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20494 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20495 vc-stay-local-p and vc-mode-line calls.
20497 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20498 (vc-cvs-diff, vc-cvs-annotate-command)
20499 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20500 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20501 vc-mode-line calls.
20503 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20505 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20506 backend when calling vc-mode-line.
20507 (vc-register): Do not create a closure for calling the vc register
20508 function, call it directly.
20510 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20512 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20513 to make it obvious item can be clicked.
20515 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20517 2009-06-23 Kenichi Handa <handa@m17n.org>
20519 * language/korea-util.el (korean-key-bindings): Change the binding
20520 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20523 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20525 Sync with Tramp 2.1.16.
20527 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20529 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20530 when a loading of a package fails. Completion function for rsync
20531 is `tramp-completion-function-alist-ssh'.
20532 (all): Replace all calls of `split-string' and
20533 `tramp-split-string' by `tramp-compat-split-string'.
20534 (tramp-default-method): Use `tramp-compat-process-running-p'.
20535 (tramp-default-proxies-alist): Allow also Lisp forms.
20536 (tramp-remote-path): Add choice "Private Directories".
20537 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20538 (tramp-domain-regexp): Allow also "-", "_" and ".".
20539 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20540 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20541 (tramp-debug-message): Insert header line in debug buffer.
20542 (tramp-handle-directory-files-and-attributes-with-stat):
20543 Care about filenames with spaces, or starting with "-".
20544 (tramp-handle-dired-uncache): New defun.
20545 (tramp-handle-insert-directory): Don't flush the directory from
20546 cache, this is handled by `dired-uncache' now.
20547 (tramp-handle-insert-file-contents): Improve error handling.
20548 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20549 Quote `tramp-end-of-output'.
20550 (tramp-action-password): Improve trace message.
20551 (tramp-check-for-regexp): Both echoes must be present, before removing.
20552 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20553 (tramp-compute-multi-hops): Eval cons cells of
20554 `tramp-default-proxies-alist'.
20555 (tramp-maybe-open-connection): Use the same command pattern for
20556 first hop and further hops.
20557 (tramp-wait-for-output): Remove handling of newlines.
20558 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20559 (tramp-split-string): Remove function. It is handled in
20562 * net/tramp-cmds.el (tramp-bug):
20563 Recommend `tramp-cleanup-all-connections' in the bug mail.
20565 * net/tramp-compat.el (tramp-compat-split-string)
20566 (tramp-compat-process-running-p): New defuns.
20568 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20569 for `dired-uncache'.
20571 * net/tramp-gvfs.el: New package.
20573 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20574 Add handler for `dired-uncache'.
20575 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20577 * net/trampver.el: Update release number. Make version check fit
20580 2009-06-22 Jim Meyering <meyering@redhat.com>
20582 Automatically handle .xz suffix (XZ-compressed files), too.
20583 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20584 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20586 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20587 Nick Roberts <nickrob@snap.net.nz>
20589 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20590 repository (http://sphinx.net.ru/hg/gdb-mi/).
20592 2009-06-22 Glenn Morris <rgm@gnu.org>
20594 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20595 `mode' and `eval' entries. (Bug#3430)
20597 * Makefile.in (ELCFILES): Add fadr.elc.
20599 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20600 differing behavior of \n and ^ in strings. (Bug#3385)
20602 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20604 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20606 (lisp-indent-function): Make it a defcustom.
20608 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20610 * progmodes/gdb-ui.el: Replace with ...
20611 * progmodes/gdb-mi.el: ... this file.
20612 * progmodes/gud.el: Modify for gdb-mi.el.
20614 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20616 * fadr.el: New file.
20618 See ChangeLog.14 for earlier changes.
20620 ;; Local Variables:
20624 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20626 This file is part of GNU Emacs.
20628 GNU Emacs is free software: you can redistribute it and/or modify
20629 it under the terms of the GNU General Public License as published by
20630 the Free Software Foundation, either version 3 of the License, or
20631 (at your option) any later version.
20633 GNU Emacs is distributed in the hope that it will be useful,
20634 but WITHOUT ANY WARRANTY; without even the implied warranty of
20635 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20636 GNU General Public License for more details.
20638 You should have received a copy of the GNU General Public License
20639 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.