1 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3 * progmodes/prolog.el: Fix up coding convention and such.
4 (prolog-indent-width): Use the same default as in
5 previous prolog.el rather than tab-width which depends on which buffer
6 is current when the file is loaded.
7 (prolog-electric-newline-flag): Only enable if electric-indent-mode
9 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
10 (prolog-known-systems): Remove.
11 (prolog-mode-syntax-table, prolog-inferior-mode-map):
12 Move initialization into declaration.
13 (prolog-mode-map): Move initialization into declaration.
14 Remove system-specific mode-map vars, since they referred to the same
16 (prolog-mode-variables): Obey the user's preference w.r.t
17 adaptive-fill-mode. Prefer symbol-value to `eval'.
18 (prolog-mode-keybindings-edit): Add compatibility bindings.
19 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
20 (mercury-mode-map): New var.
21 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
22 (prolog-ensure-process, prolog-process-insert-string)
23 (prolog-consult-compile): Use with-current-buffer.
24 (prolog-guess-fill-prefix): Simplify data flow.
25 (prolog-replace-in-string): New function to use instead of
27 (prolog-enable-sicstus-sd): Don't abuse `eval'.
28 (prolog-uncomment-region): Use `uncomment-region' when available.
29 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
30 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
31 of int-to-char and char-to-int.
32 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
34 2011-01-11 Stefan Bruda <stefan@bruda.ca>
36 * progmodes/prolog.el: Replace by a whole new file.
38 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
40 * subr.el (eval-after-load): Fix timing for features (bug#7769).
41 (declare-function, undefined, insert-for-yank)
42 (replace-regexp-in-string): Follow checkdoc's recommendations.
44 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
46 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
47 refreshing the diary buffer.
49 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
51 * allout.el: Add 2011 to the file copyright.
52 (allout-encrypt-string): Prevent encryption from adding an extra
53 newline at the end of the topic body.
54 (allout-version): Increment to 2.3.
56 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
58 * net/dbus.el (dbus-unregister-service): Complete doc.
59 Fix call of dbus-error signal.
60 (dbus-register-property): Use `dont-register' keyword.
62 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
64 * net/dbus.el (dbus-unregister-service): Translate returned
65 integer into a symbol.
66 (dbus-register-property): Use `dbus-register-service' to do the
69 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
71 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
72 Suggested by Joakim Verona.
74 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
76 * wid-edit.el (visibility): Replace :on-image and :off-image
77 widget properties with :on-glyph and :off-glyph, for consistency
78 with the `visibility' widget.
79 (widget-toggle-value-create, widget-visibility-value-create):
80 Merge into a single function `widget-toggle-value-create'.
82 * cus-edit.el (custom-variable-value-create, custom-visibility)
83 (custom-face-edit-value-create, custom-face-value-create):
84 Replace :on-image and :off-image widget properties with :on-glyph and
85 :off-glyph, for consistency with the `visibility' widget.
87 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
89 * net/ldap.el (ldap-search-internal): Don't use eval.
91 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
93 * subr.el (read-char-choice): Use read-key.
95 * custom.el (custom-safe-themes): Rename from
96 custom-safe-theme-files. Add :risky tag.
97 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
98 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
100 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
102 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
103 from Search and add a label to Undo.
105 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
106 inappropriate buttons and adding :vert-only tags.
108 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
109 removal of Help tool-bar button. Remove Undo button for space.
111 * info.el (info-tool-bar-map): Add :vert-only tags.
113 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
115 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
116 image backend support. Either of them is fine.
118 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
120 * subr.el (y-or-n-p): Doc fix.
122 * custom.el (custom-safe-theme-files): New defcustom.
123 (custom-theme-load-confirm): New function.
124 (load-theme): Load theme using `load', confirming with
125 custom-theme-load-confirm if necessary.
127 * subr.el (read-char-choice): New function, factored out from
128 dired-query and hack-local-variables-confirm.
130 * dired-aux.el (dired-query):
131 * files.el (hack-local-variables-confirm): Use it.
133 * dired-aux.el (dired-compress-file):
134 * files.el (abort-if-file-too-large, find-alternate-file)
135 (set-visited-file-name, write-file, backup-buffer)
136 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
137 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
138 Use new format string args for y-or-n-p and yes-or-no-p.
140 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
142 * progmodes/compile.el (compilation-error-regexp-alist-alist)
143 [gcc-include]: Tighten file name match, add match for column
145 [gnu]: Remove unused group.
147 2011-01-08 Glenn Morris <rgm@gnu.org>
149 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
151 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
153 2011-01-07 Sam Steingold <sds@gnu.org>
155 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
156 the `explicit-shell-file-name' because that is the
157 non-interactive shell.
159 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
161 * subr.el (y-or-n-p): Accept format string args.
163 2011-01-07 Glenn Morris <rgm@gnu.org>
165 * Makefile.in (EMACSOPT): Add --no-site-lisp.
167 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
169 * allout.el (allout-back-to-current-heading): Ensure return to
170 the visible containing topic, rather than a collapsed one.
171 (allout-view-change-hook): Remove hook that was deprecated long ago.
172 (allout-exposure-change-hook): Remove documentation remarks
173 concerning removed allout-view-change-hook.
174 (allout-flag-region): Remove invocation of and documentation
175 remarks concerning allout-view-change-hook.
177 2011-01-06 Glenn Morris <rgm@gnu.org>
179 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
180 (vc-bzr-annotate-extract-revision-at-line):
181 Handle authors with embedded spaces. (Bug#7792)
183 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
185 * doc-view.el (doc-view-image-width): New variable.
186 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
187 backend for PNG images, and do dynamic rescaling instead of
188 reconverting the whole doc.
190 2011-01-05 Glenn Morris <rgm@gnu.org>
192 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
194 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
196 * allout.el: Reconcile with changes in line movement behavior for
197 long text lines that cross more than a single physical window
198 line, ie when truncate-lines is nil.
199 (allout-next-visible-heading): Provide for change in line-move
200 behavior on long lines when truncate-lines is nil. In that case,
201 line-move can wind up on the same textual line when it moves to
202 the next window line, and moving to the bullet position after the
203 move yields zero advancement. Add logic to detect and compensate
204 for the lack of progress.
205 (allout-current-topic-collapsed-p): move-end-of-line respect for
206 field boundaries is different when operating with body lines
207 shorter than window width versus ones greater than window width,
208 which can yield false negatives in this function. Avoid
209 difference by applying move-end-of-line while field-text-motion is
212 2011-01-04 Glenn Morris <rgm@gnu.org>
214 * textmodes/rst.el (rst-compile-toolsets):
215 Add pdf and s5 to option alist.
217 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
219 * net/dbus.el (dbus-register-property): Add optional parameter
220 dont-register-service. Updated docstring accordingly.
222 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
224 * textmodes/rst.el (rst-compile-pdf-preview)
225 (rst-compile-slides-preview): Remove extra line.
227 2011-01-04 Glenn Morris <rgm@gnu.org>
229 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
230 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
231 default to `prog' without a .py extension.
232 (rst-compile-pdf-preview, rst-compile-slides-preview):
233 Use program names from rst-compile-toolsets, rather than hard-coding.
234 (rst-portable-mark-active-p): Fix presumed typo.
236 2011-01-02 Eli Zaretskii <eliz@gnu.org>
238 * term/w32-win.el (dynamic-library-alist): Set up correctly for
239 libpng versions both before and after 1.4.0. (Bug#7716)
241 2011-01-02 Eli Zaretskii <eliz@gnu.org>
243 * time.el (display-time-mode): Mention display-time-interval in
244 the doc string. (Bug#7713)
246 2011-01-02 Kenichi Handa <handa@m17n.org>
248 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
249 condition-case and return an error message string if something
251 (rmail-show-mime): Adjust for the above change. Insert the
252 header by rmail-mime-insert-header.
254 2011-01-02 Kenichi Handa <handa@m17n.org>
256 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
257 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
258 (rmail-mime-mbox-buffer)
259 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
260 (rmail-mime-entity): Argument changed. All codes handling an
261 entity object are changed.
262 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
264 (rmail-mime-entity-children, rmail-mime-entity-handler)
265 (rmail-mime-entity-tagline): New functions.
266 (rmail-mime-message-p): New function.
267 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
268 (rmail-mime-entity-segment, rmail-mime-next-item)
269 (rmail-mime-previous-item, rmail-mime-shown-mode)
270 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
271 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
272 (rmail-mime-insert-tagline, rmail-mime-insert-header):
274 (rmail-mime-text-handler): Call rmail-mime-insert-text.
275 (rmail-mime-insert-decoded-text): New function.
276 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
277 (rmail-mime-insert-image): Argument changed. Caller changed.
278 (rmail-mime-image): Call rmail-mime-toggle-hidden.
279 (rmail-mime-set-bulk-data): New funciton.
280 (rmail-mime-insert-bulk): Argument changed.
281 (rmail-mime-multipart-handler): Return t.
282 (rmail-mime-process-multipart): Argument changed.
283 Handle "multipart/alternative" here.
284 (rmail-mime-process): Argument changed.
285 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
286 (rmail-mime-insert): Argument changed. Handle raw display mode.
287 (rmail-mime): Argument changed. Handle toggling of raw display
289 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
290 rmail-mime-view-buffer.
291 (rmail-insert-mime-forwarded-message): Likewise.
292 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
294 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
295 non-nil, handle the header in rmail-show-mime-function.
297 2011-01-02 Leo <sdl.web@gmail.com>
299 * help-fns.el (describe-variable): Fix previous change.
301 2011-01-02 Juri Linkov <juri@jurta.org>
303 * isearch.el (isearch-lazy-highlight-error): New variable.
304 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
305 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
306 to the current value of `isearch-error' (Bug#7468).
308 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
310 * help-fns.el (describe-variable): Don't emit trailing whitespace
313 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
315 * textmodes/rst.el (rst-compile-pdf-preview)
316 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
318 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
320 * emulation/edt-mapper.el: Override mapping of function keys so
321 that the later call to read-key-sequence works.
323 2011-01-02 Eli Zaretskii <eliz@gnu.org>
325 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
326 Unix EOLs. (Bug#7589)
328 2011-01-02 Leo <sdl.web@gmail.com>
330 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
331 if point is not behind eshell-last-output-end (Bug#7585).
333 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
335 * files.el (file-local-variables-alist):
336 Make permanent-local (bug#7767).
338 2011-01-02 Glenn Morris <rgm@gnu.org>
340 * version.el (emacs-copyright): Set short copyright year to 2011.
342 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
344 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
345 an existing temp buffer. (Bug#7746)
347 2011-01-02 Glenn Morris <rgm@gnu.org>
349 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
350 multiple addresses. (Bug#7760)
352 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
354 * allout.el (allout-auto-fill): Do not infinitely recurse - use
355 do-auto-fill if everything points back to allout-auto-fill.
356 (allout-mode-deactivate-hook): Declare obsolete, in favor of
357 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
359 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
361 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
364 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
366 * doc-view.el (doc-view-set-doc-type): New function refactored
368 (doc-view-fallback-mode): New function.
369 (doc-view-mode): Use it.
370 (doc-view-mode-maybe): New function that checks if doc-view-mode
371 can be used and falls back to the next best mode otherwise.
373 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
374 DVI, OpenDocument, and MS Office files.
376 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
378 * emacs-lisp/rx.el (rx-syntax): Fix typo.
380 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
382 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
383 on a copy of auto-mode-alist, because that deletes with side
386 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
388 * doc-view.el (doc-view-mode, doc-view-toggle-display):
389 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
390 fallback instead of hard coding fundamental mode.
392 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
394 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
395 Office) files also for searching.
397 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
399 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
400 Office) files. Not yet enabled via auto-mode-list.
401 (doc-view-unoconv-program): New custom variable.
402 (doc-view-mode-p): Handle new odf document type.
403 (doc-view-odf->pdf): New conversion function.
404 (doc-view-convert-current-doc): Call it for odf files.
405 (doc-view-mode): Recognize newly supported file extensions.
407 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
409 * net/tramp.el (tramp-default-method-alist)
410 (tramp-default-user-alist)
411 (tramp-local-host-regexp, tramp-prefix-domain-format)
412 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
419 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
420 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
422 2010-12-29 Karl Fogel <kfogel@red-bean.com>
424 * saveplace.el (save-place-alist-to-file): Save list sorted and
425 pretty-printed, so that it is mergeable by line-based text merging,
426 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
428 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
430 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
431 (allout-mode): Argument "toggle" => "force".
432 Refine the docstring.
433 Remove special provisions for reactivation, besides the 'force'
435 Consolidate layout provisions coce directly into the activation
436 condition branch, now that we've removed those provisions.
437 (allout-unload-function): Explicitly activate the mode before
438 deactivating, if it's initially deactivated.
439 (allout-set-buffer-multibyte): Properly prevent byte-compiler
440 warnings for version of function used only where
441 set-buffer-multibyte is unavailable.
443 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
445 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
446 are handled by the menu-bar entries. As before, don't use
447 :visibile to avoid changing the tool-bar.
449 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
451 * net/secrets.el (secrets-delete-alias): New defun.
453 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
455 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
456 methods, otherwise ~/.ssh/config would be ignored.
458 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
460 * emacs-lisp/rx.el: Make it a superset of sregex.
461 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
462 of args, add `regex' alias.
463 (rx-info): Add arg to distinguish head and standalone forms.
464 (rx-check, rx-form): Pass the corresponding arg.
466 (rx-repeat): Make it work for any number of args.
467 (rx-syntax): Make it accept syntax chars as is.
468 * obsolete/sregex.el: Move from emacs-lisp/.
469 * emacs-lisp/re-builder.el: Remove sregex support.
470 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
472 2010-12-25 Eli Zaretskii <eliz@gnu.org>
474 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
475 PRIMARY first, then the clipboard. (Bug#7699)
477 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
479 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
482 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
484 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
485 .emacs.elc (Bug#7530).
487 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
488 image spec (Bug#7480).
490 2010-12-21 Daiki Ueno <ueno@unixuser.org>
492 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
493 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
496 2010-12-20 Leo <sdl.web@gmail.com>
498 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
499 always be performed (Bug#7680).
501 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
503 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
504 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
507 * color.el: Move from gnus/.
509 * vc/diff.el (diff-better-file-name): Function deleted.
510 abbreviating file names causes problems with shell-quote-argument.
511 (diff-no-select): Just use expand-file-name.
513 * tool-bar.el (tool-bar--image-expression): New function.
514 (tool-bar-local-item, tool-bar--image-exp): Use it.
515 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
516 Use :enable instead of :visible to avoid changing the tool-bar
517 configuration unnecessarily.
519 * info.el (info-tool-bar-map): Add separators.
521 2010-12-17 Ken Brown <kbrown@cornell.edu>
523 * loadup.el: Use version numbers in Cygwin build.
525 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
527 * ido.el (ido-file-internal): Ask for confirmation before
528 overwriting an existing file (Bug#1238).
530 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
532 * tool-bar.el (tool-bar-setup): Add separators.
534 * menu-bar.el (featurep): Use menu-bar-separator.
536 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
538 Migrate allout encryption provisions from pgg to epg.
540 * allout.el (allout-toggle-current-subtree-encryption)
541 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
542 defaulting policy and other changes. Change fetch-pass to keymode-cue,
543 for simpler universal argument interpretation.
544 (allout-toggle-subtree-encryption): Adjust docstring to describe
545 changed encryption provisions. Change fetch-pass to keymode-cue, for
546 simpler universal argument interpretation. Remove provisions for
547 handling key type and identity - they'll all be within
548 allout-encrypt-string or epg/epg or even contained all the way in gpg.
549 (allout-encrypt-string): Include keymode-cue, for optionally prompting
550 for keypair recipients (universal argument > 1) and, in addition,
551 associating the specified recipients with the outline (universal
552 argument > 4) using a file local variable setting for
553 'epa-file-encrypt-to'.
554 Require epa, for recipients handling.
555 Change how regexp filtering elements are named.
556 Describe the problem with caching of incorrect symmetric-decryption
558 Use the epa-passphrase-callback-function, in case the user is using
560 Support saving of the selected keypair recipients when invoked with a
562 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
564 Establish epg-context with armoring and default epg-protocol.
565 Remove all passphrase cache, verification, and hinting code.
566 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
567 No longer used, delete.
568 (allout-mode): Adjust docstring to describe changed encryption
569 provisions. Describe the problem with caching of incorrect
570 symmetric-decryption keys.
571 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
572 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
573 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
574 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
577 2010-12-16 Daiki Ueno <ueno@unixuser.org>
579 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
580 key selection prompt; make 'silent as default (Bug#7487).
582 2010-12-16 Leo <sdl.web@gmail.com>
584 * eshell/eshell.el (eshell-directory-name):
585 Use locate-user-emacs-file (Bug#7578).
587 2010-12-15 Glenn Morris <rgm@gnu.org>
589 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
591 2010-12-15 Jari Aalto <jari.aalto@cante.net>
592 Scott Evans <gse@antisleep.com>
594 * rect.el (rectange--default-line-number-format)
595 (rectangle-number-line-callback): New functions.
596 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
598 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
600 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
601 Delete unused variables.
602 (move-to-column-force): Remove function obsolete since 21.2.
604 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
606 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
607 (tramp-handle-insert-file-contents): Do not set permanent-local
610 * net/tramp-cache.el (tramp-persistency-file-name):
611 Use `locate-user-emacs-file' if fboundp.
613 * net/tramp-sh.el (tramp-methods): Add "ksu".
614 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
617 2010-12-14 Glenn Morris <rgm@gnu.org>
619 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
620 (find-tag-marker-ring): Declare.
621 (js-find-symbol): Require etags.
623 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
625 (mail-alias-file): Don't autoload. Doc fix.
626 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
627 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
628 Mark as obsolete, and risky.
629 (mail-setup): Simplify.
631 * mail/mailalias.el (build-mail-aliases): Make it interactive.
632 * mail/sendmail.el (build-mail-aliases): Update autoload.
634 * dired.el (dired-trivial-filenames, dired-chown-program)
635 (dired-auto-revert-buffer): Remove autoload cookies.
636 * mail/sendmail.el (mail-recover-1): Require 'dired.
638 * dired.el (dired-subdir-switches, dired-chown-program)
639 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
640 Make into defcustoms.
641 (dired-chown-program): Simplify initialization.
643 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
645 2010-12-13 Romain Francoise <romain@orebokech.com>
647 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
649 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
651 * net/netrc.el (netrc-point-at-eol): Remove the unused
652 netrc-point-at-old and netrc-bound-and-true-p bindings.
653 (netrc-parse): Cache the netrc contents.
655 2010-12-13 Eli Zaretskii <eliz@gnu.org>
657 * subr.el (posn-col-row): Evaluate header-line-format in the
658 context of the POSITION window's buffer.
660 2010-12-13 Glenn Morris <rgm@gnu.org>
662 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
663 (with-silent-modifications): Doc fixes.
665 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
667 * net/tramp.el (tramp-action-password, tramp-process-actions):
668 Revert previous from. Use `save-restriction'.
670 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
672 * calendar/diary-lib.el (diary-list-sexp-entries):
673 Handle case of no newline at end of file. (Bug#7536)
675 2010-12-13 Glenn Morris <rgm@gnu.org>
677 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
679 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
681 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
682 (tramp-process-actions): Do not widen.
684 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
685 Protect buffer-modified value. (Bug#7557)
687 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
689 * log-edit.el (log-edit-changelog-entries):
690 Regexp quote filename. (Bug#7505)
692 2010-12-13 Tom Breton <tehom@panix.com>
694 * cus-edit.el (custom-save-all):
695 Bind print-length and print-level to nil. (Bug#7581)
697 2010-12-13 Glenn Morris <rgm@gnu.org>
699 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
700 Run hooks to update menu contents. (Bug#7586)
702 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
703 file names, for the sake of MS Windows. (Bug#7588)
705 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
707 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
708 empty lines without a leading space.
710 2010-12-13 Leo <sdl.web@gmail.com>
712 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
713 while mapping over marks (Bug#6810).
715 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
717 * image-dired.el (image-dired-db-file)
718 (image-dired-temp-image-file, image-dired-gallery-dir)
719 (image-dired-temp-rotate-image-file): Set default values relative
720 to image-dired-dir (Bug#7518).
722 2010-12-13 Lawrence Mitchell <wence@gmx.li>
724 * format.el (format-decode-run-method): Pass args FROM and TO, not
725 point-min and point-max, to shell-command-on-region (Bug#7488).
727 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
729 * frame.el (blink-cursor-mode): Make default t for ns.
731 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
733 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
735 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
737 * comint.el (comint-dynamic-list-input-ring)
738 (comint-dynamic-complete-filename)
739 (comint-replace-by-expanded-filename)
740 (comint-dynamic-simple-complete)
741 (comint-dynamic-list-filename-completions)
742 (comint-dynamic-list-completions): Doc fix (Bug#7499).
744 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
747 2010-12-13 Martin Rudalics <rudalics@gmx.at>
749 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
752 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
754 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
757 2010-12-13 Eli Zaretskii <eliz@gnu.org>
759 * files.el (file-relative-name): Handle UNC file names on
760 DOS/Windows. (Bug#4674)
762 2010-12-13 Daiki Ueno <ueno@unixuser.org>
764 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
765 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
766 (epg-context-set-passphrase-callback): Mention that the callback
767 is not called when used with GnuPG 2.x.
769 2010-12-13 Glenn Morris <rgm@gnu.org>
771 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
772 Ensure ps-footer-font-size-internal is initialized.
773 Call ps-get-page-dimensions before trying to use ps-font-for-text.
775 2010-12-13 Kenichi Handa <handa@m17n.org>
777 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
778 within condition-case.
779 (rmail-show-mime): Don't use condition-case.
780 (rmail-search-mime-message): New function.
781 (rmail-search-mime-message-function): Set to
782 rmail-search-mime-message.
784 2010-12-13 Leo <sdl.web@gmail.com>
786 * ido.el (ido-common-initialization): New function. (bug#3274)
788 (ido-completing-read): Call it.
790 2010-12-12 Karl Fogel <kfogel@red-bean.com>
792 * bookmark.el (bookmark-name-from-full-record): Rename back to
793 this original name from `bookmark-name-from-record' reverting part
794 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
795 As Drew Adams pointed out, there was no reason to cause churn for
798 2010-12-12 Alan Mackenzie <acm@muc.de>
800 * progmodes/cc-engine.el (c-forward-type): Before scanning a
801 template arglist, check that the current language supports this.
803 2010-12-11 Glenn Morris <rgm@gnu.org>
805 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
806 state of the file matches. (Bug#7544)
807 (vc-bzr-register, vc-bzr-checkin)
808 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
809 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
811 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
813 2010-12-11 Karel Klíč <kklic@redhat.com>
815 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
817 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
819 Derive from prog-mode, use derived-mode-p, and fix up various
820 minor style issues in lisp/progmodes.
822 * progmodes/vhdl-mode.el (vhdl-mode):
823 * progmodes/verilog-mode.el (verilog-mode):
824 * progmodes/vera-mode.el (vera-mode):
825 * progmodes/sql.el (sql-mode):
826 * progmodes/scheme.el (scheme-mode):
827 * progmodes/perl-mode.el (perl-mode):
828 * progmodes/octave-inf.el (inferior-octave-mode):
829 * progmodes/autoconf.el (autoconf-mode):
830 * progmodes/m4-mode.el (m4-mode):
831 * progmodes/inf-lisp.el (inferior-lisp-mode):
832 * progmodes/idlwave.el (idlwave-mode):
833 * progmodes/icon.el (icon-mode):
834 * progmodes/idlw-help.el (idlwave-help-mode):
835 * progmodes/dcl-mode.el (dcl-mode):
836 * progmodes/idlw-shell.el (idlwave-shell-mode):
837 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
838 (ebrowse-member-mode, ebrowse-electric-position-mode):
839 Use define-derived-mode.
841 * progmodes/xscheme.el (exit-scheme-interaction-mode)
842 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
843 (xscheme-debugger-mode-p, xscheme-send-string-1):
844 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
845 (tcl-load-file, tcl-restart-with-file):
846 * progmodes/ps-mode.el (ps-run-running):
847 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
848 * progmodes/js.el (js--get-all-known-symbols):
849 * progmodes/inf-lisp.el (inferior-lisp-proc):
850 * progmodes/idlwave.el (idlwave-beginning-of-statement)
851 (idlwave-template, idlwave-update-buffer-routine-info)
852 (idlwave-update-current-buffer-info)
853 (idlwave-get-routine-info-from-buffers, idlwave-choose)
854 (idlwave-scan-class-info, idlwave-fix-keywords)
855 (idlwave-list-buffer-load-path-shadows):
856 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
857 (idlwave-toolbar-remove):
858 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
859 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
860 (idlwave-shell-menu-def):
861 * progmodes/idlw-complete-structtag.el
862 (idlwave-prepare-structure-tag-completion):
863 * progmodes/gud.el (gud-set-buffer):
864 * progmodes/f90.el (f90-backslash-not-special):
865 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
867 * progmodes/xscheme.el (xscheme-start)
868 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
869 * progmodes/which-func.el (which-function):
870 * progmodes/vhdl-mode.el (vhdl-set-style):
871 * progmodes/verilog-mode.el (verilog-set-compile-command)
872 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
873 (verilog-set-define, verilog-auto-reeval-locals):
874 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
875 * progmodes/simula.el (simula-mode):
876 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
877 * progmodes/python.el (python-check, python-mode):
878 * progmodes/prolog.el (prolog-mode-variables):
879 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
880 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
881 * progmodes/delphi.el (delphi-mode):
882 * progmodes/cc-styles.el (c-setup-paragraph-variables):
883 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
884 (c-font-lock-init): Move make-local-variable to their setq.
886 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
887 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
889 * progmodes/sh-script.el (sh-require-final-newline): Remove.
890 (sh-set-shell): Don't set require-final-newline since it's already done
892 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
893 since we never set it.
894 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
895 Use read-string and standard prompt.
896 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
897 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
898 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
899 (meta-common-mode-map): Rename from meta-mode-map.
900 Remove C-m binding, which is a user preference, not mode specific.
901 (meta-common-mode): New major mode; replace meta-common-initialization.
902 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
903 around with font-lock.
904 * progmodes/etags.el (select-tags-table-mode):
905 Derive from special-mode.
906 * progmodes/octave-mod.el (octave-mode):
907 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
908 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
909 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
910 Let define-derived-mode do its job.
911 * progmodes/cpp.el (cpp-edit-mode-map):
912 Move initialization into declaration.
913 (cpp-edit-mode): Use define-derived-mode.
914 (cpp-edit-load): Use derived-mode-p.
915 * progmodes/mixal-mode.el (mixal-mode):
916 * progmodes/f90.el (f90-mode):
917 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
918 require-final-newline since prog-mode does it already.
919 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
920 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
921 * progmodes/antlr-mode.el: Require cc-mode upfront.
922 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
924 (antlr-directory-dependencies, antlr-show-makefile-rules):
926 (antlr-language-option): Don't assume point-min==1.
927 (antlr-mode): Use define-derived-mode.
928 * progmodes/ada-mode.el: Use derived-mode-p.
929 (ada-mode): Use define-derived-mode.
930 Use hack-local-variables-hook.
932 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
934 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
935 (texinfo-mode): Don't disable adaptive-fill-mode.
936 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
937 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
938 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
939 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
940 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
941 (texinfo-insert-@quotation, texinfo-insert-@samp)
942 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
943 (texinfo-insert-@uref): Use define-skeleton.
944 (texinfo-insert-@-with-arg): Delete.
946 2010-12-10 Eli Zaretskii <eliz@gnu.org>
948 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
949 nil, do quote archive member names. (Bug#6144)
951 2010-12-10 Glenn Morris <rgm@gnu.org>
953 * files.el (diff-no-select): Declare.
955 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
956 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
958 * comint.el (comint-input-ring-file-name): Doc fix.
960 2010-12-09 Eli Zaretskii <eliz@gnu.org>
962 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
964 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
965 Use them instead of `nil' and `>', respectively.
966 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
968 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
969 and menu-bar-positive-p instead of `nil' and `>', respectively.
972 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
974 * whitespace.el (whitespace-newline-mode): Code fix.
976 2010-12-09 Glenn Morris <rgm@gnu.org>
978 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
979 Rename functions without commas, update callers.
981 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
983 * whitespace.el (whitespace-cleanup-region):
984 Clean up spaces before tabs. (Bug#7582)
986 2010-12-08 Karl Fogel <kfogel@red-bean.com>
988 * bookmark.el: Adjust parameter names and doc strings to resolve
989 confusion over whether "bookmark" meant a bookmark name or a
990 bookmark record. Along the way, shorten one function's name for
991 similar reasons. (Issue #7548)
992 (bookmark-name-from-record): New name for
993 `bookmark-name-from-full-record'. All callers changed.
994 (bookmark-get-bookmark, bookmark-get-bookmark-record)
995 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
996 (bookmark-get-annotation, bookmark-set-annotation)
997 (bookmark-get-filename, bookmark-set-filename)
998 (bookmark-get-position, bookmark-set-position)
999 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1000 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1001 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1002 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1003 Rename `bookmark' parameter to `bookmark-name-or-record', to
1004 clearly show its role, and shorten or adjust doc strings accordingly.
1005 (bookmark-set-name): Same, and pass the parameter directly to
1006 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1007 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1008 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1009 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1010 and in some cases shorten doc string accordingly.
1011 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1012 and `new-name', and adjust an internal variable to avoid confusion.
1013 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1014 parameter in doc string.
1016 2010-12-08 Glenn Morris <rgm@gnu.org>
1018 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1019 from gdb's history file. (Bug#7575)
1021 * mail/emacsbug.el (report-emacs-bug):
1022 Try to handle some other mail clients.
1024 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1027 Use string-prefix-p.
1028 (file-name-version-regexp): New var.
1029 (file-name-sans-versions):
1030 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1031 (jka-compr-get-compression-info): Use dolist.
1032 (jka-compr-compression-info-list): Don't bother specifying
1033 version/backup regexps.
1035 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1037 * simple.el (just-one-space): Make argument n default to 1 if
1040 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * electric.el (electric-indent-post-self-insert-function):
1043 Delete trailing newlines even if we don't reindent.
1045 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * minibuffer.el (completion-at-point): Remove the `arg'.
1048 * bindings.el (complete-symbol): Move back from minibuffer.el.
1050 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1052 * simple.el (just-one-space): Delete newlines for negative arg.
1054 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1057 (ansi-color-filter-apply): Simplify.
1058 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1060 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1062 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1064 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1066 * dired.el (dired-use-ls-dired): Set default to a special
1067 "unspecified" value.
1068 (dired-insert-directory): When called the first time, check
1069 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1071 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1073 * replace.el: Add "collect" feature to occur.
1074 (occur-collect-regexp-history): New var.
1075 (occur-read-primary-args): Return a replace string for nlines,
1077 (occur): Extend the meaning of nlines.
1079 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1082 (which-func-update-1): Distinguish symbols from strings.
1083 (which-function): Stay within 80 columns.
1085 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1089 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1091 (comment-style): Use comment-styles's docs to describe values.
1093 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1095 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1096 and ns-show-prefs (Bug#7535).
1098 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1099 bindings (Bug#7535).
1101 2010-12-03 Glenn Morris <rgm@gnu.org>
1103 * nxml/nxml-mode.el: Require rng-nxml.
1104 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1105 Remove declarations.
1107 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1108 * nxml/rng-nxml.el, nxml/rng-valid.el:
1109 Remove leading `*' from defcustom docs.
1111 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1112 (normal-top-level-add-to-load-path, tty-handle-args):
1113 Convert comments to basic doc-strings.
1115 * net/browse-url.el (browse-url-url-at-point)
1116 (browse-url-default-browser): Remove autoload cookies.
1118 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1119 Remove more undefined cl functions.
1121 * vc/diff.el (diff-sentinel): Make new arguments optional.
1122 * ibuf-ext.el (diff-sentinel): Update declaration.
1124 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1126 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1127 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1128 (epg-context-set-passphrase-callback): Mention that the callback
1129 is not called when used with GnuPG 2.x.
1131 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1133 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1134 (tramp-file-name-port): Check also for `tramp-default-port'.
1135 (tramp-get-connection-name): New defun.
1136 (tramp-get-connection-process): Use it.
1137 (tramp-debug-message): Extend function exclude list.
1138 (tramp-drop-volume-letter): Fix doc string.
1140 * net/tramp-cmds.el: Remove solved todo item.
1144 * net/tramp-gvfs.el:
1146 * net/tramp-imap.el:
1147 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1148 and `tramp-default-user-alist', respectively.
1150 * net/tramp-gw.el (tramp-gw-open-connection):
1151 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1153 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1154 `tramp-file-name-port'.
1156 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1157 and "psftp". Exchange "%k" marker with options.
1158 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1159 Compute size of link target.
1160 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1161 `tramp-current-*' up due to gateway methods. Optimze computing of
1162 copy arguments. Use `tramp-get-connection-name' and
1163 `tramp-get-connection-buffer'. Improve debug messages.
1164 (tramp-compute-multi-hops): Remove port determination.
1165 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1167 * net/trampver.el: Update release number.
1169 2010-12-02 Glenn Morris <rgm@gnu.org>
1171 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1172 Avoid infinite loop over windows. (Bug#7492)
1174 * progmodes/flymake.el (flymake-check-file-limit):
1175 Allow nil to mean "no limit".
1176 (flymake-check-patch-master-file-buffer): Update for above change.
1177 Allow a .tex file-name extension to be optional.
1178 (flymake-master-tex-init): Also match \include statements.
1180 2010-11-30 Sam Steingold <sds@gnu.org>
1182 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1183 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1184 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1185 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1186 define-derived-mode').
1187 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1188 users who want to call `nxml-parent-document-set'.
1190 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1192 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1193 stand-alone lines, since that is handled by log-edit-match-to-eoh
1196 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1198 * dired.el (dired-get-filename): Replace backslashes with slashes
1199 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1200 * locate.el (locate-default-make-command-line): Don't consider
1201 drive letter and root directory part of
1202 `directory-listing-before-filename-regexp'. (Bug#7308)
1203 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1205 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1208 of :smie-open/close-alist.
1209 (smie-next-sexp): Make it accept a "start token" as argument.
1210 (smie-indent-keyword): Be careful not to misidentify tokens that span
1211 more than one line, as empty lines. Add argument `token'.
1213 2010-11-27 Kenichi Handa <handa@m17n.org>
1215 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1216 multipart subtypes, insert all as usual.
1218 * mail/rmail.el: Require rfc2047.
1220 2010-11-27 Kenichi Handa <handa@m17n.org>
1222 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1223 (rmail-mime-entity-disposition)
1224 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1225 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1226 (rmail-mime-save): Handle the case that the button's `data' is a
1228 (rmail-mime-insert-text): New function.
1229 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1230 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1231 (rmail-mime-insert-bulk): New function mostly copied from the old
1232 rmail-mime-bulk-handler.
1233 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1234 (rmail-mime-process-multipart): New function mostly copied from
1235 the old rmail-mime-multipart-handler.
1236 (rmail-mime-show): Just call rmail-mime-process.
1237 (rmail-mime-process): New function mostly copied from the old
1239 (rmail-mime-insert-multipart, rmail-mime-parse)
1240 (rmail-mime-insert, rmail-show-mime)
1241 (rmail-insert-mime-forwarded-message)
1242 (rmail-insert-mime-resent-message): New functions.
1243 (rmail-insert-mime-forwarded-message-function): Set to
1244 rmail-insert-mime-forwarded-message.
1245 (rmail-insert-mime-resent-message-function): Set to
1246 rmail-insert-mime-resent-message.
1248 * mail/rmailsum.el: Require rfc2047.
1249 (rmail-header-summary): Handle multiline Subject: field.
1250 (rmail-summary-line-decoder): Change the default to
1251 rfc2047-decode-string.
1253 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1254 (rmail-mime-feature): Change the default to `rmailmm'.
1255 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1256 (rmail-display-labels): Likewise.
1257 (rmail-show-message-1): Check rmail-enable-mime, and use
1258 rmail-show-mime-function for a MIME message. Decode the headers
1259 according to RFC2047.
1261 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * progmodes/which-func.el (which-func-imenu-joiner-function):
1264 Return a string, as expected.
1265 (which-function-mode): Make sure we stop any previous timer before
1268 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1270 * net/tramp.el (tramp-default-method-alist)
1271 (tramp-default-user-alist, tramp-default-proxies-alist):
1272 Adapt custom options type. (Bug#7445)
1274 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1276 * progmodes/python.el: Add Ipython support (Bug#5390).
1277 (python-shell-prompt-alist)
1278 (python-shell-continuation-prompt-alist): New options.
1279 (python--set-prompt-regexp): New function.
1280 (inferior-python-mode, run-python, python-shell):
1281 Require ansi-color. Use python--set-prompt-regexp to set the comint
1282 prompt based on the Python interpreter.
1283 (python--prompt-regexp): New var.
1284 (python-check-comint-prompt)
1285 (python-comint-output-filter-function): Use it.
1286 (run-python): Use a pipe (Bug#5694).
1288 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1290 * progmodes/python.el (run-python): Doc fix.
1291 (python-keep-current-directory-in-path): New var (Bug#7454).
1293 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1295 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1296 Prompt user before actually printing.
1298 2010-11-27 Glenn Morris <rgm@gnu.org>
1300 * startup.el (package-enable-at-startup, package-initialize):
1301 Remove unnecessary declarations.
1303 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1305 * international/characters.el (glyphless-char-display-control):
1306 Exclude newline and TAB from the c0-control group.
1308 2010-11-27 Glenn Morris <rgm@gnu.org>
1310 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1311 (expand-mail-aliases): Remove unnecessary autoload.
1313 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1315 * shell.el (shell-dir-cookie-re): Move definition before use.
1317 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1318 Replace undefined CL functions.
1320 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1322 * simple.el (prog-mode): Set bidi-paragraph-direction to
1325 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1327 2010-11-26 Glenn Morris <rgm@gnu.org>
1329 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1330 diary-outlook-formats can be sensitive to calendar-date-style.
1331 (diary-outlook-formats): Simplify the default setting.
1332 (diary-from-outlook-internal): Pass subject and body as arguments.
1333 Use dolist rather than dotimes. Don't save the diary buffer.
1334 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1335 Pass subject and body as explicit arguments to the -internal function.
1337 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1339 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1340 parsing them. This makes mailto:...?subject=foo\nbar work.
1342 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1344 * vc/diff.el (diff): Fix last change.
1346 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1349 (pcase--dontcare-upats): New var.
1350 (pcase-let, pcase-let*): Generate better code.
1351 Accept the same bodies as `let'.
1352 (pcase-dolist): New macro.
1353 (pcase--trivial-upat-p): New helper function.
1354 (pcase--expand): Strip leading "(let nil" if any.
1356 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1358 * mail/mailclient.el (browse-url): Require.
1359 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1360 use the external browser function to send the mail (bug#7469).
1362 * net/browse-url.el (browse-url-browser-function): Revert the
1363 default back to the previous value, since the new value broke
1365 (browse-url-mailto-function): New variable for mailto: URLs.
1366 (browse-url): Use the new variable for mailto: URLs.
1368 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * eshell/esh-cmd.el (eshell-parse-command):
1371 * eshell/esh-arg.el (eshell-parse-arguments):
1372 * eshell/em-script.el (eshell-source-file):
1373 Use with-silent-modifications.
1375 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1377 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1378 for a merge location.
1380 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1381 (vc-bzr-merge-branch): Always prompt.
1382 (vc-bzr-async-command): Use the full branch filename.
1384 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * shell.el (shell): Use current-buffer by default if it's already
1387 a shell mode buffer and its process is dead.
1388 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1390 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1392 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1393 Mention that the keywords should be comma separated.
1395 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1397 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1398 Accept optional prefix arg meaning to prompt for a command.
1399 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1400 prefix arg meaning to prompt for a command.
1401 (vc-pull): Alias for vc-update.
1403 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1404 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1405 (vc-bzr-merge-branch): New functions, implementing merge-branch
1406 and pull operations.
1408 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * Makefile.in: Fix up last merge.
1412 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1413 (diff-sentinel): Get them as arguments instead.
1414 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1415 (diff-file-local-copy, diff-better-file-name): New funs.
1416 (diff-no-select): Rename from diff-into-buffer.
1417 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1418 Prefer closures to buffer-local variables.
1419 (diff): Adjust accordingly.
1420 (diff-buffer-with-file): Move from files.el.
1421 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1422 (diff-buffer-internal): Remove.
1423 (diff-buffer-buffer): Remove.
1424 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1425 the buffer name used, and so as not to mess up windows and frames.
1427 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1429 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1430 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1431 (diff-buffer-with-file): Use it.
1432 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1435 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1437 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1438 \ref's or \pageref's value as default instead of initial input.
1440 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1442 * files.el (backup-by-copying-when-mismatch): The default value is
1445 * startup.el (normal-top-level):
1446 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1447 `backup-by-copying-when-mismatch'.
1449 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1451 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1453 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1455 * progmodes/python.el (python-font-lock-keywords):
1456 Highlight top-level augmented assignments (Bug#6445).
1458 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1460 * term/ns-win.el (ns-right-control-modifier)
1461 (ns-right-command-modifier): Defvar them.
1463 * cus-start.el (all): Add ns-right-control-modifier and
1464 ns-right-command-modifier (Bug#7458).
1466 2010-11-20 Glenn Morris <rgm@gnu.org>
1468 * emacs-lisp/authors.el (authors-ignored-files)
1469 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1471 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1473 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1474 (report-emacs-bug-parse-query-results)
1475 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1476 keywords used for querying the bug database to show them in the
1477 existing bugs buffer.
1479 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1481 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1483 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1485 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1487 * international/characters.el (glyphless-char-display-control):
1488 Make it a defcustom, with update-glyphless-char-display as its
1490 (top level): Don't call update-glyphless-char-display.
1492 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1494 Sync with Tramp 2.2.0.
1496 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1497 `file-remote-p' (due to compatibility).
1499 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1500 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1502 * net/trampver.el: Update release number.
1504 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1506 * faces.el (glyphless-char): Define value for `pc'.
1508 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1510 Implemented a bug querying mechanism.
1511 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1512 (report-emacs-bug-create-existing-bugs-buffer)
1513 (report-emacs-bug-parse-query-results)
1514 (report-emacs-bug-query-existing-bugs): New functions.
1516 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1518 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1519 a \ref{} or \pageref{} macro, then use its value as initial input.
1521 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1523 * calc/calc-units.el (math-build-units-table-buffer):
1524 calc/README: Mention that the TeX specific units won't use the
1525 `tex' prefix in TeX mode.
1526 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1527 prefix for units in TeX mode.
1529 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * simple.el (kill-new, kill-append, kill-region):
1532 * comint.el (comint-kill-region): Make the yank-handler argument
1535 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1538 that are both openers (resp. closers) and something else.
1539 (smie-grammar): Loosen definition of valid values.
1540 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1541 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1542 (smie-indent-after-keyword): Adjust users.
1543 (smie-indent-keyword): Don't indent empty lines.
1545 * vc-hg.el (vc-hg-program): New var.
1546 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1547 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1549 2010-11-18 Glenn Morris <rgm@gnu.org>
1551 * emacs-lisp/autoload.el (autoload-find-destination): The function
1552 coding-system-eol-type may return non-numeric values. (Bug#7414)
1554 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1556 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1558 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1560 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1562 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1564 * textmodes/picture.el (picture-mouse-set-point): Don't use
1565 posn-col-row; explicitly compute the motion based on the posn at
1566 the window-start (Bug#7390).
1568 2010-11-18 Glenn Morris <rgm@gnu.org>
1570 * novice.el (disabled-command-function):
1571 Fix 2009-11-15 change. (Bug#7384)
1573 2010-11-18 Glenn Morris <rgm@gnu.org>
1575 * calendar/calendar.el (diary-iso-date-forms): Make elements
1576 mutually exclusive. (Bug#7377)
1578 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1581 when filling the remaining "unconstrained" values.
1583 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1588 * files.el (safe-local-variable-p): Gracefully handle errors.
1590 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1591 Use smie-indent-virtual when indenting relative to an opener.
1592 (smie-rule-separator): Use smie-rule-parent.
1593 (smie-indent-keyword): Consult rules, even for openers at bol.
1594 (smie-indent-comment-close): Try to align closer's content.
1596 2010-11-18 Glenn Morris <rgm@gnu.org>
1598 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1600 2010-11-18 Glenn Morris <rgm@gnu.org>
1602 * printing.el (pr-menu-bind): Doc fix.
1604 * speedbar.el (speedbar-toggle-images): Doc fix.
1606 * progmodes/python.el (python-shell): Doc fix.
1608 * wid-edit.el (widget-field-use-before-change)
1609 (widget-use-overlay-change): Doc fixes.
1611 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1613 Minor cleanup to improve style.
1614 * textmodes/rst.el (rst-update-section): Use point-marker.
1615 (rst-get-decoration): Eliminate unneeded assignment.
1616 (rst-promote-region, rst-straighten-decorations)
1617 (rst-section-tree, rst-adjust): Use point-marker.
1618 (rst-toc-mode-mouse-goto): Avoid setq.
1619 (rst-shift-region-guts, rst-shift-region-left)
1620 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1621 (rst-convert-bullets-to-enumeration): Use copy-marker.
1623 * minibuffer.el (completion-fail-discreetly): New var.
1624 (completion--do-completion): Use it.
1626 * electric.el (electric-pair-pairs): New var.
1627 (electric-pair-post-self-insert-function): Use it.
1628 (electric-layout-post-self-insert-function): Don't insert a before
1629 newline unless it's actually needed.
1631 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * progmodes/python.el (run-python): Explain why we remove the current
1634 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1636 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1638 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1640 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1641 (octave-mode-map): Don't bind ;, SPC, and LF.
1642 (octave-auto-indent, octave-auto-newline): Remove.
1643 (electric-layout-rules): Declare.
1644 (octave-mode): Set electric-layout-rules.
1645 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1646 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1647 (octave-electric-space): Remove.
1649 * electric.el (electric-layout-mode): New minor mode.
1650 (electric--after-char-pos): New function.
1651 (electric-indent-post-self-insert-function): Use it.
1652 (electric-layout-rules): New var.
1653 (electric-layout-post-self-insert-function): New function.
1654 (electric-indent-mode): Make them interact better.
1656 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1659 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1660 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1662 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1664 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1665 Make sure to check inside the word (Bug#6761).
1667 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1669 * startup.el (command-line): If the cursorColor resource is set,
1670 change the cursor face-spec (Bug#7392).
1672 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1674 The main features of the following allout.el changes are:
1675 - implement user customization for the allout key bindings
1676 - add a customization control by which the user can inhibit use of
1677 a trailing Ctrl-H, so by default it's reserved for use with
1678 describe-prefix-bindings
1679 - adapt to new version of called-interactively-p, while
1680 maintaining backwards compatibility with old version
1681 - fix hotspot navigation so i works properly with meta-modified keys
1683 * allout.el (allout-keybindings, allout-bind-keys)
1684 (allout-keybindings-binding, allout-prefixed-keybindings)
1685 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1686 (allout-keybindings-list, allout-mode-map-adjustments)
1687 (allout-setup-mode-map): Establish allout-mode keymaps as user
1688 customizable settings, and also establish a customizable setting which
1689 regulates whether or not a trailing control-h is reserved for use with
1690 describe-prefix-bindings - and inhibit it by default, so that control-h
1691 *is* reserved for describe-prefix-bindings unless the user changes it.
1693 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1694 and accurately between modified and unmodified events, and handle
1695 modified events more comprehensively.
1697 * allout.el (allout-substring-no-properties):
1698 Alias to use or provide version of `substring-no-properties'.
1699 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1701 * allout.el (allout-next-single-char-property-change):
1702 Alias to use or provide version of `next-single-char-property-change'.
1703 (allout-annotate-hidden, allout-hide-by-annotation):
1704 Use `allout-next-single-char-property-change'.
1706 * allout.el (allout-select-safe-coding-system):
1707 Alias to use or provide version of `select-safe-coding-system'.
1708 (allout-toggle-subtree-encryption):
1709 Use `allout-select-safe-coding-system'.
1711 * allout.el (allout-set-buffer-multibyte):
1712 Alias to use or provide version of `set-buffer-multibyte'.
1713 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1715 * allout.el (allout-called-interactively-p): Macro for using the
1716 different versions of called-interactively-p identically, depending on
1717 the subroutine's argument signature.
1718 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1719 Use `(interactive "p")' instead of `(called-interactively-p)'.
1721 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1722 (allout-previous-visible-heading, allout-forward-current-level)
1723 (allout-backward-current-level, allout-show-children):
1724 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1726 * allout.el (allout-before-change-handler):
1727 Exempt edits to the (overlaid) character after the allout outline
1728 bullet from edit confirmation prompt.
1730 * allout.el (allout-add-resumptions):
1731 Ensure that it respects correct buffer for keybindings.
1733 * allout.el (allout-beginning-of-line):
1734 Use `allout-previous-single-char-property-change' alias for the sake of
1735 diverse compatibility.
1737 * allout.el (allout-end-of-line):
1738 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1740 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1742 * frame.el (frame-notice-user-settings): Don't clobber other
1743 user-set parameters when calling face-set-after-frame-default in
1744 response to background-color parameter (Bug#7373).
1746 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1748 * international/characters.el (glyphless-char-display-control):
1749 Rename from glyphless-char-control; all users changed. Doc fix.
1750 Signal an error if display method is not one of the recognized
1753 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1755 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1756 (tramp-compat-line-end-position): Remove them.
1758 * net/tramp.el (tramp-parse-rhosts-group)
1759 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1760 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1761 (tramp-parse-netrc-group, tramp-parse-putty-group)
1762 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1763 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1764 (tramp-sh-handle-file-selinux-context)
1765 (tramp-sh-handle-file-name-all-completions)
1766 (tramp-sh-handle-insert-directory)
1767 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1768 (tramp-wait-for-output, tramp-send-command-and-read)
1769 * net/tramp-smb.el (tramp-smb-read-file-entry)
1770 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1772 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1774 (tramp-remote-coding-commands): Add an alternative using "base64
1775 -d -i". This is needed for older base64 versions from GNU
1776 coreutils. Reported by Klaus Reichl
1777 <Klaus.Reichl@thalesgroup.com>.
1779 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1781 * simple.el (count-words-region): New function.
1783 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * shell.el (shell-dir-cookie-re): New custom variable.
1786 (shell-dir-cookie-watcher): New function.
1788 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1789 and compilation-mode (bug#7350).
1791 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1792 highlight when one of them is empty.
1794 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1796 (skeleton-newline): New function.
1797 (skeleton-internal-1): Use it.
1799 * simple.el (open-line): `newline' may strip trailing space.
1801 2010-11-12 Kevin Ryde <user42@zip.com.au>
1803 * international/mule-cmds.el (princ-list): Use mapc.
1805 2010-11-12 Glenn Morris <rgm@gnu.org>
1807 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1808 Use it to replace all instances of "*Compile-Log*"
1810 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1812 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1815 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1817 * progmodes/modula2.el: Use SMIE and skeleton.
1818 (m2-mode-syntax-table): (*..*) can be nested.
1819 Add //...\n. Fix paren syntax.
1820 (m2-mode-map): Remove LF and TAB bindings.
1821 (m2-indent): Add safety property.
1822 (m2-smie-grammar): New var.
1823 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1824 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1825 (m2-mode): Use define-derived-mode.
1826 (m2-newline, m2-tab): Remove.
1827 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1828 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1829 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1830 (m2-import): Use define-skeleton.
1832 2010-11-11 Glenn Morris <rgm@gnu.org>
1834 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1836 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1837 (ls-lisp-verbosity): Add custom :set-after property.
1838 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1839 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1840 (ls-lisp-insert-directory): Update caller.
1841 (ls-lisp-set-options): New function.
1842 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1845 * play/landmark.el (lm-prompt-for-move):
1846 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1848 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1850 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1851 (idlwave-study-twins): Prefix dynamic local variable `name'.
1852 (idlwave-routine-twin-compare): Update for above change.
1854 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1855 Prefix dynamic local variables `name', `kwd', and `link'.
1856 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1857 * progmodes/idlw-complete-structtag.el
1858 (idlwave-complete-structure-tag-help):
1859 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1860 (idlwave-complete-sysvar-tag-help)
1861 (idlwave-complete-class-structure-tag-help):
1862 Update for above name changes.
1864 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1866 * net/browse-url.el (browse-url-browser-function): Change the
1867 default to use `browse-url-mail' on mailto: URLs.
1869 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1871 * emacs-lisp/package.el (package-read-all-archive-contents):
1872 Reset package-archive-contents to nil before re-reading.
1874 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1876 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1877 already found as misspellings by (flyspell-large-region), just
1878 do highlighting (bug#7322).
1880 2010-11-10 Glenn Morris <rgm@gnu.org>
1882 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1884 * emulation/edt.el (edt-with-position): New macro.
1885 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1886 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1887 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1889 * emulation/tpu-extras.el (tpu-with-position): New macro.
1890 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1892 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1894 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1895 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1896 (texinfo-master-menu, texinfo-insert-node-lines)
1897 (texinfo-multiple-files-update):
1898 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1899 Use line-beginning-position.
1901 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1902 No recent Emacs supports system-type `emx'.
1904 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1905 (ada-command-separator, ada-default-prj-properties)
1906 (ada-find-any-references): Update for above name change.
1908 * dirtrack.el (dirtrack-directory-function)
1909 (dirtrack-canonicalize-function):
1910 * filecache.el (file-cache-completion-ignore-case)
1911 (file-cache-case-fold-search, file-cache-ignore-case):
1912 * term.el (serial-port-is-file-p): Cosmetic change.
1914 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1915 Remove non-existent `windows-95' system-type.
1916 * dired.el (dired-chown-program): Remove non-existent `linux'
1919 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1920 (ping-program-options): Remove non-existent `linux' system-type.
1922 * startup.el (package-initialize): Update declaration.
1924 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1925 (ls-lisp-handle-switches): Use time-less-p.
1926 (ls-lisp-format-time): Use float-time.
1928 * textmodes/remember.el (remember-time-to-seconds): Remove.
1929 (remember-store-in-mailbox): Use float-time.
1931 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1933 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1934 never a real function.
1935 (with-no-warnings): Remove compat stub, now unused.
1936 (time-less-p): Doc fix.
1937 (time-to-number-of-days): Simplify.
1939 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1941 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1942 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1943 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1944 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1945 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1947 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1948 (eshell-shuffle-files, eshell-shorthand-tar-command)
1949 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1950 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1951 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1952 Prefix dynamic local variable `matches'.
1954 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1955 Prefix dynamic local variable `skeleton'.
1957 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1959 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1960 in mail buffer; make yank-action always a command that yanks original
1963 2010-11-09 Glenn Morris <rgm@gnu.org>
1965 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1967 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1970 completion field (bug#7211).
1972 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1973 Fix handling of backslash escapes.
1974 (python-quote-syntax): Adjust accordingly.
1976 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1978 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1979 (vc-mtn-workfile-branch): Adjust to new output format.
1981 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1983 * international/mule-cmds.el (princ-list): Mark as obsolete.
1985 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * emacs-lisp/smie.el: New package.
1989 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1991 * files.el (backup-by-copying-when-mismatch):
1992 Set `permanent-local' property.
1994 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1995 `permanent-local' property for `backup-by-copying-when-mismatch'.
1997 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1999 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2001 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2003 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2004 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2005 AUTOINOUT for SV style multidimensional arrays, bug294.
2006 Reported by Eric Mastromarchi.
2007 (verilog-preprocess): Use with-current-buffer and
2008 font-lock-fontify-buffer to cleanup style issues.
2010 2010-11-09 Glenn Morris <rgm@gnu.org>
2012 * locate.el (locate, locate-mode): Doc fixes.
2014 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2016 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2017 user for confirmation.
2018 (server-force-stop): Use it.
2019 (server-start): Use server-force-stop for kill-emacs-hook, to
2020 avoid user interaction while killing Emacs.
2022 2010-11-09 Glenn Morris <rgm@gnu.org>
2024 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2025 (meta-indent-line): Simplify.
2027 * vc/emerge.el (emerge-line-number-in-buf):
2028 * textmodes/ispell.el (ispell-region):
2029 * textmodes/fill.el (current-fill-column):
2030 * progmodes/xscheme.el (xscheme-send-current-line):
2031 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2032 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2033 * progmodes/sh-script.el (sh-handle-prev-do):
2034 * progmodes/meta-mode.el (meta-indent-line):
2035 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2037 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2038 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2039 * progmodes/fortran.el (fortran-looking-at-if-then):
2040 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2041 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2042 (cperl-find-pods-heres):
2043 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2044 * net/quickurl.el (quickurl-list-insert):
2045 * net/ldap.el (ldap-search-internal):
2046 * net/eudc.el (eudc-expand-inline):
2047 * mail/sendmail.el (sendmail-send-it):
2048 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2049 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2050 (viper-brac-function):
2051 * calc/calc-yank.el (calc-do-grab-region):
2052 * calc/calc-keypd.el (calc-keypad-press):
2053 * term.el (term-move-columns, term-insert-spaces):
2054 * speedbar.el (speedbar-highlight-one-tag-line):
2055 * simple.el (current-word):
2056 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2057 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2059 * hippie-exp.el (he-line-beg):
2060 * epa.el (epa--marked-keys):
2061 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2062 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2063 (dired-relist-entry):
2064 * buff-menu.el (Buffer-menu-buffer):
2065 * array.el (current-line):
2066 * allout.el (allout-resolve-xref)
2067 (allout-latex-verbatim-quote-curr-line):
2068 Replace yet more uses of end-of-line etc with line-end-position, etc.
2070 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2073 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2074 (checkdoc-syntax-table): Initialize in the declaration.
2075 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2076 the mode on unconditionally.
2078 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2079 (extent-end-position, extent-start-position): Remove setf method for
2080 non-existing functions (bug#7319).
2082 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2084 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2085 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2086 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2087 (smie-prec2->grammar): Rename from smie-prec2-levels.
2088 (smie-grammar): Rename from smie-op-levels.
2089 (smie-indent--hanging-p): Rename from smie-hanging-p.
2090 (smie-rule-hanging-p): New alias.
2091 (smie-indent--bolp): Rename from smie-bolp.
2092 (smie-indent--hanging-p): New alias.
2093 (smie--token): New dynamically bound variable.
2094 (smie-indent--parent): New function.
2095 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2096 (smie-rule-next-p): Rename from smie-next-p.
2097 (smie-rule-prev-p): Rename from smie-prev-p.
2098 (smie-rule-sibling-p, smie-rule-parent)
2099 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2100 (smie-rule-separator-outdent): New var.
2101 (smie-indent--rule): Merge with smie-indent--column.
2102 (smie-indent-forward-token, smie-indent-backward-token):
2103 Also recognize close parens.
2104 (smie-indent-keyword): Don't use smie-indent--column any more.
2105 (smie-indent-after-keyword): Ignore closers by default.
2106 (smie-indent-line): Use with-demoted-errors.
2107 * progmodes/octave-mod.el (octave-smie-grammar):
2108 Rename from octave-smie-op-levels.
2109 (octave-smie-rules): Adjust to new behavior.
2110 * progmodes/prolog.el (prolog-smie-grammar):
2111 Rename from prolog-smie-op-levels.
2113 2010-11-07 Glenn Morris <rgm@gnu.org>
2115 * eshell/esh-util.el (subst-char-in-string)
2116 (directory-files-and-attributes): These compatibility definitions are
2117 not needed on any version of Emacs since at least 21.4.
2119 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2120 (verilog-get-end-of-line): Remove.
2121 (verilog-within-string, verilog-re-search-forward-substr)
2122 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2123 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2124 Use point-at-bol, point-at-eol.
2125 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2127 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2128 (electric-pascal-terminate-line, pascal-set-auto-comments)
2129 (pascal-indent-paramlist, pascal-indent-declaration)
2130 (pascal-get-lineup-indent, pascal-func-completion)
2131 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2132 Use point-at-bol, point-at-eol.
2133 * progmodes/flymake.el (flymake-line-beginning-position)
2134 (flymake-line-end-position): Remove.
2135 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2136 * eshell/esh-util.el (line-end-position, line-beginning-position):
2137 Remove compat definitions.
2139 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2141 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2142 Use line-end-position.
2144 * emacs-lisp/chart.el (chart-zap-chars):
2145 * play/decipher.el (decipher-set-map):
2146 * progmodes/ada-mode.el (ada-get-current-indent)
2147 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2148 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2149 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2150 (ada-get-all-references):
2151 * progmodes/cperl-mode.el (cperl-electric-paren)
2152 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2153 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2154 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2155 (cperl-word-at-point-hard):
2156 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2157 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2158 (idlwave-shell-display-line):
2159 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2160 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2161 * progmodes/js.el (js--re-search-forward-inner)
2162 (js--re-search-backward-inner):
2163 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2164 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2165 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2166 * textmodes/flyspell.el (flyspell-process-localwords):
2167 * textmodes/ispell.el (ispell-buffer-local-parsing)
2168 (ispell-buffer-local-dict, ispell-buffer-local-words):
2169 Use point-at-bol and point-at-eol.
2171 * speedbar.el (speedbar-generic-item-info)
2172 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2173 (speedbar-add-indicator, speedbar-check-vc-this-line)
2174 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2175 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2176 Replace more uses of end-of-line etc with line-end-position.
2178 2010-11-06 Glenn Morris <rgm@gnu.org>
2180 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2181 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2182 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2183 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2184 (texinfo-multiple-files-update):
2185 * textmodes/table.el (table--probe-cell-left-up)
2186 (table--probe-cell-right-bottom):
2187 * textmodes/picture.el (picture-tab-search):
2188 * textmodes/page-ext.el (pages-copy-header-and-position)
2189 (pages-directory-for-addresses):
2190 * progmodes/vera-mode.el (vera-get-offset):
2191 * progmodes/simula.el (simula-calculate-indent):
2192 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2193 * progmodes/prolog.el (end-of-prolog-clause):
2194 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2195 * progmodes/icon.el (indent-icon-exp):
2196 * progmodes/etags.el (tag-re-match-p):
2197 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2198 * progmodes/ebnf2ps.el (ebnf-begin-file):
2199 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2200 (dcl-save-local-variable):
2201 * play/life.el (life-setup):
2202 * play/gametree.el (gametree-looking-at-ply):
2203 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2204 * mail/sendmail.el (mail-mode-auto-fill):
2205 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2206 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2207 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2208 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2209 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2210 * type-break.el (type-break-file-keystroke-count):
2211 * term.el (term-replace-by-expanded-history-before-point)
2212 (term-skip-prompt, term-extract-string):
2213 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2214 (speedbar-contract-line, speedbar-toggle-line-expansion)
2215 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2216 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2217 * sort.el (sort-skip-fields):
2218 * skeleton.el (skeleton-internal-list):
2219 * simple.el (line-move-finish, line-move-to-column):
2220 * shell.el (shell-forward-command):
2221 * misc.el (copy-from-above-command):
2222 * makesum.el (double-column):
2223 * ebuff-menu.el (electric-buffer-update-highlight):
2224 * dired.el (dired-move-to-end-of-filename):
2225 * dframe.el (dframe-popup-kludge):
2226 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2227 * arc-mode.el (archive-get-lineno):
2228 Use line-end-position and line-beginning-position.
2230 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2231 (idlwave-study-twins): Prefix dynamic local `class'.
2232 (idlwave-routine-twin-compare): Update for above name change.
2234 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2235 Use boundp tests to silence compiler. Update for changed name of
2236 bytecomp-filename variable.
2238 * emulation/viper-cmd.el (viper-read-string-with-history):
2239 Prefix dynamic local `initial'.
2240 (viper-minibuffer-standard-hook): Update for above name change.
2242 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2243 (elint-init-form): Update for above name change.
2245 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2246 local variables `cbeg' and `cend' a prefix.
2247 (mail-extr-voodoo): Update for above name change.
2249 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2250 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2251 (reftex-toc-promote-action): Doc fix.
2253 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2254 `prompt', `data' a prefix.
2255 (reftex-select-post-command-hook, reftex-select-callback)
2256 (reftex-select-mouse-accept, reftex-select-read-cite):
2257 Update for above name changes.
2259 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2260 `refstyle' to reftex-refstyle.
2261 (reftex-offer-label-menu): Update for above name change.
2262 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2263 `refstyle' name change.
2265 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2266 with with-current-buffer.
2267 (diff, template): Give dynamic local variables a prefix.
2268 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2269 (emerge-line-number-in-buf): Update for above name change.
2270 (emerge-combine-versions-internal): Rename local `template' to
2271 emerge-combine-template.
2272 (emerge-combine-versions-edit): Update for above name change.
2274 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2276 * textmodes/reftex-cite.el
2277 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2278 entries with whitespace after \bibitem.
2279 (reftex-create-bibtex-file): Match entries containing numbers and
2280 symbol constituents. Make sure that entries with whitespace at
2281 various places are found.
2283 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2285 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2287 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2289 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2291 2010-11-05 Glenn Morris <rgm@gnu.org>
2293 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2294 (woman2-roff-buffer): Give local variable `request' a prefix.
2295 (woman0-macro): Rename argument `request' in the same way.
2296 (woman-request): New name for `request' dynamic variable.
2297 (woman-unquote, woman-forward-arg): Update for above name change.
2298 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2299 (woman1-unquote): New name for `unquote' dynamic variable.
2300 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2301 (woman-translations): Rename from `translations'. No longer global.
2302 (woman2-tr, woman-translate): Update for above name change.
2303 (woman-translate): Check for bound variable.
2304 (woman2-roff-buffer): Give local variable `translations' a prefix.
2306 * play/doctor.el: Give all local variables a prefix. Update callers.
2307 (doc$, doctor-put-meaning): Use backquote.
2309 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2310 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2312 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2313 variables bytes, ptr, op a prefix.
2314 (disassemble-offset): Update for above change.
2316 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2318 * emacs-lisp/package.el (package-unpack): Remove no-op.
2319 (package--builtins, package--dir): Doc fix.
2320 (package-activate-1, package-activate, package-install)
2321 (package-compute-transaction): Fix error message.
2322 (package-delete): Use delete-directory. Omit system packages.
2323 (package-initialize): Set package-alist to nil first.
2324 (package-menu-mark-delete, package-menu-mark-install): Don't add
2325 symbols that are inconsistent with the package state.
2326 (package-menu-execute): Perform deletions and installations as
2327 single batch operations.
2329 2010-11-03 Glenn Morris <rgm@gnu.org>
2331 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2332 (props): Remove unnecessary declaration.
2334 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2335 set-process-query-on-exit-flag.
2337 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2338 (reftex-toc-do-promote): Remove unused local `mpos'.
2339 (reftex-toc-restore-region): Make `mpos' local to this function.
2341 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2343 * play/landmark.el (lm-losing-threshold): Correct spelling.
2344 (lm-human-plays): Use new name.
2346 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2347 (gomoku-human-plays): Use new name.
2349 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2350 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2351 (gomoku-score-trans-table, gomoku-winning-threshold)
2352 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2354 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2356 * emacs-lisp/package.el: Don't put built-in packages in
2357 package-alist, to avoid loading inefficiencies.
2358 (package-built-in-p): Make VERSION optional, and treat it as a
2359 minimum acceptable version.
2360 (package-activate): Search separately for built-in packages.
2361 Emit a warning if a dependency fails.
2362 (define-package): Handle most common case, where there is no
2363 obsolete package, first.
2364 (package-compute-transaction): Print required version in error.
2365 (package--initialized): New variable.
2366 (list-packages): Use it.
2367 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2368 built-in packages in packages-alist; keep it separate.
2369 Set package--initialized.
2370 (describe-package): Avoid activating packages as a side-effect.
2371 Search separately for built-in packages.
2372 (describe-package-1): Handle the case where an elpa package is
2373 simultaneously built-in and available/installed.
2374 (package-installed-p, package--generate-package-list):
2375 Search separately for built-in packages.
2376 (package-load-descriptor): Doc fix.
2378 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2380 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2381 Handle __DATA__ and __END__.
2383 2010-11-02 Noah Friedman <friedman@splode.com>
2385 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2386 nil, do not ask to recompile files that are not already compiled,
2387 and do not recompile them.
2389 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2391 * emacs-lisp/package.el (package-initialize): Ensure that
2392 obsoleted built-in packages are not in package-activated-list
2394 (describe-package-1): Make the "installed" status override
2397 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2399 * subr.el (version-separator, version-regexp-alist): Remove '*'
2401 (version-list-<=, version<=, version=): Doc fix.
2403 2010-11-01 Kenichi Handa <handa@m17n.org>
2405 * faces.el (glyphless-char): Inherit underline for tty.
2407 2010-11-01 Kenichi Handa <handa@m17n.org>
2409 Implement various display methods for glyphless characters.
2411 * international/characters.el (char-acronym-table): New variable.
2412 (glyphless-char-control): New variable.
2413 (update-glyphless-char-display): New funciton.
2415 * faces.el (glyphless-char): New face.
2417 2010-11-01 Glenn Morris <rgm@gnu.org>
2419 * calendar/holidays.el (general-holidays, oriental-holidays)
2420 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2421 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2422 the definitions of their targets.
2424 * emacs-lisp/smie.el (smie): New custom group.
2425 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2427 * faces.el (xw-defined-colors, x-setup-function-keys):
2428 * mouse-sel.el (x-select-text):
2429 * term/w32console.el (x-setup-function-keys): Update declarations.
2431 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2433 * textmodes/ispell.el (comment-add): Declare.
2435 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2438 * info.el (finder-keywords-hash, package-alist): Declare.
2440 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2442 * finder.el (finder-compile-keywords): Don't use intern-soft,
2443 since package names may not yet exist in the obarray.
2445 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2447 * vc/vc-arch.el (vc-arch-checkin):
2448 * vc/vc-cvs.el (vc-cvs-checkin):
2449 * vc/vc-mtn.el (vc-mtn-checkin):
2450 * vc/vc-rcs.el (vc-rcs-checkin):
2451 * vc/vc-sccs.el (vc-sccs-checkin):
2452 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2453 since 2010-04-21 commit by Stefan Monnier.
2455 2010-11-01 Glenn Morris <rgm@gnu.org>
2457 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2459 * startup.el (package-enable-at-startup, package-initialize):
2462 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2465 2010-10-31 Julien Danjou <julien@danjou.info>
2467 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2468 (byte-recompile-directory):
2469 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2470 Use `byte-recompile-file'.
2472 2010-10-31 Glenn Morris <rgm@gnu.org>
2474 * cus-start.el: Handle standard values via a keyword.
2475 Only set version property if specified.
2476 (cursor-in-non-selected-windows, menu-bar-mode)
2477 (tool-bar-mode, show-trailing-whitespace):
2478 Do not specify standard values.
2479 (transient-mark-mode, temporary-file-directory): Use :standard.
2481 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2483 * term/x-win.el (x-get-selection-value): New function that gets
2484 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2486 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2488 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2489 preserve owner and group when editing files. (Bug#7289)
2491 2010-10-31 Glenn Morris <rgm@gnu.org>
2493 * speedbar.el (speedbar-mode):
2494 * play/fortune.el (fortune-in-buffer, fortune):
2495 * play/gomoku.el (gomoku-mode):
2496 * play/landmark.el (lm-mode):
2497 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2498 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2500 * select.el (x-selection): Mark it as an obsolete alias.
2502 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2504 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2505 major-mode (bug#7284).
2507 2010-10-31 Glenn Morris <rgm@gnu.org>
2509 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2510 rather than just an unused variable that inherits from the real one.
2512 2010-10-31 Alan Mackenzie <acm@muc.de>
2514 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2515 This fixes bug #7185.
2517 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2519 * startup.el (command-line): Search for package directories, and
2520 don't load package.el if none are found.
2522 * emacs-lisp/package.el (describe-package, list-packages):
2523 Call package-initialize if it has not been called yet.
2525 2010-10-30 Alan Mackenzie <acm@muc.de>
2527 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2528 which fontifies the tail of an enum.
2529 (c-basic-matchers-after): Insert a call to the above new function.
2530 This fixes bug #7264.
2532 2010-10-30 Glenn Morris <rgm@gnu.org>
2534 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2535 tool-bar-mode, transient-mark-mode. (Bug#7306)
2536 Include the :set property in the dumped Emacs.
2538 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2540 SMIE: change indent rules format, improve smie-setup.
2541 * emacs-lisp/smie.el (smie-precs-precedence-table)
2542 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2543 Mark them pure so the tables gets built at compile time.
2544 (smie-bnf-precedence-table): Store the closer-alist in the table.
2545 (smie-prec2-levels): Preserve the closer-alist.
2546 (smie-blink-matching-open): Be more forgiving in case of indentation.
2547 (smie-hanging-p): Rename from smie-indent--hanging-p.
2548 (smie-bolp): Rename from smie-indent--bolp.
2549 (smie--parent, smie--after): New dynamic vars.
2550 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2551 (smie-indent-rules): Remove.
2552 (smie-indent--offset-rule): Remove fun.
2553 (smie-rules-function): New var.
2554 (smie-indent--rule): New fun.
2555 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2556 (smie-indent-exps): Use it.
2557 (smie-setup): Setup paren blinking; add keyword args for token
2558 functions; extract closer-alist from op-levels.
2559 (smie-indent-debug-log): Remove var.
2560 (smie-indent-debug): Remove fun.
2561 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2562 (prolog-smie-rules): New fun to replace it.
2563 (prolog-mode-variables): Simplify.
2564 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2565 it's setup automatically.
2566 (octave-smie-indent-rules): Remove.
2567 (octave-smie-rules): New fun to replace it.
2568 (octave-mode): Simplify.
2570 2010-10-29 Glenn Morris <rgm@gnu.org>
2572 * files.el (temporary-file-directory): Remove (already defined in C).
2573 * cus-start.el: Add temporary-file-directory.
2575 * abbrev.el (abbrev-mode):
2576 * composite.el (auto-composition-mode):
2577 * menu-bar.el (menu-bar-mode):
2578 * simple.el (transient-mark-mode):
2579 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2580 that they do not define the associated variables twice.
2581 * simple.el (transient-mark-mode): Remove defvar.
2582 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2583 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2584 Handle multiple groups, and also custom-delayed-init-variables.
2585 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2587 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2590 (pcase-if): Add one minor optimization.
2591 (pcase-split-equal): Rename from pcase-split-eq.
2592 (pcase-split-member): Rename from pcase-split-memq.
2593 (pcase-u1): Add strings to the member optimization.
2594 Add `guard' variant of predicates.
2595 (pcase-q1): Add string patterns.
2597 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2601 2010-10-28 Glenn Morris <rgm@gnu.org>
2603 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2604 Move menu-bar related settings to ../menu-bar.el.
2605 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2606 Move ns-specific settings here from term/ns-win.el.
2608 * simple.el (x-selection-owner-p): Remove unused declaration.
2610 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * minibuffer.el (completion-cycling): New var (bug#7266).
2613 (minibuffer-complete, completion--do-completion):
2614 Use completion--flush-all-sorted-completions.
2615 (minibuffer-complete): Only cycle if completion-cycling is set.
2616 (completion--flush-all-sorted-completions): Unset completion-cycling.
2617 (minibuffer-force-complete): Set completion-cycling.
2618 (completion-all-sorted-completions): Move declaration before first use.
2620 2010-10-28 Leo <sdl.web@gmail.com>
2622 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2623 which changes the order of matches seen by users (bug#7231).
2625 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2627 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2628 Don't confuse -omega as "-o mega".
2630 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2632 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2633 (log-edit-author): New dynamic var.
2634 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2635 to return the author if different from committer.
2636 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2638 * play/landmark.el: Adjust commenting convention.
2639 (lm-nil-score): Rename from nil-score.
2640 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2641 (OOOOscore): Move into a let in lm-score-trans-table.
2642 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2644 * electric.el (electric-indent-chars): Autoload.
2645 * progmodes/octave-mod.el (octave-mode):
2646 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2647 (ruby-mode-abbrev-table): Merge initialization and declaration.
2649 2010-10-27 Glenn Morris <rgm@gnu.org>
2651 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2654 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2656 * term/ns-win.el: Restore require of cl when compiling.
2657 (menu-bar-final-items): Remove non-existent `windows' menu.
2658 (ns-handle-nxopen): Optionally handle the temp-case.
2659 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2660 (ns-insert-file, ns-find-file): Use `pop'.
2662 2010-10-26 Glenn Morris <rgm@gnu.org>
2664 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2666 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2668 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2670 * term/common-win.el (x-setup-function-keys): Remove most of the
2671 keymappings. Comment on the remaining ones.
2673 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2675 * server.el (server-port): New option. (Bug#854)
2676 (server-start): Use server-port.
2678 2010-10-26 Glenn Morris <rgm@gnu.org>
2680 * term/ns-win.el (ns-version-string): Remove unused declaration.
2681 (ns-invocation-args): Change to x-invocation-args.
2682 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2683 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2684 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2685 Use x-invocation-args instead of ns-invocation-args.
2686 (ns-initialize-window-system, handle-args-function-alist):
2687 Use x-handle-args instead of ns-handle-args.
2688 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2689 * startup.el (command-line-ns-option-alist): Replace
2690 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2691 ns-handle-iconic with the x- equivalents.
2693 * term/common-win.el (x-select-enable-clipboard):
2694 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2696 * term/ns-win.el: No need to require cl when compiling.
2697 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2698 (xw-defined-colors): Use the common-win definitions.
2699 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2700 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2701 * term/common-win.el (x-select-text, x-alternatives-map)
2702 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2703 * loadup.el [ns]: Load common-win.
2705 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2707 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2708 recipients; expand mail aliases (Bug#7280).
2710 2010-10-25 Glenn Morris <rgm@gnu.org>
2712 * term/common-win.el (x-handle-switch): Simplify with pop.
2713 Optionally handle numeric switches.
2714 (x-handle-numeric-switch): Just call x-handle-switch.
2715 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2716 (x-handle-name-switch, x-handle-display, x-handle-args):
2719 * term/ns-win.el: Do not require easymenu.
2720 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2721 <spell>: Move adjustments to menu-bar.el.
2722 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2723 <separator-undo, spell>: Move ns-win's adjustments here.
2724 * loadup.el [ns]: Do not load easymenu.
2726 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2728 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2731 * startup.el (fancy-startup-tail): Instead of using inline images,
2732 refer to image files from etc/.
2734 * wid-edit.el (checkbox): Likewise.
2735 (widget-image-find): Center image specs.
2737 2010-10-24 Glenn Morris <rgm@gnu.org>
2739 * term/ns-win.el (x-select-text): Doc fix.
2740 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2741 (x-select-text): Move to term/common-win.
2742 * term/w32-win.el (xw-defined-colors): Move to common-win.
2743 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2744 (x-setup-function-keys, x-select-text): Move to common-win.
2745 * term/common-win.el (x-select-text, x-alternatives-map)
2746 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2749 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2751 * net/mairix.el (mairix-searches-mode-map):
2752 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2754 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2756 * verilog-mode.el (verilog-directive-re): Make this variable
2757 auto-built for efficiency of execution and updating.
2758 (verilog-extended-complete-re): Support 'pure' fucntion & task
2759 declarations (these have no bodies).
2760 (verilog-beg-of-statement): General cleanup to enable support of
2761 'pure' fucntion & task declarations (these have no bodies).
2762 These efforts together fix Verilog bug210 from veripool; which was also
2763 noticed by Steve Pearlmutter.
2764 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2765 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2766 Support `elsif. Reported by Shankar Giri.
2767 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2768 attribute handling for lining up declarations and assignments.
2769 (verilog-beg-of-statement-1): Fix issue where continued declaration
2770 is indented differently if it is after a begin..end clock.
2771 (verilog-in-attribute-p, verilog-skip-backward-comments)
2772 (verilog-skip-forward-comment-p): Support proper treatment of
2773 attributes by indent code. Reported by Jeff Steele.
2774 (verilog-in-directive-p): Fix comment to correctly describe function.
2775 (verilog-backward-up-list, verilog-in-struct-region-p)
2776 (verilog-backward-token, verilog-in-struct-p)
2777 (verilog-in-coverage-p, verilog-do-indent)
2778 (verilog-pretty-declarations): Use verilog-backward-up-list as
2779 wrapper around backward-up-list inorder to properly skip comments.
2780 Reported by David Rogoff.
2781 (verilog-property-re, verilog-endcomment-reason-re)
2782 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2783 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2784 of if). Reported by Max Bjurling and
2785 (verilog-calc-1): Fix for clocking block in modport
2786 declaration. Reported by Brian Hunter.
2788 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2790 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2791 (verilog-gate-keywords, verilog-read-sub-decls)
2792 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2793 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2794 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2795 (verilog-read-decls): Fix spaces in V2K module parameters causing
2796 mis-identification as interfaces, bug287.
2797 (verilog-read-decls): Fix not treating "parameter string" as a
2798 parameter in AUTOINSTPARAM.
2799 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2800 treating `elsif similar to `endif inside AUTOSENSE.
2801 (verilog-do-indent): Implement correct automatic or static task or
2802 function end comment highlight. Reported by Steve Pearlmutter.
2803 (verilog-font-lock-keywords-2): Fix highlighting of single
2804 character pins, bug264. Reported by Michael Laajanen.
2805 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2806 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2807 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2808 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2809 (verilog-pretty-expr): Fix interactive arguments, bug272.
2810 Reported by Mark Johnson.
2811 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2812 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2813 bug269. Suggested by Gary Delp.
2814 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2815 (verilog-preprocessor, verilog-set-compile-command):
2816 Create verilog-preprocess and verilog-preprocessor to show
2817 preprocessed output.
2818 (verilog-get-beg-of-line, verilog-get-end-of-line)
2819 (verilog-modi-file-or-buffer, verilog-modi-name)
2820 (verilog-modi-point, verilog-within-string): Move defmacro's
2821 before first use to avoid warning. Reported by Steve Pearlmutter.
2822 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2823 (verilog-colorize-region, verilog-highlight-buffer)
2824 (verilog-highlight-includes, verilog-highlight-modules)
2825 (verilog-highlight-region, verilog-mode): Rename colorize to
2826 highlight to match other packages. Disable module highlighting,
2827 as received speed complaints, reenable for experimentation only
2828 using new verilog-highlight-modules.
2829 (verilog-read-decls): Fix regexp stack overflow in very large
2830 AUTO_TEMPLATEs, bug250.
2831 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2832 (verilog-scan): Create verilog-save-buffer-state to standardize
2833 making insignificant changes that shouldn't call hooks.
2834 (verilog-save-no-change-functions, verilog-save-scan-cache)
2835 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2836 Create verilog-save-no-change-functions to wrap verilog-scan
2837 preservation, and fix to work with nested preserved calls.
2838 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2839 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2840 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2841 (verilog-submit-bug-report): Update variable list to be complete.
2842 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2843 breaking on-the-fly font-locking.
2844 (verilog-colorize-buffer, verilog-colorize-include-files)
2845 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2846 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2847 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2848 AUTOINST cell instance name, middle mouse button now finds-file on
2849 it. Suggested by Brad Dobbie.
2850 (verilog-alw-get-temps, verilog-auto-reset)
2851 (verilog-auto-sense-sigs, verilog-read-always-signals)
2852 (verilog-read-always-signals-recurse): Fix loop indexes being
2853 AUTORESET. AUTORESET now assumes any variables in the
2854 initialization section of a for() should be ignored.
2855 Reported by Dan Dever.
2856 (verilog-error-font-lock-keywords)
2857 (verilog-error-regexp-emacs-alist)
2858 (verilog-error-regexp-xemacs-alist): Fix error detection of
2859 Cadence HAL, reported by David Asher. Repair drift between the
2860 three similar error variables.
2861 (verilog-modi-lookup, verilog-modi-lookup-cache)
2862 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2863 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2864 Fix slow verilog-auto expansion on very large files.
2865 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2866 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2867 "{1*2{...". Broke in last revision.
2868 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2869 submodule connections with replications "{#{a},#{b}}".
2871 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2873 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2874 Fix typo in docstring.
2876 2010-10-24 Kenichi Handa <handa@m17n.org>
2878 * face-remap.el (text-scale-adjust): Call read-event with a proper
2881 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2883 * emacs-lisp/unsafep.el: Don't mark functions that display
2884 messages as safe. Suggested by Johan Bockgård.
2886 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2888 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2889 Turn comments into docstrings.
2891 * minibuffer.el (completion--replace): Move point where it belongs
2892 when there's a common suffix (bug#7215).
2894 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2896 Merge read-color and facemenu-read-color (Bug#7242).
2898 * faces.el (read-color): Use the completion code from
2899 facemenu-read-color. Require match in completion. Doc fix.
2901 * facemenu.el (facemenu-read-color): Alias for read-color.
2902 (facemenu-set-foreground, facemenu-set-background):
2905 * frame.el (set-background-color, set-foreground-color)
2906 (set-cursor-color, set-mouse-color, set-border-color):
2909 2010-10-24 Leo <sdl.web@gmail.com>
2911 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2912 argument of delete-file and delete-directory (Bug#7011).
2914 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2916 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2919 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2921 * emacs-lisp/package.el (package--generate-package-list): Make the
2922 *Packages* buffer read-only.
2924 2010-10-24 Alan Mackenzie <acm@muc.de>
2926 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2927 result of `c-beginning-of-decl-1' between invocations of a lambda
2928 function (Bug #7265).
2930 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2932 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2933 executable is not available on the system (Bug#7268).
2935 2010-10-24 Glenn Morris <rgm@gnu.org>
2937 * select.el (selection-coding-system, next-selection-coding-system):
2938 Sync doc with C versions.
2940 * w32-vars.el (x-select-enable-clipboard):
2941 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2942 * term/common-win.el (x-select-enable-clipboard): Move here.
2944 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2945 definition of C variable.
2947 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2948 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2949 Don't redefine things that are defined in C.
2950 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2951 (show-trailing-whitespace, auto-hscroll-mode)
2952 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2953 Set up the appropriate custom properties.
2955 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2958 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2959 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2960 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2961 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2963 2010-10-23 Glenn Morris <rgm@gnu.org>
2965 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2968 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2969 Sync docs with C version.
2971 * term/ns-win.el (xw-defined-colors):
2972 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2974 * term/pc-win.el (x-select-enable-clipboard):
2975 * term/x-win.el (x-select-enable-clipboard):
2976 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2978 * comint.el (comint-password-prompt-regexp): Make it less vague.
2981 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2983 * help.el (finder-by-keyword): Remove unnecessary autoload.
2985 2010-10-22 Glenn Morris <rgm@gnu.org>
2987 * loadup.el: Unconditionally load float-sup.
2988 * paren.el (show-paren-delay):
2989 * emacs-lisp/float-sup.el:
2990 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2991 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2992 (lazy-lock-stealth-verbose): Assume float support.
2993 * ps-print.el: Assume float support on Emacs.
2994 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2995 Remove non-float branch.
2997 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2998 src/Makefile no longer being pre-processed.
3000 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3002 * emacs-lisp/find-func.el (find-library): Use test-completion.
3004 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3006 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3008 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3010 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3011 space in stat format string.
3012 (tramp-send-command): Unset $PS1 when using here documents, in
3013 order not to get several prompts.
3014 (tramp-get-inline-coding): Return `nil' in case of errors.
3016 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3018 * hexl.el (hexl-mode, hexl-mode-exit):
3019 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3020 (hexl-revert-buffer-function): New function.
3021 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3023 2010-10-19 Alan Mackenzie <acm@muc.de>
3025 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3026 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3027 that these keywords aren't wrongly matched as identifiers.
3029 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3030 setting of c-new-BEG and c-new-END from c-before-change to
3031 c-after-change. (Bug#7181)
3033 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3035 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3038 * custom.el (custom-theme-set-variables): Likewise.
3039 (load-theme): Add custom-theme-set-faces and
3040 custom-theme-set-variables to safe-functions while loading.
3041 (custom-enabled-themes): Mark as risky.
3043 2010-10-18 Julien Danjou <julien@danjou.info>
3045 * bindings.el: Remove end dashes in default mode-line-format.
3047 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3049 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3050 to delete-forward-char.
3052 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3053 deletechar, and hence delete-forward-char.
3055 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * repeat.el (repeat): Use read-key (bug#6256).
3059 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3061 * emacs-lisp/unsafep.el: Don't mark functions that display
3062 messages as safe. Suggested by Johan Bockgård.
3064 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * minibuffer.el (completion--replace): Move point where it belongs
3067 when there's a common suffix (bug#7215).
3069 2010-10-19 Kenichi Handa <handa@m17n.org>
3071 * international/characters.el: Add category '|' (word breakable)
3072 to fullwidth characters.
3074 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3076 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3077 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3078 order to make stat results a float. Patch by Andreas Schwab
3079 <schwab@linux-m68k.org>.
3081 2010-10-18 Julien Danjou <julien@danjou.info>
3083 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3084 hidden by `make-pointer-invisible'.
3086 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3088 * files.el (locate-file-completion-table): Strip non-matching elements
3089 before checking length of list (bug#7238).
3091 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3093 * custom.el (custom-theme-set-variables): Mark as a safe function.
3094 (load-theme): Check forms using unsafep.
3096 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3098 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3100 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3101 Fix aspell data file searching (bug#7230).
3103 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3105 * cus-theme.el (custom-theme--migrate-settings): New var.
3106 (customize-create-theme): Allow editing the `user' theme.
3107 (custom-theme-add-variable, custom-theme-add-var-1)
3108 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3109 to the front of each variable or face widget.
3110 (custom-theme-write): Save theme settings in the correct order.
3111 Optionally, remove saved settings from user customizations.
3112 (custom-theme-write-variables, custom-theme-write-faces):
3113 Save only the checked widgets.
3114 (customize-themes): Add a link for migrating custom settings.
3116 * custom.el (custom-declare-theme, provide-theme):
3117 Use custom-theme-name-valid-p.
3118 (custom-theme-name-valid-p): Remove checks that are now
3119 unnecessary since themes no longer obey load-path.
3121 * cus-edit.el (custom-variable-value-create): For the simple
3122 style, hide documentation string when hidden.
3124 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3126 * cus-edit.el (custom-variable, custom-face): Combine the
3127 :inhibit-magic and :display-style properties into a single
3128 :custom-style property.
3129 (custom-toggle-hide-variable, custom-toggle-hide-face):
3130 New functions. If hiding an edited value, save it to :shown-value.
3131 (custom-variable-value-create, custom-face-value-create): Use them.
3132 (custom-magic-reset): Allow magic property to be unset.
3134 * custom.el: Custom themes no longer use load-path.
3135 (custom-theme-load-path): New option. Change built-in theme
3137 (custom-enabled-themes): Add custom-theme-load-path dependency.
3138 (custom-theme--load-path): New function.
3139 (load-theme, custom-available-themes): Use it.
3141 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3142 (customize-themes): Link to custom-theme-load-path variable.
3143 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3144 :custom-style property.
3146 * themes/*.el: Moved to etc/.
3148 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3150 * textmodes/reftex-cite.el
3151 (reftex-extract-bib-entries-from-thebibliography): Do not move
3152 point when searching for \bibitem entries. Match entries with
3153 spaces or tabs in front of arguments.
3155 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3157 * cus-theme.el (customize-create-theme): Delete overlays after
3158 erasing. If given a THEME arg, display only the faces of that arg
3159 instead of custom-theme--listed-faces.
3160 (custom-theme-variable-menu, custom-theme-variable-action)
3161 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3162 (custom-theme-add-variable, custom-theme-add-face): Apply value
3163 from the theme settings, instead of the current value.
3164 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3165 (custom-theme-visit-theme): Allow calling outside theme buffers.
3166 (custom-theme-merge-theme): Don't enable the theme when merging.
3167 (custom-theme-write-variables, custom-theme-write-faces): Use the
3168 :shown-value properties to save buffer values, not global ones.
3169 (customize-themes): Display a warning about user customizations.
3171 * cus-edit.el (custom-variable-value-create)
3172 (custom-face-value-create): Obey new special properties
3173 :shown-value and :inhibit-magic.
3175 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3177 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3178 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3181 2010-10-14 Kenichi Handa <handa@m17n.org>
3183 * mail/rmail.el (rmail-show-message-1): Catch an error of
3184 base64-decode-region and just show an error message (bug#7165).
3186 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3187 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3188 a font-spec (bug#7197).
3190 2010-10-14 Glenn Morris <rgm@gnu.org>
3192 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3194 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3196 * international/mule.el (define-coding-system):
3197 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3198 * composite.el (compose-region): Fix typo in docstring.
3200 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3202 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3203 only after checking the theme-face property.
3205 * faces.el (face-spec-reset-face): Reset all attributes in one
3206 single call to set-face-attribute.
3207 (face-spec-match-p): Make it a defsubst.
3208 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3209 (x-create-frame-with-faces, tty-create-frame-with-faces)
3210 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3211 frame-set-background-mode, since they are recomputed immediately
3212 afterwards in face-set-after-frame-default.
3213 (face-set-after-frame-default): Minor optimization.
3214 (cursor): Provide non-trivial defface spec.
3216 * custom.el (custom-theme-recalc-face): Simplify.
3218 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3220 * calc/calc-alg.el (math-var): Rename from `var'.
3221 (math-is-polynomial, math-is-poly-rec): Replace `var'
3224 * calc/calcalg2.el (math-var): Rename from `var'.
3225 (calcFunc-table, math-scan-for-limits): Replace `var'
3228 2010-10-13 Glenn Morris <rgm@gnu.org>
3230 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3232 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3234 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3236 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3238 * net/tls.el (tls-program): Remove spurious %s from openssl.
3239 (tls-starttls-switches): Remove starttls hack.
3240 (open-tls-stream): Ditto.
3241 (tls-find-starttls-argument): Ditto.
3243 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3245 * image.el (image-library-alist): Declare as obsolete alias.
3246 (image-type-available-p): Use `dynamic-library-alist'.
3248 * term/w32-win.el (dynamic-library-alist):
3249 Use instead of `image-library-alist'.
3251 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3253 * subr.el (last): Make it faster. (Bug#7174)
3255 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3257 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3259 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3261 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3262 (describe-theme-1): Extract doc from unloaded themes.
3264 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3266 * themes/tango-theme.el:
3267 * themes/tango-dark-theme.el:
3268 * themes/wheatgrass-theme.el: New files.
3270 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3272 * cus-theme.el (describe-theme, customize-themes)
3273 (custom-theme-save): New commands.
3274 (custom-new-theme-mode-map): Bind C-x C-s.
3275 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3276 (customize-create-theme): New optional arg THEME.
3277 (custom-theme-revert): Use it.
3278 (custom-theme-visit-theme): Remove dead code.
3279 (custom-theme-merge-theme): Use custom-available-themes.
3280 (custom-theme-write): Make interactive.
3281 (custom-theme-write): Use custom-theme-name-valid-p.
3282 (describe-theme-1, custom-theme-choose-revert)
3283 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3285 (custom-theme-allow-multiple-selections): New option.
3286 (custom-theme-choose-mode): New major mode.
3288 * custom.el (custom-theme-set-variables): Remove dead code.
3289 Obey custom--inhibit-theme-enable.
3290 (custom--inhibit-theme-enable): New var.
3291 (provide-theme): Obey it.
3292 (load-theme): Replace load with manual read/eval, in order to
3293 check for correctness. Use custom-theme-name-valid-p.
3294 (custom-theme-name-valid-p): New function.
3295 (custom-available-themes): Use it.
3297 * cus-edit.el (custom--initialize-widget-variables): New function.
3298 (Custom-mode): Use it.
3300 * cus-face.el (custom-theme-set-faces): Remove dead code.
3301 Obey custom--inhibit-theme-enable.
3303 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3305 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3307 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3309 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3311 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3312 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3313 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3315 * cus-start.el (all): ns-right-alternate-modifier is new.
3317 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3319 * emacs-lisp/lisp.el (lisp-completion-at-point):
3320 Use emacs-lisp-mode-syntax-table for the whole function.
3322 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3324 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3325 instead of font-lock-mode before adding keywords.
3326 Remove hi-lock-mode off code. Remove inhibit hack.
3327 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3328 non-nil; removed hook inhibit hack.
3330 2010-10-12 Glenn Morris <rgm@gnu.org>
3332 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3333 (load-path-shadows-find): ... to this.
3334 (list-load-path-shadows): Update for above change.
3336 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3338 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3340 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3341 Fix comment for declare-function.
3343 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3345 * custom.el (custom-fix-face-spec): New function; code moved from
3346 custom-face-edit-fix-value.
3347 (custom-push-theme): Use it when checking if a face has been
3348 changed outside customize.
3349 (custom-available-themes): New function.
3350 (load-theme): Use it.
3352 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3354 * custom.el (custom-push-theme): Cleanup (use cond).
3355 (disable-theme): Recompute the saved-face property.
3356 (custom-theme-recalc-face): Follow face alias before setting prop.
3358 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3359 New variables, containing checkbox images.
3361 * startup.el (fancy-startup-tail):
3362 * wid-edit.el (checkbox): Use them.
3364 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3366 * shell.el (shell-mode-map):
3367 * progmodes/modula2.el (m2-mode-map):
3368 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3369 * play/mpuz.el (mpuz-mode-map):
3370 * play/landmark.el (lm-mode-map):
3371 * play/decipher.el (decipher-mode-map):
3372 * play/5x5.el (5x5-mode-map):
3373 * net/telnet.el (telnet-mode-map):
3374 * net/quickurl.el (quickurl-list-mode-map):
3375 * net/mairix.el (mairix-searches-mode-map):
3376 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3377 * net/dig.el (dig-mode-map):
3378 * mail/mspools.el (mspools-mode-map):
3379 * hexl.el (hexl-mode-map):
3380 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3381 (wordstar-C-o-map, wordstar-C-q-map):
3382 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3383 * emacs-lisp/chart.el (chart-map):
3384 * edmacro.el (edmacro-mode-map):
3385 * erc/erc-list.el (erc-list-menu-mode-map):
3386 * array.el (array-mode-map): Declare and define in one step.
3388 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3390 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3392 * epa.el (epa-passphrase-callback-function): Display filename
3393 passed as the 3rd arg.
3394 * epa-file.el (epa-file-passphrase-callback-function):
3395 Pass filename to epa-passphrase-callback-function.
3397 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3399 * cus-edit.el (custom-face-widget-to-spec)
3400 (custom-face-get-current-spec, custom-face-state): New functions.
3401 (custom-face-set, custom-face-mark-to-save)
3402 (custom-face-value-create, custom-face-state-set): Use them.
3404 * cus-theme.el (custom-theme--listed-faces): New var.
3405 (customize-create-theme): Use *Custom Theme* as the buffer name.
3406 Set revert-buffer-function. Optional arg BUFFER. Insert all
3407 faces listed in custom-theme--listed-faces.
3408 (custom-theme-revert): New function.
3409 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3411 (custom-theme-write): Prompt for theme name if empty.
3412 (custom-theme-write-variables): Use dolist.
3413 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3415 2010-10-09 Alan Mackenzie <acm@muc.de>
3417 Enhance fontification of declarators to take account of the
3418 presence/absence of "typedef".
3420 * cc-engine.el (c-forward-type): New &optional param
3422 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3423 presence of either or both of a "struct"-like keyword and "typedef".
3425 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3426 fontification of declarators which follow a "}".
3427 (c-font-lock-declarations): Fontify declarators according to the
3428 presence/absence of "typedef".
3430 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3432 (c-typedef-decl-key): New lang variable built from
3433 c-typedef-decl-kwds.
3435 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3437 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3438 since that's too annoying. Move the filter groups commands to
3441 * epa.el (epa-passphrase-callback-function): Say what we're
3442 querying the password for.
3444 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3445 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3447 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3449 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3450 (custom-magic-value-create): Pad button tags with spaces.
3451 (custom-face-edit): New variable.
3452 (custom-face-value-create): Determine whether to use the usual
3453 face editor here, instead of using custom-face-selected.
3454 Pass face defaults to custom-face-edit widget.
3455 (custom-face-selected, custom-display-unselected): Delete widgets.
3456 (custom-display-unselected-match): Function removed.
3457 (custom-face-set, custom-face-mark-to-save):
3458 Accept custom-face-edit widgets as the direct widget child.
3460 * wid-edit.el (widget--completing-widget): New var.
3461 (widget-default-complete): Bind it when doing completion.
3462 (widget-string-complete, widget-file-complete): Use it.
3464 2010-10-09 Glenn Morris <rgm@gnu.org>
3466 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3467 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3468 (holiday-hebrew-misc): Small simplifications.
3470 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3472 * net/browse-url.el: Don't require thingatpt, term, dired,
3473 executable, or w3-auto when compiling.
3474 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3476 (browse-url-text-emacs): Require term.
3478 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3480 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3482 2010-10-08 Glenn Morris <rgm@gnu.org>
3484 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3486 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3487 (shadows-compare-text-p): Make it an obsolete alias for...
3488 (load-path-shadows-compare-text): ... new name.
3489 (find-emacs-lisp-shadows): Update for above name change.
3490 (load-path-shadows-same-file-or-nonexistent): New name for the old
3491 shadow-same-file-or-nonexistent.
3493 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3495 * minibuffer.el (completion--some, completion--do-completion)
3496 (minibuffer-complete-and-exit, minibuffer-completion-help)
3497 (completion-basic-try-completion)
3498 (completion-basic-all-completions)
3499 (completion-pcm--find-all-completions): Use lexical-let to
3500 avoid some false matches in variable completion (Bug#7056)
3502 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3504 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3506 2010-10-08 Leo <sdl.web@gmail.com>
3508 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3509 return non-nil if the file exists (Bug#7090).
3511 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3513 * minibuffer.el (completion--replace):
3514 Better preserve markers (bug#7138).
3516 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3518 * server.el (server-process-filter): Doc fix.
3520 2010-10-08 Drew Adams <drew.adams@oracle.com>
3522 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3524 2010-10-08 Glenn Morris <rgm@gnu.org>
3526 * vc/ediff-wind.el (ediff-setup-control-frame):
3527 * vc/ediff-ptch.el (ediff-default-backup-extension):
3528 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3529 (ediff-exec-process): Remove system-types emx, windows-95.
3531 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3533 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3535 * cus-edit.el (custom-variable, custom-face): Doc fix.
3536 (custom-face-edit): Add value-create attribute.
3537 (custom-face-edit-value-create)
3538 (custom-face-edit-value-visibility-action): New functions.
3539 Hide unused face attributes by default, and add a visibility toggle.
3540 (custom-face-edit-deactivate): Show empty values with shadow face.
3541 (custom-face-selected): Only use this for face specs with default
3543 (custom-face-value-create): Cleanup.
3545 * wid-edit.el (widget-checklist-value-create): Use dolist.
3546 (widget-checklist-match-find): Make second arg optional.
3548 2010-10-07 Glenn Morris <rgm@gnu.org>
3550 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3553 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3554 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3555 load-path-shadows-mode, update references.
3556 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3557 Rename variable and button.
3558 (list-load-path-shadows): Update button caller.
3560 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3562 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3563 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3564 (smie-merge-prec2s): Handle those new entries.
3565 (smie-prec2-levels): Only set precedence to nil for actual
3567 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3568 that is now unnecessary.
3570 2010-10-07 Miles Bader <miles@gnu.org>
3572 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3574 2010-10-07 Glenn Morris <rgm@gnu.org>
3576 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3577 (mail-position-on-field): Remove declarations.
3578 (mail-position-on-field): Autoload it.
3579 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3580 and mail-header-end. Don't require sendmail.
3582 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3583 (shadow-mode): New mode.
3584 (shadow-find-file): New button.
3585 (list-load-path-shadows): Use shadow-mode and buttons.
3587 * iimage.el (iimage-version): Remove.
3588 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3589 Turn into defcustoms.
3590 (iimage-mode-map): Give it a doc string.
3592 * calendar/appt.el (appt-activate): Give a warning rather than an error
3593 if there is no diary-file.
3595 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3597 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3598 Use `tramp-handle-find-backup-file-name'.
3600 2010-10-06 Glenn Morris <rgm@gnu.org>
3602 * font-core.el (font-lock-defaults-alist): Remove variable.
3603 (font-lock-mode): Doc fix.
3604 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3605 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3606 (font-lock-set-defaults): Doc fix.
3607 Do not consult font-lock-defaults-alist.
3609 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3611 * emacs-lisp/cl.el: No longer provide cl-19.
3613 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3615 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3616 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3617 New defuns, taken from tramp-smb.el.
3618 (tramp-coding-system-change-eol-conversion)
3619 (tramp-set-process-query-on-exit-flag): Remove.
3621 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3622 (tramp-compat-coding-system-change-eol-conversion)
3623 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3626 * net/tramp-gvfs.el:
3627 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3628 by `tramp-compat-set-process-query-on-exit-flag'.
3630 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3631 Use `tramp-handle-directory-files-and-attributes',
3632 `tramp-handle-file-exists-p' and
3633 `tramp-handle-file-newer-than-file-p'.
3634 (tramp-imap-handle-file-exists-p)
3635 (tramp-imap-handle-file-executable-p)
3636 (tramp-imap-handle-file-readable-p)
3637 (tramp-imap-handle-directory-files-and-attributes)
3638 (tramp-imap-handle-file-newer-than-file-p): Remove.
3640 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3641 by `tramp-compat-set-process-query-on-exit-flag' and
3642 `tramp-coding-system-change-eol-conversion' by
3643 `tramp-compat-coding-system-change-eol-conversion'.
3645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3646 Use `tramp-handle-directory-files-and-attributes',
3647 `tramp-handle-file-exists-p' and
3648 `tramp-handle-file-newer-than-file-p'.
3649 (tramp-smb-handle-directory-files-and-attributes)
3650 (tramp-smb-handle-file-exists-p)
3651 (tramp-smb-handle-file-newer-than-file-p): Remove.
3652 (tramp-smb-maybe-open-connection):
3653 Replace `tramp-set-process-query-on-exit-flag' by
3654 `tramp-compat-set-process-query-on-exit-flag'.
3656 2010-10-05 Glenn Morris <rgm@gnu.org>
3658 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3660 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3662 Continue reorganization of load dependencies. (Bug#7156)
3664 * net/tramp.el (tramp-handle-file-local-copy-hook)
3665 (tramp-delete-temp-file-function): Move down.
3666 (tramp-exists-file-name-handler): Move up.
3667 (tramp-register-file-name-handlers): Simplify autoload.
3668 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3669 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3670 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3671 (tramp-handle-file-name-completion)
3672 (tramp-handle-file-name-directory)
3673 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3674 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3675 (tramp-handle-find-backup-file-name)
3676 (tramp-handle-insert-file-contents, tramp-handle-load)
3677 (tramp-handle-substitute-in-file-name)
3678 (tramp-handle-unhandled-file-name-directory)
3679 (tramp-mode-string-to-int, tramp-local-host-p)
3680 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3682 * net/tramp-gvfs.el (top):
3683 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3685 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3686 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3688 2010-10-04 Glenn Morris <rgm@gnu.org>
3690 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3691 (appt-activate): Give status messages.
3693 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3695 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3696 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3697 `gnutls-negotiate' (formerly `starttls-negotiate').
3698 Remove trivial wrapper `starttls-open-stream'.
3700 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3702 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3703 log-outgoing commands.
3704 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3705 to create a buffer local revert-buffer-function variable.
3706 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3707 revert-buffer-function lambda.
3709 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3711 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3712 `gnutls-boot'. Make TYPE the only required parameter.
3713 Allow TRUSTFILES and KEYFILES to be lists.
3714 (open-ssl-stream): Use it.
3716 2010-10-03 Glenn Morris <rgm@gnu.org>
3718 * subr.el (directory-sep-char): Remove obsolete variable.
3719 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3722 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3723 * vc/vc.el (vc-static-header-alist): Doc fix.
3724 * vc/vc-cvs.el (vc-cvs-header):
3725 * vc/vc-rcs.el (vc-rcs-header):
3726 * vc/vc-sccs.el (vc-sccs-header):
3727 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3728 * obsolete/vc-mcvs.el (vc-mcvs-header):
3729 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3732 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3734 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3735 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3737 2010-10-03 Glenn Morris <rgm@gnu.org>
3739 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3741 * textmodes/rst.el (rst-font-lock-keywords-function):
3744 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3746 * printing.el: Drop Emacs 20 code.
3748 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3749 without having used appt.el already).
3751 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3752 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3753 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3755 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3756 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3758 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3759 (charset-width, find-charset-region, chars-in-region, forward-point)
3760 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3761 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3762 Remove compatibility cruft (none of these are used by ps*.el).
3764 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3766 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3768 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3770 * server.el (server-process-filter, server-return-error):
3771 Give emacsclient time to shut down after receiving an error string.
3773 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3775 * files.el (remote-file-name-inhibit-cache): New defcustom.
3777 * time.el (display-time-file-nonempty-p):
3778 Use `remote-file-name-inhibit-cache'.
3780 * net/tramp.el (tramp-completion-reread-directory-timeout):
3783 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3784 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3785 `remote-file-name-inhibit-cache'. Check also for an integer
3786 value. Add/increase counter when `tramp-verbose' >= 10.
3787 (tramp-set-file-property): Add/increase counter when
3788 `tramp-verbose' >= 10.
3790 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3791 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3792 (tramp-bug): Set tramp-autoload cookie. Report all interned
3793 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3794 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3795 characters only in strings.
3797 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3798 to backward compatibility.
3800 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3801 (tramp-handle-file-name-all-completions)
3802 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3803 (tramp-open-connection-setup-interactive-shell):
3804 Call `tramp-cleanup-connection' directly.
3806 2010-10-02 Glenn Morris <rgm@gnu.org>
3808 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3810 * subr.el (char-bytes): Remove obsolete function.
3812 * isearch.el (isearch-return-char): Remove obsolete function.
3814 * mouse.el: No longer provide mldrag.
3815 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3816 Remove obsolete aliases.
3818 * comint.el (comint-kill-output): Remove obsolete alias.
3820 * composite.el (decompose-composite-char): Remove obsolete function.
3821 * ps-def.el (decompose-composite-char): Remove unused function.
3823 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3825 * outline.el (outline-visible): Remove obsolete function.
3827 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3828 * faces.el (internal-find-face, internal-get-face)
3829 (frame-update-faces, frame-update-face-colors)
3830 (x-frob-font-weight, x-frob-font-slant)
3831 (internal-frob-font-weight, internal-frob-font-slant)
3832 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3833 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3834 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3836 * emulation/viper-util.el (viper-get-face):
3837 * obsolete/lucid.el (find-face, get-face): Use facep.
3838 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3839 Remove unused functions.
3840 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3842 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3843 delete tempfile if interrupted during compilation.
3845 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3847 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3849 (tls-program): Add --insecure to be consistent with the defaults from
3850 openssl s_client. Now all three commands are insecure.
3852 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3854 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3855 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3856 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3858 2010-10-01 Glenn Morris <rgm@gnu.org>
3860 * obsolete/sc.el: Remove file.
3862 * files.el (temporary-file-directory): On darwin, also try
3863 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3865 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3867 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3868 Let's not break compatibility gratuitously, shall we?
3870 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3872 * net/tls.el (tls-starttls-switches): New variable.
3873 (tls-find-starttls-argument): Use it.
3874 (open-tls-stream): Ditto.
3876 * net/netrc.el (netrc-credentials): Return the value of the "default"
3878 (netrc-machine): Ditto.
3880 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3882 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3884 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3886 * server.el (server-start): Don't write pid to the authentication file.
3887 (server-create-tty-frame): Don't send pid.
3888 (server-process-filter): Send pid at the start of every connection.
3890 2010-09-30 Glenn Morris <rgm@gnu.org>
3892 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3893 (show-all-diary-entries): Remove obsolete function aliases.
3895 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3896 Remove options, obsolete since 22.1.
3897 (appt-display-format, appt-display-message):
3898 Remove backwards-compatibility code.
3899 (appt-check): No longer check appt-issue-message.
3900 (appt-make-list): No longer autoload it. Doc fix. No longer
3901 activate the package.
3903 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3906 (starttls-negotiate): Just call boot, and let the handshake be
3907 triggered from the read loop.
3909 2010-09-29 Glenn Morris <rgm@gnu.org>
3911 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3912 not displaying the diary.
3913 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3914 * calendar/appt.el (appt-check): No longer need to kill diary.
3916 * calendar/diary-lib.el (diary-list-entries): Move the
3917 "Preparing..." message entirely here.
3918 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3919 messages to diary-list-entries.
3920 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3921 diary-display-function.
3923 * calendar/diary-lib.el (diary-include-other-diary-files):
3924 Trap some recursive includes.
3926 * calendar/appt.el (appt-activate): Check diary file.
3928 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3930 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3933 * calendar/time-date.el: No need to require cl for Emacs 21.
3935 2010-09-28 Glenn Morris <rgm@gnu.org>
3937 * calendar/appt.el (appt-check): Minor simplification.
3939 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3941 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3944 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3946 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3947 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3949 2010-09-27 Kenichi Handa <handa@m17n.org>
3951 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3954 2010-09-27 Kenichi Handa <handa@m17n.org>
3956 * international/mule.el (define-coding-system): Docstring fixed.
3958 * international/mule-diag.el (describe-character-set): Use princ
3959 with proper print-length and print-level instead of insert.
3961 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3963 * window.el (walk-windows): Doc fix (bug#7105).
3965 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * emacs-lisp/float-sup.el (e): Remove.
3969 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3971 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3973 (starttls-negotiate): Use it.
3975 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3980 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3984 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3986 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3988 * net/netrc.el (netrc-store-data): New function.
3990 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3992 * net/gnutls.el: GnuTLS glue code to set up a connection.
3994 2010-09-25 Julien Danjou <julien@danjou.info>
3996 * notifications.el: Call dbus-register-signal only if it is bound.
3998 2010-09-25 Glenn Morris <rgm@gnu.org>
4000 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4001 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4002 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4003 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4004 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4005 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4006 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4007 * eshell/esh-util.el, eshell/esh-var.el:
4008 Remove leading `*' from docs of faces and defcustoms.
4010 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4012 * eshell/em-ls.el (eshell-ls-archive-regexp):
4013 * eshell/esh-util.el (eshell-tar-regexp):
4014 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4015 * info.el (Info-suffix-list):
4016 * international/mule.el (auto-coding-alist):
4017 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4018 * progmodes/etags.el (tags-compression-info-list):
4019 Support xz compression.
4021 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4023 * files.el (get-free-disk-space): Don't assume the "df" output
4024 columns line up (Bug#6995).
4026 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4028 * finder.el (finder-unknown-keywords):
4029 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4030 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4032 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4034 * server.el (server-start): Revert part of 2010-08-08 change. Using
4035 address 127.0.0.1 for local host is now done in Fmake_network_process.
4037 2010-09-24 Glenn Morris <rgm@gnu.org>
4039 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4040 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4041 * textmodes/css-mode.el, textmodes/dns-mode.el:
4042 Move autoloaded auto-mode-alist entries to files.el.
4043 * files.el (auto-mode-alist): Move entries here.
4045 2010-09-23 Glenn Morris <rgm@gnu.org>
4047 * isearch.el (isearch-lazy-highlight-cleanup)
4048 (isearch-lazy-highlight-initial-delay)
4049 (isearch-lazy-highlight-interval)
4050 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4051 * net/net-utils.el (ipconfig-program-options):
4052 Move aliases to options before the associated definitions.
4054 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4056 * newcomment.el (comment-normalize-vars): Better test validity of
4059 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4062 (float-e): New name for `e'.
4063 (degrees-to-radians, radians-to-degrees):
4064 * calendar/solar.el (solar-longitude):
4065 * calculator.el (calculator-registers, calculator-funcall):
4066 * textmodes/artist.el (artist-spray-random-points):
4067 * play/bubbles.el (bubbles--initialize-images): Use new names.
4069 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4071 Update to CEDET 1.0's version of EIEIO.
4073 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4075 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4076 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4077 (class-precedence-list): If class is nil, return nil.
4078 (eieio-generic-call): If class of first input arg is nil, don't
4079 look up static methods, and do check for primary methods.
4080 (initialize-instance): See if the default needs to be evaluated
4081 during the constructor.
4082 (eieio-perform-slot-validation-for-default): Don't do the check
4083 for values that will eventually be evaluated.
4084 (eieio-eval-default-p): New function.
4085 (eieio-default-eval-maybe): Use it.
4087 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4089 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4090 method-invocation-order.
4091 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4092 (eieio-class-precedence-dfs): Compute class precedence list using
4094 (eieio-class-precedence-bfs): Compute class precedence list using
4096 (eieio-class-precedence-c3): Compute class precedence list using
4098 (class-precedence-list): New function.
4099 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4100 (inconsistent-class-hierarchy): New error symbol.
4101 (call-next-method): Stow the replacement argument list for future
4102 call-next-method invocations.
4104 2010-09-23 Glenn Morris <rgm@gnu.org>
4106 * calendar/appt.el (appt-check): If not displaying the diary,
4107 use (diary 1) to only get the entries we need.
4108 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4109 that it is in day order. (Bug#7019)
4111 * calendar/appt.el (appt-check): Rather than showing the diary,
4112 just turn off invisible display, and only if needed.
4114 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4116 2010-09-23 Glenn Morris <rgm@gnu.org>
4118 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4119 (byte-compile-defvar, byte-compile-cl-warn):
4120 Start warnings with lower-case, like the majority.
4122 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4124 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4126 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4127 * files.el (auto-mode-alist): Move ld-script entries here, further down
4130 * vc/add-log.el: Don't require timezone when compiling.
4131 (timezone-make-date-sortable): Autoload it.
4132 (change-log-sortable-date-at): Don't require timezone.
4133 Use `ignore-errors'.
4135 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4136 Move alias before definition, so it does not need autoloading.
4138 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4139 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4140 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4141 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4142 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4143 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4144 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4145 * textmodes/tex-mode.el, textmodes/two-column.el:
4146 Remove leading `*' from docs of defcustoms etc.
4148 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4150 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4152 2010-09-22 Dan Christensen <jdc@uwo.ca>
4154 * calendar/time-date.el (date-to-time): Try using parse-time-string
4155 first before using the slower timezone-make-date-arpa-standard.
4157 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4159 * calendar/time-date.el (format-seconds): Comment fix.
4161 2010-09-22 Glenn Morris <rgm@gnu.org>
4163 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4164 is not automatically buffer-local.
4166 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4169 (smie-indent-comment): Be more careful with comment-start-skip.
4170 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4171 (smie-indent-functions): Use them.
4173 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4175 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4177 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4179 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4180 tool-bar-position. Don't modify frame parameters here.
4181 (menu-bar-options-save): Add tool-bar-position.
4183 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4185 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * textmodes/reftex-parse.el (reftex-what-macro)
4188 (reftex-context-substring): Let-bind forward-sexp-function to nil
4189 since we don't need/want to treat \begin...\end as a block (bug#7053).
4191 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4193 * simple.el (blink-matching-open): Use syntax-class.
4195 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4196 Set invisibility spec for pascal's outline mode.
4197 (pascal-outline-change): Clean up calling convention.
4198 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4200 * progmodes/prolog.el (prolog-smie-forward-token)
4201 (prolog-smie-backward-token): New functions.
4202 (prolog-mode-variables): Use them to parse "!," correctly.
4203 Set up smie-blink-matching for ".".
4205 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4207 (ispell-region, ispell-process-line): Update users.
4209 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4212 * textmodes/ispell.el: Fix commenting convention.
4213 (ispell-parse-output): Simplify, use push.
4214 (ispell-region): Use match-string-no-properties.
4215 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4216 (ispell-minor-mode): Use define-minor-mode.
4217 (ispell-message): Remove unused var `skip-regexp'.
4218 (ispell-add-per-file-word-list): Use dynamic let-binding.
4219 Try and use the proper comment marker.
4221 * mail/sendmail.el: Fix commenting convention.
4222 (sendmail-send-it): Use line-beginning-position.
4224 * help-fns.el (describe-variable): Add original value, if applicable.
4226 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4228 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4230 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4232 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4235 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4236 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4237 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4238 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4239 something like "." can also be a closer.
4240 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4241 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4242 Rename internal functions to use "--". Update callers.
4244 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4246 * fringe.el (fringe-styles): New var.
4247 (fringe-mode, fringe-query-style): Use it.
4249 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4251 * progmodes/sql.el: Version 2.8
4252 (sql-login-params): Update widget structure; changes still needed.
4253 (sql-product-alist): Add :list-all and :list-table features for
4254 SQLite, Postgres and MySQL products.
4255 (sql-redirect): Handle default value.
4256 (sql-execute, sql-execute-feature): New functions.
4257 (sql-read-table-name): New function.
4258 (sql-list-all, sql-list-table): New functions. User API.
4259 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4260 for above functions.
4261 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4262 for above functions.
4263 (sql-postgres-login-params): Add user and database defaults.
4264 (sql-buffer-live-p): Bug fix.
4265 (sql-product-history): New variable.
4266 (sql-read-product): New function. Use it.
4267 (sql-set-product, sql-product-interactive): Use it.
4268 (sql-connection-history): New variable.
4269 (sql-read-connection): New function. Use it.
4270 (sql-connect): New function.
4271 (sql-for-each-login): Redesign function interface.
4272 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4273 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4274 (sql-comint): Check for program. Existing live buffer.
4275 (sql-comint-postgres): Add port parameter.
4277 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * emacs-lisp/warnings.el: Fix commenting convention.
4280 (display-warning): Use special mode and make the buffer read-only.
4282 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4284 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4285 empty string when it follows a repeated or optional pattern.
4287 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4290 (indent-region): Use indent-according-to-mode.
4292 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4294 * fringe.el (fringe-mode): Doc fix.
4296 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4298 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4299 refreshing the preview buffer.
4301 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4304 (latex-syntax-propertize-rules): New consts; replace
4305 tex-font-lock-syntactic-keywords.
4306 (tex-env-mark, latex-env-before-change): New functions.
4307 (latex-electric-env-pair-mode): New minor mode.
4308 (tex-font-lock-verb): Change arguments; do move point.
4309 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4310 representation as a form of comment.
4311 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4312 (doctex-syntax-propertize-rules): New const; replaces
4313 doctex-font-lock-syntactic-keywords.
4314 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4316 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4317 (fortran-make-syntax-propertize-function): New function; replaces
4318 fortran-font-lock-syntactic-keywords.
4319 (fortran-mode): Use it.
4320 (fortran-line-length): Use it. Improve interactive spec.
4322 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4323 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4324 when adding surrounding \(..\).
4326 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4328 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4330 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4331 Use with-current-buffer.
4333 * isearch.el (isearch-face): Rename from `isearch'.
4334 (isearch-highlight): Use new name.
4336 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4338 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4339 5, for `half' width fringes. (Bug#6933)
4341 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4344 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4346 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4348 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4350 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4351 in calculating new frame position. Add more space between new and
4352 parent on the left (Bug#7048).
4354 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4356 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4359 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4361 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4363 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4364 obsolete alias for x-selection-value.
4366 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4368 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4370 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4373 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4375 * net/tramp-compat.el (tramp-compat-with-temp-message)
4376 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4377 (tramp-compat-process-put): New defuns.
4379 * net/tramp.el (top):
4380 * net/tramp-gvfs.el (top):
4381 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4383 * net/tramp.el (tramp-progress-reporter-update):
4384 Use `tramp-compat-funcall'.
4386 * net/tramp.el (tramp-process-actions):
4387 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4388 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4389 (tramp-get-remote-stat, tramp-get-remote-readlink):
4390 Use `tramp-compat-with-temp-message'.
4392 * net/tramp-sh.el (top): Require 'cl.
4393 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4394 (tramp-open-connection-setup-interactive-shell):
4395 Use `tramp-compat-process-put'.
4397 2010-09-15 Alan Mackenzie <acm@muc.de>
4399 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4401 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4403 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4406 `lexical' for warnings related to lexical scoping.
4407 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4408 global vars which don't have a prefix and could hence affect lexical
4409 scoping in unrelated files.
4411 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4413 * net/imap.el: Revert back to version
4414 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4417 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4419 * obsolete/old-whitespace.el (whitespace-unload-function):
4420 Explicitly pass `obarray' to `unintern' to avoid a warning.
4422 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4424 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4425 Add `when' argument. Update callers.
4427 * subr.el (unintern): Declare the obarray arg mandatory.
4429 2010-09-14 Glenn Morris <rgm@gnu.org>
4431 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4434 * calendar/diary-lib.el (diary-included-files): New variable.
4435 (diary-list-entries): Maybe initialize diary-included-files.
4436 (diary-include-other-diary-files): Append to diary-included-files.
4437 * calendar/appt.el (appt-update-list): Also check the members of
4438 diary-included-files. (Bug#6999)
4439 (appt-check): Doc fix.
4441 2010-09-14 David Reitter <david.reitter@gmail.com>
4443 * simple.el (line-move-visual): Do not truncate goal column to
4444 integer size. (Bug#7020)
4446 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * repeat.el (repeat): Allow repeating when the last event is a click.
4449 Suggested by Drew Adams (bug#6256).
4451 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4453 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4454 Replace setting HGRCPATH to "" by some less invasive --config options.
4456 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * font-lock.el (font-lock-beginning-of-syntax-function):
4461 2010-09-14 Glenn Morris <rgm@gnu.org>
4463 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4464 and tool-bar modes. (Bug#6211)
4465 (menu-bar-mode): Move setting of standard-value after the
4466 minor-mode definition, otherwise it seems to have no effect.
4468 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4470 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4471 Fix typo. (Bug#6976)
4473 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4475 * whitespace.el: Allow cleaning up blanks without blank
4476 visualization (Bug#6651). Adjust help window for
4477 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4478 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4479 (whitespace-style): Add new value 'face. Adjust docstring.
4480 (whitespace-space, whitespace-hspace, whitespace-tab):
4481 Adjust foreground property face.
4482 (whitespace-line-column): Adjust docstring and type declaration.
4483 (whitespace-style-value-list, whitespace-toggle-option-alist)
4484 (whitespace-help-text): Adjust const initialization.
4485 (whitespace-toggle-options, global-whitespace-toggle-options):
4487 (whitespace-display-window, whitespace-interactive-char)
4488 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4489 (whitespace-help-scroll): New fun.
4491 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4493 * calendar/time-date.el (format-seconds): Comment fix.
4495 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4497 * progmodes/sql.el: Version 2.7.
4498 (sql-buffer-live-p): Improve detection.
4499 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4500 (sql-set-sqli-buffer): Use it.
4501 (sql-product-interactive): Run `sql-set-sqli-hook'.
4502 (sql-rename-buffer): Code cleanup.
4503 (sql-redirect, sql-redirect-value): New functions. More to come.
4505 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4507 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.
4508 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4509 (TRAMP_SRC): New macro.
4510 ($(lisp)/net/tramp-loaddefs.el): New target.
4512 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4514 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4516 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4518 * net/tramp.el (top): Don't show loading message. Require just
4519 'tramp-compat, everything else is required there.
4520 Use `ignore-errors' where appropriate.
4521 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4522 (tramp-terminal-type, tramp-end-of-output)
4523 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4524 (tramp-completion-function-alist-ssh)
4525 (tramp-completion-function-alist-telnet)
4526 (tramp-completion-function-alist-su)
4527 (tramp-completion-function-alist-putty, tramp-remote-path)
4528 (tramp-remote-process-environment, tramp-sh-extra-args)
4529 (tramp-actions-before-shell, tramp-uudecode)
4530 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4531 (tramp-perl-file-attributes)
4532 (tramp-perl-directory-files-and-attributes)
4533 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4534 (tramp-perl-encode, tramp-perl-decode)
4535 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4536 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4537 (tramp-handle-make-symbolic-link, tramp-handle-load)
4538 (tramp-handle-file-name-as-directory)
4539 (tramp-handle-file-name-directory)
4540 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4541 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4542 (tramp-do-file-attributes-with-ls)
4543 (tramp-do-file-attributes-with-perl)
4544 (tramp-do-file-attributes-with-stat)
4545 (tramp-handle-set-visited-file-modtime)
4546 (tramp-handle-verify-visited-file-modtime)
4547 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4548 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4549 (tramp-handle-file-selinux-context)
4550 (tramp-handle-set-file-selinux-context)
4551 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4552 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4553 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4554 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4555 (tramp-handle-file-ownership-preserved-p)
4556 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4557 (tramp-handle-directory-files-and-attributes)
4558 (tramp-do-directory-files-and-attributes-with-perl)
4559 (tramp-do-directory-files-and-attributes-with-stat)
4560 (tramp-handle-file-name-all-completions)
4561 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4562 (tramp-handle-copy-file, tramp-handle-copy-directory)
4563 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4564 (tramp-do-copy-or-rename-file-via-buffer)
4565 (tramp-do-copy-or-rename-file-directly)
4566 (tramp-do-copy-or-rename-file-out-of-band)
4567 (tramp-handle-make-directory, tramp-handle-delete-directory)
4568 (tramp-handle-delete-file)
4569 (tramp-handle-dired-recursive-delete-directory)
4570 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4571 (tramp-handle-insert-directory)
4572 (tramp-handle-unhandled-file-name-directory)
4573 (tramp-handle-expand-file-name)
4574 (tramp-handle-substitute-in-file-name)
4575 (tramp-handle-executable-find, tramp-process-sentinel)
4576 (tramp-handle-start-file-process, tramp-handle-process-file)
4577 (tramp-handle-call-process-region, tramp-handle-shell-command)
4578 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4579 (tramp-handle-insert-file-contents)
4580 (tramp-handle-insert-file-contents-literally)
4581 (tramp-handle-find-backup-file-name)
4582 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4583 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4584 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4585 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4586 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4587 (tramp-find-file-exists-command, tramp-open-shell)
4588 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4589 (tramp-open-connection-setup-interactive-shell)
4590 (tramp-local-coding-commands, tramp-remote-coding-commands)
4591 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4592 (tramp-inline-compress-commands, tramp-find-inline-compress)
4593 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4594 (tramp-send-command, tramp-wait-for-output)
4595 (tramp-send-command-and-check, tramp-barf-unless-okay)
4596 (tramp-send-command-and-read, tramp-mode-string-to-int)
4597 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4598 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4599 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4600 (tramp-method-out-of-band-p, tramp-local-host-p)
4601 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4602 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4603 (tramp-get-test-command, tramp-get-test-nt-command)
4604 (tramp-get-file-exists-command, tramp-get-remote-ln)
4605 (tramp-get-remote-perl, tramp-get-remote-stat)
4606 (tramp-get-remote-readlink, tramp-get-remote-trash)
4607 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4608 (tramp-get-local-uid, tramp-get-local-gid)
4609 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4611 (tramp-methods, tramp-default-method-alist)
4612 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4613 Move initialization to tramp-sh.el.
4614 (tramp-temp-name-prefix): Make it a defconst.
4615 (tramp-dissect-file-name): Don't check anymore for multi-hop
4617 (tramp-debug-outline-regexp): Add a docstring.
4618 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4619 (tramp-get-debug-buffer): Use it.
4621 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4622 initialization forms.
4623 (tramp-set-connection-property): Don't protect `tramp-message'
4624 call, it isn't necessary any longer.
4625 (tramp-dump-connection-properties): Use `ignore-errors'.
4627 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4628 'password-cache and 'auth-source.
4630 * net/tramp-gvfs.el (top):
4631 * net/tramp-smb.el (top): Require 'tramp-sh.
4633 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4635 * net/tramp-sh.el: New file, derived from tramp.el.
4636 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4637 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4638 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4639 Use `ignore-errors' where appropriate.
4640 (tramp-sh-file-name-handler-alist): Rename from
4641 `tramp-file-name-handler-alist'.
4642 (tramp-send-command-and-check): Return t or nil. Remove all
4643 `zerop' checks, where called.
4644 (tramp-handle-set-file-modes)
4645 (tramp-do-copy-or-rename-file-directly)
4646 (tramp-handle-delete-directory, tramp-handle-delete-file)
4647 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4648 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4649 (tramp-get-remote-ln): Set tramp-autoload cookie.
4651 * net/tramp-fish.el: Remove file.
4653 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4655 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4656 buffer-file-name to avoid file-locking. (Bug#7026)
4658 2010-09-13 Julien Danjou <julien@danjou.info>
4660 * notifications.el (notifications-notify): Add support for
4661 image-path and sound-name.
4662 (notifications-specification-version): Add this variable.
4664 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4668 2010-09-12 Leo <sdl.web@gmail.com>
4670 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4671 (rcirc-completion-start): New variables.
4672 (rcirc-nick-completions): Rename to rcirc-completions.
4673 (rcirc-nick-completion-start-offset): Delete.
4674 (rcirc-completion-at-point): New function for constructing
4675 completion data for both nicks and irc commands. Add to
4676 completion-at-point-functions in rcirc mode.
4677 (rcirc-complete): Rename from rcirc-nick-complete; use
4678 rcirc-completion-at-point.
4679 (defun-rcirc-command): Update rcirc-client-commands.
4681 2010-09-11 Glenn Morris <rgm@gnu.org>
4683 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4684 atomically, to avoid parallel build errors. (Bug#4196)
4686 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4688 * progmodes/sql.el: Version 2.6
4689 (sql-dialect): Synonym for "sql-product".
4690 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4691 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4692 Set "sql-buffer" to buffer name not buffer object so multiple sql
4693 interactive buffers work properly. Reverts misguided changes in
4695 (sql-comint): Make sure different buffer name is used if "*SQL*"
4696 buffer is for a different product.
4697 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4699 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4700 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4701 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4702 Accept new buffer name or prompt for one.
4703 (sql-port): Default to zero.
4704 (sql-comint-mysql): Handle "sql-port" as a numeric.
4705 (sql-port-history): Delete unused variable.
4706 (sql-get-login): Default "sql-port" to a number.
4707 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4708 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4709 "sqlite3" executables.
4710 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4711 (sql-buffer-live-p): New function.
4712 (sql-mode-menu, sql-send-string): Use it.
4713 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4715 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4716 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4718 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4720 * net/netrc.el (netrc-credentials): New convenience function.
4722 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4725 to replace texinfo-font-lock-syntactic-keywords.
4726 (texinfo-mode): Use it.
4728 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4729 Use syntax-propertize-function.
4731 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4732 replace sgml-font-lock-syntactic-keywords.
4733 (sgml-mode): Use it.
4735 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4736 since we don't use it.
4738 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4740 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4742 (vhdl-fontify-buffer): Adjust.
4744 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4745 replace tcl-font-lock-syntactic-keywords.
4748 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4749 replace simula-font-lock-syntactic-keywords.
4750 (simula-mode): Use it.
4752 * progmodes/sh-script.el (sh-st-symbol): Remove.
4753 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4754 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4755 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4756 (sh-font-lock-paren): Set syntax-multiline.
4757 (sh-font-lock-syntactic-keywords): Remove.
4758 (sh-syntax-propertize-function): New function to replace it.
4761 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4762 Define while compiling.
4763 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4764 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4765 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4766 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4767 (ruby-here-doc-end-syntax): Only define when
4768 syntax-propertize is not available.
4769 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4771 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4772 (electric-indent-chars): Silence bytecompiler.
4773 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4774 electric-indent-chars.
4776 * progmodes/python.el (python-syntax-propertize-function): New var to
4777 replace python-font-lock-syntactic-keywords.
4778 (python-mode): Use it.
4779 (python-quote-syntax): Simplify and adjust to new use.
4781 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4782 replace perl-font-lock-syntactic-keywords.
4783 (perl-syntax-propertize-special-constructs): New fun to replace
4784 perl-font-lock-special-syntactic-constructs.
4785 (perl-font-lock-syntactic-face-function): New fun.
4786 (perl-mode): Use it.
4788 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4789 to replace octave-font-lock-close-quotes.
4790 (octave-syntax-propertize-function): New function to replace
4791 octave-font-lock-syntactic-keywords.
4792 (octave-mode): Use it.
4794 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4795 replaces mixal-font-lock-syntactic-keywords.
4796 (mixal-mode): Use it.
4798 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4799 New var; replaces makefile-font-lock-syntactic-keywords.
4800 (makefile-mode): Use it.
4801 (makefile-imake-mode): Adjust.
4803 * progmodes/js.el (js--regexp-literal): Define while compiling.
4804 (js-syntax-propertize-function): New var; replaces
4805 js-font-lock-syntactic-keywords.
4808 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4809 replaces gdb-script-font-lock-syntactic-keywords.
4810 (gdb-script-mode): Use it.
4812 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4813 (fortran--font-lock-syntactic-keywords): New var.
4814 (fortran-line-length): Update syntax-propertize-function and
4815 fortran--font-lock-syntactic-keywords.
4817 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4819 * progmodes/cfengine.el (cfengine-mode):
4820 Use syntax-propertize-function.
4821 (cfengine-font-lock-syntactic-keywords): Remove.
4823 * progmodes/autoconf.el (autoconf-mode):
4824 Use syntax-propertize-function.
4825 (autoconf-font-lock-syntactic-keywords): Remove.
4827 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4828 (ada-after-change-function, ada-initialize-syntax-table-properties)
4829 (ada-handle-syntax-table-properties): Only define when
4830 syntax-propertize is not available.
4831 (ada-mode): Use syntax-propertize-function.
4833 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4834 (font-lock-fontify-syntactic-keywords-region): Move handling of
4835 font-lock-syntactically-fontified to...
4836 (font-lock-default-fontify-region): ...here.
4837 Let syntax-propertize-function take precedence.
4838 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4840 * emacs-lisp/syntax.el (syntax-propertize-function)
4841 (syntax-propertize-chunk-size, syntax-propertize--done)
4842 (syntax-propertize-extend-region-functions): New vars.
4843 (syntax-propertize-wholelines, syntax-propertize-multiline)
4844 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4845 (syntax-propertize): New functions.
4846 (syntax-propertize-rules): New macro.
4847 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4848 (syntax-ppss): Call syntax-propertize.
4850 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4852 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4854 * textmodes/ispell.el (ispell-init-process): Improve comments.
4855 XEmacs compatibility changes regarding (add-hook) 'local option
4856 and (set-process-query-on-exit-flag).
4858 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4860 * net/tramp-cache.el (tramp-parse-connection-properties):
4861 Set tramp-autoload cookie.
4863 2010-09-09 Glenn Morris <rgm@gnu.org>
4865 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4866 (imagemagick-register-types): Doc fix.
4868 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4870 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4872 * progmodes/js.el (require): Require is already "eval-and-compile".
4873 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4874 (js--re-search-backward): Use js--re-search-forward.
4876 * progmodes/fortran.el (fortran-line-length): Don't recompute
4877 syntactic keywords redundantly a second time.
4879 * progmodes/ada-mode.el: Replace "(set '" with setq.
4880 (ada-mode): Simplify.
4881 (ada-create-case-exception, ada-adjust-case-interactive)
4882 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4883 (ada-search-ignore-string-comment, ada-move-to-start)
4884 (ada-move-to-end): Use with-syntax-table.
4886 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4887 (font-lock-unfontify-region, font-lock-default-fontify-region):
4888 Update usage correspondingly.
4889 (font-lock-fontify-syntactic-keywords-region):
4890 Set parse-sexp-lookup-properties buffer-locally here.
4891 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4893 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4895 2010-09-08 Glenn Morris <rgm@gnu.org>
4897 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4898 Error if not compiled with -DBYTE_CODE_METER.
4900 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4901 Ignore dir-locals-file.
4903 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4907 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4908 for the `gnu' messages.
4909 (compilation-set-skip-threshold): New command.
4910 (compilation-start): Use \' rather than $.
4911 (compilation-forget-errors): Use clrhash.
4913 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4915 * textmodes/ispell.el (ispell-valid-dictionary-list):
4918 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4920 Migrate to Tramp 2.2. Rearrange load dependencies.
4921 (Bug#1529, Bug#5448, Bug#5705)
4923 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4924 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4925 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4927 * net/tramp.el (top): Remove all other tramp-* loads except
4928 tramp-compat.el. Remove all changes to tramp-unload-hook for
4929 other tramp-* packages. Rearrange defun order. Change calls of
4930 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4931 `tramp-compat-octal-to-decimal' to new function names.
4932 (tramp-terminal-type, tramp-initial-end-of-output)
4933 (tramp-methods, tramp-foreign-file-name-handler-alist)
4934 (tramp-tramp-file-p, tramp-completion-mode-p)
4935 (tramp-send-command-and-check, tramp-get-remote-path)
4936 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4937 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4938 (with-file-property, with-connection-property): Move to
4940 (tramp-local-call-process, tramp-decimal-to-octal)
4941 (tramp-octal-to-decimal): Move to tramp-compat.el.
4942 (tramp-handle-shell-command): Do not require 'shell.
4943 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4945 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4947 * net/tramp-cache.el (top): Require 'tramp. Add to
4948 `tramp-unload-hook'.
4949 (tramp-cache-data, tramp-get-file-property)
4950 (tramp-set-file-property, tramp-flush-file-property)
4951 (tramp-flush-directory-property, tramp-get-connection-property)
4952 (tramp-set-connection-property, tramp-flush-connection-property)
4953 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4955 (with-file-property, with-connection-property): New defuns, moved
4957 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4960 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4961 (tramp-version): Set tramp-autoload cookie.
4963 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4964 changes to tramp-unload-hook for other tramp-* packages. Add to
4965 `tramp-unload-hook'.
4966 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4967 (tramp-compat-call-process): New defuns, moved from tramp.el.
4969 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4970 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4971 Add to `tramp-unload-hook'. Change call of
4972 `tramp-compat-decimal-to-octal' to new function name.
4973 (tramp-fish-method): Make it a defconst.
4974 (tramp-fish-file-name-p): Make it a defsubst.
4975 (tramp-fish-method, tramp-fish-file-name-handler)
4976 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4978 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4979 `tramp-foreign-file-name-handler-alist'. Add to
4980 `tramp-unload-hook'.
4981 (tramp-ftp-method): Make it a defconst.
4982 (tramp-ftp-file-name-p): Make it a defsubst.
4983 (tramp-ftp-method, tramp-ftp-file-name-handler)
4984 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4986 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4987 `tramp-foreign-file-name-handler-alist'. Add to
4988 `tramp-unload-hook'. Change checks, whether package can be
4990 (tramp-gvfs-file-name-p): Make it a defsubst.
4991 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4992 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4993 (tramp-gvfs-handle-file-directory-p): New defun.
4994 (tramp-gvfs-file-name-handler-alist): Use it.
4996 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4997 `tramp-foreign-file-name-handler-alist'. Add to
4998 `tramp-unload-hook'.
4999 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5000 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5002 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5003 (tramp-gw-open-connection): Set tramp-autoload cookie.
5005 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5006 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5007 Add to `tramp-unload-hook'. Change checks, whether package can be
5009 (tramp-imap-file-name-p): Make it a defsubst.
5010 (tramp-imap-method, tramp-imaps-method)
5011 (tramp-imap-file-name-handler)
5012 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5014 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5015 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5016 Add to `tramp-unload-hook'. Change checks, whether package can be
5017 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5019 (tramp-smb-tunnel-method): Make it a defconst.
5020 (tramp-smb-file-name-p): Make it a defsubst.
5021 (tramp-smb-method, tramp-smb-file-name-handler)
5022 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5024 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5025 (tramp-uuencode-region): Set tramp-autoload cookie.
5027 * net/trampver.el (top) Add to `tramp-unload-hook'.
5028 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5029 cookie. Update release number.
5031 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5033 * textmodes/ispell.el (ispell-start-process): Make sure original
5034 arg list is properly initialized (Bug#6993, Bug#6994).
5036 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5038 * files.el (directory-abbrev-alist): Use \` as default regexp.
5040 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5041 chars like - or ] (bug#6984).
5042 (rx-any-condense-range): Explode 2-char ranges.
5044 2010-09-06 Glenn Morris <rgm@gnu.org>
5046 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5048 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * textmodes/bibtex.el:
5051 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5053 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5055 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5056 since no callers use it.
5057 (imap-message-get): Ditto.
5058 (imap-message-put): Ditto.
5059 (imap-mailbox-map): Ditto.
5060 (imap-mailbox-put): Ditto.
5061 (imap-mailbox-get): Ditto.
5062 (imap-mailbox-get): Revert last change for this function.
5064 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5066 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5067 callers to use `imap-fetch' instead. According to the comments, this
5068 should be safe, since all other IMAP clients use the 1:* syntax.
5069 (imap-enable-exchange-bug-workaround): Remove.
5070 (imap-debug): Remove -- doesn't seem very useful.
5072 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5074 * net/imap.el (imap-log): New convenience function used throughout
5075 instead of repeating the same code all over the place.
5077 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5079 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5080 when mouse-drag-copy-region is non-nil (Bug#6956).
5082 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5084 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5085 Improve regexps (Bug#6987).
5086 (dired-sort-toggle): Search more robustly for -t flag.
5088 * files.el (get-free-disk-space): Search more robustly for
5089 "available" column. Suggested by Ehud Karni
5090 <ehud@unix.mvs.co.il>.
5092 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5094 * international/uni-bidi.el:
5095 * international/uni-category.el:
5096 * international/uni-combining.el:
5097 * international/uni-decimal.el:
5098 * international/uni-mirrored.el:
5099 * international/uni-name.el: Regenerate.
5101 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5103 * electric.el (electric-indent-post-self-insert-function):
5104 Don't reindent with a sloppy indentation function.
5106 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5107 border case in change-log-mode.
5109 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5111 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5112 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5113 Recognize leading tab in gcc-include regexp. Ignore names with
5114 leading "from" or "in" in gnu regexp (Bug#6937).
5116 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5118 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5119 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5120 (ispell-start-process): Avoid setq and simplify logic.
5121 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5122 (kill-buffer-hook): Don't use it globally with code that uses
5123 expand-file-name since that may call kill-buffer via
5124 code_conversion_restore.
5126 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5128 * emacs-lisp/package.el (package-directory-list): Only call
5129 file-name-nondirectory on a string.
5131 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5133 * emacs-lisp/package.el (package--download-one-archive):
5134 Ensure that archive-contents is valid before saving it.
5135 (package-activate-1, package-mark-obsolete, define-package)
5136 (package-compute-transaction, package-list-maybe-add): Use push.
5138 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5140 Use SMIE's blink-paren for octave-mode.
5141 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5142 Backslashes do not escape single-quotes, single-quotes do.
5143 (octave-block-else-regexp, octave-block-end-regexp)
5144 (octave-block-match-alist): Remove.
5145 (octave-smie-bnf-table): New var, with old content.
5146 (octave-smie-op-levels): Use it.
5147 (octave-smie-closer-alist): New var.
5148 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5149 (octave-blink-matching-block-open): Remove.
5150 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5151 (octave-electric-space): Let self-insert-command run expand-abbrev and
5154 * electric.el (electricity): New group.
5155 (electric-indent-chars): New var.
5156 (electric-indent-post-self-insert-function): New fun.
5157 (electric-indent-mode): New minor mode.
5158 (electric-pair-skip-self): New custom.
5159 (electric-pair-post-self-insert-function): New function.
5160 (electric-pair-mode): New minor mode.
5162 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5163 calcAlg-blink-matching-open.
5164 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5165 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5166 Use the new blink-matching-check-function.
5168 Provide blink-matching support to SMIE.
5169 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5170 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5171 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5173 * simple.el (newline): Fix last change to properly remove itself from
5176 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5178 * simple.el (newline): Eliminate optimization.
5179 Use post-self-insert-hook to set hard-newline and things before
5180 running post-self-insert-hook.
5181 (blink-matching-check-mismatch): New function.
5182 (blink-matching-check-function): New variable.
5183 (blink-matching-open): Use them.
5184 Skip back forward over prefix chars skipped by forward-sexp.
5185 Don't check if the parens are backslash escaped.
5186 (blink-paren-post-self-insert-function): Check backslash escaping here.
5188 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5190 * emacs-lisp/package.el (package-menu-mode-map):
5191 Change package-menu-revert bindings to revert-buffer.
5192 (package-menu-mode): Set revert-buffer-function.
5193 (package-menu-revert): Doc fix.
5195 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5197 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5198 `default-directory' unless using Ispell per-directory personal
5199 dictionaries and not in a mini-buffer under XEmacs.
5200 (kill-buffer-hook): Do not kill ispell process on exit when
5201 `ispell-process-directory' is "~/". (Bug#6143)
5203 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5205 * simple.el (kill-new): Call interprogram-cut-function with only
5208 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5209 Remove cut buffer from error message.
5211 * term/x-win.el (x-select-text):
5212 * term/pc-win.el (x-selection-value):
5213 * term/ns-win.el (x-selection-value):
5214 * eshell/em-term.el:
5215 * w32-fns.el (x-get-selection-value):
5216 * mouse-sel.el (mouse-sel-set-selection-function):
5217 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5219 * term/x-win.el: Update documentation for x-last-selected-text-*.
5220 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5221 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5222 (x-select-text): Remove argument PUSH, update documentation.
5223 Remove cut-buffer code.
5224 (x-selection-value-internal): Was previously x-selection-value.
5225 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5226 Update documentation, remove cut-buffer code.
5227 Call x-selection-value-internal.
5228 (x-clipboard-yank): Call x-selection-value-internal.
5229 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5231 * term/pc-win.el (x-last-selected-text):
5232 x-cut-buffer-or-selection-value renamed to x-selection-value
5233 (x-select-text): Remove argument PUSH, update documentation.
5235 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5236 x-cut-buffer-or-selection-value renamed to x-selection-value
5237 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5238 (x-select-text): Remove argument PUSH, update documentation.
5240 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5242 * w32-fns.el (x-last-selected-text):
5243 x-cut-buffer-or-selection-value renamed to x-selection-value.
5244 (x-cut-buffer-max): Remove.
5245 (x-select-text): Remove argument PUSH, update documentation.
5247 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5249 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5251 * mouse-sel.el (mouse-sel-get-selection-function):
5252 x-cut-buffer-or-selection-value renamed to x-selection-value.
5253 (x-select-text): Remove optional push.
5255 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * simple.el (blink-paren-function): Move from C to here.
5258 (blink-paren-post-self-insert-function): New function.
5259 (post-self-insert-hook): Use it.
5261 * emacs-lisp/pcase.el (pcase-split-memq):
5262 Fix overenthusiastic optimisation.
5263 (pcase-u1): Handle the case of a lambda pred.
5265 2010-08-31 Kenichi Handa <handa@m17n.org>
5267 * international/mule-cmds.el (standard-display-european-internal):
5268 Setup standard-display-table for 8-bit characters by storing 8-bit
5269 characters in the element vector.
5271 * disp-table.el (standard-display-8bit):
5272 Setup standard-display-table for 8-bit characters by storing 8-bit
5273 characters in the element vector.
5274 (standard-display-european): Likewise.
5276 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5278 * textmodes/nroff-mode.el (nroff-view): New command.
5279 (nroff-mode-map): Bind it to C-c C-c.
5281 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * emacs-lisp/smie.el (smie-down-list): New command.
5285 Remove old indentation and navigation code on octave-mode.
5286 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5287 smie-down-list rather than add a binding for octave-down-block.
5288 (octave-mark-block, octave-blink-matching-block-open):
5289 Rely on forward-sexp-function.
5290 (octave-fill-paragraph): Don't narrow, so you can use
5291 indent-according-to-mode.
5292 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5293 (octave-in-block-p, octave-re-search-forward-kw)
5294 (octave-re-search-backward-kw, octave-indent-calculate)
5295 (octave-end-as-array-index-p, octave-block-end-offset)
5296 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5297 (octave-down-block, octave-backward-up-block, octave-up-block)
5298 (octave-before-magic-comment-p, octave-indent-line): Remove.
5300 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5302 * emacs-lisp/package.el (package--read-archive-file): Just use
5303 `read', to avoid copying an additional string.
5304 (package-menu-mode): Set header-line-format here.
5305 (package-menu-refresh, package-menu-revert): Signal an error if
5306 not in the Package Menu.
5307 (package-menu-package-list): New var.
5308 (package--generate-package-list): Operate on the current buffer;
5309 don't assume that it is *Packages*, since the user may rename it.
5310 Allow persistent package listings and sort keys using
5311 package-menu-package-list and package-menu-package-sort-key.
5312 (package-menu--version-predicate): Fix version calculation.
5313 (package-menu-sort-by-column): Don't select the window.
5314 (package--list-packages): Create the *Packages* buffer.
5315 Set package-menu-package-list-key.
5316 (list-packages): Sorting by status is now the default.
5317 (package-buffer-info): Use match-string-no-properties.
5318 (define-package): Add a &rest argument for future proofing, but
5320 (package-install-from-buffer, package-install-buffer-internal):
5321 Merge into a single function, package-install-from-buffer.
5322 (package-install-file): Change caller.
5324 * finder.el: Load finder-inf using `require'.
5325 (finder-list-matches): Sorting by status is now the default.
5326 (finder-compile-keywords): Simpify printing.
5328 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5331 (octave-mode-map): Remove special bindings for forward/backward-block
5332 and octave-backward-up-block. Use smie-close-block.
5333 (octave-continuation-marker-regexp): New var.
5334 (octave-continuation-regexp): Use it.
5335 (octave-operator-table, octave-smie-op-levels)
5336 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5337 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5338 (octave-mode): Use SMIE.
5339 (octave-close-block): Delete.
5341 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5343 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5344 CLIPBOARD, not in PRIMARY. (Bug#6944)
5346 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5350 (smie-indent-column): Allow indirection through variables.
5352 * composite.el (save-buffer-state): Delete, unused.
5353 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5354 (font-lock-default-fontify-region): Use with-syntax-table.
5355 * jit-lock.el (with-buffer-unmodified): Remove.
5356 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5358 Use `declare' in defmacros.
5359 * window.el (save-selected-window):
5360 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5361 * progmodes/python.el (def-python-skeleton):
5362 * net/dbus.el (dbus-ignore-errors):
5363 * jka-cmpr-hook.el (with-auto-compression-mode):
5364 * international/mule.el (with-category-table):
5365 * emacs-lisp/timer.el (with-timeout):
5366 * emacs-lisp/lisp-mnt.el (lm-with-file):
5367 * emacs-lisp/eieio.el (with-slots):
5368 * emacs-lisp/easymenu.el (easy-menu-define):
5369 * emacs-lisp/debug.el (debugger-env-macro):
5370 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5371 (Multiple-value-call, Multiple-value-prog1):
5372 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5373 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5374 edebug rule to definition.
5375 * emacs-lisp/lisp-mode.el (save-selected-window)
5376 (with-current-buffer, combine-after-change-calls)
5377 (with-output-to-string, with-temp-file, with-temp-buffer)
5378 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5379 (dolist, dotimes, when, unless):
5380 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5382 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5384 * finder.el: Require `package'.
5385 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5386 (finder-package-info): Var deleted.
5387 (finder-keywords-hash, finder--builtins-alist): New vars.
5388 (finder-compile-keywords): Compute package--builtins and
5389 finder-keywords-hash instead of finder-keywords-hash, respecting
5390 the "Package" header.
5391 (finder-unknown-keywords, finder-list-matches):
5392 Use finder-keywords-hash and package--list-packages.
5393 (finder-mode): Don't set font-lock-defaults.
5394 (finder-exit): We don't use "*Finder-package*" and "*Finder
5395 Category*" buffers anymore.
5397 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5398 (package--builtins): Set default value to nil.
5399 (package-initialize): Load precomputed value of package--builtins
5401 (package-alist, package-compute-transaction)
5402 (package-download-transaction): Improve docstring.
5403 (package-read-all-archive-contents): Do not change
5404 package--builtins here.
5405 (list-packages): Make package-list-packages an alias for this.
5406 Sort by status by default.
5407 (package--list-packages): Add optional PACKAGES arg.
5408 (describe-package-1): Use font-lock-face property. For built-in
5409 packages, insert file commentary.
5410 (package--generate-package-list): Rename from
5411 package-list-packages-internal; all callers changed. Add optional
5412 PACKAGES arg. Add alphabetical sort fallbacks.
5413 (package-menu--version-predicate, package-menu--status-predicate)
5414 (package-menu--description-predicate)
5415 (package-menu--name-predicate): New functions.
5417 * info.el (Info-finder-find-node): Search package-alist instead of
5418 finder-package-info.
5420 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5422 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5424 (version-to-list): Handle versions like "10.3d".
5426 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5428 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5429 (macroexp-accumulate): Use `declare'.
5431 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5433 * whitespace.el (whitespace-style): Adjust type declaration.
5435 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5437 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5438 empty argument to gvfs-copy.
5440 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5442 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5443 handle new TRASH arg of `delete-file'.
5445 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5447 * net/tramp.el (tramp-handle-insert-directory): Don't use
5448 `forward-word', its default syntax could be changed.
5450 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5451 Michael Albinus <michael.albinus@gmx.de>
5453 Implement compression for inline methods.
5455 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5456 (tramp-copy-size-limit): Allow also nil.
5457 (tramp-inline-compress-commands): New defconst.
5458 (tramp-find-inline-compress, tramp-get-inline-compress)
5459 (tramp-get-inline-coding): New defuns.
5460 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5461 replaced by `tramp-get-inline-coding'.
5462 (tramp-handle-file-local-copy, tramp-handle-write-region)
5463 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5465 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5467 Detect ssh 'ControlMaster' argument automatically in some cases.
5469 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5470 (tramp-default-method): Use it.
5472 2010-08-26 Karel Klíč <kklic@redhat.com>
5474 * net/tramp.el (tramp-file-name-for-operation):
5475 Add file-selinux-context.
5477 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5479 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5481 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5483 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5486 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5488 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5489 (js-paren-indent-offset, js-square-indent-offset)
5490 (js-curly-indent-offset): New options.
5491 (js--proper-indentation): Use them.
5493 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5495 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5496 instead of inspecting font-lock properties (Bug#6916).
5498 2010-08-26 David Reitter <david.reitter@gmail.com>
5500 * server.el (server-visit-files): Run pre-command-hook and
5501 post-command-hook for each buffer while it is current (Bug#6910).
5502 (server-execute): Do not run hooks here.
5504 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5506 Sync with Tramp 2.1.19.
5508 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5509 (tramp-reporter-dump-variable, tramp-load-report-modules)
5510 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5511 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5513 * net/tramp-compat.el (top): Do not autoload
5514 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5515 only when `start-file-process' is not bound.
5516 (byte-compile-not-obsolete-vars): Define if not bound.
5517 (tramp-compat-funcall): New defmacro.
5518 (tramp-compat-line-beginning-position)
5519 (tramp-compat-line-end-position)
5520 (tramp-compat-temporary-file-directory)
5521 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5522 (tramp-compat-copy-file, tramp-compat-copy-directory)
5523 (tramp-compat-delete-file, tramp-compat-delete-directory)
5524 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5526 (tramp-advice-file-expand-wildcards): Do not use
5527 `tramp-handle-file-remote-p'.
5528 (tramp-compat-make-temp-file): Simplify fallback implementation.
5529 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5530 (tramp-compat-copy-tree): Remove function.
5531 (tramp-compat-delete-file): New defun.
5532 (tramp-compat-delete-directory): Provide implementation for older
5534 (tramp-compat-file-attributes): Handle only
5535 `wrong-number-of-arguments' error.
5537 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5538 Add PRESERVE_SELINUX_CONTEXT.
5539 (tramp-fish-handle-delete-file): Add TRASH arg.
5540 (tramp-fish-handle-directory-files-and-attributes):
5541 Do not use `tramp-fish-handle-file-attributes.
5542 (tramp-fish-handle-file-local-copy)
5543 (tramp-fish-handle-insert-file-contents)
5544 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5546 * net/tramp-gvfs.el (top): Require url-util.
5547 (tramp-gvfs-mount-point): Remove.
5548 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5549 and `set-file-selinux-context'.
5550 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5551 (tramp-gvfs-handle-file-selinux-context)
5552 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5553 (with-tramp-dbus-call-method): Format trace message.
5554 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5555 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5556 Implement backup call, when operation on local files fails.
5557 Use progress reporter. Flush properties of changed files.
5558 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5559 Use `tramp-compat-delete-file'.
5560 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5561 (tramp-gvfs-handle-make-directory): Make more traces.
5562 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5563 (tramp-gvfs-url-file-name): Hexify file name in url.
5564 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5565 into account for the resulting file name.
5566 (tramp-gvfs-handler-askquestion): Preserve current message, in
5567 order to let progress reporter continue afterwards. (Bug#6257)
5568 Return dummy mountpoint, when the answer is "no".
5569 See `tramp-gvfs-maybe-open-connection'.
5570 (tramp-gvfs-handler-mounted-unmounted)
5571 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5572 attribute "default_location". Set "prefix" property.
5573 Handle default-location.
5574 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5575 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5576 exists. Raise an error, if not (due to a corresponding answer
5577 "no" in interactive questions, for example).
5578 Use `tramp-compat-funcall'.
5580 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5581 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5582 (tramp-imap-do-copy-or-rename-file)
5583 (tramp-imap-handle-insert-file-contents)
5584 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5585 (tramp-imap-handle-delete-file): Add TRASH arg.
5587 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5588 Add PRESERVE-SELINUX-CONTEXT.
5589 (tramp-smb-handle-copy-file)
5590 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5591 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5592 Use `with-progress-reporter'.
5593 (tramp-smb-handle-delete-file): Add TRASH arg.
5595 * net/tramp.el (tramp-methods): Move hostname to the end in all
5596 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5598 (tramp-verbose): Describe verbose level 9.
5599 (tramp-completion-function-alist)
5600 (tramp-file-name-regexp, tramp-chunksize)
5601 (tramp-local-coding-commands, tramp-remote-coding-commands)
5602 (with-connection-property, tramp-completion-mode-p)
5603 (tramp-action-process-alive, tramp-action-out-of-band)
5604 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5605 (tramp-exists-file-name-handler): Fix docstring.
5606 (tramp-remote-process-environment): Use `format' instead of
5607 `concat'. Protect version string by apostroph.
5608 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5610 (tramp-file-name-regexp-unified)
5611 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5612 not regard the volume letter as remote filename. (Bug#5447)
5613 (tramp-perl-file-attributes)
5614 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5615 (tramp-vc-registered-read-file-names): Read input as
5616 here-document, otherwise the command could exceed maximum length
5618 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5619 `set-file-selinux-context'.
5620 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5621 backtrace functions.
5622 (tramp-error-with-buffer): Don't show the connection buffer when
5623 we are in completion mode.
5624 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5625 (tramp-handle-file-selinux-context)
5626 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5627 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5629 (with-progress-reporter): New defmacro.
5630 (tramp-debug-outline-regexp): New defconst.
5631 (top, tramp-rfn-eshadow-setup-minibuffer)
5632 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5633 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5634 (tramp-completion-mode-p, tramp-check-for-regexp)
5635 (tramp-open-connection-setup-interactive-shell)
5636 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5637 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5638 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5639 Use `tramp-compat-funcall'.
5640 (tramp-handle-make-symbolic-link): Flush file properties.
5641 (tramp-handle-load, tramp-handle-file-local-copy)
5642 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5643 (tramp-handle-vc-registered, tramp-maybe-send-script)
5644 (tramp-find-shell): Use `with-progress-reporter'.
5645 (tramp-do-file-attributes-with-stat): Add space in format string,
5646 in order to work around a bug in pdksh. Reported by Gilles Pion
5648 (tramp-handle-verify-visited-file-modtime): Do not send a command
5649 when the connection is not established.
5650 (tramp-handle-set-file-times): Simplify the check for utc.
5651 (tramp-handle-directory-files-and-attributes)
5652 (tramp-get-remote-path): Use `copy-tree'.
5653 (tramp-completion-handle-file-name-all-completions): Ensure, that
5654 non remote files are still checked. Oops.
5655 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5656 Handle PRESERVE-SELINUX-CONTEXT.
5657 (tramp-do-copy-or-rename-file): Add progress reporter.
5658 (tramp-do-copy-or-rename-file-directly): Do not use
5659 `tramp-handle-file-remote-p'.
5660 (tramp-do-copy-or-rename-file-out-of-band):
5661 Use `tramp-compat-delete-directory'.
5662 (tramp-do-copy-or-rename-file-out-of-band)
5663 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5664 Use `format-spec-make'.
5665 (tramp-handle-delete-file): Add TRASH arg.
5666 (tramp-handle-dired-uncache): Flush directory cache, not only file
5668 (tramp-handle-expand-file-name)
5669 (tramp-completion-handle-file-name-all-completions)
5670 (tramp-completion-handle-file-name-completion):
5671 Use `tramp-connectable-p'.
5672 (tramp-handle-start-file-process): Set connection property "vec".
5673 Use it, in order to invalidate file caches. Check only for
5674 `remote-tty' process property.
5675 Implement tty setting. (Bug#4604, Bug#6360)
5676 (tramp-file-name-for-operation): Add `call-process-region' and
5677 `set-file-selinux-context'.
5678 (tramp-find-foreign-file-name-handler)
5679 (tramp-advice-make-auto-save-file-name)
5680 (tramp-set-auto-save-file-modes): Remove superfluous check for
5681 `stringp'. This is done inside `tramp-tramp-file-p'.
5682 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5683 operations when we are in completion mode. This gives the user
5684 the chance to correct the file name in the minibuffer.
5685 (tramp-completion-mode-p): Use `non-essential'.
5686 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5687 compatibility: Use `completion-ignore-case' if
5688 `read-file-name-completion-ignore-case' does not exist.
5689 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5690 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5692 (tramp-action-password): Hide password prompt before next run.
5693 (tramp-process-actions): Widen connection buffer for the trace.
5694 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5695 process property. Trace stty settings if `tramp-verbose' >= 9.
5696 Apply workaround for IRIX64 bug. Move argument of last
5697 `tramp-send-command' where it belongs to.
5698 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5699 front of `login-args'.
5700 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5701 on "/dev/null" instead of "/".
5702 (tramp-get-ls-command-with-dired): Make test for "--dired"
5704 (tramp-set-auto-save-file-modes): Adapt version check.
5705 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5706 (tramp-handle-process-file): Call the program in a subshell, in
5707 order to preserve working directory.
5708 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5709 `tramp-remote-sh' from `tramp-methods'.
5710 (tramp-get-ls-command): Make test for "--color=never" stronger.
5711 (tramp-check-for-regexp): Use (forward-line 1).
5713 * net/trampver.el: Update release number.
5715 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5717 * help.el (help-map): Bind `C-h P' to describe-package.
5719 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5721 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5722 when downloading archives.
5723 (describe-package-1): Add package commentary.
5724 (package-install-button-action): New function.
5725 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5726 (package-menu-view-commentary): Function removed.
5727 (package-list-packages-internal): Hide the `package' package too.
5729 2010-08-25 Kenichi Handa <handa@m17n.org>
5731 * language/misc-lang.el ("Arabic"): New language environment.
5732 Setup composition-function-table for Arabic characters.
5734 * international/fontset.el (setup-default-fontset): Fix typo for
5735 arabic OTF spec (fini->fina).
5737 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5739 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5742 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5744 * whitespace.el: Allow cleaning up blanks without blank
5745 visualization (Bug#6651). Adjust help window for
5746 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5747 instead of whitespace-line-column (from EmacsWiki). New version
5749 (whitespace-style): Add new value 'face. Adjust docstring.
5750 (whitespace-space, whitespace-hspace, whitespace-tab):
5751 Adjust foreground property face.
5752 (whitespace-line-column): Adjust docstring and type declaration.
5753 (whitespace-style-value-list, whitespace-toggle-option-alist)
5754 (whitespace-help-text): Adjust const initialization.
5755 (whitespace-toggle-options, global-whitespace-toggle-options):
5757 (whitespace-display-window, whitespace-interactive-char)
5758 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5759 (whitespace-help-scroll): New fun.
5761 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5763 * emacs-lisp/package.el (list-packages): Alias for
5764 package-list-packages.
5766 2010-08-24 Kevin Ryde <user42@zip.com.au>
5768 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5771 * progmodes/ruby-mode.el (ruby): Add defgroup.
5773 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5775 * progmodes/python.el: Add Ipython support (Bug#5390).
5776 (python-shell-prompt-alist)
5777 (python-shell-continuation-prompt-alist): New options.
5778 (python--set-prompt-regexp): New function.
5779 (inferior-python-mode, run-python, python-shell):
5780 Require ansi-color. Use python--set-prompt-regexp to set the comint
5781 prompt based on the Python interpreter.
5782 (python--prompt-regexp): New var.
5783 (python-check-comint-prompt)
5784 (python-comint-output-filter-function): Use it.
5785 (run-python): Use a pipe (Bug#5694).
5787 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5789 * progmodes/python.el (python-send-region): Send a different
5790 Python command if Ipython is in use.
5791 (python-check-version): Use a Python command to find the version.
5793 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5795 * mouse.el (mouse-yank-primary): Avoid setting primary when
5796 deactivating the mark (Bug#6872).
5798 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5800 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5801 with "else" (Bug#3991).
5803 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5805 * net/dbus.el: Accept UNIX domain sockets as bus address.
5806 (top): Don't initialize `dbus-registered-objects-table' anymore,
5807 this is done in dbusbind,c.
5808 (dbus-check-event): Adapt test for bus.
5809 (dbus-return-values-table, dbus-unregister-service)
5810 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5813 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5815 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5817 2010-08-22 Juri Linkov <juri@jurta.org>
5819 * simple.el (read-extended-command): New function with the logic
5820 for `completing-read' moved to Elisp from `execute-extended-command'.
5821 Use `function-called-at-point' in `minibuffer-default-add-function'
5822 to get a command name for M-n (bug#5364, bug#5214).
5824 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5826 * startup.el (command-line-1): Issue warning for ignored arguments
5827 --unibyte, etc (Bug#6886).
5829 2010-08-22 Leo <sdl.web@gmail.com>
5831 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5832 (ignore, bright, dim, keyword): Split list of nicknames before
5833 passing to rcirc-add-or-remove (Bug#6894).
5835 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5837 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5839 2010-08-22 Leo <sdl.web@gmail.com>
5841 Fix buffer-list rename&refresh after killing a buffer in ido.
5842 * ido.el: Revert Óscar's.
5843 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5844 Remember the buffers at head, rather than their name.
5845 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5847 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5848 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5851 extra backslash added to each line (bug#6890).
5853 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5857 2010-08-22 Glenn Morris <rgm@gnu.org>
5859 * menu-bar.el (menu-bar-games-menu): Add landmark.
5861 2010-08-22 Glenn Morris <rgm@gnu.org>
5863 * align.el (align-regexp): Make group and spacing arguments
5864 use the interactive defaults when non-interactive. (Bug#6698)
5866 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5867 expansion, so as not to need sendmail.
5868 (mail-text-start): Remove declaration.
5869 (rmail-retry-failure): Require sendmail.
5871 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5873 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5875 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5877 * progmodes/flymake.el (flymake-start-syntax-check-process):
5878 Use `start-file-process' in order to let it run also on remote hosts.
5880 2010-08-22 Kenichi Handa <handa@m17n.org>
5882 * files.el: Add `word-wrap' as safe local variable.
5884 2010-08-22 Glenn Morris <rgm@gnu.org>
5886 * woman.el (woman-translate): Case matters. (Bug#6849)
5888 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5890 * simple.el (kill-region): Doc fix (Bug#6787).
5892 2010-08-22 Glenn Morris <rgm@gnu.org>
5894 * calendar/diary-lib.el (diary-header-line-format):
5895 Fit it to the window, not the frame.
5897 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5899 * subr.el (ignore-errors): Add debug declaration.
5901 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5903 * whitespace.el (whitespace-color-off): Remove post-command-hook
5906 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5910 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5912 * cus-edit.el (custom-group-value-create): Add extra newline
5913 before end line (Bug#6876).
5915 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5917 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5918 when extending it. Before killing on the second click, check if
5919 the buffer is the correct one. Doc fix.
5920 (mouse-secondary-save-then-kill): Allow usage without first
5921 calling mouse-start-secondary, by defaulting to point. Don't save
5922 an empty secondary selection. Doc fix.
5924 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5926 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5927 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5929 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5930 Adjust initialization.
5931 (whitespace-bob-marker, whitespace-eob-marker)
5932 (whitespace-buffer-changed): New vars.
5933 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5934 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5935 (whitespace-post-command-hook, whitespace-display-char-on):
5937 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5938 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5940 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * files.el (locate-file-completion-table): Only list the .el and .elc
5943 extensions if there's no other choice (bug#5955).
5945 * facemenu.el (facemenu-self-insert-data): New var.
5946 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5948 (facemenu-add-face): Use them.
5950 * simple.el (blink-matching-open): Obey forward-sexp-function.
5952 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5954 * simple.el (prog-mode-map): New var.
5955 (prog-indent-sexp): New command.
5957 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5959 * progmodes/prolog.el (smie): Require.
5961 * emacs-lisp/smie.el (smie-default-backward-token)
5962 (smie-default-forward-token): Strip properties.
5963 (smie-next-sexp): Be more careful with associative operators.
5964 (smie-forward-sexp-command): Generalize.
5965 (smie-backward-sexp-command): Simplify.
5966 (smie-closer-alist): New var.
5967 (smie-close-block): New command.
5968 (smie-indent-debug-log): New var.
5969 (smie-indent-offset-rule): Add a few more cases.
5970 (smie-indent-column): New function.
5971 (smie-indent-after-keyword): Use it.
5972 (smie-indent-keyword): Use it.
5973 Fix up the opener code's point position.
5974 (smie-indent-comment): Only applies at BOL.
5975 (smie-indent-debug): New command.
5977 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5978 declarations that are useful before running the macro.
5980 2010-08-18 Joakim Verona <joakim@verona.se>
5982 * image.el (imagemagick-types-inhibit): New variable.
5983 (imagemagick-register-types): New function.
5984 * image-mode.el (image-transform-properties): New function.
5985 (image-transform-set-scale, image-transform-fit-to-height)
5986 (image-transform-set-rotation, image-transform-set-resize)
5987 (image-transform-fit-to-width, image-transform-fit-to-height):
5989 (image-toggle-display-image): Support image transforms.
5991 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5993 * image.el (create-animated-image): Don't add heuristic mask to image
5996 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5998 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5999 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6001 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6005 Font-lock '...' strings, plus various simplifications and fixes.
6006 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6007 (octave-font-lock-close-quotes): New function.
6008 (octave-font-lock-syntactic-keywords): New var.
6009 (octave-mode): Use it. Set beginning-of-defun-function.
6010 (octave-mode-map): Don't override the <foo>-defun commands.
6011 (octave-mode-menu): Pass it directly to easy-menu-define;
6012 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6013 (octave-block-match-alist): Fix up last change so that
6014 octave-close-block uses the more specific keyword.
6015 (info-lookup-mode): Silence byte-compiler.
6016 (octave-beginning-of-defun): Not interactive any more.
6018 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6019 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6020 (octave-completion-at-point-function): Make sure point is within
6022 (octave-reindent-then-newline-and-indent):
6023 Use reindent-then-newline-and-indent.
6024 (octave-add-octave-menu): Remove.
6026 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6028 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6029 (report-emacs-bug-can-use-xdg-email): New functions.
6030 (report-emacs-bug): Set can-xdg-email to result of
6031 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6032 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6035 * net/browse-url.el (browse-url-default-browser): Add cond
6036 for browse-url-xdg-open.
6037 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6039 2010-08-17 Glenn Morris <rgm@gnu.org>
6041 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6042 (c-fontify-recorded-types-and-refs): Define for compiler.
6043 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6046 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6049 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6051 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6053 (tramp-handle-process-file): Call the program in a subshell, in
6054 order to preserve working directory.
6055 (tramp-action-password): Hide password prompt before next run.
6056 (tramp-process-actions): Widen connection buffer for the trace.
6058 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6060 * net/rcirc.el (rcirc-log-process-buffers): New option.
6061 (rcirc-print): Use it.
6062 (rcirc-generate-log-filename): New function.
6063 (rcirc-log-filename-function): Change default to
6064 rcirc-generate-log-filename (Bug#6828).
6066 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6068 * simple.el (deactivate-mark): If select-active-regions is `only',
6069 only set selection for temporarily active regions.
6071 * cus-start.el: Change defcustom for select-active-regions.
6073 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6075 * mouse.el (mouse--drag-set-mark-and-point): New function.
6076 (mouse-drag-track): Use LOCATION arg to push-mark.
6077 Use mouse--drag-set-mark-and-point to take click-count into
6078 consideration when updating point and mark (Bug#6840).
6080 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6082 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6083 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6085 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6087 * font-lock.el (lisp-font-lock-keywords-2):
6088 Add combine-after-change-calls, condition-case-no-debug,
6089 with-demoted-errors, and with-silent-modifications (Bug#6025).
6091 2010-08-14 Kevin Ryde <user42@zip.com.au>
6093 * emacs-lisp/copyright.el (copyright-update-year)
6094 (copyright-update): Temporary switch-to-buffer to ensure the
6095 buffer change being queried is visible (Bug#5394).
6097 2010-08-14 Tom Tromey <tromey@redhat.com>
6099 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6102 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6104 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6107 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6109 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6110 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6111 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6112 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6113 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6114 Call menu-bar-set-tool-bar-position.
6116 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6118 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6119 comment style (bug#6834).
6120 * progmodes/scheme.el (scheme-mode-syntax-table):
6121 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6122 "b" flag in "' 14b" syntax.
6124 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6125 for (un)commenting the region and performing completion.
6126 (octave-mode-menu): Use standard commands for help and completion.
6127 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6128 (octave-mode): Use define-derived-mode.
6129 Set completion-at-point-functions and don't set columns.
6130 Don't disable adaptive-fill-regexp.
6131 (octave-describe-major-mode, octave-comment-region)
6132 (octave-uncomment-region, octave-comment-indent)
6133 (octave-indent-for-comment): Remove.
6134 (octave-indent-calculate): Rename from calculate-octave-indent.
6135 (octave-indent-line, octave-fill-paragraph): Update caller.
6136 (octave-initialize-completions): No need to make an alist.
6137 (octave-completion-at-point-function): New function.
6138 (octave-complete-symbol): Use it.
6139 (octave-insert-defun): Use define-skeleton.
6141 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6142 (octave-mode-map): Use comment-dwim (bug#6829).
6144 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6146 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6147 indentation of inserted comment.
6149 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6151 * faces.el (region): Add type gtk that uses gtk colors.
6153 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6154 Handle theme-name change.
6156 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6158 * progmodes/sql.el: Version 2.5
6159 (sql-product-alist): Add :prompt-cont-regexp property for several
6161 (sql-prompt-cont-regexp): New variable.
6162 (sql-output-newline-count, sql-output-by-send):
6163 New variables. Record number of newlines in input text.
6164 (sql-send-string): Handle multiple filters and count newlines.
6165 (sql-send-magic-terminator): Count terminator newline.
6166 (sql-interactive-remove-continuation-prompt): Filters output to
6167 remove continuation prompts; one for each newline.
6168 (sql-interactive-mode): Set up new variables, prompt regexp and
6170 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6171 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6173 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * emacs-lisp/pcase.el: New file.
6177 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6179 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6180 as here-document, otherwise the command could exceed maximum
6181 length of command line.
6182 (tramp-handle-vc-registered): Call script accordingly.
6183 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6185 2010-08-10 Kenichi Handa <handa@m17n.org>
6187 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6190 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6192 * emacs-lisp/package.el (package-version-split)
6193 (package--version-first-nonzero, package-version-compare):
6195 (package-directory-list, package-load-all-descriptors)
6196 (package--built-in, package-activate, define-package)
6197 (package-installed-p, package-compute-transaction)
6198 (package-read-all-archive-contents)
6199 (package--add-to-archive-contents, package-buffer-info)
6200 (package-tar-file-info, package-list-packages-internal):
6201 Use version-to-list and version-list-*.
6203 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6204 Use version-to-list.
6205 (package-upload-buffer-internal): Use version-list-<=.
6207 2010-08-09 Kenichi Handa <handa@m17n.org>
6209 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6212 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6214 * tutorial.el (tutorial--default-keys): C-d is now bound to
6215 delete-forward-char (Bug#6826).
6217 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6218 for `double' value of mouse-1-click-follows-link (Bug#6807).
6220 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6222 * replace.el (replace-highlight): Bind isearch-forward and
6223 isearch-error, ensuring that highlighting is updated if the user
6224 switches the search direction (Bug#6808).
6226 * isearch.el (isearch-lazy-highlight-forward): New var.
6227 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6228 (isearch-lazy-highlight-update): Use it.
6230 2010-08-08 Kenichi Handa <handa@m17n.org>
6232 * international/mule.el (define-charset): Store NAME as :base property.
6233 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6234 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6235 current priority. Force using the designation of the specific
6236 charset by adding `charset' text property. Improve the whole algorithm.
6238 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6240 * emulation/pc-select.el (pc-selection-mode-hook)
6241 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6242 (pc-selection-mode): Fix typos in docstrings.
6244 2010-08-08 Kenichi Handa <handa@m17n.org>
6246 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6247 ctext-non-standard-encodings-alist here.
6249 * international/mule.el (ctext-non-standard-encodings-alist):
6250 Add "koi8-r" and "microsoft-cp1251".
6251 (ctext-standard-encodings): New variable.
6252 (ctext-non-standard-encodings-table): List only elements for
6253 non-standard encodings.
6254 (ctext-pre-write-conversion): Adjust for the above change.
6255 Check ctext-standard-encodings.
6257 * international/mule-conf.el (compound-text): Doc fix.
6258 (ctext-no-compositions): Doc fix.
6259 (compound-text-with-extensions): Doc fix.
6261 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6265 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6267 * progmodes/which-func.el (which-func-format): Split help-echo text
6268 into lines, like other mode-line tooltips.
6270 * server.el (server-start): When using TCP sockets, force IPv4
6271 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6273 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6275 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6277 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6279 * term.el (term-delimiter-argument-list): Reflow docstring.
6280 (term-read-input-ring, term-write-input-ring, term-send-input)
6281 (term-bol, term-erase-in-display, serial-supported-or-barf):
6282 Fix typos in docstrings.
6284 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6288 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6290 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6292 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6294 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6295 Fix typo in docstring (bug#6747).
6297 2010-08-08 Leo <sdl.web@gmail.com>
6299 * eshell/esh-io.el (eshell-get-target): Better detection of
6300 read-only file (Bug#6762).
6302 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6304 * align.el (align-default-spacing): Doc fix.
6305 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6307 2010-08-08 Stephen Peters <speters@itasoftware.com>
6309 * calendar/icalendar.el
6310 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6311 (icalendar--get-weekday-numbers): New.
6312 (icalendar--convert-recurring-to-diary): Handle multiple byday
6313 values in weekly rules. (Bug#6766)
6315 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6317 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6318 (icalendar--create-uid, icalendar-export-region)
6319 (icalendar--parse-summary-and-rest): Code formatting.
6321 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6323 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6324 to italicize headers.
6325 (calc-highlight-selections-with-faces): New variable.
6326 (calc-selected-face, calc-nonselected-face): New faces.
6328 * calc/calccomp.el (math-comp-highlight-string): Use
6329 `calc-highlight-selections-with-faces' to determine how to highlight
6332 * calc/calc-sel.el (calc-show-selections): Change message to when
6333 using faces to highlight selections.
6335 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6337 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6338 Add SQLite 3 keywords, functions and datatypes.
6339 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6342 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6344 * simple.el (select-active-regions): Move to keyboard.c.
6345 (deactivate-mark): Used saved-region-selection.
6346 (select-active-region): Function removed.
6347 (activate-mark, set-mark, push-mark-command)
6348 (handle-shift-selection): Don't call it.
6349 (keyboard-quit): Avoid adding the region to the window selection.
6351 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6352 select-active-regions implementation.
6353 (mouse-yank-at-click): Doc fix.
6355 * cus-start.el: Add custom declaration for select-active-regions.
6357 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6359 * simple.el (delete-forward-char): Doc fix.
6361 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6362 after reading the tutorial.
6364 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6366 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6367 Fix for the case that a C style comment has its delimiters alone on
6368 their respective lines.
6370 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6372 * net/tramp.el (tramp-handle-start-file-process): Set connection
6374 (tramp-process-sentinel): Use it for flushing the cache.
6375 We cannot do it via the process buffer, the buffer could be deleted
6376 already when running the sentinel.
6378 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6380 * comint.el (comint-mode): Make directory tracking functions
6381 functional on remote files. (Bug#6764)
6383 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6385 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6387 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6389 * emacs-lisp/find-gc.el (find-gc-source-files):
6390 Rename unexec.c => unexcoff.c.
6392 * emacs-lisp/authors.el (authors-fixed-entries):
6393 Rename unexec.c => unexcoff.c.
6395 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6397 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6398 cache, not only file cache.
6399 (tramp-process-sentinel): New defun.
6400 (tramp-handle-start-file-process): Use it, in order to invalidate
6403 2010-08-03 Leo <sdl.web@gmail.com>
6405 * server.el (server-start): Simplify loop.
6407 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * frame.el (screen-height, screen-width, set-screen-width)
6410 (set-screen-height): Remove ancient compatibility aliases.
6412 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6413 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6415 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6416 that change current buffer.
6418 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6420 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6421 beginning of the string. Use `string-match-p'. (Bug#6765)
6423 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6425 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6427 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6429 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6430 (package--builtins): Tweak descriptions.
6431 (package-print-package): Upcase descriptions if necessary.
6432 Show all built-in packages in font-lock-builtin-face.
6433 (package-list-packages-internal): Omit "emacs" package.
6434 Show status of built-in packages as "built-in".
6436 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6438 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6439 before killing to preserve the primary selection (Bug#6701).
6441 * term/x-win.el (x-select-text): Doc fix.
6443 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6445 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6446 (objc-font-lock-extra-types):
6447 * progmodes/cc-mode.el (c-basic-common-init):
6448 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6449 (c++-make-template-syntax-table)
6450 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6451 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6452 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6453 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6454 * progmodes/cc-fonts.el (c-make-inverse-face)
6455 (c-basic-matchers-after):
6456 * progmodes/cc-engine.el (c-forward-keyword-clause)
6457 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6458 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6459 (c-guess-continued-construct, c-guess-basic-syntax):
6460 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6461 The above functions were modified or created.
6463 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6465 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6467 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6469 * files.el (bidi-paragraph-direction): Define safe local values.
6471 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6472 language-info-alist. Remove outdated FIXME in a comment.
6474 2010-07-31 Alan Mackenzie <acm@muc.de>
6476 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6477 Auto-fill broken in C/C++ modes.
6479 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6481 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6482 (menu-bar-showhide-tool-bar-menu-customize-disable)
6483 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6484 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6485 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6486 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6487 make a menu for Options => toolbar that can move it.
6489 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6491 * emacs-lisp/package-x.el (package--make-rss-entry):
6492 (package-maint-add-news-item, package--update-news)
6493 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6495 * emacs-lisp/package.el (package-archive-url): Rename from
6497 (package-install): Doc fix.
6498 (package-download-single, package-download-tar, package-install)
6499 (package-menu-view-commentary): Callers changed.
6501 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp.el (tramp-handle-start-file-process): Check only for
6504 `remote-tty' process property.
6505 (tramp-open-shell): Don't check for tty.
6506 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6509 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6512 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6514 * emacs-lisp/package.el (package-load-list, package-archives)
6515 (package-archive-contents, package-user-dir)
6516 (package-directory-list, package--builtins, package-alist)
6517 (package-activated-list, package-obsolete-alist): Mark as risky.
6519 2010-07-28 Phil Hagelberg <phil@evri.com>
6521 Add support for non-default package repositories.
6522 * emacs-lisp/package.el (package-archive-base): Var deleted.
6523 (package-archives): New variable.
6524 (package-archive-contents): Doc fix.
6525 (package-load-descriptor): Do nothing if descriptor file is missing.
6526 (package--write-file-no-coding): New function.
6527 (package-unpack-single): Use it.
6528 (package-archive-id): New function.
6529 (package-download-single, package-download-tar)
6530 (package-menu-view-commentary): Use it.
6531 (package-installed-p): Make second argument optional.
6532 (package-read-all-archive-contents): New function.
6533 (package-initialize): Use it.
6534 (package-read-archive-contents): Add ARCHIVE argument.
6535 (package--add-to-archive-contents): New function.
6536 (package-install): Don't call package-read-archive-contents.
6537 (package--download-one-archive): Store archive file in a
6538 subdirectory of package-user-dir.
6539 (package-menu-execute): Remove spurious line movement.
6541 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6543 * cus-start.el (tool-bar-style): Add text-image-horiz.
6545 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6547 * progmodes/gud.el (gud-common-init): Check for remoteness of
6548 `file', and not of `default-directory'.
6550 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6552 * net/tramp.el (tramp-methods): Move hostname to the end in all
6553 ssh `tramp-login-args'.
6554 (tramp-verbose): Describe verbose level 9.
6555 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6556 (tramp-open-connection-setup-interactive-shell): Trace stty
6557 settings if `tramp-verbose' >= 9.
6558 (tramp-handle-start-file-process): Implement tty setting.
6559 (Bug#4604, Bug#6360)
6561 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6562 `tramp-verbose' to 9.
6564 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6566 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6567 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6568 Remove references to package `lisp-re' (bug#4369).
6570 2010-07-27 Tom Tromey <tromey@redhat.com>
6572 * progmodes/js.el (js-mode):
6573 * progmodes/make-mode.el (makefile-mode):
6574 * progmodes/simula.el (simula-mode):
6575 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6577 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6579 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6581 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6582 (display-time-world-buffer-name, display-time-world-mode-map):
6583 Fix typos in docstrings.
6585 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6587 * image-mode.el (image-display-size): New function.
6588 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6589 (image-mode-fit-frame): Use it (Bug#6639).
6591 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6593 * dired.el (dired-buffers-for-dir): Handle list values of
6594 dired-directory (Bug#6636).
6596 2010-07-26 Sam Steingold <sds@gnu.org>
6598 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6599 Do not call `x-get-selection' the second time, reuse the value.
6601 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6603 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6604 which consist of control chars only. Suggested by Richard Stallman.
6606 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6608 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6609 exists before passing an error to find-file-not-found-functions
6612 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6614 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6615 Remove leading nil element, adjust values.
6616 (tetris-shapes, tetris-shape-scores):
6617 Change representation of shapes and remove some redundancy.
6618 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6619 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6620 Adjust for working with new representation of shapes.
6621 (tetris-shape-rotations): New function.
6622 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6623 (tetris-rotate-prev, tetris-rotate-next):
6624 Adjust for working with the new version of tetris-test-shape.
6626 2010-07-23 Markus Triska <markus.triska@gmx.at>
6628 * progmodes/ps-mode.el: Use comint (bug#5954).
6629 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6630 (ps-mode-other-newline): Simplify.
6631 (ps-run-mode): Derive from comint-mode instead of
6632 fundamental-mode, yielding input history etc.
6633 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6634 (ps-run-send-string): Adapt for comint-mode.
6635 (ps-run-newline): Remove now unneeded function.
6637 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6639 * net/tramp.el (tramp-methods): Move hostname to the end in all
6640 plink `tramp-login-args'.
6642 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6644 * net/tramp.el (tramp-open-shell): New defun.
6645 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6648 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6650 * net/tramp.el (tramp-file-name-regexp-unified)
6651 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6652 not regard the volume letter as remote filename. (Bug#5447)
6654 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6656 * custom.el (custom-declare-variable): Give a clearer error message
6657 when the docstring is missing (bug#6476).
6659 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6661 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6662 (sql-login-params): New widget definition.
6663 (sql-oracle-login-params, sql-mysql-login-params)
6664 (sql-solid-login-params, sql-sybase-login-params)
6665 (sql-informix-login-params, sql-ingres-login-params)
6666 (sql-ms-login-params, sql-postgres-login-params)
6667 (sql-interbase-login-params, sql-db2-login-params)
6668 (sql-linter-login-params): Use it.
6669 (sql-sqlite-login-params): Use it; Define "database" parameter as
6671 (sql-sqlite-program): Change to "sqlite3".
6672 (sql-comint-sqlite): Make sure database name is complete.
6673 (sql-for-each-login): New function.
6674 (sql-connect, sql-save-connection): Use it.
6675 (sql-get-login-ext): New function.
6676 (sql-get-login): Use it.
6677 (sql-make-alternate-buffer-name): Handle :file parameters.
6679 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6681 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6682 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6684 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6686 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6688 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6690 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6692 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6694 * net/tramp.el (tramp-get-ls-command)
6695 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6698 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6700 * progmodes/sql.el: Version 2.3.
6701 (sql-connection-alist): Change keys from symbols to strings;
6702 enhanced the widget definition.
6703 (sql-mode-menu): Add submenu to select connections.
6704 (sql-interactive-mode-menu): Add "Save Connection" item.
6705 (sql-add-product): Fix menu item.
6706 (sql-get-product-feature): Improved error handling.
6707 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6708 (sql-make-alternate-buffer-name): Simplified.
6709 (sql-product-interactive): Handle missing product.
6710 (sql-connect): Support string keys, minor improvements.
6711 (sql-save-connection): New function.
6712 (sql-connection-menu-filter): New function.
6714 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6716 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6717 (tramp-open-connection-setup-interactive-shell):
6718 Apply workaround for IRIX64 bug. Move argument of last
6719 `tramp-send-command' where it belongs to.
6721 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6723 * net/tramp.el (tramp-perl-file-attributes)
6724 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6725 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6726 front of `login-args'.
6728 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6730 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6731 Set `show-trailing-whitespace' to nil.
6732 (display-time-world-display): Simplify.
6734 2010-07-18 Alan Mackenzie <acm@muc.de>
6736 Enhance `c-file-style' in file/directory local variables.
6737 * progmodes/cc-mode.el (c-count-cfss): New function.
6738 (c-before-hack-hook): Call `c-set-style' differently according to
6739 whether c-file-style was set in file or directory local
6742 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6744 * progmodes/sql.el: Version 2.2.
6745 (sql-product, sql-user, sql-database, sql-server, sql-port):
6746 Use defcustom :safe keyword rather than putting safe-local-variable
6748 (sql-password): Use defcustom :risky keyword rather than putting
6749 risky-local-variable property.
6750 (sql-oracle-login-params, sql-sqlite-login-params)
6751 (sql-solid-login-params, sql-sybase-login-params)
6752 (sql-informix-login-params, sql-ingres-login-params)
6753 (sql-ms-login-params, sql-postgres-login-params)
6754 (sql-interbase-login-params, sql-db2-login-params)
6755 (sql-linter-login-params): Add `port' option.
6756 (sql-get-product-feature): Add NO-INDIRECT parameter.
6757 (sql-comint-oracle, sql-comint-sybase)
6758 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6759 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6760 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6761 (sql-comint-linter): Rename sql-connect-* functions to
6763 (sql-product-alist, sql-mode-menu): Rename as above and
6764 :sqli-connect-func to :sqli-comint-func.
6765 (sql-connection): New variable.
6766 (sql-interactive-mode): Set it.
6767 (sql-connection-alist): New variable.
6768 (sql-connect): New function.
6769 (sql--alt-buffer-part, sql--alt-if-not-empty)
6770 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6772 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6774 * image-mode.el (image-bookmark-make-record): Do not set context
6775 in an image (Bug#6650).
6777 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6779 * simple.el (select-active-region): New function.
6780 (push-mark-command, set-mark, activate-mark)
6781 (handle-shift-selection): Use it.
6782 (deactivate-mark): Don't check for size of region.
6784 * mouse.el (mouse-drag-track): Use select-active-region.
6786 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6788 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6791 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6793 * term/x-win.el (x-select-enable-primary): Change default to nil.
6794 (x-select-enable-clipboard): Add :version keyword.
6796 * mouse.el (mouse-drag-copy-region):
6797 * simple.el (select-active-regions): Likewise.
6799 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6801 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6802 (vc-coding-system-for-diff): Use it to decide whether to inherit
6803 from the file the EOL format for reading the diffs of that file.
6806 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6808 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6809 unibyte, so compressed attachments are not compressed again.
6811 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6813 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6814 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6815 (tramp-find-shell): Simplify setting connection property.
6816 (tramp-get-ls-command): Make test for "--color=never" stronger.
6818 2010-07-15 Simon South <ssouth@member.fsf.org>
6820 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6821 blocks within record declarations (i.e. variant parts) correctly.
6823 2010-07-15 Simon South <ssouth@member.fsf.org>
6825 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6826 over literal tokens when parsing so newlines aren't "absorbed" by
6827 single-line comments. Corrects the indentation of case blocks
6828 that have a comment on the first line.
6830 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6832 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6833 by Drew Adams (Bug#5504).
6835 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6837 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6838 now that Unicode is used (Bug#6594).
6840 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6842 * term/x-win.el (x-select-enable-clipboard): Default to t.
6843 (x-initialize-window-system): Don't overwrite Paste menu item.
6845 * simple.el (select-active-regions): Default to t.
6846 (push-mark-command): Don't overwrite primary with empty string.
6848 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6849 (mouse-drag-copy-region): Default to nil.
6851 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6852 Cut/Copy/Paste menu bar items.
6854 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6856 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6857 Patch applied by Karl Fogel.
6859 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6860 and `bookmark-current-buffer' if they have been already set in
6861 another buffer (e.g gnus-art).
6863 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6864 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6866 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6868 * bookmark.el (bookmark-make-record-default): Allow unneeded
6869 information to be omitted from the record.
6871 Adjust declarations and calls:
6873 * info.el (bookmark-make-record-default): Adjust declaration.
6874 (Info-bookmark-make-record): Adjust call.
6876 * woman.el (bookmark-make-record-default): Adjust declaration.
6877 (woman-bookmark-make-record): Adjust call.
6879 * man.el (bookmark-make-record-default): Adjust declaration.
6880 (Man-bookmark-make-record): Adjust call.
6882 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6884 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6886 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6888 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6889 This is also from Thierry Volpiatto's patch in bug #6444. However,
6890 because it was extraneous to the functional change in that patch,
6891 and causes a re-indendation, I am committing it separately.
6893 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6895 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6896 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6897 Patch applied by Karl Fogel (Bug#6444).
6899 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6901 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6903 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6905 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6906 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6907 (ns-alternatives-map): Change S-tab binding to backtab
6910 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6913 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6915 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6918 * language/tv-util.el (tai-viet-re): Remove format.
6920 2010-07-12 Kenichi Handa <handa@m17n.org>
6922 * language/hebrew.el: Remove no-byte-compile declaration.
6923 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6924 composition-function-table for 3-character looking back.
6925 (hebrew-font-get-precomposed): New function.
6926 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6928 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6930 * mouse.el (mouse-drag-track): Handle select-active-regions
6933 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6935 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6936 empty argument to gvfs-copy.
6938 2010-07-10 Glenn Morris <rgm@gnu.org>
6940 * calendar/calendar.el (calendar-week-end-day): New function.
6941 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6942 Respect calendar-week-start-day. (Bug#6606)
6943 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6944 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6945 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6946 respect calendar-week-start-day.
6948 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6950 * simple.el (use-region-p): Doc fix (Bug#6607).
6952 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6955 Add regexps for cucumber and ruby.
6957 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6959 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6960 (epa-file-insert-file-contents): Hack to prevent
6961 find-file from opening empty buffer when decryption failed
6964 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6966 * textmodes/ispell.el (ispell-alternate-dictionary):
6967 Use file-readable-p.
6968 Return nil if no word-list is found at default locations.
6969 (ispell-complete-word-dict): Default to nil.
6970 (ispell-command-loop): Use 'word-list' when using lookup-words.
6971 (lookup-words): Use ispell-complete-word-dict or
6972 ispell-alternate-dictionary. Check for word-list availability
6973 and handle errors if needed with better messages (Bug#6539).
6974 (ispell-complete-word): Use ispell-complete-word-dict or
6975 ispell-alternate-dictionary.
6977 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6979 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6980 builtins (BufferError, BytesWarning, WindowsError; callables
6981 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6983 2010-07-07 Glenn Morris <rgm@gnu.org>
6985 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6986 (zone-shift-left): Ignore intangibility, and any errors from
6988 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6989 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6990 deleting, and copying text properties.
6991 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6992 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6993 to point-max is hard.
6994 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6995 (zone-fill-out-screen): Ignore intangibility.
6997 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6999 * menu-bar.el (menu-bar-mode):
7000 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7003 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7004 word/line selection (Bug#6565).
7006 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7008 * net/dbus.el (dbus-send-signal): Declare function.
7010 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7012 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7013 (dbus-register-property): New optional argument EMITS-SIGNAL.
7014 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7016 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7018 * mouse.el (mouse-drag-overlay): Variable deleted.
7019 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7020 (mouse--remap-link-click-p): New function.
7021 (mouse-drag-track): Handle dragging by using temporary Transient
7022 Mark mode, instead of a special overlay.
7023 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7026 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7029 2010-07-02 Juri Linkov <juri@jurta.org>
7031 * autoinsert.el (auto-insert-alist): Fix readability
7032 by using dotted pair notation for lambda.
7034 2010-07-02 Juri Linkov <juri@jurta.org>
7036 * faces.el (read-face-name): Rename arg `string-describing-default'
7037 to `default'. Doc fix. Display the default value in quotes
7038 in the prompt. With empty input, return the `default' arg,
7039 unless the default value is a string (in which case return nil).
7040 (describe-face): Replace the string `default' arg of `read-face-name'
7041 with the symbol `default'.
7043 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7045 * emulation/viper-cmd.el (viper-delete-backward-char)
7046 (viper-del-backward-char-in-insert)
7047 (viper-del-backward-char-in-replace, viper-change)
7048 (viper-backward-indent): Replace delete-backward-char with
7049 delete-char (Bug#6552).
7051 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7053 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7055 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7057 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7058 argument passed to frame-creation-function (Bug#5378).
7060 * faces.el (x-handle-named-frame-geometry)
7061 (x-handle-reverse-video, x-create-frame-with-faces)
7062 (face-set-after-frame-default, tty-create-frame-with-faces):
7063 Don't separately consult default-frame-alist. It is now passed as the
7066 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7068 * startup.el (command-line): Don't call tool-bar-setup in a
7071 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7073 * ruler-mode.el (ruler--save-header-line-format): New fun.
7074 (ruler-mode): Use it as a setter function, so as not to overwrite
7075 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7077 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7079 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7080 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7081 (vc-log-outgoing): Use it.
7082 (vc-diff-internal): Set diff-vc-backend.
7084 * vc/diff-mode.el (diff-vc-backend): New var.
7086 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7088 * dynamic-setting.el (font-setting-change-default-font):
7089 Remove call to message.
7091 2010-06-28 Kenichi Handa <handa@m17n.org>
7093 * international/quail.el (quail-insert-kbd-layout): Fix the
7094 showing of untranslated characters.
7096 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7098 * simple.el (delete-active-region): New option.
7099 (delete-backward-char): Implement in Lisp.
7100 (delete-forward-char): New command.
7102 * mouse.el (mouse-region-delete-keys): Deleted.
7103 (mouse-show-mark): Simplify.
7105 * bindings.el (global-map): Bind delete and DEL, the former to
7106 delete-forward-char.
7108 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7110 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7111 (ruby-mode): Bind indent-line-function (Bug#5119).
7113 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7115 * startup.el (command-line): Recognize "0" X resource value.
7117 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7119 * startup.el (command-line): Use X resources to set the value of
7120 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7122 * menu-bar.el (menu-bar-mode):
7123 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7124 Set init-value to t.
7126 * frame.el (frame-notice-user-settings): Don't change
7127 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7128 vice versa (Bug#2249).
7130 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7132 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7134 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7136 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7137 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7139 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7140 default directories are expanded (Bug#6143).
7142 2010-06-24 Juri Linkov <juri@jurta.org>
7144 * minibuffer.el (completions-format): Change default from nil to
7145 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7147 2010-06-24 Juri Linkov <juri@jurta.org>
7149 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7150 buffer-locally to lambda that re-runs the vc diff command.
7153 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7155 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7156 echo area is in use (Bug#3412).
7158 2010-06-22 Glenn Morris <rgm@gnu.org>
7160 * textmodes/texinfmt.el (texinfo-format-region)
7161 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7162 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7163 (texinfo-format-option, texinfo-noindent):
7164 Use line-beginning-position and line-end-position.
7166 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7167 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7168 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7171 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7173 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7174 forward-line fallout.
7176 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7178 * mouse.el (mouse-appearance-menu): Add docstring.
7180 * help.el (describe-key): Print up-event using key-description.
7182 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7184 * net/zeroconf.el (zeroconf-resolve-service)
7185 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7186 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7188 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7190 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7192 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7194 Avoid displaying files with a nil state in vc-dir.
7195 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7196 cases that cause insertion.
7197 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7200 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7202 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7204 2010-06-29 Leo <sdl.web@gmail.com>
7206 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7208 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7210 * generic-x.el (bat-generic-mode): Fix regexp for command line
7211 switches (Bug#5719).
7213 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7215 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7216 of nconc to avoid pure storage error (Bug#6239).
7218 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7220 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7221 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7222 bindings of bookmark-automatically-show-annotations (Bug#6515).
7224 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7226 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7227 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7229 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7231 * comint.el (make-comint, make-comint-in-buffer): Mention return
7232 value in the docstrings. (Bug#6498)
7234 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7236 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7237 since it is not present when using some non-default switches.
7239 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7241 * simple.el (compose-mail): Fix doc string to refer to
7242 `compose-mail-user-agent-warnings', instead of to the
7243 nonexistent `compose-mail-check-user-agent'.
7245 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7247 Fix an indentation bug:
7249 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7250 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7253 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7254 (c-clear->-pair-props-if-match-before): now return t when they've
7255 cleared properties, nil otherwise.
7256 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7257 by taking account of the existing value.
7259 * progmodes/cc-defs.el
7260 (c-clear-char-property-with-value-function): Fix this to clear the
7261 property rather than overwriting it with nil.
7263 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7265 * emacs-lisp/package.el (package-print-package): Add link to
7266 package description via describe-package.
7267 (describe-package-1): List package requirements. Add button to
7268 perform installation.
7269 (package-menu-describe-package): New command.
7271 * help-mode.el (help-package): New button type.
7273 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7275 * emacs-lisp/package.el: Move package-list-packages binding to
7277 (describe-package, describe-package-1, package--dir): New funs.
7278 (package-activate-1): Use package--dir.
7280 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7282 * help-mode.el (help-package-def): New button type.
7284 * menu-bar.el: Move package-list-packages binding here from
7287 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7289 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7291 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7293 * emacs-lisp/edebug.el (edebug-read-list):
7294 Phase out old-style backquotes.
7296 2010-06-17 Juri Linkov <juri@jurta.org>
7298 * help-mode.el (help-mode): Set buffer-local variable
7299 revert-buffer-function to help-mode-revert-buffer.
7300 (help-mode-revert-buffer): New function.
7302 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7303 before popping to "*info*" (like in other Info functions).
7304 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7305 old-history-forward. Pop to old-buffer-name or "*info*" to
7306 recreate the killed buffer. Set Info-history-forward from
7307 old-history-forward.
7308 (Info-breadcrumbs-depth): Add :group and :version.
7310 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7312 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7314 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7316 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7317 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7319 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7321 * emacs-lisp/package.el (package-menu-mode-map):
7322 Move initialization into declaration.
7324 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7326 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7328 * emacs-lisp/package.el (package-archive-base): Point to
7330 (package-enable, package-load-list): New defcustoms.
7331 (package-user-dir, package-directory-list): Turn into defcustoms.
7332 Don't include package-user-dir in package-directory-list.
7333 (package--builtins-base): Don't include Emacs as a "package".
7334 (package-subdirectory-regexp): New var.
7335 (package-load-all-descriptors, package-compute-transaction)
7336 (package-download-transaction): Obey package-load-list.
7337 (package-activate-1): Rename from package-do-activate.
7338 (package-list-packages-internal): Check package-load-list.
7339 (package-load-descriptor, package-generate-autoloads)
7340 (package-unpack, package-unpack-single)
7341 (package--read-archive-file, package-delete):
7342 Use expand-file-name.
7344 * emacs-lisp/package-x.el: New file. Package uploading
7345 functionality split out from package.el.
7347 * startup.el (command-line): Load packages after reading init file.
7349 2010-06-17 Tom Tromey <tromey@redhat.com>
7351 * emacs-lisp/package.el: New file.
7353 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7355 Fix vc-annotate for renamed files when using Git.
7356 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7357 ls-files. Doe not pass the object as a file name to cat-file, it
7359 (vc-git-annotate-command): Pass the file name using -- to avoid
7360 ambiguity with the revision.
7361 (vc-git-previous-revision): Pass a relative file name.
7363 2010-06-22 Glenn Morris <rgm@gnu.org>
7365 * progmodes/js.el (js-mode-map): Use standard capitalization and
7366 ellipses for menu entries.
7368 * wid-edit.el (widget-complete): Doc fix.
7370 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7372 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7374 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7376 Fix annotating other revisions for renamed files in vc-annotate.
7377 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7378 VC backend. Use it when non-nil.
7379 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7382 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7383 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7384 Do not pass the file name to the 'previous-revision call when we
7385 don't want a file diff. (Bug#6489)
7387 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7389 Fix finding revisions for renamed files in vc-annotate.
7390 * vc/vc.el (vc-find-revision): Add an optional argument for
7391 the VC backend. Use it when non-nil.
7392 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7393 backend to vc-find-revision. (Bug#6487)
7395 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7397 Fix reading file names in Git annotate buffers.
7398 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7399 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7401 2010-06-20 Alan Mackenzie <acm@muc.de>
7403 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7404 in file local variables, set it first.
7406 2010-06-19 Glenn Morris <rgm@gnu.org>
7408 * descr-text.el (describe-char-unicode-data): Insert separating
7409 space when needed. (Bug#6422)
7411 * progmodes/idlwave.el (idlwave-action-and-binding):
7412 Fix typo in 2009-12-03 change. (Bug#6450)
7414 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7417 handling for `lambda' (misunderstanding).
7419 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7421 * calc/calc-poly.el (math-accum-factors): Make sure that
7422 constants aren't distributed after they are factored out.
7424 2010-06-16 Juri Linkov <juri@jurta.org>
7426 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7427 `list-colors-print'. (Bug#6332)
7429 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7431 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7434 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7436 * font-lock.el (font-lock-major-mode): Rename from
7437 font-lock-mode-major-mode to distinguish it from
7438 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7439 (font-lock-set-defaults):
7440 * font-core.el (font-lock-default-function): Adjust users.
7441 (font-lock-mode): Don't set it at all.
7443 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7447 2010-06-16 Glenn Morris <rgm@gnu.org>
7449 * calendar/appt.el (appt-time-msg-list): Doc fix.
7450 (appt-check): Let-bind appt-warn-time.
7451 (appt-add): Make the 3rd argument optional.
7452 Simplify argument names. Doc fix. Check for integer WARNTIME.
7453 Only add WARNTIME to the output list if non-nil.
7455 2010-06-16 Ivan Kanis <apple@kanis.eu>
7457 * calendar/appt.el (appt-check): Let the 3rd element of
7458 appt-time-msg-list specify the warning time.
7459 (appt-add): Add new argument with the warning time. (Bug#5176)
7461 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7463 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7464 older than version 1.6. (Bug#6361)
7466 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7468 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7469 used by cl-do-arglist. (Bug#6408)
7471 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7473 * textmodes/ispell.el (ispell-dictionary-base-alist):
7474 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7475 Suggested by Rolando Pereira (bug#6434).
7477 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7479 * facemenu.el (list-colors-sort): Doc fix.
7481 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7483 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7485 2010-06-14 Juri Linkov <juri@jurta.org>
7487 Add sort option `list-colors-sort'. (Bug#6332)
7488 * facemenu.el (color-rgb-to-hsv): New function.
7489 (list-colors-sort): New defcustom.
7490 (list-colors-sort-key): New function.
7491 (list-colors-display): Doc fix. Sort list according to the option
7493 (list-colors-print): Add HSV values to `help-echo' property of
7496 2010-06-14 Juri Linkov <juri@jurta.org>
7498 * compare-w.el: Move to the "vc" subdirectory.
7500 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7502 * image-mode.el (image-mode-map): Remap left-char and right-char.
7504 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7506 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7508 * term/common-win.el (x-colors): Add all the color names defined
7509 in rgb.txt (Bug#6332).
7511 * facemenu.el (list-colors-print): Don't print extra names if it
7512 will overflow the window width.
7514 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7517 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7519 * files.el (make-directory): Doc fix (bug#6396).
7521 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp.el (tramp-remote-process-environment): Protect version
7524 string by apostroph.
7525 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7527 (tramp-file-name-for-operation): Add `call-process-region'.
7528 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7530 * net/tramp-compat.el (top): Do not autoload
7531 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7532 only when `start-file-process' is not bound.
7533 (tramp-advice-file-expand-wildcards): Do not use
7534 `tramp-handle-file-remote-p'.
7535 (tramp-compat-make-temp-file): Handle the case, that
7536 `make-temp-file' has no third argument EXTENSION.
7538 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7540 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7542 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7544 2010-06-11 Juri Linkov <juri@jurta.org>
7546 * finder.el (finder-known-keywords): Add keyword "vc"
7547 for version control.
7549 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7550 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7551 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7552 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7554 2010-06-11 Juri Linkov <juri@jurta.org>
7556 Move version control related files to the "vc" subdirectory.
7557 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7558 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7559 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7560 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7561 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7562 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7563 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7564 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7565 Move files to the "vc" subdirectory.
7567 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7569 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7572 2010-06-11 Stephen Eglen <stephen@gnu.org>
7574 * shell.el: Bind `shell-resync-dirs' to M-RET.
7576 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7578 * notifications.el: Move file from lisp/net, because it is
7579 supposed to talk locally to the user.
7581 2010-06-10 Julien Danjou <julien@danjou.info>
7583 * net/notifications.el (notifications-on-action-signal)
7584 (notifications-on-closed-signal): Pass notification id as first
7585 argument to the callback functions. Add docstrings.
7586 (notifications-notify): Fix docstring.
7588 2010-06-10 Glenn Morris <rgm@gnu.org>
7590 * emacs-lisp/authors.el (authors-ignored-files)
7591 (authors-valid-file-names): Add some files.
7593 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7595 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7596 merge conflict, giving preference to the emacs-23 version of the code.
7598 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * emacs-lisp/advice.el (ad-compile-function):
7601 Define warning-suppress-types before we let-bind it (bug#6275).
7603 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7604 declare it, make it buffer-local and permanent-local (bug#6324).
7605 (vc-resynch-window): Adjust name.
7606 * vc-hooks.el (vc-find-file-hook): Adjust name.
7608 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7610 * net/notifications.el (notifications-notify): Fix docstring.
7612 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7614 Update to Unicode 6.0.0 beta.
7615 * international/charprop.el: Update copyright.
7616 * international/mule-cmds.el (ucs-names): Update character ranges.
7617 * international/uni-bidi.el:
7618 * international/uni-category.el:
7619 * international/uni-combining.el:
7620 * international/uni-comment.el:
7621 * international/uni-decimal.el:
7622 * international/uni-decomposition.el:
7623 * international/uni-digit.el:
7624 * international/uni-lowercase.el:
7625 * international/uni-mirrored.el:
7626 * international/uni-name.el:
7627 * international/uni-numeric.el:
7628 * international/uni-old-name.el:
7629 * international/uni-titlecase.el:
7630 * international/uni-uppercase.el: Regenerate.
7632 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7634 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7635 (smie-precs-precedence-table): Fix typo in docstring.
7637 * vc-mtn.el (log-edit-extract-headers): Declare function.
7639 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7641 * net/notifications.el (dbus-register-signal): Declare function.
7642 (notifications-notify): Fix typos and reflow docstring.
7644 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7646 Improve VC create/retrieve tag/branch.
7647 * vc.el (vc-create-tag): Do not read the directory name for VCs
7648 with repository revision granularity. Adjust the tag/branch
7649 prompt. Reset VC properties.
7650 (vc-retrieve-tag): Do not read the directory name for VCs
7651 with repository revision granularity. Reset VC properties.
7653 2010-06-09 Julien Danjou <julien@danjou.info>
7655 * net/notifications.el: New file.
7657 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7659 Add optional support for resetting VC properties.
7660 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7661 call vc-file-clearprops when true.
7662 (vc-resynch-buffer): Add new optional argument, pass it down.
7663 (vc-resynch-buffers-in-directory): Likewise.
7665 Improve support for special markup in the VC commit message.
7666 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7667 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7668 * vc-git.el (vc-git-checkin):
7669 * vc-bzr.el (vc-bzr-checkin): Likewise.
7671 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7674 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7676 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7678 * iimage.el: Remove images as soon as the underlying text is modified.
7679 (iimage-modification-hook): New function.
7680 (iimage-mode-buffer): Use it.
7682 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7684 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7685 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7686 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7687 (smie-indent-keyword): Add handling of open-paren keywords.
7688 (smie-indent-comment-continue): Don't assume comment-continue.
7690 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7692 * window.el (pop-to-buffer): Remove the conditional that
7693 compares new-window and old-window, so it will reselect
7694 the selected window unconditionally.
7695 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7697 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * emacs-lisp/smie.el (smie-indent-offset-after)
7700 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7701 (smie-indent-after-keyword): Use them.
7702 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7703 (smie-indent-keyword): Tweak the black magic.
7704 (smie-indent-comment-continue): Strip comment-continue before use.
7705 (smie-indent-functions): Indent comments before keywords.
7707 2010-06-06 Juri Linkov <juri@jurta.org>
7709 * isearch.el (isearch-lazy-highlight-search): Fix looping
7710 by checking for empty match. This syncs this loop with the
7711 similar loop in `isearch-search'. (Bug#6362)
7713 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7715 * net/dbus.el (dbus-register-method): Declare function.
7716 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7717 (dbus-introspect): Doc fix.
7718 (dbus-event-bus-name, dbus-introspect-get-interface)
7719 (dbus-introspect-get-argument): Reflow docstrings.
7721 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7723 vc-log-incoming/vc-log-outgoing fixes for Git.
7724 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7725 incoming/outgoing logs.
7726 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7727 instead of vc-git-compute-remote.
7728 (vc-git-compute-remote): Remove.
7730 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7732 * term/common-win.el (x-colors): Add "dark green" and "dark
7733 turquoise" (Bug#6332).
7735 2010-06-04 Juri Linkov <juri@jurta.org>
7737 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7738 Instead of setting `replace' to t and replacing the same string
7739 with itself, don't do certain actions when
7740 kill-do-not-save-duplicates is non-nil and string is equal to car
7741 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7742 interprogram-paste strings to kill-ring, and don't push the input
7743 argument `string' to kill-ring.
7744 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7746 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7748 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7750 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7752 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7753 (tramp-gvfs-handler-mounted-unmounted)
7754 (tramp-gvfs-connection-mounted-p): Handle default-location.
7756 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7757 move files to trash.
7759 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7761 * international/mule-cmds.el (nonascii-insert-offset)
7762 (nonascii-translation-table): Add obsolescence information.
7764 * international/mule.el (make-translation-table-from-vector): Doc fix.
7766 2010-06-03 Glenn Morris <rgm@gnu.org>
7768 * desktop.el (desktop-clear-preserve-buffers):
7769 Add "*Warnings*" buffer. (Bug#6336)
7771 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7773 vc-log-incoming/vc-log-outgoing improvements for Git.
7774 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7776 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7778 Add bindings for vc-log-incoming and vc-log-outgoing.
7779 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7780 and vc-log-outgoing.
7781 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7782 and vc-log-outgoing.
7784 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7786 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7787 (rcirc-handler-366): Always sort nicknames.
7789 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7791 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7793 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7795 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7797 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7799 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7800 (rcirc-sort-nicknames-join): Avoid setq.
7802 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7804 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7805 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7806 (rcirc-handler-366): Use them.
7808 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7810 Split smie-indent-calculate into more manageable chunks.
7811 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7812 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7813 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7814 (smie-indent-exps): Extract from smie-indent-calculate.
7815 (smie-indent-functions): New var.
7816 (smie-indent-functions): Use them.
7818 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7821 (smie-indent-calculate): Simplify and cleanup.
7823 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7825 * net/tramp-gvfs.el (top): Require url-util.
7826 (tramp-gvfs-mount-point): Remove.
7827 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7829 (with-tramp-dbus-call-method): Format trace message.
7830 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7831 Implement backup call, when operation on local files fails.
7832 Use progress reporter. Flush properties of changed files.
7833 (tramp-gvfs-handle-make-directory): Make more traces.
7834 (tramp-gvfs-url-file-name): Hexify file name in url.
7835 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7836 into account for the resulting file name.
7837 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7838 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7839 (tramp-gvfs-handler-mounted-unmounted)
7840 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7841 attribute "default_location". Set "prefix" property.
7842 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7843 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7844 exists. Raise an error, if not (due to a corresponding answer
7845 "no" in interactive questions, for example).
7847 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7849 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7851 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7853 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7856 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7858 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7859 * vc-git.el (vc-git-compute-remote): New function.
7860 (vc-git-log-outgoing): Use it instead of hard coding a value.
7861 (vc-git-log-incoming): New function.
7863 Improve state updating for VC tag commands.
7864 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7865 to update the state of all buffers in the directory.
7867 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7869 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7872 `file-directory-p' to the filename part rather than to the whole text.
7874 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7878 2010-05-31 Drew Adams <drew.adams@oracle.com>
7880 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7882 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7884 * subr.el (momentary-string-display): Just use read-event to read
7885 the exit event (Bug#6238).
7887 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7889 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7891 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7893 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7894 Suggested by Eli Zaretskii <eliz@gnu.org>.
7896 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7898 * minibuffer.el (completion-file-name-table): Don't return a boundary
7899 past the end of `string' (bug#6299).
7900 (completion--file-name-table): Delegate to completion-file-name-table
7901 for the `boundaries' case.
7903 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7905 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7908 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7909 `path-separator', but maintain compatibility with Emacs 20.2.
7911 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7913 * server.el (server-process-filter): Receive parent-id argument
7915 (server-create-window-system-frame): New arg. Pass parent-id as
7918 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7920 Bidi-sensitive word movement with arrow keys.
7921 * subr.el (right-arrow-command, left-arrow-command): Move to
7924 * bindings.el (right-char, left-char): Move from subr.el and
7925 rename from right-arrow-command and left-arrow-command.
7926 (right-word, left-word): New functions.
7927 (global-map) <right>: Bind to right-char.
7928 (global-map) <left>: Bind to left-char.
7929 (global-map) <C-right>: Bind to right-word.
7930 (global-map) <C-left>: Bind to left-word.
7932 * ls-lisp.el (ls-lisp-classify-file): New function.
7933 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7934 (ls-lisp-classify): Call ls-lisp-classify-file.
7935 (insert-directory): Remove blanks from switches.
7937 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7939 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7940 (ansi-color-drop-regexp): New constant.
7941 (ansi-color-apply, ansi-color-filter-region)
7942 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7943 (ansi-color-apply): Build string list before calling concat.
7945 2010-05-28 Juri Linkov <juri@jurta.org>
7947 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7948 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7951 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7953 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7954 to ignored backtrace functions.
7955 (with-progress-reporter): Expand docstring.
7956 (tramp-handle-delete-file): Implement TRASH argument.
7957 (tramp-get-remote-trash): New defun.
7959 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7961 * net/tramp-compat.el (tramp-compat-delete-file):
7962 Use `symbol-value' for backward compatibility.
7964 * net/tramp.el (tramp-handle-make-symbolic-link)
7966 (tramp-do-copy-or-rename-file-via-buffer)
7967 (tramp-do-copy-or-rename-file-directly)
7968 (tramp-do-copy-or-rename-file-out-of-band)
7969 (tramp-handle-process-file, tramp-handle-call-process-region)
7970 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7971 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7972 (tramp-delete-temp-file-function): Use `delete-file' instead
7973 of `tramp-compat-delete-file'.
7975 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7976 (tramp-fish-handle-make-symbolic-link)
7977 (tramp-fish-handle-process-file): Use `delete-file' instead
7978 of `tramp-compat-delete-file'.
7980 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7981 Use `delete-file' instead of `tramp-compat-delete-file'.
7983 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7984 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7985 `tramp-compat-delete-file'.
7987 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7988 Use `delete-file' instead of `tramp-compat-delete-file'.
7990 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7991 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7992 (tramp-smb-handle-write-region): Use `delete-file' instead of
7993 `tramp-compat-delete-file'.
7994 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7996 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7998 * dired.el (dired-delete-file): New arg TRASH.
7999 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8000 (dired-do-flagged-delete, dired-do-delete): Use trash.
8002 * speedbar.el (speedbar-item-delete): Allow trashing.
8004 * files.el (delete-directory): New arg TRASH.
8006 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8007 (ange-ftp-rename-remote-to-remote)
8008 (ange-ftp-rename-local-to-remote)
8009 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8010 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8012 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8015 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8016 handle new TRASH arg of `delete-file'.
8018 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8019 (tramp-handle-make-symbolic-link, tramp-handle-load)
8020 (tramp-do-copy-or-rename-file-via-buffer)
8021 (tramp-do-copy-or-rename-file-directly)
8022 (tramp-do-copy-or-rename-file-out-of-band)
8023 (tramp-handle-process-file, tramp-handle-call-process-region)
8024 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8025 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8026 (tramp-delete-temp-file-function): Use null TRASH arg in
8027 tramp-compat-delete-file call.
8029 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8030 (tramp-fish-handle-delete-file)
8031 (tramp-fish-handle-make-symbolic-link)
8032 (tramp-fish-handle-process-file): Use null TRASH arg in
8033 `tramp-compat-delete-file' call.
8035 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8036 arg in `tramp-compat-delete-file' call.
8038 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8039 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8040 `tramp-compat-delete-file' call.
8042 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8043 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8044 `tramp-compat-delete-file' call.
8046 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8047 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8048 (tramp-smb-handle-write-region): Use null TRASH arg in
8049 tramp-compat-delete-file call.
8050 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8051 (tramp-smb-handle-delete-file): Rename arg.
8053 * diff.el (diff-sentinel):
8054 * epg.el (epg--make-temp-file, epg-decrypt-string)
8055 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8056 * jka-compr.el (jka-compr-partial-uncompress)
8057 (jka-compr-call-process, jka-compr-write-region):
8058 * server.el (server-sentinel): Remove optional arg from
8059 delete-file, reverting 2010-05-03 change.
8061 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8063 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8064 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8066 2010-05-27 Kenichi Handa <handa@m17n.org>
8068 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8069 element of GSTRING is nil.
8071 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * emacs-lisp/smie.el (smie-forward-token-function)
8074 (smie-backward-token-function): New vars.
8075 (smie-backward-sexp, smie-forward-sexp)
8076 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8077 (smie-default-backward-token): Rename from smie-backward-token and
8079 (smie-default-forward-token): Rename from smie-forward-token and
8081 (smie-next-sexp): Handle nil results from next-token.
8082 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8084 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8086 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8087 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8089 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8091 * htmlfontify.el (hfy-face-resolve-face): New function.
8092 (hfy-face-to-style): Use it (Bug#6279).
8094 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8097 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8099 2010-05-26 Glenn Morris <rgm@gnu.org>
8101 * emulation/edt.el (edt-load-keys): Use locate-library.
8103 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8105 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8106 (log-edit-changelog-entries): Doc fix.
8107 (log-edit-changelog-insert-entries): Args changed.
8108 Rename relative filenames in ChangeLog entries. Delete tabs.
8109 (log-edit-insert-changelog-entries): Reorganize return value of
8110 `log-edit-changelog-entries' to pass filenames to
8111 log-edit-changelog-insert-entries.
8113 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8115 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8116 `image-dired-dired-insert-marked-thumbs' to
8117 `image-dired-dired-toggle-marked-thumbs'.
8119 * image-dired.el: Require cl when compiling.
8120 (image-dired-dired-toggle-marked-thumbs): Rename from
8121 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8122 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8123 to 'no-dir. Skip files whose names don't match
8124 `image-file-name-regexp'. When file has a thumbnail overlay,
8125 delete it. (Bug#5270)
8127 2010-05-25 Juri Linkov <juri@jurta.org>
8129 * image-mode.el (image-mode): Add image-after-revert-hook to
8131 (image-after-revert-hook): New function. (Bug#5669)
8133 2010-05-25 Juri Linkov <juri@jurta.org>
8135 * image.el (image-animated-p): When delay between animated images
8136 is 0, set it to 10 (0.1 sec). (Bug#6258)
8138 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8140 * net/tramp.el (tramp-handle-insert-directory): Don't use
8141 `forward-word', its default syntax could be changed.
8143 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8145 * net/tramp.el (tramp-progress-reporter-update): New defun.
8146 (with-progress-reporter): Use it.
8147 (tramp-process-actions):
8148 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8149 Preserve current message, in order to let progress reporter continue
8150 afterwards. (Bug#6257)
8152 2010-05-25 Glenn Morris <rgm@gnu.org>
8154 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8157 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8159 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8160 (rcirc-default-full-name): Change to "unknown".
8161 (rcirc-user-name-history): Add variable.
8163 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8164 Jonathan Rockway <jon@jrock.us>
8166 * net/rcirc.el (rcirc-server-alist): Add :pass.
8167 (rcirc): When prompting for connection parameters, also prompt for
8168 username and password.
8169 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8170 value to server when connecting.
8172 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8175 (smie-merge-prec2s): Pass the tables as separate args.
8176 (smie-bnf-precedence-table): Adjust call accordingly.
8177 (smie-prec2-levels): Set levels at the end.
8179 Replace Lisp calls to delete-backward-char by delete-char.
8180 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8181 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8182 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8183 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8184 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8185 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8186 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8187 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8188 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8189 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8190 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8191 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8192 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8193 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8194 delete-backward-char by calls to delete-char.
8196 2010-05-25 Kenichi Handa <handa@m17n.org>
8198 * language/hebrew.el (hebrew-shape-gstring): New function.
8199 Register it in composition-function-table for all Hebrew combining
8202 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * epa.el (epa--select-keys): Don't explicitly delete the window since
8205 that can fail (e.g. sole window in frame). Use dedication instead.
8207 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8209 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8211 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8213 * image.el (image-refresh): Define as an alias for image-flush.
8215 * image-mode.el (image-toggle-display-image): Caller changed.
8217 2010-05-21 Juri Linkov <juri@jurta.org>
8219 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8220 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8221 whitespace, call wildcard-to-regexp on substrings and concat them
8222 with "\\|". (Bug#6114)
8224 2010-05-21 Alan Mackenzie <acm@muc.de>
8226 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8227 Replace parameter `here' with `here-' and `here-plus', which sandwich
8228 any pertinent CPP construct.
8229 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8230 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8231 CPP construct from taking part in the scanning.
8233 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8235 * net/tramp.el (tramp-do-copy-or-rename-file)
8236 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8237 Tune `with-progress-reporter' messages.
8238 (tramp-handle-vc-registered):
8239 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8240 (tramp-fish-handle-insert-file-contents)
8241 (tramp-fish-maybe-open-connection):
8242 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8243 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8244 (tramp-imap-handle-insert-file-contents)
8245 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8247 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8249 * add-log.el (change-log-font-lock-keywords):
8250 Highlight all authors in multi-author entries.
8252 * smerge-mode.el (smerge-refine-ignore-whitespace)
8253 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8254 Fix typos in docstrings.
8255 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8257 2010-05-21 Glenn Morris <rgm@gnu.org>
8259 * progmodes/fortran.el (fortran-mode):
8260 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8262 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8263 having a relative path in src/Makefile.in.
8265 2010-05-20 Kevin Ryde <user42@zip.com.au>
8267 * help-mode.el (help-make-xrefs): For Info node links turn
8268 newlines into spaces. Link node names with newlines are matched
8269 by help-xref-info-regexp and buttonized, this change ensures they
8270 can be followed successfully with RET. (Bug#6206)
8272 2010-05-20 Juri Linkov <juri@jurta.org>
8274 * locate.el (locate): Use pop-to-buffer instead of
8275 switch-to-buffer-other-window. (Bug#6204)
8277 2010-05-20 Juri Linkov <juri@jurta.org>
8279 * replace.el (replace-highlight): Fix lazy-highlighting
8280 for `M-s w str M-% str RET'.
8282 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8284 * isearch.el (isearch-yank-word-or-char): Pull next subword
8285 when `subword-mode' is activated. (Bug#6220)
8287 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8289 * isearch.el (isearch-update-post-hook): New hook.
8290 (isearch-update): Use the new hook. (Bug#6225)
8292 2010-05-20 Juri Linkov <juri@jurta.org>
8294 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8295 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8298 2010-05-20 Juri Linkov <juri@jurta.org>
8300 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8303 2010-05-20 Juri Linkov <juri@jurta.org>
8305 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8306 FILE-NAME to read from the minibuffer when called interactively
8307 with prefix argument instead of using buffer-file-name.
8308 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8310 * dired.el: Update autoloads.
8312 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8314 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8315 nxml-finish-element, for consistency with SGML mode.
8317 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8320 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8322 * composite.el: Require cl when compiling.
8323 (reference-point-alist, compose-gstring-for-graphic)
8324 (compose-gstring-for-terminal): Fix typos in docstrings.
8326 2010-05-19 Juri Linkov <juri@jurta.org>
8328 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8329 set-window-parameter.
8331 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8333 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8335 (tramp-maybe-open-connection): Use it.
8337 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8339 * simple.el (move-end-of-line): Make sure we are at line beginning
8340 before backing up to end of previous line.
8342 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8344 * password-cache.el (password-cache-remove): Fix docstring.
8346 * net/secrets.el: Autoload the widget functions.
8347 (secrets-search-items, secrets-create-item)
8348 (secrets-get-attributes, secrets-expand-item): Attributes will be
8349 stored on the password database without leading ":", as all other
8351 (secrets-mode): Fix docstring.
8352 (secrets-show-secrets): Provide it as autoloaded command only when
8353 D-Bus support is available. Check existence of Secret Service API.
8355 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8357 * indent.el (indent-region): Deactivate region (bug#6200).
8359 2010-05-19 Glenn Morris <rgm@gnu.org>
8361 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8363 2010-05-19 Kenichi Handa <handa@m17n.org>
8365 * composite.el: Register compose-gstring-for-graphic in
8366 composition-function-table only for combining characters (Mn, Mc, Me).
8368 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8370 * calc/calc-trail.el (calc-trail-isearch-forward)
8371 (calc-trail-isearch-backward): Ensure that the new window
8372 point is set correctly.
8374 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8376 * subr.el (read-quoted-char): Resolve modifiers after key
8377 remapping (bug#6212).
8379 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8381 Add visualization code for secrets.
8382 * net/secrets.el (secrets-mode): New major mode.
8383 (secrets-show-secrets, secrets-show-collections)
8384 (secrets-expand-collection, secrets-expand-item)
8385 (secrets-tree-widget-after-toggle-function)
8386 (secrets-tree-widget-show-password): New defuns.
8388 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8391 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8392 handled in smie-next-sexp.
8393 (smie-indent-calculate): Provide a starting indentation (so the
8394 recursion is well-founded ;-).
8396 Fix handling of non-associative equal levels.
8397 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8398 when it's not needed.
8399 (smie-op-left, smie-op-right): New functions.
8400 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8401 Better handle equal levels to distinguish the associative case from
8402 the "multi-keyword construct" case.
8403 (smie-backward-sexp, smie-forward-sexp): Use it.
8405 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8407 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8409 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8410 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8412 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8414 Provide a simple generic indentation engine and use it for Prolog.
8415 * emacs-lisp/smie.el: New file.
8416 * progmodes/prolog.el (prolog-smie-op-levels)
8417 (prolog-smie-indent-rules): New var.
8418 (prolog-mode-variables): Use them to configure SMIE.
8419 (prolog-indent-line, prolog-indent-level): Remove.
8421 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8423 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8424 order before computing the averages.
8426 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8428 * calc/calc-vec.el (calc-histogram):
8429 (calcFunc-histogram): Allow vectors as inputs.
8430 (math-vector-avg): New function.
8432 * calc/calc-ext.el (math-group-float): Have the number of digits
8433 being grouped depend on the radix (Bug#6189).
8435 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8437 * version.el (emacs-copyright, emacs-version): Don't define here,
8438 now that emacs.c defines it.
8440 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8442 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8443 "Describe Language Environment" menu item.
8445 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8447 Bidi-sensitive movement with arrow keys.
8448 * subr.el (right-arrow-command, left-arrow-command): New functions.
8450 * bindings.el (global-map): Bind them to right and left arrow keys.
8452 Don't override standard definition of convert-standard-filename.
8453 * files.el (convert-standard-filename):
8454 Call w32-convert-standard-filename and dos-convert-standard-filename on
8455 the corresponding systems.
8457 * w32-fns.el (w32-convert-standard-filename): Rename from
8458 convert-standard-filename. Doc fix.
8460 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8461 (convert-standard-filename): Don't defalias.
8462 (register-name-alist, make-register, register-value)
8463 (set-register-value, intdos): Obsolete aliases for the
8464 corresponding dos-* functions and variables.
8465 (dos-intdos): Add a doc string.
8467 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8469 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8470 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8471 (math-compose-tex-func):
8472 * calc/calccomp.el (math-compose-expr):
8473 * calc/calc-ext.el (math-format-flat-expr-fancy):
8474 * calc/calc-store.el (calc-read-var-name):
8475 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8477 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8478 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8479 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8480 (math-standard-units): Add units.
8482 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * progmodes/asm-mode.el (asm-mode):
8485 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8487 * pcomplete.el (pcomplete-completions-at-point): New function,
8488 extracted from pcomplete-std-complete.
8489 (pcomplete-std-complete): Use it.
8491 2010-05-15 Glenn Morris <rgm@gnu.org>
8493 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8494 Remove references to CVS, RCS and Old directories.
8496 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8498 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8501 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8504 (sh-mode-syntax-table): Give it a default value instead.
8505 (sh-header-marker): Make buffer-local.
8506 (sh-mode): Move make-local-variable to the corresponding setq.
8507 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8508 Use complete-with-action.
8510 * simple.el (prog-mode): New (abstract) major mode.
8511 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8512 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8514 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8516 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8517 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8518 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8519 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8520 (sql-escape-newlines-filter, sql-input-sender)
8521 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8523 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8525 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8527 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8528 latex-open-block and C-c / to latex-close-block.
8530 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8531 and C-c C-e to sgml-close-tag.
8533 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8535 * net/tramp.el (with-progress-reporter): Create reporter object
8536 only when the message would be displayed. Handle nested calls.
8537 (tramp-handle-load, tramp-handle-file-local-copy)
8538 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8539 (tramp-maybe-send-script, tramp-find-shell):
8540 Use `with-progress-reporter'.
8541 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8544 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8545 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8546 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8547 Use `with-progress-reporter'.
8549 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8551 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8552 process everytime when spellchecking from the minibuffer (bug#6143).
8554 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8556 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8558 * dos-fns.el: Add "dos-" prefix for namespace control.
8559 (convert-standard-filename): Define as alias for
8560 dos-convert-standard-filename but only if applicable.
8562 2010-05-12 Alan Mackenzie <acm@muc.de>
8564 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8565 Push the mark at the start of these functions when appropriate.
8567 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8569 * minibuffer.el (completion-cycle-threshold): New custom var.
8570 (completion--do-completion): Use it.
8571 (minibuffer-complete): Use cycling if appropriate.
8573 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8575 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8576 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8578 2010-05-11 Juri Linkov <juri@jurta.org>
8580 * scroll-all.el (scroll-all-check-to-scroll):
8581 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8583 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * iimage.el (iimage-mode-map): Move initialization into declaration.
8586 (iimage-mode-buffer): Use with-silent-modifications.
8587 Simplify calling convention. Adjust callers.
8588 (iimage-mode): Don't run hook redundantly.
8590 * minibuffer.el (completion-pcm--pattern->regex):
8591 Fix last change (bug#6160).
8593 2010-05-10 Juri Linkov <juri@jurta.org>
8595 Remove nodes visited during Isearch from the Info history.
8596 * info.el (Info-isearch-initial-history)
8597 (Info-isearch-initial-history-list): New variables.
8598 (Info-isearch-start): Record initial values of
8599 Info-isearch-initial-history and Info-isearch-initial-history-list.
8600 Add Info-isearch-end to isearch-mode-end-hook.
8601 (Info-isearch-end): New function.
8603 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8605 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8606 format string, in order to work around a bug in pdksh.
8607 Reported by Gilles Pion <gpion@lfdj.com>.
8608 (tramp-handle-verify-visited-file-modtime): Do not send a command
8609 when the connection is not established.
8610 (tramp-handle-set-file-times): Simplify the check for utc.
8612 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8614 Fix use of `filter-buffer-substring' (rework previous change).
8615 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8616 (cua-repeat-replace-region):
8617 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8618 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8619 (cua-cut-region-to-global-mark): Use it.
8621 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8623 * progmodes/sql.el: Version 2.1.
8624 (sql-product-alist): Redesign structure of product info.
8625 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8626 (sql-port, sql-port-history): New variables.
8627 (sql-interactive-product): New variable.
8628 (sql-send-terminator): New variable.
8629 (sql-imenu-generic-expression): Add "Types" imenu entry.
8630 (sql-oracle-login-params, sql-sqlite-login-params)
8631 (sql-mysql-login-params, sql-solid-login-params)
8632 (sql-sybase-login-params, sql-informix-login-params)
8633 (sql-ingres-login-params, sql-ms-login-params)
8634 (sql-postgres-login-params, sql-interbase-login-params)
8635 (sql-db2-login-params, sql-linter-login-params)
8636 (sql-oracle-scan-on): New variables.
8637 (sql-mode-map): Add C-c C-i to start interactive mode.
8638 (sql-mode-menu): Update existing menu entries.
8639 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8640 (sql-mode-oracle-font-lock-keywords)
8641 (sql-mode-postgres-font-lock-keywords)
8642 (sql-mode-ms-font-lock-keywords)
8643 (sql-mode-sybase-font-lock-keywords)
8644 (sql-mode-informix-font-lock-keywords)
8645 (sql-mode-interbase-font-lock-keywords)
8646 (sql-mode-ingres-font-lock-keywords)
8647 (sql-mode-solid-font-lock-keywords)
8648 (sql-mode-mysql-font-lock-keywords)
8649 (sql-mode-sqlite-font-lock-keywords)
8650 (sql-mode-db2-font-lock-keywords)
8651 (sql-mode-linter-font-lock-keywords): Update initialization to
8652 reduce run-time complexity.
8653 (sql-add-product, sql-del-product): New functions.
8654 (sql-set-product-feature, sql-get-product-feature): New functions.
8655 (sql-product-font-lock): Update product API.
8656 (sql-add-product-keywords): New function.
8657 (sql-highlight-product): Update product API.
8658 (sql-help-list-products): New function.
8659 (sql-help): Dynamically lists free and non-free products.
8660 (sql-get-login): Correct bug in handling history and added
8662 (sql-copy-column): Copy without properties.
8663 (sqli-input-sender): Apply filters to SQLi input.
8664 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8665 Implement as a filter.
8666 (sql-escape-newlines-filter): Implement as a filter.
8667 (sql-remove-tabs-filter): New function.
8668 (sql-send-magic-terminator): New function.
8669 (sql-send-string): Implement magic terminator.
8670 (sql-send-region): Use `sql-send-string'.
8671 (sql-interactive-mode): Use product API.
8672 (sql-product-interactive): Use product API.
8673 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8674 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8675 (sql-db2, sql-linter): Use `sql-product-interactive'.
8676 (sql-connect): New function.
8677 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8678 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8679 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8680 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8683 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8685 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8686 New custom variable.
8687 (completion-pcm--string->pattern): Use it.
8688 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8689 Make it handle any symbol as `any'.
8690 (completion-pcm--merge-completions): Extract common suffix for the new
8691 `prefix' symbol as well.
8692 (completion-substring--all-completions): Use the new `prefix' symbol.
8694 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8696 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8698 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8699 (tramp-compat-funcall): New defmacro.
8700 (tramp-compat-line-beginning-position)
8701 (tramp-compat-line-end-position)
8702 (tramp-compat-temporary-file-directory)
8703 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8704 (tramp-compat-copy-file, tramp-compat-copy-directory)
8705 (tramp-compat-delete-file, tramp-compat-delete-directory)
8706 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8707 * net/tramp.el (top, with-progress-reporter)
8708 (tramp-rfn-eshadow-setup-minibuffer)
8709 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8710 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8711 (tramp-completion-mode-p, tramp-check-for-regexp)
8712 (tramp-open-connection-setup-interactive-shell)
8713 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8714 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8715 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8716 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8717 (tramp-reporter-dump-variable, tramp-load-report-modules)
8718 (tramp-append-tramp-buffers)
8719 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8721 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8723 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8725 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8726 buffer-modtime. Adjust users.
8728 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8730 * international/mule.el (auto-coding-alist): Only purecopy
8731 car of each item, not the whole list (Bug#6083).
8733 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8735 * progmodes/js.el (js-mode): Make paragraph variables local before
8736 calling c-setup-paragraph-variables (Bug#6071).
8738 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8740 * composite.el (compose-region, reference-point-alist): Fix typos
8743 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8745 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8746 gnuplot's "set" command.
8748 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8750 * abbrev.el (last-abbrev-text): Doc fix.
8751 (abbrev-prefix-mark): Don't escape parenthesis.
8753 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8755 * composite.el (find-composition): Doc fix.
8757 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8759 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8760 (sql-oracle-program, sql-sqlite-options)
8761 (sql-query-placeholders-and-send): Doc fixes.
8762 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8763 (sql-imenu-generic-expression, sql-buffer)
8764 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8765 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8766 (sql-mode-sybase-font-lock-keywords)
8767 (sql-mode-informix-font-lock-keywords)
8768 (sql-mode-interbase-font-lock-keywords)
8769 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8770 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8771 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8772 (sql-product-feature, sql-highlight-product)
8773 (comint-line-beginning-position, sql-rename-buffer)
8774 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8775 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8776 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8777 Fix typos in docstrings.
8779 2010-05-08 Juri Linkov <juri@jurta.org>
8781 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8782 property instead of `invisible' and `after-string' (bug#5998).
8784 2010-05-08 Juri Linkov <juri@jurta.org>
8786 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8788 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8790 * filecache.el (file-cache-add-directory-list)
8791 (file-cache-add-directory-recursively): Fix typos in docstrings.
8793 2010-05-08 Kenichi Handa <handa@m17n.org>
8795 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8796 (gujarati-composable-pattern): Fix typo.
8798 2010-05-08 Kenichi Handa <handa@m17n.org>
8800 * language/indian.el (oriya-composable-pattern)
8801 (tamil-composable-pattern, malayalam-composable-pattern):
8802 Add two-part vowels to "v" (vowel sign).
8804 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8806 * files.el (copy-directory): Handle symlinks (Bug#5982).
8808 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8810 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8811 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8814 2010-05-08 Glenn Morris <rgm@gnu.org>
8816 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8818 * minibuffer.el (completion-at-point): Doc fix.
8820 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * electric.el (Electric-command-loop): Minor tweak.
8824 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8825 better with dedicated windows.
8827 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8829 * Version 23.2 released.
8831 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8832 Stefan Monnier <monnier@iro.umontreal.ca>
8834 Highlight vendor specific properties.
8835 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8836 (css-proprietary-property): New face.
8837 (css-font-lock-keywords): Use them.
8839 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8841 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8843 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8846 * files.el (auto-mode-alist): Remove redundant entries.
8848 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8849 * simple.el (auto-save-mode): Move from files.el.
8850 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8852 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8854 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8856 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8858 * mail/binhex.el (binhex-decode-region-internal)
8859 * mail/uudecode.el (uudecode-decode-region-internal)
8860 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8861 (dns-read-type, dns-query)
8862 * pgg-parse.el (pgg-parse-armor)
8863 * pgg.el (pgg-verify-region)
8864 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8867 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8869 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8871 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8873 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8874 * emulation/cua-base.el (cua-repeat-replace-region):
8875 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8876 (cua-cut-region-to-global-mark):
8877 Remove text properties with `set-text-properties'.
8879 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8881 * net/tramp.el (top, with-progress-reporter):
8882 Use `symbol-function' inside `funcall'.
8884 * net/tramp-compat.el (tramp-compat-file-attributes)
8885 (tramp-compat-delete-file, tramp-compat-delete-directory):
8886 Handle only `wrong-number-of-arguments' error.
8888 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8889 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8892 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * minibuffer.el (completion--sreverse, completion--common-suffix):
8896 (completion-pcm--merge-completions): Extract common suffix when safe.
8898 * emacs-lisp/easy-mmode.el (define-minor-mode):
8899 Make :variable more flexible.
8900 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8902 2010-05-05 Juri Linkov <juri@jurta.org>
8904 Add `slow' and `history' tags to the desktop data.
8906 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8907 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8908 (Info-finder-find-node): Require `finder.el' to be able
8909 to restore node from the desktop.
8910 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8911 data `Info-history' and `slow' tag in the assoc list.
8912 (Info-restore-desktop-buffer): Don't restore nodes with the
8913 `slow' tag. Restore `Info-history'.
8915 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8917 Add FORCE argument to `delete-file'.
8919 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8920 forcing to delete the temporary file.
8921 (ange-ftp-delete-file): Add FORCE arg.
8922 (ange-ftp-rename-remote-to-remote)
8923 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8924 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8925 Force file deletion.
8927 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8929 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8930 (tramp-handle-make-symbolic-link, tramp-handle-load)
8931 (tramp-do-copy-or-rename-file-via-buffer)
8932 (tramp-do-copy-or-rename-file-directly)
8933 (tramp-do-copy-or-rename-file-out-of-band)
8934 (tramp-handle-process-file, tramp-handle-call-process-region)
8935 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8936 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8937 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8939 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8940 (tramp-fish-handle-make-symbolic-link)
8941 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8943 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8944 Use `tramp-compat-delete-file'.
8946 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8947 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8949 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8950 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8952 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8953 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8954 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8955 Use `tramp-compat-delete-file'.
8957 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * subr.el (add-minor-mode): Use push.
8961 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8962 * emulation/edt.el (edt-select-mode): Simplify.
8964 Use define-minor-mode in more cases.
8965 * term/tvi970.el (tvi970-set-keypad-mode):
8966 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8967 (normal-erase-is-backspace-mode):
8968 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8969 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8970 (get-scroll-bar-mode): New function.
8971 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8973 Use define-minor-mode for less obvious cases.
8974 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8975 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8976 * international/iso-ascii.el (iso-ascii-mode):
8977 * frame.el (auto-raise-mode, auto-lower-mode):
8978 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8980 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8982 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8983 in order to see error messages for failed logins.
8985 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8987 * diff.el (diff-sentinel):
8989 * epg.el (epg--make-temp-file, epg-decrypt-string)
8990 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8992 * jka-compr.el (jka-compr-partial-uncompress)
8993 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8995 * server.el (server-sentinel): Use delete-file's new FORCE arg
8998 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9000 Use define-minor-mode where applicable.
9001 * view.el (view-mode):
9002 * type-break.el (type-break-query-mode)
9003 (type-break-mode-line-message-mode):
9004 * textmodes/reftex.el (reftex-mode):
9005 * term/vt100.el (vt100-wide-mode):
9006 * tar-mode.el (tar-subfile-mode):
9007 * savehist.el (savehist-mode):
9008 * ibuf-ext.el (ibuffer-auto-mode):
9009 * composite.el (auto-composition-mode):
9010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9011 Use define-minor-mode.
9012 (vhdl-mode): Use static mode-line format.
9013 (vhdl-mode-line-update): Delete.
9014 (vhdl-create-mode-menu, vhdl-activate-customizations)
9015 (vhdl-hs-minor-mode): Don't bother calling it.
9017 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9019 * simple.el (with-wrapper-hook): Move.
9020 (buffer-substring-filters): Mark obsolete.
9021 (filter-buffer-substring-functions): New variable.
9022 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9024 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9025 Michael Albinus <michael.albinus@gmx.de>
9027 Implement compression for inline methods.
9029 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9030 (tramp-copy-size-limit): Allow also nil.
9031 (tramp-inline-compress-commands): New defconst.
9032 (tramp-find-inline-compress, tramp-get-inline-compress)
9033 (tramp-get-inline-coding): New defuns.
9034 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9035 replaced by `tramp-get-inline-coding'.
9036 (tramp-handle-file-local-copy, tramp-handle-write-region)
9037 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9039 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9042 Remove unused functions.
9044 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9045 Set find-tag-default-function as a variable rather than a property.
9047 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9048 * progmodes/etags.el (tags-completion-at-point-function):
9049 Remove left over interactive spec. Add autoloading stub.
9050 (complete-tag): Use tags-completion-at-point-function.
9052 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9054 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9056 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9058 * ido.el (ido-init-completion-maps): Remove C-v binding.
9059 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9061 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9063 * minibuffer.el (tags-completion-at-point-function): New function.
9064 (completion-at-point-functions): Use it.
9066 * progmodes/etags.el (complete-tag): Revert last change.
9068 2010-04-29 Alan Mackenzie <acm@muc.de>
9070 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9071 off-by-one error (in end of macro position).
9073 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9076 firefox is absent. Don't autoload.
9077 (browse-url-galeon-program): Don't autoload.
9079 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9081 * bindings.el (complete-symbol): Move into minibuffer.el.
9083 * minibuffer.el (complete-tag): Move from etags.el. If tags
9084 completion cannot be performed, return nil instead of signalling
9086 (completion-at-point): Make it an alias for complete-symbol.
9087 (complete-symbol): Move from bindings.el, and replace with the
9088 body of completion-at-point.
9090 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9092 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9094 * net/tramp.el (tramp-remote-selinux-p): New defun.
9095 (tramp-handle-file-selinux-context)
9096 (tramp-handle-set-file-selinux-context): Use it.
9098 2010-04-28 Sam Steingold <sds@gnu.org>
9100 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9101 `safe-local-variable' if the value is a string or a symbol with
9102 the property `bug-reference-url-format'.
9104 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9106 * progmodes/bug-reference.el (bug-reference-url-format):
9107 Revert 2010-04-27 change due to security risk.
9109 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9111 Make it possible to locally disable a globally enabled mode.
9112 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9113 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9114 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9115 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9116 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9117 that subsequent hooks get a chance to disable it.
9119 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9121 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9122 Avoid re-enabling a minor mode after the user turned the minor mode
9123 off if MODE-enable-in-buffers is run twice (typically once from
9124 fundamental-mode's after-change-major-mode-hook and a second time from
9125 run-mode-hook's own after-change-major-mode-hook).
9127 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9129 2010-04-27 Sam Steingold <sds@gnu.org>
9131 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9132 `safe-local-variable' if the value is a string or a function, as
9133 documented and implemented on 2010-04-02.
9135 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9137 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9138 when method is 'kill.
9140 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9142 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9143 condition in default directory check.
9144 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9145 Kill ispell process when killing its associated buffer.
9147 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9149 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9150 but we aren't using it.
9152 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9154 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9155 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9157 2010-04-24 Glenn Morris <rgm@gnu.org>
9159 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9160 Ignore VCS-ignore files, and deleted nextstep preferences files.
9161 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9162 (authors-ambiguous-files): New list.
9163 (authors-valid-file-names): Add some deleted files.
9164 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9165 (authors-disambiguate-file-name): New function. (Bug#5501)
9166 (authors-canonical-file-name): Doc fix.
9167 Don't warn about obsolete files.
9168 (authors-canonical-file-name, authors-scan-el):
9169 Use authors-disambiguate-file-name.
9171 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9172 Add autoload cookies.
9173 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9174 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9175 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9176 They have definitions / compiler macros in cl.el.
9177 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9178 Replace manual autoloads with generated ones.
9179 (htmlfontify-unload-rgb-file): Remove autoload.
9180 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9182 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9185 (byte-compile-setq-default): Optimize for the
9186 single-var case and don't call byte-compile-form in this case to avoid
9187 inf-loop with byte-compile-set-default.
9189 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9191 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9193 Implement SELINUX backends.
9195 * net/tramp.el (tramp-file-name-handler-alist):
9196 Add `file-selinux-context' and `set-file-selinux-context'.
9197 (tramp-handle-file-selinux-context)
9198 (tramp-handle-set-file-selinux-context): New defuns.
9199 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9200 Handle PRESERVE-SELINUX-CONTEXT.
9202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9203 Add `file-selinux-context' and `set-file-selinux-context'.
9204 (tramp-gvfs-handle-file-selinux-context)
9205 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9206 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9208 * net/ange-ftp.el (ange-ftp-copy-file):
9209 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9210 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9211 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9212 Add PRESERVE-SELINUX-CONTEXT.
9214 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9216 Synchronize with Tramp repository.
9218 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9219 (tramp-action-process-alive, tramp-action-out-of-band)
9220 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9221 (tramp-exists-file-name-handler): Fix docstring.
9222 (with-progress-reporter): New defmacro.
9223 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9224 (tramp-maybe-open-connection): Use it.
9226 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9228 Detect ssh 'ControlMaster' argument automatically in some cases.
9230 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9231 (tramp-default-method): Use it.
9233 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9235 * net/tramp.el (tramp-handle-copy-file): Add new optional
9236 parameter `preserve-selinux-context'.
9237 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9239 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9241 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9242 Ensure, that non remote files are still checked. Oops.
9244 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9248 * icomplete.el (icomplete-completions): Use `non-essential'.
9250 * net/tramp.el (tramp-connectable-p): New defun.
9251 (tramp-handle-expand-file-name)
9252 (tramp-completion-handle-file-name-all-completions)
9253 (tramp-completion-handle-file-name-completion): Use it.
9255 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9259 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9261 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9263 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9265 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9268 * info.el (info-tool-bar-map): Add labels.
9270 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9272 * cus-edit.el (custom-commands): Add labels for tool bar.
9273 (custom-buffer-create-internal, Custom-mode): Adjust for
9274 labels in custom-commands.
9276 * dynamic-setting.el: Renamed from font-setting.el.
9278 2010-04-21 John Wiegley <jwiegley@gmail.com>
9280 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9281 toggles the use of virtual buffers.
9282 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9283 (ido-toggle-virtual-buffers): New function.
9285 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9287 Use `define-derived-mode'; fix window selection; doc fixes.
9288 * play/tetris.el (tetris, tetris-update-speed-function)
9289 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9290 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9291 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9292 (tetris-pause-game): Fix typos in docstrings.
9293 (tetris-mode-map, tetris-null-map):
9294 Move initialization into declaration.
9295 (tetris-mode): Define with `define-derived-mode';
9296 set show-trailing-whitespace to nil.
9297 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9299 2010-04-21 Karel Klíč <kklic@redhat.com>
9301 * files.el (backup-buffer): Handle SELinux context, and return it
9302 if a backup was made by renaming.
9303 (backup-buffer-copy): Set SELinux context to the target file.
9304 (basic-save-buffer): Set SELinux context of the newly written file.
9305 (basic-save-buffer-1): Now it also returns any SELinux context.
9306 (basic-save-buffer-2): Set SELinux context of the newly created file,
9308 * net/tramp.el (tramp-file-name-for-operation):
9309 Add file-selinux-context.
9311 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9313 Make the log-edit comments use RFC822 format throughout.
9315 * vc.el (vc-checkin, vc-modify-change-comment):
9316 Adjust to new vc-start/finish-logentry.
9317 (vc-find-conflicted-file): New command.
9318 (vc-transfer-file): Adjust to new vc-checkin.
9319 (vc-next-action): Improve scoping.
9321 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9322 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9324 * vc-git.el (vc-git-log-edit-mode): Remove.
9325 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9326 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9328 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9329 (vc-start-logentry): Remove argument `extra'.
9330 (vc-finish-logentry): Remove extra args.
9332 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9333 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9334 (vc-bzr-conflicted-files): New function.
9336 * log-edit.el (log-edit-extra-flags)
9337 (log-edit-before-checkin-process): Remove.
9338 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9339 (log-edit-headers-alist): New var.
9340 (log-edit-header-contents-regexp): New const.
9341 (log-edit-match-to-eoh): New function.
9342 (log-edit-font-lock-keywords): Use them.
9343 (log-edit): Insert a "Summary:" header as default.
9344 (log-edit-mode): Mark font-lock rules as case-insensitive.
9345 (log-edit-done): Cleanup headers.
9346 (log-view-process-buffer): Remove.
9347 (log-edit-extract-headers): New function to replace it.
9349 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9351 * subr.el (default-direction-reversed): Remove obsolescence info.
9353 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9358 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9359 I.e. include text after point in the completion region.
9360 Also, return nil when we're not after/in a symbol.
9362 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9363 default enable-multibyte-characters.
9365 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9367 * international/mule.el: Help the user choose a valid coding-system.
9368 (read-buffer-file-coding-system): New function.
9369 (set-buffer-file-coding-system): Use it. Prompt the user if the
9370 coding-system cannot encode all the chars.
9372 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9373 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9374 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9375 Don't use *vc-bzr-shelve*.
9377 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9379 Fix the version number for added files.
9380 * vc-hg.el (vc-hg-working-revision): Check if the file is
9381 registered after hg parent fails (Bug#5961).
9383 2010-04-19 Glenn Morris <rgm@gnu.org>
9385 * htmlfontify.el (htmlfontify-buffer)
9386 (htmlfontify-copy-and-link-dir): Autoload entry points.
9388 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9390 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9391 name relative to the project root (Bug#5960).
9393 2010-04-19 Glenn Morris <rgm@gnu.org>
9395 * vc-git.el (vc-git-print-log): Doc fix.
9397 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9399 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9401 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9403 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9404 default settings (Bug#5928).
9406 2010-04-19 Glenn Morris <rgm@gnu.org>
9408 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9410 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9412 2010-04-19 Kenichi Handa <handa@m17n.org>
9414 * language/indian.el (malayalam-composable-pattern): Fix previous
9415 change (add U+0D4D "SIGN VIRAMA").
9416 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9417 (tamil-composable-pattern): Fix typo in the regexp.
9418 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9419 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9420 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9422 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9424 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9425 paragraph-separate (Bug#5821).
9427 2010-04-19 Juri Linkov <juri@jurta.org>
9429 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9431 * info.el (Info-find-node-2): Comment out code that skips
9433 (Info-mouse-follow-link): New command.
9434 (Info-link-keymap): New keymap.
9435 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9436 Return a string with links instead of inserting breadcrumbs
9438 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9439 Instead of putting the `invisible' text property over the Info
9440 header, make an overlay over the Info header with the `invisible'
9441 property and `after-string' set to the string returned by
9444 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9446 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9447 Reported by monkey@sandpframing.com.
9449 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9451 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9452 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9453 available in the "keyseq cache" any more.
9455 * custom.el (defcustom): Add edebug spec.
9457 2010-04-18 Juri Linkov <juri@jurta.org>
9459 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9461 * view.el (view-file, view-buffer): Move test for special mode-class
9462 from view-file to view-buffer.
9464 * tar-mode.el (tar-extract): Turn if's into one cond
9465 like in arc-mode.el.
9467 2010-04-18 Juri Linkov <juri@jurta.org>
9469 Add 7z archive format support (bug#5475).
9471 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9472 (archive-7z-extract): New defcustom.
9473 (archive-find-type): Add magic string for 7z.
9474 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9475 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9476 `buffer' arg of `call-process'.
9477 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9478 call the function `archive-7z-extract' with the variable
9479 `archive-7z-extract' let-bound to `archive-zip-extract'.
9480 (archive-7z-summarize, archive-7z-extract): New functions.
9482 * international/mule.el (auto-coding-alist):
9483 * files.el (auto-mode-alist): Add 7z file extension.
9485 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * loadup.el: Setup hash-cons for pure data.
9489 Fix duplicate entries in cedet's loaddefs.el files.
9490 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9491 Should make most file-local generated-autoload-file unnecessary.
9492 (print-readably): Silence warnings.
9493 (autoload-find-destination): Take load-name as an arg to make sure
9494 it's the same as the one that will be in the file.
9495 (autoload-generate-file-autoloads): Adjust to above changes.
9496 Try to make the dataflow a bit simpler.
9498 * cvs-status.el (cvs-refontify): Remove unused.
9500 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9502 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9504 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9505 twos-complement mode.
9507 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9509 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9510 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9511 (calc-inverse): Add "Option" to message, as appropriate.
9512 (calc-hyperbolic): Add "Option" to message, as appropriate.
9513 (calc-option, calc-is-option): New functions.
9515 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9516 (calc-option-prefix-help): New function.
9518 * calc/calc-misc.el (calc-help): Add "Option" entry.
9520 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9521 (calc-option-flag): New variable.
9522 (calc-do): Set `calc-option-flag to nil.
9523 (calc-set-mode-line): Add "Opt " as appropriate.
9525 2010-04-16 Juri Linkov <juri@jurta.org>
9527 Move scrolling commands from simple.el to window.el
9528 because their primitives are implemented in window.c.
9530 * simple.el (scroll-error-top-bottom)
9531 (scroll-up-command, scroll-down-command, scroll-up-line)
9532 (scroll-down-line, scroll-other-window-down)
9533 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9534 * window.el (scroll-error-top-bottom)
9535 (scroll-up-command, scroll-down-command, scroll-up-line)
9536 (scroll-down-line, scroll-other-window-down)
9537 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9538 Move from simple.el to window.el because their primitives are
9539 implemented in window.c.
9541 2010-04-16 Juri Linkov <juri@jurta.org>
9543 * isearch.el (isearch-lookup-scroll-key): Check both
9544 `isearch-scroll' and `scroll-command' properties.
9545 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9547 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9549 * simple.el (scroll-up-command, scroll-down-command)
9550 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9552 2010-04-15 Juri Linkov <juri@jurta.org>
9554 * simple.el (scroll-up-command, scroll-down-command)
9555 (scroll-up-line, scroll-down-line): Put `scroll-command'
9556 property on the these symbols. Remove them from
9557 `scroll-preserve-screen-position-commands'.
9559 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9560 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9561 Remove it from `scroll-preserve-screen-position-commands'.
9563 * isearch.el (isearch-allow-scroll): Doc fix.
9565 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9567 * net/tramp.el (tramp-error-with-buffer): Don't show the
9568 connection buffer when we are in completion mode.
9569 (tramp-file-name-handler): Catch the error for some operations
9570 when we are in completion mode. This gives the user the chance to
9571 correct the file name in the minibuffer.
9573 2010-04-15 Glenn Morris <rgm@gnu.org>
9575 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9577 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9579 Simplify by using `define-derived-mode'.
9580 * info.el (Info-mode):
9581 * calendar/todo-mode.el (todo-mode):
9582 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9583 (gomoku-mode-map): Move initialization into declaration.
9585 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9588 * ido.el (ido-file-name-all-completions-1):
9589 * minibuffer.el (minibuffer-completion-help):
9590 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9592 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9594 * simple.el (non-essential): New var.
9596 Add a new field `location' to bookmarks for non-file bookmarks.
9597 * bookmark.el (bookmark-location): Use the new field, if present.
9598 (bookmark-insert-location): Undo last change, not needed any more.
9599 * man.el (Man-bookmark-make-record):
9600 * woman.el (woman-bookmark-make-record): Add `location' field.
9602 2010-04-14 Juri Linkov <juri@jurta.org>
9604 * simple.el (scroll-error-top-bottom): New defcustom.
9605 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9607 * emulation/pc-select.el (pc-select-override-scroll-error):
9608 Obsolete in favor of `scroll-error-top-bottom'.
9610 2010-04-14 Juri Linkov <juri@jurta.org>
9612 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9613 `scroll-up-command' and `M-v' to `scroll-down-command'.
9615 * emulation/cua-rect.el (cua--init-rectangles):
9616 * forms.el (forms--change-commands):
9617 * image-mode.el (image-mode-map):
9618 Remap scroll-down-command and scroll-up-command
9619 in addition to scroll-down and scroll-up.
9621 2010-04-14 Juri Linkov <juri@jurta.org>
9623 * mwheel.el (scroll-preserve-screen-position-commands):
9624 Add mwheel-scroll to this list of commands.
9626 * simple.el (scroll-preserve-screen-position-commands):
9627 Add scroll-up-command, scroll-down-command, scroll-up-line,
9628 scroll-down-line to this list of commands.
9630 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9632 * obsolete/complete.el: Move from lisp/complete.el.
9634 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9636 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9637 to the minor mode function now turns the mode ON unconditionally.
9639 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9641 * vc-dir.el (vc-dir-kill-line): New command.
9642 (vc-dir-mode-map): Bind it to C-k.
9644 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9646 * woman.el: Add bookmark declarations to silence the compiler.
9647 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9648 step to compatibility between man and woman bookmarks.
9649 Adjust for Man-default-bookmark-title renaming.
9650 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9652 * man.el: Add bookmark declarations to silence the compiler.
9653 (Man-name-local-regexp): Make it match NAME as well.
9654 (Man-getpage-in-background): Return the buffer.
9655 (Man-notify-when-ready): Use `case'.
9656 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9657 Don't hardcode "NAME". Simplify.
9658 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9659 Rename from Man-bookmark-make-record.
9660 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9661 we have the actual man-args. Use Man-getpage-in-background rather
9662 than `man' since the arg is already processed. Let bookmark.el do the
9663 window handling. Only wait for the relevant process.
9664 Don't forget to autoload.
9666 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9668 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9670 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9672 (woman-mode): Setup bookmark support.
9674 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9675 (man-bookmark-jump): New functions.
9676 (Man-mode): Setup bookmark support.
9678 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9680 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9681 recognize ssh-keygen prompt (Bug#2817).
9683 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9685 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9687 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9689 Synchronize with Tramp repository.
9691 * net/tramp.el (tramp-completion-function-alist)
9692 (tramp-file-name-regexp, tramp-chunksize)
9693 (tramp-local-coding-commands, tramp-remote-coding-commands):
9695 (tramp-remote-process-environment): Use `format' instead of `concat'.
9696 (tramp-handle-directory-files-and-attributes)
9697 (tramp-get-remote-path): Use `copy-tree'.
9698 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9699 compatibility: Use `completion-ignore-case' if
9700 `read-file-name-completion-ignore-case' does not exist.
9701 (tramp-do-copy-or-rename-file-directly): Do not use
9702 `tramp-handle-file-remote-p'.
9703 (tramp-do-copy-or-rename-file-out-of-band):
9704 Use `tramp-compat-delete-directory'.
9705 (tramp-do-copy-or-rename-file-out-of-band)
9706 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9707 Use `format-spec-make'.
9708 (tramp-find-foreign-file-name-handler)
9709 (tramp-advice-make-auto-save-file-name)
9710 (tramp-set-auto-save-file-modes): Remove superfluous check for
9711 `stringp'. This is done inside `tramp-tramp-file-p'.
9712 (tramp-debug-outline-regexp): New defconst.
9713 (tramp-get-debug-buffer): Use it.
9714 (tramp-check-for-regexp): Use (forward-line 1).
9715 (tramp-set-auto-save-file-modes): Adapt version check.
9717 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9718 Wrap call of `featurep' for 2nd argument.
9719 (tramp-compat-make-temp-file): Simplify fallback implementation.
9720 (tramp-compat-copy-tree): Remove function.
9721 (tramp-compat-delete-directory): Provide implementation for older
9724 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9725 Do not use `tramp-fish-handle-file-attributes.
9727 * net/trampver.el: Update release number.
9729 2010-04-10 Glenn Morris <rgm@gnu.org>
9731 * progmodes/compile.el (compilation-save-buffers-predicate):
9732 Add missing :version tag.
9734 2010-04-09 Sam Steingold <sds@gnu.org>
9736 * progmodes/compile.el (compilation-save-buffers-predicate):
9737 Remove the "autoload" cookie.
9739 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9740 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9741 and `bug-reference-prog-mode' can be used in hooks directly.
9743 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9745 Add --author support to git commit.
9746 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9747 (vc-git-log-edit-mode): New minor mode.
9748 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9751 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9753 * vc-hooks.el, vc-git.el: Improve documentation comments.
9755 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9757 Fix some of the problems in defsubst* (bug#5728).
9758 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9759 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9761 2010-04-07 Sam Steingold <sds@gnu.org>
9763 * progmodes/compile.el (compilation-save-buffers-predicate):
9764 New custom variable.
9765 (compile, recompile): Pass it to `save-some-buffers'.
9767 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9769 * wid-edit.el (widget-choose): Move cursor to the second line of
9770 the buffer (Bug#5695).
9772 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9774 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9775 * vc.el (vc-print-log-setup-buttons): New function split out from
9776 vc-print-log-internal.
9777 (vc-log-internal-common): New function, a parametrized version of
9778 vc-print-log-internal.
9779 (vc-print-log-internal): Just call vc-log-internal-common with the
9781 (vc-incoming-outgoing-internal):
9782 (vc-log-incoming, vc-log-outgoing): New functions.
9783 (vc-log-view-type): New permanent local variable.
9785 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9787 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9788 of the dynamic bound vc-short-log.
9789 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9791 * vc-git.el (vc-git-log-outgoing): New function.
9792 (vc-git-log-view-mode): Use vc-log-view-type instead
9793 of the dynamic bound vc-short-log.
9795 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9796 of the dynamic bound vc-short-log. Highlight the tag.
9797 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9798 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9799 (vc-hg-incoming-mode): Remove.
9800 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9802 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9804 Fix default-directory for vc-root-diff.
9805 * vc.el (vc-root-diff): Bind default-directory to the root
9806 directory for the diff command.
9808 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9810 * progmodes/verilog-mode.el (verilog-forward-sexp):
9811 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9812 word keywords, suggested by Steve Pearlmutter.
9813 (verilog-pretty-declarations): Support lineup of declarations in
9815 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9816 fix bug for /* / comments.
9817 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9818 Speed up and simplfy as this is never called with a bound.
9819 (verilog-pretty-declarations): Enhance to line up declarations
9820 inside a parameter list, suggested by Alan Morgan.
9821 (verilog-pretty-expr): Tune assignment regular expression match
9822 string for corner cases; also use markers instead of character
9823 number as indent changes the later.
9825 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9827 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9829 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9830 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9831 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9832 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9835 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9836 1800-2009 keywords, including "global.".
9838 2010-04-06 John Wiegley <jwiegley@gmail.com>
9840 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9841 appearing in buffer list (if a live buffer name matched a recentf
9842 file basename). Should use uniquify to offer a real solution.
9844 2010-04-06 John Wiegley <jwiegley@gmail.com>
9846 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9847 comment to code, and add a :version tag.
9848 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9850 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9852 Enable recentf-mode if using virtual buffers.
9853 * ido.el (recentf-list): Declare for byte-compiler.
9854 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9855 (ido-make-buffer-list): Simplify.
9856 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9858 2010-04-05 Juri Linkov <juri@jurta.org>
9860 Scrolling commands which scroll a line instead of full screen.
9861 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9863 * simple.el (scroll-up-line, scroll-down-line): New commands.
9864 Put property isearch-scroll=t on them.
9866 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9869 2010-04-05 Juri Linkov <juri@jurta.org>
9871 Scrolling commands which do not signal errors at top/bottom.
9872 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9874 * simple.el (scroll-up-command, scroll-down-command): New commands.
9875 Put property isearch-scroll=t on them.
9877 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9878 `scroll-down-command' and [next] from `scroll-up' to
9879 `scroll-up-command'.
9881 * emulation/cua-base.el: Put property CUA=move on
9882 `scroll-up-command' and `scroll-down-command'.
9883 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9884 and `scroll-down-command' to `cua-scroll-down'.
9886 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9888 * help.el (describe-mode): Return nil.
9890 2010-04-04 John Wiegley <jwiegley@gmail.com>
9892 * ido.el (ido-use-virtual-buffers): New variable to indicate
9893 whether "virtual buffer" support is enabled for IDO.
9894 (ido-virtual): Face used to indicate virtual buffers in the list.
9895 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9896 exists, but a virtual buffer of that name does (which would be why
9897 it was in the list), recreate the buffer by reopening the file.
9898 (ido-make-buffer-list): If virtual buffers are being used, call
9899 `ido-add-virtual-buffers-to-list' before the make list hook.
9900 (ido-virtual-buffers): New variable which contains a copy of the
9901 current contents of the `recentf-list', albeit pared down for the
9902 sake of speed, and with proper faces applied.
9903 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9904 create a list of "virtual buffers" to present to the user in
9905 addition to the currently open set. Note that this logic could
9906 get rather slow if that list is too large. With the default
9907 `recentf-max-saved-items' of 200, there is little speed penalty.
9909 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * font-lock.el: Require CL when compiling.
9912 (font-lock-turn-on-thing-lock): Use `case'.
9914 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9916 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9919 2010-04-02 Juri Linkov <juri@jurta.org>
9921 * ehelp.el (electric-help-orig-major-mode):
9922 New buffer-local variable.
9923 (electric-help-mode): Set it to original major-mode. Doc fix.
9924 (with-electric-help): Use `electric-help-orig-major-mode' instead
9925 of (default-value 'major-mode). Doc fix.
9926 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9928 2010-04-02 Sam Steingold <sds@gnu.org>
9930 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9931 `vc-hg-command' with a list of flags.
9933 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9934 Also accept "patch" and "RFE".
9935 (bug-reference-fontify): `bug-reference-url-format' can also be a
9936 function to be able to handle the bug kind.
9937 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9939 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9941 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9942 value to fboundp, it may not be a symbol.
9944 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9946 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9948 2010-03-31 Juri Linkov <juri@jurta.org>
9950 * simple.el (next-line, previous-line): Re-throw a signal
9951 with `signal' instead of using `ding'.
9952 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9954 2010-03-31 Juri Linkov <juri@jurta.org>
9956 * simple.el (keyboard-escape-quit): Raise deselecting the active
9957 region higher than exiting the minibuffer.
9958 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9960 2010-03-31 Juri Linkov <juri@jurta.org>
9962 * image.el (image-animated-p): Use `image-metadata' instead of
9963 `image-extension-data'. Get GIF extenstion data from metadata
9964 property `extension-data'.
9966 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * simple.el (append-to-buffer): Simplify.
9970 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9972 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9973 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9975 2010-03-31 Kenichi Handa <handa@m17n.org>
9977 * language/sinhala.el (composition-function-table): Fix regexp for
9978 the new Unicode specification.
9980 * language/indian.el (devanagari-composable-pattern)
9981 (tamil-composable-pattern, kannada-composable-pattern)
9982 (malayalam-composable-pattern): Adjust for the new Unicode
9984 (bengali-composable-pattern, gurmukhi-composable-pattern)
9985 (gujarati-composable-pattern, oriya-composable-pattern)
9986 (telugu-composable-pattern): New variables to cope with the new
9987 Unicode specification. Use them in composition-function-table.
9989 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9991 Make tmm-menubar work for the Buffers menu again (bug#5726).
9992 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9993 vectors rather than cons cells, as used in menu-bar-update-buffers.
9995 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9997 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9998 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9999 electric punctuation for "{}();,:" (Bug#5586).
10001 * mail/sendmail.el (mail-default-directory): Doc fix.
10003 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10005 * mail/sendmail.el (mail-default-directory): Doc fix.
10007 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10009 * subr.el (version-regexp-alist, version-to-list)
10010 (version-list-<, version-list-=, version-list-<=)
10011 (version-list-not-zero, version<, version<=, version=): Doc fix.
10014 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10016 * vc.el (vc-root-diff): Doc fix.
10018 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10020 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10022 * simple.el (append-to-buffer): Fix last change.
10024 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10026 * simple.el (append-to-buffer): Ensure that point is preserved if
10027 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10030 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * files.el (auto-mode-case-fold): Change default to t.
10034 2010-03-30 Juri Linkov <juri@jurta.org>
10036 * dired-x.el (dired-omit-mode): Doc fix.
10038 2010-03-30 Juri Linkov <juri@jurta.org>
10040 * replace.el (occur-accumulate-lines): Move occur-engine related
10041 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10042 to be located after `occur-engine'.
10044 2010-03-30 Juri Linkov <juri@jurta.org>
10046 Make occur handle multi-line matches cleanly with context.
10047 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10049 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10050 (occur-engine): Add local variables `ret', `prev-after-lines',
10051 `prev-lines'. Use more arguments for `occur-context-lines'.
10052 Set first elem of its returned list to `data', and the second elem
10053 to `prev-after-lines'. Don't print the separator line.
10054 In the end, print remaining context after-lines.
10055 (occur-context-lines): Add new arguments `begpt', `endpt',
10056 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10057 after-lines of the previous match with before-lines of the
10058 current match and not overlap them. Return a list with two
10059 values: the output line and the list of context after-lines.
10061 2010-03-30 Juri Linkov <juri@jurta.org>
10063 * replace.el (occur-accumulate-lines): Fix a bug where the first
10064 context line at the beginning of the buffer was missing.
10066 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10068 * files.el: Make bidi-display-reordering safe variable for boolean
10071 2010-03-29 Phil Hagelberg <phil@evri.com>
10072 Chong Yidong <cyd@stupidchicken.com>
10074 * subr.el: Extend progress reporters to perform "spinning".
10075 (progress-reporter-update, progress-reporter-do-update):
10076 Handle non-numeric value arguments.
10077 (progress-reporter--pulse-characters): New var.
10079 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10081 * progmodes/compile.el (compilation-start): Fix regexp detection
10082 of initial cd command (Bug#5771).
10084 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10086 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10088 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10090 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10091 * progmodes/gdb-mi.el: Restore.
10092 * progmodes/gdb-ui.el: Remove.
10093 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10095 2010-03-25 Glenn Morris <rgm@gnu.org>
10097 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10098 all dired buffers, even tramp ones. (Bug#5755)
10100 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10102 Add "union tags" in mpc.el.
10103 * mpc.el: Remove backward compatibility code.
10104 (mpc-browser-tags): Change default.
10105 (mpc--find-memoize-union-tags): New var.
10106 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10107 (mpc-cmd-find): Handle the case where the playlist does not exist.
10109 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10110 (mpc-cmd-add): Use mpc-cmd-flush.
10111 (mpc-tagbrowser-tag-name): New fun.
10112 (mpc-tagbrowser-buf): Use it.
10113 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10115 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10119 Use replace-regexp-in-string.
10120 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10121 (makefile-imake-mode-syntax-table): Move init into defvar.
10122 (makefile-mode): Use define-derived-mode.
10124 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10125 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10126 not be present any more.
10128 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10130 * faces.el (set-face-attribute): Fix typo in docstring.
10131 (face-valid-attribute-values): Reflow docstring.
10133 2010-03-24 Glenn Morris <rgm@gnu.org>
10135 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10137 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10139 * indent.el (indent-for-tab-command): Doc fix.
10141 2010-03-24 Alan Mackenzie <acm@muc.de>
10143 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10144 Fix off-by-one error. Fixes bug #5747.
10146 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10148 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10149 (image-dired-read-comment): Doc fix.
10151 * json.el (json-object-type, json-array-type, json-key-type)
10152 (json-false, json-null, json-read-number):
10153 * minibuffer.el (completion-in-region-functions):
10154 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10155 (cal-tex-cursor-week):
10156 * emacs-lisp/trace.el (trace-function):
10157 * eshell/em-basic.el (eshell/printnl):
10158 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10159 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10160 * obsolete/levents.el (allocate-event, event-key, event-object)
10161 (event-point, event-process, event-timestamp, event-to-character)
10162 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10163 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10164 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10165 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10166 (reftex-highlight-selection): Fix typos in docstrings.
10168 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10170 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10172 2010-03-24 Glenn Morris <rgm@gnu.org>
10174 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10175 2008-02-13 without comment; mark it obsolete.
10176 (rmail-highlight-headers): Use rmail-highlight-face once more.
10178 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10180 * woman.el (woman2-process-escapes): Only consume the newline if
10181 the filler character is on a line by itself (Bug#5729).
10183 2010-03-24 Kenichi Handa <handa@m17n.org>
10185 * language/indian.el (devanagari-composable-pattern): Add more
10188 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10190 * net/trampver.el: Update release number.
10192 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10194 * net/tramp.el (tramp-find-executable):
10195 Use `tramp-get-connection-buffer'. Make the regexp for checking
10196 output of "wc -l" more robust.
10197 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10198 (tramp-open-connection-setup-interactive-shell): Remove workaround
10199 for OpenSolaris bug, it is not needed anymore.
10201 2010-03-24 Glenn Morris <rgm@gnu.org>
10203 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10205 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10207 * files.el (auto-mode-alist): Accept more verilog file patterns.
10209 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10213 2010-03-24 Glenn Morris <rgm@gnu.org>
10215 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10216 log-edit-before-checkin-process.
10218 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10220 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10222 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10223 (log-view-process-buffer, log-edit-extra-flags): Declare.
10225 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10227 2010-03-23 Sam Steingold <sds@gnu.org>
10229 Fix bug#5620: recalculate all markers on compilation buffer
10230 modifications, not on file modifications.
10231 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10232 variable: the buffer modification time, for buffers not associated with
10234 (compilation-mode): Create it.
10235 (compilation-filter): Update it.
10236 (compilation-next-error-function): Use it instead of
10237 `visited-file-modtime' for timestamp.
10239 2010-03-23 Juri Linkov <juri@jurta.org>
10241 Implement Occur multi-line matches.
10242 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10244 * replace.el (occur): Doc fix.
10245 (occur-engine): Set `begpt' to the beginning of the first line.
10246 Set `endpt' to the end of the last match line. At first, count
10247 line numbers between `origpt' and `begpt'. Split out code from
10248 `out-line' variable to new let-bindings `match-prefix' and
10249 `match-str'. In `out-line' add non-numeric prefix to all
10250 non-first lines of multi-line matches. Finally, count lines
10251 between `begpt' and `endpt' and add to `lines'.
10253 2010-03-23 Juri Linkov <juri@jurta.org>
10255 * replace.el (occur-accumulate-lines, occur-engine):
10256 Use `occur-engine-line' instead of duplicate code.
10257 (occur-engine-line): New function created from duplicate code
10258 in `occur-accumulate-lines' and `occur-engine'.
10260 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10261 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10263 2010-03-23 Juri Linkov <juri@jurta.org>
10265 * finder.el: Remove TODO tasks.
10267 * info.el (Info-finder-find-node): Add node "all"
10268 with all package info. Handle a list of multiple keywords
10269 separated by comma.
10270 (info-finder): In interactive use with a prefix argument,
10271 use `completing-read-multiple' to read a list of keywords
10272 separated by comma.
10274 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10276 Add a new completion style `substring'.
10277 * minibuffer.el (completion-basic--pattern): New function.
10278 (completion-basic-try-completion, completion-basic-all-completions):
10280 (completion-substring--all-completions)
10281 (completion-substring-try-completion)
10282 (completion-substring-all-completions): New functions.
10283 (completion-styles-alist): New style `substring'.
10285 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10287 Get rid of .elc files after removal of the corresponding .el.
10288 * Makefile.in (compile-clean): New target.
10289 (compile-main): Use it.
10291 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10293 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10294 don't do make there. When compiling with separate object dir, there
10295 is no Makefile there.
10297 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10299 Get rid of the ELCFILES abomination, again.
10300 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10301 (all, compile): Don't call compile-last.
10302 (compile-main): Build the "elcfiles" list dynamically.
10303 (compile-targets): New (internal) target.
10305 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10307 * Makefile.in (top_srcdir): Define.
10308 (abs_top_builddir): Define.
10309 (srcdir): Don't append `/..'.
10310 (EMACS): Use ${abs_top_builddir}.
10311 (all, compile, compile-always, compile-last): Don't set emacswd.
10312 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10314 (lisp): Use $(srcdir) instead of @srcdir@.
10316 2010-03-21 Juri Linkov <juri@jurta.org>
10318 Fix message of multi-line occur regexps and multi-buffer header lines.
10319 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10321 * replace.el (occur-1): Don't display regexp if it is longer
10322 than window-width. Use `query-replace-descr' to display regexp.
10323 (occur-engine): Don't display regexp in the buffer header for
10324 multi-buffer occur. Display a separate header line with total
10325 match count and regexp for multi-buffer occur.
10326 Use `query-replace-descr' to display regexp.
10328 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10330 * net/secrets.el: Fix parenthesis.
10331 (secrets-enabled): Fix parenthesis.
10333 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10335 Use more relative file and directory names.
10336 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10337 (setwins, setwins_almost, setwins_for_subdirs):
10338 Don't `cd'; output relative names.
10339 (all, compile, compile-always, compile-last): Set emacswd.
10340 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10341 Just cd to the lisp source dir so we can use relative file names.
10343 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10345 2010-03-20 Glenn Morris <rgm@gnu.org>
10347 * textmodes/rst.el: Use faces for font-lock customization, and make the
10348 old -face variables obsolete.
10349 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10350 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10351 (rst-block-face, rst-external-face, rst-definition-face)
10352 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10353 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10355 (rst-font-lock-keywords-function): Update for above changes.
10357 2010-03-20 Juri Linkov <juri@jurta.org>
10360 * obsolete/s-region.el: Move to obsolete.
10362 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10364 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10366 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10368 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10370 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10372 Add special markup processing for commit logs.
10373 * log-edit.el (log-edit-extra-flags): New variable.
10374 (log-edit): Add new argument MODE. Use that mode when non-nil
10375 instead of the log-view-mode.
10376 (log-view-process-buffer): New function.
10378 * vc.el: Document that the checkin method takes optional
10379 arguments. Document new backend specific method: log-view-mode.
10380 (vc-default-log-edit-mode): New function.
10381 (vc-checkin): Use a backend specific log-view-mode.
10382 Pass extra arguments to the checkin method.
10383 (vc-modify-change-comment): Pass a dummy extra argument.
10385 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10387 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10388 (vc-finish-logentry): Process the log buffer before passing it
10389 down. Pass log-edit-extra-flags.
10391 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10393 (log-edit-extra-flags, log-edit-before-checkin-process):
10396 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10398 (log-edit-extra-flags, log-edit-before-checkin-process):
10400 (vc-hg-log-edit-mode): New derived mode.
10402 * vc-arch.el (vc-arch-checkin):
10403 * vc-cvs.el (vc-cvs-checkin):
10404 * vc-git.el (vc-git-checkin):
10405 * vc-mtn.el (vc-mtn-checkin):
10406 * vc-rcs.el (vc-rcs-checkin):
10407 * vc-sccs.el (vc-sccs-checkin):
10408 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10410 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10412 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10415 2010-03-19 Glenn Morris <rgm@gnu.org>
10417 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10419 2010-03-18 Glenn Morris <rgm@gnu.org>
10421 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10423 * replace.el (query-replace-history): Give it a doc string.
10424 (map-query-replace-regexp): Use query-replace-from-history-variable
10425 and query-replace-to-history-variable.
10427 * mail/hashcash.el (declare-function): Remove duplicate definition.
10429 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10430 Make it an obsolete alias for report-emacs-bug-address.
10431 (message-strip-special-text-properties): Declare.
10432 (report-emacs-bug): Remove test for a pretest bug address.
10433 Combine message-mode-specific code.
10435 * mail/supercite.el: Don't require sendmail.
10436 (mh-in-header-p): Declare rather than using with-no-warnings.
10437 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10438 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10440 * calendar/cal-french.el: Convert to utf-8.
10442 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10445 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10447 * net/secrets.el (secrets-enabled): New variable. Use it instead
10450 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10452 * net/secrets.el (top): Register the D-Bus signals only when the
10453 service "org.freedesktop.secrets" can be pinged.
10454 Provide subfeature `enabled'.
10456 2010-03-14 Juri Linkov <juri@jurta.org>
10458 Add finder unknown keywords.
10460 * finder.el (finder-unknown-keywords): New function.
10462 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10463 to create a Finder node with unknown keywords.
10465 2010-03-14 Juri Linkov <juri@jurta.org>
10467 * finder.el (finder-compile-keywords): Replace `princ' with
10468 `prin1' on a list of symbols interned from keyword strings.
10470 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10471 a comma, then split keywords using a comma and optional whitespace.
10472 Otherwise, split by whitespace.
10480 * progmodes/mixal-mode.el: Fix keywords.
10482 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10484 * Makefile.in (ELCFILES): Add net/secrets.elc.
10486 * net/secrets.el: New file.
10488 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10490 * facemenu.el (list-colors-display, list-colors-print): New arg
10491 callback. Use it to allow selecting colors.
10493 * wid-edit.el (widget-image-insert): Insert image prop even if the
10494 current display is non-graphic.
10495 (widget-field-value-set): New fun.
10496 (editable-field): Use it.
10497 (widget-field-value-get): Clean up unused var.
10498 (widget-color-value-create, widget-color--choose-action):
10499 New funs. Allow using list-colors-display to choose color.
10501 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10503 * cus-edit.el: Resort topmost custom groups.
10504 (custom-buffer-sort-alphabetically): Default to t.
10505 (customize-apropos): Use apropos-parse-pattern.
10506 (custom-search-field): New var.
10507 (custom-buffer-create-internal): Add custom-apropos search field.
10508 (custom-add-parent-links): Don't display parent doc.
10509 (custom-group-value-create): Don't sort top-level custom group.
10510 (custom-magic-value-create): Show visibility button before option name.
10512 (custom-variable-state): New fun, from custom-variable-state-set.
10513 (custom-variable-state-set): Use it.
10514 (custom-group-value-create): Hide options with standard values
10515 using the :hidden-states property. Use progress reporter.
10517 (custom-show): Simplify.
10518 (custom-visibility): Disable images by default.
10519 (custom-variable): New property :hidden-states.
10520 (custom-variable-value-create): Enable images for
10521 custom-visibility widgets. Use :hidden-states property to
10522 determine initial visibility.
10524 * wid-edit.el (widget-image-find): Give images center ascent.
10525 (visibility): Add :on-image and :off-image properties.
10526 (widget-visibility-value-create): Use them.
10528 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10530 * cus-edit.el (processes): Remove from development group.
10531 (oop, hypermedia): Delete group.
10532 (comm): Promote to top-level group.
10534 * net/browse-url.el (browse-url):
10535 * net/xesam.el (xesam):
10536 * net/tramp.el (tramp):
10537 * net/goto-addr.el (goto-address):
10538 * net/ange-ftp.el (ange-ftp): Put in comm group.
10540 * view.el (view): Remove from editing group.
10542 * uniquify.el (uniquify): Put in files group.
10544 * net/browse-url.el (browse-url):
10545 * ps-print.el (postscript): Put in external group.
10547 * cus-edit.el (outlines):
10548 * textmodes/text-mode.el (text-mode-hook):
10549 * textmodes/table.el (table):
10550 * textmodes/picture.el (picture):
10551 * outline.el (outlines): Put in wp group.
10553 * nxml/nxml-mode.el (nxml): Remove from wp group.
10555 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10557 * mail/metamail.el (metamail): Remove from hypermedia group.
10559 * cus-edit.el (abbrev):
10560 * whitespace.el (whitespace):
10561 * vcursor.el (vcursor):
10562 * reveal.el (reveal):
10563 * hl-line.el (hl-line): Put in convenience group.
10565 * epg-config.el (epg): Put in data group.
10567 * emulation/pc-select.el (pc-select): Put in emulations group.
10569 * calculator.el (calculator): Put in applications group.
10571 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10573 Add .dir-locals.el support for file-less buffers.
10574 * files.el (hack-local-variables): Split out code to apply local
10575 variable settings ...
10576 (hack-local-variables-apply): ... here. New function.
10577 (hack-dir-local-variables): Use the default directory for when the
10578 buffer does not have an associated file.
10579 (hack-dir-local-variables-non-file-buffer): New function.
10580 * diff-mode.el (diff-mode):
10581 * vc-annotate.el (vc-annotate-mode):
10582 * vc-dir.el (vc-dir-mode):
10583 * log-edit.el (log-edit-mode):
10584 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10586 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10588 Add support for shelving snapshots and for showing shelves.
10589 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10590 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10592 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10593 (vc-bzr-extra-menu-map): Map them.
10595 2010-03-11 Glenn Morris <rgm@gnu.org>
10597 * cus-edit.el (customize-changed-options-previous-release):
10600 * image.el (image-animate-max-time): Fix :version tag.
10602 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10606 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * vc-git.el (vc-git-revision-table): Include remote branches.
10610 2010-03-10 Kim F. Storm <storm@cua.dk>
10612 Animated image API.
10613 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10615 * image.el (image-animate-max-time): New defcustom.
10616 (image-animated-types): New defconst.
10617 (create-animated-image, image-animate-timer)
10618 (image-animate-start, image-animate-stop, image-animate-timeout)
10619 (image-animated-p): New functions.
10621 * image-mode.el (image-toggle-display-image):
10622 Replace `create-image' with `create-animated-image'.
10624 2010-03-09 Miles Bader <miles@gnu.org>
10626 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10627 instead of "format:"; this ensures that the output is
10628 newline-terminated.
10630 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10632 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10633 that all errors are caught, and that the return value is always a
10636 2010-03-08 Kenichi Handa <handa@m17n.org>
10638 * language/misc-lang.el (windows-1256): New coding system.
10639 (cp1256): New alias of windows-1256 (bug#5690).
10641 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10643 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10644 call to rfc822-bad-address. (Bug#5692)
10646 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10648 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10649 Use vc-git-root as default directory for revision path (Bug#5657).
10651 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10653 * calculator.el (calculator): Don't bind split-window-keep-point
10656 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * vc-git.el: Re-flow to fit into 80 columns.
10659 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10660 Remove spurious `quote' element in each case alternative.
10661 (vc-git-show-log-entry): Use prog1.
10662 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10664 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10668 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10670 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10671 definition, not the name (Bug#5481).
10673 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10675 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10676 argument with a local variable. (Bug#5670)
10678 2010-03-02 Juri Linkov <juri@jurta.org>
10680 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10682 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10684 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10685 error when FILENAME and NEWNAME are existing remote directories.
10687 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10688 parameter DIR-FLAG.
10690 2010-03-02 Glenn Morris <rgm@gnu.org>
10692 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10693 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10695 2010-03-01 Kenichi Handa <handa@m17n.org>
10697 * language/burmese.el (burmese-composable-pattern): Rename from
10698 myanmar-composable-pattern.
10700 * international/characters.el (script-list):
10701 * international/fontset.el (script-representative-chars):
10702 Change myanmar to burmese.
10703 (otf-script-alist): Likewise.
10704 (setup-default-fontset): Likewise. Re-fix :otf spec.
10706 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10708 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10710 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10712 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10714 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10716 * net/tramp.el (tramp-handle-write-region): START can be a string.
10717 Take care in the checks. Reported by Dan Davison
10718 <davison@stats.ox.ac.uk>.
10720 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10722 * net/dbus.el (dbus-introspect, dbus-get-property)
10723 (dbus-set-property, dbus-get-all-properties):
10724 Use `dbus-call-method' when noninteractive. (Bug#5645)
10726 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10728 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10729 * emacs-lisp/elint.el (elint-add-required-env):
10730 * calendar/icalendar.el (icalendar--add-diary-entry):
10731 * calc/calcalg2.el (math-tracing-integral):
10732 * files.el (recover-session-finish): Use with-current-buffer
10733 instead of save-excursion.
10735 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10737 Fix in-buffer completion when after-change-functions modify the buffer.
10738 * minibuffer.el (completion--replace): New function.
10739 (completion--do-completion): Use it and use relative movement.
10741 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10743 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10745 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10747 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10748 Allow the characters _<> in the stack entry (Bug#5653).
10750 2010-02-26 Kenichi Handa <handa@m17n.org>
10752 * language/burmese.el: Fix entries in composition-function-table.
10753 (myanmar-composable-pattern): New variable.
10755 * international/fontset.el (setup-default-fontset): Add an entry
10758 * international/characters.el (script-list): Add Myanmar
10761 2010-02-26 Glenn Morris <rgm@gnu.org>
10763 * custom.el (custom-initialize-delay): Doc fix.
10765 * mail/sendmail.el (send-mail-function): Autoload the call
10766 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10768 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10770 * files.el (hack-local-variables-filter): For eval forms, also
10771 check safe-local-variable-p (Bug#5636).
10773 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10775 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10776 setting the modes by `ignore-errors'. It might fail, for example
10777 if the file is not owned by the user but the group.
10778 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10780 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10782 * files.el (directory-listing-before-filename-regexp):
10783 Use stricter matching for iso-style dates, to avoid false matches with
10784 date-like filenames (Bug#5597).
10786 * htmlfontify.el (htmlfontify): Doc fix.
10788 * eshell/eshell.el (eshell): Doc fix.
10790 * startup.el (fancy-about-screen): In mode-line, apply
10791 mode-line-buffer-id face only to the buffer name (Bug#5613).
10793 2010-02-20 Kevin Ryde <user42@zip.com.au>
10795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10796 In `watcom' anchor regexp to start of line, to avoid slowness
10799 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10801 * subr.el (remove-yank-excluded-properties): Explain in a comment
10802 why `category' property is removed.
10804 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10806 * isearch.el (isearch-update-post-hook, isearch-update):
10807 Revert 2010-02-17 change.
10809 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10811 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10812 (icalendar--convert-weekly-to-ical)
10813 (icalendar--convert-yearly-to-ical)
10814 (icalendar--convert-block-to-ical)
10815 (icalendar--convert-cyclic-to-ical)
10816 (icalendar--convert-anniversary-to-ical): Take care of time
10817 specifications where hour has 1-digit only (Bug#5549).
10819 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10821 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10822 of disassemble output in GDB 7.1.
10824 2010-02-19 Glenn Morris <rgm@gnu.org>
10826 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10827 property. (Bug#5593)
10829 2010-02-18 Sam Steingold <sds@gnu.org>
10831 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10833 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10835 Use abbreviated file names in bookmarks (bug#5591).
10836 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10837 calls to expand-file-name.
10838 (bookmark-relocate): Use abbreviated file names in bookmarks.
10839 (bookmark-load): Use abbreviated file names in messages.
10841 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10843 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10844 expand "." and "..". Reported by Thierry Volpiatto
10845 <thierry.volpiatto@gmail.com>.
10847 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10849 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10850 permissions of the temporary file to "0600". In case the remote
10851 file has no read permissions for the owner, there might be
10852 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10854 22010-02-18 Glenn Morris <rgm@gnu.org>
10856 * emacs-lisp/authors.el (authors-renamed-files-alist):
10857 Add entries for INSTALL.CVS.
10859 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10861 * vc-bzr.el: Fix typo in Known Bugs section.
10863 * isearch.el (isearch-update-post-hook): New hook.
10864 (isearch-update): Use the new hook.
10866 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10868 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10869 Fix errors in copying directories.
10870 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10871 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10872 (tramp-handle-delete-file)
10873 (tramp-handle-dired-recursive-delete-directory)
10874 (tramp-handle-write-region): Flush also the cache for the upper
10877 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10879 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10881 * cus-edit.el (hardware): Doc fix.
10883 * man.el (man): Add to external custom group.
10885 * delim-col.el (columns): Move to wp custom group.
10887 * doc-view.el (doc-view): Add to data custom group.
10889 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10891 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10892 by ispell-parse-output (Bug#5575).
10894 2010-02-16 Kenichi Handa <handa@m17n.org>
10896 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10897 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10898 (skkdic-convert): Use `euc-japan' coding system for writing.
10900 2010-02-16 Glenn Morris <rgm@gnu.org>
10902 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10903 tex-main-file before using it. (Bug#5562)
10905 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10908 warnings, since it is annoying for the user to see them each time he
10911 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10913 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10914 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10915 instead of PROC for caching "first-password-request". Otherwise,
10916 new processes would not profit from passwords already entered.
10918 * net/tramp-cache.el (tramp-dump-connection-properties):
10919 Don't save "first-password-request" property.
10921 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10923 * outline.el (outline-head-from-level):
10924 * simple.el (with-wrapper-hook):
10925 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10926 (elint-defun, elint-buffer-env, elint-top-form-logged)
10927 (elint-unbound-variable):
10928 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10929 Fix typos in docstrings.
10931 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10933 * files.el (insert-directory): When WILDCARD-REGEXP and
10934 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10935 whole directory. (Bug#5551)
10937 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10938 dired's alignment sanity. (Bug#5516)
10940 2010-02-14 Juri Linkov <juri@jurta.org>
10942 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10943 Remove remaining ^H with their preceding chars. (Bug#5566)
10945 2010-02-13 Glenn Morris <rgm@gnu.org>
10947 * simple.el (transpose-subr): Give it a doc-string.
10949 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10952 2010-02-12 Juri Linkov <juri@jurta.org>
10954 * arc-mode.el (archive-unique-fname): Make directories for nested
10955 archives. (Bug#5540)
10957 2010-02-12 Juri Linkov <juri@jurta.org>
10959 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10961 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * subr.el (copy-overlay): Handle deleted overlays.
10965 * man.el (Man-completion-table): Don't signal an error if we can't run
10966 manual-program (bug#4056).
10968 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10970 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10972 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10974 * info.el (Info-bookmark-jump): Simplify.
10976 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10977 (bookmark-default-handler): Accept new bookmark field `buffer'.
10979 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10981 * iswitchb.el (iswitchb-completions): Revert last change.
10983 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10985 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10986 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10987 This prevents file names like "~/" being listed literally.
10989 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10991 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10992 Remove dead code. (Bug#5546)
10994 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10996 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10997 correctly (Bug#5548).
10999 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11001 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11002 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11004 2010-02-08 Kenichi Handa <handa@m17n.org>
11006 * international/mule-util.el (with-coding-priority): Add autoload
11007 cookie for putting `lisp-indent-function'.
11009 2010-02-07 Glenn Morris <rgm@gnu.org>
11011 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11012 Move F2003 named interfaces from keywords-2 to keywords-1, and
11013 use function-name-face rather than constant-face.
11014 Simplify "abstract interface" regexp.
11016 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11018 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11019 ID-FORMAT. Pass it to `file-attributes'.
11021 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11023 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11025 * faces.el (set-face-attribute): Allow calling
11026 internal-set-lisp-face-attribute with 'unspecified family and
11027 foundry argument (Bug#5536).
11029 2010-02-07 Glenn Morris <rgm@gnu.org>
11031 * progmodes/f90.el (f90-font-lock-keywords-2)
11032 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11033 Handle F2003 named interfaces.
11035 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11037 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11038 beg and end before calling c-get-state-before-change-functions.
11040 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11042 * vc-bzr.el (vc-bzr-dir-extra-headers):
11043 Disable the pending merges header.
11045 2010-02-05 Juri Linkov <juri@jurta.org>
11047 * doc-view.el (doc-view-mode):
11048 * image-mode.el (image-mode): Put property mode-class=special.
11051 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11053 * vc-svn.el (vc-svn-revision-table): New function.
11055 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11057 * net/ange-ftp.el (ange-ftp-insert-directory):
11058 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11059 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11060 Handle also directories. (Bug#5478)
11062 2010-02-05 Glenn Morris <rgm@gnu.org>
11064 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11066 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11068 * startup.el (command-line-1): Convert options beginning with a
11069 single dash as well (Bug#5519).
11071 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11073 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11074 * minibuffer.el (completion-initials-expand): Only check the presence
11075 of delims *within* the boundaries, since otherwise the / delim is
11076 always found for files.
11078 Fix up various corner case problems.
11079 * doc-view.el (doc-view-last-page-number): New function.
11080 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11081 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11082 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11083 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11084 (doc-view-convert-current-doc): Don't create the resolution.el file
11086 (doc-view-pdf/ps->png): Do it here instead.
11087 (doc-view-already-converted-p): Check that resolution.el is present.
11088 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11089 windows that are not yet showing images.
11091 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11093 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11094 `dired-uncache' for every elemnt which is an absolute file name.
11096 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11097 directory, handle its directory component.
11098 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11099 function is called permanently and creates noise, otherwise.
11101 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11102 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11103 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11105 2010-02-04 David Burger <dburger@google.com> (tiny change)
11107 * macros.el (apply-macro-to-region-lines):
11108 Minor simplification. (Bug#5485)
11110 2010-02-04 Glenn Morris <rgm@gnu.org>
11112 * mail/rmail.el (rmail-show-message-1): Handle malformed
11113 quoted-printable text. (Bug#5441)
11115 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11117 * simple.el (visual-line-mode): Capitalize lighter.
11119 2010-02-03 John Wiegley <jwiegley@gmail.com>
11121 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11122 list of files considered for "virtual buffer" completions.
11124 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11126 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11127 also in case of (and (not full) (not wildcard)). This is needed
11128 when dired is called with a list of files, which are not in
11129 `default-directory'. (Bug#5478)
11131 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11135 2010-02-02 Juri Linkov <juri@jurta.org>
11137 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11138 from unidiff to allow function-line after @@.
11140 2010-02-02 Juri Linkov <juri@jurta.org>
11142 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11143 '(RCS SCCS) with inverted condition.
11145 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11147 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11150 2010-02-01 Juri Linkov <juri@jurta.org>
11152 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11153 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11154 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11155 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11157 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11159 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11160 (doc-view-revert-buffer): New command.
11161 (doc-view-mode-map): Use it.
11163 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11165 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11166 pending merge is detected.
11168 2010-01-31 Juri Linkov <juri@jurta.org>
11170 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11171 beginning of interactive spec like all other grep commands do.
11172 Put "all" in front of "gz". (Bug#5260)
11174 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11176 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11178 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11180 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11181 regexp is incorrect (Bug#5476).
11183 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11185 * net/tramp.el (tramp-handle-insert-directory): Handle also
11186 symlinks, when FILENAME is not in `default-directory'.
11188 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11190 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11191 FILE is not in `default-directory'. (Bug#5478)
11193 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11194 of SWITCHES. Handle the case, FILENAME is not in
11195 `default-directory'. (Bug#5478)
11196 (tramp-register-file-name-handlers): Add safe-magic property.
11198 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11200 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11203 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11205 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11206 (flymake-master-make-header-init): Add other C++ filename masks.
11207 (flymake-find-possible-master-files)
11208 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11210 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11212 Fix some busybox annoyances.
11214 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11215 not responding." string.
11216 (tramp-open-connection-setup-interactive-shell): Dump stty
11217 settings. Enable "neveropen" arg for all `tramp-send-command'
11218 calls. Handle "=" in variable values properly.
11219 (tramp-find-inline-encoding): Raise an error, when no encoding is
11221 (tramp-wait-for-output): Check, whether PROC buffer is available.
11222 Remove spurious " ^H" sequences, sent by busybox.
11223 (tramp-get-ls-command): Suppress coloring, if possible.
11225 2010-01-28 Glenn Morris <rgm@gnu.org>
11227 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11229 * log-edit.el (log-edit-strip-single-file-name): Add missing
11230 :safe, :group, and :version tags.
11232 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11234 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11235 buffers. (Bug#5477)
11237 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11239 * files.el (delete-directory): Handle moving to trash without
11240 first doing recursion (Bug#5436).
11242 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11244 * vc-hooks.el (vc-path): Mark as obsolete.
11246 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11248 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11251 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11253 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11255 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11257 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11259 * vc-bzr.el (vc-bzr-revision-table): New function.
11261 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11263 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11264 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11266 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11268 Remove support for adding --signoff on commit.
11269 Future support will use an incompatible generic mechanism.
11270 * vc-git.el (vc-git-add-signoff): Remove variable.
11271 (vc-git-toggle-signoff): Remove function.
11272 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11274 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11275 Rename from xterm-set-background-mode. Return t if the background mode
11277 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11278 earlier, call it again in case the background mode has changed.
11280 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11282 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11285 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11287 * emacs-lisp/assoc.el (aelement): Doc fix.
11288 (aput, adelete, amake): Use lexical-let (Bug#5450).
11290 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11292 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11293 is the same as subprogram call, not declaration. (Bug#5435).
11295 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11297 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11298 (tramp-smb-maybe-open-connection): Use it.
11300 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11302 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11304 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11307 just because we see "encoding: 8bit".
11308 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11310 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11312 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11314 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11316 * jka-compr.el (jka-compr-load): If load-file is not in
11317 load-history, try its file-truename version. (bug#5447)
11319 2010-01-21 Alan Mackenzie <acm@muc.de>
11321 Fix a situation where deletion of a cpp construct throws an error.
11322 * progmodes/cc-engine.el (c-invalidate-state-cache):
11323 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11324 special cpp construct is still in the buffer.
11325 (c-parse-state): Record the special cpp with markers, not numbers.
11327 2010-01-21 Kenichi Handa <handa@m17n.org>
11329 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11330 process last-command-event, as it is now decoded first (Bug#5380).
11332 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11334 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11336 2010-01-20 Glenn Morris <rgm@gnu.org>
11338 * indent.el (tab-always-indent): Fix custom-type.
11340 2010-01-19 Alan Mackenzie <acm@muc.de>
11342 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11343 buffer throws "args out of range".
11344 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11345 playing the role of delimiter.
11347 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11349 * progmodes/ada-mode.el: Fix bug#5400.
11350 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11351 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11352 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11353 Improve comments in "is" portion. Handle null procedure declaration.
11354 (ada-move-to-end): Improve doc string.
11356 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11358 * ido.el (ido-cur-list): Initialize to nil.
11359 Remove obsolete information from commentary.
11360 (ido-choice-list): Initialize to nil.
11361 (ido-get-bufname): Reject minibuffers.
11362 (ido-make-buffer-list): If "default" is a nonexistent
11363 buffer, ignore it, as per the function's comment.
11364 (ido-kill-buffer-internal): New function.
11365 (ido-kill-buffer-at-head): Use it.
11366 (ido-visit-buffer): Likewise.
11368 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11370 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11372 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11374 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11375 Fix typos in chart titles.
11377 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11378 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11379 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11380 (describe-class, eieio-describe-generic, describe-generic):
11381 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11382 (eieio-speedbar-expand):
11383 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11384 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11385 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11386 (viper-del-backward-char-in-replace, viper-backward-indent)
11387 (viper-brac-function, viper-register-to-point, viper-submit-report):
11388 * net/tramp.el (tramp-remote-coding-commands):
11389 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11390 Fix typos in docstrings.
11392 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11394 * mail/sendmail.el (mail-yank-original): Set the mark if the
11395 specified function for yanking does not do it.
11397 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11399 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11401 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11402 resyncing a directory.
11404 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11406 * progmodes/ada-mode.el: Fix bug#1920.
11407 (ada-ident-re): Delete ., allow multibyte characters.
11408 (ada-goto-label-re): New; matches goto labels.
11409 (ada-block-label-re): New; matches block labels.
11410 (ada-label-re): New; matches both.
11411 (ada-named-block-re): Deleted; callers changed to use
11412 `ada-block-label-re' instead.
11413 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11414 Use `ada-block-label-re'.
11415 (ada-indent-on-previous-lines): Improve handling of goto labels.
11416 (ada-get-indent-block-start): Special-case block label.
11417 (ada-get-indent-label): Split into `ada-indent-block-label' and
11418 `ada-indent-goto-label'.
11419 (ada-goto-stmt-start, ada-goto-next-non-ws):
11420 Optionally ignore goto labels.
11421 (ada-goto-next-word): Simplify.
11422 (ada-indent-newline-indent-conditional): Insert newline before
11423 trying to fix indentation; doc fix.
11425 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11427 * calc/calc.el (calc-command-flags): Give it an initial value.
11429 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11431 * files.el (minibuffer-with-setup-hook):
11432 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11433 (artist-key-draw-continously, artist-key-do-continously-continously)
11434 (artist-key-set-point-continously, artist-mouse-draw-continously):
11435 Fix typos in docstrings.
11437 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11439 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11440 Never return t (Bug#3898).
11442 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11444 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11445 can parse the output of the external commands (Bug#5279).
11447 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11449 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11451 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11453 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11455 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11457 * startup.el (command-line): Remove unused --icon-type arg.
11458 Handle --display arg, passing it to command-line-1 (Bug#5392).
11460 2010-01-16 Mario Lang <mlang@delysid.org>
11462 * emacs-lisp/chart.el (chart-translate-namezone):
11463 * textmodes/artist.el (artist-compute-popup-menu-table):
11464 Remove duplicated words in doc-strings.
11466 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11468 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11469 to mairix-search to suppress threading (Bug#5342).
11471 2010-01-15 Kenichi Handa <handa@m17n.org>
11473 * international/mule-cmds.el (canonicalize-coding-system-name):
11474 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11476 2010-01-15 Glenn Morris <rgm@gnu.org>
11478 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11480 * wid-edit.el (widget-keymap): Doc fix.
11482 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11483 former seems to be more widely accepted by various svn versions.
11485 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11487 * find-cmd.el (find-constituents):
11488 * vc-arch.el (vc-arch-root):
11489 * window.el (window-body-height, pop-up-frames):
11490 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11491 * progmodes/ada-stmt.el (ada-if):
11492 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11493 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11494 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11495 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11497 * progmodes/flymake.el (flymake-post-syntax-check):
11498 Fix typo in error message.
11500 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11502 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11503 which is always a string. (Bug#5313)
11505 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11507 * progmodes/ada-xref.el (ada-default-prj-properties):
11508 Simplify previous change.
11510 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11512 * progmodes/ada-xref.el (ada-default-prj-properties):
11513 Default ada_project_path to $ADA_PROJECT_PATH.
11515 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11517 * progmodes/ada-mode.el (ada-create-keymap):
11518 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11520 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11522 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11523 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11524 (ada-get-current-indent, ada-imenu-generic-expression)
11525 (ada-which-function): Check for it.
11527 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11529 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11530 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11532 2010-01-14 Glenn Morris <rgm@gnu.org>
11534 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11536 2010-01-14 Kenichi Handa <handa@m17n.org>
11538 * composite.el (auto-composition-mode): Make it a buffer local
11539 variable (permanent-local).
11540 (auto-composition-function): Set the default value to
11541 auto-compose-chars.
11542 (auto-composition-mode): Make it a simple function, not a minor mode.
11543 (global-auto-composition-mode): Likewise.
11544 (turn-on-auto-composition-if-enabled): Delete it.
11546 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11548 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11550 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11552 * files.el (copy-directory): Compute target for recursive
11553 directories with identical names. (Bug#5343)
11555 2010-01-12 Glenn Morris <rgm@gnu.org>
11557 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11558 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11560 2010-01-11 Sam Steingold <sds@gnu.org>
11562 * imenu.el (imenu-default-create-index-function): Detect infinite
11563 loops caused by imenu-prev-index-position-function.
11565 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11567 * htmlfontify.el (htmlfontify-load-rgb-file)
11568 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11569 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11570 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11571 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11572 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11573 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11574 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11575 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11576 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11577 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11578 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11579 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11580 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11581 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11582 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11583 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11584 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11585 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11586 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11587 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11588 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11589 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11590 backslash-quoting from parentheses, etc.
11592 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11594 * progmodes/js.el: Autoload javascript-mode alias.
11596 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11598 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11599 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11600 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11601 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11602 Fix typos in docstrings.
11603 (ffap-url-regexp): Doc fix.
11604 (ffap-at-mouse): Fix typo in message.
11606 2010-01-11 Glenn Morris <rgm@gnu.org>
11608 * version.el (emacs-copyright): Set copyright year to 2010.
11610 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11612 * format.el (format-annotate-function): Only set
11613 write-region-post-annotation-function after running to-fn so as not to
11614 affect nested write-region calls (bug#5273).
11616 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11618 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11621 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11623 * man.el (Man-goto-section): Signal error if the section is not
11626 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11628 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11629 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11631 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11633 * progmodes/compile.el: Don't treat compile-command as safe if
11634 compilation-read-command might be nil (Bug#4218).
11636 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11638 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11641 2010-01-08 Kenichi Handa <handa@m17n.org>
11643 * international/fontset.el (build-default-fontset-data):
11644 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11646 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11648 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11649 to `create-file-buffer' as it expects, not just a buffer name.
11650 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11651 to help uniquify. (Bug#3224)
11653 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11655 * font-setting.el (font-setting-change-default-font): Use user-spec
11658 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11660 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11662 2010-01-05 Tom Tromey <tromey@redhat.com>
11664 * progmodes/python.el (python-font-lock-keywords):
11665 Handle qualified decorators (Bug#881).
11667 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11669 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11670 in a lightweight checkout.
11672 2010-01-05 Kenichi Handa <handa@m17n.org>
11674 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11676 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11678 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11680 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11682 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11683 checkouts. (Bug#618)
11684 (vc-bzr-log-view-mode): Also highlight the author.
11685 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11686 (vc-bzr-shelve-menu-map):
11687 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11688 (vc-bzr-shelve-apply): Make prompt more explicit.
11690 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11692 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11693 They are valid characters in URL paths (rfc3986), and at least
11694 Firefox does not understand the encoded version (Bug#3166).
11696 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11698 * progmodes/octave-mod.el (octave-end-keywords)
11699 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11700 Add "end" keyword (Bug#3061).
11701 (octave-end-as-array-index-p): New function.
11702 (calculate-octave-indent): Use it.
11704 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11706 * bookmark.el: Consistently put the text property on the bookmark name.
11707 (bookmark-bmenu-marks-width): Bump back to 2, to include
11709 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11710 property on the bookmark name, instead of not putting it at all.
11711 (bookmark-bmenu-list): Fix where we put the text property.
11713 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11715 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11716 for showing buffer modified state (as added in the previous change).
11718 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11720 * bookmark.el: Show modified state of bookmark buffer more accurately.
11721 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11722 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11723 (with-buffer-modified-unmodified): New macro.
11724 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11725 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11726 Use new macro to preserve the buffer modified state.
11728 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11730 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11731 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11732 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11733 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11734 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11735 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11736 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11738 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11740 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11741 Make the lines in the generated doc string shorter. (Bug#4668)
11743 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11745 * net/rcirc.el: Add follow-link binding (Bug#4738).
11747 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11749 * Makefile.in (bzr-update): Rename from cvs-update.
11750 (cvs-update): New target for backward compatibility.
11752 * makefile.w32-in (bzr-update): Rename from cvs-update.
11753 (cvs-update): New target for backward compatibility.
11755 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11757 * bookmark.el: Remove gratuitous gratitude.
11759 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11761 * bookmark.el (bookmark-bmenu-any-marks): New function.
11762 (bookmark-bmenu-save): Clear buffer modification if no marks.
11764 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11766 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11767 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11768 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11769 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11771 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11772 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11773 To: emacs-devel {_AT_} gnu.org
11774 Subject: bookmark.el bug report
11775 Date: Mon, 28 Dec 2009 14:19:16 +0800
11776 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11778 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11780 * bookmark.el: Improvements suggested by Drew Adams:
11781 (bookmark-bmenu-ensure-position): New name for
11782 `bookmark-bmenu-check-position'. Just ensure the position,
11783 don't return any meaningful value.
11784 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11787 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11789 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11790 (bookmark-yank-point, bookmark-bmenu-check-position):
11791 Fix typos in docstrings.
11792 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11793 (bookmark-name-from-full-record, bookmark-get-position)
11794 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11795 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11796 Remove useless quoting of parenthesis, etc. in docstrings.
11798 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11799 (ediff-append-custom-diff): Fix typo in error message.
11800 (ediff-meta-mark-equal-files): Fix typos in messages.
11802 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11804 * net/imap-hash.el (imap-hash-make): Doc fix.
11805 (imap-hash-test): Fix typo in error message; reflow docstring.
11806 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11807 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11808 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11809 Fix typos in docstrings.
11810 (imap-hash-open-connection): Fix typo in error message.
11812 * play/gomoku.el (gomoku): Fix typos in docstring.
11814 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11815 (gdb-jsonify-buffer): Fix typos in docstring.
11816 (gdb-goto-breakpoint): Fix typo in error message.
11817 ("Display Other Windows"): Fix typo in help message.
11818 (gdb-speedbar-expand-node): Fix typo in question.
11820 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11821 (idlwave-html-system-help-location, idlwave-html-help-location)
11822 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11823 (idlwave-help-browser-generic-args, idlwave-help-directory)
11824 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11825 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11826 (idlwave-online-help, idlwave-help-html-link)
11827 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11828 Fix typos in docstrings.
11829 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11831 (idlwave-help-assistant-start): Fix typo in error message.
11833 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11834 (octave-electric-space): Fix typos in docstrings.
11836 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11838 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11840 2010-01-01 Juri Linkov <juri@jurta.org>
11842 * comint.el (comint-input-ring-size): Make it a defcustom and
11843 increase the default to 500 (Bug#5148).
11845 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11847 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11848 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11849 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11851 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11853 Show working revision correctly for mercurial.
11854 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11855 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11857 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11859 Declare some functions for the byte-compiler.
11860 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11861 (speedbar-timer-fn, speedbar-change-expand-button-char)
11862 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11864 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11866 This changeset reverts GDB Graphical Interface to use annotations.
11867 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11869 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11871 Make vc-dir work on subdirectories of the bzr root.
11872 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11873 Return file names relative to it.
11874 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11875 relative directory to vc-bzr-after-dir-status.
11877 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11879 * font-lock.el (font-lock-refresh-defaults): New function, which
11880 can be used to let font-lock react to external changes in
11881 variables like font-lock-defaults and keywords.
11882 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11884 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11886 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11888 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11890 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11892 Supersede color.diff settings in git log (bug#5211).
11894 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11895 escape chars in its output when the user has color.diff set to `always'.
11896 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11898 2009-12-26 Kevin Ryde <user42@zip.com.au>
11900 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11901 node. Keep previous "Index" name to work with past coreutils too.
11903 * man.el (man): Revise docstring a bit to show -a and -l as
11904 examples. Add -k description since support for it has otherwise
11905 been a secret. (Further to bug#3717.)
11906 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11907 "no matches" rather than "Can't find manpage", as the latter reads
11908 like -k was interpreted as a page name, which is not so. (Bug#5431)
11910 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11912 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11913 switches. Check also for //SUBDIRED// line.
11915 2009-12-25 Kenichi Handa <handa@m17n.org>
11917 * language/indian.el (devanagari-composable-pattern): Fix to
11918 handle ZWNJ and ZWJ. Use it in composition-function-table for
11920 (malayalam-composable-pattern): Fix previous change.
11922 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11924 * ps-print.el (ps-face-attributes): It was not returning the
11925 attribute face for faces specified as string. Reported by harven
11926 <harven@free.fr>. (Bug#5254)
11927 (ps-print-version): New version 7.3.5.
11929 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11931 * calendar/icalendar.el (icalendar--convert-tz-offset):
11932 Fix timezone names.
11933 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11934 (icalendar--add-diary-entry): Remove the trailing blank that
11935 diary-make-entry inserts.
11937 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11939 Make `file-expand-wildcards' work for remote files.
11941 * files.el (file-expand-wildcards): In case of remote files, check
11942 only local file name part for wildcards. Provide feature 'files
11943 and subfeature 'remote-wildcards. (Bug#5198)
11945 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11946 if there is already an established connection.
11947 (tramp-advice-file-expand-wildcards): Remove it.
11949 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11950 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11951 Activate advice for older GNU Emacs versions. (Bug#5237)
11953 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11955 Some doc fixes (more needed).
11957 * find-cmd.el (find-constituents): Reflow docstring.
11958 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11959 (find-generic): Doc fix.
11961 2009-12-17 Juri Linkov <juri@jurta.org>
11963 Fix regression from 23.1 to allow multiple modes in Local Variables.
11965 * files.el (hack-local-variables-filter): While ignoring duplicates,
11966 don't take `mode' into account.
11967 (hack-local-variables-filter, hack-dir-local-variables):
11968 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11970 2009-12-17 Juri Linkov <juri@jurta.org>
11972 Make `dired-diff' safer. (Bug#5225)
11974 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11975 `current' or when `file' is a directory of the `current' file.
11977 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11979 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11980 unconditionally preloaded files.
11982 2009-12-16 Juri Linkov <juri@jurta.org>
11984 Revert to old 23.1 logic of using the file at the mark as default.
11985 * dired-aux.el (dired-diff): Use the file at the mark as default
11986 if it's not the same as the current file, and the target dir is
11987 the current dir or the mark is active. Add the current file
11988 as the arg of `dired-dwim-target-defaults'. Use the default file
11989 in the prompt. (Bug#5225)
11991 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11993 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11994 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11995 (tramp-check-for-regexp): Check also, when an echoing shell stops
11996 to echo sent commands.
11998 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12000 * Makefile.in: Revert last change (Bug#5191).
12002 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12004 * vc-hg.el (vc-hg-print-log): Fix argument order.
12005 (vc-hg-working-revision): Make sure the command is executed in a
12006 known environment so that we can parse the output. (Bug#4417)
12008 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12010 * progmodes/python.el (python-symbol-completions): Remove text
12011 properties from symbol string before calling python-send-receive.
12013 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12015 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12016 when there are values for both file and line. (Bug#5060)
12018 2009-12-14 Juri Linkov <juri@jurta.org>
12020 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12021 whitespace after the file name of the first line of unified format,
12022 because git-diff doesn't output whitespace and file modification time
12023 after the file name.
12025 2009-12-14 David Kastrup <dak@gnu.org>
12027 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12028 check if it already has the `display' property added by
12029 `Info-display-images-node', and not put the `invisible' property
12032 2009-12-13 Glenn Morris <rgm@gnu.org>
12034 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12035 (report-emacs-bug): In message-mode, sort manually before storing
12036 original report text. (Bug#5178)
12037 Remove superfluous save-excursion.
12039 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12041 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12042 when responding to "GetAll" properties.
12044 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12046 * simple.el (compose-mail): Remove mail-setup-with-from from
12047 customization checks.
12049 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12051 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12052 RAR archives created on Unix systems.
12054 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12056 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12057 the varalias that was accidentally removed by the 2009-11-19 change
12060 2009-12-12 Kenichi Handa <handa@m17n.org>
12062 * language/indian.el (indian-compose-regexp): New function.
12063 (malayalam-composable-pattern): Fix the pattern.
12064 (composition-function-table): Set malayalam-composable-pattern for
12065 Malayalam characters.
12067 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12069 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12070 rather than down-mouse-1, based on follow-link conventions.
12072 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12075 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12077 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12078 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12079 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12080 (verilog-leap-to-head, verilog-backward-token):
12081 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12083 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12085 * progmodes/verilog-mode.el (verilog-auto-lineup)
12086 (verilog-nameable-item-re): Cleanup user-visible spelling and
12087 documentation errors. One reported by Gary Delp.
12088 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12089 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12090 package, bug195. Reported by Pierre-David Pfister.
12092 2009-12-11 Glenn Morris <rgm@gnu.org>
12094 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12096 * mail/emacsbug.el: No longer require sendmail.
12097 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12098 (report-emacs-bug-orig-text): Doc fix.
12099 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12100 New local variables, to adapt to different mail-user-agents.
12101 (report-emacs-bug): Fix test for a gnu.org address.
12102 Use overlays for emphasis, since font-lock defeats 'face property.
12103 Pretest bugs also end up at the newsgroup these days.
12104 Stop message-mode stripping text properties.
12105 Set and use the new buffer-local variables.
12106 (report-emacs-bug-hook): Add doc-string.
12107 Remove some unnecessary save-excursions and simplify.
12108 Use the appropriate hook and send-command.
12110 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12111 capitalization of some menu entries.
12113 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12115 * whitespace.el (whitespace-display-char-on):
12116 Ensure `buffer-display-table' is unique when two or more windows are
12117 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12120 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12122 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12123 characters in the Attribute field.
12125 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12127 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12129 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12131 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12132 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12133 Disregard autoload-excludes.
12134 (update-directory-autoloads): Obey autoload-excludes here instead.
12135 But don't store its contents in no-autoloads and remove entries that
12136 refer to excludes files.
12138 2009-12-10 Glenn Morris <rgm@gnu.org>
12140 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12141 (expand-mail-aliases): Define for compiler.
12143 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12144 Define for compiler.
12146 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12147 appropriate for the mail-user-agent in use.
12149 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12151 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12153 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12155 Fix short log parsing and fontification.
12156 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12157 Fix fontification for the [merge] label.
12159 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12161 Drop some properties to avoid surprises (bug#5002).
12162 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12163 (hfy-fontify-buffer): Use it.
12165 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12168 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12169 Adjust all callers.
12170 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12171 args compulsory. Adjust callers.
12172 (ffap-gopher-at-point): Remove unused var `name'.
12174 Get rid of the ELCFILES abomination.
12175 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12176 (compile-elcfiles): New phony target.
12177 (compile-main): Compute ELCFILES dynamically.
12178 (compile-clean): New target to remove left-over elc files.
12179 (compile, all): Use it.
12181 2009-12-09 Kenichi Handa <handa@etlken>
12183 * international/mule-diag.el: Require help-mode instead of help-fns.
12185 2009-12-09 Kenichi Handa <handa@m17n.org>
12187 * international/mule-cmds.el (ucs-names): Supply sufficiently
12188 fine ranges instead of pre-calculating accurate ranges.
12189 Iterate with bigger gc-cons-threshold.
12191 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12193 Add support for stashing a snapshot of the current tree.
12194 * vc-git.el (vc-git-stash-snapshot): New function.
12195 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12197 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12199 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12200 instead of `(beginning|end)-of-line'.
12202 2009-12-08 Glenn Morris <rgm@gnu.org>
12204 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12206 * Makefile.in (ELCFILES): Regenerate.
12208 2009-12-07 Juri Linkov <juri@jurta.org>
12210 Don't lazy-highlight the comint output in history Isearch mode.
12212 * comint.el (comint-history-isearch-search): Instead of
12213 `comint-line-beginning-position', use `comint-after-pmark-p'
12214 to check if point if before the process mark, and go to
12215 `process-mark' in this case.
12217 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12219 * textmodes/tex-mode.el (latex-complete)
12220 (latex-indent-or-complete): Remove.
12221 (latex-mode): Set completion-at-point-functions instead.
12223 Provide a standard completion command and hook it into TAB.
12224 * minibuffer.el (completion-at-point-functions): New var.
12225 (completion-at-point): New command.
12226 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12227 * progmodes/python.el (python-mode-map): Use completion-at-point.
12228 (python-completion-at-point): Rename from python-partial-symbol and
12229 adjust for use in completion-at-point-functions.
12230 (python-mode): Setup completion-at-point for Python completion.
12231 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12232 extracted from lisp-complete-symbol.
12233 (lisp-complete-symbol): Use it.
12234 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12235 setup completion-at-point for Elisp completion.
12236 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12237 Use completion-at-point.
12238 * ielm.el (ielm-map): Use completion-at-point.
12239 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12240 * progmodes/sym-comp.el: Move to...
12241 * obsolete/sym-comp.el: Move from progmodes.
12243 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12245 Prevent save-buffer in Rmail buffers from using the coding-system
12246 of the current message, and from clobbering the encoding mnemonics
12247 in the mode line (Bug#4623).
12249 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12251 (rmail-message-encoding): New variable.
12252 (rmail-write-region-annotate): Record the encoding of the current
12253 message in rmail-message-encoding.
12254 (rmail-after-save-hook): New function, restores the encoding of
12255 the current message after the message collection is saved.
12257 2009-12-07 Juri Linkov <juri@jurta.org>
12259 * progmodes/grep.el (grep-read-files): Use `completing-read'
12260 instead of `read-string'. Set its `collection' arg to
12261 `read-file-name-internal'. (Bug#4301)
12263 2009-12-07 Juri Linkov <juri@jurta.org>
12265 Correctly restore original Isearch point. (Bug#4994)
12267 * isearch.el (isearch-mode): Move `isearch-push-state' after
12268 `(run-hooks 'isearch-mode-hook)'.
12269 (isearch-cancel): When `isearch-push-state-function' is defined,
12270 let-bind `isearch-cmds' to the first state (the last element of
12271 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12272 function and restores the original point). Otherwise, move point
12273 to `isearch-opoint'.
12275 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12277 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12278 chars that don't have names, so the table can be built much faster at
12281 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12283 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12284 change. Suggested by David Kastrup.
12286 * simple.el (compose-mail): Check for incompatibilities and warn.
12287 (compose-mail-user-agent-warnings): New option.
12289 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12291 Support showing a single log entry from vc-annotate.
12292 * vc.el (print-log): Add a new argument: START-REVISION.
12293 (vc-print-log-internal): Add a new optional argument and
12294 pass it to the backend.
12295 (vc-print-log, vc-print-root-log): Adjust callers.
12296 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12297 buffer already displays the requested log entry, use it.
12298 Otherwise display only the log entry in question.
12299 * vc-svn.el (vc-svn-print-log):
12300 * vc-mtn.el (vc-mtn-print-log):
12301 * vc-hg.el (vc-hg-state):
12302 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12303 (vc-git-show-log-entry): Return t on success.
12304 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12305 (vc-bzr-show-log-entry): Return t on success.
12306 * vc-rcs.el (vc-rcs-print-log):
12307 * vc-sccs.el (vc-sccs-print-log):
12308 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12310 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12312 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12313 Add menus to the meta mode. (Bug#5043)
12315 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12317 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12320 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12322 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12324 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12325 Berbain <raphael.berbain@gmail.com>.
12327 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12329 (tramp-initial-end-of-output): New defconst.
12330 (tramp-methods, tramp-find-shell)
12331 (tramp-open-connection-setup-interactive-shell)
12332 (tramp-maybe-open-connection): Use it.
12333 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12334 Handle existence of `#' and `$'.
12336 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12337 Use `tramp-initial-end-of-output'.
12339 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12341 Get the background mode from the terminal for xterm, and set
12343 * term/xterm.el (xterm-set-background-mode): New function.
12344 (terminal-init-xterm): Use it in case xterm supports background
12345 color queries. Recompute faces after getting the background
12348 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12350 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12351 number comment back on its own line, for easier parsing.
12353 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12355 Make it work for non-file buffers (bug#5102).
12356 * doc-view.el (doc-view-current-cache-dir):
12357 Use doc-view-buffer-file-name rather than buffer-file-name.
12358 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12360 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12362 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12363 author field is too short.
12365 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12367 * vc-git.el (vc-git-print-log): Handle a limit argument.
12368 Display the short log in graph form and with labels.
12369 (vc-git-log-view-mode): Handle labels.
12371 Make vc-revert change VC state from 'added to 'unregistered.
12372 * vc-git.el (vc-git-revert): Call git reset first.
12374 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12376 * net/newst-backend.el, net/newst-plainview.el:
12377 * net/newst-reader.el, net/newst-ticker.el:
12378 * net/newst-treeview.el, net/newsticker.el:
12379 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12381 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12383 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12385 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12386 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12387 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12388 Update annotation regexp.
12390 * simple.el (beginning-of-visual-line): Constrain to field
12391 boundaries (Bug#5106).
12393 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12395 * xml.el (xml-substitute-numeric-entities):
12396 Move newsticker--decode-numeric-entities in newst-backend.el to
12397 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12398 * net/newst-backend.el (newsticker--parse-generic-feed)
12399 (newsticker--parse-generic-items)
12400 (newsticker--decode-numeric-entities):
12401 Move newsticker--decode-numeric-entities in newst-backend.el to
12402 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12404 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12406 * progmodes/js.el (js--js-not): Add null to the list of values.
12408 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12410 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12412 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12414 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12415 delimiter if it is at the end of the current line.
12416 (bibtex-generate-url-list): Fix docstring.
12418 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12421 minibuffer's content with itself.
12422 Fold the confirm-after-completion case into the `confirm' case.
12423 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12425 2009-12-06 Kevin Ryde <user42@zip.com.au>
12427 * ffap.el (ffap-rfc-path): Make this a defcustom since
12428 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12430 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12431 manuals, similar to existing setup for help-mode. (Bug#3913.)
12433 2009-12-05 Juri Linkov <juri@jurta.org>
12435 Save and restore dired buffer's point positions too. (Bug#4880)
12437 * dired.el (dired-save-positions): Return in the first element
12438 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12440 (dired-restore-positions): First restore buffer's position.
12441 While restoring window's positions, check if window still displays
12442 the original buffer.
12444 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12446 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12449 * shell.el (shell): Require ansi-color (Bug#5113).
12451 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12453 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12455 2009-12-05 Alan Mackenzie <acm@muc.de>
12457 * progmodes/cc-mode.el (c-before-hack-hook)
12458 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12459 `c-file-style' to work again. This reversion restores the current
12460 software to its state in Emacs 23.1. (Bug#4146)
12462 2009-12-05 Kevin Ryde <user42@zip.com.au>
12464 * textmodes/sgml-mode.el (sgml-lexical-context):
12465 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12467 2009-12-05 Juri Linkov <juri@jurta.org>
12469 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12470 for virtual nodes. (Bug#4147)
12471 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12472 when moving from a virtual node.
12473 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12474 (Info-mode): Add `Info-virtual-index' to the docstring.
12476 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12478 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12479 track of the buffer position of the end of a BibTeX entry as this
12480 position may change during reformatting.
12481 (bibtex-format-entry): Remove whitespace before processing
12482 numerical fields so that we recognize the latter properly.
12483 (bibtex-reformat): Do not use push which changes the global value
12484 of bibtex-entry-format.
12485 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12486 (bibtex-field-re-init): Replace only space characters by regexp
12488 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12489 (bibtex-initialize): Also update bibtex-strings.
12490 (bibtex-kill-field): Preserve white space at end of entry.
12491 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12492 Update bibtex-reference-keys.
12494 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12496 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12497 point after a star, if that's the only place where modifications can
12500 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12502 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12505 2009-12-04 Juri Linkov <juri@jurta.org>
12507 * proced.el (proced): Call `(proced-update t)' to update process
12508 information instead of only running proced-post-display-hook.
12509 (proced-send-signal): Add a leading space to the buffer name
12510 " *Marked Processes*" to make this buffer ephemeral.
12512 2009-12-04 Juri Linkov <juri@jurta.org>
12514 * dired.el (dired-auto-revert-buffer): New defcustom.
12515 (dired-internal-noselect): Use it.
12517 2009-12-04 Juri Linkov <juri@jurta.org>
12519 Change roles of modes and functions in image-mode.el (Bug#5062).
12521 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12522 in `auto-mode-alist'.
12523 (image-mode-previous-major-mode): New variable.
12524 (image-minor-mode-map): Rename from `image-mode-text-map'.
12525 (image-mode): Move graceful error-handling code from
12526 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12527 (image-minor-mode): Remove all image-handling code.
12528 Replace `image-mode-text-map' with `image-minor-mode-map'.
12529 Check for `image-type' in mode-line format string.
12530 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12531 (image-mode-as-text): New function with most code from
12532 `image-mode-maybe'.
12533 (image-toggle-display-text): Move code that removes image
12534 properties from `image-toggle-display' to here.
12535 (image-toggle-display-image): New function with code that adds
12536 image properties copied from `image-toggle-display'.
12537 (image-toggle-display): Remove most code with leaving only code
12538 that toggles between `image-mode-as-text' and `image-mode'.
12540 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12542 * net/newst-treeview.el
12543 (newsticker--treeview-list-highlight-start): Restored call to
12544 save-excursion: Selected item was stuck.
12545 (newsticker--treeview-list-select): New.
12546 (newsticker--treeview-item-show-text)
12547 (newsticker--treeview-item-show)
12548 (newsticker--treeview-item-update): Use new
12549 newsticker-treeview-item-mode.
12550 (newsticker-treeview-update): Keep current item.
12551 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12552 (newsticker--treeview-first-feed): Doc change.
12553 (newsticker-treeview-list-menu)
12554 (newsticker-treeview-item-menu): Add menu entries.
12555 (newsticker-treeview-item-mode): New.
12557 * net/newst-backend.el (newsticker-customize): Delete other
12560 2009-12-04 Sam Steingold <sds@gnu.org>
12562 * log-view.el (log-view-mode-map): "q" calls quit-window,
12563 like in all the other non-self-insert buffers.
12565 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12568 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12569 key decoding rather than do it manually via last-input-event +
12571 (term-exec): Use delete-and-extract-region.
12572 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12573 (term-process-pager): Remove unused var `i'.
12574 (term-dynamic-simple-complete): Make obsolete.
12575 (serial-update-config-menu): Remove unused vars `y' and `str'.
12576 (term-update-mode-line): Remove unused var `temp'.
12578 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12580 Limit the number of log entries displayed by default.
12581 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12582 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12583 using a prefix argument.
12585 2009-12-03 Glenn Morris <rgm@gnu.org>
12587 * progmodes/idlwave.el (class): Restore still useful declaration.
12589 2009-12-03 Alan Mackenzie <acm@muc.de>
12591 Enhance `c-parse-state' to run efficiently in "brace deserts".
12593 * progmodes/cc-mode.el (c-basic-common-init):
12594 Call c-state-cache-init.
12595 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12596 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12597 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12599 * progmodes/cc-langs.el (c-before-font-lock-function):
12600 c-extend-and-neutralize-syntax-in-CPP has been renamed
12601 c-neutralize-syntax-in-and-mark-CPP.
12603 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12604 with `category' properties now, not `syntax-table' ones.
12606 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12607 enhanced (but slower) version of c-end-of-macro that won't land
12608 inside a literal or on another awkward character.
12609 (c-state-cache-too-far, c-state-cache-start)
12610 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12611 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12612 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12613 (c-state-min-scan-pos, c-state-brace-pair-desert)
12614 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12615 buffer local variables.
12616 (c-state-literal-at, c-state-lit-beg)
12617 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12618 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12619 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12620 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12621 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12622 (c-renarrow-state-cache)
12623 (c-append-lower-brace-pair-to-state-cache)
12624 (c-state-push-any-brace-pair, c-append-to-state-cache)
12625 (c-remove-stale-state-cache)
12626 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12627 (c-invalidate-state-cache-1, c-parse-state-1)
12628 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12629 (c-parse-state): Enhance and refactor.
12630 (c-debug-parse-state): Amend to deal with all the new variables.
12632 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12633 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12634 modify to use category text properties rather than syntax-table ones.
12635 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12636 to switch off/on the syntactic paren property of C++ template
12637 delimiters using the category property.
12638 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12639 template delims suppressed.
12640 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12641 New constant/macros which apply category properties to the start
12642 and end of preprocessor constructs.
12643 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12644 "comment out" the syntactic value of characters in preprocessor
12646 (c-with-cpps-commented-out)
12647 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12648 with characters in all or all but one preprocessor constructs
12651 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12653 * proced.el (proced-filter-alist): Use regexp-quote.
12655 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12658 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12659 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12660 arguments. Expand `default-directory'.
12662 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12663 the benefit of returning an expanded localname.
12664 (tramp-tramp-file-p): Handle the case NAME is not a string.
12666 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12668 Add support for bzr shelve/unshelve.
12669 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12670 (vc-bzr-extra-menu-map): New variables.
12671 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12672 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12673 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12674 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12675 (vc-bzr-dir-extra-headers): Display shelves.
12677 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12679 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12681 * textmodes/bibtex.el (bibtex-complete-internal):
12682 Use completion-in-region.
12683 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12685 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12687 Support applying stashes. Improve UI.
12688 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12689 (vc-git-stash-apply, vc-git-stash-pop)
12690 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12691 (vc-git-stash-menu): New functions.
12692 (vc-git-stash-menu-map): New variable.
12693 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12695 2009-12-03 Glenn Morris <rgm@gnu.org>
12697 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12698 (vc-print-log-internal): Fix previous change.
12699 (vc-revert): Correct pluralization.
12701 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12704 it to be an alist any more.
12705 (makefile-complete): Use completion-in-region.
12707 * progmodes/octave-mod.el (octave-complete-symbol):
12708 Use completion-in-region.
12711 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12712 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12713 (idlwave-complete-class): Don't quote lambda.
12714 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12715 (idlwave-mode-map): Move initialization into declaration.
12716 (idlwave-action-and-binding): Use backquotes.
12717 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12719 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12720 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12721 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12722 `parts', and `all-parts'.
12723 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12724 (idlwave-convert-xml-system-routine-info): Remove unused string
12726 (idlwave-display-user-catalog-widget): Use dolist.
12727 (idlwave-scanning-lib): Declare dynamically-scoped var.
12728 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12729 (completion-highlight-first-word-only): Declare to silence bytecomp.
12730 (idlwave-popup-select): Tighten scope of `resp'.
12731 (idlwave-find-struct-tag): Remove unused var `beg'.
12732 (idlwave-after-load-rinfo-hook): Declare.
12733 (idlwave-sintern-class-info): Remove unused var `taglist'.
12734 (idlwave-find-class-definition): Remove unused var `list'.
12735 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12736 (idlwave-what-module-find-class): Remove unused var `classes'.
12738 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12740 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12742 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12745 buffers visited. Remove redundant current-buffer-saving.
12747 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12749 Use completion-in-buffer and remove uses of dynamic scoping.
12750 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12751 (pascal-buffer-to-use, pascal-flag): Don't declare.
12752 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12753 (pascal-get-completion-decl, pascal-keyword-completion):
12754 Add `pascal-str' argument, save-excursion,
12755 return the found completions, and don't filter with pascal-pred.
12756 (pascal-completion-cache): New var.
12757 (pascal-completion): Don't switch buffer any more (it was never
12758 necessary). Don't save-excursion any more (it's done by the called
12759 subroutines). Use a cache to avoid redundant computations.
12760 Use complete-with-action rather than pascal-completion-response and
12761 let it apply the predicate as well.
12762 (pascal-complete-word): Use completion-in-buffer when
12763 pascal-toggle-completions is nil.
12764 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12766 (pascal-comp-defun): Don't change buffer any more.
12767 Use complete-with-action rather than pascal-completion-response and
12768 let it apply the predicate as well.
12769 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12772 2009-12-02 Kenichi Handa <handa@m17n.org>
12774 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12775 shape for all Indic scripts.
12777 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12779 Use completion-in-buffer.
12780 * wid-edit.el (widget-field-text-end): New function.
12781 (widget-field-value-get): Use it.
12782 (widget-string-complete, widget-file-complete)
12783 (widget-color-complete): Use it and completion-in-region.
12784 (widget-complete): Don't narrow the buffer.
12786 2009-12-02 Glenn Morris <rgm@gnu.org>
12788 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12789 (rmail-select-summary): Use rmail-pop-to-buffer.
12790 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12791 rmail-pop-to-buffer, to prevent horizontal splits.
12793 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12794 save-excursion with save-current-buffer.
12795 Widen before searching. (Bug#5093)
12796 (diary-list-sexp-entries): Remove superfluous save-excursion.
12798 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12800 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12803 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12805 * ido.el (ido-file-internal): Handle filenames at point that do
12806 not have a directory part. (Bug#5049)
12808 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12810 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12811 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12813 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12815 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12816 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12819 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * comint.el (comint-insert-input): Ignore clicks to the right of
12822 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12824 * vc.el (vc-print-log-internal): Don't wait for the process to
12825 terminate before setting up the major mode.
12827 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12830 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12833 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12835 2009-12-01 Glenn Morris <rgm@gnu.org>
12837 * window.el (window--display-buffer-2): Fix previous changes.
12839 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12841 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12843 2009-12-01 Glenn Morris <rgm@gnu.org>
12845 * Makefile.in (ELCFILES): Add mpc.elc.
12847 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12849 * mpc.el: New file.
12851 2009-12-01 Glenn Morris <rgm@gnu.org>
12853 * window.el (window-to-use): Define for compiler.
12855 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12856 consistent with others (no final period).
12858 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12859 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12861 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12863 Make vc-print-log buttons work.
12864 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12866 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12868 * savehist.el (savehist-autosave-interval): Allow setting to nil
12869 through customize. (Bug#5056)
12871 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12873 Fix references to jit-lock properties.
12874 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12875 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12876 (perl-font-lock-special-syntactic-constructs):
12877 Quote jit-lock-defer-multiline property.
12879 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12881 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12883 2009-11-30 Juri Linkov <juri@jurta.org>
12885 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12886 value `buffer' of `multi-isearch-next-buffer-current-function'.
12887 Use `(current-buffer)' when `buffer' is nil.
12888 (multi-isearch-next-buffer-from-list): Don't fallback to
12889 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12891 2009-11-30 Juri Linkov <juri@jurta.org>
12893 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12894 of buffers with `get-buffer' to `multi-isearch-buffers'.
12895 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12896 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12897 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12898 FILES with `expand-file-name' converting relative file names
12899 to absolute. Doc fix. (Bug#4727)
12901 2009-11-30 Juri Linkov <juri@jurta.org>
12903 * misearch.el (multi-isearch-read-buffers)
12904 (multi-isearch-read-matching-buffers): New functions.
12905 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12906 Use them in the `interactive' spec. Doc fix.
12907 (multi-isearch-read-files, multi-isearch-read-matching-files):
12909 (multi-isearch-files, multi-isearch-files-regexp):
12910 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12912 2009-11-30 Juri Linkov <juri@jurta.org>
12914 * doc-view.el (doc-view-continuous):
12915 Rename from `doc-view-continuous-mode'.
12916 (doc-view-menu): Move "Toggle display" to the top.
12917 Add submenu "Continuous" with radio buttons "Off"/"On"
12918 and "Save as Default".
12919 (doc-view-scroll-up-or-next-page)
12920 (doc-view-scroll-down-or-previous-page)
12921 (doc-view-next-line-or-next-page)
12922 (doc-view-previous-line-or-previous-page):
12923 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12925 2009-11-30 Juri Linkov <juri@jurta.org>
12927 * comint.el (comint-mode-map): Rebind `M-r' from
12928 `comint-previous-matching-input' to
12929 `comint-history-isearch-backward-regexp'.
12930 Unbind `M-s' to allow global key binding `M-s'.
12931 Add menu items for `comint-history-isearch-backward' and
12932 `comint-history-isearch-backward-regexp'. (Bug#3746)
12934 2009-11-30 Juri Linkov <juri@jurta.org>
12936 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12937 For def=recenter, replace `recenter' with `recenter-top-bottom'
12938 that is called with `this-command' and `last-command' let-bound
12939 to `recenter-top-bottom'. When the last `def' was not `recenter',
12940 set `recenter-last-op' to nil. (Bug#4981)
12942 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12944 Minor cleanup and simplification.
12945 * filecache.el (file-cache-add-directory)
12946 (file-cache-add-directory-recursively)
12947 (file-cache-add-from-file-cache-buffer)
12948 (file-cache-delete-file-regexp, file-cache-delete-directory)
12949 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12950 (file-cache-temp-minibuffer-message): Delete function.
12951 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12953 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12954 Don't signal an error when bumping into EOB in tr, s, or y.
12956 2009-11-29 Juri Linkov <juri@jurta.org>
12958 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12961 * descr-text.el (describe-char-unidata-list): Use lowercase name
12962 for "Unicode name" like in other tags.
12964 2009-11-29 Juri Linkov <juri@jurta.org>
12966 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12967 New compatibility macro.
12968 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12970 2009-11-29 Juri Linkov <juri@jurta.org>
12972 Add defcustom to define the cycling order of `recenter-top-bottom'.
12975 * window.el (recenter-last-op): Doc fix.
12976 (recenter-positions): New defcustom.
12977 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12978 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12980 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12982 Improve integration of Tramp and ange-ftp in eshell.
12984 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12985 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12986 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12988 * eshell/esh-util.el (top): Require also Tramp when compiling.
12989 (eshell-directory-files-and-attributes): Check for FTP remote
12991 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12992 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12993 (eshell-file-attributes): Handle ".". Return `entry'.
12995 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12996 (ange-ftp-directory-files-and-attributes)
12997 (ange-ftp-real-directory-files-and-attributes): New defuns.
12999 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13000 shell with "exec" when possible. This prevents trailing prompts
13001 in `start-file-process'.
13003 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13005 Try and remove assumptions about point-min==1.
13006 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13007 (rng-compute-mode-line-string): Show the validation percentage in
13008 terms of the narrowed text, not the widened text.
13009 (rng-do-some-validation): Don't catch internal errors when debugging.
13010 (rng-first-error): Simplify.
13011 (rng-after-change-function): Remove work around. AFAIK the bug has
13012 been fixed a while ago.
13014 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13015 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13017 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13019 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13020 `cd' doesn't always do it for us (bug#5067).
13022 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13023 on 2009-10-25 as part of some other change (bug#5067).
13025 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13029 (byte-compile-warnings): Use byte-compile-warning-types.
13030 (byte-compile-save-excursion): Warn about use of set-buffer right
13031 after save-excursion.
13033 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13034 the excursion as well.
13036 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13038 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13039 providing a Tramp related implementation of "su" and "sudo".
13040 (eshell-unix-initialize): Add "su" and "sudo".
13042 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13044 * net/socks.el (socks-send-command): Convert binary request to
13045 unibyte before sending. This fixes mishandling of some port
13046 numbers such as 129.
13048 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13050 * help.el (describe-bindings-internal): Remove `interactive'.
13052 * man.el (Man-completion-table): Trim a terminating "(".
13053 Remove the space between name page a section.
13054 Add the command's description on the `help-echo' property.
13055 Remove `process-connection-type' binding since it's unused by
13057 Provide completion for the "<section> <name>" format as well.
13058 (Man-default-man-entry): Remove spurious var shadowing the argument.
13060 2009-11-26 Kevin Ryde <user42@zip.com.au>
13062 * log-view.el: Add "Keywords: tools", since its other keywords
13063 aren't in finder-known-keywords, and following vc.el.
13065 * sha1.el (sha1-string-external): default-directory "/" in case
13066 otherwise non-existent. process-connection-type pipe for touch of
13067 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13069 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13071 Misc coding convention cleanups.
13072 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13073 hfy-init-kludge-hooks.
13074 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13075 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13076 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13078 (hfy-slant, hfy-weight): Use tables rather than code.
13079 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13080 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13081 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13082 (hfy-face-to-css): Remove `nconc' with single arg.
13083 (hfy-p-to-face-lennart): Use `or'.
13084 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13085 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13086 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13087 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13088 (hfy-force-fontification): Use run-hooks.
13090 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13092 Various minor fixes.
13093 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13094 Javascript belongs in the header, not the body.
13095 (hfy-javascript): Remove.
13096 (hfy-fontify-buffer): Don't insert it any more.
13097 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13098 Fix bug in invis handling when there were no invis props in a chunk.
13100 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13104 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13106 * finder.el (finder-mode-map): Add a menu.
13108 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13110 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13111 "unsigned" structs.
13113 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13114 fork" statement better.
13116 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13118 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13119 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13120 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13121 Reported by Clay Douglass.
13123 (verilog-auto-inst, verilog-auto-star-safe)
13124 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13125 Fix removing "// Interfaces" when saving .* expansions.
13126 Reported by Pierre-David Pfister.
13128 2009-11-26 Glenn Morris <rgm@gnu.org>
13130 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13133 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13135 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13136 Really use previous revision.
13138 2009-11-25 Kevin Ryde <user42@zip.com.au>
13140 * man.el (Man-completion-table): default-directory "/" in case
13141 doesn't otherwise exist. process-environment COLUMNS=999 so as
13142 not to truncate long names. process-connection-type pipe to avoid
13143 any chance of hitting the pseudo-tty TIOCGWINSZ.
13144 (man): completion-ignore-case t for friendliness and since man
13145 itself is case-insensitive on the command line.
13146 Further to Bug#3717.
13148 * arc-mode.el: Add "Keywords: files", so the details in its
13149 commentary can be reached from finder-by-keyword.
13150 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13151 editing mode, but it's comms related and sgml-mode.el has "comm"
13153 * textmodes/bibtex-style.el: Add "Keywords: tex".
13154 * international/isearch-x.el, international/ja-dic-cnv.el:
13155 * international/ja-dic-utl.el, international/kkc.el:
13156 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13158 2009-11-25 Juri Linkov <juri@jurta.org>
13160 * man.el (Man-completion-table): Modify regexp to include
13161 section names to completion strings. (Bug#3717)
13163 2009-11-25 Juri Linkov <juri@jurta.org>
13165 Search recursively in gzipped files. (Bug#4982)
13167 * progmodes/grep.el (grep-highlight-matches): Add new options
13168 `always' and `auto'. Doc fix.
13169 (grep-process-setup): Check `grep-highlight-matches' for
13170 `auto-detect' to determine the need to compute grep defaults.
13171 Move Windows/DOS specific --colors settings handling
13172 to `grep-compute-defaults'. Check `grep-highlight-matches'
13173 to get the value of "--color=".
13174 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13175 has the value `auto-detect'. Move Windows/DOS specific settings
13176 from `grep-process-setup'.
13177 (zrgrep): New command with alias `rzgrep'.
13179 2009-11-25 Juri Linkov <juri@jurta.org>
13181 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13182 to nil instead of switching off view-mode. (Bug#4896)
13184 2009-11-25 Juri Linkov <juri@jurta.org>
13186 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13188 * mwheel.el (mwheel-scroll-up-function)
13189 (mwheel-scroll-down-function): New defvars.
13190 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13191 `scroll-up', and `mwheel-scroll-down-function' instead of
13194 * doc-view.el (doc-view-scroll-up-or-next-page)
13195 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13196 Use this ARG in the call to image-scroll-up/image-scroll-down.
13197 Change `interactive' spec to "P". Goto next/previous page only
13198 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13199 SPC/DEL case). Doc fix.
13200 (doc-view-next-line-or-next-page)
13201 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13203 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13204 `doc-view-scroll-up-or-next-page', and buffer-local
13205 `mwheel-scroll-down-function' to
13206 `doc-view-scroll-down-or-previous-page'.
13208 2009-11-25 Juri Linkov <juri@jurta.org>
13210 Provide additional default values (directories at other Dired
13211 windows) via M-n in the minibuffer of some Dired commands.
13213 * dired-aux.el (dired-diff, dired-compare-directories)
13214 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13215 `minibuffer-default' in `minibuffer-with-setup-hook'.
13216 (dired-dwim-target-directory): Find a window that displays Dired
13217 buffer instead of failing when the next window is not Dired.
13218 Use `get-window-with-predicate' to find for the next Dired window.
13219 (dired-dwim-target-defaults): New function.
13221 * ediff-util.el (ediff-read-file-name):
13222 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13223 in `minibuffer-with-setup-hook'.
13225 2009-11-25 Juri Linkov <juri@jurta.org>
13227 Provide additional default values (file name at point or at the
13228 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13230 * minibuffer.el (read-file-name-defaults): New function.
13231 (read-file-name): Reset `minibuffer-default' to nil when
13232 it duplicates initial input `insdef'.
13233 Bind `minibuffer-default-add-function' to lambda that
13234 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13235 (minibuffer-insert-file-name-at-point): New command.
13237 * files.el (file-name-at-point-functions): New defcustom.
13238 (find-file-default): Remove defvar.
13239 (find-file-read-args): Don't use `find-file-default'.
13240 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13241 to `read-file-name'.
13242 (find-file-literally): Use `read-file-name' with
13243 `confirm-nonexistent-file-or-buffer'.
13245 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13247 * dired.el (dired-read-dir-and-switches):
13248 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13249 to `read-file-name'.
13250 (dired-file-name-at-point): New function.
13251 (dired-mode): Add hook `dired-file-name-at-point' to
13252 `file-name-at-point-functions'.
13254 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13256 Really make the *Completions* window soft-dedicated (bug#5030).
13257 * window.el (window--display-buffer-2): Add `dedicated' argument.
13258 (display-buffer): Pass it when needed so the dedicated flag is set
13259 after calling set-window-buffer, which would otherwise reset it.
13261 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13263 * progmodes/meta-mode.el (meta-complete-symbol):
13264 * progmodes/etags.el (complete-tag):
13265 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13266 Use completion-in-region.
13268 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13269 (dabbrev-completion): Use completion-in-region.
13270 (dabbrev--abbrev-at-point): Simplify regexp.
13272 * abbrev.el (abbrev--before-point): Use word-motion functions
13273 if :regexp is not specified (bug#5031).
13275 * subr.el (string-prefix-p): New function.
13277 * man.el (Man-completion-cache): New var.
13278 (Man-completion-table): Use it.
13280 * vc.el (vc-print-log-internal): Make `limit' optional for better
13281 compatibility (e.g. with vc-annotate.el).
13283 2009-11-24 Kevin Ryde <user42@zip.com.au>
13285 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13286 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13288 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13289 when .el source file not found or other error.
13291 2009-11-24 Markus Triska <markus.triska@gmx.at>
13293 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13295 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13297 Handle the [back] button properly (bug#4979).
13298 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13299 Use help-setup-xref, help-buffer, and with-help-window.
13300 (describe-char): Add `buffer' argument.
13301 Pass proper command to help-setup-xref. Don't meddle with
13302 help-xref-stack-item directly.
13303 (describe-text-category): Use with-help-window and help-buffer.
13305 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13306 for the displayed buffer (bug#4887).
13308 * man.el (Man-completion-table): New function.
13311 2009-11-24 David Reitter <david.reitter@gmail.com>
13313 * vc-git.el (vc-git-registered): Use checkout directory (where
13314 .git is) rather than the file's directory and a relative path spec
13315 to work around a bug in git.
13317 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13319 Improve handling of processes on remote hosts.
13321 * eshell/esh-util.el (eshell-path-env): New defvar.
13322 (eshell-parse-colon-path): New defun.
13323 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13325 * eshell/esh-ext.el (eshell-search-path):
13326 Use `eshell-parse-colon-path'.
13327 (eshell-remote-command): Remove argument HANDLER.
13328 (eshell-external-command): Check for FTP remote connection.
13330 * eshell/esh-proc.el (eshell-gather-process-output):
13331 Use `file-truename', in order to start also symlinked files.
13332 Apply `start-file-process' instead of `start-process'.
13333 Shorten `command' to the local file name part.
13335 * eshell/em-cmpl.el (eshell-complete-commands-list):
13336 Use `eshell-parse-colon-path'.
13338 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13340 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13341 to `eshell-directory-change-hook'.
13343 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13345 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13346 because it could be enabled automatically if view-read-only is non-nil.
13348 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13350 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13351 made on 2009-11-22.
13353 2009-11-24 Glenn Morris <rgm@gnu.org>
13355 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13356 deleted variable bookmark-bmenu-bookmark-column.
13358 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13360 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13362 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13364 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13365 two slashes to the "file:" prefix.
13366 (browse-url-file-url): De-munge Cygwin filenames before passing
13367 them to Windows browser.
13368 (browse-url-default-windows-browser): Use call-process.
13370 2009-11-23 Juri Linkov <juri@jurta.org>
13372 Implement DocView Continuous mode. (Bug#4896)
13373 * doc-view.el (doc-view-continuous-mode): New defcustom.
13374 (doc-view-mode-map): Bind C-n/<down> to
13375 `doc-view-next-line-or-next-page', C-p/<up> to
13376 `doc-view-previous-line-or-previous-page'.
13377 (doc-view-next-line-or-next-page)
13378 (doc-view-previous-line-or-previous-page): New commands.
13380 2009-11-23 Juri Linkov <juri@jurta.org>
13382 Implement Isearch in comint input history. (Bug#3746)
13383 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13384 `isearch-mode-hook'.
13385 (comint-history-isearch): New defcustom.
13386 (comint-history-isearch-backward)
13387 (comint-history-isearch-backward-regexp): New commands.
13388 (comint-history-isearch-message-overlay): New buffer-local variable.
13389 (comint-history-isearch-setup, comint-history-isearch-end)
13390 (comint-goto-input, comint-history-isearch-search)
13391 (comint-history-isearch-message, comint-history-isearch-wrap)
13392 (comint-history-isearch-push-state)
13393 (comint-history-isearch-pop-state): New functions.
13395 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13397 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13399 (tramp-handle-make-symbolic-link)
13400 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13402 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13403 (tramp-handle-process-file): Use it.
13405 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * window.el (move-to-window-line-last-op): Remove.
13408 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13410 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13412 Make M-r mirror the new cycling behavior of C-l.
13413 * window.el (move-to-window-line-last-op): New var.
13414 (move-to-window-line-top-bottom): New command.
13415 (global-map): Bind M-r move-to-window-line-top-bottom.
13417 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13419 * dired-x.el (dired-guess-shell-alist-default):
13420 Support xz format. (Bug#4953)
13422 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13424 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13425 last-command-char/last-command-event.
13426 (viper-prefix-arg-value): Do correct conversion of event-char for
13429 * emulation/viper-util.el, emulation/viper.el:
13430 Use viper-last-command-char instead of
13431 last-command-char/last-command-event.
13433 * ediff-init.el, ediff-mult.el, ediff-util.el:
13434 Replace last-command-char and last-command-event
13435 with (ediff-last-command-char) everywhere.
13437 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13438 created in fundamental mode.
13440 * ediff.el (ediff-version): Revert the change of interactive-p to
13441 called-interactively-p.
13443 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13445 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13446 generation from word-movement command names.
13448 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13450 * cus-start.el (all): Add native condition for font-use-system-font.
13452 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13454 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13455 Correct the patch from 2009-11-18. (Bug#3910)
13457 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13459 * progmodes/subword.el: Rename from lisp/subword.el.
13461 * subword.el: Rename to progmodes/subword.el.
13463 * Makefile.in (ELCFILES): Adapt to subword.el move.
13465 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13466 Stefan Monnier <monnier@iro.umontreal.ca>
13468 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13469 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13470 (bookmark-bmenu-show-filenames): Use push.
13471 (bookmark-bmenu-hide-filenames): Use local var instead of
13472 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13473 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13474 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13475 filenames now that the bookmark names are always available.
13477 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13479 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13480 (bookmark-search-pattern): Move and leave unbound.
13481 (bookmark-bmenu-mode-map): Change binding.
13482 (bookmark-read-search-input): Simplify.
13483 Don't use text-char-description. Don't error on non-char events.
13484 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13485 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13486 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13487 Use a local var for the timer.
13488 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13489 (i.e. bookmark-bmenu-search).
13491 2009-11-21 Glenn Morris <rgm@gnu.org>
13493 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13495 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13497 * net/browse-url.el (browse-url-default-windows-browser):
13498 Use cygstart for cygwin.
13500 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13502 * bookmark.el: Formatting and doc fixes only:
13503 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13504 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13505 Minor grammar and punctuation fixes in doc string.
13506 (bookmark-read-search-input): Adjust to fit within 80 columns.
13508 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13510 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13511 (c-backward-into-nomenclature): Adapt to subword renaming.
13513 * subword.el (subword-forward, subword-backward, subword-mark)
13514 (subword-kill, subword-backward-kill, subword-transpose)
13515 (subword-downcase, subword-upcase, subword-capitalize)
13516 (subword-forward-internal, subword-backward-internal):
13517 Rename from forward-subword, backward-subword, mark-subword,
13518 kill-subword, backward-kill-subword, transpose-subwords,
13519 downcase-subword, upcase-subword, capitalize-subword,
13520 forward-subword-internal, backward-subword-internal.
13522 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13524 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13526 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13528 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13529 (bookmark-bmenu-filter-alist-by-regexp)
13530 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13531 (bookmark-bmenu-search): New command.
13532 (bookmark-bmenu-mode-map): Bind it.
13534 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13536 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13537 backward-subword to quit the byte-compiler.
13539 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13541 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13543 * progmodes/cc-cmds.el (c-update-modeline)
13544 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13545 Refer to subword.el functions instead of cc-subword.el.
13547 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13548 subword.el functions instead of cc-subword.el.
13550 * progmodes/cc-subword.el: Rename to subword.el.
13551 * subword.el: Rename from progmodes/cc-subword.el.
13552 (subword-mode-map): Rename from c-subword-mode-map.
13553 (subword-mode): Rename from c-subword-mode.
13554 (global-subword-mode): New global minor mode.
13555 (forward-subword): Rename from c-forward-subword.
13556 (backward-subword): Rename from c-backward-subword.
13557 (mark-subword): Rename from c-mark-subword.
13558 (kill-subword): Rename from c-kill-subword.
13559 (backward-kill-subword): Rename from c-backward-kill-subword.
13560 (transpose-subwords): Rename from c-tranpose-subword.
13561 (downcase-subword): Rename from c-downcase-subword.
13562 (capitalize-subword): Rename from c-capitalize-subword.
13563 (forward-subword-internal): Rename from c-forward-subword-internal.
13564 (backward-subword-internal): Rename from c-backward-subword-internal.
13566 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13568 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13569 from a dired buffer.
13570 (vc-dired-deduce-fileset): New function.
13571 (vc-root-diff, vc-print-root-log): Use it.
13573 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13574 nil LIMIT argument to vc-print-log-internal.
13576 2009-11-20 Glenn Morris <rgm@gnu.org>
13578 * Makefile.in (ELCFILES): Regenerate.
13580 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13582 * calc/calc.el (calc-set-mode-line):
13583 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13584 (math-format-number): Rename `math-format-complement-signed' to
13585 `math-format-twos-complement'.
13587 * calc/calc-bin.el (math-format-twos-complement): Rename from
13588 math-format-complement-signed.
13589 (calc-radix): Rename `calc-complement-signed-mode' to
13590 `calc-twos-complement-mode'.
13591 (calc-octal-radix, calc-hex-radix): Add an argument for
13594 * calc/calc-embed.el (calc-embedded-mode-vars):
13595 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13597 * calc/calc-ext.el (calc-init-extensions):
13598 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13599 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13601 * calc/calc-units.el (math-build-units-table-buffer):
13602 Let `calc-twos-complement-mode' be nil.
13604 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13607 * calc/calc-vec.el (calcFunc-vunpack):
13608 * calc/calc-aent.el (calc-do-calc-eval):
13609 * calc/calc-forms.el (math-format-date):
13610 * calc/calc-graph.el (calc-graph-plot):
13611 * calc/calc-math.el (math-use-emacs-fn):
13612 * calc/calccomp.el (math-compose-expr):
13613 Let `calc-twos-complement-mode' be nil.
13615 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13617 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13618 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13619 * minibuffer.el (completion-in-region-functions): New hook.
13620 (completion-in-region): New function.
13621 * emacs-lisp/lisp.el (lisp-complete-symbol):
13622 * pcomplete.el (pcomplete-std-complete): Use it.
13624 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13627 (latex-complete-alist): New vars.
13628 (latex-string-prefix-p, latex-complete-bibtex-keys)
13629 (latex-complete-envnames, latex-complete-refkeys)
13630 (latex-complete-data): New functions.
13631 (latex-complete, latex-indent-or-complete): New commands.
13633 * window.el (display-buffer-mark-dedicated): New var.
13634 (display-buffer): Obey it.
13635 * minibuffer.el (minibuffer-completion-help): Use it.
13637 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13639 * filecache.el (file-cache-add-file): Use push and cons.
13640 (file-cache-delete-file-regexp): Use push.
13641 (file-cache-complete): Use completion-in-region.
13643 * simple.el (with-wrapper-hook): Fix thinko.
13645 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13646 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13647 Use with-current-buffer and string-to-number.
13648 (hfy-fallback-colour-values): Use assoc-string.
13649 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13650 (hfy-face-at): Remove unused var `found-face'.
13651 (hfy-compile-stylesheet): Remove unused var `css'.
13652 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13654 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13655 Use with-current-buffer.
13656 (hfy-text-p): Use expand-file-name and fewer setq.
13658 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13660 * htmlfontify.el, hfy-cmap.el: New files.
13662 2009-11-19 Juri Linkov <juri@jurta.org>
13664 * minibuffer.el (completions-format): New defcustom.
13665 (completion--insert-strings): Implement vertical format.
13667 * simple.el (switch-to-completions): Move point to the first
13668 completion when point was at the beginning of the buffer.
13670 2009-11-19 Juri Linkov <juri@jurta.org>
13672 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13674 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13676 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13678 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13679 (mail-signature): Change default to t.
13680 (mail-from-style): Deprecate `system-default' value.
13681 (mail-insert-from-field): For default value of mail-from-style,
13682 default to `angles' unless `angles' needs quoting and `parens'
13684 (mail-citation-prefix-regexp): Use citation regexp from
13687 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13689 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13690 Set variables for computing the prompt for reading password.
13692 2009-11-19 Glenn Morris <rgm@gnu.org>
13694 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13696 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13698 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13699 (newsticker-treeview-listwindow-height): Fix custom type.
13701 2009-11-19 Kenichi Handa <handa@m17n.org>
13703 * descr-text.el (describe-char-padded-string): Compose with TAB
13704 only if there's a font for CH.
13705 (describe-char): Fix the condition for detecting a trivial composition.
13707 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13709 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13710 more accurate version of the regexp. (Bug#3910)
13712 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13714 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13716 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13718 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13719 (font-setting-change-default-font): Fix typo in docstring.
13721 2009-11-18 Alan Mackenzie <acm@muc.de>
13723 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13725 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13727 * font-setting.el (font-use-system-font): Move ...
13729 * cus-start.el (all): ... to here.
13731 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13733 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13734 Don't set `ad-return-value' if `ad-do-it' doesn't.
13736 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13739 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13741 * menu-bar.el: Put "Use system font" in Option-menu.
13742 (menu-bar-options-save): Add font-use-system-font.
13744 * loadup.el: If feature system-font-setting or font-render-setting is
13745 there, load font-setting.
13747 * Makefile.in (ELCFILES): Add font-settings.el.
13748 * font-setting.el: New file.
13750 2009-11-17 Glenn Morris <rgm@gnu.org>
13752 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13754 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13755 Preserve point in the list buffer. (Bug#4939)
13757 (newsticker--treeview-list-update-highlight)
13758 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13760 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13762 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13765 * calc/calc-ext.el (calc-init-extensions): Remove references to
13768 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13770 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13771 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13774 2009-11-16 Kevin Ryde <user42@zip.com.au>
13776 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13777 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13779 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13780 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13781 Ignore trailing spaces by omit-nulls to split-string (fixing
13782 regression from Emacs 21 due to the incompatible split-string
13783 change). (Bug #4928.)
13785 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13787 * vc.el (vc-log-show-limit): Default to 2000.
13788 (vc-print-log-internal): Insert buttons to request more entries
13789 when limiting the output.
13791 * vc-sccs.el (vc-sccs-print-log):
13792 * vc-rcs.el (vc-rcs-print-log):
13793 * vc-cvs.el (vc-cvs-print-log):
13794 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13797 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13799 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13800 error when `tramp-gvfs-dbus-event-vector' is set.
13801 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13803 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13805 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13807 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13809 * net/dbus.el (dbus-unregister-service): New defun.
13810 (dbus-register-property): Register the handlers of
13811 "org.freedesktop.DBus.Properties" for SERVICE.
13812 (dbus-property-handler): Fix docstring.
13814 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13816 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13817 Quote doc string reference in defvaralias as it is not in special form.
13818 (byte-compile-output-docform): Doc fix.
13820 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13822 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13823 (calc-complement-signed-mode): New variables.
13824 (calc-set-mode-line): Add indicator for twos-complements.
13825 (math-format-number): Format twos-complement notation.
13827 * calc/calc-bin.el (calc-word-size): Reset the variables
13828 `math-2-word-size' and `math-half-2-word-size'.
13829 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13830 (calc-symclip): New functions.
13832 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13834 * calc/calc-embed.el (calc-embedded-mode-vars):
13835 Add `calc-complement-signed-mode' to the list of modes.
13837 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13838 (calc-b-oper-keys): Add `calc-symclip' to list.
13840 * calc/calc-ext.el (math-read-number-fancy): Read complement
13842 (calc-init-extensions): Add binding for `calc-symclip'.
13843 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13845 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13847 (calc-modes-menu): Add item for twos complement mode.
13849 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13851 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13853 * register.el (jump-to-register, insert-register): Handle Semantic
13854 tags. From commented-out advice in semantic/senator.el.
13856 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13858 * vc.el (vc-log-show-limit): New variable.
13859 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13860 when using a prefix argument.
13861 (vc-print-log-internal): Add new argument LIMIT.
13863 * vc-svn.el (vc-svn-print-log):
13864 * vc-mtn.el (vc-mtn-print-log):
13865 * vc-hg.el (vc-hg-print-log):
13866 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13867 pass it to the log command when set. Make the BUFFER argument
13870 * vc-sccs.el (vc-sccs-print-log):
13871 * vc-rcs.el (vc-rcs-print-log):
13872 * vc-git.el (vc-git-print-log):
13873 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13874 ignore it. Make the BUFFER argument non-optional
13876 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13878 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13880 * dired.el (dired-mode-map): Move encryption items to "Operate"
13883 * strokes.el (strokes-update-window-configuration): Make strokes
13884 buffer current before erasing (Bug#4906).
13886 2009-11-15 Juri Linkov <juri@jurta.org>
13888 * simple.el (set-mark-default-inactive): Add :type, :group
13889 and :version. (Bug#4876)
13891 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13893 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13894 (archive-unique-fname): ... here. (Bug#4929)
13896 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13898 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13901 * novice.el (disabled-command-function): Add useful args.
13902 Setup the help buffer so that [back] works.
13903 Remove redundant call to help-mode.
13904 (disabled-command-function): Use `case'.
13905 (en/disable-command): New function extracted from enable-command.
13906 (enable-command, disable-command): Use it.
13908 2009-11-14 Glenn Morris <rgm@gnu.org>
13910 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13911 constants. (Bug#4913)
13913 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13915 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13917 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13918 defined in C that have no doc-strings. (Bug#1063)
13920 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13922 * cus-edit.el (data, files):
13923 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13925 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13927 * simple.el (shell-command): Doc fix (Bug#4891).
13929 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13931 2009-11-14 Glenn Morris <rgm@gnu.org>
13933 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13934 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13935 If they are already loaded, eval-after-load will do the right thing.
13937 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13940 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13942 * simple.el (x-selection-owner-p): Declare.
13943 (read-mail-command): Use custom radio type rather than choice.
13944 (completion-no-auto-exit): Doc fix.
13946 * custom.el (defgroup):
13947 * epg-config.el (epg): Doc fixes.
13949 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13951 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13952 * international/ccl.el (define-ccl-program): Do not purecopy the
13953 docstring, defconst does it anyway.
13955 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13957 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13960 * x-dnd.el (x-dnd-maybe-call-test-function):
13961 * window.el (split-window-vertically):
13962 * whitespace.el (whitespace-help-on):
13963 * vc-rcs.el (vc-rcs-consult-headers):
13964 * userlock.el (ask-user-about-lock-help)
13965 (ask-user-about-supersession-help):
13966 * type-break.el (type-break-force-mode-line-update):
13967 * time-stamp.el (time-stamp-conv-warn):
13968 * terminal.el (te-set-output-log, te-more-break, te-filter)
13969 (te-sentinel, terminal-emulator):
13970 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13971 (term-write-input-ring, term-check-source, term-start-output-log):
13972 (term-display-buffer-line, term-dynamic-list-completions):
13973 (term-ansi-make-term, serial-term):
13974 * subr.el (selective-display):
13975 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13976 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13977 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13978 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13979 (speedbar-remove-localized-speedbar-support)
13980 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13981 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13982 (speedbar-buffers-line-directory):
13983 * simple.el (shell-command-on-region, append-to-buffer)
13984 (prepend-to-buffer):
13985 * shadowfile.el (shadow-save-todo-file):
13986 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13987 (scroll-bar-maybe-set-window-start):
13988 * sb-image.el (speedbar-image-dump):
13989 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13990 (load-save-place-alist-from-file):
13991 * ps-samp.el (ps-print-message-from-summary):
13992 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13993 (ps-background-image, ps-begin-job, ps-do-despool):
13994 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13995 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13996 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13997 (pr-call-process, pr-file-list, pr-interface-save):
13998 * novice.el (disabled-command-function)
13999 (enable-command, disable-command):
14000 * mouse.el (mouse-buffer-menu-alist):
14001 * mouse-copy.el (mouse-kill-preserving-secondary):
14002 * macros.el (kbd-macro-query):
14003 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14004 * informat.el (batch-info-validate):
14005 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14006 * hippie-exp.el (try-expand-dabbrev-visible):
14007 * help-mode.el (help-make-xrefs):
14008 * help-fns.el (describe-variable):
14009 * generic-x.el (bat-generic-mode-run-as-comint):
14010 * finder.el (finder-mouse-select):
14011 * find-dired.el (find-dired-sentinel):
14012 * filesets.el (filesets-file-close):
14013 * files.el (list-directory):
14014 * faces.el (list-faces-display, describe-face):
14015 * facemenu.el (list-colors-display):
14016 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14017 * epg.el (epg--process-filter, epg-cancel):
14018 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14019 (epa--read-signature-type):
14020 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14021 (emerge-file-names):
14022 * ehelp.el (electric-helpify):
14023 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14024 * ediff-vers.el (rcs-ediff-view-revision):
14025 * ediff-util.el (ediff-setup):
14026 * ediff-mult.el (ediff-append-custom-diff):
14027 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14029 * echistory.el (Electric-command-history-redo-expression):
14030 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14031 * disp-table.el (describe-display-table):
14032 * dired.el (dired-find-buffer-nocreate):
14033 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14034 * dabbrev.el (dabbrev--same-major-mode-p):
14035 * chistory.el (list-command-history):
14036 * apropos.el (apropos-documentation):
14037 * allout.el (allout-obtain-passphrase):
14038 (allout-copy-exposed-to-buffer):
14039 (allout-verify-passphrase): Use with-current-buffer.
14041 2009-11-13 Glenn Morris <rgm@gnu.org>
14043 * Makefile.in (ELCFILES): Regenerate.
14045 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14047 * net/dbus.el (dbus-registered-objects-table): Rename from
14048 `dbus-registered-functions-table', because it contains also properties.
14049 (dbus-unregister-object): Unregister also properties.
14050 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14051 Use a timeout of 500 msec, in order to not block.
14052 (dbus-register-property, dbus-property-handler): New defuns.
14054 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14056 * simple.el (minibuffer-default-add-completions): Drop deprecated
14059 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14061 * textmodes/artist.el (artist-mouse-choose-operation):
14062 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14063 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14064 (artist-compute-up-event-key): New function.
14065 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14067 2009-11-13 Kenichi Handa <handa@m17n.org>
14069 * language/japan-util.el: Make sure that the value of jisx0208
14070 property is jisx0208 character.
14072 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14074 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14075 car or each item, not the whole list.
14077 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14079 * minibuffer.el (minibuffer-completion-help):
14080 Use minibuffer-hide-completions.
14082 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14084 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14085 (dired-revert): Use them (bug#4880).
14087 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14089 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14091 2009-11-12 Juri Linkov <juri@jurta.org>
14093 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14095 (find-file-literally-at-point): Alias of `ffap-literally'.
14097 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14099 * textmodes/ispell.el (ispell-skip-region-alist):
14100 * textmodes/css-mode.el (auto-mode-alist):
14101 * progmodes/compile.el (auto-mode-alist):
14102 * international/mule.el (ctext-non-standard-encodings-alist)
14103 (ctext-non-standard-encodings-regexp):
14104 * simple.el (shell-command-switch, text-read-only):
14105 * replace.el (occur-mode-map):
14106 * paths.el (rmail-file-name):
14107 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14108 * find-file.el (ff-special-constructs):
14109 * files.el (file-name-handler-alist):
14110 * composite.el: Purecopy strings.
14112 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14114 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14116 * widget.el (define-widget): Purecopy the docstring.
14117 * international/mule-cmds.el (charset): Do not purecopy the
14118 docstring here, define-widget does it.
14120 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14121 * textmodes/bibtex-style.el (auto-mode-alist):
14122 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14123 * progmodes/compile.el (compile-command):
14124 * language/korea-util.el (default-korean-keyboard):
14125 * international/mule-conf.el (file-coding-system-alist):
14126 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14127 * tooltip.el (tooltip-frame-parameters):
14128 * newcomment.el (comment-end, comment-padding):
14129 * dired.el (dired-trivial-filenames):
14130 * comint.el (comint-file-name-prefix): Purecopy initial values.
14132 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14134 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14135 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14137 (tramp-advice-make-auto-save-file-name)
14138 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14139 after removing the advice.
14141 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14143 * progmodes/grep.el (grep-regexp-alist):
14144 * international/mule-cmds.el (iso-2022-control-alist):
14145 * emacs-lisp/timer.el (timer-duration-words):
14146 * subr.el (version-separator, version-regexp-alist):
14147 * minibuffer.el (completion-styles-alist):
14148 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14149 Change defvars to defconsts.
14151 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14152 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14153 * international/mule-conf.el: Allow to be byte compiled.
14155 * international/mule.el (define-charset): Purecopy props.
14156 (load-with-code-conversion): Purecopy doc string and file name.
14157 (put-charset-property): Purecopy strings.
14158 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14160 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14161 (define-char-code-property): Correctly purecopy the table.
14163 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14165 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14167 * subr.el (add-hook): Purecopy strings.
14168 (eval-after-load): Purecopy load-history-regexp and the form.
14170 * custom.el (custom-declare-group): Purecopy load-file-name.
14172 * subr.el (menu-bar-separator): New defconst.
14173 * net/eudc.el (eudc-tools-menu):
14174 * international/mule-cmds.el (set-coding-system-map)
14175 (mule-menu-keymap):
14176 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14177 * vc-hooks.el (vc-menu-map):
14178 * replace.el (occur-mode-map):
14179 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14180 (menu-bar-edit-menu, menu-bar-goto-menu)
14181 (menu-bar-custom-menu, menu-bar-showhide-menu)
14182 (menu-bar-options-menu, menu-bar-tools-menu)
14183 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14184 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14185 (menu-bar-help-menu):
14186 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14187 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14189 * term/x-win.el (x-gtk-stock-map):
14190 * progmodes/vera-mode.el (auto-mode-alist):
14191 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14192 (inferior-lisp-program, inferior-lisp-load-command):
14193 * progmodes/hideshow.el (hs-special-modes-alist):
14194 * progmodes/gud.el (same-window-regexps):
14195 * progmodes/grep.el (grep-program, find-program, xargs-program):
14196 * net/telnet.el (same-window-regexps):
14197 * net/rlogin.el (same-window-regexps):
14198 * language/ethiopic.el (font-ccl-encoder-alist):
14199 * vc-sccs.el (vc-sccs-master-templates):
14200 * vc-rcs.el (vc-rcs-master-templates):
14201 * subr.el (cl-assertion-failed):
14202 * simple.el (next-error-overlay-arrow-position):
14203 * lpr.el (lpr-command):
14204 * locate.el (locate-ls-subdir-switches):
14205 * info.el (same-window-regexps, info)
14206 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14207 * image-mode.el (image-mode, auto-mode-alist):
14208 * hippie-exp.el (hippie-expand-ignore-buffers):
14209 * format.el (format-alist):
14210 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14212 * facemenu.el (facemenu-keybindings):
14213 * dired.el (dired-listing-switches, dired-chown-program):
14214 * diff.el (diff-switches, diff-command):
14215 * cus-edit.el (same-window-regexps):
14216 * bindings.el (mode-line-mule-info)
14217 (mode-line-buffer-identification): Purecopy strings.
14219 2009-11-11 Juri Linkov <juri@jurta.org>
14221 * simple.el (dired-get-filename) <declare-function>:
14222 Tell the byte-compiler about dired-get-filename.
14223 (shell-command): In Dired mode, get filename from the current line
14224 as the default value.
14226 2009-11-10 Glenn Morris <rgm@gnu.org>
14228 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14229 * calendar/holidays.el, progmodes/cperl-mode.el:
14230 Update x-popup-menu declarations.
14232 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14233 (list-load-path-shadows): Use dolist.
14234 (list-load-path-shadows): Use with-current-buffer.
14236 2009-11-10 Juri Linkov <juri@jurta.org>
14238 * minibuffer.el (read-file-name): Support a list of default values
14239 in `default-filename'. Use the first file name where only one
14240 element is required. Doc fix.
14242 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14244 * net/dbus.el (dbus-unregister-object): Release service, if no
14245 other method is registered for it.
14247 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14249 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14250 bookmark-sort-flag is non-nil (Bug#4653).
14252 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14254 * emulation/cua-base.el: Add CUA property to some CC mode commands
14257 2009-11-08 Kevin Ryde <user42@zip.com.au>
14259 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14260 at end of sentence (Bug#4818).
14262 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14264 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14265 Handle "see declaration of" MSFT statements (Bug#4100).
14267 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14269 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14270 (tramp-advice-file-expand-wildcards): Unload via
14271 `ad-remove-advice'.
14273 * net/trampver.el: Update release number.
14275 2009-11-08 Kevin Ryde <user42@zip.com.au>
14277 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14280 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14282 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14283 in order to keep context in SELinux.
14285 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14287 * dired-aux.el (dired-query): Place cursor in echo area and allow
14290 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14291 menu item if not on a directory (Bug#4701).
14293 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14295 Sync with Tramp 2.1.17.
14297 * net/tramp.el (tramp-handle-copy-directory): Don't use
14298 `file-remote-p' (due to compatibility).
14300 * net/tramp-compat.el (tramp-compat-copy-directory)
14301 (tramp-compat-delete-directory): New defuns.
14303 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14304 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14305 Use `tramp-compat-delete-directory'.
14307 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14308 (tramp-smb-handle-delete-directory):
14309 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14311 * net/trampver.el: Update release number.
14313 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14315 * tar-mode.el (tar-copy): Call write-region on the right buffer
14318 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14319 by hand, if necessary (Bug#4878).
14321 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14323 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14324 align size column (Bug#4839).
14326 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14329 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14331 * progmodes/ld-script.el (auto-mode-alist):
14332 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14334 * cus-face.el (custom-declare-face): Purecopy face spec.
14336 2009-11-06 Kenichi Handa <handa@m17n.org>
14338 * international/uni-bidi.el: Re-generated.
14339 * international/uni-category.el: Re-generated.
14340 * international/uni-combining.el: Re-generated.
14341 * international/uni-mirrored.el: Re-generated.
14343 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14345 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14346 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14347 (tex-start-options, slitex-run-command, latex-run-command)
14348 (tex-run-command, tex-directory):
14349 * textmodes/ispell.el (ispell-html-skip-alists)
14350 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14351 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14352 (adaptive-fill-regexp):
14353 * textmodes/dns-mode.el (auto-mode-alist):
14354 * progmodes/python.el (interpreter-mode-alist):
14355 * progmodes/etags.el (tags-compression-info-list):
14356 * progmodes/etags.el (tags-file-name):
14357 * net/browse-url.el (browse-url-galeon-program)
14358 (browse-url-firefox-program):
14359 * mail/sendmail.el (mail-signature-file)
14360 (mail-citation-prefix-regexp):
14361 * international/mule-conf.el (eight-bit):
14362 * international/latexenc.el (latex-inputenc-coding-alist):
14363 * international/fontset.el (x-pixel-size-width-font-regexp):
14364 * emacs-lisp/warnings.el (warning-type-format):
14365 * emacs-lisp/trace.el (trace-buffer):
14366 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14367 (emacs-lisp-mode-map):
14368 * calendar/holidays.el (holiday-solar-holidays)
14369 (holiday-bahai-holidays, holiday-islamic-holidays)
14370 (holiday-christian-holidays, holiday-hebrew-holidays)
14371 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14372 (hebrew-holidays-1, holiday-oriental-holidays)
14373 (holiday-general-holidays):
14374 * x-dnd.el (x-dnd-known-types):
14375 * tool-bar.el (tool-bar):
14376 * startup.el (site-run-file):
14377 * shell.el (shell-dumb-shell-regexp):
14378 * rfn-eshadow.el (file-name-shadow-tty-properties)
14379 (file-name-shadow-properties):
14380 * paths.el (remote-shell-program, news-directory):
14381 * mouse.el ([C-down-mouse-3]):
14382 * menu-bar.el (menu-bar-tools-menu):
14383 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14384 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14385 (jka-compr-compression-info-list):
14386 * isearch.el (search-whitespace-regexp):
14387 * image-file.el (image-file-name-extensions):
14388 * find-dired.el (find-ls-option):
14389 * files.el (directory-listing-before-filename-regexp)
14390 (directory-free-space-args, insert-directory-program)
14391 (list-directory-brief-switches, magic-fallback-mode-alist)
14392 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14393 (automount-dir-prefix):
14394 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14395 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14396 (face-font-registry-alternatives, face-font-registry-alternatives)
14397 (face-font-family-alternatives):
14398 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14399 (facemenu-foreground-menu, facemenu-face-menu):
14400 * epa-hook.el (epa-file-name-regexp):
14401 * dnd.el (dnd-protocol-alist):
14402 * textmodes/rst.el (auto-mode-alist):
14403 * button.el (default-button): Purecopy strings.
14405 2009-11-06 Glenn Morris <rgm@gnu.org>
14407 * Makefile.in (ELCFILES): Update.
14409 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14411 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14412 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14414 * nxml/xsd-regexp.el (xsdre-gen-categories):
14415 * nxml/xmltok.el (xmltok-parse-entity):
14416 * nxml/rng-parse.el (rng-parse-validate-file):
14417 * nxml/rng-maint.el (rng-format-manual)
14418 (rng-manual-output-force-new-line):
14419 * nxml/rng-loc.el (rng-save-schema-location-1):
14420 * nxml/rng-cmpct.el (rng-c-parse-file):
14421 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14422 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14424 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14426 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14427 Remove extra save-excursions and make-variable-buffer-local's.
14428 Suggested by Stefan Monnier.
14430 (verilog-getopt-file, verilog-module-inside-filename-p)
14431 (verilog-set-define): Merge GNU 1.35 and repair changes from
14432 switching to using with-current-buffer.
14434 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14435 being treated as a number and confusing AUTORESET.
14436 Reported by Dan Dever.
14438 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14439 Add verilog-auto-ignore-concat to fix backward compatibility with
14440 older verilog-modes. Reported by Dan Katz.
14442 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14443 containing closing anchors "...$".
14445 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14446 Reported by Wade Smith.
14448 (verilog-batch-execute-func): Comment on function usage.
14450 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14452 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14455 (verilog-label-re, verilog-calc-1): Support proper indent of named
14458 (verilog-backward-token, verilog-basic-complete-re)
14459 (verilog-beg-of-statement, verilog-indent-re): Support proper
14460 indent of the assert statement at the beginning of a block of text.
14462 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14463 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14466 2009-11-05 Glenn Morris <rgm@gnu.org>
14468 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14469 Emacs 19. (Bug#1531)
14470 (byte-compile-fix-header): Update for the above change.
14471 Drop test for epoch::version.
14473 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14474 * cus-dep.el (custom-make-dependencies):
14475 * finder.el (finder-compile-keywords):
14476 Use autoload-rubric's feature argument.
14478 * calendar/diary-lib.el (top-level): Make load behave more like require.
14480 * vc-git.el (vc-git-stash-map): Move definition before use.
14482 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14484 * custom.el (custom-declare-group): Purecopy standard-value.
14485 (custom-declare-group): Purecopy custom-prefix.
14487 * international/mule.el (load-with-code-conversion):
14488 Call do-after-load-evaluation unconditionally.
14490 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14492 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14494 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14496 2009-11-04 Glenn Morris <rgm@gnu.org>
14498 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14499 (byte-compile-compatibility): Remove option.
14500 (byte-compile-close-variables, byte-compile-fix-header)
14501 (byte-compile-insert-header, byte-compile-output-docform)
14502 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14503 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14504 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14505 (byte-compile-insert, byte-compile-defun):
14506 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14507 (byte-defop-compiler19): Remove.
14508 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14509 used by anything. Replace all calls with byte-defop-compiler.
14511 2009-11-04 Juri Linkov <juri@jurta.org>
14513 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14514 (menu-bar-options-menu): Don't quote the `prop' arg of
14515 `menu-bar-make-mm-toggle'.
14517 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14519 * calendar/calendar.el (cal-loaddefs):
14520 * calendar/diary-lib.el (diary-loaddefs):
14521 * calendar/holidays.el (hol-loaddefs):
14522 * eshell/esh-module.el (esh-groups): Load rather than require.
14524 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14528 (todo-top-priorities): Only display-buffer when called interactively.
14529 (todo-item-start): Don't save excursion point.
14530 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14531 (todo-insert-item-here, todo-file-item, todo-remove-item):
14532 Adjust uses of todo-item-start and todo-item-end.
14534 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14535 (autoload-rubric): Don't use any more.
14537 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14538 and only put a prop if it is non-nil.
14540 2009-11-03 Juri Linkov <juri@jurta.org>
14542 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14543 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14545 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14546 and "Menu" to make top-level menu item visually one unit (like
14547 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14548 multi-word menu items). Fix :help string for quit-window.
14550 2009-11-03 Glenn Morris <rgm@gnu.org>
14552 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14553 (byte-compile-file-form-define-abbrev-table)
14554 (byte-compile-file-form-custom-declare-variable)
14555 (byte-compile-variable-ref, byte-compile-defvar):
14556 Whether or not a warning is enabled should only affect whether we issue
14557 the warning, not whether or not we collect the relevant data.
14558 Eg warnings can be turned on and off throughout the course of a file.
14560 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14561 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14563 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14565 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14566 * play/mpuz.el (mpuz-create-buffer):
14567 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14568 (lm-print-y,s,noise, lm-print-w0, lm-init):
14569 * play/gomoku.el (gomoku-prompt-for-move):
14570 * play/fortune.el (fortune-in-buffer):
14571 * play/dissociate.el (dissociated-press):
14572 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14573 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14574 * mail/supercite.el (sc-eref-show):
14575 * mail/smtpmail.el (smtpmail-send-it):
14576 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14577 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14578 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14579 (rmail-summary-goto-msg, rmail-summary-expunge)
14580 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14581 (rmail-summary-add-label, rmail-summary-output-menu)
14582 (rmail-summary-output-body):
14583 * mail/rfc822.el (rfc822-addresses):
14584 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14585 * mail/mailpost.el (post-mail-send-it):
14586 * mail/hashcash.el (hashcash-generate-payment):
14587 * mail/feedmail.el (feedmail-run-the-queue)
14588 (feedmail-queue-send-edit-prompt-help-first)
14589 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14590 (feedmail-deduce-address-list):
14591 * eshell/esh-ext.el (eshell-remote-command):
14592 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14593 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14594 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14595 (viper-save-string-in-file, viper-valid-marker):
14596 * emulation/viper-keym.el (viper-toggle-key):
14597 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14598 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14599 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14600 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14601 (viper-exec-form-in-emacs, viper-brac-function):
14602 * emulation/viper.el (viper-delocalize-var):
14603 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14604 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14605 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14606 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14607 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14608 * emulation/edt.el (edt-electric-helpify):
14609 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14610 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14611 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14612 (cua-indent-to-global-mark-column):
14613 * calendar/diary-lib.el (calendar-mark-1):
14614 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14615 Use with-current-buffer.
14616 * emulation/viper.el (viper-delocalize-var): Use dolist.
14618 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14620 * comint.el (comint-replace-by-expanded-history-before-point):
14621 Replace !! with the previous input string literally (Bug#1795).
14623 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14625 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14626 to be made up of whitespace.
14628 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14630 * minibuffer.el (read-file-name): Don't use file dialogs for
14631 remote directories (Bug#99).
14633 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14635 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14637 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14639 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14640 instead of deleting the window or frame.
14642 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14644 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14645 Support face colors.
14647 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14648 New function. Support face colors (Bug#1168).
14649 (tex-common-initialization): Use it.
14651 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14652 mode allows it (Bug#1168).
14654 2009-10-31 Juri Linkov <juri@jurta.org>
14656 * facemenu.el (list-colors-display): Don't mark buffer as
14657 modified (Bug#3948).
14659 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14661 * international/mule-diag.el (list-character-sets-1):
14662 Minor message fix (Bug#3526).
14664 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14665 Fix face property (Bug#4834).
14666 (etags-list-tags, etags-tags-apropos-additional)
14667 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14670 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14673 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14675 * textmodes/two-column.el (2C-split):
14676 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14677 * textmodes/tex-mode.el (tex-set-buffer-directory):
14678 * textmodes/spell.el (spell-region, spell-string):
14679 * textmodes/reftex.el (reftex-erase-buffer):
14680 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14681 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14682 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14683 (reftex-select-item):
14684 * textmodes/reftex-ref.el (reftex-label-info-update)
14685 (reftex-offer-label-menu):
14686 * textmodes/reftex-index.el (reftex-index-change-entry)
14687 (reftex-index-phrases-info):
14688 * textmodes/reftex-global.el (reftex-create-tags-file)
14689 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14690 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14691 (reftex-view-crossref-from-bibtex):
14692 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14693 (reftex-extract-bib-entries-from-thebibliography)
14694 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14695 * textmodes/refbib.el (r2b-capitalize-title):
14696 (r2b-convert-buffer, r2b-help):
14697 * textmodes/page-ext.el (pages-directory)
14698 (pages-directory-goto-with-mouse):
14699 * textmodes/bibtex.el (bibtex-validate-globally):
14700 * textmodes/bib-mode.el (bib-capitalize-title):
14701 * textmodes/artist.el (artist-clear-buffer, artist-system):
14702 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14703 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14704 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14705 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14706 (xscheme-send-control-g-interrupt, xscheme-start-process)
14707 (xscheme-process-sentinel, xscheme-cd):
14708 * progmodes/verilog-mode.el (verilog-read-always-signals)
14709 (verilog-set-define, verilog-getopt-file)
14710 (verilog-module-inside-filename-p):
14711 * progmodes/sh-script.el:
14712 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14713 (python-pdbtrack-grub-for-buffer, python-execute-file):
14714 * progmodes/octave-inf.el (inferior-octave):
14715 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14716 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14717 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14718 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14719 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14720 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14721 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14722 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14723 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14724 (idlwave-shell-examine-display, idlwave-shell-run-region)
14725 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14726 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14727 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14728 (idlwave-help-get-help-buffer):
14729 * progmodes/gud.el (gud-basic-call, gud-find-class)
14730 (gud-tooltip-activate-mouse-motions-if-enabled):
14731 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14732 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14733 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14734 (ebrowse-tags-next-file):
14735 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14736 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14737 (ebnf-eps-finish-and-write):
14738 * progmodes/cpp.el (cpp-edit-save):
14739 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14740 * progmodes/cc-defs.el (c-emacs-features):
14741 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14742 (antlr-directory-dependencies):
14743 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14744 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14745 (ada-find-any-references, ada-make-filename-from-adaname)
14746 (ada-make-body-gnatstub):
14747 * obsolete/rnews.el (news-list-news-groups):
14748 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14749 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14750 * net/rcirc.el (rcirc-debug):
14751 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14752 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14753 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14754 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14755 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14756 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14757 (newsticker--treeview-list-clear-highlight)
14758 (newsticker--treeview-list-update-highlight)
14759 (newsticker--treeview-list-highlight-start)
14760 (newsticker--treeview-tree-update-highlight)
14761 (newsticker--treeview-get-selected-item)
14762 (newsticker-treeview-mark-list-items-old)
14763 (newsticker--treeview-set-current-node):
14764 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14765 * net/newst-backend.el (newsticker--get-news-by-funcall)
14766 (newsticker--get-news-by-wget, newsticker--image-get)
14767 (newsticker--image-sentinel):
14768 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14769 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14770 (eudc-ph-close-session):
14771 * net/eudc.el (eudc-save-options):
14772 * language/thai-word.el (thai-update-word-table):
14773 * language/japan-util.el (japanese-string-conversion):
14774 * international/titdic-cnv.el (tsang-quick-converter)
14775 (ziranma-converter, ctlau-converter):
14776 * international/mule-cmds.el (describe-language-environment):
14777 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14778 (skkdic-convert-postfix, skkdic-convert-prefix):
14779 (skkdic-convert-okuri-nasi, skkdic-convert):
14780 * emacs-lisp/re-builder.el (reb-update-overlays):
14781 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14782 * emacs-lisp/gulp.el (gulp-send-requests):
14783 * emacs-lisp/find-gc.el (trace-call-tree):
14784 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14785 (eieio-describe-generic):
14786 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14787 * emacs-lisp/edebug.el (edebug-outside-excursion):
14788 * emacs-lisp/debug.el (debugger-make-xrefs):
14789 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14790 * emacs-lisp/chart.el (chart-new-buffer):
14791 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14792 Use with-current-buffer.
14793 * textmodes/artist.el (artist-system): Don't call
14794 copy-sequence on a fresh string.
14795 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14797 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14799 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14800 is no item to edit. (Bug#4820)
14801 (todo-top-priorities): Restore point and restore narrowing in Todo
14804 2009-10-31 Glenn Morris <rgm@gnu.org>
14806 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14807 (comint-last-output-start, comint-last-input-start)
14808 (comint-last-input-end): Don't defvar when compiling.
14809 (ange-ftp-process-file): Use bound-and-true-p.
14811 * pcmpl-rpm.el (top-level): Move provide statement to end.
14812 (pcmpl-rpm): Remove unused custom group.
14814 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14816 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14818 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14819 (byte-compile-warnings): Add `constants' as an option.
14820 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14821 (display-call-tree): Update for byte-compile-fdefinition possibly
14822 returning `(macro lambda ...)'. (Bug#4778)
14823 (byte-compile-variable-ref, byte-compile-setq-default):
14824 Respect `constants' member of byte-compile-warnings.
14826 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14828 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14829 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14832 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14834 * textmodes/ispell.el (ispell-skip-region-alist):
14835 * international/mule-conf.el (eight-bit):
14836 * international/fontset.el (font-encoding-alist):
14837 * startup.el (pure-space-overflow-message):
14838 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14839 * paths.el (gnus-nntp-service, rmail-spool-directory)
14840 (term-file-prefix):
14841 * files.el (save-some-buffers-action-alist):
14842 * cmuscheme.el (same-window-buffer-names):
14843 * ielm.el (same-window-buffer-names):
14844 * shell.el (same-window-buffer-names):
14845 * mail/sendmail.el (same-window-buffer-names):
14846 * progmodes/inf-lisp.el (same-window-buffer-names):
14847 * bindings.el (mode-line-client)
14848 (mode-line-column-line-number-mode-map):
14849 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14850 (tibetan-precomposed-regexp): Purecopy string arguments.
14852 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14854 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14855 (calcDigit-nondigit):
14856 * calc/calc-yank.el (calc-copy-to-buffer):
14857 * calc/calc-units.el (calc-invalidate-units-table):
14858 * calc/calc-trail.el (calc-trail-yank):
14859 * calc/calc-store.el (calc-insert-variables):
14860 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14861 * calc/calc-prog.el (calc-read-parse-table):
14862 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14863 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14864 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14865 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14866 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14867 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14868 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14869 * calc/calc-ext.el (calc-realign):
14870 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14871 (calc-embedded-finish-edit, calc-embedded-make-info)
14872 (calc-embedded-finish-command, calc-embedded-stack-change):
14873 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14875 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14876 shell-dynamic-complete-filename in preference to
14877 comint-dynamic-complete-filename.
14879 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14880 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14881 Don't consider whether the display supports colors.
14882 (bookmark-import-new-list): Use dolist.
14883 (bookmark-bmenu-mode-map): Move initialization into declaration.
14884 (bookmark-bmenu-list): Use dolist, simplify.
14885 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14886 (menu-bar-final-items): Use push.
14888 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14890 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14891 it works on remote files.
14892 (vc-hg-diff): Don't pass any `--cwd' argument.
14894 2009-10-27 Kevin Ryde <user42@zip.com.au>
14896 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14897 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14898 (Further to Bug#3921).
14900 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14902 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14903 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14904 calling `tramp-imap-put-file'. Add file size to the call.
14905 (tramp-imap-get-file-entries): Compute also user name, file size,
14907 (tramp-imap-handle-insert-directory): Insert uid and gid.
14908 (tramp-imap-handle-file-attributes): Transform uid and gid
14909 according to `id-format'.
14910 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14911 size in header X-Size.
14913 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14915 * simple.el (transpose-subr): Give clearer error when the mark
14916 is not set. (Bug#4807)
14918 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14920 * net/tramp.el (tramp-perl-file-truename): New defconst.
14921 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14922 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14923 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14924 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14926 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14927 Ignore `dired-call-process'.
14928 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14930 2009-10-26 Julian Scheid <julians37@gmail.com>
14932 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14933 (tramp-get-remote-readlink): New defun.
14934 (tramp-handle-file-truename): Use it.
14935 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14936 file exists if cache value present.
14937 (tramp-check-cached-permissions): New defun.
14938 (tramp-handle-file-readable-p): Use it.
14939 (tramp-handle-file-writable-p): Likewise.
14940 (tramp-handle-file-executable-p): Likewise.
14941 (tramp-handle-file-name-all-completions): Try using Perl to get
14942 partial completions. When perl not available, combine `cd' and
14943 `ls' into single remote operation and use shell expansion to get
14944 partial remote directory contents. Set `file-exists-p' cache for
14945 directory and any files returned by ls. Change cache handling to
14946 support partial directory contents. Use error message emitted by
14947 remote `cd' or Perl code for local tramp-error.
14948 (tramp-do-copy-or-rename-file-directly): Avoid separate
14949 tramp-send-command-and-check call.
14950 (tramp-handle-process-file): Merge three remote ops into one.
14951 Do not flush all caches when `process-file-side-effects' is set.
14952 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14953 file-attributes shows uid/gid to be set already.
14955 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14957 * textmodes/tex-mode.el (tex-dvi-view-command)
14958 (tex-show-queue-command, tex-open-quote):
14959 * progmodes/ruby-mode.el (auto-mode-alist)
14960 (interpreter-mode-alist): Purecopy strings.
14962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14964 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14965 string for the hook, keymap and abbrev table.
14967 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14969 * x-dnd.el (x-dnd-xdnd-to-action):
14970 * startup.el (fancy-startup-text, fancy-about-text): Change to
14971 defconst from defvar.
14973 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14975 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14976 Purecopy initialization strings.
14978 * mail/sendmail.el (mail-header-separator)
14979 (mail-personal-alias-file):
14980 * mail/rmail.el (rmail-default-dont-reply-to-names)
14981 (rmail-ignored-headers, rmail-retry-ignored-headers)
14982 (rmail-highlighted-headers, rmail-secondary-file-directory)
14983 (rmail-secondary-file-regexp):
14984 * files.el (null-device, file-name-invalid-regexp)
14985 (locate-dominating-stop-dir-regexp)
14986 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14987 (interpreter-mode-alist): Use mapcar instead of mapc.
14989 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14991 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14992 (completion-ignored-extensions):
14993 (debug-ignored-errors): Purecopy strings.
14995 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14997 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14998 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14999 (pcomplete--here): Use push.
15001 * subr.el (all-completions): Declare the 4th arg obsolete.
15003 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15005 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15006 (pcomplete-unquote-argument): New function.
15007 (pcomplete--common-suffix): Always pay attention to case.
15008 (pcomplete--table-subvert): Quote and unquote the text.
15009 (pcomplete--common-quoted-suffix): New function.
15010 (pcomplete-std-complete): Use it and pcomplete-begin.
15012 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15013 we're inside a dedicated or minibuffer window.
15015 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15017 * bookmark.el: Update documentation, especially documentation
15018 of `bookmark-alist' and of the bookmark file format.
15019 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15021 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15023 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15024 keybindings apply to the mail buffer (Bug#4003). Shrink help
15027 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15028 (global-whitespace-mode, global-whitespace-newline-mode)
15029 (whitespace-toggle-options, global-whitespace-toggle-options):
15030 Doc fix (Bug#3660).
15032 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15033 of xmltok-start before the end tag was inserted (Bug#2840).
15035 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15036 patterns that are preceded by an open-paren (Bug#1320).
15038 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15040 * files.el (delete-directory): Delete symlinks to directories with
15041 delete-file (Bug#4739).
15043 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15045 * vc.el (vc-backend-for-registration): Rename from
15046 vc-get-backend-for-registration. Update callers.
15048 * international/mule-cmds.el (set-language-info-alist):
15050 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15051 (charset): Purecopy the name.
15052 (define-char-code-property): Purecopy string arguments.
15054 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15055 Purecopy string arguments.
15057 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15058 * ediff-hook.el (menu-bar-ediff-menu):
15059 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15060 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15062 2009-10-24 Glenn Morris <rgm@gnu.org>
15064 * comint.el (comint-dynamic-list-completions):
15065 * term.el (term-dynamic-list-completions): Use choose-completion rather
15066 than obsolete alias mouse-choose-completion.
15068 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15069 file-cache-choose-completion.
15070 (file-cache-choose-completion): Handle an optional event argument.
15071 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15073 * progmodes/octave-mod.el (octave-complete-symbol):
15074 Use choose-completion if mouse-choose-completion is ever removed.
15076 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15079 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15082 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15084 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15086 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15087 Ignore `pred' now that we receive one.
15088 Handle test-completion specially.
15090 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15092 * vc.el (vc-responsible-backend): Throw an error if not backend is
15093 found. Remove the REGISTER argument. Move the code dealing with
15095 (vc-get-backend-for-registration): ... here. New function.
15096 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15097 of vc-responsible-backend, pass the file name instead of the
15100 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15102 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15104 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15105 (pcomplete-comint-setup): Don't modify a global var via
15106 accidental side-effects.
15107 (pcomplete-shell-setup): Adjust call accordingly.
15108 (pcomplete-parse-comint-arguments): Use push.
15110 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15112 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15113 Allow uncapitalized info node names (Bug#3921).
15115 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15116 to the DEBUG file (Bug#3781).
15118 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15120 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15121 dictionary entry (Bug#4579).
15123 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15125 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15126 from `rfn-eshadow-update-overlay-hook' when unloading.
15127 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15128 "rsyncc". Adjust doc string.
15129 (tramp-temp-buffer-file-name): New buffer-local defvar.
15130 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15131 Keep temporary file when indicated by method ("rsync" and
15133 (tramp-handle-write-region): Handle APPEND.
15134 (tramp-delete-temp-file-function): New defun. Added to
15135 `kill-buffer-hook'.
15137 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15139 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15141 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15143 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15144 (color-name-rgb-alist, tty-standard-colors)
15145 (tty-color-mode-alist): Change to defconst.
15147 * simple.el (mark-inactive): Purecopy message.
15149 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15150 (global-map, yank-menu):
15151 * textmodes/ispell.el (ispell-menu-map):
15152 * net/eudc.el (eudc-tools-menu):
15153 * international/mule-cmds.el (describe-language-environment-map)
15154 (setup-language-environment-map, set-coding-system-map)
15155 (mule-menu-keymap):
15156 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15157 * replace.el (occur-mode-map):
15158 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15160 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15162 * calc/calc.el (math-read-number, math-read-number-simple):
15163 Use `save-match-data'.
15165 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15167 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15168 rather than fiddling with global-map bindings, since it should only
15169 affect per-terminal settings.
15170 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15172 * minibuffer.el (completion-table-with-terminator): Allow to specify
15173 the terminator-regexp.
15175 * simple.el (switch-to-completions): Look for *Completions* in other
15178 * pcomplete.el: Allow the use of completion-tables.
15179 (pcomplete-std-complete): New command.
15180 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15181 (pcomplete--here): Use a function for `form' rather than an expression,
15182 so it can be byte-compiled.
15183 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15184 Add edebug declaration.
15185 (pcomplete-show-completions): Remove unused var `curbuf'.
15186 (pcomplete-do-complete, pcomplete-stub):
15187 Don't assume `completions' is a list of strings any more.
15189 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15191 * find-dired.el (find-name-arg): Fix typo in docstring.
15193 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15195 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15196 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15198 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15201 * comint.el (comint-read-input-ring, comint-write-input-ring)
15202 (comint-substitute-in-file-name)
15203 (comint-dynamic-complete-as-filename)
15204 (comint-dynamic-simple-complete)
15205 (comint-dynamic-list-filename-completions)
15206 (comint-dynamic-list-completions)
15207 (comint-redirect-results-list-from-process): Minor simplifications.
15209 2009-10-21 Kevin Ryde <user42@zip.com.au>
15211 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15212 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15213 the first form. And insert a blank line after ";;; Code" since
15214 that's usual style. (Bug#4612)
15216 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15218 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15220 * minibuffer.el (completion-table-with-terminator): Properly implement
15221 boundaries, in case `terminator' appears in the suffix.
15222 (completion--embedded-envvar-table): Don't return boundaries if
15223 there's no valid completion. Simplify.
15224 (completion-file-name-table): New completion table extracted from
15225 completion--file-name-table.
15226 (completion--file-name-table): Use it.
15227 (read-file-name-predicate): Declare obsolete.
15228 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15229 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15230 completion-file-name-table, and use the `pred' argument.
15231 * files.el (locate-file-completion-table): Use the `pred' arg rather
15232 than read-file-name-predicate.
15233 (abbreviate-file-name): Use \` rather than ^ for BOS.
15235 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15237 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15238 vc-responsible-backend to register, it causes problems.
15240 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15242 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15244 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15246 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15247 (tramp-smb-handle-file-attributes): Use it.
15248 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15249 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15250 `mapcar'. Use `tramp-smb-get-stat-capability'.
15251 Add `dired-filename' text properties.
15252 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15253 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15256 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15258 * subr.el (read-key-delay): Reduce to 0.01.
15259 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15262 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15264 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15266 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15267 (Info-menu): Remove unused vars `last' and `completions'.
15268 (Info-index-nodes): Remove unused var `node'.
15270 * info.el (Info-complete-menu-item): Use complete-with-action.
15272 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15274 Make vc-annotate work through copies and renames.
15275 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15276 Return the file name too.
15277 (vc-annotate-revision-at-line)
15278 (vc-annotate-find-revision-at-line)
15279 (vc-annotate-revision-previous-to-line)
15280 (vc-annotate-show-log-revision-at-line): Update to get the file
15281 name from vc-annotate-extract-revision-at-line.
15282 (vc-annotate-show-diff-revision-at-line-internal): Change the
15283 argument to mean whether to show a file diff or not. Get the file
15284 name from vc-annotate-extract-revision-at-line.
15285 (vc-annotate-show-diff-revision-at-line):
15286 Update vc-annotate-show-diff-revision-at-line call.
15287 (vc-annotate-warp-revision): Add an optional file argument.
15289 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15290 (vc-git-annotate-extract-revision-at-line): Also return the file
15293 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15294 command. Remove unused code.
15295 (vc-hg-annotate-re): Update to match --follow output.
15296 (vc-hg-annotate-extract-revision-at-line): Also return the file
15299 * vc.el: Update annotate-extract-revision-at-line documentation.
15301 2009-10-18 Kevin Ryde <user42@zip.com.au>
15303 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15304 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15306 * net/browse-url.el (browse-url): Identify alist with "consp and
15307 not functionp" and let all other things go down the `apply' leg,
15308 as suggested by Stefan. (Further to bug#4531.)
15310 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15312 * minibuffer.el (read-file-name): Check for repeat before putting
15313 a default argument in file-name-history (Bug#4657).
15315 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15316 read syntax (Bug#4737).
15318 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15320 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15322 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15323 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15324 entries and make note of obsolete tags.
15326 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15330 2009-10-18 Glenn Morris <rgm@gnu.org>
15332 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15333 grep, so that binary files (eg international/uni-bidi.el) can match.
15334 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15335 now, and in any case the file header format has changed.
15337 2009-10-17 Glenn Morris <rgm@gnu.org>
15339 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15340 (flyspell-get-word, flyspell-large-region)
15341 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15343 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15345 * Makefile.in (ELCFILES): Add ede/shell.
15347 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15349 * term/common-win.el (x-colors): Purecopy it.
15351 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15353 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15354 permissive for when the buffer is empty.
15355 (tar-header-block-tokenize): Decode the username and groupname.
15356 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15358 2009-10-17 Eric Ludlam <zappo@gnu.org>
15360 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15361 contains multibyte characters, choose first applicable coding
15362 system automatically.
15364 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15366 * international/mule-cmds.el (select-safe-coding-system): If the file
15367 has a coding cookie, use it regardless of any other setting (bug#4712).
15369 2009-10-17 Glenn Morris <rgm@gnu.org>
15371 * foldout.el (foldout-mouse-swallow-events):
15372 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15374 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15375 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15376 (dired-keep-marker-symlink, dired-dwim-target)
15377 (dired-copy-preserve-time): Do not autoload these defcustoms.
15379 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15380 messages from messing up the file coding. (Bug#4623)
15382 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15384 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15385 if no match is found for the current dictionary. (Bug#4578)
15387 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15388 optional, since that is how it is documented, and this is often called
15389 with a nil argument. (Bug#4577)
15390 (flyspell-external-point-words, flyspell-auto-correct-word)
15391 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15392 (flyspell-word-search-backward): Remove nil argument in calls to
15393 flyspell-get-word, since it is not needed now.
15395 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15397 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15399 2009-10-16 Glenn Morris <rgm@gnu.org>
15401 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15403 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15405 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15406 (ange-ftp-file-size): New function.
15407 (ange-ftp-file-attributes): Use it.
15409 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15411 * net/tramp-smb.el (tramp-smb-version): New defvar.
15412 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15415 2009-10-16 Glenn Morris <rgm@gnu.org>
15417 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15418 Maybe copy some custom properties from old to new name. (Bug#4706)
15420 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15422 * subr.el (error, sit-for, start-process-shell-command)
15423 (start-file-process-shell-command): Set the calling convention
15424 after the function definition.
15426 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15428 * subr.el (error, sit-for, start-process-shell-command)
15429 (start-file-process-shell-command): Use the new
15430 set-advertised-calling-convention feature.
15432 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15434 * international/ucs-normalize.el (ucs-normalize-version):
15436 (check-range): Adjust for Unicode 5.2.
15438 2009-10-15 Juri Linkov <juri@jurta.org>
15440 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15441 to the `menu-item' format.
15443 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15445 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15446 if the environment variable does not exist.
15448 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15449 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15451 (tramp-smb-handle-add-name-to-file)
15452 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15453 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15454 (tramp-smb-handle-file-attributes)
15455 (tramp-smb-do-file-attributes-with-stat)
15456 (tramp-smb-handle-file-local-copy)
15457 (tramp-smb-handle-insert-directory)
15458 (tramp-smb-handle-make-directory)
15459 (tramp-smb-handle-make-directory-internal)
15460 (tramp-smb-handle-make-symbolic-link)
15461 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15462 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15463 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15464 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15465 Handle long file names.
15466 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15467 process is running.
15468 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15469 Read share names with "-g" option.
15471 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15473 * net/rcirc.el (rcirc-view-log-file): New command.
15474 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15475 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15478 2009-10-15 Glenn Morris <rgm@gnu.org>
15480 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15481 from the second command-line argument.
15482 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15483 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15484 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15485 w32-batch-update-autoloads.
15486 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15487 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15489 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15490 the headers cannot be located. Simplify, subtracting superflous
15493 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15495 Replace completion-base-size by completion-base-position to fix bugs
15496 such as (bug#4699).
15497 * simple.el (completion-base-position): New var.
15498 (completion-base-size): Mark as obsolete.
15499 (choose-completion): Make it work for mouse events as well.
15500 Pass the new base-position to choose-completion-string.
15501 (choose-completion-guess-base-position): New function, extracted from
15502 choose-completion-delete-max-match.
15503 (choose-completion-delete-max-match): Use it. Make obsolete.
15504 (choose-completion-string): Use the new base-position info.
15505 (completion-root-regexp): Delete.
15506 (completion-setup-function): Preserve completion-base-position.
15507 Eliminate obsolete base-size manipulation.
15508 * minibuffer.el (display-completion-list): Don't mess with base-size.
15509 (minibuffer-completion-help): Set completion-base-position instead.
15510 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15512 * textmodes/bibtex.el (bibtex-complete):
15513 * emacs-lisp/crm.el (crm--choose-completion-string):
15514 Adjust to new calling convention.
15515 * complete.el (partial-completion-mode): Use minibufferp to avoid
15516 bumping into incompatible change to choose-completion-string-functions.
15517 * ido.el (ido-choose-completion-string): Make its calling convention
15519 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15520 base-size manipulation.
15521 (comint-dynamic-list-input-ring): Use dotimes and push.
15522 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15523 fundamental-mode. Use `or'.
15525 2009-10-14 Juri Linkov <juri@jurta.org>
15527 * misearch.el (multi-isearch-next-buffer-from-list)
15528 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15530 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15532 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15535 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15536 string we return is all made up of text from the completions rather
15537 than part from the completions and part from the input (bug#4219).
15539 * ido.el (ido-everywhere): Use define-minor-mode.
15541 * buff-menu.el (list-buffers, ctl-x-map):
15542 Mark the entry points with ;;;###autoload cookies.
15544 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15546 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15547 correctly in the detached head case.
15548 (vc-git-print-log): Remove unused binding.
15550 * vc.el (vc-responsible-backend): When a directory is passed for
15551 for registration create a VC repository if no backend is
15552 responsible for the directory argument.
15553 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15555 * vc.el: Move comments about RCS and SCCS ...
15557 * vc-sccs.el: ... here, respectively.
15559 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15561 * minibuffer.el (completion--file-name-table): Return nil if there's
15562 no file completion, even if substitute-in-file-name changed
15563 the string (bug#4708).
15565 2009-10-13 Juri Linkov <juri@jurta.org>
15567 * files-x.el (read-file-local-variable-value): Don't filter out
15568 minor modes from mode name completion (bug#4664).
15570 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15572 * international/mule-cmds.el (ucs-names): Remove exclusion of
15573 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15575 2009-10-13 Kenichi Handa <handa@m17n.org>
15577 * international/uni-name.el: Regenerated.
15579 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15581 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15582 should be automatically buffer-local, but isn't.)
15584 2009-10-12 Sam Steingold <sds@gnu.org>
15586 * progmodes/compile.el (compilation-next-error-function): Fix the
15587 timestamps if the buffer has been visited before.
15588 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15589 non-anchored patterns, like the perl one (bug#3928).
15591 2009-10-12 Glenn Morris <rgm@gnu.org>
15593 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15596 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15598 * proced.el (proced-unload-function): New function.
15600 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15601 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15604 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15606 2009-10-11 Juri Linkov <juri@jurta.org>
15608 * files-x.el (read-file-local-variable-value):
15609 Provide default value only for bound variables (bug#4664).
15611 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15613 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15614 connection methods like smb.
15616 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15619 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15620 (tramp-smb-file-name-handler-alist): Add handlers for
15621 `add-name-to-file', `make-symbolic-link'.
15622 (tramp-smb-handle-add-name-to-file)
15623 (tramp-smb-do-file-attributes-with-stat)
15624 (tramp-smb-handle-make-symbolic-link)
15625 (tramp-smb-get-cifs-capabilities): New defuns.
15626 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15627 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15628 (tramp-smb-handle-file-local-copy)
15629 (tramp-smb-handle-make-directory-internal)
15630 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15631 The file name syntax depends on cifs capabilities.
15632 (tramp-smb-handle-file-attributes):
15633 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15634 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15635 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15637 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15639 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15640 (eieio-defclass): Apply deftype handler and setf-method properties
15642 (eieio-add-new-slot): Avoid union function from cl library.
15643 (eieio--typep): New function.
15644 (eieio-perform-slot-validation): Use it.
15646 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15648 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15649 Update documentation to refer to the variables documented in r1.135.
15652 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15654 * bookmark.el (Info-suffix-list): Remove this unused variable.
15655 (bookmark-current-point): Remove this obsolete variable.
15656 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15657 Adjust for removal of bookmark-current-point.
15659 (bookmarks-already-loaded, bookmark-current-buffer)
15660 (bookmark-yank-point): Document. (Bug#4188)
15662 2009-10-10 Glenn Morris <rgm@gnu.org>
15664 * frame.el (frame-height): Doc fix.
15666 * calendar/calendar.el (calendar-split-width-threshold): New option.
15667 (calendar-basic-setup): Use calendar-split-width-threshold.
15669 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15671 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15672 Ideographic Supplement" range (U+1F200..U+1F2FF).
15674 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15676 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15677 since the list will have been rebuilt anyway. (Bug#4349)
15679 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15681 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15682 (bookmark-bmenu-execute-deletions): Don't save here, as
15683 bookmark-delete will now do so if necessary.
15684 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15687 2009-10-09 Glenn Morris <rgm@gnu.org>
15689 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15691 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15693 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15694 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15695 argument now, so the two function's behaviors will match. (Bug#3645)
15697 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15699 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15700 (tramp-file-name-real-host, tramp-file-name-port):
15701 Apply `save-match-data'.
15703 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15704 case both directories are remote.
15705 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15706 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15708 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15710 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15712 2009-10-07 Glenn Morris <rgm@gnu.org>
15714 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15717 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15719 * files-x.el (read-file-local-variable): Include some
15720 non-user-variables in the completion table (bug#4664).
15722 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15724 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15727 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15728 (tramp-smb-file-name-handler-alist): Add handler for
15729 `copy-directory', `expand-file-name', `set-file-modes'.
15730 (tramp-smb-handle-copy-directory)
15731 (tramp-smb-handle-expand-file-name)
15732 (tramp-smb-handle-set-file-modes): New defuns.
15733 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15734 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15736 (tramp-smb-handle-insert-directory): Don't flush the cache.
15737 (tramp-smb-maybe-open-connection): Check for samba client and
15740 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15742 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15743 to not error out of search for "^lisp=" fails.
15745 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15747 * makefile.w32-in (WINS_UPDATES): New macro.
15748 (custom-deps, finder-data, autoloads): Use it.
15750 2009-10-07 Glenn Morris <rgm@gnu.org>
15752 * Makefile.in (autoloads): Revert previous change.
15753 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15754 the list of preloaded files passed on the command-line, get
15755 it from src/Makefile.
15757 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15758 show the original buffer rather than a random one.
15760 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15762 * help.el (describe-no-warranty): Place point in a slightly better
15763 position in the GPLv3 text.
15765 2009-10-06 Sam Steingold <sds@gnu.org>
15767 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15768 the comm attribute is present before calling regexp-quote.
15770 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15772 * play/animate.el (animate-string): For good effect, make sure
15773 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15775 * play/animate.el (animate-sequence, animate-birthday-present):
15776 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15778 2009-10-06 Glenn Morris <rgm@gnu.org>
15780 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15782 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15783 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15784 (batch-update-autoloads): Process a string value of autoload-excludes,
15785 set during the build process.
15786 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15788 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15789 inside with-parsed... macro so that `v' is defined.
15791 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15792 * progmodes/fortran.el (fortran-end-of-block)
15793 (fortran-beginning-of-block):
15794 Also push mark in the macro case.
15796 * emerge.el (emerge-show-file-name):
15797 * calc/calc.el (calc-quit):
15798 * calc/calc-misc.el (calc-big-or-small):
15799 * calc/calc-graph.el (calc-graph-view):
15800 * calc/calc-ext.el (calc-reset):
15801 * calendar/calendar.el (calendar-basic-setup):
15802 Use window-full-height-p.
15804 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15805 header we don't understand, don't insert another. (Bug#4624)
15806 If changing mime charset, insert the new one in the right place.
15808 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15810 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15811 (cal-tex-cursor-month): Correctly increment the end date for diary and
15812 holiday listing. (Bug#4626)
15814 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15816 * help-fns.el (describe-function-1): Don't burp if the function is not
15819 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15821 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15822 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15823 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15824 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15826 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15827 (eieio-default-superclass): Reflow docstrings.
15828 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15829 (eieio-unbind-method-implementations, defmethod)
15830 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15831 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15832 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15833 (eieio-slot-originating-class-p, eieio-slot-name-index)
15834 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15835 (constructor, initialize-instance, no-next-method, object-print)
15836 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15837 Fix typos in docstrings.
15838 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15839 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15840 (next-method-p): Doc fixes.
15841 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15842 Fix typos in error messages.
15843 (eieio-defmethod): Fix typo in description of generic method.
15845 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15846 (eieio-persistent-save-interactive, slot-missing):
15847 Fix typos in docstrings.
15848 (eieio-instance-inheritor-slot-boundp): Doc fix.
15850 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15851 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15853 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15854 (eieio-custom-object-apply-reset):
15855 Fix typos in docstrings and error messages.
15857 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15858 Fix typo in docstring.
15860 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15861 (eieio-browse-tree): Doc fix.
15862 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15863 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15864 Fix typos in docstrings.
15866 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15867 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15868 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15869 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15872 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15874 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15875 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15876 Set log-view-vc-backend so that diff can work.
15878 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15880 (vc-diff-internal): Autoload this instead of vc-version-diff.
15882 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15884 * simple.el (eval-expression): Doc fix.
15886 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15888 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15890 * files.el (directory-files-no-dot-files-regexp): New defconst.
15891 (delete-directory): Use it.
15892 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15894 * net/tramp.el (tramp-verbose): Fix docstring.
15895 (tramp-methods): Add recursive option to `tramp-copy-args'.
15896 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15897 "scp1_old", "scp2_old", "rsync", "rsyncc".
15898 (tramp-default-method): Check also for `auth-source-user-or-password'.
15899 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15900 Add handler for `copy-directory'.
15901 (tramp-handle-copy-directory): New defun.
15902 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15903 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15904 Optimize sent command.
15906 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15908 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15909 window if necessary.
15911 * calendar/calendar.el (calendar-basic-setup): Don't call
15912 switch-to-buffer in a dedicated window.
15914 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15916 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15917 don't do anything related to relocating, just return nil.
15918 (bookmark-error-no-filename): New error.
15919 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15920 bookmark has no file. Don't even attempt to handle things that
15921 are not files; the whole point of custom handlers is to keep that
15922 knowledge elsewhere anyway. Tighten some comments.
15923 (bookmark-file-or-variation-thereof): Remove now-unused function.
15924 (bookmark-location): Doc string fix.
15927 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15929 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15930 don't use a file dialog, because they usually don't know how to read
15931 a directory target from the user. (Bug#4230)
15932 Also, make sure the prompt can display directories as well as files.
15934 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15936 * bookmark.el (bookmark-set, bookmark-buffer-name):
15937 Improve doc strings. (Bug#1193)
15939 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15941 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15942 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15943 (bookmark-get-annotation, bookmark-set-annotation)
15944 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15945 (bookmark-set-position, bookmark-get-front-context-string)
15946 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15947 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15948 (bookmark-jump-other-window, bookmark-handle-bookmark)
15949 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15950 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15951 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15952 Improve doc strings to say whether bookmark can be a string or
15953 a record or both, and make other consistency and clarity fixes.
15954 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15955 (bookmark-default-annotation-text, bookmark-yank-word)
15956 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15957 (bookmark-import-new-list, bookmark-maybe-rename)
15958 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15959 (bookmark-bmenu-bookmark): Give these doc strings.
15960 (bookmark-bmenu-check-position): Give this a doc string, but also
15961 add a FIXME comment about how the function may be pointless.
15962 (bookmark-default-handler): Rework doc string and change a
15963 parameter name, to clarify that this takes a bookmark record
15964 not a bookmark name.
15965 (bookmark-set): Change a parameter name to indicate its meaning,
15966 and improve the doc string a bit.
15969 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15971 * bookmark.el (bookmark-alist): Document the new `handler' element
15972 in the param alist.
15973 (bookmark-make-record-function): Adjust documentation for above.
15976 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15978 * info.el (Info-bookmark-make-record): Document this function.
15979 (Info-bookmark-jump): Document with a doc string, not just a comment.
15982 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15984 * files.el (copy-directory): New defun.
15986 * dired-aux.el (dired-copy-file-recursive): Use it.
15988 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15990 * files-x.el (modify-dir-local-variable)
15991 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15994 * recentf.el (recentf-unload-function): New function.
15996 2009-10-04 Glenn Morris <rgm@gnu.org>
15998 * window.el (window-full-height-p): Add doc string.
16000 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16002 * window.el (window-full-height-p): New function. (Bug#4543)
16004 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16006 * vc.el: Remove commented out code.
16007 (vc-derived-from-dir-mode): Remove, unused.
16008 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16010 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16012 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16013 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16014 there could be recursive loading when `default-directory' is a
16015 remote file name. (Bug#4614)
16017 2009-10-03 Glenn Morris <rgm@gnu.org>
16019 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16021 (calendar-generate-window): Test for shrinkability rather than width.
16023 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16024 reusing existing buffers, in case we happen to visit two files with the
16025 same basename. (Bug#4593)
16027 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16029 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16030 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16031 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16032 subdirs of cedet as well.
16033 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16035 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16038 Obey advertised-signature-table.
16040 * help-fns.el (help-function-arglist): Don't check
16041 advertised-signature-table.
16042 (describe-function-1): Do it here instead so it also applies to subrs.
16044 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16046 * simple.el (start-file-process): Say in the doc-string, that file
16047 handlers might not support pty association, if PROGRAM is nil.
16049 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16050 HOST and USER are strings. They are nil, when there are
16051 incomplete entries in ~/.netrc, for example.
16052 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16053 root directory ("device busy" error otherwise).
16055 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16056 Flush file properties of created directory.
16058 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16060 * makefile.w32-in (WINS_BASIC): Remove cedet.
16061 (WINS_CEDET): Add cedet.
16062 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16064 2009-10-02 Kevin Ryde <user42@zip.com.au>
16066 * net/browse-url.el (browse-url): Pass any symbol in
16067 browse-url-browser-function to `apply', since if you've mistakenly put
16068 an unbound symbol then the error is clearer. (Bug#4531)
16070 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16072 * allout.el (allout-init, allout-back-to-current-heading)
16073 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16074 (allout-ascend, allout-up-current-level, allout-end-of-level)
16075 (allout-previous-visible-heading, allout-forward-current-level)
16076 (allout-backward-current-level, allout-show-children):
16077 * apropos.el (apropos-describe-plist):
16078 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16079 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16080 * completion.el (add-completion, add-permanent-completion):
16081 * descr-text.el (describe-text-category, describe-char):
16082 * desktop.el (desktop-lazy-abort):
16083 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16084 * dired.el (dired-build-subdir-alist):
16085 * ediff.el (ediff-version):
16086 * elide-head.el (elide-head, elide-head-show):
16087 * emerge.el (emerge-version):
16089 * face-remap.el (variable-pitch-mode):
16090 * faces.el (describe-face):
16091 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16093 * files.el (find-file-existing, auto-save-mode):
16094 * font-lock.el (font-lock-fontify-buffer):
16095 * help-fns.el (describe-function, describe-variable)
16096 (describe-syntax, describe-categories):
16097 * help.el (view-lossage, describe-bindings, describe-key)
16099 * hexl.el (hexl-current-address):
16100 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16101 * info.el (Info-goto-emacs-key-command-node):
16102 * log-edit.el (log-edit-insert-cvs-template)
16103 (log-edit-insert-cvs-rcstemplate):
16104 * menu-bar.el (menu-bar-mode):
16105 * mouse.el (mouse-appearance-menu):
16106 * newcomment.el (comment-indent-new-line):
16107 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16108 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16109 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16110 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16111 * recentf.el (recentf-mode):
16112 * savehist.el (savehist-mode, savehist-save):
16113 * shadowfile.el (shadow-copy-files):
16114 * simple.el (kill-ring-save, next-line, previous-line)
16115 (normal-erase-is-backspace-mode):
16116 * strokes.el (strokes-update-window-configuration)
16117 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16118 (strokes-xpm-for-stroke):
16119 * time.el (emacs-uptime, emacs-init-time):
16120 * tutorial.el (tutorial--describe-nonstandard-key)
16121 (tutorial--detailed-help):
16122 * type-break.el (type-break-mode)
16123 (type-break-mode-line-message-mode, type-break-query-mode)
16124 (type-break-guesstimate-keystroke-threshold):
16125 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16126 * version.el (emacs-version):
16127 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16128 * winner.el (winner-mode):
16129 * calendar/timeclock.el (timeclock-in, timeclock-out)
16130 (timeclock-status-string, timeclock-change)
16131 (timeclock-workday-remaining-string)
16132 (timeclock-workday-elapsed-string)
16133 (timeclock-when-to-leave-string):
16134 * calendar/todo-mode.el (todo-add-category):
16135 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16136 * emacs-lisp/autoload.el (update-file-autoloads):
16137 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16138 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16139 (checkdoc-message-text, checkdoc-defun):
16140 * emacs-lisp/debug.el (debugger-list-functions):
16141 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16142 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16143 (eieio-describe-generic):
16144 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16145 * emacs-lisp/shadow.el (list-load-path-shadows):
16146 * emulation/cua-base.el (cua-mode):
16147 * emulation/edt.el (edt-set-scroll-margins):
16148 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16149 (tpu-toggle-regexp, tpu-toggle-search-direction)
16150 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16151 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16152 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16153 (viper-set-parsing-style-toggling-macro)
16154 (viper-set-emacs-state-searchstyle-macros):
16155 * emulation/viper.el (viper-set-hooks):
16156 * eshell/esh-mode.el (eshell-truncate-buffer):
16157 * international/mule-cmds.el (prefer-coding-system)
16158 (describe-input-method, describe-language-environment):
16159 * international/mule-diag.el (list-character-sets)
16160 (describe-character-set, describe-coding-system)
16161 (describe-fontset, list-fontsets, list-input-methods):
16162 * mail/sendmail.el (mail-signature):
16163 * net/ange-ftp.el (ange-ftp-copy-file):
16164 * net/browse-url.el (browse-url):
16165 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16166 * net/quickurl.el (quickurl-add-url):
16167 * net/rcirc.el (names, topic):
16168 * net/xesam.el (xesam-mode):
16169 * play/5x5.el (5x5-new-game):
16170 * play/yow.el (apropos-zippy):
16171 * progmodes/ada-mode.el (ada-mode-version):
16172 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16174 (f90-beginning-of-block):
16175 * progmodes/fortran.el (fortran-end-of-block)
16176 (fortran-beginning-of-block):
16177 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16178 * progmodes/python.el (python-describe-symbol, python-shell):
16179 * term/ns-win.el (ns-print-buffer):
16180 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16181 * textmodes/flyspell.el (flyspell-mode-on):
16182 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16183 (pages-directory-for-addresses):
16184 * textmodes/table.el (table-recognize-cell)
16185 (table-query-dimension, table-generate-source)
16186 (table-insert-sequence, table--warn-incompatibility):
16187 * textmodes/tex-mode.el (tex-validate-buffer):
16188 * textmodes/texinfmt.el (texinfmt-version)
16189 (texinfo-format-buffer):
16190 Use `called-interactively-p' instead of `interactive-p'.
16192 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16194 * image-mode.el (image-toggle-display):
16195 * emacs-lisp/elp.el (elp-instrument-function):
16196 * emacs-lisp/advice.el (ad-make-advised-definition):
16197 * emacs-lisp/easy-mmode.el (define-minor-mode):
16198 * net/browse-url.el (browse-url-maybe-new-window):
16199 * progmodes/sh-script.el (sh-learn-buffer-indent):
16200 Pass new argument 'any to `called-interactively-p'.
16202 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16204 * international/uni-bidi.el:
16205 * international/uni-category.el:
16206 * international/uni-combining.el:
16207 * international/uni-comment.el:
16208 * international/uni-decimal.el:
16209 * international/uni-decomposition.el:
16210 * international/uni-digit.el:
16211 * international/uni-lowercase.el:
16212 * international/uni-mirrored.el:
16213 * international/uni-name.el:
16214 * international/uni-numeric.el:
16215 * international/uni-old-name.el:
16216 * international/uni-titlecase.el:
16217 * international/uni-uppercase.el:
16218 Regenerate from Unicode 5.2.0 data.
16220 2009-10-01 Glenn Morris <rgm@gnu.org>
16222 * Makefile.in (ELCFILES): Regenerate.
16224 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * subr.el (interactive-p): Mark obsolete.
16227 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16228 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16229 advertised-signature-table for subroutines as well.
16231 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16232 (set-advertised-calling-convention): New function.
16233 (make-obsolete, define-obsolete-function-alias)
16234 (make-obsolete-variable, define-obsolete-variable-alias):
16235 Make the optional-ness of `when' obsolete.
16236 (define-obsolete-face-alias): Make `when' non-optional.
16237 * help-fns.el (help-function-arglist):
16238 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16239 Use advertised-signature-table.
16241 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16243 * files.el (delete-directory): New defun. The original function
16244 in fileio.c has been renamed to `delete-directory-internal'.
16246 * dired.el (dired-delete-file): Call `delete-directory' with
16247 RECURSIVE parameter.
16249 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16250 parameter RECURSIVE. Implementation is missing.
16252 * net/tramp.el (tramp-handle-make-directory): Flush upper
16253 directory's file properties.
16254 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16255 (tramp-handle-dired-recursive-delete-directory): Flush directory
16256 properties after the remove command only.
16258 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16259 Handle optional parameter RECURSIVE.
16261 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16262 Handle optional parameter RECURSIVE.
16264 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16265 connection timeout.
16266 (tramp-smb-handle-delete-directory): Handle optional parameter
16269 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16271 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16272 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16273 (byte-compile-defmacro): Use backquotes.
16275 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16277 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16278 has no associated file.
16279 (vc-resynch-buffer): Use vc-dir-buffers.
16281 2009-10-01 Glenn Morris <rgm@gnu.org>
16283 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16284 (chart-file-count):
16285 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16286 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16287 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16288 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16289 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16290 (eieio-copy-parents-into-subclass, make-instance, class-children)
16291 (eieio-generic-form):
16293 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16294 match-data. (Bug#4555).
16296 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16297 rather than parsing it as a regexp. This relaxes the layout
16298 requirements and makes errors easier to detect.
16299 (check-declare-verify): Check file is regular.
16300 (check-declare-directory): Doc fix.
16301 * subr.el (declare-function): Doc fix.
16303 * ibuffer.el (ibuffer-format-qualifier):
16304 * isearch.el (hi-lock-regexp-okay):
16305 * calc/calc.el (math-zerop):
16306 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16307 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16308 Remove unused declarations.
16310 2009-09-30 Eric Ludlam <zappo@gnu.org>
16312 * emacs-lisp/eieio.el (boolean-p): Delete.
16314 2009-09-30 Glenn Morris <rgm@gnu.org>
16316 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16318 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16319 filename is not a string.
16321 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16323 * files.el (safe-local-eval-forms): Fix typo.
16325 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16327 * vc-hooks.el (vc-dir-buffers): New var.
16328 (vc-state-refresh): New function.
16329 (vc-state): Use it.
16330 (vc-after-save): Always ask the backend to recompute the new state.
16331 Always call vc-dir if necessary, using vc-dir-buffers.
16332 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16333 Use vc-dir-buffers.
16334 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16335 (vc-dir-prepare-status-buffer, vc-dir-update)
16336 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16337 Don't call expand-file-name on default-directory.
16339 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16341 * speedbar.el (speedbar-item-delete):
16342 * calc/calc-prog.el (calc-kbd-if):
16343 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16345 * epa.el (epa-key-list-mode-map):
16346 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16348 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16349 (hs-show-hook): Fix typo in docstring.
16351 2009-09-29 Glenn Morris <rgm@gnu.org>
16353 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16354 file-name-nondirectory call preventing location of cedet files.
16355 (check-declare-verify): Use literal search rather than re-search.
16356 Add basic defmethod and defclass, and define-overloadable-function.
16358 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16359 Use tramp-compat-file-attributes rather than nonexistent
16360 tramp-compat-handle-file-attributes.
16362 * Makefile.in (lisptagsfiles4): New.
16363 (AUTOGENEL): Add cedet loaddefs files.
16364 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16365 (update-elclist, compile-always, backup-compiled-files)
16366 (bootstrap-clean): Add yet another directory level.
16367 (update-elclist): Use LC_COLLATE rather than COLLATE.
16368 (ELCFILES): Update, via `make update-elclist'.
16370 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16372 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16373 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16374 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16376 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16378 * Makefile.in (lisptagsfiles3): Define.
16379 (TAGS, TAGS-LISP): Use it.
16380 (update-elclist): Add third directory level to look for elc files.
16381 (compile-always): Likewise.
16382 (backup-compiled-files): Likewise.
16383 (bootstrap-clean): Likewise.
16384 (ELCFILES): Update.
16386 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16388 * Makefile.in (ELCFILES): Add CEDET files.
16390 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16392 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16394 * net/tramp.el (top): Require tramp-imap.
16396 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16397 Use `tramp-compat-handle-file-attributes'.
16399 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16401 * net/tramp-imap.el: New package.
16403 2009-09-28 Eric Ludlam <zappo@gnu.org>
16405 * emacs-lisp/chart.el:
16406 * emacs-lisp/eieio-base.el:
16407 * emacs-lisp/eieio-comp.el:
16408 * emacs-lisp/eieio-custom.el:
16409 * emacs-lisp/eieio-datadebug.el:
16410 * emacs-lisp/eieio-opt.el:
16411 * emacs-lisp/eieio-speedbar.el:
16412 * emacs-lisp/eieio.el: New files.
16414 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16416 * whitespace.el (whitespace-trailing-regexp)
16417 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16420 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16422 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16425 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16426 menu-bar-ediff-menu.
16428 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16429 define-overloadable-function.
16431 * progmodes/autoconf.el: Provide autoconf as well, so that this
16432 file can be `require'd.
16434 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16436 * emacs-lisp/autoload.el (generated-autoload-feature)
16437 (generated-autoload-load-name): New vars.
16438 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16439 (make-autoload): Recognize define-overloadable-function and
16440 defclass forms (for EIEIO).
16442 * Makefile.in (update-subdirs): Exclude cedet directory.
16444 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16446 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16448 * faces.el: Default light-background background for region face to
16449 ns_selection_color under NS.
16451 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16453 * net/imap-hash.el: New library, see NEWS.
16455 * Makefile.in (ELCFILES): Add imap-hash.el.
16457 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16459 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16460 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16461 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16462 definition where the docstring could be taken for the return value.
16464 2009-09-26 Glenn Morris <rgm@gnu.org>
16466 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16467 Add option to only show images below a certain size.
16468 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16469 save-excursion calls.
16471 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16473 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16474 subdirectories) and eieio.
16476 2009-09-26 Alan Mackenzie <acm@muc.de>
16478 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16479 Correct buggy bracketing. (Bug#4289)
16481 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16482 character constants (as case labels). (Bug#4289)
16484 2009-09-25 Juri Linkov <juri@jurta.org>
16486 * files.el (safe-local-eval-forms): Allow time-stamp in
16487 before-save-hook (Bug#4554).
16489 2009-09-25 Drew Adams <drew.adams@oracle.com>
16491 * menu-bar.el (list-buffers-directory): Doc fix.
16493 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16495 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16496 Try and avoid copying twice the same paragraph.
16497 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16498 Remove save-excursion.
16499 (log-edit-changelog-entry): Do it here instead.
16501 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16503 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16504 when available, instead of hardcoding mode names. Doc fix.
16506 * menu-bar.el (list-buffers-directory): Add docstring.
16507 Make automatically buffer-local.
16509 * dired.el (dired-mode):
16510 * files.el (cd-absolute):
16511 * pcvs.el (cvs-temp-buffer):
16512 * pcvs-util.el (cvs-get-buffer-create):
16513 * shell.el (shell-mode):
16514 * vc-dir.el (vc-dir-mode):
16515 Don't make `list-buffers-directory' buffer local.
16517 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16519 * comint.el (comint-exec, comint-run, make-comint):
16520 Doc fixes (Bug#4542).
16522 2009-09-25 Glenn Morris <rgm@gnu.org>
16524 * mail/rmailmm.el (rmail-mime): New custom group.
16525 Move all defcustoms in this file into this group.
16526 (rmail-mime-media-type-handlers-alist): Revert previous change.
16527 (rmail-mime-show-images): New option.
16528 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16529 references to it, since it wasn't actually used for anything.
16530 (rmail-mime-insert-image): New function.
16531 (rmail-mime-image): Use rmail-mime-insert-image.
16532 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16533 obey the value of `rmail-mime-show-images' option. Print the size of
16536 2009-09-25 David Engster <deng@randomsample.de>
16538 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16540 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16542 * whitespace.el: Does not highlight trailing spaces While point is
16543 at end of line. Does not highligt spaces at beginning of buffer
16544 while point is at beginning of buffer. Does not highlight spaces
16545 at end of buffer while point is at end of buffer. (Bug#4177)
16547 (whitespace-display-mappings): Adjust initialization.
16548 (whitespace-point, whitespace-font-lock-refontify): New vars.
16549 (whitespace-color-on, whitespace-color-off): Adjust code.
16550 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16551 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16552 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16554 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16556 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16558 * textmodes/sgml-mode.el: Remove xml-mode alias.
16560 * files.el (auto-mode-alist, conf-mode-maybe)
16561 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16563 2009-09-24 Alan Mackenzie <acm@muc.de>
16565 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16566 c-forward-conditionals, but it doesn't move point and doesn't set
16568 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16569 (c-down-conditional-with-else, c-backward-conditional)
16570 (c-forward-conditional): Refactor to use c-scan-conditionals.
16572 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16574 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16575 (help-default-arg-highlight): Remove.
16576 (help-highlight-arg): New function.
16577 (help-do-arg-highlight): Use it.
16578 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16580 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16582 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16583 Undo last change, which didn't fix the problem and introduced others.
16585 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16587 * progmodes/gdb-mi.el: Don't require speedbar.
16588 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16590 2009-09-24 Glenn Morris <rgm@gnu.org>
16592 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16594 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16596 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16597 there is no newline after the final mime boundary. (Bug#4539)
16598 Move markers on insertion so that any buttons inserted don't end up in
16599 the next part of a multipart message.
16600 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16601 (rmail-mime-bulk-handler): Optionally handle images.
16602 (rmail-mime-image): New button action.
16603 (rmail-mime-image-handler): New function.
16604 (rmail-mime-mode): New mode.
16605 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16607 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16609 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16610 than just dropping elements from it (bug#4504).
16612 * term.el (term-set-scroll-region): Don't move cursor any more.
16613 (term-handle-ansi-escape): Call term-goto here instead.
16614 Suggested by Ivan Kanis <apple@kanis.eu>.
16616 * term.el: Require CL.
16617 (term-ansi-reset): New function.
16618 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16619 (term-handle-colors-array): Simplify.
16621 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16623 * allout.el (allout-overlay-interior-modification-handler)
16624 (allout-obtain-passphrase):
16625 * epa-file.el (epa-file-write-region):
16626 * ps-print.el (ps-begin-job):
16627 * vc-hooks.el (vc-toggle-read-only):
16628 * vc-rcs.el (vc-rcs-rollback):
16629 * vc-sccs.el (vc-sccs-rollback):
16630 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16631 (vc-version-diff, vc-revert, vc-rollback):
16632 * wdired.el (wdired-check-kill-buffer):
16633 * emacs-lisp/authors.el (authors):
16634 * net/socks.el (socks-open-connection):
16635 * net/zeroconf.el (zeroconf-service-add-hook):
16636 * obsolete/vc-mcvs.el (vc-mcvs-register):
16637 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16638 (gdb-select-frame):
16639 * progmodes/grep.el (lgrep, rgrep):
16640 * progmodes/idlw-help.el (idlwave-help-check-locations)
16641 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16642 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16643 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16644 (reftex-toc-rename-label): Fix typos in error messages.
16646 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16647 (dired-copy-how-to-fn): Doc fix.
16648 (dired-files-attributes, dired-read-shell-command):
16649 Fix typos in docstrings.
16651 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16652 (dired-x-find-file-other-window): Reflow docstrings.
16653 (dired-omit-marker-char, dired-read-shell-command)
16654 (dired-x-submit-report): Fix typos in docstrings.
16656 * shell.el (shell-mode-hook):
16657 * view.el (View-scroll-line-forward):
16658 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16659 Fix typos in docstrings.
16661 * net/dig.el (dig-invoke): Fix typo in docstring.
16662 (query-dig): Reflow docstring.
16664 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16665 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16666 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16667 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16668 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16669 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16670 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16671 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16672 (idlwave-completion-map, idlwave-current-indent)
16673 (idlwave-custom-ampersand-surround, idlwave-customize)
16674 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16675 (idlwave-define-abbrev, idlwave-determine-class-special)
16676 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16677 (idlwave-end-block-reg, idlwave-end-of-statement)
16678 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16679 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16680 (idlwave-explicit-class-listed, idlwave-file-header)
16681 (idlwave-fill-paragraph, idlwave-find-class-definition)
16682 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16683 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16684 (idlwave-in-quote, idlwave-indent-action-table)
16685 (idlwave-indent-expand-table, idlwave-indent-line)
16686 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16687 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16688 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16689 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16690 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16691 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16692 (idlwave-outlawed-buffers, idlwave-popup-select)
16693 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16694 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16695 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16696 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16697 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16698 (idlwave-statement-type, idlwave-struct-skip)
16699 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16700 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16701 (idlwave-what-module-find-class): Fix typos in docstrings.
16702 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16703 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16704 (idlwave-find-module, idlwave-find-structure-definition)
16705 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16706 (idlwave-list-load-path-shadows, idlwave-next-statement)
16707 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16708 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16709 (idlwave-template): Reflow docstrings.
16711 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16712 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16713 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16714 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16715 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16716 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16717 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16718 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16719 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16720 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16721 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16722 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16723 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16724 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16725 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16726 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16727 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16728 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16729 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16730 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16731 Fix typos in docstrings.
16732 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16733 (idlwave-shell-hide-output, idlwave-shell-mode)
16734 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16737 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16739 2009-09-24 Ivan Kanis <apple@kanis.eu>
16741 * term.el (term-bold-attribute): New var.
16742 (term-handle-colors-array): Use it.
16744 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16746 * progmodes/gdb-mi.el (gdb-version): New variable.
16747 (gdb-non-stop-handler): Set gdb-version.
16748 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16749 Condition "--thread" option on gdb-version.
16750 (gdb-invalidate-threads): Remove unused argument.
16752 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16754 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16755 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16757 2009-09-23 Glenn Morris <rgm@gnu.org>
16759 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16760 replying to mail without References or Message-Id. (Bug#4525)
16762 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16764 * term/ns-win.el (ns-reg-to-script): New variable.
16766 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16768 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16770 2009-09-22 Sam Steingold <sds@gnu.org>
16772 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16773 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16774 to 1 because hg returns status 1 when nothing is found.
16775 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16777 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16779 * textmodes/fill.el: Convert to utf-8 encoding.
16780 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16783 * add-log.el (change-log-fill-forward-paragraph): New function.
16784 (change-log-mode): Use it so fill-region DTRT.
16785 Set fill-indent-according-to-mode here rather than in
16786 change-log-fill-paragraph.
16787 (change-log-fill-paragraph): Remove.
16789 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16791 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16792 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16794 2009-09-22 Glenn Morris <rgm@gnu.org>
16796 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16797 the scroll-bar scroll the calendar window rather than the buffer.
16799 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16800 commands that move point (as opposed to scrolling).
16802 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16804 * emacs-lisp/elint.el (elint): New custom group.
16805 (elint-log-buffer): Make it a defcustom.
16806 (elint-scan-preloaded, elint-ignored-warnings)
16807 (elint-directory-skip-re): New options.
16808 (elint-builtin-variables): Doc fix.
16809 (elint-preloaded-env): New variable.
16810 (elint-unknown-builtin-args): Add an entry for encode-time.
16811 (elint-extra-errors): Make it a variable rather than a constant.
16812 (elint-preloaded-skip-re): New constant.
16813 (elint-directory): Skip files matching elint-directory-skip-re.
16814 (elint-features): New variable, local to linted buffers.
16815 (elint-update-env): Initialize elint-features. Possibly add
16816 elint-preloaded-env to the buffer's environment.
16817 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16819 (elint-init-form): New function, extracted from elint-init-env.
16820 Make non-list forms a warning rather than an error.
16821 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16822 easy-menu-define, put that adds an error-condition, and provide.
16823 When requiring cl, also require cl-macs. Really require cl, to handle
16824 some cl macros. Store required libraries in the list elint-features,
16825 so as not to re-load them. Treat cc-require like require.
16826 (elint-init-env): Call elint-init-form to do the work.
16827 Handle eval-and-compile and such like.
16828 (elint-add-required-env): Do not clear messages.
16829 (elint-special-forms): Add handlers for function, defalias, if, when,
16831 (elint-form): Add optional argument to ignore elint-special-forms,
16832 useful to prevent recursive calls from handlers. Doc fix.
16833 Respect elint-ignored-warnings.
16834 (elint-form): Respect elint-ignored-warnings.
16835 (elint-bound-variable, elint-bound-function): New variables.
16836 (elint-unbound-variable): Respect elint-bound-variable.
16837 (elint-get-args): Respect elint-bound-function.
16838 (elint-check-cond-form): Add some simple handling for (f)boundp and
16840 (elint-check-defalias-form): New handler.
16841 (elint-check-let-form): Make an empty let a warning rather than an
16843 (elint-check-setq-form): Make an empty setq a warning rather than an
16844 error. Respect elint-ignored-warnings.
16845 (elint-check-defvar-form): Accept null doc-strings.
16846 (elint-check-conditional-form): New handler. Does some simple-minded
16847 checking of featurep and (f)boundp tests.
16848 (elint-put-function-args): New function.
16849 (elint-initialize): Use elint-scan-doc-file rather than
16850 elint-find-builtin-variables. Use elint-put-function-args.
16851 Possibly scan preloaded-file-list.
16852 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16853 extend to handle functions as well.
16855 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16857 * linum.el (linum-delete-overlays, linum-update-window):
16858 Do not modify the right margin. (Bug#3971)
16860 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16862 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16863 Use nxml-mode instead of xml-mode.
16865 2009-09-21 Kevin Ryde <user42@zip.com.au>
16867 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16869 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * net/dig.el (dig-mode): Use define-derived-mode.
16873 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16875 * vc-dispatcher.el (vc-do-command): Return the process object in
16876 the asynchronous case. Use when instead of if. Do not run
16877 vc-exec-after to display a message if not enabled. (Bug#4463)
16879 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16880 properties to the stash strings.
16881 (vc-git-stash-list): Return a list of strings.
16882 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16883 (vc-git-stash-show-at-point): New functions.
16884 (vc-git-stash-map): New keymap.
16886 * register.el (ctl-x-r-map): Define the keys here instead of
16889 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16891 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16892 list, to workaround performance problem (bug#4485).
16894 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16896 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16898 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16900 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16901 Document that this option is not recommended to use.
16903 2009-09-19 Glenn Morris <rgm@gnu.org>
16905 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16908 * calc/calc-alg.el (var):
16909 * calc/calcalg2.el (var): Define for compiler.
16911 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16913 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16914 Doc fix (Bug#3932).
16916 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16918 * time-stamp.el (time-stamp-month-dd-yyyy)
16919 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16920 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16921 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16922 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16923 Remove functions that have been obsolete since 1995 (Bug#4436).
16925 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16926 indent buffer only if called interactively (Bug#4452).
16928 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16929 Eli Zaretskii <eliz@gnu.org>
16931 This fixes bug#4197 (merged to bug#865, though not identical).
16932 * server.el (server-auth-dir): Add docstring note about FAT32.
16933 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16934 but warn against using them.
16936 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16938 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16939 older GDB where there is no has_more field.
16941 2009-09-19 Glenn Morris <rgm@gnu.org>
16943 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16945 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16947 * files.el (auto-mode-alist): Change default for XML files to nXML
16950 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16952 * server.el (server-ensure-safe-dir): Pass 'integer
16953 to `file-attributes', as suggested.
16955 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16957 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16958 (dired-query): Use read-key.
16960 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16962 * cus-start.el (ns-use-qd-smoothing): Remove.
16964 2009-09-18 Glenn Morris <rgm@gnu.org>
16966 * allout.el (top-level): Remove unnecessary progn.
16968 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16970 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16971 definition of abbrev table.
16973 * speedbar.el (speedbar-track-mouse):
16974 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16975 * net/eudc.el (eudc-expand-inline):
16976 * net/newst-backend.el (newsticker--cache-read-feed):
16977 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16978 condition-case handlers.
16980 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16982 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16983 (gdb-var-list): Add an element for has_more field.
16984 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16985 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16986 (gdb-var-update-handler-1): Parse output of dynamic variable
16987 objects (STL containers).
16988 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16989 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16991 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16993 (gud-speedbar-buttons): Make node expandable if expression "has more"
16996 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16998 * startup.el (emacs-quick-startup): Remove variable and all uses.
16999 (command-line): Set `inhibit-x-resources' instead.
17000 (command-line-1): Use `inhibit-x-resources' instead.
17002 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17004 * subr.el: Fix last change to avoid using the `unless' macro,
17005 which breaks bootstrapping.
17007 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17010 extended definitions, in case we reload subr.el after having
17012 (eval-next-after-load): Mark as obsolete.
17014 2009-09-17 Juri Linkov <juri@jurta.org>
17016 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17017 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17018 (menu-bar-showhide-menu, menu-bar-tools-menu)
17019 (menu-bar-describe-menu, menu-bar-help-menu)
17020 (minibuffer-local-completion-map, minibuffer-local-map):
17023 2009-09-17 Glenn Morris <rgm@gnu.org>
17025 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17026 arguments, whether or not it has a handler.
17028 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17030 * simple.el (hard-newline): Give it a doc-string.
17032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17033 (lisp-mode-syntax-table): Give them doc-strings.
17035 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17037 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17038 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17039 (menu-bar-options-menu, menu-bar-showhide-menu)
17040 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17041 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17042 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17043 (menu-bar-options-menu, menu-bar-tools-menu)
17044 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17045 (menu-bar-help-menu):
17046 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17049 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17050 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17051 calls for the menu names and :help.
17053 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17055 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17056 to :minor-mode-function (bug#4455).
17058 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17060 * startup.el (command-line): Initialize the window-system after
17061 processing the command-line.
17063 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17064 page-delimiter matches the empty string.
17066 2009-09-16 Glenn Morris <rgm@gnu.org>
17068 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17069 byte-compile-not-obsolete-var. It's a list now.
17070 (byte-compile-not-obsolete-funcs): New variable.
17071 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17072 byte-compile-not-obsolete-funcs.
17073 (byte-compile-variable-ref, byte-compile-defvar): Update for
17074 byte-compile-not-obsolete-vars name-change and list nature.
17075 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17076 and variables behind (f)boundp tests.
17077 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17079 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17081 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17083 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17085 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17086 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17089 2009-09-15 Stephen Eglen <stephen@gnu.org>
17091 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17092 the virtual-buffers, use the name of the buffer specified by
17093 find-file-noselect, as the match may be a symlink. (This was a
17094 problem if the target and the symlink had different names.)
17096 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17100 * desktop.el (desktop-path): Check user-emacs-directory.
17102 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17104 * loadup.el: Use after-load-functions to GC after loading each file.
17105 Remove the explicit GC calls that used to be sprinkled around.
17107 * subr.el (after-load-functions): New hook.
17108 (do-after-load-evaluation): Run it. Use string-match-p to detect
17109 `obsolete' packages, rather than painfully extracting the relevant
17112 2009-09-15 Glenn Morris <rgm@gnu.org>
17114 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17115 free variable `doc'.
17117 * dired.el (dired-mode-map): Add menu entry for async shell command.
17119 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17120 variables, also consider the .elc files, since the .el files are
17121 normally gzipped (subsequent code locates the .el.gz from the .elc).
17123 * calc/calc-prog.el (arglist): Define for compiler.
17125 * calendar/diary-lib.el (diary-display-function): Change the default to
17127 (body): Define for compiler.
17129 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17130 (byte-compile-file-form, byte-compile-lambda)
17131 (byte-compile-top-level-body, byte-compile-form)
17132 (byte-compile-variable-ref, byte-compile-setq)
17133 (byte-compile-setq-default, byte-compile-body)
17134 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17135 (batch-byte-compile): Give some more local variables with common names
17136 a "bytecomp-" prefix to avoid masking warnings about free variables.
17138 * startup.el (command-line-1): Give local variables with common names a
17139 distinguishing prefix, so as not to hide free variable warnings during
17142 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17143 clever and add a suffix to make a unique name, just let the user decide
17144 whether or not to overwrite it. If the input is a directory, write the
17145 default filename to that directory. (Bug#4388)
17146 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17147 is a filename-as-a-directory.
17149 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17151 * textmodes/page.el (what-page): Don't move to beginning of line.
17152 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17154 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17156 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17158 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17160 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17161 * help.el (help-for-help-internal): Add purecopy calls for text.
17163 * vc.el (top): print-log method now takes an optional SHORTLOG
17164 argument. Add a new method: root.
17165 (vc-root-diff, vc-print-root-log): New functions.
17166 (vc-log-short-style): New variable.
17167 (vc-print-log-internal): Add support for showing short logs.
17169 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17170 vc-print-root-log and vc-print-root-diff.
17172 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17173 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17174 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17177 * vc-cvs.el (vc-cvs-print-log):
17178 * vc-mtn.el (vc-mtn-print-log):
17179 * vc-rcs.el (vc-rcs-print-log):
17180 * vc-sccs.el (vc-sccs-print-log):
17181 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17182 that is ignored for now.
17184 * vc-mtn.el (vc-mtn-annotate-command):
17185 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17187 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17189 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17190 to function-key-map, and give them ascii-character property.
17191 * term/x-win.el (x-alternatives-map):
17192 * term/ns-win.el (ns-alternatives-map):
17193 * term/internal.el (msdos-key-remapping-map):
17194 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17196 2009-09-14 Glenn Morris <rgm@gnu.org>
17198 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17199 temp-buffers (2009-09-12).
17201 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17203 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17204 the new read-key function.
17206 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17208 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17209 is defined (Bug#4405).
17211 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17213 * recentf.el (recentf-cleanup): Use a hash table to find
17214 duplicates (Bug#4407).
17216 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17218 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17219 kp-0 to ascii equivalents (Bug#4325).
17221 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17223 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17225 * eshell/em-hist.el:
17226 * eshell/em-dirs.el (eshell-complete-user-reference):
17227 Declare pcomplete functions and variables to avoid compiler warnings.
17229 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17231 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17232 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17233 * eshell/em-alias.el (eshell-aliases-file):
17234 * eshell/em-hist.el (eshell-history-file-name):
17235 Use expand-file-name instead of concat to make file names (Bug#4308).
17237 2009-09-13 Glenn Morris <rgm@gnu.org>
17239 * ediff-merg.el (ediff-do-merge):
17240 * filesets.el (filesets-run-cmd):
17241 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17242 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17243 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17244 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17245 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17246 Replace empty `let's with `progn'.
17248 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17250 * mail/sendmail.el (send-mail-function):
17251 * tooltip.el (tooltip-mode):
17252 * simple.el (transient-mark-mode):
17253 * rfn-eshadow.el (file-name-shadow-mode):
17254 * frame.el (blink-cursor-mode):
17255 * font-core.el (global-font-lock-mode):
17256 * files.el (temporary-file-directory)
17257 (small-temporary-file-directory, auto-save-file-name-transforms):
17258 * epa-hook.el (auto-encryption-mode):
17259 * composite.el (global-auto-composition-mode):
17260 Use custom-initialize-delay.
17261 * startup.el (command-line): Don't explicitly call
17262 custom-reevaluate-setting for all the above vars.
17263 * custom.el (custom-initialize-safe-set)
17264 (custom-initialize-safe-default): Delete.
17266 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17268 * term/x-win.el (x-initialize-window-system):
17269 * term/w32-win.el (w32-initialize-window-system):
17270 * term/ns-win.el (ns-initialize-window-system): Don't call
17271 mouse-wheel-mode since it's enabled globally by default already.
17273 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17274 actually define the variable, but only silences the byte-compiler.
17275 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17276 before looking it up.
17277 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17280 2009-09-12 Glenn Morris <rgm@gnu.org>
17282 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17284 (elint-add-required-env): Don't beep on error.
17285 (elint-forms): In case of error, return ENV unchanged.
17286 (elint-init-env): Skip non-list forms.
17287 (elint-log): Handle unknown file positions.
17289 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17291 * epg.el (epg-make-context): Add autoload cookie.
17292 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17293 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17294 (epg-verify-string, epg-start-sign, epg-sign-file)
17295 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17296 (epg-encrypt-string, epg-start-export-keys)
17297 (epg-export-keys-to-file, epg-export-keys-to-string)
17298 (epg-start-import-keys, epg-import-keys-from-file)
17299 (epg-import-keys-from-string, epg-start-receive-keys)
17300 (epg-receive-keys, epg-import-keys-from-server)
17301 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17302 (epg-sign-keys, epg-start-generate-key)
17303 (epg-generate-key-from-file, epg-generate-key-from-string):
17304 Remove autoload cookie.
17306 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17308 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17309 reevaluation of trash-directory.
17311 * mwheel.el: Fix last change.
17312 (mouse-wheel-mode): New defvar.
17313 (mouse-wheel-mode): Remove autoload cookie.
17315 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17317 * mwheel.el (mwheel-installed-bindings): New var.
17318 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17319 the bindings we set last time. Use custom-initialize-delay.
17320 * loadup.el: Load mwheel after term/*-win.el.
17321 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17322 and mouse-wheel-up-event now that their first evaluation is done
17323 sufficiently late to be correct.
17325 * startup.el (tutorial-directory): Make it a defcustom.
17326 Use custom-initialize-delay rather than eval-at-startup to set it.
17327 * image.el (image-load-path): Make it a defcustom.
17328 Use custom-initialize-delay rather than eval-at-startup to set it.
17329 * subr.el (eval-at-startup): Remove.
17330 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17332 * subr.el (do-after-load-evaluation): Warn the user after loading an
17335 2009-09-12 Glenn Morris <rgm@gnu.org>
17337 * proced.el (proced-mark-alt): Remove alias.
17338 (proced-mode-map): Remove proced-mark-alt.
17340 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17341 Elint file and directory. Remove initialization entry.
17343 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17345 (elint-current-buffer): Set mode-line-process.
17346 (elint-init-env): Handle define-derived-mode.
17347 Fix declare-function with unspecified arglist. Guard against odd
17348 defalias statements (eg iso-insert's 8859-1-map).
17349 (elint-add-required-env): Use a temp buffer.
17350 (elint-form): Just print the function/macro name, not the whole form.
17351 Return env unchanged if we fail to parse a macro.
17352 (elint-forms): Guard against parse errors.
17353 (elint-output): New function, to handle batch mode.
17354 (elint-log-message): Add optional argument. Use elint-output.
17355 (elint-set-mode-line): New function.
17357 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17359 * emacs-lisp/elp.el (elp-not-profilable): Add more
17360 functions (Bug#4233).
17362 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17364 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17365 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17367 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17369 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17370 (gdb-var-list-children): Use json parsing.
17372 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17374 * progmodes/js.el (js--proper-indentation): Handle the case where
17375 char-before is null. Reported by Deniz Dogan.
17377 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17379 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17381 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17383 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17384 (epg-digest-algorithm-alist): Add SHA224.
17385 (epg-context-set-passphrase-callback)
17386 (epg-context-set-progress-callback): Add description about
17389 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17391 * custom.el (custom-delayed-init-variables): New var.
17392 (custom-initialize-delay): New function.
17393 * startup.el (command-line): "Re"evaluate all vars in
17394 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17395 explicitly any more.
17396 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17397 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17399 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17401 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17403 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17404 (gdb-var-update-handler): Use json parsing.
17406 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17408 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17409 decode annotated text, regardless of language environment. (Bug#2741)
17411 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17413 * Makefile.in (autoloads): Make rmail.el writable as well.
17415 2009-09-11 Glenn Morris <rgm@gnu.org>
17417 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17419 * dired.el: Regenerate with extracted autoloads.
17420 * Makefile.in (autoloads): Make dired.el writable.
17422 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17423 * ibuffer.el: Regenerate with extracted autoloads.
17424 * Makefile.in (autoloads): Make ibuffer.el writable.
17426 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17427 * version.el (emacs-copyright, emacs-major-version)
17428 (emacs-minor-version): Reformat doc-strings for make-docfile.
17430 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17431 functions and variables, since they must be stuff specific to some other
17433 (apropos-print): Make mouse-click message less specific about button.
17435 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17436 that records where a macro was defined.
17437 * help-fns.el (describe-function-1): Mention if a function has a
17439 * help-mode.el (help-function-cmacro): New button.
17441 * locate.el (top-level): Always require dired.
17442 (locate-mode-map): Initialize inside the defvar.
17444 * net/ange-ftp.el (dired-compress-file): Declare.
17445 (ange-ftp-dired-compress-file): Add doc string.
17447 * term/ns-win.el (x-display-name, x-setup-function-keys):
17448 Unify doc-strings with X versions.
17450 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17452 * emulation/crisp.el (crisp-mode-map): Move initialization
17454 (crisp-mode): Use define-minor-mode.
17456 * progmodes/xscheme.el (xscheme-evaluation-commands):
17457 Put a :advertised-binding property rather than using
17458 advertised-xscheme-send-previous-expression.
17459 (advertised-xscheme-send-previous-expression): Declare obsolete.
17460 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17462 (crisp-mode): Add corresponding bindings to
17463 undo's :advertised-binding instead.
17464 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17465 than using dired-advertised-find-file.
17466 (dired-advertised-find-file):
17467 * simple.el (advertised-undo):
17468 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17469 (widget-keymap): Put a :advertised-binding property rather
17470 than using advertised-widget-backward.
17471 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17472 than using advertised-undo.
17473 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17475 2009-09-10 Simon South <ssouth@slowcomputing.org>
17477 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17478 Mark mode is enabled and region is active; otherwise indent or
17479 insert TAB as usual.
17480 (delphi-mode): Update description of TAB-key binding.
17482 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * subr.el (define-key-rebound-commands): Mark obsolete.
17485 * startup.el (precompute-menubar-bindings): Remove.
17486 (normal-top-level): Remove obsolete code that tried to precompute
17488 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17489 define-key-rebound-commands and precompute-menubar-bindings.
17491 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17493 * net/imap.el (imap-interactive-login): Better messages.
17494 (imap-open): Fix bug with renamed buffer on reconnect.
17495 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17496 for easier debugging and cleaner code. On successful (guessed based on
17497 server capabilities) secondary authentication, set imap-state
17499 (imap-last-authenticator): Define imap-last-authenticator as a variable
17502 2009-09-10 Glenn Morris <rgm@gnu.org>
17504 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17506 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17507 (byte-compile-file-form-autoload): Don't warn about unknown functions
17508 where the autoload statement comes after the use.
17509 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17510 that any handlers inside the body (eg require) are in turn respected.
17512 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17515 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17516 and syntax and abbrev tables basic docs, if they don't have any.
17518 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17520 * international/mule-cmds.el (top-level): Require cl when compiling.
17521 (view-hello-file): Use default-value rather than
17522 default-enable-multibyte-characters.
17524 * progmodes/fortran.el: Move all safe and risky properties into the
17527 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17528 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17529 * mail/undigest.el:
17530 Put autoloads in rmail.el rather than loaddefs.el.
17531 * mail/rmail.el: Regenerate with extracted autoloads.
17533 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17534 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17536 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17538 Reported in thread for Bug#4375.
17539 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17540 "-data-evaluate-expression" instead of print.
17541 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17542 (gdb-tooltip-print): Parse output from above MI command.
17543 (gdb): Revert 2009-08-11 change. User should detach inferior
17546 Remove the word "separate" from IO functions as inferior
17547 output is now never displayed in the GUD buffer.
17549 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17551 * startup.el (command-line-normalize-file-name): On Windows and
17552 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17554 2009-09-10 Juri Linkov <juri@jurta.org>
17556 * isearch.el (isearch-text-char-description): Propertize escape
17557 character sequences with the `escape-glyph' face. (Bug#4344)
17559 * simple.el (shell-command): Set asynchronous process filter to
17560 `comint-output-filter'. (Bug#4343)
17562 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17563 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17564 the list. Move "asm" to the bottom.
17565 (grep-find-ignored-directories): Add `choice' with nil value
17566 to empty the list easily.
17567 (grep-find-ignored-files): New option.
17568 (grep-files-history): Set to nil by default instead of '("ch" "el").
17569 (grep-compute-defaults): Add "<X>" to `grep-template'.
17570 (grep-read-files): Bind new local variables `default-alias' and
17571 `default-extension'. Use a list of default values for the file prompt.
17572 (lgrep): Add `--exclude=' command line options composed from
17573 `grep-find-ignored-files'.
17574 (rgrep): Add `-name' command line options composed from
17575 `grep-find-ignored-files'. (Bug#4301)
17577 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17579 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17582 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17584 * calendar/time-date.el (autoload):
17585 Expand define-obsolete-function-alias into defalias and make-obsolete
17586 for old Emacsen that Gnus supports.
17587 (with-no-warnings): Define it for old Emacsen.
17588 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17590 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17591 float-time is available; suppress compile warning for time-to-seconds.
17593 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17595 * net/imap.el (imap-message-map): Docstring fix.
17597 2009-09-09 Glenn Morris <rgm@gnu.org>
17599 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17600 line numbers too. (Bug#4374)
17602 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17604 * smerge-mode.el (smerge-remove-props, smerge-refine):
17605 Use with-silent-modifications (bug#4342).
17607 * subr.el (with-silent-modifications): New macro.
17609 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17611 * files.el (top-level): Require `cl' when compiling.
17613 2009-09-07 Glenn Morris <rgm@gnu.org>
17615 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17617 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17618 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17620 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17622 * vc-git.el (vc-git-annotate-command): Use separator to parse
17623 arguments correctly.
17625 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17627 * proced.el (proced-mode): Doc fix.
17629 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17631 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17633 (tramp-do-file-attributes-with-ls): Check for file existence at
17635 (tramp-do-file-attributes-with-stat): Likewise.
17636 (tramp-convert-file-attributes): Return nil when attr is nil.
17638 2009-09-05 Glenn Morris <rgm@gnu.org>
17640 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17641 properties to this button.
17642 (diary-fancy-display): Don't extend the button to the final newline.
17643 (diary-fancy-display-mode): Continue to define "q" as a local key.
17645 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17648 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17650 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17651 (byte-compile-dest-file-function): New option.
17652 (byte-compile-dest-file): Doc fix.
17653 Obey byte-compile-dest-file-function.
17654 (byte-compile-cl-file-p): New function.
17655 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17656 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17657 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17658 than for file being previously loaded.
17659 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17660 (byte-compile-file-form-require): Handle the case where requiring a file
17661 indirectly causes CL to be loaded.
17663 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17665 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17666 before killing the old buffer, since by the time `kill-buffer' is
17667 run so many buffer variables have been set to nil that it may not
17668 behave as expected. (Bug#4061)
17670 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17672 * files.el (find-alternate-file): If the old buffer is modified
17673 and visiting a file, behave similarly to `kill-buffer' when
17674 killing it, thus reverting to the pre-1.878 behavior; see
17675 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17676 for discussion. Also, consult `buffer-file-name' as a variable
17677 not as a function, for consistency with the rest of the code.
17679 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17681 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17682 also when adding a new directory.
17684 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17687 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17689 * files.el (locate-file-completion-table): Make it provide boundary
17690 information, so partial-completion works better.
17692 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17694 * mail/footnote.el (Footnote-text-under-cursor):
17695 Check footnote-text-marker-alist before using it (bug#4324).
17697 2009-09-04 Glenn Morris <rgm@gnu.org>
17699 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17700 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17701 * play/solitaire.el, play/tetris.el:
17702 Remove leading * from defcustom and defface docs.
17704 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17706 (diary-fancy-overriding-map): New variable.
17707 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17710 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17713 2009-09-03 Glenn Morris <rgm@gnu.org>
17715 * arc-mode.el (archive-mode):
17716 * dos-fns.el (set-default-process-coding-system):
17717 * man.el (Man-getpage-in-background):
17718 * menu-bar.el (menu-bar-describe-menu):
17719 * server.el (server-process-filter):
17720 * startup.el (command-line):
17721 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17722 * w32-fns.el (set-default-process-coding-system):
17723 * x-dnd.el (x-dnd-handle-file-name):
17724 * international/mule-cmds.el (mule-menu-keymap)
17725 (set-default-coding-systems, language-info-alist, set-language-info)
17726 (set-language-environment, standard-display-european-internal)
17727 (set-locale-environment):
17728 * international/mule-diag.el (mule-diag):
17729 * mail/emacsbug.el (report-emacs-bug):
17730 * mail/rmail.el (rmail-mode):
17731 * mail/sendmail.el (mail-setup):
17732 Use default-value rather than default-enable-multibyte-characters.
17734 * progmodes/f90.el: Move all safe properties into the defcustoms.
17735 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17737 * calendar/appt.el (appt-check):
17738 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17739 (diary-check-diary-file, diary-list-entries)
17740 (diary-include-other-diary-files, diary-simple-display)
17741 (diary-fancy-display, diary-print-entries)
17742 (diary-mark-included-diary-files, diary-make-entry):
17743 Don't call substitute-in-file-name on diary-file.
17745 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17746 Stefan Monnier <monnier@iro.umontreal.ca>
17748 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17749 (footnote-mode-map): Move initialization into the declaration.
17750 (footnote-minor-mode-map): Define it rather than changing global-map.
17751 (footnote-mode): Use define-minor-mode.
17753 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17755 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17756 (tramp-do-file-attributes-with-perl)
17757 (tramp-do-file-attributes-with-stat): Rename from
17758 `tramp-handle-file-attributes-with-*'.
17759 (tramp-handle-file-attributes): Use them.
17760 (tramp-do-directory-files-and-attributes-with-perl)
17761 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17762 `tramp-handle-directory-files-and-attributes-with-*'.
17763 (tramp-handle-directory-files-and-attributes): Use them.
17764 (tramp-method-out-of-band-p): Additional parameter SIZE.
17765 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17766 (tramp-handle-write-region): Use it.
17767 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17768 (tramp-handle-vc-registered): Check, whether the first run did
17769 return files to be tested.
17770 (tramp-advice-make-auto-save-file-name): Do not call directly
17771 `tramp-handle-make-auto-save-file-name', because this would bypass
17772 the locking mechanism.
17774 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17775 (file-remote-p, process-file, start-file-process, set-file-times)
17776 (tramp-compat-file-attributes): Compatibility functions shall not
17777 call directly `tramp-handle-*', because this would bypass the
17779 (tramp-compat-number-sequence): New defun.
17781 2009-09-02 Glenn Morris <rgm@gnu.org>
17783 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17784 alias for float-time.
17785 (time-to-number-of-days): In Emacs, use float-time.
17786 * net/newst-backend.el (time-add): Suppress warnings from compat
17788 * time.el (emacs-uptime, emacs-init-time):
17789 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17790 Use float-time rather than time-to-seconds.
17792 * minibuffer.el (completion-initials-expand): Fix typo.
17794 * faces.el (modeline, modeline-inactive, modeline-highlight)
17795 (modeline-buffer-id):
17796 * info.el (info-menu-5): Mark these face aliases as obsolete.
17798 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17800 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17802 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17803 no "--thread" option.
17804 (gdb-stopped): Don't print "Switched to thread" message when it is
17807 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17809 * minibuffer.el (completion-try-completion)
17810 (completion-all-completions): Remove ill-defined (and
17811 mistakenly installed and luckily never used nor documented)
17812 `completion-styles' property.
17813 (completion-initials-expand, completion-initials-all-completions)
17814 (completion-initials-try-completion): New functions.
17815 (completion-styles-alist): Add doc to each entry.
17816 Add new `initials' entry.
17818 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17820 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17821 MI command -var-evaluate-expression.
17822 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17823 and tweak for case of string child.
17824 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17826 2009-09-01 Glenn Morris <rgm@gnu.org>
17828 * add-log.el (change-log-date-face, change-log-name-face)
17829 (change-log-email-face, change-log-file-face, change-log-list-face)
17830 (change-log-conditionals-face, change-log-function-face)
17831 (change-log-acknowledgement-face):
17832 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17833 (custom-modified-face, custom-set-face, custom-changed-face)
17834 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17835 (custom-documentation-face, custom-state-face, custom-comment-face)
17836 (custom-comment-tag-face, custom-variable-tag-face)
17837 (custom-variable-button-face, custom-face-tag-face)
17838 (custom-group-tag-face-1, custom-group-tag-face):
17839 * diff-mode.el (diff-header-face, diff-file-header-face)
17840 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17841 (diff-added-face, diff-changed-face, diff-function-face)
17842 (diff-context-face, diff-nonexistent-face):
17843 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17844 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17845 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17846 (Info-title-4-face):
17847 * isearch.el (isearch-lazy-highlight-face):
17848 * log-view.el (log-view-file-face, log-view-message-face):
17849 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17850 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17851 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17853 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17854 (smerge-base-face, smerge-markers-face):
17855 * wid-edit.el (widget-documentation-face, widget-button-face)
17856 (widget-field-face, widget-single-line-field-face)
17857 (widget-inactive-face, widget-button-pressed-face):
17858 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17859 (woman-addition-face):
17860 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17861 (eshell-ls-executable-face, eshell-ls-readonly-face)
17862 (eshell-ls-unreadable-face, eshell-ls-special-face)
17863 (eshell-ls-missing-face, eshell-ls-archive-face)
17864 (eshell-ls-backup-face, eshell-ls-product-face)
17865 (eshell-ls-clutter-face):
17866 * eshell/em-prompt.el (eshell-prompt-face):
17867 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17868 * obsolete/old-whitespace.el (whitespace-highlight-face):
17869 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17870 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17871 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17872 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17873 (antlr-font-lock-literal-face):
17874 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17875 (ebrowse-root-class-face, ebrowse-file-name-face)
17876 (ebrowse-default-face, ebrowse-member-attribute-face)
17877 (ebrowse-member-class-face, ebrowse-progress-face):
17878 * progmodes/make-mode.el (makefile-space-face):
17879 * progmodes/sh-script.el (sh-heredoc-face):
17880 * textmodes/flyspell.el (flyspell-incorrect-face)
17881 (flyspell-duplicate-face):
17882 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17883 * textmodes/texinfo.el (texinfo-heading-face):
17884 Mark face aliases with "-face" suffix as obsolete.
17886 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17889 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17890 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17891 easy-menu-define wants to modify these.
17893 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17895 * net/browse-url.el (browse-url-file-url):
17896 * term/internal.el (dos-codepage-setup):
17897 Use default-value rather than default-enable-multibyte-characters.
17899 * progmodes/etags.el (etags-goto-tag-location):
17900 * progmodes/flymake.el (flymake-highlight-line)
17901 (flymake-goto-file-and-line, flymake-goto-line):
17902 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17903 (gdb-goto-breakpoint):
17904 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17905 * progmodes/python.el (python-find-function)
17906 (python-pdbtrack-track-stack-file):
17907 * progmodes/verilog-mode.el (verilog-surelint-off):
17908 * term/ns-win.el (ns-open-file-select-line):
17909 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17910 Use forward-line rather than goto-line.
17912 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17913 * textmodes/reftex-index.el (reftex-display-index):
17914 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17915 * textmodes/reftex-toc.el (reftex-toc):
17916 Remove unnecessary bindings of default-major-mode (all are followed by
17917 major-mode check and possible mode switch).
17919 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17921 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17922 Handle watchpoints (bug#4282).
17923 (def-gdb-thread-buffer-command): Enable thread to be selected by
17924 clicking without selecting threads buffer first.
17925 (gdb-current-context-command): Use selected frame so that "up",
17926 "down" etc work in the GUD buffer.
17927 (gdb-update): Find selected frame before rendering stack buffer.
17928 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17930 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17932 * progmodes/sym-comp.el (displayed-completions): Remove.
17933 (symbol-complete): Use minibuffer-complete.
17935 2009-08-31 Glenn Morris <rgm@gnu.org>
17937 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17939 * apropos.el (apropos-symbols-internal):
17940 Handle (obsolete) face aliases.
17942 * faces.el (describe-face): Adjust the output format to be more like
17943 describe-variable, and to mention (obsolete) face aliases.
17944 Adjust the whitespace so that help-setup-xref works.
17946 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17947 * calendar/diary-lib.el (diary-button-face):
17948 Mark these face aliases as obsolete.
17950 * calendar/calendar.el (calendar-today): Doc fix.
17952 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17954 * progmodes/gdb-mi.el (gdb-control-all-threads)
17955 (gdb-control-current-thread): Force tool bar update.
17956 (gdb-non-stop-handler): New function.
17957 (gdb-init-1): Use it to test if non-stop mode is supported.
17958 Remove unused gdbmi buffer type.
17960 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17962 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17963 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17965 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17967 * comint.el (comint-exec-1): Check command is non-null first.
17968 Part of gdb-mi.el change (2009-08-28).
17970 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17972 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17974 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17976 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17977 instead of `dolist' to avoid a recursive require when bootstrapping.
17979 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17983 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17985 * net/imap.el (imap-send-command): Simplify.
17986 (imap-wait-for-tag): point-max -> buffer-size.
17988 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17990 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17991 with constant argument.
17993 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17995 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17997 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17998 Change default, since most of our files don't have a history.
17999 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18005 * calc/calc.el: Improve commenting convention.
18006 (calc-digit-map, toplevel): Simplify.
18008 * comint.el (comint-insert-input): Be careful to only set point if we
18009 don't delegate to some other command.
18011 * proced.el (proced-signal-list): Make it an alist.
18012 (proced-grammar-alist): Capitalize names.
18013 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18014 Disable undo manually and make it read-only.
18015 Use completion-annotate-function.
18017 * minibuffer.el (minibuffer-message): If the current buffer is not
18018 a minibuffer, insert the message in the echo area rather than at the
18020 (completion-annotate-function): New variable.
18021 (minibuffer-completion-help): Use it.
18022 (completion--embedded-envvar-table): Environment vars are
18023 always case-sensitive.
18025 2009-08-30 Glenn Morris <rgm@gnu.org>
18027 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18028 from fortran-current-defun.
18029 (fortran-beginning-of-subprogram): Be more precise about finding the
18030 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18031 (fortran-end-of-subprogram): Simplify.
18032 (fortran-current-defun): Use fortran-start-prog-re.
18034 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18036 * subr.el (do-after-load-evaluation): Simplify.
18038 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18040 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18042 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18043 (vc-rcs-print-log): Use it.
18045 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18047 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * paths.el (abbrev-file-name): Move to abbrev.el.
18050 * abbrev.el (abbrev-file-name): Move from paths.el.
18051 Obey user-emacs-directory.
18052 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18053 user-emacs-directory.
18054 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18055 abbrev-file-name and calc-settings-file any more.
18056 * startup.el (command-line): Recompute abbrev-file-name and
18057 abbreviated-home-dir.
18058 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18059 of the special code for when C-h bindings haven't been changed.
18060 (display-startup-echo-area-message): Use with-current-buffer.
18061 (command-line-1): Use a list of strings, rather than a list of lists
18062 of strings for longopts.
18064 * files.el (get-free-disk-space): Use / for default-directory.
18066 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18067 Use with-current-buffer.
18069 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18070 Recognize immutable variables like most-positive-fixnum.
18071 (byte-compile-setq-default): Check and warn if trying to assign
18072 to an immutable variable, or a non-variable.
18074 * progmodes/cc-vars.el (c-comment-continuation-stars):
18075 * progmodes/cc-engine.el (c-looking-at-bos):
18076 * progmodes/cc-cmds.el (c-toggle-auto-state)
18077 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18078 (c-comment-line-break-function): Add version of obsolescence.
18080 2009-08-28 Juri Linkov <juri@jurta.org>
18082 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18083 associated with `archive-mode'.
18085 * image.el (image-type-header-regexps): Use only JPEG magic number
18086 to determine JPEG images, and don't use `image-jpeg-p' because
18087 Emacs can display non-JFIF non-Exif JPEG images.
18089 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18091 * arc-mode.el (archive-mode):
18092 * emacs-lisp/re-builder.el (re-builder-unload-function):
18093 Protect against the default value of `major-mode' being nil.
18095 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18097 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18098 Fix typos in docstrings.
18100 * progmodes/js.el (js--macro-decl-re): Doc fix.
18101 (js--plain-method-re, js--split-name): Refloc docstring.
18102 (js--class-styles, js--make-merged-item, js--splice-into-items):
18103 Fix typos in docstrings; reflow docstrings.
18104 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18105 (js--variable-decl-matcher, js--inside-pitem-p)
18106 (js--parse-state-at-point, js--get-all-known-symbols)
18107 (js--symbol-history, js-find-symbol, js--js-references)
18108 (js--moz-interactor, js--js-encode-value, js--read-tab):
18109 Fix typos in docstrings.
18111 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18113 * textmodes/reftex.el (reftex-get-file-buffer-force):
18114 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18115 * emulation/viper.el (viper-go-away, viper-set-hooks):
18116 * emacs-lisp/re-builder.el (re-builder-unload-function):
18117 * emacs-lisp/bytecomp.el (byte-compile-file):
18118 * ses.el (ses-unload-function):
18119 * hexl.el (hexl-find-file):
18120 * files.el (normal-mode):
18121 * ehelp.el (with-electric-help):
18122 * autoinsert.el (auto-insert-alist):
18123 * arc-mode.el (archive-mode):
18124 Use (default-value 'major-mode) instead of default-major-mode.
18126 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18127 * international/mule.el (load-with-code-conversion):
18128 * emacs-lisp/debug.el (debug):
18129 * ediff-vers.el (ediff-rcs-get-output-buffer):
18130 * dired.el (dired-internal-noselect): Don't let-bind
18131 default-major-mode around code that doesn't use it.
18132 E.g. buffer creation via get-buffer-create doesn't use it.
18134 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18136 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18137 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18138 when writing the temp file. Otherwise, epa-file gets confused.
18139 (tramp-register-file-name-handlers): Make it a defun. Move also
18140 `epa-file-handler' to the front of `file-name-handler-alist'.
18142 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18144 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18145 start right after a ^M.
18146 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18147 (tramp-completion-file-name-regexp-separate)
18148 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18149 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18150 Don't modify last-coding-system-used by accident.
18151 (tramp-completion-file-name-handler): Apply the checks here,
18152 instead during registration.
18153 (tramp-register-file-name-handlers): Rename from
18154 `tramp-register-file-name-handler'. Register both
18155 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18156 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18158 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18160 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18161 Remove variable ...
18162 (gdb-init-1, gdb-display-separate-io-buffer)
18163 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18165 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18166 (gdb-inferior-filter): Use comint-output-filter to stop
18167 echoing and remove ^M characters.
18169 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18171 * emulation/viper-init.el (viper-restore-cursor-type):
18172 * emulation/cua-base.el (cua--update-indications):
18173 Replace default-cursor-type with (default-value 'cursor-type).
18175 * mail/sendmail.el (mail-recover-1):
18176 * international/mule-diag.el (describe-current-coding-system-briefly)
18177 (describe-current-coding-system):
18178 * international/mule-cmds.el (select-safe-coding-system)
18179 (select-message-coding-system)
18180 (set-language-environment-coding-systems, set-locale-environment):
18181 * hexl.el (hexl-insert-multibyte-char):
18182 * dos-w32.el (find-buffer-file-type-coding-system):
18183 * simple.el (what-cursor-position):
18184 Replace uses of default-buffer-file-coding-system
18185 with (default-value 'buffer-file-coding-system).
18187 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18188 Replace uses of default-cursor-in-non-selected-windows
18189 with (default-value 'cursor-in-non-selected-windows).
18190 Use with-current-buffer.
18192 * mail/feedmail.el: Use CL macros.
18193 (feedmail-run-the-queue, feedmail-send-it-immediately):
18194 * dos-w32.el (find-buffer-file-type): Replace uses of
18195 default-buffer-file-type with (default-value 'buffer-file-type).
18197 2009-08-28 Glenn Morris <rgm@gnu.org>
18199 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18200 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18201 Use default-value of major-mode rather than default-major-mode.
18203 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18205 * Makefile.in (update-elcfiles): Report left over elc files.
18207 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18208 expand-file-name and with-current-buffer.
18209 (mail-get-names, mail-directory): Use with-current-buffer.
18211 * vc.el (vc-read-revision): New function.
18212 (vc-version-diff, vc-merge): Use it.
18214 2009-08-27 Sam Steingold <sds@gnu.org>
18216 * simple.el (kill-do-not-save-duplicates): New user option.
18217 (kill-new): When it is non-nil, and the new string is the same as
18218 the latest kill, set replace to t to avoid duplicates in kill-ring.
18220 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18222 * net/tramp.el (tramp-handle-process-file): Do not flush all
18223 caches when `process-file-side-effects' is set.
18224 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18225 instead of `tramp-find-file-exists-command'.
18226 Unset `process-file-side-effects'.
18228 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18230 * net/tramp.el (tramp-methods): New method "rsyncc".
18231 (top): Add completion function for "rsyncc".
18232 (tramp-message-show-message): New defvar.
18233 (tramp-message, tramp-error): Use it.
18234 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18236 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18237 `tramp-methods' entry `copy-env' of "rsyncc".
18238 (tramp-vc-registered-read-file-names): New defconst.
18239 (tramp-vc-registered-file-names): New defvar.
18240 (tramp-handle-vc-registered): Implement optimization strategy.
18241 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18242 (tramp-vc-file-name-handler): New defun.
18243 (tramp-get-ls-command, tramp-get-test-command)
18244 (tramp-get-file-exists-command, tramp-get-remote-ln)
18245 (tramp-get-remote-perl, tramp-get-remote-stat)
18246 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18248 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18249 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18251 (tramp-get-file-property): Check for timestamps in
18252 `tramp-cache-inhibit-cache'.
18253 (tramp-set-file-property): Write timestamp.
18255 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18257 * language/japan-util.el (japanese-symbol-table): Add entries for
18260 * international/characters.el: Add category `j' to cp932-2-byte.
18262 2009-08-27 Kenichi Handa <handa@m17n.org>
18264 * international/fontset.el (build-default-fontset-data): New macro.
18265 (setup-default-fontset): Use build-default-fontset-data for CJK,
18266 tibetan, ethiopic, and ipa.
18268 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18271 (enable-multibyte-characters): Not customizable any more.
18273 * subr.el (default-mode-line-format, default-header-line-format)
18274 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18275 (default-direction-reversed, default-truncate-lines)
18276 (default-left-margin, default-tab-width, default-case-fold-search)
18277 (default-left-margin-width, default-right-margin-width)
18278 (default-left-fringe-width, default-right-fringe-width)
18279 (default-fringes-outside-margins, default-scroll-bar-width)
18280 (default-vertical-scroll-bar, default-indicate-empty-lines)
18281 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18282 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18283 (default-scroll-down-aggressively, default-fill-column)
18284 (default-cursor-type, default-buffer-file-type)
18285 (default-cursor-in-non-selected-windows)
18286 (default-buffer-file-coding-system, default-major-mode)
18287 (default-enable-multibyte-characters): Mark as obsolete.
18289 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18291 * vc-dir.el (vc-dir-update): Remove debug helper.
18293 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18295 2009-08-26 Sam Steingold <sds@gnu.org>
18297 * simple.el (save-interprogram-paste-before-kill): New user option.
18298 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18299 save the interprogram-paste into kill-ring before overriding it
18300 with the Emacs kill.
18302 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18304 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18305 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18306 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18307 and move to vc-rcs.el.
18308 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18310 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18311 (vc-rcs-update-changelog): Remove.
18312 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18313 and move to vc-rcs.el.
18315 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18316 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18318 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18319 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18320 vc.el, renamed to be RCS specific.
18322 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18324 (vc-cvs-update-changelog): Move here from vc.el.
18326 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18329 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18331 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18333 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18335 * vc-git.el (vc-git-register): Use "git add" for directories.
18336 (vc-git-stash, vc-git-stash-show): New functions.
18337 (vc-git-extra-menu-map): Bind them.
18339 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18340 directory correctly in case the item is a directory itself.
18342 * vc.el: Document the desired behavior for reverted files in the
18344 (vc-default-prettify-state-info): Remove function, unused.
18346 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18348 2009-08-26 Glenn Morris <rgm@gnu.org>
18350 * bindings.el (standard-mode-line-format): Reposition dashes in
18351 which-func entry. (Bug#4217)
18353 * files.el (enable-local-variables, enable-local-eval)
18354 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18356 (auto-mode-alist, ignored-local-variables)
18357 (save-some-buffers-action-alist): Move risky declarations to the
18359 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18360 (font-lock-defaults, format-alist, imenu--index-alist)
18361 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18362 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18363 (mode-line-modified, mode-line-mule-info, mode-line-position)
18364 (mode-line-process, mode-line-remote, outline-level)
18365 (parse-time-rules, rmail-output-file-alist)
18366 (special-display-buffer-names, vc-mode):
18367 Move risky declarations to the relevant files.
18368 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18369 (mode-line-modified, mode-line-process, mode-line-position)
18370 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18371 * font-core.el (font-lock-defaults):
18372 * format.el (format-alist):
18373 * vc-hooks.el (vc-mode):
18374 * window.el (special-display-buffer-names):
18375 * international/mule-cmds.el (input-method-alist):
18376 Define riskiness here (dumped file) rather than in files.el.
18377 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18378 * imenu.el (imenu-generic-expression, imenu--index-alist):
18379 * outline.el (outline-level):
18380 * time.el (display-time-string):
18381 * calendar/parse-time.el (parse-time-rules):
18382 * mail/rmailout.el (rmail-output-file-alist):
18383 Autoload riskiness here, rather than placing in files.el.
18385 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18387 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18389 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18391 * simple.el (process-file-side-effects): New defvar.
18393 * dired-aux.el (dired-show-file-type):
18394 * vc.el (vc-diff-internal):
18395 * vc-arch.el (vc-arch-diff):
18396 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18397 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18398 * vc-git.el (vc-git-registered, vc-git-working-revision)
18399 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18400 (vc-git--empty-db-p):
18401 * vc-hooks.el (vc-user-login-name):
18402 * vc-svn.el (vc-svn-registered, vc-svn-state)
18403 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18404 * progmodes/grep.el (grep-probe): Let-bind
18405 `process-file-side-effects' with nil.
18407 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18409 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18410 daemon. Replace ping by checking for running service for bluez
18411 and zeroconf. (Bug#4239)
18413 2009-08-25 Kevin Ryde <user42@zip.com.au>
18415 * net/dig.el (dig): Add autoload cookie.
18417 2009-08-25 Glenn Morris <rgm@gnu.org>
18419 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18420 load-history for absolute file-names.
18421 (byte-compile-file-form-require): Warn about use of the cl package.
18423 * format.el (format-alist): Doc fix.
18425 * play/bubbles.el (top-level): Don't require cl at run-time.
18427 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18430 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18432 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18434 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18436 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18438 * calc/calc-alg.el (math-trig-rewrite)
18439 (math-hyperbolic-trig-rewrite): New functions.
18440 (calc-simplify): Simplify trig functions when asked.
18442 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18444 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18446 2009-08-24 Kenichi Handa <handa@m17n.org>
18448 * language/ind-util.el (mapthread): Delete it.
18449 (combinatorial): New function.
18450 (indian--puthash-cv): Use combinatorial instead of mapthread.
18452 2009-08-22 Kevin Ryde <user42@zip.com.au>
18454 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18455 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18456 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18457 Clarify docstring that the value is strings not symbols.
18458 (checkdoc-list-of-strings-p): New function.
18460 2009-08-22 Glenn Morris <rgm@gnu.org>
18462 * files.el (auto-mode-alist):
18463 * hippie-exp.el (he-concat-directory-file-name):
18464 * lpr.el (lpr-windows-system, printer-name):
18465 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18466 * ps-print.el (ps-windows-system):
18467 * startup.el (command-line):
18468 * emulation/viper-ex.el (viper-glob-function):
18469 * international/mule-cmds.el (set-language-environment-coding-systems):
18470 * net/ange-ftp.el (ange-ftp-write-region):
18471 * obsolete/fast-lock.el (fast-lock-cache-name):
18472 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18473 unisoft-unix, vax-vms, win32, w32.
18475 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18476 given name if the pattern is not more specific.
18478 * calendar/lunar.el (lunar-phase-names): New option.
18479 (lunar-phase): Doc fix.
18480 (lunar-cycles-per-year): New constant.
18481 (lunar-index): New function.
18482 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18483 (lunar-phase-name): Use lunar-phase-names.
18484 (calendar-lunar-phases): Use format.
18485 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18487 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18488 Copy imenu-example--name-and-position function here for own use.
18489 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18491 * bs.el (bs--redisplay):
18492 * cus-edit.el (custom-redraw):
18493 * ibuffer.el (ibuffer-bury-buffer):
18494 * server.el (server-goto-line-column):
18495 * startup.el (command-line-1):
18496 * strokes.el (strokes-xpm-for-stroke):
18497 * term.el (term-display-buffer-line):
18498 * view.el (View-goto-line):
18499 * calc/calc.el (calc-do, calc-trail-buffer):
18500 * play/gamegrid.el (gamegrid-add-score-insecure):
18501 * progmodes/ada-mode.el (ada-compile-goto-error):
18502 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18503 (ebrowse-select-1st-to-9nth):
18504 * progmodes/cperl-mode.el (cperl-time-fontification):
18505 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18506 * progmodes/gud.el (gud-display-line):
18507 (idlwave-shell-display-line):
18508 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18509 * progmodes/make-mode.el (makefile-browser-toggle):
18510 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18511 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18512 * textmodes/picture.el (picture-draw-rectangle):
18513 * textmodes/reftex-index.el (reftex-index-goto-letter):
18514 (reftex-select-jump-to-previous):
18515 * textmodes/reftex-sel.el (reftex-find-start-point)
18516 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18517 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18518 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18519 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18520 * textmodes/two-column.el (2C-associated-buffer):
18521 Use forward-line rather than goto-line.
18523 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18526 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18527 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18528 (quick-check-list-to-regexp): Declare.
18530 * progmodes/make-mode.el (makefile-browser-insert-selection):
18531 Use goto-char rather than goto-line.
18533 * progmodes/prolog.el (compilation-error-regexp-alist)
18534 (compilation-forget-errors): Declare.
18536 2009-08-22 Juri Linkov <juri@jurta.org>
18538 * progmodes/grep.el (lgrep, rgrep): At the beginning
18539 set `dir' to `default-directory' unless `dir' is a non-nil
18540 readable directory. (Bug#4052)
18541 (lgrep, rgrep): Change a weird way to report an error
18542 from using `read-string' to using `error'.
18543 Instead of using interactive arguments in the function body,
18544 add new argument `confirm'.
18546 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18548 * textmodes/remember.el (remember-buffer):
18549 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18550 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18551 (icalendar-extract-ical-from-buffer):
18552 * net/newst-treeview.el (newsticker-groups-filename):
18553 * net/newst-backend.el (newsticker-cache-filename):
18554 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18555 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18556 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18557 (speedbar-buffers-line-path, speedbar-path-line)
18558 (speedbar-buffers-line-path):
18559 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18561 * epa.el (epa-display-verify-result):
18562 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18564 2009-08-21 Glenn Morris <rgm@gnu.org>
18566 * progmodes/js.el (inferior-moz-process): Fix declaration.
18568 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18570 * obsolete/rnewspost.el (news-mail-reply):
18571 Use goto-char rather than goto-line.
18573 * term/ns-win.el (ns-open-file-select-line):
18574 Use line-beginning-position rather than goto-line.
18576 * apropos.el (apropos-command):
18577 * ehelp.el (electric-helpify):
18578 * printing.el (pr-show-setup):
18579 * strokes.el (strokes-help):
18580 * tutorial.el (tutorial--describe-nonstandard-key)
18581 (tutorial--detailed-help):
18582 * woman.el (woman-mini-help, woman-display-extended-fonts):
18583 * calc/calc-help.el (calc-describe-key):
18584 * emulation/edt.el (edt-electric-helpify):
18585 * international/mule-diag.el (mule-diag):
18586 * play/yow.el (apropos-zippy):
18587 * progmodes/python.el (python-describe-symbol):
18588 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18589 * textmodes/table.el (*table--cell-describe-mode)
18590 (*table--cell-describe-bindings):
18591 Use help-print-return-message rather than the now obsolete alias.
18593 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18594 (calendar-cursor-to-visible-date):
18595 * play/5x5.el (5x5-position-cursor):
18596 * play/decipher.el (decipher):
18597 * play/gomoku.el (gomoku-goto-xy):
18598 * play/landmark.el (lm-goto-xy):
18599 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18600 (mpuz-paint-digit):
18601 Use forward-line, not goto-line.
18603 * mail/rmail.el (rmail-obsolete): Delete custom group.
18604 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18605 (rmail-remote-password, rmail-remote-password-required):
18606 Remove unneeded :set-after and :set properties.
18608 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18610 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18612 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18614 * loadup.el: Remove leftover macos code.
18616 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18617 Explicitly pass the date format to git blame so that user local
18618 so that the output format can be parsed.
18620 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18622 * net/dbus.el (top): Don't check for (getenv
18623 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18625 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18627 * log-edit.el (log-edit-strip-single-file-name): New var.
18628 (log-edit-insert-changelog): Use it. Bug#3571
18630 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18632 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18635 * help.el (help-print-return-message): Rename from
18636 print-help-return-message.
18638 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18639 cvs-mode-map parent hack.
18640 (log-view-mode): Derive from special-mode.
18642 * linum.el (linum-mode): window-size-change-functions is redundant.
18643 Adapt to new window-configuration-change-hook behavior.
18644 (linum-after-size, linum-after-config): Remove.
18646 * imenu.el (imenu-example--name-and-position)
18647 (imenu-example--lisp-extract-index-name)
18648 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18651 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18652 (inferior-prolog-mode): Use it.
18653 (inferior-prolog-load-file): Reset list of errors.
18655 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18657 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18659 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18661 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18663 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18664 is running already.
18666 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18668 * subr.el (listify-key-sequence-1): Use normal syntax since those
18669 integers are nowadays always represented by the same (positive) number
18671 (read-key-empty-map): New const.
18672 (read-key-delay): New var.
18673 (read-key): New function.
18674 (force-mode-line-update): Use with-current-buffer.
18675 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18676 (start-process-shell-command, start-file-process-shell-command):
18677 Discourage the use of command-args.
18679 2009-08-19 Glenn Morris <rgm@gnu.org>
18681 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18683 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18685 * simple.el (choose-completion-string): Don't rely on
18686 minibuffer-completing-file-name and ad-hoc checks to decide whether
18687 to continue completion or not.
18689 * minibuffer.el (minibuffer-hide-completions): New function.
18690 (completion--do-completion): Use it.
18691 (completions-annotations): New face.
18692 (completion--insert-strings): Use it.
18693 (completion-pcm--delim-wild-regex): Add docstring.
18694 (completion-pcm--string->pattern): Add support for 0-width delimiters
18695 in completion-pcm--delim-wild-regex.
18697 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18699 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18700 Remove unused var `buffer-modified-p'.
18702 * minibuffer.el (completion--do-completion): Move point for the #b001
18703 case as well (bug#4176).
18704 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18706 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18708 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18709 and :session buses.
18711 2009-08-18 Kenichi Handa <handa@m17n.org>
18713 * international/ucs-normalize.el (ucs-normalize-version):
18715 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18716 (utf-8-hfs): Make it perform normalization on encoding too.
18718 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18719 (sentence-end-without-space): Delete duplicated chars.
18720 (sentence-end-base): Likewise.
18722 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18723 (html-mode): Delete duplicated chars from sentence-end-base.
18725 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18726 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18728 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18730 * files.el (hack-one-local-variable): If the mode function is for
18731 a minor mode, pass it an argument (Bug#4148).
18733 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18735 * net/tramp.el (tramp-register-completion-file-name-handler):
18736 Check also for (member 'partial-completion completion-styles).
18738 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18740 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18743 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18745 * progmodes/cperl-mode.el: Merge upstream 6.2.
18746 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18747 (cperl-forward-re): Check cperl-brace-recursing.
18748 (cperl-highlight-charclass): New function.
18749 (cperl-find-pods-heres): Use it.
18750 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18751 (cperl-beautify-regexp-piece): Fix column calculation.
18752 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18753 (cperl-beautify-level): Don't process entire regexp.
18754 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18756 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18757 (cperl-init-faces): Build a list in the normal way.
18759 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18761 * calendar/parse-time.el (parse-time-string-chars): Save match
18764 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18766 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18767 (sql-product): Use it.
18768 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18769 (sql-set-product): Add completion.
18770 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18771 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18772 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18773 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18774 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18775 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18776 (sql-highlight-db2-keywords): Remove.
18777 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18778 (sql-highlight-product): Use derived-mode-p.
18779 (sql-set-sqli-buffer): Use with-current-buffer.
18780 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18783 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18785 * term.el: Fix commenting convention, turn comments into docstrings.
18787 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18789 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18791 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18793 * calendar/parse-time.el (parse-time-string-chars): Compute using
18794 character classes, to handle non-ascii characters (Bug#3190).
18796 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18798 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18799 another heredoc if the user adds another < (Bug#3226).
18801 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18802 Don't initialize based on window-system (Bug#4124).
18804 * facemenu.el (facemenu-read-color): Use a completion function
18805 that accepts any defined color, such as RGB triplets (Bug#3677).
18807 * files.el (get-free-disk-space): Change fallback default
18808 directory to /. Expand DIR argument before switching to fallback.
18809 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18811 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18813 * files.el (load-library): Doc fix.
18815 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18817 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18818 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18819 incremental search string.
18821 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18824 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18825 (ediff-merge-region-is-non-clash)
18826 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18827 Also check if the job is really a merge job.
18829 * ediff.el (ediff-current-file): New function.
18831 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18833 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18835 (js-insert-and-indent): Delete function.
18836 (js-mode-map): Don't bind keys to js-insert-and-indent.
18837 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18838 (js-end-of-defun): Rename from js--end-of-defun.
18839 (js-auto-indent-flag): Delete variable.
18841 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18843 * progmodes/js.el: Remove proclaim statement.
18844 Defvar which-func-imenu-joiner-function to silence compiler.
18846 * files.el (auto-mode-alist): Use js-mode for .js files.
18848 * progmodes/js2-mode.el: Remove file.
18850 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18852 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18854 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18856 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18857 Karl Landstrom <karl.landstrom@brgeight.se>
18859 * progmodes/js.el: New file.
18861 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18863 * timezone.el (timezone-parse-date): Add ability to understand ISO
18864 basic format (minimal separators) dates in addition to the
18865 already-supported extended format dates.
18867 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18869 * international/ucs-normalize.el: Add a `coding' file variable.
18871 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18873 2009-08-14 Sam Steingold <sds@gnu.org>
18875 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18877 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18879 * faces.el (help-argument-name): Define it here instead of
18880 help-fns.el, because in daemon mode help-fns.el may be loaded when
18881 faces are still uninitialized (Bug#1078).
18883 * help-fns.el (help-argument-name): Move defface to faces.el.
18885 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18887 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18888 create buffer with a pty but no process so that GDB can make the
18889 inferior the controlling process.
18891 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18893 * international/ucs-normalize.el: New file.
18895 2009-08-13 Richard Stallman <rms@gnu.org>
18897 * mail/rmail.el (rmail-get-attr-names):
18898 Accept an attribute header that is too short.
18900 * mail/rmail.el (rmail-forget-messages):
18901 Ignore nil elt in rmail-message-vector. Use dotimes.
18903 * progmodes/compile.el (compilation-goto-locus):
18904 Use next-error-move-function.
18906 * simple.el (next-error-move-function): New variable.
18908 2009-08-12 Juri Linkov <juri@jurta.org>
18910 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18911 always non-nil. (Bug#4052)
18913 * replace.el (read-regexp): Return empty string when
18914 `default-value' is nil.
18915 (keep-lines-read-args): Don't use empty string as the
18916 default value for `read-regexp'. (Bug#2495)
18918 2009-08-12 Juri Linkov <juri@jurta.org>
18920 * international/mule-cmds.el (ucs-insert): Change arguments
18921 from `arg' to `character', `count', `inherit' to be the same
18922 as in `insert-char'. Doc fix. (Bug#4039)
18924 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18926 2009-08-12 Juri Linkov <juri@jurta.org>
18928 * files-x.el: New file.
18930 * files.el: Move code that deals with adding/deleting
18931 file/directory-local variables to files-x.el.
18933 * Makefile.in (ELCFILES): Add files-x.elc.
18935 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18937 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18938 to use `goto-line'.
18939 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18941 (gdb-invalidate-disassembly): Do not refresh upon receiving
18942 'update signal. Instead, update all disassembly buffers only after
18944 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18945 (gdb-starting): Move -data-list-register-names...
18946 (gdb-stopped): ...here so it's sent when first thread stops.
18947 (gdb-registers-handler-custom): Do nothing if register names are
18950 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18951 from `gdb-mi.el' to avoid extra tangling.
18953 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18954 change which breaks `gud-def' definitions used in `gdb'.
18955 (gdb-update-gud-running): No extra fuss for updating frame number.
18957 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18959 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18960 (describe-language-environment-map, setup-language-environment-map)
18961 (set-coding-system-map): Move initialization into declaration.
18962 (set-language-info-alist): Last arg to define-key-after can be skipped.
18964 * international/quail.el (quail-completion-1): Simplify.
18965 (quail-define-rules): Use slightly more compact code.
18966 (quail-insert-decode-map): Propertize keys, compact columns.
18968 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18971 2009-08-10 Miles Bader <miles@gnu.org>
18973 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18974 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18975 (js2-instance-member, js2-private-member, js2-private-function-call)
18976 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18977 (js2-magic-paren, js2-external-variable):
18978 Remove "-face" suffix from face names.
18979 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18980 (js2-highlight-undeclared-vars, js2-peek-token)
18981 (js2-parse-function-params, js2-mode-show-errors)
18982 (js2-mode-show-warnings, js2-make-magic-delimiter)
18983 (js2-mode-highlight-magic-parens): Update to use new face names.
18985 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18987 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18988 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18990 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18992 * subr.el: Provide hashtable-print-readable.
18994 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18995 hs-c-like-adjust-block-beginning.
18996 (hs-hide-block-at-point): Stop hiding at the beginning of
18997 hs-block-end-regexp (Bug#700).
18999 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19001 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19003 (gdb-registers-handler-custom): Do not fail when register names
19006 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19008 * progmodes/gdb-mi.el (gdb-control-all-threads)
19009 (gdb-control-current-thread): Interactive setters for
19010 `gdb-gud-control-all-threads' to use in menu.
19011 (gdb-show-run-p): Show «Go» when process is not active.
19012 (gud-tool-bar-map): Add non-stop/A,T indicator.
19013 Uses gud/thread.xpm and gud/all.xpm.
19015 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19017 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19018 (nslookup-font-lock-keywords): Make it a variable.
19019 (net-utils-mode): New mode for viewing diagnostic network output.
19020 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19021 (net-utils-run-simple): New function.
19022 (ifconfig, iwconfig, netstat, arp, route): Use it.
19024 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19026 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19027 (gdb-memory-set-address, def-gdb-set-positive-number)
19028 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19029 after changing settings.
19030 (gdb-invalidate-disassembly): Update when first shown.
19031 (gdb-edit-locals-value): Fixed.
19032 (gdb-registers-handler-custom): Print registers in right order and
19033 allow changing register values (only for current thread yet).
19034 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19035 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19036 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19037 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19038 Thread info in mode name.
19039 (gdb-registers-mode-map): TAB to switch to locals.
19041 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19043 * mail/rmail.el (rmail-add-mbox-headers)
19044 (rmail-set-message-counters-counter): Search for
19045 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19047 2009-08-08 Glenn Morris <rgm@gnu.org>
19049 * Makefile.in (ELCFILES): Update.
19051 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19053 * mail/sendmail.el (mail-yank-original):
19054 Set buffer-file-coding-system from the one used by the message whose
19057 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19058 to "windows" when "pgnuplot" is used.
19059 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19060 Don't call accept-process-output if "pgnuplot" is used.
19061 (calc-graph-init): Don't send -display and -geometry to
19062 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19063 running "pgnuplot -V" with shell-command-to-string.
19065 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19068 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19070 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19073 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19075 * vc-dispatcher.el (vc-resynch-window): Update comment.
19077 * term.el (term-handle-ansi-escape): Add comments with the
19078 terminfo capabilities implemented.
19080 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19082 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19083 (gdb-var-create-handler): Rewritten using JSON parser.
19084 (gdb-propertize-header): Move earlier.
19085 (gdb-set-header): Remove to avoid duplication.
19086 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19087 Refresh disassembly buffers only after threads list have been
19089 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19092 2009-08-04 Juri Linkov <juri@jurta.org>
19094 * files.el: Commands to add/delete file/directory-local variables.
19095 (read-file-local-variable, read-file-local-variable-value)
19096 (read-file-local-variable-mode, modify-file-local-variable)
19097 (modify-file-local-variable-prop-line)
19098 (modify-dir-local-variable): New functions.
19099 (add-file-local-variable, delete-file-local-variable)
19100 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19101 (add-dir-local-variable, delete-dir-local-variable)
19102 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19103 (copy-dir-locals-to-file-locals-prop-line): New commands.
19105 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19107 * abbrev.el (insert-abbrev-table-description): Prettify output.
19108 Suggested by Karl Chen.
19110 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19112 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19113 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19114 (gdb-overlay-arrow-position, gdb-thread-position)
19115 (gdb-disassembly-position): Declare variables.
19116 (gdb-wait-for-pending): Function now.
19117 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19118 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19119 compilation goes smoothly.
19120 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19121 (gdb-non-stop-setting): New customization setting which replaces
19122 `gdb-non-stop' so changing it doesn't break active GDB session.
19123 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19124 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19125 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19126 (gdb-show-threads-by-default): New customization options.
19127 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19129 (gdb-get-buffer-create): Send buffers update signal when they are
19131 (gdb-invalidate-locals, gdb-invalidate-registers)
19132 (gdb-invalidate-breakpoints)
19133 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19134 (gdb-invalidate-memory): Accept update signal.
19135 (gdb-current-context-command): Use --frame option.
19136 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19137 Implement `gdb-frame-number' selection logic.
19138 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19139 whether to show GUD toolbar buttons.
19140 (gdb-thread-exited): Unselect current thread when it exits.
19141 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19142 (gdb-mark-line): Routine which sets overlay arrow or inverses
19143 video on fringeless displays.
19144 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19145 to build aligned columns of data in GDB buffers and set text
19146 properties line-by-line.
19147 (gdb-invalidate-breakpoints)
19148 (gdb-breakpoints-list-handler-custom)
19149 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19150 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19151 (gdb-registers-handler-custom): Align data columns.
19152 (gdb-locals-handler-custom): Now prints data like in variable
19154 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19155 Remove confusing buttons.
19156 (gdb-invalidate-threads): Append --frame.
19157 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19158 between breakpoints/threads buffers.
19159 (gdb-set-window-buffer): Now can ignore dedicated windows.
19160 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19161 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19162 (def-gdb-thread-buffer-gud-command): Replaces
19163 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19164 for fine thread control.
19165 (gdb-preempt-existing-or-display-buffer): New function used to
19166 display bound buffers without breaking window layout.
19167 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19168 (gdb-select-frame): New version of `gdb-frames-select' which now
19169 sets `gdb-frame-number' so commands may use --frame option instead
19170 of inner debugger state.
19171 (gdb-frame-handler): Do not set `gdb-frame-number'.
19172 (gdb-threads-mode-map): Select threads with mouse.
19174 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19175 avoid compilation warning.
19176 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19179 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19180 Argument `key' renamed to `buffer-type'.
19181 (gdb-current-context-buffer-name): Do not add thread info to
19182 buffer name when no thread is selected.
19183 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19184 command (bug 3794).
19185 (gdb-thread-selected): Handle `=thread-selected' notification.
19186 (gdb-wait-for-pending): New macro to deal with congestion problems.
19187 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19189 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19190 This fixes problem similar to one described in bug 3947.
19191 (gud-menu-map): More menu items.
19192 (gdb-init-1): Reset `gdb-thread-number' to nil.
19194 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19197 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19198 (gdb-current-context-command): Do not append --thread if
19199 `gdb-thread-number' is nil.
19200 (gdb-running-threads-count, gdb-stopped-threads-count):
19202 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19203 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19204 New customization options.
19205 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19207 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19208 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19209 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19210 set `gdb-thread-number' and update `gud-running' properly.
19211 (gdb-running): Update threads list when new threads appear.
19212 (gdb-stopped): Support non-stop operation and new thread switching
19214 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19215 (gdb-json-partial-output): New set of JSON routines.
19216 (def-gdb-auto-update-trigger): New `signal-list' optional
19218 (gdb-thread-list-handler-custom): Update `gud-running',
19219 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19220 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19221 (gdb-continue-thread, gdb-step-thread): New commands for fine
19222 thread execution control.
19223 (gud-menu-map): New menu items to switch non-stop options.
19224 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19225 (gdb-send): Mimic RET properly (bug 3794).
19227 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19228 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19230 (def-gdb-auto-update-handler): New nopreserve optional argument.
19231 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19233 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19234 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19235 (gdb-parent-mode): New mode to derive other GDB modes from.
19236 (gdb-display-disassembly-for-thread)
19237 (gdb-frame-disassembly-for-thread): New commands for threads
19240 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19241 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19242 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19243 (gdb-update): We now store all GDB buffers in a list so that they
19244 can be updated by traversing a list instead of calling invalidate
19245 triggers explicitly.
19246 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19247 pair for GDB buffer.
19248 (gdb-stack-buffer-name): Add thread information.
19249 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19250 handle pending triggers.
19251 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19252 (def-gdb-thread-buffer-simple-command)
19253 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19254 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19255 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19256 New commands which show buffers bound to thread.
19257 (gdb-stack-list-locals-regexp): Remove unused regexp.
19259 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19260 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19261 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19262 to (gud-comint-buffer) in *-buffer-name functions
19263 because (gdb-get-target-string) already does that.
19264 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19265 (gdb-changed-registers-handler): Rewritten without regexps.
19267 * progmodes/gdb-mi.el: Basic thread selection support.
19268 (gdb-thread-number): New variable.
19269 (gdb-current-context-command): New macro which adds --thread
19271 (gdb-threads-mode-map): Select thread with SPC.
19272 (gdb-thread-list-handler-custom): Mark current thread with overlay
19273 arrow. Synchronize GDB thread and Emacs thread.
19274 (gdb-select-thread): New command which selects current thread.
19275 (gdb-invalidate-frames, gdb-invalidate-locals)
19276 (gdb-invalidate-registers): Use --thread option.
19278 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19280 * net/tramp.el (top): Make check for tramp-gvfs loading more
19282 (tramp-handle-insert-file-contents): `unwind-protect' must be
19283 inside `with-parsed-tramp-file-name'.
19285 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19288 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19290 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19291 directory if CLASSPATH is not set.
19293 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19295 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19297 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19299 2009-08-02 Kevin Ryde <user42@zip.com.au>
19301 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19302 Update freshmeat link. Delete newsforge.com as it seems gone.
19304 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19306 * select.el (x-set-selection): Doc fix (Bug#4021).
19308 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19310 * help-fns.el (describe-variable): Treat list return values from
19311 dir-locals-find-file properly (Bug#4005).
19313 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19315 * net/tramp.el (tramp-debug-message): Print also microseconds.
19317 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19319 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19321 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19322 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19325 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19326 (tramp-get-file-property): Use it.
19328 * autorevert.el (auto-revert-handler):
19329 Allow `auto-revert-tail-mode' for remote files.
19331 2009-08-02 Jason Rumney <jasonr@gnu.org>
19333 * minibuffer.el (read-file-name): Treat confirm options to
19334 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19336 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19338 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19339 (font-lock-variable-name-face, font-lock-constant-face):
19340 Darken the colors for light backgrounds.
19342 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19344 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19345 month names. (Bug#3987)
19347 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19349 * simple.el (line-move-finish): Pass whole number to
19350 line-move-to-column.
19351 (line-move-visual): Perform hscroll to the recorded position.
19353 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19355 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19357 2009-07-29 Alan Mackenzie <acm@muc.de>
19359 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19361 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19363 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19364 (gdb-place-breakpoints): Use full path when setting breakpoints.
19366 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19368 * calc/calc.el (calc-mode-map): Add keybinding for
19369 `calc-transpose-lines'.
19371 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19373 * calc/calc-misc.el (calc-transpose-lines): New function.
19375 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19377 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19378 Simplify check for out-of-band methods.
19379 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19380 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19382 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19384 * vc-git.el (vc-git-checkin): Fix typo.
19386 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19388 * progmodes/js2-mode.el: New file.
19390 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19392 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19393 (gud-menu-map): Adjust tooltip accordingly.
19395 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19397 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19398 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19400 * add-log.el (change-log-mode-map): Add a menu.
19402 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19404 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19405 function returns nil.
19406 (dbus-handle-event): Handle special return value :ignore.
19407 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19409 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19411 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19414 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19418 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19420 * term/pc-win.el (x-display-name, x-colors)
19421 (x-select-enable-clipboard, x-select-text): Doc fix.
19423 * term/common-win.el (x-display-name, x-colors): Doc fix.
19425 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19426 (xw-defined-colors): Doc fix.
19428 * w32-fns.el (x-select-text, x-setup-function-keys)
19429 (x-get-selection, x-set-selection): Doc fix.
19431 * term/x-win.el (x-select-text, x-setup-function-keys)
19432 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19434 * select.el (x-set-selection): Doc fix.
19436 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19438 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19439 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19440 "IsNSSSupportAvailable" method is not available.
19441 Reported by Steve Youngs <steve@sxemacs.org>.
19443 2009-07-24 Kenichi Handa <handa@m17n.org>
19445 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19446 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19447 (build-unicode-category-table): Fix range checks.
19449 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19451 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19452 the buffer we try to sync is current when calling
19455 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19456 not show up to date files.
19458 2009-07-24 Glenn Morris <rgm@gnu.org>
19460 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19461 Add autoload cookies. If necessary, initialize.
19462 (elint-log): Handle non-file buffers.
19463 (elint-initialize): Add optional argument to reinitialize.
19464 (elint-find-builtin-variables): Save excursion.
19466 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19468 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19471 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19473 * vc.el (vc-print-log-internal): New function, split out from ...
19474 (vc-print-log): ... here.
19475 (vc-dir-move-to-goal-column): Declare.
19477 * vc-git.el (vc-git-add-signoff): New variable.
19478 (vc-git-checkin): Use it.
19479 (vc-git-toggle-signoff): New function.
19480 (vc-git-extra-menu-map): Bind it to menu.
19481 (vc-git--run-command-string): Accept a nil FILE argument.
19482 (vc-git-stash-list): New function.
19483 (vc-git-dir-extra-headers): Use it.
19485 2009-07-23 Glenn Morris <rgm@gnu.org>
19487 * help-fns.el (describe-variable): Describe ignored and risky local
19488 variables in a similar way to that in which we describe safe ones.
19490 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19491 (byte-compile-output-file-form, byte-compile-output-docform)
19492 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19493 Give some more local variables with common names a "bytecomp-" prefix,
19494 so as not to shadow things during compilation.
19495 * emacs-lisp/cl-macs.el (load-time-value)
19496 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19497 `outbuffer' to `bytecomp-outbuffer'.
19499 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19500 since the next two variables cover them automatically now.
19501 (elint-builtin-variables, elint-autoloaded-variables): New.
19502 (elint-unknown-builtin-args): Remove all members, since they can be
19503 parsed automatically now.
19504 (elint-extra-errors): New.
19505 (elint-env-add-env, elint-env-add-macro): Use cadr.
19506 (elint-current-buffer): Use or. Change final message.
19507 (elint-get-top-forms): Use line-end-position.
19508 (elint-init-env): Use cadr. Handle autoload, declare-function,
19510 (elint-add-required-env): Doc fix. Use or. Standardize error.
19511 (regexp-assoc): Remove unused function.
19512 (elint-top-form): Set elint-current-pos, to record the start of the
19513 top-level form, for compilation-mode.
19514 (elint-form): Trap errors in macro expansion. Use dolist.
19515 (elint-unbound-variable): Use elint-builtin-variables and
19516 elint-autoloaded-variables.
19517 (elint-get-args): Use cadr, or.
19518 (elint-check-cond-form): Use dolist, cadr.
19519 (elint-check-condition-case-form): Doc fix. Use cadr.
19520 Use elint-extra-errors.
19521 (elint-log): New function.
19522 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19523 Distinguish errors and warnings.
19524 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19525 Use a bytecomp-style format.
19526 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19527 (elint-get-log-buffer): Use compilation mode. Disable undo.
19528 Don't truncate lines.
19529 (elint-initialize): Set builtin and autoloaded variable lists.
19530 Only process elint-unknown-builtin-args if non-nil.
19531 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19533 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19535 2009-07-22 Kevin Ryde <user42@zip.com.au>
19537 * net/newst-backend.el (newsticker--parse-atom-1.0)
19538 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19539 (newsticker--parse-rss-1.0):
19540 * progmodes/idlwave.el (idlwave-mode):
19541 * progmodes/idlw-shell.el (idlwave-shell-mode):
19542 * progmodes/vera-mode.el (vera-mode):
19543 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19544 * progmodes/vhdl-mode.el (vhdl-mode):
19545 * textmodes/table.el (table-generate-source)
19546 (table--warn-incompatibility):
19547 Hyperlink urls in docstrings with URL `...'.
19549 2009-07-22 Glenn Morris <rgm@gnu.org>
19551 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19552 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19553 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19554 Remove leading * from defcustom docs.
19556 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19558 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19560 (list-load-path-shadows): Optionally, just return shadows as a string.
19562 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19564 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19566 * mail/rmailedit.el (rmail-edit-mode):
19567 Use auto-save-include-big-deletions.
19569 * mail/rmail.el (rmail-variables):
19570 Use auto-save-include-big-deletions.
19572 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19575 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19577 * calc/calc.el (calc-undo-length): New variable.
19578 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19580 2009-07-21 Richard Stallman <rms@gnu.org>
19582 * files.el (auto-save-mode): Handle buffer-save-size = -2
19585 2009-07-21 Glenn Morris <rgm@gnu.org>
19587 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19589 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19591 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19592 silence compiler. Instead...
19593 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19594 (ps-print-ensure-fontified): Update for above function name changes.
19596 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19597 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19598 silence compiler. Instead...
19599 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19600 (mh-show-buffer): Only define for compiler.
19601 (pr-mh-current-message): Update for above function name changes.
19603 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19605 (find-file-noselect, insert-file-1): Update for above change.
19607 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19609 * mail/mailclient.el (mailclient-send-it): Fix message.
19611 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19612 (edebug-eval): Check cl-debug-env is bound.
19613 (print-level, print-circle): Don't redefine built-in variables.
19615 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19616 (custom-print-vectors): Remove old comments from doc.
19618 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19619 (emerge-version): Make the variable an obsolete alias for the
19620 emacs-version variable. Make the function obsolete.
19621 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19622 Emerge options, rather than merging in into the main Options menu.
19623 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19624 and auto advance modes. Disable edit/fast items when not relevant.
19626 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19628 * term/vt420.el (terminal-init-vt420): Fix typo.
19630 2009-07-20 Sam Steingold <sds@gnu.org>
19632 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19633 variable (removed from compile.el on 2004-03-11).
19635 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19637 * files.el (hack-local-variables-filter): Fix last change.
19639 2009-07-19 Juri Linkov <juri@jurta.org>
19641 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19642 (dir-local-variables-alist): New buffer-local variable.
19643 (hack-local-variables-filter): If variable is not dir-local,
19644 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19645 because file-local overrides dir-local.
19646 (c-postprocess-file-styles) <declare-function>:
19647 Remove obsolete declaration.
19648 (hack-dir-local-variables): Add dir-local variable/value pair to
19649 `dir-local-variables-alist' and remove duplicates. Doc fix.
19651 * help-fns.el (describe-variable): Add information about
19652 file-local and dir-local variables.
19654 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19656 * files.el (hack-local-variables-filter): Rewrite.
19658 2009-07-19 Glenn Morris <rgm@gnu.org>
19660 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19661 Silence compiler by only defining on XEmacs.
19663 * international/mule.el (auto-coding-regexp-alist): Only match
19664 BABYL... at the start of buffer, not of lines. (Bug#3790)
19666 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19667 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19668 (cal-menu-context-mouse-menu): Doc fix.
19670 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19672 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19674 2009-07-18 Juri Linkov <juri@jurta.org>
19676 * info.el: Virtual Info keyword finder.
19677 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19678 (Info-finder-file): New variable.
19679 (Info-finder-find-file): New function.
19680 (finder-known-keywords, finder-package-info)
19681 (find-library-name, lm-commentary): Use defvar and
19682 declare-function to silence compiler warnings.
19683 (Info-finder-find-node): New function.
19684 (info-finder): New command.
19686 * subr.el (process-kill-buffer-query-function): New function.
19687 (add-hook)<kill-buffer-query-functions>: Add hook
19688 `process-kill-buffer-query-function'.
19690 2009-07-18 Alan Mackenzie <acm@muc.de>
19692 * progmodes/cc-mode.el (c-before-hack-hook)
19693 (c-postprocess-file-styles): Give invocation of `c-set-style'
19694 DONT-OVERRIDE parameter of t. Already set style variables will
19695 thus not be overridden by style settings given by `c-file-syle'.
19697 * files.el (hack-local-variables-filter): Remove entries with
19698 duplicate keys from `file-local-variables-alist'.
19700 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19702 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19703 x-set-selection if display-selections-p returns nil for the
19706 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19708 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19710 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19712 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19713 Accept nil in addition to a regexp.
19714 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19715 Accept nil in addition to a regexp.
19716 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19717 buffers that have an associated file. Handle nil values of
19718 desktop-buffers-not-to-save and desktop-files-not-to-save.
19721 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19722 (x-disown-selection-internal): New functions.
19724 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19726 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19728 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19729 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19731 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19733 * simple.el (set-mark): Revert last change.
19735 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19737 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19738 rendering of pngs is not possible instead of messaging a long
19741 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19743 * w32-fns.el (x-selection-owner-p): New function.
19745 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19746 (mouse-yank-at-click, mouse-yank-primary):
19747 If select-active-regions is non-nil, deactivate the mark before
19750 * simple.el (deactivate-mark, set-mark): Only save selection if we
19753 2009-07-17 Kenichi Handa <handa@m17n.org>
19755 * case-table.el (describe-buffer-case-table): Fix for the case
19756 that KEY is a cons.
19758 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19760 * vc-rcs.el (vc-rcs-find-file-hook):
19761 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19763 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19765 * net/tramp.el (tramp-wait-for-output): Handle the case when
19766 commands do not return a newline but a null byte before the shell
19769 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19771 * term/ns-win.el (ns-set-alpha): Don't declare.
19772 (ns-set-background-alpha): Remove function.
19774 2009-07-16 Kevin Ryde <user42@zip.com.au>
19776 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19777 y-or-n-p, for safety.
19779 2009-07-16 Richard Stallman <rms@gnu.org>
19781 * files.el (auto-save-mode): If buffer-saved-size is -2,
19784 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19785 (rmail-retry-ignored-headers): Add more uninteresting fields.
19787 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19789 * net/rcirc.el (rcirc): Use history variables.
19790 (rcirc-server-name-history, rcirc-nick-name-history)
19791 (rcirc-server-port-history): New variables.
19793 2009-07-15 Kenichi Handa <handa@m17n.org>
19795 * international/mule-cmds.el (set-language-environment-charset):
19796 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19799 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19800 Delete unibyte-display.
19802 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19804 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19806 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19808 * simple.el (deactivate-mark): Optional argument FORCE.
19809 (set-mark): Use deactivate-mark.
19811 * info.el (Info-search): No need to check transient-mark-mode
19812 before calling deactivate-mark.
19814 * select.el (x-set-selection): Doc fix.
19815 (x-valid-simple-selection-p): Allow buffer values.
19816 (xselect--selection-bounds): Handle buffer values.
19817 Suggested by David De La Harpe Golden.
19819 * mouse.el (mouse-set-region, mouse-drag-track):
19820 Call copy-region-as-kill before setting the mark, to let
19821 select-active-regions work.
19823 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19825 * simple.el (deactivate-mark): If select-active-regions is
19826 non-nil, copy the selection data into a string.
19827 (activate-mark): If select-active-regions is non-nil, set the
19828 selection to the current buffer.
19829 (set-mark): Update selection if select-active-regions is non-nil.
19831 * select.el (x-valid-simple-selection-p): Allow buffer values.
19833 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19835 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19836 and more featureful message-mode.
19838 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19840 * select.el (x-set-selection): Doc fix.
19841 (x-valid-simple-selection-p): Disallow selection data consisting
19842 of a list or cons of integers, since that is not used.
19843 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19844 (xselect-convert-to-string, xselect-convert-to-length)
19845 (xselect-convert-to-filename, xselect-convert-to-charpos)
19846 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19848 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19850 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19851 output in -break-info command (Emacs bug #3794).
19853 2009-07-14 Glenn Morris <rgm@gnu.org>
19855 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19856 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19857 (edebug-print-length, edebug-print-level, edebug-print-circle)
19858 (edebug-sit-for-seconds, edebug-view-outside)
19859 (edebug-bounce-point, edebug-set-global-break-condition)
19860 (edebug-Go-nonstop-mode, edebug-trace-mode)
19861 (edebug-Trace-fast-mode, edebug-continue-mode)
19862 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19863 (edebug-visit-eval-list): Doc fixes.
19865 * subr.el (def-edebug-spec): Doc fix.
19867 2009-07-14 Kenichi Handa <handa@m17n.org>
19869 * international/characters.el: Fix setting of category ?C.
19871 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19873 * term/ns-win.el (x-select-font): defalias x-select-font to
19874 ns-popup-font-panel instead of generate-fontset-menu.
19876 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19878 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19880 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19882 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19883 the PK\003\004 header (Bug#3770).
19885 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19887 * pcomplete.el (pcomplete-comint-setup): Check for
19888 shell-dynamic-complete-filename too.
19890 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19892 * simple.el (temporary-goal-column): Change the value for
19893 line-move-visual to a cons cell.
19894 (line-move-visual): Record or set the window hscroll, if
19895 necessary (Bug#3494).
19896 (line-move-1): Handle cons value of temporary-goal-column.
19898 2009-07-11 Kenichi Handa <handa@m17n.org>
19900 * international/mule-diag.el (describe-character-set): Don't show
19903 2009-07-10 Sam Steingold <sds@gnu.org>
19905 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19906 Omake sometimes indents the errors it prints, so allow all
19907 regexps to start with spaces.
19909 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19911 * cus-edit.el (customize-changed-options-previous-release):
19912 Bump value to 22.1. (Bug#3804)
19914 2009-07-08 Sam Steingold <sds@gnu.org>
19916 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19917 to be a cons cell (test . ignored-directory) to selectively ignore
19918 some directories depending on the location of the search.
19920 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19922 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19923 remote user is root, on the local host.
19924 (tramp-local-host-p): Either the local user or the remote user
19925 must be root. (Bug#3771)
19927 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19929 * progmodes/gdb-mi.el (gdb): Remove description of
19930 gdb-use-separate-io-buffer.
19931 (menu): Don't allow toggling of or enable
19932 gdb-use-separate-io-buffer from menubar.
19934 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19936 * mail/unrmail.el (unrmail): Make sure the message ends with two
19937 newlines (Bug#3769).
19939 2009-07-08 Glenn Morris <rgm@gnu.org>
19941 * calendar/calendar.el (calendar-current-date): Rework previous change.
19943 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19945 * calendar/calendar.el (calendar-current-date):
19946 Add an optional argument giving an offset from today.
19948 2009-07-08 Glenn Morris <rgm@gnu.org>
19950 * tutorial.el (tutorial--describe-nonstandard-key):
19951 Adjust the message for when a key has been unbound.
19952 (help-with-tutorial): Hide the arch-tag.
19954 2009-07-08 Kenichi Handa <handa@m17n.org>
19956 * international/fontset.el (setup-default-fontset): For each
19957 script, append (not set) font-specs.
19959 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19962 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19964 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19965 -data-list-register-names to ...
19966 (gdb-starting): ... here because GDB 7.0 requires execution to
19967 have started when using this MI command.
19968 (gdb-set-header): New function to distinguish select and
19969 unselected tabs in gdb buffers.
19970 (gdb-propertize-header): New macro that uses gdb-set-header.
19971 (gdb-breakpoints-header, gdb-locals-header): Use it.
19972 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19974 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19976 * Makefile.in (ELCFILES): Remove fadr.elc.
19978 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19980 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19981 may contain frame information, so `string-match' should be used.
19982 (gdb-update): Disassembly is invalidated through
19983 `gdb-get-selected-frame'.
19984 (gdb-pad-string): New function to pad string with spaces.
19985 (gdb-invalidate-disassembly): Invalidate only if the buffer
19987 (gdb-disassembly-handler-custom): Column alignment.
19988 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19990 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19992 (gdb-frame-handler): Match convention to for disassembly buffer
19994 (gdb-stack-list-frames-handler): Rewritten without regexps.
19995 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19996 not highlight breakpoints without line information.
19997 (gdb-input): Add trailing newline to command.
19999 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20001 (gdb-breakpoints-list-handler-custom): Replacement for
20002 `gdb-break-list-handler'. Using real parser instead of regexps
20004 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20005 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20006 to place breakpoints.
20007 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20009 (gdb-disassembly-handler-custom): Show overlay arrow.
20010 (gdb-disassembly-place-breakpoints): Show breakpoints in
20011 disassembly buffer.
20012 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20013 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20014 instead of parsing breakpoints buffer. Fixed old menu references
20019 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20020 (gdb-memory-address): New variable which holds top address of
20021 memory page shown in memory buffer.
20022 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20023 New customization variables.
20025 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20026 display the memory buffer.
20027 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20028 buffer display parameters.
20029 (def-gdb-memory-format, gdb-memory-format-binary)
20030 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20031 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20032 Functions for setting memory buffer format.
20033 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20034 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20035 unit size used in memory buffer.
20036 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20037 Switch to next/previous page of memory buffer.
20038 Now using (bindat-get-field) instead of fadr functions.
20040 2009-07-07 Sam Steingold <sds@gnu.org>
20042 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20043 non-top-level files.
20045 2009-07-07 Kenichi Handa <handa@m17n.org>
20047 * international/mule-cmds.el (reset-language-environment):
20048 Put the highset priority to the charset iso-8859-1.
20050 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20052 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20053 to the end of the line when locating the block (Bug#700).
20055 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20057 * net/tramp.el (tramp-handle-write-region): Flush file properties
20058 in case of short track.
20060 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20062 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20063 Coded custom representation of verilog error regular expressions
20064 to work with Emacs-22's new format.
20065 (verilog-error-regexp-xemacs-alist): Coded custom representation
20066 of verilog error regular expressions to work with XEmacs format.
20067 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20068 error recognition into XEmacs.
20069 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20070 error recognition into Emacs-22.
20072 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20074 * woman.el: Remove stand-alone closing parentheses.
20075 (woman-file-name, woman2-format-paragraphs)
20076 (woman-leave-blank-lines): Code cleanup.
20077 (woman-use-own-frame): Change default to nil.
20078 (woman-italic, woman-bold, woman-unknown, woman-addition):
20079 Change defaults to inherit from default faces.
20080 (woman2-process-escapes): Consume the newline after a stand-alone
20081 filler character (Bug#3651).
20083 2009-07-06 Glenn Morris <rgm@gnu.org>
20085 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20086 (top-level): Move provide to the end.
20087 (ffap): Remove defunct URL from custom group.
20089 * subr.el (eval-after-load): Doc fix.
20091 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20093 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20094 `calc-embedded-word' is called twice.
20096 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20098 * files.el (find-alternate-file-other-window, find-alternate-file):
20099 Obey confirm-nonexistent-file-or-buffer.
20101 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20103 * dired-aux.el (dired-show-file-type): Handle remote files.
20105 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20107 * desktop.el (desktop-globals-to-save):
20108 Add file-name-history (Bug#2750).
20110 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20112 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20114 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20116 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20117 property on entire argument since this is what eshell-lisp-command
20120 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20122 * net/tramp-gvfs.el (tramp-gvfs-methods)
20123 (tramp-gvfs-zeroconf-domain)
20124 (tramp-bluez-discover-devices-timeout): Add version flag.
20125 (tramp-gvfs-handler-mounted-unmounted)
20126 (tramp-gvfs-connection-mounted-p): Polish handling of
20127 incompatibilities between GVFS 0.2 and 1.0.
20129 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20131 * cus-start.el (all): Add make-pointer-invisible.
20133 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20135 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20136 formatted correctly.
20138 2009-07-02 Juri Linkov <juri@jurta.org>
20140 * info.el: Virtual Info files and nodes.
20141 (Info-virtual-files, Info-virtual-nodes): New variables.
20142 (Info-current-node-virtual): New variable.
20143 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20145 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20146 to check for a virtual file instead of checking a fixed list
20148 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20149 instead of ad-hoc processing of "dir" and (apropos history toc).
20150 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20151 instead of ad-hoc processing of "dir" and (apropos history toc).
20152 Reread a file when moving from a virtual node.
20153 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20154 (Info-directory-toc-nodes, Info-directory-find-file)
20155 (Info-directory-find-node): New functions.
20156 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20157 (Info-history): Move part of code to
20158 `Info-history-find-node'.
20159 (Info-history-toc-nodes, Info-history-find-file)
20160 (Info-history-find-node): New functions.
20161 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20162 (Info-toc): Move part of code to `Info-toc-find-node'.
20163 (Info-toc-find-node): New function.
20164 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20165 the current Info file name to references because now the node
20166 "*TOC*" belongs to the same Info manual.
20167 (Info-toc-build): Rename from `Info-build-toc'.
20168 (Info-toc-nodes): Rename input argument `file' to `filename'.
20169 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20170 instead of ad-hoc processing of ("dir" apropos history toc).
20171 (Info-index-nodes): Use Info-virtual-file-p
20172 to check for a virtual file instead of checking a fixed list
20174 (Info-index-node): Add check for `Info-current-node-virtual'.
20175 Raise `save-match-data' higher up the tree to contain
20176 `search-forward' too (bug fix).
20177 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20178 (Info-virtual-index-nodes): New variable.
20179 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20180 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20181 (Info-apropos-file, Info-apropos-nodes): New variables.
20182 (Info-apropos-toc-nodes, Info-apropos-find-file)
20183 (Info-apropos-find-node, Info-apropos-matches): New functions.
20184 (info-apropos): Move part of code to `Info-apropos-find-node' and
20185 `Info-apropos-matches'.
20186 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20187 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20188 for a virtual file instead of checking a fixed list of node names.
20190 * simple.el (async-shell-command): New command.
20192 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20194 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20195 instead of `mount-info'.
20197 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20199 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20200 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20202 2009-07-02 Kenichi Handa <handa@m17n.org>
20204 * international/mule.el (set-keyboard-coding-system): Force *-unix
20205 coding-system to avoid eol conversion.
20207 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20209 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20210 Add handler for `process-file', `shell-command' and
20211 `start-file-process'.
20212 (tramp-gvfs-handle-shell-command)
20213 (tramp-gvfs-handle-start-file-process)
20214 (tramp-gvfs-handle-process-file): New defuns.
20215 (tramp-synce-list-devices): Simplify check for existence of property.
20217 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20219 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20221 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20223 * language/korean.el (set-language-info-alist): Add korean-cp949,
20226 2009-07-01 Kenichi Handa <handa@m17n.org>
20228 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20230 * international/encoded-kb.el: Deleted.
20232 * international/mule.el (set-keyboard-coding-system): Perform the
20233 necessary setup here instead of calling encoded-kbd-setup-display.
20235 2009-07-01 Glenn Morris <rgm@gnu.org>
20237 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20239 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20241 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20243 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20245 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20246 Handle also the 'rename case, when setting file modes. (Bug#3712)
20247 (tramp-default-file-modes): Remove execute permissions.
20249 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20250 (top): Add a default for "synce" in `tramp-default-user-alist'.
20251 Add completion function for "synce" method.
20252 (tramp-hal-service, tramp-hal-path-manager)
20253 (tramp-hal-interface-manager, tramp-hal-interface-device):
20255 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20256 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20259 * net/trampver.el: Update release number.
20261 2009-06-30 Kenichi Handa <handa@m17n.org>
20263 * international/fontset.el (setup-default-fontset): Add CJK fonts
20264 for symbols and the other miscellaneous characters.
20266 * language/korea-util.el (setup-korean-environment-internal):
20267 Make char-width-table suitable for Korean environments.
20268 (exit-korean-environment): Cancel above.
20270 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20271 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20272 setup-function to make char-width-table suitable for respective
20273 environments, and an exit-function to cancel that.
20275 * language/japan-util.el (setup-japanese-environment-internal):
20276 Call use-cjk-char-width-table with arg `ja_JP'.
20278 * international/characters.el (cjk-char-width-table): Delete it.
20279 (cjk-char-width-table-list): New variable.
20280 (use-cjk-char-width-table): New arg local-name.
20281 (use-default-char-width-table): Fix for the case that Emacs is
20282 already using the default char-width-table.
20284 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20286 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20287 modes mandatory. (Bug#3712)
20289 2009-06-29 Alan Mackenzie <acm@muc.de>
20291 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20292 correction between the visible width of TABs and their number of bytes.
20294 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20296 * server.el (server-buffer-done): Prevent kill-buffer from
20297 prompting by clearing the buffer modification flag (Bug#3696).
20299 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20301 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20302 (verilog-endcomment-reason-re): Support unique case and priority case.
20303 (verilog-basic-complete-re): Support localparam lineup.
20304 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20305 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20307 (verilog-leap-to-case-head): Now support *nested* unique &
20308 priority case statements.
20309 (verilog-auto-lineup): Make just declarations the default (as it
20311 (verilog-leap-to-case-head): Support priority/unique case statements.
20312 (verilog-auto-lineup): Rework to give users radio buttons to
20313 select the various styles of automatic lineup.
20314 (verilog-error-regexp-alist): Rework to support the XEmacs style
20315 of error regular expressions from compilers, lint tools &
20316 simulators. Note that GNU Emacs has made it impossible for a mode
20317 to load such things.
20318 (electric-verilog-terminate-line, verilog-indent-declaration)
20319 (verilog-auto-wiure): Rework for radio button selection of
20320 auto-lineup selection of specification of auto lineup.
20321 (verilog-beg-of-statement-1): Redesign to support proper operation
20322 in additional code, based on testing with auto-lineup.
20323 (verilog-calculate-indent, assignments & declarations)
20324 (verilog-backward-token): Enhance to support auto-lineup of
20325 assignments & declarations.
20326 (verilog-in-directive-p, verilog-at-struct-p): New function for
20327 easy test of whether we are.
20328 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20329 to support safe execution at almost anyline.
20330 (verilog-calc-1): Properly support indenting deep inside generate
20332 (verilog-init-font): Remove definition & use of verilog-init-font,
20333 as it is redundant with font-lock-defaults.
20334 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20335 to avoid circular calls if syntax-ppss is a function (as is the
20336 case now in 22.x GNU Emacs) as that function would sometimes call
20337 itself, leading to (nearly) infinite recursion.
20338 (verilog-ovm-begin-re, verilog-ovm-end-re)
20339 (verilog-ovm-statement-re, verilog-leap-to-head)
20340 (verilog-backward-token): Add support for OVM macros. Some are
20341 complete statements, and others open and close scopes like begin
20343 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20344 (verilog-defun-level-generate-only-re): Really fix the defun-list
20346 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20347 coverpoint, constraint and cross statements.
20348 (verilog-defun-level-list, verilog-generate-defun-level-list)
20349 (verilog-all-defun-level-list): Redo these specifications - it is
20350 too hard to support eval-when compile aggregation of lists also
20351 built at when-compile time.
20352 (verilog-defun-level-list): Place defconsts of variables used in
20353 building regular expressions which are built in eval-when-compile
20354 bodies in the same eval-when-compile body to facilitate compile
20356 (verilog-beg-block-re-ordered): Support indenting
20357 virtual/protected tasks and functions.
20358 (verilog-defun-level-list, verilog-in-generate-region-p)
20359 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20360 indentation of some module items (generate items).
20361 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20362 across virtual/protected tasks and functions.
20364 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20366 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20367 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20368 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20369 in concatenations. Reported by Yishay Belkind.
20370 (verilog-auto-ascii-enum): Support one-hot state machines in
20371 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20372 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20373 modport in AUTOINST and add vl-modport for users.
20374 Reported by David Rogoff.
20375 (verilog-auto-inout-module, verilog-auto-inst)
20376 (verilog-decls-get-interfaces, verilog-insert-definition)
20377 (verilog-insert-one-definition, verilog-read-decls)
20378 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20379 (verilog-sig-modport, verilog-signals-combine-bus)
20380 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20381 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20382 Suggested by David Rogoff.
20383 (verilog-repair-open-comma): Fix non-insertion of comma when
20384 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20385 (verilog-make-width-expression): Simplify [A-1:0] expression
20386 widths to just {A{1'b0}}.
20387 (verilog-mode): Cleanup checkdoc warnings.
20388 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20389 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20390 inputs/outputs or data type. Suggested by Vasu Kandadi.
20391 (next-error-last-buffer): Fix byte-compiler warning.
20392 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20393 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20394 or shell command text during AUTO expansion. Suggested by Tad Truex.
20395 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20396 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20397 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20398 in AUTOINOUT. Reported by Matthew Lovell.
20399 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20400 causing use of <= assignments. Reported by Alex Reed.
20401 (verilog-read-decls): Fix triand, trior, wand, wor to be
20402 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20403 (verilog-extended-complete-re): Support import "DPI-C" functions.
20404 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20405 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20406 (verilog-insert-date, verilog-insert-year)
20407 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20408 Windows systems. Reported by Michael Potts.
20409 (verilog-read-module-name): Fix AUTOINST when the child module
20410 declaration's name is a tick define. Reported by Elliot Mednick.
20411 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20412 passed to next parameter's definition. Reported by Bruce T.
20413 (verilog-read-decls): Fix detecting "parameter int" when using
20414 AUTOINSTPARAM. Reported by Bruce T.
20415 (verilog-goto-defun): Fix goto not finding modules unless first
20416 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20417 (verilog-mode): Expand -f flag arguments on entry to mode so
20418 verilog-goto-defun will work. Reported by Lawrence Butcher.
20419 (verilog-getopt): Expand environment variables in -f file
20420 arguments. Suggested by Lawrence Butcher.
20421 (verilog-set-define): Fix "Symbol's value as variable is void"
20422 when reading enumerations.
20423 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20424 Suggested by Stephen Peltan.
20425 (verilog-read-defines): Fix reading of enumerations in include
20426 files. Reported by Steve Peltan.
20428 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20430 * files.el (trash-directory): Fix defcustom type.
20432 2009-06-28 Juri Linkov <juri@jurta.org>
20434 * help-fns.el (describe-function-1): Correctly locate adviced
20435 functions in hyperlink (Bug#2438).
20437 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20439 * files.el (trash-directory): Change default to nil.
20440 (move-file-to-trash): If trash-directory is nil and
20441 system-move-file-to-trash is unbound, perform freedesktop-style
20444 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20446 * files.el (move-file-to-trash): Add freedesktop trash
20449 2009-06-28 Glenn Morris <rgm@gnu.org>
20451 * autorevert.el (global-auto-revert-non-file-buffers)
20452 (global-auto-revert-mode): Doc fixes.
20454 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20456 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20458 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20460 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20461 opened an X connection before calling x-get-resource (Bug#3194).
20463 * play/doctor.el: Remove reference to obsolete website.
20464 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20466 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20468 Remove find-file-not-found-hook VC method. (Bug#2757)
20469 * vc-hooks.el (vc-file-not-found-hook)
20470 (vc-default-find-file-not-found-hook): Remove functions.
20471 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20472 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20475 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20477 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20479 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20480 compatibility function for `looking-back'.
20482 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20483 Use `ispell-looking-back'.
20485 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20487 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20488 rather than `filename'.
20490 2009-06-23 Miles Bader <miles@gnu.org>
20492 * face-remap.el (text-scale-set): New function.
20494 2009-06-23 Glenn Morris <rgm@gnu.org>
20496 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20498 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20500 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20502 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20504 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20505 Simplify Persian conditionals.
20507 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20508 variable `filename'.
20510 * comint.el (comint-insert-input): Doc fix.
20512 * Makefile.in (ELCFILES): Fix typo in previous change.
20514 2009-06-23 Miles Bader <miles@gnu.org>
20516 * cus-start.el: Add entry for `recenter-redisplay'.
20518 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20520 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20521 Add an optional argument for the backend, use it instead of
20522 calling vc-backend.
20523 (vc-mode-line): Add an optional argument for the backend.
20524 Pass the backend to vc-state and vc-working-revision. Move code for
20525 special handling for vc-state being a buffer to ...
20527 * vc-rcs.el (vc-rcs-find-file-hook):
20528 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20530 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20531 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20532 vc-stay-local-p and vc-mode-line calls.
20534 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20535 (vc-cvs-diff, vc-cvs-annotate-command)
20536 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20537 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20538 vc-mode-line calls.
20540 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20542 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20543 backend when calling vc-mode-line.
20544 (vc-register): Do not create a closure for calling the vc register
20545 function, call it directly.
20547 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20549 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20550 to make it obvious item can be clicked.
20552 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20554 2009-06-23 Kenichi Handa <handa@m17n.org>
20556 * language/korea-util.el (korean-key-bindings): Change the binding
20557 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20560 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20562 Sync with Tramp 2.1.16.
20564 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20566 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20567 when a loading of a package fails. Completion function for rsync
20568 is `tramp-completion-function-alist-ssh'.
20569 (all): Replace all calls of `split-string' and
20570 `tramp-split-string' by `tramp-compat-split-string'.
20571 (tramp-default-method): Use `tramp-compat-process-running-p'.
20572 (tramp-default-proxies-alist): Allow also Lisp forms.
20573 (tramp-remote-path): Add choice "Private Directories".
20574 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20575 (tramp-domain-regexp): Allow also "-", "_" and ".".
20576 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20577 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20578 (tramp-debug-message): Insert header line in debug buffer.
20579 (tramp-handle-directory-files-and-attributes-with-stat):
20580 Care about filenames with spaces, or starting with "-".
20581 (tramp-handle-dired-uncache): New defun.
20582 (tramp-handle-insert-directory): Don't flush the directory from
20583 cache, this is handled by `dired-uncache' now.
20584 (tramp-handle-insert-file-contents): Improve error handling.
20585 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20586 Quote `tramp-end-of-output'.
20587 (tramp-action-password): Improve trace message.
20588 (tramp-check-for-regexp): Both echoes must be present, before removing.
20589 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20590 (tramp-compute-multi-hops): Eval cons cells of
20591 `tramp-default-proxies-alist'.
20592 (tramp-maybe-open-connection): Use the same command pattern for
20593 first hop and further hops.
20594 (tramp-wait-for-output): Remove handling of newlines.
20595 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20596 (tramp-split-string): Remove function. It is handled in
20599 * net/tramp-cmds.el (tramp-bug):
20600 Recommend `tramp-cleanup-all-connections' in the bug mail.
20602 * net/tramp-compat.el (tramp-compat-split-string)
20603 (tramp-compat-process-running-p): New defuns.
20605 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20606 for `dired-uncache'.
20608 * net/tramp-gvfs.el: New package.
20610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20611 Add handler for `dired-uncache'.
20612 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20614 * net/trampver.el: Update release number. Make version check fit
20617 2009-06-22 Jim Meyering <meyering@redhat.com>
20619 Automatically handle .xz suffix (XZ-compressed files), too.
20620 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20621 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20623 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20624 Nick Roberts <nickrob@snap.net.nz>
20626 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20627 repository (http://sphinx.net.ru/hg/gdb-mi/).
20629 2009-06-22 Glenn Morris <rgm@gnu.org>
20631 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20632 `mode' and `eval' entries. (Bug#3430)
20634 * Makefile.in (ELCFILES): Add fadr.elc.
20636 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20637 differing behavior of \n and ^ in strings. (Bug#3385)
20639 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20641 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20643 (lisp-indent-function): Make it a defcustom.
20645 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20647 * progmodes/gdb-ui.el: Replace with ...
20648 * progmodes/gdb-mi.el: ... this file.
20649 * progmodes/gud.el: Modify for gdb-mi.el.
20651 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20653 * fadr.el: New file.
20655 See ChangeLog.14 for earlier changes.
20657 ;; Local Variables:
20661 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20663 This file is part of GNU Emacs.
20665 GNU Emacs is free software: you can redistribute it and/or modify
20666 it under the terms of the GNU General Public License as published by
20667 the Free Software Foundation, either version 3 of the License, or
20668 (at your option) any later version.
20670 GNU Emacs is distributed in the hope that it will be useful,
20671 but WITHOUT ANY WARRANTY; without even the implied warranty of
20672 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20673 GNU General Public License for more details.
20675 You should have received a copy of the GNU General Public License
20676 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.