1 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
4 work for nested comments.
6 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
7 (prolog-use-prolog-tokenizer-flag): Change default when
8 syntax-propertize can be used.
9 (prolog-syntax-propertize-function): New var.
10 (prolog-mode-variables): Move make-local-variable into `set'.
11 Don't make comment-column local since we don't set it.
12 Set comment-add (as it was in previous prolog.el). Use dolist.
13 Set syntax-propertize-function.
14 (prolog-mode, prolog-inferior-mode):
15 Call prolog(-inferior)-menu directly, not through the mode-hook.
16 (prolog-buffer-module, prolog-indent-level)
17 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
18 (prolog-comment-limits, prolog-goto-comment-column):
19 Use line-(end|beginning)-position.
20 (prolog-build-prolog-command): Tighten up regexp.
21 (prolog-consult-compile): Move make-local-variable into `set'.
22 (prolog-consult-compile-filter, prolog-goto-next-paren)
23 (prolog-help-on-predicate, prolog-clause-info)
24 (prolog-mark-predicate): Don't let+setq.
25 (prolog-indent-line): Use indent-line-to.
26 Only call prolog-goto-comment-column if necessary.
27 (prolog-indent-level): Use bobp.
28 (prolog-first-pos-on-line): Remove, not used any more.
29 (prolog-in-string-or-comment): Use syntax-ppss if available.
30 (prolog-help-on-predicate): Use read-string.
31 (prolog-goto-predicate-info): Simplify.
32 (prolog-read-predicate): Use `default' rather than `initial'.
33 (prolog-temporary-file): Use make-temp-file to close a security hole.
34 (prolog-toggle-sicstus-sd): New command.
35 (prolog-electric-underscore, prolog-variables-to-anonymous):
36 Use dynamic-scoping as it was meant.
37 (prolog-menu): Move menu definitions to top-level.
38 Use a toggle-button for Sicstus's source debugger.
39 Change "Code" to the more usual "Prolog", and hence change "Prolog"
41 (prolog-inferior-menu): Reuse prolog-menu's help menu.
42 Move other menu definition to top-level.
44 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
46 * doc-view.el (doc-view-open-text): Use meaningful text buffer
47 name. Keep original document's directory as default-directory
49 (doc-view-initiate-display): Fall back to normal mode when
50 doc-view-mode cannot be enabled, also when extracting the document
51 text into a separate buffer (bug#6446).
53 * simple.el (shell-command): Don't error out if shell command
54 buffer contains text with non-nil read-only property when erasing
57 2011-01-13 Kim F. Storm <storm@cua.dk>
59 * ido.el (ido-may-cache-directory): Move "too-big" check later.
60 (ido-next-match, ido-prev-match): Fix stray reordering of matching
61 items when cycling through the matches.
63 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
65 * dired-x.el (dired-omit-verbose): New defcustom that allows
66 disabling the omit messages.
67 (dired-omit-expunge): Use it.
69 2011-01-13 Christian Ohler <ohler@gnu.org>
71 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
73 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
75 * font-lock.el (font-lock-verbose): Default to nil.
77 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
79 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
80 (compose-mail): New arg RETURN-ACTION.
81 (compose-mail-other-window, compose-mail-other-frame): Likewise.
83 * mail/sendmail.el (mail-return-action): New var.
84 (mail-mode): Make it buffer-local.
85 (mail-bury): Obey it. Move special Rmail window handling to
87 (mail, mail-setup): New arg RETURN-ACTION.
88 (sendmail-user-agent-compose): Move from simple.el.
90 * mail/rmail.el (rmail-mail-return): New function.
91 (rmail-start-mail): Pass it to compose-mail.
93 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
95 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
96 menus. Add menu item for customize-themes.
98 * cus-theme.el (customize-themes):
99 * emacs-lisp/package.el (package--list-packages): Use
102 2011-01-11 Johan Bockgård <bojohan@gnu.org>
104 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
106 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
108 * progmodes/prolog.el: Fix up coding convention and such.
109 (prolog-indent-width): Use the same default as in
110 previous prolog.el rather than tab-width which depends on which buffer
111 is current when the file is loaded.
112 (prolog-electric-newline-flag): Only enable if electric-indent-mode
114 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
115 (prolog-known-systems): Remove.
116 (prolog-mode-syntax-table, prolog-inferior-mode-map):
117 Move initialization into declaration.
118 (prolog-mode-map): Move initialization into declaration.
119 Remove system-specific mode-map vars, since they referred to the same
121 (prolog-mode-variables): Obey the user's preference w.r.t
122 adaptive-fill-mode. Prefer symbol-value to `eval'.
123 (prolog-mode-keybindings-edit): Add compatibility bindings.
124 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
125 (mercury-mode-map): New var.
126 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
127 (prolog-ensure-process, prolog-process-insert-string)
128 (prolog-consult-compile): Use with-current-buffer.
129 (prolog-guess-fill-prefix): Simplify data flow.
130 (prolog-replace-in-string): New function to use instead of
132 (prolog-enable-sicstus-sd): Don't abuse `eval'.
133 (prolog-uncomment-region): Use `uncomment-region' when available.
134 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
135 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
136 of int-to-char and char-to-int.
137 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
139 2011-01-11 Stefan Bruda <stefan@bruda.ca>
141 * progmodes/prolog.el: Replace by a whole new file.
143 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
145 * subr.el (eval-after-load): Fix timing for features (bug#7769).
146 (declare-function, undefined, insert-for-yank)
147 (replace-regexp-in-string): Follow checkdoc's recommendations.
149 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
151 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
152 refreshing the diary buffer.
154 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
156 * allout.el: Add 2011 to the file copyright.
157 (allout-encrypt-string): Prevent encryption from adding an extra
158 newline at the end of the topic body.
159 (allout-version): Increment to 2.3.
161 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
163 * net/dbus.el (dbus-unregister-service): Complete doc.
164 Fix call of dbus-error signal.
165 (dbus-register-property): Use `dont-register' keyword.
167 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
169 * net/dbus.el (dbus-unregister-service): Translate returned
170 integer into a symbol.
171 (dbus-register-property): Use `dbus-register-service' to do the
174 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
176 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
177 Suggested by Joakim Verona.
179 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
181 * wid-edit.el (visibility): Replace :on-image and :off-image
182 widget properties with :on-glyph and :off-glyph, for consistency
183 with the `visibility' widget.
184 (widget-toggle-value-create, widget-visibility-value-create):
185 Merge into a single function `widget-toggle-value-create'.
187 * cus-edit.el (custom-variable-value-create, custom-visibility)
188 (custom-face-edit-value-create, custom-face-value-create):
189 Replace :on-image and :off-image widget properties with :on-glyph and
190 :off-glyph, for consistency with the `visibility' widget.
192 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
194 * net/ldap.el (ldap-search-internal): Don't use eval.
196 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
198 * subr.el (read-char-choice): Use read-key.
200 * custom.el (custom-safe-themes): Rename from
201 custom-safe-theme-files. Add :risky tag.
202 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
203 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
205 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
207 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
208 from Search and add a label to Undo.
210 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
211 inappropriate buttons and adding :vert-only tags.
213 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
214 removal of Help tool-bar button. Remove Undo button for space.
216 * info.el (info-tool-bar-map): Add :vert-only tags.
218 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
220 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
221 image backend support. Either of them is fine.
223 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
225 * subr.el (y-or-n-p): Doc fix.
227 * custom.el (custom-safe-theme-files): New defcustom.
228 (custom-theme-load-confirm): New function.
229 (load-theme): Load theme using `load', confirming with
230 custom-theme-load-confirm if necessary.
232 * subr.el (read-char-choice): New function, factored out from
233 dired-query and hack-local-variables-confirm.
235 * dired-aux.el (dired-query):
236 * files.el (hack-local-variables-confirm): Use it.
238 * dired-aux.el (dired-compress-file):
239 * files.el (abort-if-file-too-large, find-alternate-file)
240 (set-visited-file-name, write-file, backup-buffer)
241 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
242 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
243 Use new format string args for y-or-n-p and yes-or-no-p.
245 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
247 * progmodes/compile.el (compilation-error-regexp-alist-alist)
248 [gcc-include]: Tighten file name match, add match for column
250 [gnu]: Remove unused group.
252 2011-01-08 Glenn Morris <rgm@gnu.org>
254 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
256 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
258 2011-01-07 Sam Steingold <sds@gnu.org>
260 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
261 the `explicit-shell-file-name' because that is the
262 non-interactive shell.
264 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
266 * subr.el (y-or-n-p): Accept format string args.
268 2011-01-07 Glenn Morris <rgm@gnu.org>
270 * Makefile.in (EMACSOPT): Add --no-site-lisp.
272 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
274 * allout.el (allout-back-to-current-heading): Ensure return to
275 the visible containing topic, rather than a collapsed one.
276 (allout-view-change-hook): Remove hook that was deprecated long ago.
277 (allout-exposure-change-hook): Remove documentation remarks
278 concerning removed allout-view-change-hook.
279 (allout-flag-region): Remove invocation of and documentation
280 remarks concerning allout-view-change-hook.
282 2011-01-06 Glenn Morris <rgm@gnu.org>
284 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
285 (vc-bzr-annotate-extract-revision-at-line):
286 Handle authors with embedded spaces. (Bug#7792)
288 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
290 * doc-view.el (doc-view-image-width): New variable.
291 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
292 backend for PNG images, and do dynamic rescaling instead of
293 reconverting the whole doc.
295 2011-01-05 Glenn Morris <rgm@gnu.org>
297 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
299 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
301 * allout.el: Reconcile with changes in line movement behavior for
302 long text lines that cross more than a single physical window
303 line, ie when truncate-lines is nil.
304 (allout-next-visible-heading): Provide for change in line-move
305 behavior on long lines when truncate-lines is nil. In that case,
306 line-move can wind up on the same textual line when it moves to
307 the next window line, and moving to the bullet position after the
308 move yields zero advancement. Add logic to detect and compensate
309 for the lack of progress.
310 (allout-current-topic-collapsed-p): move-end-of-line respect for
311 field boundaries is different when operating with body lines
312 shorter than window width versus ones greater than window width,
313 which can yield false negatives in this function. Avoid
314 difference by applying move-end-of-line while field-text-motion is
317 2011-01-04 Glenn Morris <rgm@gnu.org>
319 * textmodes/rst.el (rst-compile-toolsets):
320 Add pdf and s5 to option alist.
322 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
324 * net/dbus.el (dbus-register-property): Add optional parameter
325 dont-register-service. Updated docstring accordingly.
327 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
329 * textmodes/rst.el (rst-compile-pdf-preview)
330 (rst-compile-slides-preview): Remove extra line.
332 2011-01-04 Glenn Morris <rgm@gnu.org>
334 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
335 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
336 default to `prog' without a .py extension.
337 (rst-compile-pdf-preview, rst-compile-slides-preview):
338 Use program names from rst-compile-toolsets, rather than hard-coding.
339 (rst-portable-mark-active-p): Fix presumed typo.
341 2011-01-02 Eli Zaretskii <eliz@gnu.org>
343 * term/w32-win.el (dynamic-library-alist): Set up correctly for
344 libpng versions both before and after 1.4.0. (Bug#7716)
346 2011-01-02 Eli Zaretskii <eliz@gnu.org>
348 * time.el (display-time-mode): Mention display-time-interval in
349 the doc string. (Bug#7713)
351 2011-01-02 Kenichi Handa <handa@m17n.org>
353 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
354 condition-case and return an error message string if something
356 (rmail-show-mime): Adjust for the above change. Insert the
357 header by rmail-mime-insert-header.
359 2011-01-02 Kenichi Handa <handa@m17n.org>
361 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
362 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
363 (rmail-mime-mbox-buffer)
364 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
365 (rmail-mime-entity): Argument changed. All codes handling an
366 entity object are changed.
367 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
369 (rmail-mime-entity-children, rmail-mime-entity-handler)
370 (rmail-mime-entity-tagline): New functions.
371 (rmail-mime-message-p): New function.
372 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
373 (rmail-mime-entity-segment, rmail-mime-next-item)
374 (rmail-mime-previous-item, rmail-mime-shown-mode)
375 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
376 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
377 (rmail-mime-insert-tagline, rmail-mime-insert-header):
379 (rmail-mime-text-handler): Call rmail-mime-insert-text.
380 (rmail-mime-insert-decoded-text): New function.
381 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
382 (rmail-mime-insert-image): Argument changed. Caller changed.
383 (rmail-mime-image): Call rmail-mime-toggle-hidden.
384 (rmail-mime-set-bulk-data): New funciton.
385 (rmail-mime-insert-bulk): Argument changed.
386 (rmail-mime-multipart-handler): Return t.
387 (rmail-mime-process-multipart): Argument changed.
388 Handle "multipart/alternative" here.
389 (rmail-mime-process): Argument changed.
390 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
391 (rmail-mime-insert): Argument changed. Handle raw display mode.
392 (rmail-mime): Argument changed. Handle toggling of raw display
394 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
395 rmail-mime-view-buffer.
396 (rmail-insert-mime-forwarded-message): Likewise.
397 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
399 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
400 non-nil, handle the header in rmail-show-mime-function.
402 2011-01-02 Leo <sdl.web@gmail.com>
404 * help-fns.el (describe-variable): Fix previous change.
406 2011-01-02 Juri Linkov <juri@jurta.org>
408 * isearch.el (isearch-lazy-highlight-error): New variable.
409 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
410 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
411 to the current value of `isearch-error' (Bug#7468).
413 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
415 * help-fns.el (describe-variable): Don't emit trailing whitespace
418 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
420 * textmodes/rst.el (rst-compile-pdf-preview)
421 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
423 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
425 * emulation/edt-mapper.el: Override mapping of function keys so
426 that the later call to read-key-sequence works.
428 2011-01-02 Eli Zaretskii <eliz@gnu.org>
430 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
431 Unix EOLs. (Bug#7589)
433 2011-01-02 Leo <sdl.web@gmail.com>
435 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
436 if point is not behind eshell-last-output-end (Bug#7585).
438 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
440 * files.el (file-local-variables-alist):
441 Make permanent-local (bug#7767).
443 2011-01-02 Glenn Morris <rgm@gnu.org>
445 * version.el (emacs-copyright): Set short copyright year to 2011.
447 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
449 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
450 an existing temp buffer. (Bug#7746)
452 2011-01-02 Glenn Morris <rgm@gnu.org>
454 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
455 multiple addresses. (Bug#7760)
457 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
459 * allout.el (allout-auto-fill): Do not infinitely recurse - use
460 do-auto-fill if everything points back to allout-auto-fill.
461 (allout-mode-deactivate-hook): Declare obsolete, in favor of
462 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
464 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
466 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
469 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
471 * doc-view.el (doc-view-set-doc-type): New function refactored
473 (doc-view-fallback-mode): New function.
474 (doc-view-mode): Use it.
475 (doc-view-mode-maybe): New function that checks if doc-view-mode
476 can be used and falls back to the next best mode otherwise.
478 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
479 DVI, OpenDocument, and MS Office files.
481 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
483 * emacs-lisp/rx.el (rx-syntax): Fix typo.
485 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
487 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
488 on a copy of auto-mode-alist, because that deletes with side
491 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
493 * doc-view.el (doc-view-mode, doc-view-toggle-display):
494 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
495 fallback instead of hard coding fundamental mode.
497 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
499 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
500 Office) files also for searching.
502 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
504 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
505 Office) files. Not yet enabled via auto-mode-list.
506 (doc-view-unoconv-program): New custom variable.
507 (doc-view-mode-p): Handle new odf document type.
508 (doc-view-odf->pdf): New conversion function.
509 (doc-view-convert-current-doc): Call it for odf files.
510 (doc-view-mode): Recognize newly supported file extensions.
512 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
514 * net/tramp.el (tramp-default-method-alist)
515 (tramp-default-user-alist)
516 (tramp-local-host-regexp, tramp-prefix-domain-format)
517 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
524 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
525 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
527 2010-12-29 Karl Fogel <kfogel@red-bean.com>
529 * saveplace.el (save-place-alist-to-file): Save list sorted and
530 pretty-printed, so that it is mergeable by line-based text merging,
531 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
533 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
535 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
536 (allout-mode): Argument "toggle" => "force".
537 Refine the docstring.
538 Remove special provisions for reactivation, besides the 'force'
540 Consolidate layout provisions coce directly into the activation
541 condition branch, now that we've removed those provisions.
542 (allout-unload-function): Explicitly activate the mode before
543 deactivating, if it's initially deactivated.
544 (allout-set-buffer-multibyte): Properly prevent byte-compiler
545 warnings for version of function used only where
546 set-buffer-multibyte is unavailable.
548 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
550 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
551 are handled by the menu-bar entries. As before, don't use
552 :visibile to avoid changing the tool-bar.
554 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
556 * net/secrets.el (secrets-delete-alias): New defun.
558 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
560 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
561 methods, otherwise ~/.ssh/config would be ignored.
563 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
565 * emacs-lisp/rx.el: Make it a superset of sregex.
566 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
567 of args, add `regex' alias.
568 (rx-info): Add arg to distinguish head and standalone forms.
569 (rx-check, rx-form): Pass the corresponding arg.
571 (rx-repeat): Make it work for any number of args.
572 (rx-syntax): Make it accept syntax chars as is.
573 * obsolete/sregex.el: Move from emacs-lisp/.
574 * emacs-lisp/re-builder.el: Remove sregex support.
575 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
577 2010-12-25 Eli Zaretskii <eliz@gnu.org>
579 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
580 PRIMARY first, then the clipboard. (Bug#7699)
582 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
584 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
587 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
589 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
590 .emacs.elc (Bug#7530).
592 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
593 image spec (Bug#7480).
595 2010-12-21 Daiki Ueno <ueno@unixuser.org>
597 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
598 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
601 2010-12-20 Leo <sdl.web@gmail.com>
603 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
604 always be performed (Bug#7680).
606 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
608 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
609 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
612 * color.el: Move from gnus/.
614 * vc/diff.el (diff-better-file-name): Function deleted.
615 abbreviating file names causes problems with shell-quote-argument.
616 (diff-no-select): Just use expand-file-name.
618 * tool-bar.el (tool-bar--image-expression): New function.
619 (tool-bar-local-item, tool-bar--image-exp): Use it.
620 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
621 Use :enable instead of :visible to avoid changing the tool-bar
622 configuration unnecessarily.
624 * info.el (info-tool-bar-map): Add separators.
626 2010-12-17 Ken Brown <kbrown@cornell.edu>
628 * loadup.el: Use version numbers in Cygwin build.
630 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
632 * ido.el (ido-file-internal): Ask for confirmation before
633 overwriting an existing file (Bug#1238).
635 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
637 * tool-bar.el (tool-bar-setup): Add separators.
639 * menu-bar.el (featurep): Use menu-bar-separator.
641 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
643 Migrate allout encryption provisions from pgg to epg.
645 * allout.el (allout-toggle-current-subtree-encryption)
646 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
647 defaulting policy and other changes. Change fetch-pass to keymode-cue,
648 for simpler universal argument interpretation.
649 (allout-toggle-subtree-encryption): Adjust docstring to describe
650 changed encryption provisions. Change fetch-pass to keymode-cue, for
651 simpler universal argument interpretation. Remove provisions for
652 handling key type and identity - they'll all be within
653 allout-encrypt-string or epg/epg or even contained all the way in gpg.
654 (allout-encrypt-string): Include keymode-cue, for optionally prompting
655 for keypair recipients (universal argument > 1) and, in addition,
656 associating the specified recipients with the outline (universal
657 argument > 4) using a file local variable setting for
658 'epa-file-encrypt-to'.
659 Require epa, for recipients handling.
660 Change how regexp filtering elements are named.
661 Describe the problem with caching of incorrect symmetric-decryption
663 Use the epa-passphrase-callback-function, in case the user is using
665 Support saving of the selected keypair recipients when invoked with a
667 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
669 Establish epg-context with armoring and default epg-protocol.
670 Remove all passphrase cache, verification, and hinting code.
671 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
672 No longer used, delete.
673 (allout-mode): Adjust docstring to describe changed encryption
674 provisions. Describe the problem with caching of incorrect
675 symmetric-decryption keys.
676 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
677 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
678 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
679 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
682 2010-12-16 Daiki Ueno <ueno@unixuser.org>
684 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
685 key selection prompt; make 'silent as default (Bug#7487).
687 2010-12-16 Leo <sdl.web@gmail.com>
689 * eshell/eshell.el (eshell-directory-name):
690 Use locate-user-emacs-file (Bug#7578).
692 2010-12-15 Glenn Morris <rgm@gnu.org>
694 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
696 2010-12-15 Jari Aalto <jari.aalto@cante.net>
697 Scott Evans <gse@antisleep.com>
699 * rect.el (rectange--default-line-number-format)
700 (rectangle-number-line-callback): New functions.
701 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
703 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
705 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
706 Delete unused variables.
707 (move-to-column-force): Remove function obsolete since 21.2.
709 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
711 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
712 (tramp-handle-insert-file-contents): Do not set permanent-local
715 * net/tramp-cache.el (tramp-persistency-file-name):
716 Use `locate-user-emacs-file' if fboundp.
718 * net/tramp-sh.el (tramp-methods): Add "ksu".
719 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
722 2010-12-14 Glenn Morris <rgm@gnu.org>
724 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
725 (find-tag-marker-ring): Declare.
726 (js-find-symbol): Require etags.
728 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
730 (mail-alias-file): Don't autoload. Doc fix.
731 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
732 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
733 Mark as obsolete, and risky.
734 (mail-setup): Simplify.
736 * mail/mailalias.el (build-mail-aliases): Make it interactive.
737 * mail/sendmail.el (build-mail-aliases): Update autoload.
739 * dired.el (dired-trivial-filenames, dired-chown-program)
740 (dired-auto-revert-buffer): Remove autoload cookies.
741 * mail/sendmail.el (mail-recover-1): Require 'dired.
743 * dired.el (dired-subdir-switches, dired-chown-program)
744 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
745 Make into defcustoms.
746 (dired-chown-program): Simplify initialization.
748 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
750 2010-12-13 Romain Francoise <romain@orebokech.com>
752 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
754 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
756 * net/netrc.el (netrc-point-at-eol): Remove the unused
757 netrc-point-at-old and netrc-bound-and-true-p bindings.
758 (netrc-parse): Cache the netrc contents.
760 2010-12-13 Eli Zaretskii <eliz@gnu.org>
762 * subr.el (posn-col-row): Evaluate header-line-format in the
763 context of the POSITION window's buffer.
765 2010-12-13 Glenn Morris <rgm@gnu.org>
767 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
768 (with-silent-modifications): Doc fixes.
770 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
772 * net/tramp.el (tramp-action-password, tramp-process-actions):
773 Revert previous from. Use `save-restriction'.
775 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
777 * calendar/diary-lib.el (diary-list-sexp-entries):
778 Handle case of no newline at end of file. (Bug#7536)
780 2010-12-13 Glenn Morris <rgm@gnu.org>
782 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
784 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
786 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
787 (tramp-process-actions): Do not widen.
789 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
790 Protect buffer-modified value. (Bug#7557)
792 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
794 * log-edit.el (log-edit-changelog-entries):
795 Regexp quote filename. (Bug#7505)
797 2010-12-13 Tom Breton <tehom@panix.com>
799 * cus-edit.el (custom-save-all):
800 Bind print-length and print-level to nil. (Bug#7581)
802 2010-12-13 Glenn Morris <rgm@gnu.org>
804 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
805 Run hooks to update menu contents. (Bug#7586)
807 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
808 file names, for the sake of MS Windows. (Bug#7588)
810 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
812 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
813 empty lines without a leading space.
815 2010-12-13 Leo <sdl.web@gmail.com>
817 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
818 while mapping over marks (Bug#6810).
820 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
822 * image-dired.el (image-dired-db-file)
823 (image-dired-temp-image-file, image-dired-gallery-dir)
824 (image-dired-temp-rotate-image-file): Set default values relative
825 to image-dired-dir (Bug#7518).
827 2010-12-13 Lawrence Mitchell <wence@gmx.li>
829 * format.el (format-decode-run-method): Pass args FROM and TO, not
830 point-min and point-max, to shell-command-on-region (Bug#7488).
832 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
834 * frame.el (blink-cursor-mode): Make default t for ns.
836 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
838 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
840 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
842 * comint.el (comint-dynamic-list-input-ring)
843 (comint-dynamic-complete-filename)
844 (comint-replace-by-expanded-filename)
845 (comint-dynamic-simple-complete)
846 (comint-dynamic-list-filename-completions)
847 (comint-dynamic-list-completions): Doc fix (Bug#7499).
849 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
852 2010-12-13 Martin Rudalics <rudalics@gmx.at>
854 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
857 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
859 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
862 2010-12-13 Eli Zaretskii <eliz@gnu.org>
864 * files.el (file-relative-name): Handle UNC file names on
865 DOS/Windows. (Bug#4674)
867 2010-12-13 Daiki Ueno <ueno@unixuser.org>
869 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
870 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
871 (epg-context-set-passphrase-callback): Mention that the callback
872 is not called when used with GnuPG 2.x.
874 2010-12-13 Glenn Morris <rgm@gnu.org>
876 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
877 Ensure ps-footer-font-size-internal is initialized.
878 Call ps-get-page-dimensions before trying to use ps-font-for-text.
880 2010-12-13 Kenichi Handa <handa@m17n.org>
882 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
883 within condition-case.
884 (rmail-show-mime): Don't use condition-case.
885 (rmail-search-mime-message): New function.
886 (rmail-search-mime-message-function): Set to
887 rmail-search-mime-message.
889 2010-12-13 Leo <sdl.web@gmail.com>
891 * ido.el (ido-common-initialization): New function. (bug#3274)
893 (ido-completing-read): Call it.
895 2010-12-12 Karl Fogel <kfogel@red-bean.com>
897 * bookmark.el (bookmark-name-from-full-record): Rename back to
898 this original name from `bookmark-name-from-record' reverting part
899 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
900 As Drew Adams pointed out, there was no reason to cause churn for
903 2010-12-12 Alan Mackenzie <acm@muc.de>
905 * progmodes/cc-engine.el (c-forward-type): Before scanning a
906 template arglist, check that the current language supports this.
908 2010-12-11 Glenn Morris <rgm@gnu.org>
910 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
911 state of the file matches. (Bug#7544)
912 (vc-bzr-register, vc-bzr-checkin)
913 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
914 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
916 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
918 2010-12-11 Karel Klíč <kklic@redhat.com>
920 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
922 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
924 Derive from prog-mode, use derived-mode-p, and fix up various
925 minor style issues in lisp/progmodes.
927 * progmodes/vhdl-mode.el (vhdl-mode):
928 * progmodes/verilog-mode.el (verilog-mode):
929 * progmodes/vera-mode.el (vera-mode):
930 * progmodes/sql.el (sql-mode):
931 * progmodes/scheme.el (scheme-mode):
932 * progmodes/perl-mode.el (perl-mode):
933 * progmodes/octave-inf.el (inferior-octave-mode):
934 * progmodes/autoconf.el (autoconf-mode):
935 * progmodes/m4-mode.el (m4-mode):
936 * progmodes/inf-lisp.el (inferior-lisp-mode):
937 * progmodes/idlwave.el (idlwave-mode):
938 * progmodes/icon.el (icon-mode):
939 * progmodes/idlw-help.el (idlwave-help-mode):
940 * progmodes/dcl-mode.el (dcl-mode):
941 * progmodes/idlw-shell.el (idlwave-shell-mode):
942 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
943 (ebrowse-member-mode, ebrowse-electric-position-mode):
944 Use define-derived-mode.
946 * progmodes/xscheme.el (exit-scheme-interaction-mode)
947 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
948 (xscheme-debugger-mode-p, xscheme-send-string-1):
949 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
950 (tcl-load-file, tcl-restart-with-file):
951 * progmodes/ps-mode.el (ps-run-running):
952 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
953 * progmodes/js.el (js--get-all-known-symbols):
954 * progmodes/inf-lisp.el (inferior-lisp-proc):
955 * progmodes/idlwave.el (idlwave-beginning-of-statement)
956 (idlwave-template, idlwave-update-buffer-routine-info)
957 (idlwave-update-current-buffer-info)
958 (idlwave-get-routine-info-from-buffers, idlwave-choose)
959 (idlwave-scan-class-info, idlwave-fix-keywords)
960 (idlwave-list-buffer-load-path-shadows):
961 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
962 (idlwave-toolbar-remove):
963 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
964 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
965 (idlwave-shell-menu-def):
966 * progmodes/idlw-complete-structtag.el
967 (idlwave-prepare-structure-tag-completion):
968 * progmodes/gud.el (gud-set-buffer):
969 * progmodes/f90.el (f90-backslash-not-special):
970 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
972 * progmodes/xscheme.el (xscheme-start)
973 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
974 * progmodes/which-func.el (which-function):
975 * progmodes/vhdl-mode.el (vhdl-set-style):
976 * progmodes/verilog-mode.el (verilog-set-compile-command)
977 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
978 (verilog-set-define, verilog-auto-reeval-locals):
979 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
980 * progmodes/simula.el (simula-mode):
981 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
982 * progmodes/python.el (python-check, python-mode):
983 * progmodes/prolog.el (prolog-mode-variables):
984 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
985 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
986 * progmodes/delphi.el (delphi-mode):
987 * progmodes/cc-styles.el (c-setup-paragraph-variables):
988 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
989 (c-font-lock-init): Move make-local-variable to their setq.
991 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
992 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
994 * progmodes/sh-script.el (sh-require-final-newline): Remove.
995 (sh-set-shell): Don't set require-final-newline since it's already done
997 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
998 since we never set it.
999 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1000 Use read-string and standard prompt.
1001 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1002 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1003 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1004 (meta-common-mode-map): Rename from meta-mode-map.
1005 Remove C-m binding, which is a user preference, not mode specific.
1006 (meta-common-mode): New major mode; replace meta-common-initialization.
1007 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1008 around with font-lock.
1009 * progmodes/etags.el (select-tags-table-mode):
1010 Derive from special-mode.
1011 * progmodes/octave-mod.el (octave-mode):
1012 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1013 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1014 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1015 Let define-derived-mode do its job.
1016 * progmodes/cpp.el (cpp-edit-mode-map):
1017 Move initialization into declaration.
1018 (cpp-edit-mode): Use define-derived-mode.
1019 (cpp-edit-load): Use derived-mode-p.
1020 * progmodes/mixal-mode.el (mixal-mode):
1021 * progmodes/f90.el (f90-mode):
1022 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1023 require-final-newline since prog-mode does it already.
1024 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1025 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1026 * progmodes/antlr-mode.el: Require cc-mode upfront.
1027 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1029 (antlr-directory-dependencies, antlr-show-makefile-rules):
1031 (antlr-language-option): Don't assume point-min==1.
1032 (antlr-mode): Use define-derived-mode.
1033 * progmodes/ada-mode.el: Use derived-mode-p.
1034 (ada-mode): Use define-derived-mode.
1035 Use hack-local-variables-hook.
1037 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1039 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1040 (texinfo-mode): Don't disable adaptive-fill-mode.
1041 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1042 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1043 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1044 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1045 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1046 (texinfo-insert-@quotation, texinfo-insert-@samp)
1047 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1048 (texinfo-insert-@uref): Use define-skeleton.
1049 (texinfo-insert-@-with-arg): Delete.
1051 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1053 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1054 nil, do quote archive member names. (Bug#6144)
1056 2010-12-10 Glenn Morris <rgm@gnu.org>
1058 * files.el (diff-no-select): Declare.
1060 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1061 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1063 * comint.el (comint-input-ring-file-name): Doc fix.
1065 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1067 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1069 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1070 Use them instead of `nil' and `>', respectively.
1071 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1073 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1074 and menu-bar-positive-p instead of `nil' and `>', respectively.
1077 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1079 * whitespace.el (whitespace-newline-mode): Code fix.
1081 2010-12-09 Glenn Morris <rgm@gnu.org>
1083 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1084 Rename functions without commas, update callers.
1086 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1088 * whitespace.el (whitespace-cleanup-region):
1089 Clean up spaces before tabs. (Bug#7582)
1091 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1093 * bookmark.el: Adjust parameter names and doc strings to resolve
1094 confusion over whether "bookmark" meant a bookmark name or a
1095 bookmark record. Along the way, shorten one function's name for
1096 similar reasons. (Issue #7548)
1097 (bookmark-name-from-record): New name for
1098 `bookmark-name-from-full-record'. All callers changed.
1099 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1100 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1101 (bookmark-get-annotation, bookmark-set-annotation)
1102 (bookmark-get-filename, bookmark-set-filename)
1103 (bookmark-get-position, bookmark-set-position)
1104 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1105 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1106 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1107 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1108 Rename `bookmark' parameter to `bookmark-name-or-record', to
1109 clearly show its role, and shorten or adjust doc strings accordingly.
1110 (bookmark-set-name): Same, and pass the parameter directly to
1111 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1112 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1113 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1114 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1115 and in some cases shorten doc string accordingly.
1116 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1117 and `new-name', and adjust an internal variable to avoid confusion.
1118 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1119 parameter in doc string.
1121 2010-12-08 Glenn Morris <rgm@gnu.org>
1123 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1124 from gdb's history file. (Bug#7575)
1126 * mail/emacsbug.el (report-emacs-bug):
1127 Try to handle some other mail clients.
1129 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1132 Use string-prefix-p.
1133 (file-name-version-regexp): New var.
1134 (file-name-sans-versions):
1135 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1136 (jka-compr-get-compression-info): Use dolist.
1137 (jka-compr-compression-info-list): Don't bother specifying
1138 version/backup regexps.
1140 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1142 * simple.el (just-one-space): Make argument n default to 1 if
1145 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * electric.el (electric-indent-post-self-insert-function):
1148 Delete trailing newlines even if we don't reindent.
1150 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * minibuffer.el (completion-at-point): Remove the `arg'.
1153 * bindings.el (complete-symbol): Move back from minibuffer.el.
1155 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1157 * simple.el (just-one-space): Delete newlines for negative arg.
1159 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1161 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1162 (ansi-color-filter-apply): Simplify.
1163 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1165 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1167 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1169 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1171 * dired.el (dired-use-ls-dired): Set default to a special
1172 "unspecified" value.
1173 (dired-insert-directory): When called the first time, check
1174 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1176 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1178 * replace.el: Add "collect" feature to occur.
1179 (occur-collect-regexp-history): New var.
1180 (occur-read-primary-args): Return a replace string for nlines,
1182 (occur): Extend the meaning of nlines.
1184 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1187 (which-func-update-1): Distinguish symbols from strings.
1188 (which-function): Stay within 80 columns.
1190 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1192 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1194 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1196 (comment-style): Use comment-styles's docs to describe values.
1198 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1200 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1201 and ns-show-prefs (Bug#7535).
1203 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1204 bindings (Bug#7535).
1206 2010-12-03 Glenn Morris <rgm@gnu.org>
1208 * nxml/nxml-mode.el: Require rng-nxml.
1209 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1210 Remove declarations.
1212 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1213 * nxml/rng-nxml.el, nxml/rng-valid.el:
1214 Remove leading `*' from defcustom docs.
1216 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1217 (normal-top-level-add-to-load-path, tty-handle-args):
1218 Convert comments to basic doc-strings.
1220 * net/browse-url.el (browse-url-url-at-point)
1221 (browse-url-default-browser): Remove autoload cookies.
1223 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1224 Remove more undefined cl functions.
1226 * vc/diff.el (diff-sentinel): Make new arguments optional.
1227 * ibuf-ext.el (diff-sentinel): Update declaration.
1229 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1231 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1232 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1233 (epg-context-set-passphrase-callback): Mention that the callback
1234 is not called when used with GnuPG 2.x.
1236 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1238 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1239 (tramp-file-name-port): Check also for `tramp-default-port'.
1240 (tramp-get-connection-name): New defun.
1241 (tramp-get-connection-process): Use it.
1242 (tramp-debug-message): Extend function exclude list.
1243 (tramp-drop-volume-letter): Fix doc string.
1245 * net/tramp-cmds.el: Remove solved todo item.
1249 * net/tramp-gvfs.el:
1251 * net/tramp-imap.el:
1252 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1253 and `tramp-default-user-alist', respectively.
1255 * net/tramp-gw.el (tramp-gw-open-connection):
1256 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1258 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1259 `tramp-file-name-port'.
1261 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1262 and "psftp". Exchange "%k" marker with options.
1263 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1264 Compute size of link target.
1265 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1266 `tramp-current-*' up due to gateway methods. Optimze computing of
1267 copy arguments. Use `tramp-get-connection-name' and
1268 `tramp-get-connection-buffer'. Improve debug messages.
1269 (tramp-compute-multi-hops): Remove port determination.
1270 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1272 * net/trampver.el: Update release number.
1274 2010-12-02 Glenn Morris <rgm@gnu.org>
1276 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1277 Avoid infinite loop over windows. (Bug#7492)
1279 * progmodes/flymake.el (flymake-check-file-limit):
1280 Allow nil to mean "no limit".
1281 (flymake-check-patch-master-file-buffer): Update for above change.
1282 Allow a .tex file-name extension to be optional.
1283 (flymake-master-tex-init): Also match \include statements.
1285 2010-11-30 Sam Steingold <sds@gnu.org>
1287 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1288 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1289 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1290 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1291 define-derived-mode').
1292 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1293 users who want to call `nxml-parent-document-set'.
1295 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1297 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1298 stand-alone lines, since that is handled by log-edit-match-to-eoh
1301 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1303 * dired.el (dired-get-filename): Replace backslashes with slashes
1304 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1305 * locate.el (locate-default-make-command-line): Don't consider
1306 drive letter and root directory part of
1307 `directory-listing-before-filename-regexp'. (Bug#7308)
1308 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1310 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1313 of :smie-open/close-alist.
1314 (smie-next-sexp): Make it accept a "start token" as argument.
1315 (smie-indent-keyword): Be careful not to misidentify tokens that span
1316 more than one line, as empty lines. Add argument `token'.
1318 2010-11-27 Kenichi Handa <handa@m17n.org>
1320 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1321 multipart subtypes, insert all as usual.
1323 * mail/rmail.el: Require rfc2047.
1325 2010-11-27 Kenichi Handa <handa@m17n.org>
1327 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1328 (rmail-mime-entity-disposition)
1329 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1330 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1331 (rmail-mime-save): Handle the case that the button's `data' is a
1333 (rmail-mime-insert-text): New function.
1334 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1335 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1336 (rmail-mime-insert-bulk): New function mostly copied from the old
1337 rmail-mime-bulk-handler.
1338 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1339 (rmail-mime-process-multipart): New function mostly copied from
1340 the old rmail-mime-multipart-handler.
1341 (rmail-mime-show): Just call rmail-mime-process.
1342 (rmail-mime-process): New function mostly copied from the old
1344 (rmail-mime-insert-multipart, rmail-mime-parse)
1345 (rmail-mime-insert, rmail-show-mime)
1346 (rmail-insert-mime-forwarded-message)
1347 (rmail-insert-mime-resent-message): New functions.
1348 (rmail-insert-mime-forwarded-message-function): Set to
1349 rmail-insert-mime-forwarded-message.
1350 (rmail-insert-mime-resent-message-function): Set to
1351 rmail-insert-mime-resent-message.
1353 * mail/rmailsum.el: Require rfc2047.
1354 (rmail-header-summary): Handle multiline Subject: field.
1355 (rmail-summary-line-decoder): Change the default to
1356 rfc2047-decode-string.
1358 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1359 (rmail-mime-feature): Change the default to `rmailmm'.
1360 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1361 (rmail-display-labels): Likewise.
1362 (rmail-show-message-1): Check rmail-enable-mime, and use
1363 rmail-show-mime-function for a MIME message. Decode the headers
1364 according to RFC2047.
1366 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1368 * progmodes/which-func.el (which-func-imenu-joiner-function):
1369 Return a string, as expected.
1370 (which-function-mode): Make sure we stop any previous timer before
1373 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1375 * net/tramp.el (tramp-default-method-alist)
1376 (tramp-default-user-alist, tramp-default-proxies-alist):
1377 Adapt custom options type. (Bug#7445)
1379 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1381 * progmodes/python.el: Add Ipython support (Bug#5390).
1382 (python-shell-prompt-alist)
1383 (python-shell-continuation-prompt-alist): New options.
1384 (python--set-prompt-regexp): New function.
1385 (inferior-python-mode, run-python, python-shell):
1386 Require ansi-color. Use python--set-prompt-regexp to set the comint
1387 prompt based on the Python interpreter.
1388 (python--prompt-regexp): New var.
1389 (python-check-comint-prompt)
1390 (python-comint-output-filter-function): Use it.
1391 (run-python): Use a pipe (Bug#5694).
1393 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1395 * progmodes/python.el (run-python): Doc fix.
1396 (python-keep-current-directory-in-path): New var (Bug#7454).
1398 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1400 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1401 Prompt user before actually printing.
1403 2010-11-27 Glenn Morris <rgm@gnu.org>
1405 * startup.el (package-enable-at-startup, package-initialize):
1406 Remove unnecessary declarations.
1408 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1410 * international/characters.el (glyphless-char-display-control):
1411 Exclude newline and TAB from the c0-control group.
1413 2010-11-27 Glenn Morris <rgm@gnu.org>
1415 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1416 (expand-mail-aliases): Remove unnecessary autoload.
1418 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1420 * shell.el (shell-dir-cookie-re): Move definition before use.
1422 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1423 Replace undefined CL functions.
1425 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1427 * simple.el (prog-mode): Set bidi-paragraph-direction to
1430 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1432 2010-11-26 Glenn Morris <rgm@gnu.org>
1434 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1435 diary-outlook-formats can be sensitive to calendar-date-style.
1436 (diary-outlook-formats): Simplify the default setting.
1437 (diary-from-outlook-internal): Pass subject and body as arguments.
1438 Use dolist rather than dotimes. Don't save the diary buffer.
1439 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1440 Pass subject and body as explicit arguments to the -internal function.
1442 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1444 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1445 parsing them. This makes mailto:...?subject=foo\nbar work.
1447 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * vc/diff.el (diff): Fix last change.
1451 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1454 (pcase--dontcare-upats): New var.
1455 (pcase-let, pcase-let*): Generate better code.
1456 Accept the same bodies as `let'.
1457 (pcase-dolist): New macro.
1458 (pcase--trivial-upat-p): New helper function.
1459 (pcase--expand): Strip leading "(let nil" if any.
1461 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1463 * mail/mailclient.el (browse-url): Require.
1464 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1465 use the external browser function to send the mail (bug#7469).
1467 * net/browse-url.el (browse-url-browser-function): Revert the
1468 default back to the previous value, since the new value broke
1470 (browse-url-mailto-function): New variable for mailto: URLs.
1471 (browse-url): Use the new variable for mailto: URLs.
1473 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1475 * eshell/esh-cmd.el (eshell-parse-command):
1476 * eshell/esh-arg.el (eshell-parse-arguments):
1477 * eshell/em-script.el (eshell-source-file):
1478 Use with-silent-modifications.
1480 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1482 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1483 for a merge location.
1485 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1486 (vc-bzr-merge-branch): Always prompt.
1487 (vc-bzr-async-command): Use the full branch filename.
1489 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * shell.el (shell): Use current-buffer by default if it's already
1492 a shell mode buffer and its process is dead.
1493 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1495 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1497 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1498 Mention that the keywords should be comma separated.
1500 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1502 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1503 Accept optional prefix arg meaning to prompt for a command.
1504 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1505 prefix arg meaning to prompt for a command.
1506 (vc-pull): Alias for vc-update.
1508 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1509 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1510 (vc-bzr-merge-branch): New functions, implementing merge-branch
1511 and pull operations.
1513 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * Makefile.in: Fix up last merge.
1517 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1518 (diff-sentinel): Get them as arguments instead.
1519 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1520 (diff-file-local-copy, diff-better-file-name): New funs.
1521 (diff-no-select): Rename from diff-into-buffer.
1522 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1523 Prefer closures to buffer-local variables.
1524 (diff): Adjust accordingly.
1525 (diff-buffer-with-file): Move from files.el.
1526 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1527 (diff-buffer-internal): Remove.
1528 (diff-buffer-buffer): Remove.
1529 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1530 the buffer name used, and so as not to mess up windows and frames.
1532 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1534 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1535 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1536 (diff-buffer-with-file): Use it.
1537 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1540 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1542 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1543 \ref's or \pageref's value as default instead of initial input.
1545 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1547 * files.el (backup-by-copying-when-mismatch): The default value is
1550 * startup.el (normal-top-level):
1551 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1552 `backup-by-copying-when-mismatch'.
1554 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1556 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1558 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1560 * progmodes/python.el (python-font-lock-keywords):
1561 Highlight top-level augmented assignments (Bug#6445).
1563 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1565 * term/ns-win.el (ns-right-control-modifier)
1566 (ns-right-command-modifier): Defvar them.
1568 * cus-start.el (all): Add ns-right-control-modifier and
1569 ns-right-command-modifier (Bug#7458).
1571 2010-11-20 Glenn Morris <rgm@gnu.org>
1573 * emacs-lisp/authors.el (authors-ignored-files)
1574 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1576 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1578 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1579 (report-emacs-bug-parse-query-results)
1580 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1581 keywords used for querying the bug database to show them in the
1582 existing bugs buffer.
1584 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1586 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1588 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1590 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1592 * international/characters.el (glyphless-char-display-control):
1593 Make it a defcustom, with update-glyphless-char-display as its
1595 (top level): Don't call update-glyphless-char-display.
1597 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1599 Sync with Tramp 2.2.0.
1601 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1602 `file-remote-p' (due to compatibility).
1604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1605 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1607 * net/trampver.el: Update release number.
1609 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1611 * faces.el (glyphless-char): Define value for `pc'.
1613 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1615 Implemented a bug querying mechanism.
1616 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1617 (report-emacs-bug-create-existing-bugs-buffer)
1618 (report-emacs-bug-parse-query-results)
1619 (report-emacs-bug-query-existing-bugs): New functions.
1621 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1623 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1624 a \ref{} or \pageref{} macro, then use its value as initial input.
1626 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1628 * calc/calc-units.el (math-build-units-table-buffer):
1629 calc/README: Mention that the TeX specific units won't use the
1630 `tex' prefix in TeX mode.
1631 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1632 prefix for units in TeX mode.
1634 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1636 * simple.el (kill-new, kill-append, kill-region):
1637 * comint.el (comint-kill-region): Make the yank-handler argument
1640 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1643 that are both openers (resp. closers) and something else.
1644 (smie-grammar): Loosen definition of valid values.
1645 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1646 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1647 (smie-indent-after-keyword): Adjust users.
1648 (smie-indent-keyword): Don't indent empty lines.
1650 * vc-hg.el (vc-hg-program): New var.
1651 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1652 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1654 2010-11-18 Glenn Morris <rgm@gnu.org>
1656 * emacs-lisp/autoload.el (autoload-find-destination): The function
1657 coding-system-eol-type may return non-numeric values. (Bug#7414)
1659 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1661 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1663 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1665 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1667 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1669 * textmodes/picture.el (picture-mouse-set-point): Don't use
1670 posn-col-row; explicitly compute the motion based on the posn at
1671 the window-start (Bug#7390).
1673 2010-11-18 Glenn Morris <rgm@gnu.org>
1675 * novice.el (disabled-command-function):
1676 Fix 2009-11-15 change. (Bug#7384)
1678 2010-11-18 Glenn Morris <rgm@gnu.org>
1680 * calendar/calendar.el (diary-iso-date-forms): Make elements
1681 mutually exclusive. (Bug#7377)
1683 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1686 when filling the remaining "unconstrained" values.
1688 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1693 * files.el (safe-local-variable-p): Gracefully handle errors.
1695 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1696 Use smie-indent-virtual when indenting relative to an opener.
1697 (smie-rule-separator): Use smie-rule-parent.
1698 (smie-indent-keyword): Consult rules, even for openers at bol.
1699 (smie-indent-comment-close): Try to align closer's content.
1701 2010-11-18 Glenn Morris <rgm@gnu.org>
1703 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1705 2010-11-18 Glenn Morris <rgm@gnu.org>
1707 * printing.el (pr-menu-bind): Doc fix.
1709 * speedbar.el (speedbar-toggle-images): Doc fix.
1711 * progmodes/python.el (python-shell): Doc fix.
1713 * wid-edit.el (widget-field-use-before-change)
1714 (widget-use-overlay-change): Doc fixes.
1716 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1718 Minor cleanup to improve style.
1719 * textmodes/rst.el (rst-update-section): Use point-marker.
1720 (rst-get-decoration): Eliminate unneeded assignment.
1721 (rst-promote-region, rst-straighten-decorations)
1722 (rst-section-tree, rst-adjust): Use point-marker.
1723 (rst-toc-mode-mouse-goto): Avoid setq.
1724 (rst-shift-region-guts, rst-shift-region-left)
1725 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1726 (rst-convert-bullets-to-enumeration): Use copy-marker.
1728 * minibuffer.el (completion-fail-discreetly): New var.
1729 (completion--do-completion): Use it.
1731 * electric.el (electric-pair-pairs): New var.
1732 (electric-pair-post-self-insert-function): Use it.
1733 (electric-layout-post-self-insert-function): Don't insert a before
1734 newline unless it's actually needed.
1736 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * progmodes/python.el (run-python): Explain why we remove the current
1739 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1741 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1743 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1746 (octave-mode-map): Don't bind ;, SPC, and LF.
1747 (octave-auto-indent, octave-auto-newline): Remove.
1748 (electric-layout-rules): Declare.
1749 (octave-mode): Set electric-layout-rules.
1750 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1751 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1752 (octave-electric-space): Remove.
1754 * electric.el (electric-layout-mode): New minor mode.
1755 (electric--after-char-pos): New function.
1756 (electric-indent-post-self-insert-function): Use it.
1757 (electric-layout-rules): New var.
1758 (electric-layout-post-self-insert-function): New function.
1759 (electric-indent-mode): Make them interact better.
1761 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1763 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1764 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1765 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1767 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1769 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1770 Make sure to check inside the word (Bug#6761).
1772 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1774 * startup.el (command-line): If the cursorColor resource is set,
1775 change the cursor face-spec (Bug#7392).
1777 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1779 The main features of the following allout.el changes are:
1780 - implement user customization for the allout key bindings
1781 - add a customization control by which the user can inhibit use of
1782 a trailing Ctrl-H, so by default it's reserved for use with
1783 describe-prefix-bindings
1784 - adapt to new version of called-interactively-p, while
1785 maintaining backwards compatibility with old version
1786 - fix hotspot navigation so i works properly with meta-modified keys
1788 * allout.el (allout-keybindings, allout-bind-keys)
1789 (allout-keybindings-binding, allout-prefixed-keybindings)
1790 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1791 (allout-keybindings-list, allout-mode-map-adjustments)
1792 (allout-setup-mode-map): Establish allout-mode keymaps as user
1793 customizable settings, and also establish a customizable setting which
1794 regulates whether or not a trailing control-h is reserved for use with
1795 describe-prefix-bindings - and inhibit it by default, so that control-h
1796 *is* reserved for describe-prefix-bindings unless the user changes it.
1798 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1799 and accurately between modified and unmodified events, and handle
1800 modified events more comprehensively.
1802 * allout.el (allout-substring-no-properties):
1803 Alias to use or provide version of `substring-no-properties'.
1804 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1806 * allout.el (allout-next-single-char-property-change):
1807 Alias to use or provide version of `next-single-char-property-change'.
1808 (allout-annotate-hidden, allout-hide-by-annotation):
1809 Use `allout-next-single-char-property-change'.
1811 * allout.el (allout-select-safe-coding-system):
1812 Alias to use or provide version of `select-safe-coding-system'.
1813 (allout-toggle-subtree-encryption):
1814 Use `allout-select-safe-coding-system'.
1816 * allout.el (allout-set-buffer-multibyte):
1817 Alias to use or provide version of `set-buffer-multibyte'.
1818 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1820 * allout.el (allout-called-interactively-p): Macro for using the
1821 different versions of called-interactively-p identically, depending on
1822 the subroutine's argument signature.
1823 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1824 Use `(interactive "p")' instead of `(called-interactively-p)'.
1826 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1827 (allout-previous-visible-heading, allout-forward-current-level)
1828 (allout-backward-current-level, allout-show-children):
1829 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1831 * allout.el (allout-before-change-handler):
1832 Exempt edits to the (overlaid) character after the allout outline
1833 bullet from edit confirmation prompt.
1835 * allout.el (allout-add-resumptions):
1836 Ensure that it respects correct buffer for keybindings.
1838 * allout.el (allout-beginning-of-line):
1839 Use `allout-previous-single-char-property-change' alias for the sake of
1840 diverse compatibility.
1842 * allout.el (allout-end-of-line):
1843 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1845 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1847 * frame.el (frame-notice-user-settings): Don't clobber other
1848 user-set parameters when calling face-set-after-frame-default in
1849 response to background-color parameter (Bug#7373).
1851 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1853 * international/characters.el (glyphless-char-display-control):
1854 Rename from glyphless-char-control; all users changed. Doc fix.
1855 Signal an error if display method is not one of the recognized
1858 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1860 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1861 (tramp-compat-line-end-position): Remove them.
1863 * net/tramp.el (tramp-parse-rhosts-group)
1864 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1865 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1866 (tramp-parse-netrc-group, tramp-parse-putty-group)
1867 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1868 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1869 (tramp-sh-handle-file-selinux-context)
1870 (tramp-sh-handle-file-name-all-completions)
1871 (tramp-sh-handle-insert-directory)
1872 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1873 (tramp-wait-for-output, tramp-send-command-and-read)
1874 * net/tramp-smb.el (tramp-smb-read-file-entry)
1875 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1877 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1879 (tramp-remote-coding-commands): Add an alternative using "base64
1880 -d -i". This is needed for older base64 versions from GNU
1881 coreutils. Reported by Klaus Reichl
1882 <Klaus.Reichl@thalesgroup.com>.
1884 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1886 * simple.el (count-words-region): New function.
1888 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * shell.el (shell-dir-cookie-re): New custom variable.
1891 (shell-dir-cookie-watcher): New function.
1893 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1894 and compilation-mode (bug#7350).
1896 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1897 highlight when one of them is empty.
1899 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1901 (skeleton-newline): New function.
1902 (skeleton-internal-1): Use it.
1904 * simple.el (open-line): `newline' may strip trailing space.
1906 2010-11-12 Kevin Ryde <user42@zip.com.au>
1908 * international/mule-cmds.el (princ-list): Use mapc.
1910 2010-11-12 Glenn Morris <rgm@gnu.org>
1912 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1913 Use it to replace all instances of "*Compile-Log*"
1915 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1920 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * progmodes/modula2.el: Use SMIE and skeleton.
1923 (m2-mode-syntax-table): (*..*) can be nested.
1924 Add //...\n. Fix paren syntax.
1925 (m2-mode-map): Remove LF and TAB bindings.
1926 (m2-indent): Add safety property.
1927 (m2-smie-grammar): New var.
1928 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1929 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1930 (m2-mode): Use define-derived-mode.
1931 (m2-newline, m2-tab): Remove.
1932 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1933 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1934 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1935 (m2-import): Use define-skeleton.
1937 2010-11-11 Glenn Morris <rgm@gnu.org>
1939 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1941 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1942 (ls-lisp-verbosity): Add custom :set-after property.
1943 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1944 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1945 (ls-lisp-insert-directory): Update caller.
1946 (ls-lisp-set-options): New function.
1947 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1950 * play/landmark.el (lm-prompt-for-move):
1951 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1953 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1955 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1956 (idlwave-study-twins): Prefix dynamic local variable `name'.
1957 (idlwave-routine-twin-compare): Update for above change.
1959 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1960 Prefix dynamic local variables `name', `kwd', and `link'.
1961 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1962 * progmodes/idlw-complete-structtag.el
1963 (idlwave-complete-structure-tag-help):
1964 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1965 (idlwave-complete-sysvar-tag-help)
1966 (idlwave-complete-class-structure-tag-help):
1967 Update for above name changes.
1969 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1971 * net/browse-url.el (browse-url-browser-function): Change the
1972 default to use `browse-url-mail' on mailto: URLs.
1974 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1976 * emacs-lisp/package.el (package-read-all-archive-contents):
1977 Reset package-archive-contents to nil before re-reading.
1979 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1981 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1982 already found as misspellings by (flyspell-large-region), just
1983 do highlighting (bug#7322).
1985 2010-11-10 Glenn Morris <rgm@gnu.org>
1987 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1989 * emulation/edt.el (edt-with-position): New macro.
1990 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1991 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1992 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1994 * emulation/tpu-extras.el (tpu-with-position): New macro.
1995 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1997 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1999 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2000 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2001 (texinfo-master-menu, texinfo-insert-node-lines)
2002 (texinfo-multiple-files-update):
2003 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2004 Use line-beginning-position.
2006 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2007 No recent Emacs supports system-type `emx'.
2009 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2010 (ada-command-separator, ada-default-prj-properties)
2011 (ada-find-any-references): Update for above name change.
2013 * dirtrack.el (dirtrack-directory-function)
2014 (dirtrack-canonicalize-function):
2015 * filecache.el (file-cache-completion-ignore-case)
2016 (file-cache-case-fold-search, file-cache-ignore-case):
2017 * term.el (serial-port-is-file-p): Cosmetic change.
2019 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2020 Remove non-existent `windows-95' system-type.
2021 * dired.el (dired-chown-program): Remove non-existent `linux'
2024 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2025 (ping-program-options): Remove non-existent `linux' system-type.
2027 * startup.el (package-initialize): Update declaration.
2029 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2030 (ls-lisp-handle-switches): Use time-less-p.
2031 (ls-lisp-format-time): Use float-time.
2033 * textmodes/remember.el (remember-time-to-seconds): Remove.
2034 (remember-store-in-mailbox): Use float-time.
2036 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2038 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2039 never a real function.
2040 (with-no-warnings): Remove compat stub, now unused.
2041 (time-less-p): Doc fix.
2042 (time-to-number-of-days): Simplify.
2044 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2046 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2047 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2048 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2049 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2050 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2052 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2053 (eshell-shuffle-files, eshell-shorthand-tar-command)
2054 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2055 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2056 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2057 Prefix dynamic local variable `matches'.
2059 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2060 Prefix dynamic local variable `skeleton'.
2062 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2064 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2065 in mail buffer; make yank-action always a command that yanks original
2068 2010-11-09 Glenn Morris <rgm@gnu.org>
2070 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2072 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2075 completion field (bug#7211).
2077 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2078 Fix handling of backslash escapes.
2079 (python-quote-syntax): Adjust accordingly.
2081 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2083 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2084 (vc-mtn-workfile-branch): Adjust to new output format.
2086 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * international/mule-cmds.el (princ-list): Mark as obsolete.
2090 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * emacs-lisp/smie.el: New package.
2094 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2096 * files.el (backup-by-copying-when-mismatch):
2097 Set `permanent-local' property.
2099 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2100 `permanent-local' property for `backup-by-copying-when-mismatch'.
2102 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2104 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2106 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2108 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2109 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2110 AUTOINOUT for SV style multidimensional arrays, bug294.
2111 Reported by Eric Mastromarchi.
2112 (verilog-preprocess): Use with-current-buffer and
2113 font-lock-fontify-buffer to cleanup style issues.
2115 2010-11-09 Glenn Morris <rgm@gnu.org>
2117 * locate.el (locate, locate-mode): Doc fixes.
2119 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2121 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2122 user for confirmation.
2123 (server-force-stop): Use it.
2124 (server-start): Use server-force-stop for kill-emacs-hook, to
2125 avoid user interaction while killing Emacs.
2127 2010-11-09 Glenn Morris <rgm@gnu.org>
2129 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2130 (meta-indent-line): Simplify.
2132 * vc/emerge.el (emerge-line-number-in-buf):
2133 * textmodes/ispell.el (ispell-region):
2134 * textmodes/fill.el (current-fill-column):
2135 * progmodes/xscheme.el (xscheme-send-current-line):
2136 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2137 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2138 * progmodes/sh-script.el (sh-handle-prev-do):
2139 * progmodes/meta-mode.el (meta-indent-line):
2140 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2142 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2143 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2144 * progmodes/fortran.el (fortran-looking-at-if-then):
2145 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2146 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2147 (cperl-find-pods-heres):
2148 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2149 * net/quickurl.el (quickurl-list-insert):
2150 * net/ldap.el (ldap-search-internal):
2151 * net/eudc.el (eudc-expand-inline):
2152 * mail/sendmail.el (sendmail-send-it):
2153 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2154 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2155 (viper-brac-function):
2156 * calc/calc-yank.el (calc-do-grab-region):
2157 * calc/calc-keypd.el (calc-keypad-press):
2158 * term.el (term-move-columns, term-insert-spaces):
2159 * speedbar.el (speedbar-highlight-one-tag-line):
2160 * simple.el (current-word):
2161 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2162 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2164 * hippie-exp.el (he-line-beg):
2165 * epa.el (epa--marked-keys):
2166 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2167 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2168 (dired-relist-entry):
2169 * buff-menu.el (Buffer-menu-buffer):
2170 * array.el (current-line):
2171 * allout.el (allout-resolve-xref)
2172 (allout-latex-verbatim-quote-curr-line):
2173 Replace yet more uses of end-of-line etc with line-end-position, etc.
2175 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2178 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2179 (checkdoc-syntax-table): Initialize in the declaration.
2180 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2181 the mode on unconditionally.
2183 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2184 (extent-end-position, extent-start-position): Remove setf method for
2185 non-existing functions (bug#7319).
2187 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2190 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2191 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2192 (smie-prec2->grammar): Rename from smie-prec2-levels.
2193 (smie-grammar): Rename from smie-op-levels.
2194 (smie-indent--hanging-p): Rename from smie-hanging-p.
2195 (smie-rule-hanging-p): New alias.
2196 (smie-indent--bolp): Rename from smie-bolp.
2197 (smie-indent--hanging-p): New alias.
2198 (smie--token): New dynamically bound variable.
2199 (smie-indent--parent): New function.
2200 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2201 (smie-rule-next-p): Rename from smie-next-p.
2202 (smie-rule-prev-p): Rename from smie-prev-p.
2203 (smie-rule-sibling-p, smie-rule-parent)
2204 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2205 (smie-rule-separator-outdent): New var.
2206 (smie-indent--rule): Merge with smie-indent--column.
2207 (smie-indent-forward-token, smie-indent-backward-token):
2208 Also recognize close parens.
2209 (smie-indent-keyword): Don't use smie-indent--column any more.
2210 (smie-indent-after-keyword): Ignore closers by default.
2211 (smie-indent-line): Use with-demoted-errors.
2212 * progmodes/octave-mod.el (octave-smie-grammar):
2213 Rename from octave-smie-op-levels.
2214 (octave-smie-rules): Adjust to new behavior.
2215 * progmodes/prolog.el (prolog-smie-grammar):
2216 Rename from prolog-smie-op-levels.
2218 2010-11-07 Glenn Morris <rgm@gnu.org>
2220 * eshell/esh-util.el (subst-char-in-string)
2221 (directory-files-and-attributes): These compatibility definitions are
2222 not needed on any version of Emacs since at least 21.4.
2224 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2225 (verilog-get-end-of-line): Remove.
2226 (verilog-within-string, verilog-re-search-forward-substr)
2227 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2228 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2229 Use point-at-bol, point-at-eol.
2230 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2232 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2233 (electric-pascal-terminate-line, pascal-set-auto-comments)
2234 (pascal-indent-paramlist, pascal-indent-declaration)
2235 (pascal-get-lineup-indent, pascal-func-completion)
2236 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2237 Use point-at-bol, point-at-eol.
2238 * progmodes/flymake.el (flymake-line-beginning-position)
2239 (flymake-line-end-position): Remove.
2240 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2241 * eshell/esh-util.el (line-end-position, line-beginning-position):
2242 Remove compat definitions.
2244 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2246 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2247 Use line-end-position.
2249 * emacs-lisp/chart.el (chart-zap-chars):
2250 * play/decipher.el (decipher-set-map):
2251 * progmodes/ada-mode.el (ada-get-current-indent)
2252 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2253 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2254 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2255 (ada-get-all-references):
2256 * progmodes/cperl-mode.el (cperl-electric-paren)
2257 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2258 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2259 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2260 (cperl-word-at-point-hard):
2261 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2262 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2263 (idlwave-shell-display-line):
2264 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2265 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2266 * progmodes/js.el (js--re-search-forward-inner)
2267 (js--re-search-backward-inner):
2268 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2269 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2270 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2271 * textmodes/flyspell.el (flyspell-process-localwords):
2272 * textmodes/ispell.el (ispell-buffer-local-parsing)
2273 (ispell-buffer-local-dict, ispell-buffer-local-words):
2274 Use point-at-bol and point-at-eol.
2276 * speedbar.el (speedbar-generic-item-info)
2277 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2278 (speedbar-add-indicator, speedbar-check-vc-this-line)
2279 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2280 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2281 Replace more uses of end-of-line etc with line-end-position.
2283 2010-11-06 Glenn Morris <rgm@gnu.org>
2285 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2286 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2287 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2288 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2289 (texinfo-multiple-files-update):
2290 * textmodes/table.el (table--probe-cell-left-up)
2291 (table--probe-cell-right-bottom):
2292 * textmodes/picture.el (picture-tab-search):
2293 * textmodes/page-ext.el (pages-copy-header-and-position)
2294 (pages-directory-for-addresses):
2295 * progmodes/vera-mode.el (vera-get-offset):
2296 * progmodes/simula.el (simula-calculate-indent):
2297 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2298 * progmodes/prolog.el (end-of-prolog-clause):
2299 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2300 * progmodes/icon.el (indent-icon-exp):
2301 * progmodes/etags.el (tag-re-match-p):
2302 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2303 * progmodes/ebnf2ps.el (ebnf-begin-file):
2304 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2305 (dcl-save-local-variable):
2306 * play/life.el (life-setup):
2307 * play/gametree.el (gametree-looking-at-ply):
2308 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2309 * mail/sendmail.el (mail-mode-auto-fill):
2310 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2311 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2312 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2313 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2314 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2315 * type-break.el (type-break-file-keystroke-count):
2316 * term.el (term-replace-by-expanded-history-before-point)
2317 (term-skip-prompt, term-extract-string):
2318 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2319 (speedbar-contract-line, speedbar-toggle-line-expansion)
2320 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2321 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2322 * sort.el (sort-skip-fields):
2323 * skeleton.el (skeleton-internal-list):
2324 * simple.el (line-move-finish, line-move-to-column):
2325 * shell.el (shell-forward-command):
2326 * misc.el (copy-from-above-command):
2327 * makesum.el (double-column):
2328 * ebuff-menu.el (electric-buffer-update-highlight):
2329 * dired.el (dired-move-to-end-of-filename):
2330 * dframe.el (dframe-popup-kludge):
2331 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2332 * arc-mode.el (archive-get-lineno):
2333 Use line-end-position and line-beginning-position.
2335 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2336 (idlwave-study-twins): Prefix dynamic local `class'.
2337 (idlwave-routine-twin-compare): Update for above name change.
2339 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2340 Use boundp tests to silence compiler. Update for changed name of
2341 bytecomp-filename variable.
2343 * emulation/viper-cmd.el (viper-read-string-with-history):
2344 Prefix dynamic local `initial'.
2345 (viper-minibuffer-standard-hook): Update for above name change.
2347 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2348 (elint-init-form): Update for above name change.
2350 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2351 local variables `cbeg' and `cend' a prefix.
2352 (mail-extr-voodoo): Update for above name change.
2354 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2355 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2356 (reftex-toc-promote-action): Doc fix.
2358 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2359 `prompt', `data' a prefix.
2360 (reftex-select-post-command-hook, reftex-select-callback)
2361 (reftex-select-mouse-accept, reftex-select-read-cite):
2362 Update for above name changes.
2364 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2365 `refstyle' to reftex-refstyle.
2366 (reftex-offer-label-menu): Update for above name change.
2367 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2368 `refstyle' name change.
2370 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2371 with with-current-buffer.
2372 (diff, template): Give dynamic local variables a prefix.
2373 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2374 (emerge-line-number-in-buf): Update for above name change.
2375 (emerge-combine-versions-internal): Rename local `template' to
2376 emerge-combine-template.
2377 (emerge-combine-versions-edit): Update for above name change.
2379 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2381 * textmodes/reftex-cite.el
2382 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2383 entries with whitespace after \bibitem.
2384 (reftex-create-bibtex-file): Match entries containing numbers and
2385 symbol constituents. Make sure that entries with whitespace at
2386 various places are found.
2388 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2390 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2392 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2394 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2396 2010-11-05 Glenn Morris <rgm@gnu.org>
2398 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2399 (woman2-roff-buffer): Give local variable `request' a prefix.
2400 (woman0-macro): Rename argument `request' in the same way.
2401 (woman-request): New name for `request' dynamic variable.
2402 (woman-unquote, woman-forward-arg): Update for above name change.
2403 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2404 (woman1-unquote): New name for `unquote' dynamic variable.
2405 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2406 (woman-translations): Rename from `translations'. No longer global.
2407 (woman2-tr, woman-translate): Update for above name change.
2408 (woman-translate): Check for bound variable.
2409 (woman2-roff-buffer): Give local variable `translations' a prefix.
2411 * play/doctor.el: Give all local variables a prefix. Update callers.
2412 (doc$, doctor-put-meaning): Use backquote.
2414 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2415 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2417 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2418 variables bytes, ptr, op a prefix.
2419 (disassemble-offset): Update for above change.
2421 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2423 * emacs-lisp/package.el (package-unpack): Remove no-op.
2424 (package--builtins, package--dir): Doc fix.
2425 (package-activate-1, package-activate, package-install)
2426 (package-compute-transaction): Fix error message.
2427 (package-delete): Use delete-directory. Omit system packages.
2428 (package-initialize): Set package-alist to nil first.
2429 (package-menu-mark-delete, package-menu-mark-install): Don't add
2430 symbols that are inconsistent with the package state.
2431 (package-menu-execute): Perform deletions and installations as
2432 single batch operations.
2434 2010-11-03 Glenn Morris <rgm@gnu.org>
2436 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2437 (props): Remove unnecessary declaration.
2439 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2440 set-process-query-on-exit-flag.
2442 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2443 (reftex-toc-do-promote): Remove unused local `mpos'.
2444 (reftex-toc-restore-region): Make `mpos' local to this function.
2446 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2448 * play/landmark.el (lm-losing-threshold): Correct spelling.
2449 (lm-human-plays): Use new name.
2451 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2452 (gomoku-human-plays): Use new name.
2454 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2455 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2456 (gomoku-score-trans-table, gomoku-winning-threshold)
2457 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2459 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2461 * emacs-lisp/package.el: Don't put built-in packages in
2462 package-alist, to avoid loading inefficiencies.
2463 (package-built-in-p): Make VERSION optional, and treat it as a
2464 minimum acceptable version.
2465 (package-activate): Search separately for built-in packages.
2466 Emit a warning if a dependency fails.
2467 (define-package): Handle most common case, where there is no
2468 obsolete package, first.
2469 (package-compute-transaction): Print required version in error.
2470 (package--initialized): New variable.
2471 (list-packages): Use it.
2472 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2473 built-in packages in packages-alist; keep it separate.
2474 Set package--initialized.
2475 (describe-package): Avoid activating packages as a side-effect.
2476 Search separately for built-in packages.
2477 (describe-package-1): Handle the case where an elpa package is
2478 simultaneously built-in and available/installed.
2479 (package-installed-p, package--generate-package-list):
2480 Search separately for built-in packages.
2481 (package-load-descriptor): Doc fix.
2483 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2486 Handle __DATA__ and __END__.
2488 2010-11-02 Noah Friedman <friedman@splode.com>
2490 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2491 nil, do not ask to recompile files that are not already compiled,
2492 and do not recompile them.
2494 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2496 * emacs-lisp/package.el (package-initialize): Ensure that
2497 obsoleted built-in packages are not in package-activated-list
2499 (describe-package-1): Make the "installed" status override
2502 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2504 * subr.el (version-separator, version-regexp-alist): Remove '*'
2506 (version-list-<=, version<=, version=): Doc fix.
2508 2010-11-01 Kenichi Handa <handa@m17n.org>
2510 * faces.el (glyphless-char): Inherit underline for tty.
2512 2010-11-01 Kenichi Handa <handa@m17n.org>
2514 Implement various display methods for glyphless characters.
2516 * international/characters.el (char-acronym-table): New variable.
2517 (glyphless-char-control): New variable.
2518 (update-glyphless-char-display): New funciton.
2520 * faces.el (glyphless-char): New face.
2522 2010-11-01 Glenn Morris <rgm@gnu.org>
2524 * calendar/holidays.el (general-holidays, oriental-holidays)
2525 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2526 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2527 the definitions of their targets.
2529 * emacs-lisp/smie.el (smie): New custom group.
2530 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2532 * faces.el (xw-defined-colors, x-setup-function-keys):
2533 * mouse-sel.el (x-select-text):
2534 * term/w32console.el (x-setup-function-keys): Update declarations.
2536 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2538 * textmodes/ispell.el (comment-add): Declare.
2540 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2543 * info.el (finder-keywords-hash, package-alist): Declare.
2545 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2547 * finder.el (finder-compile-keywords): Don't use intern-soft,
2548 since package names may not yet exist in the obarray.
2550 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2552 * vc/vc-arch.el (vc-arch-checkin):
2553 * vc/vc-cvs.el (vc-cvs-checkin):
2554 * vc/vc-mtn.el (vc-mtn-checkin):
2555 * vc/vc-rcs.el (vc-rcs-checkin):
2556 * vc/vc-sccs.el (vc-sccs-checkin):
2557 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2558 since 2010-04-21 commit by Stefan Monnier.
2560 2010-11-01 Glenn Morris <rgm@gnu.org>
2562 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2564 * startup.el (package-enable-at-startup, package-initialize):
2567 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2570 2010-10-31 Julien Danjou <julien@danjou.info>
2572 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2573 (byte-recompile-directory):
2574 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2575 Use `byte-recompile-file'.
2577 2010-10-31 Glenn Morris <rgm@gnu.org>
2579 * cus-start.el: Handle standard values via a keyword.
2580 Only set version property if specified.
2581 (cursor-in-non-selected-windows, menu-bar-mode)
2582 (tool-bar-mode, show-trailing-whitespace):
2583 Do not specify standard values.
2584 (transient-mark-mode, temporary-file-directory): Use :standard.
2586 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2588 * term/x-win.el (x-get-selection-value): New function that gets
2589 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2591 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2593 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2594 preserve owner and group when editing files. (Bug#7289)
2596 2010-10-31 Glenn Morris <rgm@gnu.org>
2598 * speedbar.el (speedbar-mode):
2599 * play/fortune.el (fortune-in-buffer, fortune):
2600 * play/gomoku.el (gomoku-mode):
2601 * play/landmark.el (lm-mode):
2602 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2603 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2605 * select.el (x-selection): Mark it as an obsolete alias.
2607 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2609 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2610 major-mode (bug#7284).
2612 2010-10-31 Glenn Morris <rgm@gnu.org>
2614 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2615 rather than just an unused variable that inherits from the real one.
2617 2010-10-31 Alan Mackenzie <acm@muc.de>
2619 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2620 This fixes bug #7185.
2622 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2624 * startup.el (command-line): Search for package directories, and
2625 don't load package.el if none are found.
2627 * emacs-lisp/package.el (describe-package, list-packages):
2628 Call package-initialize if it has not been called yet.
2630 2010-10-30 Alan Mackenzie <acm@muc.de>
2632 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2633 which fontifies the tail of an enum.
2634 (c-basic-matchers-after): Insert a call to the above new function.
2635 This fixes bug #7264.
2637 2010-10-30 Glenn Morris <rgm@gnu.org>
2639 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2640 tool-bar-mode, transient-mark-mode. (Bug#7306)
2641 Include the :set property in the dumped Emacs.
2643 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2645 SMIE: change indent rules format, improve smie-setup.
2646 * emacs-lisp/smie.el (smie-precs-precedence-table)
2647 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2648 Mark them pure so the tables gets built at compile time.
2649 (smie-bnf-precedence-table): Store the closer-alist in the table.
2650 (smie-prec2-levels): Preserve the closer-alist.
2651 (smie-blink-matching-open): Be more forgiving in case of indentation.
2652 (smie-hanging-p): Rename from smie-indent--hanging-p.
2653 (smie-bolp): Rename from smie-indent--bolp.
2654 (smie--parent, smie--after): New dynamic vars.
2655 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2656 (smie-indent-rules): Remove.
2657 (smie-indent--offset-rule): Remove fun.
2658 (smie-rules-function): New var.
2659 (smie-indent--rule): New fun.
2660 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2661 (smie-indent-exps): Use it.
2662 (smie-setup): Setup paren blinking; add keyword args for token
2663 functions; extract closer-alist from op-levels.
2664 (smie-indent-debug-log): Remove var.
2665 (smie-indent-debug): Remove fun.
2666 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2667 (prolog-smie-rules): New fun to replace it.
2668 (prolog-mode-variables): Simplify.
2669 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2670 it's setup automatically.
2671 (octave-smie-indent-rules): Remove.
2672 (octave-smie-rules): New fun to replace it.
2673 (octave-mode): Simplify.
2675 2010-10-29 Glenn Morris <rgm@gnu.org>
2677 * files.el (temporary-file-directory): Remove (already defined in C).
2678 * cus-start.el: Add temporary-file-directory.
2680 * abbrev.el (abbrev-mode):
2681 * composite.el (auto-composition-mode):
2682 * menu-bar.el (menu-bar-mode):
2683 * simple.el (transient-mark-mode):
2684 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2685 that they do not define the associated variables twice.
2686 * simple.el (transient-mark-mode): Remove defvar.
2687 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2688 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2689 Handle multiple groups, and also custom-delayed-init-variables.
2690 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2692 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2695 (pcase-if): Add one minor optimization.
2696 (pcase-split-equal): Rename from pcase-split-eq.
2697 (pcase-split-member): Rename from pcase-split-memq.
2698 (pcase-u1): Add strings to the member optimization.
2699 Add `guard' variant of predicates.
2700 (pcase-q1): Add string patterns.
2702 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2704 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2706 2010-10-28 Glenn Morris <rgm@gnu.org>
2708 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2709 Move menu-bar related settings to ../menu-bar.el.
2710 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2711 Move ns-specific settings here from term/ns-win.el.
2713 * simple.el (x-selection-owner-p): Remove unused declaration.
2715 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * minibuffer.el (completion-cycling): New var (bug#7266).
2718 (minibuffer-complete, completion--do-completion):
2719 Use completion--flush-all-sorted-completions.
2720 (minibuffer-complete): Only cycle if completion-cycling is set.
2721 (completion--flush-all-sorted-completions): Unset completion-cycling.
2722 (minibuffer-force-complete): Set completion-cycling.
2723 (completion-all-sorted-completions): Move declaration before first use.
2725 2010-10-28 Leo <sdl.web@gmail.com>
2727 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2728 which changes the order of matches seen by users (bug#7231).
2730 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2732 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2733 Don't confuse -omega as "-o mega".
2735 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2738 (log-edit-author): New dynamic var.
2739 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2740 to return the author if different from committer.
2741 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2743 * play/landmark.el: Adjust commenting convention.
2744 (lm-nil-score): Rename from nil-score.
2745 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2746 (OOOOscore): Move into a let in lm-score-trans-table.
2747 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2749 * electric.el (electric-indent-chars): Autoload.
2750 * progmodes/octave-mod.el (octave-mode):
2751 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2752 (ruby-mode-abbrev-table): Merge initialization and declaration.
2754 2010-10-27 Glenn Morris <rgm@gnu.org>
2756 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2759 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2761 * term/ns-win.el: Restore require of cl when compiling.
2762 (menu-bar-final-items): Remove non-existent `windows' menu.
2763 (ns-handle-nxopen): Optionally handle the temp-case.
2764 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2765 (ns-insert-file, ns-find-file): Use `pop'.
2767 2010-10-26 Glenn Morris <rgm@gnu.org>
2769 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2771 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2773 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2775 * term/common-win.el (x-setup-function-keys): Remove most of the
2776 keymappings. Comment on the remaining ones.
2778 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2780 * server.el (server-port): New option. (Bug#854)
2781 (server-start): Use server-port.
2783 2010-10-26 Glenn Morris <rgm@gnu.org>
2785 * term/ns-win.el (ns-version-string): Remove unused declaration.
2786 (ns-invocation-args): Change to x-invocation-args.
2787 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2788 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2789 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2790 Use x-invocation-args instead of ns-invocation-args.
2791 (ns-initialize-window-system, handle-args-function-alist):
2792 Use x-handle-args instead of ns-handle-args.
2793 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2794 * startup.el (command-line-ns-option-alist): Replace
2795 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2796 ns-handle-iconic with the x- equivalents.
2798 * term/common-win.el (x-select-enable-clipboard):
2799 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2801 * term/ns-win.el: No need to require cl when compiling.
2802 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2803 (xw-defined-colors): Use the common-win definitions.
2804 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2805 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2806 * term/common-win.el (x-select-text, x-alternatives-map)
2807 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2808 * loadup.el [ns]: Load common-win.
2810 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2812 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2813 recipients; expand mail aliases (Bug#7280).
2815 2010-10-25 Glenn Morris <rgm@gnu.org>
2817 * term/common-win.el (x-handle-switch): Simplify with pop.
2818 Optionally handle numeric switches.
2819 (x-handle-numeric-switch): Just call x-handle-switch.
2820 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2821 (x-handle-name-switch, x-handle-display, x-handle-args):
2824 * term/ns-win.el: Do not require easymenu.
2825 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2826 <spell>: Move adjustments to menu-bar.el.
2827 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2828 <separator-undo, spell>: Move ns-win's adjustments here.
2829 * loadup.el [ns]: Do not load easymenu.
2831 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2833 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2836 * startup.el (fancy-startup-tail): Instead of using inline images,
2837 refer to image files from etc/.
2839 * wid-edit.el (checkbox): Likewise.
2840 (widget-image-find): Center image specs.
2842 2010-10-24 Glenn Morris <rgm@gnu.org>
2844 * term/ns-win.el (x-select-text): Doc fix.
2845 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2846 (x-select-text): Move to term/common-win.
2847 * term/w32-win.el (xw-defined-colors): Move to common-win.
2848 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2849 (x-setup-function-keys, x-select-text): Move to common-win.
2850 * term/common-win.el (x-select-text, x-alternatives-map)
2851 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2854 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2856 * net/mairix.el (mairix-searches-mode-map):
2857 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2859 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2861 * verilog-mode.el (verilog-directive-re): Make this variable
2862 auto-built for efficiency of execution and updating.
2863 (verilog-extended-complete-re): Support 'pure' fucntion & task
2864 declarations (these have no bodies).
2865 (verilog-beg-of-statement): General cleanup to enable support of
2866 'pure' fucntion & task declarations (these have no bodies).
2867 These efforts together fix Verilog bug210 from veripool; which was also
2868 noticed by Steve Pearlmutter.
2869 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2870 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2871 Support `elsif. Reported by Shankar Giri.
2872 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2873 attribute handling for lining up declarations and assignments.
2874 (verilog-beg-of-statement-1): Fix issue where continued declaration
2875 is indented differently if it is after a begin..end clock.
2876 (verilog-in-attribute-p, verilog-skip-backward-comments)
2877 (verilog-skip-forward-comment-p): Support proper treatment of
2878 attributes by indent code. Reported by Jeff Steele.
2879 (verilog-in-directive-p): Fix comment to correctly describe function.
2880 (verilog-backward-up-list, verilog-in-struct-region-p)
2881 (verilog-backward-token, verilog-in-struct-p)
2882 (verilog-in-coverage-p, verilog-do-indent)
2883 (verilog-pretty-declarations): Use verilog-backward-up-list as
2884 wrapper around backward-up-list inorder to properly skip comments.
2885 Reported by David Rogoff.
2886 (verilog-property-re, verilog-endcomment-reason-re)
2887 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2888 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2889 of if). Reported by Max Bjurling and
2890 (verilog-calc-1): Fix for clocking block in modport
2891 declaration. Reported by Brian Hunter.
2893 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2895 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2896 (verilog-gate-keywords, verilog-read-sub-decls)
2897 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2898 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2899 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2900 (verilog-read-decls): Fix spaces in V2K module parameters causing
2901 mis-identification as interfaces, bug287.
2902 (verilog-read-decls): Fix not treating "parameter string" as a
2903 parameter in AUTOINSTPARAM.
2904 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2905 treating `elsif similar to `endif inside AUTOSENSE.
2906 (verilog-do-indent): Implement correct automatic or static task or
2907 function end comment highlight. Reported by Steve Pearlmutter.
2908 (verilog-font-lock-keywords-2): Fix highlighting of single
2909 character pins, bug264. Reported by Michael Laajanen.
2910 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2911 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2912 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2913 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2914 (verilog-pretty-expr): Fix interactive arguments, bug272.
2915 Reported by Mark Johnson.
2916 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2917 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2918 bug269. Suggested by Gary Delp.
2919 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2920 (verilog-preprocessor, verilog-set-compile-command):
2921 Create verilog-preprocess and verilog-preprocessor to show
2922 preprocessed output.
2923 (verilog-get-beg-of-line, verilog-get-end-of-line)
2924 (verilog-modi-file-or-buffer, verilog-modi-name)
2925 (verilog-modi-point, verilog-within-string): Move defmacro's
2926 before first use to avoid warning. Reported by Steve Pearlmutter.
2927 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2928 (verilog-colorize-region, verilog-highlight-buffer)
2929 (verilog-highlight-includes, verilog-highlight-modules)
2930 (verilog-highlight-region, verilog-mode): Rename colorize to
2931 highlight to match other packages. Disable module highlighting,
2932 as received speed complaints, reenable for experimentation only
2933 using new verilog-highlight-modules.
2934 (verilog-read-decls): Fix regexp stack overflow in very large
2935 AUTO_TEMPLATEs, bug250.
2936 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2937 (verilog-scan): Create verilog-save-buffer-state to standardize
2938 making insignificant changes that shouldn't call hooks.
2939 (verilog-save-no-change-functions, verilog-save-scan-cache)
2940 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2941 Create verilog-save-no-change-functions to wrap verilog-scan
2942 preservation, and fix to work with nested preserved calls.
2943 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2944 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2945 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2946 (verilog-submit-bug-report): Update variable list to be complete.
2947 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2948 breaking on-the-fly font-locking.
2949 (verilog-colorize-buffer, verilog-colorize-include-files)
2950 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2951 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2952 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2953 AUTOINST cell instance name, middle mouse button now finds-file on
2954 it. Suggested by Brad Dobbie.
2955 (verilog-alw-get-temps, verilog-auto-reset)
2956 (verilog-auto-sense-sigs, verilog-read-always-signals)
2957 (verilog-read-always-signals-recurse): Fix loop indexes being
2958 AUTORESET. AUTORESET now assumes any variables in the
2959 initialization section of a for() should be ignored.
2960 Reported by Dan Dever.
2961 (verilog-error-font-lock-keywords)
2962 (verilog-error-regexp-emacs-alist)
2963 (verilog-error-regexp-xemacs-alist): Fix error detection of
2964 Cadence HAL, reported by David Asher. Repair drift between the
2965 three similar error variables.
2966 (verilog-modi-lookup, verilog-modi-lookup-cache)
2967 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2968 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2969 Fix slow verilog-auto expansion on very large files.
2970 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2971 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2972 "{1*2{...". Broke in last revision.
2973 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2974 submodule connections with replications "{#{a},#{b}}".
2976 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2978 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2979 Fix typo in docstring.
2981 2010-10-24 Kenichi Handa <handa@m17n.org>
2983 * face-remap.el (text-scale-adjust): Call read-event with a proper
2986 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2988 * emacs-lisp/unsafep.el: Don't mark functions that display
2989 messages as safe. Suggested by Johan Bockgård.
2991 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2993 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2994 Turn comments into docstrings.
2996 * minibuffer.el (completion--replace): Move point where it belongs
2997 when there's a common suffix (bug#7215).
2999 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3001 Merge read-color and facemenu-read-color (Bug#7242).
3003 * faces.el (read-color): Use the completion code from
3004 facemenu-read-color. Require match in completion. Doc fix.
3006 * facemenu.el (facemenu-read-color): Alias for read-color.
3007 (facemenu-set-foreground, facemenu-set-background):
3010 * frame.el (set-background-color, set-foreground-color)
3011 (set-cursor-color, set-mouse-color, set-border-color):
3014 2010-10-24 Leo <sdl.web@gmail.com>
3016 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3017 argument of delete-file and delete-directory (Bug#7011).
3019 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3021 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3024 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3026 * emacs-lisp/package.el (package--generate-package-list): Make the
3027 *Packages* buffer read-only.
3029 2010-10-24 Alan Mackenzie <acm@muc.de>
3031 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3032 result of `c-beginning-of-decl-1' between invocations of a lambda
3033 function (Bug #7265).
3035 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3037 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3038 executable is not available on the system (Bug#7268).
3040 2010-10-24 Glenn Morris <rgm@gnu.org>
3042 * select.el (selection-coding-system, next-selection-coding-system):
3043 Sync doc with C versions.
3045 * w32-vars.el (x-select-enable-clipboard):
3046 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3047 * term/common-win.el (x-select-enable-clipboard): Move here.
3049 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3050 definition of C variable.
3052 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3053 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3054 Don't redefine things that are defined in C.
3055 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3056 (show-trailing-whitespace, auto-hscroll-mode)
3057 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3058 Set up the appropriate custom properties.
3060 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3063 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3064 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3065 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3066 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3068 2010-10-23 Glenn Morris <rgm@gnu.org>
3070 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3073 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3074 Sync docs with C version.
3076 * term/ns-win.el (xw-defined-colors):
3077 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3079 * term/pc-win.el (x-select-enable-clipboard):
3080 * term/x-win.el (x-select-enable-clipboard):
3081 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3083 * comint.el (comint-password-prompt-regexp): Make it less vague.
3086 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3088 * help.el (finder-by-keyword): Remove unnecessary autoload.
3090 2010-10-22 Glenn Morris <rgm@gnu.org>
3092 * loadup.el: Unconditionally load float-sup.
3093 * paren.el (show-paren-delay):
3094 * emacs-lisp/float-sup.el:
3095 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3096 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3097 (lazy-lock-stealth-verbose): Assume float support.
3098 * ps-print.el: Assume float support on Emacs.
3099 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3100 Remove non-float branch.
3102 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3103 src/Makefile no longer being pre-processed.
3105 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3107 * emacs-lisp/find-func.el (find-library): Use test-completion.
3109 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3111 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3113 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3115 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3116 space in stat format string.
3117 (tramp-send-command): Unset $PS1 when using here documents, in
3118 order not to get several prompts.
3119 (tramp-get-inline-coding): Return `nil' in case of errors.
3121 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3123 * hexl.el (hexl-mode, hexl-mode-exit):
3124 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3125 (hexl-revert-buffer-function): New function.
3126 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3128 2010-10-19 Alan Mackenzie <acm@muc.de>
3130 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3131 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3132 that these keywords aren't wrongly matched as identifiers.
3134 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3135 setting of c-new-BEG and c-new-END from c-before-change to
3136 c-after-change. (Bug#7181)
3138 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3140 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3143 * custom.el (custom-theme-set-variables): Likewise.
3144 (load-theme): Add custom-theme-set-faces and
3145 custom-theme-set-variables to safe-functions while loading.
3146 (custom-enabled-themes): Mark as risky.
3148 2010-10-18 Julien Danjou <julien@danjou.info>
3150 * bindings.el: Remove end dashes in default mode-line-format.
3152 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3154 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3155 to delete-forward-char.
3157 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3158 deletechar, and hence delete-forward-char.
3160 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * repeat.el (repeat): Use read-key (bug#6256).
3164 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3166 * emacs-lisp/unsafep.el: Don't mark functions that display
3167 messages as safe. Suggested by Johan Bockgård.
3169 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * minibuffer.el (completion--replace): Move point where it belongs
3172 when there's a common suffix (bug#7215).
3174 2010-10-19 Kenichi Handa <handa@m17n.org>
3176 * international/characters.el: Add category '|' (word breakable)
3177 to fullwidth characters.
3179 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3181 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3182 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3183 order to make stat results a float. Patch by Andreas Schwab
3184 <schwab@linux-m68k.org>.
3186 2010-10-18 Julien Danjou <julien@danjou.info>
3188 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3189 hidden by `make-pointer-invisible'.
3191 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * files.el (locate-file-completion-table): Strip non-matching elements
3194 before checking length of list (bug#7238).
3196 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3198 * custom.el (custom-theme-set-variables): Mark as a safe function.
3199 (load-theme): Check forms using unsafep.
3201 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3203 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3205 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3206 Fix aspell data file searching (bug#7230).
3208 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3210 * cus-theme.el (custom-theme--migrate-settings): New var.
3211 (customize-create-theme): Allow editing the `user' theme.
3212 (custom-theme-add-variable, custom-theme-add-var-1)
3213 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3214 to the front of each variable or face widget.
3215 (custom-theme-write): Save theme settings in the correct order.
3216 Optionally, remove saved settings from user customizations.
3217 (custom-theme-write-variables, custom-theme-write-faces):
3218 Save only the checked widgets.
3219 (customize-themes): Add a link for migrating custom settings.
3221 * custom.el (custom-declare-theme, provide-theme):
3222 Use custom-theme-name-valid-p.
3223 (custom-theme-name-valid-p): Remove checks that are now
3224 unnecessary since themes no longer obey load-path.
3226 * cus-edit.el (custom-variable-value-create): For the simple
3227 style, hide documentation string when hidden.
3229 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3231 * cus-edit.el (custom-variable, custom-face): Combine the
3232 :inhibit-magic and :display-style properties into a single
3233 :custom-style property.
3234 (custom-toggle-hide-variable, custom-toggle-hide-face):
3235 New functions. If hiding an edited value, save it to :shown-value.
3236 (custom-variable-value-create, custom-face-value-create): Use them.
3237 (custom-magic-reset): Allow magic property to be unset.
3239 * custom.el: Custom themes no longer use load-path.
3240 (custom-theme-load-path): New option. Change built-in theme
3242 (custom-enabled-themes): Add custom-theme-load-path dependency.
3243 (custom-theme--load-path): New function.
3244 (load-theme, custom-available-themes): Use it.
3246 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3247 (customize-themes): Link to custom-theme-load-path variable.
3248 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3249 :custom-style property.
3251 * themes/*.el: Moved to etc/.
3253 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3255 * textmodes/reftex-cite.el
3256 (reftex-extract-bib-entries-from-thebibliography): Do not move
3257 point when searching for \bibitem entries. Match entries with
3258 spaces or tabs in front of arguments.
3260 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3262 * cus-theme.el (customize-create-theme): Delete overlays after
3263 erasing. If given a THEME arg, display only the faces of that arg
3264 instead of custom-theme--listed-faces.
3265 (custom-theme-variable-menu, custom-theme-variable-action)
3266 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3267 (custom-theme-add-variable, custom-theme-add-face): Apply value
3268 from the theme settings, instead of the current value.
3269 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3270 (custom-theme-visit-theme): Allow calling outside theme buffers.
3271 (custom-theme-merge-theme): Don't enable the theme when merging.
3272 (custom-theme-write-variables, custom-theme-write-faces): Use the
3273 :shown-value properties to save buffer values, not global ones.
3274 (customize-themes): Display a warning about user customizations.
3276 * cus-edit.el (custom-variable-value-create)
3277 (custom-face-value-create): Obey new special properties
3278 :shown-value and :inhibit-magic.
3280 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3282 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3283 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3286 2010-10-14 Kenichi Handa <handa@m17n.org>
3288 * mail/rmail.el (rmail-show-message-1): Catch an error of
3289 base64-decode-region and just show an error message (bug#7165).
3291 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3292 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3293 a font-spec (bug#7197).
3295 2010-10-14 Glenn Morris <rgm@gnu.org>
3297 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3299 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3301 * international/mule.el (define-coding-system):
3302 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3303 * composite.el (compose-region): Fix typo in docstring.
3305 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3307 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3308 only after checking the theme-face property.
3310 * faces.el (face-spec-reset-face): Reset all attributes in one
3311 single call to set-face-attribute.
3312 (face-spec-match-p): Make it a defsubst.
3313 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3314 (x-create-frame-with-faces, tty-create-frame-with-faces)
3315 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3316 frame-set-background-mode, since they are recomputed immediately
3317 afterwards in face-set-after-frame-default.
3318 (face-set-after-frame-default): Minor optimization.
3319 (cursor): Provide non-trivial defface spec.
3321 * custom.el (custom-theme-recalc-face): Simplify.
3323 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3325 * calc/calc-alg.el (math-var): Rename from `var'.
3326 (math-is-polynomial, math-is-poly-rec): Replace `var'
3329 * calc/calcalg2.el (math-var): Rename from `var'.
3330 (calcFunc-table, math-scan-for-limits): Replace `var'
3333 2010-10-13 Glenn Morris <rgm@gnu.org>
3335 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3337 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3339 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3341 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3343 * net/tls.el (tls-program): Remove spurious %s from openssl.
3344 (tls-starttls-switches): Remove starttls hack.
3345 (open-tls-stream): Ditto.
3346 (tls-find-starttls-argument): Ditto.
3348 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3350 * image.el (image-library-alist): Declare as obsolete alias.
3351 (image-type-available-p): Use `dynamic-library-alist'.
3353 * term/w32-win.el (dynamic-library-alist):
3354 Use instead of `image-library-alist'.
3356 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3358 * subr.el (last): Make it faster. (Bug#7174)
3360 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3362 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3364 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3366 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3367 (describe-theme-1): Extract doc from unloaded themes.
3369 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3371 * themes/tango-theme.el:
3372 * themes/tango-dark-theme.el:
3373 * themes/wheatgrass-theme.el: New files.
3375 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3377 * cus-theme.el (describe-theme, customize-themes)
3378 (custom-theme-save): New commands.
3379 (custom-new-theme-mode-map): Bind C-x C-s.
3380 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3381 (customize-create-theme): New optional arg THEME.
3382 (custom-theme-revert): Use it.
3383 (custom-theme-visit-theme): Remove dead code.
3384 (custom-theme-merge-theme): Use custom-available-themes.
3385 (custom-theme-write): Make interactive.
3386 (custom-theme-write): Use custom-theme-name-valid-p.
3387 (describe-theme-1, custom-theme-choose-revert)
3388 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3390 (custom-theme-allow-multiple-selections): New option.
3391 (custom-theme-choose-mode): New major mode.
3393 * custom.el (custom-theme-set-variables): Remove dead code.
3394 Obey custom--inhibit-theme-enable.
3395 (custom--inhibit-theme-enable): New var.
3396 (provide-theme): Obey it.
3397 (load-theme): Replace load with manual read/eval, in order to
3398 check for correctness. Use custom-theme-name-valid-p.
3399 (custom-theme-name-valid-p): New function.
3400 (custom-available-themes): Use it.
3402 * cus-edit.el (custom--initialize-widget-variables): New function.
3403 (Custom-mode): Use it.
3405 * cus-face.el (custom-theme-set-faces): Remove dead code.
3406 Obey custom--inhibit-theme-enable.
3408 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3410 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3412 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3414 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3416 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3417 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3418 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3420 * cus-start.el (all): ns-right-alternate-modifier is new.
3422 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3424 * emacs-lisp/lisp.el (lisp-completion-at-point):
3425 Use emacs-lisp-mode-syntax-table for the whole function.
3427 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3429 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3430 instead of font-lock-mode before adding keywords.
3431 Remove hi-lock-mode off code. Remove inhibit hack.
3432 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3433 non-nil; removed hook inhibit hack.
3435 2010-10-12 Glenn Morris <rgm@gnu.org>
3437 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3438 (load-path-shadows-find): ... to this.
3439 (list-load-path-shadows): Update for above change.
3441 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3443 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3445 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3446 Fix comment for declare-function.
3448 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3450 * custom.el (custom-fix-face-spec): New function; code moved from
3451 custom-face-edit-fix-value.
3452 (custom-push-theme): Use it when checking if a face has been
3453 changed outside customize.
3454 (custom-available-themes): New function.
3455 (load-theme): Use it.
3457 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3459 * custom.el (custom-push-theme): Cleanup (use cond).
3460 (disable-theme): Recompute the saved-face property.
3461 (custom-theme-recalc-face): Follow face alias before setting prop.
3463 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3464 New variables, containing checkbox images.
3466 * startup.el (fancy-startup-tail):
3467 * wid-edit.el (checkbox): Use them.
3469 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3471 * shell.el (shell-mode-map):
3472 * progmodes/modula2.el (m2-mode-map):
3473 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3474 * play/mpuz.el (mpuz-mode-map):
3475 * play/landmark.el (lm-mode-map):
3476 * play/decipher.el (decipher-mode-map):
3477 * play/5x5.el (5x5-mode-map):
3478 * net/telnet.el (telnet-mode-map):
3479 * net/quickurl.el (quickurl-list-mode-map):
3480 * net/mairix.el (mairix-searches-mode-map):
3481 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3482 * net/dig.el (dig-mode-map):
3483 * mail/mspools.el (mspools-mode-map):
3484 * hexl.el (hexl-mode-map):
3485 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3486 (wordstar-C-o-map, wordstar-C-q-map):
3487 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3488 * emacs-lisp/chart.el (chart-map):
3489 * edmacro.el (edmacro-mode-map):
3490 * erc/erc-list.el (erc-list-menu-mode-map):
3491 * array.el (array-mode-map): Declare and define in one step.
3493 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3495 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3497 * epa.el (epa-passphrase-callback-function): Display filename
3498 passed as the 3rd arg.
3499 * epa-file.el (epa-file-passphrase-callback-function):
3500 Pass filename to epa-passphrase-callback-function.
3502 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3504 * cus-edit.el (custom-face-widget-to-spec)
3505 (custom-face-get-current-spec, custom-face-state): New functions.
3506 (custom-face-set, custom-face-mark-to-save)
3507 (custom-face-value-create, custom-face-state-set): Use them.
3509 * cus-theme.el (custom-theme--listed-faces): New var.
3510 (customize-create-theme): Use *Custom Theme* as the buffer name.
3511 Set revert-buffer-function. Optional arg BUFFER. Insert all
3512 faces listed in custom-theme--listed-faces.
3513 (custom-theme-revert): New function.
3514 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3516 (custom-theme-write): Prompt for theme name if empty.
3517 (custom-theme-write-variables): Use dolist.
3518 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3520 2010-10-09 Alan Mackenzie <acm@muc.de>
3522 Enhance fontification of declarators to take account of the
3523 presence/absence of "typedef".
3525 * cc-engine.el (c-forward-type): New &optional param
3527 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3528 presence of either or both of a "struct"-like keyword and "typedef".
3530 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3531 fontification of declarators which follow a "}".
3532 (c-font-lock-declarations): Fontify declarators according to the
3533 presence/absence of "typedef".
3535 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3537 (c-typedef-decl-key): New lang variable built from
3538 c-typedef-decl-kwds.
3540 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3542 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3543 since that's too annoying. Move the filter groups commands to
3546 * epa.el (epa-passphrase-callback-function): Say what we're
3547 querying the password for.
3549 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3550 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3552 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3554 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3555 (custom-magic-value-create): Pad button tags with spaces.
3556 (custom-face-edit): New variable.
3557 (custom-face-value-create): Determine whether to use the usual
3558 face editor here, instead of using custom-face-selected.
3559 Pass face defaults to custom-face-edit widget.
3560 (custom-face-selected, custom-display-unselected): Delete widgets.
3561 (custom-display-unselected-match): Function removed.
3562 (custom-face-set, custom-face-mark-to-save):
3563 Accept custom-face-edit widgets as the direct widget child.
3565 * wid-edit.el (widget--completing-widget): New var.
3566 (widget-default-complete): Bind it when doing completion.
3567 (widget-string-complete, widget-file-complete): Use it.
3569 2010-10-09 Glenn Morris <rgm@gnu.org>
3571 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3572 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3573 (holiday-hebrew-misc): Small simplifications.
3575 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3577 * net/browse-url.el: Don't require thingatpt, term, dired,
3578 executable, or w3-auto when compiling.
3579 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3581 (browse-url-text-emacs): Require term.
3583 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3585 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3587 2010-10-08 Glenn Morris <rgm@gnu.org>
3589 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3591 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3592 (shadows-compare-text-p): Make it an obsolete alias for...
3593 (load-path-shadows-compare-text): ... new name.
3594 (find-emacs-lisp-shadows): Update for above name change.
3595 (load-path-shadows-same-file-or-nonexistent): New name for the old
3596 shadow-same-file-or-nonexistent.
3598 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3600 * minibuffer.el (completion--some, completion--do-completion)
3601 (minibuffer-complete-and-exit, minibuffer-completion-help)
3602 (completion-basic-try-completion)
3603 (completion-basic-all-completions)
3604 (completion-pcm--find-all-completions): Use lexical-let to
3605 avoid some false matches in variable completion (Bug#7056)
3607 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3609 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3611 2010-10-08 Leo <sdl.web@gmail.com>
3613 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3614 return non-nil if the file exists (Bug#7090).
3616 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * minibuffer.el (completion--replace):
3619 Better preserve markers (bug#7138).
3621 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3623 * server.el (server-process-filter): Doc fix.
3625 2010-10-08 Drew Adams <drew.adams@oracle.com>
3627 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3629 2010-10-08 Glenn Morris <rgm@gnu.org>
3631 * vc/ediff-wind.el (ediff-setup-control-frame):
3632 * vc/ediff-ptch.el (ediff-default-backup-extension):
3633 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3634 (ediff-exec-process): Remove system-types emx, windows-95.
3636 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3638 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3640 * cus-edit.el (custom-variable, custom-face): Doc fix.
3641 (custom-face-edit): Add value-create attribute.
3642 (custom-face-edit-value-create)
3643 (custom-face-edit-value-visibility-action): New functions.
3644 Hide unused face attributes by default, and add a visibility toggle.
3645 (custom-face-edit-deactivate): Show empty values with shadow face.
3646 (custom-face-selected): Only use this for face specs with default
3648 (custom-face-value-create): Cleanup.
3650 * wid-edit.el (widget-checklist-value-create): Use dolist.
3651 (widget-checklist-match-find): Make second arg optional.
3653 2010-10-07 Glenn Morris <rgm@gnu.org>
3655 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3658 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3659 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3660 load-path-shadows-mode, update references.
3661 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3662 Rename variable and button.
3663 (list-load-path-shadows): Update button caller.
3665 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3667 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3668 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3669 (smie-merge-prec2s): Handle those new entries.
3670 (smie-prec2-levels): Only set precedence to nil for actual
3672 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3673 that is now unnecessary.
3675 2010-10-07 Miles Bader <miles@gnu.org>
3677 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3679 2010-10-07 Glenn Morris <rgm@gnu.org>
3681 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3682 (mail-position-on-field): Remove declarations.
3683 (mail-position-on-field): Autoload it.
3684 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3685 and mail-header-end. Don't require sendmail.
3687 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3688 (shadow-mode): New mode.
3689 (shadow-find-file): New button.
3690 (list-load-path-shadows): Use shadow-mode and buttons.
3692 * iimage.el (iimage-version): Remove.
3693 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3694 Turn into defcustoms.
3695 (iimage-mode-map): Give it a doc string.
3697 * calendar/appt.el (appt-activate): Give a warning rather than an error
3698 if there is no diary-file.
3700 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3702 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3703 Use `tramp-handle-find-backup-file-name'.
3705 2010-10-06 Glenn Morris <rgm@gnu.org>
3707 * font-core.el (font-lock-defaults-alist): Remove variable.
3708 (font-lock-mode): Doc fix.
3709 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3710 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3711 (font-lock-set-defaults): Doc fix.
3712 Do not consult font-lock-defaults-alist.
3714 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3716 * emacs-lisp/cl.el: No longer provide cl-19.
3718 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3720 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3721 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3722 New defuns, taken from tramp-smb.el.
3723 (tramp-coding-system-change-eol-conversion)
3724 (tramp-set-process-query-on-exit-flag): Remove.
3726 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3727 (tramp-compat-coding-system-change-eol-conversion)
3728 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3731 * net/tramp-gvfs.el:
3732 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3733 by `tramp-compat-set-process-query-on-exit-flag'.
3735 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3736 Use `tramp-handle-directory-files-and-attributes',
3737 `tramp-handle-file-exists-p' and
3738 `tramp-handle-file-newer-than-file-p'.
3739 (tramp-imap-handle-file-exists-p)
3740 (tramp-imap-handle-file-executable-p)
3741 (tramp-imap-handle-file-readable-p)
3742 (tramp-imap-handle-directory-files-and-attributes)
3743 (tramp-imap-handle-file-newer-than-file-p): Remove.
3745 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3746 by `tramp-compat-set-process-query-on-exit-flag' and
3747 `tramp-coding-system-change-eol-conversion' by
3748 `tramp-compat-coding-system-change-eol-conversion'.
3750 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3751 Use `tramp-handle-directory-files-and-attributes',
3752 `tramp-handle-file-exists-p' and
3753 `tramp-handle-file-newer-than-file-p'.
3754 (tramp-smb-handle-directory-files-and-attributes)
3755 (tramp-smb-handle-file-exists-p)
3756 (tramp-smb-handle-file-newer-than-file-p): Remove.
3757 (tramp-smb-maybe-open-connection):
3758 Replace `tramp-set-process-query-on-exit-flag' by
3759 `tramp-compat-set-process-query-on-exit-flag'.
3761 2010-10-05 Glenn Morris <rgm@gnu.org>
3763 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3765 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3767 Continue reorganization of load dependencies. (Bug#7156)
3769 * net/tramp.el (tramp-handle-file-local-copy-hook)
3770 (tramp-delete-temp-file-function): Move down.
3771 (tramp-exists-file-name-handler): Move up.
3772 (tramp-register-file-name-handlers): Simplify autoload.
3773 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3774 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3775 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3776 (tramp-handle-file-name-completion)
3777 (tramp-handle-file-name-directory)
3778 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3779 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3780 (tramp-handle-find-backup-file-name)
3781 (tramp-handle-insert-file-contents, tramp-handle-load)
3782 (tramp-handle-substitute-in-file-name)
3783 (tramp-handle-unhandled-file-name-directory)
3784 (tramp-mode-string-to-int, tramp-local-host-p)
3785 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3787 * net/tramp-gvfs.el (top):
3788 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3790 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3791 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3793 2010-10-04 Glenn Morris <rgm@gnu.org>
3795 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3796 (appt-activate): Give status messages.
3798 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3800 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3801 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3802 `gnutls-negotiate' (formerly `starttls-negotiate').
3803 Remove trivial wrapper `starttls-open-stream'.
3805 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3807 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3808 log-outgoing commands.
3809 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3810 to create a buffer local revert-buffer-function variable.
3811 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3812 revert-buffer-function lambda.
3814 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3816 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3817 `gnutls-boot'. Make TYPE the only required parameter.
3818 Allow TRUSTFILES and KEYFILES to be lists.
3819 (open-ssl-stream): Use it.
3821 2010-10-03 Glenn Morris <rgm@gnu.org>
3823 * subr.el (directory-sep-char): Remove obsolete variable.
3824 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3827 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3828 * vc/vc.el (vc-static-header-alist): Doc fix.
3829 * vc/vc-cvs.el (vc-cvs-header):
3830 * vc/vc-rcs.el (vc-rcs-header):
3831 * vc/vc-sccs.el (vc-sccs-header):
3832 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3833 * obsolete/vc-mcvs.el (vc-mcvs-header):
3834 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3837 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3839 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3840 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3842 2010-10-03 Glenn Morris <rgm@gnu.org>
3844 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3846 * textmodes/rst.el (rst-font-lock-keywords-function):
3849 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3851 * printing.el: Drop Emacs 20 code.
3853 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3854 without having used appt.el already).
3856 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3857 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3858 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3860 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3861 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3863 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3864 (charset-width, find-charset-region, chars-in-region, forward-point)
3865 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3866 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3867 Remove compatibility cruft (none of these are used by ps*.el).
3869 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3871 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3873 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3875 * server.el (server-process-filter, server-return-error):
3876 Give emacsclient time to shut down after receiving an error string.
3878 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3880 * files.el (remote-file-name-inhibit-cache): New defcustom.
3882 * time.el (display-time-file-nonempty-p):
3883 Use `remote-file-name-inhibit-cache'.
3885 * net/tramp.el (tramp-completion-reread-directory-timeout):
3888 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3889 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3890 `remote-file-name-inhibit-cache'. Check also for an integer
3891 value. Add/increase counter when `tramp-verbose' >= 10.
3892 (tramp-set-file-property): Add/increase counter when
3893 `tramp-verbose' >= 10.
3895 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3896 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3897 (tramp-bug): Set tramp-autoload cookie. Report all interned
3898 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3899 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3900 characters only in strings.
3902 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3903 to backward compatibility.
3905 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3906 (tramp-handle-file-name-all-completions)
3907 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3908 (tramp-open-connection-setup-interactive-shell):
3909 Call `tramp-cleanup-connection' directly.
3911 2010-10-02 Glenn Morris <rgm@gnu.org>
3913 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3915 * subr.el (char-bytes): Remove obsolete function.
3917 * isearch.el (isearch-return-char): Remove obsolete function.
3919 * mouse.el: No longer provide mldrag.
3920 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3921 Remove obsolete aliases.
3923 * comint.el (comint-kill-output): Remove obsolete alias.
3925 * composite.el (decompose-composite-char): Remove obsolete function.
3926 * ps-def.el (decompose-composite-char): Remove unused function.
3928 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3930 * outline.el (outline-visible): Remove obsolete function.
3932 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3933 * faces.el (internal-find-face, internal-get-face)
3934 (frame-update-faces, frame-update-face-colors)
3935 (x-frob-font-weight, x-frob-font-slant)
3936 (internal-frob-font-weight, internal-frob-font-slant)
3937 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3938 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3939 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3941 * emulation/viper-util.el (viper-get-face):
3942 * obsolete/lucid.el (find-face, get-face): Use facep.
3943 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3944 Remove unused functions.
3945 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3947 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3948 delete tempfile if interrupted during compilation.
3950 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3952 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3954 (tls-program): Add --insecure to be consistent with the defaults from
3955 openssl s_client. Now all three commands are insecure.
3957 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3959 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3960 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3961 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3963 2010-10-01 Glenn Morris <rgm@gnu.org>
3965 * obsolete/sc.el: Remove file.
3967 * files.el (temporary-file-directory): On darwin, also try
3968 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3970 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3972 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3973 Let's not break compatibility gratuitously, shall we?
3975 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977 * net/tls.el (tls-starttls-switches): New variable.
3978 (tls-find-starttls-argument): Use it.
3979 (open-tls-stream): Ditto.
3981 * net/netrc.el (netrc-credentials): Return the value of the "default"
3983 (netrc-machine): Ditto.
3985 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3987 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3989 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3991 * server.el (server-start): Don't write pid to the authentication file.
3992 (server-create-tty-frame): Don't send pid.
3993 (server-process-filter): Send pid at the start of every connection.
3995 2010-09-30 Glenn Morris <rgm@gnu.org>
3997 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3998 (show-all-diary-entries): Remove obsolete function aliases.
4000 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4001 Remove options, obsolete since 22.1.
4002 (appt-display-format, appt-display-message):
4003 Remove backwards-compatibility code.
4004 (appt-check): No longer check appt-issue-message.
4005 (appt-make-list): No longer autoload it. Doc fix. No longer
4006 activate the package.
4008 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4010 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4011 (starttls-negotiate): Just call boot, and let the handshake be
4012 triggered from the read loop.
4014 2010-09-29 Glenn Morris <rgm@gnu.org>
4016 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4017 not displaying the diary.
4018 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4019 * calendar/appt.el (appt-check): No longer need to kill diary.
4021 * calendar/diary-lib.el (diary-list-entries): Move the
4022 "Preparing..." message entirely here.
4023 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4024 messages to diary-list-entries.
4025 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4026 diary-display-function.
4028 * calendar/diary-lib.el (diary-include-other-diary-files):
4029 Trap some recursive includes.
4031 * calendar/appt.el (appt-activate): Check diary file.
4033 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4035 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4038 * calendar/time-date.el: No need to require cl for Emacs 21.
4040 2010-09-28 Glenn Morris <rgm@gnu.org>
4042 * calendar/appt.el (appt-check): Minor simplification.
4044 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4046 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4049 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4052 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4054 2010-09-27 Kenichi Handa <handa@m17n.org>
4056 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4059 2010-09-27 Kenichi Handa <handa@m17n.org>
4061 * international/mule.el (define-coding-system): Docstring fixed.
4063 * international/mule-diag.el (describe-character-set): Use princ
4064 with proper print-length and print-level instead of insert.
4066 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4068 * window.el (walk-windows): Doc fix (bug#7105).
4070 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * emacs-lisp/float-sup.el (e): Remove.
4074 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4076 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4078 (starttls-negotiate): Use it.
4080 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4082 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4085 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4089 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4093 * net/netrc.el (netrc-store-data): New function.
4095 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4097 * net/gnutls.el: GnuTLS glue code to set up a connection.
4099 2010-09-25 Julien Danjou <julien@danjou.info>
4101 * notifications.el: Call dbus-register-signal only if it is bound.
4103 2010-09-25 Glenn Morris <rgm@gnu.org>
4105 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4106 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4107 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4108 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4109 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4110 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4111 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4112 * eshell/esh-util.el, eshell/esh-var.el:
4113 Remove leading `*' from docs of faces and defcustoms.
4115 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4117 * eshell/em-ls.el (eshell-ls-archive-regexp):
4118 * eshell/esh-util.el (eshell-tar-regexp):
4119 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4120 * info.el (Info-suffix-list):
4121 * international/mule.el (auto-coding-alist):
4122 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4123 * progmodes/etags.el (tags-compression-info-list):
4124 Support xz compression.
4126 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4128 * files.el (get-free-disk-space): Don't assume the "df" output
4129 columns line up (Bug#6995).
4131 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4133 * finder.el (finder-unknown-keywords):
4134 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4135 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4137 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4139 * server.el (server-start): Revert part of 2010-08-08 change. Using
4140 address 127.0.0.1 for local host is now done in Fmake_network_process.
4142 2010-09-24 Glenn Morris <rgm@gnu.org>
4144 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4145 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4146 * textmodes/css-mode.el, textmodes/dns-mode.el:
4147 Move autoloaded auto-mode-alist entries to files.el.
4148 * files.el (auto-mode-alist): Move entries here.
4150 2010-09-23 Glenn Morris <rgm@gnu.org>
4152 * isearch.el (isearch-lazy-highlight-cleanup)
4153 (isearch-lazy-highlight-initial-delay)
4154 (isearch-lazy-highlight-interval)
4155 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4156 * net/net-utils.el (ipconfig-program-options):
4157 Move aliases to options before the associated definitions.
4159 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * newcomment.el (comment-normalize-vars): Better test validity of
4164 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4167 (float-e): New name for `e'.
4168 (degrees-to-radians, radians-to-degrees):
4169 * calendar/solar.el (solar-longitude):
4170 * calculator.el (calculator-registers, calculator-funcall):
4171 * textmodes/artist.el (artist-spray-random-points):
4172 * play/bubbles.el (bubbles--initialize-images): Use new names.
4174 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4176 Update to CEDET 1.0's version of EIEIO.
4178 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4180 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4181 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4182 (class-precedence-list): If class is nil, return nil.
4183 (eieio-generic-call): If class of first input arg is nil, don't
4184 look up static methods, and do check for primary methods.
4185 (initialize-instance): See if the default needs to be evaluated
4186 during the constructor.
4187 (eieio-perform-slot-validation-for-default): Don't do the check
4188 for values that will eventually be evaluated.
4189 (eieio-eval-default-p): New function.
4190 (eieio-default-eval-maybe): Use it.
4192 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4194 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4195 method-invocation-order.
4196 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4197 (eieio-class-precedence-dfs): Compute class precedence list using
4199 (eieio-class-precedence-bfs): Compute class precedence list using
4201 (eieio-class-precedence-c3): Compute class precedence list using
4203 (class-precedence-list): New function.
4204 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4205 (inconsistent-class-hierarchy): New error symbol.
4206 (call-next-method): Stow the replacement argument list for future
4207 call-next-method invocations.
4209 2010-09-23 Glenn Morris <rgm@gnu.org>
4211 * calendar/appt.el (appt-check): If not displaying the diary,
4212 use (diary 1) to only get the entries we need.
4213 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4214 that it is in day order. (Bug#7019)
4216 * calendar/appt.el (appt-check): Rather than showing the diary,
4217 just turn off invisible display, and only if needed.
4219 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4221 2010-09-23 Glenn Morris <rgm@gnu.org>
4223 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4224 (byte-compile-defvar, byte-compile-cl-warn):
4225 Start warnings with lower-case, like the majority.
4227 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4229 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4231 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4232 * files.el (auto-mode-alist): Move ld-script entries here, further down
4235 * vc/add-log.el: Don't require timezone when compiling.
4236 (timezone-make-date-sortable): Autoload it.
4237 (change-log-sortable-date-at): Don't require timezone.
4238 Use `ignore-errors'.
4240 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4241 Move alias before definition, so it does not need autoloading.
4243 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4244 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4245 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4246 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4247 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4248 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4249 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4250 * textmodes/tex-mode.el, textmodes/two-column.el:
4251 Remove leading `*' from docs of defcustoms etc.
4253 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4255 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4257 2010-09-22 Dan Christensen <jdc@uwo.ca>
4259 * calendar/time-date.el (date-to-time): Try using parse-time-string
4260 first before using the slower timezone-make-date-arpa-standard.
4262 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4264 * calendar/time-date.el (format-seconds): Comment fix.
4266 2010-09-22 Glenn Morris <rgm@gnu.org>
4268 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4269 is not automatically buffer-local.
4271 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4273 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4274 (smie-indent-comment): Be more careful with comment-start-skip.
4275 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4276 (smie-indent-functions): Use them.
4278 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4280 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4282 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4284 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4285 tool-bar-position. Don't modify frame parameters here.
4286 (menu-bar-options-save): Add tool-bar-position.
4288 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4290 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * textmodes/reftex-parse.el (reftex-what-macro)
4293 (reftex-context-substring): Let-bind forward-sexp-function to nil
4294 since we don't need/want to treat \begin...\end as a block (bug#7053).
4296 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4298 * simple.el (blink-matching-open): Use syntax-class.
4300 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4301 Set invisibility spec for pascal's outline mode.
4302 (pascal-outline-change): Clean up calling convention.
4303 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4305 * progmodes/prolog.el (prolog-smie-forward-token)
4306 (prolog-smie-backward-token): New functions.
4307 (prolog-mode-variables): Use them to parse "!," correctly.
4308 Set up smie-blink-matching for ".".
4310 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4312 (ispell-region, ispell-process-line): Update users.
4314 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4317 * textmodes/ispell.el: Fix commenting convention.
4318 (ispell-parse-output): Simplify, use push.
4319 (ispell-region): Use match-string-no-properties.
4320 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4321 (ispell-minor-mode): Use define-minor-mode.
4322 (ispell-message): Remove unused var `skip-regexp'.
4323 (ispell-add-per-file-word-list): Use dynamic let-binding.
4324 Try and use the proper comment marker.
4326 * mail/sendmail.el: Fix commenting convention.
4327 (sendmail-send-it): Use line-beginning-position.
4329 * help-fns.el (describe-variable): Add original value, if applicable.
4331 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4333 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4335 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4337 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4340 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4341 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4342 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4343 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4344 something like "." can also be a closer.
4345 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4346 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4347 Rename internal functions to use "--". Update callers.
4349 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4351 * fringe.el (fringe-styles): New var.
4352 (fringe-mode, fringe-query-style): Use it.
4354 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4356 * progmodes/sql.el: Version 2.8
4357 (sql-login-params): Update widget structure; changes still needed.
4358 (sql-product-alist): Add :list-all and :list-table features for
4359 SQLite, Postgres and MySQL products.
4360 (sql-redirect): Handle default value.
4361 (sql-execute, sql-execute-feature): New functions.
4362 (sql-read-table-name): New function.
4363 (sql-list-all, sql-list-table): New functions. User API.
4364 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4365 for above functions.
4366 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4367 for above functions.
4368 (sql-postgres-login-params): Add user and database defaults.
4369 (sql-buffer-live-p): Bug fix.
4370 (sql-product-history): New variable.
4371 (sql-read-product): New function. Use it.
4372 (sql-set-product, sql-product-interactive): Use it.
4373 (sql-connection-history): New variable.
4374 (sql-read-connection): New function. Use it.
4375 (sql-connect): New function.
4376 (sql-for-each-login): Redesign function interface.
4377 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4378 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4379 (sql-comint): Check for program. Existing live buffer.
4380 (sql-comint-postgres): Add port parameter.
4382 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4384 * emacs-lisp/warnings.el: Fix commenting convention.
4385 (display-warning): Use special mode and make the buffer read-only.
4387 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4389 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4390 empty string when it follows a repeated or optional pattern.
4392 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4395 (indent-region): Use indent-according-to-mode.
4397 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4399 * fringe.el (fringe-mode): Doc fix.
4401 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4403 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4404 refreshing the preview buffer.
4406 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4408 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4409 (latex-syntax-propertize-rules): New consts; replace
4410 tex-font-lock-syntactic-keywords.
4411 (tex-env-mark, latex-env-before-change): New functions.
4412 (latex-electric-env-pair-mode): New minor mode.
4413 (tex-font-lock-verb): Change arguments; do move point.
4414 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4415 representation as a form of comment.
4416 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4417 (doctex-syntax-propertize-rules): New const; replaces
4418 doctex-font-lock-syntactic-keywords.
4419 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4421 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4422 (fortran-make-syntax-propertize-function): New function; replaces
4423 fortran-font-lock-syntactic-keywords.
4424 (fortran-mode): Use it.
4425 (fortran-line-length): Use it. Improve interactive spec.
4427 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4428 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4429 when adding surrounding \(..\).
4431 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4433 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4436 Use with-current-buffer.
4438 * isearch.el (isearch-face): Rename from `isearch'.
4439 (isearch-highlight): Use new name.
4441 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4443 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4444 5, for `half' width fringes. (Bug#6933)
4446 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4449 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4451 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4453 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4455 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4456 in calculating new frame position. Add more space between new and
4457 parent on the left (Bug#7048).
4459 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4461 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4464 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4466 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4468 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4469 obsolete alias for x-selection-value.
4471 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4473 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4475 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4478 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4480 * net/tramp-compat.el (tramp-compat-with-temp-message)
4481 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4482 (tramp-compat-process-put): New defuns.
4484 * net/tramp.el (top):
4485 * net/tramp-gvfs.el (top):
4486 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4488 * net/tramp.el (tramp-progress-reporter-update):
4489 Use `tramp-compat-funcall'.
4491 * net/tramp.el (tramp-process-actions):
4492 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4493 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4494 (tramp-get-remote-stat, tramp-get-remote-readlink):
4495 Use `tramp-compat-with-temp-message'.
4497 * net/tramp-sh.el (top): Require 'cl.
4498 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4499 (tramp-open-connection-setup-interactive-shell):
4500 Use `tramp-compat-process-put'.
4502 2010-09-15 Alan Mackenzie <acm@muc.de>
4504 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4506 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4508 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4511 `lexical' for warnings related to lexical scoping.
4512 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4513 global vars which don't have a prefix and could hence affect lexical
4514 scoping in unrelated files.
4516 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4518 * net/imap.el: Revert back to version
4519 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4522 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4524 * obsolete/old-whitespace.el (whitespace-unload-function):
4525 Explicitly pass `obarray' to `unintern' to avoid a warning.
4527 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4530 Add `when' argument. Update callers.
4532 * subr.el (unintern): Declare the obarray arg mandatory.
4534 2010-09-14 Glenn Morris <rgm@gnu.org>
4536 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4539 * calendar/diary-lib.el (diary-included-files): New variable.
4540 (diary-list-entries): Maybe initialize diary-included-files.
4541 (diary-include-other-diary-files): Append to diary-included-files.
4542 * calendar/appt.el (appt-update-list): Also check the members of
4543 diary-included-files. (Bug#6999)
4544 (appt-check): Doc fix.
4546 2010-09-14 David Reitter <david.reitter@gmail.com>
4548 * simple.el (line-move-visual): Do not truncate goal column to
4549 integer size. (Bug#7020)
4551 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * repeat.el (repeat): Allow repeating when the last event is a click.
4554 Suggested by Drew Adams (bug#6256).
4556 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4558 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4559 Replace setting HGRCPATH to "" by some less invasive --config options.
4561 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * font-lock.el (font-lock-beginning-of-syntax-function):
4566 2010-09-14 Glenn Morris <rgm@gnu.org>
4568 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4569 and tool-bar modes. (Bug#6211)
4570 (menu-bar-mode): Move setting of standard-value after the
4571 minor-mode definition, otherwise it seems to have no effect.
4573 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4575 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4576 Fix typo. (Bug#6976)
4578 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4580 * whitespace.el: Allow cleaning up blanks without blank
4581 visualization (Bug#6651). Adjust help window for
4582 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4583 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4584 (whitespace-style): Add new value 'face. Adjust docstring.
4585 (whitespace-space, whitespace-hspace, whitespace-tab):
4586 Adjust foreground property face.
4587 (whitespace-line-column): Adjust docstring and type declaration.
4588 (whitespace-style-value-list, whitespace-toggle-option-alist)
4589 (whitespace-help-text): Adjust const initialization.
4590 (whitespace-toggle-options, global-whitespace-toggle-options):
4592 (whitespace-display-window, whitespace-interactive-char)
4593 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4594 (whitespace-help-scroll): New fun.
4596 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4598 * calendar/time-date.el (format-seconds): Comment fix.
4600 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4602 * progmodes/sql.el: Version 2.7.
4603 (sql-buffer-live-p): Improve detection.
4604 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4605 (sql-set-sqli-buffer): Use it.
4606 (sql-product-interactive): Run `sql-set-sqli-hook'.
4607 (sql-rename-buffer): Code cleanup.
4608 (sql-redirect, sql-redirect-value): New functions. More to come.
4610 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4612 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.
4613 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4614 (TRAMP_SRC): New macro.
4615 ($(lisp)/net/tramp-loaddefs.el): New target.
4617 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4619 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4621 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4623 * net/tramp.el (top): Don't show loading message. Require just
4624 'tramp-compat, everything else is required there.
4625 Use `ignore-errors' where appropriate.
4626 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4627 (tramp-terminal-type, tramp-end-of-output)
4628 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4629 (tramp-completion-function-alist-ssh)
4630 (tramp-completion-function-alist-telnet)
4631 (tramp-completion-function-alist-su)
4632 (tramp-completion-function-alist-putty, tramp-remote-path)
4633 (tramp-remote-process-environment, tramp-sh-extra-args)
4634 (tramp-actions-before-shell, tramp-uudecode)
4635 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4636 (tramp-perl-file-attributes)
4637 (tramp-perl-directory-files-and-attributes)
4638 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4639 (tramp-perl-encode, tramp-perl-decode)
4640 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4641 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4642 (tramp-handle-make-symbolic-link, tramp-handle-load)
4643 (tramp-handle-file-name-as-directory)
4644 (tramp-handle-file-name-directory)
4645 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4646 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4647 (tramp-do-file-attributes-with-ls)
4648 (tramp-do-file-attributes-with-perl)
4649 (tramp-do-file-attributes-with-stat)
4650 (tramp-handle-set-visited-file-modtime)
4651 (tramp-handle-verify-visited-file-modtime)
4652 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4653 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4654 (tramp-handle-file-selinux-context)
4655 (tramp-handle-set-file-selinux-context)
4656 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4657 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4658 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4659 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4660 (tramp-handle-file-ownership-preserved-p)
4661 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4662 (tramp-handle-directory-files-and-attributes)
4663 (tramp-do-directory-files-and-attributes-with-perl)
4664 (tramp-do-directory-files-and-attributes-with-stat)
4665 (tramp-handle-file-name-all-completions)
4666 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4667 (tramp-handle-copy-file, tramp-handle-copy-directory)
4668 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4669 (tramp-do-copy-or-rename-file-via-buffer)
4670 (tramp-do-copy-or-rename-file-directly)
4671 (tramp-do-copy-or-rename-file-out-of-band)
4672 (tramp-handle-make-directory, tramp-handle-delete-directory)
4673 (tramp-handle-delete-file)
4674 (tramp-handle-dired-recursive-delete-directory)
4675 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4676 (tramp-handle-insert-directory)
4677 (tramp-handle-unhandled-file-name-directory)
4678 (tramp-handle-expand-file-name)
4679 (tramp-handle-substitute-in-file-name)
4680 (tramp-handle-executable-find, tramp-process-sentinel)
4681 (tramp-handle-start-file-process, tramp-handle-process-file)
4682 (tramp-handle-call-process-region, tramp-handle-shell-command)
4683 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4684 (tramp-handle-insert-file-contents)
4685 (tramp-handle-insert-file-contents-literally)
4686 (tramp-handle-find-backup-file-name)
4687 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4688 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4689 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4690 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4691 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4692 (tramp-find-file-exists-command, tramp-open-shell)
4693 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4694 (tramp-open-connection-setup-interactive-shell)
4695 (tramp-local-coding-commands, tramp-remote-coding-commands)
4696 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4697 (tramp-inline-compress-commands, tramp-find-inline-compress)
4698 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4699 (tramp-send-command, tramp-wait-for-output)
4700 (tramp-send-command-and-check, tramp-barf-unless-okay)
4701 (tramp-send-command-and-read, tramp-mode-string-to-int)
4702 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4703 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4704 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4705 (tramp-method-out-of-band-p, tramp-local-host-p)
4706 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4707 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4708 (tramp-get-test-command, tramp-get-test-nt-command)
4709 (tramp-get-file-exists-command, tramp-get-remote-ln)
4710 (tramp-get-remote-perl, tramp-get-remote-stat)
4711 (tramp-get-remote-readlink, tramp-get-remote-trash)
4712 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4713 (tramp-get-local-uid, tramp-get-local-gid)
4714 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4716 (tramp-methods, tramp-default-method-alist)
4717 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4718 Move initialization to tramp-sh.el.
4719 (tramp-temp-name-prefix): Make it a defconst.
4720 (tramp-dissect-file-name): Don't check anymore for multi-hop
4722 (tramp-debug-outline-regexp): Add a docstring.
4723 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4724 (tramp-get-debug-buffer): Use it.
4726 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4727 initialization forms.
4728 (tramp-set-connection-property): Don't protect `tramp-message'
4729 call, it isn't necessary any longer.
4730 (tramp-dump-connection-properties): Use `ignore-errors'.
4732 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4733 'password-cache and 'auth-source.
4735 * net/tramp-gvfs.el (top):
4736 * net/tramp-smb.el (top): Require 'tramp-sh.
4738 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4740 * net/tramp-sh.el: New file, derived from tramp.el.
4741 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4742 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4743 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4744 Use `ignore-errors' where appropriate.
4745 (tramp-sh-file-name-handler-alist): Rename from
4746 `tramp-file-name-handler-alist'.
4747 (tramp-send-command-and-check): Return t or nil. Remove all
4748 `zerop' checks, where called.
4749 (tramp-handle-set-file-modes)
4750 (tramp-do-copy-or-rename-file-directly)
4751 (tramp-handle-delete-directory, tramp-handle-delete-file)
4752 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4753 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4754 (tramp-get-remote-ln): Set tramp-autoload cookie.
4756 * net/tramp-fish.el: Remove file.
4758 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4760 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4761 buffer-file-name to avoid file-locking. (Bug#7026)
4763 2010-09-13 Julien Danjou <julien@danjou.info>
4765 * notifications.el (notifications-notify): Add support for
4766 image-path and sound-name.
4767 (notifications-specification-version): Add this variable.
4769 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4773 2010-09-12 Leo <sdl.web@gmail.com>
4775 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4776 (rcirc-completion-start): New variables.
4777 (rcirc-nick-completions): Rename to rcirc-completions.
4778 (rcirc-nick-completion-start-offset): Delete.
4779 (rcirc-completion-at-point): New function for constructing
4780 completion data for both nicks and irc commands. Add to
4781 completion-at-point-functions in rcirc mode.
4782 (rcirc-complete): Rename from rcirc-nick-complete; use
4783 rcirc-completion-at-point.
4784 (defun-rcirc-command): Update rcirc-client-commands.
4786 2010-09-11 Glenn Morris <rgm@gnu.org>
4788 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4789 atomically, to avoid parallel build errors. (Bug#4196)
4791 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4793 * progmodes/sql.el: Version 2.6
4794 (sql-dialect): Synonym for "sql-product".
4795 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4796 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4797 Set "sql-buffer" to buffer name not buffer object so multiple sql
4798 interactive buffers work properly. Reverts misguided changes in
4800 (sql-comint): Make sure different buffer name is used if "*SQL*"
4801 buffer is for a different product.
4802 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4804 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4805 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4806 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4807 Accept new buffer name or prompt for one.
4808 (sql-port): Default to zero.
4809 (sql-comint-mysql): Handle "sql-port" as a numeric.
4810 (sql-port-history): Delete unused variable.
4811 (sql-get-login): Default "sql-port" to a number.
4812 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4813 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4814 "sqlite3" executables.
4815 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4816 (sql-buffer-live-p): New function.
4817 (sql-mode-menu, sql-send-string): Use it.
4818 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4820 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4821 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4823 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4825 * net/netrc.el (netrc-credentials): New convenience function.
4827 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4830 to replace texinfo-font-lock-syntactic-keywords.
4831 (texinfo-mode): Use it.
4833 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4834 Use syntax-propertize-function.
4836 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4837 replace sgml-font-lock-syntactic-keywords.
4838 (sgml-mode): Use it.
4840 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4841 since we don't use it.
4843 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4845 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4847 (vhdl-fontify-buffer): Adjust.
4849 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4850 replace tcl-font-lock-syntactic-keywords.
4853 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4854 replace simula-font-lock-syntactic-keywords.
4855 (simula-mode): Use it.
4857 * progmodes/sh-script.el (sh-st-symbol): Remove.
4858 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4859 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4860 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4861 (sh-font-lock-paren): Set syntax-multiline.
4862 (sh-font-lock-syntactic-keywords): Remove.
4863 (sh-syntax-propertize-function): New function to replace it.
4866 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4867 Define while compiling.
4868 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4869 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4870 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4871 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4872 (ruby-here-doc-end-syntax): Only define when
4873 syntax-propertize is not available.
4874 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4876 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4877 (electric-indent-chars): Silence bytecompiler.
4878 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4879 electric-indent-chars.
4881 * progmodes/python.el (python-syntax-propertize-function): New var to
4882 replace python-font-lock-syntactic-keywords.
4883 (python-mode): Use it.
4884 (python-quote-syntax): Simplify and adjust to new use.
4886 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4887 replace perl-font-lock-syntactic-keywords.
4888 (perl-syntax-propertize-special-constructs): New fun to replace
4889 perl-font-lock-special-syntactic-constructs.
4890 (perl-font-lock-syntactic-face-function): New fun.
4891 (perl-mode): Use it.
4893 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4894 to replace octave-font-lock-close-quotes.
4895 (octave-syntax-propertize-function): New function to replace
4896 octave-font-lock-syntactic-keywords.
4897 (octave-mode): Use it.
4899 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4900 replaces mixal-font-lock-syntactic-keywords.
4901 (mixal-mode): Use it.
4903 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4904 New var; replaces makefile-font-lock-syntactic-keywords.
4905 (makefile-mode): Use it.
4906 (makefile-imake-mode): Adjust.
4908 * progmodes/js.el (js--regexp-literal): Define while compiling.
4909 (js-syntax-propertize-function): New var; replaces
4910 js-font-lock-syntactic-keywords.
4913 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4914 replaces gdb-script-font-lock-syntactic-keywords.
4915 (gdb-script-mode): Use it.
4917 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4918 (fortran--font-lock-syntactic-keywords): New var.
4919 (fortran-line-length): Update syntax-propertize-function and
4920 fortran--font-lock-syntactic-keywords.
4922 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4924 * progmodes/cfengine.el (cfengine-mode):
4925 Use syntax-propertize-function.
4926 (cfengine-font-lock-syntactic-keywords): Remove.
4928 * progmodes/autoconf.el (autoconf-mode):
4929 Use syntax-propertize-function.
4930 (autoconf-font-lock-syntactic-keywords): Remove.
4932 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4933 (ada-after-change-function, ada-initialize-syntax-table-properties)
4934 (ada-handle-syntax-table-properties): Only define when
4935 syntax-propertize is not available.
4936 (ada-mode): Use syntax-propertize-function.
4938 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4939 (font-lock-fontify-syntactic-keywords-region): Move handling of
4940 font-lock-syntactically-fontified to...
4941 (font-lock-default-fontify-region): ...here.
4942 Let syntax-propertize-function take precedence.
4943 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4945 * emacs-lisp/syntax.el (syntax-propertize-function)
4946 (syntax-propertize-chunk-size, syntax-propertize--done)
4947 (syntax-propertize-extend-region-functions): New vars.
4948 (syntax-propertize-wholelines, syntax-propertize-multiline)
4949 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4950 (syntax-propertize): New functions.
4951 (syntax-propertize-rules): New macro.
4952 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4953 (syntax-ppss): Call syntax-propertize.
4955 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4957 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4959 * textmodes/ispell.el (ispell-init-process): Improve comments.
4960 XEmacs compatibility changes regarding (add-hook) 'local option
4961 and (set-process-query-on-exit-flag).
4963 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4965 * net/tramp-cache.el (tramp-parse-connection-properties):
4966 Set tramp-autoload cookie.
4968 2010-09-09 Glenn Morris <rgm@gnu.org>
4970 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4971 (imagemagick-register-types): Doc fix.
4973 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4975 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4977 * progmodes/js.el (require): Require is already "eval-and-compile".
4978 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4979 (js--re-search-backward): Use js--re-search-forward.
4981 * progmodes/fortran.el (fortran-line-length): Don't recompute
4982 syntactic keywords redundantly a second time.
4984 * progmodes/ada-mode.el: Replace "(set '" with setq.
4985 (ada-mode): Simplify.
4986 (ada-create-case-exception, ada-adjust-case-interactive)
4987 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4988 (ada-search-ignore-string-comment, ada-move-to-start)
4989 (ada-move-to-end): Use with-syntax-table.
4991 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4992 (font-lock-unfontify-region, font-lock-default-fontify-region):
4993 Update usage correspondingly.
4994 (font-lock-fontify-syntactic-keywords-region):
4995 Set parse-sexp-lookup-properties buffer-locally here.
4996 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4998 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5000 2010-09-08 Glenn Morris <rgm@gnu.org>
5002 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5003 Error if not compiled with -DBYTE_CODE_METER.
5005 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5006 Ignore dir-locals-file.
5008 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5012 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5013 for the `gnu' messages.
5014 (compilation-set-skip-threshold): New command.
5015 (compilation-start): Use \' rather than $.
5016 (compilation-forget-errors): Use clrhash.
5018 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5020 * textmodes/ispell.el (ispell-valid-dictionary-list):
5023 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5025 Migrate to Tramp 2.2. Rearrange load dependencies.
5026 (Bug#1529, Bug#5448, Bug#5705)
5028 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5029 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5030 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5032 * net/tramp.el (top): Remove all other tramp-* loads except
5033 tramp-compat.el. Remove all changes to tramp-unload-hook for
5034 other tramp-* packages. Rearrange defun order. Change calls of
5035 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5036 `tramp-compat-octal-to-decimal' to new function names.
5037 (tramp-terminal-type, tramp-initial-end-of-output)
5038 (tramp-methods, tramp-foreign-file-name-handler-alist)
5039 (tramp-tramp-file-p, tramp-completion-mode-p)
5040 (tramp-send-command-and-check, tramp-get-remote-path)
5041 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5042 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5043 (with-file-property, with-connection-property): Move to
5045 (tramp-local-call-process, tramp-decimal-to-octal)
5046 (tramp-octal-to-decimal): Move to tramp-compat.el.
5047 (tramp-handle-shell-command): Do not require 'shell.
5048 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5050 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5052 * net/tramp-cache.el (top): Require 'tramp. Add to
5053 `tramp-unload-hook'.
5054 (tramp-cache-data, tramp-get-file-property)
5055 (tramp-set-file-property, tramp-flush-file-property)
5056 (tramp-flush-directory-property, tramp-get-connection-property)
5057 (tramp-set-connection-property, tramp-flush-connection-property)
5058 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5060 (with-file-property, with-connection-property): New defuns, moved
5062 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5065 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5066 (tramp-version): Set tramp-autoload cookie.
5068 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5069 changes to tramp-unload-hook for other tramp-* packages. Add to
5070 `tramp-unload-hook'.
5071 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5072 (tramp-compat-call-process): New defuns, moved from tramp.el.
5074 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5075 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5076 Add to `tramp-unload-hook'. Change call of
5077 `tramp-compat-decimal-to-octal' to new function name.
5078 (tramp-fish-method): Make it a defconst.
5079 (tramp-fish-file-name-p): Make it a defsubst.
5080 (tramp-fish-method, tramp-fish-file-name-handler)
5081 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5083 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5084 `tramp-foreign-file-name-handler-alist'. Add to
5085 `tramp-unload-hook'.
5086 (tramp-ftp-method): Make it a defconst.
5087 (tramp-ftp-file-name-p): Make it a defsubst.
5088 (tramp-ftp-method, tramp-ftp-file-name-handler)
5089 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5091 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5092 `tramp-foreign-file-name-handler-alist'. Add to
5093 `tramp-unload-hook'. Change checks, whether package can be
5095 (tramp-gvfs-file-name-p): Make it a defsubst.
5096 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5097 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5098 (tramp-gvfs-handle-file-directory-p): New defun.
5099 (tramp-gvfs-file-name-handler-alist): Use it.
5101 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5102 `tramp-foreign-file-name-handler-alist'. Add to
5103 `tramp-unload-hook'.
5104 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5105 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5107 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5108 (tramp-gw-open-connection): Set tramp-autoload cookie.
5110 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5111 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5112 Add to `tramp-unload-hook'. Change checks, whether package can be
5114 (tramp-imap-file-name-p): Make it a defsubst.
5115 (tramp-imap-method, tramp-imaps-method)
5116 (tramp-imap-file-name-handler)
5117 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5119 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5120 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5121 Add to `tramp-unload-hook'. Change checks, whether package can be
5122 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5124 (tramp-smb-tunnel-method): Make it a defconst.
5125 (tramp-smb-file-name-p): Make it a defsubst.
5126 (tramp-smb-method, tramp-smb-file-name-handler)
5127 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5129 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5130 (tramp-uuencode-region): Set tramp-autoload cookie.
5132 * net/trampver.el (top) Add to `tramp-unload-hook'.
5133 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5134 cookie. Update release number.
5136 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5138 * textmodes/ispell.el (ispell-start-process): Make sure original
5139 arg list is properly initialized (Bug#6993, Bug#6994).
5141 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5143 * files.el (directory-abbrev-alist): Use \` as default regexp.
5145 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5146 chars like - or ] (bug#6984).
5147 (rx-any-condense-range): Explode 2-char ranges.
5149 2010-09-06 Glenn Morris <rgm@gnu.org>
5151 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5153 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5155 * textmodes/bibtex.el:
5156 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5158 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5160 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5161 since no callers use it.
5162 (imap-message-get): Ditto.
5163 (imap-message-put): Ditto.
5164 (imap-mailbox-map): Ditto.
5165 (imap-mailbox-put): Ditto.
5166 (imap-mailbox-get): Ditto.
5167 (imap-mailbox-get): Revert last change for this function.
5169 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5171 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5172 callers to use `imap-fetch' instead. According to the comments, this
5173 should be safe, since all other IMAP clients use the 1:* syntax.
5174 (imap-enable-exchange-bug-workaround): Remove.
5175 (imap-debug): Remove -- doesn't seem very useful.
5177 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5179 * net/imap.el (imap-log): New convenience function used throughout
5180 instead of repeating the same code all over the place.
5182 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5184 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5185 when mouse-drag-copy-region is non-nil (Bug#6956).
5187 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5189 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5190 Improve regexps (Bug#6987).
5191 (dired-sort-toggle): Search more robustly for -t flag.
5193 * files.el (get-free-disk-space): Search more robustly for
5194 "available" column. Suggested by Ehud Karni
5195 <ehud@unix.mvs.co.il>.
5197 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5199 * international/uni-bidi.el:
5200 * international/uni-category.el:
5201 * international/uni-combining.el:
5202 * international/uni-decimal.el:
5203 * international/uni-mirrored.el:
5204 * international/uni-name.el: Regenerate.
5206 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * electric.el (electric-indent-post-self-insert-function):
5209 Don't reindent with a sloppy indentation function.
5211 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5212 border case in change-log-mode.
5214 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5217 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5218 Recognize leading tab in gcc-include regexp. Ignore names with
5219 leading "from" or "in" in gnu regexp (Bug#6937).
5221 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5223 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5224 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5225 (ispell-start-process): Avoid setq and simplify logic.
5226 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5227 (kill-buffer-hook): Don't use it globally with code that uses
5228 expand-file-name since that may call kill-buffer via
5229 code_conversion_restore.
5231 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5233 * emacs-lisp/package.el (package-directory-list): Only call
5234 file-name-nondirectory on a string.
5236 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5238 * emacs-lisp/package.el (package--download-one-archive):
5239 Ensure that archive-contents is valid before saving it.
5240 (package-activate-1, package-mark-obsolete, define-package)
5241 (package-compute-transaction, package-list-maybe-add): Use push.
5243 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5245 Use SMIE's blink-paren for octave-mode.
5246 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5247 Backslashes do not escape single-quotes, single-quotes do.
5248 (octave-block-else-regexp, octave-block-end-regexp)
5249 (octave-block-match-alist): Remove.
5250 (octave-smie-bnf-table): New var, with old content.
5251 (octave-smie-op-levels): Use it.
5252 (octave-smie-closer-alist): New var.
5253 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5254 (octave-blink-matching-block-open): Remove.
5255 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5256 (octave-electric-space): Let self-insert-command run expand-abbrev and
5259 * electric.el (electricity): New group.
5260 (electric-indent-chars): New var.
5261 (electric-indent-post-self-insert-function): New fun.
5262 (electric-indent-mode): New minor mode.
5263 (electric-pair-skip-self): New custom.
5264 (electric-pair-post-self-insert-function): New function.
5265 (electric-pair-mode): New minor mode.
5267 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5268 calcAlg-blink-matching-open.
5269 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5270 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5271 Use the new blink-matching-check-function.
5273 Provide blink-matching support to SMIE.
5274 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5275 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5276 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5278 * simple.el (newline): Fix last change to properly remove itself from
5281 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * simple.el (newline): Eliminate optimization.
5284 Use post-self-insert-hook to set hard-newline and things before
5285 running post-self-insert-hook.
5286 (blink-matching-check-mismatch): New function.
5287 (blink-matching-check-function): New variable.
5288 (blink-matching-open): Use them.
5289 Skip back forward over prefix chars skipped by forward-sexp.
5290 Don't check if the parens are backslash escaped.
5291 (blink-paren-post-self-insert-function): Check backslash escaping here.
5293 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5295 * emacs-lisp/package.el (package-menu-mode-map):
5296 Change package-menu-revert bindings to revert-buffer.
5297 (package-menu-mode): Set revert-buffer-function.
5298 (package-menu-revert): Doc fix.
5300 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5302 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5303 `default-directory' unless using Ispell per-directory personal
5304 dictionaries and not in a mini-buffer under XEmacs.
5305 (kill-buffer-hook): Do not kill ispell process on exit when
5306 `ispell-process-directory' is "~/". (Bug#6143)
5308 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5310 * simple.el (kill-new): Call interprogram-cut-function with only
5313 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5314 Remove cut buffer from error message.
5316 * term/x-win.el (x-select-text):
5317 * term/pc-win.el (x-selection-value):
5318 * term/ns-win.el (x-selection-value):
5319 * eshell/em-term.el:
5320 * w32-fns.el (x-get-selection-value):
5321 * mouse-sel.el (mouse-sel-set-selection-function):
5322 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5324 * term/x-win.el: Update documentation for x-last-selected-text-*.
5325 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5326 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5327 (x-select-text): Remove argument PUSH, update documentation.
5328 Remove cut-buffer code.
5329 (x-selection-value-internal): Was previously x-selection-value.
5330 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5331 Update documentation, remove cut-buffer code.
5332 Call x-selection-value-internal.
5333 (x-clipboard-yank): Call x-selection-value-internal.
5334 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5336 * term/pc-win.el (x-last-selected-text):
5337 x-cut-buffer-or-selection-value renamed to x-selection-value
5338 (x-select-text): Remove argument PUSH, update documentation.
5340 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5341 x-cut-buffer-or-selection-value renamed to x-selection-value
5342 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5343 (x-select-text): Remove argument PUSH, update documentation.
5345 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5347 * w32-fns.el (x-last-selected-text):
5348 x-cut-buffer-or-selection-value renamed to x-selection-value.
5349 (x-cut-buffer-max): Remove.
5350 (x-select-text): Remove argument PUSH, update documentation.
5352 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5354 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5356 * mouse-sel.el (mouse-sel-get-selection-function):
5357 x-cut-buffer-or-selection-value renamed to x-selection-value.
5358 (x-select-text): Remove optional push.
5360 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5362 * simple.el (blink-paren-function): Move from C to here.
5363 (blink-paren-post-self-insert-function): New function.
5364 (post-self-insert-hook): Use it.
5366 * emacs-lisp/pcase.el (pcase-split-memq):
5367 Fix overenthusiastic optimisation.
5368 (pcase-u1): Handle the case of a lambda pred.
5370 2010-08-31 Kenichi Handa <handa@m17n.org>
5372 * international/mule-cmds.el (standard-display-european-internal):
5373 Setup standard-display-table for 8-bit characters by storing 8-bit
5374 characters in the element vector.
5376 * disp-table.el (standard-display-8bit):
5377 Setup standard-display-table for 8-bit characters by storing 8-bit
5378 characters in the element vector.
5379 (standard-display-european): Likewise.
5381 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5383 * textmodes/nroff-mode.el (nroff-view): New command.
5384 (nroff-mode-map): Bind it to C-c C-c.
5386 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * emacs-lisp/smie.el (smie-down-list): New command.
5390 Remove old indentation and navigation code on octave-mode.
5391 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5392 smie-down-list rather than add a binding for octave-down-block.
5393 (octave-mark-block, octave-blink-matching-block-open):
5394 Rely on forward-sexp-function.
5395 (octave-fill-paragraph): Don't narrow, so you can use
5396 indent-according-to-mode.
5397 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5398 (octave-in-block-p, octave-re-search-forward-kw)
5399 (octave-re-search-backward-kw, octave-indent-calculate)
5400 (octave-end-as-array-index-p, octave-block-end-offset)
5401 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5402 (octave-down-block, octave-backward-up-block, octave-up-block)
5403 (octave-before-magic-comment-p, octave-indent-line): Remove.
5405 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5407 * emacs-lisp/package.el (package--read-archive-file): Just use
5408 `read', to avoid copying an additional string.
5409 (package-menu-mode): Set header-line-format here.
5410 (package-menu-refresh, package-menu-revert): Signal an error if
5411 not in the Package Menu.
5412 (package-menu-package-list): New var.
5413 (package--generate-package-list): Operate on the current buffer;
5414 don't assume that it is *Packages*, since the user may rename it.
5415 Allow persistent package listings and sort keys using
5416 package-menu-package-list and package-menu-package-sort-key.
5417 (package-menu--version-predicate): Fix version calculation.
5418 (package-menu-sort-by-column): Don't select the window.
5419 (package--list-packages): Create the *Packages* buffer.
5420 Set package-menu-package-list-key.
5421 (list-packages): Sorting by status is now the default.
5422 (package-buffer-info): Use match-string-no-properties.
5423 (define-package): Add a &rest argument for future proofing, but
5425 (package-install-from-buffer, package-install-buffer-internal):
5426 Merge into a single function, package-install-from-buffer.
5427 (package-install-file): Change caller.
5429 * finder.el: Load finder-inf using `require'.
5430 (finder-list-matches): Sorting by status is now the default.
5431 (finder-compile-keywords): Simpify printing.
5433 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5436 (octave-mode-map): Remove special bindings for forward/backward-block
5437 and octave-backward-up-block. Use smie-close-block.
5438 (octave-continuation-marker-regexp): New var.
5439 (octave-continuation-regexp): Use it.
5440 (octave-operator-table, octave-smie-op-levels)
5441 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5442 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5443 (octave-mode): Use SMIE.
5444 (octave-close-block): Delete.
5446 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5448 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5449 CLIPBOARD, not in PRIMARY. (Bug#6944)
5451 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5455 (smie-indent-column): Allow indirection through variables.
5457 * composite.el (save-buffer-state): Delete, unused.
5458 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5459 (font-lock-default-fontify-region): Use with-syntax-table.
5460 * jit-lock.el (with-buffer-unmodified): Remove.
5461 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5463 Use `declare' in defmacros.
5464 * window.el (save-selected-window):
5465 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5466 * progmodes/python.el (def-python-skeleton):
5467 * net/dbus.el (dbus-ignore-errors):
5468 * jka-cmpr-hook.el (with-auto-compression-mode):
5469 * international/mule.el (with-category-table):
5470 * emacs-lisp/timer.el (with-timeout):
5471 * emacs-lisp/lisp-mnt.el (lm-with-file):
5472 * emacs-lisp/eieio.el (with-slots):
5473 * emacs-lisp/easymenu.el (easy-menu-define):
5474 * emacs-lisp/debug.el (debugger-env-macro):
5475 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5476 (Multiple-value-call, Multiple-value-prog1):
5477 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5478 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5479 edebug rule to definition.
5480 * emacs-lisp/lisp-mode.el (save-selected-window)
5481 (with-current-buffer, combine-after-change-calls)
5482 (with-output-to-string, with-temp-file, with-temp-buffer)
5483 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5484 (dolist, dotimes, when, unless):
5485 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5487 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5489 * finder.el: Require `package'.
5490 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5491 (finder-package-info): Var deleted.
5492 (finder-keywords-hash, finder--builtins-alist): New vars.
5493 (finder-compile-keywords): Compute package--builtins and
5494 finder-keywords-hash instead of finder-keywords-hash, respecting
5495 the "Package" header.
5496 (finder-unknown-keywords, finder-list-matches):
5497 Use finder-keywords-hash and package--list-packages.
5498 (finder-mode): Don't set font-lock-defaults.
5499 (finder-exit): We don't use "*Finder-package*" and "*Finder
5500 Category*" buffers anymore.
5502 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5503 (package--builtins): Set default value to nil.
5504 (package-initialize): Load precomputed value of package--builtins
5506 (package-alist, package-compute-transaction)
5507 (package-download-transaction): Improve docstring.
5508 (package-read-all-archive-contents): Do not change
5509 package--builtins here.
5510 (list-packages): Make package-list-packages an alias for this.
5511 Sort by status by default.
5512 (package--list-packages): Add optional PACKAGES arg.
5513 (describe-package-1): Use font-lock-face property. For built-in
5514 packages, insert file commentary.
5515 (package--generate-package-list): Rename from
5516 package-list-packages-internal; all callers changed. Add optional
5517 PACKAGES arg. Add alphabetical sort fallbacks.
5518 (package-menu--version-predicate, package-menu--status-predicate)
5519 (package-menu--description-predicate)
5520 (package-menu--name-predicate): New functions.
5522 * info.el (Info-finder-find-node): Search package-alist instead of
5523 finder-package-info.
5525 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5527 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5529 (version-to-list): Handle versions like "10.3d".
5531 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5534 (macroexp-accumulate): Use `declare'.
5536 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5538 * whitespace.el (whitespace-style): Adjust type declaration.
5540 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5542 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5543 empty argument to gvfs-copy.
5545 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5547 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5548 handle new TRASH arg of `delete-file'.
5550 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5552 * net/tramp.el (tramp-handle-insert-directory): Don't use
5553 `forward-word', its default syntax could be changed.
5555 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5556 Michael Albinus <michael.albinus@gmx.de>
5558 Implement compression for inline methods.
5560 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5561 (tramp-copy-size-limit): Allow also nil.
5562 (tramp-inline-compress-commands): New defconst.
5563 (tramp-find-inline-compress, tramp-get-inline-compress)
5564 (tramp-get-inline-coding): New defuns.
5565 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5566 replaced by `tramp-get-inline-coding'.
5567 (tramp-handle-file-local-copy, tramp-handle-write-region)
5568 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5570 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5572 Detect ssh 'ControlMaster' argument automatically in some cases.
5574 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5575 (tramp-default-method): Use it.
5577 2010-08-26 Karel Klíč <kklic@redhat.com>
5579 * net/tramp.el (tramp-file-name-for-operation):
5580 Add file-selinux-context.
5582 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5584 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5586 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5588 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5591 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5593 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5594 (js-paren-indent-offset, js-square-indent-offset)
5595 (js-curly-indent-offset): New options.
5596 (js--proper-indentation): Use them.
5598 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5600 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5601 instead of inspecting font-lock properties (Bug#6916).
5603 2010-08-26 David Reitter <david.reitter@gmail.com>
5605 * server.el (server-visit-files): Run pre-command-hook and
5606 post-command-hook for each buffer while it is current (Bug#6910).
5607 (server-execute): Do not run hooks here.
5609 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5611 Sync with Tramp 2.1.19.
5613 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5614 (tramp-reporter-dump-variable, tramp-load-report-modules)
5615 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5616 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5618 * net/tramp-compat.el (top): Do not autoload
5619 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5620 only when `start-file-process' is not bound.
5621 (byte-compile-not-obsolete-vars): Define if not bound.
5622 (tramp-compat-funcall): New defmacro.
5623 (tramp-compat-line-beginning-position)
5624 (tramp-compat-line-end-position)
5625 (tramp-compat-temporary-file-directory)
5626 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5627 (tramp-compat-copy-file, tramp-compat-copy-directory)
5628 (tramp-compat-delete-file, tramp-compat-delete-directory)
5629 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5631 (tramp-advice-file-expand-wildcards): Do not use
5632 `tramp-handle-file-remote-p'.
5633 (tramp-compat-make-temp-file): Simplify fallback implementation.
5634 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5635 (tramp-compat-copy-tree): Remove function.
5636 (tramp-compat-delete-file): New defun.
5637 (tramp-compat-delete-directory): Provide implementation for older
5639 (tramp-compat-file-attributes): Handle only
5640 `wrong-number-of-arguments' error.
5642 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5643 Add PRESERVE_SELINUX_CONTEXT.
5644 (tramp-fish-handle-delete-file): Add TRASH arg.
5645 (tramp-fish-handle-directory-files-and-attributes):
5646 Do not use `tramp-fish-handle-file-attributes.
5647 (tramp-fish-handle-file-local-copy)
5648 (tramp-fish-handle-insert-file-contents)
5649 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5651 * net/tramp-gvfs.el (top): Require url-util.
5652 (tramp-gvfs-mount-point): Remove.
5653 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5654 and `set-file-selinux-context'.
5655 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5656 (tramp-gvfs-handle-file-selinux-context)
5657 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5658 (with-tramp-dbus-call-method): Format trace message.
5659 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5660 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5661 Implement backup call, when operation on local files fails.
5662 Use progress reporter. Flush properties of changed files.
5663 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5664 Use `tramp-compat-delete-file'.
5665 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5666 (tramp-gvfs-handle-make-directory): Make more traces.
5667 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5668 (tramp-gvfs-url-file-name): Hexify file name in url.
5669 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5670 into account for the resulting file name.
5671 (tramp-gvfs-handler-askquestion): Preserve current message, in
5672 order to let progress reporter continue afterwards. (Bug#6257)
5673 Return dummy mountpoint, when the answer is "no".
5674 See `tramp-gvfs-maybe-open-connection'.
5675 (tramp-gvfs-handler-mounted-unmounted)
5676 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5677 attribute "default_location". Set "prefix" property.
5678 Handle default-location.
5679 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5680 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5681 exists. Raise an error, if not (due to a corresponding answer
5682 "no" in interactive questions, for example).
5683 Use `tramp-compat-funcall'.
5685 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5686 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5687 (tramp-imap-do-copy-or-rename-file)
5688 (tramp-imap-handle-insert-file-contents)
5689 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5690 (tramp-imap-handle-delete-file): Add TRASH arg.
5692 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5693 Add PRESERVE-SELINUX-CONTEXT.
5694 (tramp-smb-handle-copy-file)
5695 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5696 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5697 Use `with-progress-reporter'.
5698 (tramp-smb-handle-delete-file): Add TRASH arg.
5700 * net/tramp.el (tramp-methods): Move hostname to the end in all
5701 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5703 (tramp-verbose): Describe verbose level 9.
5704 (tramp-completion-function-alist)
5705 (tramp-file-name-regexp, tramp-chunksize)
5706 (tramp-local-coding-commands, tramp-remote-coding-commands)
5707 (with-connection-property, tramp-completion-mode-p)
5708 (tramp-action-process-alive, tramp-action-out-of-band)
5709 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5710 (tramp-exists-file-name-handler): Fix docstring.
5711 (tramp-remote-process-environment): Use `format' instead of
5712 `concat'. Protect version string by apostroph.
5713 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5715 (tramp-file-name-regexp-unified)
5716 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5717 not regard the volume letter as remote filename. (Bug#5447)
5718 (tramp-perl-file-attributes)
5719 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5720 (tramp-vc-registered-read-file-names): Read input as
5721 here-document, otherwise the command could exceed maximum length
5723 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5724 `set-file-selinux-context'.
5725 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5726 backtrace functions.
5727 (tramp-error-with-buffer): Don't show the connection buffer when
5728 we are in completion mode.
5729 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5730 (tramp-handle-file-selinux-context)
5731 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5732 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5734 (with-progress-reporter): New defmacro.
5735 (tramp-debug-outline-regexp): New defconst.
5736 (top, tramp-rfn-eshadow-setup-minibuffer)
5737 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5738 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5739 (tramp-completion-mode-p, tramp-check-for-regexp)
5740 (tramp-open-connection-setup-interactive-shell)
5741 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5742 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5743 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5744 Use `tramp-compat-funcall'.
5745 (tramp-handle-make-symbolic-link): Flush file properties.
5746 (tramp-handle-load, tramp-handle-file-local-copy)
5747 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5748 (tramp-handle-vc-registered, tramp-maybe-send-script)
5749 (tramp-find-shell): Use `with-progress-reporter'.
5750 (tramp-do-file-attributes-with-stat): Add space in format string,
5751 in order to work around a bug in pdksh. Reported by Gilles Pion
5753 (tramp-handle-verify-visited-file-modtime): Do not send a command
5754 when the connection is not established.
5755 (tramp-handle-set-file-times): Simplify the check for utc.
5756 (tramp-handle-directory-files-and-attributes)
5757 (tramp-get-remote-path): Use `copy-tree'.
5758 (tramp-completion-handle-file-name-all-completions): Ensure, that
5759 non remote files are still checked. Oops.
5760 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5761 Handle PRESERVE-SELINUX-CONTEXT.
5762 (tramp-do-copy-or-rename-file): Add progress reporter.
5763 (tramp-do-copy-or-rename-file-directly): Do not use
5764 `tramp-handle-file-remote-p'.
5765 (tramp-do-copy-or-rename-file-out-of-band):
5766 Use `tramp-compat-delete-directory'.
5767 (tramp-do-copy-or-rename-file-out-of-band)
5768 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5769 Use `format-spec-make'.
5770 (tramp-handle-delete-file): Add TRASH arg.
5771 (tramp-handle-dired-uncache): Flush directory cache, not only file
5773 (tramp-handle-expand-file-name)
5774 (tramp-completion-handle-file-name-all-completions)
5775 (tramp-completion-handle-file-name-completion):
5776 Use `tramp-connectable-p'.
5777 (tramp-handle-start-file-process): Set connection property "vec".
5778 Use it, in order to invalidate file caches. Check only for
5779 `remote-tty' process property.
5780 Implement tty setting. (Bug#4604, Bug#6360)
5781 (tramp-file-name-for-operation): Add `call-process-region' and
5782 `set-file-selinux-context'.
5783 (tramp-find-foreign-file-name-handler)
5784 (tramp-advice-make-auto-save-file-name)
5785 (tramp-set-auto-save-file-modes): Remove superfluous check for
5786 `stringp'. This is done inside `tramp-tramp-file-p'.
5787 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5788 operations when we are in completion mode. This gives the user
5789 the chance to correct the file name in the minibuffer.
5790 (tramp-completion-mode-p): Use `non-essential'.
5791 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5792 compatibility: Use `completion-ignore-case' if
5793 `read-file-name-completion-ignore-case' does not exist.
5794 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5795 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5797 (tramp-action-password): Hide password prompt before next run.
5798 (tramp-process-actions): Widen connection buffer for the trace.
5799 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5800 process property. Trace stty settings if `tramp-verbose' >= 9.
5801 Apply workaround for IRIX64 bug. Move argument of last
5802 `tramp-send-command' where it belongs to.
5803 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5804 front of `login-args'.
5805 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5806 on "/dev/null" instead of "/".
5807 (tramp-get-ls-command-with-dired): Make test for "--dired"
5809 (tramp-set-auto-save-file-modes): Adapt version check.
5810 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5811 (tramp-handle-process-file): Call the program in a subshell, in
5812 order to preserve working directory.
5813 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5814 `tramp-remote-sh' from `tramp-methods'.
5815 (tramp-get-ls-command): Make test for "--color=never" stronger.
5816 (tramp-check-for-regexp): Use (forward-line 1).
5818 * net/trampver.el: Update release number.
5820 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5822 * help.el (help-map): Bind `C-h P' to describe-package.
5824 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5826 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5827 when downloading archives.
5828 (describe-package-1): Add package commentary.
5829 (package-install-button-action): New function.
5830 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5831 (package-menu-view-commentary): Function removed.
5832 (package-list-packages-internal): Hide the `package' package too.
5834 2010-08-25 Kenichi Handa <handa@m17n.org>
5836 * language/misc-lang.el ("Arabic"): New language environment.
5837 Setup composition-function-table for Arabic characters.
5839 * international/fontset.el (setup-default-fontset): Fix typo for
5840 arabic OTF spec (fini->fina).
5842 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5844 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5847 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5849 * whitespace.el: Allow cleaning up blanks without blank
5850 visualization (Bug#6651). Adjust help window for
5851 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5852 instead of whitespace-line-column (from EmacsWiki). New version
5854 (whitespace-style): Add new value 'face. Adjust docstring.
5855 (whitespace-space, whitespace-hspace, whitespace-tab):
5856 Adjust foreground property face.
5857 (whitespace-line-column): Adjust docstring and type declaration.
5858 (whitespace-style-value-list, whitespace-toggle-option-alist)
5859 (whitespace-help-text): Adjust const initialization.
5860 (whitespace-toggle-options, global-whitespace-toggle-options):
5862 (whitespace-display-window, whitespace-interactive-char)
5863 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5864 (whitespace-help-scroll): New fun.
5866 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5868 * emacs-lisp/package.el (list-packages): Alias for
5869 package-list-packages.
5871 2010-08-24 Kevin Ryde <user42@zip.com.au>
5873 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5876 * progmodes/ruby-mode.el (ruby): Add defgroup.
5878 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5880 * progmodes/python.el: Add Ipython support (Bug#5390).
5881 (python-shell-prompt-alist)
5882 (python-shell-continuation-prompt-alist): New options.
5883 (python--set-prompt-regexp): New function.
5884 (inferior-python-mode, run-python, python-shell):
5885 Require ansi-color. Use python--set-prompt-regexp to set the comint
5886 prompt based on the Python interpreter.
5887 (python--prompt-regexp): New var.
5888 (python-check-comint-prompt)
5889 (python-comint-output-filter-function): Use it.
5890 (run-python): Use a pipe (Bug#5694).
5892 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5894 * progmodes/python.el (python-send-region): Send a different
5895 Python command if Ipython is in use.
5896 (python-check-version): Use a Python command to find the version.
5898 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5900 * mouse.el (mouse-yank-primary): Avoid setting primary when
5901 deactivating the mark (Bug#6872).
5903 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5905 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5906 with "else" (Bug#3991).
5908 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5910 * net/dbus.el: Accept UNIX domain sockets as bus address.
5911 (top): Don't initialize `dbus-registered-objects-table' anymore,
5912 this is done in dbusbind,c.
5913 (dbus-check-event): Adapt test for bus.
5914 (dbus-return-values-table, dbus-unregister-service)
5915 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5918 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5920 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5922 2010-08-22 Juri Linkov <juri@jurta.org>
5924 * simple.el (read-extended-command): New function with the logic
5925 for `completing-read' moved to Elisp from `execute-extended-command'.
5926 Use `function-called-at-point' in `minibuffer-default-add-function'
5927 to get a command name for M-n (bug#5364, bug#5214).
5929 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5931 * startup.el (command-line-1): Issue warning for ignored arguments
5932 --unibyte, etc (Bug#6886).
5934 2010-08-22 Leo <sdl.web@gmail.com>
5936 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5937 (ignore, bright, dim, keyword): Split list of nicknames before
5938 passing to rcirc-add-or-remove (Bug#6894).
5940 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5942 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5944 2010-08-22 Leo <sdl.web@gmail.com>
5946 Fix buffer-list rename&refresh after killing a buffer in ido.
5947 * ido.el: Revert Óscar's.
5948 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5949 Remember the buffers at head, rather than their name.
5950 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5952 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5953 Stefan Monnier <monnier@iro.umontreal.ca>
5955 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5956 extra backslash added to each line (bug#6890).
5958 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5960 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5962 2010-08-22 Glenn Morris <rgm@gnu.org>
5964 * menu-bar.el (menu-bar-games-menu): Add landmark.
5966 2010-08-22 Glenn Morris <rgm@gnu.org>
5968 * align.el (align-regexp): Make group and spacing arguments
5969 use the interactive defaults when non-interactive. (Bug#6698)
5971 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5972 expansion, so as not to need sendmail.
5973 (mail-text-start): Remove declaration.
5974 (rmail-retry-failure): Require sendmail.
5976 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5978 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5980 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5982 * progmodes/flymake.el (flymake-start-syntax-check-process):
5983 Use `start-file-process' in order to let it run also on remote hosts.
5985 2010-08-22 Kenichi Handa <handa@m17n.org>
5987 * files.el: Add `word-wrap' as safe local variable.
5989 2010-08-22 Glenn Morris <rgm@gnu.org>
5991 * woman.el (woman-translate): Case matters. (Bug#6849)
5993 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5995 * simple.el (kill-region): Doc fix (Bug#6787).
5997 2010-08-22 Glenn Morris <rgm@gnu.org>
5999 * calendar/diary-lib.el (diary-header-line-format):
6000 Fit it to the window, not the frame.
6002 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6004 * subr.el (ignore-errors): Add debug declaration.
6006 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6008 * whitespace.el (whitespace-color-off): Remove post-command-hook
6011 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6015 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6017 * cus-edit.el (custom-group-value-create): Add extra newline
6018 before end line (Bug#6876).
6020 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6022 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6023 when extending it. Before killing on the second click, check if
6024 the buffer is the correct one. Doc fix.
6025 (mouse-secondary-save-then-kill): Allow usage without first
6026 calling mouse-start-secondary, by defaulting to point. Don't save
6027 an empty secondary selection. Doc fix.
6029 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6031 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6032 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6034 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6035 Adjust initialization.
6036 (whitespace-bob-marker, whitespace-eob-marker)
6037 (whitespace-buffer-changed): New vars.
6038 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6039 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6040 (whitespace-post-command-hook, whitespace-display-char-on):
6042 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6043 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6045 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * files.el (locate-file-completion-table): Only list the .el and .elc
6048 extensions if there's no other choice (bug#5955).
6050 * facemenu.el (facemenu-self-insert-data): New var.
6051 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6053 (facemenu-add-face): Use them.
6055 * simple.el (blink-matching-open): Obey forward-sexp-function.
6057 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6059 * simple.el (prog-mode-map): New var.
6060 (prog-indent-sexp): New command.
6062 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6064 * progmodes/prolog.el (smie): Require.
6066 * emacs-lisp/smie.el (smie-default-backward-token)
6067 (smie-default-forward-token): Strip properties.
6068 (smie-next-sexp): Be more careful with associative operators.
6069 (smie-forward-sexp-command): Generalize.
6070 (smie-backward-sexp-command): Simplify.
6071 (smie-closer-alist): New var.
6072 (smie-close-block): New command.
6073 (smie-indent-debug-log): New var.
6074 (smie-indent-offset-rule): Add a few more cases.
6075 (smie-indent-column): New function.
6076 (smie-indent-after-keyword): Use it.
6077 (smie-indent-keyword): Use it.
6078 Fix up the opener code's point position.
6079 (smie-indent-comment): Only applies at BOL.
6080 (smie-indent-debug): New command.
6082 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6083 declarations that are useful before running the macro.
6085 2010-08-18 Joakim Verona <joakim@verona.se>
6087 * image.el (imagemagick-types-inhibit): New variable.
6088 (imagemagick-register-types): New function.
6089 * image-mode.el (image-transform-properties): New function.
6090 (image-transform-set-scale, image-transform-fit-to-height)
6091 (image-transform-set-rotation, image-transform-set-resize)
6092 (image-transform-fit-to-width, image-transform-fit-to-height):
6094 (image-toggle-display-image): Support image transforms.
6096 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6098 * image.el (create-animated-image): Don't add heuristic mask to image
6101 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6103 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6104 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6106 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6110 Font-lock '...' strings, plus various simplifications and fixes.
6111 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6112 (octave-font-lock-close-quotes): New function.
6113 (octave-font-lock-syntactic-keywords): New var.
6114 (octave-mode): Use it. Set beginning-of-defun-function.
6115 (octave-mode-map): Don't override the <foo>-defun commands.
6116 (octave-mode-menu): Pass it directly to easy-menu-define;
6117 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6118 (octave-block-match-alist): Fix up last change so that
6119 octave-close-block uses the more specific keyword.
6120 (info-lookup-mode): Silence byte-compiler.
6121 (octave-beginning-of-defun): Not interactive any more.
6123 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6124 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6125 (octave-completion-at-point-function): Make sure point is within
6127 (octave-reindent-then-newline-and-indent):
6128 Use reindent-then-newline-and-indent.
6129 (octave-add-octave-menu): Remove.
6131 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6133 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6134 (report-emacs-bug-can-use-xdg-email): New functions.
6135 (report-emacs-bug): Set can-xdg-email to result of
6136 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6137 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6140 * net/browse-url.el (browse-url-default-browser): Add cond
6141 for browse-url-xdg-open.
6142 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6144 2010-08-17 Glenn Morris <rgm@gnu.org>
6146 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6147 (c-fontify-recorded-types-and-refs): Define for compiler.
6148 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6151 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6154 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6156 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6158 (tramp-handle-process-file): Call the program in a subshell, in
6159 order to preserve working directory.
6160 (tramp-action-password): Hide password prompt before next run.
6161 (tramp-process-actions): Widen connection buffer for the trace.
6163 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6165 * net/rcirc.el (rcirc-log-process-buffers): New option.
6166 (rcirc-print): Use it.
6167 (rcirc-generate-log-filename): New function.
6168 (rcirc-log-filename-function): Change default to
6169 rcirc-generate-log-filename (Bug#6828).
6171 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6173 * simple.el (deactivate-mark): If select-active-regions is `only',
6174 only set selection for temporarily active regions.
6176 * cus-start.el: Change defcustom for select-active-regions.
6178 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6180 * mouse.el (mouse--drag-set-mark-and-point): New function.
6181 (mouse-drag-track): Use LOCATION arg to push-mark.
6182 Use mouse--drag-set-mark-and-point to take click-count into
6183 consideration when updating point and mark (Bug#6840).
6185 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6188 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6190 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6192 * font-lock.el (lisp-font-lock-keywords-2):
6193 Add combine-after-change-calls, condition-case-no-debug,
6194 with-demoted-errors, and with-silent-modifications (Bug#6025).
6196 2010-08-14 Kevin Ryde <user42@zip.com.au>
6198 * emacs-lisp/copyright.el (copyright-update-year)
6199 (copyright-update): Temporary switch-to-buffer to ensure the
6200 buffer change being queried is visible (Bug#5394).
6202 2010-08-14 Tom Tromey <tromey@redhat.com>
6204 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6207 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6209 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6212 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6214 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6215 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6216 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6217 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6218 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6219 Call menu-bar-set-tool-bar-position.
6221 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6224 comment style (bug#6834).
6225 * progmodes/scheme.el (scheme-mode-syntax-table):
6226 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6227 "b" flag in "' 14b" syntax.
6229 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6230 for (un)commenting the region and performing completion.
6231 (octave-mode-menu): Use standard commands for help and completion.
6232 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6233 (octave-mode): Use define-derived-mode.
6234 Set completion-at-point-functions and don't set columns.
6235 Don't disable adaptive-fill-regexp.
6236 (octave-describe-major-mode, octave-comment-region)
6237 (octave-uncomment-region, octave-comment-indent)
6238 (octave-indent-for-comment): Remove.
6239 (octave-indent-calculate): Rename from calculate-octave-indent.
6240 (octave-indent-line, octave-fill-paragraph): Update caller.
6241 (octave-initialize-completions): No need to make an alist.
6242 (octave-completion-at-point-function): New function.
6243 (octave-complete-symbol): Use it.
6244 (octave-insert-defun): Use define-skeleton.
6246 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6247 (octave-mode-map): Use comment-dwim (bug#6829).
6249 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6251 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6252 indentation of inserted comment.
6254 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6256 * faces.el (region): Add type gtk that uses gtk colors.
6258 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6259 Handle theme-name change.
6261 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6263 * progmodes/sql.el: Version 2.5
6264 (sql-product-alist): Add :prompt-cont-regexp property for several
6266 (sql-prompt-cont-regexp): New variable.
6267 (sql-output-newline-count, sql-output-by-send):
6268 New variables. Record number of newlines in input text.
6269 (sql-send-string): Handle multiple filters and count newlines.
6270 (sql-send-magic-terminator): Count terminator newline.
6271 (sql-interactive-remove-continuation-prompt): Filters output to
6272 remove continuation prompts; one for each newline.
6273 (sql-interactive-mode): Set up new variables, prompt regexp and
6275 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6276 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6278 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emacs-lisp/pcase.el: New file.
6282 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6284 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6285 as here-document, otherwise the command could exceed maximum
6286 length of command line.
6287 (tramp-handle-vc-registered): Call script accordingly.
6288 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6290 2010-08-10 Kenichi Handa <handa@m17n.org>
6292 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6295 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6297 * emacs-lisp/package.el (package-version-split)
6298 (package--version-first-nonzero, package-version-compare):
6300 (package-directory-list, package-load-all-descriptors)
6301 (package--built-in, package-activate, define-package)
6302 (package-installed-p, package-compute-transaction)
6303 (package-read-all-archive-contents)
6304 (package--add-to-archive-contents, package-buffer-info)
6305 (package-tar-file-info, package-list-packages-internal):
6306 Use version-to-list and version-list-*.
6308 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6309 Use version-to-list.
6310 (package-upload-buffer-internal): Use version-list-<=.
6312 2010-08-09 Kenichi Handa <handa@m17n.org>
6314 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6317 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6319 * tutorial.el (tutorial--default-keys): C-d is now bound to
6320 delete-forward-char (Bug#6826).
6322 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6323 for `double' value of mouse-1-click-follows-link (Bug#6807).
6325 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6327 * replace.el (replace-highlight): Bind isearch-forward and
6328 isearch-error, ensuring that highlighting is updated if the user
6329 switches the search direction (Bug#6808).
6331 * isearch.el (isearch-lazy-highlight-forward): New var.
6332 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6333 (isearch-lazy-highlight-update): Use it.
6335 2010-08-08 Kenichi Handa <handa@m17n.org>
6337 * international/mule.el (define-charset): Store NAME as :base property.
6338 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6339 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6340 current priority. Force using the designation of the specific
6341 charset by adding `charset' text property. Improve the whole algorithm.
6343 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6345 * emulation/pc-select.el (pc-selection-mode-hook)
6346 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6347 (pc-selection-mode): Fix typos in docstrings.
6349 2010-08-08 Kenichi Handa <handa@m17n.org>
6351 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6352 ctext-non-standard-encodings-alist here.
6354 * international/mule.el (ctext-non-standard-encodings-alist):
6355 Add "koi8-r" and "microsoft-cp1251".
6356 (ctext-standard-encodings): New variable.
6357 (ctext-non-standard-encodings-table): List only elements for
6358 non-standard encodings.
6359 (ctext-pre-write-conversion): Adjust for the above change.
6360 Check ctext-standard-encodings.
6362 * international/mule-conf.el (compound-text): Doc fix.
6363 (ctext-no-compositions): Doc fix.
6364 (compound-text-with-extensions): Doc fix.
6366 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6368 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6370 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6372 * progmodes/which-func.el (which-func-format): Split help-echo text
6373 into lines, like other mode-line tooltips.
6375 * server.el (server-start): When using TCP sockets, force IPv4
6376 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6378 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6382 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6384 * term.el (term-delimiter-argument-list): Reflow docstring.
6385 (term-read-input-ring, term-write-input-ring, term-send-input)
6386 (term-bol, term-erase-in-display, serial-supported-or-barf):
6387 Fix typos in docstrings.
6389 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6391 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6393 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6395 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6397 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6399 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6400 Fix typo in docstring (bug#6747).
6402 2010-08-08 Leo <sdl.web@gmail.com>
6404 * eshell/esh-io.el (eshell-get-target): Better detection of
6405 read-only file (Bug#6762).
6407 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6409 * align.el (align-default-spacing): Doc fix.
6410 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6412 2010-08-08 Stephen Peters <speters@itasoftware.com>
6414 * calendar/icalendar.el
6415 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6416 (icalendar--get-weekday-numbers): New.
6417 (icalendar--convert-recurring-to-diary): Handle multiple byday
6418 values in weekly rules. (Bug#6766)
6420 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6422 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6423 (icalendar--create-uid, icalendar-export-region)
6424 (icalendar--parse-summary-and-rest): Code formatting.
6426 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6428 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6429 to italicize headers.
6430 (calc-highlight-selections-with-faces): New variable.
6431 (calc-selected-face, calc-nonselected-face): New faces.
6433 * calc/calccomp.el (math-comp-highlight-string): Use
6434 `calc-highlight-selections-with-faces' to determine how to highlight
6437 * calc/calc-sel.el (calc-show-selections): Change message to when
6438 using faces to highlight selections.
6440 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6442 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6443 Add SQLite 3 keywords, functions and datatypes.
6444 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6447 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6449 * simple.el (select-active-regions): Move to keyboard.c.
6450 (deactivate-mark): Used saved-region-selection.
6451 (select-active-region): Function removed.
6452 (activate-mark, set-mark, push-mark-command)
6453 (handle-shift-selection): Don't call it.
6454 (keyboard-quit): Avoid adding the region to the window selection.
6456 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6457 select-active-regions implementation.
6458 (mouse-yank-at-click): Doc fix.
6460 * cus-start.el: Add custom declaration for select-active-regions.
6462 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6464 * simple.el (delete-forward-char): Doc fix.
6466 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6467 after reading the tutorial.
6469 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6471 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6472 Fix for the case that a C style comment has its delimiters alone on
6473 their respective lines.
6475 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6477 * net/tramp.el (tramp-handle-start-file-process): Set connection
6479 (tramp-process-sentinel): Use it for flushing the cache.
6480 We cannot do it via the process buffer, the buffer could be deleted
6481 already when running the sentinel.
6483 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6485 * comint.el (comint-mode): Make directory tracking functions
6486 functional on remote files. (Bug#6764)
6488 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6490 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6492 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6494 * emacs-lisp/find-gc.el (find-gc-source-files):
6495 Rename unexec.c => unexcoff.c.
6497 * emacs-lisp/authors.el (authors-fixed-entries):
6498 Rename unexec.c => unexcoff.c.
6500 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6502 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6503 cache, not only file cache.
6504 (tramp-process-sentinel): New defun.
6505 (tramp-handle-start-file-process): Use it, in order to invalidate
6508 2010-08-03 Leo <sdl.web@gmail.com>
6510 * server.el (server-start): Simplify loop.
6512 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6514 * frame.el (screen-height, screen-width, set-screen-width)
6515 (set-screen-height): Remove ancient compatibility aliases.
6517 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6518 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6520 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6521 that change current buffer.
6523 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6525 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6526 beginning of the string. Use `string-match-p'. (Bug#6765)
6528 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6530 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6532 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6534 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6535 (package--builtins): Tweak descriptions.
6536 (package-print-package): Upcase descriptions if necessary.
6537 Show all built-in packages in font-lock-builtin-face.
6538 (package-list-packages-internal): Omit "emacs" package.
6539 Show status of built-in packages as "built-in".
6541 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6543 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6544 before killing to preserve the primary selection (Bug#6701).
6546 * term/x-win.el (x-select-text): Doc fix.
6548 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6550 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6551 (objc-font-lock-extra-types):
6552 * progmodes/cc-mode.el (c-basic-common-init):
6553 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6554 (c++-make-template-syntax-table)
6555 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6556 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6557 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6558 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6559 * progmodes/cc-fonts.el (c-make-inverse-face)
6560 (c-basic-matchers-after):
6561 * progmodes/cc-engine.el (c-forward-keyword-clause)
6562 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6563 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6564 (c-guess-continued-construct, c-guess-basic-syntax):
6565 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6566 The above functions were modified or created.
6568 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6570 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6572 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6574 * files.el (bidi-paragraph-direction): Define safe local values.
6576 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6577 language-info-alist. Remove outdated FIXME in a comment.
6579 2010-07-31 Alan Mackenzie <acm@muc.de>
6581 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6582 Auto-fill broken in C/C++ modes.
6584 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6586 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6587 (menu-bar-showhide-tool-bar-menu-customize-disable)
6588 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6589 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6590 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6591 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6592 make a menu for Options => toolbar that can move it.
6594 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6596 * emacs-lisp/package-x.el (package--make-rss-entry):
6597 (package-maint-add-news-item, package--update-news)
6598 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6600 * emacs-lisp/package.el (package-archive-url): Rename from
6602 (package-install): Doc fix.
6603 (package-download-single, package-download-tar, package-install)
6604 (package-menu-view-commentary): Callers changed.
6606 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6608 * net/tramp.el (tramp-handle-start-file-process): Check only for
6609 `remote-tty' process property.
6610 (tramp-open-shell): Don't check for tty.
6611 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6614 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6617 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6619 * emacs-lisp/package.el (package-load-list, package-archives)
6620 (package-archive-contents, package-user-dir)
6621 (package-directory-list, package--builtins, package-alist)
6622 (package-activated-list, package-obsolete-alist): Mark as risky.
6624 2010-07-28 Phil Hagelberg <phil@evri.com>
6626 Add support for non-default package repositories.
6627 * emacs-lisp/package.el (package-archive-base): Var deleted.
6628 (package-archives): New variable.
6629 (package-archive-contents): Doc fix.
6630 (package-load-descriptor): Do nothing if descriptor file is missing.
6631 (package--write-file-no-coding): New function.
6632 (package-unpack-single): Use it.
6633 (package-archive-id): New function.
6634 (package-download-single, package-download-tar)
6635 (package-menu-view-commentary): Use it.
6636 (package-installed-p): Make second argument optional.
6637 (package-read-all-archive-contents): New function.
6638 (package-initialize): Use it.
6639 (package-read-archive-contents): Add ARCHIVE argument.
6640 (package--add-to-archive-contents): New function.
6641 (package-install): Don't call package-read-archive-contents.
6642 (package--download-one-archive): Store archive file in a
6643 subdirectory of package-user-dir.
6644 (package-menu-execute): Remove spurious line movement.
6646 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6648 * cus-start.el (tool-bar-style): Add text-image-horiz.
6650 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6652 * progmodes/gud.el (gud-common-init): Check for remoteness of
6653 `file', and not of `default-directory'.
6655 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6657 * net/tramp.el (tramp-methods): Move hostname to the end in all
6658 ssh `tramp-login-args'.
6659 (tramp-verbose): Describe verbose level 9.
6660 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6661 (tramp-open-connection-setup-interactive-shell): Trace stty
6662 settings if `tramp-verbose' >= 9.
6663 (tramp-handle-start-file-process): Implement tty setting.
6664 (Bug#4604, Bug#6360)
6666 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6667 `tramp-verbose' to 9.
6669 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6671 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6672 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6673 Remove references to package `lisp-re' (bug#4369).
6675 2010-07-27 Tom Tromey <tromey@redhat.com>
6677 * progmodes/js.el (js-mode):
6678 * progmodes/make-mode.el (makefile-mode):
6679 * progmodes/simula.el (simula-mode):
6680 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6682 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6684 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6686 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6687 (display-time-world-buffer-name, display-time-world-mode-map):
6688 Fix typos in docstrings.
6690 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6692 * image-mode.el (image-display-size): New function.
6693 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6694 (image-mode-fit-frame): Use it (Bug#6639).
6696 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6698 * dired.el (dired-buffers-for-dir): Handle list values of
6699 dired-directory (Bug#6636).
6701 2010-07-26 Sam Steingold <sds@gnu.org>
6703 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6704 Do not call `x-get-selection' the second time, reuse the value.
6706 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6708 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6709 which consist of control chars only. Suggested by Richard Stallman.
6711 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6713 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6714 exists before passing an error to find-file-not-found-functions
6717 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6719 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6720 Remove leading nil element, adjust values.
6721 (tetris-shapes, tetris-shape-scores):
6722 Change representation of shapes and remove some redundancy.
6723 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6724 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6725 Adjust for working with new representation of shapes.
6726 (tetris-shape-rotations): New function.
6727 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6728 (tetris-rotate-prev, tetris-rotate-next):
6729 Adjust for working with the new version of tetris-test-shape.
6731 2010-07-23 Markus Triska <markus.triska@gmx.at>
6733 * progmodes/ps-mode.el: Use comint (bug#5954).
6734 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6735 (ps-mode-other-newline): Simplify.
6736 (ps-run-mode): Derive from comint-mode instead of
6737 fundamental-mode, yielding input history etc.
6738 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6739 (ps-run-send-string): Adapt for comint-mode.
6740 (ps-run-newline): Remove now unneeded function.
6742 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-methods): Move hostname to the end in all
6745 plink `tramp-login-args'.
6747 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6749 * net/tramp.el (tramp-open-shell): New defun.
6750 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6753 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6755 * net/tramp.el (tramp-file-name-regexp-unified)
6756 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6757 not regard the volume letter as remote filename. (Bug#5447)
6759 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6761 * custom.el (custom-declare-variable): Give a clearer error message
6762 when the docstring is missing (bug#6476).
6764 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6766 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6767 (sql-login-params): New widget definition.
6768 (sql-oracle-login-params, sql-mysql-login-params)
6769 (sql-solid-login-params, sql-sybase-login-params)
6770 (sql-informix-login-params, sql-ingres-login-params)
6771 (sql-ms-login-params, sql-postgres-login-params)
6772 (sql-interbase-login-params, sql-db2-login-params)
6773 (sql-linter-login-params): Use it.
6774 (sql-sqlite-login-params): Use it; Define "database" parameter as
6776 (sql-sqlite-program): Change to "sqlite3".
6777 (sql-comint-sqlite): Make sure database name is complete.
6778 (sql-for-each-login): New function.
6779 (sql-connect, sql-save-connection): Use it.
6780 (sql-get-login-ext): New function.
6781 (sql-get-login): Use it.
6782 (sql-make-alternate-buffer-name): Handle :file parameters.
6784 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6786 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6787 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6789 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6791 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6793 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6795 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6797 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6799 * net/tramp.el (tramp-get-ls-command)
6800 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6803 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6805 * progmodes/sql.el: Version 2.3.
6806 (sql-connection-alist): Change keys from symbols to strings;
6807 enhanced the widget definition.
6808 (sql-mode-menu): Add submenu to select connections.
6809 (sql-interactive-mode-menu): Add "Save Connection" item.
6810 (sql-add-product): Fix menu item.
6811 (sql-get-product-feature): Improved error handling.
6812 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6813 (sql-make-alternate-buffer-name): Simplified.
6814 (sql-product-interactive): Handle missing product.
6815 (sql-connect): Support string keys, minor improvements.
6816 (sql-save-connection): New function.
6817 (sql-connection-menu-filter): New function.
6819 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6821 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6822 (tramp-open-connection-setup-interactive-shell):
6823 Apply workaround for IRIX64 bug. Move argument of last
6824 `tramp-send-command' where it belongs to.
6826 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6828 * net/tramp.el (tramp-perl-file-attributes)
6829 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6830 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6831 front of `login-args'.
6833 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6835 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6836 Set `show-trailing-whitespace' to nil.
6837 (display-time-world-display): Simplify.
6839 2010-07-18 Alan Mackenzie <acm@muc.de>
6841 Enhance `c-file-style' in file/directory local variables.
6842 * progmodes/cc-mode.el (c-count-cfss): New function.
6843 (c-before-hack-hook): Call `c-set-style' differently according to
6844 whether c-file-style was set in file or directory local
6847 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6849 * progmodes/sql.el: Version 2.2.
6850 (sql-product, sql-user, sql-database, sql-server, sql-port):
6851 Use defcustom :safe keyword rather than putting safe-local-variable
6853 (sql-password): Use defcustom :risky keyword rather than putting
6854 risky-local-variable property.
6855 (sql-oracle-login-params, sql-sqlite-login-params)
6856 (sql-solid-login-params, sql-sybase-login-params)
6857 (sql-informix-login-params, sql-ingres-login-params)
6858 (sql-ms-login-params, sql-postgres-login-params)
6859 (sql-interbase-login-params, sql-db2-login-params)
6860 (sql-linter-login-params): Add `port' option.
6861 (sql-get-product-feature): Add NO-INDIRECT parameter.
6862 (sql-comint-oracle, sql-comint-sybase)
6863 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6864 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6865 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6866 (sql-comint-linter): Rename sql-connect-* functions to
6868 (sql-product-alist, sql-mode-menu): Rename as above and
6869 :sqli-connect-func to :sqli-comint-func.
6870 (sql-connection): New variable.
6871 (sql-interactive-mode): Set it.
6872 (sql-connection-alist): New variable.
6873 (sql-connect): New function.
6874 (sql--alt-buffer-part, sql--alt-if-not-empty)
6875 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6877 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6879 * image-mode.el (image-bookmark-make-record): Do not set context
6880 in an image (Bug#6650).
6882 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6884 * simple.el (select-active-region): New function.
6885 (push-mark-command, set-mark, activate-mark)
6886 (handle-shift-selection): Use it.
6887 (deactivate-mark): Don't check for size of region.
6889 * mouse.el (mouse-drag-track): Use select-active-region.
6891 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6893 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6896 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6898 * term/x-win.el (x-select-enable-primary): Change default to nil.
6899 (x-select-enable-clipboard): Add :version keyword.
6901 * mouse.el (mouse-drag-copy-region):
6902 * simple.el (select-active-regions): Likewise.
6904 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6906 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6907 (vc-coding-system-for-diff): Use it to decide whether to inherit
6908 from the file the EOL format for reading the diffs of that file.
6911 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6913 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6914 unibyte, so compressed attachments are not compressed again.
6916 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6918 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6919 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6920 (tramp-find-shell): Simplify setting connection property.
6921 (tramp-get-ls-command): Make test for "--color=never" stronger.
6923 2010-07-15 Simon South <ssouth@member.fsf.org>
6925 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6926 blocks within record declarations (i.e. variant parts) correctly.
6928 2010-07-15 Simon South <ssouth@member.fsf.org>
6930 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6931 over literal tokens when parsing so newlines aren't "absorbed" by
6932 single-line comments. Corrects the indentation of case blocks
6933 that have a comment on the first line.
6935 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6937 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6938 by Drew Adams (Bug#5504).
6940 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6942 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6943 now that Unicode is used (Bug#6594).
6945 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6947 * term/x-win.el (x-select-enable-clipboard): Default to t.
6948 (x-initialize-window-system): Don't overwrite Paste menu item.
6950 * simple.el (select-active-regions): Default to t.
6951 (push-mark-command): Don't overwrite primary with empty string.
6953 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6954 (mouse-drag-copy-region): Default to nil.
6956 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6957 Cut/Copy/Paste menu bar items.
6959 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6961 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6962 Patch applied by Karl Fogel.
6964 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6965 and `bookmark-current-buffer' if they have been already set in
6966 another buffer (e.g gnus-art).
6968 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6969 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6971 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6973 * bookmark.el (bookmark-make-record-default): Allow unneeded
6974 information to be omitted from the record.
6976 Adjust declarations and calls:
6978 * info.el (bookmark-make-record-default): Adjust declaration.
6979 (Info-bookmark-make-record): Adjust call.
6981 * woman.el (bookmark-make-record-default): Adjust declaration.
6982 (woman-bookmark-make-record): Adjust call.
6984 * man.el (bookmark-make-record-default): Adjust declaration.
6985 (Man-bookmark-make-record): Adjust call.
6987 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6989 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6991 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6993 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6994 This is also from Thierry Volpiatto's patch in bug #6444. However,
6995 because it was extraneous to the functional change in that patch,
6996 and causes a re-indendation, I am committing it separately.
6998 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7000 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7001 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7002 Patch applied by Karl Fogel (Bug#6444).
7004 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7006 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7008 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7010 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7011 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7012 (ns-alternatives-map): Change S-tab binding to backtab
7015 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7018 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7020 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7023 * language/tv-util.el (tai-viet-re): Remove format.
7025 2010-07-12 Kenichi Handa <handa@m17n.org>
7027 * language/hebrew.el: Remove no-byte-compile declaration.
7028 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7029 composition-function-table for 3-character looking back.
7030 (hebrew-font-get-precomposed): New function.
7031 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7033 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7035 * mouse.el (mouse-drag-track): Handle select-active-regions
7038 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7040 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7041 empty argument to gvfs-copy.
7043 2010-07-10 Glenn Morris <rgm@gnu.org>
7045 * calendar/calendar.el (calendar-week-end-day): New function.
7046 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7047 Respect calendar-week-start-day. (Bug#6606)
7048 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7049 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7050 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7051 respect calendar-week-start-day.
7053 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7055 * simple.el (use-region-p): Doc fix (Bug#6607).
7057 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7060 Add regexps for cucumber and ruby.
7062 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7064 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7065 (epa-file-insert-file-contents): Hack to prevent
7066 find-file from opening empty buffer when decryption failed
7069 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7071 * textmodes/ispell.el (ispell-alternate-dictionary):
7072 Use file-readable-p.
7073 Return nil if no word-list is found at default locations.
7074 (ispell-complete-word-dict): Default to nil.
7075 (ispell-command-loop): Use 'word-list' when using lookup-words.
7076 (lookup-words): Use ispell-complete-word-dict or
7077 ispell-alternate-dictionary. Check for word-list availability
7078 and handle errors if needed with better messages (Bug#6539).
7079 (ispell-complete-word): Use ispell-complete-word-dict or
7080 ispell-alternate-dictionary.
7082 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7084 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7085 builtins (BufferError, BytesWarning, WindowsError; callables
7086 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7088 2010-07-07 Glenn Morris <rgm@gnu.org>
7090 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7091 (zone-shift-left): Ignore intangibility, and any errors from
7093 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7094 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7095 deleting, and copying text properties.
7096 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7097 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7098 to point-max is hard.
7099 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7100 (zone-fill-out-screen): Ignore intangibility.
7102 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7104 * menu-bar.el (menu-bar-mode):
7105 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7108 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7109 word/line selection (Bug#6565).
7111 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7113 * net/dbus.el (dbus-send-signal): Declare function.
7115 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7117 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7118 (dbus-register-property): New optional argument EMITS-SIGNAL.
7119 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7121 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7123 * mouse.el (mouse-drag-overlay): Variable deleted.
7124 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7125 (mouse--remap-link-click-p): New function.
7126 (mouse-drag-track): Handle dragging by using temporary Transient
7127 Mark mode, instead of a special overlay.
7128 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7131 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7134 2010-07-02 Juri Linkov <juri@jurta.org>
7136 * autoinsert.el (auto-insert-alist): Fix readability
7137 by using dotted pair notation for lambda.
7139 2010-07-02 Juri Linkov <juri@jurta.org>
7141 * faces.el (read-face-name): Rename arg `string-describing-default'
7142 to `default'. Doc fix. Display the default value in quotes
7143 in the prompt. With empty input, return the `default' arg,
7144 unless the default value is a string (in which case return nil).
7145 (describe-face): Replace the string `default' arg of `read-face-name'
7146 with the symbol `default'.
7148 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7150 * emulation/viper-cmd.el (viper-delete-backward-char)
7151 (viper-del-backward-char-in-insert)
7152 (viper-del-backward-char-in-replace, viper-change)
7153 (viper-backward-indent): Replace delete-backward-char with
7154 delete-char (Bug#6552).
7156 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7158 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7160 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7162 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7163 argument passed to frame-creation-function (Bug#5378).
7165 * faces.el (x-handle-named-frame-geometry)
7166 (x-handle-reverse-video, x-create-frame-with-faces)
7167 (face-set-after-frame-default, tty-create-frame-with-faces):
7168 Don't separately consult default-frame-alist. It is now passed as the
7171 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7173 * startup.el (command-line): Don't call tool-bar-setup in a
7176 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7178 * ruler-mode.el (ruler--save-header-line-format): New fun.
7179 (ruler-mode): Use it as a setter function, so as not to overwrite
7180 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7182 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7184 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7185 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7186 (vc-log-outgoing): Use it.
7187 (vc-diff-internal): Set diff-vc-backend.
7189 * vc/diff-mode.el (diff-vc-backend): New var.
7191 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7193 * dynamic-setting.el (font-setting-change-default-font):
7194 Remove call to message.
7196 2010-06-28 Kenichi Handa <handa@m17n.org>
7198 * international/quail.el (quail-insert-kbd-layout): Fix the
7199 showing of untranslated characters.
7201 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7203 * simple.el (delete-active-region): New option.
7204 (delete-backward-char): Implement in Lisp.
7205 (delete-forward-char): New command.
7207 * mouse.el (mouse-region-delete-keys): Deleted.
7208 (mouse-show-mark): Simplify.
7210 * bindings.el (global-map): Bind delete and DEL, the former to
7211 delete-forward-char.
7213 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7215 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7216 (ruby-mode): Bind indent-line-function (Bug#5119).
7218 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7220 * startup.el (command-line): Recognize "0" X resource value.
7222 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7224 * startup.el (command-line): Use X resources to set the value of
7225 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7227 * menu-bar.el (menu-bar-mode):
7228 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7229 Set init-value to t.
7231 * frame.el (frame-notice-user-settings): Don't change
7232 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7233 vice versa (Bug#2249).
7235 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7237 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7239 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7241 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7242 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7244 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7245 default directories are expanded (Bug#6143).
7247 2010-06-24 Juri Linkov <juri@jurta.org>
7249 * minibuffer.el (completions-format): Change default from nil to
7250 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7252 2010-06-24 Juri Linkov <juri@jurta.org>
7254 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7255 buffer-locally to lambda that re-runs the vc diff command.
7258 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7260 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7261 echo area is in use (Bug#3412).
7263 2010-06-22 Glenn Morris <rgm@gnu.org>
7265 * textmodes/texinfmt.el (texinfo-format-region)
7266 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7267 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7268 (texinfo-format-option, texinfo-noindent):
7269 Use line-beginning-position and line-end-position.
7271 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7272 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7273 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7276 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7278 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7279 forward-line fallout.
7281 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7283 * mouse.el (mouse-appearance-menu): Add docstring.
7285 * help.el (describe-key): Print up-event using key-description.
7287 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7289 * net/zeroconf.el (zeroconf-resolve-service)
7290 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7291 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7293 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7295 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7297 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7299 Avoid displaying files with a nil state in vc-dir.
7300 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7301 cases that cause insertion.
7302 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7305 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7307 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7309 2010-06-29 Leo <sdl.web@gmail.com>
7311 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7313 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7315 * generic-x.el (bat-generic-mode): Fix regexp for command line
7316 switches (Bug#5719).
7318 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7320 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7321 of nconc to avoid pure storage error (Bug#6239).
7323 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7325 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7326 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7327 bindings of bookmark-automatically-show-annotations (Bug#6515).
7329 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7331 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7332 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7334 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7336 * comint.el (make-comint, make-comint-in-buffer): Mention return
7337 value in the docstrings. (Bug#6498)
7339 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7341 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7342 since it is not present when using some non-default switches.
7344 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7346 * simple.el (compose-mail): Fix doc string to refer to
7347 `compose-mail-user-agent-warnings', instead of to the
7348 nonexistent `compose-mail-check-user-agent'.
7350 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7352 Fix an indentation bug:
7354 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7355 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7358 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7359 (c-clear->-pair-props-if-match-before): now return t when they've
7360 cleared properties, nil otherwise.
7361 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7362 by taking account of the existing value.
7364 * progmodes/cc-defs.el
7365 (c-clear-char-property-with-value-function): Fix this to clear the
7366 property rather than overwriting it with nil.
7368 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7370 * emacs-lisp/package.el (package-print-package): Add link to
7371 package description via describe-package.
7372 (describe-package-1): List package requirements. Add button to
7373 perform installation.
7374 (package-menu-describe-package): New command.
7376 * help-mode.el (help-package): New button type.
7378 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7380 * emacs-lisp/package.el: Move package-list-packages binding to
7382 (describe-package, describe-package-1, package--dir): New funs.
7383 (package-activate-1): Use package--dir.
7385 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7387 * help-mode.el (help-package-def): New button type.
7389 * menu-bar.el: Move package-list-packages binding here from
7392 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7394 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7396 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * emacs-lisp/edebug.el (edebug-read-list):
7399 Phase out old-style backquotes.
7401 2010-06-17 Juri Linkov <juri@jurta.org>
7403 * help-mode.el (help-mode): Set buffer-local variable
7404 revert-buffer-function to help-mode-revert-buffer.
7405 (help-mode-revert-buffer): New function.
7407 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7408 before popping to "*info*" (like in other Info functions).
7409 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7410 old-history-forward. Pop to old-buffer-name or "*info*" to
7411 recreate the killed buffer. Set Info-history-forward from
7412 old-history-forward.
7413 (Info-breadcrumbs-depth): Add :group and :version.
7415 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7417 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7419 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7421 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7422 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7424 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7426 * emacs-lisp/package.el (package-menu-mode-map):
7427 Move initialization into declaration.
7429 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7431 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7433 * emacs-lisp/package.el (package-archive-base): Point to
7435 (package-enable, package-load-list): New defcustoms.
7436 (package-user-dir, package-directory-list): Turn into defcustoms.
7437 Don't include package-user-dir in package-directory-list.
7438 (package--builtins-base): Don't include Emacs as a "package".
7439 (package-subdirectory-regexp): New var.
7440 (package-load-all-descriptors, package-compute-transaction)
7441 (package-download-transaction): Obey package-load-list.
7442 (package-activate-1): Rename from package-do-activate.
7443 (package-list-packages-internal): Check package-load-list.
7444 (package-load-descriptor, package-generate-autoloads)
7445 (package-unpack, package-unpack-single)
7446 (package--read-archive-file, package-delete):
7447 Use expand-file-name.
7449 * emacs-lisp/package-x.el: New file. Package uploading
7450 functionality split out from package.el.
7452 * startup.el (command-line): Load packages after reading init file.
7454 2010-06-17 Tom Tromey <tromey@redhat.com>
7456 * emacs-lisp/package.el: New file.
7458 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7460 Fix vc-annotate for renamed files when using Git.
7461 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7462 ls-files. Doe not pass the object as a file name to cat-file, it
7464 (vc-git-annotate-command): Pass the file name using -- to avoid
7465 ambiguity with the revision.
7466 (vc-git-previous-revision): Pass a relative file name.
7468 2010-06-22 Glenn Morris <rgm@gnu.org>
7470 * progmodes/js.el (js-mode-map): Use standard capitalization and
7471 ellipses for menu entries.
7473 * wid-edit.el (widget-complete): Doc fix.
7475 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7477 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7479 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7481 Fix annotating other revisions for renamed files in vc-annotate.
7482 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7483 VC backend. Use it when non-nil.
7484 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7487 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7488 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7489 Do not pass the file name to the 'previous-revision call when we
7490 don't want a file diff. (Bug#6489)
7492 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7494 Fix finding revisions for renamed files in vc-annotate.
7495 * vc/vc.el (vc-find-revision): Add an optional argument for
7496 the VC backend. Use it when non-nil.
7497 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7498 backend to vc-find-revision. (Bug#6487)
7500 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7502 Fix reading file names in Git annotate buffers.
7503 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7504 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7506 2010-06-20 Alan Mackenzie <acm@muc.de>
7508 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7509 in file local variables, set it first.
7511 2010-06-19 Glenn Morris <rgm@gnu.org>
7513 * descr-text.el (describe-char-unicode-data): Insert separating
7514 space when needed. (Bug#6422)
7516 * progmodes/idlwave.el (idlwave-action-and-binding):
7517 Fix typo in 2009-12-03 change. (Bug#6450)
7519 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7522 handling for `lambda' (misunderstanding).
7524 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7526 * calc/calc-poly.el (math-accum-factors): Make sure that
7527 constants aren't distributed after they are factored out.
7529 2010-06-16 Juri Linkov <juri@jurta.org>
7531 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7532 `list-colors-print'. (Bug#6332)
7534 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7536 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7539 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7541 * font-lock.el (font-lock-major-mode): Rename from
7542 font-lock-mode-major-mode to distinguish it from
7543 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7544 (font-lock-set-defaults):
7545 * font-core.el (font-lock-default-function): Adjust users.
7546 (font-lock-mode): Don't set it at all.
7548 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7552 2010-06-16 Glenn Morris <rgm@gnu.org>
7554 * calendar/appt.el (appt-time-msg-list): Doc fix.
7555 (appt-check): Let-bind appt-warn-time.
7556 (appt-add): Make the 3rd argument optional.
7557 Simplify argument names. Doc fix. Check for integer WARNTIME.
7558 Only add WARNTIME to the output list if non-nil.
7560 2010-06-16 Ivan Kanis <apple@kanis.eu>
7562 * calendar/appt.el (appt-check): Let the 3rd element of
7563 appt-time-msg-list specify the warning time.
7564 (appt-add): Add new argument with the warning time. (Bug#5176)
7566 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7568 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7569 older than version 1.6. (Bug#6361)
7571 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7573 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7574 used by cl-do-arglist. (Bug#6408)
7576 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7578 * textmodes/ispell.el (ispell-dictionary-base-alist):
7579 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7580 Suggested by Rolando Pereira (bug#6434).
7582 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7584 * facemenu.el (list-colors-sort): Doc fix.
7586 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7588 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7590 2010-06-14 Juri Linkov <juri@jurta.org>
7592 Add sort option `list-colors-sort'. (Bug#6332)
7593 * facemenu.el (color-rgb-to-hsv): New function.
7594 (list-colors-sort): New defcustom.
7595 (list-colors-sort-key): New function.
7596 (list-colors-display): Doc fix. Sort list according to the option
7598 (list-colors-print): Add HSV values to `help-echo' property of
7601 2010-06-14 Juri Linkov <juri@jurta.org>
7603 * compare-w.el: Move to the "vc" subdirectory.
7605 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7607 * image-mode.el (image-mode-map): Remap left-char and right-char.
7609 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7611 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7613 * term/common-win.el (x-colors): Add all the color names defined
7614 in rgb.txt (Bug#6332).
7616 * facemenu.el (list-colors-print): Don't print extra names if it
7617 will overflow the window width.
7619 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7622 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7624 * files.el (make-directory): Doc fix (bug#6396).
7626 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7628 * net/tramp.el (tramp-remote-process-environment): Protect version
7629 string by apostroph.
7630 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7632 (tramp-file-name-for-operation): Add `call-process-region'.
7633 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7635 * net/tramp-compat.el (top): Do not autoload
7636 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7637 only when `start-file-process' is not bound.
7638 (tramp-advice-file-expand-wildcards): Do not use
7639 `tramp-handle-file-remote-p'.
7640 (tramp-compat-make-temp-file): Handle the case, that
7641 `make-temp-file' has no third argument EXTENSION.
7643 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7645 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7647 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7649 2010-06-11 Juri Linkov <juri@jurta.org>
7651 * finder.el (finder-known-keywords): Add keyword "vc"
7652 for version control.
7654 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7655 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7656 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7657 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7659 2010-06-11 Juri Linkov <juri@jurta.org>
7661 Move version control related files to the "vc" subdirectory.
7662 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7663 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7664 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7665 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7666 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7667 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7668 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7669 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7670 Move files to the "vc" subdirectory.
7672 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7674 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7677 2010-06-11 Stephen Eglen <stephen@gnu.org>
7679 * shell.el: Bind `shell-resync-dirs' to M-RET.
7681 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7683 * notifications.el: Move file from lisp/net, because it is
7684 supposed to talk locally to the user.
7686 2010-06-10 Julien Danjou <julien@danjou.info>
7688 * net/notifications.el (notifications-on-action-signal)
7689 (notifications-on-closed-signal): Pass notification id as first
7690 argument to the callback functions. Add docstrings.
7691 (notifications-notify): Fix docstring.
7693 2010-06-10 Glenn Morris <rgm@gnu.org>
7695 * emacs-lisp/authors.el (authors-ignored-files)
7696 (authors-valid-file-names): Add some files.
7698 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7701 merge conflict, giving preference to the emacs-23 version of the code.
7703 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7705 * emacs-lisp/advice.el (ad-compile-function):
7706 Define warning-suppress-types before we let-bind it (bug#6275).
7708 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7709 declare it, make it buffer-local and permanent-local (bug#6324).
7710 (vc-resynch-window): Adjust name.
7711 * vc-hooks.el (vc-find-file-hook): Adjust name.
7713 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7715 * net/notifications.el (notifications-notify): Fix docstring.
7717 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7719 Update to Unicode 6.0.0 beta.
7720 * international/charprop.el: Update copyright.
7721 * international/mule-cmds.el (ucs-names): Update character ranges.
7722 * international/uni-bidi.el:
7723 * international/uni-category.el:
7724 * international/uni-combining.el:
7725 * international/uni-comment.el:
7726 * international/uni-decimal.el:
7727 * international/uni-decomposition.el:
7728 * international/uni-digit.el:
7729 * international/uni-lowercase.el:
7730 * international/uni-mirrored.el:
7731 * international/uni-name.el:
7732 * international/uni-numeric.el:
7733 * international/uni-old-name.el:
7734 * international/uni-titlecase.el:
7735 * international/uni-uppercase.el: Regenerate.
7737 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7739 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7740 (smie-precs-precedence-table): Fix typo in docstring.
7742 * vc-mtn.el (log-edit-extract-headers): Declare function.
7744 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7746 * net/notifications.el (dbus-register-signal): Declare function.
7747 (notifications-notify): Fix typos and reflow docstring.
7749 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7751 Improve VC create/retrieve tag/branch.
7752 * vc.el (vc-create-tag): Do not read the directory name for VCs
7753 with repository revision granularity. Adjust the tag/branch
7754 prompt. Reset VC properties.
7755 (vc-retrieve-tag): Do not read the directory name for VCs
7756 with repository revision granularity. Reset VC properties.
7758 2010-06-09 Julien Danjou <julien@danjou.info>
7760 * net/notifications.el: New file.
7762 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7764 Add optional support for resetting VC properties.
7765 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7766 call vc-file-clearprops when true.
7767 (vc-resynch-buffer): Add new optional argument, pass it down.
7768 (vc-resynch-buffers-in-directory): Likewise.
7770 Improve support for special markup in the VC commit message.
7771 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7772 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7773 * vc-git.el (vc-git-checkin):
7774 * vc-bzr.el (vc-bzr-checkin): Likewise.
7776 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7778 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7779 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7781 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7783 * iimage.el: Remove images as soon as the underlying text is modified.
7784 (iimage-modification-hook): New function.
7785 (iimage-mode-buffer): Use it.
7787 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7789 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7790 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7791 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7792 (smie-indent-keyword): Add handling of open-paren keywords.
7793 (smie-indent-comment-continue): Don't assume comment-continue.
7795 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7797 * window.el (pop-to-buffer): Remove the conditional that
7798 compares new-window and old-window, so it will reselect
7799 the selected window unconditionally.
7800 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7802 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7804 * emacs-lisp/smie.el (smie-indent-offset-after)
7805 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7806 (smie-indent-after-keyword): Use them.
7807 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7808 (smie-indent-keyword): Tweak the black magic.
7809 (smie-indent-comment-continue): Strip comment-continue before use.
7810 (smie-indent-functions): Indent comments before keywords.
7812 2010-06-06 Juri Linkov <juri@jurta.org>
7814 * isearch.el (isearch-lazy-highlight-search): Fix looping
7815 by checking for empty match. This syncs this loop with the
7816 similar loop in `isearch-search'. (Bug#6362)
7818 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7820 * net/dbus.el (dbus-register-method): Declare function.
7821 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7822 (dbus-introspect): Doc fix.
7823 (dbus-event-bus-name, dbus-introspect-get-interface)
7824 (dbus-introspect-get-argument): Reflow docstrings.
7826 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7828 vc-log-incoming/vc-log-outgoing fixes for Git.
7829 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7830 incoming/outgoing logs.
7831 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7832 instead of vc-git-compute-remote.
7833 (vc-git-compute-remote): Remove.
7835 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7837 * term/common-win.el (x-colors): Add "dark green" and "dark
7838 turquoise" (Bug#6332).
7840 2010-06-04 Juri Linkov <juri@jurta.org>
7842 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7843 Instead of setting `replace' to t and replacing the same string
7844 with itself, don't do certain actions when
7845 kill-do-not-save-duplicates is non-nil and string is equal to car
7846 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7847 interprogram-paste strings to kill-ring, and don't push the input
7848 argument `string' to kill-ring.
7849 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7851 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7853 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7855 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7857 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7858 (tramp-gvfs-handler-mounted-unmounted)
7859 (tramp-gvfs-connection-mounted-p): Handle default-location.
7861 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7862 move files to trash.
7864 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7866 * international/mule-cmds.el (nonascii-insert-offset)
7867 (nonascii-translation-table): Add obsolescence information.
7869 * international/mule.el (make-translation-table-from-vector): Doc fix.
7871 2010-06-03 Glenn Morris <rgm@gnu.org>
7873 * desktop.el (desktop-clear-preserve-buffers):
7874 Add "*Warnings*" buffer. (Bug#6336)
7876 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7878 vc-log-incoming/vc-log-outgoing improvements for Git.
7879 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7881 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7883 Add bindings for vc-log-incoming and vc-log-outgoing.
7884 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7885 and vc-log-outgoing.
7886 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7887 and vc-log-outgoing.
7889 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7891 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7892 (rcirc-handler-366): Always sort nicknames.
7894 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7896 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7898 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7900 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7902 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7904 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7905 (rcirc-sort-nicknames-join): Avoid setq.
7907 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7909 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7910 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7911 (rcirc-handler-366): Use them.
7913 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7915 Split smie-indent-calculate into more manageable chunks.
7916 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7917 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7918 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7919 (smie-indent-exps): Extract from smie-indent-calculate.
7920 (smie-indent-functions): New var.
7921 (smie-indent-functions): Use them.
7923 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7925 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7926 (smie-indent-calculate): Simplify and cleanup.
7928 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7930 * net/tramp-gvfs.el (top): Require url-util.
7931 (tramp-gvfs-mount-point): Remove.
7932 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7934 (with-tramp-dbus-call-method): Format trace message.
7935 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7936 Implement backup call, when operation on local files fails.
7937 Use progress reporter. Flush properties of changed files.
7938 (tramp-gvfs-handle-make-directory): Make more traces.
7939 (tramp-gvfs-url-file-name): Hexify file name in url.
7940 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7941 into account for the resulting file name.
7942 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7943 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7944 (tramp-gvfs-handler-mounted-unmounted)
7945 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7946 attribute "default_location". Set "prefix" property.
7947 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7948 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7949 exists. Raise an error, if not (due to a corresponding answer
7950 "no" in interactive questions, for example).
7952 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7954 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7956 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7958 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7961 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7963 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7964 * vc-git.el (vc-git-compute-remote): New function.
7965 (vc-git-log-outgoing): Use it instead of hard coding a value.
7966 (vc-git-log-incoming): New function.
7968 Improve state updating for VC tag commands.
7969 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7970 to update the state of all buffers in the directory.
7972 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7974 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7976 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7977 `file-directory-p' to the filename part rather than to the whole text.
7979 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7981 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7983 2010-05-31 Drew Adams <drew.adams@oracle.com>
7985 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7987 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7989 * subr.el (momentary-string-display): Just use read-event to read
7990 the exit event (Bug#6238).
7992 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7994 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7996 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7998 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7999 Suggested by Eli Zaretskii <eliz@gnu.org>.
8001 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8003 * minibuffer.el (completion-file-name-table): Don't return a boundary
8004 past the end of `string' (bug#6299).
8005 (completion--file-name-table): Delegate to completion-file-name-table
8006 for the `boundaries' case.
8008 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8010 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8013 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8014 `path-separator', but maintain compatibility with Emacs 20.2.
8016 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8018 * server.el (server-process-filter): Receive parent-id argument
8020 (server-create-window-system-frame): New arg. Pass parent-id as
8023 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8025 Bidi-sensitive word movement with arrow keys.
8026 * subr.el (right-arrow-command, left-arrow-command): Move to
8029 * bindings.el (right-char, left-char): Move from subr.el and
8030 rename from right-arrow-command and left-arrow-command.
8031 (right-word, left-word): New functions.
8032 (global-map) <right>: Bind to right-char.
8033 (global-map) <left>: Bind to left-char.
8034 (global-map) <C-right>: Bind to right-word.
8035 (global-map) <C-left>: Bind to left-word.
8037 * ls-lisp.el (ls-lisp-classify-file): New function.
8038 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8039 (ls-lisp-classify): Call ls-lisp-classify-file.
8040 (insert-directory): Remove blanks from switches.
8042 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8044 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8045 (ansi-color-drop-regexp): New constant.
8046 (ansi-color-apply, ansi-color-filter-region)
8047 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8048 (ansi-color-apply): Build string list before calling concat.
8050 2010-05-28 Juri Linkov <juri@jurta.org>
8052 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8053 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8056 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8058 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8059 to ignored backtrace functions.
8060 (with-progress-reporter): Expand docstring.
8061 (tramp-handle-delete-file): Implement TRASH argument.
8062 (tramp-get-remote-trash): New defun.
8064 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8066 * net/tramp-compat.el (tramp-compat-delete-file):
8067 Use `symbol-value' for backward compatibility.
8069 * net/tramp.el (tramp-handle-make-symbolic-link)
8071 (tramp-do-copy-or-rename-file-via-buffer)
8072 (tramp-do-copy-or-rename-file-directly)
8073 (tramp-do-copy-or-rename-file-out-of-band)
8074 (tramp-handle-process-file, tramp-handle-call-process-region)
8075 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8076 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8077 (tramp-delete-temp-file-function): Use `delete-file' instead
8078 of `tramp-compat-delete-file'.
8080 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8081 (tramp-fish-handle-make-symbolic-link)
8082 (tramp-fish-handle-process-file): Use `delete-file' instead
8083 of `tramp-compat-delete-file'.
8085 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8086 Use `delete-file' instead of `tramp-compat-delete-file'.
8088 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8089 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8090 `tramp-compat-delete-file'.
8092 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8093 Use `delete-file' instead of `tramp-compat-delete-file'.
8095 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8096 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8097 (tramp-smb-handle-write-region): Use `delete-file' instead of
8098 `tramp-compat-delete-file'.
8099 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8101 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8103 * dired.el (dired-delete-file): New arg TRASH.
8104 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8105 (dired-do-flagged-delete, dired-do-delete): Use trash.
8107 * speedbar.el (speedbar-item-delete): Allow trashing.
8109 * files.el (delete-directory): New arg TRASH.
8111 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8112 (ange-ftp-rename-remote-to-remote)
8113 (ange-ftp-rename-local-to-remote)
8114 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8115 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8117 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8120 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8121 handle new TRASH arg of `delete-file'.
8123 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8124 (tramp-handle-make-symbolic-link, tramp-handle-load)
8125 (tramp-do-copy-or-rename-file-via-buffer)
8126 (tramp-do-copy-or-rename-file-directly)
8127 (tramp-do-copy-or-rename-file-out-of-band)
8128 (tramp-handle-process-file, tramp-handle-call-process-region)
8129 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8130 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8131 (tramp-delete-temp-file-function): Use null TRASH arg in
8132 tramp-compat-delete-file call.
8134 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8135 (tramp-fish-handle-delete-file)
8136 (tramp-fish-handle-make-symbolic-link)
8137 (tramp-fish-handle-process-file): Use null TRASH arg in
8138 `tramp-compat-delete-file' call.
8140 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8141 arg in `tramp-compat-delete-file' call.
8143 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8144 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8145 `tramp-compat-delete-file' call.
8147 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8148 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8149 `tramp-compat-delete-file' call.
8151 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8152 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8153 (tramp-smb-handle-write-region): Use null TRASH arg in
8154 tramp-compat-delete-file call.
8155 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8156 (tramp-smb-handle-delete-file): Rename arg.
8158 * diff.el (diff-sentinel):
8159 * epg.el (epg--make-temp-file, epg-decrypt-string)
8160 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8161 * jka-compr.el (jka-compr-partial-uncompress)
8162 (jka-compr-call-process, jka-compr-write-region):
8163 * server.el (server-sentinel): Remove optional arg from
8164 delete-file, reverting 2010-05-03 change.
8166 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8168 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8169 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8171 2010-05-27 Kenichi Handa <handa@m17n.org>
8173 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8174 element of GSTRING is nil.
8176 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * emacs-lisp/smie.el (smie-forward-token-function)
8179 (smie-backward-token-function): New vars.
8180 (smie-backward-sexp, smie-forward-sexp)
8181 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8182 (smie-default-backward-token): Rename from smie-backward-token and
8184 (smie-default-forward-token): Rename from smie-forward-token and
8186 (smie-next-sexp): Handle nil results from next-token.
8187 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8189 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8191 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8192 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8194 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8196 * htmlfontify.el (hfy-face-resolve-face): New function.
8197 (hfy-face-to-style): Use it (Bug#6279).
8199 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8202 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8204 2010-05-26 Glenn Morris <rgm@gnu.org>
8206 * emulation/edt.el (edt-load-keys): Use locate-library.
8208 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8210 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8211 (log-edit-changelog-entries): Doc fix.
8212 (log-edit-changelog-insert-entries): Args changed.
8213 Rename relative filenames in ChangeLog entries. Delete tabs.
8214 (log-edit-insert-changelog-entries): Reorganize return value of
8215 `log-edit-changelog-entries' to pass filenames to
8216 log-edit-changelog-insert-entries.
8218 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8220 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8221 `image-dired-dired-insert-marked-thumbs' to
8222 `image-dired-dired-toggle-marked-thumbs'.
8224 * image-dired.el: Require cl when compiling.
8225 (image-dired-dired-toggle-marked-thumbs): Rename from
8226 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8227 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8228 to 'no-dir. Skip files whose names don't match
8229 `image-file-name-regexp'. When file has a thumbnail overlay,
8230 delete it. (Bug#5270)
8232 2010-05-25 Juri Linkov <juri@jurta.org>
8234 * image-mode.el (image-mode): Add image-after-revert-hook to
8236 (image-after-revert-hook): New function. (Bug#5669)
8238 2010-05-25 Juri Linkov <juri@jurta.org>
8240 * image.el (image-animated-p): When delay between animated images
8241 is 0, set it to 10 (0.1 sec). (Bug#6258)
8243 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8245 * net/tramp.el (tramp-handle-insert-directory): Don't use
8246 `forward-word', its default syntax could be changed.
8248 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8250 * net/tramp.el (tramp-progress-reporter-update): New defun.
8251 (with-progress-reporter): Use it.
8252 (tramp-process-actions):
8253 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8254 Preserve current message, in order to let progress reporter continue
8255 afterwards. (Bug#6257)
8257 2010-05-25 Glenn Morris <rgm@gnu.org>
8259 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8262 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8264 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8265 (rcirc-default-full-name): Change to "unknown".
8266 (rcirc-user-name-history): Add variable.
8268 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8269 Jonathan Rockway <jon@jrock.us>
8271 * net/rcirc.el (rcirc-server-alist): Add :pass.
8272 (rcirc): When prompting for connection parameters, also prompt for
8273 username and password.
8274 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8275 value to server when connecting.
8277 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8279 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8280 (smie-merge-prec2s): Pass the tables as separate args.
8281 (smie-bnf-precedence-table): Adjust call accordingly.
8282 (smie-prec2-levels): Set levels at the end.
8284 Replace Lisp calls to delete-backward-char by delete-char.
8285 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8286 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8287 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8288 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8289 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8290 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8291 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8292 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8293 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8294 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8295 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8296 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8297 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8298 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8299 delete-backward-char by calls to delete-char.
8301 2010-05-25 Kenichi Handa <handa@m17n.org>
8303 * language/hebrew.el (hebrew-shape-gstring): New function.
8304 Register it in composition-function-table for all Hebrew combining
8307 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8309 * epa.el (epa--select-keys): Don't explicitly delete the window since
8310 that can fail (e.g. sole window in frame). Use dedication instead.
8312 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8314 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8316 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8318 * image.el (image-refresh): Define as an alias for image-flush.
8320 * image-mode.el (image-toggle-display-image): Caller changed.
8322 2010-05-21 Juri Linkov <juri@jurta.org>
8324 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8325 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8326 whitespace, call wildcard-to-regexp on substrings and concat them
8327 with "\\|". (Bug#6114)
8329 2010-05-21 Alan Mackenzie <acm@muc.de>
8331 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8332 Replace parameter `here' with `here-' and `here-plus', which sandwich
8333 any pertinent CPP construct.
8334 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8335 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8336 CPP construct from taking part in the scanning.
8338 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8340 * net/tramp.el (tramp-do-copy-or-rename-file)
8341 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8342 Tune `with-progress-reporter' messages.
8343 (tramp-handle-vc-registered):
8344 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8345 (tramp-fish-handle-insert-file-contents)
8346 (tramp-fish-maybe-open-connection):
8347 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8348 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8349 (tramp-imap-handle-insert-file-contents)
8350 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8352 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8354 * add-log.el (change-log-font-lock-keywords):
8355 Highlight all authors in multi-author entries.
8357 * smerge-mode.el (smerge-refine-ignore-whitespace)
8358 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8359 Fix typos in docstrings.
8360 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8362 2010-05-21 Glenn Morris <rgm@gnu.org>
8364 * progmodes/fortran.el (fortran-mode):
8365 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8367 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8368 having a relative path in src/Makefile.in.
8370 2010-05-20 Kevin Ryde <user42@zip.com.au>
8372 * help-mode.el (help-make-xrefs): For Info node links turn
8373 newlines into spaces. Link node names with newlines are matched
8374 by help-xref-info-regexp and buttonized, this change ensures they
8375 can be followed successfully with RET. (Bug#6206)
8377 2010-05-20 Juri Linkov <juri@jurta.org>
8379 * locate.el (locate): Use pop-to-buffer instead of
8380 switch-to-buffer-other-window. (Bug#6204)
8382 2010-05-20 Juri Linkov <juri@jurta.org>
8384 * replace.el (replace-highlight): Fix lazy-highlighting
8385 for `M-s w str M-% str RET'.
8387 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8389 * isearch.el (isearch-yank-word-or-char): Pull next subword
8390 when `subword-mode' is activated. (Bug#6220)
8392 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8394 * isearch.el (isearch-update-post-hook): New hook.
8395 (isearch-update): Use the new hook. (Bug#6225)
8397 2010-05-20 Juri Linkov <juri@jurta.org>
8399 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8400 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8403 2010-05-20 Juri Linkov <juri@jurta.org>
8405 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8408 2010-05-20 Juri Linkov <juri@jurta.org>
8410 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8411 FILE-NAME to read from the minibuffer when called interactively
8412 with prefix argument instead of using buffer-file-name.
8413 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8415 * dired.el: Update autoloads.
8417 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8419 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8420 nxml-finish-element, for consistency with SGML mode.
8422 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8425 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8427 * composite.el: Require cl when compiling.
8428 (reference-point-alist, compose-gstring-for-graphic)
8429 (compose-gstring-for-terminal): Fix typos in docstrings.
8431 2010-05-19 Juri Linkov <juri@jurta.org>
8433 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8434 set-window-parameter.
8436 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8438 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8440 (tramp-maybe-open-connection): Use it.
8442 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8444 * simple.el (move-end-of-line): Make sure we are at line beginning
8445 before backing up to end of previous line.
8447 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8449 * password-cache.el (password-cache-remove): Fix docstring.
8451 * net/secrets.el: Autoload the widget functions.
8452 (secrets-search-items, secrets-create-item)
8453 (secrets-get-attributes, secrets-expand-item): Attributes will be
8454 stored on the password database without leading ":", as all other
8456 (secrets-mode): Fix docstring.
8457 (secrets-show-secrets): Provide it as autoloaded command only when
8458 D-Bus support is available. Check existence of Secret Service API.
8460 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8462 * indent.el (indent-region): Deactivate region (bug#6200).
8464 2010-05-19 Glenn Morris <rgm@gnu.org>
8466 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8468 2010-05-19 Kenichi Handa <handa@m17n.org>
8470 * composite.el: Register compose-gstring-for-graphic in
8471 composition-function-table only for combining characters (Mn, Mc, Me).
8473 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8475 * calc/calc-trail.el (calc-trail-isearch-forward)
8476 (calc-trail-isearch-backward): Ensure that the new window
8477 point is set correctly.
8479 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * subr.el (read-quoted-char): Resolve modifiers after key
8482 remapping (bug#6212).
8484 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8486 Add visualization code for secrets.
8487 * net/secrets.el (secrets-mode): New major mode.
8488 (secrets-show-secrets, secrets-show-collections)
8489 (secrets-expand-collection, secrets-expand-item)
8490 (secrets-tree-widget-after-toggle-function)
8491 (secrets-tree-widget-show-password): New defuns.
8493 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8496 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8497 handled in smie-next-sexp.
8498 (smie-indent-calculate): Provide a starting indentation (so the
8499 recursion is well-founded ;-).
8501 Fix handling of non-associative equal levels.
8502 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8503 when it's not needed.
8504 (smie-op-left, smie-op-right): New functions.
8505 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8506 Better handle equal levels to distinguish the associative case from
8507 the "multi-keyword construct" case.
8508 (smie-backward-sexp, smie-forward-sexp): Use it.
8510 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8512 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8514 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8515 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8517 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8519 Provide a simple generic indentation engine and use it for Prolog.
8520 * emacs-lisp/smie.el: New file.
8521 * progmodes/prolog.el (prolog-smie-op-levels)
8522 (prolog-smie-indent-rules): New var.
8523 (prolog-mode-variables): Use them to configure SMIE.
8524 (prolog-indent-line, prolog-indent-level): Remove.
8526 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8528 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8529 order before computing the averages.
8531 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8533 * calc/calc-vec.el (calc-histogram):
8534 (calcFunc-histogram): Allow vectors as inputs.
8535 (math-vector-avg): New function.
8537 * calc/calc-ext.el (math-group-float): Have the number of digits
8538 being grouped depend on the radix (Bug#6189).
8540 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8542 * version.el (emacs-copyright, emacs-version): Don't define here,
8543 now that emacs.c defines it.
8545 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8547 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8548 "Describe Language Environment" menu item.
8550 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8552 Bidi-sensitive movement with arrow keys.
8553 * subr.el (right-arrow-command, left-arrow-command): New functions.
8555 * bindings.el (global-map): Bind them to right and left arrow keys.
8557 Don't override standard definition of convert-standard-filename.
8558 * files.el (convert-standard-filename):
8559 Call w32-convert-standard-filename and dos-convert-standard-filename on
8560 the corresponding systems.
8562 * w32-fns.el (w32-convert-standard-filename): Rename from
8563 convert-standard-filename. Doc fix.
8565 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8566 (convert-standard-filename): Don't defalias.
8567 (register-name-alist, make-register, register-value)
8568 (set-register-value, intdos): Obsolete aliases for the
8569 corresponding dos-* functions and variables.
8570 (dos-intdos): Add a doc string.
8572 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8574 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8575 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8576 (math-compose-tex-func):
8577 * calc/calccomp.el (math-compose-expr):
8578 * calc/calc-ext.el (math-format-flat-expr-fancy):
8579 * calc/calc-store.el (calc-read-var-name):
8580 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8582 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8583 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8584 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8585 (math-standard-units): Add units.
8587 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8589 * progmodes/asm-mode.el (asm-mode):
8590 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8592 * pcomplete.el (pcomplete-completions-at-point): New function,
8593 extracted from pcomplete-std-complete.
8594 (pcomplete-std-complete): Use it.
8596 2010-05-15 Glenn Morris <rgm@gnu.org>
8598 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8599 Remove references to CVS, RCS and Old directories.
8601 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8603 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8606 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8608 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8609 (sh-mode-syntax-table): Give it a default value instead.
8610 (sh-header-marker): Make buffer-local.
8611 (sh-mode): Move make-local-variable to the corresponding setq.
8612 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8613 Use complete-with-action.
8615 * simple.el (prog-mode): New (abstract) major mode.
8616 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8617 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8619 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8621 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8622 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8623 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8624 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8625 (sql-escape-newlines-filter, sql-input-sender)
8626 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8628 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8630 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8632 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8633 latex-open-block and C-c / to latex-close-block.
8635 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8636 and C-c C-e to sgml-close-tag.
8638 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8640 * net/tramp.el (with-progress-reporter): Create reporter object
8641 only when the message would be displayed. Handle nested calls.
8642 (tramp-handle-load, tramp-handle-file-local-copy)
8643 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8644 (tramp-maybe-send-script, tramp-find-shell):
8645 Use `with-progress-reporter'.
8646 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8649 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8650 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8651 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8652 Use `with-progress-reporter'.
8654 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8656 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8657 process everytime when spellchecking from the minibuffer (bug#6143).
8659 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8663 * dos-fns.el: Add "dos-" prefix for namespace control.
8664 (convert-standard-filename): Define as alias for
8665 dos-convert-standard-filename but only if applicable.
8667 2010-05-12 Alan Mackenzie <acm@muc.de>
8669 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8670 Push the mark at the start of these functions when appropriate.
8672 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * minibuffer.el (completion-cycle-threshold): New custom var.
8675 (completion--do-completion): Use it.
8676 (minibuffer-complete): Use cycling if appropriate.
8678 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8680 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8681 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8683 2010-05-11 Juri Linkov <juri@jurta.org>
8685 * scroll-all.el (scroll-all-check-to-scroll):
8686 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8688 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8690 * iimage.el (iimage-mode-map): Move initialization into declaration.
8691 (iimage-mode-buffer): Use with-silent-modifications.
8692 Simplify calling convention. Adjust callers.
8693 (iimage-mode): Don't run hook redundantly.
8695 * minibuffer.el (completion-pcm--pattern->regex):
8696 Fix last change (bug#6160).
8698 2010-05-10 Juri Linkov <juri@jurta.org>
8700 Remove nodes visited during Isearch from the Info history.
8701 * info.el (Info-isearch-initial-history)
8702 (Info-isearch-initial-history-list): New variables.
8703 (Info-isearch-start): Record initial values of
8704 Info-isearch-initial-history and Info-isearch-initial-history-list.
8705 Add Info-isearch-end to isearch-mode-end-hook.
8706 (Info-isearch-end): New function.
8708 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8710 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8711 format string, in order to work around a bug in pdksh.
8712 Reported by Gilles Pion <gpion@lfdj.com>.
8713 (tramp-handle-verify-visited-file-modtime): Do not send a command
8714 when the connection is not established.
8715 (tramp-handle-set-file-times): Simplify the check for utc.
8717 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8719 Fix use of `filter-buffer-substring' (rework previous change).
8720 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8721 (cua-repeat-replace-region):
8722 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8723 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8724 (cua-cut-region-to-global-mark): Use it.
8726 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8728 * progmodes/sql.el: Version 2.1.
8729 (sql-product-alist): Redesign structure of product info.
8730 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8731 (sql-port, sql-port-history): New variables.
8732 (sql-interactive-product): New variable.
8733 (sql-send-terminator): New variable.
8734 (sql-imenu-generic-expression): Add "Types" imenu entry.
8735 (sql-oracle-login-params, sql-sqlite-login-params)
8736 (sql-mysql-login-params, sql-solid-login-params)
8737 (sql-sybase-login-params, sql-informix-login-params)
8738 (sql-ingres-login-params, sql-ms-login-params)
8739 (sql-postgres-login-params, sql-interbase-login-params)
8740 (sql-db2-login-params, sql-linter-login-params)
8741 (sql-oracle-scan-on): New variables.
8742 (sql-mode-map): Add C-c C-i to start interactive mode.
8743 (sql-mode-menu): Update existing menu entries.
8744 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8745 (sql-mode-oracle-font-lock-keywords)
8746 (sql-mode-postgres-font-lock-keywords)
8747 (sql-mode-ms-font-lock-keywords)
8748 (sql-mode-sybase-font-lock-keywords)
8749 (sql-mode-informix-font-lock-keywords)
8750 (sql-mode-interbase-font-lock-keywords)
8751 (sql-mode-ingres-font-lock-keywords)
8752 (sql-mode-solid-font-lock-keywords)
8753 (sql-mode-mysql-font-lock-keywords)
8754 (sql-mode-sqlite-font-lock-keywords)
8755 (sql-mode-db2-font-lock-keywords)
8756 (sql-mode-linter-font-lock-keywords): Update initialization to
8757 reduce run-time complexity.
8758 (sql-add-product, sql-del-product): New functions.
8759 (sql-set-product-feature, sql-get-product-feature): New functions.
8760 (sql-product-font-lock): Update product API.
8761 (sql-add-product-keywords): New function.
8762 (sql-highlight-product): Update product API.
8763 (sql-help-list-products): New function.
8764 (sql-help): Dynamically lists free and non-free products.
8765 (sql-get-login): Correct bug in handling history and added
8767 (sql-copy-column): Copy without properties.
8768 (sqli-input-sender): Apply filters to SQLi input.
8769 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8770 Implement as a filter.
8771 (sql-escape-newlines-filter): Implement as a filter.
8772 (sql-remove-tabs-filter): New function.
8773 (sql-send-magic-terminator): New function.
8774 (sql-send-string): Implement magic terminator.
8775 (sql-send-region): Use `sql-send-string'.
8776 (sql-interactive-mode): Use product API.
8777 (sql-product-interactive): Use product API.
8778 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8779 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8780 (sql-db2, sql-linter): Use `sql-product-interactive'.
8781 (sql-connect): New function.
8782 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8783 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8784 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8785 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8788 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8790 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8791 New custom variable.
8792 (completion-pcm--string->pattern): Use it.
8793 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8794 Make it handle any symbol as `any'.
8795 (completion-pcm--merge-completions): Extract common suffix for the new
8796 `prefix' symbol as well.
8797 (completion-substring--all-completions): Use the new `prefix' symbol.
8799 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8801 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8803 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8804 (tramp-compat-funcall): New defmacro.
8805 (tramp-compat-line-beginning-position)
8806 (tramp-compat-line-end-position)
8807 (tramp-compat-temporary-file-directory)
8808 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8809 (tramp-compat-copy-file, tramp-compat-copy-directory)
8810 (tramp-compat-delete-file, tramp-compat-delete-directory)
8811 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8812 * net/tramp.el (top, with-progress-reporter)
8813 (tramp-rfn-eshadow-setup-minibuffer)
8814 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8815 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8816 (tramp-completion-mode-p, tramp-check-for-regexp)
8817 (tramp-open-connection-setup-interactive-shell)
8818 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8819 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8820 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8821 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8822 (tramp-reporter-dump-variable, tramp-load-report-modules)
8823 (tramp-append-tramp-buffers)
8824 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8826 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8828 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8830 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8831 buffer-modtime. Adjust users.
8833 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8835 * international/mule.el (auto-coding-alist): Only purecopy
8836 car of each item, not the whole list (Bug#6083).
8838 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8840 * progmodes/js.el (js-mode): Make paragraph variables local before
8841 calling c-setup-paragraph-variables (Bug#6071).
8843 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8845 * composite.el (compose-region, reference-point-alist): Fix typos
8848 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8850 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8851 gnuplot's "set" command.
8853 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8855 * abbrev.el (last-abbrev-text): Doc fix.
8856 (abbrev-prefix-mark): Don't escape parenthesis.
8858 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8860 * composite.el (find-composition): Doc fix.
8862 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8864 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8865 (sql-oracle-program, sql-sqlite-options)
8866 (sql-query-placeholders-and-send): Doc fixes.
8867 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8868 (sql-imenu-generic-expression, sql-buffer)
8869 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8870 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8871 (sql-mode-sybase-font-lock-keywords)
8872 (sql-mode-informix-font-lock-keywords)
8873 (sql-mode-interbase-font-lock-keywords)
8874 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8875 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8876 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8877 (sql-product-feature, sql-highlight-product)
8878 (comint-line-beginning-position, sql-rename-buffer)
8879 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8880 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8881 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8882 Fix typos in docstrings.
8884 2010-05-08 Juri Linkov <juri@jurta.org>
8886 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8887 property instead of `invisible' and `after-string' (bug#5998).
8889 2010-05-08 Juri Linkov <juri@jurta.org>
8891 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8893 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8895 * filecache.el (file-cache-add-directory-list)
8896 (file-cache-add-directory-recursively): Fix typos in docstrings.
8898 2010-05-08 Kenichi Handa <handa@m17n.org>
8900 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8901 (gujarati-composable-pattern): Fix typo.
8903 2010-05-08 Kenichi Handa <handa@m17n.org>
8905 * language/indian.el (oriya-composable-pattern)
8906 (tamil-composable-pattern, malayalam-composable-pattern):
8907 Add two-part vowels to "v" (vowel sign).
8909 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8911 * files.el (copy-directory): Handle symlinks (Bug#5982).
8913 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8915 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8916 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8919 2010-05-08 Glenn Morris <rgm@gnu.org>
8921 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8923 * minibuffer.el (completion-at-point): Doc fix.
8925 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * electric.el (Electric-command-loop): Minor tweak.
8929 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8930 better with dedicated windows.
8932 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8934 * Version 23.2 released.
8936 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8937 Stefan Monnier <monnier@iro.umontreal.ca>
8939 Highlight vendor specific properties.
8940 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8941 (css-proprietary-property): New face.
8942 (css-font-lock-keywords): Use them.
8944 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8946 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8948 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8950 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8951 * files.el (auto-mode-alist): Remove redundant entries.
8953 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8954 * simple.el (auto-save-mode): Move from files.el.
8955 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8957 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8959 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8961 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8963 * mail/binhex.el (binhex-decode-region-internal)
8964 * mail/uudecode.el (uudecode-decode-region-internal)
8965 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8966 (dns-read-type, dns-query)
8967 * pgg-parse.el (pgg-parse-armor)
8968 * pgg.el (pgg-verify-region)
8969 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8972 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8974 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8976 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8978 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8979 * emulation/cua-base.el (cua-repeat-replace-region):
8980 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8981 (cua-cut-region-to-global-mark):
8982 Remove text properties with `set-text-properties'.
8984 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8986 * net/tramp.el (top, with-progress-reporter):
8987 Use `symbol-function' inside `funcall'.
8989 * net/tramp-compat.el (tramp-compat-file-attributes)
8990 (tramp-compat-delete-file, tramp-compat-delete-directory):
8991 Handle only `wrong-number-of-arguments' error.
8993 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8994 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8997 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * minibuffer.el (completion--sreverse, completion--common-suffix):
9001 (completion-pcm--merge-completions): Extract common suffix when safe.
9003 * emacs-lisp/easy-mmode.el (define-minor-mode):
9004 Make :variable more flexible.
9005 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9007 2010-05-05 Juri Linkov <juri@jurta.org>
9009 Add `slow' and `history' tags to the desktop data.
9011 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9012 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9013 (Info-finder-find-node): Require `finder.el' to be able
9014 to restore node from the desktop.
9015 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9016 data `Info-history' and `slow' tag in the assoc list.
9017 (Info-restore-desktop-buffer): Don't restore nodes with the
9018 `slow' tag. Restore `Info-history'.
9020 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9022 Add FORCE argument to `delete-file'.
9024 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9025 forcing to delete the temporary file.
9026 (ange-ftp-delete-file): Add FORCE arg.
9027 (ange-ftp-rename-remote-to-remote)
9028 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9029 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9030 Force file deletion.
9032 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9034 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9035 (tramp-handle-make-symbolic-link, tramp-handle-load)
9036 (tramp-do-copy-or-rename-file-via-buffer)
9037 (tramp-do-copy-or-rename-file-directly)
9038 (tramp-do-copy-or-rename-file-out-of-band)
9039 (tramp-handle-process-file, tramp-handle-call-process-region)
9040 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9041 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9042 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9044 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9045 (tramp-fish-handle-make-symbolic-link)
9046 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9048 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9049 Use `tramp-compat-delete-file'.
9051 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9052 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9054 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9055 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9057 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9058 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9059 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9060 Use `tramp-compat-delete-file'.
9062 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9065 * subr.el (add-minor-mode): Use push.
9066 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9067 * emulation/edt.el (edt-select-mode): Simplify.
9069 Use define-minor-mode in more cases.
9070 * term/tvi970.el (tvi970-set-keypad-mode):
9071 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9072 (normal-erase-is-backspace-mode):
9073 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9074 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9075 (get-scroll-bar-mode): New function.
9076 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9078 Use define-minor-mode for less obvious cases.
9079 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9080 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9081 * international/iso-ascii.el (iso-ascii-mode):
9082 * frame.el (auto-raise-mode, auto-lower-mode):
9083 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9085 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9087 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9088 in order to see error messages for failed logins.
9090 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9092 * diff.el (diff-sentinel):
9094 * epg.el (epg--make-temp-file, epg-decrypt-string)
9095 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9097 * jka-compr.el (jka-compr-partial-uncompress)
9098 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9100 * server.el (server-sentinel): Use delete-file's new FORCE arg
9103 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9105 Use define-minor-mode where applicable.
9106 * view.el (view-mode):
9107 * type-break.el (type-break-query-mode)
9108 (type-break-mode-line-message-mode):
9109 * textmodes/reftex.el (reftex-mode):
9110 * term/vt100.el (vt100-wide-mode):
9111 * tar-mode.el (tar-subfile-mode):
9112 * savehist.el (savehist-mode):
9113 * ibuf-ext.el (ibuffer-auto-mode):
9114 * composite.el (auto-composition-mode):
9115 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9116 Use define-minor-mode.
9117 (vhdl-mode): Use static mode-line format.
9118 (vhdl-mode-line-update): Delete.
9119 (vhdl-create-mode-menu, vhdl-activate-customizations)
9120 (vhdl-hs-minor-mode): Don't bother calling it.
9122 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * simple.el (with-wrapper-hook): Move.
9125 (buffer-substring-filters): Mark obsolete.
9126 (filter-buffer-substring-functions): New variable.
9127 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9129 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9130 Michael Albinus <michael.albinus@gmx.de>
9132 Implement compression for inline methods.
9134 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9135 (tramp-copy-size-limit): Allow also nil.
9136 (tramp-inline-compress-commands): New defconst.
9137 (tramp-find-inline-compress, tramp-get-inline-compress)
9138 (tramp-get-inline-coding): New defuns.
9139 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9140 replaced by `tramp-get-inline-coding'.
9141 (tramp-handle-file-local-copy, tramp-handle-write-region)
9142 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9144 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9147 Remove unused functions.
9149 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9150 Set find-tag-default-function as a variable rather than a property.
9152 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9153 * progmodes/etags.el (tags-completion-at-point-function):
9154 Remove left over interactive spec. Add autoloading stub.
9155 (complete-tag): Use tags-completion-at-point-function.
9157 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9159 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9161 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9163 * ido.el (ido-init-completion-maps): Remove C-v binding.
9164 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9166 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9168 * minibuffer.el (tags-completion-at-point-function): New function.
9169 (completion-at-point-functions): Use it.
9171 * progmodes/etags.el (complete-tag): Revert last change.
9173 2010-04-29 Alan Mackenzie <acm@muc.de>
9175 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9176 off-by-one error (in end of macro position).
9178 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9181 firefox is absent. Don't autoload.
9182 (browse-url-galeon-program): Don't autoload.
9184 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9186 * bindings.el (complete-symbol): Move into minibuffer.el.
9188 * minibuffer.el (complete-tag): Move from etags.el. If tags
9189 completion cannot be performed, return nil instead of signalling
9191 (completion-at-point): Make it an alias for complete-symbol.
9192 (complete-symbol): Move from bindings.el, and replace with the
9193 body of completion-at-point.
9195 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9197 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9199 * net/tramp.el (tramp-remote-selinux-p): New defun.
9200 (tramp-handle-file-selinux-context)
9201 (tramp-handle-set-file-selinux-context): Use it.
9203 2010-04-28 Sam Steingold <sds@gnu.org>
9205 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9206 `safe-local-variable' if the value is a string or a symbol with
9207 the property `bug-reference-url-format'.
9209 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9211 * progmodes/bug-reference.el (bug-reference-url-format):
9212 Revert 2010-04-27 change due to security risk.
9214 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9216 Make it possible to locally disable a globally enabled mode.
9217 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9218 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9219 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9220 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9221 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9222 that subsequent hooks get a chance to disable it.
9224 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9226 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9227 Avoid re-enabling a minor mode after the user turned the minor mode
9228 off if MODE-enable-in-buffers is run twice (typically once from
9229 fundamental-mode's after-change-major-mode-hook and a second time from
9230 run-mode-hook's own after-change-major-mode-hook).
9232 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9234 2010-04-27 Sam Steingold <sds@gnu.org>
9236 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9237 `safe-local-variable' if the value is a string or a function, as
9238 documented and implemented on 2010-04-02.
9240 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9242 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9243 when method is 'kill.
9245 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9247 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9248 condition in default directory check.
9249 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9250 Kill ispell process when killing its associated buffer.
9252 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9254 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9255 but we aren't using it.
9257 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9259 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9260 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9262 2010-04-24 Glenn Morris <rgm@gnu.org>
9264 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9265 Ignore VCS-ignore files, and deleted nextstep preferences files.
9266 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9267 (authors-ambiguous-files): New list.
9268 (authors-valid-file-names): Add some deleted files.
9269 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9270 (authors-disambiguate-file-name): New function. (Bug#5501)
9271 (authors-canonical-file-name): Doc fix.
9272 Don't warn about obsolete files.
9273 (authors-canonical-file-name, authors-scan-el):
9274 Use authors-disambiguate-file-name.
9276 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9277 Add autoload cookies.
9278 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9279 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9280 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9281 They have definitions / compiler macros in cl.el.
9282 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9283 Replace manual autoloads with generated ones.
9284 (htmlfontify-unload-rgb-file): Remove autoload.
9285 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9287 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9290 (byte-compile-setq-default): Optimize for the
9291 single-var case and don't call byte-compile-form in this case to avoid
9292 inf-loop with byte-compile-set-default.
9294 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9296 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9298 Implement SELINUX backends.
9300 * net/tramp.el (tramp-file-name-handler-alist):
9301 Add `file-selinux-context' and `set-file-selinux-context'.
9302 (tramp-handle-file-selinux-context)
9303 (tramp-handle-set-file-selinux-context): New defuns.
9304 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9305 Handle PRESERVE-SELINUX-CONTEXT.
9307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9308 Add `file-selinux-context' and `set-file-selinux-context'.
9309 (tramp-gvfs-handle-file-selinux-context)
9310 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9311 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9313 * net/ange-ftp.el (ange-ftp-copy-file):
9314 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9315 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9316 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9317 Add PRESERVE-SELINUX-CONTEXT.
9319 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9321 Synchronize with Tramp repository.
9323 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9324 (tramp-action-process-alive, tramp-action-out-of-band)
9325 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9326 (tramp-exists-file-name-handler): Fix docstring.
9327 (with-progress-reporter): New defmacro.
9328 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9329 (tramp-maybe-open-connection): Use it.
9331 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9333 Detect ssh 'ControlMaster' argument automatically in some cases.
9335 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9336 (tramp-default-method): Use it.
9338 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9340 * net/tramp.el (tramp-handle-copy-file): Add new optional
9341 parameter `preserve-selinux-context'.
9342 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9344 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9346 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9347 Ensure, that non remote files are still checked. Oops.
9349 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9353 * icomplete.el (icomplete-completions): Use `non-essential'.
9355 * net/tramp.el (tramp-connectable-p): New defun.
9356 (tramp-handle-expand-file-name)
9357 (tramp-completion-handle-file-name-all-completions)
9358 (tramp-completion-handle-file-name-completion): Use it.
9360 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9362 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9364 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9366 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9368 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9370 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9373 * info.el (info-tool-bar-map): Add labels.
9375 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9377 * cus-edit.el (custom-commands): Add labels for tool bar.
9378 (custom-buffer-create-internal, Custom-mode): Adjust for
9379 labels in custom-commands.
9381 * dynamic-setting.el: Renamed from font-setting.el.
9383 2010-04-21 John Wiegley <jwiegley@gmail.com>
9385 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9386 toggles the use of virtual buffers.
9387 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9388 (ido-toggle-virtual-buffers): New function.
9390 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9392 Use `define-derived-mode'; fix window selection; doc fixes.
9393 * play/tetris.el (tetris, tetris-update-speed-function)
9394 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9395 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9396 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9397 (tetris-pause-game): Fix typos in docstrings.
9398 (tetris-mode-map, tetris-null-map):
9399 Move initialization into declaration.
9400 (tetris-mode): Define with `define-derived-mode';
9401 set show-trailing-whitespace to nil.
9402 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9404 2010-04-21 Karel Klíč <kklic@redhat.com>
9406 * files.el (backup-buffer): Handle SELinux context, and return it
9407 if a backup was made by renaming.
9408 (backup-buffer-copy): Set SELinux context to the target file.
9409 (basic-save-buffer): Set SELinux context of the newly written file.
9410 (basic-save-buffer-1): Now it also returns any SELinux context.
9411 (basic-save-buffer-2): Set SELinux context of the newly created file,
9413 * net/tramp.el (tramp-file-name-for-operation):
9414 Add file-selinux-context.
9416 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9418 Make the log-edit comments use RFC822 format throughout.
9420 * vc.el (vc-checkin, vc-modify-change-comment):
9421 Adjust to new vc-start/finish-logentry.
9422 (vc-find-conflicted-file): New command.
9423 (vc-transfer-file): Adjust to new vc-checkin.
9424 (vc-next-action): Improve scoping.
9426 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9427 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9429 * vc-git.el (vc-git-log-edit-mode): Remove.
9430 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9431 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9433 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9434 (vc-start-logentry): Remove argument `extra'.
9435 (vc-finish-logentry): Remove extra args.
9437 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9438 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9439 (vc-bzr-conflicted-files): New function.
9441 * log-edit.el (log-edit-extra-flags)
9442 (log-edit-before-checkin-process): Remove.
9443 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9444 (log-edit-headers-alist): New var.
9445 (log-edit-header-contents-regexp): New const.
9446 (log-edit-match-to-eoh): New function.
9447 (log-edit-font-lock-keywords): Use them.
9448 (log-edit): Insert a "Summary:" header as default.
9449 (log-edit-mode): Mark font-lock rules as case-insensitive.
9450 (log-edit-done): Cleanup headers.
9451 (log-view-process-buffer): Remove.
9452 (log-edit-extract-headers): New function to replace it.
9454 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9456 * subr.el (default-direction-reversed): Remove obsolescence info.
9458 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9460 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9463 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9464 I.e. include text after point in the completion region.
9465 Also, return nil when we're not after/in a symbol.
9467 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9468 default enable-multibyte-characters.
9470 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * international/mule.el: Help the user choose a valid coding-system.
9473 (read-buffer-file-coding-system): New function.
9474 (set-buffer-file-coding-system): Use it. Prompt the user if the
9475 coding-system cannot encode all the chars.
9477 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9478 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9479 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9480 Don't use *vc-bzr-shelve*.
9482 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9484 Fix the version number for added files.
9485 * vc-hg.el (vc-hg-working-revision): Check if the file is
9486 registered after hg parent fails (Bug#5961).
9488 2010-04-19 Glenn Morris <rgm@gnu.org>
9490 * htmlfontify.el (htmlfontify-buffer)
9491 (htmlfontify-copy-and-link-dir): Autoload entry points.
9493 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9495 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9496 name relative to the project root (Bug#5960).
9498 2010-04-19 Glenn Morris <rgm@gnu.org>
9500 * vc-git.el (vc-git-print-log): Doc fix.
9502 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9504 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9506 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9508 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9509 default settings (Bug#5928).
9511 2010-04-19 Glenn Morris <rgm@gnu.org>
9513 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9515 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9517 2010-04-19 Kenichi Handa <handa@m17n.org>
9519 * language/indian.el (malayalam-composable-pattern): Fix previous
9520 change (add U+0D4D "SIGN VIRAMA").
9521 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9522 (tamil-composable-pattern): Fix typo in the regexp.
9523 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9524 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9525 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9527 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9529 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9530 paragraph-separate (Bug#5821).
9532 2010-04-19 Juri Linkov <juri@jurta.org>
9534 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9536 * info.el (Info-find-node-2): Comment out code that skips
9538 (Info-mouse-follow-link): New command.
9539 (Info-link-keymap): New keymap.
9540 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9541 Return a string with links instead of inserting breadcrumbs
9543 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9544 Instead of putting the `invisible' text property over the Info
9545 header, make an overlay over the Info header with the `invisible'
9546 property and `after-string' set to the string returned by
9549 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9551 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9552 Reported by monkey@sandpframing.com.
9554 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9557 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9558 available in the "keyseq cache" any more.
9560 * custom.el (defcustom): Add edebug spec.
9562 2010-04-18 Juri Linkov <juri@jurta.org>
9564 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9566 * view.el (view-file, view-buffer): Move test for special mode-class
9567 from view-file to view-buffer.
9569 * tar-mode.el (tar-extract): Turn if's into one cond
9570 like in arc-mode.el.
9572 2010-04-18 Juri Linkov <juri@jurta.org>
9574 Add 7z archive format support (bug#5475).
9576 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9577 (archive-7z-extract): New defcustom.
9578 (archive-find-type): Add magic string for 7z.
9579 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9580 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9581 `buffer' arg of `call-process'.
9582 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9583 call the function `archive-7z-extract' with the variable
9584 `archive-7z-extract' let-bound to `archive-zip-extract'.
9585 (archive-7z-summarize, archive-7z-extract): New functions.
9587 * international/mule.el (auto-coding-alist):
9588 * files.el (auto-mode-alist): Add 7z file extension.
9590 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * loadup.el: Setup hash-cons for pure data.
9594 Fix duplicate entries in cedet's loaddefs.el files.
9595 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9596 Should make most file-local generated-autoload-file unnecessary.
9597 (print-readably): Silence warnings.
9598 (autoload-find-destination): Take load-name as an arg to make sure
9599 it's the same as the one that will be in the file.
9600 (autoload-generate-file-autoloads): Adjust to above changes.
9601 Try to make the dataflow a bit simpler.
9603 * cvs-status.el (cvs-refontify): Remove unused.
9605 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9607 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9609 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9610 twos-complement mode.
9612 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9614 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9615 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9616 (calc-inverse): Add "Option" to message, as appropriate.
9617 (calc-hyperbolic): Add "Option" to message, as appropriate.
9618 (calc-option, calc-is-option): New functions.
9620 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9621 (calc-option-prefix-help): New function.
9623 * calc/calc-misc.el (calc-help): Add "Option" entry.
9625 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9626 (calc-option-flag): New variable.
9627 (calc-do): Set `calc-option-flag to nil.
9628 (calc-set-mode-line): Add "Opt " as appropriate.
9630 2010-04-16 Juri Linkov <juri@jurta.org>
9632 Move scrolling commands from simple.el to window.el
9633 because their primitives are implemented in window.c.
9635 * simple.el (scroll-error-top-bottom)
9636 (scroll-up-command, scroll-down-command, scroll-up-line)
9637 (scroll-down-line, scroll-other-window-down)
9638 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9639 * window.el (scroll-error-top-bottom)
9640 (scroll-up-command, scroll-down-command, scroll-up-line)
9641 (scroll-down-line, scroll-other-window-down)
9642 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9643 Move from simple.el to window.el because their primitives are
9644 implemented in window.c.
9646 2010-04-16 Juri Linkov <juri@jurta.org>
9648 * isearch.el (isearch-lookup-scroll-key): Check both
9649 `isearch-scroll' and `scroll-command' properties.
9650 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9652 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9654 * simple.el (scroll-up-command, scroll-down-command)
9655 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9657 2010-04-15 Juri Linkov <juri@jurta.org>
9659 * simple.el (scroll-up-command, scroll-down-command)
9660 (scroll-up-line, scroll-down-line): Put `scroll-command'
9661 property on the these symbols. Remove them from
9662 `scroll-preserve-screen-position-commands'.
9664 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9665 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9666 Remove it from `scroll-preserve-screen-position-commands'.
9668 * isearch.el (isearch-allow-scroll): Doc fix.
9670 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9672 * net/tramp.el (tramp-error-with-buffer): Don't show the
9673 connection buffer when we are in completion mode.
9674 (tramp-file-name-handler): Catch the error for some operations
9675 when we are in completion mode. This gives the user the chance to
9676 correct the file name in the minibuffer.
9678 2010-04-15 Glenn Morris <rgm@gnu.org>
9680 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9682 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9684 Simplify by using `define-derived-mode'.
9685 * info.el (Info-mode):
9686 * calendar/todo-mode.el (todo-mode):
9687 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9688 (gomoku-mode-map): Move initialization into declaration.
9690 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9693 * ido.el (ido-file-name-all-completions-1):
9694 * minibuffer.el (minibuffer-completion-help):
9695 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9697 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * simple.el (non-essential): New var.
9701 Add a new field `location' to bookmarks for non-file bookmarks.
9702 * bookmark.el (bookmark-location): Use the new field, if present.
9703 (bookmark-insert-location): Undo last change, not needed any more.
9704 * man.el (Man-bookmark-make-record):
9705 * woman.el (woman-bookmark-make-record): Add `location' field.
9707 2010-04-14 Juri Linkov <juri@jurta.org>
9709 * simple.el (scroll-error-top-bottom): New defcustom.
9710 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9712 * emulation/pc-select.el (pc-select-override-scroll-error):
9713 Obsolete in favor of `scroll-error-top-bottom'.
9715 2010-04-14 Juri Linkov <juri@jurta.org>
9717 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9718 `scroll-up-command' and `M-v' to `scroll-down-command'.
9720 * emulation/cua-rect.el (cua--init-rectangles):
9721 * forms.el (forms--change-commands):
9722 * image-mode.el (image-mode-map):
9723 Remap scroll-down-command and scroll-up-command
9724 in addition to scroll-down and scroll-up.
9726 2010-04-14 Juri Linkov <juri@jurta.org>
9728 * mwheel.el (scroll-preserve-screen-position-commands):
9729 Add mwheel-scroll to this list of commands.
9731 * simple.el (scroll-preserve-screen-position-commands):
9732 Add scroll-up-command, scroll-down-command, scroll-up-line,
9733 scroll-down-line to this list of commands.
9735 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * obsolete/complete.el: Move from lisp/complete.el.
9739 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9741 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9742 to the minor mode function now turns the mode ON unconditionally.
9744 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * vc-dir.el (vc-dir-kill-line): New command.
9747 (vc-dir-mode-map): Bind it to C-k.
9749 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9751 * woman.el: Add bookmark declarations to silence the compiler.
9752 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9753 step to compatibility between man and woman bookmarks.
9754 Adjust for Man-default-bookmark-title renaming.
9755 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9757 * man.el: Add bookmark declarations to silence the compiler.
9758 (Man-name-local-regexp): Make it match NAME as well.
9759 (Man-getpage-in-background): Return the buffer.
9760 (Man-notify-when-ready): Use `case'.
9761 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9762 Don't hardcode "NAME". Simplify.
9763 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9764 Rename from Man-bookmark-make-record.
9765 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9766 we have the actual man-args. Use Man-getpage-in-background rather
9767 than `man' since the arg is already processed. Let bookmark.el do the
9768 window handling. Only wait for the relevant process.
9769 Don't forget to autoload.
9771 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9773 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9775 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9777 (woman-mode): Setup bookmark support.
9779 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9780 (man-bookmark-jump): New functions.
9781 (Man-mode): Setup bookmark support.
9783 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9785 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9786 recognize ssh-keygen prompt (Bug#2817).
9788 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9790 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9792 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9794 Synchronize with Tramp repository.
9796 * net/tramp.el (tramp-completion-function-alist)
9797 (tramp-file-name-regexp, tramp-chunksize)
9798 (tramp-local-coding-commands, tramp-remote-coding-commands):
9800 (tramp-remote-process-environment): Use `format' instead of `concat'.
9801 (tramp-handle-directory-files-and-attributes)
9802 (tramp-get-remote-path): Use `copy-tree'.
9803 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9804 compatibility: Use `completion-ignore-case' if
9805 `read-file-name-completion-ignore-case' does not exist.
9806 (tramp-do-copy-or-rename-file-directly): Do not use
9807 `tramp-handle-file-remote-p'.
9808 (tramp-do-copy-or-rename-file-out-of-band):
9809 Use `tramp-compat-delete-directory'.
9810 (tramp-do-copy-or-rename-file-out-of-band)
9811 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9812 Use `format-spec-make'.
9813 (tramp-find-foreign-file-name-handler)
9814 (tramp-advice-make-auto-save-file-name)
9815 (tramp-set-auto-save-file-modes): Remove superfluous check for
9816 `stringp'. This is done inside `tramp-tramp-file-p'.
9817 (tramp-debug-outline-regexp): New defconst.
9818 (tramp-get-debug-buffer): Use it.
9819 (tramp-check-for-regexp): Use (forward-line 1).
9820 (tramp-set-auto-save-file-modes): Adapt version check.
9822 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9823 Wrap call of `featurep' for 2nd argument.
9824 (tramp-compat-make-temp-file): Simplify fallback implementation.
9825 (tramp-compat-copy-tree): Remove function.
9826 (tramp-compat-delete-directory): Provide implementation for older
9829 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9830 Do not use `tramp-fish-handle-file-attributes.
9832 * net/trampver.el: Update release number.
9834 2010-04-10 Glenn Morris <rgm@gnu.org>
9836 * progmodes/compile.el (compilation-save-buffers-predicate):
9837 Add missing :version tag.
9839 2010-04-09 Sam Steingold <sds@gnu.org>
9841 * progmodes/compile.el (compilation-save-buffers-predicate):
9842 Remove the "autoload" cookie.
9844 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9845 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9846 and `bug-reference-prog-mode' can be used in hooks directly.
9848 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9850 Add --author support to git commit.
9851 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9852 (vc-git-log-edit-mode): New minor mode.
9853 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9856 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9858 * vc-hooks.el, vc-git.el: Improve documentation comments.
9860 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9862 Fix some of the problems in defsubst* (bug#5728).
9863 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9864 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9866 2010-04-07 Sam Steingold <sds@gnu.org>
9868 * progmodes/compile.el (compilation-save-buffers-predicate):
9869 New custom variable.
9870 (compile, recompile): Pass it to `save-some-buffers'.
9872 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9874 * wid-edit.el (widget-choose): Move cursor to the second line of
9875 the buffer (Bug#5695).
9877 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9879 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9880 * vc.el (vc-print-log-setup-buttons): New function split out from
9881 vc-print-log-internal.
9882 (vc-log-internal-common): New function, a parametrized version of
9883 vc-print-log-internal.
9884 (vc-print-log-internal): Just call vc-log-internal-common with the
9886 (vc-incoming-outgoing-internal):
9887 (vc-log-incoming, vc-log-outgoing): New functions.
9888 (vc-log-view-type): New permanent local variable.
9890 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9892 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9893 of the dynamic bound vc-short-log.
9894 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9896 * vc-git.el (vc-git-log-outgoing): New function.
9897 (vc-git-log-view-mode): Use vc-log-view-type instead
9898 of the dynamic bound vc-short-log.
9900 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9901 of the dynamic bound vc-short-log. Highlight the tag.
9902 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9903 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9904 (vc-hg-incoming-mode): Remove.
9905 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9907 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9909 Fix default-directory for vc-root-diff.
9910 * vc.el (vc-root-diff): Bind default-directory to the root
9911 directory for the diff command.
9913 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9915 * progmodes/verilog-mode.el (verilog-forward-sexp):
9916 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9917 word keywords, suggested by Steve Pearlmutter.
9918 (verilog-pretty-declarations): Support lineup of declarations in
9920 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9921 fix bug for /* / comments.
9922 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9923 Speed up and simplfy as this is never called with a bound.
9924 (verilog-pretty-declarations): Enhance to line up declarations
9925 inside a parameter list, suggested by Alan Morgan.
9926 (verilog-pretty-expr): Tune assignment regular expression match
9927 string for corner cases; also use markers instead of character
9928 number as indent changes the later.
9930 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9932 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9934 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9935 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9936 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9937 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9940 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9941 1800-2009 keywords, including "global.".
9943 2010-04-06 John Wiegley <jwiegley@gmail.com>
9945 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9946 appearing in buffer list (if a live buffer name matched a recentf
9947 file basename). Should use uniquify to offer a real solution.
9949 2010-04-06 John Wiegley <jwiegley@gmail.com>
9951 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9952 comment to code, and add a :version tag.
9953 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9955 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9957 Enable recentf-mode if using virtual buffers.
9958 * ido.el (recentf-list): Declare for byte-compiler.
9959 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9960 (ido-make-buffer-list): Simplify.
9961 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9963 2010-04-05 Juri Linkov <juri@jurta.org>
9965 Scrolling commands which scroll a line instead of full screen.
9966 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9968 * simple.el (scroll-up-line, scroll-down-line): New commands.
9969 Put property isearch-scroll=t on them.
9971 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9974 2010-04-05 Juri Linkov <juri@jurta.org>
9976 Scrolling commands which do not signal errors at top/bottom.
9977 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9979 * simple.el (scroll-up-command, scroll-down-command): New commands.
9980 Put property isearch-scroll=t on them.
9982 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9983 `scroll-down-command' and [next] from `scroll-up' to
9984 `scroll-up-command'.
9986 * emulation/cua-base.el: Put property CUA=move on
9987 `scroll-up-command' and `scroll-down-command'.
9988 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9989 and `scroll-down-command' to `cua-scroll-down'.
9991 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9993 * help.el (describe-mode): Return nil.
9995 2010-04-04 John Wiegley <jwiegley@gmail.com>
9997 * ido.el (ido-use-virtual-buffers): New variable to indicate
9998 whether "virtual buffer" support is enabled for IDO.
9999 (ido-virtual): Face used to indicate virtual buffers in the list.
10000 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10001 exists, but a virtual buffer of that name does (which would be why
10002 it was in the list), recreate the buffer by reopening the file.
10003 (ido-make-buffer-list): If virtual buffers are being used, call
10004 `ido-add-virtual-buffers-to-list' before the make list hook.
10005 (ido-virtual-buffers): New variable which contains a copy of the
10006 current contents of the `recentf-list', albeit pared down for the
10007 sake of speed, and with proper faces applied.
10008 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10009 create a list of "virtual buffers" to present to the user in
10010 addition to the currently open set. Note that this logic could
10011 get rather slow if that list is too large. With the default
10012 `recentf-max-saved-items' of 200, there is little speed penalty.
10014 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * font-lock.el: Require CL when compiling.
10017 (font-lock-turn-on-thing-lock): Use `case'.
10019 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10021 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10024 2010-04-02 Juri Linkov <juri@jurta.org>
10026 * ehelp.el (electric-help-orig-major-mode):
10027 New buffer-local variable.
10028 (electric-help-mode): Set it to original major-mode. Doc fix.
10029 (with-electric-help): Use `electric-help-orig-major-mode' instead
10030 of (default-value 'major-mode). Doc fix.
10031 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10033 2010-04-02 Sam Steingold <sds@gnu.org>
10035 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10036 `vc-hg-command' with a list of flags.
10038 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10039 Also accept "patch" and "RFE".
10040 (bug-reference-fontify): `bug-reference-url-format' can also be a
10041 function to be able to handle the bug kind.
10042 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10044 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10046 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10047 value to fboundp, it may not be a symbol.
10049 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10051 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10053 2010-03-31 Juri Linkov <juri@jurta.org>
10055 * simple.el (next-line, previous-line): Re-throw a signal
10056 with `signal' instead of using `ding'.
10057 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10059 2010-03-31 Juri Linkov <juri@jurta.org>
10061 * simple.el (keyboard-escape-quit): Raise deselecting the active
10062 region higher than exiting the minibuffer.
10063 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10065 2010-03-31 Juri Linkov <juri@jurta.org>
10067 * image.el (image-animated-p): Use `image-metadata' instead of
10068 `image-extension-data'. Get GIF extenstion data from metadata
10069 property `extension-data'.
10071 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10073 * simple.el (append-to-buffer): Simplify.
10075 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10077 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10078 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10080 2010-03-31 Kenichi Handa <handa@m17n.org>
10082 * language/sinhala.el (composition-function-table): Fix regexp for
10083 the new Unicode specification.
10085 * language/indian.el (devanagari-composable-pattern)
10086 (tamil-composable-pattern, kannada-composable-pattern)
10087 (malayalam-composable-pattern): Adjust for the new Unicode
10089 (bengali-composable-pattern, gurmukhi-composable-pattern)
10090 (gujarati-composable-pattern, oriya-composable-pattern)
10091 (telugu-composable-pattern): New variables to cope with the new
10092 Unicode specification. Use them in composition-function-table.
10094 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10096 Make tmm-menubar work for the Buffers menu again (bug#5726).
10097 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10098 vectors rather than cons cells, as used in menu-bar-update-buffers.
10100 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10102 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10103 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10104 electric punctuation for "{}();,:" (Bug#5586).
10106 * mail/sendmail.el (mail-default-directory): Doc fix.
10108 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10110 * mail/sendmail.el (mail-default-directory): Doc fix.
10112 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10114 * subr.el (version-regexp-alist, version-to-list)
10115 (version-list-<, version-list-=, version-list-<=)
10116 (version-list-not-zero, version<, version<=, version=): Doc fix.
10119 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10121 * vc.el (vc-root-diff): Doc fix.
10123 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10125 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10127 * simple.el (append-to-buffer): Fix last change.
10129 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10131 * simple.el (append-to-buffer): Ensure that point is preserved if
10132 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10135 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10137 * files.el (auto-mode-case-fold): Change default to t.
10139 2010-03-30 Juri Linkov <juri@jurta.org>
10141 * dired-x.el (dired-omit-mode): Doc fix.
10143 2010-03-30 Juri Linkov <juri@jurta.org>
10145 * replace.el (occur-accumulate-lines): Move occur-engine related
10146 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10147 to be located after `occur-engine'.
10149 2010-03-30 Juri Linkov <juri@jurta.org>
10151 Make occur handle multi-line matches cleanly with context.
10152 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10154 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10155 (occur-engine): Add local variables `ret', `prev-after-lines',
10156 `prev-lines'. Use more arguments for `occur-context-lines'.
10157 Set first elem of its returned list to `data', and the second elem
10158 to `prev-after-lines'. Don't print the separator line.
10159 In the end, print remaining context after-lines.
10160 (occur-context-lines): Add new arguments `begpt', `endpt',
10161 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10162 after-lines of the previous match with before-lines of the
10163 current match and not overlap them. Return a list with two
10164 values: the output line and the list of context after-lines.
10166 2010-03-30 Juri Linkov <juri@jurta.org>
10168 * replace.el (occur-accumulate-lines): Fix a bug where the first
10169 context line at the beginning of the buffer was missing.
10171 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10173 * files.el: Make bidi-display-reordering safe variable for boolean
10176 2010-03-29 Phil Hagelberg <phil@evri.com>
10177 Chong Yidong <cyd@stupidchicken.com>
10179 * subr.el: Extend progress reporters to perform "spinning".
10180 (progress-reporter-update, progress-reporter-do-update):
10181 Handle non-numeric value arguments.
10182 (progress-reporter--pulse-characters): New var.
10184 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10186 * progmodes/compile.el (compilation-start): Fix regexp detection
10187 of initial cd command (Bug#5771).
10189 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10191 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10193 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10195 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10196 * progmodes/gdb-mi.el: Restore.
10197 * progmodes/gdb-ui.el: Remove.
10198 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10200 2010-03-25 Glenn Morris <rgm@gnu.org>
10202 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10203 all dired buffers, even tramp ones. (Bug#5755)
10205 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10207 Add "union tags" in mpc.el.
10208 * mpc.el: Remove backward compatibility code.
10209 (mpc-browser-tags): Change default.
10210 (mpc--find-memoize-union-tags): New var.
10211 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10212 (mpc-cmd-find): Handle the case where the playlist does not exist.
10214 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10215 (mpc-cmd-add): Use mpc-cmd-flush.
10216 (mpc-tagbrowser-tag-name): New fun.
10217 (mpc-tagbrowser-buf): Use it.
10218 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10220 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10223 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10224 Use replace-regexp-in-string.
10225 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10226 (makefile-imake-mode-syntax-table): Move init into defvar.
10227 (makefile-mode): Use define-derived-mode.
10229 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10230 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10231 not be present any more.
10233 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10235 * faces.el (set-face-attribute): Fix typo in docstring.
10236 (face-valid-attribute-values): Reflow docstring.
10238 2010-03-24 Glenn Morris <rgm@gnu.org>
10240 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10242 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10244 * indent.el (indent-for-tab-command): Doc fix.
10246 2010-03-24 Alan Mackenzie <acm@muc.de>
10248 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10249 Fix off-by-one error. Fixes bug #5747.
10251 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10253 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10254 (image-dired-read-comment): Doc fix.
10256 * json.el (json-object-type, json-array-type, json-key-type)
10257 (json-false, json-null, json-read-number):
10258 * minibuffer.el (completion-in-region-functions):
10259 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10260 (cal-tex-cursor-week):
10261 * emacs-lisp/trace.el (trace-function):
10262 * eshell/em-basic.el (eshell/printnl):
10263 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10264 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10265 * obsolete/levents.el (allocate-event, event-key, event-object)
10266 (event-point, event-process, event-timestamp, event-to-character)
10267 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10268 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10269 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10270 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10271 (reftex-highlight-selection): Fix typos in docstrings.
10273 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10275 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10277 2010-03-24 Glenn Morris <rgm@gnu.org>
10279 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10280 2008-02-13 without comment; mark it obsolete.
10281 (rmail-highlight-headers): Use rmail-highlight-face once more.
10283 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10285 * woman.el (woman2-process-escapes): Only consume the newline if
10286 the filler character is on a line by itself (Bug#5729).
10288 2010-03-24 Kenichi Handa <handa@m17n.org>
10290 * language/indian.el (devanagari-composable-pattern): Add more
10293 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10295 * net/trampver.el: Update release number.
10297 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10299 * net/tramp.el (tramp-find-executable):
10300 Use `tramp-get-connection-buffer'. Make the regexp for checking
10301 output of "wc -l" more robust.
10302 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10303 (tramp-open-connection-setup-interactive-shell): Remove workaround
10304 for OpenSolaris bug, it is not needed anymore.
10306 2010-03-24 Glenn Morris <rgm@gnu.org>
10308 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10310 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10312 * files.el (auto-mode-alist): Accept more verilog file patterns.
10314 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10316 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10318 2010-03-24 Glenn Morris <rgm@gnu.org>
10320 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10321 log-edit-before-checkin-process.
10323 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10325 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10327 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10328 (log-view-process-buffer, log-edit-extra-flags): Declare.
10330 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10332 2010-03-23 Sam Steingold <sds@gnu.org>
10334 Fix bug#5620: recalculate all markers on compilation buffer
10335 modifications, not on file modifications.
10336 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10337 variable: the buffer modification time, for buffers not associated with
10339 (compilation-mode): Create it.
10340 (compilation-filter): Update it.
10341 (compilation-next-error-function): Use it instead of
10342 `visited-file-modtime' for timestamp.
10344 2010-03-23 Juri Linkov <juri@jurta.org>
10346 Implement Occur multi-line matches.
10347 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10349 * replace.el (occur): Doc fix.
10350 (occur-engine): Set `begpt' to the beginning of the first line.
10351 Set `endpt' to the end of the last match line. At first, count
10352 line numbers between `origpt' and `begpt'. Split out code from
10353 `out-line' variable to new let-bindings `match-prefix' and
10354 `match-str'. In `out-line' add non-numeric prefix to all
10355 non-first lines of multi-line matches. Finally, count lines
10356 between `begpt' and `endpt' and add to `lines'.
10358 2010-03-23 Juri Linkov <juri@jurta.org>
10360 * replace.el (occur-accumulate-lines, occur-engine):
10361 Use `occur-engine-line' instead of duplicate code.
10362 (occur-engine-line): New function created from duplicate code
10363 in `occur-accumulate-lines' and `occur-engine'.
10365 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10366 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10368 2010-03-23 Juri Linkov <juri@jurta.org>
10370 * finder.el: Remove TODO tasks.
10372 * info.el (Info-finder-find-node): Add node "all"
10373 with all package info. Handle a list of multiple keywords
10374 separated by comma.
10375 (info-finder): In interactive use with a prefix argument,
10376 use `completing-read-multiple' to read a list of keywords
10377 separated by comma.
10379 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10381 Add a new completion style `substring'.
10382 * minibuffer.el (completion-basic--pattern): New function.
10383 (completion-basic-try-completion, completion-basic-all-completions):
10385 (completion-substring--all-completions)
10386 (completion-substring-try-completion)
10387 (completion-substring-all-completions): New functions.
10388 (completion-styles-alist): New style `substring'.
10390 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10392 Get rid of .elc files after removal of the corresponding .el.
10393 * Makefile.in (compile-clean): New target.
10394 (compile-main): Use it.
10396 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10398 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10399 don't do make there. When compiling with separate object dir, there
10400 is no Makefile there.
10402 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10404 Get rid of the ELCFILES abomination, again.
10405 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10406 (all, compile): Don't call compile-last.
10407 (compile-main): Build the "elcfiles" list dynamically.
10408 (compile-targets): New (internal) target.
10410 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10412 * Makefile.in (top_srcdir): Define.
10413 (abs_top_builddir): Define.
10414 (srcdir): Don't append `/..'.
10415 (EMACS): Use ${abs_top_builddir}.
10416 (all, compile, compile-always, compile-last): Don't set emacswd.
10417 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10419 (lisp): Use $(srcdir) instead of @srcdir@.
10421 2010-03-21 Juri Linkov <juri@jurta.org>
10423 Fix message of multi-line occur regexps and multi-buffer header lines.
10424 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10426 * replace.el (occur-1): Don't display regexp if it is longer
10427 than window-width. Use `query-replace-descr' to display regexp.
10428 (occur-engine): Don't display regexp in the buffer header for
10429 multi-buffer occur. Display a separate header line with total
10430 match count and regexp for multi-buffer occur.
10431 Use `query-replace-descr' to display regexp.
10433 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10435 * net/secrets.el: Fix parenthesis.
10436 (secrets-enabled): Fix parenthesis.
10438 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10440 Use more relative file and directory names.
10441 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10442 (setwins, setwins_almost, setwins_for_subdirs):
10443 Don't `cd'; output relative names.
10444 (all, compile, compile-always, compile-last): Set emacswd.
10445 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10446 Just cd to the lisp source dir so we can use relative file names.
10448 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10450 2010-03-20 Glenn Morris <rgm@gnu.org>
10452 * textmodes/rst.el: Use faces for font-lock customization, and make the
10453 old -face variables obsolete.
10454 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10455 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10456 (rst-block-face, rst-external-face, rst-definition-face)
10457 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10458 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10460 (rst-font-lock-keywords-function): Update for above changes.
10462 2010-03-20 Juri Linkov <juri@jurta.org>
10465 * obsolete/s-region.el: Move to obsolete.
10467 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10469 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10471 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10473 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10475 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10477 Add special markup processing for commit logs.
10478 * log-edit.el (log-edit-extra-flags): New variable.
10479 (log-edit): Add new argument MODE. Use that mode when non-nil
10480 instead of the log-view-mode.
10481 (log-view-process-buffer): New function.
10483 * vc.el: Document that the checkin method takes optional
10484 arguments. Document new backend specific method: log-view-mode.
10485 (vc-default-log-edit-mode): New function.
10486 (vc-checkin): Use a backend specific log-view-mode.
10487 Pass extra arguments to the checkin method.
10488 (vc-modify-change-comment): Pass a dummy extra argument.
10490 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10492 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10493 (vc-finish-logentry): Process the log buffer before passing it
10494 down. Pass log-edit-extra-flags.
10496 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10498 (log-edit-extra-flags, log-edit-before-checkin-process):
10501 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10503 (log-edit-extra-flags, log-edit-before-checkin-process):
10505 (vc-hg-log-edit-mode): New derived mode.
10507 * vc-arch.el (vc-arch-checkin):
10508 * vc-cvs.el (vc-cvs-checkin):
10509 * vc-git.el (vc-git-checkin):
10510 * vc-mtn.el (vc-mtn-checkin):
10511 * vc-rcs.el (vc-rcs-checkin):
10512 * vc-sccs.el (vc-sccs-checkin):
10513 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10515 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10517 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10520 2010-03-19 Glenn Morris <rgm@gnu.org>
10522 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10524 2010-03-18 Glenn Morris <rgm@gnu.org>
10526 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10528 * replace.el (query-replace-history): Give it a doc string.
10529 (map-query-replace-regexp): Use query-replace-from-history-variable
10530 and query-replace-to-history-variable.
10532 * mail/hashcash.el (declare-function): Remove duplicate definition.
10534 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10535 Make it an obsolete alias for report-emacs-bug-address.
10536 (message-strip-special-text-properties): Declare.
10537 (report-emacs-bug): Remove test for a pretest bug address.
10538 Combine message-mode-specific code.
10540 * mail/supercite.el: Don't require sendmail.
10541 (mh-in-header-p): Declare rather than using with-no-warnings.
10542 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10543 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10545 * calendar/cal-french.el: Convert to utf-8.
10547 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10550 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10552 * net/secrets.el (secrets-enabled): New variable. Use it instead
10555 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10557 * net/secrets.el (top): Register the D-Bus signals only when the
10558 service "org.freedesktop.secrets" can be pinged.
10559 Provide subfeature `enabled'.
10561 2010-03-14 Juri Linkov <juri@jurta.org>
10563 Add finder unknown keywords.
10565 * finder.el (finder-unknown-keywords): New function.
10567 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10568 to create a Finder node with unknown keywords.
10570 2010-03-14 Juri Linkov <juri@jurta.org>
10572 * finder.el (finder-compile-keywords): Replace `princ' with
10573 `prin1' on a list of symbols interned from keyword strings.
10575 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10576 a comma, then split keywords using a comma and optional whitespace.
10577 Otherwise, split by whitespace.
10585 * progmodes/mixal-mode.el: Fix keywords.
10587 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10589 * Makefile.in (ELCFILES): Add net/secrets.elc.
10591 * net/secrets.el: New file.
10593 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10595 * facemenu.el (list-colors-display, list-colors-print): New arg
10596 callback. Use it to allow selecting colors.
10598 * wid-edit.el (widget-image-insert): Insert image prop even if the
10599 current display is non-graphic.
10600 (widget-field-value-set): New fun.
10601 (editable-field): Use it.
10602 (widget-field-value-get): Clean up unused var.
10603 (widget-color-value-create, widget-color--choose-action):
10604 New funs. Allow using list-colors-display to choose color.
10606 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10608 * cus-edit.el: Resort topmost custom groups.
10609 (custom-buffer-sort-alphabetically): Default to t.
10610 (customize-apropos): Use apropos-parse-pattern.
10611 (custom-search-field): New var.
10612 (custom-buffer-create-internal): Add custom-apropos search field.
10613 (custom-add-parent-links): Don't display parent doc.
10614 (custom-group-value-create): Don't sort top-level custom group.
10615 (custom-magic-value-create): Show visibility button before option name.
10617 (custom-variable-state): New fun, from custom-variable-state-set.
10618 (custom-variable-state-set): Use it.
10619 (custom-group-value-create): Hide options with standard values
10620 using the :hidden-states property. Use progress reporter.
10622 (custom-show): Simplify.
10623 (custom-visibility): Disable images by default.
10624 (custom-variable): New property :hidden-states.
10625 (custom-variable-value-create): Enable images for
10626 custom-visibility widgets. Use :hidden-states property to
10627 determine initial visibility.
10629 * wid-edit.el (widget-image-find): Give images center ascent.
10630 (visibility): Add :on-image and :off-image properties.
10631 (widget-visibility-value-create): Use them.
10633 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10635 * cus-edit.el (processes): Remove from development group.
10636 (oop, hypermedia): Delete group.
10637 (comm): Promote to top-level group.
10639 * net/browse-url.el (browse-url):
10640 * net/xesam.el (xesam):
10641 * net/tramp.el (tramp):
10642 * net/goto-addr.el (goto-address):
10643 * net/ange-ftp.el (ange-ftp): Put in comm group.
10645 * view.el (view): Remove from editing group.
10647 * uniquify.el (uniquify): Put in files group.
10649 * net/browse-url.el (browse-url):
10650 * ps-print.el (postscript): Put in external group.
10652 * cus-edit.el (outlines):
10653 * textmodes/text-mode.el (text-mode-hook):
10654 * textmodes/table.el (table):
10655 * textmodes/picture.el (picture):
10656 * outline.el (outlines): Put in wp group.
10658 * nxml/nxml-mode.el (nxml): Remove from wp group.
10660 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10662 * mail/metamail.el (metamail): Remove from hypermedia group.
10664 * cus-edit.el (abbrev):
10665 * whitespace.el (whitespace):
10666 * vcursor.el (vcursor):
10667 * reveal.el (reveal):
10668 * hl-line.el (hl-line): Put in convenience group.
10670 * epg-config.el (epg): Put in data group.
10672 * emulation/pc-select.el (pc-select): Put in emulations group.
10674 * calculator.el (calculator): Put in applications group.
10676 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10678 Add .dir-locals.el support for file-less buffers.
10679 * files.el (hack-local-variables): Split out code to apply local
10680 variable settings ...
10681 (hack-local-variables-apply): ... here. New function.
10682 (hack-dir-local-variables): Use the default directory for when the
10683 buffer does not have an associated file.
10684 (hack-dir-local-variables-non-file-buffer): New function.
10685 * diff-mode.el (diff-mode):
10686 * vc-annotate.el (vc-annotate-mode):
10687 * vc-dir.el (vc-dir-mode):
10688 * log-edit.el (log-edit-mode):
10689 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10691 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10693 Add support for shelving snapshots and for showing shelves.
10694 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10695 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10697 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10698 (vc-bzr-extra-menu-map): Map them.
10700 2010-03-11 Glenn Morris <rgm@gnu.org>
10702 * cus-edit.el (customize-changed-options-previous-release):
10705 * image.el (image-animate-max-time): Fix :version tag.
10707 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10711 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * vc-git.el (vc-git-revision-table): Include remote branches.
10715 2010-03-10 Kim F. Storm <storm@cua.dk>
10717 Animated image API.
10718 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10720 * image.el (image-animate-max-time): New defcustom.
10721 (image-animated-types): New defconst.
10722 (create-animated-image, image-animate-timer)
10723 (image-animate-start, image-animate-stop, image-animate-timeout)
10724 (image-animated-p): New functions.
10726 * image-mode.el (image-toggle-display-image):
10727 Replace `create-image' with `create-animated-image'.
10729 2010-03-09 Miles Bader <miles@gnu.org>
10731 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10732 instead of "format:"; this ensures that the output is
10733 newline-terminated.
10735 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10737 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10738 that all errors are caught, and that the return value is always a
10741 2010-03-08 Kenichi Handa <handa@m17n.org>
10743 * language/misc-lang.el (windows-1256): New coding system.
10744 (cp1256): New alias of windows-1256 (bug#5690).
10746 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10748 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10749 call to rfc822-bad-address. (Bug#5692)
10751 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10753 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10754 Use vc-git-root as default directory for revision path (Bug#5657).
10756 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10758 * calculator.el (calculator): Don't bind split-window-keep-point
10761 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10763 * vc-git.el: Re-flow to fit into 80 columns.
10764 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10765 Remove spurious `quote' element in each case alternative.
10766 (vc-git-show-log-entry): Use prog1.
10767 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10769 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10773 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10775 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10776 definition, not the name (Bug#5481).
10778 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10780 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10781 argument with a local variable. (Bug#5670)
10783 2010-03-02 Juri Linkov <juri@jurta.org>
10785 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10787 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10789 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10790 error when FILENAME and NEWNAME are existing remote directories.
10792 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10793 parameter DIR-FLAG.
10795 2010-03-02 Glenn Morris <rgm@gnu.org>
10797 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10798 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10800 2010-03-01 Kenichi Handa <handa@m17n.org>
10802 * language/burmese.el (burmese-composable-pattern): Rename from
10803 myanmar-composable-pattern.
10805 * international/characters.el (script-list):
10806 * international/fontset.el (script-representative-chars):
10807 Change myanmar to burmese.
10808 (otf-script-alist): Likewise.
10809 (setup-default-fontset): Likewise. Re-fix :otf spec.
10811 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10813 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10815 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10817 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10819 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10821 * net/tramp.el (tramp-handle-write-region): START can be a string.
10822 Take care in the checks. Reported by Dan Davison
10823 <davison@stats.ox.ac.uk>.
10825 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10827 * net/dbus.el (dbus-introspect, dbus-get-property)
10828 (dbus-set-property, dbus-get-all-properties):
10829 Use `dbus-call-method' when noninteractive. (Bug#5645)
10831 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10833 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10834 * emacs-lisp/elint.el (elint-add-required-env):
10835 * calendar/icalendar.el (icalendar--add-diary-entry):
10836 * calc/calcalg2.el (math-tracing-integral):
10837 * files.el (recover-session-finish): Use with-current-buffer
10838 instead of save-excursion.
10840 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10842 Fix in-buffer completion when after-change-functions modify the buffer.
10843 * minibuffer.el (completion--replace): New function.
10844 (completion--do-completion): Use it and use relative movement.
10846 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10848 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10850 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10852 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10853 Allow the characters _<> in the stack entry (Bug#5653).
10855 2010-02-26 Kenichi Handa <handa@m17n.org>
10857 * language/burmese.el: Fix entries in composition-function-table.
10858 (myanmar-composable-pattern): New variable.
10860 * international/fontset.el (setup-default-fontset): Add an entry
10863 * international/characters.el (script-list): Add Myanmar
10866 2010-02-26 Glenn Morris <rgm@gnu.org>
10868 * custom.el (custom-initialize-delay): Doc fix.
10870 * mail/sendmail.el (send-mail-function): Autoload the call
10871 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10873 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10875 * files.el (hack-local-variables-filter): For eval forms, also
10876 check safe-local-variable-p (Bug#5636).
10878 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10880 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10881 setting the modes by `ignore-errors'. It might fail, for example
10882 if the file is not owned by the user but the group.
10883 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10885 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10887 * files.el (directory-listing-before-filename-regexp):
10888 Use stricter matching for iso-style dates, to avoid false matches with
10889 date-like filenames (Bug#5597).
10891 * htmlfontify.el (htmlfontify): Doc fix.
10893 * eshell/eshell.el (eshell): Doc fix.
10895 * startup.el (fancy-about-screen): In mode-line, apply
10896 mode-line-buffer-id face only to the buffer name (Bug#5613).
10898 2010-02-20 Kevin Ryde <user42@zip.com.au>
10900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10901 In `watcom' anchor regexp to start of line, to avoid slowness
10904 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10906 * subr.el (remove-yank-excluded-properties): Explain in a comment
10907 why `category' property is removed.
10909 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10911 * isearch.el (isearch-update-post-hook, isearch-update):
10912 Revert 2010-02-17 change.
10914 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10916 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10917 (icalendar--convert-weekly-to-ical)
10918 (icalendar--convert-yearly-to-ical)
10919 (icalendar--convert-block-to-ical)
10920 (icalendar--convert-cyclic-to-ical)
10921 (icalendar--convert-anniversary-to-ical): Take care of time
10922 specifications where hour has 1-digit only (Bug#5549).
10924 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10926 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10927 of disassemble output in GDB 7.1.
10929 2010-02-19 Glenn Morris <rgm@gnu.org>
10931 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10932 property. (Bug#5593)
10934 2010-02-18 Sam Steingold <sds@gnu.org>
10936 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10938 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10940 Use abbreviated file names in bookmarks (bug#5591).
10941 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10942 calls to expand-file-name.
10943 (bookmark-relocate): Use abbreviated file names in bookmarks.
10944 (bookmark-load): Use abbreviated file names in messages.
10946 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10948 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10949 expand "." and "..". Reported by Thierry Volpiatto
10950 <thierry.volpiatto@gmail.com>.
10952 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10954 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10955 permissions of the temporary file to "0600". In case the remote
10956 file has no read permissions for the owner, there might be
10957 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10959 22010-02-18 Glenn Morris <rgm@gnu.org>
10961 * emacs-lisp/authors.el (authors-renamed-files-alist):
10962 Add entries for INSTALL.CVS.
10964 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10966 * vc-bzr.el: Fix typo in Known Bugs section.
10968 * isearch.el (isearch-update-post-hook): New hook.
10969 (isearch-update): Use the new hook.
10971 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10973 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10974 Fix errors in copying directories.
10975 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10976 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10977 (tramp-handle-delete-file)
10978 (tramp-handle-dired-recursive-delete-directory)
10979 (tramp-handle-write-region): Flush also the cache for the upper
10982 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10984 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10986 * cus-edit.el (hardware): Doc fix.
10988 * man.el (man): Add to external custom group.
10990 * delim-col.el (columns): Move to wp custom group.
10992 * doc-view.el (doc-view): Add to data custom group.
10994 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10996 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10997 by ispell-parse-output (Bug#5575).
10999 2010-02-16 Kenichi Handa <handa@m17n.org>
11001 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11002 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11003 (skkdic-convert): Use `euc-japan' coding system for writing.
11005 2010-02-16 Glenn Morris <rgm@gnu.org>
11007 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11008 tex-main-file before using it. (Bug#5562)
11010 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11012 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11013 warnings, since it is annoying for the user to see them each time he
11016 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11018 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11019 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11020 instead of PROC for caching "first-password-request". Otherwise,
11021 new processes would not profit from passwords already entered.
11023 * net/tramp-cache.el (tramp-dump-connection-properties):
11024 Don't save "first-password-request" property.
11026 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11028 * outline.el (outline-head-from-level):
11029 * simple.el (with-wrapper-hook):
11030 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11031 (elint-defun, elint-buffer-env, elint-top-form-logged)
11032 (elint-unbound-variable):
11033 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11034 Fix typos in docstrings.
11036 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11038 * files.el (insert-directory): When WILDCARD-REGEXP and
11039 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11040 whole directory. (Bug#5551)
11042 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11043 dired's alignment sanity. (Bug#5516)
11045 2010-02-14 Juri Linkov <juri@jurta.org>
11047 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11048 Remove remaining ^H with their preceding chars. (Bug#5566)
11050 2010-02-13 Glenn Morris <rgm@gnu.org>
11052 * simple.el (transpose-subr): Give it a doc-string.
11054 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11057 2010-02-12 Juri Linkov <juri@jurta.org>
11059 * arc-mode.el (archive-unique-fname): Make directories for nested
11060 archives. (Bug#5540)
11062 2010-02-12 Juri Linkov <juri@jurta.org>
11064 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11066 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11068 * subr.el (copy-overlay): Handle deleted overlays.
11070 * man.el (Man-completion-table): Don't signal an error if we can't run
11071 manual-program (bug#4056).
11073 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11075 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11077 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11079 * info.el (Info-bookmark-jump): Simplify.
11081 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11082 (bookmark-default-handler): Accept new bookmark field `buffer'.
11084 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11086 * iswitchb.el (iswitchb-completions): Revert last change.
11088 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11090 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11091 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11092 This prevents file names like "~/" being listed literally.
11094 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11096 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11097 Remove dead code. (Bug#5546)
11099 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11101 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11102 correctly (Bug#5548).
11104 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11106 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11107 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11109 2010-02-08 Kenichi Handa <handa@m17n.org>
11111 * international/mule-util.el (with-coding-priority): Add autoload
11112 cookie for putting `lisp-indent-function'.
11114 2010-02-07 Glenn Morris <rgm@gnu.org>
11116 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11117 Move F2003 named interfaces from keywords-2 to keywords-1, and
11118 use function-name-face rather than constant-face.
11119 Simplify "abstract interface" regexp.
11121 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11123 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11124 ID-FORMAT. Pass it to `file-attributes'.
11126 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11128 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11130 * faces.el (set-face-attribute): Allow calling
11131 internal-set-lisp-face-attribute with 'unspecified family and
11132 foundry argument (Bug#5536).
11134 2010-02-07 Glenn Morris <rgm@gnu.org>
11136 * progmodes/f90.el (f90-font-lock-keywords-2)
11137 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11138 Handle F2003 named interfaces.
11140 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11142 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11143 beg and end before calling c-get-state-before-change-functions.
11145 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11147 * vc-bzr.el (vc-bzr-dir-extra-headers):
11148 Disable the pending merges header.
11150 2010-02-05 Juri Linkov <juri@jurta.org>
11152 * doc-view.el (doc-view-mode):
11153 * image-mode.el (image-mode): Put property mode-class=special.
11156 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11158 * vc-svn.el (vc-svn-revision-table): New function.
11160 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11162 * net/ange-ftp.el (ange-ftp-insert-directory):
11163 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11164 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11165 Handle also directories. (Bug#5478)
11167 2010-02-05 Glenn Morris <rgm@gnu.org>
11169 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11171 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11173 * startup.el (command-line-1): Convert options beginning with a
11174 single dash as well (Bug#5519).
11176 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11178 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11179 * minibuffer.el (completion-initials-expand): Only check the presence
11180 of delims *within* the boundaries, since otherwise the / delim is
11181 always found for files.
11183 Fix up various corner case problems.
11184 * doc-view.el (doc-view-last-page-number): New function.
11185 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11186 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11187 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11188 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11189 (doc-view-convert-current-doc): Don't create the resolution.el file
11191 (doc-view-pdf/ps->png): Do it here instead.
11192 (doc-view-already-converted-p): Check that resolution.el is present.
11193 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11194 windows that are not yet showing images.
11196 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11198 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11199 `dired-uncache' for every elemnt which is an absolute file name.
11201 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11202 directory, handle its directory component.
11203 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11204 function is called permanently and creates noise, otherwise.
11206 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11207 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11208 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11210 2010-02-04 David Burger <dburger@google.com> (tiny change)
11212 * macros.el (apply-macro-to-region-lines):
11213 Minor simplification. (Bug#5485)
11215 2010-02-04 Glenn Morris <rgm@gnu.org>
11217 * mail/rmail.el (rmail-show-message-1): Handle malformed
11218 quoted-printable text. (Bug#5441)
11220 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11222 * simple.el (visual-line-mode): Capitalize lighter.
11224 2010-02-03 John Wiegley <jwiegley@gmail.com>
11226 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11227 list of files considered for "virtual buffer" completions.
11229 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11231 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11232 also in case of (and (not full) (not wildcard)). This is needed
11233 when dired is called with a list of files, which are not in
11234 `default-directory'. (Bug#5478)
11236 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11238 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11240 2010-02-02 Juri Linkov <juri@jurta.org>
11242 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11243 from unidiff to allow function-line after @@.
11245 2010-02-02 Juri Linkov <juri@jurta.org>
11247 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11248 '(RCS SCCS) with inverted condition.
11250 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11252 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11255 2010-02-01 Juri Linkov <juri@jurta.org>
11257 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11258 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11259 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11260 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11262 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11264 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11265 (doc-view-revert-buffer): New command.
11266 (doc-view-mode-map): Use it.
11268 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11270 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11271 pending merge is detected.
11273 2010-01-31 Juri Linkov <juri@jurta.org>
11275 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11276 beginning of interactive spec like all other grep commands do.
11277 Put "all" in front of "gz". (Bug#5260)
11279 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11281 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11283 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11285 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11286 regexp is incorrect (Bug#5476).
11288 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11290 * net/tramp.el (tramp-handle-insert-directory): Handle also
11291 symlinks, when FILENAME is not in `default-directory'.
11293 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11295 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11296 FILE is not in `default-directory'. (Bug#5478)
11298 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11299 of SWITCHES. Handle the case, FILENAME is not in
11300 `default-directory'. (Bug#5478)
11301 (tramp-register-file-name-handlers): Add safe-magic property.
11303 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11305 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11308 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11310 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11311 (flymake-master-make-header-init): Add other C++ filename masks.
11312 (flymake-find-possible-master-files)
11313 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11315 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11317 Fix some busybox annoyances.
11319 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11320 not responding." string.
11321 (tramp-open-connection-setup-interactive-shell): Dump stty
11322 settings. Enable "neveropen" arg for all `tramp-send-command'
11323 calls. Handle "=" in variable values properly.
11324 (tramp-find-inline-encoding): Raise an error, when no encoding is
11326 (tramp-wait-for-output): Check, whether PROC buffer is available.
11327 Remove spurious " ^H" sequences, sent by busybox.
11328 (tramp-get-ls-command): Suppress coloring, if possible.
11330 2010-01-28 Glenn Morris <rgm@gnu.org>
11332 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11334 * log-edit.el (log-edit-strip-single-file-name): Add missing
11335 :safe, :group, and :version tags.
11337 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11339 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11340 buffers. (Bug#5477)
11342 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11344 * files.el (delete-directory): Handle moving to trash without
11345 first doing recursion (Bug#5436).
11347 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11349 * vc-hooks.el (vc-path): Mark as obsolete.
11351 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11353 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11356 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11358 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11360 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11362 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11364 * vc-bzr.el (vc-bzr-revision-table): New function.
11366 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11368 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11369 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11371 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11373 Remove support for adding --signoff on commit.
11374 Future support will use an incompatible generic mechanism.
11375 * vc-git.el (vc-git-add-signoff): Remove variable.
11376 (vc-git-toggle-signoff): Remove function.
11377 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11379 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11380 Rename from xterm-set-background-mode. Return t if the background mode
11382 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11383 earlier, call it again in case the background mode has changed.
11385 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11387 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11390 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11392 * emacs-lisp/assoc.el (aelement): Doc fix.
11393 (aput, adelete, amake): Use lexical-let (Bug#5450).
11395 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11397 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11398 is the same as subprogram call, not declaration. (Bug#5435).
11400 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11402 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11403 (tramp-smb-maybe-open-connection): Use it.
11405 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11407 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11409 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11412 just because we see "encoding: 8bit".
11413 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11415 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11417 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11419 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11421 * jka-compr.el (jka-compr-load): If load-file is not in
11422 load-history, try its file-truename version. (bug#5447)
11424 2010-01-21 Alan Mackenzie <acm@muc.de>
11426 Fix a situation where deletion of a cpp construct throws an error.
11427 * progmodes/cc-engine.el (c-invalidate-state-cache):
11428 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11429 special cpp construct is still in the buffer.
11430 (c-parse-state): Record the special cpp with markers, not numbers.
11432 2010-01-21 Kenichi Handa <handa@m17n.org>
11434 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11435 process last-command-event, as it is now decoded first (Bug#5380).
11437 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11439 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11441 2010-01-20 Glenn Morris <rgm@gnu.org>
11443 * indent.el (tab-always-indent): Fix custom-type.
11445 2010-01-19 Alan Mackenzie <acm@muc.de>
11447 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11448 buffer throws "args out of range".
11449 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11450 playing the role of delimiter.
11452 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11454 * progmodes/ada-mode.el: Fix bug#5400.
11455 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11456 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11457 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11458 Improve comments in "is" portion. Handle null procedure declaration.
11459 (ada-move-to-end): Improve doc string.
11461 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11463 * ido.el (ido-cur-list): Initialize to nil.
11464 Remove obsolete information from commentary.
11465 (ido-choice-list): Initialize to nil.
11466 (ido-get-bufname): Reject minibuffers.
11467 (ido-make-buffer-list): If "default" is a nonexistent
11468 buffer, ignore it, as per the function's comment.
11469 (ido-kill-buffer-internal): New function.
11470 (ido-kill-buffer-at-head): Use it.
11471 (ido-visit-buffer): Likewise.
11473 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11475 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11477 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11479 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11480 Fix typos in chart titles.
11482 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11483 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11484 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11485 (describe-class, eieio-describe-generic, describe-generic):
11486 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11487 (eieio-speedbar-expand):
11488 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11489 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11490 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11491 (viper-del-backward-char-in-replace, viper-backward-indent)
11492 (viper-brac-function, viper-register-to-point, viper-submit-report):
11493 * net/tramp.el (tramp-remote-coding-commands):
11494 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11495 Fix typos in docstrings.
11497 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11499 * mail/sendmail.el (mail-yank-original): Set the mark if the
11500 specified function for yanking does not do it.
11502 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11504 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11506 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11507 resyncing a directory.
11509 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11511 * progmodes/ada-mode.el: Fix bug#1920.
11512 (ada-ident-re): Delete ., allow multibyte characters.
11513 (ada-goto-label-re): New; matches goto labels.
11514 (ada-block-label-re): New; matches block labels.
11515 (ada-label-re): New; matches both.
11516 (ada-named-block-re): Deleted; callers changed to use
11517 `ada-block-label-re' instead.
11518 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11519 Use `ada-block-label-re'.
11520 (ada-indent-on-previous-lines): Improve handling of goto labels.
11521 (ada-get-indent-block-start): Special-case block label.
11522 (ada-get-indent-label): Split into `ada-indent-block-label' and
11523 `ada-indent-goto-label'.
11524 (ada-goto-stmt-start, ada-goto-next-non-ws):
11525 Optionally ignore goto labels.
11526 (ada-goto-next-word): Simplify.
11527 (ada-indent-newline-indent-conditional): Insert newline before
11528 trying to fix indentation; doc fix.
11530 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11532 * calc/calc.el (calc-command-flags): Give it an initial value.
11534 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11536 * files.el (minibuffer-with-setup-hook):
11537 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11538 (artist-key-draw-continously, artist-key-do-continously-continously)
11539 (artist-key-set-point-continously, artist-mouse-draw-continously):
11540 Fix typos in docstrings.
11542 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11544 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11545 Never return t (Bug#3898).
11547 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11549 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11550 can parse the output of the external commands (Bug#5279).
11552 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11554 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11556 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11558 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11560 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11562 * startup.el (command-line): Remove unused --icon-type arg.
11563 Handle --display arg, passing it to command-line-1 (Bug#5392).
11565 2010-01-16 Mario Lang <mlang@delysid.org>
11567 * emacs-lisp/chart.el (chart-translate-namezone):
11568 * textmodes/artist.el (artist-compute-popup-menu-table):
11569 Remove duplicated words in doc-strings.
11571 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11573 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11574 to mairix-search to suppress threading (Bug#5342).
11576 2010-01-15 Kenichi Handa <handa@m17n.org>
11578 * international/mule-cmds.el (canonicalize-coding-system-name):
11579 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11581 2010-01-15 Glenn Morris <rgm@gnu.org>
11583 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11585 * wid-edit.el (widget-keymap): Doc fix.
11587 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11588 former seems to be more widely accepted by various svn versions.
11590 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11592 * find-cmd.el (find-constituents):
11593 * vc-arch.el (vc-arch-root):
11594 * window.el (window-body-height, pop-up-frames):
11595 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11596 * progmodes/ada-stmt.el (ada-if):
11597 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11598 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11599 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11600 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11602 * progmodes/flymake.el (flymake-post-syntax-check):
11603 Fix typo in error message.
11605 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11607 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11608 which is always a string. (Bug#5313)
11610 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11612 * progmodes/ada-xref.el (ada-default-prj-properties):
11613 Simplify previous change.
11615 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11617 * progmodes/ada-xref.el (ada-default-prj-properties):
11618 Default ada_project_path to $ADA_PROJECT_PATH.
11620 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11622 * progmodes/ada-mode.el (ada-create-keymap):
11623 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11625 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11627 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11628 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11629 (ada-get-current-indent, ada-imenu-generic-expression)
11630 (ada-which-function): Check for it.
11632 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11634 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11635 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11637 2010-01-14 Glenn Morris <rgm@gnu.org>
11639 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11641 2010-01-14 Kenichi Handa <handa@m17n.org>
11643 * composite.el (auto-composition-mode): Make it a buffer local
11644 variable (permanent-local).
11645 (auto-composition-function): Set the default value to
11646 auto-compose-chars.
11647 (auto-composition-mode): Make it a simple function, not a minor mode.
11648 (global-auto-composition-mode): Likewise.
11649 (turn-on-auto-composition-if-enabled): Delete it.
11651 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11653 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11655 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11657 * files.el (copy-directory): Compute target for recursive
11658 directories with identical names. (Bug#5343)
11660 2010-01-12 Glenn Morris <rgm@gnu.org>
11662 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11663 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11665 2010-01-11 Sam Steingold <sds@gnu.org>
11667 * imenu.el (imenu-default-create-index-function): Detect infinite
11668 loops caused by imenu-prev-index-position-function.
11670 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11672 * htmlfontify.el (htmlfontify-load-rgb-file)
11673 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11674 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11675 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11676 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11677 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11678 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11679 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11680 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11681 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11682 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11683 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11684 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11685 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11686 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11687 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11688 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11689 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11690 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11691 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11692 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11693 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11694 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11695 backslash-quoting from parentheses, etc.
11697 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11699 * progmodes/js.el: Autoload javascript-mode alias.
11701 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11703 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11704 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11705 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11706 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11707 Fix typos in docstrings.
11708 (ffap-url-regexp): Doc fix.
11709 (ffap-at-mouse): Fix typo in message.
11711 2010-01-11 Glenn Morris <rgm@gnu.org>
11713 * version.el (emacs-copyright): Set copyright year to 2010.
11715 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * format.el (format-annotate-function): Only set
11718 write-region-post-annotation-function after running to-fn so as not to
11719 affect nested write-region calls (bug#5273).
11721 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11723 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11726 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11728 * man.el (Man-goto-section): Signal error if the section is not
11731 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11733 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11734 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11736 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11738 * progmodes/compile.el: Don't treat compile-command as safe if
11739 compilation-read-command might be nil (Bug#4218).
11741 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11743 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11746 2010-01-08 Kenichi Handa <handa@m17n.org>
11748 * international/fontset.el (build-default-fontset-data):
11749 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11751 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11753 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11754 to `create-file-buffer' as it expects, not just a buffer name.
11755 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11756 to help uniquify. (Bug#3224)
11758 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11760 * font-setting.el (font-setting-change-default-font): Use user-spec
11763 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11765 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11767 2010-01-05 Tom Tromey <tromey@redhat.com>
11769 * progmodes/python.el (python-font-lock-keywords):
11770 Handle qualified decorators (Bug#881).
11772 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11774 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11775 in a lightweight checkout.
11777 2010-01-05 Kenichi Handa <handa@m17n.org>
11779 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11781 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11783 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11785 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11787 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11788 checkouts. (Bug#618)
11789 (vc-bzr-log-view-mode): Also highlight the author.
11790 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11791 (vc-bzr-shelve-menu-map):
11792 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11793 (vc-bzr-shelve-apply): Make prompt more explicit.
11795 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11797 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11798 They are valid characters in URL paths (rfc3986), and at least
11799 Firefox does not understand the encoded version (Bug#3166).
11801 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11803 * progmodes/octave-mod.el (octave-end-keywords)
11804 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11805 Add "end" keyword (Bug#3061).
11806 (octave-end-as-array-index-p): New function.
11807 (calculate-octave-indent): Use it.
11809 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11811 * bookmark.el: Consistently put the text property on the bookmark name.
11812 (bookmark-bmenu-marks-width): Bump back to 2, to include
11814 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11815 property on the bookmark name, instead of not putting it at all.
11816 (bookmark-bmenu-list): Fix where we put the text property.
11818 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11820 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11821 for showing buffer modified state (as added in the previous change).
11823 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11825 * bookmark.el: Show modified state of bookmark buffer more accurately.
11826 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11827 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11828 (with-buffer-modified-unmodified): New macro.
11829 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11830 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11831 Use new macro to preserve the buffer modified state.
11833 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11835 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11836 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11837 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11838 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11839 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11840 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11841 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11843 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11845 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11846 Make the lines in the generated doc string shorter. (Bug#4668)
11848 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11850 * net/rcirc.el: Add follow-link binding (Bug#4738).
11852 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11854 * Makefile.in (bzr-update): Rename from cvs-update.
11855 (cvs-update): New target for backward compatibility.
11857 * makefile.w32-in (bzr-update): Rename from cvs-update.
11858 (cvs-update): New target for backward compatibility.
11860 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11862 * bookmark.el: Remove gratuitous gratitude.
11864 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11866 * bookmark.el (bookmark-bmenu-any-marks): New function.
11867 (bookmark-bmenu-save): Clear buffer modification if no marks.
11869 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11871 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11872 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11873 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11874 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11876 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11877 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11878 To: emacs-devel {_AT_} gnu.org
11879 Subject: bookmark.el bug report
11880 Date: Mon, 28 Dec 2009 14:19:16 +0800
11881 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11883 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11885 * bookmark.el: Improvements suggested by Drew Adams:
11886 (bookmark-bmenu-ensure-position): New name for
11887 `bookmark-bmenu-check-position'. Just ensure the position,
11888 don't return any meaningful value.
11889 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11892 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11894 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11895 (bookmark-yank-point, bookmark-bmenu-check-position):
11896 Fix typos in docstrings.
11897 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11898 (bookmark-name-from-full-record, bookmark-get-position)
11899 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11900 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11901 Remove useless quoting of parenthesis, etc. in docstrings.
11903 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11904 (ediff-append-custom-diff): Fix typo in error message.
11905 (ediff-meta-mark-equal-files): Fix typos in messages.
11907 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11909 * net/imap-hash.el (imap-hash-make): Doc fix.
11910 (imap-hash-test): Fix typo in error message; reflow docstring.
11911 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11912 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11913 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11914 Fix typos in docstrings.
11915 (imap-hash-open-connection): Fix typo in error message.
11917 * play/gomoku.el (gomoku): Fix typos in docstring.
11919 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11920 (gdb-jsonify-buffer): Fix typos in docstring.
11921 (gdb-goto-breakpoint): Fix typo in error message.
11922 ("Display Other Windows"): Fix typo in help message.
11923 (gdb-speedbar-expand-node): Fix typo in question.
11925 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11926 (idlwave-html-system-help-location, idlwave-html-help-location)
11927 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11928 (idlwave-help-browser-generic-args, idlwave-help-directory)
11929 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11930 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11931 (idlwave-online-help, idlwave-help-html-link)
11932 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11933 Fix typos in docstrings.
11934 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11936 (idlwave-help-assistant-start): Fix typo in error message.
11938 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11939 (octave-electric-space): Fix typos in docstrings.
11941 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11943 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11945 2010-01-01 Juri Linkov <juri@jurta.org>
11947 * comint.el (comint-input-ring-size): Make it a defcustom and
11948 increase the default to 500 (Bug#5148).
11950 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11952 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11953 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11954 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11956 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11958 Show working revision correctly for mercurial.
11959 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11960 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11962 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11964 Declare some functions for the byte-compiler.
11965 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11966 (speedbar-timer-fn, speedbar-change-expand-button-char)
11967 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11969 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11971 This changeset reverts GDB Graphical Interface to use annotations.
11972 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11974 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11976 Make vc-dir work on subdirectories of the bzr root.
11977 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11978 Return file names relative to it.
11979 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11980 relative directory to vc-bzr-after-dir-status.
11982 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11984 * font-lock.el (font-lock-refresh-defaults): New function, which
11985 can be used to let font-lock react to external changes in
11986 variables like font-lock-defaults and keywords.
11987 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11989 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11991 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11993 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11995 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11997 Supersede color.diff settings in git log (bug#5211).
11999 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12000 escape chars in its output when the user has color.diff set to `always'.
12001 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12003 2009-12-26 Kevin Ryde <user42@zip.com.au>
12005 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12006 node. Keep previous "Index" name to work with past coreutils too.
12008 * man.el (man): Revise docstring a bit to show -a and -l as
12009 examples. Add -k description since support for it has otherwise
12010 been a secret. (Further to bug#3717.)
12011 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12012 "no matches" rather than "Can't find manpage", as the latter reads
12013 like -k was interpreted as a page name, which is not so. (Bug#5431)
12015 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12017 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12018 switches. Check also for //SUBDIRED// line.
12020 2009-12-25 Kenichi Handa <handa@m17n.org>
12022 * language/indian.el (devanagari-composable-pattern): Fix to
12023 handle ZWNJ and ZWJ. Use it in composition-function-table for
12025 (malayalam-composable-pattern): Fix previous change.
12027 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12029 * ps-print.el (ps-face-attributes): It was not returning the
12030 attribute face for faces specified as string. Reported by harven
12031 <harven@free.fr>. (Bug#5254)
12032 (ps-print-version): New version 7.3.5.
12034 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12036 * calendar/icalendar.el (icalendar--convert-tz-offset):
12037 Fix timezone names.
12038 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12039 (icalendar--add-diary-entry): Remove the trailing blank that
12040 diary-make-entry inserts.
12042 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12044 Make `file-expand-wildcards' work for remote files.
12046 * files.el (file-expand-wildcards): In case of remote files, check
12047 only local file name part for wildcards. Provide feature 'files
12048 and subfeature 'remote-wildcards. (Bug#5198)
12050 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12051 if there is already an established connection.
12052 (tramp-advice-file-expand-wildcards): Remove it.
12054 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12055 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12056 Activate advice for older GNU Emacs versions. (Bug#5237)
12058 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12060 Some doc fixes (more needed).
12062 * find-cmd.el (find-constituents): Reflow docstring.
12063 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12064 (find-generic): Doc fix.
12066 2009-12-17 Juri Linkov <juri@jurta.org>
12068 Fix regression from 23.1 to allow multiple modes in Local Variables.
12070 * files.el (hack-local-variables-filter): While ignoring duplicates,
12071 don't take `mode' into account.
12072 (hack-local-variables-filter, hack-dir-local-variables):
12073 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12075 2009-12-17 Juri Linkov <juri@jurta.org>
12077 Make `dired-diff' safer. (Bug#5225)
12079 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12080 `current' or when `file' is a directory of the `current' file.
12082 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12084 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12085 unconditionally preloaded files.
12087 2009-12-16 Juri Linkov <juri@jurta.org>
12089 Revert to old 23.1 logic of using the file at the mark as default.
12090 * dired-aux.el (dired-diff): Use the file at the mark as default
12091 if it's not the same as the current file, and the target dir is
12092 the current dir or the mark is active. Add the current file
12093 as the arg of `dired-dwim-target-defaults'. Use the default file
12094 in the prompt. (Bug#5225)
12096 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12098 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12099 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12100 (tramp-check-for-regexp): Check also, when an echoing shell stops
12101 to echo sent commands.
12103 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12105 * Makefile.in: Revert last change (Bug#5191).
12107 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12109 * vc-hg.el (vc-hg-print-log): Fix argument order.
12110 (vc-hg-working-revision): Make sure the command is executed in a
12111 known environment so that we can parse the output. (Bug#4417)
12113 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12115 * progmodes/python.el (python-symbol-completions): Remove text
12116 properties from symbol string before calling python-send-receive.
12118 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12120 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12121 when there are values for both file and line. (Bug#5060)
12123 2009-12-14 Juri Linkov <juri@jurta.org>
12125 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12126 whitespace after the file name of the first line of unified format,
12127 because git-diff doesn't output whitespace and file modification time
12128 after the file name.
12130 2009-12-14 David Kastrup <dak@gnu.org>
12132 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12133 check if it already has the `display' property added by
12134 `Info-display-images-node', and not put the `invisible' property
12137 2009-12-13 Glenn Morris <rgm@gnu.org>
12139 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12140 (report-emacs-bug): In message-mode, sort manually before storing
12141 original report text. (Bug#5178)
12142 Remove superfluous save-excursion.
12144 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12146 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12147 when responding to "GetAll" properties.
12149 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12151 * simple.el (compose-mail): Remove mail-setup-with-from from
12152 customization checks.
12154 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12156 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12157 RAR archives created on Unix systems.
12159 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12161 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12162 the varalias that was accidentally removed by the 2009-11-19 change
12165 2009-12-12 Kenichi Handa <handa@m17n.org>
12167 * language/indian.el (indian-compose-regexp): New function.
12168 (malayalam-composable-pattern): Fix the pattern.
12169 (composition-function-table): Set malayalam-composable-pattern for
12170 Malayalam characters.
12172 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12174 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12175 rather than down-mouse-1, based on follow-link conventions.
12177 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12180 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12182 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12183 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12184 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12185 (verilog-leap-to-head, verilog-backward-token):
12186 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12188 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12190 * progmodes/verilog-mode.el (verilog-auto-lineup)
12191 (verilog-nameable-item-re): Cleanup user-visible spelling and
12192 documentation errors. One reported by Gary Delp.
12193 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12194 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12195 package, bug195. Reported by Pierre-David Pfister.
12197 2009-12-11 Glenn Morris <rgm@gnu.org>
12199 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12201 * mail/emacsbug.el: No longer require sendmail.
12202 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12203 (report-emacs-bug-orig-text): Doc fix.
12204 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12205 New local variables, to adapt to different mail-user-agents.
12206 (report-emacs-bug): Fix test for a gnu.org address.
12207 Use overlays for emphasis, since font-lock defeats 'face property.
12208 Pretest bugs also end up at the newsgroup these days.
12209 Stop message-mode stripping text properties.
12210 Set and use the new buffer-local variables.
12211 (report-emacs-bug-hook): Add doc-string.
12212 Remove some unnecessary save-excursions and simplify.
12213 Use the appropriate hook and send-command.
12215 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12216 capitalization of some menu entries.
12218 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12220 * whitespace.el (whitespace-display-char-on):
12221 Ensure `buffer-display-table' is unique when two or more windows are
12222 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12225 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12227 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12228 characters in the Attribute field.
12230 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12232 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12234 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12236 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12237 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12238 Disregard autoload-excludes.
12239 (update-directory-autoloads): Obey autoload-excludes here instead.
12240 But don't store its contents in no-autoloads and remove entries that
12241 refer to excludes files.
12243 2009-12-10 Glenn Morris <rgm@gnu.org>
12245 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12246 (expand-mail-aliases): Define for compiler.
12248 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12249 Define for compiler.
12251 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12252 appropriate for the mail-user-agent in use.
12254 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12256 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12258 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12260 Fix short log parsing and fontification.
12261 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12262 Fix fontification for the [merge] label.
12264 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12266 Drop some properties to avoid surprises (bug#5002).
12267 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12268 (hfy-fontify-buffer): Use it.
12270 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12273 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12274 Adjust all callers.
12275 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12276 args compulsory. Adjust callers.
12277 (ffap-gopher-at-point): Remove unused var `name'.
12279 Get rid of the ELCFILES abomination.
12280 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12281 (compile-elcfiles): New phony target.
12282 (compile-main): Compute ELCFILES dynamically.
12283 (compile-clean): New target to remove left-over elc files.
12284 (compile, all): Use it.
12286 2009-12-09 Kenichi Handa <handa@etlken>
12288 * international/mule-diag.el: Require help-mode instead of help-fns.
12290 2009-12-09 Kenichi Handa <handa@m17n.org>
12292 * international/mule-cmds.el (ucs-names): Supply sufficiently
12293 fine ranges instead of pre-calculating accurate ranges.
12294 Iterate with bigger gc-cons-threshold.
12296 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12298 Add support for stashing a snapshot of the current tree.
12299 * vc-git.el (vc-git-stash-snapshot): New function.
12300 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12302 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12304 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12305 instead of `(beginning|end)-of-line'.
12307 2009-12-08 Glenn Morris <rgm@gnu.org>
12309 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12311 * Makefile.in (ELCFILES): Regenerate.
12313 2009-12-07 Juri Linkov <juri@jurta.org>
12315 Don't lazy-highlight the comint output in history Isearch mode.
12317 * comint.el (comint-history-isearch-search): Instead of
12318 `comint-line-beginning-position', use `comint-after-pmark-p'
12319 to check if point if before the process mark, and go to
12320 `process-mark' in this case.
12322 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12324 * textmodes/tex-mode.el (latex-complete)
12325 (latex-indent-or-complete): Remove.
12326 (latex-mode): Set completion-at-point-functions instead.
12328 Provide a standard completion command and hook it into TAB.
12329 * minibuffer.el (completion-at-point-functions): New var.
12330 (completion-at-point): New command.
12331 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12332 * progmodes/python.el (python-mode-map): Use completion-at-point.
12333 (python-completion-at-point): Rename from python-partial-symbol and
12334 adjust for use in completion-at-point-functions.
12335 (python-mode): Setup completion-at-point for Python completion.
12336 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12337 extracted from lisp-complete-symbol.
12338 (lisp-complete-symbol): Use it.
12339 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12340 setup completion-at-point for Elisp completion.
12341 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12342 Use completion-at-point.
12343 * ielm.el (ielm-map): Use completion-at-point.
12344 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12345 * progmodes/sym-comp.el: Move to...
12346 * obsolete/sym-comp.el: Move from progmodes.
12348 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12350 Prevent save-buffer in Rmail buffers from using the coding-system
12351 of the current message, and from clobbering the encoding mnemonics
12352 in the mode line (Bug#4623).
12354 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12356 (rmail-message-encoding): New variable.
12357 (rmail-write-region-annotate): Record the encoding of the current
12358 message in rmail-message-encoding.
12359 (rmail-after-save-hook): New function, restores the encoding of
12360 the current message after the message collection is saved.
12362 2009-12-07 Juri Linkov <juri@jurta.org>
12364 * progmodes/grep.el (grep-read-files): Use `completing-read'
12365 instead of `read-string'. Set its `collection' arg to
12366 `read-file-name-internal'. (Bug#4301)
12368 2009-12-07 Juri Linkov <juri@jurta.org>
12370 Correctly restore original Isearch point. (Bug#4994)
12372 * isearch.el (isearch-mode): Move `isearch-push-state' after
12373 `(run-hooks 'isearch-mode-hook)'.
12374 (isearch-cancel): When `isearch-push-state-function' is defined,
12375 let-bind `isearch-cmds' to the first state (the last element of
12376 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12377 function and restores the original point). Otherwise, move point
12378 to `isearch-opoint'.
12380 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12382 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12383 chars that don't have names, so the table can be built much faster at
12386 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12388 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12389 change. Suggested by David Kastrup.
12391 * simple.el (compose-mail): Check for incompatibilities and warn.
12392 (compose-mail-user-agent-warnings): New option.
12394 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12396 Support showing a single log entry from vc-annotate.
12397 * vc.el (print-log): Add a new argument: START-REVISION.
12398 (vc-print-log-internal): Add a new optional argument and
12399 pass it to the backend.
12400 (vc-print-log, vc-print-root-log): Adjust callers.
12401 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12402 buffer already displays the requested log entry, use it.
12403 Otherwise display only the log entry in question.
12404 * vc-svn.el (vc-svn-print-log):
12405 * vc-mtn.el (vc-mtn-print-log):
12406 * vc-hg.el (vc-hg-state):
12407 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12408 (vc-git-show-log-entry): Return t on success.
12409 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12410 (vc-bzr-show-log-entry): Return t on success.
12411 * vc-rcs.el (vc-rcs-print-log):
12412 * vc-sccs.el (vc-sccs-print-log):
12413 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12415 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12417 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12418 Add menus to the meta mode. (Bug#5043)
12420 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12422 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12425 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12427 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12429 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12430 Berbain <raphael.berbain@gmail.com>.
12432 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12434 (tramp-initial-end-of-output): New defconst.
12435 (tramp-methods, tramp-find-shell)
12436 (tramp-open-connection-setup-interactive-shell)
12437 (tramp-maybe-open-connection): Use it.
12438 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12439 Handle existence of `#' and `$'.
12441 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12442 Use `tramp-initial-end-of-output'.
12444 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12446 Get the background mode from the terminal for xterm, and set
12448 * term/xterm.el (xterm-set-background-mode): New function.
12449 (terminal-init-xterm): Use it in case xterm supports background
12450 color queries. Recompute faces after getting the background
12453 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12455 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12456 number comment back on its own line, for easier parsing.
12458 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12460 Make it work for non-file buffers (bug#5102).
12461 * doc-view.el (doc-view-current-cache-dir):
12462 Use doc-view-buffer-file-name rather than buffer-file-name.
12463 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12465 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12467 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12468 author field is too short.
12470 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12472 * vc-git.el (vc-git-print-log): Handle a limit argument.
12473 Display the short log in graph form and with labels.
12474 (vc-git-log-view-mode): Handle labels.
12476 Make vc-revert change VC state from 'added to 'unregistered.
12477 * vc-git.el (vc-git-revert): Call git reset first.
12479 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12481 * net/newst-backend.el, net/newst-plainview.el:
12482 * net/newst-reader.el, net/newst-ticker.el:
12483 * net/newst-treeview.el, net/newsticker.el:
12484 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12486 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12488 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12490 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12491 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12492 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12493 Update annotation regexp.
12495 * simple.el (beginning-of-visual-line): Constrain to field
12496 boundaries (Bug#5106).
12498 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12500 * xml.el (xml-substitute-numeric-entities):
12501 Move newsticker--decode-numeric-entities in newst-backend.el to
12502 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12503 * net/newst-backend.el (newsticker--parse-generic-feed)
12504 (newsticker--parse-generic-items)
12505 (newsticker--decode-numeric-entities):
12506 Move newsticker--decode-numeric-entities in newst-backend.el to
12507 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12509 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12511 * progmodes/js.el (js--js-not): Add null to the list of values.
12513 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12515 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12517 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12519 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12520 delimiter if it is at the end of the current line.
12521 (bibtex-generate-url-list): Fix docstring.
12523 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12526 minibuffer's content with itself.
12527 Fold the confirm-after-completion case into the `confirm' case.
12528 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12530 2009-12-06 Kevin Ryde <user42@zip.com.au>
12532 * ffap.el (ffap-rfc-path): Make this a defcustom since
12533 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12535 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12536 manuals, similar to existing setup for help-mode. (Bug#3913.)
12538 2009-12-05 Juri Linkov <juri@jurta.org>
12540 Save and restore dired buffer's point positions too. (Bug#4880)
12542 * dired.el (dired-save-positions): Return in the first element
12543 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12545 (dired-restore-positions): First restore buffer's position.
12546 While restoring window's positions, check if window still displays
12547 the original buffer.
12549 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12551 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12554 * shell.el (shell): Require ansi-color (Bug#5113).
12556 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12558 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12560 2009-12-05 Alan Mackenzie <acm@muc.de>
12562 * progmodes/cc-mode.el (c-before-hack-hook)
12563 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12564 `c-file-style' to work again. This reversion restores the current
12565 software to its state in Emacs 23.1. (Bug#4146)
12567 2009-12-05 Kevin Ryde <user42@zip.com.au>
12569 * textmodes/sgml-mode.el (sgml-lexical-context):
12570 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12572 2009-12-05 Juri Linkov <juri@jurta.org>
12574 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12575 for virtual nodes. (Bug#4147)
12576 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12577 when moving from a virtual node.
12578 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12579 (Info-mode): Add `Info-virtual-index' to the docstring.
12581 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12583 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12584 track of the buffer position of the end of a BibTeX entry as this
12585 position may change during reformatting.
12586 (bibtex-format-entry): Remove whitespace before processing
12587 numerical fields so that we recognize the latter properly.
12588 (bibtex-reformat): Do not use push which changes the global value
12589 of bibtex-entry-format.
12590 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12591 (bibtex-field-re-init): Replace only space characters by regexp
12593 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12594 (bibtex-initialize): Also update bibtex-strings.
12595 (bibtex-kill-field): Preserve white space at end of entry.
12596 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12597 Update bibtex-reference-keys.
12599 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12601 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12602 point after a star, if that's the only place where modifications can
12605 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12607 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12610 2009-12-04 Juri Linkov <juri@jurta.org>
12612 * proced.el (proced): Call `(proced-update t)' to update process
12613 information instead of only running proced-post-display-hook.
12614 (proced-send-signal): Add a leading space to the buffer name
12615 " *Marked Processes*" to make this buffer ephemeral.
12617 2009-12-04 Juri Linkov <juri@jurta.org>
12619 * dired.el (dired-auto-revert-buffer): New defcustom.
12620 (dired-internal-noselect): Use it.
12622 2009-12-04 Juri Linkov <juri@jurta.org>
12624 Change roles of modes and functions in image-mode.el (Bug#5062).
12626 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12627 in `auto-mode-alist'.
12628 (image-mode-previous-major-mode): New variable.
12629 (image-minor-mode-map): Rename from `image-mode-text-map'.
12630 (image-mode): Move graceful error-handling code from
12631 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12632 (image-minor-mode): Remove all image-handling code.
12633 Replace `image-mode-text-map' with `image-minor-mode-map'.
12634 Check for `image-type' in mode-line format string.
12635 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12636 (image-mode-as-text): New function with most code from
12637 `image-mode-maybe'.
12638 (image-toggle-display-text): Move code that removes image
12639 properties from `image-toggle-display' to here.
12640 (image-toggle-display-image): New function with code that adds
12641 image properties copied from `image-toggle-display'.
12642 (image-toggle-display): Remove most code with leaving only code
12643 that toggles between `image-mode-as-text' and `image-mode'.
12645 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12647 * net/newst-treeview.el
12648 (newsticker--treeview-list-highlight-start): Restored call to
12649 save-excursion: Selected item was stuck.
12650 (newsticker--treeview-list-select): New.
12651 (newsticker--treeview-item-show-text)
12652 (newsticker--treeview-item-show)
12653 (newsticker--treeview-item-update): Use new
12654 newsticker-treeview-item-mode.
12655 (newsticker-treeview-update): Keep current item.
12656 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12657 (newsticker--treeview-first-feed): Doc change.
12658 (newsticker-treeview-list-menu)
12659 (newsticker-treeview-item-menu): Add menu entries.
12660 (newsticker-treeview-item-mode): New.
12662 * net/newst-backend.el (newsticker-customize): Delete other
12665 2009-12-04 Sam Steingold <sds@gnu.org>
12667 * log-view.el (log-view-mode-map): "q" calls quit-window,
12668 like in all the other non-self-insert buffers.
12670 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12673 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12674 key decoding rather than do it manually via last-input-event +
12676 (term-exec): Use delete-and-extract-region.
12677 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12678 (term-process-pager): Remove unused var `i'.
12679 (term-dynamic-simple-complete): Make obsolete.
12680 (serial-update-config-menu): Remove unused vars `y' and `str'.
12681 (term-update-mode-line): Remove unused var `temp'.
12683 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12685 Limit the number of log entries displayed by default.
12686 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12687 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12688 using a prefix argument.
12690 2009-12-03 Glenn Morris <rgm@gnu.org>
12692 * progmodes/idlwave.el (class): Restore still useful declaration.
12694 2009-12-03 Alan Mackenzie <acm@muc.de>
12696 Enhance `c-parse-state' to run efficiently in "brace deserts".
12698 * progmodes/cc-mode.el (c-basic-common-init):
12699 Call c-state-cache-init.
12700 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12701 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12702 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12704 * progmodes/cc-langs.el (c-before-font-lock-function):
12705 c-extend-and-neutralize-syntax-in-CPP has been renamed
12706 c-neutralize-syntax-in-and-mark-CPP.
12708 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12709 with `category' properties now, not `syntax-table' ones.
12711 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12712 enhanced (but slower) version of c-end-of-macro that won't land
12713 inside a literal or on another awkward character.
12714 (c-state-cache-too-far, c-state-cache-start)
12715 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12716 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12717 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12718 (c-state-min-scan-pos, c-state-brace-pair-desert)
12719 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12720 buffer local variables.
12721 (c-state-literal-at, c-state-lit-beg)
12722 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12723 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12724 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12725 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12726 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12727 (c-renarrow-state-cache)
12728 (c-append-lower-brace-pair-to-state-cache)
12729 (c-state-push-any-brace-pair, c-append-to-state-cache)
12730 (c-remove-stale-state-cache)
12731 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12732 (c-invalidate-state-cache-1, c-parse-state-1)
12733 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12734 (c-parse-state): Enhance and refactor.
12735 (c-debug-parse-state): Amend to deal with all the new variables.
12737 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12738 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12739 modify to use category text properties rather than syntax-table ones.
12740 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12741 to switch off/on the syntactic paren property of C++ template
12742 delimiters using the category property.
12743 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12744 template delims suppressed.
12745 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12746 New constant/macros which apply category properties to the start
12747 and end of preprocessor constructs.
12748 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12749 "comment out" the syntactic value of characters in preprocessor
12751 (c-with-cpps-commented-out)
12752 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12753 with characters in all or all but one preprocessor constructs
12756 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12758 * proced.el (proced-filter-alist): Use regexp-quote.
12760 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12763 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12764 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12765 arguments. Expand `default-directory'.
12767 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12768 the benefit of returning an expanded localname.
12769 (tramp-tramp-file-p): Handle the case NAME is not a string.
12771 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12773 Add support for bzr shelve/unshelve.
12774 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12775 (vc-bzr-extra-menu-map): New variables.
12776 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12777 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12778 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12779 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12780 (vc-bzr-dir-extra-headers): Display shelves.
12782 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12784 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12786 * textmodes/bibtex.el (bibtex-complete-internal):
12787 Use completion-in-region.
12788 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12790 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12792 Support applying stashes. Improve UI.
12793 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12794 (vc-git-stash-apply, vc-git-stash-pop)
12795 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12796 (vc-git-stash-menu): New functions.
12797 (vc-git-stash-menu-map): New variable.
12798 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12800 2009-12-03 Glenn Morris <rgm@gnu.org>
12802 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12803 (vc-print-log-internal): Fix previous change.
12804 (vc-revert): Correct pluralization.
12806 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12808 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12809 it to be an alist any more.
12810 (makefile-complete): Use completion-in-region.
12812 * progmodes/octave-mod.el (octave-complete-symbol):
12813 Use completion-in-region.
12816 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12817 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12818 (idlwave-complete-class): Don't quote lambda.
12819 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12820 (idlwave-mode-map): Move initialization into declaration.
12821 (idlwave-action-and-binding): Use backquotes.
12822 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12824 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12825 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12826 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12827 `parts', and `all-parts'.
12828 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12829 (idlwave-convert-xml-system-routine-info): Remove unused string
12831 (idlwave-display-user-catalog-widget): Use dolist.
12832 (idlwave-scanning-lib): Declare dynamically-scoped var.
12833 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12834 (completion-highlight-first-word-only): Declare to silence bytecomp.
12835 (idlwave-popup-select): Tighten scope of `resp'.
12836 (idlwave-find-struct-tag): Remove unused var `beg'.
12837 (idlwave-after-load-rinfo-hook): Declare.
12838 (idlwave-sintern-class-info): Remove unused var `taglist'.
12839 (idlwave-find-class-definition): Remove unused var `list'.
12840 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12841 (idlwave-what-module-find-class): Remove unused var `classes'.
12843 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12845 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12847 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12849 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12850 buffers visited. Remove redundant current-buffer-saving.
12852 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12854 Use completion-in-buffer and remove uses of dynamic scoping.
12855 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12856 (pascal-buffer-to-use, pascal-flag): Don't declare.
12857 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12858 (pascal-get-completion-decl, pascal-keyword-completion):
12859 Add `pascal-str' argument, save-excursion,
12860 return the found completions, and don't filter with pascal-pred.
12861 (pascal-completion-cache): New var.
12862 (pascal-completion): Don't switch buffer any more (it was never
12863 necessary). Don't save-excursion any more (it's done by the called
12864 subroutines). Use a cache to avoid redundant computations.
12865 Use complete-with-action rather than pascal-completion-response and
12866 let it apply the predicate as well.
12867 (pascal-complete-word): Use completion-in-buffer when
12868 pascal-toggle-completions is nil.
12869 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12871 (pascal-comp-defun): Don't change buffer any more.
12872 Use complete-with-action rather than pascal-completion-response and
12873 let it apply the predicate as well.
12874 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12877 2009-12-02 Kenichi Handa <handa@m17n.org>
12879 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12880 shape for all Indic scripts.
12882 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12884 Use completion-in-buffer.
12885 * wid-edit.el (widget-field-text-end): New function.
12886 (widget-field-value-get): Use it.
12887 (widget-string-complete, widget-file-complete)
12888 (widget-color-complete): Use it and completion-in-region.
12889 (widget-complete): Don't narrow the buffer.
12891 2009-12-02 Glenn Morris <rgm@gnu.org>
12893 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12894 (rmail-select-summary): Use rmail-pop-to-buffer.
12895 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12896 rmail-pop-to-buffer, to prevent horizontal splits.
12898 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12899 save-excursion with save-current-buffer.
12900 Widen before searching. (Bug#5093)
12901 (diary-list-sexp-entries): Remove superfluous save-excursion.
12903 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12905 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12908 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12910 * ido.el (ido-file-internal): Handle filenames at point that do
12911 not have a directory part. (Bug#5049)
12913 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12915 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12916 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12918 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12920 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12921 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12924 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12926 * comint.el (comint-insert-input): Ignore clicks to the right of
12927 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12929 * vc.el (vc-print-log-internal): Don't wait for the process to
12930 terminate before setting up the major mode.
12932 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12935 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12938 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12940 2009-12-01 Glenn Morris <rgm@gnu.org>
12942 * window.el (window--display-buffer-2): Fix previous changes.
12944 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12946 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12948 2009-12-01 Glenn Morris <rgm@gnu.org>
12950 * Makefile.in (ELCFILES): Add mpc.elc.
12952 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * mpc.el: New file.
12956 2009-12-01 Glenn Morris <rgm@gnu.org>
12958 * window.el (window-to-use): Define for compiler.
12960 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12961 consistent with others (no final period).
12963 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12964 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12966 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12968 Make vc-print-log buttons work.
12969 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12971 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12973 * savehist.el (savehist-autosave-interval): Allow setting to nil
12974 through customize. (Bug#5056)
12976 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12978 Fix references to jit-lock properties.
12979 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12980 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12981 (perl-font-lock-special-syntactic-constructs):
12982 Quote jit-lock-defer-multiline property.
12984 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12986 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12988 2009-11-30 Juri Linkov <juri@jurta.org>
12990 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12991 value `buffer' of `multi-isearch-next-buffer-current-function'.
12992 Use `(current-buffer)' when `buffer' is nil.
12993 (multi-isearch-next-buffer-from-list): Don't fallback to
12994 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12996 2009-11-30 Juri Linkov <juri@jurta.org>
12998 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12999 of buffers with `get-buffer' to `multi-isearch-buffers'.
13000 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13001 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13002 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13003 FILES with `expand-file-name' converting relative file names
13004 to absolute. Doc fix. (Bug#4727)
13006 2009-11-30 Juri Linkov <juri@jurta.org>
13008 * misearch.el (multi-isearch-read-buffers)
13009 (multi-isearch-read-matching-buffers): New functions.
13010 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13011 Use them in the `interactive' spec. Doc fix.
13012 (multi-isearch-read-files, multi-isearch-read-matching-files):
13014 (multi-isearch-files, multi-isearch-files-regexp):
13015 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13017 2009-11-30 Juri Linkov <juri@jurta.org>
13019 * doc-view.el (doc-view-continuous):
13020 Rename from `doc-view-continuous-mode'.
13021 (doc-view-menu): Move "Toggle display" to the top.
13022 Add submenu "Continuous" with radio buttons "Off"/"On"
13023 and "Save as Default".
13024 (doc-view-scroll-up-or-next-page)
13025 (doc-view-scroll-down-or-previous-page)
13026 (doc-view-next-line-or-next-page)
13027 (doc-view-previous-line-or-previous-page):
13028 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13030 2009-11-30 Juri Linkov <juri@jurta.org>
13032 * comint.el (comint-mode-map): Rebind `M-r' from
13033 `comint-previous-matching-input' to
13034 `comint-history-isearch-backward-regexp'.
13035 Unbind `M-s' to allow global key binding `M-s'.
13036 Add menu items for `comint-history-isearch-backward' and
13037 `comint-history-isearch-backward-regexp'. (Bug#3746)
13039 2009-11-30 Juri Linkov <juri@jurta.org>
13041 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13042 For def=recenter, replace `recenter' with `recenter-top-bottom'
13043 that is called with `this-command' and `last-command' let-bound
13044 to `recenter-top-bottom'. When the last `def' was not `recenter',
13045 set `recenter-last-op' to nil. (Bug#4981)
13047 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13049 Minor cleanup and simplification.
13050 * filecache.el (file-cache-add-directory)
13051 (file-cache-add-directory-recursively)
13052 (file-cache-add-from-file-cache-buffer)
13053 (file-cache-delete-file-regexp, file-cache-delete-directory)
13054 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13055 (file-cache-temp-minibuffer-message): Delete function.
13056 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13058 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13059 Don't signal an error when bumping into EOB in tr, s, or y.
13061 2009-11-29 Juri Linkov <juri@jurta.org>
13063 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13066 * descr-text.el (describe-char-unidata-list): Use lowercase name
13067 for "Unicode name" like in other tags.
13069 2009-11-29 Juri Linkov <juri@jurta.org>
13071 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13072 New compatibility macro.
13073 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13075 2009-11-29 Juri Linkov <juri@jurta.org>
13077 Add defcustom to define the cycling order of `recenter-top-bottom'.
13080 * window.el (recenter-last-op): Doc fix.
13081 (recenter-positions): New defcustom.
13082 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13083 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13085 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13087 Improve integration of Tramp and ange-ftp in eshell.
13089 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13090 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13091 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13093 * eshell/esh-util.el (top): Require also Tramp when compiling.
13094 (eshell-directory-files-and-attributes): Check for FTP remote
13096 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13097 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13098 (eshell-file-attributes): Handle ".". Return `entry'.
13100 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13101 (ange-ftp-directory-files-and-attributes)
13102 (ange-ftp-real-directory-files-and-attributes): New defuns.
13104 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13105 shell with "exec" when possible. This prevents trailing prompts
13106 in `start-file-process'.
13108 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13110 Try and remove assumptions about point-min==1.
13111 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13112 (rng-compute-mode-line-string): Show the validation percentage in
13113 terms of the narrowed text, not the widened text.
13114 (rng-do-some-validation): Don't catch internal errors when debugging.
13115 (rng-first-error): Simplify.
13116 (rng-after-change-function): Remove work around. AFAIK the bug has
13117 been fixed a while ago.
13119 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13120 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13122 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13124 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13125 `cd' doesn't always do it for us (bug#5067).
13127 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13128 on 2009-10-25 as part of some other change (bug#5067).
13130 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13132 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13134 (byte-compile-warnings): Use byte-compile-warning-types.
13135 (byte-compile-save-excursion): Warn about use of set-buffer right
13136 after save-excursion.
13138 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13139 the excursion as well.
13141 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13143 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13144 providing a Tramp related implementation of "su" and "sudo".
13145 (eshell-unix-initialize): Add "su" and "sudo".
13147 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13149 * net/socks.el (socks-send-command): Convert binary request to
13150 unibyte before sending. This fixes mishandling of some port
13151 numbers such as 129.
13153 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13155 * help.el (describe-bindings-internal): Remove `interactive'.
13157 * man.el (Man-completion-table): Trim a terminating "(".
13158 Remove the space between name page a section.
13159 Add the command's description on the `help-echo' property.
13160 Remove `process-connection-type' binding since it's unused by
13162 Provide completion for the "<section> <name>" format as well.
13163 (Man-default-man-entry): Remove spurious var shadowing the argument.
13165 2009-11-26 Kevin Ryde <user42@zip.com.au>
13167 * log-view.el: Add "Keywords: tools", since its other keywords
13168 aren't in finder-known-keywords, and following vc.el.
13170 * sha1.el (sha1-string-external): default-directory "/" in case
13171 otherwise non-existent. process-connection-type pipe for touch of
13172 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13174 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13176 Misc coding convention cleanups.
13177 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13178 hfy-init-kludge-hooks.
13179 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13180 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13181 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13183 (hfy-slant, hfy-weight): Use tables rather than code.
13184 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13185 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13186 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13187 (hfy-face-to-css): Remove `nconc' with single arg.
13188 (hfy-p-to-face-lennart): Use `or'.
13189 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13190 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13191 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13192 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13193 (hfy-force-fontification): Use run-hooks.
13195 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13197 Various minor fixes.
13198 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13199 Javascript belongs in the header, not the body.
13200 (hfy-javascript): Remove.
13201 (hfy-fontify-buffer): Don't insert it any more.
13202 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13203 Fix bug in invis handling when there were no invis props in a chunk.
13205 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13207 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13209 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13211 * finder.el (finder-mode-map): Add a menu.
13213 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13215 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13216 "unsigned" structs.
13218 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13219 fork" statement better.
13221 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13223 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13224 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13225 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13226 Reported by Clay Douglass.
13228 (verilog-auto-inst, verilog-auto-star-safe)
13229 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13230 Fix removing "// Interfaces" when saving .* expansions.
13231 Reported by Pierre-David Pfister.
13233 2009-11-26 Glenn Morris <rgm@gnu.org>
13235 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13238 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13240 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13241 Really use previous revision.
13243 2009-11-25 Kevin Ryde <user42@zip.com.au>
13245 * man.el (Man-completion-table): default-directory "/" in case
13246 doesn't otherwise exist. process-environment COLUMNS=999 so as
13247 not to truncate long names. process-connection-type pipe to avoid
13248 any chance of hitting the pseudo-tty TIOCGWINSZ.
13249 (man): completion-ignore-case t for friendliness and since man
13250 itself is case-insensitive on the command line.
13251 Further to Bug#3717.
13253 * arc-mode.el: Add "Keywords: files", so the details in its
13254 commentary can be reached from finder-by-keyword.
13255 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13256 editing mode, but it's comms related and sgml-mode.el has "comm"
13258 * textmodes/bibtex-style.el: Add "Keywords: tex".
13259 * international/isearch-x.el, international/ja-dic-cnv.el:
13260 * international/ja-dic-utl.el, international/kkc.el:
13261 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13263 2009-11-25 Juri Linkov <juri@jurta.org>
13265 * man.el (Man-completion-table): Modify regexp to include
13266 section names to completion strings. (Bug#3717)
13268 2009-11-25 Juri Linkov <juri@jurta.org>
13270 Search recursively in gzipped files. (Bug#4982)
13272 * progmodes/grep.el (grep-highlight-matches): Add new options
13273 `always' and `auto'. Doc fix.
13274 (grep-process-setup): Check `grep-highlight-matches' for
13275 `auto-detect' to determine the need to compute grep defaults.
13276 Move Windows/DOS specific --colors settings handling
13277 to `grep-compute-defaults'. Check `grep-highlight-matches'
13278 to get the value of "--color=".
13279 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13280 has the value `auto-detect'. Move Windows/DOS specific settings
13281 from `grep-process-setup'.
13282 (zrgrep): New command with alias `rzgrep'.
13284 2009-11-25 Juri Linkov <juri@jurta.org>
13286 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13287 to nil instead of switching off view-mode. (Bug#4896)
13289 2009-11-25 Juri Linkov <juri@jurta.org>
13291 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13293 * mwheel.el (mwheel-scroll-up-function)
13294 (mwheel-scroll-down-function): New defvars.
13295 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13296 `scroll-up', and `mwheel-scroll-down-function' instead of
13299 * doc-view.el (doc-view-scroll-up-or-next-page)
13300 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13301 Use this ARG in the call to image-scroll-up/image-scroll-down.
13302 Change `interactive' spec to "P". Goto next/previous page only
13303 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13304 SPC/DEL case). Doc fix.
13305 (doc-view-next-line-or-next-page)
13306 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13308 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13309 `doc-view-scroll-up-or-next-page', and buffer-local
13310 `mwheel-scroll-down-function' to
13311 `doc-view-scroll-down-or-previous-page'.
13313 2009-11-25 Juri Linkov <juri@jurta.org>
13315 Provide additional default values (directories at other Dired
13316 windows) via M-n in the minibuffer of some Dired commands.
13318 * dired-aux.el (dired-diff, dired-compare-directories)
13319 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13320 `minibuffer-default' in `minibuffer-with-setup-hook'.
13321 (dired-dwim-target-directory): Find a window that displays Dired
13322 buffer instead of failing when the next window is not Dired.
13323 Use `get-window-with-predicate' to find for the next Dired window.
13324 (dired-dwim-target-defaults): New function.
13326 * ediff-util.el (ediff-read-file-name):
13327 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13328 in `minibuffer-with-setup-hook'.
13330 2009-11-25 Juri Linkov <juri@jurta.org>
13332 Provide additional default values (file name at point or at the
13333 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13335 * minibuffer.el (read-file-name-defaults): New function.
13336 (read-file-name): Reset `minibuffer-default' to nil when
13337 it duplicates initial input `insdef'.
13338 Bind `minibuffer-default-add-function' to lambda that
13339 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13340 (minibuffer-insert-file-name-at-point): New command.
13342 * files.el (file-name-at-point-functions): New defcustom.
13343 (find-file-default): Remove defvar.
13344 (find-file-read-args): Don't use `find-file-default'.
13345 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13346 to `read-file-name'.
13347 (find-file-literally): Use `read-file-name' with
13348 `confirm-nonexistent-file-or-buffer'.
13350 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13352 * dired.el (dired-read-dir-and-switches):
13353 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13354 to `read-file-name'.
13355 (dired-file-name-at-point): New function.
13356 (dired-mode): Add hook `dired-file-name-at-point' to
13357 `file-name-at-point-functions'.
13359 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13361 Really make the *Completions* window soft-dedicated (bug#5030).
13362 * window.el (window--display-buffer-2): Add `dedicated' argument.
13363 (display-buffer): Pass it when needed so the dedicated flag is set
13364 after calling set-window-buffer, which would otherwise reset it.
13366 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13368 * progmodes/meta-mode.el (meta-complete-symbol):
13369 * progmodes/etags.el (complete-tag):
13370 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13371 Use completion-in-region.
13373 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13374 (dabbrev-completion): Use completion-in-region.
13375 (dabbrev--abbrev-at-point): Simplify regexp.
13377 * abbrev.el (abbrev--before-point): Use word-motion functions
13378 if :regexp is not specified (bug#5031).
13380 * subr.el (string-prefix-p): New function.
13382 * man.el (Man-completion-cache): New var.
13383 (Man-completion-table): Use it.
13385 * vc.el (vc-print-log-internal): Make `limit' optional for better
13386 compatibility (e.g. with vc-annotate.el).
13388 2009-11-24 Kevin Ryde <user42@zip.com.au>
13390 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13391 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13393 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13394 when .el source file not found or other error.
13396 2009-11-24 Markus Triska <markus.triska@gmx.at>
13398 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13400 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13402 Handle the [back] button properly (bug#4979).
13403 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13404 Use help-setup-xref, help-buffer, and with-help-window.
13405 (describe-char): Add `buffer' argument.
13406 Pass proper command to help-setup-xref. Don't meddle with
13407 help-xref-stack-item directly.
13408 (describe-text-category): Use with-help-window and help-buffer.
13410 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13411 for the displayed buffer (bug#4887).
13413 * man.el (Man-completion-table): New function.
13416 2009-11-24 David Reitter <david.reitter@gmail.com>
13418 * vc-git.el (vc-git-registered): Use checkout directory (where
13419 .git is) rather than the file's directory and a relative path spec
13420 to work around a bug in git.
13422 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13424 Improve handling of processes on remote hosts.
13426 * eshell/esh-util.el (eshell-path-env): New defvar.
13427 (eshell-parse-colon-path): New defun.
13428 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13430 * eshell/esh-ext.el (eshell-search-path):
13431 Use `eshell-parse-colon-path'.
13432 (eshell-remote-command): Remove argument HANDLER.
13433 (eshell-external-command): Check for FTP remote connection.
13435 * eshell/esh-proc.el (eshell-gather-process-output):
13436 Use `file-truename', in order to start also symlinked files.
13437 Apply `start-file-process' instead of `start-process'.
13438 Shorten `command' to the local file name part.
13440 * eshell/em-cmpl.el (eshell-complete-commands-list):
13441 Use `eshell-parse-colon-path'.
13443 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13445 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13446 to `eshell-directory-change-hook'.
13448 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13450 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13451 because it could be enabled automatically if view-read-only is non-nil.
13453 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13455 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13456 made on 2009-11-22.
13458 2009-11-24 Glenn Morris <rgm@gnu.org>
13460 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13461 deleted variable bookmark-bmenu-bookmark-column.
13463 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13465 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13467 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13469 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13470 two slashes to the "file:" prefix.
13471 (browse-url-file-url): De-munge Cygwin filenames before passing
13472 them to Windows browser.
13473 (browse-url-default-windows-browser): Use call-process.
13475 2009-11-23 Juri Linkov <juri@jurta.org>
13477 Implement DocView Continuous mode. (Bug#4896)
13478 * doc-view.el (doc-view-continuous-mode): New defcustom.
13479 (doc-view-mode-map): Bind C-n/<down> to
13480 `doc-view-next-line-or-next-page', C-p/<up> to
13481 `doc-view-previous-line-or-previous-page'.
13482 (doc-view-next-line-or-next-page)
13483 (doc-view-previous-line-or-previous-page): New commands.
13485 2009-11-23 Juri Linkov <juri@jurta.org>
13487 Implement Isearch in comint input history. (Bug#3746)
13488 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13489 `isearch-mode-hook'.
13490 (comint-history-isearch): New defcustom.
13491 (comint-history-isearch-backward)
13492 (comint-history-isearch-backward-regexp): New commands.
13493 (comint-history-isearch-message-overlay): New buffer-local variable.
13494 (comint-history-isearch-setup, comint-history-isearch-end)
13495 (comint-goto-input, comint-history-isearch-search)
13496 (comint-history-isearch-message, comint-history-isearch-wrap)
13497 (comint-history-isearch-push-state)
13498 (comint-history-isearch-pop-state): New functions.
13500 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13502 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13504 (tramp-handle-make-symbolic-link)
13505 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13507 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13508 (tramp-handle-process-file): Use it.
13510 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13512 * window.el (move-to-window-line-last-op): Remove.
13513 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13515 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13517 Make M-r mirror the new cycling behavior of C-l.
13518 * window.el (move-to-window-line-last-op): New var.
13519 (move-to-window-line-top-bottom): New command.
13520 (global-map): Bind M-r move-to-window-line-top-bottom.
13522 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13524 * dired-x.el (dired-guess-shell-alist-default):
13525 Support xz format. (Bug#4953)
13527 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13529 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13530 last-command-char/last-command-event.
13531 (viper-prefix-arg-value): Do correct conversion of event-char for
13534 * emulation/viper-util.el, emulation/viper.el:
13535 Use viper-last-command-char instead of
13536 last-command-char/last-command-event.
13538 * ediff-init.el, ediff-mult.el, ediff-util.el:
13539 Replace last-command-char and last-command-event
13540 with (ediff-last-command-char) everywhere.
13542 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13543 created in fundamental mode.
13545 * ediff.el (ediff-version): Revert the change of interactive-p to
13546 called-interactively-p.
13548 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13550 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13551 generation from word-movement command names.
13553 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13555 * cus-start.el (all): Add native condition for font-use-system-font.
13557 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13559 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13560 Correct the patch from 2009-11-18. (Bug#3910)
13562 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13564 * progmodes/subword.el: Rename from lisp/subword.el.
13566 * subword.el: Rename to progmodes/subword.el.
13568 * Makefile.in (ELCFILES): Adapt to subword.el move.
13570 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13571 Stefan Monnier <monnier@iro.umontreal.ca>
13573 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13574 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13575 (bookmark-bmenu-show-filenames): Use push.
13576 (bookmark-bmenu-hide-filenames): Use local var instead of
13577 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13578 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13579 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13580 filenames now that the bookmark names are always available.
13582 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13584 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13585 (bookmark-search-pattern): Move and leave unbound.
13586 (bookmark-bmenu-mode-map): Change binding.
13587 (bookmark-read-search-input): Simplify.
13588 Don't use text-char-description. Don't error on non-char events.
13589 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13590 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13591 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13592 Use a local var for the timer.
13593 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13594 (i.e. bookmark-bmenu-search).
13596 2009-11-21 Glenn Morris <rgm@gnu.org>
13598 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13600 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13602 * net/browse-url.el (browse-url-default-windows-browser):
13603 Use cygstart for cygwin.
13605 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13607 * bookmark.el: Formatting and doc fixes only:
13608 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13609 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13610 Minor grammar and punctuation fixes in doc string.
13611 (bookmark-read-search-input): Adjust to fit within 80 columns.
13613 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13615 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13616 (c-backward-into-nomenclature): Adapt to subword renaming.
13618 * subword.el (subword-forward, subword-backward, subword-mark)
13619 (subword-kill, subword-backward-kill, subword-transpose)
13620 (subword-downcase, subword-upcase, subword-capitalize)
13621 (subword-forward-internal, subword-backward-internal):
13622 Rename from forward-subword, backward-subword, mark-subword,
13623 kill-subword, backward-kill-subword, transpose-subwords,
13624 downcase-subword, upcase-subword, capitalize-subword,
13625 forward-subword-internal, backward-subword-internal.
13627 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13629 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13631 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13633 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13634 (bookmark-bmenu-filter-alist-by-regexp)
13635 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13636 (bookmark-bmenu-search): New command.
13637 (bookmark-bmenu-mode-map): Bind it.
13639 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13641 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13642 backward-subword to quit the byte-compiler.
13644 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13646 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13648 * progmodes/cc-cmds.el (c-update-modeline)
13649 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13650 Refer to subword.el functions instead of cc-subword.el.
13652 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13653 subword.el functions instead of cc-subword.el.
13655 * progmodes/cc-subword.el: Rename to subword.el.
13656 * subword.el: Rename from progmodes/cc-subword.el.
13657 (subword-mode-map): Rename from c-subword-mode-map.
13658 (subword-mode): Rename from c-subword-mode.
13659 (global-subword-mode): New global minor mode.
13660 (forward-subword): Rename from c-forward-subword.
13661 (backward-subword): Rename from c-backward-subword.
13662 (mark-subword): Rename from c-mark-subword.
13663 (kill-subword): Rename from c-kill-subword.
13664 (backward-kill-subword): Rename from c-backward-kill-subword.
13665 (transpose-subwords): Rename from c-tranpose-subword.
13666 (downcase-subword): Rename from c-downcase-subword.
13667 (capitalize-subword): Rename from c-capitalize-subword.
13668 (forward-subword-internal): Rename from c-forward-subword-internal.
13669 (backward-subword-internal): Rename from c-backward-subword-internal.
13671 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13673 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13674 from a dired buffer.
13675 (vc-dired-deduce-fileset): New function.
13676 (vc-root-diff, vc-print-root-log): Use it.
13678 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13679 nil LIMIT argument to vc-print-log-internal.
13681 2009-11-20 Glenn Morris <rgm@gnu.org>
13683 * Makefile.in (ELCFILES): Regenerate.
13685 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13687 * calc/calc.el (calc-set-mode-line):
13688 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13689 (math-format-number): Rename `math-format-complement-signed' to
13690 `math-format-twos-complement'.
13692 * calc/calc-bin.el (math-format-twos-complement): Rename from
13693 math-format-complement-signed.
13694 (calc-radix): Rename `calc-complement-signed-mode' to
13695 `calc-twos-complement-mode'.
13696 (calc-octal-radix, calc-hex-radix): Add an argument for
13699 * calc/calc-embed.el (calc-embedded-mode-vars):
13700 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13702 * calc/calc-ext.el (calc-init-extensions):
13703 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13704 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13706 * calc/calc-units.el (math-build-units-table-buffer):
13707 Let `calc-twos-complement-mode' be nil.
13709 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13712 * calc/calc-vec.el (calcFunc-vunpack):
13713 * calc/calc-aent.el (calc-do-calc-eval):
13714 * calc/calc-forms.el (math-format-date):
13715 * calc/calc-graph.el (calc-graph-plot):
13716 * calc/calc-math.el (math-use-emacs-fn):
13717 * calc/calccomp.el (math-compose-expr):
13718 Let `calc-twos-complement-mode' be nil.
13720 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13722 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13723 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13724 * minibuffer.el (completion-in-region-functions): New hook.
13725 (completion-in-region): New function.
13726 * emacs-lisp/lisp.el (lisp-complete-symbol):
13727 * pcomplete.el (pcomplete-std-complete): Use it.
13729 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13732 (latex-complete-alist): New vars.
13733 (latex-string-prefix-p, latex-complete-bibtex-keys)
13734 (latex-complete-envnames, latex-complete-refkeys)
13735 (latex-complete-data): New functions.
13736 (latex-complete, latex-indent-or-complete): New commands.
13738 * window.el (display-buffer-mark-dedicated): New var.
13739 (display-buffer): Obey it.
13740 * minibuffer.el (minibuffer-completion-help): Use it.
13742 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13744 * filecache.el (file-cache-add-file): Use push and cons.
13745 (file-cache-delete-file-regexp): Use push.
13746 (file-cache-complete): Use completion-in-region.
13748 * simple.el (with-wrapper-hook): Fix thinko.
13750 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13751 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13752 Use with-current-buffer and string-to-number.
13753 (hfy-fallback-colour-values): Use assoc-string.
13754 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13755 (hfy-face-at): Remove unused var `found-face'.
13756 (hfy-compile-stylesheet): Remove unused var `css'.
13757 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13759 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13760 Use with-current-buffer.
13761 (hfy-text-p): Use expand-file-name and fewer setq.
13763 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13765 * htmlfontify.el, hfy-cmap.el: New files.
13767 2009-11-19 Juri Linkov <juri@jurta.org>
13769 * minibuffer.el (completions-format): New defcustom.
13770 (completion--insert-strings): Implement vertical format.
13772 * simple.el (switch-to-completions): Move point to the first
13773 completion when point was at the beginning of the buffer.
13775 2009-11-19 Juri Linkov <juri@jurta.org>
13777 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13779 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13781 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13783 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13784 (mail-signature): Change default to t.
13785 (mail-from-style): Deprecate `system-default' value.
13786 (mail-insert-from-field): For default value of mail-from-style,
13787 default to `angles' unless `angles' needs quoting and `parens'
13789 (mail-citation-prefix-regexp): Use citation regexp from
13792 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13794 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13795 Set variables for computing the prompt for reading password.
13797 2009-11-19 Glenn Morris <rgm@gnu.org>
13799 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13801 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13803 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13804 (newsticker-treeview-listwindow-height): Fix custom type.
13806 2009-11-19 Kenichi Handa <handa@m17n.org>
13808 * descr-text.el (describe-char-padded-string): Compose with TAB
13809 only if there's a font for CH.
13810 (describe-char): Fix the condition for detecting a trivial composition.
13812 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13814 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13815 more accurate version of the regexp. (Bug#3910)
13817 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13819 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13821 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13823 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13824 (font-setting-change-default-font): Fix typo in docstring.
13826 2009-11-18 Alan Mackenzie <acm@muc.de>
13828 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13830 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13832 * font-setting.el (font-use-system-font): Move ...
13834 * cus-start.el (all): ... to here.
13836 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13838 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13839 Don't set `ad-return-value' if `ad-do-it' doesn't.
13841 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13844 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13846 * menu-bar.el: Put "Use system font" in Option-menu.
13847 (menu-bar-options-save): Add font-use-system-font.
13849 * loadup.el: If feature system-font-setting or font-render-setting is
13850 there, load font-setting.
13852 * Makefile.in (ELCFILES): Add font-settings.el.
13853 * font-setting.el: New file.
13855 2009-11-17 Glenn Morris <rgm@gnu.org>
13857 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13859 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13860 Preserve point in the list buffer. (Bug#4939)
13862 (newsticker--treeview-list-update-highlight)
13863 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13865 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13867 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13870 * calc/calc-ext.el (calc-init-extensions): Remove references to
13873 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13875 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13876 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13879 2009-11-16 Kevin Ryde <user42@zip.com.au>
13881 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13882 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13884 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13885 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13886 Ignore trailing spaces by omit-nulls to split-string (fixing
13887 regression from Emacs 21 due to the incompatible split-string
13888 change). (Bug #4928.)
13890 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13892 * vc.el (vc-log-show-limit): Default to 2000.
13893 (vc-print-log-internal): Insert buttons to request more entries
13894 when limiting the output.
13896 * vc-sccs.el (vc-sccs-print-log):
13897 * vc-rcs.el (vc-rcs-print-log):
13898 * vc-cvs.el (vc-cvs-print-log):
13899 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13902 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13904 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13905 error when `tramp-gvfs-dbus-event-vector' is set.
13906 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13908 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13912 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13914 * net/dbus.el (dbus-unregister-service): New defun.
13915 (dbus-register-property): Register the handlers of
13916 "org.freedesktop.DBus.Properties" for SERVICE.
13917 (dbus-property-handler): Fix docstring.
13919 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13921 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13922 Quote doc string reference in defvaralias as it is not in special form.
13923 (byte-compile-output-docform): Doc fix.
13925 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13927 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13928 (calc-complement-signed-mode): New variables.
13929 (calc-set-mode-line): Add indicator for twos-complements.
13930 (math-format-number): Format twos-complement notation.
13932 * calc/calc-bin.el (calc-word-size): Reset the variables
13933 `math-2-word-size' and `math-half-2-word-size'.
13934 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13935 (calc-symclip): New functions.
13937 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13939 * calc/calc-embed.el (calc-embedded-mode-vars):
13940 Add `calc-complement-signed-mode' to the list of modes.
13942 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13943 (calc-b-oper-keys): Add `calc-symclip' to list.
13945 * calc/calc-ext.el (math-read-number-fancy): Read complement
13947 (calc-init-extensions): Add binding for `calc-symclip'.
13948 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13950 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13952 (calc-modes-menu): Add item for twos complement mode.
13954 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13956 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13958 * register.el (jump-to-register, insert-register): Handle Semantic
13959 tags. From commented-out advice in semantic/senator.el.
13961 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13963 * vc.el (vc-log-show-limit): New variable.
13964 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13965 when using a prefix argument.
13966 (vc-print-log-internal): Add new argument LIMIT.
13968 * vc-svn.el (vc-svn-print-log):
13969 * vc-mtn.el (vc-mtn-print-log):
13970 * vc-hg.el (vc-hg-print-log):
13971 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13972 pass it to the log command when set. Make the BUFFER argument
13975 * vc-sccs.el (vc-sccs-print-log):
13976 * vc-rcs.el (vc-rcs-print-log):
13977 * vc-git.el (vc-git-print-log):
13978 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13979 ignore it. Make the BUFFER argument non-optional
13981 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13983 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13985 * dired.el (dired-mode-map): Move encryption items to "Operate"
13988 * strokes.el (strokes-update-window-configuration): Make strokes
13989 buffer current before erasing (Bug#4906).
13991 2009-11-15 Juri Linkov <juri@jurta.org>
13993 * simple.el (set-mark-default-inactive): Add :type, :group
13994 and :version. (Bug#4876)
13996 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13998 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13999 (archive-unique-fname): ... here. (Bug#4929)
14001 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14003 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14006 * novice.el (disabled-command-function): Add useful args.
14007 Setup the help buffer so that [back] works.
14008 Remove redundant call to help-mode.
14009 (disabled-command-function): Use `case'.
14010 (en/disable-command): New function extracted from enable-command.
14011 (enable-command, disable-command): Use it.
14013 2009-11-14 Glenn Morris <rgm@gnu.org>
14015 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14016 constants. (Bug#4913)
14018 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14020 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14022 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14023 defined in C that have no doc-strings. (Bug#1063)
14025 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14027 * cus-edit.el (data, files):
14028 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14030 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14032 * simple.el (shell-command): Doc fix (Bug#4891).
14034 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14036 2009-11-14 Glenn Morris <rgm@gnu.org>
14038 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14039 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14040 If they are already loaded, eval-after-load will do the right thing.
14042 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14045 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14047 * simple.el (x-selection-owner-p): Declare.
14048 (read-mail-command): Use custom radio type rather than choice.
14049 (completion-no-auto-exit): Doc fix.
14051 * custom.el (defgroup):
14052 * epg-config.el (epg): Doc fixes.
14054 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14056 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14057 * international/ccl.el (define-ccl-program): Do not purecopy the
14058 docstring, defconst does it anyway.
14060 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14062 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14065 * x-dnd.el (x-dnd-maybe-call-test-function):
14066 * window.el (split-window-vertically):
14067 * whitespace.el (whitespace-help-on):
14068 * vc-rcs.el (vc-rcs-consult-headers):
14069 * userlock.el (ask-user-about-lock-help)
14070 (ask-user-about-supersession-help):
14071 * type-break.el (type-break-force-mode-line-update):
14072 * time-stamp.el (time-stamp-conv-warn):
14073 * terminal.el (te-set-output-log, te-more-break, te-filter)
14074 (te-sentinel, terminal-emulator):
14075 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14076 (term-write-input-ring, term-check-source, term-start-output-log):
14077 (term-display-buffer-line, term-dynamic-list-completions):
14078 (term-ansi-make-term, serial-term):
14079 * subr.el (selective-display):
14080 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14081 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14082 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14083 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14084 (speedbar-remove-localized-speedbar-support)
14085 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14086 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14087 (speedbar-buffers-line-directory):
14088 * simple.el (shell-command-on-region, append-to-buffer)
14089 (prepend-to-buffer):
14090 * shadowfile.el (shadow-save-todo-file):
14091 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14092 (scroll-bar-maybe-set-window-start):
14093 * sb-image.el (speedbar-image-dump):
14094 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14095 (load-save-place-alist-from-file):
14096 * ps-samp.el (ps-print-message-from-summary):
14097 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14098 (ps-background-image, ps-begin-job, ps-do-despool):
14099 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14100 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14101 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14102 (pr-call-process, pr-file-list, pr-interface-save):
14103 * novice.el (disabled-command-function)
14104 (enable-command, disable-command):
14105 * mouse.el (mouse-buffer-menu-alist):
14106 * mouse-copy.el (mouse-kill-preserving-secondary):
14107 * macros.el (kbd-macro-query):
14108 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14109 * informat.el (batch-info-validate):
14110 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14111 * hippie-exp.el (try-expand-dabbrev-visible):
14112 * help-mode.el (help-make-xrefs):
14113 * help-fns.el (describe-variable):
14114 * generic-x.el (bat-generic-mode-run-as-comint):
14115 * finder.el (finder-mouse-select):
14116 * find-dired.el (find-dired-sentinel):
14117 * filesets.el (filesets-file-close):
14118 * files.el (list-directory):
14119 * faces.el (list-faces-display, describe-face):
14120 * facemenu.el (list-colors-display):
14121 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14122 * epg.el (epg--process-filter, epg-cancel):
14123 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14124 (epa--read-signature-type):
14125 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14126 (emerge-file-names):
14127 * ehelp.el (electric-helpify):
14128 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14129 * ediff-vers.el (rcs-ediff-view-revision):
14130 * ediff-util.el (ediff-setup):
14131 * ediff-mult.el (ediff-append-custom-diff):
14132 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14134 * echistory.el (Electric-command-history-redo-expression):
14135 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14136 * disp-table.el (describe-display-table):
14137 * dired.el (dired-find-buffer-nocreate):
14138 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14139 * dabbrev.el (dabbrev--same-major-mode-p):
14140 * chistory.el (list-command-history):
14141 * apropos.el (apropos-documentation):
14142 * allout.el (allout-obtain-passphrase):
14143 (allout-copy-exposed-to-buffer):
14144 (allout-verify-passphrase): Use with-current-buffer.
14146 2009-11-13 Glenn Morris <rgm@gnu.org>
14148 * Makefile.in (ELCFILES): Regenerate.
14150 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14152 * net/dbus.el (dbus-registered-objects-table): Rename from
14153 `dbus-registered-functions-table', because it contains also properties.
14154 (dbus-unregister-object): Unregister also properties.
14155 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14156 Use a timeout of 500 msec, in order to not block.
14157 (dbus-register-property, dbus-property-handler): New defuns.
14159 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14161 * simple.el (minibuffer-default-add-completions): Drop deprecated
14164 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14166 * textmodes/artist.el (artist-mouse-choose-operation):
14167 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14168 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14169 (artist-compute-up-event-key): New function.
14170 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14172 2009-11-13 Kenichi Handa <handa@m17n.org>
14174 * language/japan-util.el: Make sure that the value of jisx0208
14175 property is jisx0208 character.
14177 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14179 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14180 car or each item, not the whole list.
14182 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14184 * minibuffer.el (minibuffer-completion-help):
14185 Use minibuffer-hide-completions.
14187 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14189 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14190 (dired-revert): Use them (bug#4880).
14192 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14194 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14196 2009-11-12 Juri Linkov <juri@jurta.org>
14198 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14200 (find-file-literally-at-point): Alias of `ffap-literally'.
14202 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14204 * textmodes/ispell.el (ispell-skip-region-alist):
14205 * textmodes/css-mode.el (auto-mode-alist):
14206 * progmodes/compile.el (auto-mode-alist):
14207 * international/mule.el (ctext-non-standard-encodings-alist)
14208 (ctext-non-standard-encodings-regexp):
14209 * simple.el (shell-command-switch, text-read-only):
14210 * replace.el (occur-mode-map):
14211 * paths.el (rmail-file-name):
14212 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14213 * find-file.el (ff-special-constructs):
14214 * files.el (file-name-handler-alist):
14215 * composite.el: Purecopy strings.
14217 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14219 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14221 * widget.el (define-widget): Purecopy the docstring.
14222 * international/mule-cmds.el (charset): Do not purecopy the
14223 docstring here, define-widget does it.
14225 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14226 * textmodes/bibtex-style.el (auto-mode-alist):
14227 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14228 * progmodes/compile.el (compile-command):
14229 * language/korea-util.el (default-korean-keyboard):
14230 * international/mule-conf.el (file-coding-system-alist):
14231 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14232 * tooltip.el (tooltip-frame-parameters):
14233 * newcomment.el (comment-end, comment-padding):
14234 * dired.el (dired-trivial-filenames):
14235 * comint.el (comint-file-name-prefix): Purecopy initial values.
14237 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14239 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14240 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14242 (tramp-advice-make-auto-save-file-name)
14243 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14244 after removing the advice.
14246 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14248 * progmodes/grep.el (grep-regexp-alist):
14249 * international/mule-cmds.el (iso-2022-control-alist):
14250 * emacs-lisp/timer.el (timer-duration-words):
14251 * subr.el (version-separator, version-regexp-alist):
14252 * minibuffer.el (completion-styles-alist):
14253 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14254 Change defvars to defconsts.
14256 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14257 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14258 * international/mule-conf.el: Allow to be byte compiled.
14260 * international/mule.el (define-charset): Purecopy props.
14261 (load-with-code-conversion): Purecopy doc string and file name.
14262 (put-charset-property): Purecopy strings.
14263 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14265 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14266 (define-char-code-property): Correctly purecopy the table.
14268 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14270 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14272 * subr.el (add-hook): Purecopy strings.
14273 (eval-after-load): Purecopy load-history-regexp and the form.
14275 * custom.el (custom-declare-group): Purecopy load-file-name.
14277 * subr.el (menu-bar-separator): New defconst.
14278 * net/eudc.el (eudc-tools-menu):
14279 * international/mule-cmds.el (set-coding-system-map)
14280 (mule-menu-keymap):
14281 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14282 * vc-hooks.el (vc-menu-map):
14283 * replace.el (occur-mode-map):
14284 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14285 (menu-bar-edit-menu, menu-bar-goto-menu)
14286 (menu-bar-custom-menu, menu-bar-showhide-menu)
14287 (menu-bar-options-menu, menu-bar-tools-menu)
14288 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14289 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14290 (menu-bar-help-menu):
14291 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14292 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14294 * term/x-win.el (x-gtk-stock-map):
14295 * progmodes/vera-mode.el (auto-mode-alist):
14296 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14297 (inferior-lisp-program, inferior-lisp-load-command):
14298 * progmodes/hideshow.el (hs-special-modes-alist):
14299 * progmodes/gud.el (same-window-regexps):
14300 * progmodes/grep.el (grep-program, find-program, xargs-program):
14301 * net/telnet.el (same-window-regexps):
14302 * net/rlogin.el (same-window-regexps):
14303 * language/ethiopic.el (font-ccl-encoder-alist):
14304 * vc-sccs.el (vc-sccs-master-templates):
14305 * vc-rcs.el (vc-rcs-master-templates):
14306 * subr.el (cl-assertion-failed):
14307 * simple.el (next-error-overlay-arrow-position):
14308 * lpr.el (lpr-command):
14309 * locate.el (locate-ls-subdir-switches):
14310 * info.el (same-window-regexps, info)
14311 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14312 * image-mode.el (image-mode, auto-mode-alist):
14313 * hippie-exp.el (hippie-expand-ignore-buffers):
14314 * format.el (format-alist):
14315 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14317 * facemenu.el (facemenu-keybindings):
14318 * dired.el (dired-listing-switches, dired-chown-program):
14319 * diff.el (diff-switches, diff-command):
14320 * cus-edit.el (same-window-regexps):
14321 * bindings.el (mode-line-mule-info)
14322 (mode-line-buffer-identification): Purecopy strings.
14324 2009-11-11 Juri Linkov <juri@jurta.org>
14326 * simple.el (dired-get-filename) <declare-function>:
14327 Tell the byte-compiler about dired-get-filename.
14328 (shell-command): In Dired mode, get filename from the current line
14329 as the default value.
14331 2009-11-10 Glenn Morris <rgm@gnu.org>
14333 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14334 * calendar/holidays.el, progmodes/cperl-mode.el:
14335 Update x-popup-menu declarations.
14337 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14338 (list-load-path-shadows): Use dolist.
14339 (list-load-path-shadows): Use with-current-buffer.
14341 2009-11-10 Juri Linkov <juri@jurta.org>
14343 * minibuffer.el (read-file-name): Support a list of default values
14344 in `default-filename'. Use the first file name where only one
14345 element is required. Doc fix.
14347 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14349 * net/dbus.el (dbus-unregister-object): Release service, if no
14350 other method is registered for it.
14352 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14354 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14355 bookmark-sort-flag is non-nil (Bug#4653).
14357 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14359 * emulation/cua-base.el: Add CUA property to some CC mode commands
14362 2009-11-08 Kevin Ryde <user42@zip.com.au>
14364 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14365 at end of sentence (Bug#4818).
14367 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14369 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14370 Handle "see declaration of" MSFT statements (Bug#4100).
14372 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14374 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14375 (tramp-advice-file-expand-wildcards): Unload via
14376 `ad-remove-advice'.
14378 * net/trampver.el: Update release number.
14380 2009-11-08 Kevin Ryde <user42@zip.com.au>
14382 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14385 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14387 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14388 in order to keep context in SELinux.
14390 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14392 * dired-aux.el (dired-query): Place cursor in echo area and allow
14395 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14396 menu item if not on a directory (Bug#4701).
14398 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14400 Sync with Tramp 2.1.17.
14402 * net/tramp.el (tramp-handle-copy-directory): Don't use
14403 `file-remote-p' (due to compatibility).
14405 * net/tramp-compat.el (tramp-compat-copy-directory)
14406 (tramp-compat-delete-directory): New defuns.
14408 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14409 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14410 Use `tramp-compat-delete-directory'.
14412 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14413 (tramp-smb-handle-delete-directory):
14414 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14416 * net/trampver.el: Update release number.
14418 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14420 * tar-mode.el (tar-copy): Call write-region on the right buffer
14423 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14424 by hand, if necessary (Bug#4878).
14426 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14428 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14429 align size column (Bug#4839).
14431 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14434 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14436 * progmodes/ld-script.el (auto-mode-alist):
14437 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14439 * cus-face.el (custom-declare-face): Purecopy face spec.
14441 2009-11-06 Kenichi Handa <handa@m17n.org>
14443 * international/uni-bidi.el: Re-generated.
14444 * international/uni-category.el: Re-generated.
14445 * international/uni-combining.el: Re-generated.
14446 * international/uni-mirrored.el: Re-generated.
14448 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14450 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14451 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14452 (tex-start-options, slitex-run-command, latex-run-command)
14453 (tex-run-command, tex-directory):
14454 * textmodes/ispell.el (ispell-html-skip-alists)
14455 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14456 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14457 (adaptive-fill-regexp):
14458 * textmodes/dns-mode.el (auto-mode-alist):
14459 * progmodes/python.el (interpreter-mode-alist):
14460 * progmodes/etags.el (tags-compression-info-list):
14461 * progmodes/etags.el (tags-file-name):
14462 * net/browse-url.el (browse-url-galeon-program)
14463 (browse-url-firefox-program):
14464 * mail/sendmail.el (mail-signature-file)
14465 (mail-citation-prefix-regexp):
14466 * international/mule-conf.el (eight-bit):
14467 * international/latexenc.el (latex-inputenc-coding-alist):
14468 * international/fontset.el (x-pixel-size-width-font-regexp):
14469 * emacs-lisp/warnings.el (warning-type-format):
14470 * emacs-lisp/trace.el (trace-buffer):
14471 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14472 (emacs-lisp-mode-map):
14473 * calendar/holidays.el (holiday-solar-holidays)
14474 (holiday-bahai-holidays, holiday-islamic-holidays)
14475 (holiday-christian-holidays, holiday-hebrew-holidays)
14476 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14477 (hebrew-holidays-1, holiday-oriental-holidays)
14478 (holiday-general-holidays):
14479 * x-dnd.el (x-dnd-known-types):
14480 * tool-bar.el (tool-bar):
14481 * startup.el (site-run-file):
14482 * shell.el (shell-dumb-shell-regexp):
14483 * rfn-eshadow.el (file-name-shadow-tty-properties)
14484 (file-name-shadow-properties):
14485 * paths.el (remote-shell-program, news-directory):
14486 * mouse.el ([C-down-mouse-3]):
14487 * menu-bar.el (menu-bar-tools-menu):
14488 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14489 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14490 (jka-compr-compression-info-list):
14491 * isearch.el (search-whitespace-regexp):
14492 * image-file.el (image-file-name-extensions):
14493 * find-dired.el (find-ls-option):
14494 * files.el (directory-listing-before-filename-regexp)
14495 (directory-free-space-args, insert-directory-program)
14496 (list-directory-brief-switches, magic-fallback-mode-alist)
14497 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14498 (automount-dir-prefix):
14499 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14500 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14501 (face-font-registry-alternatives, face-font-registry-alternatives)
14502 (face-font-family-alternatives):
14503 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14504 (facemenu-foreground-menu, facemenu-face-menu):
14505 * epa-hook.el (epa-file-name-regexp):
14506 * dnd.el (dnd-protocol-alist):
14507 * textmodes/rst.el (auto-mode-alist):
14508 * button.el (default-button): Purecopy strings.
14510 2009-11-06 Glenn Morris <rgm@gnu.org>
14512 * Makefile.in (ELCFILES): Update.
14514 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14516 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14517 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14519 * nxml/xsd-regexp.el (xsdre-gen-categories):
14520 * nxml/xmltok.el (xmltok-parse-entity):
14521 * nxml/rng-parse.el (rng-parse-validate-file):
14522 * nxml/rng-maint.el (rng-format-manual)
14523 (rng-manual-output-force-new-line):
14524 * nxml/rng-loc.el (rng-save-schema-location-1):
14525 * nxml/rng-cmpct.el (rng-c-parse-file):
14526 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14527 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14529 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14531 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14532 Remove extra save-excursions and make-variable-buffer-local's.
14533 Suggested by Stefan Monnier.
14535 (verilog-getopt-file, verilog-module-inside-filename-p)
14536 (verilog-set-define): Merge GNU 1.35 and repair changes from
14537 switching to using with-current-buffer.
14539 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14540 being treated as a number and confusing AUTORESET.
14541 Reported by Dan Dever.
14543 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14544 Add verilog-auto-ignore-concat to fix backward compatibility with
14545 older verilog-modes. Reported by Dan Katz.
14547 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14548 containing closing anchors "...$".
14550 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14551 Reported by Wade Smith.
14553 (verilog-batch-execute-func): Comment on function usage.
14555 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14557 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14560 (verilog-label-re, verilog-calc-1): Support proper indent of named
14563 (verilog-backward-token, verilog-basic-complete-re)
14564 (verilog-beg-of-statement, verilog-indent-re): Support proper
14565 indent of the assert statement at the beginning of a block of text.
14567 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14568 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14571 2009-11-05 Glenn Morris <rgm@gnu.org>
14573 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14574 Emacs 19. (Bug#1531)
14575 (byte-compile-fix-header): Update for the above change.
14576 Drop test for epoch::version.
14578 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14579 * cus-dep.el (custom-make-dependencies):
14580 * finder.el (finder-compile-keywords):
14581 Use autoload-rubric's feature argument.
14583 * calendar/diary-lib.el (top-level): Make load behave more like require.
14585 * vc-git.el (vc-git-stash-map): Move definition before use.
14587 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14589 * custom.el (custom-declare-group): Purecopy standard-value.
14590 (custom-declare-group): Purecopy custom-prefix.
14592 * international/mule.el (load-with-code-conversion):
14593 Call do-after-load-evaluation unconditionally.
14595 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14597 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14599 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14601 2009-11-04 Glenn Morris <rgm@gnu.org>
14603 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14604 (byte-compile-compatibility): Remove option.
14605 (byte-compile-close-variables, byte-compile-fix-header)
14606 (byte-compile-insert-header, byte-compile-output-docform)
14607 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14608 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14609 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14610 (byte-compile-insert, byte-compile-defun):
14611 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14612 (byte-defop-compiler19): Remove.
14613 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14614 used by anything. Replace all calls with byte-defop-compiler.
14616 2009-11-04 Juri Linkov <juri@jurta.org>
14618 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14619 (menu-bar-options-menu): Don't quote the `prop' arg of
14620 `menu-bar-make-mm-toggle'.
14622 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14624 * calendar/calendar.el (cal-loaddefs):
14625 * calendar/diary-lib.el (diary-loaddefs):
14626 * calendar/holidays.el (hol-loaddefs):
14627 * eshell/esh-module.el (esh-groups): Load rather than require.
14629 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14631 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14633 (todo-top-priorities): Only display-buffer when called interactively.
14634 (todo-item-start): Don't save excursion point.
14635 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14636 (todo-insert-item-here, todo-file-item, todo-remove-item):
14637 Adjust uses of todo-item-start and todo-item-end.
14639 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14640 (autoload-rubric): Don't use any more.
14642 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14643 and only put a prop if it is non-nil.
14645 2009-11-03 Juri Linkov <juri@jurta.org>
14647 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14648 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14650 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14651 and "Menu" to make top-level menu item visually one unit (like
14652 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14653 multi-word menu items). Fix :help string for quit-window.
14655 2009-11-03 Glenn Morris <rgm@gnu.org>
14657 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14658 (byte-compile-file-form-define-abbrev-table)
14659 (byte-compile-file-form-custom-declare-variable)
14660 (byte-compile-variable-ref, byte-compile-defvar):
14661 Whether or not a warning is enabled should only affect whether we issue
14662 the warning, not whether or not we collect the relevant data.
14663 Eg warnings can be turned on and off throughout the course of a file.
14665 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14666 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14668 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14670 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14671 * play/mpuz.el (mpuz-create-buffer):
14672 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14673 (lm-print-y,s,noise, lm-print-w0, lm-init):
14674 * play/gomoku.el (gomoku-prompt-for-move):
14675 * play/fortune.el (fortune-in-buffer):
14676 * play/dissociate.el (dissociated-press):
14677 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14678 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14679 * mail/supercite.el (sc-eref-show):
14680 * mail/smtpmail.el (smtpmail-send-it):
14681 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14682 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14683 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14684 (rmail-summary-goto-msg, rmail-summary-expunge)
14685 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14686 (rmail-summary-add-label, rmail-summary-output-menu)
14687 (rmail-summary-output-body):
14688 * mail/rfc822.el (rfc822-addresses):
14689 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14690 * mail/mailpost.el (post-mail-send-it):
14691 * mail/hashcash.el (hashcash-generate-payment):
14692 * mail/feedmail.el (feedmail-run-the-queue)
14693 (feedmail-queue-send-edit-prompt-help-first)
14694 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14695 (feedmail-deduce-address-list):
14696 * eshell/esh-ext.el (eshell-remote-command):
14697 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14698 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14699 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14700 (viper-save-string-in-file, viper-valid-marker):
14701 * emulation/viper-keym.el (viper-toggle-key):
14702 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14703 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14704 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14705 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14706 (viper-exec-form-in-emacs, viper-brac-function):
14707 * emulation/viper.el (viper-delocalize-var):
14708 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14709 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14710 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14711 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14712 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14713 * emulation/edt.el (edt-electric-helpify):
14714 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14715 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14716 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14717 (cua-indent-to-global-mark-column):
14718 * calendar/diary-lib.el (calendar-mark-1):
14719 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14720 Use with-current-buffer.
14721 * emulation/viper.el (viper-delocalize-var): Use dolist.
14723 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14725 * comint.el (comint-replace-by-expanded-history-before-point):
14726 Replace !! with the previous input string literally (Bug#1795).
14728 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14730 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14731 to be made up of whitespace.
14733 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14735 * minibuffer.el (read-file-name): Don't use file dialogs for
14736 remote directories (Bug#99).
14738 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14740 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14742 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14744 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14745 instead of deleting the window or frame.
14747 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14749 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14750 Support face colors.
14752 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14753 New function. Support face colors (Bug#1168).
14754 (tex-common-initialization): Use it.
14756 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14757 mode allows it (Bug#1168).
14759 2009-10-31 Juri Linkov <juri@jurta.org>
14761 * facemenu.el (list-colors-display): Don't mark buffer as
14762 modified (Bug#3948).
14764 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14766 * international/mule-diag.el (list-character-sets-1):
14767 Minor message fix (Bug#3526).
14769 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14770 Fix face property (Bug#4834).
14771 (etags-list-tags, etags-tags-apropos-additional)
14772 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14775 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14778 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14780 * textmodes/two-column.el (2C-split):
14781 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14782 * textmodes/tex-mode.el (tex-set-buffer-directory):
14783 * textmodes/spell.el (spell-region, spell-string):
14784 * textmodes/reftex.el (reftex-erase-buffer):
14785 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14786 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14787 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14788 (reftex-select-item):
14789 * textmodes/reftex-ref.el (reftex-label-info-update)
14790 (reftex-offer-label-menu):
14791 * textmodes/reftex-index.el (reftex-index-change-entry)
14792 (reftex-index-phrases-info):
14793 * textmodes/reftex-global.el (reftex-create-tags-file)
14794 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14795 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14796 (reftex-view-crossref-from-bibtex):
14797 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14798 (reftex-extract-bib-entries-from-thebibliography)
14799 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14800 * textmodes/refbib.el (r2b-capitalize-title):
14801 (r2b-convert-buffer, r2b-help):
14802 * textmodes/page-ext.el (pages-directory)
14803 (pages-directory-goto-with-mouse):
14804 * textmodes/bibtex.el (bibtex-validate-globally):
14805 * textmodes/bib-mode.el (bib-capitalize-title):
14806 * textmodes/artist.el (artist-clear-buffer, artist-system):
14807 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14808 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14809 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14810 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14811 (xscheme-send-control-g-interrupt, xscheme-start-process)
14812 (xscheme-process-sentinel, xscheme-cd):
14813 * progmodes/verilog-mode.el (verilog-read-always-signals)
14814 (verilog-set-define, verilog-getopt-file)
14815 (verilog-module-inside-filename-p):
14816 * progmodes/sh-script.el:
14817 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14818 (python-pdbtrack-grub-for-buffer, python-execute-file):
14819 * progmodes/octave-inf.el (inferior-octave):
14820 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14821 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14822 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14823 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14824 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14825 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14826 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14827 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14828 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14829 (idlwave-shell-examine-display, idlwave-shell-run-region)
14830 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14831 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14832 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14833 (idlwave-help-get-help-buffer):
14834 * progmodes/gud.el (gud-basic-call, gud-find-class)
14835 (gud-tooltip-activate-mouse-motions-if-enabled):
14836 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14837 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14838 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14839 (ebrowse-tags-next-file):
14840 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14841 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14842 (ebnf-eps-finish-and-write):
14843 * progmodes/cpp.el (cpp-edit-save):
14844 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14845 * progmodes/cc-defs.el (c-emacs-features):
14846 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14847 (antlr-directory-dependencies):
14848 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14849 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14850 (ada-find-any-references, ada-make-filename-from-adaname)
14851 (ada-make-body-gnatstub):
14852 * obsolete/rnews.el (news-list-news-groups):
14853 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14854 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14855 * net/rcirc.el (rcirc-debug):
14856 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14857 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14858 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14859 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14860 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14861 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14862 (newsticker--treeview-list-clear-highlight)
14863 (newsticker--treeview-list-update-highlight)
14864 (newsticker--treeview-list-highlight-start)
14865 (newsticker--treeview-tree-update-highlight)
14866 (newsticker--treeview-get-selected-item)
14867 (newsticker-treeview-mark-list-items-old)
14868 (newsticker--treeview-set-current-node):
14869 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14870 * net/newst-backend.el (newsticker--get-news-by-funcall)
14871 (newsticker--get-news-by-wget, newsticker--image-get)
14872 (newsticker--image-sentinel):
14873 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14874 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14875 (eudc-ph-close-session):
14876 * net/eudc.el (eudc-save-options):
14877 * language/thai-word.el (thai-update-word-table):
14878 * language/japan-util.el (japanese-string-conversion):
14879 * international/titdic-cnv.el (tsang-quick-converter)
14880 (ziranma-converter, ctlau-converter):
14881 * international/mule-cmds.el (describe-language-environment):
14882 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14883 (skkdic-convert-postfix, skkdic-convert-prefix):
14884 (skkdic-convert-okuri-nasi, skkdic-convert):
14885 * emacs-lisp/re-builder.el (reb-update-overlays):
14886 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14887 * emacs-lisp/gulp.el (gulp-send-requests):
14888 * emacs-lisp/find-gc.el (trace-call-tree):
14889 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14890 (eieio-describe-generic):
14891 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14892 * emacs-lisp/edebug.el (edebug-outside-excursion):
14893 * emacs-lisp/debug.el (debugger-make-xrefs):
14894 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14895 * emacs-lisp/chart.el (chart-new-buffer):
14896 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14897 Use with-current-buffer.
14898 * textmodes/artist.el (artist-system): Don't call
14899 copy-sequence on a fresh string.
14900 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14902 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14904 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14905 is no item to edit. (Bug#4820)
14906 (todo-top-priorities): Restore point and restore narrowing in Todo
14909 2009-10-31 Glenn Morris <rgm@gnu.org>
14911 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14912 (comint-last-output-start, comint-last-input-start)
14913 (comint-last-input-end): Don't defvar when compiling.
14914 (ange-ftp-process-file): Use bound-and-true-p.
14916 * pcmpl-rpm.el (top-level): Move provide statement to end.
14917 (pcmpl-rpm): Remove unused custom group.
14919 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14921 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14923 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14924 (byte-compile-warnings): Add `constants' as an option.
14925 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14926 (display-call-tree): Update for byte-compile-fdefinition possibly
14927 returning `(macro lambda ...)'. (Bug#4778)
14928 (byte-compile-variable-ref, byte-compile-setq-default):
14929 Respect `constants' member of byte-compile-warnings.
14931 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14933 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14934 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14937 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14939 * textmodes/ispell.el (ispell-skip-region-alist):
14940 * international/mule-conf.el (eight-bit):
14941 * international/fontset.el (font-encoding-alist):
14942 * startup.el (pure-space-overflow-message):
14943 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14944 * paths.el (gnus-nntp-service, rmail-spool-directory)
14945 (term-file-prefix):
14946 * files.el (save-some-buffers-action-alist):
14947 * cmuscheme.el (same-window-buffer-names):
14948 * ielm.el (same-window-buffer-names):
14949 * shell.el (same-window-buffer-names):
14950 * mail/sendmail.el (same-window-buffer-names):
14951 * progmodes/inf-lisp.el (same-window-buffer-names):
14952 * bindings.el (mode-line-client)
14953 (mode-line-column-line-number-mode-map):
14954 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14955 (tibetan-precomposed-regexp): Purecopy string arguments.
14957 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14959 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14960 (calcDigit-nondigit):
14961 * calc/calc-yank.el (calc-copy-to-buffer):
14962 * calc/calc-units.el (calc-invalidate-units-table):
14963 * calc/calc-trail.el (calc-trail-yank):
14964 * calc/calc-store.el (calc-insert-variables):
14965 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14966 * calc/calc-prog.el (calc-read-parse-table):
14967 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14968 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14969 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14970 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14971 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14972 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14973 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14974 * calc/calc-ext.el (calc-realign):
14975 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14976 (calc-embedded-finish-edit, calc-embedded-make-info)
14977 (calc-embedded-finish-command, calc-embedded-stack-change):
14978 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14980 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14981 shell-dynamic-complete-filename in preference to
14982 comint-dynamic-complete-filename.
14984 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14985 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14986 Don't consider whether the display supports colors.
14987 (bookmark-import-new-list): Use dolist.
14988 (bookmark-bmenu-mode-map): Move initialization into declaration.
14989 (bookmark-bmenu-list): Use dolist, simplify.
14990 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14991 (menu-bar-final-items): Use push.
14993 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14995 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14996 it works on remote files.
14997 (vc-hg-diff): Don't pass any `--cwd' argument.
14999 2009-10-27 Kevin Ryde <user42@zip.com.au>
15001 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15002 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15003 (Further to Bug#3921).
15005 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15007 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15008 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15009 calling `tramp-imap-put-file'. Add file size to the call.
15010 (tramp-imap-get-file-entries): Compute also user name, file size,
15012 (tramp-imap-handle-insert-directory): Insert uid and gid.
15013 (tramp-imap-handle-file-attributes): Transform uid and gid
15014 according to `id-format'.
15015 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15016 size in header X-Size.
15018 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15020 * simple.el (transpose-subr): Give clearer error when the mark
15021 is not set. (Bug#4807)
15023 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15025 * net/tramp.el (tramp-perl-file-truename): New defconst.
15026 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15027 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15028 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15029 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15031 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15032 Ignore `dired-call-process'.
15033 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15035 2009-10-26 Julian Scheid <julians37@gmail.com>
15037 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15038 (tramp-get-remote-readlink): New defun.
15039 (tramp-handle-file-truename): Use it.
15040 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15041 file exists if cache value present.
15042 (tramp-check-cached-permissions): New defun.
15043 (tramp-handle-file-readable-p): Use it.
15044 (tramp-handle-file-writable-p): Likewise.
15045 (tramp-handle-file-executable-p): Likewise.
15046 (tramp-handle-file-name-all-completions): Try using Perl to get
15047 partial completions. When perl not available, combine `cd' and
15048 `ls' into single remote operation and use shell expansion to get
15049 partial remote directory contents. Set `file-exists-p' cache for
15050 directory and any files returned by ls. Change cache handling to
15051 support partial directory contents. Use error message emitted by
15052 remote `cd' or Perl code for local tramp-error.
15053 (tramp-do-copy-or-rename-file-directly): Avoid separate
15054 tramp-send-command-and-check call.
15055 (tramp-handle-process-file): Merge three remote ops into one.
15056 Do not flush all caches when `process-file-side-effects' is set.
15057 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15058 file-attributes shows uid/gid to be set already.
15060 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15062 * textmodes/tex-mode.el (tex-dvi-view-command)
15063 (tex-show-queue-command, tex-open-quote):
15064 * progmodes/ruby-mode.el (auto-mode-alist)
15065 (interpreter-mode-alist): Purecopy strings.
15067 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15069 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15070 string for the hook, keymap and abbrev table.
15072 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15074 * x-dnd.el (x-dnd-xdnd-to-action):
15075 * startup.el (fancy-startup-text, fancy-about-text): Change to
15076 defconst from defvar.
15078 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15080 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15081 Purecopy initialization strings.
15083 * mail/sendmail.el (mail-header-separator)
15084 (mail-personal-alias-file):
15085 * mail/rmail.el (rmail-default-dont-reply-to-names)
15086 (rmail-ignored-headers, rmail-retry-ignored-headers)
15087 (rmail-highlighted-headers, rmail-secondary-file-directory)
15088 (rmail-secondary-file-regexp):
15089 * files.el (null-device, file-name-invalid-regexp)
15090 (locate-dominating-stop-dir-regexp)
15091 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15092 (interpreter-mode-alist): Use mapcar instead of mapc.
15094 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15096 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15097 (completion-ignored-extensions):
15098 (debug-ignored-errors): Purecopy strings.
15100 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15102 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15103 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15104 (pcomplete--here): Use push.
15106 * subr.el (all-completions): Declare the 4th arg obsolete.
15108 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15110 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15111 (pcomplete-unquote-argument): New function.
15112 (pcomplete--common-suffix): Always pay attention to case.
15113 (pcomplete--table-subvert): Quote and unquote the text.
15114 (pcomplete--common-quoted-suffix): New function.
15115 (pcomplete-std-complete): Use it and pcomplete-begin.
15117 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15118 we're inside a dedicated or minibuffer window.
15120 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15122 * bookmark.el: Update documentation, especially documentation
15123 of `bookmark-alist' and of the bookmark file format.
15124 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15126 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15128 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15129 keybindings apply to the mail buffer (Bug#4003). Shrink help
15132 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15133 (global-whitespace-mode, global-whitespace-newline-mode)
15134 (whitespace-toggle-options, global-whitespace-toggle-options):
15135 Doc fix (Bug#3660).
15137 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15138 of xmltok-start before the end tag was inserted (Bug#2840).
15140 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15141 patterns that are preceded by an open-paren (Bug#1320).
15143 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15145 * files.el (delete-directory): Delete symlinks to directories with
15146 delete-file (Bug#4739).
15148 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15150 * vc.el (vc-backend-for-registration): Rename from
15151 vc-get-backend-for-registration. Update callers.
15153 * international/mule-cmds.el (set-language-info-alist):
15155 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15156 (charset): Purecopy the name.
15157 (define-char-code-property): Purecopy string arguments.
15159 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15160 Purecopy string arguments.
15162 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15163 * ediff-hook.el (menu-bar-ediff-menu):
15164 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15165 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15167 2009-10-24 Glenn Morris <rgm@gnu.org>
15169 * comint.el (comint-dynamic-list-completions):
15170 * term.el (term-dynamic-list-completions): Use choose-completion rather
15171 than obsolete alias mouse-choose-completion.
15173 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15174 file-cache-choose-completion.
15175 (file-cache-choose-completion): Handle an optional event argument.
15176 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15178 * progmodes/octave-mod.el (octave-complete-symbol):
15179 Use choose-completion if mouse-choose-completion is ever removed.
15181 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15184 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15187 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15189 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15191 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15192 Ignore `pred' now that we receive one.
15193 Handle test-completion specially.
15195 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15197 * vc.el (vc-responsible-backend): Throw an error if not backend is
15198 found. Remove the REGISTER argument. Move the code dealing with
15200 (vc-get-backend-for-registration): ... here. New function.
15201 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15202 of vc-responsible-backend, pass the file name instead of the
15205 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15207 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15209 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15210 (pcomplete-comint-setup): Don't modify a global var via
15211 accidental side-effects.
15212 (pcomplete-shell-setup): Adjust call accordingly.
15213 (pcomplete-parse-comint-arguments): Use push.
15215 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15217 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15218 Allow uncapitalized info node names (Bug#3921).
15220 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15221 to the DEBUG file (Bug#3781).
15223 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15225 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15226 dictionary entry (Bug#4579).
15228 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15230 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15231 from `rfn-eshadow-update-overlay-hook' when unloading.
15232 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15233 "rsyncc". Adjust doc string.
15234 (tramp-temp-buffer-file-name): New buffer-local defvar.
15235 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15236 Keep temporary file when indicated by method ("rsync" and
15238 (tramp-handle-write-region): Handle APPEND.
15239 (tramp-delete-temp-file-function): New defun. Added to
15240 `kill-buffer-hook'.
15242 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15244 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15246 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15248 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15249 (color-name-rgb-alist, tty-standard-colors)
15250 (tty-color-mode-alist): Change to defconst.
15252 * simple.el (mark-inactive): Purecopy message.
15254 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15255 (global-map, yank-menu):
15256 * textmodes/ispell.el (ispell-menu-map):
15257 * net/eudc.el (eudc-tools-menu):
15258 * international/mule-cmds.el (describe-language-environment-map)
15259 (setup-language-environment-map, set-coding-system-map)
15260 (mule-menu-keymap):
15261 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15262 * replace.el (occur-mode-map):
15263 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15265 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15267 * calc/calc.el (math-read-number, math-read-number-simple):
15268 Use `save-match-data'.
15270 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15272 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15273 rather than fiddling with global-map bindings, since it should only
15274 affect per-terminal settings.
15275 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15277 * minibuffer.el (completion-table-with-terminator): Allow to specify
15278 the terminator-regexp.
15280 * simple.el (switch-to-completions): Look for *Completions* in other
15283 * pcomplete.el: Allow the use of completion-tables.
15284 (pcomplete-std-complete): New command.
15285 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15286 (pcomplete--here): Use a function for `form' rather than an expression,
15287 so it can be byte-compiled.
15288 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15289 Add edebug declaration.
15290 (pcomplete-show-completions): Remove unused var `curbuf'.
15291 (pcomplete-do-complete, pcomplete-stub):
15292 Don't assume `completions' is a list of strings any more.
15294 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15296 * find-dired.el (find-name-arg): Fix typo in docstring.
15298 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15300 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15301 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15303 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15306 * comint.el (comint-read-input-ring, comint-write-input-ring)
15307 (comint-substitute-in-file-name)
15308 (comint-dynamic-complete-as-filename)
15309 (comint-dynamic-simple-complete)
15310 (comint-dynamic-list-filename-completions)
15311 (comint-dynamic-list-completions)
15312 (comint-redirect-results-list-from-process): Minor simplifications.
15314 2009-10-21 Kevin Ryde <user42@zip.com.au>
15316 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15317 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15318 the first form. And insert a blank line after ";;; Code" since
15319 that's usual style. (Bug#4612)
15321 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15323 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15325 * minibuffer.el (completion-table-with-terminator): Properly implement
15326 boundaries, in case `terminator' appears in the suffix.
15327 (completion--embedded-envvar-table): Don't return boundaries if
15328 there's no valid completion. Simplify.
15329 (completion-file-name-table): New completion table extracted from
15330 completion--file-name-table.
15331 (completion--file-name-table): Use it.
15332 (read-file-name-predicate): Declare obsolete.
15333 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15334 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15335 completion-file-name-table, and use the `pred' argument.
15336 * files.el (locate-file-completion-table): Use the `pred' arg rather
15337 than read-file-name-predicate.
15338 (abbreviate-file-name): Use \` rather than ^ for BOS.
15340 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15342 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15343 vc-responsible-backend to register, it causes problems.
15345 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15347 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15349 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15351 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15352 (tramp-smb-handle-file-attributes): Use it.
15353 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15354 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15355 `mapcar'. Use `tramp-smb-get-stat-capability'.
15356 Add `dired-filename' text properties.
15357 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15358 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15361 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15363 * subr.el (read-key-delay): Reduce to 0.01.
15364 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15367 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15369 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15371 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15372 (Info-menu): Remove unused vars `last' and `completions'.
15373 (Info-index-nodes): Remove unused var `node'.
15375 * info.el (Info-complete-menu-item): Use complete-with-action.
15377 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15379 Make vc-annotate work through copies and renames.
15380 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15381 Return the file name too.
15382 (vc-annotate-revision-at-line)
15383 (vc-annotate-find-revision-at-line)
15384 (vc-annotate-revision-previous-to-line)
15385 (vc-annotate-show-log-revision-at-line): Update to get the file
15386 name from vc-annotate-extract-revision-at-line.
15387 (vc-annotate-show-diff-revision-at-line-internal): Change the
15388 argument to mean whether to show a file diff or not. Get the file
15389 name from vc-annotate-extract-revision-at-line.
15390 (vc-annotate-show-diff-revision-at-line):
15391 Update vc-annotate-show-diff-revision-at-line call.
15392 (vc-annotate-warp-revision): Add an optional file argument.
15394 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15395 (vc-git-annotate-extract-revision-at-line): Also return the file
15398 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15399 command. Remove unused code.
15400 (vc-hg-annotate-re): Update to match --follow output.
15401 (vc-hg-annotate-extract-revision-at-line): Also return the file
15404 * vc.el: Update annotate-extract-revision-at-line documentation.
15406 2009-10-18 Kevin Ryde <user42@zip.com.au>
15408 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15409 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15411 * net/browse-url.el (browse-url): Identify alist with "consp and
15412 not functionp" and let all other things go down the `apply' leg,
15413 as suggested by Stefan. (Further to bug#4531.)
15415 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15417 * minibuffer.el (read-file-name): Check for repeat before putting
15418 a default argument in file-name-history (Bug#4657).
15420 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15421 read syntax (Bug#4737).
15423 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15425 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15427 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15428 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15429 entries and make note of obsolete tags.
15431 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15435 2009-10-18 Glenn Morris <rgm@gnu.org>
15437 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15438 grep, so that binary files (eg international/uni-bidi.el) can match.
15439 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15440 now, and in any case the file header format has changed.
15442 2009-10-17 Glenn Morris <rgm@gnu.org>
15444 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15445 (flyspell-get-word, flyspell-large-region)
15446 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15448 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15450 * Makefile.in (ELCFILES): Add ede/shell.
15452 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15454 * term/common-win.el (x-colors): Purecopy it.
15456 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15458 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15459 permissive for when the buffer is empty.
15460 (tar-header-block-tokenize): Decode the username and groupname.
15461 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15463 2009-10-17 Eric Ludlam <zappo@gnu.org>
15465 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15466 contains multibyte characters, choose first applicable coding
15467 system automatically.
15469 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15471 * international/mule-cmds.el (select-safe-coding-system): If the file
15472 has a coding cookie, use it regardless of any other setting (bug#4712).
15474 2009-10-17 Glenn Morris <rgm@gnu.org>
15476 * foldout.el (foldout-mouse-swallow-events):
15477 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15479 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15480 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15481 (dired-keep-marker-symlink, dired-dwim-target)
15482 (dired-copy-preserve-time): Do not autoload these defcustoms.
15484 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15485 messages from messing up the file coding. (Bug#4623)
15487 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15489 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15490 if no match is found for the current dictionary. (Bug#4578)
15492 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15493 optional, since that is how it is documented, and this is often called
15494 with a nil argument. (Bug#4577)
15495 (flyspell-external-point-words, flyspell-auto-correct-word)
15496 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15497 (flyspell-word-search-backward): Remove nil argument in calls to
15498 flyspell-get-word, since it is not needed now.
15500 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15502 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15504 2009-10-16 Glenn Morris <rgm@gnu.org>
15506 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15508 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15510 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15511 (ange-ftp-file-size): New function.
15512 (ange-ftp-file-attributes): Use it.
15514 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15516 * net/tramp-smb.el (tramp-smb-version): New defvar.
15517 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15520 2009-10-16 Glenn Morris <rgm@gnu.org>
15522 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15523 Maybe copy some custom properties from old to new name. (Bug#4706)
15525 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15527 * subr.el (error, sit-for, start-process-shell-command)
15528 (start-file-process-shell-command): Set the calling convention
15529 after the function definition.
15531 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15533 * subr.el (error, sit-for, start-process-shell-command)
15534 (start-file-process-shell-command): Use the new
15535 set-advertised-calling-convention feature.
15537 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15539 * international/ucs-normalize.el (ucs-normalize-version):
15541 (check-range): Adjust for Unicode 5.2.
15543 2009-10-15 Juri Linkov <juri@jurta.org>
15545 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15546 to the `menu-item' format.
15548 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15550 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15551 if the environment variable does not exist.
15553 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15554 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15556 (tramp-smb-handle-add-name-to-file)
15557 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15558 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15559 (tramp-smb-handle-file-attributes)
15560 (tramp-smb-do-file-attributes-with-stat)
15561 (tramp-smb-handle-file-local-copy)
15562 (tramp-smb-handle-insert-directory)
15563 (tramp-smb-handle-make-directory)
15564 (tramp-smb-handle-make-directory-internal)
15565 (tramp-smb-handle-make-symbolic-link)
15566 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15567 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15568 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15569 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15570 Handle long file names.
15571 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15572 process is running.
15573 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15574 Read share names with "-g" option.
15576 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15578 * net/rcirc.el (rcirc-view-log-file): New command.
15579 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15580 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15583 2009-10-15 Glenn Morris <rgm@gnu.org>
15585 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15586 from the second command-line argument.
15587 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15588 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15589 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15590 w32-batch-update-autoloads.
15591 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15592 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15594 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15595 the headers cannot be located. Simplify, subtracting superflous
15598 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15600 Replace completion-base-size by completion-base-position to fix bugs
15601 such as (bug#4699).
15602 * simple.el (completion-base-position): New var.
15603 (completion-base-size): Mark as obsolete.
15604 (choose-completion): Make it work for mouse events as well.
15605 Pass the new base-position to choose-completion-string.
15606 (choose-completion-guess-base-position): New function, extracted from
15607 choose-completion-delete-max-match.
15608 (choose-completion-delete-max-match): Use it. Make obsolete.
15609 (choose-completion-string): Use the new base-position info.
15610 (completion-root-regexp): Delete.
15611 (completion-setup-function): Preserve completion-base-position.
15612 Eliminate obsolete base-size manipulation.
15613 * minibuffer.el (display-completion-list): Don't mess with base-size.
15614 (minibuffer-completion-help): Set completion-base-position instead.
15615 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15617 * textmodes/bibtex.el (bibtex-complete):
15618 * emacs-lisp/crm.el (crm--choose-completion-string):
15619 Adjust to new calling convention.
15620 * complete.el (partial-completion-mode): Use minibufferp to avoid
15621 bumping into incompatible change to choose-completion-string-functions.
15622 * ido.el (ido-choose-completion-string): Make its calling convention
15624 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15625 base-size manipulation.
15626 (comint-dynamic-list-input-ring): Use dotimes and push.
15627 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15628 fundamental-mode. Use `or'.
15630 2009-10-14 Juri Linkov <juri@jurta.org>
15632 * misearch.el (multi-isearch-next-buffer-from-list)
15633 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15635 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15640 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15641 string we return is all made up of text from the completions rather
15642 than part from the completions and part from the input (bug#4219).
15644 * ido.el (ido-everywhere): Use define-minor-mode.
15646 * buff-menu.el (list-buffers, ctl-x-map):
15647 Mark the entry points with ;;;###autoload cookies.
15649 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15651 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15652 correctly in the detached head case.
15653 (vc-git-print-log): Remove unused binding.
15655 * vc.el (vc-responsible-backend): When a directory is passed for
15656 for registration create a VC repository if no backend is
15657 responsible for the directory argument.
15658 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15660 * vc.el: Move comments about RCS and SCCS ...
15662 * vc-sccs.el: ... here, respectively.
15664 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15666 * minibuffer.el (completion--file-name-table): Return nil if there's
15667 no file completion, even if substitute-in-file-name changed
15668 the string (bug#4708).
15670 2009-10-13 Juri Linkov <juri@jurta.org>
15672 * files-x.el (read-file-local-variable-value): Don't filter out
15673 minor modes from mode name completion (bug#4664).
15675 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15677 * international/mule-cmds.el (ucs-names): Remove exclusion of
15678 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15680 2009-10-13 Kenichi Handa <handa@m17n.org>
15682 * international/uni-name.el: Regenerated.
15684 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15686 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15687 should be automatically buffer-local, but isn't.)
15689 2009-10-12 Sam Steingold <sds@gnu.org>
15691 * progmodes/compile.el (compilation-next-error-function): Fix the
15692 timestamps if the buffer has been visited before.
15693 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15694 non-anchored patterns, like the perl one (bug#3928).
15696 2009-10-12 Glenn Morris <rgm@gnu.org>
15698 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15701 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15703 * proced.el (proced-unload-function): New function.
15705 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15706 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15709 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15711 2009-10-11 Juri Linkov <juri@jurta.org>
15713 * files-x.el (read-file-local-variable-value):
15714 Provide default value only for bound variables (bug#4664).
15716 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15718 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15719 connection methods like smb.
15721 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15724 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15725 (tramp-smb-file-name-handler-alist): Add handlers for
15726 `add-name-to-file', `make-symbolic-link'.
15727 (tramp-smb-handle-add-name-to-file)
15728 (tramp-smb-do-file-attributes-with-stat)
15729 (tramp-smb-handle-make-symbolic-link)
15730 (tramp-smb-get-cifs-capabilities): New defuns.
15731 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15732 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15733 (tramp-smb-handle-file-local-copy)
15734 (tramp-smb-handle-make-directory-internal)
15735 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15736 The file name syntax depends on cifs capabilities.
15737 (tramp-smb-handle-file-attributes):
15738 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15739 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15740 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15742 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15744 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15745 (eieio-defclass): Apply deftype handler and setf-method properties
15747 (eieio-add-new-slot): Avoid union function from cl library.
15748 (eieio--typep): New function.
15749 (eieio-perform-slot-validation): Use it.
15751 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15753 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15754 Update documentation to refer to the variables documented in r1.135.
15757 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15759 * bookmark.el (Info-suffix-list): Remove this unused variable.
15760 (bookmark-current-point): Remove this obsolete variable.
15761 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15762 Adjust for removal of bookmark-current-point.
15764 (bookmarks-already-loaded, bookmark-current-buffer)
15765 (bookmark-yank-point): Document. (Bug#4188)
15767 2009-10-10 Glenn Morris <rgm@gnu.org>
15769 * frame.el (frame-height): Doc fix.
15771 * calendar/calendar.el (calendar-split-width-threshold): New option.
15772 (calendar-basic-setup): Use calendar-split-width-threshold.
15774 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15776 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15777 Ideographic Supplement" range (U+1F200..U+1F2FF).
15779 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15781 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15782 since the list will have been rebuilt anyway. (Bug#4349)
15784 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15786 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15787 (bookmark-bmenu-execute-deletions): Don't save here, as
15788 bookmark-delete will now do so if necessary.
15789 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15792 2009-10-09 Glenn Morris <rgm@gnu.org>
15794 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15796 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15798 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15799 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15800 argument now, so the two function's behaviors will match. (Bug#3645)
15802 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15804 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15805 (tramp-file-name-real-host, tramp-file-name-port):
15806 Apply `save-match-data'.
15808 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15809 case both directories are remote.
15810 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15811 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15813 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15815 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15817 2009-10-07 Glenn Morris <rgm@gnu.org>
15819 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15822 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15824 * files-x.el (read-file-local-variable): Include some
15825 non-user-variables in the completion table (bug#4664).
15827 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15829 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15832 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15833 (tramp-smb-file-name-handler-alist): Add handler for
15834 `copy-directory', `expand-file-name', `set-file-modes'.
15835 (tramp-smb-handle-copy-directory)
15836 (tramp-smb-handle-expand-file-name)
15837 (tramp-smb-handle-set-file-modes): New defuns.
15838 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15839 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15841 (tramp-smb-handle-insert-directory): Don't flush the cache.
15842 (tramp-smb-maybe-open-connection): Check for samba client and
15845 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15847 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15848 to not error out of search for "^lisp=" fails.
15850 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15852 * makefile.w32-in (WINS_UPDATES): New macro.
15853 (custom-deps, finder-data, autoloads): Use it.
15855 2009-10-07 Glenn Morris <rgm@gnu.org>
15857 * Makefile.in (autoloads): Revert previous change.
15858 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15859 the list of preloaded files passed on the command-line, get
15860 it from src/Makefile.
15862 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15863 show the original buffer rather than a random one.
15865 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15867 * help.el (describe-no-warranty): Place point in a slightly better
15868 position in the GPLv3 text.
15870 2009-10-06 Sam Steingold <sds@gnu.org>
15872 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15873 the comm attribute is present before calling regexp-quote.
15875 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15877 * play/animate.el (animate-string): For good effect, make sure
15878 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15880 * play/animate.el (animate-sequence, animate-birthday-present):
15881 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15883 2009-10-06 Glenn Morris <rgm@gnu.org>
15885 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15887 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15888 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15889 (batch-update-autoloads): Process a string value of autoload-excludes,
15890 set during the build process.
15891 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15893 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15894 inside with-parsed... macro so that `v' is defined.
15896 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15897 * progmodes/fortran.el (fortran-end-of-block)
15898 (fortran-beginning-of-block):
15899 Also push mark in the macro case.
15901 * emerge.el (emerge-show-file-name):
15902 * calc/calc.el (calc-quit):
15903 * calc/calc-misc.el (calc-big-or-small):
15904 * calc/calc-graph.el (calc-graph-view):
15905 * calc/calc-ext.el (calc-reset):
15906 * calendar/calendar.el (calendar-basic-setup):
15907 Use window-full-height-p.
15909 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15910 header we don't understand, don't insert another. (Bug#4624)
15911 If changing mime charset, insert the new one in the right place.
15913 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15915 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15916 (cal-tex-cursor-month): Correctly increment the end date for diary and
15917 holiday listing. (Bug#4626)
15919 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * help-fns.el (describe-function-1): Don't burp if the function is not
15924 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15926 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15927 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15928 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15929 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15931 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15932 (eieio-default-superclass): Reflow docstrings.
15933 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15934 (eieio-unbind-method-implementations, defmethod)
15935 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15936 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15937 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15938 (eieio-slot-originating-class-p, eieio-slot-name-index)
15939 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15940 (constructor, initialize-instance, no-next-method, object-print)
15941 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15942 Fix typos in docstrings.
15943 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15944 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15945 (next-method-p): Doc fixes.
15946 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15947 Fix typos in error messages.
15948 (eieio-defmethod): Fix typo in description of generic method.
15950 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15951 (eieio-persistent-save-interactive, slot-missing):
15952 Fix typos in docstrings.
15953 (eieio-instance-inheritor-slot-boundp): Doc fix.
15955 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15956 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15958 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15959 (eieio-custom-object-apply-reset):
15960 Fix typos in docstrings and error messages.
15962 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15963 Fix typo in docstring.
15965 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15966 (eieio-browse-tree): Doc fix.
15967 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15968 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15969 Fix typos in docstrings.
15971 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15972 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15973 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15974 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15977 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15979 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15980 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15981 Set log-view-vc-backend so that diff can work.
15983 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15985 (vc-diff-internal): Autoload this instead of vc-version-diff.
15987 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15989 * simple.el (eval-expression): Doc fix.
15991 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15993 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15995 * files.el (directory-files-no-dot-files-regexp): New defconst.
15996 (delete-directory): Use it.
15997 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15999 * net/tramp.el (tramp-verbose): Fix docstring.
16000 (tramp-methods): Add recursive option to `tramp-copy-args'.
16001 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16002 "scp1_old", "scp2_old", "rsync", "rsyncc".
16003 (tramp-default-method): Check also for `auth-source-user-or-password'.
16004 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16005 Add handler for `copy-directory'.
16006 (tramp-handle-copy-directory): New defun.
16007 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16008 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16009 Optimize sent command.
16011 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16014 window if necessary.
16016 * calendar/calendar.el (calendar-basic-setup): Don't call
16017 switch-to-buffer in a dedicated window.
16019 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16021 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16022 don't do anything related to relocating, just return nil.
16023 (bookmark-error-no-filename): New error.
16024 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16025 bookmark has no file. Don't even attempt to handle things that
16026 are not files; the whole point of custom handlers is to keep that
16027 knowledge elsewhere anyway. Tighten some comments.
16028 (bookmark-file-or-variation-thereof): Remove now-unused function.
16029 (bookmark-location): Doc string fix.
16032 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16034 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16035 don't use a file dialog, because they usually don't know how to read
16036 a directory target from the user. (Bug#4230)
16037 Also, make sure the prompt can display directories as well as files.
16039 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16041 * bookmark.el (bookmark-set, bookmark-buffer-name):
16042 Improve doc strings. (Bug#1193)
16044 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16046 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16047 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16048 (bookmark-get-annotation, bookmark-set-annotation)
16049 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16050 (bookmark-set-position, bookmark-get-front-context-string)
16051 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16052 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16053 (bookmark-jump-other-window, bookmark-handle-bookmark)
16054 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16055 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16056 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16057 Improve doc strings to say whether bookmark can be a string or
16058 a record or both, and make other consistency and clarity fixes.
16059 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16060 (bookmark-default-annotation-text, bookmark-yank-word)
16061 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16062 (bookmark-import-new-list, bookmark-maybe-rename)
16063 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16064 (bookmark-bmenu-bookmark): Give these doc strings.
16065 (bookmark-bmenu-check-position): Give this a doc string, but also
16066 add a FIXME comment about how the function may be pointless.
16067 (bookmark-default-handler): Rework doc string and change a
16068 parameter name, to clarify that this takes a bookmark record
16069 not a bookmark name.
16070 (bookmark-set): Change a parameter name to indicate its meaning,
16071 and improve the doc string a bit.
16074 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16076 * bookmark.el (bookmark-alist): Document the new `handler' element
16077 in the param alist.
16078 (bookmark-make-record-function): Adjust documentation for above.
16081 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16083 * info.el (Info-bookmark-make-record): Document this function.
16084 (Info-bookmark-jump): Document with a doc string, not just a comment.
16087 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16089 * files.el (copy-directory): New defun.
16091 * dired-aux.el (dired-copy-file-recursive): Use it.
16093 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16095 * files-x.el (modify-dir-local-variable)
16096 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16099 * recentf.el (recentf-unload-function): New function.
16101 2009-10-04 Glenn Morris <rgm@gnu.org>
16103 * window.el (window-full-height-p): Add doc string.
16105 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16107 * window.el (window-full-height-p): New function. (Bug#4543)
16109 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16111 * vc.el: Remove commented out code.
16112 (vc-derived-from-dir-mode): Remove, unused.
16113 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16115 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16117 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16118 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16119 there could be recursive loading when `default-directory' is a
16120 remote file name. (Bug#4614)
16122 2009-10-03 Glenn Morris <rgm@gnu.org>
16124 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16126 (calendar-generate-window): Test for shrinkability rather than width.
16128 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16129 reusing existing buffers, in case we happen to visit two files with the
16130 same basename. (Bug#4593)
16132 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16134 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16135 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16136 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16137 subdirs of cedet as well.
16138 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16140 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16142 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16143 Obey advertised-signature-table.
16145 * help-fns.el (help-function-arglist): Don't check
16146 advertised-signature-table.
16147 (describe-function-1): Do it here instead so it also applies to subrs.
16149 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16151 * simple.el (start-file-process): Say in the doc-string, that file
16152 handlers might not support pty association, if PROGRAM is nil.
16154 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16155 HOST and USER are strings. They are nil, when there are
16156 incomplete entries in ~/.netrc, for example.
16157 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16158 root directory ("device busy" error otherwise).
16160 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16161 Flush file properties of created directory.
16163 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16165 * makefile.w32-in (WINS_BASIC): Remove cedet.
16166 (WINS_CEDET): Add cedet.
16167 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16169 2009-10-02 Kevin Ryde <user42@zip.com.au>
16171 * net/browse-url.el (browse-url): Pass any symbol in
16172 browse-url-browser-function to `apply', since if you've mistakenly put
16173 an unbound symbol then the error is clearer. (Bug#4531)
16175 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16177 * allout.el (allout-init, allout-back-to-current-heading)
16178 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16179 (allout-ascend, allout-up-current-level, allout-end-of-level)
16180 (allout-previous-visible-heading, allout-forward-current-level)
16181 (allout-backward-current-level, allout-show-children):
16182 * apropos.el (apropos-describe-plist):
16183 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16184 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16185 * completion.el (add-completion, add-permanent-completion):
16186 * descr-text.el (describe-text-category, describe-char):
16187 * desktop.el (desktop-lazy-abort):
16188 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16189 * dired.el (dired-build-subdir-alist):
16190 * ediff.el (ediff-version):
16191 * elide-head.el (elide-head, elide-head-show):
16192 * emerge.el (emerge-version):
16194 * face-remap.el (variable-pitch-mode):
16195 * faces.el (describe-face):
16196 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16198 * files.el (find-file-existing, auto-save-mode):
16199 * font-lock.el (font-lock-fontify-buffer):
16200 * help-fns.el (describe-function, describe-variable)
16201 (describe-syntax, describe-categories):
16202 * help.el (view-lossage, describe-bindings, describe-key)
16204 * hexl.el (hexl-current-address):
16205 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16206 * info.el (Info-goto-emacs-key-command-node):
16207 * log-edit.el (log-edit-insert-cvs-template)
16208 (log-edit-insert-cvs-rcstemplate):
16209 * menu-bar.el (menu-bar-mode):
16210 * mouse.el (mouse-appearance-menu):
16211 * newcomment.el (comment-indent-new-line):
16212 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16213 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16214 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16215 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16216 * recentf.el (recentf-mode):
16217 * savehist.el (savehist-mode, savehist-save):
16218 * shadowfile.el (shadow-copy-files):
16219 * simple.el (kill-ring-save, next-line, previous-line)
16220 (normal-erase-is-backspace-mode):
16221 * strokes.el (strokes-update-window-configuration)
16222 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16223 (strokes-xpm-for-stroke):
16224 * time.el (emacs-uptime, emacs-init-time):
16225 * tutorial.el (tutorial--describe-nonstandard-key)
16226 (tutorial--detailed-help):
16227 * type-break.el (type-break-mode)
16228 (type-break-mode-line-message-mode, type-break-query-mode)
16229 (type-break-guesstimate-keystroke-threshold):
16230 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16231 * version.el (emacs-version):
16232 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16233 * winner.el (winner-mode):
16234 * calendar/timeclock.el (timeclock-in, timeclock-out)
16235 (timeclock-status-string, timeclock-change)
16236 (timeclock-workday-remaining-string)
16237 (timeclock-workday-elapsed-string)
16238 (timeclock-when-to-leave-string):
16239 * calendar/todo-mode.el (todo-add-category):
16240 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16241 * emacs-lisp/autoload.el (update-file-autoloads):
16242 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16243 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16244 (checkdoc-message-text, checkdoc-defun):
16245 * emacs-lisp/debug.el (debugger-list-functions):
16246 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16247 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16248 (eieio-describe-generic):
16249 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16250 * emacs-lisp/shadow.el (list-load-path-shadows):
16251 * emulation/cua-base.el (cua-mode):
16252 * emulation/edt.el (edt-set-scroll-margins):
16253 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16254 (tpu-toggle-regexp, tpu-toggle-search-direction)
16255 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16256 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16257 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16258 (viper-set-parsing-style-toggling-macro)
16259 (viper-set-emacs-state-searchstyle-macros):
16260 * emulation/viper.el (viper-set-hooks):
16261 * eshell/esh-mode.el (eshell-truncate-buffer):
16262 * international/mule-cmds.el (prefer-coding-system)
16263 (describe-input-method, describe-language-environment):
16264 * international/mule-diag.el (list-character-sets)
16265 (describe-character-set, describe-coding-system)
16266 (describe-fontset, list-fontsets, list-input-methods):
16267 * mail/sendmail.el (mail-signature):
16268 * net/ange-ftp.el (ange-ftp-copy-file):
16269 * net/browse-url.el (browse-url):
16270 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16271 * net/quickurl.el (quickurl-add-url):
16272 * net/rcirc.el (names, topic):
16273 * net/xesam.el (xesam-mode):
16274 * play/5x5.el (5x5-new-game):
16275 * play/yow.el (apropos-zippy):
16276 * progmodes/ada-mode.el (ada-mode-version):
16277 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16279 (f90-beginning-of-block):
16280 * progmodes/fortran.el (fortran-end-of-block)
16281 (fortran-beginning-of-block):
16282 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16283 * progmodes/python.el (python-describe-symbol, python-shell):
16284 * term/ns-win.el (ns-print-buffer):
16285 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16286 * textmodes/flyspell.el (flyspell-mode-on):
16287 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16288 (pages-directory-for-addresses):
16289 * textmodes/table.el (table-recognize-cell)
16290 (table-query-dimension, table-generate-source)
16291 (table-insert-sequence, table--warn-incompatibility):
16292 * textmodes/tex-mode.el (tex-validate-buffer):
16293 * textmodes/texinfmt.el (texinfmt-version)
16294 (texinfo-format-buffer):
16295 Use `called-interactively-p' instead of `interactive-p'.
16297 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16299 * image-mode.el (image-toggle-display):
16300 * emacs-lisp/elp.el (elp-instrument-function):
16301 * emacs-lisp/advice.el (ad-make-advised-definition):
16302 * emacs-lisp/easy-mmode.el (define-minor-mode):
16303 * net/browse-url.el (browse-url-maybe-new-window):
16304 * progmodes/sh-script.el (sh-learn-buffer-indent):
16305 Pass new argument 'any to `called-interactively-p'.
16307 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16309 * international/uni-bidi.el:
16310 * international/uni-category.el:
16311 * international/uni-combining.el:
16312 * international/uni-comment.el:
16313 * international/uni-decimal.el:
16314 * international/uni-decomposition.el:
16315 * international/uni-digit.el:
16316 * international/uni-lowercase.el:
16317 * international/uni-mirrored.el:
16318 * international/uni-name.el:
16319 * international/uni-numeric.el:
16320 * international/uni-old-name.el:
16321 * international/uni-titlecase.el:
16322 * international/uni-uppercase.el:
16323 Regenerate from Unicode 5.2.0 data.
16325 2009-10-01 Glenn Morris <rgm@gnu.org>
16327 * Makefile.in (ELCFILES): Regenerate.
16329 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16331 * subr.el (interactive-p): Mark obsolete.
16332 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16333 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16334 advertised-signature-table for subroutines as well.
16336 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16337 (set-advertised-calling-convention): New function.
16338 (make-obsolete, define-obsolete-function-alias)
16339 (make-obsolete-variable, define-obsolete-variable-alias):
16340 Make the optional-ness of `when' obsolete.
16341 (define-obsolete-face-alias): Make `when' non-optional.
16342 * help-fns.el (help-function-arglist):
16343 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16344 Use advertised-signature-table.
16346 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16348 * files.el (delete-directory): New defun. The original function
16349 in fileio.c has been renamed to `delete-directory-internal'.
16351 * dired.el (dired-delete-file): Call `delete-directory' with
16352 RECURSIVE parameter.
16354 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16355 parameter RECURSIVE. Implementation is missing.
16357 * net/tramp.el (tramp-handle-make-directory): Flush upper
16358 directory's file properties.
16359 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16360 (tramp-handle-dired-recursive-delete-directory): Flush directory
16361 properties after the remove command only.
16363 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16364 Handle optional parameter RECURSIVE.
16366 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16367 Handle optional parameter RECURSIVE.
16369 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16370 connection timeout.
16371 (tramp-smb-handle-delete-directory): Handle optional parameter
16374 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16376 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16377 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16378 (byte-compile-defmacro): Use backquotes.
16380 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16382 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16383 has no associated file.
16384 (vc-resynch-buffer): Use vc-dir-buffers.
16386 2009-10-01 Glenn Morris <rgm@gnu.org>
16388 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16389 (chart-file-count):
16390 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16391 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16392 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16393 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16394 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16395 (eieio-copy-parents-into-subclass, make-instance, class-children)
16396 (eieio-generic-form):
16398 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16399 match-data. (Bug#4555).
16401 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16402 rather than parsing it as a regexp. This relaxes the layout
16403 requirements and makes errors easier to detect.
16404 (check-declare-verify): Check file is regular.
16405 (check-declare-directory): Doc fix.
16406 * subr.el (declare-function): Doc fix.
16408 * ibuffer.el (ibuffer-format-qualifier):
16409 * isearch.el (hi-lock-regexp-okay):
16410 * calc/calc.el (math-zerop):
16411 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16412 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16413 Remove unused declarations.
16415 2009-09-30 Eric Ludlam <zappo@gnu.org>
16417 * emacs-lisp/eieio.el (boolean-p): Delete.
16419 2009-09-30 Glenn Morris <rgm@gnu.org>
16421 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16423 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16424 filename is not a string.
16426 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16428 * files.el (safe-local-eval-forms): Fix typo.
16430 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16432 * vc-hooks.el (vc-dir-buffers): New var.
16433 (vc-state-refresh): New function.
16434 (vc-state): Use it.
16435 (vc-after-save): Always ask the backend to recompute the new state.
16436 Always call vc-dir if necessary, using vc-dir-buffers.
16437 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16438 Use vc-dir-buffers.
16439 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16440 (vc-dir-prepare-status-buffer, vc-dir-update)
16441 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16442 Don't call expand-file-name on default-directory.
16444 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16446 * speedbar.el (speedbar-item-delete):
16447 * calc/calc-prog.el (calc-kbd-if):
16448 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16450 * epa.el (epa-key-list-mode-map):
16451 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16453 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16454 (hs-show-hook): Fix typo in docstring.
16456 2009-09-29 Glenn Morris <rgm@gnu.org>
16458 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16459 file-name-nondirectory call preventing location of cedet files.
16460 (check-declare-verify): Use literal search rather than re-search.
16461 Add basic defmethod and defclass, and define-overloadable-function.
16463 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16464 Use tramp-compat-file-attributes rather than nonexistent
16465 tramp-compat-handle-file-attributes.
16467 * Makefile.in (lisptagsfiles4): New.
16468 (AUTOGENEL): Add cedet loaddefs files.
16469 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16470 (update-elclist, compile-always, backup-compiled-files)
16471 (bootstrap-clean): Add yet another directory level.
16472 (update-elclist): Use LC_COLLATE rather than COLLATE.
16473 (ELCFILES): Update, via `make update-elclist'.
16475 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16477 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16478 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16479 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16481 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16483 * Makefile.in (lisptagsfiles3): Define.
16484 (TAGS, TAGS-LISP): Use it.
16485 (update-elclist): Add third directory level to look for elc files.
16486 (compile-always): Likewise.
16487 (backup-compiled-files): Likewise.
16488 (bootstrap-clean): Likewise.
16489 (ELCFILES): Update.
16491 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16493 * Makefile.in (ELCFILES): Add CEDET files.
16495 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16497 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16499 * net/tramp.el (top): Require tramp-imap.
16501 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16502 Use `tramp-compat-handle-file-attributes'.
16504 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16506 * net/tramp-imap.el: New package.
16508 2009-09-28 Eric Ludlam <zappo@gnu.org>
16510 * emacs-lisp/chart.el:
16511 * emacs-lisp/eieio-base.el:
16512 * emacs-lisp/eieio-comp.el:
16513 * emacs-lisp/eieio-custom.el:
16514 * emacs-lisp/eieio-datadebug.el:
16515 * emacs-lisp/eieio-opt.el:
16516 * emacs-lisp/eieio-speedbar.el:
16517 * emacs-lisp/eieio.el: New files.
16519 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16521 * whitespace.el (whitespace-trailing-regexp)
16522 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16525 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16527 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16530 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16531 menu-bar-ediff-menu.
16533 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16534 define-overloadable-function.
16536 * progmodes/autoconf.el: Provide autoconf as well, so that this
16537 file can be `require'd.
16539 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16541 * emacs-lisp/autoload.el (generated-autoload-feature)
16542 (generated-autoload-load-name): New vars.
16543 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16544 (make-autoload): Recognize define-overloadable-function and
16545 defclass forms (for EIEIO).
16547 * Makefile.in (update-subdirs): Exclude cedet directory.
16549 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16551 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16553 * faces.el: Default light-background background for region face to
16554 ns_selection_color under NS.
16556 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16558 * net/imap-hash.el: New library, see NEWS.
16560 * Makefile.in (ELCFILES): Add imap-hash.el.
16562 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16564 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16565 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16566 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16567 definition where the docstring could be taken for the return value.
16569 2009-09-26 Glenn Morris <rgm@gnu.org>
16571 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16572 Add option to only show images below a certain size.
16573 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16574 save-excursion calls.
16576 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16578 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16579 subdirectories) and eieio.
16581 2009-09-26 Alan Mackenzie <acm@muc.de>
16583 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16584 Correct buggy bracketing. (Bug#4289)
16586 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16587 character constants (as case labels). (Bug#4289)
16589 2009-09-25 Juri Linkov <juri@jurta.org>
16591 * files.el (safe-local-eval-forms): Allow time-stamp in
16592 before-save-hook (Bug#4554).
16594 2009-09-25 Drew Adams <drew.adams@oracle.com>
16596 * menu-bar.el (list-buffers-directory): Doc fix.
16598 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16600 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16601 Try and avoid copying twice the same paragraph.
16602 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16603 Remove save-excursion.
16604 (log-edit-changelog-entry): Do it here instead.
16606 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16608 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16609 when available, instead of hardcoding mode names. Doc fix.
16611 * menu-bar.el (list-buffers-directory): Add docstring.
16612 Make automatically buffer-local.
16614 * dired.el (dired-mode):
16615 * files.el (cd-absolute):
16616 * pcvs.el (cvs-temp-buffer):
16617 * pcvs-util.el (cvs-get-buffer-create):
16618 * shell.el (shell-mode):
16619 * vc-dir.el (vc-dir-mode):
16620 Don't make `list-buffers-directory' buffer local.
16622 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16624 * comint.el (comint-exec, comint-run, make-comint):
16625 Doc fixes (Bug#4542).
16627 2009-09-25 Glenn Morris <rgm@gnu.org>
16629 * mail/rmailmm.el (rmail-mime): New custom group.
16630 Move all defcustoms in this file into this group.
16631 (rmail-mime-media-type-handlers-alist): Revert previous change.
16632 (rmail-mime-show-images): New option.
16633 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16634 references to it, since it wasn't actually used for anything.
16635 (rmail-mime-insert-image): New function.
16636 (rmail-mime-image): Use rmail-mime-insert-image.
16637 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16638 obey the value of `rmail-mime-show-images' option. Print the size of
16641 2009-09-25 David Engster <deng@randomsample.de>
16643 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16645 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16647 * whitespace.el: Does not highlight trailing spaces While point is
16648 at end of line. Does not highligt spaces at beginning of buffer
16649 while point is at beginning of buffer. Does not highlight spaces
16650 at end of buffer while point is at end of buffer. (Bug#4177)
16652 (whitespace-display-mappings): Adjust initialization.
16653 (whitespace-point, whitespace-font-lock-refontify): New vars.
16654 (whitespace-color-on, whitespace-color-off): Adjust code.
16655 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16656 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16657 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16659 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16661 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16663 * textmodes/sgml-mode.el: Remove xml-mode alias.
16665 * files.el (auto-mode-alist, conf-mode-maybe)
16666 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16668 2009-09-24 Alan Mackenzie <acm@muc.de>
16670 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16671 c-forward-conditionals, but it doesn't move point and doesn't set
16673 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16674 (c-down-conditional-with-else, c-backward-conditional)
16675 (c-forward-conditional): Refactor to use c-scan-conditionals.
16677 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16679 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16680 (help-default-arg-highlight): Remove.
16681 (help-highlight-arg): New function.
16682 (help-do-arg-highlight): Use it.
16683 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16685 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16688 Undo last change, which didn't fix the problem and introduced others.
16690 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16692 * progmodes/gdb-mi.el: Don't require speedbar.
16693 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16695 2009-09-24 Glenn Morris <rgm@gnu.org>
16697 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16699 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16701 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16702 there is no newline after the final mime boundary. (Bug#4539)
16703 Move markers on insertion so that any buttons inserted don't end up in
16704 the next part of a multipart message.
16705 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16706 (rmail-mime-bulk-handler): Optionally handle images.
16707 (rmail-mime-image): New button action.
16708 (rmail-mime-image-handler): New function.
16709 (rmail-mime-mode): New mode.
16710 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16712 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16714 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16715 than just dropping elements from it (bug#4504).
16717 * term.el (term-set-scroll-region): Don't move cursor any more.
16718 (term-handle-ansi-escape): Call term-goto here instead.
16719 Suggested by Ivan Kanis <apple@kanis.eu>.
16721 * term.el: Require CL.
16722 (term-ansi-reset): New function.
16723 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16724 (term-handle-colors-array): Simplify.
16726 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16728 * allout.el (allout-overlay-interior-modification-handler)
16729 (allout-obtain-passphrase):
16730 * epa-file.el (epa-file-write-region):
16731 * ps-print.el (ps-begin-job):
16732 * vc-hooks.el (vc-toggle-read-only):
16733 * vc-rcs.el (vc-rcs-rollback):
16734 * vc-sccs.el (vc-sccs-rollback):
16735 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16736 (vc-version-diff, vc-revert, vc-rollback):
16737 * wdired.el (wdired-check-kill-buffer):
16738 * emacs-lisp/authors.el (authors):
16739 * net/socks.el (socks-open-connection):
16740 * net/zeroconf.el (zeroconf-service-add-hook):
16741 * obsolete/vc-mcvs.el (vc-mcvs-register):
16742 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16743 (gdb-select-frame):
16744 * progmodes/grep.el (lgrep, rgrep):
16745 * progmodes/idlw-help.el (idlwave-help-check-locations)
16746 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16747 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16748 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16749 (reftex-toc-rename-label): Fix typos in error messages.
16751 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16752 (dired-copy-how-to-fn): Doc fix.
16753 (dired-files-attributes, dired-read-shell-command):
16754 Fix typos in docstrings.
16756 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16757 (dired-x-find-file-other-window): Reflow docstrings.
16758 (dired-omit-marker-char, dired-read-shell-command)
16759 (dired-x-submit-report): Fix typos in docstrings.
16761 * shell.el (shell-mode-hook):
16762 * view.el (View-scroll-line-forward):
16763 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16764 Fix typos in docstrings.
16766 * net/dig.el (dig-invoke): Fix typo in docstring.
16767 (query-dig): Reflow docstring.
16769 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16770 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16771 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16772 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16773 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16774 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16775 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16776 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16777 (idlwave-completion-map, idlwave-current-indent)
16778 (idlwave-custom-ampersand-surround, idlwave-customize)
16779 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16780 (idlwave-define-abbrev, idlwave-determine-class-special)
16781 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16782 (idlwave-end-block-reg, idlwave-end-of-statement)
16783 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16784 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16785 (idlwave-explicit-class-listed, idlwave-file-header)
16786 (idlwave-fill-paragraph, idlwave-find-class-definition)
16787 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16788 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16789 (idlwave-in-quote, idlwave-indent-action-table)
16790 (idlwave-indent-expand-table, idlwave-indent-line)
16791 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16792 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16793 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16794 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16795 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16796 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16797 (idlwave-outlawed-buffers, idlwave-popup-select)
16798 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16799 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16800 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16801 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16802 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16803 (idlwave-statement-type, idlwave-struct-skip)
16804 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16805 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16806 (idlwave-what-module-find-class): Fix typos in docstrings.
16807 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16808 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16809 (idlwave-find-module, idlwave-find-structure-definition)
16810 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16811 (idlwave-list-load-path-shadows, idlwave-next-statement)
16812 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16813 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16814 (idlwave-template): Reflow docstrings.
16816 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16817 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16818 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16819 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16820 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16821 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16822 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16823 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16824 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16825 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16826 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16827 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16828 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16829 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16830 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16831 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16832 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16833 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16834 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16835 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16836 Fix typos in docstrings.
16837 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16838 (idlwave-shell-hide-output, idlwave-shell-mode)
16839 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16842 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16844 2009-09-24 Ivan Kanis <apple@kanis.eu>
16846 * term.el (term-bold-attribute): New var.
16847 (term-handle-colors-array): Use it.
16849 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16851 * progmodes/gdb-mi.el (gdb-version): New variable.
16852 (gdb-non-stop-handler): Set gdb-version.
16853 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16854 Condition "--thread" option on gdb-version.
16855 (gdb-invalidate-threads): Remove unused argument.
16857 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16859 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16860 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16862 2009-09-23 Glenn Morris <rgm@gnu.org>
16864 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16865 replying to mail without References or Message-Id. (Bug#4525)
16867 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16869 * term/ns-win.el (ns-reg-to-script): New variable.
16871 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16873 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16875 2009-09-22 Sam Steingold <sds@gnu.org>
16877 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16878 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16879 to 1 because hg returns status 1 when nothing is found.
16880 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16882 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16884 * textmodes/fill.el: Convert to utf-8 encoding.
16885 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16888 * add-log.el (change-log-fill-forward-paragraph): New function.
16889 (change-log-mode): Use it so fill-region DTRT.
16890 Set fill-indent-according-to-mode here rather than in
16891 change-log-fill-paragraph.
16892 (change-log-fill-paragraph): Remove.
16894 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16896 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16897 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16899 2009-09-22 Glenn Morris <rgm@gnu.org>
16901 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16902 the scroll-bar scroll the calendar window rather than the buffer.
16904 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16905 commands that move point (as opposed to scrolling).
16907 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16909 * emacs-lisp/elint.el (elint): New custom group.
16910 (elint-log-buffer): Make it a defcustom.
16911 (elint-scan-preloaded, elint-ignored-warnings)
16912 (elint-directory-skip-re): New options.
16913 (elint-builtin-variables): Doc fix.
16914 (elint-preloaded-env): New variable.
16915 (elint-unknown-builtin-args): Add an entry for encode-time.
16916 (elint-extra-errors): Make it a variable rather than a constant.
16917 (elint-preloaded-skip-re): New constant.
16918 (elint-directory): Skip files matching elint-directory-skip-re.
16919 (elint-features): New variable, local to linted buffers.
16920 (elint-update-env): Initialize elint-features. Possibly add
16921 elint-preloaded-env to the buffer's environment.
16922 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16924 (elint-init-form): New function, extracted from elint-init-env.
16925 Make non-list forms a warning rather than an error.
16926 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16927 easy-menu-define, put that adds an error-condition, and provide.
16928 When requiring cl, also require cl-macs. Really require cl, to handle
16929 some cl macros. Store required libraries in the list elint-features,
16930 so as not to re-load them. Treat cc-require like require.
16931 (elint-init-env): Call elint-init-form to do the work.
16932 Handle eval-and-compile and such like.
16933 (elint-add-required-env): Do not clear messages.
16934 (elint-special-forms): Add handlers for function, defalias, if, when,
16936 (elint-form): Add optional argument to ignore elint-special-forms,
16937 useful to prevent recursive calls from handlers. Doc fix.
16938 Respect elint-ignored-warnings.
16939 (elint-form): Respect elint-ignored-warnings.
16940 (elint-bound-variable, elint-bound-function): New variables.
16941 (elint-unbound-variable): Respect elint-bound-variable.
16942 (elint-get-args): Respect elint-bound-function.
16943 (elint-check-cond-form): Add some simple handling for (f)boundp and
16945 (elint-check-defalias-form): New handler.
16946 (elint-check-let-form): Make an empty let a warning rather than an
16948 (elint-check-setq-form): Make an empty setq a warning rather than an
16949 error. Respect elint-ignored-warnings.
16950 (elint-check-defvar-form): Accept null doc-strings.
16951 (elint-check-conditional-form): New handler. Does some simple-minded
16952 checking of featurep and (f)boundp tests.
16953 (elint-put-function-args): New function.
16954 (elint-initialize): Use elint-scan-doc-file rather than
16955 elint-find-builtin-variables. Use elint-put-function-args.
16956 Possibly scan preloaded-file-list.
16957 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16958 extend to handle functions as well.
16960 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16962 * linum.el (linum-delete-overlays, linum-update-window):
16963 Do not modify the right margin. (Bug#3971)
16965 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16967 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16968 Use nxml-mode instead of xml-mode.
16970 2009-09-21 Kevin Ryde <user42@zip.com.au>
16972 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16974 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * net/dig.el (dig-mode): Use define-derived-mode.
16978 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16980 * vc-dispatcher.el (vc-do-command): Return the process object in
16981 the asynchronous case. Use when instead of if. Do not run
16982 vc-exec-after to display a message if not enabled. (Bug#4463)
16984 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16985 properties to the stash strings.
16986 (vc-git-stash-list): Return a list of strings.
16987 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16988 (vc-git-stash-show-at-point): New functions.
16989 (vc-git-stash-map): New keymap.
16991 * register.el (ctl-x-r-map): Define the keys here instead of
16994 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16996 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16997 list, to workaround performance problem (bug#4485).
16999 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17001 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17003 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17005 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17006 Document that this option is not recommended to use.
17008 2009-09-19 Glenn Morris <rgm@gnu.org>
17010 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17013 * calc/calc-alg.el (var):
17014 * calc/calcalg2.el (var): Define for compiler.
17016 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17018 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17019 Doc fix (Bug#3932).
17021 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17023 * time-stamp.el (time-stamp-month-dd-yyyy)
17024 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17025 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17026 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17027 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17028 Remove functions that have been obsolete since 1995 (Bug#4436).
17030 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17031 indent buffer only if called interactively (Bug#4452).
17033 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17034 Eli Zaretskii <eliz@gnu.org>
17036 This fixes bug#4197 (merged to bug#865, though not identical).
17037 * server.el (server-auth-dir): Add docstring note about FAT32.
17038 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17039 but warn against using them.
17041 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17043 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17044 older GDB where there is no has_more field.
17046 2009-09-19 Glenn Morris <rgm@gnu.org>
17048 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17050 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17052 * files.el (auto-mode-alist): Change default for XML files to nXML
17055 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17057 * server.el (server-ensure-safe-dir): Pass 'integer
17058 to `file-attributes', as suggested.
17060 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17062 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17063 (dired-query): Use read-key.
17065 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17067 * cus-start.el (ns-use-qd-smoothing): Remove.
17069 2009-09-18 Glenn Morris <rgm@gnu.org>
17071 * allout.el (top-level): Remove unnecessary progn.
17073 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17075 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17076 definition of abbrev table.
17078 * speedbar.el (speedbar-track-mouse):
17079 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17080 * net/eudc.el (eudc-expand-inline):
17081 * net/newst-backend.el (newsticker--cache-read-feed):
17082 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17083 condition-case handlers.
17085 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17087 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17088 (gdb-var-list): Add an element for has_more field.
17089 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17090 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17091 (gdb-var-update-handler-1): Parse output of dynamic variable
17092 objects (STL containers).
17093 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17094 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17096 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17098 (gud-speedbar-buttons): Make node expandable if expression "has more"
17101 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17103 * startup.el (emacs-quick-startup): Remove variable and all uses.
17104 (command-line): Set `inhibit-x-resources' instead.
17105 (command-line-1): Use `inhibit-x-resources' instead.
17107 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17109 * subr.el: Fix last change to avoid using the `unless' macro,
17110 which breaks bootstrapping.
17112 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17115 extended definitions, in case we reload subr.el after having
17117 (eval-next-after-load): Mark as obsolete.
17119 2009-09-17 Juri Linkov <juri@jurta.org>
17121 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17122 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17123 (menu-bar-showhide-menu, menu-bar-tools-menu)
17124 (menu-bar-describe-menu, menu-bar-help-menu)
17125 (minibuffer-local-completion-map, minibuffer-local-map):
17128 2009-09-17 Glenn Morris <rgm@gnu.org>
17130 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17131 arguments, whether or not it has a handler.
17133 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17135 * simple.el (hard-newline): Give it a doc-string.
17137 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17138 (lisp-mode-syntax-table): Give them doc-strings.
17140 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17142 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17143 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17144 (menu-bar-options-menu, menu-bar-showhide-menu)
17145 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17146 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17147 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17148 (menu-bar-options-menu, menu-bar-tools-menu)
17149 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17150 (menu-bar-help-menu):
17151 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17154 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17155 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17156 calls for the menu names and :help.
17158 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17160 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17161 to :minor-mode-function (bug#4455).
17163 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17165 * startup.el (command-line): Initialize the window-system after
17166 processing the command-line.
17168 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17169 page-delimiter matches the empty string.
17171 2009-09-16 Glenn Morris <rgm@gnu.org>
17173 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17174 byte-compile-not-obsolete-var. It's a list now.
17175 (byte-compile-not-obsolete-funcs): New variable.
17176 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17177 byte-compile-not-obsolete-funcs.
17178 (byte-compile-variable-ref, byte-compile-defvar): Update for
17179 byte-compile-not-obsolete-vars name-change and list nature.
17180 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17181 and variables behind (f)boundp tests.
17182 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17184 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17186 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17188 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17190 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17191 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17194 2009-09-15 Stephen Eglen <stephen@gnu.org>
17196 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17197 the virtual-buffers, use the name of the buffer specified by
17198 find-file-noselect, as the match may be a symlink. (This was a
17199 problem if the target and the symlink had different names.)
17201 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17203 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17205 * desktop.el (desktop-path): Check user-emacs-directory.
17207 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17209 * loadup.el: Use after-load-functions to GC after loading each file.
17210 Remove the explicit GC calls that used to be sprinkled around.
17212 * subr.el (after-load-functions): New hook.
17213 (do-after-load-evaluation): Run it. Use string-match-p to detect
17214 `obsolete' packages, rather than painfully extracting the relevant
17217 2009-09-15 Glenn Morris <rgm@gnu.org>
17219 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17220 free variable `doc'.
17222 * dired.el (dired-mode-map): Add menu entry for async shell command.
17224 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17225 variables, also consider the .elc files, since the .el files are
17226 normally gzipped (subsequent code locates the .el.gz from the .elc).
17228 * calc/calc-prog.el (arglist): Define for compiler.
17230 * calendar/diary-lib.el (diary-display-function): Change the default to
17232 (body): Define for compiler.
17234 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17235 (byte-compile-file-form, byte-compile-lambda)
17236 (byte-compile-top-level-body, byte-compile-form)
17237 (byte-compile-variable-ref, byte-compile-setq)
17238 (byte-compile-setq-default, byte-compile-body)
17239 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17240 (batch-byte-compile): Give some more local variables with common names
17241 a "bytecomp-" prefix to avoid masking warnings about free variables.
17243 * startup.el (command-line-1): Give local variables with common names a
17244 distinguishing prefix, so as not to hide free variable warnings during
17247 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17248 clever and add a suffix to make a unique name, just let the user decide
17249 whether or not to overwrite it. If the input is a directory, write the
17250 default filename to that directory. (Bug#4388)
17251 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17252 is a filename-as-a-directory.
17254 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17256 * textmodes/page.el (what-page): Don't move to beginning of line.
17257 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17259 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17261 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17263 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17265 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17266 * help.el (help-for-help-internal): Add purecopy calls for text.
17268 * vc.el (top): print-log method now takes an optional SHORTLOG
17269 argument. Add a new method: root.
17270 (vc-root-diff, vc-print-root-log): New functions.
17271 (vc-log-short-style): New variable.
17272 (vc-print-log-internal): Add support for showing short logs.
17274 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17275 vc-print-root-log and vc-print-root-diff.
17277 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17278 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17279 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17282 * vc-cvs.el (vc-cvs-print-log):
17283 * vc-mtn.el (vc-mtn-print-log):
17284 * vc-rcs.el (vc-rcs-print-log):
17285 * vc-sccs.el (vc-sccs-print-log):
17286 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17287 that is ignored for now.
17289 * vc-mtn.el (vc-mtn-annotate-command):
17290 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17292 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17295 to function-key-map, and give them ascii-character property.
17296 * term/x-win.el (x-alternatives-map):
17297 * term/ns-win.el (ns-alternatives-map):
17298 * term/internal.el (msdos-key-remapping-map):
17299 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17301 2009-09-14 Glenn Morris <rgm@gnu.org>
17303 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17304 temp-buffers (2009-09-12).
17306 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17308 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17309 the new read-key function.
17311 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17313 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17314 is defined (Bug#4405).
17316 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17318 * recentf.el (recentf-cleanup): Use a hash table to find
17319 duplicates (Bug#4407).
17321 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17323 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17324 kp-0 to ascii equivalents (Bug#4325).
17326 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17328 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17330 * eshell/em-hist.el:
17331 * eshell/em-dirs.el (eshell-complete-user-reference):
17332 Declare pcomplete functions and variables to avoid compiler warnings.
17334 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17336 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17337 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17338 * eshell/em-alias.el (eshell-aliases-file):
17339 * eshell/em-hist.el (eshell-history-file-name):
17340 Use expand-file-name instead of concat to make file names (Bug#4308).
17342 2009-09-13 Glenn Morris <rgm@gnu.org>
17344 * ediff-merg.el (ediff-do-merge):
17345 * filesets.el (filesets-run-cmd):
17346 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17347 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17348 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17349 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17350 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17351 Replace empty `let's with `progn'.
17353 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17355 * mail/sendmail.el (send-mail-function):
17356 * tooltip.el (tooltip-mode):
17357 * simple.el (transient-mark-mode):
17358 * rfn-eshadow.el (file-name-shadow-mode):
17359 * frame.el (blink-cursor-mode):
17360 * font-core.el (global-font-lock-mode):
17361 * files.el (temporary-file-directory)
17362 (small-temporary-file-directory, auto-save-file-name-transforms):
17363 * epa-hook.el (auto-encryption-mode):
17364 * composite.el (global-auto-composition-mode):
17365 Use custom-initialize-delay.
17366 * startup.el (command-line): Don't explicitly call
17367 custom-reevaluate-setting for all the above vars.
17368 * custom.el (custom-initialize-safe-set)
17369 (custom-initialize-safe-default): Delete.
17371 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * term/x-win.el (x-initialize-window-system):
17374 * term/w32-win.el (w32-initialize-window-system):
17375 * term/ns-win.el (ns-initialize-window-system): Don't call
17376 mouse-wheel-mode since it's enabled globally by default already.
17378 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17379 actually define the variable, but only silences the byte-compiler.
17380 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17381 before looking it up.
17382 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17385 2009-09-12 Glenn Morris <rgm@gnu.org>
17387 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17389 (elint-add-required-env): Don't beep on error.
17390 (elint-forms): In case of error, return ENV unchanged.
17391 (elint-init-env): Skip non-list forms.
17392 (elint-log): Handle unknown file positions.
17394 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17396 * epg.el (epg-make-context): Add autoload cookie.
17397 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17398 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17399 (epg-verify-string, epg-start-sign, epg-sign-file)
17400 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17401 (epg-encrypt-string, epg-start-export-keys)
17402 (epg-export-keys-to-file, epg-export-keys-to-string)
17403 (epg-start-import-keys, epg-import-keys-from-file)
17404 (epg-import-keys-from-string, epg-start-receive-keys)
17405 (epg-receive-keys, epg-import-keys-from-server)
17406 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17407 (epg-sign-keys, epg-start-generate-key)
17408 (epg-generate-key-from-file, epg-generate-key-from-string):
17409 Remove autoload cookie.
17411 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17413 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17414 reevaluation of trash-directory.
17416 * mwheel.el: Fix last change.
17417 (mouse-wheel-mode): New defvar.
17418 (mouse-wheel-mode): Remove autoload cookie.
17420 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17422 * mwheel.el (mwheel-installed-bindings): New var.
17423 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17424 the bindings we set last time. Use custom-initialize-delay.
17425 * loadup.el: Load mwheel after term/*-win.el.
17426 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17427 and mouse-wheel-up-event now that their first evaluation is done
17428 sufficiently late to be correct.
17430 * startup.el (tutorial-directory): Make it a defcustom.
17431 Use custom-initialize-delay rather than eval-at-startup to set it.
17432 * image.el (image-load-path): Make it a defcustom.
17433 Use custom-initialize-delay rather than eval-at-startup to set it.
17434 * subr.el (eval-at-startup): Remove.
17435 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17437 * subr.el (do-after-load-evaluation): Warn the user after loading an
17440 2009-09-12 Glenn Morris <rgm@gnu.org>
17442 * proced.el (proced-mark-alt): Remove alias.
17443 (proced-mode-map): Remove proced-mark-alt.
17445 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17446 Elint file and directory. Remove initialization entry.
17448 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17450 (elint-current-buffer): Set mode-line-process.
17451 (elint-init-env): Handle define-derived-mode.
17452 Fix declare-function with unspecified arglist. Guard against odd
17453 defalias statements (eg iso-insert's 8859-1-map).
17454 (elint-add-required-env): Use a temp buffer.
17455 (elint-form): Just print the function/macro name, not the whole form.
17456 Return env unchanged if we fail to parse a macro.
17457 (elint-forms): Guard against parse errors.
17458 (elint-output): New function, to handle batch mode.
17459 (elint-log-message): Add optional argument. Use elint-output.
17460 (elint-set-mode-line): New function.
17462 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17464 * emacs-lisp/elp.el (elp-not-profilable): Add more
17465 functions (Bug#4233).
17467 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17469 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17470 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17472 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17474 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17475 (gdb-var-list-children): Use json parsing.
17477 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17479 * progmodes/js.el (js--proper-indentation): Handle the case where
17480 char-before is null. Reported by Deniz Dogan.
17482 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17484 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17486 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17488 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17489 (epg-digest-algorithm-alist): Add SHA224.
17490 (epg-context-set-passphrase-callback)
17491 (epg-context-set-progress-callback): Add description about
17494 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * custom.el (custom-delayed-init-variables): New var.
17497 (custom-initialize-delay): New function.
17498 * startup.el (command-line): "Re"evaluate all vars in
17499 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17500 explicitly any more.
17501 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17502 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17504 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17506 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17508 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17509 (gdb-var-update-handler): Use json parsing.
17511 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17513 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17514 decode annotated text, regardless of language environment. (Bug#2741)
17516 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17518 * Makefile.in (autoloads): Make rmail.el writable as well.
17520 2009-09-11 Glenn Morris <rgm@gnu.org>
17522 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17524 * dired.el: Regenerate with extracted autoloads.
17525 * Makefile.in (autoloads): Make dired.el writable.
17527 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17528 * ibuffer.el: Regenerate with extracted autoloads.
17529 * Makefile.in (autoloads): Make ibuffer.el writable.
17531 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17532 * version.el (emacs-copyright, emacs-major-version)
17533 (emacs-minor-version): Reformat doc-strings for make-docfile.
17535 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17536 functions and variables, since they must be stuff specific to some other
17538 (apropos-print): Make mouse-click message less specific about button.
17540 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17541 that records where a macro was defined.
17542 * help-fns.el (describe-function-1): Mention if a function has a
17544 * help-mode.el (help-function-cmacro): New button.
17546 * locate.el (top-level): Always require dired.
17547 (locate-mode-map): Initialize inside the defvar.
17549 * net/ange-ftp.el (dired-compress-file): Declare.
17550 (ange-ftp-dired-compress-file): Add doc string.
17552 * term/ns-win.el (x-display-name, x-setup-function-keys):
17553 Unify doc-strings with X versions.
17555 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17557 * emulation/crisp.el (crisp-mode-map): Move initialization
17559 (crisp-mode): Use define-minor-mode.
17561 * progmodes/xscheme.el (xscheme-evaluation-commands):
17562 Put a :advertised-binding property rather than using
17563 advertised-xscheme-send-previous-expression.
17564 (advertised-xscheme-send-previous-expression): Declare obsolete.
17565 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17567 (crisp-mode): Add corresponding bindings to
17568 undo's :advertised-binding instead.
17569 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17570 than using dired-advertised-find-file.
17571 (dired-advertised-find-file):
17572 * simple.el (advertised-undo):
17573 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17574 (widget-keymap): Put a :advertised-binding property rather
17575 than using advertised-widget-backward.
17576 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17577 than using advertised-undo.
17578 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17580 2009-09-10 Simon South <ssouth@slowcomputing.org>
17582 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17583 Mark mode is enabled and region is active; otherwise indent or
17584 insert TAB as usual.
17585 (delphi-mode): Update description of TAB-key binding.
17587 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17589 * subr.el (define-key-rebound-commands): Mark obsolete.
17590 * startup.el (precompute-menubar-bindings): Remove.
17591 (normal-top-level): Remove obsolete code that tried to precompute
17593 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17594 define-key-rebound-commands and precompute-menubar-bindings.
17596 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17598 * net/imap.el (imap-interactive-login): Better messages.
17599 (imap-open): Fix bug with renamed buffer on reconnect.
17600 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17601 for easier debugging and cleaner code. On successful (guessed based on
17602 server capabilities) secondary authentication, set imap-state
17604 (imap-last-authenticator): Define imap-last-authenticator as a variable
17607 2009-09-10 Glenn Morris <rgm@gnu.org>
17609 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17611 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17612 (byte-compile-file-form-autoload): Don't warn about unknown functions
17613 where the autoload statement comes after the use.
17614 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17615 that any handlers inside the body (eg require) are in turn respected.
17617 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17620 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17621 and syntax and abbrev tables basic docs, if they don't have any.
17623 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17625 * international/mule-cmds.el (top-level): Require cl when compiling.
17626 (view-hello-file): Use default-value rather than
17627 default-enable-multibyte-characters.
17629 * progmodes/fortran.el: Move all safe and risky properties into the
17632 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17633 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17634 * mail/undigest.el:
17635 Put autoloads in rmail.el rather than loaddefs.el.
17636 * mail/rmail.el: Regenerate with extracted autoloads.
17638 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17639 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17641 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17643 Reported in thread for Bug#4375.
17644 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17645 "-data-evaluate-expression" instead of print.
17646 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17647 (gdb-tooltip-print): Parse output from above MI command.
17648 (gdb): Revert 2009-08-11 change. User should detach inferior
17651 Remove the word "separate" from IO functions as inferior
17652 output is now never displayed in the GUD buffer.
17654 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17656 * startup.el (command-line-normalize-file-name): On Windows and
17657 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17659 2009-09-10 Juri Linkov <juri@jurta.org>
17661 * isearch.el (isearch-text-char-description): Propertize escape
17662 character sequences with the `escape-glyph' face. (Bug#4344)
17664 * simple.el (shell-command): Set asynchronous process filter to
17665 `comint-output-filter'. (Bug#4343)
17667 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17668 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17669 the list. Move "asm" to the bottom.
17670 (grep-find-ignored-directories): Add `choice' with nil value
17671 to empty the list easily.
17672 (grep-find-ignored-files): New option.
17673 (grep-files-history): Set to nil by default instead of '("ch" "el").
17674 (grep-compute-defaults): Add "<X>" to `grep-template'.
17675 (grep-read-files): Bind new local variables `default-alias' and
17676 `default-extension'. Use a list of default values for the file prompt.
17677 (lgrep): Add `--exclude=' command line options composed from
17678 `grep-find-ignored-files'.
17679 (rgrep): Add `-name' command line options composed from
17680 `grep-find-ignored-files'. (Bug#4301)
17682 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17684 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17687 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17689 * calendar/time-date.el (autoload):
17690 Expand define-obsolete-function-alias into defalias and make-obsolete
17691 for old Emacsen that Gnus supports.
17692 (with-no-warnings): Define it for old Emacsen.
17693 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17695 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17696 float-time is available; suppress compile warning for time-to-seconds.
17698 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17700 * net/imap.el (imap-message-map): Docstring fix.
17702 2009-09-09 Glenn Morris <rgm@gnu.org>
17704 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17705 line numbers too. (Bug#4374)
17707 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17709 * smerge-mode.el (smerge-remove-props, smerge-refine):
17710 Use with-silent-modifications (bug#4342).
17712 * subr.el (with-silent-modifications): New macro.
17714 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17716 * files.el (top-level): Require `cl' when compiling.
17718 2009-09-07 Glenn Morris <rgm@gnu.org>
17720 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17722 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17723 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17725 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17727 * vc-git.el (vc-git-annotate-command): Use separator to parse
17728 arguments correctly.
17730 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17732 * proced.el (proced-mode): Doc fix.
17734 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17736 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17738 (tramp-do-file-attributes-with-ls): Check for file existence at
17740 (tramp-do-file-attributes-with-stat): Likewise.
17741 (tramp-convert-file-attributes): Return nil when attr is nil.
17743 2009-09-05 Glenn Morris <rgm@gnu.org>
17745 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17746 properties to this button.
17747 (diary-fancy-display): Don't extend the button to the final newline.
17748 (diary-fancy-display-mode): Continue to define "q" as a local key.
17750 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17753 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17755 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17756 (byte-compile-dest-file-function): New option.
17757 (byte-compile-dest-file): Doc fix.
17758 Obey byte-compile-dest-file-function.
17759 (byte-compile-cl-file-p): New function.
17760 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17761 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17762 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17763 than for file being previously loaded.
17764 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17765 (byte-compile-file-form-require): Handle the case where requiring a file
17766 indirectly causes CL to be loaded.
17768 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17770 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17771 before killing the old buffer, since by the time `kill-buffer' is
17772 run so many buffer variables have been set to nil that it may not
17773 behave as expected. (Bug#4061)
17775 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17777 * files.el (find-alternate-file): If the old buffer is modified
17778 and visiting a file, behave similarly to `kill-buffer' when
17779 killing it, thus reverting to the pre-1.878 behavior; see
17780 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17781 for discussion. Also, consult `buffer-file-name' as a variable
17782 not as a function, for consistency with the rest of the code.
17784 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17786 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17787 also when adding a new directory.
17789 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17792 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17794 * files.el (locate-file-completion-table): Make it provide boundary
17795 information, so partial-completion works better.
17797 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17799 * mail/footnote.el (Footnote-text-under-cursor):
17800 Check footnote-text-marker-alist before using it (bug#4324).
17802 2009-09-04 Glenn Morris <rgm@gnu.org>
17804 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17805 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17806 * play/solitaire.el, play/tetris.el:
17807 Remove leading * from defcustom and defface docs.
17809 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17811 (diary-fancy-overriding-map): New variable.
17812 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17815 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17818 2009-09-03 Glenn Morris <rgm@gnu.org>
17820 * arc-mode.el (archive-mode):
17821 * dos-fns.el (set-default-process-coding-system):
17822 * man.el (Man-getpage-in-background):
17823 * menu-bar.el (menu-bar-describe-menu):
17824 * server.el (server-process-filter):
17825 * startup.el (command-line):
17826 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17827 * w32-fns.el (set-default-process-coding-system):
17828 * x-dnd.el (x-dnd-handle-file-name):
17829 * international/mule-cmds.el (mule-menu-keymap)
17830 (set-default-coding-systems, language-info-alist, set-language-info)
17831 (set-language-environment, standard-display-european-internal)
17832 (set-locale-environment):
17833 * international/mule-diag.el (mule-diag):
17834 * mail/emacsbug.el (report-emacs-bug):
17835 * mail/rmail.el (rmail-mode):
17836 * mail/sendmail.el (mail-setup):
17837 Use default-value rather than default-enable-multibyte-characters.
17839 * progmodes/f90.el: Move all safe properties into the defcustoms.
17840 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17842 * calendar/appt.el (appt-check):
17843 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17844 (diary-check-diary-file, diary-list-entries)
17845 (diary-include-other-diary-files, diary-simple-display)
17846 (diary-fancy-display, diary-print-entries)
17847 (diary-mark-included-diary-files, diary-make-entry):
17848 Don't call substitute-in-file-name on diary-file.
17850 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17851 Stefan Monnier <monnier@iro.umontreal.ca>
17853 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17854 (footnote-mode-map): Move initialization into the declaration.
17855 (footnote-minor-mode-map): Define it rather than changing global-map.
17856 (footnote-mode): Use define-minor-mode.
17858 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17860 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17861 (tramp-do-file-attributes-with-perl)
17862 (tramp-do-file-attributes-with-stat): Rename from
17863 `tramp-handle-file-attributes-with-*'.
17864 (tramp-handle-file-attributes): Use them.
17865 (tramp-do-directory-files-and-attributes-with-perl)
17866 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17867 `tramp-handle-directory-files-and-attributes-with-*'.
17868 (tramp-handle-directory-files-and-attributes): Use them.
17869 (tramp-method-out-of-band-p): Additional parameter SIZE.
17870 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17871 (tramp-handle-write-region): Use it.
17872 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17873 (tramp-handle-vc-registered): Check, whether the first run did
17874 return files to be tested.
17875 (tramp-advice-make-auto-save-file-name): Do not call directly
17876 `tramp-handle-make-auto-save-file-name', because this would bypass
17877 the locking mechanism.
17879 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17880 (file-remote-p, process-file, start-file-process, set-file-times)
17881 (tramp-compat-file-attributes): Compatibility functions shall not
17882 call directly `tramp-handle-*', because this would bypass the
17884 (tramp-compat-number-sequence): New defun.
17886 2009-09-02 Glenn Morris <rgm@gnu.org>
17888 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17889 alias for float-time.
17890 (time-to-number-of-days): In Emacs, use float-time.
17891 * net/newst-backend.el (time-add): Suppress warnings from compat
17893 * time.el (emacs-uptime, emacs-init-time):
17894 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17895 Use float-time rather than time-to-seconds.
17897 * minibuffer.el (completion-initials-expand): Fix typo.
17899 * faces.el (modeline, modeline-inactive, modeline-highlight)
17900 (modeline-buffer-id):
17901 * info.el (info-menu-5): Mark these face aliases as obsolete.
17903 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17905 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17907 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17908 no "--thread" option.
17909 (gdb-stopped): Don't print "Switched to thread" message when it is
17912 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17914 * minibuffer.el (completion-try-completion)
17915 (completion-all-completions): Remove ill-defined (and
17916 mistakenly installed and luckily never used nor documented)
17917 `completion-styles' property.
17918 (completion-initials-expand, completion-initials-all-completions)
17919 (completion-initials-try-completion): New functions.
17920 (completion-styles-alist): Add doc to each entry.
17921 Add new `initials' entry.
17923 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17925 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17926 MI command -var-evaluate-expression.
17927 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17928 and tweak for case of string child.
17929 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17931 2009-09-01 Glenn Morris <rgm@gnu.org>
17933 * add-log.el (change-log-date-face, change-log-name-face)
17934 (change-log-email-face, change-log-file-face, change-log-list-face)
17935 (change-log-conditionals-face, change-log-function-face)
17936 (change-log-acknowledgement-face):
17937 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17938 (custom-modified-face, custom-set-face, custom-changed-face)
17939 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17940 (custom-documentation-face, custom-state-face, custom-comment-face)
17941 (custom-comment-tag-face, custom-variable-tag-face)
17942 (custom-variable-button-face, custom-face-tag-face)
17943 (custom-group-tag-face-1, custom-group-tag-face):
17944 * diff-mode.el (diff-header-face, diff-file-header-face)
17945 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17946 (diff-added-face, diff-changed-face, diff-function-face)
17947 (diff-context-face, diff-nonexistent-face):
17948 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17949 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17950 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17951 (Info-title-4-face):
17952 * isearch.el (isearch-lazy-highlight-face):
17953 * log-view.el (log-view-file-face, log-view-message-face):
17954 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17955 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17956 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17958 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17959 (smerge-base-face, smerge-markers-face):
17960 * wid-edit.el (widget-documentation-face, widget-button-face)
17961 (widget-field-face, widget-single-line-field-face)
17962 (widget-inactive-face, widget-button-pressed-face):
17963 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17964 (woman-addition-face):
17965 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17966 (eshell-ls-executable-face, eshell-ls-readonly-face)
17967 (eshell-ls-unreadable-face, eshell-ls-special-face)
17968 (eshell-ls-missing-face, eshell-ls-archive-face)
17969 (eshell-ls-backup-face, eshell-ls-product-face)
17970 (eshell-ls-clutter-face):
17971 * eshell/em-prompt.el (eshell-prompt-face):
17972 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17973 * obsolete/old-whitespace.el (whitespace-highlight-face):
17974 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17975 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17976 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17977 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17978 (antlr-font-lock-literal-face):
17979 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17980 (ebrowse-root-class-face, ebrowse-file-name-face)
17981 (ebrowse-default-face, ebrowse-member-attribute-face)
17982 (ebrowse-member-class-face, ebrowse-progress-face):
17983 * progmodes/make-mode.el (makefile-space-face):
17984 * progmodes/sh-script.el (sh-heredoc-face):
17985 * textmodes/flyspell.el (flyspell-incorrect-face)
17986 (flyspell-duplicate-face):
17987 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17988 * textmodes/texinfo.el (texinfo-heading-face):
17989 Mark face aliases with "-face" suffix as obsolete.
17991 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17994 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17995 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17996 easy-menu-define wants to modify these.
17998 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18000 * net/browse-url.el (browse-url-file-url):
18001 * term/internal.el (dos-codepage-setup):
18002 Use default-value rather than default-enable-multibyte-characters.
18004 * progmodes/etags.el (etags-goto-tag-location):
18005 * progmodes/flymake.el (flymake-highlight-line)
18006 (flymake-goto-file-and-line, flymake-goto-line):
18007 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18008 (gdb-goto-breakpoint):
18009 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18010 * progmodes/python.el (python-find-function)
18011 (python-pdbtrack-track-stack-file):
18012 * progmodes/verilog-mode.el (verilog-surelint-off):
18013 * term/ns-win.el (ns-open-file-select-line):
18014 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18015 Use forward-line rather than goto-line.
18017 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18018 * textmodes/reftex-index.el (reftex-display-index):
18019 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18020 * textmodes/reftex-toc.el (reftex-toc):
18021 Remove unnecessary bindings of default-major-mode (all are followed by
18022 major-mode check and possible mode switch).
18024 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18026 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18027 Handle watchpoints (bug#4282).
18028 (def-gdb-thread-buffer-command): Enable thread to be selected by
18029 clicking without selecting threads buffer first.
18030 (gdb-current-context-command): Use selected frame so that "up",
18031 "down" etc work in the GUD buffer.
18032 (gdb-update): Find selected frame before rendering stack buffer.
18033 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18035 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18037 * progmodes/sym-comp.el (displayed-completions): Remove.
18038 (symbol-complete): Use minibuffer-complete.
18040 2009-08-31 Glenn Morris <rgm@gnu.org>
18042 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18044 * apropos.el (apropos-symbols-internal):
18045 Handle (obsolete) face aliases.
18047 * faces.el (describe-face): Adjust the output format to be more like
18048 describe-variable, and to mention (obsolete) face aliases.
18049 Adjust the whitespace so that help-setup-xref works.
18051 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18052 * calendar/diary-lib.el (diary-button-face):
18053 Mark these face aliases as obsolete.
18055 * calendar/calendar.el (calendar-today): Doc fix.
18057 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18059 * progmodes/gdb-mi.el (gdb-control-all-threads)
18060 (gdb-control-current-thread): Force tool bar update.
18061 (gdb-non-stop-handler): New function.
18062 (gdb-init-1): Use it to test if non-stop mode is supported.
18063 Remove unused gdbmi buffer type.
18065 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18067 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18068 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18070 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18072 * comint.el (comint-exec-1): Check command is non-null first.
18073 Part of gdb-mi.el change (2009-08-28).
18075 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18077 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18079 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18081 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18082 instead of `dolist' to avoid a recursive require when bootstrapping.
18084 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18086 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18088 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18090 * net/imap.el (imap-send-command): Simplify.
18091 (imap-wait-for-tag): point-max -> buffer-size.
18093 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18095 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18096 with constant argument.
18098 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18100 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18102 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18103 Change default, since most of our files don't have a history.
18104 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18107 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18110 * calc/calc.el: Improve commenting convention.
18111 (calc-digit-map, toplevel): Simplify.
18113 * comint.el (comint-insert-input): Be careful to only set point if we
18114 don't delegate to some other command.
18116 * proced.el (proced-signal-list): Make it an alist.
18117 (proced-grammar-alist): Capitalize names.
18118 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18119 Disable undo manually and make it read-only.
18120 Use completion-annotate-function.
18122 * minibuffer.el (minibuffer-message): If the current buffer is not
18123 a minibuffer, insert the message in the echo area rather than at the
18125 (completion-annotate-function): New variable.
18126 (minibuffer-completion-help): Use it.
18127 (completion--embedded-envvar-table): Environment vars are
18128 always case-sensitive.
18130 2009-08-30 Glenn Morris <rgm@gnu.org>
18132 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18133 from fortran-current-defun.
18134 (fortran-beginning-of-subprogram): Be more precise about finding the
18135 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18136 (fortran-end-of-subprogram): Simplify.
18137 (fortran-current-defun): Use fortran-start-prog-re.
18139 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18141 * subr.el (do-after-load-evaluation): Simplify.
18143 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18145 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18147 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18148 (vc-rcs-print-log): Use it.
18150 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18152 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18154 * paths.el (abbrev-file-name): Move to abbrev.el.
18155 * abbrev.el (abbrev-file-name): Move from paths.el.
18156 Obey user-emacs-directory.
18157 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18158 user-emacs-directory.
18159 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18160 abbrev-file-name and calc-settings-file any more.
18161 * startup.el (command-line): Recompute abbrev-file-name and
18162 abbreviated-home-dir.
18163 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18164 of the special code for when C-h bindings haven't been changed.
18165 (display-startup-echo-area-message): Use with-current-buffer.
18166 (command-line-1): Use a list of strings, rather than a list of lists
18167 of strings for longopts.
18169 * files.el (get-free-disk-space): Use / for default-directory.
18171 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18172 Use with-current-buffer.
18174 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18175 Recognize immutable variables like most-positive-fixnum.
18176 (byte-compile-setq-default): Check and warn if trying to assign
18177 to an immutable variable, or a non-variable.
18179 * progmodes/cc-vars.el (c-comment-continuation-stars):
18180 * progmodes/cc-engine.el (c-looking-at-bos):
18181 * progmodes/cc-cmds.el (c-toggle-auto-state)
18182 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18183 (c-comment-line-break-function): Add version of obsolescence.
18185 2009-08-28 Juri Linkov <juri@jurta.org>
18187 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18188 associated with `archive-mode'.
18190 * image.el (image-type-header-regexps): Use only JPEG magic number
18191 to determine JPEG images, and don't use `image-jpeg-p' because
18192 Emacs can display non-JFIF non-Exif JPEG images.
18194 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18196 * arc-mode.el (archive-mode):
18197 * emacs-lisp/re-builder.el (re-builder-unload-function):
18198 Protect against the default value of `major-mode' being nil.
18200 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18202 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18203 Fix typos in docstrings.
18205 * progmodes/js.el (js--macro-decl-re): Doc fix.
18206 (js--plain-method-re, js--split-name): Refloc docstring.
18207 (js--class-styles, js--make-merged-item, js--splice-into-items):
18208 Fix typos in docstrings; reflow docstrings.
18209 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18210 (js--variable-decl-matcher, js--inside-pitem-p)
18211 (js--parse-state-at-point, js--get-all-known-symbols)
18212 (js--symbol-history, js-find-symbol, js--js-references)
18213 (js--moz-interactor, js--js-encode-value, js--read-tab):
18214 Fix typos in docstrings.
18216 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18218 * textmodes/reftex.el (reftex-get-file-buffer-force):
18219 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18220 * emulation/viper.el (viper-go-away, viper-set-hooks):
18221 * emacs-lisp/re-builder.el (re-builder-unload-function):
18222 * emacs-lisp/bytecomp.el (byte-compile-file):
18223 * ses.el (ses-unload-function):
18224 * hexl.el (hexl-find-file):
18225 * files.el (normal-mode):
18226 * ehelp.el (with-electric-help):
18227 * autoinsert.el (auto-insert-alist):
18228 * arc-mode.el (archive-mode):
18229 Use (default-value 'major-mode) instead of default-major-mode.
18231 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18232 * international/mule.el (load-with-code-conversion):
18233 * emacs-lisp/debug.el (debug):
18234 * ediff-vers.el (ediff-rcs-get-output-buffer):
18235 * dired.el (dired-internal-noselect): Don't let-bind
18236 default-major-mode around code that doesn't use it.
18237 E.g. buffer creation via get-buffer-create doesn't use it.
18239 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18241 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18242 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18243 when writing the temp file. Otherwise, epa-file gets confused.
18244 (tramp-register-file-name-handlers): Make it a defun. Move also
18245 `epa-file-handler' to the front of `file-name-handler-alist'.
18247 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18249 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18250 start right after a ^M.
18251 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18252 (tramp-completion-file-name-regexp-separate)
18253 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18254 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18255 Don't modify last-coding-system-used by accident.
18256 (tramp-completion-file-name-handler): Apply the checks here,
18257 instead during registration.
18258 (tramp-register-file-name-handlers): Rename from
18259 `tramp-register-file-name-handler'. Register both
18260 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18261 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18263 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18265 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18266 Remove variable ...
18267 (gdb-init-1, gdb-display-separate-io-buffer)
18268 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18270 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18271 (gdb-inferior-filter): Use comint-output-filter to stop
18272 echoing and remove ^M characters.
18274 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * emulation/viper-init.el (viper-restore-cursor-type):
18277 * emulation/cua-base.el (cua--update-indications):
18278 Replace default-cursor-type with (default-value 'cursor-type).
18280 * mail/sendmail.el (mail-recover-1):
18281 * international/mule-diag.el (describe-current-coding-system-briefly)
18282 (describe-current-coding-system):
18283 * international/mule-cmds.el (select-safe-coding-system)
18284 (select-message-coding-system)
18285 (set-language-environment-coding-systems, set-locale-environment):
18286 * hexl.el (hexl-insert-multibyte-char):
18287 * dos-w32.el (find-buffer-file-type-coding-system):
18288 * simple.el (what-cursor-position):
18289 Replace uses of default-buffer-file-coding-system
18290 with (default-value 'buffer-file-coding-system).
18292 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18293 Replace uses of default-cursor-in-non-selected-windows
18294 with (default-value 'cursor-in-non-selected-windows).
18295 Use with-current-buffer.
18297 * mail/feedmail.el: Use CL macros.
18298 (feedmail-run-the-queue, feedmail-send-it-immediately):
18299 * dos-w32.el (find-buffer-file-type): Replace uses of
18300 default-buffer-file-type with (default-value 'buffer-file-type).
18302 2009-08-28 Glenn Morris <rgm@gnu.org>
18304 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18305 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18306 Use default-value of major-mode rather than default-major-mode.
18308 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18310 * Makefile.in (update-elcfiles): Report left over elc files.
18312 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18313 expand-file-name and with-current-buffer.
18314 (mail-get-names, mail-directory): Use with-current-buffer.
18316 * vc.el (vc-read-revision): New function.
18317 (vc-version-diff, vc-merge): Use it.
18319 2009-08-27 Sam Steingold <sds@gnu.org>
18321 * simple.el (kill-do-not-save-duplicates): New user option.
18322 (kill-new): When it is non-nil, and the new string is the same as
18323 the latest kill, set replace to t to avoid duplicates in kill-ring.
18325 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18327 * net/tramp.el (tramp-handle-process-file): Do not flush all
18328 caches when `process-file-side-effects' is set.
18329 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18330 instead of `tramp-find-file-exists-command'.
18331 Unset `process-file-side-effects'.
18333 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18335 * net/tramp.el (tramp-methods): New method "rsyncc".
18336 (top): Add completion function for "rsyncc".
18337 (tramp-message-show-message): New defvar.
18338 (tramp-message, tramp-error): Use it.
18339 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18341 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18342 `tramp-methods' entry `copy-env' of "rsyncc".
18343 (tramp-vc-registered-read-file-names): New defconst.
18344 (tramp-vc-registered-file-names): New defvar.
18345 (tramp-handle-vc-registered): Implement optimization strategy.
18346 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18347 (tramp-vc-file-name-handler): New defun.
18348 (tramp-get-ls-command, tramp-get-test-command)
18349 (tramp-get-file-exists-command, tramp-get-remote-ln)
18350 (tramp-get-remote-perl, tramp-get-remote-stat)
18351 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18353 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18354 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18356 (tramp-get-file-property): Check for timestamps in
18357 `tramp-cache-inhibit-cache'.
18358 (tramp-set-file-property): Write timestamp.
18360 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18362 * language/japan-util.el (japanese-symbol-table): Add entries for
18365 * international/characters.el: Add category `j' to cp932-2-byte.
18367 2009-08-27 Kenichi Handa <handa@m17n.org>
18369 * international/fontset.el (build-default-fontset-data): New macro.
18370 (setup-default-fontset): Use build-default-fontset-data for CJK,
18371 tibetan, ethiopic, and ipa.
18373 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18375 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18376 (enable-multibyte-characters): Not customizable any more.
18378 * subr.el (default-mode-line-format, default-header-line-format)
18379 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18380 (default-direction-reversed, default-truncate-lines)
18381 (default-left-margin, default-tab-width, default-case-fold-search)
18382 (default-left-margin-width, default-right-margin-width)
18383 (default-left-fringe-width, default-right-fringe-width)
18384 (default-fringes-outside-margins, default-scroll-bar-width)
18385 (default-vertical-scroll-bar, default-indicate-empty-lines)
18386 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18387 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18388 (default-scroll-down-aggressively, default-fill-column)
18389 (default-cursor-type, default-buffer-file-type)
18390 (default-cursor-in-non-selected-windows)
18391 (default-buffer-file-coding-system, default-major-mode)
18392 (default-enable-multibyte-characters): Mark as obsolete.
18394 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18396 * vc-dir.el (vc-dir-update): Remove debug helper.
18398 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18400 2009-08-26 Sam Steingold <sds@gnu.org>
18402 * simple.el (save-interprogram-paste-before-kill): New user option.
18403 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18404 save the interprogram-paste into kill-ring before overriding it
18405 with the Emacs kill.
18407 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18409 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18410 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18411 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18412 and move to vc-rcs.el.
18413 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18415 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18416 (vc-rcs-update-changelog): Remove.
18417 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18418 and move to vc-rcs.el.
18420 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18421 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18423 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18424 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18425 vc.el, renamed to be RCS specific.
18427 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18429 (vc-cvs-update-changelog): Move here from vc.el.
18431 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18434 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18436 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18438 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18440 * vc-git.el (vc-git-register): Use "git add" for directories.
18441 (vc-git-stash, vc-git-stash-show): New functions.
18442 (vc-git-extra-menu-map): Bind them.
18444 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18445 directory correctly in case the item is a directory itself.
18447 * vc.el: Document the desired behavior for reverted files in the
18449 (vc-default-prettify-state-info): Remove function, unused.
18451 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18453 2009-08-26 Glenn Morris <rgm@gnu.org>
18455 * bindings.el (standard-mode-line-format): Reposition dashes in
18456 which-func entry. (Bug#4217)
18458 * files.el (enable-local-variables, enable-local-eval)
18459 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18461 (auto-mode-alist, ignored-local-variables)
18462 (save-some-buffers-action-alist): Move risky declarations to the
18464 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18465 (font-lock-defaults, format-alist, imenu--index-alist)
18466 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18467 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18468 (mode-line-modified, mode-line-mule-info, mode-line-position)
18469 (mode-line-process, mode-line-remote, outline-level)
18470 (parse-time-rules, rmail-output-file-alist)
18471 (special-display-buffer-names, vc-mode):
18472 Move risky declarations to the relevant files.
18473 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18474 (mode-line-modified, mode-line-process, mode-line-position)
18475 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18476 * font-core.el (font-lock-defaults):
18477 * format.el (format-alist):
18478 * vc-hooks.el (vc-mode):
18479 * window.el (special-display-buffer-names):
18480 * international/mule-cmds.el (input-method-alist):
18481 Define riskiness here (dumped file) rather than in files.el.
18482 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18483 * imenu.el (imenu-generic-expression, imenu--index-alist):
18484 * outline.el (outline-level):
18485 * time.el (display-time-string):
18486 * calendar/parse-time.el (parse-time-rules):
18487 * mail/rmailout.el (rmail-output-file-alist):
18488 Autoload riskiness here, rather than placing in files.el.
18490 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18492 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18494 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18496 * simple.el (process-file-side-effects): New defvar.
18498 * dired-aux.el (dired-show-file-type):
18499 * vc.el (vc-diff-internal):
18500 * vc-arch.el (vc-arch-diff):
18501 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18502 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18503 * vc-git.el (vc-git-registered, vc-git-working-revision)
18504 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18505 (vc-git--empty-db-p):
18506 * vc-hooks.el (vc-user-login-name):
18507 * vc-svn.el (vc-svn-registered, vc-svn-state)
18508 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18509 * progmodes/grep.el (grep-probe): Let-bind
18510 `process-file-side-effects' with nil.
18512 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18514 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18515 daemon. Replace ping by checking for running service for bluez
18516 and zeroconf. (Bug#4239)
18518 2009-08-25 Kevin Ryde <user42@zip.com.au>
18520 * net/dig.el (dig): Add autoload cookie.
18522 2009-08-25 Glenn Morris <rgm@gnu.org>
18524 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18525 load-history for absolute file-names.
18526 (byte-compile-file-form-require): Warn about use of the cl package.
18528 * format.el (format-alist): Doc fix.
18530 * play/bubbles.el (top-level): Don't require cl at run-time.
18532 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18535 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18537 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18539 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18541 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18543 * calc/calc-alg.el (math-trig-rewrite)
18544 (math-hyperbolic-trig-rewrite): New functions.
18545 (calc-simplify): Simplify trig functions when asked.
18547 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18549 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18551 2009-08-24 Kenichi Handa <handa@m17n.org>
18553 * language/ind-util.el (mapthread): Delete it.
18554 (combinatorial): New function.
18555 (indian--puthash-cv): Use combinatorial instead of mapthread.
18557 2009-08-22 Kevin Ryde <user42@zip.com.au>
18559 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18560 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18561 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18562 Clarify docstring that the value is strings not symbols.
18563 (checkdoc-list-of-strings-p): New function.
18565 2009-08-22 Glenn Morris <rgm@gnu.org>
18567 * files.el (auto-mode-alist):
18568 * hippie-exp.el (he-concat-directory-file-name):
18569 * lpr.el (lpr-windows-system, printer-name):
18570 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18571 * ps-print.el (ps-windows-system):
18572 * startup.el (command-line):
18573 * emulation/viper-ex.el (viper-glob-function):
18574 * international/mule-cmds.el (set-language-environment-coding-systems):
18575 * net/ange-ftp.el (ange-ftp-write-region):
18576 * obsolete/fast-lock.el (fast-lock-cache-name):
18577 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18578 unisoft-unix, vax-vms, win32, w32.
18580 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18581 given name if the pattern is not more specific.
18583 * calendar/lunar.el (lunar-phase-names): New option.
18584 (lunar-phase): Doc fix.
18585 (lunar-cycles-per-year): New constant.
18586 (lunar-index): New function.
18587 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18588 (lunar-phase-name): Use lunar-phase-names.
18589 (calendar-lunar-phases): Use format.
18590 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18592 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18593 Copy imenu-example--name-and-position function here for own use.
18594 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18596 * bs.el (bs--redisplay):
18597 * cus-edit.el (custom-redraw):
18598 * ibuffer.el (ibuffer-bury-buffer):
18599 * server.el (server-goto-line-column):
18600 * startup.el (command-line-1):
18601 * strokes.el (strokes-xpm-for-stroke):
18602 * term.el (term-display-buffer-line):
18603 * view.el (View-goto-line):
18604 * calc/calc.el (calc-do, calc-trail-buffer):
18605 * play/gamegrid.el (gamegrid-add-score-insecure):
18606 * progmodes/ada-mode.el (ada-compile-goto-error):
18607 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18608 (ebrowse-select-1st-to-9nth):
18609 * progmodes/cperl-mode.el (cperl-time-fontification):
18610 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18611 * progmodes/gud.el (gud-display-line):
18612 (idlwave-shell-display-line):
18613 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18614 * progmodes/make-mode.el (makefile-browser-toggle):
18615 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18616 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18617 * textmodes/picture.el (picture-draw-rectangle):
18618 * textmodes/reftex-index.el (reftex-index-goto-letter):
18619 (reftex-select-jump-to-previous):
18620 * textmodes/reftex-sel.el (reftex-find-start-point)
18621 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18622 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18623 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18624 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18625 * textmodes/two-column.el (2C-associated-buffer):
18626 Use forward-line rather than goto-line.
18628 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18631 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18632 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18633 (quick-check-list-to-regexp): Declare.
18635 * progmodes/make-mode.el (makefile-browser-insert-selection):
18636 Use goto-char rather than goto-line.
18638 * progmodes/prolog.el (compilation-error-regexp-alist)
18639 (compilation-forget-errors): Declare.
18641 2009-08-22 Juri Linkov <juri@jurta.org>
18643 * progmodes/grep.el (lgrep, rgrep): At the beginning
18644 set `dir' to `default-directory' unless `dir' is a non-nil
18645 readable directory. (Bug#4052)
18646 (lgrep, rgrep): Change a weird way to report an error
18647 from using `read-string' to using `error'.
18648 Instead of using interactive arguments in the function body,
18649 add new argument `confirm'.
18651 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18653 * textmodes/remember.el (remember-buffer):
18654 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18655 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18656 (icalendar-extract-ical-from-buffer):
18657 * net/newst-treeview.el (newsticker-groups-filename):
18658 * net/newst-backend.el (newsticker-cache-filename):
18659 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18660 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18661 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18662 (speedbar-buffers-line-path, speedbar-path-line)
18663 (speedbar-buffers-line-path):
18664 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18666 * epa.el (epa-display-verify-result):
18667 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18669 2009-08-21 Glenn Morris <rgm@gnu.org>
18671 * progmodes/js.el (inferior-moz-process): Fix declaration.
18673 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18675 * obsolete/rnewspost.el (news-mail-reply):
18676 Use goto-char rather than goto-line.
18678 * term/ns-win.el (ns-open-file-select-line):
18679 Use line-beginning-position rather than goto-line.
18681 * apropos.el (apropos-command):
18682 * ehelp.el (electric-helpify):
18683 * printing.el (pr-show-setup):
18684 * strokes.el (strokes-help):
18685 * tutorial.el (tutorial--describe-nonstandard-key)
18686 (tutorial--detailed-help):
18687 * woman.el (woman-mini-help, woman-display-extended-fonts):
18688 * calc/calc-help.el (calc-describe-key):
18689 * emulation/edt.el (edt-electric-helpify):
18690 * international/mule-diag.el (mule-diag):
18691 * play/yow.el (apropos-zippy):
18692 * progmodes/python.el (python-describe-symbol):
18693 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18694 * textmodes/table.el (*table--cell-describe-mode)
18695 (*table--cell-describe-bindings):
18696 Use help-print-return-message rather than the now obsolete alias.
18698 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18699 (calendar-cursor-to-visible-date):
18700 * play/5x5.el (5x5-position-cursor):
18701 * play/decipher.el (decipher):
18702 * play/gomoku.el (gomoku-goto-xy):
18703 * play/landmark.el (lm-goto-xy):
18704 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18705 (mpuz-paint-digit):
18706 Use forward-line, not goto-line.
18708 * mail/rmail.el (rmail-obsolete): Delete custom group.
18709 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18710 (rmail-remote-password, rmail-remote-password-required):
18711 Remove unneeded :set-after and :set properties.
18713 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18715 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18717 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18719 * loadup.el: Remove leftover macos code.
18721 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18722 Explicitly pass the date format to git blame so that user local
18723 so that the output format can be parsed.
18725 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18727 * net/dbus.el (top): Don't check for (getenv
18728 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18730 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18732 * log-edit.el (log-edit-strip-single-file-name): New var.
18733 (log-edit-insert-changelog): Use it. Bug#3571
18735 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18737 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18740 * help.el (help-print-return-message): Rename from
18741 print-help-return-message.
18743 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18744 cvs-mode-map parent hack.
18745 (log-view-mode): Derive from special-mode.
18747 * linum.el (linum-mode): window-size-change-functions is redundant.
18748 Adapt to new window-configuration-change-hook behavior.
18749 (linum-after-size, linum-after-config): Remove.
18751 * imenu.el (imenu-example--name-and-position)
18752 (imenu-example--lisp-extract-index-name)
18753 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18756 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18757 (inferior-prolog-mode): Use it.
18758 (inferior-prolog-load-file): Reset list of errors.
18760 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18762 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18764 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18766 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18768 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18769 is running already.
18771 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18773 * subr.el (listify-key-sequence-1): Use normal syntax since those
18774 integers are nowadays always represented by the same (positive) number
18776 (read-key-empty-map): New const.
18777 (read-key-delay): New var.
18778 (read-key): New function.
18779 (force-mode-line-update): Use with-current-buffer.
18780 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18781 (start-process-shell-command, start-file-process-shell-command):
18782 Discourage the use of command-args.
18784 2009-08-19 Glenn Morris <rgm@gnu.org>
18786 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18788 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18790 * simple.el (choose-completion-string): Don't rely on
18791 minibuffer-completing-file-name and ad-hoc checks to decide whether
18792 to continue completion or not.
18794 * minibuffer.el (minibuffer-hide-completions): New function.
18795 (completion--do-completion): Use it.
18796 (completions-annotations): New face.
18797 (completion--insert-strings): Use it.
18798 (completion-pcm--delim-wild-regex): Add docstring.
18799 (completion-pcm--string->pattern): Add support for 0-width delimiters
18800 in completion-pcm--delim-wild-regex.
18802 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18804 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18805 Remove unused var `buffer-modified-p'.
18807 * minibuffer.el (completion--do-completion): Move point for the #b001
18808 case as well (bug#4176).
18809 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18811 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18813 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18814 and :session buses.
18816 2009-08-18 Kenichi Handa <handa@m17n.org>
18818 * international/ucs-normalize.el (ucs-normalize-version):
18820 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18821 (utf-8-hfs): Make it perform normalization on encoding too.
18823 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18824 (sentence-end-without-space): Delete duplicated chars.
18825 (sentence-end-base): Likewise.
18827 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18828 (html-mode): Delete duplicated chars from sentence-end-base.
18830 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18831 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18833 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18835 * files.el (hack-one-local-variable): If the mode function is for
18836 a minor mode, pass it an argument (Bug#4148).
18838 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18840 * net/tramp.el (tramp-register-completion-file-name-handler):
18841 Check also for (member 'partial-completion completion-styles).
18843 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18845 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18848 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18850 * progmodes/cperl-mode.el: Merge upstream 6.2.
18851 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18852 (cperl-forward-re): Check cperl-brace-recursing.
18853 (cperl-highlight-charclass): New function.
18854 (cperl-find-pods-heres): Use it.
18855 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18856 (cperl-beautify-regexp-piece): Fix column calculation.
18857 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18858 (cperl-beautify-level): Don't process entire regexp.
18859 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18861 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18862 (cperl-init-faces): Build a list in the normal way.
18864 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18866 * calendar/parse-time.el (parse-time-string-chars): Save match
18869 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18872 (sql-product): Use it.
18873 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18874 (sql-set-product): Add completion.
18875 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18876 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18877 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18878 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18879 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18880 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18881 (sql-highlight-db2-keywords): Remove.
18882 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18883 (sql-highlight-product): Use derived-mode-p.
18884 (sql-set-sqli-buffer): Use with-current-buffer.
18885 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18888 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18890 * term.el: Fix commenting convention, turn comments into docstrings.
18892 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18894 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18896 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18898 * calendar/parse-time.el (parse-time-string-chars): Compute using
18899 character classes, to handle non-ascii characters (Bug#3190).
18901 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18903 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18904 another heredoc if the user adds another < (Bug#3226).
18906 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18907 Don't initialize based on window-system (Bug#4124).
18909 * facemenu.el (facemenu-read-color): Use a completion function
18910 that accepts any defined color, such as RGB triplets (Bug#3677).
18912 * files.el (get-free-disk-space): Change fallback default
18913 directory to /. Expand DIR argument before switching to fallback.
18914 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18916 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18918 * files.el (load-library): Doc fix.
18920 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18922 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18923 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18924 incremental search string.
18926 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18929 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18930 (ediff-merge-region-is-non-clash)
18931 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18932 Also check if the job is really a merge job.
18934 * ediff.el (ediff-current-file): New function.
18936 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18938 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18940 (js-insert-and-indent): Delete function.
18941 (js-mode-map): Don't bind keys to js-insert-and-indent.
18942 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18943 (js-end-of-defun): Rename from js--end-of-defun.
18944 (js-auto-indent-flag): Delete variable.
18946 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18948 * progmodes/js.el: Remove proclaim statement.
18949 Defvar which-func-imenu-joiner-function to silence compiler.
18951 * files.el (auto-mode-alist): Use js-mode for .js files.
18953 * progmodes/js2-mode.el: Remove file.
18955 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18957 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18959 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18961 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18962 Karl Landstrom <karl.landstrom@brgeight.se>
18964 * progmodes/js.el: New file.
18966 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18968 * timezone.el (timezone-parse-date): Add ability to understand ISO
18969 basic format (minimal separators) dates in addition to the
18970 already-supported extended format dates.
18972 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18974 * international/ucs-normalize.el: Add a `coding' file variable.
18976 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18978 2009-08-14 Sam Steingold <sds@gnu.org>
18980 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18982 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18984 * faces.el (help-argument-name): Define it here instead of
18985 help-fns.el, because in daemon mode help-fns.el may be loaded when
18986 faces are still uninitialized (Bug#1078).
18988 * help-fns.el (help-argument-name): Move defface to faces.el.
18990 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18992 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18993 create buffer with a pty but no process so that GDB can make the
18994 inferior the controlling process.
18996 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18998 * international/ucs-normalize.el: New file.
19000 2009-08-13 Richard Stallman <rms@gnu.org>
19002 * mail/rmail.el (rmail-get-attr-names):
19003 Accept an attribute header that is too short.
19005 * mail/rmail.el (rmail-forget-messages):
19006 Ignore nil elt in rmail-message-vector. Use dotimes.
19008 * progmodes/compile.el (compilation-goto-locus):
19009 Use next-error-move-function.
19011 * simple.el (next-error-move-function): New variable.
19013 2009-08-12 Juri Linkov <juri@jurta.org>
19015 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19016 always non-nil. (Bug#4052)
19018 * replace.el (read-regexp): Return empty string when
19019 `default-value' is nil.
19020 (keep-lines-read-args): Don't use empty string as the
19021 default value for `read-regexp'. (Bug#2495)
19023 2009-08-12 Juri Linkov <juri@jurta.org>
19025 * international/mule-cmds.el (ucs-insert): Change arguments
19026 from `arg' to `character', `count', `inherit' to be the same
19027 as in `insert-char'. Doc fix. (Bug#4039)
19029 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19031 2009-08-12 Juri Linkov <juri@jurta.org>
19033 * files-x.el: New file.
19035 * files.el: Move code that deals with adding/deleting
19036 file/directory-local variables to files-x.el.
19038 * Makefile.in (ELCFILES): Add files-x.elc.
19040 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19042 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19043 to use `goto-line'.
19044 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19046 (gdb-invalidate-disassembly): Do not refresh upon receiving
19047 'update signal. Instead, update all disassembly buffers only after
19049 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19050 (gdb-starting): Move -data-list-register-names...
19051 (gdb-stopped): ...here so it's sent when first thread stops.
19052 (gdb-registers-handler-custom): Do nothing if register names are
19055 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19056 from `gdb-mi.el' to avoid extra tangling.
19058 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19059 change which breaks `gud-def' definitions used in `gdb'.
19060 (gdb-update-gud-running): No extra fuss for updating frame number.
19062 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19065 (describe-language-environment-map, setup-language-environment-map)
19066 (set-coding-system-map): Move initialization into declaration.
19067 (set-language-info-alist): Last arg to define-key-after can be skipped.
19069 * international/quail.el (quail-completion-1): Simplify.
19070 (quail-define-rules): Use slightly more compact code.
19071 (quail-insert-decode-map): Propertize keys, compact columns.
19073 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19076 2009-08-10 Miles Bader <miles@gnu.org>
19078 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19079 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19080 (js2-instance-member, js2-private-member, js2-private-function-call)
19081 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19082 (js2-magic-paren, js2-external-variable):
19083 Remove "-face" suffix from face names.
19084 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19085 (js2-highlight-undeclared-vars, js2-peek-token)
19086 (js2-parse-function-params, js2-mode-show-errors)
19087 (js2-mode-show-warnings, js2-make-magic-delimiter)
19088 (js2-mode-highlight-magic-parens): Update to use new face names.
19090 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19092 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19093 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19095 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19097 * subr.el: Provide hashtable-print-readable.
19099 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19100 hs-c-like-adjust-block-beginning.
19101 (hs-hide-block-at-point): Stop hiding at the beginning of
19102 hs-block-end-regexp (Bug#700).
19104 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19106 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19108 (gdb-registers-handler-custom): Do not fail when register names
19111 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19113 * progmodes/gdb-mi.el (gdb-control-all-threads)
19114 (gdb-control-current-thread): Interactive setters for
19115 `gdb-gud-control-all-threads' to use in menu.
19116 (gdb-show-run-p): Show «Go» when process is not active.
19117 (gud-tool-bar-map): Add non-stop/A,T indicator.
19118 Uses gud/thread.xpm and gud/all.xpm.
19120 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19122 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19123 (nslookup-font-lock-keywords): Make it a variable.
19124 (net-utils-mode): New mode for viewing diagnostic network output.
19125 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19126 (net-utils-run-simple): New function.
19127 (ifconfig, iwconfig, netstat, arp, route): Use it.
19129 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19131 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19132 (gdb-memory-set-address, def-gdb-set-positive-number)
19133 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19134 after changing settings.
19135 (gdb-invalidate-disassembly): Update when first shown.
19136 (gdb-edit-locals-value): Fixed.
19137 (gdb-registers-handler-custom): Print registers in right order and
19138 allow changing register values (only for current thread yet).
19139 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19140 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19141 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19142 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19143 Thread info in mode name.
19144 (gdb-registers-mode-map): TAB to switch to locals.
19146 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19148 * mail/rmail.el (rmail-add-mbox-headers)
19149 (rmail-set-message-counters-counter): Search for
19150 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19152 2009-08-08 Glenn Morris <rgm@gnu.org>
19154 * Makefile.in (ELCFILES): Update.
19156 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19158 * mail/sendmail.el (mail-yank-original):
19159 Set buffer-file-coding-system from the one used by the message whose
19162 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19163 to "windows" when "pgnuplot" is used.
19164 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19165 Don't call accept-process-output if "pgnuplot" is used.
19166 (calc-graph-init): Don't send -display and -geometry to
19167 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19168 running "pgnuplot -V" with shell-command-to-string.
19170 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19173 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19175 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19178 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19180 * vc-dispatcher.el (vc-resynch-window): Update comment.
19182 * term.el (term-handle-ansi-escape): Add comments with the
19183 terminfo capabilities implemented.
19185 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19187 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19188 (gdb-var-create-handler): Rewritten using JSON parser.
19189 (gdb-propertize-header): Move earlier.
19190 (gdb-set-header): Remove to avoid duplication.
19191 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19192 Refresh disassembly buffers only after threads list have been
19194 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19197 2009-08-04 Juri Linkov <juri@jurta.org>
19199 * files.el: Commands to add/delete file/directory-local variables.
19200 (read-file-local-variable, read-file-local-variable-value)
19201 (read-file-local-variable-mode, modify-file-local-variable)
19202 (modify-file-local-variable-prop-line)
19203 (modify-dir-local-variable): New functions.
19204 (add-file-local-variable, delete-file-local-variable)
19205 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19206 (add-dir-local-variable, delete-dir-local-variable)
19207 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19208 (copy-dir-locals-to-file-locals-prop-line): New commands.
19210 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19212 * abbrev.el (insert-abbrev-table-description): Prettify output.
19213 Suggested by Karl Chen.
19215 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19217 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19218 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19219 (gdb-overlay-arrow-position, gdb-thread-position)
19220 (gdb-disassembly-position): Declare variables.
19221 (gdb-wait-for-pending): Function now.
19222 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19223 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19224 compilation goes smoothly.
19225 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19226 (gdb-non-stop-setting): New customization setting which replaces
19227 `gdb-non-stop' so changing it doesn't break active GDB session.
19228 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19229 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19230 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19231 (gdb-show-threads-by-default): New customization options.
19232 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19234 (gdb-get-buffer-create): Send buffers update signal when they are
19236 (gdb-invalidate-locals, gdb-invalidate-registers)
19237 (gdb-invalidate-breakpoints)
19238 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19239 (gdb-invalidate-memory): Accept update signal.
19240 (gdb-current-context-command): Use --frame option.
19241 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19242 Implement `gdb-frame-number' selection logic.
19243 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19244 whether to show GUD toolbar buttons.
19245 (gdb-thread-exited): Unselect current thread when it exits.
19246 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19247 (gdb-mark-line): Routine which sets overlay arrow or inverses
19248 video on fringeless displays.
19249 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19250 to build aligned columns of data in GDB buffers and set text
19251 properties line-by-line.
19252 (gdb-invalidate-breakpoints)
19253 (gdb-breakpoints-list-handler-custom)
19254 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19255 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19256 (gdb-registers-handler-custom): Align data columns.
19257 (gdb-locals-handler-custom): Now prints data like in variable
19259 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19260 Remove confusing buttons.
19261 (gdb-invalidate-threads): Append --frame.
19262 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19263 between breakpoints/threads buffers.
19264 (gdb-set-window-buffer): Now can ignore dedicated windows.
19265 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19266 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19267 (def-gdb-thread-buffer-gud-command): Replaces
19268 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19269 for fine thread control.
19270 (gdb-preempt-existing-or-display-buffer): New function used to
19271 display bound buffers without breaking window layout.
19272 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19273 (gdb-select-frame): New version of `gdb-frames-select' which now
19274 sets `gdb-frame-number' so commands may use --frame option instead
19275 of inner debugger state.
19276 (gdb-frame-handler): Do not set `gdb-frame-number'.
19277 (gdb-threads-mode-map): Select threads with mouse.
19279 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19280 avoid compilation warning.
19281 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19284 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19285 Argument `key' renamed to `buffer-type'.
19286 (gdb-current-context-buffer-name): Do not add thread info to
19287 buffer name when no thread is selected.
19288 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19289 command (bug 3794).
19290 (gdb-thread-selected): Handle `=thread-selected' notification.
19291 (gdb-wait-for-pending): New macro to deal with congestion problems.
19292 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19294 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19295 This fixes problem similar to one described in bug 3947.
19296 (gud-menu-map): More menu items.
19297 (gdb-init-1): Reset `gdb-thread-number' to nil.
19299 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19302 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19303 (gdb-current-context-command): Do not append --thread if
19304 `gdb-thread-number' is nil.
19305 (gdb-running-threads-count, gdb-stopped-threads-count):
19307 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19308 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19309 New customization options.
19310 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19312 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19313 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19314 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19315 set `gdb-thread-number' and update `gud-running' properly.
19316 (gdb-running): Update threads list when new threads appear.
19317 (gdb-stopped): Support non-stop operation and new thread switching
19319 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19320 (gdb-json-partial-output): New set of JSON routines.
19321 (def-gdb-auto-update-trigger): New `signal-list' optional
19323 (gdb-thread-list-handler-custom): Update `gud-running',
19324 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19325 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19326 (gdb-continue-thread, gdb-step-thread): New commands for fine
19327 thread execution control.
19328 (gud-menu-map): New menu items to switch non-stop options.
19329 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19330 (gdb-send): Mimic RET properly (bug 3794).
19332 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19333 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19335 (def-gdb-auto-update-handler): New nopreserve optional argument.
19336 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19338 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19339 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19340 (gdb-parent-mode): New mode to derive other GDB modes from.
19341 (gdb-display-disassembly-for-thread)
19342 (gdb-frame-disassembly-for-thread): New commands for threads
19345 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19346 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19347 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19348 (gdb-update): We now store all GDB buffers in a list so that they
19349 can be updated by traversing a list instead of calling invalidate
19350 triggers explicitly.
19351 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19352 pair for GDB buffer.
19353 (gdb-stack-buffer-name): Add thread information.
19354 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19355 handle pending triggers.
19356 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19357 (def-gdb-thread-buffer-simple-command)
19358 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19359 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19360 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19361 New commands which show buffers bound to thread.
19362 (gdb-stack-list-locals-regexp): Remove unused regexp.
19364 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19365 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19366 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19367 to (gud-comint-buffer) in *-buffer-name functions
19368 because (gdb-get-target-string) already does that.
19369 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19370 (gdb-changed-registers-handler): Rewritten without regexps.
19372 * progmodes/gdb-mi.el: Basic thread selection support.
19373 (gdb-thread-number): New variable.
19374 (gdb-current-context-command): New macro which adds --thread
19376 (gdb-threads-mode-map): Select thread with SPC.
19377 (gdb-thread-list-handler-custom): Mark current thread with overlay
19378 arrow. Synchronize GDB thread and Emacs thread.
19379 (gdb-select-thread): New command which selects current thread.
19380 (gdb-invalidate-frames, gdb-invalidate-locals)
19381 (gdb-invalidate-registers): Use --thread option.
19383 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19385 * net/tramp.el (top): Make check for tramp-gvfs loading more
19387 (tramp-handle-insert-file-contents): `unwind-protect' must be
19388 inside `with-parsed-tramp-file-name'.
19390 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19393 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19395 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19396 directory if CLASSPATH is not set.
19398 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19400 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19402 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19404 2009-08-02 Kevin Ryde <user42@zip.com.au>
19406 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19407 Update freshmeat link. Delete newsforge.com as it seems gone.
19409 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19411 * select.el (x-set-selection): Doc fix (Bug#4021).
19413 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19415 * help-fns.el (describe-variable): Treat list return values from
19416 dir-locals-find-file properly (Bug#4005).
19418 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19420 * net/tramp.el (tramp-debug-message): Print also microseconds.
19422 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19424 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19426 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19427 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19430 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19431 (tramp-get-file-property): Use it.
19433 * autorevert.el (auto-revert-handler):
19434 Allow `auto-revert-tail-mode' for remote files.
19436 2009-08-02 Jason Rumney <jasonr@gnu.org>
19438 * minibuffer.el (read-file-name): Treat confirm options to
19439 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19441 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19443 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19444 (font-lock-variable-name-face, font-lock-constant-face):
19445 Darken the colors for light backgrounds.
19447 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19449 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19450 month names. (Bug#3987)
19452 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19454 * simple.el (line-move-finish): Pass whole number to
19455 line-move-to-column.
19456 (line-move-visual): Perform hscroll to the recorded position.
19458 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19460 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19462 2009-07-29 Alan Mackenzie <acm@muc.de>
19464 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19466 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19468 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19469 (gdb-place-breakpoints): Use full path when setting breakpoints.
19471 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19473 * calc/calc.el (calc-mode-map): Add keybinding for
19474 `calc-transpose-lines'.
19476 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19478 * calc/calc-misc.el (calc-transpose-lines): New function.
19480 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19482 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19483 Simplify check for out-of-band methods.
19484 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19485 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19487 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19489 * vc-git.el (vc-git-checkin): Fix typo.
19491 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19493 * progmodes/js2-mode.el: New file.
19495 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19497 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19498 (gud-menu-map): Adjust tooltip accordingly.
19500 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19502 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19503 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19505 * add-log.el (change-log-mode-map): Add a menu.
19507 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19509 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19510 function returns nil.
19511 (dbus-handle-event): Handle special return value :ignore.
19512 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19514 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19516 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19519 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19523 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19525 * term/pc-win.el (x-display-name, x-colors)
19526 (x-select-enable-clipboard, x-select-text): Doc fix.
19528 * term/common-win.el (x-display-name, x-colors): Doc fix.
19530 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19531 (xw-defined-colors): Doc fix.
19533 * w32-fns.el (x-select-text, x-setup-function-keys)
19534 (x-get-selection, x-set-selection): Doc fix.
19536 * term/x-win.el (x-select-text, x-setup-function-keys)
19537 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19539 * select.el (x-set-selection): Doc fix.
19541 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19543 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19544 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19545 "IsNSSSupportAvailable" method is not available.
19546 Reported by Steve Youngs <steve@sxemacs.org>.
19548 2009-07-24 Kenichi Handa <handa@m17n.org>
19550 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19551 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19552 (build-unicode-category-table): Fix range checks.
19554 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19556 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19557 the buffer we try to sync is current when calling
19560 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19561 not show up to date files.
19563 2009-07-24 Glenn Morris <rgm@gnu.org>
19565 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19566 Add autoload cookies. If necessary, initialize.
19567 (elint-log): Handle non-file buffers.
19568 (elint-initialize): Add optional argument to reinitialize.
19569 (elint-find-builtin-variables): Save excursion.
19571 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19573 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19576 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19578 * vc.el (vc-print-log-internal): New function, split out from ...
19579 (vc-print-log): ... here.
19580 (vc-dir-move-to-goal-column): Declare.
19582 * vc-git.el (vc-git-add-signoff): New variable.
19583 (vc-git-checkin): Use it.
19584 (vc-git-toggle-signoff): New function.
19585 (vc-git-extra-menu-map): Bind it to menu.
19586 (vc-git--run-command-string): Accept a nil FILE argument.
19587 (vc-git-stash-list): New function.
19588 (vc-git-dir-extra-headers): Use it.
19590 2009-07-23 Glenn Morris <rgm@gnu.org>
19592 * help-fns.el (describe-variable): Describe ignored and risky local
19593 variables in a similar way to that in which we describe safe ones.
19595 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19596 (byte-compile-output-file-form, byte-compile-output-docform)
19597 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19598 Give some more local variables with common names a "bytecomp-" prefix,
19599 so as not to shadow things during compilation.
19600 * emacs-lisp/cl-macs.el (load-time-value)
19601 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19602 `outbuffer' to `bytecomp-outbuffer'.
19604 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19605 since the next two variables cover them automatically now.
19606 (elint-builtin-variables, elint-autoloaded-variables): New.
19607 (elint-unknown-builtin-args): Remove all members, since they can be
19608 parsed automatically now.
19609 (elint-extra-errors): New.
19610 (elint-env-add-env, elint-env-add-macro): Use cadr.
19611 (elint-current-buffer): Use or. Change final message.
19612 (elint-get-top-forms): Use line-end-position.
19613 (elint-init-env): Use cadr. Handle autoload, declare-function,
19615 (elint-add-required-env): Doc fix. Use or. Standardize error.
19616 (regexp-assoc): Remove unused function.
19617 (elint-top-form): Set elint-current-pos, to record the start of the
19618 top-level form, for compilation-mode.
19619 (elint-form): Trap errors in macro expansion. Use dolist.
19620 (elint-unbound-variable): Use elint-builtin-variables and
19621 elint-autoloaded-variables.
19622 (elint-get-args): Use cadr, or.
19623 (elint-check-cond-form): Use dolist, cadr.
19624 (elint-check-condition-case-form): Doc fix. Use cadr.
19625 Use elint-extra-errors.
19626 (elint-log): New function.
19627 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19628 Distinguish errors and warnings.
19629 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19630 Use a bytecomp-style format.
19631 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19632 (elint-get-log-buffer): Use compilation mode. Disable undo.
19633 Don't truncate lines.
19634 (elint-initialize): Set builtin and autoloaded variable lists.
19635 Only process elint-unknown-builtin-args if non-nil.
19636 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19638 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19640 2009-07-22 Kevin Ryde <user42@zip.com.au>
19642 * net/newst-backend.el (newsticker--parse-atom-1.0)
19643 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19644 (newsticker--parse-rss-1.0):
19645 * progmodes/idlwave.el (idlwave-mode):
19646 * progmodes/idlw-shell.el (idlwave-shell-mode):
19647 * progmodes/vera-mode.el (vera-mode):
19648 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19649 * progmodes/vhdl-mode.el (vhdl-mode):
19650 * textmodes/table.el (table-generate-source)
19651 (table--warn-incompatibility):
19652 Hyperlink urls in docstrings with URL `...'.
19654 2009-07-22 Glenn Morris <rgm@gnu.org>
19656 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19657 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19658 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19659 Remove leading * from defcustom docs.
19661 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19663 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19665 (list-load-path-shadows): Optionally, just return shadows as a string.
19667 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19669 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19671 * mail/rmailedit.el (rmail-edit-mode):
19672 Use auto-save-include-big-deletions.
19674 * mail/rmail.el (rmail-variables):
19675 Use auto-save-include-big-deletions.
19677 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19680 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19682 * calc/calc.el (calc-undo-length): New variable.
19683 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19685 2009-07-21 Richard Stallman <rms@gnu.org>
19687 * files.el (auto-save-mode): Handle buffer-save-size = -2
19690 2009-07-21 Glenn Morris <rgm@gnu.org>
19692 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19694 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19696 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19697 silence compiler. Instead...
19698 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19699 (ps-print-ensure-fontified): Update for above function name changes.
19701 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19702 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19703 silence compiler. Instead...
19704 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19705 (mh-show-buffer): Only define for compiler.
19706 (pr-mh-current-message): Update for above function name changes.
19708 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19710 (find-file-noselect, insert-file-1): Update for above change.
19712 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19714 * mail/mailclient.el (mailclient-send-it): Fix message.
19716 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19717 (edebug-eval): Check cl-debug-env is bound.
19718 (print-level, print-circle): Don't redefine built-in variables.
19720 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19721 (custom-print-vectors): Remove old comments from doc.
19723 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19724 (emerge-version): Make the variable an obsolete alias for the
19725 emacs-version variable. Make the function obsolete.
19726 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19727 Emerge options, rather than merging in into the main Options menu.
19728 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19729 and auto advance modes. Disable edit/fast items when not relevant.
19731 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19733 * term/vt420.el (terminal-init-vt420): Fix typo.
19735 2009-07-20 Sam Steingold <sds@gnu.org>
19737 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19738 variable (removed from compile.el on 2004-03-11).
19740 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19742 * files.el (hack-local-variables-filter): Fix last change.
19744 2009-07-19 Juri Linkov <juri@jurta.org>
19746 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19747 (dir-local-variables-alist): New buffer-local variable.
19748 (hack-local-variables-filter): If variable is not dir-local,
19749 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19750 because file-local overrides dir-local.
19751 (c-postprocess-file-styles) <declare-function>:
19752 Remove obsolete declaration.
19753 (hack-dir-local-variables): Add dir-local variable/value pair to
19754 `dir-local-variables-alist' and remove duplicates. Doc fix.
19756 * help-fns.el (describe-variable): Add information about
19757 file-local and dir-local variables.
19759 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19761 * files.el (hack-local-variables-filter): Rewrite.
19763 2009-07-19 Glenn Morris <rgm@gnu.org>
19765 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19766 Silence compiler by only defining on XEmacs.
19768 * international/mule.el (auto-coding-regexp-alist): Only match
19769 BABYL... at the start of buffer, not of lines. (Bug#3790)
19771 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19772 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19773 (cal-menu-context-mouse-menu): Doc fix.
19775 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19777 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19779 2009-07-18 Juri Linkov <juri@jurta.org>
19781 * info.el: Virtual Info keyword finder.
19782 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19783 (Info-finder-file): New variable.
19784 (Info-finder-find-file): New function.
19785 (finder-known-keywords, finder-package-info)
19786 (find-library-name, lm-commentary): Use defvar and
19787 declare-function to silence compiler warnings.
19788 (Info-finder-find-node): New function.
19789 (info-finder): New command.
19791 * subr.el (process-kill-buffer-query-function): New function.
19792 (add-hook)<kill-buffer-query-functions>: Add hook
19793 `process-kill-buffer-query-function'.
19795 2009-07-18 Alan Mackenzie <acm@muc.de>
19797 * progmodes/cc-mode.el (c-before-hack-hook)
19798 (c-postprocess-file-styles): Give invocation of `c-set-style'
19799 DONT-OVERRIDE parameter of t. Already set style variables will
19800 thus not be overridden by style settings given by `c-file-syle'.
19802 * files.el (hack-local-variables-filter): Remove entries with
19803 duplicate keys from `file-local-variables-alist'.
19805 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19807 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19808 x-set-selection if display-selections-p returns nil for the
19811 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19813 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19815 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19817 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19818 Accept nil in addition to a regexp.
19819 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19820 Accept nil in addition to a regexp.
19821 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19822 buffers that have an associated file. Handle nil values of
19823 desktop-buffers-not-to-save and desktop-files-not-to-save.
19826 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19827 (x-disown-selection-internal): New functions.
19829 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19831 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19833 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19834 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19836 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19838 * simple.el (set-mark): Revert last change.
19840 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19842 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19843 rendering of pngs is not possible instead of messaging a long
19846 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19848 * w32-fns.el (x-selection-owner-p): New function.
19850 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19851 (mouse-yank-at-click, mouse-yank-primary):
19852 If select-active-regions is non-nil, deactivate the mark before
19855 * simple.el (deactivate-mark, set-mark): Only save selection if we
19858 2009-07-17 Kenichi Handa <handa@m17n.org>
19860 * case-table.el (describe-buffer-case-table): Fix for the case
19861 that KEY is a cons.
19863 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19865 * vc-rcs.el (vc-rcs-find-file-hook):
19866 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19868 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19870 * net/tramp.el (tramp-wait-for-output): Handle the case when
19871 commands do not return a newline but a null byte before the shell
19874 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19876 * term/ns-win.el (ns-set-alpha): Don't declare.
19877 (ns-set-background-alpha): Remove function.
19879 2009-07-16 Kevin Ryde <user42@zip.com.au>
19881 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19882 y-or-n-p, for safety.
19884 2009-07-16 Richard Stallman <rms@gnu.org>
19886 * files.el (auto-save-mode): If buffer-saved-size is -2,
19889 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19890 (rmail-retry-ignored-headers): Add more uninteresting fields.
19892 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19894 * net/rcirc.el (rcirc): Use history variables.
19895 (rcirc-server-name-history, rcirc-nick-name-history)
19896 (rcirc-server-port-history): New variables.
19898 2009-07-15 Kenichi Handa <handa@m17n.org>
19900 * international/mule-cmds.el (set-language-environment-charset):
19901 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19904 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19905 Delete unibyte-display.
19907 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19909 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19911 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19913 * simple.el (deactivate-mark): Optional argument FORCE.
19914 (set-mark): Use deactivate-mark.
19916 * info.el (Info-search): No need to check transient-mark-mode
19917 before calling deactivate-mark.
19919 * select.el (x-set-selection): Doc fix.
19920 (x-valid-simple-selection-p): Allow buffer values.
19921 (xselect--selection-bounds): Handle buffer values.
19922 Suggested by David De La Harpe Golden.
19924 * mouse.el (mouse-set-region, mouse-drag-track):
19925 Call copy-region-as-kill before setting the mark, to let
19926 select-active-regions work.
19928 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19930 * simple.el (deactivate-mark): If select-active-regions is
19931 non-nil, copy the selection data into a string.
19932 (activate-mark): If select-active-regions is non-nil, set the
19933 selection to the current buffer.
19934 (set-mark): Update selection if select-active-regions is non-nil.
19936 * select.el (x-valid-simple-selection-p): Allow buffer values.
19938 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19940 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19941 and more featureful message-mode.
19943 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19945 * select.el (x-set-selection): Doc fix.
19946 (x-valid-simple-selection-p): Disallow selection data consisting
19947 of a list or cons of integers, since that is not used.
19948 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19949 (xselect-convert-to-string, xselect-convert-to-length)
19950 (xselect-convert-to-filename, xselect-convert-to-charpos)
19951 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19953 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19955 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19956 output in -break-info command (Emacs bug #3794).
19958 2009-07-14 Glenn Morris <rgm@gnu.org>
19960 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19961 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19962 (edebug-print-length, edebug-print-level, edebug-print-circle)
19963 (edebug-sit-for-seconds, edebug-view-outside)
19964 (edebug-bounce-point, edebug-set-global-break-condition)
19965 (edebug-Go-nonstop-mode, edebug-trace-mode)
19966 (edebug-Trace-fast-mode, edebug-continue-mode)
19967 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19968 (edebug-visit-eval-list): Doc fixes.
19970 * subr.el (def-edebug-spec): Doc fix.
19972 2009-07-14 Kenichi Handa <handa@m17n.org>
19974 * international/characters.el: Fix setting of category ?C.
19976 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19978 * term/ns-win.el (x-select-font): defalias x-select-font to
19979 ns-popup-font-panel instead of generate-fontset-menu.
19981 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19983 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19985 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19987 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19988 the PK\003\004 header (Bug#3770).
19990 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19992 * pcomplete.el (pcomplete-comint-setup): Check for
19993 shell-dynamic-complete-filename too.
19995 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19997 * simple.el (temporary-goal-column): Change the value for
19998 line-move-visual to a cons cell.
19999 (line-move-visual): Record or set the window hscroll, if
20000 necessary (Bug#3494).
20001 (line-move-1): Handle cons value of temporary-goal-column.
20003 2009-07-11 Kenichi Handa <handa@m17n.org>
20005 * international/mule-diag.el (describe-character-set): Don't show
20008 2009-07-10 Sam Steingold <sds@gnu.org>
20010 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20011 Omake sometimes indents the errors it prints, so allow all
20012 regexps to start with spaces.
20014 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20016 * cus-edit.el (customize-changed-options-previous-release):
20017 Bump value to 22.1. (Bug#3804)
20019 2009-07-08 Sam Steingold <sds@gnu.org>
20021 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20022 to be a cons cell (test . ignored-directory) to selectively ignore
20023 some directories depending on the location of the search.
20025 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20027 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20028 remote user is root, on the local host.
20029 (tramp-local-host-p): Either the local user or the remote user
20030 must be root. (Bug#3771)
20032 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20034 * progmodes/gdb-mi.el (gdb): Remove description of
20035 gdb-use-separate-io-buffer.
20036 (menu): Don't allow toggling of or enable
20037 gdb-use-separate-io-buffer from menubar.
20039 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20041 * mail/unrmail.el (unrmail): Make sure the message ends with two
20042 newlines (Bug#3769).
20044 2009-07-08 Glenn Morris <rgm@gnu.org>
20046 * calendar/calendar.el (calendar-current-date): Rework previous change.
20048 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20050 * calendar/calendar.el (calendar-current-date):
20051 Add an optional argument giving an offset from today.
20053 2009-07-08 Glenn Morris <rgm@gnu.org>
20055 * tutorial.el (tutorial--describe-nonstandard-key):
20056 Adjust the message for when a key has been unbound.
20057 (help-with-tutorial): Hide the arch-tag.
20059 2009-07-08 Kenichi Handa <handa@m17n.org>
20061 * international/fontset.el (setup-default-fontset): For each
20062 script, append (not set) font-specs.
20064 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20067 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20069 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20070 -data-list-register-names to ...
20071 (gdb-starting): ... here because GDB 7.0 requires execution to
20072 have started when using this MI command.
20073 (gdb-set-header): New function to distinguish select and
20074 unselected tabs in gdb buffers.
20075 (gdb-propertize-header): New macro that uses gdb-set-header.
20076 (gdb-breakpoints-header, gdb-locals-header): Use it.
20077 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20079 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20081 * Makefile.in (ELCFILES): Remove fadr.elc.
20083 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20085 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20086 may contain frame information, so `string-match' should be used.
20087 (gdb-update): Disassembly is invalidated through
20088 `gdb-get-selected-frame'.
20089 (gdb-pad-string): New function to pad string with spaces.
20090 (gdb-invalidate-disassembly): Invalidate only if the buffer
20092 (gdb-disassembly-handler-custom): Column alignment.
20093 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20095 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20097 (gdb-frame-handler): Match convention to for disassembly buffer
20099 (gdb-stack-list-frames-handler): Rewritten without regexps.
20100 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20101 not highlight breakpoints without line information.
20102 (gdb-input): Add trailing newline to command.
20104 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20106 (gdb-breakpoints-list-handler-custom): Replacement for
20107 `gdb-break-list-handler'. Using real parser instead of regexps
20109 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20110 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20111 to place breakpoints.
20112 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20114 (gdb-disassembly-handler-custom): Show overlay arrow.
20115 (gdb-disassembly-place-breakpoints): Show breakpoints in
20116 disassembly buffer.
20117 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20118 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20119 instead of parsing breakpoints buffer. Fixed old menu references
20124 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20125 (gdb-memory-address): New variable which holds top address of
20126 memory page shown in memory buffer.
20127 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20128 New customization variables.
20130 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20131 display the memory buffer.
20132 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20133 buffer display parameters.
20134 (def-gdb-memory-format, gdb-memory-format-binary)
20135 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20136 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20137 Functions for setting memory buffer format.
20138 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20139 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20140 unit size used in memory buffer.
20141 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20142 Switch to next/previous page of memory buffer.
20143 Now using (bindat-get-field) instead of fadr functions.
20145 2009-07-07 Sam Steingold <sds@gnu.org>
20147 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20148 non-top-level files.
20150 2009-07-07 Kenichi Handa <handa@m17n.org>
20152 * international/mule-cmds.el (reset-language-environment):
20153 Put the highset priority to the charset iso-8859-1.
20155 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20157 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20158 to the end of the line when locating the block (Bug#700).
20160 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20162 * net/tramp.el (tramp-handle-write-region): Flush file properties
20163 in case of short track.
20165 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20167 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20168 Coded custom representation of verilog error regular expressions
20169 to work with Emacs-22's new format.
20170 (verilog-error-regexp-xemacs-alist): Coded custom representation
20171 of verilog error regular expressions to work with XEmacs format.
20172 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20173 error recognition into XEmacs.
20174 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20175 error recognition into Emacs-22.
20177 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20179 * woman.el: Remove stand-alone closing parentheses.
20180 (woman-file-name, woman2-format-paragraphs)
20181 (woman-leave-blank-lines): Code cleanup.
20182 (woman-use-own-frame): Change default to nil.
20183 (woman-italic, woman-bold, woman-unknown, woman-addition):
20184 Change defaults to inherit from default faces.
20185 (woman2-process-escapes): Consume the newline after a stand-alone
20186 filler character (Bug#3651).
20188 2009-07-06 Glenn Morris <rgm@gnu.org>
20190 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20191 (top-level): Move provide to the end.
20192 (ffap): Remove defunct URL from custom group.
20194 * subr.el (eval-after-load): Doc fix.
20196 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20198 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20199 `calc-embedded-word' is called twice.
20201 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20203 * files.el (find-alternate-file-other-window, find-alternate-file):
20204 Obey confirm-nonexistent-file-or-buffer.
20206 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20208 * dired-aux.el (dired-show-file-type): Handle remote files.
20210 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20212 * desktop.el (desktop-globals-to-save):
20213 Add file-name-history (Bug#2750).
20215 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20217 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20219 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20221 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20222 property on entire argument since this is what eshell-lisp-command
20225 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20227 * net/tramp-gvfs.el (tramp-gvfs-methods)
20228 (tramp-gvfs-zeroconf-domain)
20229 (tramp-bluez-discover-devices-timeout): Add version flag.
20230 (tramp-gvfs-handler-mounted-unmounted)
20231 (tramp-gvfs-connection-mounted-p): Polish handling of
20232 incompatibilities between GVFS 0.2 and 1.0.
20234 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20236 * cus-start.el (all): Add make-pointer-invisible.
20238 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20240 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20241 formatted correctly.
20243 2009-07-02 Juri Linkov <juri@jurta.org>
20245 * info.el: Virtual Info files and nodes.
20246 (Info-virtual-files, Info-virtual-nodes): New variables.
20247 (Info-current-node-virtual): New variable.
20248 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20250 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20251 to check for a virtual file instead of checking a fixed list
20253 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20254 instead of ad-hoc processing of "dir" and (apropos history toc).
20255 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20256 instead of ad-hoc processing of "dir" and (apropos history toc).
20257 Reread a file when moving from a virtual node.
20258 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20259 (Info-directory-toc-nodes, Info-directory-find-file)
20260 (Info-directory-find-node): New functions.
20261 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20262 (Info-history): Move part of code to
20263 `Info-history-find-node'.
20264 (Info-history-toc-nodes, Info-history-find-file)
20265 (Info-history-find-node): New functions.
20266 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20267 (Info-toc): Move part of code to `Info-toc-find-node'.
20268 (Info-toc-find-node): New function.
20269 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20270 the current Info file name to references because now the node
20271 "*TOC*" belongs to the same Info manual.
20272 (Info-toc-build): Rename from `Info-build-toc'.
20273 (Info-toc-nodes): Rename input argument `file' to `filename'.
20274 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20275 instead of ad-hoc processing of ("dir" apropos history toc).
20276 (Info-index-nodes): Use Info-virtual-file-p
20277 to check for a virtual file instead of checking a fixed list
20279 (Info-index-node): Add check for `Info-current-node-virtual'.
20280 Raise `save-match-data' higher up the tree to contain
20281 `search-forward' too (bug fix).
20282 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20283 (Info-virtual-index-nodes): New variable.
20284 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20285 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20286 (Info-apropos-file, Info-apropos-nodes): New variables.
20287 (Info-apropos-toc-nodes, Info-apropos-find-file)
20288 (Info-apropos-find-node, Info-apropos-matches): New functions.
20289 (info-apropos): Move part of code to `Info-apropos-find-node' and
20290 `Info-apropos-matches'.
20291 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20292 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20293 for a virtual file instead of checking a fixed list of node names.
20295 * simple.el (async-shell-command): New command.
20297 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20299 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20300 instead of `mount-info'.
20302 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20304 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20305 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20307 2009-07-02 Kenichi Handa <handa@m17n.org>
20309 * international/mule.el (set-keyboard-coding-system): Force *-unix
20310 coding-system to avoid eol conversion.
20312 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20314 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20315 Add handler for `process-file', `shell-command' and
20316 `start-file-process'.
20317 (tramp-gvfs-handle-shell-command)
20318 (tramp-gvfs-handle-start-file-process)
20319 (tramp-gvfs-handle-process-file): New defuns.
20320 (tramp-synce-list-devices): Simplify check for existence of property.
20322 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20324 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20326 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20328 * language/korean.el (set-language-info-alist): Add korean-cp949,
20331 2009-07-01 Kenichi Handa <handa@m17n.org>
20333 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20335 * international/encoded-kb.el: Deleted.
20337 * international/mule.el (set-keyboard-coding-system): Perform the
20338 necessary setup here instead of calling encoded-kbd-setup-display.
20340 2009-07-01 Glenn Morris <rgm@gnu.org>
20342 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20344 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20346 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20348 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20350 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20351 Handle also the 'rename case, when setting file modes. (Bug#3712)
20352 (tramp-default-file-modes): Remove execute permissions.
20354 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20355 (top): Add a default for "synce" in `tramp-default-user-alist'.
20356 Add completion function for "synce" method.
20357 (tramp-hal-service, tramp-hal-path-manager)
20358 (tramp-hal-interface-manager, tramp-hal-interface-device):
20360 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20361 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20364 * net/trampver.el: Update release number.
20366 2009-06-30 Kenichi Handa <handa@m17n.org>
20368 * international/fontset.el (setup-default-fontset): Add CJK fonts
20369 for symbols and the other miscellaneous characters.
20371 * language/korea-util.el (setup-korean-environment-internal):
20372 Make char-width-table suitable for Korean environments.
20373 (exit-korean-environment): Cancel above.
20375 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20376 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20377 setup-function to make char-width-table suitable for respective
20378 environments, and an exit-function to cancel that.
20380 * language/japan-util.el (setup-japanese-environment-internal):
20381 Call use-cjk-char-width-table with arg `ja_JP'.
20383 * international/characters.el (cjk-char-width-table): Delete it.
20384 (cjk-char-width-table-list): New variable.
20385 (use-cjk-char-width-table): New arg local-name.
20386 (use-default-char-width-table): Fix for the case that Emacs is
20387 already using the default char-width-table.
20389 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20391 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20392 modes mandatory. (Bug#3712)
20394 2009-06-29 Alan Mackenzie <acm@muc.de>
20396 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20397 correction between the visible width of TABs and their number of bytes.
20399 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20401 * server.el (server-buffer-done): Prevent kill-buffer from
20402 prompting by clearing the buffer modification flag (Bug#3696).
20404 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20406 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20407 (verilog-endcomment-reason-re): Support unique case and priority case.
20408 (verilog-basic-complete-re): Support localparam lineup.
20409 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20410 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20412 (verilog-leap-to-case-head): Now support *nested* unique &
20413 priority case statements.
20414 (verilog-auto-lineup): Make just declarations the default (as it
20416 (verilog-leap-to-case-head): Support priority/unique case statements.
20417 (verilog-auto-lineup): Rework to give users radio buttons to
20418 select the various styles of automatic lineup.
20419 (verilog-error-regexp-alist): Rework to support the XEmacs style
20420 of error regular expressions from compilers, lint tools &
20421 simulators. Note that GNU Emacs has made it impossible for a mode
20422 to load such things.
20423 (electric-verilog-terminate-line, verilog-indent-declaration)
20424 (verilog-auto-wiure): Rework for radio button selection of
20425 auto-lineup selection of specification of auto lineup.
20426 (verilog-beg-of-statement-1): Redesign to support proper operation
20427 in additional code, based on testing with auto-lineup.
20428 (verilog-calculate-indent, assignments & declarations)
20429 (verilog-backward-token): Enhance to support auto-lineup of
20430 assignments & declarations.
20431 (verilog-in-directive-p, verilog-at-struct-p): New function for
20432 easy test of whether we are.
20433 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20434 to support safe execution at almost anyline.
20435 (verilog-calc-1): Properly support indenting deep inside generate
20437 (verilog-init-font): Remove definition & use of verilog-init-font,
20438 as it is redundant with font-lock-defaults.
20439 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20440 to avoid circular calls if syntax-ppss is a function (as is the
20441 case now in 22.x GNU Emacs) as that function would sometimes call
20442 itself, leading to (nearly) infinite recursion.
20443 (verilog-ovm-begin-re, verilog-ovm-end-re)
20444 (verilog-ovm-statement-re, verilog-leap-to-head)
20445 (verilog-backward-token): Add support for OVM macros. Some are
20446 complete statements, and others open and close scopes like begin
20448 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20449 (verilog-defun-level-generate-only-re): Really fix the defun-list
20451 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20452 coverpoint, constraint and cross statements.
20453 (verilog-defun-level-list, verilog-generate-defun-level-list)
20454 (verilog-all-defun-level-list): Redo these specifications - it is
20455 too hard to support eval-when compile aggregation of lists also
20456 built at when-compile time.
20457 (verilog-defun-level-list): Place defconsts of variables used in
20458 building regular expressions which are built in eval-when-compile
20459 bodies in the same eval-when-compile body to facilitate compile
20461 (verilog-beg-block-re-ordered): Support indenting
20462 virtual/protected tasks and functions.
20463 (verilog-defun-level-list, verilog-in-generate-region-p)
20464 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20465 indentation of some module items (generate items).
20466 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20467 across virtual/protected tasks and functions.
20469 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20471 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20472 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20473 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20474 in concatenations. Reported by Yishay Belkind.
20475 (verilog-auto-ascii-enum): Support one-hot state machines in
20476 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20477 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20478 modport in AUTOINST and add vl-modport for users.
20479 Reported by David Rogoff.
20480 (verilog-auto-inout-module, verilog-auto-inst)
20481 (verilog-decls-get-interfaces, verilog-insert-definition)
20482 (verilog-insert-one-definition, verilog-read-decls)
20483 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20484 (verilog-sig-modport, verilog-signals-combine-bus)
20485 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20486 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20487 Suggested by David Rogoff.
20488 (verilog-repair-open-comma): Fix non-insertion of comma when
20489 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20490 (verilog-make-width-expression): Simplify [A-1:0] expression
20491 widths to just {A{1'b0}}.
20492 (verilog-mode): Cleanup checkdoc warnings.
20493 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20494 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20495 inputs/outputs or data type. Suggested by Vasu Kandadi.
20496 (next-error-last-buffer): Fix byte-compiler warning.
20497 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20498 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20499 or shell command text during AUTO expansion. Suggested by Tad Truex.
20500 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20501 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20502 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20503 in AUTOINOUT. Reported by Matthew Lovell.
20504 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20505 causing use of <= assignments. Reported by Alex Reed.
20506 (verilog-read-decls): Fix triand, trior, wand, wor to be
20507 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20508 (verilog-extended-complete-re): Support import "DPI-C" functions.
20509 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20510 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20511 (verilog-insert-date, verilog-insert-year)
20512 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20513 Windows systems. Reported by Michael Potts.
20514 (verilog-read-module-name): Fix AUTOINST when the child module
20515 declaration's name is a tick define. Reported by Elliot Mednick.
20516 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20517 passed to next parameter's definition. Reported by Bruce T.
20518 (verilog-read-decls): Fix detecting "parameter int" when using
20519 AUTOINSTPARAM. Reported by Bruce T.
20520 (verilog-goto-defun): Fix goto not finding modules unless first
20521 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20522 (verilog-mode): Expand -f flag arguments on entry to mode so
20523 verilog-goto-defun will work. Reported by Lawrence Butcher.
20524 (verilog-getopt): Expand environment variables in -f file
20525 arguments. Suggested by Lawrence Butcher.
20526 (verilog-set-define): Fix "Symbol's value as variable is void"
20527 when reading enumerations.
20528 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20529 Suggested by Stephen Peltan.
20530 (verilog-read-defines): Fix reading of enumerations in include
20531 files. Reported by Steve Peltan.
20533 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20535 * files.el (trash-directory): Fix defcustom type.
20537 2009-06-28 Juri Linkov <juri@jurta.org>
20539 * help-fns.el (describe-function-1): Correctly locate adviced
20540 functions in hyperlink (Bug#2438).
20542 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20544 * files.el (trash-directory): Change default to nil.
20545 (move-file-to-trash): If trash-directory is nil and
20546 system-move-file-to-trash is unbound, perform freedesktop-style
20549 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20551 * files.el (move-file-to-trash): Add freedesktop trash
20554 2009-06-28 Glenn Morris <rgm@gnu.org>
20556 * autorevert.el (global-auto-revert-non-file-buffers)
20557 (global-auto-revert-mode): Doc fixes.
20559 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20561 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20563 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20565 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20566 opened an X connection before calling x-get-resource (Bug#3194).
20568 * play/doctor.el: Remove reference to obsolete website.
20569 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20571 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20573 Remove find-file-not-found-hook VC method. (Bug#2757)
20574 * vc-hooks.el (vc-file-not-found-hook)
20575 (vc-default-find-file-not-found-hook): Remove functions.
20576 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20577 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20580 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20582 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20584 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20585 compatibility function for `looking-back'.
20587 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20588 Use `ispell-looking-back'.
20590 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20592 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20593 rather than `filename'.
20595 2009-06-23 Miles Bader <miles@gnu.org>
20597 * face-remap.el (text-scale-set): New function.
20599 2009-06-23 Glenn Morris <rgm@gnu.org>
20601 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20603 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20605 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20607 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20609 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20610 Simplify Persian conditionals.
20612 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20613 variable `filename'.
20615 * comint.el (comint-insert-input): Doc fix.
20617 * Makefile.in (ELCFILES): Fix typo in previous change.
20619 2009-06-23 Miles Bader <miles@gnu.org>
20621 * cus-start.el: Add entry for `recenter-redisplay'.
20623 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20625 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20626 Add an optional argument for the backend, use it instead of
20627 calling vc-backend.
20628 (vc-mode-line): Add an optional argument for the backend.
20629 Pass the backend to vc-state and vc-working-revision. Move code for
20630 special handling for vc-state being a buffer to ...
20632 * vc-rcs.el (vc-rcs-find-file-hook):
20633 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20635 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20636 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20637 vc-stay-local-p and vc-mode-line calls.
20639 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20640 (vc-cvs-diff, vc-cvs-annotate-command)
20641 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20642 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20643 vc-mode-line calls.
20645 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20647 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20648 backend when calling vc-mode-line.
20649 (vc-register): Do not create a closure for calling the vc register
20650 function, call it directly.
20652 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20654 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20655 to make it obvious item can be clicked.
20657 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20659 2009-06-23 Kenichi Handa <handa@m17n.org>
20661 * language/korea-util.el (korean-key-bindings): Change the binding
20662 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20665 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20667 Sync with Tramp 2.1.16.
20669 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20671 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20672 when a loading of a package fails. Completion function for rsync
20673 is `tramp-completion-function-alist-ssh'.
20674 (all): Replace all calls of `split-string' and
20675 `tramp-split-string' by `tramp-compat-split-string'.
20676 (tramp-default-method): Use `tramp-compat-process-running-p'.
20677 (tramp-default-proxies-alist): Allow also Lisp forms.
20678 (tramp-remote-path): Add choice "Private Directories".
20679 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20680 (tramp-domain-regexp): Allow also "-", "_" and ".".
20681 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20682 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20683 (tramp-debug-message): Insert header line in debug buffer.
20684 (tramp-handle-directory-files-and-attributes-with-stat):
20685 Care about filenames with spaces, or starting with "-".
20686 (tramp-handle-dired-uncache): New defun.
20687 (tramp-handle-insert-directory): Don't flush the directory from
20688 cache, this is handled by `dired-uncache' now.
20689 (tramp-handle-insert-file-contents): Improve error handling.
20690 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20691 Quote `tramp-end-of-output'.
20692 (tramp-action-password): Improve trace message.
20693 (tramp-check-for-regexp): Both echoes must be present, before removing.
20694 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20695 (tramp-compute-multi-hops): Eval cons cells of
20696 `tramp-default-proxies-alist'.
20697 (tramp-maybe-open-connection): Use the same command pattern for
20698 first hop and further hops.
20699 (tramp-wait-for-output): Remove handling of newlines.
20700 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20701 (tramp-split-string): Remove function. It is handled in
20704 * net/tramp-cmds.el (tramp-bug):
20705 Recommend `tramp-cleanup-all-connections' in the bug mail.
20707 * net/tramp-compat.el (tramp-compat-split-string)
20708 (tramp-compat-process-running-p): New defuns.
20710 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20711 for `dired-uncache'.
20713 * net/tramp-gvfs.el: New package.
20715 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20716 Add handler for `dired-uncache'.
20717 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20719 * net/trampver.el: Update release number. Make version check fit
20722 2009-06-22 Jim Meyering <meyering@redhat.com>
20724 Automatically handle .xz suffix (XZ-compressed files), too.
20725 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20726 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20728 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20729 Nick Roberts <nickrob@snap.net.nz>
20731 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20732 repository (http://sphinx.net.ru/hg/gdb-mi/).
20734 2009-06-22 Glenn Morris <rgm@gnu.org>
20736 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20737 `mode' and `eval' entries. (Bug#3430)
20739 * Makefile.in (ELCFILES): Add fadr.elc.
20741 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20742 differing behavior of \n and ^ in strings. (Bug#3385)
20744 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20746 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20748 (lisp-indent-function): Make it a defcustom.
20750 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20752 * progmodes/gdb-ui.el: Replace with ...
20753 * progmodes/gdb-mi.el: ... this file.
20754 * progmodes/gud.el: Modify for gdb-mi.el.
20756 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20758 * fadr.el: New file.
20760 See ChangeLog.14 for earlier changes.
20762 ;; Local Variables:
20766 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20768 This file is part of GNU Emacs.
20770 GNU Emacs is free software: you can redistribute it and/or modify
20771 it under the terms of the GNU General Public License as published by
20772 the Free Software Foundation, either version 3 of the License, or
20773 (at your option) any later version.
20775 GNU Emacs is distributed in the hope that it will be useful,
20776 but WITHOUT ANY WARRANTY; without even the implied warranty of
20777 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20778 GNU General Public License for more details.
20780 You should have received a copy of the GNU General Public License
20781 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.