1 2011-01-20 Glenn Morris <rgm@gnu.org>
3 * simple.el (read-expression-history): Remove, it's in minibuf.c.
5 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
7 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
9 * files.el (find-alternate-file, basic-save-buffer)
10 (basic-save-buffer-2, revert-buffer, recover-file)
11 (kill-buffer-ask, abort-if-file-too-large)
12 (set-visited-file-name, write-file, backup-buffer)
13 (basic-save-buffer, save-some-buffers):
14 * dired-aux.el (dired-compress-file): Callers changed.
16 2011-01-19 Glenn Morris <rgm@gnu.org>
18 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
19 Also check the property status. (Bug#7861)
21 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
23 * net/tramp.el (tramp-debug-message): Extend function exclude
24 list. Use `regexp-opt'.
26 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
28 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
29 highlighting doesn't spill over subsequent lines.
31 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
32 keymap expression. Improve docstring.
34 * electric.el (electric-indent-post-self-insert-function):
35 Don't auto-indent for indent-to-left-margin, it's too often
38 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
40 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
41 spaces if the frame was resized, so that the full visible buffer
42 serves as canvas for strokes.
44 2011-01-16 Glenn Morris <rgm@gnu.org>
46 * info-xref.el (info-xref-docstrings): Replace cl function.
47 Also skip directories.
49 2011-01-16 Kevin Ryde <user42@zip.com.au>
51 * info-xref.el: Version 3.
52 (info-xref-check, info-xref-check-all): Move commentary details
53 into docstrings for better visibility.
54 Use compilation-mode for the results buffer.
55 (info-xref-output, info-xref-output-error, info-xref-with-output)
56 (info-xref-filename, info-xref-in-progress):
57 New internals for this.
58 (info-xref-check-list, info-xref-check-buffer)
59 (info-xref-check-all-custom): Use those.
60 (info-xref-output-buffer): Rename from info-xref-results-buffer.
61 (info-xref-output-heading): Rename from info-xref-filename-heading.
62 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
63 (info-xref-filename-heading): Move to output managing section.
64 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
65 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
66 (info-xref-subfile-p): Move to generic section with those two.
67 (info-xref-check-node): New function split from
68 info-xref-check-buffer, shared by info-xref-docstrings.
69 (info-xref-goto-node-p): Move to a checking section with that func.
70 (info-xref-unavail): New counter.
71 (info-xref-check-node): Use it.
72 (info-xref-with-output): Show count of unavailables at end of output.
73 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
74 symlinks. Exclude .texi files. Exclude Emacs backup files.
75 (info-xref-check-all-custom): Fix quietening viper-mode and
76 gnus-registry-install -- use setq not let so as not to unbind
79 2011-01-16 Juri Linkov <juri@jurta.org>
81 * isearch.el (isearch-abort): Don't quit if search has
82 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
84 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
86 * files.el (backup-buffer): Make last-resort backup file in
89 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
90 make it with permission 700.
92 2011-01-15 Kenichi Handa <handa@m17n.org>
94 * mail/rmailmm.el (rmail-mime-insert-header):
95 Set rmail-mime-coding-system to a cons whose car is the last coding
96 system used to decode the header.
97 (rmail-mime-find-header-encoding): New function.
98 (rmail-mime-insert-decoded-text):
99 Override rmail-mime-coding-system if it is a cons.
100 (rmail-show-mime): If only a header part was decoded, find the
101 coding system while ignoring mm-charset-override-alist.
103 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
105 * subr.el (event-start, event-end): Doc fix (Bug#7826).
107 2011-01-15 Kenichi Handa <handa@m17n.org>
109 * mail/rmailmm.el (rmail-mime-next-item)
110 (rmail-mime-previous-item): Delete them.
111 (rmail-mime-shown-mode): Recursively call for children.
112 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
114 (rmail-mime-raw-mode): Recursively call for children.
115 (rmail-mode-map): Change mapping of tab and backtab to
116 forward-button and backward-button respectively.
117 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
119 (rmail-mime-update-tagline): New function.
120 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
121 body display is changed.
122 (rmail-mime-toggle-button): Rename from rmail-mime-image.
123 (rmail-mime-image): Delete this button type.
124 (rmail-mime-toggle): New button type.
125 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
126 body display is changed. Change the save button label to "Save".
127 Don't process show/hide button here.
128 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
129 the body display is changed. Unconditionally call
130 rmail-mime-insert for children.
131 (rmail-mime-handle): Update `display' vector of the just inserted
133 (rmail-mime-process): If mail-header-parse-content-type returns
134 nil, use "text/plain" as the fallback type.
135 (rmail-mime-insert): For raw-mode, recursively call
136 rmail-mim-insert for children.
137 (rmail-mime): Handle the case that the current buffer is not rmail
138 buffer (e.g. in summary buffer).
140 2011-01-15 Kenichi Handa <handa@m17n.org>
142 * mail/rmailmm.el (rmail-mime-next-item)
143 (rmail-mime-previous-item): Skip the body of a non-multipart
144 entity if a tagline is shown.
146 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
148 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
149 (tmm-prompt): Simplify.
150 (tmm-add-prompt): Remove unused var `win'.
152 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
153 to minor mode which used nil accidentally to mean "turn off".
155 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
157 * net/tramp-sh.el (tramp-find-inline-compress)
158 (tramp-get-inline-coding): Quote command after pipe symbol for
159 local calls under W32. (Bug#6784)
161 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
163 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
164 only when running under W32.
166 2011-01-15 Eli Zaretskii <eliz@gnu.org>
168 * progmodes/grep.el (grep-compute-defaults): Quote the program
169 file name after the pipe symbol in Grep templates. (Bug#6784)
170 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
172 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
174 * buff-menu.el (Buffer-menu-buffer-list): New var.
175 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
176 restricted buffer list is not lost on revert (Bug#7749).
178 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
180 * net/ldap.el (ldap-search-internal): Discard stderr output.
182 2011-01-15 Eli Zaretskii <eliz@gnu.org>
184 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
186 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
188 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
190 2011-01-15 Kenichi Handa <handa@m17n.org>
192 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
193 part as a plain text.
194 (rmail-mime-process-multipart): Set the default content-type to
195 nil for unknown multipart subtypes (bug#7651).
197 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
199 * hexl.el (hexl-mode-old-*): Remove.
200 (hexl-mode--old-var-vals): New var to replace them.
201 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
202 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
203 Use them to set local vars (bug#7846).
204 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
205 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
206 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
208 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
209 (smerge-resolve--normalize-re): New var.
210 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
211 (smerge-resolve): Use them.
212 * newcomment.el (comment-only-p): New function.
213 (comment-or-uncomment-region): Use it.
215 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
217 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
218 table, get the value before switching to the output buffer. (Bug#7733)
220 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
222 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
224 2011-01-14 Kim F. Storm <storm@cua.dk>
226 * emulation/cua-base.el (cua--init-keymaps):
227 Remap exchange-point-and-mark in cua-global-keymap.
229 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
231 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
234 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
236 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
238 (easy-menu-create-menu, easy-menu-convert-item-1):
239 Use :label rather than nil for labels. Use `case'.
240 Add :enable as alias for :active.
241 (easy-menu-binding): Obey :label.
243 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
245 Use run-mode-hooks for major mode hooks (bug#513).
246 * textmodes/reftex-toc.el (reftex-toc-mode-map):
247 Rename from reftex-toc-map.
248 (reftex-toc-mode): Use define-derived-mode.
249 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
250 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
251 Rename from reftex-select-(label|bib)-map. Move init into declaration.
252 (reftex-select-label-mode, reftex-select-bib-mode):
253 Use define-derived-mode.
254 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
255 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
256 Move init into delcaration.
257 (reftex-index-mode, reftex-index-phrases-mode):
258 Use define-derived-mode.
259 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
260 speedbar-syntax-table. Move init into declaration.
261 (speedbar-mode-map): Rename from speedbar-key-map.
262 Move init into declaration.
263 (speedbar-file-key-map): Move init into declaration.
264 (speedbar-mode): Use define-derived-mode.
265 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
266 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
267 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
268 (chart-face-list): Move initialization into declaration.
269 (chart-mode): Use define-derived-mode.
270 * calculator.el (calculator-mode-map): Move init into declaration.
271 (calculator-mode): Use define-derived-mode.
273 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
274 work for nested comments.
276 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
277 (prolog-use-prolog-tokenizer-flag): Change default when
278 syntax-propertize can be used.
279 (prolog-syntax-propertize-function): New var.
280 (prolog-mode-variables): Move make-local-variable into `set'.
281 Don't make comment-column local since we don't set it.
282 Set comment-add (as it was in previous prolog.el). Use dolist.
283 Set syntax-propertize-function.
284 (prolog-mode, prolog-inferior-mode):
285 Call prolog(-inferior)-menu directly, not through the mode-hook.
286 (prolog-buffer-module, prolog-indent-level)
287 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
288 (prolog-comment-limits, prolog-goto-comment-column):
289 Use line-(end|beginning)-position.
290 (prolog-build-prolog-command): Tighten up regexp.
291 (prolog-consult-compile): Move make-local-variable into `set'.
292 (prolog-consult-compile-filter, prolog-goto-next-paren)
293 (prolog-help-on-predicate, prolog-clause-info)
294 (prolog-mark-predicate): Don't let+setq.
295 (prolog-indent-line): Use indent-line-to.
296 Only call prolog-goto-comment-column if necessary.
297 (prolog-indent-level): Use bobp.
298 (prolog-first-pos-on-line): Remove, not used any more.
299 (prolog-in-string-or-comment): Use syntax-ppss if available.
300 (prolog-help-on-predicate): Use read-string.
301 (prolog-goto-predicate-info): Simplify.
302 (prolog-read-predicate): Use `default' rather than `initial'.
303 (prolog-temporary-file): Use make-temp-file to close a security hole.
304 (prolog-toggle-sicstus-sd): New command.
305 (prolog-electric-underscore, prolog-variables-to-anonymous):
306 Use dynamic-scoping as it was meant.
307 (prolog-menu): Move menu definitions to top-level.
308 Use a toggle-button for Sicstus's source debugger.
309 Change "Code" to the more usual "Prolog", and hence change "Prolog"
311 (prolog-inferior-menu): Reuse prolog-menu's help menu.
312 Move other menu definition to top-level.
314 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
316 * doc-view.el (doc-view-open-text): Use meaningful text buffer
317 name. Keep original document's directory as default-directory
319 (doc-view-initiate-display): Fall back to normal mode when
320 doc-view-mode cannot be enabled, also when extracting the document
321 text into a separate buffer (bug#6446).
323 * simple.el (shell-command): Don't error out if shell command
324 buffer contains text with non-nil read-only property when erasing
327 2011-01-13 Kim F. Storm <storm@cua.dk>
329 * ido.el (ido-may-cache-directory): Move "too-big" check later.
330 (ido-next-match, ido-prev-match): Fix stray reordering of matching
331 items when cycling through the matches.
333 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
335 * dired-x.el (dired-omit-verbose): New defcustom that allows
336 disabling the omit messages.
337 (dired-omit-expunge): Use it.
339 2011-01-13 Christian Ohler <ohler@gnu.org>
341 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
343 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
345 * font-lock.el (font-lock-verbose): Default to nil.
347 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
349 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
350 (compose-mail): New arg RETURN-ACTION.
351 (compose-mail-other-window, compose-mail-other-frame): Likewise.
353 * mail/sendmail.el (mail-return-action): New var.
354 (mail-mode): Make it buffer-local.
355 (mail-bury): Obey it. Move special Rmail window handling to
357 (mail, mail-setup): New arg RETURN-ACTION.
358 (sendmail-user-agent-compose): Move from simple.el.
360 * mail/rmail.el (rmail-mail-return): New function.
361 (rmail-start-mail): Pass it to compose-mail.
363 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
365 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
366 menus. Add menu item for customize-themes.
368 * cus-theme.el (customize-themes):
369 * emacs-lisp/package.el (package--list-packages):
370 Use switch-to-buffer.
372 2011-01-11 Johan Bockgård <bojohan@gnu.org>
374 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
376 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
378 * progmodes/prolog.el: Fix up coding convention and such.
379 (prolog-indent-width): Use the same default as in
380 previous prolog.el rather than tab-width which depends on which buffer
381 is current when the file is loaded.
382 (prolog-electric-newline-flag): Only enable if electric-indent-mode
384 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
385 (prolog-known-systems): Remove.
386 (prolog-mode-syntax-table, prolog-inferior-mode-map):
387 Move initialization into declaration.
388 (prolog-mode-map): Move initialization into declaration.
389 Remove system-specific mode-map vars, since they referred to the same
391 (prolog-mode-variables): Obey the user's preference w.r.t
392 adaptive-fill-mode. Prefer symbol-value to `eval'.
393 (prolog-mode-keybindings-edit): Add compatibility bindings.
394 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
395 (mercury-mode-map): New var.
396 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
397 (prolog-ensure-process, prolog-process-insert-string)
398 (prolog-consult-compile): Use with-current-buffer.
399 (prolog-guess-fill-prefix): Simplify data flow.
400 (prolog-replace-in-string): New function to use instead of
402 (prolog-enable-sicstus-sd): Don't abuse `eval'.
403 (prolog-uncomment-region): Use `uncomment-region' when available.
404 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
405 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
406 of int-to-char and char-to-int.
407 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
409 2011-01-11 Stefan Bruda <stefan@bruda.ca>
411 * progmodes/prolog.el: Replace by a whole new file.
413 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
415 * subr.el (eval-after-load): Fix timing for features (bug#7769).
416 (declare-function, undefined, insert-for-yank)
417 (replace-regexp-in-string): Follow checkdoc's recommendations.
419 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
421 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
422 refreshing the diary buffer.
424 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
426 * allout.el: Add 2011 to the file copyright.
427 (allout-encrypt-string): Prevent encryption from adding an extra
428 newline at the end of the topic body.
429 (allout-version): Increment to 2.3.
431 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
433 * net/dbus.el (dbus-unregister-service): Complete doc.
434 Fix call of dbus-error signal.
435 (dbus-register-property): Use `dont-register' keyword.
437 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
439 * net/dbus.el (dbus-unregister-service): Translate returned
440 integer into a symbol.
441 (dbus-register-property): Use `dbus-register-service' to do the
444 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
446 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
447 Suggested by Joakim Verona.
449 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
451 * wid-edit.el (visibility): Replace :on-image and :off-image
452 widget properties with :on-glyph and :off-glyph, for consistency
453 with the `visibility' widget.
454 (widget-toggle-value-create, widget-visibility-value-create):
455 Merge into a single function `widget-toggle-value-create'.
457 * cus-edit.el (custom-variable-value-create, custom-visibility)
458 (custom-face-edit-value-create, custom-face-value-create):
459 Replace :on-image and :off-image widget properties with :on-glyph and
460 :off-glyph, for consistency with the `visibility' widget.
462 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
464 * net/ldap.el (ldap-search-internal): Don't use eval.
466 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
468 * subr.el (read-char-choice): Use read-key.
470 * custom.el (custom-safe-themes): Rename from
471 custom-safe-theme-files. Add :risky tag.
472 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
473 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
475 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
477 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
478 from Search and add a label to Undo.
480 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
481 inappropriate buttons and adding :vert-only tags.
483 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
484 removal of Help tool-bar button. Remove Undo button for space.
486 * info.el (info-tool-bar-map): Add :vert-only tags.
488 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
490 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
491 image backend support. Either of them is fine.
493 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
495 * subr.el (y-or-n-p): Doc fix.
497 * custom.el (custom-safe-theme-files): New defcustom.
498 (custom-theme-load-confirm): New function.
499 (load-theme): Load theme using `load', confirming with
500 custom-theme-load-confirm if necessary.
502 * subr.el (read-char-choice): New function, factored out from
503 dired-query and hack-local-variables-confirm.
505 * dired-aux.el (dired-query):
506 * files.el (hack-local-variables-confirm): Use it.
508 * dired-aux.el (dired-compress-file):
509 * files.el (abort-if-file-too-large, find-alternate-file)
510 (set-visited-file-name, write-file, backup-buffer)
511 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
512 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
513 Use new format string args for y-or-n-p and yes-or-no-p.
515 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
517 * progmodes/compile.el (compilation-error-regexp-alist-alist)
518 [gcc-include]: Tighten file name match, add match for column
520 [gnu]: Remove unused group.
522 2011-01-08 Glenn Morris <rgm@gnu.org>
524 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
526 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
528 2011-01-07 Sam Steingold <sds@gnu.org>
530 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
531 the `explicit-shell-file-name' because that is the
532 non-interactive shell.
534 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
536 * subr.el (y-or-n-p): Accept format string args.
538 2011-01-07 Glenn Morris <rgm@gnu.org>
540 * Makefile.in (EMACSOPT): Add --no-site-lisp.
542 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
544 * allout.el (allout-back-to-current-heading): Ensure return to
545 the visible containing topic, rather than a collapsed one.
546 (allout-view-change-hook): Remove hook that was deprecated long ago.
547 (allout-exposure-change-hook): Remove documentation remarks
548 concerning removed allout-view-change-hook.
549 (allout-flag-region): Remove invocation of and documentation
550 remarks concerning allout-view-change-hook.
552 2011-01-06 Glenn Morris <rgm@gnu.org>
554 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
555 (vc-bzr-annotate-extract-revision-at-line):
556 Handle authors with embedded spaces. (Bug#7792)
558 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
560 * doc-view.el (doc-view-image-width): New variable.
561 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
562 backend for PNG images, and do dynamic rescaling instead of
563 reconverting the whole doc.
565 2011-01-05 Glenn Morris <rgm@gnu.org>
567 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
569 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
571 * allout.el: Reconcile with changes in line movement behavior for
572 long text lines that cross more than a single physical window
573 line, ie when truncate-lines is nil.
574 (allout-next-visible-heading): Provide for change in line-move
575 behavior on long lines when truncate-lines is nil. In that case,
576 line-move can wind up on the same textual line when it moves to
577 the next window line, and moving to the bullet position after the
578 move yields zero advancement. Add logic to detect and compensate
579 for the lack of progress.
580 (allout-current-topic-collapsed-p): move-end-of-line respect for
581 field boundaries is different when operating with body lines
582 shorter than window width versus ones greater than window width,
583 which can yield false negatives in this function. Avoid
584 difference by applying move-end-of-line while field-text-motion is
587 2011-01-04 Glenn Morris <rgm@gnu.org>
589 * textmodes/rst.el (rst-compile-toolsets):
590 Add pdf and s5 to option alist.
592 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
594 * net/dbus.el (dbus-register-property): Add optional parameter
595 dont-register-service. Updated docstring accordingly.
597 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
599 * textmodes/rst.el (rst-compile-pdf-preview)
600 (rst-compile-slides-preview): Remove extra line.
602 2011-01-04 Glenn Morris <rgm@gnu.org>
604 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
605 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
606 default to `prog' without a .py extension.
607 (rst-compile-pdf-preview, rst-compile-slides-preview):
608 Use program names from rst-compile-toolsets, rather than hard-coding.
609 (rst-portable-mark-active-p): Fix presumed typo.
611 2011-01-02 Eli Zaretskii <eliz@gnu.org>
613 * term/w32-win.el (dynamic-library-alist): Set up correctly for
614 libpng versions both before and after 1.4.0. (Bug#7716)
616 2011-01-02 Eli Zaretskii <eliz@gnu.org>
618 * time.el (display-time-mode): Mention display-time-interval in
619 the doc string. (Bug#7713)
621 2011-01-02 Kenichi Handa <handa@m17n.org>
623 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
624 condition-case and return an error message string if something
626 (rmail-show-mime): Adjust for the above change. Insert the
627 header by rmail-mime-insert-header.
629 2011-01-02 Kenichi Handa <handa@m17n.org>
631 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
632 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
633 (rmail-mime-mbox-buffer)
634 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
635 (rmail-mime-entity): Argument changed. All codes handling an
636 entity object are changed.
637 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
639 (rmail-mime-entity-children, rmail-mime-entity-handler)
640 (rmail-mime-entity-tagline): New functions.
641 (rmail-mime-message-p): New function.
642 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
643 (rmail-mime-entity-segment, rmail-mime-next-item)
644 (rmail-mime-previous-item, rmail-mime-shown-mode)
645 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
646 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
647 (rmail-mime-insert-tagline, rmail-mime-insert-header):
649 (rmail-mime-text-handler): Call rmail-mime-insert-text.
650 (rmail-mime-insert-decoded-text): New function.
651 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
652 (rmail-mime-insert-image): Argument changed. Caller changed.
653 (rmail-mime-image): Call rmail-mime-toggle-hidden.
654 (rmail-mime-set-bulk-data): New funciton.
655 (rmail-mime-insert-bulk): Argument changed.
656 (rmail-mime-multipart-handler): Return t.
657 (rmail-mime-process-multipart): Argument changed.
658 Handle "multipart/alternative" here.
659 (rmail-mime-process): Argument changed.
660 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
661 (rmail-mime-insert): Argument changed. Handle raw display mode.
662 (rmail-mime): Argument changed. Handle toggling of raw display
664 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
665 rmail-mime-view-buffer.
666 (rmail-insert-mime-forwarded-message): Likewise.
667 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
669 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
670 non-nil, handle the header in rmail-show-mime-function.
672 2011-01-02 Leo <sdl.web@gmail.com>
674 * help-fns.el (describe-variable): Fix previous change.
676 2011-01-02 Juri Linkov <juri@jurta.org>
678 * isearch.el (isearch-lazy-highlight-error): New variable.
679 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
680 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
681 to the current value of `isearch-error' (Bug#7468).
683 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
685 * help-fns.el (describe-variable): Don't emit trailing whitespace
688 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
690 * textmodes/rst.el (rst-compile-pdf-preview)
691 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
693 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
695 * emulation/edt-mapper.el: Override mapping of function keys so
696 that the later call to read-key-sequence works.
698 2011-01-02 Eli Zaretskii <eliz@gnu.org>
700 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
701 Unix EOLs. (Bug#7589)
703 2011-01-02 Leo <sdl.web@gmail.com>
705 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
706 if point is not behind eshell-last-output-end (Bug#7585).
708 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
710 * files.el (file-local-variables-alist):
711 Make permanent-local (bug#7767).
713 2011-01-02 Glenn Morris <rgm@gnu.org>
715 * version.el (emacs-copyright): Set short copyright year to 2011.
717 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
719 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
720 an existing temp buffer. (Bug#7746)
722 2011-01-02 Glenn Morris <rgm@gnu.org>
724 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
725 multiple addresses. (Bug#7760)
727 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
729 * allout.el (allout-auto-fill): Do not infinitely recurse - use
730 do-auto-fill if everything points back to allout-auto-fill.
731 (allout-mode-deactivate-hook): Declare obsolete, in favor of
732 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
734 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
736 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
739 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
741 * doc-view.el (doc-view-set-doc-type): New function refactored
743 (doc-view-fallback-mode): New function.
744 (doc-view-mode): Use it.
745 (doc-view-mode-maybe): New function that checks if doc-view-mode
746 can be used and falls back to the next best mode otherwise.
748 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
749 DVI, OpenDocument, and MS Office files.
751 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
753 * emacs-lisp/rx.el (rx-syntax): Fix typo.
755 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
757 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
758 on a copy of auto-mode-alist, because that deletes with side
761 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
763 * doc-view.el (doc-view-mode, doc-view-toggle-display):
764 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
765 fallback instead of hard coding fundamental mode.
767 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
769 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
770 Office) files also for searching.
772 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
774 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
775 Office) files. Not yet enabled via auto-mode-list.
776 (doc-view-unoconv-program): New custom variable.
777 (doc-view-mode-p): Handle new odf document type.
778 (doc-view-odf->pdf): New conversion function.
779 (doc-view-convert-current-doc): Call it for odf files.
780 (doc-view-mode): Recognize newly supported file extensions.
782 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
784 * net/tramp.el (tramp-default-method-alist)
785 (tramp-default-user-alist)
786 (tramp-local-host-regexp, tramp-prefix-domain-format)
787 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
794 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
795 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
797 2010-12-29 Karl Fogel <kfogel@red-bean.com>
799 * saveplace.el (save-place-alist-to-file): Save list sorted and
800 pretty-printed, so that it is mergeable by line-based text merging,
801 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
803 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
805 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
806 (allout-mode): Argument "toggle" => "force".
807 Refine the docstring.
808 Remove special provisions for reactivation, besides the 'force'
810 Consolidate layout provisions coce directly into the activation
811 condition branch, now that we've removed those provisions.
812 (allout-unload-function): Explicitly activate the mode before
813 deactivating, if it's initially deactivated.
814 (allout-set-buffer-multibyte): Properly prevent byte-compiler
815 warnings for version of function used only where
816 set-buffer-multibyte is unavailable.
818 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
820 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
821 are handled by the menu-bar entries. As before, don't use
822 :visibile to avoid changing the tool-bar.
824 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
826 * net/secrets.el (secrets-delete-alias): New defun.
828 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
830 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
831 methods, otherwise ~/.ssh/config would be ignored.
833 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
835 * emacs-lisp/rx.el: Make it a superset of sregex.
836 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
837 of args, add `regex' alias.
838 (rx-info): Add arg to distinguish head and standalone forms.
839 (rx-check, rx-form): Pass the corresponding arg.
841 (rx-repeat): Make it work for any number of args.
842 (rx-syntax): Make it accept syntax chars as is.
843 * obsolete/sregex.el: Move from emacs-lisp/.
844 * emacs-lisp/re-builder.el: Remove sregex support.
845 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
847 2010-12-25 Eli Zaretskii <eliz@gnu.org>
849 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
850 PRIMARY first, then the clipboard. (Bug#7699)
852 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
854 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
857 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
859 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
860 .emacs.elc (Bug#7530).
862 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
863 image spec (Bug#7480).
865 2010-12-21 Daiki Ueno <ueno@unixuser.org>
867 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
868 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
871 2010-12-20 Leo <sdl.web@gmail.com>
873 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
874 always be performed (Bug#7680).
876 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
878 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
879 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
882 * color.el: Move from gnus/.
884 * vc/diff.el (diff-better-file-name): Function deleted.
885 abbreviating file names causes problems with shell-quote-argument.
886 (diff-no-select): Just use expand-file-name.
888 * tool-bar.el (tool-bar--image-expression): New function.
889 (tool-bar-local-item, tool-bar--image-exp): Use it.
890 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
891 Use :enable instead of :visible to avoid changing the tool-bar
892 configuration unnecessarily.
894 * info.el (info-tool-bar-map): Add separators.
896 2010-12-17 Ken Brown <kbrown@cornell.edu>
898 * loadup.el: Use version numbers in Cygwin build.
900 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
902 * ido.el (ido-file-internal): Ask for confirmation before
903 overwriting an existing file (Bug#1238).
905 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
907 * tool-bar.el (tool-bar-setup): Add separators.
909 * menu-bar.el (featurep): Use menu-bar-separator.
911 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
913 Migrate allout encryption provisions from pgg to epg.
915 * allout.el (allout-toggle-current-subtree-encryption)
916 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
917 defaulting policy and other changes. Change fetch-pass to keymode-cue,
918 for simpler universal argument interpretation.
919 (allout-toggle-subtree-encryption): Adjust docstring to describe
920 changed encryption provisions. Change fetch-pass to keymode-cue, for
921 simpler universal argument interpretation. Remove provisions for
922 handling key type and identity - they'll all be within
923 allout-encrypt-string or epg/epg or even contained all the way in gpg.
924 (allout-encrypt-string): Include keymode-cue, for optionally prompting
925 for keypair recipients (universal argument > 1) and, in addition,
926 associating the specified recipients with the outline (universal
927 argument > 4) using a file local variable setting for
928 'epa-file-encrypt-to'.
929 Require epa, for recipients handling.
930 Change how regexp filtering elements are named.
931 Describe the problem with caching of incorrect symmetric-decryption
933 Use the epa-passphrase-callback-function, in case the user is using
935 Support saving of the selected keypair recipients when invoked with a
937 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
939 Establish epg-context with armoring and default epg-protocol.
940 Remove all passphrase cache, verification, and hinting code.
941 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
942 No longer used, delete.
943 (allout-mode): Adjust docstring to describe changed encryption
944 provisions. Describe the problem with caching of incorrect
945 symmetric-decryption keys.
946 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
947 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
948 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
949 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
952 2010-12-16 Daiki Ueno <ueno@unixuser.org>
954 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
955 key selection prompt; make 'silent as default (Bug#7487).
957 2010-12-16 Leo <sdl.web@gmail.com>
959 * eshell/eshell.el (eshell-directory-name):
960 Use locate-user-emacs-file (Bug#7578).
962 2010-12-15 Glenn Morris <rgm@gnu.org>
964 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
966 2010-12-15 Jari Aalto <jari.aalto@cante.net>
967 Scott Evans <gse@antisleep.com>
969 * rect.el (rectange--default-line-number-format)
970 (rectangle-number-line-callback): New functions.
971 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
973 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
975 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
976 Delete unused variables.
977 (move-to-column-force): Remove function obsolete since 21.2.
979 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
981 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
982 (tramp-handle-insert-file-contents): Do not set permanent-local
985 * net/tramp-cache.el (tramp-persistency-file-name):
986 Use `locate-user-emacs-file' if fboundp.
988 * net/tramp-sh.el (tramp-methods): Add "ksu".
989 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
992 2010-12-14 Glenn Morris <rgm@gnu.org>
994 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
995 (find-tag-marker-ring): Declare.
996 (js-find-symbol): Require etags.
998 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1000 (mail-alias-file): Don't autoload. Doc fix.
1001 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1002 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1003 Mark as obsolete, and risky.
1004 (mail-setup): Simplify.
1006 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1007 * mail/sendmail.el (build-mail-aliases): Update autoload.
1009 * dired.el (dired-trivial-filenames, dired-chown-program)
1010 (dired-auto-revert-buffer): Remove autoload cookies.
1011 * mail/sendmail.el (mail-recover-1): Require 'dired.
1013 * dired.el (dired-subdir-switches, dired-chown-program)
1014 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1015 Make into defcustoms.
1016 (dired-chown-program): Simplify initialization.
1018 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1020 2010-12-13 Romain Francoise <romain@orebokech.com>
1022 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1024 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1026 * net/netrc.el (netrc-point-at-eol): Remove the unused
1027 netrc-point-at-old and netrc-bound-and-true-p bindings.
1028 (netrc-parse): Cache the netrc contents.
1030 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1032 * subr.el (posn-col-row): Evaluate header-line-format in the
1033 context of the POSITION window's buffer.
1035 2010-12-13 Glenn Morris <rgm@gnu.org>
1037 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1038 (with-silent-modifications): Doc fixes.
1040 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1042 * net/tramp.el (tramp-action-password, tramp-process-actions):
1043 Revert previous from. Use `save-restriction'.
1045 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1047 * calendar/diary-lib.el (diary-list-sexp-entries):
1048 Handle case of no newline at end of file. (Bug#7536)
1050 2010-12-13 Glenn Morris <rgm@gnu.org>
1052 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1054 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1056 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1057 (tramp-process-actions): Do not widen.
1059 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1060 Protect buffer-modified value. (Bug#7557)
1062 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1064 * log-edit.el (log-edit-changelog-entries):
1065 Regexp quote filename. (Bug#7505)
1067 2010-12-13 Tom Breton <tehom@panix.com>
1069 * cus-edit.el (custom-save-all):
1070 Bind print-length and print-level to nil. (Bug#7581)
1072 2010-12-13 Glenn Morris <rgm@gnu.org>
1074 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1075 Run hooks to update menu contents. (Bug#7586)
1077 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1078 file names, for the sake of MS Windows. (Bug#7588)
1080 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1083 empty lines without a leading space.
1085 2010-12-13 Leo <sdl.web@gmail.com>
1087 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1088 while mapping over marks (Bug#6810).
1090 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1092 * image-dired.el (image-dired-db-file)
1093 (image-dired-temp-image-file, image-dired-gallery-dir)
1094 (image-dired-temp-rotate-image-file): Set default values relative
1095 to image-dired-dir (Bug#7518).
1097 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1099 * format.el (format-decode-run-method): Pass args FROM and TO, not
1100 point-min and point-max, to shell-command-on-region (Bug#7488).
1102 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1104 * frame.el (blink-cursor-mode): Make default t for ns.
1106 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1108 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1110 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1112 * comint.el (comint-dynamic-list-input-ring)
1113 (comint-dynamic-complete-filename)
1114 (comint-replace-by-expanded-filename)
1115 (comint-dynamic-simple-complete)
1116 (comint-dynamic-list-filename-completions)
1117 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1119 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1122 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1124 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1127 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1129 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1132 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1134 * files.el (file-relative-name): Handle UNC file names on
1135 DOS/Windows. (Bug#4674)
1137 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1139 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1140 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1141 (epg-context-set-passphrase-callback): Mention that the callback
1142 is not called when used with GnuPG 2.x.
1144 2010-12-13 Glenn Morris <rgm@gnu.org>
1146 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1147 Ensure ps-footer-font-size-internal is initialized.
1148 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1150 2010-12-13 Kenichi Handa <handa@m17n.org>
1152 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1153 within condition-case.
1154 (rmail-show-mime): Don't use condition-case.
1155 (rmail-search-mime-message): New function.
1156 (rmail-search-mime-message-function): Set to
1157 rmail-search-mime-message.
1159 2010-12-13 Leo <sdl.web@gmail.com>
1161 * ido.el (ido-common-initialization): New function. (bug#3274)
1163 (ido-completing-read): Call it.
1165 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1167 * bookmark.el (bookmark-name-from-full-record): Rename back to
1168 this original name from `bookmark-name-from-record' reverting part
1169 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1170 As Drew Adams pointed out, there was no reason to cause churn for
1171 third-party callers.
1173 2010-12-12 Alan Mackenzie <acm@muc.de>
1175 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1176 template arglist, check that the current language supports this.
1178 2010-12-11 Glenn Morris <rgm@gnu.org>
1180 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1181 state of the file matches. (Bug#7544)
1182 (vc-bzr-register, vc-bzr-checkin)
1183 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1184 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1186 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1188 2010-12-11 Karel Klíč <kklic@redhat.com>
1190 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1192 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1194 Derive from prog-mode, use derived-mode-p, and fix up various
1195 minor style issues in lisp/progmodes.
1197 * progmodes/vhdl-mode.el (vhdl-mode):
1198 * progmodes/verilog-mode.el (verilog-mode):
1199 * progmodes/vera-mode.el (vera-mode):
1200 * progmodes/sql.el (sql-mode):
1201 * progmodes/scheme.el (scheme-mode):
1202 * progmodes/perl-mode.el (perl-mode):
1203 * progmodes/octave-inf.el (inferior-octave-mode):
1204 * progmodes/autoconf.el (autoconf-mode):
1205 * progmodes/m4-mode.el (m4-mode):
1206 * progmodes/inf-lisp.el (inferior-lisp-mode):
1207 * progmodes/idlwave.el (idlwave-mode):
1208 * progmodes/icon.el (icon-mode):
1209 * progmodes/idlw-help.el (idlwave-help-mode):
1210 * progmodes/dcl-mode.el (dcl-mode):
1211 * progmodes/idlw-shell.el (idlwave-shell-mode):
1212 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1213 (ebrowse-member-mode, ebrowse-electric-position-mode):
1214 Use define-derived-mode.
1216 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1217 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1218 (xscheme-debugger-mode-p, xscheme-send-string-1):
1219 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1220 (tcl-load-file, tcl-restart-with-file):
1221 * progmodes/ps-mode.el (ps-run-running):
1222 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1223 * progmodes/js.el (js--get-all-known-symbols):
1224 * progmodes/inf-lisp.el (inferior-lisp-proc):
1225 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1226 (idlwave-template, idlwave-update-buffer-routine-info)
1227 (idlwave-update-current-buffer-info)
1228 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1229 (idlwave-scan-class-info, idlwave-fix-keywords)
1230 (idlwave-list-buffer-load-path-shadows):
1231 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1232 (idlwave-toolbar-remove):
1233 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1234 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1235 (idlwave-shell-menu-def):
1236 * progmodes/idlw-complete-structtag.el
1237 (idlwave-prepare-structure-tag-completion):
1238 * progmodes/gud.el (gud-set-buffer):
1239 * progmodes/f90.el (f90-backslash-not-special):
1240 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1242 * progmodes/xscheme.el (xscheme-start)
1243 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1244 * progmodes/which-func.el (which-function):
1245 * progmodes/vhdl-mode.el (vhdl-set-style):
1246 * progmodes/verilog-mode.el (verilog-set-compile-command)
1247 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1248 (verilog-set-define, verilog-auto-reeval-locals):
1249 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1250 * progmodes/simula.el (simula-mode):
1251 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1252 * progmodes/python.el (python-check, python-mode):
1253 * progmodes/prolog.el (prolog-mode-variables):
1254 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1255 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1256 * progmodes/delphi.el (delphi-mode):
1257 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1258 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1259 (c-font-lock-init): Move make-local-variable to their setq.
1261 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1262 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1264 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1265 (sh-set-shell): Don't set require-final-newline since it's already done
1267 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1268 since we never set it.
1269 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1270 Use read-string and standard prompt.
1271 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1272 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1273 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1274 (meta-common-mode-map): Rename from meta-mode-map.
1275 Remove C-m binding, which is a user preference, not mode specific.
1276 (meta-common-mode): New major mode; replace meta-common-initialization.
1277 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1278 around with font-lock.
1279 * progmodes/etags.el (select-tags-table-mode):
1280 Derive from special-mode.
1281 * progmodes/octave-mod.el (octave-mode):
1282 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1283 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1284 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1285 Let define-derived-mode do its job.
1286 * progmodes/cpp.el (cpp-edit-mode-map):
1287 Move initialization into declaration.
1288 (cpp-edit-mode): Use define-derived-mode.
1289 (cpp-edit-load): Use derived-mode-p.
1290 * progmodes/mixal-mode.el (mixal-mode):
1291 * progmodes/f90.el (f90-mode):
1292 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1293 require-final-newline since prog-mode does it already.
1294 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1295 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1296 * progmodes/antlr-mode.el: Require cc-mode upfront.
1297 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1299 (antlr-directory-dependencies, antlr-show-makefile-rules):
1301 (antlr-language-option): Don't assume point-min==1.
1302 (antlr-mode): Use define-derived-mode.
1303 * progmodes/ada-mode.el: Use derived-mode-p.
1304 (ada-mode): Use define-derived-mode.
1305 Use hack-local-variables-hook.
1307 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1310 (texinfo-mode): Don't disable adaptive-fill-mode.
1311 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1312 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1313 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1314 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1315 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1316 (texinfo-insert-@quotation, texinfo-insert-@samp)
1317 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1318 (texinfo-insert-@uref): Use define-skeleton.
1319 (texinfo-insert-@-with-arg): Delete.
1321 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1323 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1324 nil, do quote archive member names. (Bug#6144)
1326 2010-12-10 Glenn Morris <rgm@gnu.org>
1328 * files.el (diff-no-select): Declare.
1330 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1331 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1333 * comint.el (comint-input-ring-file-name): Doc fix.
1335 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1337 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1339 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1340 Use them instead of `nil' and `>', respectively.
1341 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1343 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1344 and menu-bar-positive-p instead of `nil' and `>', respectively.
1347 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1349 * whitespace.el (whitespace-newline-mode): Code fix.
1351 2010-12-09 Glenn Morris <rgm@gnu.org>
1353 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1354 Rename functions without commas, update callers.
1356 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1358 * whitespace.el (whitespace-cleanup-region):
1359 Clean up spaces before tabs. (Bug#7582)
1361 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1363 * bookmark.el: Adjust parameter names and doc strings to resolve
1364 confusion over whether "bookmark" meant a bookmark name or a
1365 bookmark record. Along the way, shorten one function's name for
1366 similar reasons. (Issue #7548)
1367 (bookmark-name-from-record): New name for
1368 `bookmark-name-from-full-record'. All callers changed.
1369 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1370 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1371 (bookmark-get-annotation, bookmark-set-annotation)
1372 (bookmark-get-filename, bookmark-set-filename)
1373 (bookmark-get-position, bookmark-set-position)
1374 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1375 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1376 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1377 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1378 Rename `bookmark' parameter to `bookmark-name-or-record', to
1379 clearly show its role, and shorten or adjust doc strings accordingly.
1380 (bookmark-set-name): Same, and pass the parameter directly to
1381 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1382 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1383 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1384 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1385 and in some cases shorten doc string accordingly.
1386 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1387 and `new-name', and adjust an internal variable to avoid confusion.
1388 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1389 parameter in doc string.
1391 2010-12-08 Glenn Morris <rgm@gnu.org>
1393 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1394 from gdb's history file. (Bug#7575)
1396 * mail/emacsbug.el (report-emacs-bug):
1397 Try to handle some other mail clients.
1399 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1401 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1402 Use string-prefix-p.
1403 (file-name-version-regexp): New var.
1404 (file-name-sans-versions):
1405 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1406 (jka-compr-get-compression-info): Use dolist.
1407 (jka-compr-compression-info-list): Don't bother specifying
1408 version/backup regexps.
1410 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1412 * simple.el (just-one-space): Make argument n default to 1 if
1415 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * electric.el (electric-indent-post-self-insert-function):
1418 Delete trailing newlines even if we don't reindent.
1420 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * minibuffer.el (completion-at-point): Remove the `arg'.
1423 * bindings.el (complete-symbol): Move back from minibuffer.el.
1425 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1427 * simple.el (just-one-space): Delete newlines for negative arg.
1429 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1432 (ansi-color-filter-apply): Simplify.
1433 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1435 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1437 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1439 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1441 * dired.el (dired-use-ls-dired): Set default to a special
1442 "unspecified" value.
1443 (dired-insert-directory): When called the first time, check
1444 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1446 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1448 * replace.el: Add "collect" feature to occur.
1449 (occur-collect-regexp-history): New var.
1450 (occur-read-primary-args): Return a replace string for nlines,
1452 (occur): Extend the meaning of nlines.
1454 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1457 (which-func-update-1): Distinguish symbols from strings.
1458 (which-function): Stay within 80 columns.
1460 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1462 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1464 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1466 (comment-style): Use comment-styles's docs to describe values.
1468 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1470 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1471 and ns-show-prefs (Bug#7535).
1473 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1474 bindings (Bug#7535).
1476 2010-12-03 Glenn Morris <rgm@gnu.org>
1478 * nxml/nxml-mode.el: Require rng-nxml.
1479 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1480 Remove declarations.
1482 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1483 * nxml/rng-nxml.el, nxml/rng-valid.el:
1484 Remove leading `*' from defcustom docs.
1486 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1487 (normal-top-level-add-to-load-path, tty-handle-args):
1488 Convert comments to basic doc-strings.
1490 * net/browse-url.el (browse-url-url-at-point)
1491 (browse-url-default-browser): Remove autoload cookies.
1493 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1494 Remove more undefined cl functions.
1496 * vc/diff.el (diff-sentinel): Make new arguments optional.
1497 * ibuf-ext.el (diff-sentinel): Update declaration.
1499 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1501 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1502 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1503 (epg-context-set-passphrase-callback): Mention that the callback
1504 is not called when used with GnuPG 2.x.
1506 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1508 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1509 (tramp-file-name-port): Check also for `tramp-default-port'.
1510 (tramp-get-connection-name): New defun.
1511 (tramp-get-connection-process): Use it.
1512 (tramp-debug-message): Extend function exclude list.
1513 (tramp-drop-volume-letter): Fix doc string.
1515 * net/tramp-cmds.el: Remove solved todo item.
1519 * net/tramp-gvfs.el:
1521 * net/tramp-imap.el:
1522 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1523 and `tramp-default-user-alist', respectively.
1525 * net/tramp-gw.el (tramp-gw-open-connection):
1526 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1528 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1529 `tramp-file-name-port'.
1531 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1532 and "psftp". Exchange "%k" marker with options.
1533 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1534 Compute size of link target.
1535 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1536 `tramp-current-*' up due to gateway methods. Optimze computing of
1537 copy arguments. Use `tramp-get-connection-name' and
1538 `tramp-get-connection-buffer'. Improve debug messages.
1539 (tramp-compute-multi-hops): Remove port determination.
1540 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1542 * net/trampver.el: Update release number.
1544 2010-12-02 Glenn Morris <rgm@gnu.org>
1546 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1547 Avoid infinite loop over windows. (Bug#7492)
1549 * progmodes/flymake.el (flymake-check-file-limit):
1550 Allow nil to mean "no limit".
1551 (flymake-check-patch-master-file-buffer): Update for above change.
1552 Allow a .tex file-name extension to be optional.
1553 (flymake-master-tex-init): Also match \include statements.
1555 2010-11-30 Sam Steingold <sds@gnu.org>
1557 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1558 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1559 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1560 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1561 define-derived-mode').
1562 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1563 users who want to call `nxml-parent-document-set'.
1565 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1567 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1568 stand-alone lines, since that is handled by log-edit-match-to-eoh
1571 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1573 * dired.el (dired-get-filename): Replace backslashes with slashes
1574 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1575 * locate.el (locate-default-make-command-line): Don't consider
1576 drive letter and root directory part of
1577 `directory-listing-before-filename-regexp'. (Bug#7308)
1578 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1580 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1583 of :smie-open/close-alist.
1584 (smie-next-sexp): Make it accept a "start token" as argument.
1585 (smie-indent-keyword): Be careful not to misidentify tokens that span
1586 more than one line, as empty lines. Add argument `token'.
1588 2010-11-27 Kenichi Handa <handa@m17n.org>
1590 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1591 multipart subtypes, insert all as usual.
1593 * mail/rmail.el: Require rfc2047.
1595 2010-11-27 Kenichi Handa <handa@m17n.org>
1597 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1598 (rmail-mime-entity-disposition)
1599 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1600 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1601 (rmail-mime-save): Handle the case that the button's `data' is a
1603 (rmail-mime-insert-text): New function.
1604 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1605 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1606 (rmail-mime-insert-bulk): New function mostly copied from the old
1607 rmail-mime-bulk-handler.
1608 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1609 (rmail-mime-process-multipart): New function mostly copied from
1610 the old rmail-mime-multipart-handler.
1611 (rmail-mime-show): Just call rmail-mime-process.
1612 (rmail-mime-process): New function mostly copied from the old
1614 (rmail-mime-insert-multipart, rmail-mime-parse)
1615 (rmail-mime-insert, rmail-show-mime)
1616 (rmail-insert-mime-forwarded-message)
1617 (rmail-insert-mime-resent-message): New functions.
1618 (rmail-insert-mime-forwarded-message-function): Set to
1619 rmail-insert-mime-forwarded-message.
1620 (rmail-insert-mime-resent-message-function): Set to
1621 rmail-insert-mime-resent-message.
1623 * mail/rmailsum.el: Require rfc2047.
1624 (rmail-header-summary): Handle multiline Subject: field.
1625 (rmail-summary-line-decoder): Change the default to
1626 rfc2047-decode-string.
1628 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1629 (rmail-mime-feature): Change the default to `rmailmm'.
1630 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1631 (rmail-display-labels): Likewise.
1632 (rmail-show-message-1): Check rmail-enable-mime, and use
1633 rmail-show-mime-function for a MIME message. Decode the headers
1634 according to RFC2047.
1636 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * progmodes/which-func.el (which-func-imenu-joiner-function):
1639 Return a string, as expected.
1640 (which-function-mode): Make sure we stop any previous timer before
1643 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1645 * net/tramp.el (tramp-default-method-alist)
1646 (tramp-default-user-alist, tramp-default-proxies-alist):
1647 Adapt custom options type. (Bug#7445)
1649 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1651 * progmodes/python.el: Add Ipython support (Bug#5390).
1652 (python-shell-prompt-alist)
1653 (python-shell-continuation-prompt-alist): New options.
1654 (python--set-prompt-regexp): New function.
1655 (inferior-python-mode, run-python, python-shell):
1656 Require ansi-color. Use python--set-prompt-regexp to set the comint
1657 prompt based on the Python interpreter.
1658 (python--prompt-regexp): New var.
1659 (python-check-comint-prompt)
1660 (python-comint-output-filter-function): Use it.
1661 (run-python): Use a pipe (Bug#5694).
1663 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1665 * progmodes/python.el (run-python): Doc fix.
1666 (python-keep-current-directory-in-path): New var (Bug#7454).
1668 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1670 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1671 Prompt user before actually printing.
1673 2010-11-27 Glenn Morris <rgm@gnu.org>
1675 * startup.el (package-enable-at-startup, package-initialize):
1676 Remove unnecessary declarations.
1678 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1680 * international/characters.el (glyphless-char-display-control):
1681 Exclude newline and TAB from the c0-control group.
1683 2010-11-27 Glenn Morris <rgm@gnu.org>
1685 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1686 (expand-mail-aliases): Remove unnecessary autoload.
1688 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1690 * shell.el (shell-dir-cookie-re): Move definition before use.
1692 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1693 Replace undefined CL functions.
1695 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1697 * simple.el (prog-mode): Set bidi-paragraph-direction to
1700 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1702 2010-11-26 Glenn Morris <rgm@gnu.org>
1704 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1705 diary-outlook-formats can be sensitive to calendar-date-style.
1706 (diary-outlook-formats): Simplify the default setting.
1707 (diary-from-outlook-internal): Pass subject and body as arguments.
1708 Use dolist rather than dotimes. Don't save the diary buffer.
1709 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1710 Pass subject and body as explicit arguments to the -internal function.
1712 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1714 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1715 parsing them. This makes mailto:...?subject=foo\nbar work.
1717 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * vc/diff.el (diff): Fix last change.
1721 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1724 (pcase--dontcare-upats): New var.
1725 (pcase-let, pcase-let*): Generate better code.
1726 Accept the same bodies as `let'.
1727 (pcase-dolist): New macro.
1728 (pcase--trivial-upat-p): New helper function.
1729 (pcase--expand): Strip leading "(let nil" if any.
1731 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1733 * mail/mailclient.el (browse-url): Require.
1734 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1735 use the external browser function to send the mail (bug#7469).
1737 * net/browse-url.el (browse-url-browser-function): Revert the
1738 default back to the previous value, since the new value broke
1740 (browse-url-mailto-function): New variable for mailto: URLs.
1741 (browse-url): Use the new variable for mailto: URLs.
1743 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * eshell/esh-cmd.el (eshell-parse-command):
1746 * eshell/esh-arg.el (eshell-parse-arguments):
1747 * eshell/em-script.el (eshell-source-file):
1748 Use with-silent-modifications.
1750 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1752 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1753 for a merge location.
1755 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1756 (vc-bzr-merge-branch): Always prompt.
1757 (vc-bzr-async-command): Use the full branch filename.
1759 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * shell.el (shell): Use current-buffer by default if it's already
1762 a shell mode buffer and its process is dead.
1763 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1765 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1768 Mention that the keywords should be comma separated.
1770 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1772 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1773 Accept optional prefix arg meaning to prompt for a command.
1774 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1775 prefix arg meaning to prompt for a command.
1776 (vc-pull): Alias for vc-update.
1778 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1779 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1780 (vc-bzr-merge-branch): New functions, implementing merge-branch
1781 and pull operations.
1783 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * Makefile.in: Fix up last merge.
1787 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1788 (diff-sentinel): Get them as arguments instead.
1789 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1790 (diff-file-local-copy, diff-better-file-name): New funs.
1791 (diff-no-select): Rename from diff-into-buffer.
1792 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1793 Prefer closures to buffer-local variables.
1794 (diff): Adjust accordingly.
1795 (diff-buffer-with-file): Move from files.el.
1796 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1797 (diff-buffer-internal): Remove.
1798 (diff-buffer-buffer): Remove.
1799 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1800 the buffer name used, and so as not to mess up windows and frames.
1802 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1804 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1805 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1806 (diff-buffer-with-file): Use it.
1807 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1810 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1812 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1813 \ref's or \pageref's value as default instead of initial input.
1815 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1817 * files.el (backup-by-copying-when-mismatch): The default value is
1820 * startup.el (normal-top-level):
1821 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1822 `backup-by-copying-when-mismatch'.
1824 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1826 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1828 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1830 * progmodes/python.el (python-font-lock-keywords):
1831 Highlight top-level augmented assignments (Bug#6445).
1833 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1835 * term/ns-win.el (ns-right-control-modifier)
1836 (ns-right-command-modifier): Defvar them.
1838 * cus-start.el (all): Add ns-right-control-modifier and
1839 ns-right-command-modifier (Bug#7458).
1841 2010-11-20 Glenn Morris <rgm@gnu.org>
1843 * emacs-lisp/authors.el (authors-ignored-files)
1844 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1846 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1848 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1849 (report-emacs-bug-parse-query-results)
1850 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1851 keywords used for querying the bug database to show them in the
1852 existing bugs buffer.
1854 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1856 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1858 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1860 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1862 * international/characters.el (glyphless-char-display-control):
1863 Make it a defcustom, with update-glyphless-char-display as its
1865 (top level): Don't call update-glyphless-char-display.
1867 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1869 Sync with Tramp 2.2.0.
1871 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1872 `file-remote-p' (due to compatibility).
1874 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1875 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1877 * net/trampver.el: Update release number.
1879 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1881 * faces.el (glyphless-char): Define value for `pc'.
1883 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1885 Implemented a bug querying mechanism.
1886 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1887 (report-emacs-bug-create-existing-bugs-buffer)
1888 (report-emacs-bug-parse-query-results)
1889 (report-emacs-bug-query-existing-bugs): New functions.
1891 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1893 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1894 a \ref{} or \pageref{} macro, then use its value as initial input.
1896 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1898 * calc/calc-units.el (math-build-units-table-buffer):
1899 calc/README: Mention that the TeX specific units won't use the
1900 `tex' prefix in TeX mode.
1901 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1902 prefix for units in TeX mode.
1904 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * simple.el (kill-new, kill-append, kill-region):
1907 * comint.el (comint-kill-region): Make the yank-handler argument
1910 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1913 that are both openers (resp. closers) and something else.
1914 (smie-grammar): Loosen definition of valid values.
1915 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1916 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1917 (smie-indent-after-keyword): Adjust users.
1918 (smie-indent-keyword): Don't indent empty lines.
1920 * vc-hg.el (vc-hg-program): New var.
1921 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1922 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1924 2010-11-18 Glenn Morris <rgm@gnu.org>
1926 * emacs-lisp/autoload.el (autoload-find-destination): The function
1927 coding-system-eol-type may return non-numeric values. (Bug#7414)
1929 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1931 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1933 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1935 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1937 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1939 * textmodes/picture.el (picture-mouse-set-point): Don't use
1940 posn-col-row; explicitly compute the motion based on the posn at
1941 the window-start (Bug#7390).
1943 2010-11-18 Glenn Morris <rgm@gnu.org>
1945 * novice.el (disabled-command-function):
1946 Fix 2009-11-15 change. (Bug#7384)
1948 2010-11-18 Glenn Morris <rgm@gnu.org>
1950 * calendar/calendar.el (diary-iso-date-forms): Make elements
1951 mutually exclusive. (Bug#7377)
1953 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1956 when filling the remaining "unconstrained" values.
1958 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1963 * files.el (safe-local-variable-p): Gracefully handle errors.
1965 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1966 Use smie-indent-virtual when indenting relative to an opener.
1967 (smie-rule-separator): Use smie-rule-parent.
1968 (smie-indent-keyword): Consult rules, even for openers at bol.
1969 (smie-indent-comment-close): Try to align closer's content.
1971 2010-11-18 Glenn Morris <rgm@gnu.org>
1973 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1975 2010-11-18 Glenn Morris <rgm@gnu.org>
1977 * printing.el (pr-menu-bind): Doc fix.
1979 * speedbar.el (speedbar-toggle-images): Doc fix.
1981 * progmodes/python.el (python-shell): Doc fix.
1983 * wid-edit.el (widget-field-use-before-change)
1984 (widget-use-overlay-change): Doc fixes.
1986 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1988 Minor cleanup to improve style.
1989 * textmodes/rst.el (rst-update-section): Use point-marker.
1990 (rst-get-decoration): Eliminate unneeded assignment.
1991 (rst-promote-region, rst-straighten-decorations)
1992 (rst-section-tree, rst-adjust): Use point-marker.
1993 (rst-toc-mode-mouse-goto): Avoid setq.
1994 (rst-shift-region-guts, rst-shift-region-left)
1995 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1996 (rst-convert-bullets-to-enumeration): Use copy-marker.
1998 * minibuffer.el (completion-fail-discreetly): New var.
1999 (completion--do-completion): Use it.
2001 * electric.el (electric-pair-pairs): New var.
2002 (electric-pair-post-self-insert-function): Use it.
2003 (electric-layout-post-self-insert-function): Don't insert a before
2004 newline unless it's actually needed.
2006 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2008 * progmodes/python.el (run-python): Explain why we remove the current
2009 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2011 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2013 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2016 (octave-mode-map): Don't bind ;, SPC, and LF.
2017 (octave-auto-indent, octave-auto-newline): Remove.
2018 (electric-layout-rules): Declare.
2019 (octave-mode): Set electric-layout-rules.
2020 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2021 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2022 (octave-electric-space): Remove.
2024 * electric.el (electric-layout-mode): New minor mode.
2025 (electric--after-char-pos): New function.
2026 (electric-indent-post-self-insert-function): Use it.
2027 (electric-layout-rules): New var.
2028 (electric-layout-post-self-insert-function): New function.
2029 (electric-indent-mode): Make them interact better.
2031 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2034 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2035 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2037 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2039 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2040 Make sure to check inside the word (Bug#6761).
2042 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2044 * startup.el (command-line): If the cursorColor resource is set,
2045 change the cursor face-spec (Bug#7392).
2047 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2049 The main features of the following allout.el changes are:
2050 - implement user customization for the allout key bindings
2051 - add a customization control by which the user can inhibit use of
2052 a trailing Ctrl-H, so by default it's reserved for use with
2053 describe-prefix-bindings
2054 - adapt to new version of called-interactively-p, while
2055 maintaining backwards compatibility with old version
2056 - fix hotspot navigation so i works properly with meta-modified keys
2058 * allout.el (allout-keybindings, allout-bind-keys)
2059 (allout-keybindings-binding, allout-prefixed-keybindings)
2060 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2061 (allout-keybindings-list, allout-mode-map-adjustments)
2062 (allout-setup-mode-map): Establish allout-mode keymaps as user
2063 customizable settings, and also establish a customizable setting which
2064 regulates whether or not a trailing control-h is reserved for use with
2065 describe-prefix-bindings - and inhibit it by default, so that control-h
2066 *is* reserved for describe-prefix-bindings unless the user changes it.
2068 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2069 and accurately between modified and unmodified events, and handle
2070 modified events more comprehensively.
2072 * allout.el (allout-substring-no-properties):
2073 Alias to use or provide version of `substring-no-properties'.
2074 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2076 * allout.el (allout-next-single-char-property-change):
2077 Alias to use or provide version of `next-single-char-property-change'.
2078 (allout-annotate-hidden, allout-hide-by-annotation):
2079 Use `allout-next-single-char-property-change'.
2081 * allout.el (allout-select-safe-coding-system):
2082 Alias to use or provide version of `select-safe-coding-system'.
2083 (allout-toggle-subtree-encryption):
2084 Use `allout-select-safe-coding-system'.
2086 * allout.el (allout-set-buffer-multibyte):
2087 Alias to use or provide version of `set-buffer-multibyte'.
2088 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2090 * allout.el (allout-called-interactively-p): Macro for using the
2091 different versions of called-interactively-p identically, depending on
2092 the subroutine's argument signature.
2093 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2094 Use `(interactive "p")' instead of `(called-interactively-p)'.
2096 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2097 (allout-previous-visible-heading, allout-forward-current-level)
2098 (allout-backward-current-level, allout-show-children):
2099 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2101 * allout.el (allout-before-change-handler):
2102 Exempt edits to the (overlaid) character after the allout outline
2103 bullet from edit confirmation prompt.
2105 * allout.el (allout-add-resumptions):
2106 Ensure that it respects correct buffer for keybindings.
2108 * allout.el (allout-beginning-of-line):
2109 Use `allout-previous-single-char-property-change' alias for the sake of
2110 diverse compatibility.
2112 * allout.el (allout-end-of-line):
2113 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2115 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2117 * frame.el (frame-notice-user-settings): Don't clobber other
2118 user-set parameters when calling face-set-after-frame-default in
2119 response to background-color parameter (Bug#7373).
2121 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2123 * international/characters.el (glyphless-char-display-control):
2124 Rename from glyphless-char-control; all users changed. Doc fix.
2125 Signal an error if display method is not one of the recognized
2128 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2130 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2131 (tramp-compat-line-end-position): Remove them.
2133 * net/tramp.el (tramp-parse-rhosts-group)
2134 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2135 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2136 (tramp-parse-netrc-group, tramp-parse-putty-group)
2137 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2138 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2139 (tramp-sh-handle-file-selinux-context)
2140 (tramp-sh-handle-file-name-all-completions)
2141 (tramp-sh-handle-insert-directory)
2142 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2143 (tramp-wait-for-output, tramp-send-command-and-read)
2144 * net/tramp-smb.el (tramp-smb-read-file-entry)
2145 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2147 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2149 (tramp-remote-coding-commands): Add an alternative using "base64
2150 -d -i". This is needed for older base64 versions from GNU
2151 coreutils. Reported by Klaus Reichl
2152 <Klaus.Reichl@thalesgroup.com>.
2154 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2156 * simple.el (count-words-region): New function.
2158 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * shell.el (shell-dir-cookie-re): New custom variable.
2161 (shell-dir-cookie-watcher): New function.
2163 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2164 and compilation-mode (bug#7350).
2166 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2167 highlight when one of them is empty.
2169 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2171 (skeleton-newline): New function.
2172 (skeleton-internal-1): Use it.
2174 * simple.el (open-line): `newline' may strip trailing space.
2176 2010-11-12 Kevin Ryde <user42@zip.com.au>
2178 * international/mule-cmds.el (princ-list): Use mapc.
2180 2010-11-12 Glenn Morris <rgm@gnu.org>
2182 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2183 Use it to replace all instances of "*Compile-Log*"
2185 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2190 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * progmodes/modula2.el: Use SMIE and skeleton.
2193 (m2-mode-syntax-table): (*..*) can be nested.
2194 Add //...\n. Fix paren syntax.
2195 (m2-mode-map): Remove LF and TAB bindings.
2196 (m2-indent): Add safety property.
2197 (m2-smie-grammar): New var.
2198 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2199 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2200 (m2-mode): Use define-derived-mode.
2201 (m2-newline, m2-tab): Remove.
2202 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2203 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2204 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2205 (m2-import): Use define-skeleton.
2207 2010-11-11 Glenn Morris <rgm@gnu.org>
2209 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2211 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2212 (ls-lisp-verbosity): Add custom :set-after property.
2213 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2214 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2215 (ls-lisp-insert-directory): Update caller.
2216 (ls-lisp-set-options): New function.
2217 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2220 * play/landmark.el (lm-prompt-for-move):
2221 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2223 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2225 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2226 (idlwave-study-twins): Prefix dynamic local variable `name'.
2227 (idlwave-routine-twin-compare): Update for above change.
2229 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2230 Prefix dynamic local variables `name', `kwd', and `link'.
2231 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2232 * progmodes/idlw-complete-structtag.el
2233 (idlwave-complete-structure-tag-help):
2234 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2235 (idlwave-complete-sysvar-tag-help)
2236 (idlwave-complete-class-structure-tag-help):
2237 Update for above name changes.
2239 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2241 * net/browse-url.el (browse-url-browser-function): Change the
2242 default to use `browse-url-mail' on mailto: URLs.
2244 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2246 * emacs-lisp/package.el (package-read-all-archive-contents):
2247 Reset package-archive-contents to nil before re-reading.
2249 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2251 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2252 already found as misspellings by (flyspell-large-region), just
2253 do highlighting (bug#7322).
2255 2010-11-10 Glenn Morris <rgm@gnu.org>
2257 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2259 * emulation/edt.el (edt-with-position): New macro.
2260 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2261 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2262 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2264 * emulation/tpu-extras.el (tpu-with-position): New macro.
2265 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2267 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2269 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2270 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2271 (texinfo-master-menu, texinfo-insert-node-lines)
2272 (texinfo-multiple-files-update):
2273 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2274 Use line-beginning-position.
2276 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2277 No recent Emacs supports system-type `emx'.
2279 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2280 (ada-command-separator, ada-default-prj-properties)
2281 (ada-find-any-references): Update for above name change.
2283 * dirtrack.el (dirtrack-directory-function)
2284 (dirtrack-canonicalize-function):
2285 * filecache.el (file-cache-completion-ignore-case)
2286 (file-cache-case-fold-search, file-cache-ignore-case):
2287 * term.el (serial-port-is-file-p): Cosmetic change.
2289 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2290 Remove non-existent `windows-95' system-type.
2291 * dired.el (dired-chown-program): Remove non-existent `linux'
2294 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2295 (ping-program-options): Remove non-existent `linux' system-type.
2297 * startup.el (package-initialize): Update declaration.
2299 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2300 (ls-lisp-handle-switches): Use time-less-p.
2301 (ls-lisp-format-time): Use float-time.
2303 * textmodes/remember.el (remember-time-to-seconds): Remove.
2304 (remember-store-in-mailbox): Use float-time.
2306 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2308 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2309 never a real function.
2310 (with-no-warnings): Remove compat stub, now unused.
2311 (time-less-p): Doc fix.
2312 (time-to-number-of-days): Simplify.
2314 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2316 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2317 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2318 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2319 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2320 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2322 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2323 (eshell-shuffle-files, eshell-shorthand-tar-command)
2324 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2325 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2326 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2327 Prefix dynamic local variable `matches'.
2329 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2330 Prefix dynamic local variable `skeleton'.
2332 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2334 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2335 in mail buffer; make yank-action always a command that yanks original
2338 2010-11-09 Glenn Morris <rgm@gnu.org>
2340 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2342 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2345 completion field (bug#7211).
2347 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2348 Fix handling of backslash escapes.
2349 (python-quote-syntax): Adjust accordingly.
2351 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2353 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2354 (vc-mtn-workfile-branch): Adjust to new output format.
2356 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * international/mule-cmds.el (princ-list): Mark as obsolete.
2360 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * emacs-lisp/smie.el: New package.
2364 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2366 * files.el (backup-by-copying-when-mismatch):
2367 Set `permanent-local' property.
2369 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2370 `permanent-local' property for `backup-by-copying-when-mismatch'.
2372 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2374 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2376 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2378 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2379 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2380 AUTOINOUT for SV style multidimensional arrays, bug294.
2381 Reported by Eric Mastromarchi.
2382 (verilog-preprocess): Use with-current-buffer and
2383 font-lock-fontify-buffer to cleanup style issues.
2385 2010-11-09 Glenn Morris <rgm@gnu.org>
2387 * locate.el (locate, locate-mode): Doc fixes.
2389 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2391 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2392 user for confirmation.
2393 (server-force-stop): Use it.
2394 (server-start): Use server-force-stop for kill-emacs-hook, to
2395 avoid user interaction while killing Emacs.
2397 2010-11-09 Glenn Morris <rgm@gnu.org>
2399 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2400 (meta-indent-line): Simplify.
2402 * vc/emerge.el (emerge-line-number-in-buf):
2403 * textmodes/ispell.el (ispell-region):
2404 * textmodes/fill.el (current-fill-column):
2405 * progmodes/xscheme.el (xscheme-send-current-line):
2406 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2407 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2408 * progmodes/sh-script.el (sh-handle-prev-do):
2409 * progmodes/meta-mode.el (meta-indent-line):
2410 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2412 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2413 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2414 * progmodes/fortran.el (fortran-looking-at-if-then):
2415 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2416 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2417 (cperl-find-pods-heres):
2418 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2419 * net/quickurl.el (quickurl-list-insert):
2420 * net/ldap.el (ldap-search-internal):
2421 * net/eudc.el (eudc-expand-inline):
2422 * mail/sendmail.el (sendmail-send-it):
2423 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2424 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2425 (viper-brac-function):
2426 * calc/calc-yank.el (calc-do-grab-region):
2427 * calc/calc-keypd.el (calc-keypad-press):
2428 * term.el (term-move-columns, term-insert-spaces):
2429 * speedbar.el (speedbar-highlight-one-tag-line):
2430 * simple.el (current-word):
2431 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2432 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2434 * hippie-exp.el (he-line-beg):
2435 * epa.el (epa--marked-keys):
2436 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2437 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2438 (dired-relist-entry):
2439 * buff-menu.el (Buffer-menu-buffer):
2440 * array.el (current-line):
2441 * allout.el (allout-resolve-xref)
2442 (allout-latex-verbatim-quote-curr-line):
2443 Replace yet more uses of end-of-line etc with line-end-position, etc.
2445 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2447 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2448 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2449 (checkdoc-syntax-table): Initialize in the declaration.
2450 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2451 the mode on unconditionally.
2453 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2454 (extent-end-position, extent-start-position): Remove setf method for
2455 non-existing functions (bug#7319).
2457 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2459 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2460 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2461 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2462 (smie-prec2->grammar): Rename from smie-prec2-levels.
2463 (smie-grammar): Rename from smie-op-levels.
2464 (smie-indent--hanging-p): Rename from smie-hanging-p.
2465 (smie-rule-hanging-p): New alias.
2466 (smie-indent--bolp): Rename from smie-bolp.
2467 (smie-indent--hanging-p): New alias.
2468 (smie--token): New dynamically bound variable.
2469 (smie-indent--parent): New function.
2470 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2471 (smie-rule-next-p): Rename from smie-next-p.
2472 (smie-rule-prev-p): Rename from smie-prev-p.
2473 (smie-rule-sibling-p, smie-rule-parent)
2474 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2475 (smie-rule-separator-outdent): New var.
2476 (smie-indent--rule): Merge with smie-indent--column.
2477 (smie-indent-forward-token, smie-indent-backward-token):
2478 Also recognize close parens.
2479 (smie-indent-keyword): Don't use smie-indent--column any more.
2480 (smie-indent-after-keyword): Ignore closers by default.
2481 (smie-indent-line): Use with-demoted-errors.
2482 * progmodes/octave-mod.el (octave-smie-grammar):
2483 Rename from octave-smie-op-levels.
2484 (octave-smie-rules): Adjust to new behavior.
2485 * progmodes/prolog.el (prolog-smie-grammar):
2486 Rename from prolog-smie-op-levels.
2488 2010-11-07 Glenn Morris <rgm@gnu.org>
2490 * eshell/esh-util.el (subst-char-in-string)
2491 (directory-files-and-attributes): These compatibility definitions are
2492 not needed on any version of Emacs since at least 21.4.
2494 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2495 (verilog-get-end-of-line): Remove.
2496 (verilog-within-string, verilog-re-search-forward-substr)
2497 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2498 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2499 Use point-at-bol, point-at-eol.
2500 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2502 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2503 (electric-pascal-terminate-line, pascal-set-auto-comments)
2504 (pascal-indent-paramlist, pascal-indent-declaration)
2505 (pascal-get-lineup-indent, pascal-func-completion)
2506 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2507 Use point-at-bol, point-at-eol.
2508 * progmodes/flymake.el (flymake-line-beginning-position)
2509 (flymake-line-end-position): Remove.
2510 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2511 * eshell/esh-util.el (line-end-position, line-beginning-position):
2512 Remove compat definitions.
2514 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2516 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2517 Use line-end-position.
2519 * emacs-lisp/chart.el (chart-zap-chars):
2520 * play/decipher.el (decipher-set-map):
2521 * progmodes/ada-mode.el (ada-get-current-indent)
2522 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2523 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2524 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2525 (ada-get-all-references):
2526 * progmodes/cperl-mode.el (cperl-electric-paren)
2527 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2528 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2529 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2530 (cperl-word-at-point-hard):
2531 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2532 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2533 (idlwave-shell-display-line):
2534 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2535 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2536 * progmodes/js.el (js--re-search-forward-inner)
2537 (js--re-search-backward-inner):
2538 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2539 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2540 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2541 * textmodes/flyspell.el (flyspell-process-localwords):
2542 * textmodes/ispell.el (ispell-buffer-local-parsing)
2543 (ispell-buffer-local-dict, ispell-buffer-local-words):
2544 Use point-at-bol and point-at-eol.
2546 * speedbar.el (speedbar-generic-item-info)
2547 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2548 (speedbar-add-indicator, speedbar-check-vc-this-line)
2549 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2550 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2551 Replace more uses of end-of-line etc with line-end-position.
2553 2010-11-06 Glenn Morris <rgm@gnu.org>
2555 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2556 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2557 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2558 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2559 (texinfo-multiple-files-update):
2560 * textmodes/table.el (table--probe-cell-left-up)
2561 (table--probe-cell-right-bottom):
2562 * textmodes/picture.el (picture-tab-search):
2563 * textmodes/page-ext.el (pages-copy-header-and-position)
2564 (pages-directory-for-addresses):
2565 * progmodes/vera-mode.el (vera-get-offset):
2566 * progmodes/simula.el (simula-calculate-indent):
2567 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2568 * progmodes/prolog.el (end-of-prolog-clause):
2569 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2570 * progmodes/icon.el (indent-icon-exp):
2571 * progmodes/etags.el (tag-re-match-p):
2572 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2573 * progmodes/ebnf2ps.el (ebnf-begin-file):
2574 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2575 (dcl-save-local-variable):
2576 * play/life.el (life-setup):
2577 * play/gametree.el (gametree-looking-at-ply):
2578 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2579 * mail/sendmail.el (mail-mode-auto-fill):
2580 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2581 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2582 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2583 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2584 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2585 * type-break.el (type-break-file-keystroke-count):
2586 * term.el (term-replace-by-expanded-history-before-point)
2587 (term-skip-prompt, term-extract-string):
2588 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2589 (speedbar-contract-line, speedbar-toggle-line-expansion)
2590 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2591 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2592 * sort.el (sort-skip-fields):
2593 * skeleton.el (skeleton-internal-list):
2594 * simple.el (line-move-finish, line-move-to-column):
2595 * shell.el (shell-forward-command):
2596 * misc.el (copy-from-above-command):
2597 * makesum.el (double-column):
2598 * ebuff-menu.el (electric-buffer-update-highlight):
2599 * dired.el (dired-move-to-end-of-filename):
2600 * dframe.el (dframe-popup-kludge):
2601 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2602 * arc-mode.el (archive-get-lineno):
2603 Use line-end-position and line-beginning-position.
2605 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2606 (idlwave-study-twins): Prefix dynamic local `class'.
2607 (idlwave-routine-twin-compare): Update for above name change.
2609 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2610 Use boundp tests to silence compiler. Update for changed name of
2611 bytecomp-filename variable.
2613 * emulation/viper-cmd.el (viper-read-string-with-history):
2614 Prefix dynamic local `initial'.
2615 (viper-minibuffer-standard-hook): Update for above name change.
2617 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2618 (elint-init-form): Update for above name change.
2620 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2621 local variables `cbeg' and `cend' a prefix.
2622 (mail-extr-voodoo): Update for above name change.
2624 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2625 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2626 (reftex-toc-promote-action): Doc fix.
2628 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2629 `prompt', `data' a prefix.
2630 (reftex-select-post-command-hook, reftex-select-callback)
2631 (reftex-select-mouse-accept, reftex-select-read-cite):
2632 Update for above name changes.
2634 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2635 `refstyle' to reftex-refstyle.
2636 (reftex-offer-label-menu): Update for above name change.
2637 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2638 `refstyle' name change.
2640 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2641 with with-current-buffer.
2642 (diff, template): Give dynamic local variables a prefix.
2643 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2644 (emerge-line-number-in-buf): Update for above name change.
2645 (emerge-combine-versions-internal): Rename local `template' to
2646 emerge-combine-template.
2647 (emerge-combine-versions-edit): Update for above name change.
2649 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2651 * textmodes/reftex-cite.el
2652 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2653 entries with whitespace after \bibitem.
2654 (reftex-create-bibtex-file): Match entries containing numbers and
2655 symbol constituents. Make sure that entries with whitespace at
2656 various places are found.
2658 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2660 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2662 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2664 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2666 2010-11-05 Glenn Morris <rgm@gnu.org>
2668 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2669 (woman2-roff-buffer): Give local variable `request' a prefix.
2670 (woman0-macro): Rename argument `request' in the same way.
2671 (woman-request): New name for `request' dynamic variable.
2672 (woman-unquote, woman-forward-arg): Update for above name change.
2673 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2674 (woman1-unquote): New name for `unquote' dynamic variable.
2675 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2676 (woman-translations): Rename from `translations'. No longer global.
2677 (woman2-tr, woman-translate): Update for above name change.
2678 (woman-translate): Check for bound variable.
2679 (woman2-roff-buffer): Give local variable `translations' a prefix.
2681 * play/doctor.el: Give all local variables a prefix. Update callers.
2682 (doc$, doctor-put-meaning): Use backquote.
2684 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2685 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2687 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2688 variables bytes, ptr, op a prefix.
2689 (disassemble-offset): Update for above change.
2691 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2693 * emacs-lisp/package.el (package-unpack): Remove no-op.
2694 (package--builtins, package--dir): Doc fix.
2695 (package-activate-1, package-activate, package-install)
2696 (package-compute-transaction): Fix error message.
2697 (package-delete): Use delete-directory. Omit system packages.
2698 (package-initialize): Set package-alist to nil first.
2699 (package-menu-mark-delete, package-menu-mark-install): Don't add
2700 symbols that are inconsistent with the package state.
2701 (package-menu-execute): Perform deletions and installations as
2702 single batch operations.
2704 2010-11-03 Glenn Morris <rgm@gnu.org>
2706 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2707 (props): Remove unnecessary declaration.
2709 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2710 set-process-query-on-exit-flag.
2712 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2713 (reftex-toc-do-promote): Remove unused local `mpos'.
2714 (reftex-toc-restore-region): Make `mpos' local to this function.
2716 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2718 * play/landmark.el (lm-losing-threshold): Correct spelling.
2719 (lm-human-plays): Use new name.
2721 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2722 (gomoku-human-plays): Use new name.
2724 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2725 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2726 (gomoku-score-trans-table, gomoku-winning-threshold)
2727 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2729 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2731 * emacs-lisp/package.el: Don't put built-in packages in
2732 package-alist, to avoid loading inefficiencies.
2733 (package-built-in-p): Make VERSION optional, and treat it as a
2734 minimum acceptable version.
2735 (package-activate): Search separately for built-in packages.
2736 Emit a warning if a dependency fails.
2737 (define-package): Handle most common case, where there is no
2738 obsolete package, first.
2739 (package-compute-transaction): Print required version in error.
2740 (package--initialized): New variable.
2741 (list-packages): Use it.
2742 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2743 built-in packages in packages-alist; keep it separate.
2744 Set package--initialized.
2745 (describe-package): Avoid activating packages as a side-effect.
2746 Search separately for built-in packages.
2747 (describe-package-1): Handle the case where an elpa package is
2748 simultaneously built-in and available/installed.
2749 (package-installed-p, package--generate-package-list):
2750 Search separately for built-in packages.
2751 (package-load-descriptor): Doc fix.
2753 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2755 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2756 Handle __DATA__ and __END__.
2758 2010-11-02 Noah Friedman <friedman@splode.com>
2760 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2761 nil, do not ask to recompile files that are not already compiled,
2762 and do not recompile them.
2764 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2766 * emacs-lisp/package.el (package-initialize): Ensure that
2767 obsoleted built-in packages are not in package-activated-list
2769 (describe-package-1): Make the "installed" status override
2772 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2774 * subr.el (version-separator, version-regexp-alist): Remove '*'
2776 (version-list-<=, version<=, version=): Doc fix.
2778 2010-11-01 Kenichi Handa <handa@m17n.org>
2780 * faces.el (glyphless-char): Inherit underline for tty.
2782 2010-11-01 Kenichi Handa <handa@m17n.org>
2784 Implement various display methods for glyphless characters.
2786 * international/characters.el (char-acronym-table): New variable.
2787 (glyphless-char-control): New variable.
2788 (update-glyphless-char-display): New funciton.
2790 * faces.el (glyphless-char): New face.
2792 2010-11-01 Glenn Morris <rgm@gnu.org>
2794 * calendar/holidays.el (general-holidays, oriental-holidays)
2795 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2796 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2797 the definitions of their targets.
2799 * emacs-lisp/smie.el (smie): New custom group.
2800 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2802 * faces.el (xw-defined-colors, x-setup-function-keys):
2803 * mouse-sel.el (x-select-text):
2804 * term/w32console.el (x-setup-function-keys): Update declarations.
2806 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2808 * textmodes/ispell.el (comment-add): Declare.
2810 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2813 * info.el (finder-keywords-hash, package-alist): Declare.
2815 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2817 * finder.el (finder-compile-keywords): Don't use intern-soft,
2818 since package names may not yet exist in the obarray.
2820 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2822 * vc/vc-arch.el (vc-arch-checkin):
2823 * vc/vc-cvs.el (vc-cvs-checkin):
2824 * vc/vc-mtn.el (vc-mtn-checkin):
2825 * vc/vc-rcs.el (vc-rcs-checkin):
2826 * vc/vc-sccs.el (vc-sccs-checkin):
2827 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2828 since 2010-04-21 commit by Stefan Monnier.
2830 2010-11-01 Glenn Morris <rgm@gnu.org>
2832 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2834 * startup.el (package-enable-at-startup, package-initialize):
2837 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2840 2010-10-31 Julien Danjou <julien@danjou.info>
2842 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2843 (byte-recompile-directory):
2844 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2845 Use `byte-recompile-file'.
2847 2010-10-31 Glenn Morris <rgm@gnu.org>
2849 * cus-start.el: Handle standard values via a keyword.
2850 Only set version property if specified.
2851 (cursor-in-non-selected-windows, menu-bar-mode)
2852 (tool-bar-mode, show-trailing-whitespace):
2853 Do not specify standard values.
2854 (transient-mark-mode, temporary-file-directory): Use :standard.
2856 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2858 * term/x-win.el (x-get-selection-value): New function that gets
2859 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2861 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2863 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2864 preserve owner and group when editing files. (Bug#7289)
2866 2010-10-31 Glenn Morris <rgm@gnu.org>
2868 * speedbar.el (speedbar-mode):
2869 * play/fortune.el (fortune-in-buffer, fortune):
2870 * play/gomoku.el (gomoku-mode):
2871 * play/landmark.el (lm-mode):
2872 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2873 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2875 * select.el (x-selection): Mark it as an obsolete alias.
2877 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2879 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2880 major-mode (bug#7284).
2882 2010-10-31 Glenn Morris <rgm@gnu.org>
2884 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2885 rather than just an unused variable that inherits from the real one.
2887 2010-10-31 Alan Mackenzie <acm@muc.de>
2889 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2890 This fixes bug #7185.
2892 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2894 * startup.el (command-line): Search for package directories, and
2895 don't load package.el if none are found.
2897 * emacs-lisp/package.el (describe-package, list-packages):
2898 Call package-initialize if it has not been called yet.
2900 2010-10-30 Alan Mackenzie <acm@muc.de>
2902 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2903 which fontifies the tail of an enum.
2904 (c-basic-matchers-after): Insert a call to the above new function.
2905 This fixes bug #7264.
2907 2010-10-30 Glenn Morris <rgm@gnu.org>
2909 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2910 tool-bar-mode, transient-mark-mode. (Bug#7306)
2911 Include the :set property in the dumped Emacs.
2913 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2915 SMIE: change indent rules format, improve smie-setup.
2916 * emacs-lisp/smie.el (smie-precs-precedence-table)
2917 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2918 Mark them pure so the tables gets built at compile time.
2919 (smie-bnf-precedence-table): Store the closer-alist in the table.
2920 (smie-prec2-levels): Preserve the closer-alist.
2921 (smie-blink-matching-open): Be more forgiving in case of indentation.
2922 (smie-hanging-p): Rename from smie-indent--hanging-p.
2923 (smie-bolp): Rename from smie-indent--bolp.
2924 (smie--parent, smie--after): New dynamic vars.
2925 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2926 (smie-indent-rules): Remove.
2927 (smie-indent--offset-rule): Remove fun.
2928 (smie-rules-function): New var.
2929 (smie-indent--rule): New fun.
2930 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2931 (smie-indent-exps): Use it.
2932 (smie-setup): Setup paren blinking; add keyword args for token
2933 functions; extract closer-alist from op-levels.
2934 (smie-indent-debug-log): Remove var.
2935 (smie-indent-debug): Remove fun.
2936 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2937 (prolog-smie-rules): New fun to replace it.
2938 (prolog-mode-variables): Simplify.
2939 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2940 it's setup automatically.
2941 (octave-smie-indent-rules): Remove.
2942 (octave-smie-rules): New fun to replace it.
2943 (octave-mode): Simplify.
2945 2010-10-29 Glenn Morris <rgm@gnu.org>
2947 * files.el (temporary-file-directory): Remove (already defined in C).
2948 * cus-start.el: Add temporary-file-directory.
2950 * abbrev.el (abbrev-mode):
2951 * composite.el (auto-composition-mode):
2952 * menu-bar.el (menu-bar-mode):
2953 * simple.el (transient-mark-mode):
2954 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2955 that they do not define the associated variables twice.
2956 * simple.el (transient-mark-mode): Remove defvar.
2957 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2958 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2959 Handle multiple groups, and also custom-delayed-init-variables.
2960 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2962 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2965 (pcase-if): Add one minor optimization.
2966 (pcase-split-equal): Rename from pcase-split-eq.
2967 (pcase-split-member): Rename from pcase-split-memq.
2968 (pcase-u1): Add strings to the member optimization.
2969 Add `guard' variant of predicates.
2970 (pcase-q1): Add string patterns.
2972 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2976 2010-10-28 Glenn Morris <rgm@gnu.org>
2978 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2979 Move menu-bar related settings to ../menu-bar.el.
2980 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2981 Move ns-specific settings here from term/ns-win.el.
2983 * simple.el (x-selection-owner-p): Remove unused declaration.
2985 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * minibuffer.el (completion-cycling): New var (bug#7266).
2988 (minibuffer-complete, completion--do-completion):
2989 Use completion--flush-all-sorted-completions.
2990 (minibuffer-complete): Only cycle if completion-cycling is set.
2991 (completion--flush-all-sorted-completions): Unset completion-cycling.
2992 (minibuffer-force-complete): Set completion-cycling.
2993 (completion-all-sorted-completions): Move declaration before first use.
2995 2010-10-28 Leo <sdl.web@gmail.com>
2997 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2998 which changes the order of matches seen by users (bug#7231).
3000 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3002 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3003 Don't confuse -omega as "-o mega".
3005 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3008 (log-edit-author): New dynamic var.
3009 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3010 to return the author if different from committer.
3011 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3013 * play/landmark.el: Adjust commenting convention.
3014 (lm-nil-score): Rename from nil-score.
3015 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3016 (OOOOscore): Move into a let in lm-score-trans-table.
3017 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3019 * electric.el (electric-indent-chars): Autoload.
3020 * progmodes/octave-mod.el (octave-mode):
3021 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3022 (ruby-mode-abbrev-table): Merge initialization and declaration.
3024 2010-10-27 Glenn Morris <rgm@gnu.org>
3026 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3029 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3031 * term/ns-win.el: Restore require of cl when compiling.
3032 (menu-bar-final-items): Remove non-existent `windows' menu.
3033 (ns-handle-nxopen): Optionally handle the temp-case.
3034 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3035 (ns-insert-file, ns-find-file): Use `pop'.
3037 2010-10-26 Glenn Morris <rgm@gnu.org>
3039 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3041 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3043 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3045 * term/common-win.el (x-setup-function-keys): Remove most of the
3046 keymappings. Comment on the remaining ones.
3048 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3050 * server.el (server-port): New option. (Bug#854)
3051 (server-start): Use server-port.
3053 2010-10-26 Glenn Morris <rgm@gnu.org>
3055 * term/ns-win.el (ns-version-string): Remove unused declaration.
3056 (ns-invocation-args): Change to x-invocation-args.
3057 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3058 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3059 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3060 Use x-invocation-args instead of ns-invocation-args.
3061 (ns-initialize-window-system, handle-args-function-alist):
3062 Use x-handle-args instead of ns-handle-args.
3063 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3064 * startup.el (command-line-ns-option-alist): Replace
3065 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3066 ns-handle-iconic with the x- equivalents.
3068 * term/common-win.el (x-select-enable-clipboard):
3069 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3071 * term/ns-win.el: No need to require cl when compiling.
3072 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3073 (xw-defined-colors): Use the common-win definitions.
3074 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3075 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3076 * term/common-win.el (x-select-text, x-alternatives-map)
3077 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3078 * loadup.el [ns]: Load common-win.
3080 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3082 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3083 recipients; expand mail aliases (Bug#7280).
3085 2010-10-25 Glenn Morris <rgm@gnu.org>
3087 * term/common-win.el (x-handle-switch): Simplify with pop.
3088 Optionally handle numeric switches.
3089 (x-handle-numeric-switch): Just call x-handle-switch.
3090 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3091 (x-handle-name-switch, x-handle-display, x-handle-args):
3094 * term/ns-win.el: Do not require easymenu.
3095 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3096 <spell>: Move adjustments to menu-bar.el.
3097 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3098 <separator-undo, spell>: Move ns-win's adjustments here.
3099 * loadup.el [ns]: Do not load easymenu.
3101 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3103 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3106 * startup.el (fancy-startup-tail): Instead of using inline images,
3107 refer to image files from etc/.
3109 * wid-edit.el (checkbox): Likewise.
3110 (widget-image-find): Center image specs.
3112 2010-10-24 Glenn Morris <rgm@gnu.org>
3114 * term/ns-win.el (x-select-text): Doc fix.
3115 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3116 (x-select-text): Move to term/common-win.
3117 * term/w32-win.el (xw-defined-colors): Move to common-win.
3118 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3119 (x-setup-function-keys, x-select-text): Move to common-win.
3120 * term/common-win.el (x-select-text, x-alternatives-map)
3121 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3124 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3126 * net/mairix.el (mairix-searches-mode-map):
3127 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3129 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3131 * verilog-mode.el (verilog-directive-re): Make this variable
3132 auto-built for efficiency of execution and updating.
3133 (verilog-extended-complete-re): Support 'pure' fucntion & task
3134 declarations (these have no bodies).
3135 (verilog-beg-of-statement): General cleanup to enable support of
3136 'pure' fucntion & task declarations (these have no bodies).
3137 These efforts together fix Verilog bug210 from veripool; which was also
3138 noticed by Steve Pearlmutter.
3139 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3140 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3141 Support `elsif. Reported by Shankar Giri.
3142 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3143 attribute handling for lining up declarations and assignments.
3144 (verilog-beg-of-statement-1): Fix issue where continued declaration
3145 is indented differently if it is after a begin..end clock.
3146 (verilog-in-attribute-p, verilog-skip-backward-comments)
3147 (verilog-skip-forward-comment-p): Support proper treatment of
3148 attributes by indent code. Reported by Jeff Steele.
3149 (verilog-in-directive-p): Fix comment to correctly describe function.
3150 (verilog-backward-up-list, verilog-in-struct-region-p)
3151 (verilog-backward-token, verilog-in-struct-p)
3152 (verilog-in-coverage-p, verilog-do-indent)
3153 (verilog-pretty-declarations): Use verilog-backward-up-list as
3154 wrapper around backward-up-list inorder to properly skip comments.
3155 Reported by David Rogoff.
3156 (verilog-property-re, verilog-endcomment-reason-re)
3157 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3158 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3159 of if). Reported by Max Bjurling and
3160 (verilog-calc-1): Fix for clocking block in modport
3161 declaration. Reported by Brian Hunter.
3163 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3165 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3166 (verilog-gate-keywords, verilog-read-sub-decls)
3167 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3168 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3169 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3170 (verilog-read-decls): Fix spaces in V2K module parameters causing
3171 mis-identification as interfaces, bug287.
3172 (verilog-read-decls): Fix not treating "parameter string" as a
3173 parameter in AUTOINSTPARAM.
3174 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3175 treating `elsif similar to `endif inside AUTOSENSE.
3176 (verilog-do-indent): Implement correct automatic or static task or
3177 function end comment highlight. Reported by Steve Pearlmutter.
3178 (verilog-font-lock-keywords-2): Fix highlighting of single
3179 character pins, bug264. Reported by Michael Laajanen.
3180 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3181 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3182 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3183 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3184 (verilog-pretty-expr): Fix interactive arguments, bug272.
3185 Reported by Mark Johnson.
3186 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3187 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3188 bug269. Suggested by Gary Delp.
3189 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3190 (verilog-preprocessor, verilog-set-compile-command):
3191 Create verilog-preprocess and verilog-preprocessor to show
3192 preprocessed output.
3193 (verilog-get-beg-of-line, verilog-get-end-of-line)
3194 (verilog-modi-file-or-buffer, verilog-modi-name)
3195 (verilog-modi-point, verilog-within-string): Move defmacro's
3196 before first use to avoid warning. Reported by Steve Pearlmutter.
3197 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3198 (verilog-colorize-region, verilog-highlight-buffer)
3199 (verilog-highlight-includes, verilog-highlight-modules)
3200 (verilog-highlight-region, verilog-mode): Rename colorize to
3201 highlight to match other packages. Disable module highlighting,
3202 as received speed complaints, reenable for experimentation only
3203 using new verilog-highlight-modules.
3204 (verilog-read-decls): Fix regexp stack overflow in very large
3205 AUTO_TEMPLATEs, bug250.
3206 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3207 (verilog-scan): Create verilog-save-buffer-state to standardize
3208 making insignificant changes that shouldn't call hooks.
3209 (verilog-save-no-change-functions, verilog-save-scan-cache)
3210 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3211 Create verilog-save-no-change-functions to wrap verilog-scan
3212 preservation, and fix to work with nested preserved calls.
3213 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3214 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3215 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3216 (verilog-submit-bug-report): Update variable list to be complete.
3217 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3218 breaking on-the-fly font-locking.
3219 (verilog-colorize-buffer, verilog-colorize-include-files)
3220 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3221 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3222 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3223 AUTOINST cell instance name, middle mouse button now finds-file on
3224 it. Suggested by Brad Dobbie.
3225 (verilog-alw-get-temps, verilog-auto-reset)
3226 (verilog-auto-sense-sigs, verilog-read-always-signals)
3227 (verilog-read-always-signals-recurse): Fix loop indexes being
3228 AUTORESET. AUTORESET now assumes any variables in the
3229 initialization section of a for() should be ignored.
3230 Reported by Dan Dever.
3231 (verilog-error-font-lock-keywords)
3232 (verilog-error-regexp-emacs-alist)
3233 (verilog-error-regexp-xemacs-alist): Fix error detection of
3234 Cadence HAL, reported by David Asher. Repair drift between the
3235 three similar error variables.
3236 (verilog-modi-lookup, verilog-modi-lookup-cache)
3237 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3238 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3239 Fix slow verilog-auto expansion on very large files.
3240 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3241 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3242 "{1*2{...". Broke in last revision.
3243 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3244 submodule connections with replications "{#{a},#{b}}".
3246 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3248 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3249 Fix typo in docstring.
3251 2010-10-24 Kenichi Handa <handa@m17n.org>
3253 * face-remap.el (text-scale-adjust): Call read-event with a proper
3256 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3258 * emacs-lisp/unsafep.el: Don't mark functions that display
3259 messages as safe. Suggested by Johan Bockgård.
3261 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3264 Turn comments into docstrings.
3266 * minibuffer.el (completion--replace): Move point where it belongs
3267 when there's a common suffix (bug#7215).
3269 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3271 Merge read-color and facemenu-read-color (Bug#7242).
3273 * faces.el (read-color): Use the completion code from
3274 facemenu-read-color. Require match in completion. Doc fix.
3276 * facemenu.el (facemenu-read-color): Alias for read-color.
3277 (facemenu-set-foreground, facemenu-set-background):
3280 * frame.el (set-background-color, set-foreground-color)
3281 (set-cursor-color, set-mouse-color, set-border-color):
3284 2010-10-24 Leo <sdl.web@gmail.com>
3286 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3287 argument of delete-file and delete-directory (Bug#7011).
3289 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3291 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3294 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3296 * emacs-lisp/package.el (package--generate-package-list): Make the
3297 *Packages* buffer read-only.
3299 2010-10-24 Alan Mackenzie <acm@muc.de>
3301 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3302 result of `c-beginning-of-decl-1' between invocations of a lambda
3303 function (Bug #7265).
3305 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3307 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3308 executable is not available on the system (Bug#7268).
3310 2010-10-24 Glenn Morris <rgm@gnu.org>
3312 * select.el (selection-coding-system, next-selection-coding-system):
3313 Sync doc with C versions.
3315 * w32-vars.el (x-select-enable-clipboard):
3316 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3317 * term/common-win.el (x-select-enable-clipboard): Move here.
3319 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3320 definition of C variable.
3322 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3323 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3324 Don't redefine things that are defined in C.
3325 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3326 (show-trailing-whitespace, auto-hscroll-mode)
3327 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3328 Set up the appropriate custom properties.
3330 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3333 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3334 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3335 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3336 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3338 2010-10-23 Glenn Morris <rgm@gnu.org>
3340 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3343 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3344 Sync docs with C version.
3346 * term/ns-win.el (xw-defined-colors):
3347 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3349 * term/pc-win.el (x-select-enable-clipboard):
3350 * term/x-win.el (x-select-enable-clipboard):
3351 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3353 * comint.el (comint-password-prompt-regexp): Make it less vague.
3356 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3358 * help.el (finder-by-keyword): Remove unnecessary autoload.
3360 2010-10-22 Glenn Morris <rgm@gnu.org>
3362 * loadup.el: Unconditionally load float-sup.
3363 * paren.el (show-paren-delay):
3364 * emacs-lisp/float-sup.el:
3365 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3366 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3367 (lazy-lock-stealth-verbose): Assume float support.
3368 * ps-print.el: Assume float support on Emacs.
3369 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3370 Remove non-float branch.
3372 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3373 src/Makefile no longer being pre-processed.
3375 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3377 * emacs-lisp/find-func.el (find-library): Use test-completion.
3379 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3383 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3385 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3386 space in stat format string.
3387 (tramp-send-command): Unset $PS1 when using here documents, in
3388 order not to get several prompts.
3389 (tramp-get-inline-coding): Return `nil' in case of errors.
3391 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3393 * hexl.el (hexl-mode, hexl-mode-exit):
3394 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3395 (hexl-revert-buffer-function): New function.
3396 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3398 2010-10-19 Alan Mackenzie <acm@muc.de>
3400 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3401 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3402 that these keywords aren't wrongly matched as identifiers.
3404 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3405 setting of c-new-BEG and c-new-END from c-before-change to
3406 c-after-change. (Bug#7181)
3408 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3410 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3413 * custom.el (custom-theme-set-variables): Likewise.
3414 (load-theme): Add custom-theme-set-faces and
3415 custom-theme-set-variables to safe-functions while loading.
3416 (custom-enabled-themes): Mark as risky.
3418 2010-10-18 Julien Danjou <julien@danjou.info>
3420 * bindings.el: Remove end dashes in default mode-line-format.
3422 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3424 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3425 to delete-forward-char.
3427 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3428 deletechar, and hence delete-forward-char.
3430 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * repeat.el (repeat): Use read-key (bug#6256).
3434 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3436 * emacs-lisp/unsafep.el: Don't mark functions that display
3437 messages as safe. Suggested by Johan Bockgård.
3439 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * minibuffer.el (completion--replace): Move point where it belongs
3442 when there's a common suffix (bug#7215).
3444 2010-10-19 Kenichi Handa <handa@m17n.org>
3446 * international/characters.el: Add category '|' (word breakable)
3447 to fullwidth characters.
3449 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3451 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3452 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3453 order to make stat results a float. Patch by Andreas Schwab
3454 <schwab@linux-m68k.org>.
3456 2010-10-18 Julien Danjou <julien@danjou.info>
3458 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3459 hidden by `make-pointer-invisible'.
3461 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * files.el (locate-file-completion-table): Strip non-matching elements
3464 before checking length of list (bug#7238).
3466 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3468 * custom.el (custom-theme-set-variables): Mark as a safe function.
3469 (load-theme): Check forms using unsafep.
3471 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3473 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3475 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3476 Fix aspell data file searching (bug#7230).
3478 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3480 * cus-theme.el (custom-theme--migrate-settings): New var.
3481 (customize-create-theme): Allow editing the `user' theme.
3482 (custom-theme-add-variable, custom-theme-add-var-1)
3483 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3484 to the front of each variable or face widget.
3485 (custom-theme-write): Save theme settings in the correct order.
3486 Optionally, remove saved settings from user customizations.
3487 (custom-theme-write-variables, custom-theme-write-faces):
3488 Save only the checked widgets.
3489 (customize-themes): Add a link for migrating custom settings.
3491 * custom.el (custom-declare-theme, provide-theme):
3492 Use custom-theme-name-valid-p.
3493 (custom-theme-name-valid-p): Remove checks that are now
3494 unnecessary since themes no longer obey load-path.
3496 * cus-edit.el (custom-variable-value-create): For the simple
3497 style, hide documentation string when hidden.
3499 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3501 * cus-edit.el (custom-variable, custom-face): Combine the
3502 :inhibit-magic and :display-style properties into a single
3503 :custom-style property.
3504 (custom-toggle-hide-variable, custom-toggle-hide-face):
3505 New functions. If hiding an edited value, save it to :shown-value.
3506 (custom-variable-value-create, custom-face-value-create): Use them.
3507 (custom-magic-reset): Allow magic property to be unset.
3509 * custom.el: Custom themes no longer use load-path.
3510 (custom-theme-load-path): New option. Change built-in theme
3512 (custom-enabled-themes): Add custom-theme-load-path dependency.
3513 (custom-theme--load-path): New function.
3514 (load-theme, custom-available-themes): Use it.
3516 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3517 (customize-themes): Link to custom-theme-load-path variable.
3518 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3519 :custom-style property.
3521 * themes/*.el: Moved to etc/.
3523 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3525 * textmodes/reftex-cite.el
3526 (reftex-extract-bib-entries-from-thebibliography): Do not move
3527 point when searching for \bibitem entries. Match entries with
3528 spaces or tabs in front of arguments.
3530 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3532 * cus-theme.el (customize-create-theme): Delete overlays after
3533 erasing. If given a THEME arg, display only the faces of that arg
3534 instead of custom-theme--listed-faces.
3535 (custom-theme-variable-menu, custom-theme-variable-action)
3536 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3537 (custom-theme-add-variable, custom-theme-add-face): Apply value
3538 from the theme settings, instead of the current value.
3539 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3540 (custom-theme-visit-theme): Allow calling outside theme buffers.
3541 (custom-theme-merge-theme): Don't enable the theme when merging.
3542 (custom-theme-write-variables, custom-theme-write-faces): Use the
3543 :shown-value properties to save buffer values, not global ones.
3544 (customize-themes): Display a warning about user customizations.
3546 * cus-edit.el (custom-variable-value-create)
3547 (custom-face-value-create): Obey new special properties
3548 :shown-value and :inhibit-magic.
3550 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3552 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3553 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3556 2010-10-14 Kenichi Handa <handa@m17n.org>
3558 * mail/rmail.el (rmail-show-message-1): Catch an error of
3559 base64-decode-region and just show an error message (bug#7165).
3561 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3562 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3563 a font-spec (bug#7197).
3565 2010-10-14 Glenn Morris <rgm@gnu.org>
3567 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3569 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3571 * international/mule.el (define-coding-system):
3572 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3573 * composite.el (compose-region): Fix typo in docstring.
3575 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3577 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3578 only after checking the theme-face property.
3580 * faces.el (face-spec-reset-face): Reset all attributes in one
3581 single call to set-face-attribute.
3582 (face-spec-match-p): Make it a defsubst.
3583 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3584 (x-create-frame-with-faces, tty-create-frame-with-faces)
3585 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3586 frame-set-background-mode, since they are recomputed immediately
3587 afterwards in face-set-after-frame-default.
3588 (face-set-after-frame-default): Minor optimization.
3589 (cursor): Provide non-trivial defface spec.
3591 * custom.el (custom-theme-recalc-face): Simplify.
3593 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3595 * calc/calc-alg.el (math-var): Rename from `var'.
3596 (math-is-polynomial, math-is-poly-rec): Replace `var'
3599 * calc/calcalg2.el (math-var): Rename from `var'.
3600 (calcFunc-table, math-scan-for-limits): Replace `var'
3603 2010-10-13 Glenn Morris <rgm@gnu.org>
3605 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3607 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3609 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3611 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3613 * net/tls.el (tls-program): Remove spurious %s from openssl.
3614 (tls-starttls-switches): Remove starttls hack.
3615 (open-tls-stream): Ditto.
3616 (tls-find-starttls-argument): Ditto.
3618 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3620 * image.el (image-library-alist): Declare as obsolete alias.
3621 (image-type-available-p): Use `dynamic-library-alist'.
3623 * term/w32-win.el (dynamic-library-alist):
3624 Use instead of `image-library-alist'.
3626 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3628 * subr.el (last): Make it faster. (Bug#7174)
3630 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3632 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3634 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3636 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3637 (describe-theme-1): Extract doc from unloaded themes.
3639 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3641 * themes/tango-theme.el:
3642 * themes/tango-dark-theme.el:
3643 * themes/wheatgrass-theme.el: New files.
3645 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3647 * cus-theme.el (describe-theme, customize-themes)
3648 (custom-theme-save): New commands.
3649 (custom-new-theme-mode-map): Bind C-x C-s.
3650 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3651 (customize-create-theme): New optional arg THEME.
3652 (custom-theme-revert): Use it.
3653 (custom-theme-visit-theme): Remove dead code.
3654 (custom-theme-merge-theme): Use custom-available-themes.
3655 (custom-theme-write): Make interactive.
3656 (custom-theme-write): Use custom-theme-name-valid-p.
3657 (describe-theme-1, custom-theme-choose-revert)
3658 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3660 (custom-theme-allow-multiple-selections): New option.
3661 (custom-theme-choose-mode): New major mode.
3663 * custom.el (custom-theme-set-variables): Remove dead code.
3664 Obey custom--inhibit-theme-enable.
3665 (custom--inhibit-theme-enable): New var.
3666 (provide-theme): Obey it.
3667 (load-theme): Replace load with manual read/eval, in order to
3668 check for correctness. Use custom-theme-name-valid-p.
3669 (custom-theme-name-valid-p): New function.
3670 (custom-available-themes): Use it.
3672 * cus-edit.el (custom--initialize-widget-variables): New function.
3673 (Custom-mode): Use it.
3675 * cus-face.el (custom-theme-set-faces): Remove dead code.
3676 Obey custom--inhibit-theme-enable.
3678 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3680 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3682 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3684 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3686 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3687 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3688 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3690 * cus-start.el (all): ns-right-alternate-modifier is new.
3692 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * emacs-lisp/lisp.el (lisp-completion-at-point):
3695 Use emacs-lisp-mode-syntax-table for the whole function.
3697 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3699 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3700 instead of font-lock-mode before adding keywords.
3701 Remove hi-lock-mode off code. Remove inhibit hack.
3702 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3703 non-nil; removed hook inhibit hack.
3705 2010-10-12 Glenn Morris <rgm@gnu.org>
3707 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3708 (load-path-shadows-find): ... to this.
3709 (list-load-path-shadows): Update for above change.
3711 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3713 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3715 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3716 Fix comment for declare-function.
3718 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3720 * custom.el (custom-fix-face-spec): New function; code moved from
3721 custom-face-edit-fix-value.
3722 (custom-push-theme): Use it when checking if a face has been
3723 changed outside customize.
3724 (custom-available-themes): New function.
3725 (load-theme): Use it.
3727 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3729 * custom.el (custom-push-theme): Cleanup (use cond).
3730 (disable-theme): Recompute the saved-face property.
3731 (custom-theme-recalc-face): Follow face alias before setting prop.
3733 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3734 New variables, containing checkbox images.
3736 * startup.el (fancy-startup-tail):
3737 * wid-edit.el (checkbox): Use them.
3739 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3741 * shell.el (shell-mode-map):
3742 * progmodes/modula2.el (m2-mode-map):
3743 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3744 * play/mpuz.el (mpuz-mode-map):
3745 * play/landmark.el (lm-mode-map):
3746 * play/decipher.el (decipher-mode-map):
3747 * play/5x5.el (5x5-mode-map):
3748 * net/telnet.el (telnet-mode-map):
3749 * net/quickurl.el (quickurl-list-mode-map):
3750 * net/mairix.el (mairix-searches-mode-map):
3751 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3752 * net/dig.el (dig-mode-map):
3753 * mail/mspools.el (mspools-mode-map):
3754 * hexl.el (hexl-mode-map):
3755 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3756 (wordstar-C-o-map, wordstar-C-q-map):
3757 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3758 * emacs-lisp/chart.el (chart-map):
3759 * edmacro.el (edmacro-mode-map):
3760 * erc/erc-list.el (erc-list-menu-mode-map):
3761 * array.el (array-mode-map): Declare and define in one step.
3763 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3765 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3767 * epa.el (epa-passphrase-callback-function): Display filename
3768 passed as the 3rd arg.
3769 * epa-file.el (epa-file-passphrase-callback-function):
3770 Pass filename to epa-passphrase-callback-function.
3772 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3774 * cus-edit.el (custom-face-widget-to-spec)
3775 (custom-face-get-current-spec, custom-face-state): New functions.
3776 (custom-face-set, custom-face-mark-to-save)
3777 (custom-face-value-create, custom-face-state-set): Use them.
3779 * cus-theme.el (custom-theme--listed-faces): New var.
3780 (customize-create-theme): Use *Custom Theme* as the buffer name.
3781 Set revert-buffer-function. Optional arg BUFFER. Insert all
3782 faces listed in custom-theme--listed-faces.
3783 (custom-theme-revert): New function.
3784 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3786 (custom-theme-write): Prompt for theme name if empty.
3787 (custom-theme-write-variables): Use dolist.
3788 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3790 2010-10-09 Alan Mackenzie <acm@muc.de>
3792 Enhance fontification of declarators to take account of the
3793 presence/absence of "typedef".
3795 * cc-engine.el (c-forward-type): New &optional param
3797 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3798 presence of either or both of a "struct"-like keyword and "typedef".
3800 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3801 fontification of declarators which follow a "}".
3802 (c-font-lock-declarations): Fontify declarators according to the
3803 presence/absence of "typedef".
3805 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3807 (c-typedef-decl-key): New lang variable built from
3808 c-typedef-decl-kwds.
3810 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3812 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3813 since that's too annoying. Move the filter groups commands to
3816 * epa.el (epa-passphrase-callback-function): Say what we're
3817 querying the password for.
3819 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3820 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3822 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3824 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3825 (custom-magic-value-create): Pad button tags with spaces.
3826 (custom-face-edit): New variable.
3827 (custom-face-value-create): Determine whether to use the usual
3828 face editor here, instead of using custom-face-selected.
3829 Pass face defaults to custom-face-edit widget.
3830 (custom-face-selected, custom-display-unselected): Delete widgets.
3831 (custom-display-unselected-match): Function removed.
3832 (custom-face-set, custom-face-mark-to-save):
3833 Accept custom-face-edit widgets as the direct widget child.
3835 * wid-edit.el (widget--completing-widget): New var.
3836 (widget-default-complete): Bind it when doing completion.
3837 (widget-string-complete, widget-file-complete): Use it.
3839 2010-10-09 Glenn Morris <rgm@gnu.org>
3841 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3842 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3843 (holiday-hebrew-misc): Small simplifications.
3845 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3847 * net/browse-url.el: Don't require thingatpt, term, dired,
3848 executable, or w3-auto when compiling.
3849 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3851 (browse-url-text-emacs): Require term.
3853 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3855 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3857 2010-10-08 Glenn Morris <rgm@gnu.org>
3859 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3861 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3862 (shadows-compare-text-p): Make it an obsolete alias for...
3863 (load-path-shadows-compare-text): ... new name.
3864 (find-emacs-lisp-shadows): Update for above name change.
3865 (load-path-shadows-same-file-or-nonexistent): New name for the old
3866 shadow-same-file-or-nonexistent.
3868 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3870 * minibuffer.el (completion--some, completion--do-completion)
3871 (minibuffer-complete-and-exit, minibuffer-completion-help)
3872 (completion-basic-try-completion)
3873 (completion-basic-all-completions)
3874 (completion-pcm--find-all-completions): Use lexical-let to
3875 avoid some false matches in variable completion (Bug#7056)
3877 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3879 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3881 2010-10-08 Leo <sdl.web@gmail.com>
3883 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3884 return non-nil if the file exists (Bug#7090).
3886 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * minibuffer.el (completion--replace):
3889 Better preserve markers (bug#7138).
3891 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3893 * server.el (server-process-filter): Doc fix.
3895 2010-10-08 Drew Adams <drew.adams@oracle.com>
3897 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3899 2010-10-08 Glenn Morris <rgm@gnu.org>
3901 * vc/ediff-wind.el (ediff-setup-control-frame):
3902 * vc/ediff-ptch.el (ediff-default-backup-extension):
3903 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3904 (ediff-exec-process): Remove system-types emx, windows-95.
3906 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3908 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3910 * cus-edit.el (custom-variable, custom-face): Doc fix.
3911 (custom-face-edit): Add value-create attribute.
3912 (custom-face-edit-value-create)
3913 (custom-face-edit-value-visibility-action): New functions.
3914 Hide unused face attributes by default, and add a visibility toggle.
3915 (custom-face-edit-deactivate): Show empty values with shadow face.
3916 (custom-face-selected): Only use this for face specs with default
3918 (custom-face-value-create): Cleanup.
3920 * wid-edit.el (widget-checklist-value-create): Use dolist.
3921 (widget-checklist-match-find): Make second arg optional.
3923 2010-10-07 Glenn Morris <rgm@gnu.org>
3925 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3928 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3929 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3930 load-path-shadows-mode, update references.
3931 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3932 Rename variable and button.
3933 (list-load-path-shadows): Update button caller.
3935 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3938 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3939 (smie-merge-prec2s): Handle those new entries.
3940 (smie-prec2-levels): Only set precedence to nil for actual
3942 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3943 that is now unnecessary.
3945 2010-10-07 Miles Bader <miles@gnu.org>
3947 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3949 2010-10-07 Glenn Morris <rgm@gnu.org>
3951 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3952 (mail-position-on-field): Remove declarations.
3953 (mail-position-on-field): Autoload it.
3954 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3955 and mail-header-end. Don't require sendmail.
3957 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3958 (shadow-mode): New mode.
3959 (shadow-find-file): New button.
3960 (list-load-path-shadows): Use shadow-mode and buttons.
3962 * iimage.el (iimage-version): Remove.
3963 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3964 Turn into defcustoms.
3965 (iimage-mode-map): Give it a doc string.
3967 * calendar/appt.el (appt-activate): Give a warning rather than an error
3968 if there is no diary-file.
3970 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3972 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3973 Use `tramp-handle-find-backup-file-name'.
3975 2010-10-06 Glenn Morris <rgm@gnu.org>
3977 * font-core.el (font-lock-defaults-alist): Remove variable.
3978 (font-lock-mode): Doc fix.
3979 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3980 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3981 (font-lock-set-defaults): Doc fix.
3982 Do not consult font-lock-defaults-alist.
3984 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3986 * emacs-lisp/cl.el: No longer provide cl-19.
3988 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3990 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3991 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3992 New defuns, taken from tramp-smb.el.
3993 (tramp-coding-system-change-eol-conversion)
3994 (tramp-set-process-query-on-exit-flag): Remove.
3996 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3997 (tramp-compat-coding-system-change-eol-conversion)
3998 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4001 * net/tramp-gvfs.el:
4002 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4003 by `tramp-compat-set-process-query-on-exit-flag'.
4005 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4006 Use `tramp-handle-directory-files-and-attributes',
4007 `tramp-handle-file-exists-p' and
4008 `tramp-handle-file-newer-than-file-p'.
4009 (tramp-imap-handle-file-exists-p)
4010 (tramp-imap-handle-file-executable-p)
4011 (tramp-imap-handle-file-readable-p)
4012 (tramp-imap-handle-directory-files-and-attributes)
4013 (tramp-imap-handle-file-newer-than-file-p): Remove.
4015 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4016 by `tramp-compat-set-process-query-on-exit-flag' and
4017 `tramp-coding-system-change-eol-conversion' by
4018 `tramp-compat-coding-system-change-eol-conversion'.
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Use `tramp-handle-directory-files-and-attributes',
4022 `tramp-handle-file-exists-p' and
4023 `tramp-handle-file-newer-than-file-p'.
4024 (tramp-smb-handle-directory-files-and-attributes)
4025 (tramp-smb-handle-file-exists-p)
4026 (tramp-smb-handle-file-newer-than-file-p): Remove.
4027 (tramp-smb-maybe-open-connection):
4028 Replace `tramp-set-process-query-on-exit-flag' by
4029 `tramp-compat-set-process-query-on-exit-flag'.
4031 2010-10-05 Glenn Morris <rgm@gnu.org>
4033 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4035 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4037 Continue reorganization of load dependencies. (Bug#7156)
4039 * net/tramp.el (tramp-handle-file-local-copy-hook)
4040 (tramp-delete-temp-file-function): Move down.
4041 (tramp-exists-file-name-handler): Move up.
4042 (tramp-register-file-name-handlers): Simplify autoload.
4043 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4044 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4045 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4046 (tramp-handle-file-name-completion)
4047 (tramp-handle-file-name-directory)
4048 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4049 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4050 (tramp-handle-find-backup-file-name)
4051 (tramp-handle-insert-file-contents, tramp-handle-load)
4052 (tramp-handle-substitute-in-file-name)
4053 (tramp-handle-unhandled-file-name-directory)
4054 (tramp-mode-string-to-int, tramp-local-host-p)
4055 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4057 * net/tramp-gvfs.el (top):
4058 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4060 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4061 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4063 2010-10-04 Glenn Morris <rgm@gnu.org>
4065 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4066 (appt-activate): Give status messages.
4068 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4070 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4071 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4072 `gnutls-negotiate' (formerly `starttls-negotiate').
4073 Remove trivial wrapper `starttls-open-stream'.
4075 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4077 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4078 log-outgoing commands.
4079 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4080 to create a buffer local revert-buffer-function variable.
4081 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4082 revert-buffer-function lambda.
4084 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4086 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4087 `gnutls-boot'. Make TYPE the only required parameter.
4088 Allow TRUSTFILES and KEYFILES to be lists.
4089 (open-ssl-stream): Use it.
4091 2010-10-03 Glenn Morris <rgm@gnu.org>
4093 * subr.el (directory-sep-char): Remove obsolete variable.
4094 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4097 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4098 * vc/vc.el (vc-static-header-alist): Doc fix.
4099 * vc/vc-cvs.el (vc-cvs-header):
4100 * vc/vc-rcs.el (vc-rcs-header):
4101 * vc/vc-sccs.el (vc-sccs-header):
4102 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4103 * obsolete/vc-mcvs.el (vc-mcvs-header):
4104 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4107 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4109 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4110 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4112 2010-10-03 Glenn Morris <rgm@gnu.org>
4114 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4116 * textmodes/rst.el (rst-font-lock-keywords-function):
4119 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4121 * printing.el: Drop Emacs 20 code.
4123 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4124 without having used appt.el already).
4126 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4127 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4128 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4130 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4131 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4133 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4134 (charset-width, find-charset-region, chars-in-region, forward-point)
4135 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4136 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4137 Remove compatibility cruft (none of these are used by ps*.el).
4139 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4141 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4143 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4145 * server.el (server-process-filter, server-return-error):
4146 Give emacsclient time to shut down after receiving an error string.
4148 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4150 * files.el (remote-file-name-inhibit-cache): New defcustom.
4152 * time.el (display-time-file-nonempty-p):
4153 Use `remote-file-name-inhibit-cache'.
4155 * net/tramp.el (tramp-completion-reread-directory-timeout):
4158 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4159 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4160 `remote-file-name-inhibit-cache'. Check also for an integer
4161 value. Add/increase counter when `tramp-verbose' >= 10.
4162 (tramp-set-file-property): Add/increase counter when
4163 `tramp-verbose' >= 10.
4165 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4166 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4167 (tramp-bug): Set tramp-autoload cookie. Report all interned
4168 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4169 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4170 characters only in strings.
4172 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4173 to backward compatibility.
4175 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4176 (tramp-handle-file-name-all-completions)
4177 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4178 (tramp-open-connection-setup-interactive-shell):
4179 Call `tramp-cleanup-connection' directly.
4181 2010-10-02 Glenn Morris <rgm@gnu.org>
4183 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4185 * subr.el (char-bytes): Remove obsolete function.
4187 * isearch.el (isearch-return-char): Remove obsolete function.
4189 * mouse.el: No longer provide mldrag.
4190 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4191 Remove obsolete aliases.
4193 * comint.el (comint-kill-output): Remove obsolete alias.
4195 * composite.el (decompose-composite-char): Remove obsolete function.
4196 * ps-def.el (decompose-composite-char): Remove unused function.
4198 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4200 * outline.el (outline-visible): Remove obsolete function.
4202 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4203 * faces.el (internal-find-face, internal-get-face)
4204 (frame-update-faces, frame-update-face-colors)
4205 (x-frob-font-weight, x-frob-font-slant)
4206 (internal-frob-font-weight, internal-frob-font-slant)
4207 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4208 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4209 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4211 * emulation/viper-util.el (viper-get-face):
4212 * obsolete/lucid.el (find-face, get-face): Use facep.
4213 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4214 Remove unused functions.
4215 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4217 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4218 delete tempfile if interrupted during compilation.
4220 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4224 (tls-program): Add --insecure to be consistent with the defaults from
4225 openssl s_client. Now all three commands are insecure.
4227 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4229 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4230 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4231 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4233 2010-10-01 Glenn Morris <rgm@gnu.org>
4235 * obsolete/sc.el: Remove file.
4237 * files.el (temporary-file-directory): On darwin, also try
4238 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4240 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4242 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4243 Let's not break compatibility gratuitously, shall we?
4245 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247 * net/tls.el (tls-starttls-switches): New variable.
4248 (tls-find-starttls-argument): Use it.
4249 (open-tls-stream): Ditto.
4251 * net/netrc.el (netrc-credentials): Return the value of the "default"
4253 (netrc-machine): Ditto.
4255 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4257 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4259 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4261 * server.el (server-start): Don't write pid to the authentication file.
4262 (server-create-tty-frame): Don't send pid.
4263 (server-process-filter): Send pid at the start of every connection.
4265 2010-09-30 Glenn Morris <rgm@gnu.org>
4267 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4268 (show-all-diary-entries): Remove obsolete function aliases.
4270 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4271 Remove options, obsolete since 22.1.
4272 (appt-display-format, appt-display-message):
4273 Remove backwards-compatibility code.
4274 (appt-check): No longer check appt-issue-message.
4275 (appt-make-list): No longer autoload it. Doc fix. No longer
4276 activate the package.
4278 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4280 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4281 (starttls-negotiate): Just call boot, and let the handshake be
4282 triggered from the read loop.
4284 2010-09-29 Glenn Morris <rgm@gnu.org>
4286 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4287 not displaying the diary.
4288 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4289 * calendar/appt.el (appt-check): No longer need to kill diary.
4291 * calendar/diary-lib.el (diary-list-entries): Move the
4292 "Preparing..." message entirely here.
4293 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4294 messages to diary-list-entries.
4295 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4296 diary-display-function.
4298 * calendar/diary-lib.el (diary-include-other-diary-files):
4299 Trap some recursive includes.
4301 * calendar/appt.el (appt-activate): Check diary file.
4303 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4305 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4308 * calendar/time-date.el: No need to require cl for Emacs 21.
4310 2010-09-28 Glenn Morris <rgm@gnu.org>
4312 * calendar/appt.el (appt-check): Minor simplification.
4314 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4316 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4319 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4321 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4322 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4324 2010-09-27 Kenichi Handa <handa@m17n.org>
4326 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4329 2010-09-27 Kenichi Handa <handa@m17n.org>
4331 * international/mule.el (define-coding-system): Docstring fixed.
4333 * international/mule-diag.el (describe-character-set): Use princ
4334 with proper print-length and print-level instead of insert.
4336 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4338 * window.el (walk-windows): Doc fix (bug#7105).
4340 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * emacs-lisp/float-sup.el (e): Remove.
4344 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4346 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4348 (starttls-negotiate): Use it.
4350 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4352 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4355 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4359 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4363 * net/netrc.el (netrc-store-data): New function.
4365 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4367 * net/gnutls.el: GnuTLS glue code to set up a connection.
4369 2010-09-25 Julien Danjou <julien@danjou.info>
4371 * notifications.el: Call dbus-register-signal only if it is bound.
4373 2010-09-25 Glenn Morris <rgm@gnu.org>
4375 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4376 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4377 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4378 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4379 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4380 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4381 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4382 * eshell/esh-util.el, eshell/esh-var.el:
4383 Remove leading `*' from docs of faces and defcustoms.
4385 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4387 * eshell/em-ls.el (eshell-ls-archive-regexp):
4388 * eshell/esh-util.el (eshell-tar-regexp):
4389 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4390 * info.el (Info-suffix-list):
4391 * international/mule.el (auto-coding-alist):
4392 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4393 * progmodes/etags.el (tags-compression-info-list):
4394 Support xz compression.
4396 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4398 * files.el (get-free-disk-space): Don't assume the "df" output
4399 columns line up (Bug#6995).
4401 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4403 * finder.el (finder-unknown-keywords):
4404 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4405 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4407 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4409 * server.el (server-start): Revert part of 2010-08-08 change. Using
4410 address 127.0.0.1 for local host is now done in Fmake_network_process.
4412 2010-09-24 Glenn Morris <rgm@gnu.org>
4414 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4415 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4416 * textmodes/css-mode.el, textmodes/dns-mode.el:
4417 Move autoloaded auto-mode-alist entries to files.el.
4418 * files.el (auto-mode-alist): Move entries here.
4420 2010-09-23 Glenn Morris <rgm@gnu.org>
4422 * isearch.el (isearch-lazy-highlight-cleanup)
4423 (isearch-lazy-highlight-initial-delay)
4424 (isearch-lazy-highlight-interval)
4425 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4426 * net/net-utils.el (ipconfig-program-options):
4427 Move aliases to options before the associated definitions.
4429 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4431 * newcomment.el (comment-normalize-vars): Better test validity of
4434 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4436 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4437 (float-e): New name for `e'.
4438 (degrees-to-radians, radians-to-degrees):
4439 * calendar/solar.el (solar-longitude):
4440 * calculator.el (calculator-registers, calculator-funcall):
4441 * textmodes/artist.el (artist-spray-random-points):
4442 * play/bubbles.el (bubbles--initialize-images): Use new names.
4444 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4446 Update to CEDET 1.0's version of EIEIO.
4448 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4450 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4451 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4452 (class-precedence-list): If class is nil, return nil.
4453 (eieio-generic-call): If class of first input arg is nil, don't
4454 look up static methods, and do check for primary methods.
4455 (initialize-instance): See if the default needs to be evaluated
4456 during the constructor.
4457 (eieio-perform-slot-validation-for-default): Don't do the check
4458 for values that will eventually be evaluated.
4459 (eieio-eval-default-p): New function.
4460 (eieio-default-eval-maybe): Use it.
4462 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4464 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4465 method-invocation-order.
4466 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4467 (eieio-class-precedence-dfs): Compute class precedence list using
4469 (eieio-class-precedence-bfs): Compute class precedence list using
4471 (eieio-class-precedence-c3): Compute class precedence list using
4473 (class-precedence-list): New function.
4474 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4475 (inconsistent-class-hierarchy): New error symbol.
4476 (call-next-method): Stow the replacement argument list for future
4477 call-next-method invocations.
4479 2010-09-23 Glenn Morris <rgm@gnu.org>
4481 * calendar/appt.el (appt-check): If not displaying the diary,
4482 use (diary 1) to only get the entries we need.
4483 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4484 that it is in day order. (Bug#7019)
4486 * calendar/appt.el (appt-check): Rather than showing the diary,
4487 just turn off invisible display, and only if needed.
4489 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4491 2010-09-23 Glenn Morris <rgm@gnu.org>
4493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4494 (byte-compile-defvar, byte-compile-cl-warn):
4495 Start warnings with lower-case, like the majority.
4497 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4499 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4501 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4502 * files.el (auto-mode-alist): Move ld-script entries here, further down
4505 * vc/add-log.el: Don't require timezone when compiling.
4506 (timezone-make-date-sortable): Autoload it.
4507 (change-log-sortable-date-at): Don't require timezone.
4508 Use `ignore-errors'.
4510 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4511 Move alias before definition, so it does not need autoloading.
4513 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4514 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4515 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4516 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4517 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4518 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4519 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4520 * textmodes/tex-mode.el, textmodes/two-column.el:
4521 Remove leading `*' from docs of defcustoms etc.
4523 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4525 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4527 2010-09-22 Dan Christensen <jdc@uwo.ca>
4529 * calendar/time-date.el (date-to-time): Try using parse-time-string
4530 first before using the slower timezone-make-date-arpa-standard.
4532 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4534 * calendar/time-date.el (format-seconds): Comment fix.
4536 2010-09-22 Glenn Morris <rgm@gnu.org>
4538 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4539 is not automatically buffer-local.
4541 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4544 (smie-indent-comment): Be more careful with comment-start-skip.
4545 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4546 (smie-indent-functions): Use them.
4548 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4550 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4552 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4554 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4555 tool-bar-position. Don't modify frame parameters here.
4556 (menu-bar-options-save): Add tool-bar-position.
4558 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4560 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4562 * textmodes/reftex-parse.el (reftex-what-macro)
4563 (reftex-context-substring): Let-bind forward-sexp-function to nil
4564 since we don't need/want to treat \begin...\end as a block (bug#7053).
4566 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4568 * simple.el (blink-matching-open): Use syntax-class.
4570 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4571 Set invisibility spec for pascal's outline mode.
4572 (pascal-outline-change): Clean up calling convention.
4573 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4575 * progmodes/prolog.el (prolog-smie-forward-token)
4576 (prolog-smie-backward-token): New functions.
4577 (prolog-mode-variables): Use them to parse "!," correctly.
4578 Set up smie-blink-matching for ".".
4580 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4582 (ispell-region, ispell-process-line): Update users.
4584 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4587 * textmodes/ispell.el: Fix commenting convention.
4588 (ispell-parse-output): Simplify, use push.
4589 (ispell-region): Use match-string-no-properties.
4590 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4591 (ispell-minor-mode): Use define-minor-mode.
4592 (ispell-message): Remove unused var `skip-regexp'.
4593 (ispell-add-per-file-word-list): Use dynamic let-binding.
4594 Try and use the proper comment marker.
4596 * mail/sendmail.el: Fix commenting convention.
4597 (sendmail-send-it): Use line-beginning-position.
4599 * help-fns.el (describe-variable): Add original value, if applicable.
4601 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4603 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4605 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4607 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4609 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4610 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4611 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4612 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4613 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4614 something like "." can also be a closer.
4615 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4616 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4617 Rename internal functions to use "--". Update callers.
4619 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4621 * fringe.el (fringe-styles): New var.
4622 (fringe-mode, fringe-query-style): Use it.
4624 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4626 * progmodes/sql.el: Version 2.8
4627 (sql-login-params): Update widget structure; changes still needed.
4628 (sql-product-alist): Add :list-all and :list-table features for
4629 SQLite, Postgres and MySQL products.
4630 (sql-redirect): Handle default value.
4631 (sql-execute, sql-execute-feature): New functions.
4632 (sql-read-table-name): New function.
4633 (sql-list-all, sql-list-table): New functions. User API.
4634 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4635 for above functions.
4636 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4637 for above functions.
4638 (sql-postgres-login-params): Add user and database defaults.
4639 (sql-buffer-live-p): Bug fix.
4640 (sql-product-history): New variable.
4641 (sql-read-product): New function. Use it.
4642 (sql-set-product, sql-product-interactive): Use it.
4643 (sql-connection-history): New variable.
4644 (sql-read-connection): New function. Use it.
4645 (sql-connect): New function.
4646 (sql-for-each-login): Redesign function interface.
4647 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4648 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4649 (sql-comint): Check for program. Existing live buffer.
4650 (sql-comint-postgres): Add port parameter.
4652 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * emacs-lisp/warnings.el: Fix commenting convention.
4655 (display-warning): Use special mode and make the buffer read-only.
4657 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4659 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4660 empty string when it follows a repeated or optional pattern.
4662 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4665 (indent-region): Use indent-according-to-mode.
4667 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4669 * fringe.el (fringe-mode): Doc fix.
4671 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4673 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4674 refreshing the preview buffer.
4676 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4678 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4679 (latex-syntax-propertize-rules): New consts; replace
4680 tex-font-lock-syntactic-keywords.
4681 (tex-env-mark, latex-env-before-change): New functions.
4682 (latex-electric-env-pair-mode): New minor mode.
4683 (tex-font-lock-verb): Change arguments; do move point.
4684 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4685 representation as a form of comment.
4686 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4687 (doctex-syntax-propertize-rules): New const; replaces
4688 doctex-font-lock-syntactic-keywords.
4689 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4691 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4692 (fortran-make-syntax-propertize-function): New function; replaces
4693 fortran-font-lock-syntactic-keywords.
4694 (fortran-mode): Use it.
4695 (fortran-line-length): Use it. Improve interactive spec.
4697 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4698 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4699 when adding surrounding \(..\).
4701 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4703 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4705 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4706 Use with-current-buffer.
4708 * isearch.el (isearch-face): Rename from `isearch'.
4709 (isearch-highlight): Use new name.
4711 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4713 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4714 5, for `half' width fringes. (Bug#6933)
4716 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4719 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4721 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4723 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4725 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4726 in calculating new frame position. Add more space between new and
4727 parent on the left (Bug#7048).
4729 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4731 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4734 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4736 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4738 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4739 obsolete alias for x-selection-value.
4741 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4743 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4745 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4748 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4750 * net/tramp-compat.el (tramp-compat-with-temp-message)
4751 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4752 (tramp-compat-process-put): New defuns.
4754 * net/tramp.el (top):
4755 * net/tramp-gvfs.el (top):
4756 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4758 * net/tramp.el (tramp-progress-reporter-update):
4759 Use `tramp-compat-funcall'.
4761 * net/tramp.el (tramp-process-actions):
4762 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4763 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4764 (tramp-get-remote-stat, tramp-get-remote-readlink):
4765 Use `tramp-compat-with-temp-message'.
4767 * net/tramp-sh.el (top): Require 'cl.
4768 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4769 (tramp-open-connection-setup-interactive-shell):
4770 Use `tramp-compat-process-put'.
4772 2010-09-15 Alan Mackenzie <acm@muc.de>
4774 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4776 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4778 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4781 `lexical' for warnings related to lexical scoping.
4782 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4783 global vars which don't have a prefix and could hence affect lexical
4784 scoping in unrelated files.
4786 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4788 * net/imap.el: Revert back to version
4789 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4792 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4794 * obsolete/old-whitespace.el (whitespace-unload-function):
4795 Explicitly pass `obarray' to `unintern' to avoid a warning.
4797 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4800 Add `when' argument. Update callers.
4802 * subr.el (unintern): Declare the obarray arg mandatory.
4804 2010-09-14 Glenn Morris <rgm@gnu.org>
4806 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4809 * calendar/diary-lib.el (diary-included-files): New variable.
4810 (diary-list-entries): Maybe initialize diary-included-files.
4811 (diary-include-other-diary-files): Append to diary-included-files.
4812 * calendar/appt.el (appt-update-list): Also check the members of
4813 diary-included-files. (Bug#6999)
4814 (appt-check): Doc fix.
4816 2010-09-14 David Reitter <david.reitter@gmail.com>
4818 * simple.el (line-move-visual): Do not truncate goal column to
4819 integer size. (Bug#7020)
4821 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * repeat.el (repeat): Allow repeating when the last event is a click.
4824 Suggested by Drew Adams (bug#6256).
4826 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4828 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4829 Replace setting HGRCPATH to "" by some less invasive --config options.
4831 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * font-lock.el (font-lock-beginning-of-syntax-function):
4836 2010-09-14 Glenn Morris <rgm@gnu.org>
4838 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4839 and tool-bar modes. (Bug#6211)
4840 (menu-bar-mode): Move setting of standard-value after the
4841 minor-mode definition, otherwise it seems to have no effect.
4843 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4845 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4846 Fix typo. (Bug#6976)
4848 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4850 * whitespace.el: Allow cleaning up blanks without blank
4851 visualization (Bug#6651). Adjust help window for
4852 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4853 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4854 (whitespace-style): Add new value 'face. Adjust docstring.
4855 (whitespace-space, whitespace-hspace, whitespace-tab):
4856 Adjust foreground property face.
4857 (whitespace-line-column): Adjust docstring and type declaration.
4858 (whitespace-style-value-list, whitespace-toggle-option-alist)
4859 (whitespace-help-text): Adjust const initialization.
4860 (whitespace-toggle-options, global-whitespace-toggle-options):
4862 (whitespace-display-window, whitespace-interactive-char)
4863 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4864 (whitespace-help-scroll): New fun.
4866 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4868 * calendar/time-date.el (format-seconds): Comment fix.
4870 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4872 * progmodes/sql.el: Version 2.7.
4873 (sql-buffer-live-p): Improve detection.
4874 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4875 (sql-set-sqli-buffer): Use it.
4876 (sql-product-interactive): Run `sql-set-sqli-hook'.
4877 (sql-rename-buffer): Code cleanup.
4878 (sql-redirect, sql-redirect-value): New functions. More to come.
4880 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4882 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.
4883 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4884 (TRAMP_SRC): New macro.
4885 ($(lisp)/net/tramp-loaddefs.el): New target.
4887 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4889 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4891 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4893 * net/tramp.el (top): Don't show loading message. Require just
4894 'tramp-compat, everything else is required there.
4895 Use `ignore-errors' where appropriate.
4896 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4897 (tramp-terminal-type, tramp-end-of-output)
4898 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4899 (tramp-completion-function-alist-ssh)
4900 (tramp-completion-function-alist-telnet)
4901 (tramp-completion-function-alist-su)
4902 (tramp-completion-function-alist-putty, tramp-remote-path)
4903 (tramp-remote-process-environment, tramp-sh-extra-args)
4904 (tramp-actions-before-shell, tramp-uudecode)
4905 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4906 (tramp-perl-file-attributes)
4907 (tramp-perl-directory-files-and-attributes)
4908 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4909 (tramp-perl-encode, tramp-perl-decode)
4910 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4911 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4912 (tramp-handle-make-symbolic-link, tramp-handle-load)
4913 (tramp-handle-file-name-as-directory)
4914 (tramp-handle-file-name-directory)
4915 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4916 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4917 (tramp-do-file-attributes-with-ls)
4918 (tramp-do-file-attributes-with-perl)
4919 (tramp-do-file-attributes-with-stat)
4920 (tramp-handle-set-visited-file-modtime)
4921 (tramp-handle-verify-visited-file-modtime)
4922 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4923 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4924 (tramp-handle-file-selinux-context)
4925 (tramp-handle-set-file-selinux-context)
4926 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4927 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4928 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4929 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4930 (tramp-handle-file-ownership-preserved-p)
4931 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4932 (tramp-handle-directory-files-and-attributes)
4933 (tramp-do-directory-files-and-attributes-with-perl)
4934 (tramp-do-directory-files-and-attributes-with-stat)
4935 (tramp-handle-file-name-all-completions)
4936 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4937 (tramp-handle-copy-file, tramp-handle-copy-directory)
4938 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4939 (tramp-do-copy-or-rename-file-via-buffer)
4940 (tramp-do-copy-or-rename-file-directly)
4941 (tramp-do-copy-or-rename-file-out-of-band)
4942 (tramp-handle-make-directory, tramp-handle-delete-directory)
4943 (tramp-handle-delete-file)
4944 (tramp-handle-dired-recursive-delete-directory)
4945 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4946 (tramp-handle-insert-directory)
4947 (tramp-handle-unhandled-file-name-directory)
4948 (tramp-handle-expand-file-name)
4949 (tramp-handle-substitute-in-file-name)
4950 (tramp-handle-executable-find, tramp-process-sentinel)
4951 (tramp-handle-start-file-process, tramp-handle-process-file)
4952 (tramp-handle-call-process-region, tramp-handle-shell-command)
4953 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4954 (tramp-handle-insert-file-contents)
4955 (tramp-handle-insert-file-contents-literally)
4956 (tramp-handle-find-backup-file-name)
4957 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4958 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4959 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4960 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4961 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4962 (tramp-find-file-exists-command, tramp-open-shell)
4963 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4964 (tramp-open-connection-setup-interactive-shell)
4965 (tramp-local-coding-commands, tramp-remote-coding-commands)
4966 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4967 (tramp-inline-compress-commands, tramp-find-inline-compress)
4968 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4969 (tramp-send-command, tramp-wait-for-output)
4970 (tramp-send-command-and-check, tramp-barf-unless-okay)
4971 (tramp-send-command-and-read, tramp-mode-string-to-int)
4972 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4973 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4974 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4975 (tramp-method-out-of-band-p, tramp-local-host-p)
4976 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4977 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4978 (tramp-get-test-command, tramp-get-test-nt-command)
4979 (tramp-get-file-exists-command, tramp-get-remote-ln)
4980 (tramp-get-remote-perl, tramp-get-remote-stat)
4981 (tramp-get-remote-readlink, tramp-get-remote-trash)
4982 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4983 (tramp-get-local-uid, tramp-get-local-gid)
4984 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4986 (tramp-methods, tramp-default-method-alist)
4987 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4988 Move initialization to tramp-sh.el.
4989 (tramp-temp-name-prefix): Make it a defconst.
4990 (tramp-dissect-file-name): Don't check anymore for multi-hop
4992 (tramp-debug-outline-regexp): Add a docstring.
4993 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4994 (tramp-get-debug-buffer): Use it.
4996 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4997 initialization forms.
4998 (tramp-set-connection-property): Don't protect `tramp-message'
4999 call, it isn't necessary any longer.
5000 (tramp-dump-connection-properties): Use `ignore-errors'.
5002 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5003 'password-cache and 'auth-source.
5005 * net/tramp-gvfs.el (top):
5006 * net/tramp-smb.el (top): Require 'tramp-sh.
5008 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5010 * net/tramp-sh.el: New file, derived from tramp.el.
5011 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5012 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5013 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5014 Use `ignore-errors' where appropriate.
5015 (tramp-sh-file-name-handler-alist): Rename from
5016 `tramp-file-name-handler-alist'.
5017 (tramp-send-command-and-check): Return t or nil. Remove all
5018 `zerop' checks, where called.
5019 (tramp-handle-set-file-modes)
5020 (tramp-do-copy-or-rename-file-directly)
5021 (tramp-handle-delete-directory, tramp-handle-delete-file)
5022 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5023 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5024 (tramp-get-remote-ln): Set tramp-autoload cookie.
5026 * net/tramp-fish.el: Remove file.
5028 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5030 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5031 buffer-file-name to avoid file-locking. (Bug#7026)
5033 2010-09-13 Julien Danjou <julien@danjou.info>
5035 * notifications.el (notifications-notify): Add support for
5036 image-path and sound-name.
5037 (notifications-specification-version): Add this variable.
5039 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5041 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5043 2010-09-12 Leo <sdl.web@gmail.com>
5045 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5046 (rcirc-completion-start): New variables.
5047 (rcirc-nick-completions): Rename to rcirc-completions.
5048 (rcirc-nick-completion-start-offset): Delete.
5049 (rcirc-completion-at-point): New function for constructing
5050 completion data for both nicks and irc commands. Add to
5051 completion-at-point-functions in rcirc mode.
5052 (rcirc-complete): Rename from rcirc-nick-complete; use
5053 rcirc-completion-at-point.
5054 (defun-rcirc-command): Update rcirc-client-commands.
5056 2010-09-11 Glenn Morris <rgm@gnu.org>
5058 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5059 atomically, to avoid parallel build errors. (Bug#4196)
5061 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5063 * progmodes/sql.el: Version 2.6
5064 (sql-dialect): Synonym for "sql-product".
5065 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5066 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5067 Set "sql-buffer" to buffer name not buffer object so multiple sql
5068 interactive buffers work properly. Reverts misguided changes in
5070 (sql-comint): Make sure different buffer name is used if "*SQL*"
5071 buffer is for a different product.
5072 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5074 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5075 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5076 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5077 Accept new buffer name or prompt for one.
5078 (sql-port): Default to zero.
5079 (sql-comint-mysql): Handle "sql-port" as a numeric.
5080 (sql-port-history): Delete unused variable.
5081 (sql-get-login): Default "sql-port" to a number.
5082 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5083 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5084 "sqlite3" executables.
5085 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5086 (sql-buffer-live-p): New function.
5087 (sql-mode-menu, sql-send-string): Use it.
5088 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5090 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5091 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5093 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095 * net/netrc.el (netrc-credentials): New convenience function.
5097 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5099 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5100 to replace texinfo-font-lock-syntactic-keywords.
5101 (texinfo-mode): Use it.
5103 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5104 Use syntax-propertize-function.
5106 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5107 replace sgml-font-lock-syntactic-keywords.
5108 (sgml-mode): Use it.
5110 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5111 since we don't use it.
5113 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5115 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5117 (vhdl-fontify-buffer): Adjust.
5119 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5120 replace tcl-font-lock-syntactic-keywords.
5123 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5124 replace simula-font-lock-syntactic-keywords.
5125 (simula-mode): Use it.
5127 * progmodes/sh-script.el (sh-st-symbol): Remove.
5128 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5129 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5130 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5131 (sh-font-lock-paren): Set syntax-multiline.
5132 (sh-font-lock-syntactic-keywords): Remove.
5133 (sh-syntax-propertize-function): New function to replace it.
5136 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5137 Define while compiling.
5138 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5139 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5140 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5141 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5142 (ruby-here-doc-end-syntax): Only define when
5143 syntax-propertize is not available.
5144 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5146 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5147 (electric-indent-chars): Silence bytecompiler.
5148 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5149 electric-indent-chars.
5151 * progmodes/python.el (python-syntax-propertize-function): New var to
5152 replace python-font-lock-syntactic-keywords.
5153 (python-mode): Use it.
5154 (python-quote-syntax): Simplify and adjust to new use.
5156 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5157 replace perl-font-lock-syntactic-keywords.
5158 (perl-syntax-propertize-special-constructs): New fun to replace
5159 perl-font-lock-special-syntactic-constructs.
5160 (perl-font-lock-syntactic-face-function): New fun.
5161 (perl-mode): Use it.
5163 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5164 to replace octave-font-lock-close-quotes.
5165 (octave-syntax-propertize-function): New function to replace
5166 octave-font-lock-syntactic-keywords.
5167 (octave-mode): Use it.
5169 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5170 replaces mixal-font-lock-syntactic-keywords.
5171 (mixal-mode): Use it.
5173 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5174 New var; replaces makefile-font-lock-syntactic-keywords.
5175 (makefile-mode): Use it.
5176 (makefile-imake-mode): Adjust.
5178 * progmodes/js.el (js--regexp-literal): Define while compiling.
5179 (js-syntax-propertize-function): New var; replaces
5180 js-font-lock-syntactic-keywords.
5183 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5184 replaces gdb-script-font-lock-syntactic-keywords.
5185 (gdb-script-mode): Use it.
5187 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5188 (fortran--font-lock-syntactic-keywords): New var.
5189 (fortran-line-length): Update syntax-propertize-function and
5190 fortran--font-lock-syntactic-keywords.
5192 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5194 * progmodes/cfengine.el (cfengine-mode):
5195 Use syntax-propertize-function.
5196 (cfengine-font-lock-syntactic-keywords): Remove.
5198 * progmodes/autoconf.el (autoconf-mode):
5199 Use syntax-propertize-function.
5200 (autoconf-font-lock-syntactic-keywords): Remove.
5202 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5203 (ada-after-change-function, ada-initialize-syntax-table-properties)
5204 (ada-handle-syntax-table-properties): Only define when
5205 syntax-propertize is not available.
5206 (ada-mode): Use syntax-propertize-function.
5208 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5209 (font-lock-fontify-syntactic-keywords-region): Move handling of
5210 font-lock-syntactically-fontified to...
5211 (font-lock-default-fontify-region): ...here.
5212 Let syntax-propertize-function take precedence.
5213 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5215 * emacs-lisp/syntax.el (syntax-propertize-function)
5216 (syntax-propertize-chunk-size, syntax-propertize--done)
5217 (syntax-propertize-extend-region-functions): New vars.
5218 (syntax-propertize-wholelines, syntax-propertize-multiline)
5219 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5220 (syntax-propertize): New functions.
5221 (syntax-propertize-rules): New macro.
5222 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5223 (syntax-ppss): Call syntax-propertize.
5225 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5227 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5229 * textmodes/ispell.el (ispell-init-process): Improve comments.
5230 XEmacs compatibility changes regarding (add-hook) 'local option
5231 and (set-process-query-on-exit-flag).
5233 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5235 * net/tramp-cache.el (tramp-parse-connection-properties):
5236 Set tramp-autoload cookie.
5238 2010-09-09 Glenn Morris <rgm@gnu.org>
5240 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5241 (imagemagick-register-types): Doc fix.
5243 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5245 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5247 * progmodes/js.el (require): Require is already "eval-and-compile".
5248 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5249 (js--re-search-backward): Use js--re-search-forward.
5251 * progmodes/fortran.el (fortran-line-length): Don't recompute
5252 syntactic keywords redundantly a second time.
5254 * progmodes/ada-mode.el: Replace "(set '" with setq.
5255 (ada-mode): Simplify.
5256 (ada-create-case-exception, ada-adjust-case-interactive)
5257 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5258 (ada-search-ignore-string-comment, ada-move-to-start)
5259 (ada-move-to-end): Use with-syntax-table.
5261 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5262 (font-lock-unfontify-region, font-lock-default-fontify-region):
5263 Update usage correspondingly.
5264 (font-lock-fontify-syntactic-keywords-region):
5265 Set parse-sexp-lookup-properties buffer-locally here.
5266 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5268 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5270 2010-09-08 Glenn Morris <rgm@gnu.org>
5272 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5273 Error if not compiled with -DBYTE_CODE_METER.
5275 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5276 Ignore dir-locals-file.
5278 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5282 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5283 for the `gnu' messages.
5284 (compilation-set-skip-threshold): New command.
5285 (compilation-start): Use \' rather than $.
5286 (compilation-forget-errors): Use clrhash.
5288 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5290 * textmodes/ispell.el (ispell-valid-dictionary-list):
5293 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5295 Migrate to Tramp 2.2. Rearrange load dependencies.
5296 (Bug#1529, Bug#5448, Bug#5705)
5298 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5299 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5300 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5302 * net/tramp.el (top): Remove all other tramp-* loads except
5303 tramp-compat.el. Remove all changes to tramp-unload-hook for
5304 other tramp-* packages. Rearrange defun order. Change calls of
5305 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5306 `tramp-compat-octal-to-decimal' to new function names.
5307 (tramp-terminal-type, tramp-initial-end-of-output)
5308 (tramp-methods, tramp-foreign-file-name-handler-alist)
5309 (tramp-tramp-file-p, tramp-completion-mode-p)
5310 (tramp-send-command-and-check, tramp-get-remote-path)
5311 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5312 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5313 (with-file-property, with-connection-property): Move to
5315 (tramp-local-call-process, tramp-decimal-to-octal)
5316 (tramp-octal-to-decimal): Move to tramp-compat.el.
5317 (tramp-handle-shell-command): Do not require 'shell.
5318 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5320 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5322 * net/tramp-cache.el (top): Require 'tramp. Add to
5323 `tramp-unload-hook'.
5324 (tramp-cache-data, tramp-get-file-property)
5325 (tramp-set-file-property, tramp-flush-file-property)
5326 (tramp-flush-directory-property, tramp-get-connection-property)
5327 (tramp-set-connection-property, tramp-flush-connection-property)
5328 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5330 (with-file-property, with-connection-property): New defuns, moved
5332 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5335 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5336 (tramp-version): Set tramp-autoload cookie.
5338 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5339 changes to tramp-unload-hook for other tramp-* packages. Add to
5340 `tramp-unload-hook'.
5341 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5342 (tramp-compat-call-process): New defuns, moved from tramp.el.
5344 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5345 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5346 Add to `tramp-unload-hook'. Change call of
5347 `tramp-compat-decimal-to-octal' to new function name.
5348 (tramp-fish-method): Make it a defconst.
5349 (tramp-fish-file-name-p): Make it a defsubst.
5350 (tramp-fish-method, tramp-fish-file-name-handler)
5351 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5353 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5354 `tramp-foreign-file-name-handler-alist'. Add to
5355 `tramp-unload-hook'.
5356 (tramp-ftp-method): Make it a defconst.
5357 (tramp-ftp-file-name-p): Make it a defsubst.
5358 (tramp-ftp-method, tramp-ftp-file-name-handler)
5359 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5361 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5362 `tramp-foreign-file-name-handler-alist'. Add to
5363 `tramp-unload-hook'. Change checks, whether package can be
5365 (tramp-gvfs-file-name-p): Make it a defsubst.
5366 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5367 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5368 (tramp-gvfs-handle-file-directory-p): New defun.
5369 (tramp-gvfs-file-name-handler-alist): Use it.
5371 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5372 `tramp-foreign-file-name-handler-alist'. Add to
5373 `tramp-unload-hook'.
5374 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5375 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5377 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5378 (tramp-gw-open-connection): Set tramp-autoload cookie.
5380 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5381 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5382 Add to `tramp-unload-hook'. Change checks, whether package can be
5384 (tramp-imap-file-name-p): Make it a defsubst.
5385 (tramp-imap-method, tramp-imaps-method)
5386 (tramp-imap-file-name-handler)
5387 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5389 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5390 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5391 Add to `tramp-unload-hook'. Change checks, whether package can be
5392 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5394 (tramp-smb-tunnel-method): Make it a defconst.
5395 (tramp-smb-file-name-p): Make it a defsubst.
5396 (tramp-smb-method, tramp-smb-file-name-handler)
5397 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5399 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5400 (tramp-uuencode-region): Set tramp-autoload cookie.
5402 * net/trampver.el (top) Add to `tramp-unload-hook'.
5403 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5404 cookie. Update release number.
5406 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5408 * textmodes/ispell.el (ispell-start-process): Make sure original
5409 arg list is properly initialized (Bug#6993, Bug#6994).
5411 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5413 * files.el (directory-abbrev-alist): Use \` as default regexp.
5415 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5416 chars like - or ] (bug#6984).
5417 (rx-any-condense-range): Explode 2-char ranges.
5419 2010-09-06 Glenn Morris <rgm@gnu.org>
5421 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5423 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * textmodes/bibtex.el:
5426 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5428 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5430 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5431 since no callers use it.
5432 (imap-message-get): Ditto.
5433 (imap-message-put): Ditto.
5434 (imap-mailbox-map): Ditto.
5435 (imap-mailbox-put): Ditto.
5436 (imap-mailbox-get): Ditto.
5437 (imap-mailbox-get): Revert last change for this function.
5439 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5441 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5442 callers to use `imap-fetch' instead. According to the comments, this
5443 should be safe, since all other IMAP clients use the 1:* syntax.
5444 (imap-enable-exchange-bug-workaround): Remove.
5445 (imap-debug): Remove -- doesn't seem very useful.
5447 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5449 * net/imap.el (imap-log): New convenience function used throughout
5450 instead of repeating the same code all over the place.
5452 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5454 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5455 when mouse-drag-copy-region is non-nil (Bug#6956).
5457 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5459 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5460 Improve regexps (Bug#6987).
5461 (dired-sort-toggle): Search more robustly for -t flag.
5463 * files.el (get-free-disk-space): Search more robustly for
5464 "available" column. Suggested by Ehud Karni
5465 <ehud@unix.mvs.co.il>.
5467 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5469 * international/uni-bidi.el:
5470 * international/uni-category.el:
5471 * international/uni-combining.el:
5472 * international/uni-decimal.el:
5473 * international/uni-mirrored.el:
5474 * international/uni-name.el: Regenerate.
5476 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * electric.el (electric-indent-post-self-insert-function):
5479 Don't reindent with a sloppy indentation function.
5481 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5482 border case in change-log-mode.
5484 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5487 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5488 Recognize leading tab in gcc-include regexp. Ignore names with
5489 leading "from" or "in" in gnu regexp (Bug#6937).
5491 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5493 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5494 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5495 (ispell-start-process): Avoid setq and simplify logic.
5496 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5497 (kill-buffer-hook): Don't use it globally with code that uses
5498 expand-file-name since that may call kill-buffer via
5499 code_conversion_restore.
5501 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5503 * emacs-lisp/package.el (package-directory-list): Only call
5504 file-name-nondirectory on a string.
5506 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5508 * emacs-lisp/package.el (package--download-one-archive):
5509 Ensure that archive-contents is valid before saving it.
5510 (package-activate-1, package-mark-obsolete, define-package)
5511 (package-compute-transaction, package-list-maybe-add): Use push.
5513 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5515 Use SMIE's blink-paren for octave-mode.
5516 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5517 Backslashes do not escape single-quotes, single-quotes do.
5518 (octave-block-else-regexp, octave-block-end-regexp)
5519 (octave-block-match-alist): Remove.
5520 (octave-smie-bnf-table): New var, with old content.
5521 (octave-smie-op-levels): Use it.
5522 (octave-smie-closer-alist): New var.
5523 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5524 (octave-blink-matching-block-open): Remove.
5525 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5526 (octave-electric-space): Let self-insert-command run expand-abbrev and
5529 * electric.el (electricity): New group.
5530 (electric-indent-chars): New var.
5531 (electric-indent-post-self-insert-function): New fun.
5532 (electric-indent-mode): New minor mode.
5533 (electric-pair-skip-self): New custom.
5534 (electric-pair-post-self-insert-function): New function.
5535 (electric-pair-mode): New minor mode.
5537 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5538 calcAlg-blink-matching-open.
5539 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5540 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5541 Use the new blink-matching-check-function.
5543 Provide blink-matching support to SMIE.
5544 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5545 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5546 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5548 * simple.el (newline): Fix last change to properly remove itself from
5551 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * simple.el (newline): Eliminate optimization.
5554 Use post-self-insert-hook to set hard-newline and things before
5555 running post-self-insert-hook.
5556 (blink-matching-check-mismatch): New function.
5557 (blink-matching-check-function): New variable.
5558 (blink-matching-open): Use them.
5559 Skip back forward over prefix chars skipped by forward-sexp.
5560 Don't check if the parens are backslash escaped.
5561 (blink-paren-post-self-insert-function): Check backslash escaping here.
5563 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5565 * emacs-lisp/package.el (package-menu-mode-map):
5566 Change package-menu-revert bindings to revert-buffer.
5567 (package-menu-mode): Set revert-buffer-function.
5568 (package-menu-revert): Doc fix.
5570 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5572 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5573 `default-directory' unless using Ispell per-directory personal
5574 dictionaries and not in a mini-buffer under XEmacs.
5575 (kill-buffer-hook): Do not kill ispell process on exit when
5576 `ispell-process-directory' is "~/". (Bug#6143)
5578 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5580 * simple.el (kill-new): Call interprogram-cut-function with only
5583 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5584 Remove cut buffer from error message.
5586 * term/x-win.el (x-select-text):
5587 * term/pc-win.el (x-selection-value):
5588 * term/ns-win.el (x-selection-value):
5589 * eshell/em-term.el:
5590 * w32-fns.el (x-get-selection-value):
5591 * mouse-sel.el (mouse-sel-set-selection-function):
5592 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5594 * term/x-win.el: Update documentation for x-last-selected-text-*.
5595 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5596 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5597 (x-select-text): Remove argument PUSH, update documentation.
5598 Remove cut-buffer code.
5599 (x-selection-value-internal): Was previously x-selection-value.
5600 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5601 Update documentation, remove cut-buffer code.
5602 Call x-selection-value-internal.
5603 (x-clipboard-yank): Call x-selection-value-internal.
5604 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5606 * term/pc-win.el (x-last-selected-text):
5607 x-cut-buffer-or-selection-value renamed to x-selection-value
5608 (x-select-text): Remove argument PUSH, update documentation.
5610 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5611 x-cut-buffer-or-selection-value renamed to x-selection-value
5612 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5613 (x-select-text): Remove argument PUSH, update documentation.
5615 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5617 * w32-fns.el (x-last-selected-text):
5618 x-cut-buffer-or-selection-value renamed to x-selection-value.
5619 (x-cut-buffer-max): Remove.
5620 (x-select-text): Remove argument PUSH, update documentation.
5622 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5624 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5626 * mouse-sel.el (mouse-sel-get-selection-function):
5627 x-cut-buffer-or-selection-value renamed to x-selection-value.
5628 (x-select-text): Remove optional push.
5630 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * simple.el (blink-paren-function): Move from C to here.
5633 (blink-paren-post-self-insert-function): New function.
5634 (post-self-insert-hook): Use it.
5636 * emacs-lisp/pcase.el (pcase-split-memq):
5637 Fix overenthusiastic optimisation.
5638 (pcase-u1): Handle the case of a lambda pred.
5640 2010-08-31 Kenichi Handa <handa@m17n.org>
5642 * international/mule-cmds.el (standard-display-european-internal):
5643 Setup standard-display-table for 8-bit characters by storing 8-bit
5644 characters in the element vector.
5646 * disp-table.el (standard-display-8bit):
5647 Setup standard-display-table for 8-bit characters by storing 8-bit
5648 characters in the element vector.
5649 (standard-display-european): Likewise.
5651 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5653 * textmodes/nroff-mode.el (nroff-view): New command.
5654 (nroff-mode-map): Bind it to C-c C-c.
5656 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * emacs-lisp/smie.el (smie-down-list): New command.
5660 Remove old indentation and navigation code on octave-mode.
5661 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5662 smie-down-list rather than add a binding for octave-down-block.
5663 (octave-mark-block, octave-blink-matching-block-open):
5664 Rely on forward-sexp-function.
5665 (octave-fill-paragraph): Don't narrow, so you can use
5666 indent-according-to-mode.
5667 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5668 (octave-in-block-p, octave-re-search-forward-kw)
5669 (octave-re-search-backward-kw, octave-indent-calculate)
5670 (octave-end-as-array-index-p, octave-block-end-offset)
5671 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5672 (octave-down-block, octave-backward-up-block, octave-up-block)
5673 (octave-before-magic-comment-p, octave-indent-line): Remove.
5675 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5677 * emacs-lisp/package.el (package--read-archive-file): Just use
5678 `read', to avoid copying an additional string.
5679 (package-menu-mode): Set header-line-format here.
5680 (package-menu-refresh, package-menu-revert): Signal an error if
5681 not in the Package Menu.
5682 (package-menu-package-list): New var.
5683 (package--generate-package-list): Operate on the current buffer;
5684 don't assume that it is *Packages*, since the user may rename it.
5685 Allow persistent package listings and sort keys using
5686 package-menu-package-list and package-menu-package-sort-key.
5687 (package-menu--version-predicate): Fix version calculation.
5688 (package-menu-sort-by-column): Don't select the window.
5689 (package--list-packages): Create the *Packages* buffer.
5690 Set package-menu-package-list-key.
5691 (list-packages): Sorting by status is now the default.
5692 (package-buffer-info): Use match-string-no-properties.
5693 (define-package): Add a &rest argument for future proofing, but
5695 (package-install-from-buffer, package-install-buffer-internal):
5696 Merge into a single function, package-install-from-buffer.
5697 (package-install-file): Change caller.
5699 * finder.el: Load finder-inf using `require'.
5700 (finder-list-matches): Sorting by status is now the default.
5701 (finder-compile-keywords): Simpify printing.
5703 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5705 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5706 (octave-mode-map): Remove special bindings for forward/backward-block
5707 and octave-backward-up-block. Use smie-close-block.
5708 (octave-continuation-marker-regexp): New var.
5709 (octave-continuation-regexp): Use it.
5710 (octave-operator-table, octave-smie-op-levels)
5711 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5712 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5713 (octave-mode): Use SMIE.
5714 (octave-close-block): Delete.
5716 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5718 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5719 CLIPBOARD, not in PRIMARY. (Bug#6944)
5721 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5725 (smie-indent-column): Allow indirection through variables.
5727 * composite.el (save-buffer-state): Delete, unused.
5728 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5729 (font-lock-default-fontify-region): Use with-syntax-table.
5730 * jit-lock.el (with-buffer-unmodified): Remove.
5731 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5733 Use `declare' in defmacros.
5734 * window.el (save-selected-window):
5735 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5736 * progmodes/python.el (def-python-skeleton):
5737 * net/dbus.el (dbus-ignore-errors):
5738 * jka-cmpr-hook.el (with-auto-compression-mode):
5739 * international/mule.el (with-category-table):
5740 * emacs-lisp/timer.el (with-timeout):
5741 * emacs-lisp/lisp-mnt.el (lm-with-file):
5742 * emacs-lisp/eieio.el (with-slots):
5743 * emacs-lisp/easymenu.el (easy-menu-define):
5744 * emacs-lisp/debug.el (debugger-env-macro):
5745 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5746 (Multiple-value-call, Multiple-value-prog1):
5747 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5748 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5749 edebug rule to definition.
5750 * emacs-lisp/lisp-mode.el (save-selected-window)
5751 (with-current-buffer, combine-after-change-calls)
5752 (with-output-to-string, with-temp-file, with-temp-buffer)
5753 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5754 (dolist, dotimes, when, unless):
5755 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5757 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5759 * finder.el: Require `package'.
5760 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5761 (finder-package-info): Var deleted.
5762 (finder-keywords-hash, finder--builtins-alist): New vars.
5763 (finder-compile-keywords): Compute package--builtins and
5764 finder-keywords-hash instead of finder-keywords-hash, respecting
5765 the "Package" header.
5766 (finder-unknown-keywords, finder-list-matches):
5767 Use finder-keywords-hash and package--list-packages.
5768 (finder-mode): Don't set font-lock-defaults.
5769 (finder-exit): We don't use "*Finder-package*" and "*Finder
5770 Category*" buffers anymore.
5772 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5773 (package--builtins): Set default value to nil.
5774 (package-initialize): Load precomputed value of package--builtins
5776 (package-alist, package-compute-transaction)
5777 (package-download-transaction): Improve docstring.
5778 (package-read-all-archive-contents): Do not change
5779 package--builtins here.
5780 (list-packages): Make package-list-packages an alias for this.
5781 Sort by status by default.
5782 (package--list-packages): Add optional PACKAGES arg.
5783 (describe-package-1): Use font-lock-face property. For built-in
5784 packages, insert file commentary.
5785 (package--generate-package-list): Rename from
5786 package-list-packages-internal; all callers changed. Add optional
5787 PACKAGES arg. Add alphabetical sort fallbacks.
5788 (package-menu--version-predicate, package-menu--status-predicate)
5789 (package-menu--description-predicate)
5790 (package-menu--name-predicate): New functions.
5792 * info.el (Info-finder-find-node): Search package-alist instead of
5793 finder-package-info.
5795 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5797 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5799 (version-to-list): Handle versions like "10.3d".
5801 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5804 (macroexp-accumulate): Use `declare'.
5806 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5808 * whitespace.el (whitespace-style): Adjust type declaration.
5810 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5812 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5813 empty argument to gvfs-copy.
5815 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5817 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5818 handle new TRASH arg of `delete-file'.
5820 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5822 * net/tramp.el (tramp-handle-insert-directory): Don't use
5823 `forward-word', its default syntax could be changed.
5825 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5826 Michael Albinus <michael.albinus@gmx.de>
5828 Implement compression for inline methods.
5830 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5831 (tramp-copy-size-limit): Allow also nil.
5832 (tramp-inline-compress-commands): New defconst.
5833 (tramp-find-inline-compress, tramp-get-inline-compress)
5834 (tramp-get-inline-coding): New defuns.
5835 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5836 replaced by `tramp-get-inline-coding'.
5837 (tramp-handle-file-local-copy, tramp-handle-write-region)
5838 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5840 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5842 Detect ssh 'ControlMaster' argument automatically in some cases.
5844 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5845 (tramp-default-method): Use it.
5847 2010-08-26 Karel Klíč <kklic@redhat.com>
5849 * net/tramp.el (tramp-file-name-for-operation):
5850 Add file-selinux-context.
5852 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5854 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5856 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5858 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5861 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5863 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5864 (js-paren-indent-offset, js-square-indent-offset)
5865 (js-curly-indent-offset): New options.
5866 (js--proper-indentation): Use them.
5868 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5870 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5871 instead of inspecting font-lock properties (Bug#6916).
5873 2010-08-26 David Reitter <david.reitter@gmail.com>
5875 * server.el (server-visit-files): Run pre-command-hook and
5876 post-command-hook for each buffer while it is current (Bug#6910).
5877 (server-execute): Do not run hooks here.
5879 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5881 Sync with Tramp 2.1.19.
5883 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5884 (tramp-reporter-dump-variable, tramp-load-report-modules)
5885 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5886 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5888 * net/tramp-compat.el (top): Do not autoload
5889 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5890 only when `start-file-process' is not bound.
5891 (byte-compile-not-obsolete-vars): Define if not bound.
5892 (tramp-compat-funcall): New defmacro.
5893 (tramp-compat-line-beginning-position)
5894 (tramp-compat-line-end-position)
5895 (tramp-compat-temporary-file-directory)
5896 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5897 (tramp-compat-copy-file, tramp-compat-copy-directory)
5898 (tramp-compat-delete-file, tramp-compat-delete-directory)
5899 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5901 (tramp-advice-file-expand-wildcards): Do not use
5902 `tramp-handle-file-remote-p'.
5903 (tramp-compat-make-temp-file): Simplify fallback implementation.
5904 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5905 (tramp-compat-copy-tree): Remove function.
5906 (tramp-compat-delete-file): New defun.
5907 (tramp-compat-delete-directory): Provide implementation for older
5909 (tramp-compat-file-attributes): Handle only
5910 `wrong-number-of-arguments' error.
5912 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5913 Add PRESERVE_SELINUX_CONTEXT.
5914 (tramp-fish-handle-delete-file): Add TRASH arg.
5915 (tramp-fish-handle-directory-files-and-attributes):
5916 Do not use `tramp-fish-handle-file-attributes.
5917 (tramp-fish-handle-file-local-copy)
5918 (tramp-fish-handle-insert-file-contents)
5919 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5921 * net/tramp-gvfs.el (top): Require url-util.
5922 (tramp-gvfs-mount-point): Remove.
5923 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5924 and `set-file-selinux-context'.
5925 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5926 (tramp-gvfs-handle-file-selinux-context)
5927 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5928 (with-tramp-dbus-call-method): Format trace message.
5929 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5930 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5931 Implement backup call, when operation on local files fails.
5932 Use progress reporter. Flush properties of changed files.
5933 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5934 Use `tramp-compat-delete-file'.
5935 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5936 (tramp-gvfs-handle-make-directory): Make more traces.
5937 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5938 (tramp-gvfs-url-file-name): Hexify file name in url.
5939 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5940 into account for the resulting file name.
5941 (tramp-gvfs-handler-askquestion): Preserve current message, in
5942 order to let progress reporter continue afterwards. (Bug#6257)
5943 Return dummy mountpoint, when the answer is "no".
5944 See `tramp-gvfs-maybe-open-connection'.
5945 (tramp-gvfs-handler-mounted-unmounted)
5946 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5947 attribute "default_location". Set "prefix" property.
5948 Handle default-location.
5949 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5950 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5951 exists. Raise an error, if not (due to a corresponding answer
5952 "no" in interactive questions, for example).
5953 Use `tramp-compat-funcall'.
5955 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5956 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5957 (tramp-imap-do-copy-or-rename-file)
5958 (tramp-imap-handle-insert-file-contents)
5959 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5960 (tramp-imap-handle-delete-file): Add TRASH arg.
5962 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5963 Add PRESERVE-SELINUX-CONTEXT.
5964 (tramp-smb-handle-copy-file)
5965 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5966 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5967 Use `with-progress-reporter'.
5968 (tramp-smb-handle-delete-file): Add TRASH arg.
5970 * net/tramp.el (tramp-methods): Move hostname to the end in all
5971 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5973 (tramp-verbose): Describe verbose level 9.
5974 (tramp-completion-function-alist)
5975 (tramp-file-name-regexp, tramp-chunksize)
5976 (tramp-local-coding-commands, tramp-remote-coding-commands)
5977 (with-connection-property, tramp-completion-mode-p)
5978 (tramp-action-process-alive, tramp-action-out-of-band)
5979 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5980 (tramp-exists-file-name-handler): Fix docstring.
5981 (tramp-remote-process-environment): Use `format' instead of
5982 `concat'. Protect version string by apostroph.
5983 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5985 (tramp-file-name-regexp-unified)
5986 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5987 not regard the volume letter as remote filename. (Bug#5447)
5988 (tramp-perl-file-attributes)
5989 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5990 (tramp-vc-registered-read-file-names): Read input as
5991 here-document, otherwise the command could exceed maximum length
5993 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5994 `set-file-selinux-context'.
5995 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5996 backtrace functions.
5997 (tramp-error-with-buffer): Don't show the connection buffer when
5998 we are in completion mode.
5999 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6000 (tramp-handle-file-selinux-context)
6001 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6002 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6004 (with-progress-reporter): New defmacro.
6005 (tramp-debug-outline-regexp): New defconst.
6006 (top, tramp-rfn-eshadow-setup-minibuffer)
6007 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6008 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6009 (tramp-completion-mode-p, tramp-check-for-regexp)
6010 (tramp-open-connection-setup-interactive-shell)
6011 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6012 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6013 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6014 Use `tramp-compat-funcall'.
6015 (tramp-handle-make-symbolic-link): Flush file properties.
6016 (tramp-handle-load, tramp-handle-file-local-copy)
6017 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6018 (tramp-handle-vc-registered, tramp-maybe-send-script)
6019 (tramp-find-shell): Use `with-progress-reporter'.
6020 (tramp-do-file-attributes-with-stat): Add space in format string,
6021 in order to work around a bug in pdksh. Reported by Gilles Pion
6023 (tramp-handle-verify-visited-file-modtime): Do not send a command
6024 when the connection is not established.
6025 (tramp-handle-set-file-times): Simplify the check for utc.
6026 (tramp-handle-directory-files-and-attributes)
6027 (tramp-get-remote-path): Use `copy-tree'.
6028 (tramp-completion-handle-file-name-all-completions): Ensure, that
6029 non remote files are still checked. Oops.
6030 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6031 Handle PRESERVE-SELINUX-CONTEXT.
6032 (tramp-do-copy-or-rename-file): Add progress reporter.
6033 (tramp-do-copy-or-rename-file-directly): Do not use
6034 `tramp-handle-file-remote-p'.
6035 (tramp-do-copy-or-rename-file-out-of-band):
6036 Use `tramp-compat-delete-directory'.
6037 (tramp-do-copy-or-rename-file-out-of-band)
6038 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6039 Use `format-spec-make'.
6040 (tramp-handle-delete-file): Add TRASH arg.
6041 (tramp-handle-dired-uncache): Flush directory cache, not only file
6043 (tramp-handle-expand-file-name)
6044 (tramp-completion-handle-file-name-all-completions)
6045 (tramp-completion-handle-file-name-completion):
6046 Use `tramp-connectable-p'.
6047 (tramp-handle-start-file-process): Set connection property "vec".
6048 Use it, in order to invalidate file caches. Check only for
6049 `remote-tty' process property.
6050 Implement tty setting. (Bug#4604, Bug#6360)
6051 (tramp-file-name-for-operation): Add `call-process-region' and
6052 `set-file-selinux-context'.
6053 (tramp-find-foreign-file-name-handler)
6054 (tramp-advice-make-auto-save-file-name)
6055 (tramp-set-auto-save-file-modes): Remove superfluous check for
6056 `stringp'. This is done inside `tramp-tramp-file-p'.
6057 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6058 operations when we are in completion mode. This gives the user
6059 the chance to correct the file name in the minibuffer.
6060 (tramp-completion-mode-p): Use `non-essential'.
6061 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6062 compatibility: Use `completion-ignore-case' if
6063 `read-file-name-completion-ignore-case' does not exist.
6064 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6065 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6067 (tramp-action-password): Hide password prompt before next run.
6068 (tramp-process-actions): Widen connection buffer for the trace.
6069 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6070 process property. Trace stty settings if `tramp-verbose' >= 9.
6071 Apply workaround for IRIX64 bug. Move argument of last
6072 `tramp-send-command' where it belongs to.
6073 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6074 front of `login-args'.
6075 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6076 on "/dev/null" instead of "/".
6077 (tramp-get-ls-command-with-dired): Make test for "--dired"
6079 (tramp-set-auto-save-file-modes): Adapt version check.
6080 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6081 (tramp-handle-process-file): Call the program in a subshell, in
6082 order to preserve working directory.
6083 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6084 `tramp-remote-sh' from `tramp-methods'.
6085 (tramp-get-ls-command): Make test for "--color=never" stronger.
6086 (tramp-check-for-regexp): Use (forward-line 1).
6088 * net/trampver.el: Update release number.
6090 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6092 * help.el (help-map): Bind `C-h P' to describe-package.
6094 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6096 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6097 when downloading archives.
6098 (describe-package-1): Add package commentary.
6099 (package-install-button-action): New function.
6100 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6101 (package-menu-view-commentary): Function removed.
6102 (package-list-packages-internal): Hide the `package' package too.
6104 2010-08-25 Kenichi Handa <handa@m17n.org>
6106 * language/misc-lang.el ("Arabic"): New language environment.
6107 Setup composition-function-table for Arabic characters.
6109 * international/fontset.el (setup-default-fontset): Fix typo for
6110 arabic OTF spec (fini->fina).
6112 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6114 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6117 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6119 * whitespace.el: Allow cleaning up blanks without blank
6120 visualization (Bug#6651). Adjust help window for
6121 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6122 instead of whitespace-line-column (from EmacsWiki). New version
6124 (whitespace-style): Add new value 'face. Adjust docstring.
6125 (whitespace-space, whitespace-hspace, whitespace-tab):
6126 Adjust foreground property face.
6127 (whitespace-line-column): Adjust docstring and type declaration.
6128 (whitespace-style-value-list, whitespace-toggle-option-alist)
6129 (whitespace-help-text): Adjust const initialization.
6130 (whitespace-toggle-options, global-whitespace-toggle-options):
6132 (whitespace-display-window, whitespace-interactive-char)
6133 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6134 (whitespace-help-scroll): New fun.
6136 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6138 * emacs-lisp/package.el (list-packages): Alias for
6139 package-list-packages.
6141 2010-08-24 Kevin Ryde <user42@zip.com.au>
6143 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6146 * progmodes/ruby-mode.el (ruby): Add defgroup.
6148 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6150 * progmodes/python.el: Add Ipython support (Bug#5390).
6151 (python-shell-prompt-alist)
6152 (python-shell-continuation-prompt-alist): New options.
6153 (python--set-prompt-regexp): New function.
6154 (inferior-python-mode, run-python, python-shell):
6155 Require ansi-color. Use python--set-prompt-regexp to set the comint
6156 prompt based on the Python interpreter.
6157 (python--prompt-regexp): New var.
6158 (python-check-comint-prompt)
6159 (python-comint-output-filter-function): Use it.
6160 (run-python): Use a pipe (Bug#5694).
6162 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6164 * progmodes/python.el (python-send-region): Send a different
6165 Python command if Ipython is in use.
6166 (python-check-version): Use a Python command to find the version.
6168 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6170 * mouse.el (mouse-yank-primary): Avoid setting primary when
6171 deactivating the mark (Bug#6872).
6173 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6175 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6176 with "else" (Bug#3991).
6178 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6180 * net/dbus.el: Accept UNIX domain sockets as bus address.
6181 (top): Don't initialize `dbus-registered-objects-table' anymore,
6182 this is done in dbusbind,c.
6183 (dbus-check-event): Adapt test for bus.
6184 (dbus-return-values-table, dbus-unregister-service)
6185 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6188 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6190 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6192 2010-08-22 Juri Linkov <juri@jurta.org>
6194 * simple.el (read-extended-command): New function with the logic
6195 for `completing-read' moved to Elisp from `execute-extended-command'.
6196 Use `function-called-at-point' in `minibuffer-default-add-function'
6197 to get a command name for M-n (bug#5364, bug#5214).
6199 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6201 * startup.el (command-line-1): Issue warning for ignored arguments
6202 --unibyte, etc (Bug#6886).
6204 2010-08-22 Leo <sdl.web@gmail.com>
6206 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6207 (ignore, bright, dim, keyword): Split list of nicknames before
6208 passing to rcirc-add-or-remove (Bug#6894).
6210 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6212 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6214 2010-08-22 Leo <sdl.web@gmail.com>
6216 Fix buffer-list rename&refresh after killing a buffer in ido.
6217 * ido.el: Revert Óscar's.
6218 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6219 Remember the buffers at head, rather than their name.
6220 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6222 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6223 Stefan Monnier <monnier@iro.umontreal.ca>
6225 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6226 extra backslash added to each line (bug#6890).
6228 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6232 2010-08-22 Glenn Morris <rgm@gnu.org>
6234 * menu-bar.el (menu-bar-games-menu): Add landmark.
6236 2010-08-22 Glenn Morris <rgm@gnu.org>
6238 * align.el (align-regexp): Make group and spacing arguments
6239 use the interactive defaults when non-interactive. (Bug#6698)
6241 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6242 expansion, so as not to need sendmail.
6243 (mail-text-start): Remove declaration.
6244 (rmail-retry-failure): Require sendmail.
6246 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6248 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6250 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6252 * progmodes/flymake.el (flymake-start-syntax-check-process):
6253 Use `start-file-process' in order to let it run also on remote hosts.
6255 2010-08-22 Kenichi Handa <handa@m17n.org>
6257 * files.el: Add `word-wrap' as safe local variable.
6259 2010-08-22 Glenn Morris <rgm@gnu.org>
6261 * woman.el (woman-translate): Case matters. (Bug#6849)
6263 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6265 * simple.el (kill-region): Doc fix (Bug#6787).
6267 2010-08-22 Glenn Morris <rgm@gnu.org>
6269 * calendar/diary-lib.el (diary-header-line-format):
6270 Fit it to the window, not the frame.
6272 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6274 * subr.el (ignore-errors): Add debug declaration.
6276 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6278 * whitespace.el (whitespace-color-off): Remove post-command-hook
6281 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6285 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6287 * cus-edit.el (custom-group-value-create): Add extra newline
6288 before end line (Bug#6876).
6290 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6292 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6293 when extending it. Before killing on the second click, check if
6294 the buffer is the correct one. Doc fix.
6295 (mouse-secondary-save-then-kill): Allow usage without first
6296 calling mouse-start-secondary, by defaulting to point. Don't save
6297 an empty secondary selection. Doc fix.
6299 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6301 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6302 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6304 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6305 Adjust initialization.
6306 (whitespace-bob-marker, whitespace-eob-marker)
6307 (whitespace-buffer-changed): New vars.
6308 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6309 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6310 (whitespace-post-command-hook, whitespace-display-char-on):
6312 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6313 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6315 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6317 * files.el (locate-file-completion-table): Only list the .el and .elc
6318 extensions if there's no other choice (bug#5955).
6320 * facemenu.el (facemenu-self-insert-data): New var.
6321 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6323 (facemenu-add-face): Use them.
6325 * simple.el (blink-matching-open): Obey forward-sexp-function.
6327 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6329 * simple.el (prog-mode-map): New var.
6330 (prog-indent-sexp): New command.
6332 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6334 * progmodes/prolog.el (smie): Require.
6336 * emacs-lisp/smie.el (smie-default-backward-token)
6337 (smie-default-forward-token): Strip properties.
6338 (smie-next-sexp): Be more careful with associative operators.
6339 (smie-forward-sexp-command): Generalize.
6340 (smie-backward-sexp-command): Simplify.
6341 (smie-closer-alist): New var.
6342 (smie-close-block): New command.
6343 (smie-indent-debug-log): New var.
6344 (smie-indent-offset-rule): Add a few more cases.
6345 (smie-indent-column): New function.
6346 (smie-indent-after-keyword): Use it.
6347 (smie-indent-keyword): Use it.
6348 Fix up the opener code's point position.
6349 (smie-indent-comment): Only applies at BOL.
6350 (smie-indent-debug): New command.
6352 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6353 declarations that are useful before running the macro.
6355 2010-08-18 Joakim Verona <joakim@verona.se>
6357 * image.el (imagemagick-types-inhibit): New variable.
6358 (imagemagick-register-types): New function.
6359 * image-mode.el (image-transform-properties): New function.
6360 (image-transform-set-scale, image-transform-fit-to-height)
6361 (image-transform-set-rotation, image-transform-set-resize)
6362 (image-transform-fit-to-width, image-transform-fit-to-height):
6364 (image-toggle-display-image): Support image transforms.
6366 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6368 * image.el (create-animated-image): Don't add heuristic mask to image
6371 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6373 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6374 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6376 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6380 Font-lock '...' strings, plus various simplifications and fixes.
6381 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6382 (octave-font-lock-close-quotes): New function.
6383 (octave-font-lock-syntactic-keywords): New var.
6384 (octave-mode): Use it. Set beginning-of-defun-function.
6385 (octave-mode-map): Don't override the <foo>-defun commands.
6386 (octave-mode-menu): Pass it directly to easy-menu-define;
6387 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6388 (octave-block-match-alist): Fix up last change so that
6389 octave-close-block uses the more specific keyword.
6390 (info-lookup-mode): Silence byte-compiler.
6391 (octave-beginning-of-defun): Not interactive any more.
6393 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6394 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6395 (octave-completion-at-point-function): Make sure point is within
6397 (octave-reindent-then-newline-and-indent):
6398 Use reindent-then-newline-and-indent.
6399 (octave-add-octave-menu): Remove.
6401 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6403 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6404 (report-emacs-bug-can-use-xdg-email): New functions.
6405 (report-emacs-bug): Set can-xdg-email to result of
6406 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6407 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6410 * net/browse-url.el (browse-url-default-browser): Add cond
6411 for browse-url-xdg-open.
6412 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6414 2010-08-17 Glenn Morris <rgm@gnu.org>
6416 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6417 (c-fontify-recorded-types-and-refs): Define for compiler.
6418 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6421 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6424 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6426 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6428 (tramp-handle-process-file): Call the program in a subshell, in
6429 order to preserve working directory.
6430 (tramp-action-password): Hide password prompt before next run.
6431 (tramp-process-actions): Widen connection buffer for the trace.
6433 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6435 * net/rcirc.el (rcirc-log-process-buffers): New option.
6436 (rcirc-print): Use it.
6437 (rcirc-generate-log-filename): New function.
6438 (rcirc-log-filename-function): Change default to
6439 rcirc-generate-log-filename (Bug#6828).
6441 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6443 * simple.el (deactivate-mark): If select-active-regions is `only',
6444 only set selection for temporarily active regions.
6446 * cus-start.el: Change defcustom for select-active-regions.
6448 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6450 * mouse.el (mouse--drag-set-mark-and-point): New function.
6451 (mouse-drag-track): Use LOCATION arg to push-mark.
6452 Use mouse--drag-set-mark-and-point to take click-count into
6453 consideration when updating point and mark (Bug#6840).
6455 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6458 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6460 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6462 * font-lock.el (lisp-font-lock-keywords-2):
6463 Add combine-after-change-calls, condition-case-no-debug,
6464 with-demoted-errors, and with-silent-modifications (Bug#6025).
6466 2010-08-14 Kevin Ryde <user42@zip.com.au>
6468 * emacs-lisp/copyright.el (copyright-update-year)
6469 (copyright-update): Temporary switch-to-buffer to ensure the
6470 buffer change being queried is visible (Bug#5394).
6472 2010-08-14 Tom Tromey <tromey@redhat.com>
6474 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6477 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6479 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6482 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6484 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6485 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6486 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6487 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6488 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6489 Call menu-bar-set-tool-bar-position.
6491 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6494 comment style (bug#6834).
6495 * progmodes/scheme.el (scheme-mode-syntax-table):
6496 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6497 "b" flag in "' 14b" syntax.
6499 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6500 for (un)commenting the region and performing completion.
6501 (octave-mode-menu): Use standard commands for help and completion.
6502 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6503 (octave-mode): Use define-derived-mode.
6504 Set completion-at-point-functions and don't set columns.
6505 Don't disable adaptive-fill-regexp.
6506 (octave-describe-major-mode, octave-comment-region)
6507 (octave-uncomment-region, octave-comment-indent)
6508 (octave-indent-for-comment): Remove.
6509 (octave-indent-calculate): Rename from calculate-octave-indent.
6510 (octave-indent-line, octave-fill-paragraph): Update caller.
6511 (octave-initialize-completions): No need to make an alist.
6512 (octave-completion-at-point-function): New function.
6513 (octave-complete-symbol): Use it.
6514 (octave-insert-defun): Use define-skeleton.
6516 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6517 (octave-mode-map): Use comment-dwim (bug#6829).
6519 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6521 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6522 indentation of inserted comment.
6524 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6526 * faces.el (region): Add type gtk that uses gtk colors.
6528 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6529 Handle theme-name change.
6531 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6533 * progmodes/sql.el: Version 2.5
6534 (sql-product-alist): Add :prompt-cont-regexp property for several
6536 (sql-prompt-cont-regexp): New variable.
6537 (sql-output-newline-count, sql-output-by-send):
6538 New variables. Record number of newlines in input text.
6539 (sql-send-string): Handle multiple filters and count newlines.
6540 (sql-send-magic-terminator): Count terminator newline.
6541 (sql-interactive-remove-continuation-prompt): Filters output to
6542 remove continuation prompts; one for each newline.
6543 (sql-interactive-mode): Set up new variables, prompt regexp and
6545 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6546 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6548 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6550 * emacs-lisp/pcase.el: New file.
6552 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6554 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6555 as here-document, otherwise the command could exceed maximum
6556 length of command line.
6557 (tramp-handle-vc-registered): Call script accordingly.
6558 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6560 2010-08-10 Kenichi Handa <handa@m17n.org>
6562 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6565 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6567 * emacs-lisp/package.el (package-version-split)
6568 (package--version-first-nonzero, package-version-compare):
6570 (package-directory-list, package-load-all-descriptors)
6571 (package--built-in, package-activate, define-package)
6572 (package-installed-p, package-compute-transaction)
6573 (package-read-all-archive-contents)
6574 (package--add-to-archive-contents, package-buffer-info)
6575 (package-tar-file-info, package-list-packages-internal):
6576 Use version-to-list and version-list-*.
6578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6579 Use version-to-list.
6580 (package-upload-buffer-internal): Use version-list-<=.
6582 2010-08-09 Kenichi Handa <handa@m17n.org>
6584 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6587 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6589 * tutorial.el (tutorial--default-keys): C-d is now bound to
6590 delete-forward-char (Bug#6826).
6592 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6593 for `double' value of mouse-1-click-follows-link (Bug#6807).
6595 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6597 * replace.el (replace-highlight): Bind isearch-forward and
6598 isearch-error, ensuring that highlighting is updated if the user
6599 switches the search direction (Bug#6808).
6601 * isearch.el (isearch-lazy-highlight-forward): New var.
6602 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6603 (isearch-lazy-highlight-update): Use it.
6605 2010-08-08 Kenichi Handa <handa@m17n.org>
6607 * international/mule.el (define-charset): Store NAME as :base property.
6608 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6609 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6610 current priority. Force using the designation of the specific
6611 charset by adding `charset' text property. Improve the whole algorithm.
6613 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6615 * emulation/pc-select.el (pc-selection-mode-hook)
6616 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6617 (pc-selection-mode): Fix typos in docstrings.
6619 2010-08-08 Kenichi Handa <handa@m17n.org>
6621 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6622 ctext-non-standard-encodings-alist here.
6624 * international/mule.el (ctext-non-standard-encodings-alist):
6625 Add "koi8-r" and "microsoft-cp1251".
6626 (ctext-standard-encodings): New variable.
6627 (ctext-non-standard-encodings-table): List only elements for
6628 non-standard encodings.
6629 (ctext-pre-write-conversion): Adjust for the above change.
6630 Check ctext-standard-encodings.
6632 * international/mule-conf.el (compound-text): Doc fix.
6633 (ctext-no-compositions): Doc fix.
6634 (compound-text-with-extensions): Doc fix.
6636 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6638 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6640 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6642 * progmodes/which-func.el (which-func-format): Split help-echo text
6643 into lines, like other mode-line tooltips.
6645 * server.el (server-start): When using TCP sockets, force IPv4
6646 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6648 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6652 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6654 * term.el (term-delimiter-argument-list): Reflow docstring.
6655 (term-read-input-ring, term-write-input-ring, term-send-input)
6656 (term-bol, term-erase-in-display, serial-supported-or-barf):
6657 Fix typos in docstrings.
6659 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6661 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6663 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6665 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6667 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6669 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6670 Fix typo in docstring (bug#6747).
6672 2010-08-08 Leo <sdl.web@gmail.com>
6674 * eshell/esh-io.el (eshell-get-target): Better detection of
6675 read-only file (Bug#6762).
6677 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6679 * align.el (align-default-spacing): Doc fix.
6680 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6682 2010-08-08 Stephen Peters <speters@itasoftware.com>
6684 * calendar/icalendar.el
6685 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6686 (icalendar--get-weekday-numbers): New.
6687 (icalendar--convert-recurring-to-diary): Handle multiple byday
6688 values in weekly rules. (Bug#6766)
6690 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6692 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6693 (icalendar--create-uid, icalendar-export-region)
6694 (icalendar--parse-summary-and-rest): Code formatting.
6696 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6698 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6699 to italicize headers.
6700 (calc-highlight-selections-with-faces): New variable.
6701 (calc-selected-face, calc-nonselected-face): New faces.
6703 * calc/calccomp.el (math-comp-highlight-string): Use
6704 `calc-highlight-selections-with-faces' to determine how to highlight
6707 * calc/calc-sel.el (calc-show-selections): Change message to when
6708 using faces to highlight selections.
6710 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6712 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6713 Add SQLite 3 keywords, functions and datatypes.
6714 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6717 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6719 * simple.el (select-active-regions): Move to keyboard.c.
6720 (deactivate-mark): Used saved-region-selection.
6721 (select-active-region): Function removed.
6722 (activate-mark, set-mark, push-mark-command)
6723 (handle-shift-selection): Don't call it.
6724 (keyboard-quit): Avoid adding the region to the window selection.
6726 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6727 select-active-regions implementation.
6728 (mouse-yank-at-click): Doc fix.
6730 * cus-start.el: Add custom declaration for select-active-regions.
6732 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6734 * simple.el (delete-forward-char): Doc fix.
6736 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6737 after reading the tutorial.
6739 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6741 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6742 Fix for the case that a C style comment has its delimiters alone on
6743 their respective lines.
6745 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6747 * net/tramp.el (tramp-handle-start-file-process): Set connection
6749 (tramp-process-sentinel): Use it for flushing the cache.
6750 We cannot do it via the process buffer, the buffer could be deleted
6751 already when running the sentinel.
6753 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6755 * comint.el (comint-mode): Make directory tracking functions
6756 functional on remote files. (Bug#6764)
6758 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6760 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6762 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6764 * emacs-lisp/find-gc.el (find-gc-source-files):
6765 Rename unexec.c => unexcoff.c.
6767 * emacs-lisp/authors.el (authors-fixed-entries):
6768 Rename unexec.c => unexcoff.c.
6770 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6772 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6773 cache, not only file cache.
6774 (tramp-process-sentinel): New defun.
6775 (tramp-handle-start-file-process): Use it, in order to invalidate
6778 2010-08-03 Leo <sdl.web@gmail.com>
6780 * server.el (server-start): Simplify loop.
6782 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * frame.el (screen-height, screen-width, set-screen-width)
6785 (set-screen-height): Remove ancient compatibility aliases.
6787 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6788 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6790 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6791 that change current buffer.
6793 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6795 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6796 beginning of the string. Use `string-match-p'. (Bug#6765)
6798 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6800 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6802 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6804 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6805 (package--builtins): Tweak descriptions.
6806 (package-print-package): Upcase descriptions if necessary.
6807 Show all built-in packages in font-lock-builtin-face.
6808 (package-list-packages-internal): Omit "emacs" package.
6809 Show status of built-in packages as "built-in".
6811 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6813 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6814 before killing to preserve the primary selection (Bug#6701).
6816 * term/x-win.el (x-select-text): Doc fix.
6818 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6820 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6821 (objc-font-lock-extra-types):
6822 * progmodes/cc-mode.el (c-basic-common-init):
6823 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6824 (c++-make-template-syntax-table)
6825 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6826 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6827 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6828 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6829 * progmodes/cc-fonts.el (c-make-inverse-face)
6830 (c-basic-matchers-after):
6831 * progmodes/cc-engine.el (c-forward-keyword-clause)
6832 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6833 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6834 (c-guess-continued-construct, c-guess-basic-syntax):
6835 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6836 The above functions were modified or created.
6838 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6840 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6842 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6844 * files.el (bidi-paragraph-direction): Define safe local values.
6846 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6847 language-info-alist. Remove outdated FIXME in a comment.
6849 2010-07-31 Alan Mackenzie <acm@muc.de>
6851 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6852 Auto-fill broken in C/C++ modes.
6854 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6856 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6857 (menu-bar-showhide-tool-bar-menu-customize-disable)
6858 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6859 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6860 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6861 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6862 make a menu for Options => toolbar that can move it.
6864 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6866 * emacs-lisp/package-x.el (package--make-rss-entry):
6867 (package-maint-add-news-item, package--update-news)
6868 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6870 * emacs-lisp/package.el (package-archive-url): Rename from
6872 (package-install): Doc fix.
6873 (package-download-single, package-download-tar, package-install)
6874 (package-menu-view-commentary): Callers changed.
6876 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6878 * net/tramp.el (tramp-handle-start-file-process): Check only for
6879 `remote-tty' process property.
6880 (tramp-open-shell): Don't check for tty.
6881 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6884 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6887 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6889 * emacs-lisp/package.el (package-load-list, package-archives)
6890 (package-archive-contents, package-user-dir)
6891 (package-directory-list, package--builtins, package-alist)
6892 (package-activated-list, package-obsolete-alist): Mark as risky.
6894 2010-07-28 Phil Hagelberg <phil@evri.com>
6896 Add support for non-default package repositories.
6897 * emacs-lisp/package.el (package-archive-base): Var deleted.
6898 (package-archives): New variable.
6899 (package-archive-contents): Doc fix.
6900 (package-load-descriptor): Do nothing if descriptor file is missing.
6901 (package--write-file-no-coding): New function.
6902 (package-unpack-single): Use it.
6903 (package-archive-id): New function.
6904 (package-download-single, package-download-tar)
6905 (package-menu-view-commentary): Use it.
6906 (package-installed-p): Make second argument optional.
6907 (package-read-all-archive-contents): New function.
6908 (package-initialize): Use it.
6909 (package-read-archive-contents): Add ARCHIVE argument.
6910 (package--add-to-archive-contents): New function.
6911 (package-install): Don't call package-read-archive-contents.
6912 (package--download-one-archive): Store archive file in a
6913 subdirectory of package-user-dir.
6914 (package-menu-execute): Remove spurious line movement.
6916 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6918 * cus-start.el (tool-bar-style): Add text-image-horiz.
6920 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6922 * progmodes/gud.el (gud-common-init): Check for remoteness of
6923 `file', and not of `default-directory'.
6925 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6927 * net/tramp.el (tramp-methods): Move hostname to the end in all
6928 ssh `tramp-login-args'.
6929 (tramp-verbose): Describe verbose level 9.
6930 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6931 (tramp-open-connection-setup-interactive-shell): Trace stty
6932 settings if `tramp-verbose' >= 9.
6933 (tramp-handle-start-file-process): Implement tty setting.
6934 (Bug#4604, Bug#6360)
6936 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6937 `tramp-verbose' to 9.
6939 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6941 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6942 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6943 Remove references to package `lisp-re' (bug#4369).
6945 2010-07-27 Tom Tromey <tromey@redhat.com>
6947 * progmodes/js.el (js-mode):
6948 * progmodes/make-mode.el (makefile-mode):
6949 * progmodes/simula.el (simula-mode):
6950 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6952 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6954 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6956 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6957 (display-time-world-buffer-name, display-time-world-mode-map):
6958 Fix typos in docstrings.
6960 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6962 * image-mode.el (image-display-size): New function.
6963 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6964 (image-mode-fit-frame): Use it (Bug#6639).
6966 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6968 * dired.el (dired-buffers-for-dir): Handle list values of
6969 dired-directory (Bug#6636).
6971 2010-07-26 Sam Steingold <sds@gnu.org>
6973 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6974 Do not call `x-get-selection' the second time, reuse the value.
6976 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6978 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6979 which consist of control chars only. Suggested by Richard Stallman.
6981 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6983 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6984 exists before passing an error to find-file-not-found-functions
6987 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6989 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6990 Remove leading nil element, adjust values.
6991 (tetris-shapes, tetris-shape-scores):
6992 Change representation of shapes and remove some redundancy.
6993 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6994 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6995 Adjust for working with new representation of shapes.
6996 (tetris-shape-rotations): New function.
6997 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6998 (tetris-rotate-prev, tetris-rotate-next):
6999 Adjust for working with the new version of tetris-test-shape.
7001 2010-07-23 Markus Triska <markus.triska@gmx.at>
7003 * progmodes/ps-mode.el: Use comint (bug#5954).
7004 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7005 (ps-mode-other-newline): Simplify.
7006 (ps-run-mode): Derive from comint-mode instead of
7007 fundamental-mode, yielding input history etc.
7008 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7009 (ps-run-send-string): Adapt for comint-mode.
7010 (ps-run-newline): Remove now unneeded function.
7012 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7014 * net/tramp.el (tramp-methods): Move hostname to the end in all
7015 plink `tramp-login-args'.
7017 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7019 * net/tramp.el (tramp-open-shell): New defun.
7020 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7023 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7025 * net/tramp.el (tramp-file-name-regexp-unified)
7026 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7027 not regard the volume letter as remote filename. (Bug#5447)
7029 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7031 * custom.el (custom-declare-variable): Give a clearer error message
7032 when the docstring is missing (bug#6476).
7034 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7036 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7037 (sql-login-params): New widget definition.
7038 (sql-oracle-login-params, sql-mysql-login-params)
7039 (sql-solid-login-params, sql-sybase-login-params)
7040 (sql-informix-login-params, sql-ingres-login-params)
7041 (sql-ms-login-params, sql-postgres-login-params)
7042 (sql-interbase-login-params, sql-db2-login-params)
7043 (sql-linter-login-params): Use it.
7044 (sql-sqlite-login-params): Use it; Define "database" parameter as
7046 (sql-sqlite-program): Change to "sqlite3".
7047 (sql-comint-sqlite): Make sure database name is complete.
7048 (sql-for-each-login): New function.
7049 (sql-connect, sql-save-connection): Use it.
7050 (sql-get-login-ext): New function.
7051 (sql-get-login): Use it.
7052 (sql-make-alternate-buffer-name): Handle :file parameters.
7054 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7056 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7057 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7059 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7061 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7063 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7065 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7067 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp.el (tramp-get-ls-command)
7070 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7073 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7075 * progmodes/sql.el: Version 2.3.
7076 (sql-connection-alist): Change keys from symbols to strings;
7077 enhanced the widget definition.
7078 (sql-mode-menu): Add submenu to select connections.
7079 (sql-interactive-mode-menu): Add "Save Connection" item.
7080 (sql-add-product): Fix menu item.
7081 (sql-get-product-feature): Improved error handling.
7082 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7083 (sql-make-alternate-buffer-name): Simplified.
7084 (sql-product-interactive): Handle missing product.
7085 (sql-connect): Support string keys, minor improvements.
7086 (sql-save-connection): New function.
7087 (sql-connection-menu-filter): New function.
7089 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7091 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7092 (tramp-open-connection-setup-interactive-shell):
7093 Apply workaround for IRIX64 bug. Move argument of last
7094 `tramp-send-command' where it belongs to.
7096 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7098 * net/tramp.el (tramp-perl-file-attributes)
7099 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7100 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7101 front of `login-args'.
7103 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7105 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7106 Set `show-trailing-whitespace' to nil.
7107 (display-time-world-display): Simplify.
7109 2010-07-18 Alan Mackenzie <acm@muc.de>
7111 Enhance `c-file-style' in file/directory local variables.
7112 * progmodes/cc-mode.el (c-count-cfss): New function.
7113 (c-before-hack-hook): Call `c-set-style' differently according to
7114 whether c-file-style was set in file or directory local
7117 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7119 * progmodes/sql.el: Version 2.2.
7120 (sql-product, sql-user, sql-database, sql-server, sql-port):
7121 Use defcustom :safe keyword rather than putting safe-local-variable
7123 (sql-password): Use defcustom :risky keyword rather than putting
7124 risky-local-variable property.
7125 (sql-oracle-login-params, sql-sqlite-login-params)
7126 (sql-solid-login-params, sql-sybase-login-params)
7127 (sql-informix-login-params, sql-ingres-login-params)
7128 (sql-ms-login-params, sql-postgres-login-params)
7129 (sql-interbase-login-params, sql-db2-login-params)
7130 (sql-linter-login-params): Add `port' option.
7131 (sql-get-product-feature): Add NO-INDIRECT parameter.
7132 (sql-comint-oracle, sql-comint-sybase)
7133 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7134 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7135 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7136 (sql-comint-linter): Rename sql-connect-* functions to
7138 (sql-product-alist, sql-mode-menu): Rename as above and
7139 :sqli-connect-func to :sqli-comint-func.
7140 (sql-connection): New variable.
7141 (sql-interactive-mode): Set it.
7142 (sql-connection-alist): New variable.
7143 (sql-connect): New function.
7144 (sql--alt-buffer-part, sql--alt-if-not-empty)
7145 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7147 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7149 * image-mode.el (image-bookmark-make-record): Do not set context
7150 in an image (Bug#6650).
7152 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7154 * simple.el (select-active-region): New function.
7155 (push-mark-command, set-mark, activate-mark)
7156 (handle-shift-selection): Use it.
7157 (deactivate-mark): Don't check for size of region.
7159 * mouse.el (mouse-drag-track): Use select-active-region.
7161 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7163 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7166 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7168 * term/x-win.el (x-select-enable-primary): Change default to nil.
7169 (x-select-enable-clipboard): Add :version keyword.
7171 * mouse.el (mouse-drag-copy-region):
7172 * simple.el (select-active-regions): Likewise.
7174 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7176 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7177 (vc-coding-system-for-diff): Use it to decide whether to inherit
7178 from the file the EOL format for reading the diffs of that file.
7181 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7183 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7184 unibyte, so compressed attachments are not compressed again.
7186 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7188 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7189 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7190 (tramp-find-shell): Simplify setting connection property.
7191 (tramp-get-ls-command): Make test for "--color=never" stronger.
7193 2010-07-15 Simon South <ssouth@member.fsf.org>
7195 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7196 blocks within record declarations (i.e. variant parts) correctly.
7198 2010-07-15 Simon South <ssouth@member.fsf.org>
7200 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7201 over literal tokens when parsing so newlines aren't "absorbed" by
7202 single-line comments. Corrects the indentation of case blocks
7203 that have a comment on the first line.
7205 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7207 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7208 by Drew Adams (Bug#5504).
7210 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7212 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7213 now that Unicode is used (Bug#6594).
7215 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7217 * term/x-win.el (x-select-enable-clipboard): Default to t.
7218 (x-initialize-window-system): Don't overwrite Paste menu item.
7220 * simple.el (select-active-regions): Default to t.
7221 (push-mark-command): Don't overwrite primary with empty string.
7223 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7224 (mouse-drag-copy-region): Default to nil.
7226 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7227 Cut/Copy/Paste menu bar items.
7229 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7231 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7232 Patch applied by Karl Fogel.
7234 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7235 and `bookmark-current-buffer' if they have been already set in
7236 another buffer (e.g gnus-art).
7238 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7239 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7241 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7243 * bookmark.el (bookmark-make-record-default): Allow unneeded
7244 information to be omitted from the record.
7246 Adjust declarations and calls:
7248 * info.el (bookmark-make-record-default): Adjust declaration.
7249 (Info-bookmark-make-record): Adjust call.
7251 * woman.el (bookmark-make-record-default): Adjust declaration.
7252 (woman-bookmark-make-record): Adjust call.
7254 * man.el (bookmark-make-record-default): Adjust declaration.
7255 (Man-bookmark-make-record): Adjust call.
7257 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7259 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7261 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7263 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7264 This is also from Thierry Volpiatto's patch in bug #6444. However,
7265 because it was extraneous to the functional change in that patch,
7266 and causes a re-indendation, I am committing it separately.
7268 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7270 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7271 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7272 Patch applied by Karl Fogel (Bug#6444).
7274 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7276 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7278 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7280 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7281 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7282 (ns-alternatives-map): Change S-tab binding to backtab
7285 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7288 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7290 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7293 * language/tv-util.el (tai-viet-re): Remove format.
7295 2010-07-12 Kenichi Handa <handa@m17n.org>
7297 * language/hebrew.el: Remove no-byte-compile declaration.
7298 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7299 composition-function-table for 3-character looking back.
7300 (hebrew-font-get-precomposed): New function.
7301 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7303 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7305 * mouse.el (mouse-drag-track): Handle select-active-regions
7308 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7310 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7311 empty argument to gvfs-copy.
7313 2010-07-10 Glenn Morris <rgm@gnu.org>
7315 * calendar/calendar.el (calendar-week-end-day): New function.
7316 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7317 Respect calendar-week-start-day. (Bug#6606)
7318 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7319 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7320 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7321 respect calendar-week-start-day.
7323 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7325 * simple.el (use-region-p): Doc fix (Bug#6607).
7327 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7329 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7330 Add regexps for cucumber and ruby.
7332 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7334 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7335 (epa-file-insert-file-contents): Hack to prevent
7336 find-file from opening empty buffer when decryption failed
7339 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7341 * textmodes/ispell.el (ispell-alternate-dictionary):
7342 Use file-readable-p.
7343 Return nil if no word-list is found at default locations.
7344 (ispell-complete-word-dict): Default to nil.
7345 (ispell-command-loop): Use 'word-list' when using lookup-words.
7346 (lookup-words): Use ispell-complete-word-dict or
7347 ispell-alternate-dictionary. Check for word-list availability
7348 and handle errors if needed with better messages (Bug#6539).
7349 (ispell-complete-word): Use ispell-complete-word-dict or
7350 ispell-alternate-dictionary.
7352 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7354 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7355 builtins (BufferError, BytesWarning, WindowsError; callables
7356 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7358 2010-07-07 Glenn Morris <rgm@gnu.org>
7360 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7361 (zone-shift-left): Ignore intangibility, and any errors from
7363 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7364 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7365 deleting, and copying text properties.
7366 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7367 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7368 to point-max is hard.
7369 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7370 (zone-fill-out-screen): Ignore intangibility.
7372 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7374 * menu-bar.el (menu-bar-mode):
7375 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7378 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7379 word/line selection (Bug#6565).
7381 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7383 * net/dbus.el (dbus-send-signal): Declare function.
7385 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7387 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7388 (dbus-register-property): New optional argument EMITS-SIGNAL.
7389 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7391 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7393 * mouse.el (mouse-drag-overlay): Variable deleted.
7394 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7395 (mouse--remap-link-click-p): New function.
7396 (mouse-drag-track): Handle dragging by using temporary Transient
7397 Mark mode, instead of a special overlay.
7398 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7401 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7404 2010-07-02 Juri Linkov <juri@jurta.org>
7406 * autoinsert.el (auto-insert-alist): Fix readability
7407 by using dotted pair notation for lambda.
7409 2010-07-02 Juri Linkov <juri@jurta.org>
7411 * faces.el (read-face-name): Rename arg `string-describing-default'
7412 to `default'. Doc fix. Display the default value in quotes
7413 in the prompt. With empty input, return the `default' arg,
7414 unless the default value is a string (in which case return nil).
7415 (describe-face): Replace the string `default' arg of `read-face-name'
7416 with the symbol `default'.
7418 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7420 * emulation/viper-cmd.el (viper-delete-backward-char)
7421 (viper-del-backward-char-in-insert)
7422 (viper-del-backward-char-in-replace, viper-change)
7423 (viper-backward-indent): Replace delete-backward-char with
7424 delete-char (Bug#6552).
7426 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7428 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7430 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7432 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7433 argument passed to frame-creation-function (Bug#5378).
7435 * faces.el (x-handle-named-frame-geometry)
7436 (x-handle-reverse-video, x-create-frame-with-faces)
7437 (face-set-after-frame-default, tty-create-frame-with-faces):
7438 Don't separately consult default-frame-alist. It is now passed as the
7441 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7443 * startup.el (command-line): Don't call tool-bar-setup in a
7446 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7448 * ruler-mode.el (ruler--save-header-line-format): New fun.
7449 (ruler-mode): Use it as a setter function, so as not to overwrite
7450 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7452 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7454 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7455 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7456 (vc-log-outgoing): Use it.
7457 (vc-diff-internal): Set diff-vc-backend.
7459 * vc/diff-mode.el (diff-vc-backend): New var.
7461 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7463 * dynamic-setting.el (font-setting-change-default-font):
7464 Remove call to message.
7466 2010-06-28 Kenichi Handa <handa@m17n.org>
7468 * international/quail.el (quail-insert-kbd-layout): Fix the
7469 showing of untranslated characters.
7471 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7473 * simple.el (delete-active-region): New option.
7474 (delete-backward-char): Implement in Lisp.
7475 (delete-forward-char): New command.
7477 * mouse.el (mouse-region-delete-keys): Deleted.
7478 (mouse-show-mark): Simplify.
7480 * bindings.el (global-map): Bind delete and DEL, the former to
7481 delete-forward-char.
7483 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7485 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7486 (ruby-mode): Bind indent-line-function (Bug#5119).
7488 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7490 * startup.el (command-line): Recognize "0" X resource value.
7492 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7494 * startup.el (command-line): Use X resources to set the value of
7495 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7497 * menu-bar.el (menu-bar-mode):
7498 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7499 Set init-value to t.
7501 * frame.el (frame-notice-user-settings): Don't change
7502 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7503 vice versa (Bug#2249).
7505 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7507 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7509 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7511 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7512 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7514 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7515 default directories are expanded (Bug#6143).
7517 2010-06-24 Juri Linkov <juri@jurta.org>
7519 * minibuffer.el (completions-format): Change default from nil to
7520 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7522 2010-06-24 Juri Linkov <juri@jurta.org>
7524 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7525 buffer-locally to lambda that re-runs the vc diff command.
7528 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7530 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7531 echo area is in use (Bug#3412).
7533 2010-06-22 Glenn Morris <rgm@gnu.org>
7535 * textmodes/texinfmt.el (texinfo-format-region)
7536 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7537 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7538 (texinfo-format-option, texinfo-noindent):
7539 Use line-beginning-position and line-end-position.
7541 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7542 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7543 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7546 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7548 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7549 forward-line fallout.
7551 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7553 * mouse.el (mouse-appearance-menu): Add docstring.
7555 * help.el (describe-key): Print up-event using key-description.
7557 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7559 * net/zeroconf.el (zeroconf-resolve-service)
7560 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7561 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7563 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7565 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7567 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7569 Avoid displaying files with a nil state in vc-dir.
7570 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7571 cases that cause insertion.
7572 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7575 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7577 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7579 2010-06-29 Leo <sdl.web@gmail.com>
7581 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7583 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7585 * generic-x.el (bat-generic-mode): Fix regexp for command line
7586 switches (Bug#5719).
7588 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7590 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7591 of nconc to avoid pure storage error (Bug#6239).
7593 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7595 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7596 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7597 bindings of bookmark-automatically-show-annotations (Bug#6515).
7599 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7601 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7602 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7604 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7606 * comint.el (make-comint, make-comint-in-buffer): Mention return
7607 value in the docstrings. (Bug#6498)
7609 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7611 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7612 since it is not present when using some non-default switches.
7614 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7616 * simple.el (compose-mail): Fix doc string to refer to
7617 `compose-mail-user-agent-warnings', instead of to the
7618 nonexistent `compose-mail-check-user-agent'.
7620 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7622 Fix an indentation bug:
7624 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7625 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7628 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7629 (c-clear->-pair-props-if-match-before): now return t when they've
7630 cleared properties, nil otherwise.
7631 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7632 by taking account of the existing value.
7634 * progmodes/cc-defs.el
7635 (c-clear-char-property-with-value-function): Fix this to clear the
7636 property rather than overwriting it with nil.
7638 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7640 * emacs-lisp/package.el (package-print-package): Add link to
7641 package description via describe-package.
7642 (describe-package-1): List package requirements. Add button to
7643 perform installation.
7644 (package-menu-describe-package): New command.
7646 * help-mode.el (help-package): New button type.
7648 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7650 * emacs-lisp/package.el: Move package-list-packages binding to
7652 (describe-package, describe-package-1, package--dir): New funs.
7653 (package-activate-1): Use package--dir.
7655 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7657 * help-mode.el (help-package-def): New button type.
7659 * menu-bar.el: Move package-list-packages binding here from
7662 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7664 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7666 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * emacs-lisp/edebug.el (edebug-read-list):
7669 Phase out old-style backquotes.
7671 2010-06-17 Juri Linkov <juri@jurta.org>
7673 * help-mode.el (help-mode): Set buffer-local variable
7674 revert-buffer-function to help-mode-revert-buffer.
7675 (help-mode-revert-buffer): New function.
7677 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7678 before popping to "*info*" (like in other Info functions).
7679 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7680 old-history-forward. Pop to old-buffer-name or "*info*" to
7681 recreate the killed buffer. Set Info-history-forward from
7682 old-history-forward.
7683 (Info-breadcrumbs-depth): Add :group and :version.
7685 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7687 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7689 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7691 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7692 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7694 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7696 * emacs-lisp/package.el (package-menu-mode-map):
7697 Move initialization into declaration.
7699 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7701 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7703 * emacs-lisp/package.el (package-archive-base): Point to
7705 (package-enable, package-load-list): New defcustoms.
7706 (package-user-dir, package-directory-list): Turn into defcustoms.
7707 Don't include package-user-dir in package-directory-list.
7708 (package--builtins-base): Don't include Emacs as a "package".
7709 (package-subdirectory-regexp): New var.
7710 (package-load-all-descriptors, package-compute-transaction)
7711 (package-download-transaction): Obey package-load-list.
7712 (package-activate-1): Rename from package-do-activate.
7713 (package-list-packages-internal): Check package-load-list.
7714 (package-load-descriptor, package-generate-autoloads)
7715 (package-unpack, package-unpack-single)
7716 (package--read-archive-file, package-delete):
7717 Use expand-file-name.
7719 * emacs-lisp/package-x.el: New file. Package uploading
7720 functionality split out from package.el.
7722 * startup.el (command-line): Load packages after reading init file.
7724 2010-06-17 Tom Tromey <tromey@redhat.com>
7726 * emacs-lisp/package.el: New file.
7728 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7730 Fix vc-annotate for renamed files when using Git.
7731 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7732 ls-files. Doe not pass the object as a file name to cat-file, it
7734 (vc-git-annotate-command): Pass the file name using -- to avoid
7735 ambiguity with the revision.
7736 (vc-git-previous-revision): Pass a relative file name.
7738 2010-06-22 Glenn Morris <rgm@gnu.org>
7740 * progmodes/js.el (js-mode-map): Use standard capitalization and
7741 ellipses for menu entries.
7743 * wid-edit.el (widget-complete): Doc fix.
7745 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7747 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7749 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7751 Fix annotating other revisions for renamed files in vc-annotate.
7752 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7753 VC backend. Use it when non-nil.
7754 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7757 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7758 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7759 Do not pass the file name to the 'previous-revision call when we
7760 don't want a file diff. (Bug#6489)
7762 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7764 Fix finding revisions for renamed files in vc-annotate.
7765 * vc/vc.el (vc-find-revision): Add an optional argument for
7766 the VC backend. Use it when non-nil.
7767 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7768 backend to vc-find-revision. (Bug#6487)
7770 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7772 Fix reading file names in Git annotate buffers.
7773 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7774 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7776 2010-06-20 Alan Mackenzie <acm@muc.de>
7778 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7779 in file local variables, set it first.
7781 2010-06-19 Glenn Morris <rgm@gnu.org>
7783 * descr-text.el (describe-char-unicode-data): Insert separating
7784 space when needed. (Bug#6422)
7786 * progmodes/idlwave.el (idlwave-action-and-binding):
7787 Fix typo in 2009-12-03 change. (Bug#6450)
7789 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7792 handling for `lambda' (misunderstanding).
7794 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7796 * calc/calc-poly.el (math-accum-factors): Make sure that
7797 constants aren't distributed after they are factored out.
7799 2010-06-16 Juri Linkov <juri@jurta.org>
7801 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7802 `list-colors-print'. (Bug#6332)
7804 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7806 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7809 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7811 * font-lock.el (font-lock-major-mode): Rename from
7812 font-lock-mode-major-mode to distinguish it from
7813 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7814 (font-lock-set-defaults):
7815 * font-core.el (font-lock-default-function): Adjust users.
7816 (font-lock-mode): Don't set it at all.
7818 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7822 2010-06-16 Glenn Morris <rgm@gnu.org>
7824 * calendar/appt.el (appt-time-msg-list): Doc fix.
7825 (appt-check): Let-bind appt-warn-time.
7826 (appt-add): Make the 3rd argument optional.
7827 Simplify argument names. Doc fix. Check for integer WARNTIME.
7828 Only add WARNTIME to the output list if non-nil.
7830 2010-06-16 Ivan Kanis <apple@kanis.eu>
7832 * calendar/appt.el (appt-check): Let the 3rd element of
7833 appt-time-msg-list specify the warning time.
7834 (appt-add): Add new argument with the warning time. (Bug#5176)
7836 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7838 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7839 older than version 1.6. (Bug#6361)
7841 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7843 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7844 used by cl-do-arglist. (Bug#6408)
7846 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7848 * textmodes/ispell.el (ispell-dictionary-base-alist):
7849 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7850 Suggested by Rolando Pereira (bug#6434).
7852 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7854 * facemenu.el (list-colors-sort): Doc fix.
7856 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7858 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7860 2010-06-14 Juri Linkov <juri@jurta.org>
7862 Add sort option `list-colors-sort'. (Bug#6332)
7863 * facemenu.el (color-rgb-to-hsv): New function.
7864 (list-colors-sort): New defcustom.
7865 (list-colors-sort-key): New function.
7866 (list-colors-display): Doc fix. Sort list according to the option
7868 (list-colors-print): Add HSV values to `help-echo' property of
7871 2010-06-14 Juri Linkov <juri@jurta.org>
7873 * compare-w.el: Move to the "vc" subdirectory.
7875 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * image-mode.el (image-mode-map): Remap left-char and right-char.
7879 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7881 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7883 * term/common-win.el (x-colors): Add all the color names defined
7884 in rgb.txt (Bug#6332).
7886 * facemenu.el (list-colors-print): Don't print extra names if it
7887 will overflow the window width.
7889 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7892 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7894 * files.el (make-directory): Doc fix (bug#6396).
7896 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7898 * net/tramp.el (tramp-remote-process-environment): Protect version
7899 string by apostroph.
7900 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7902 (tramp-file-name-for-operation): Add `call-process-region'.
7903 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7905 * net/tramp-compat.el (top): Do not autoload
7906 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7907 only when `start-file-process' is not bound.
7908 (tramp-advice-file-expand-wildcards): Do not use
7909 `tramp-handle-file-remote-p'.
7910 (tramp-compat-make-temp-file): Handle the case, that
7911 `make-temp-file' has no third argument EXTENSION.
7913 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7915 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7917 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7919 2010-06-11 Juri Linkov <juri@jurta.org>
7921 * finder.el (finder-known-keywords): Add keyword "vc"
7922 for version control.
7924 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7925 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7926 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7927 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7929 2010-06-11 Juri Linkov <juri@jurta.org>
7931 Move version control related files to the "vc" subdirectory.
7932 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7933 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7934 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7935 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7936 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7937 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7938 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7939 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7940 Move files to the "vc" subdirectory.
7942 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7944 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7947 2010-06-11 Stephen Eglen <stephen@gnu.org>
7949 * shell.el: Bind `shell-resync-dirs' to M-RET.
7951 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7953 * notifications.el: Move file from lisp/net, because it is
7954 supposed to talk locally to the user.
7956 2010-06-10 Julien Danjou <julien@danjou.info>
7958 * net/notifications.el (notifications-on-action-signal)
7959 (notifications-on-closed-signal): Pass notification id as first
7960 argument to the callback functions. Add docstrings.
7961 (notifications-notify): Fix docstring.
7963 2010-06-10 Glenn Morris <rgm@gnu.org>
7965 * emacs-lisp/authors.el (authors-ignored-files)
7966 (authors-valid-file-names): Add some files.
7968 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7970 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7971 merge conflict, giving preference to the emacs-23 version of the code.
7973 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7975 * emacs-lisp/advice.el (ad-compile-function):
7976 Define warning-suppress-types before we let-bind it (bug#6275).
7978 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7979 declare it, make it buffer-local and permanent-local (bug#6324).
7980 (vc-resynch-window): Adjust name.
7981 * vc-hooks.el (vc-find-file-hook): Adjust name.
7983 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7985 * net/notifications.el (notifications-notify): Fix docstring.
7987 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7989 Update to Unicode 6.0.0 beta.
7990 * international/charprop.el: Update copyright.
7991 * international/mule-cmds.el (ucs-names): Update character ranges.
7992 * international/uni-bidi.el:
7993 * international/uni-category.el:
7994 * international/uni-combining.el:
7995 * international/uni-comment.el:
7996 * international/uni-decimal.el:
7997 * international/uni-decomposition.el:
7998 * international/uni-digit.el:
7999 * international/uni-lowercase.el:
8000 * international/uni-mirrored.el:
8001 * international/uni-name.el:
8002 * international/uni-numeric.el:
8003 * international/uni-old-name.el:
8004 * international/uni-titlecase.el:
8005 * international/uni-uppercase.el: Regenerate.
8007 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8009 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8010 (smie-precs-precedence-table): Fix typo in docstring.
8012 * vc-mtn.el (log-edit-extract-headers): Declare function.
8014 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8016 * net/notifications.el (dbus-register-signal): Declare function.
8017 (notifications-notify): Fix typos and reflow docstring.
8019 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8021 Improve VC create/retrieve tag/branch.
8022 * vc.el (vc-create-tag): Do not read the directory name for VCs
8023 with repository revision granularity. Adjust the tag/branch
8024 prompt. Reset VC properties.
8025 (vc-retrieve-tag): Do not read the directory name for VCs
8026 with repository revision granularity. Reset VC properties.
8028 2010-06-09 Julien Danjou <julien@danjou.info>
8030 * net/notifications.el: New file.
8032 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8034 Add optional support for resetting VC properties.
8035 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8036 call vc-file-clearprops when true.
8037 (vc-resynch-buffer): Add new optional argument, pass it down.
8038 (vc-resynch-buffers-in-directory): Likewise.
8040 Improve support for special markup in the VC commit message.
8041 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8042 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8043 * vc-git.el (vc-git-checkin):
8044 * vc-bzr.el (vc-bzr-checkin): Likewise.
8046 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8049 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8051 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8053 * iimage.el: Remove images as soon as the underlying text is modified.
8054 (iimage-modification-hook): New function.
8055 (iimage-mode-buffer): Use it.
8057 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8059 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8060 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8061 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8062 (smie-indent-keyword): Add handling of open-paren keywords.
8063 (smie-indent-comment-continue): Don't assume comment-continue.
8065 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8067 * window.el (pop-to-buffer): Remove the conditional that
8068 compares new-window and old-window, so it will reselect
8069 the selected window unconditionally.
8070 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8072 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8074 * emacs-lisp/smie.el (smie-indent-offset-after)
8075 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8076 (smie-indent-after-keyword): Use them.
8077 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8078 (smie-indent-keyword): Tweak the black magic.
8079 (smie-indent-comment-continue): Strip comment-continue before use.
8080 (smie-indent-functions): Indent comments before keywords.
8082 2010-06-06 Juri Linkov <juri@jurta.org>
8084 * isearch.el (isearch-lazy-highlight-search): Fix looping
8085 by checking for empty match. This syncs this loop with the
8086 similar loop in `isearch-search'. (Bug#6362)
8088 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8090 * net/dbus.el (dbus-register-method): Declare function.
8091 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8092 (dbus-introspect): Doc fix.
8093 (dbus-event-bus-name, dbus-introspect-get-interface)
8094 (dbus-introspect-get-argument): Reflow docstrings.
8096 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8098 vc-log-incoming/vc-log-outgoing fixes for Git.
8099 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8100 incoming/outgoing logs.
8101 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8102 instead of vc-git-compute-remote.
8103 (vc-git-compute-remote): Remove.
8105 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8107 * term/common-win.el (x-colors): Add "dark green" and "dark
8108 turquoise" (Bug#6332).
8110 2010-06-04 Juri Linkov <juri@jurta.org>
8112 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8113 Instead of setting `replace' to t and replacing the same string
8114 with itself, don't do certain actions when
8115 kill-do-not-save-duplicates is non-nil and string is equal to car
8116 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8117 interprogram-paste strings to kill-ring, and don't push the input
8118 argument `string' to kill-ring.
8119 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8121 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8123 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8125 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8127 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8128 (tramp-gvfs-handler-mounted-unmounted)
8129 (tramp-gvfs-connection-mounted-p): Handle default-location.
8131 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8132 move files to trash.
8134 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8136 * international/mule-cmds.el (nonascii-insert-offset)
8137 (nonascii-translation-table): Add obsolescence information.
8139 * international/mule.el (make-translation-table-from-vector): Doc fix.
8141 2010-06-03 Glenn Morris <rgm@gnu.org>
8143 * desktop.el (desktop-clear-preserve-buffers):
8144 Add "*Warnings*" buffer. (Bug#6336)
8146 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8148 vc-log-incoming/vc-log-outgoing improvements for Git.
8149 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8151 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8153 Add bindings for vc-log-incoming and vc-log-outgoing.
8154 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8155 and vc-log-outgoing.
8156 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8157 and vc-log-outgoing.
8159 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8161 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8162 (rcirc-handler-366): Always sort nicknames.
8164 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8166 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8168 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8170 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8172 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8175 (rcirc-sort-nicknames-join): Avoid setq.
8177 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8179 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8180 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8181 (rcirc-handler-366): Use them.
8183 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8185 Split smie-indent-calculate into more manageable chunks.
8186 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8187 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8188 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8189 (smie-indent-exps): Extract from smie-indent-calculate.
8190 (smie-indent-functions): New var.
8191 (smie-indent-functions): Use them.
8193 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8196 (smie-indent-calculate): Simplify and cleanup.
8198 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8200 * net/tramp-gvfs.el (top): Require url-util.
8201 (tramp-gvfs-mount-point): Remove.
8202 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8204 (with-tramp-dbus-call-method): Format trace message.
8205 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8206 Implement backup call, when operation on local files fails.
8207 Use progress reporter. Flush properties of changed files.
8208 (tramp-gvfs-handle-make-directory): Make more traces.
8209 (tramp-gvfs-url-file-name): Hexify file name in url.
8210 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8211 into account for the resulting file name.
8212 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8213 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8214 (tramp-gvfs-handler-mounted-unmounted)
8215 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8216 attribute "default_location". Set "prefix" property.
8217 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8218 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8219 exists. Raise an error, if not (due to a corresponding answer
8220 "no" in interactive questions, for example).
8222 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8224 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8226 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8228 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8231 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8233 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8234 * vc-git.el (vc-git-compute-remote): New function.
8235 (vc-git-log-outgoing): Use it instead of hard coding a value.
8236 (vc-git-log-incoming): New function.
8238 Improve state updating for VC tag commands.
8239 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8240 to update the state of all buffers in the directory.
8242 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8244 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8246 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8247 `file-directory-p' to the filename part rather than to the whole text.
8249 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8251 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8253 2010-05-31 Drew Adams <drew.adams@oracle.com>
8255 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8257 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8259 * subr.el (momentary-string-display): Just use read-event to read
8260 the exit event (Bug#6238).
8262 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8264 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8266 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8268 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8269 Suggested by Eli Zaretskii <eliz@gnu.org>.
8271 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * minibuffer.el (completion-file-name-table): Don't return a boundary
8274 past the end of `string' (bug#6299).
8275 (completion--file-name-table): Delegate to completion-file-name-table
8276 for the `boundaries' case.
8278 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8280 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8283 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8284 `path-separator', but maintain compatibility with Emacs 20.2.
8286 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8288 * server.el (server-process-filter): Receive parent-id argument
8290 (server-create-window-system-frame): New arg. Pass parent-id as
8293 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8295 Bidi-sensitive word movement with arrow keys.
8296 * subr.el (right-arrow-command, left-arrow-command): Move to
8299 * bindings.el (right-char, left-char): Move from subr.el and
8300 rename from right-arrow-command and left-arrow-command.
8301 (right-word, left-word): New functions.
8302 (global-map) <right>: Bind to right-char.
8303 (global-map) <left>: Bind to left-char.
8304 (global-map) <C-right>: Bind to right-word.
8305 (global-map) <C-left>: Bind to left-word.
8307 * ls-lisp.el (ls-lisp-classify-file): New function.
8308 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8309 (ls-lisp-classify): Call ls-lisp-classify-file.
8310 (insert-directory): Remove blanks from switches.
8312 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8314 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8315 (ansi-color-drop-regexp): New constant.
8316 (ansi-color-apply, ansi-color-filter-region)
8317 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8318 (ansi-color-apply): Build string list before calling concat.
8320 2010-05-28 Juri Linkov <juri@jurta.org>
8322 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8323 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8326 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8328 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8329 to ignored backtrace functions.
8330 (with-progress-reporter): Expand docstring.
8331 (tramp-handle-delete-file): Implement TRASH argument.
8332 (tramp-get-remote-trash): New defun.
8334 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8336 * net/tramp-compat.el (tramp-compat-delete-file):
8337 Use `symbol-value' for backward compatibility.
8339 * net/tramp.el (tramp-handle-make-symbolic-link)
8341 (tramp-do-copy-or-rename-file-via-buffer)
8342 (tramp-do-copy-or-rename-file-directly)
8343 (tramp-do-copy-or-rename-file-out-of-band)
8344 (tramp-handle-process-file, tramp-handle-call-process-region)
8345 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8346 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8347 (tramp-delete-temp-file-function): Use `delete-file' instead
8348 of `tramp-compat-delete-file'.
8350 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8351 (tramp-fish-handle-make-symbolic-link)
8352 (tramp-fish-handle-process-file): Use `delete-file' instead
8353 of `tramp-compat-delete-file'.
8355 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8356 Use `delete-file' instead of `tramp-compat-delete-file'.
8358 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8359 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8360 `tramp-compat-delete-file'.
8362 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8363 Use `delete-file' instead of `tramp-compat-delete-file'.
8365 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8366 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8367 (tramp-smb-handle-write-region): Use `delete-file' instead of
8368 `tramp-compat-delete-file'.
8369 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8371 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8373 * dired.el (dired-delete-file): New arg TRASH.
8374 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8375 (dired-do-flagged-delete, dired-do-delete): Use trash.
8377 * speedbar.el (speedbar-item-delete): Allow trashing.
8379 * files.el (delete-directory): New arg TRASH.
8381 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8382 (ange-ftp-rename-remote-to-remote)
8383 (ange-ftp-rename-local-to-remote)
8384 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8385 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8387 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8390 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8391 handle new TRASH arg of `delete-file'.
8393 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8394 (tramp-handle-make-symbolic-link, tramp-handle-load)
8395 (tramp-do-copy-or-rename-file-via-buffer)
8396 (tramp-do-copy-or-rename-file-directly)
8397 (tramp-do-copy-or-rename-file-out-of-band)
8398 (tramp-handle-process-file, tramp-handle-call-process-region)
8399 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8400 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8401 (tramp-delete-temp-file-function): Use null TRASH arg in
8402 tramp-compat-delete-file call.
8404 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8405 (tramp-fish-handle-delete-file)
8406 (tramp-fish-handle-make-symbolic-link)
8407 (tramp-fish-handle-process-file): Use null TRASH arg in
8408 `tramp-compat-delete-file' call.
8410 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8411 arg in `tramp-compat-delete-file' call.
8413 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8414 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8415 `tramp-compat-delete-file' call.
8417 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8418 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8419 `tramp-compat-delete-file' call.
8421 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8422 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8423 (tramp-smb-handle-write-region): Use null TRASH arg in
8424 tramp-compat-delete-file call.
8425 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8426 (tramp-smb-handle-delete-file): Rename arg.
8428 * diff.el (diff-sentinel):
8429 * epg.el (epg--make-temp-file, epg-decrypt-string)
8430 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8431 * jka-compr.el (jka-compr-partial-uncompress)
8432 (jka-compr-call-process, jka-compr-write-region):
8433 * server.el (server-sentinel): Remove optional arg from
8434 delete-file, reverting 2010-05-03 change.
8436 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8438 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8439 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8441 2010-05-27 Kenichi Handa <handa@m17n.org>
8443 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8444 element of GSTRING is nil.
8446 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8448 * emacs-lisp/smie.el (smie-forward-token-function)
8449 (smie-backward-token-function): New vars.
8450 (smie-backward-sexp, smie-forward-sexp)
8451 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8452 (smie-default-backward-token): Rename from smie-backward-token and
8454 (smie-default-forward-token): Rename from smie-forward-token and
8456 (smie-next-sexp): Handle nil results from next-token.
8457 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8459 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8461 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8462 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8464 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8466 * htmlfontify.el (hfy-face-resolve-face): New function.
8467 (hfy-face-to-style): Use it (Bug#6279).
8469 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8471 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8472 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8474 2010-05-26 Glenn Morris <rgm@gnu.org>
8476 * emulation/edt.el (edt-load-keys): Use locate-library.
8478 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8480 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8481 (log-edit-changelog-entries): Doc fix.
8482 (log-edit-changelog-insert-entries): Args changed.
8483 Rename relative filenames in ChangeLog entries. Delete tabs.
8484 (log-edit-insert-changelog-entries): Reorganize return value of
8485 `log-edit-changelog-entries' to pass filenames to
8486 log-edit-changelog-insert-entries.
8488 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8490 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8491 `image-dired-dired-insert-marked-thumbs' to
8492 `image-dired-dired-toggle-marked-thumbs'.
8494 * image-dired.el: Require cl when compiling.
8495 (image-dired-dired-toggle-marked-thumbs): Rename from
8496 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8497 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8498 to 'no-dir. Skip files whose names don't match
8499 `image-file-name-regexp'. When file has a thumbnail overlay,
8500 delete it. (Bug#5270)
8502 2010-05-25 Juri Linkov <juri@jurta.org>
8504 * image-mode.el (image-mode): Add image-after-revert-hook to
8506 (image-after-revert-hook): New function. (Bug#5669)
8508 2010-05-25 Juri Linkov <juri@jurta.org>
8510 * image.el (image-animated-p): When delay between animated images
8511 is 0, set it to 10 (0.1 sec). (Bug#6258)
8513 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8515 * net/tramp.el (tramp-handle-insert-directory): Don't use
8516 `forward-word', its default syntax could be changed.
8518 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8520 * net/tramp.el (tramp-progress-reporter-update): New defun.
8521 (with-progress-reporter): Use it.
8522 (tramp-process-actions):
8523 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8524 Preserve current message, in order to let progress reporter continue
8525 afterwards. (Bug#6257)
8527 2010-05-25 Glenn Morris <rgm@gnu.org>
8529 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8532 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8534 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8535 (rcirc-default-full-name): Change to "unknown".
8536 (rcirc-user-name-history): Add variable.
8538 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8539 Jonathan Rockway <jon@jrock.us>
8541 * net/rcirc.el (rcirc-server-alist): Add :pass.
8542 (rcirc): When prompting for connection parameters, also prompt for
8543 username and password.
8544 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8545 value to server when connecting.
8547 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8550 (smie-merge-prec2s): Pass the tables as separate args.
8551 (smie-bnf-precedence-table): Adjust call accordingly.
8552 (smie-prec2-levels): Set levels at the end.
8554 Replace Lisp calls to delete-backward-char by delete-char.
8555 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8556 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8557 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8558 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8559 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8560 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8561 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8562 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8563 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8564 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8565 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8566 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8567 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8568 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8569 delete-backward-char by calls to delete-char.
8571 2010-05-25 Kenichi Handa <handa@m17n.org>
8573 * language/hebrew.el (hebrew-shape-gstring): New function.
8574 Register it in composition-function-table for all Hebrew combining
8577 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8579 * epa.el (epa--select-keys): Don't explicitly delete the window since
8580 that can fail (e.g. sole window in frame). Use dedication instead.
8582 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8584 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8586 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8588 * image.el (image-refresh): Define as an alias for image-flush.
8590 * image-mode.el (image-toggle-display-image): Caller changed.
8592 2010-05-21 Juri Linkov <juri@jurta.org>
8594 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8595 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8596 whitespace, call wildcard-to-regexp on substrings and concat them
8597 with "\\|". (Bug#6114)
8599 2010-05-21 Alan Mackenzie <acm@muc.de>
8601 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8602 Replace parameter `here' with `here-' and `here-plus', which sandwich
8603 any pertinent CPP construct.
8604 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8605 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8606 CPP construct from taking part in the scanning.
8608 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8610 * net/tramp.el (tramp-do-copy-or-rename-file)
8611 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8612 Tune `with-progress-reporter' messages.
8613 (tramp-handle-vc-registered):
8614 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8615 (tramp-fish-handle-insert-file-contents)
8616 (tramp-fish-maybe-open-connection):
8617 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8618 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8619 (tramp-imap-handle-insert-file-contents)
8620 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8622 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8624 * add-log.el (change-log-font-lock-keywords):
8625 Highlight all authors in multi-author entries.
8627 * smerge-mode.el (smerge-refine-ignore-whitespace)
8628 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8629 Fix typos in docstrings.
8630 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8632 2010-05-21 Glenn Morris <rgm@gnu.org>
8634 * progmodes/fortran.el (fortran-mode):
8635 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8637 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8638 having a relative path in src/Makefile.in.
8640 2010-05-20 Kevin Ryde <user42@zip.com.au>
8642 * help-mode.el (help-make-xrefs): For Info node links turn
8643 newlines into spaces. Link node names with newlines are matched
8644 by help-xref-info-regexp and buttonized, this change ensures they
8645 can be followed successfully with RET. (Bug#6206)
8647 2010-05-20 Juri Linkov <juri@jurta.org>
8649 * locate.el (locate): Use pop-to-buffer instead of
8650 switch-to-buffer-other-window. (Bug#6204)
8652 2010-05-20 Juri Linkov <juri@jurta.org>
8654 * replace.el (replace-highlight): Fix lazy-highlighting
8655 for `M-s w str M-% str RET'.
8657 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8659 * isearch.el (isearch-yank-word-or-char): Pull next subword
8660 when `subword-mode' is activated. (Bug#6220)
8662 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8664 * isearch.el (isearch-update-post-hook): New hook.
8665 (isearch-update): Use the new hook. (Bug#6225)
8667 2010-05-20 Juri Linkov <juri@jurta.org>
8669 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8670 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8673 2010-05-20 Juri Linkov <juri@jurta.org>
8675 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8678 2010-05-20 Juri Linkov <juri@jurta.org>
8680 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8681 FILE-NAME to read from the minibuffer when called interactively
8682 with prefix argument instead of using buffer-file-name.
8683 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8685 * dired.el: Update autoloads.
8687 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8689 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8690 nxml-finish-element, for consistency with SGML mode.
8692 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8695 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8697 * composite.el: Require cl when compiling.
8698 (reference-point-alist, compose-gstring-for-graphic)
8699 (compose-gstring-for-terminal): Fix typos in docstrings.
8701 2010-05-19 Juri Linkov <juri@jurta.org>
8703 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8704 set-window-parameter.
8706 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8708 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8710 (tramp-maybe-open-connection): Use it.
8712 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8714 * simple.el (move-end-of-line): Make sure we are at line beginning
8715 before backing up to end of previous line.
8717 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8719 * password-cache.el (password-cache-remove): Fix docstring.
8721 * net/secrets.el: Autoload the widget functions.
8722 (secrets-search-items, secrets-create-item)
8723 (secrets-get-attributes, secrets-expand-item): Attributes will be
8724 stored on the password database without leading ":", as all other
8726 (secrets-mode): Fix docstring.
8727 (secrets-show-secrets): Provide it as autoloaded command only when
8728 D-Bus support is available. Check existence of Secret Service API.
8730 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * indent.el (indent-region): Deactivate region (bug#6200).
8734 2010-05-19 Glenn Morris <rgm@gnu.org>
8736 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8738 2010-05-19 Kenichi Handa <handa@m17n.org>
8740 * composite.el: Register compose-gstring-for-graphic in
8741 composition-function-table only for combining characters (Mn, Mc, Me).
8743 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8745 * calc/calc-trail.el (calc-trail-isearch-forward)
8746 (calc-trail-isearch-backward): Ensure that the new window
8747 point is set correctly.
8749 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * subr.el (read-quoted-char): Resolve modifiers after key
8752 remapping (bug#6212).
8754 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8756 Add visualization code for secrets.
8757 * net/secrets.el (secrets-mode): New major mode.
8758 (secrets-show-secrets, secrets-show-collections)
8759 (secrets-expand-collection, secrets-expand-item)
8760 (secrets-tree-widget-after-toggle-function)
8761 (secrets-tree-widget-show-password): New defuns.
8763 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8765 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8766 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8767 handled in smie-next-sexp.
8768 (smie-indent-calculate): Provide a starting indentation (so the
8769 recursion is well-founded ;-).
8771 Fix handling of non-associative equal levels.
8772 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8773 when it's not needed.
8774 (smie-op-left, smie-op-right): New functions.
8775 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8776 Better handle equal levels to distinguish the associative case from
8777 the "multi-keyword construct" case.
8778 (smie-backward-sexp, smie-forward-sexp): Use it.
8780 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8782 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8784 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8785 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8787 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8789 Provide a simple generic indentation engine and use it for Prolog.
8790 * emacs-lisp/smie.el: New file.
8791 * progmodes/prolog.el (prolog-smie-op-levels)
8792 (prolog-smie-indent-rules): New var.
8793 (prolog-mode-variables): Use them to configure SMIE.
8794 (prolog-indent-line, prolog-indent-level): Remove.
8796 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8798 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8799 order before computing the averages.
8801 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8803 * calc/calc-vec.el (calc-histogram):
8804 (calcFunc-histogram): Allow vectors as inputs.
8805 (math-vector-avg): New function.
8807 * calc/calc-ext.el (math-group-float): Have the number of digits
8808 being grouped depend on the radix (Bug#6189).
8810 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8812 * version.el (emacs-copyright, emacs-version): Don't define here,
8813 now that emacs.c defines it.
8815 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8817 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8818 "Describe Language Environment" menu item.
8820 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8822 Bidi-sensitive movement with arrow keys.
8823 * subr.el (right-arrow-command, left-arrow-command): New functions.
8825 * bindings.el (global-map): Bind them to right and left arrow keys.
8827 Don't override standard definition of convert-standard-filename.
8828 * files.el (convert-standard-filename):
8829 Call w32-convert-standard-filename and dos-convert-standard-filename on
8830 the corresponding systems.
8832 * w32-fns.el (w32-convert-standard-filename): Rename from
8833 convert-standard-filename. Doc fix.
8835 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8836 (convert-standard-filename): Don't defalias.
8837 (register-name-alist, make-register, register-value)
8838 (set-register-value, intdos): Obsolete aliases for the
8839 corresponding dos-* functions and variables.
8840 (dos-intdos): Add a doc string.
8842 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8844 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8845 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8846 (math-compose-tex-func):
8847 * calc/calccomp.el (math-compose-expr):
8848 * calc/calc-ext.el (math-format-flat-expr-fancy):
8849 * calc/calc-store.el (calc-read-var-name):
8850 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8852 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8853 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8854 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8855 (math-standard-units): Add units.
8857 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8859 * progmodes/asm-mode.el (asm-mode):
8860 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8862 * pcomplete.el (pcomplete-completions-at-point): New function,
8863 extracted from pcomplete-std-complete.
8864 (pcomplete-std-complete): Use it.
8866 2010-05-15 Glenn Morris <rgm@gnu.org>
8868 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8869 Remove references to CVS, RCS and Old directories.
8871 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8873 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8876 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8879 (sh-mode-syntax-table): Give it a default value instead.
8880 (sh-header-marker): Make buffer-local.
8881 (sh-mode): Move make-local-variable to the corresponding setq.
8882 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8883 Use complete-with-action.
8885 * simple.el (prog-mode): New (abstract) major mode.
8886 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8887 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8889 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8891 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8892 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8893 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8894 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8895 (sql-escape-newlines-filter, sql-input-sender)
8896 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8898 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8900 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8902 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8903 latex-open-block and C-c / to latex-close-block.
8905 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8906 and C-c C-e to sgml-close-tag.
8908 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8910 * net/tramp.el (with-progress-reporter): Create reporter object
8911 only when the message would be displayed. Handle nested calls.
8912 (tramp-handle-load, tramp-handle-file-local-copy)
8913 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8914 (tramp-maybe-send-script, tramp-find-shell):
8915 Use `with-progress-reporter'.
8916 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8919 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8920 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8921 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8922 Use `with-progress-reporter'.
8924 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8926 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8927 process everytime when spellchecking from the minibuffer (bug#6143).
8929 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8933 * dos-fns.el: Add "dos-" prefix for namespace control.
8934 (convert-standard-filename): Define as alias for
8935 dos-convert-standard-filename but only if applicable.
8937 2010-05-12 Alan Mackenzie <acm@muc.de>
8939 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8940 Push the mark at the start of these functions when appropriate.
8942 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * minibuffer.el (completion-cycle-threshold): New custom var.
8945 (completion--do-completion): Use it.
8946 (minibuffer-complete): Use cycling if appropriate.
8948 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8950 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8951 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8953 2010-05-11 Juri Linkov <juri@jurta.org>
8955 * scroll-all.el (scroll-all-check-to-scroll):
8956 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8958 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * iimage.el (iimage-mode-map): Move initialization into declaration.
8961 (iimage-mode-buffer): Use with-silent-modifications.
8962 Simplify calling convention. Adjust callers.
8963 (iimage-mode): Don't run hook redundantly.
8965 * minibuffer.el (completion-pcm--pattern->regex):
8966 Fix last change (bug#6160).
8968 2010-05-10 Juri Linkov <juri@jurta.org>
8970 Remove nodes visited during Isearch from the Info history.
8971 * info.el (Info-isearch-initial-history)
8972 (Info-isearch-initial-history-list): New variables.
8973 (Info-isearch-start): Record initial values of
8974 Info-isearch-initial-history and Info-isearch-initial-history-list.
8975 Add Info-isearch-end to isearch-mode-end-hook.
8976 (Info-isearch-end): New function.
8978 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8980 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8981 format string, in order to work around a bug in pdksh.
8982 Reported by Gilles Pion <gpion@lfdj.com>.
8983 (tramp-handle-verify-visited-file-modtime): Do not send a command
8984 when the connection is not established.
8985 (tramp-handle-set-file-times): Simplify the check for utc.
8987 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8989 Fix use of `filter-buffer-substring' (rework previous change).
8990 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8991 (cua-repeat-replace-region):
8992 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8993 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8994 (cua-cut-region-to-global-mark): Use it.
8996 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8998 * progmodes/sql.el: Version 2.1.
8999 (sql-product-alist): Redesign structure of product info.
9000 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9001 (sql-port, sql-port-history): New variables.
9002 (sql-interactive-product): New variable.
9003 (sql-send-terminator): New variable.
9004 (sql-imenu-generic-expression): Add "Types" imenu entry.
9005 (sql-oracle-login-params, sql-sqlite-login-params)
9006 (sql-mysql-login-params, sql-solid-login-params)
9007 (sql-sybase-login-params, sql-informix-login-params)
9008 (sql-ingres-login-params, sql-ms-login-params)
9009 (sql-postgres-login-params, sql-interbase-login-params)
9010 (sql-db2-login-params, sql-linter-login-params)
9011 (sql-oracle-scan-on): New variables.
9012 (sql-mode-map): Add C-c C-i to start interactive mode.
9013 (sql-mode-menu): Update existing menu entries.
9014 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9015 (sql-mode-oracle-font-lock-keywords)
9016 (sql-mode-postgres-font-lock-keywords)
9017 (sql-mode-ms-font-lock-keywords)
9018 (sql-mode-sybase-font-lock-keywords)
9019 (sql-mode-informix-font-lock-keywords)
9020 (sql-mode-interbase-font-lock-keywords)
9021 (sql-mode-ingres-font-lock-keywords)
9022 (sql-mode-solid-font-lock-keywords)
9023 (sql-mode-mysql-font-lock-keywords)
9024 (sql-mode-sqlite-font-lock-keywords)
9025 (sql-mode-db2-font-lock-keywords)
9026 (sql-mode-linter-font-lock-keywords): Update initialization to
9027 reduce run-time complexity.
9028 (sql-add-product, sql-del-product): New functions.
9029 (sql-set-product-feature, sql-get-product-feature): New functions.
9030 (sql-product-font-lock): Update product API.
9031 (sql-add-product-keywords): New function.
9032 (sql-highlight-product): Update product API.
9033 (sql-help-list-products): New function.
9034 (sql-help): Dynamically lists free and non-free products.
9035 (sql-get-login): Correct bug in handling history and added
9037 (sql-copy-column): Copy without properties.
9038 (sqli-input-sender): Apply filters to SQLi input.
9039 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9040 Implement as a filter.
9041 (sql-escape-newlines-filter): Implement as a filter.
9042 (sql-remove-tabs-filter): New function.
9043 (sql-send-magic-terminator): New function.
9044 (sql-send-string): Implement magic terminator.
9045 (sql-send-region): Use `sql-send-string'.
9046 (sql-interactive-mode): Use product API.
9047 (sql-product-interactive): Use product API.
9048 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9049 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9050 (sql-db2, sql-linter): Use `sql-product-interactive'.
9051 (sql-connect): New function.
9052 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9053 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9054 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9055 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9058 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9060 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9061 New custom variable.
9062 (completion-pcm--string->pattern): Use it.
9063 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9064 Make it handle any symbol as `any'.
9065 (completion-pcm--merge-completions): Extract common suffix for the new
9066 `prefix' symbol as well.
9067 (completion-substring--all-completions): Use the new `prefix' symbol.
9069 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9071 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9073 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9074 (tramp-compat-funcall): New defmacro.
9075 (tramp-compat-line-beginning-position)
9076 (tramp-compat-line-end-position)
9077 (tramp-compat-temporary-file-directory)
9078 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9079 (tramp-compat-copy-file, tramp-compat-copy-directory)
9080 (tramp-compat-delete-file, tramp-compat-delete-directory)
9081 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9082 * net/tramp.el (top, with-progress-reporter)
9083 (tramp-rfn-eshadow-setup-minibuffer)
9084 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9085 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9086 (tramp-completion-mode-p, tramp-check-for-regexp)
9087 (tramp-open-connection-setup-interactive-shell)
9088 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9089 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9090 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9091 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9092 (tramp-reporter-dump-variable, tramp-load-report-modules)
9093 (tramp-append-tramp-buffers)
9094 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9096 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9098 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9101 buffer-modtime. Adjust users.
9103 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9105 * international/mule.el (auto-coding-alist): Only purecopy
9106 car of each item, not the whole list (Bug#6083).
9108 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9110 * progmodes/js.el (js-mode): Make paragraph variables local before
9111 calling c-setup-paragraph-variables (Bug#6071).
9113 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9115 * composite.el (compose-region, reference-point-alist): Fix typos
9118 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9120 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9121 gnuplot's "set" command.
9123 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9125 * abbrev.el (last-abbrev-text): Doc fix.
9126 (abbrev-prefix-mark): Don't escape parenthesis.
9128 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9130 * composite.el (find-composition): Doc fix.
9132 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9134 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9135 (sql-oracle-program, sql-sqlite-options)
9136 (sql-query-placeholders-and-send): Doc fixes.
9137 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9138 (sql-imenu-generic-expression, sql-buffer)
9139 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9140 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9141 (sql-mode-sybase-font-lock-keywords)
9142 (sql-mode-informix-font-lock-keywords)
9143 (sql-mode-interbase-font-lock-keywords)
9144 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9145 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9146 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9147 (sql-product-feature, sql-highlight-product)
9148 (comint-line-beginning-position, sql-rename-buffer)
9149 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9150 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9151 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9152 Fix typos in docstrings.
9154 2010-05-08 Juri Linkov <juri@jurta.org>
9156 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9157 property instead of `invisible' and `after-string' (bug#5998).
9159 2010-05-08 Juri Linkov <juri@jurta.org>
9161 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9163 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9165 * filecache.el (file-cache-add-directory-list)
9166 (file-cache-add-directory-recursively): Fix typos in docstrings.
9168 2010-05-08 Kenichi Handa <handa@m17n.org>
9170 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9171 (gujarati-composable-pattern): Fix typo.
9173 2010-05-08 Kenichi Handa <handa@m17n.org>
9175 * language/indian.el (oriya-composable-pattern)
9176 (tamil-composable-pattern, malayalam-composable-pattern):
9177 Add two-part vowels to "v" (vowel sign).
9179 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9181 * files.el (copy-directory): Handle symlinks (Bug#5982).
9183 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9185 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9186 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9189 2010-05-08 Glenn Morris <rgm@gnu.org>
9191 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9193 * minibuffer.el (completion-at-point): Doc fix.
9195 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * electric.el (Electric-command-loop): Minor tweak.
9199 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9200 better with dedicated windows.
9202 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9204 * Version 23.2 released.
9206 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9207 Stefan Monnier <monnier@iro.umontreal.ca>
9209 Highlight vendor specific properties.
9210 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9211 (css-proprietary-property): New face.
9212 (css-font-lock-keywords): Use them.
9214 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9216 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9218 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9221 * files.el (auto-mode-alist): Remove redundant entries.
9223 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9224 * simple.el (auto-save-mode): Move from files.el.
9225 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9227 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9229 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9231 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9233 * mail/binhex.el (binhex-decode-region-internal)
9234 * mail/uudecode.el (uudecode-decode-region-internal)
9235 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9236 (dns-read-type, dns-query)
9237 * pgg-parse.el (pgg-parse-armor)
9238 * pgg.el (pgg-verify-region)
9239 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9242 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9244 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9246 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9248 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9249 * emulation/cua-base.el (cua-repeat-replace-region):
9250 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9251 (cua-cut-region-to-global-mark):
9252 Remove text properties with `set-text-properties'.
9254 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9256 * net/tramp.el (top, with-progress-reporter):
9257 Use `symbol-function' inside `funcall'.
9259 * net/tramp-compat.el (tramp-compat-file-attributes)
9260 (tramp-compat-delete-file, tramp-compat-delete-directory):
9261 Handle only `wrong-number-of-arguments' error.
9263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9264 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9267 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9269 * minibuffer.el (completion--sreverse, completion--common-suffix):
9271 (completion-pcm--merge-completions): Extract common suffix when safe.
9273 * emacs-lisp/easy-mmode.el (define-minor-mode):
9274 Make :variable more flexible.
9275 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9277 2010-05-05 Juri Linkov <juri@jurta.org>
9279 Add `slow' and `history' tags to the desktop data.
9281 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9282 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9283 (Info-finder-find-node): Require `finder.el' to be able
9284 to restore node from the desktop.
9285 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9286 data `Info-history' and `slow' tag in the assoc list.
9287 (Info-restore-desktop-buffer): Don't restore nodes with the
9288 `slow' tag. Restore `Info-history'.
9290 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9292 Add FORCE argument to `delete-file'.
9294 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9295 forcing to delete the temporary file.
9296 (ange-ftp-delete-file): Add FORCE arg.
9297 (ange-ftp-rename-remote-to-remote)
9298 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9299 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9300 Force file deletion.
9302 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9304 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9305 (tramp-handle-make-symbolic-link, tramp-handle-load)
9306 (tramp-do-copy-or-rename-file-via-buffer)
9307 (tramp-do-copy-or-rename-file-directly)
9308 (tramp-do-copy-or-rename-file-out-of-band)
9309 (tramp-handle-process-file, tramp-handle-call-process-region)
9310 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9311 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9312 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9314 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9315 (tramp-fish-handle-make-symbolic-link)
9316 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9318 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9319 Use `tramp-compat-delete-file'.
9321 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9322 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9324 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9325 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9327 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9328 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9329 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9330 Use `tramp-compat-delete-file'.
9332 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * subr.el (add-minor-mode): Use push.
9336 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9337 * emulation/edt.el (edt-select-mode): Simplify.
9339 Use define-minor-mode in more cases.
9340 * term/tvi970.el (tvi970-set-keypad-mode):
9341 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9342 (normal-erase-is-backspace-mode):
9343 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9344 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9345 (get-scroll-bar-mode): New function.
9346 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9348 Use define-minor-mode for less obvious cases.
9349 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9350 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9351 * international/iso-ascii.el (iso-ascii-mode):
9352 * frame.el (auto-raise-mode, auto-lower-mode):
9353 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9355 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9357 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9358 in order to see error messages for failed logins.
9360 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9362 * diff.el (diff-sentinel):
9364 * epg.el (epg--make-temp-file, epg-decrypt-string)
9365 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9367 * jka-compr.el (jka-compr-partial-uncompress)
9368 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9370 * server.el (server-sentinel): Use delete-file's new FORCE arg
9373 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9375 Use define-minor-mode where applicable.
9376 * view.el (view-mode):
9377 * type-break.el (type-break-query-mode)
9378 (type-break-mode-line-message-mode):
9379 * textmodes/reftex.el (reftex-mode):
9380 * term/vt100.el (vt100-wide-mode):
9381 * tar-mode.el (tar-subfile-mode):
9382 * savehist.el (savehist-mode):
9383 * ibuf-ext.el (ibuffer-auto-mode):
9384 * composite.el (auto-composition-mode):
9385 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9386 Use define-minor-mode.
9387 (vhdl-mode): Use static mode-line format.
9388 (vhdl-mode-line-update): Delete.
9389 (vhdl-create-mode-menu, vhdl-activate-customizations)
9390 (vhdl-hs-minor-mode): Don't bother calling it.
9392 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9394 * simple.el (with-wrapper-hook): Move.
9395 (buffer-substring-filters): Mark obsolete.
9396 (filter-buffer-substring-functions): New variable.
9397 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9399 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9400 Michael Albinus <michael.albinus@gmx.de>
9402 Implement compression for inline methods.
9404 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9405 (tramp-copy-size-limit): Allow also nil.
9406 (tramp-inline-compress-commands): New defconst.
9407 (tramp-find-inline-compress, tramp-get-inline-compress)
9408 (tramp-get-inline-coding): New defuns.
9409 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9410 replaced by `tramp-get-inline-coding'.
9411 (tramp-handle-file-local-copy, tramp-handle-write-region)
9412 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9414 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9417 Remove unused functions.
9419 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9420 Set find-tag-default-function as a variable rather than a property.
9422 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9423 * progmodes/etags.el (tags-completion-at-point-function):
9424 Remove left over interactive spec. Add autoloading stub.
9425 (complete-tag): Use tags-completion-at-point-function.
9427 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9429 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9431 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9433 * ido.el (ido-init-completion-maps): Remove C-v binding.
9434 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9436 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9438 * minibuffer.el (tags-completion-at-point-function): New function.
9439 (completion-at-point-functions): Use it.
9441 * progmodes/etags.el (complete-tag): Revert last change.
9443 2010-04-29 Alan Mackenzie <acm@muc.de>
9445 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9446 off-by-one error (in end of macro position).
9448 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9451 firefox is absent. Don't autoload.
9452 (browse-url-galeon-program): Don't autoload.
9454 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9456 * bindings.el (complete-symbol): Move into minibuffer.el.
9458 * minibuffer.el (complete-tag): Move from etags.el. If tags
9459 completion cannot be performed, return nil instead of signalling
9461 (completion-at-point): Make it an alias for complete-symbol.
9462 (complete-symbol): Move from bindings.el, and replace with the
9463 body of completion-at-point.
9465 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9467 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9469 * net/tramp.el (tramp-remote-selinux-p): New defun.
9470 (tramp-handle-file-selinux-context)
9471 (tramp-handle-set-file-selinux-context): Use it.
9473 2010-04-28 Sam Steingold <sds@gnu.org>
9475 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9476 `safe-local-variable' if the value is a string or a symbol with
9477 the property `bug-reference-url-format'.
9479 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9481 * progmodes/bug-reference.el (bug-reference-url-format):
9482 Revert 2010-04-27 change due to security risk.
9484 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9486 Make it possible to locally disable a globally enabled mode.
9487 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9488 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9489 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9491 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9492 that subsequent hooks get a chance to disable it.
9494 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9497 Avoid re-enabling a minor mode after the user turned the minor mode
9498 off if MODE-enable-in-buffers is run twice (typically once from
9499 fundamental-mode's after-change-major-mode-hook and a second time from
9500 run-mode-hook's own after-change-major-mode-hook).
9502 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9504 2010-04-27 Sam Steingold <sds@gnu.org>
9506 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9507 `safe-local-variable' if the value is a string or a function, as
9508 documented and implemented on 2010-04-02.
9510 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9512 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9513 when method is 'kill.
9515 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9517 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9518 condition in default directory check.
9519 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9520 Kill ispell process when killing its associated buffer.
9522 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9524 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9525 but we aren't using it.
9527 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9529 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9530 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9532 2010-04-24 Glenn Morris <rgm@gnu.org>
9534 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9535 Ignore VCS-ignore files, and deleted nextstep preferences files.
9536 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9537 (authors-ambiguous-files): New list.
9538 (authors-valid-file-names): Add some deleted files.
9539 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9540 (authors-disambiguate-file-name): New function. (Bug#5501)
9541 (authors-canonical-file-name): Doc fix.
9542 Don't warn about obsolete files.
9543 (authors-canonical-file-name, authors-scan-el):
9544 Use authors-disambiguate-file-name.
9546 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9547 Add autoload cookies.
9548 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9549 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9550 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9551 They have definitions / compiler macros in cl.el.
9552 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9553 Replace manual autoloads with generated ones.
9554 (htmlfontify-unload-rgb-file): Remove autoload.
9555 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9557 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9559 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9560 (byte-compile-setq-default): Optimize for the
9561 single-var case and don't call byte-compile-form in this case to avoid
9562 inf-loop with byte-compile-set-default.
9564 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9566 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9568 Implement SELINUX backends.
9570 * net/tramp.el (tramp-file-name-handler-alist):
9571 Add `file-selinux-context' and `set-file-selinux-context'.
9572 (tramp-handle-file-selinux-context)
9573 (tramp-handle-set-file-selinux-context): New defuns.
9574 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9575 Handle PRESERVE-SELINUX-CONTEXT.
9577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9578 Add `file-selinux-context' and `set-file-selinux-context'.
9579 (tramp-gvfs-handle-file-selinux-context)
9580 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9581 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9583 * net/ange-ftp.el (ange-ftp-copy-file):
9584 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9585 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9586 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9587 Add PRESERVE-SELINUX-CONTEXT.
9589 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9591 Synchronize with Tramp repository.
9593 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9594 (tramp-action-process-alive, tramp-action-out-of-band)
9595 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9596 (tramp-exists-file-name-handler): Fix docstring.
9597 (with-progress-reporter): New defmacro.
9598 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9599 (tramp-maybe-open-connection): Use it.
9601 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9603 Detect ssh 'ControlMaster' argument automatically in some cases.
9605 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9606 (tramp-default-method): Use it.
9608 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9610 * net/tramp.el (tramp-handle-copy-file): Add new optional
9611 parameter `preserve-selinux-context'.
9612 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9614 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9616 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9617 Ensure, that non remote files are still checked. Oops.
9619 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9623 * icomplete.el (icomplete-completions): Use `non-essential'.
9625 * net/tramp.el (tramp-connectable-p): New defun.
9626 (tramp-handle-expand-file-name)
9627 (tramp-completion-handle-file-name-all-completions)
9628 (tramp-completion-handle-file-name-completion): Use it.
9630 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9632 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9634 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9636 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9638 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9640 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9643 * info.el (info-tool-bar-map): Add labels.
9645 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9647 * cus-edit.el (custom-commands): Add labels for tool bar.
9648 (custom-buffer-create-internal, Custom-mode): Adjust for
9649 labels in custom-commands.
9651 * dynamic-setting.el: Renamed from font-setting.el.
9653 2010-04-21 John Wiegley <jwiegley@gmail.com>
9655 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9656 toggles the use of virtual buffers.
9657 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9658 (ido-toggle-virtual-buffers): New function.
9660 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9662 Use `define-derived-mode'; fix window selection; doc fixes.
9663 * play/tetris.el (tetris, tetris-update-speed-function)
9664 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9665 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9666 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9667 (tetris-pause-game): Fix typos in docstrings.
9668 (tetris-mode-map, tetris-null-map):
9669 Move initialization into declaration.
9670 (tetris-mode): Define with `define-derived-mode';
9671 set show-trailing-whitespace to nil.
9672 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9674 2010-04-21 Karel Klíč <kklic@redhat.com>
9676 * files.el (backup-buffer): Handle SELinux context, and return it
9677 if a backup was made by renaming.
9678 (backup-buffer-copy): Set SELinux context to the target file.
9679 (basic-save-buffer): Set SELinux context of the newly written file.
9680 (basic-save-buffer-1): Now it also returns any SELinux context.
9681 (basic-save-buffer-2): Set SELinux context of the newly created file,
9683 * net/tramp.el (tramp-file-name-for-operation):
9684 Add file-selinux-context.
9686 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9688 Make the log-edit comments use RFC822 format throughout.
9690 * vc.el (vc-checkin, vc-modify-change-comment):
9691 Adjust to new vc-start/finish-logentry.
9692 (vc-find-conflicted-file): New command.
9693 (vc-transfer-file): Adjust to new vc-checkin.
9694 (vc-next-action): Improve scoping.
9696 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9697 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9699 * vc-git.el (vc-git-log-edit-mode): Remove.
9700 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9701 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9703 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9704 (vc-start-logentry): Remove argument `extra'.
9705 (vc-finish-logentry): Remove extra args.
9707 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9708 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9709 (vc-bzr-conflicted-files): New function.
9711 * log-edit.el (log-edit-extra-flags)
9712 (log-edit-before-checkin-process): Remove.
9713 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9714 (log-edit-headers-alist): New var.
9715 (log-edit-header-contents-regexp): New const.
9716 (log-edit-match-to-eoh): New function.
9717 (log-edit-font-lock-keywords): Use them.
9718 (log-edit): Insert a "Summary:" header as default.
9719 (log-edit-mode): Mark font-lock rules as case-insensitive.
9720 (log-edit-done): Cleanup headers.
9721 (log-view-process-buffer): Remove.
9722 (log-edit-extract-headers): New function to replace it.
9724 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9726 * subr.el (default-direction-reversed): Remove obsolescence info.
9728 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9733 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9734 I.e. include text after point in the completion region.
9735 Also, return nil when we're not after/in a symbol.
9737 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9738 default enable-multibyte-characters.
9740 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9742 * international/mule.el: Help the user choose a valid coding-system.
9743 (read-buffer-file-coding-system): New function.
9744 (set-buffer-file-coding-system): Use it. Prompt the user if the
9745 coding-system cannot encode all the chars.
9747 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9748 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9749 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9750 Don't use *vc-bzr-shelve*.
9752 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9754 Fix the version number for added files.
9755 * vc-hg.el (vc-hg-working-revision): Check if the file is
9756 registered after hg parent fails (Bug#5961).
9758 2010-04-19 Glenn Morris <rgm@gnu.org>
9760 * htmlfontify.el (htmlfontify-buffer)
9761 (htmlfontify-copy-and-link-dir): Autoload entry points.
9763 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9765 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9766 name relative to the project root (Bug#5960).
9768 2010-04-19 Glenn Morris <rgm@gnu.org>
9770 * vc-git.el (vc-git-print-log): Doc fix.
9772 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9774 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9776 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9778 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9779 default settings (Bug#5928).
9781 2010-04-19 Glenn Morris <rgm@gnu.org>
9783 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9785 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9787 2010-04-19 Kenichi Handa <handa@m17n.org>
9789 * language/indian.el (malayalam-composable-pattern): Fix previous
9790 change (add U+0D4D "SIGN VIRAMA").
9791 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9792 (tamil-composable-pattern): Fix typo in the regexp.
9793 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9794 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9795 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9797 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9799 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9800 paragraph-separate (Bug#5821).
9802 2010-04-19 Juri Linkov <juri@jurta.org>
9804 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9806 * info.el (Info-find-node-2): Comment out code that skips
9808 (Info-mouse-follow-link): New command.
9809 (Info-link-keymap): New keymap.
9810 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9811 Return a string with links instead of inserting breadcrumbs
9813 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9814 Instead of putting the `invisible' text property over the Info
9815 header, make an overlay over the Info header with the `invisible'
9816 property and `after-string' set to the string returned by
9819 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9821 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9822 Reported by monkey@sandpframing.com.
9824 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9827 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9828 available in the "keyseq cache" any more.
9830 * custom.el (defcustom): Add edebug spec.
9832 2010-04-18 Juri Linkov <juri@jurta.org>
9834 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9836 * view.el (view-file, view-buffer): Move test for special mode-class
9837 from view-file to view-buffer.
9839 * tar-mode.el (tar-extract): Turn if's into one cond
9840 like in arc-mode.el.
9842 2010-04-18 Juri Linkov <juri@jurta.org>
9844 Add 7z archive format support (bug#5475).
9846 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9847 (archive-7z-extract): New defcustom.
9848 (archive-find-type): Add magic string for 7z.
9849 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9850 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9851 `buffer' arg of `call-process'.
9852 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9853 call the function `archive-7z-extract' with the variable
9854 `archive-7z-extract' let-bound to `archive-zip-extract'.
9855 (archive-7z-summarize, archive-7z-extract): New functions.
9857 * international/mule.el (auto-coding-alist):
9858 * files.el (auto-mode-alist): Add 7z file extension.
9860 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * loadup.el: Setup hash-cons for pure data.
9864 Fix duplicate entries in cedet's loaddefs.el files.
9865 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9866 Should make most file-local generated-autoload-file unnecessary.
9867 (print-readably): Silence warnings.
9868 (autoload-find-destination): Take load-name as an arg to make sure
9869 it's the same as the one that will be in the file.
9870 (autoload-generate-file-autoloads): Adjust to above changes.
9871 Try to make the dataflow a bit simpler.
9873 * cvs-status.el (cvs-refontify): Remove unused.
9875 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9877 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9879 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9880 twos-complement mode.
9882 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9884 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9885 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9886 (calc-inverse): Add "Option" to message, as appropriate.
9887 (calc-hyperbolic): Add "Option" to message, as appropriate.
9888 (calc-option, calc-is-option): New functions.
9890 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9891 (calc-option-prefix-help): New function.
9893 * calc/calc-misc.el (calc-help): Add "Option" entry.
9895 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9896 (calc-option-flag): New variable.
9897 (calc-do): Set `calc-option-flag to nil.
9898 (calc-set-mode-line): Add "Opt " as appropriate.
9900 2010-04-16 Juri Linkov <juri@jurta.org>
9902 Move scrolling commands from simple.el to window.el
9903 because their primitives are implemented in window.c.
9905 * simple.el (scroll-error-top-bottom)
9906 (scroll-up-command, scroll-down-command, scroll-up-line)
9907 (scroll-down-line, scroll-other-window-down)
9908 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9909 * window.el (scroll-error-top-bottom)
9910 (scroll-up-command, scroll-down-command, scroll-up-line)
9911 (scroll-down-line, scroll-other-window-down)
9912 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9913 Move from simple.el to window.el because their primitives are
9914 implemented in window.c.
9916 2010-04-16 Juri Linkov <juri@jurta.org>
9918 * isearch.el (isearch-lookup-scroll-key): Check both
9919 `isearch-scroll' and `scroll-command' properties.
9920 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9922 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9924 * simple.el (scroll-up-command, scroll-down-command)
9925 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9927 2010-04-15 Juri Linkov <juri@jurta.org>
9929 * simple.el (scroll-up-command, scroll-down-command)
9930 (scroll-up-line, scroll-down-line): Put `scroll-command'
9931 property on the these symbols. Remove them from
9932 `scroll-preserve-screen-position-commands'.
9934 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9935 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9936 Remove it from `scroll-preserve-screen-position-commands'.
9938 * isearch.el (isearch-allow-scroll): Doc fix.
9940 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9942 * net/tramp.el (tramp-error-with-buffer): Don't show the
9943 connection buffer when we are in completion mode.
9944 (tramp-file-name-handler): Catch the error for some operations
9945 when we are in completion mode. This gives the user the chance to
9946 correct the file name in the minibuffer.
9948 2010-04-15 Glenn Morris <rgm@gnu.org>
9950 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9952 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9954 Simplify by using `define-derived-mode'.
9955 * info.el (Info-mode):
9956 * calendar/todo-mode.el (todo-mode):
9957 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9958 (gomoku-mode-map): Move initialization into declaration.
9960 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9963 * ido.el (ido-file-name-all-completions-1):
9964 * minibuffer.el (minibuffer-completion-help):
9965 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9967 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9969 * simple.el (non-essential): New var.
9971 Add a new field `location' to bookmarks for non-file bookmarks.
9972 * bookmark.el (bookmark-location): Use the new field, if present.
9973 (bookmark-insert-location): Undo last change, not needed any more.
9974 * man.el (Man-bookmark-make-record):
9975 * woman.el (woman-bookmark-make-record): Add `location' field.
9977 2010-04-14 Juri Linkov <juri@jurta.org>
9979 * simple.el (scroll-error-top-bottom): New defcustom.
9980 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9982 * emulation/pc-select.el (pc-select-override-scroll-error):
9983 Obsolete in favor of `scroll-error-top-bottom'.
9985 2010-04-14 Juri Linkov <juri@jurta.org>
9987 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9988 `scroll-up-command' and `M-v' to `scroll-down-command'.
9990 * emulation/cua-rect.el (cua--init-rectangles):
9991 * forms.el (forms--change-commands):
9992 * image-mode.el (image-mode-map):
9993 Remap scroll-down-command and scroll-up-command
9994 in addition to scroll-down and scroll-up.
9996 2010-04-14 Juri Linkov <juri@jurta.org>
9998 * mwheel.el (scroll-preserve-screen-position-commands):
9999 Add mwheel-scroll to this list of commands.
10001 * simple.el (scroll-preserve-screen-position-commands):
10002 Add scroll-up-command, scroll-down-command, scroll-up-line,
10003 scroll-down-line to this list of commands.
10005 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * obsolete/complete.el: Move from lisp/complete.el.
10009 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10011 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10012 to the minor mode function now turns the mode ON unconditionally.
10014 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * vc-dir.el (vc-dir-kill-line): New command.
10017 (vc-dir-mode-map): Bind it to C-k.
10019 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10021 * woman.el: Add bookmark declarations to silence the compiler.
10022 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10023 step to compatibility between man and woman bookmarks.
10024 Adjust for Man-default-bookmark-title renaming.
10025 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10027 * man.el: Add bookmark declarations to silence the compiler.
10028 (Man-name-local-regexp): Make it match NAME as well.
10029 (Man-getpage-in-background): Return the buffer.
10030 (Man-notify-when-ready): Use `case'.
10031 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10032 Don't hardcode "NAME". Simplify.
10033 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10034 Rename from Man-bookmark-make-record.
10035 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10036 we have the actual man-args. Use Man-getpage-in-background rather
10037 than `man' since the arg is already processed. Let bookmark.el do the
10038 window handling. Only wait for the relevant process.
10039 Don't forget to autoload.
10041 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10043 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10045 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10047 (woman-mode): Setup bookmark support.
10049 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10050 (man-bookmark-jump): New functions.
10051 (Man-mode): Setup bookmark support.
10053 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10055 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10056 recognize ssh-keygen prompt (Bug#2817).
10058 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10060 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10062 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10064 Synchronize with Tramp repository.
10066 * net/tramp.el (tramp-completion-function-alist)
10067 (tramp-file-name-regexp, tramp-chunksize)
10068 (tramp-local-coding-commands, tramp-remote-coding-commands):
10070 (tramp-remote-process-environment): Use `format' instead of `concat'.
10071 (tramp-handle-directory-files-and-attributes)
10072 (tramp-get-remote-path): Use `copy-tree'.
10073 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10074 compatibility: Use `completion-ignore-case' if
10075 `read-file-name-completion-ignore-case' does not exist.
10076 (tramp-do-copy-or-rename-file-directly): Do not use
10077 `tramp-handle-file-remote-p'.
10078 (tramp-do-copy-or-rename-file-out-of-band):
10079 Use `tramp-compat-delete-directory'.
10080 (tramp-do-copy-or-rename-file-out-of-band)
10081 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10082 Use `format-spec-make'.
10083 (tramp-find-foreign-file-name-handler)
10084 (tramp-advice-make-auto-save-file-name)
10085 (tramp-set-auto-save-file-modes): Remove superfluous check for
10086 `stringp'. This is done inside `tramp-tramp-file-p'.
10087 (tramp-debug-outline-regexp): New defconst.
10088 (tramp-get-debug-buffer): Use it.
10089 (tramp-check-for-regexp): Use (forward-line 1).
10090 (tramp-set-auto-save-file-modes): Adapt version check.
10092 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10093 Wrap call of `featurep' for 2nd argument.
10094 (tramp-compat-make-temp-file): Simplify fallback implementation.
10095 (tramp-compat-copy-tree): Remove function.
10096 (tramp-compat-delete-directory): Provide implementation for older
10099 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10100 Do not use `tramp-fish-handle-file-attributes.
10102 * net/trampver.el: Update release number.
10104 2010-04-10 Glenn Morris <rgm@gnu.org>
10106 * progmodes/compile.el (compilation-save-buffers-predicate):
10107 Add missing :version tag.
10109 2010-04-09 Sam Steingold <sds@gnu.org>
10111 * progmodes/compile.el (compilation-save-buffers-predicate):
10112 Remove the "autoload" cookie.
10114 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10115 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10116 and `bug-reference-prog-mode' can be used in hooks directly.
10118 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10120 Add --author support to git commit.
10121 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10122 (vc-git-log-edit-mode): New minor mode.
10123 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10126 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10128 * vc-hooks.el, vc-git.el: Improve documentation comments.
10130 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10132 Fix some of the problems in defsubst* (bug#5728).
10133 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10134 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10136 2010-04-07 Sam Steingold <sds@gnu.org>
10138 * progmodes/compile.el (compilation-save-buffers-predicate):
10139 New custom variable.
10140 (compile, recompile): Pass it to `save-some-buffers'.
10142 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10144 * wid-edit.el (widget-choose): Move cursor to the second line of
10145 the buffer (Bug#5695).
10147 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10149 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10150 * vc.el (vc-print-log-setup-buttons): New function split out from
10151 vc-print-log-internal.
10152 (vc-log-internal-common): New function, a parametrized version of
10153 vc-print-log-internal.
10154 (vc-print-log-internal): Just call vc-log-internal-common with the
10156 (vc-incoming-outgoing-internal):
10157 (vc-log-incoming, vc-log-outgoing): New functions.
10158 (vc-log-view-type): New permanent local variable.
10160 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10162 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10163 of the dynamic bound vc-short-log.
10164 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10166 * vc-git.el (vc-git-log-outgoing): New function.
10167 (vc-git-log-view-mode): Use vc-log-view-type instead
10168 of the dynamic bound vc-short-log.
10170 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10171 of the dynamic bound vc-short-log. Highlight the tag.
10172 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10173 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10174 (vc-hg-incoming-mode): Remove.
10175 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10177 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10179 Fix default-directory for vc-root-diff.
10180 * vc.el (vc-root-diff): Bind default-directory to the root
10181 directory for the diff command.
10183 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10185 * progmodes/verilog-mode.el (verilog-forward-sexp):
10186 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10187 word keywords, suggested by Steve Pearlmutter.
10188 (verilog-pretty-declarations): Support lineup of declarations in
10190 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10191 fix bug for /* / comments.
10192 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10193 Speed up and simplfy as this is never called with a bound.
10194 (verilog-pretty-declarations): Enhance to line up declarations
10195 inside a parameter list, suggested by Alan Morgan.
10196 (verilog-pretty-expr): Tune assignment regular expression match
10197 string for corner cases; also use markers instead of character
10198 number as indent changes the later.
10200 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10202 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10203 as missing keyword.
10204 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10205 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10206 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10207 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10209 (verilog-keywords):
10210 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10211 1800-2009 keywords, including "global.".
10213 2010-04-06 John Wiegley <jwiegley@gmail.com>
10215 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10216 appearing in buffer list (if a live buffer name matched a recentf
10217 file basename). Should use uniquify to offer a real solution.
10219 2010-04-06 John Wiegley <jwiegley@gmail.com>
10221 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10222 comment to code, and add a :version tag.
10223 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10225 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10227 Enable recentf-mode if using virtual buffers.
10228 * ido.el (recentf-list): Declare for byte-compiler.
10229 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10230 (ido-make-buffer-list): Simplify.
10231 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10233 2010-04-05 Juri Linkov <juri@jurta.org>
10235 Scrolling commands which scroll a line instead of full screen.
10236 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10238 * simple.el (scroll-up-line, scroll-down-line): New commands.
10239 Put property isearch-scroll=t on them.
10241 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10244 2010-04-05 Juri Linkov <juri@jurta.org>
10246 Scrolling commands which do not signal errors at top/bottom.
10247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10249 * simple.el (scroll-up-command, scroll-down-command): New commands.
10250 Put property isearch-scroll=t on them.
10252 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10253 `scroll-down-command' and [next] from `scroll-up' to
10254 `scroll-up-command'.
10256 * emulation/cua-base.el: Put property CUA=move on
10257 `scroll-up-command' and `scroll-down-command'.
10258 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10259 and `scroll-down-command' to `cua-scroll-down'.
10261 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10263 * help.el (describe-mode): Return nil.
10265 2010-04-04 John Wiegley <jwiegley@gmail.com>
10267 * ido.el (ido-use-virtual-buffers): New variable to indicate
10268 whether "virtual buffer" support is enabled for IDO.
10269 (ido-virtual): Face used to indicate virtual buffers in the list.
10270 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10271 exists, but a virtual buffer of that name does (which would be why
10272 it was in the list), recreate the buffer by reopening the file.
10273 (ido-make-buffer-list): If virtual buffers are being used, call
10274 `ido-add-virtual-buffers-to-list' before the make list hook.
10275 (ido-virtual-buffers): New variable which contains a copy of the
10276 current contents of the `recentf-list', albeit pared down for the
10277 sake of speed, and with proper faces applied.
10278 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10279 create a list of "virtual buffers" to present to the user in
10280 addition to the currently open set. Note that this logic could
10281 get rather slow if that list is too large. With the default
10282 `recentf-max-saved-items' of 200, there is little speed penalty.
10284 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * font-lock.el: Require CL when compiling.
10287 (font-lock-turn-on-thing-lock): Use `case'.
10289 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10291 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10294 2010-04-02 Juri Linkov <juri@jurta.org>
10296 * ehelp.el (electric-help-orig-major-mode):
10297 New buffer-local variable.
10298 (electric-help-mode): Set it to original major-mode. Doc fix.
10299 (with-electric-help): Use `electric-help-orig-major-mode' instead
10300 of (default-value 'major-mode). Doc fix.
10301 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10303 2010-04-02 Sam Steingold <sds@gnu.org>
10305 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10306 `vc-hg-command' with a list of flags.
10308 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10309 Also accept "patch" and "RFE".
10310 (bug-reference-fontify): `bug-reference-url-format' can also be a
10311 function to be able to handle the bug kind.
10312 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10314 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10316 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10317 value to fboundp, it may not be a symbol.
10319 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10321 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10323 2010-03-31 Juri Linkov <juri@jurta.org>
10325 * simple.el (next-line, previous-line): Re-throw a signal
10326 with `signal' instead of using `ding'.
10327 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10329 2010-03-31 Juri Linkov <juri@jurta.org>
10331 * simple.el (keyboard-escape-quit): Raise deselecting the active
10332 region higher than exiting the minibuffer.
10333 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10335 2010-03-31 Juri Linkov <juri@jurta.org>
10337 * image.el (image-animated-p): Use `image-metadata' instead of
10338 `image-extension-data'. Get GIF extenstion data from metadata
10339 property `extension-data'.
10341 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * simple.el (append-to-buffer): Simplify.
10345 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10347 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10348 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10350 2010-03-31 Kenichi Handa <handa@m17n.org>
10352 * language/sinhala.el (composition-function-table): Fix regexp for
10353 the new Unicode specification.
10355 * language/indian.el (devanagari-composable-pattern)
10356 (tamil-composable-pattern, kannada-composable-pattern)
10357 (malayalam-composable-pattern): Adjust for the new Unicode
10359 (bengali-composable-pattern, gurmukhi-composable-pattern)
10360 (gujarati-composable-pattern, oriya-composable-pattern)
10361 (telugu-composable-pattern): New variables to cope with the new
10362 Unicode specification. Use them in composition-function-table.
10364 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10366 Make tmm-menubar work for the Buffers menu again (bug#5726).
10367 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10368 vectors rather than cons cells, as used in menu-bar-update-buffers.
10370 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10372 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10373 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10374 electric punctuation for "{}();,:" (Bug#5586).
10376 * mail/sendmail.el (mail-default-directory): Doc fix.
10378 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10380 * mail/sendmail.el (mail-default-directory): Doc fix.
10382 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10384 * subr.el (version-regexp-alist, version-to-list)
10385 (version-list-<, version-list-=, version-list-<=)
10386 (version-list-not-zero, version<, version<=, version=): Doc fix.
10389 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10391 * vc.el (vc-root-diff): Doc fix.
10393 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10395 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10397 * simple.el (append-to-buffer): Fix last change.
10399 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10401 * simple.el (append-to-buffer): Ensure that point is preserved if
10402 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10405 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * files.el (auto-mode-case-fold): Change default to t.
10409 2010-03-30 Juri Linkov <juri@jurta.org>
10411 * dired-x.el (dired-omit-mode): Doc fix.
10413 2010-03-30 Juri Linkov <juri@jurta.org>
10415 * replace.el (occur-accumulate-lines): Move occur-engine related
10416 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10417 to be located after `occur-engine'.
10419 2010-03-30 Juri Linkov <juri@jurta.org>
10421 Make occur handle multi-line matches cleanly with context.
10422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10424 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10425 (occur-engine): Add local variables `ret', `prev-after-lines',
10426 `prev-lines'. Use more arguments for `occur-context-lines'.
10427 Set first elem of its returned list to `data', and the second elem
10428 to `prev-after-lines'. Don't print the separator line.
10429 In the end, print remaining context after-lines.
10430 (occur-context-lines): Add new arguments `begpt', `endpt',
10431 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10432 after-lines of the previous match with before-lines of the
10433 current match and not overlap them. Return a list with two
10434 values: the output line and the list of context after-lines.
10436 2010-03-30 Juri Linkov <juri@jurta.org>
10438 * replace.el (occur-accumulate-lines): Fix a bug where the first
10439 context line at the beginning of the buffer was missing.
10441 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10443 * files.el: Make bidi-display-reordering safe variable for boolean
10446 2010-03-29 Phil Hagelberg <phil@evri.com>
10447 Chong Yidong <cyd@stupidchicken.com>
10449 * subr.el: Extend progress reporters to perform "spinning".
10450 (progress-reporter-update, progress-reporter-do-update):
10451 Handle non-numeric value arguments.
10452 (progress-reporter--pulse-characters): New var.
10454 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10456 * progmodes/compile.el (compilation-start): Fix regexp detection
10457 of initial cd command (Bug#5771).
10459 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10461 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10463 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10465 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10466 * progmodes/gdb-mi.el: Restore.
10467 * progmodes/gdb-ui.el: Remove.
10468 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10470 2010-03-25 Glenn Morris <rgm@gnu.org>
10472 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10473 all dired buffers, even tramp ones. (Bug#5755)
10475 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10477 Add "union tags" in mpc.el.
10478 * mpc.el: Remove backward compatibility code.
10479 (mpc-browser-tags): Change default.
10480 (mpc--find-memoize-union-tags): New var.
10481 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10482 (mpc-cmd-find): Handle the case where the playlist does not exist.
10484 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10485 (mpc-cmd-add): Use mpc-cmd-flush.
10486 (mpc-tagbrowser-tag-name): New fun.
10487 (mpc-tagbrowser-buf): Use it.
10488 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10490 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10493 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10494 Use replace-regexp-in-string.
10495 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10496 (makefile-imake-mode-syntax-table): Move init into defvar.
10497 (makefile-mode): Use define-derived-mode.
10499 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10500 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10501 not be present any more.
10503 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10505 * faces.el (set-face-attribute): Fix typo in docstring.
10506 (face-valid-attribute-values): Reflow docstring.
10508 2010-03-24 Glenn Morris <rgm@gnu.org>
10510 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10512 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10514 * indent.el (indent-for-tab-command): Doc fix.
10516 2010-03-24 Alan Mackenzie <acm@muc.de>
10518 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10519 Fix off-by-one error. Fixes bug #5747.
10521 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10523 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10524 (image-dired-read-comment): Doc fix.
10526 * json.el (json-object-type, json-array-type, json-key-type)
10527 (json-false, json-null, json-read-number):
10528 * minibuffer.el (completion-in-region-functions):
10529 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10530 (cal-tex-cursor-week):
10531 * emacs-lisp/trace.el (trace-function):
10532 * eshell/em-basic.el (eshell/printnl):
10533 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10534 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10535 * obsolete/levents.el (allocate-event, event-key, event-object)
10536 (event-point, event-process, event-timestamp, event-to-character)
10537 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10538 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10539 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10540 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10541 (reftex-highlight-selection): Fix typos in docstrings.
10543 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10545 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10547 2010-03-24 Glenn Morris <rgm@gnu.org>
10549 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10550 2008-02-13 without comment; mark it obsolete.
10551 (rmail-highlight-headers): Use rmail-highlight-face once more.
10553 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10555 * woman.el (woman2-process-escapes): Only consume the newline if
10556 the filler character is on a line by itself (Bug#5729).
10558 2010-03-24 Kenichi Handa <handa@m17n.org>
10560 * language/indian.el (devanagari-composable-pattern): Add more
10563 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10565 * net/trampver.el: Update release number.
10567 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10569 * net/tramp.el (tramp-find-executable):
10570 Use `tramp-get-connection-buffer'. Make the regexp for checking
10571 output of "wc -l" more robust.
10572 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10573 (tramp-open-connection-setup-interactive-shell): Remove workaround
10574 for OpenSolaris bug, it is not needed anymore.
10576 2010-03-24 Glenn Morris <rgm@gnu.org>
10578 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10580 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10582 * files.el (auto-mode-alist): Accept more verilog file patterns.
10584 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10588 2010-03-24 Glenn Morris <rgm@gnu.org>
10590 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10591 log-edit-before-checkin-process.
10593 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10595 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10597 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10598 (log-view-process-buffer, log-edit-extra-flags): Declare.
10600 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10602 2010-03-23 Sam Steingold <sds@gnu.org>
10604 Fix bug#5620: recalculate all markers on compilation buffer
10605 modifications, not on file modifications.
10606 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10607 variable: the buffer modification time, for buffers not associated with
10609 (compilation-mode): Create it.
10610 (compilation-filter): Update it.
10611 (compilation-next-error-function): Use it instead of
10612 `visited-file-modtime' for timestamp.
10614 2010-03-23 Juri Linkov <juri@jurta.org>
10616 Implement Occur multi-line matches.
10617 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10619 * replace.el (occur): Doc fix.
10620 (occur-engine): Set `begpt' to the beginning of the first line.
10621 Set `endpt' to the end of the last match line. At first, count
10622 line numbers between `origpt' and `begpt'. Split out code from
10623 `out-line' variable to new let-bindings `match-prefix' and
10624 `match-str'. In `out-line' add non-numeric prefix to all
10625 non-first lines of multi-line matches. Finally, count lines
10626 between `begpt' and `endpt' and add to `lines'.
10628 2010-03-23 Juri Linkov <juri@jurta.org>
10630 * replace.el (occur-accumulate-lines, occur-engine):
10631 Use `occur-engine-line' instead of duplicate code.
10632 (occur-engine-line): New function created from duplicate code
10633 in `occur-accumulate-lines' and `occur-engine'.
10635 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10636 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10638 2010-03-23 Juri Linkov <juri@jurta.org>
10640 * finder.el: Remove TODO tasks.
10642 * info.el (Info-finder-find-node): Add node "all"
10643 with all package info. Handle a list of multiple keywords
10644 separated by comma.
10645 (info-finder): In interactive use with a prefix argument,
10646 use `completing-read-multiple' to read a list of keywords
10647 separated by comma.
10649 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10651 Add a new completion style `substring'.
10652 * minibuffer.el (completion-basic--pattern): New function.
10653 (completion-basic-try-completion, completion-basic-all-completions):
10655 (completion-substring--all-completions)
10656 (completion-substring-try-completion)
10657 (completion-substring-all-completions): New functions.
10658 (completion-styles-alist): New style `substring'.
10660 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10662 Get rid of .elc files after removal of the corresponding .el.
10663 * Makefile.in (compile-clean): New target.
10664 (compile-main): Use it.
10666 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10668 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10669 don't do make there. When compiling with separate object dir, there
10670 is no Makefile there.
10672 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10674 Get rid of the ELCFILES abomination, again.
10675 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10676 (all, compile): Don't call compile-last.
10677 (compile-main): Build the "elcfiles" list dynamically.
10678 (compile-targets): New (internal) target.
10680 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10682 * Makefile.in (top_srcdir): Define.
10683 (abs_top_builddir): Define.
10684 (srcdir): Don't append `/..'.
10685 (EMACS): Use ${abs_top_builddir}.
10686 (all, compile, compile-always, compile-last): Don't set emacswd.
10687 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10689 (lisp): Use $(srcdir) instead of @srcdir@.
10691 2010-03-21 Juri Linkov <juri@jurta.org>
10693 Fix message of multi-line occur regexps and multi-buffer header lines.
10694 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10696 * replace.el (occur-1): Don't display regexp if it is longer
10697 than window-width. Use `query-replace-descr' to display regexp.
10698 (occur-engine): Don't display regexp in the buffer header for
10699 multi-buffer occur. Display a separate header line with total
10700 match count and regexp for multi-buffer occur.
10701 Use `query-replace-descr' to display regexp.
10703 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10705 * net/secrets.el: Fix parenthesis.
10706 (secrets-enabled): Fix parenthesis.
10708 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10710 Use more relative file and directory names.
10711 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10712 (setwins, setwins_almost, setwins_for_subdirs):
10713 Don't `cd'; output relative names.
10714 (all, compile, compile-always, compile-last): Set emacswd.
10715 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10716 Just cd to the lisp source dir so we can use relative file names.
10718 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10720 2010-03-20 Glenn Morris <rgm@gnu.org>
10722 * textmodes/rst.el: Use faces for font-lock customization, and make the
10723 old -face variables obsolete.
10724 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10725 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10726 (rst-block-face, rst-external-face, rst-definition-face)
10727 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10728 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10730 (rst-font-lock-keywords-function): Update for above changes.
10732 2010-03-20 Juri Linkov <juri@jurta.org>
10735 * obsolete/s-region.el: Move to obsolete.
10737 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10739 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10741 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10743 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10745 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10747 Add special markup processing for commit logs.
10748 * log-edit.el (log-edit-extra-flags): New variable.
10749 (log-edit): Add new argument MODE. Use that mode when non-nil
10750 instead of the log-view-mode.
10751 (log-view-process-buffer): New function.
10753 * vc.el: Document that the checkin method takes optional
10754 arguments. Document new backend specific method: log-view-mode.
10755 (vc-default-log-edit-mode): New function.
10756 (vc-checkin): Use a backend specific log-view-mode.
10757 Pass extra arguments to the checkin method.
10758 (vc-modify-change-comment): Pass a dummy extra argument.
10760 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10762 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10763 (vc-finish-logentry): Process the log buffer before passing it
10764 down. Pass log-edit-extra-flags.
10766 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10768 (log-edit-extra-flags, log-edit-before-checkin-process):
10771 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10773 (log-edit-extra-flags, log-edit-before-checkin-process):
10775 (vc-hg-log-edit-mode): New derived mode.
10777 * vc-arch.el (vc-arch-checkin):
10778 * vc-cvs.el (vc-cvs-checkin):
10779 * vc-git.el (vc-git-checkin):
10780 * vc-mtn.el (vc-mtn-checkin):
10781 * vc-rcs.el (vc-rcs-checkin):
10782 * vc-sccs.el (vc-sccs-checkin):
10783 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10785 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10790 2010-03-19 Glenn Morris <rgm@gnu.org>
10792 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10794 2010-03-18 Glenn Morris <rgm@gnu.org>
10796 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10798 * replace.el (query-replace-history): Give it a doc string.
10799 (map-query-replace-regexp): Use query-replace-from-history-variable
10800 and query-replace-to-history-variable.
10802 * mail/hashcash.el (declare-function): Remove duplicate definition.
10804 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10805 Make it an obsolete alias for report-emacs-bug-address.
10806 (message-strip-special-text-properties): Declare.
10807 (report-emacs-bug): Remove test for a pretest bug address.
10808 Combine message-mode-specific code.
10810 * mail/supercite.el: Don't require sendmail.
10811 (mh-in-header-p): Declare rather than using with-no-warnings.
10812 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10813 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10815 * calendar/cal-french.el: Convert to utf-8.
10817 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10820 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10822 * net/secrets.el (secrets-enabled): New variable. Use it instead
10825 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10827 * net/secrets.el (top): Register the D-Bus signals only when the
10828 service "org.freedesktop.secrets" can be pinged.
10829 Provide subfeature `enabled'.
10831 2010-03-14 Juri Linkov <juri@jurta.org>
10833 Add finder unknown keywords.
10835 * finder.el (finder-unknown-keywords): New function.
10837 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10838 to create a Finder node with unknown keywords.
10840 2010-03-14 Juri Linkov <juri@jurta.org>
10842 * finder.el (finder-compile-keywords): Replace `princ' with
10843 `prin1' on a list of symbols interned from keyword strings.
10845 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10846 a comma, then split keywords using a comma and optional whitespace.
10847 Otherwise, split by whitespace.
10855 * progmodes/mixal-mode.el: Fix keywords.
10857 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10859 * Makefile.in (ELCFILES): Add net/secrets.elc.
10861 * net/secrets.el: New file.
10863 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10865 * facemenu.el (list-colors-display, list-colors-print): New arg
10866 callback. Use it to allow selecting colors.
10868 * wid-edit.el (widget-image-insert): Insert image prop even if the
10869 current display is non-graphic.
10870 (widget-field-value-set): New fun.
10871 (editable-field): Use it.
10872 (widget-field-value-get): Clean up unused var.
10873 (widget-color-value-create, widget-color--choose-action):
10874 New funs. Allow using list-colors-display to choose color.
10876 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10878 * cus-edit.el: Resort topmost custom groups.
10879 (custom-buffer-sort-alphabetically): Default to t.
10880 (customize-apropos): Use apropos-parse-pattern.
10881 (custom-search-field): New var.
10882 (custom-buffer-create-internal): Add custom-apropos search field.
10883 (custom-add-parent-links): Don't display parent doc.
10884 (custom-group-value-create): Don't sort top-level custom group.
10885 (custom-magic-value-create): Show visibility button before option name.
10887 (custom-variable-state): New fun, from custom-variable-state-set.
10888 (custom-variable-state-set): Use it.
10889 (custom-group-value-create): Hide options with standard values
10890 using the :hidden-states property. Use progress reporter.
10892 (custom-show): Simplify.
10893 (custom-visibility): Disable images by default.
10894 (custom-variable): New property :hidden-states.
10895 (custom-variable-value-create): Enable images for
10896 custom-visibility widgets. Use :hidden-states property to
10897 determine initial visibility.
10899 * wid-edit.el (widget-image-find): Give images center ascent.
10900 (visibility): Add :on-image and :off-image properties.
10901 (widget-visibility-value-create): Use them.
10903 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10905 * cus-edit.el (processes): Remove from development group.
10906 (oop, hypermedia): Delete group.
10907 (comm): Promote to top-level group.
10909 * net/browse-url.el (browse-url):
10910 * net/xesam.el (xesam):
10911 * net/tramp.el (tramp):
10912 * net/goto-addr.el (goto-address):
10913 * net/ange-ftp.el (ange-ftp): Put in comm group.
10915 * view.el (view): Remove from editing group.
10917 * uniquify.el (uniquify): Put in files group.
10919 * net/browse-url.el (browse-url):
10920 * ps-print.el (postscript): Put in external group.
10922 * cus-edit.el (outlines):
10923 * textmodes/text-mode.el (text-mode-hook):
10924 * textmodes/table.el (table):
10925 * textmodes/picture.el (picture):
10926 * outline.el (outlines): Put in wp group.
10928 * nxml/nxml-mode.el (nxml): Remove from wp group.
10930 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10932 * mail/metamail.el (metamail): Remove from hypermedia group.
10934 * cus-edit.el (abbrev):
10935 * whitespace.el (whitespace):
10936 * vcursor.el (vcursor):
10937 * reveal.el (reveal):
10938 * hl-line.el (hl-line): Put in convenience group.
10940 * epg-config.el (epg): Put in data group.
10942 * emulation/pc-select.el (pc-select): Put in emulations group.
10944 * calculator.el (calculator): Put in applications group.
10946 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10948 Add .dir-locals.el support for file-less buffers.
10949 * files.el (hack-local-variables): Split out code to apply local
10950 variable settings ...
10951 (hack-local-variables-apply): ... here. New function.
10952 (hack-dir-local-variables): Use the default directory for when the
10953 buffer does not have an associated file.
10954 (hack-dir-local-variables-non-file-buffer): New function.
10955 * diff-mode.el (diff-mode):
10956 * vc-annotate.el (vc-annotate-mode):
10957 * vc-dir.el (vc-dir-mode):
10958 * log-edit.el (log-edit-mode):
10959 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10961 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10963 Add support for shelving snapshots and for showing shelves.
10964 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10965 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10967 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10968 (vc-bzr-extra-menu-map): Map them.
10970 2010-03-11 Glenn Morris <rgm@gnu.org>
10972 * cus-edit.el (customize-changed-options-previous-release):
10975 * image.el (image-animate-max-time): Fix :version tag.
10977 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10981 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * vc-git.el (vc-git-revision-table): Include remote branches.
10985 2010-03-10 Kim F. Storm <storm@cua.dk>
10987 Animated image API.
10988 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10990 * image.el (image-animate-max-time): New defcustom.
10991 (image-animated-types): New defconst.
10992 (create-animated-image, image-animate-timer)
10993 (image-animate-start, image-animate-stop, image-animate-timeout)
10994 (image-animated-p): New functions.
10996 * image-mode.el (image-toggle-display-image):
10997 Replace `create-image' with `create-animated-image'.
10999 2010-03-09 Miles Bader <miles@gnu.org>
11001 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11002 instead of "format:"; this ensures that the output is
11003 newline-terminated.
11005 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11007 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11008 that all errors are caught, and that the return value is always a
11011 2010-03-08 Kenichi Handa <handa@m17n.org>
11013 * language/misc-lang.el (windows-1256): New coding system.
11014 (cp1256): New alias of windows-1256 (bug#5690).
11016 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11018 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11019 call to rfc822-bad-address. (Bug#5692)
11021 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11023 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11024 Use vc-git-root as default directory for revision path (Bug#5657).
11026 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11028 * calculator.el (calculator): Don't bind split-window-keep-point
11031 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11033 * vc-git.el: Re-flow to fit into 80 columns.
11034 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11035 Remove spurious `quote' element in each case alternative.
11036 (vc-git-show-log-entry): Use prog1.
11037 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11039 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11041 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11043 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11045 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11046 definition, not the name (Bug#5481).
11048 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11050 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11051 argument with a local variable. (Bug#5670)
11053 2010-03-02 Juri Linkov <juri@jurta.org>
11055 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11057 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11059 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11060 error when FILENAME and NEWNAME are existing remote directories.
11062 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11063 parameter DIR-FLAG.
11065 2010-03-02 Glenn Morris <rgm@gnu.org>
11067 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11068 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11070 2010-03-01 Kenichi Handa <handa@m17n.org>
11072 * language/burmese.el (burmese-composable-pattern): Rename from
11073 myanmar-composable-pattern.
11075 * international/characters.el (script-list):
11076 * international/fontset.el (script-representative-chars):
11077 Change myanmar to burmese.
11078 (otf-script-alist): Likewise.
11079 (setup-default-fontset): Likewise. Re-fix :otf spec.
11081 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11083 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11085 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11087 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11089 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11091 * net/tramp.el (tramp-handle-write-region): START can be a string.
11092 Take care in the checks. Reported by Dan Davison
11093 <davison@stats.ox.ac.uk>.
11095 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11097 * net/dbus.el (dbus-introspect, dbus-get-property)
11098 (dbus-set-property, dbus-get-all-properties):
11099 Use `dbus-call-method' when noninteractive. (Bug#5645)
11101 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11103 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11104 * emacs-lisp/elint.el (elint-add-required-env):
11105 * calendar/icalendar.el (icalendar--add-diary-entry):
11106 * calc/calcalg2.el (math-tracing-integral):
11107 * files.el (recover-session-finish): Use with-current-buffer
11108 instead of save-excursion.
11110 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11112 Fix in-buffer completion when after-change-functions modify the buffer.
11113 * minibuffer.el (completion--replace): New function.
11114 (completion--do-completion): Use it and use relative movement.
11116 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11118 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11120 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11122 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11123 Allow the characters _<> in the stack entry (Bug#5653).
11125 2010-02-26 Kenichi Handa <handa@m17n.org>
11127 * language/burmese.el: Fix entries in composition-function-table.
11128 (myanmar-composable-pattern): New variable.
11130 * international/fontset.el (setup-default-fontset): Add an entry
11133 * international/characters.el (script-list): Add Myanmar
11136 2010-02-26 Glenn Morris <rgm@gnu.org>
11138 * custom.el (custom-initialize-delay): Doc fix.
11140 * mail/sendmail.el (send-mail-function): Autoload the call
11141 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11143 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11145 * files.el (hack-local-variables-filter): For eval forms, also
11146 check safe-local-variable-p (Bug#5636).
11148 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11150 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11151 setting the modes by `ignore-errors'. It might fail, for example
11152 if the file is not owned by the user but the group.
11153 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11155 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11157 * files.el (directory-listing-before-filename-regexp):
11158 Use stricter matching for iso-style dates, to avoid false matches with
11159 date-like filenames (Bug#5597).
11161 * htmlfontify.el (htmlfontify): Doc fix.
11163 * eshell/eshell.el (eshell): Doc fix.
11165 * startup.el (fancy-about-screen): In mode-line, apply
11166 mode-line-buffer-id face only to the buffer name (Bug#5613).
11168 2010-02-20 Kevin Ryde <user42@zip.com.au>
11170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11171 In `watcom' anchor regexp to start of line, to avoid slowness
11174 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11176 * subr.el (remove-yank-excluded-properties): Explain in a comment
11177 why `category' property is removed.
11179 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11181 * isearch.el (isearch-update-post-hook, isearch-update):
11182 Revert 2010-02-17 change.
11184 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11186 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11187 (icalendar--convert-weekly-to-ical)
11188 (icalendar--convert-yearly-to-ical)
11189 (icalendar--convert-block-to-ical)
11190 (icalendar--convert-cyclic-to-ical)
11191 (icalendar--convert-anniversary-to-ical): Take care of time
11192 specifications where hour has 1-digit only (Bug#5549).
11194 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11196 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11197 of disassemble output in GDB 7.1.
11199 2010-02-19 Glenn Morris <rgm@gnu.org>
11201 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11202 property. (Bug#5593)
11204 2010-02-18 Sam Steingold <sds@gnu.org>
11206 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11208 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11210 Use abbreviated file names in bookmarks (bug#5591).
11211 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11212 calls to expand-file-name.
11213 (bookmark-relocate): Use abbreviated file names in bookmarks.
11214 (bookmark-load): Use abbreviated file names in messages.
11216 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11218 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11219 expand "." and "..". Reported by Thierry Volpiatto
11220 <thierry.volpiatto@gmail.com>.
11222 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11224 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11225 permissions of the temporary file to "0600". In case the remote
11226 file has no read permissions for the owner, there might be
11227 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11229 22010-02-18 Glenn Morris <rgm@gnu.org>
11231 * emacs-lisp/authors.el (authors-renamed-files-alist):
11232 Add entries for INSTALL.CVS.
11234 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11236 * vc-bzr.el: Fix typo in Known Bugs section.
11238 * isearch.el (isearch-update-post-hook): New hook.
11239 (isearch-update): Use the new hook.
11241 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11243 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11244 Fix errors in copying directories.
11245 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11246 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11247 (tramp-handle-delete-file)
11248 (tramp-handle-dired-recursive-delete-directory)
11249 (tramp-handle-write-region): Flush also the cache for the upper
11252 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11254 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11256 * cus-edit.el (hardware): Doc fix.
11258 * man.el (man): Add to external custom group.
11260 * delim-col.el (columns): Move to wp custom group.
11262 * doc-view.el (doc-view): Add to data custom group.
11264 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11266 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11267 by ispell-parse-output (Bug#5575).
11269 2010-02-16 Kenichi Handa <handa@m17n.org>
11271 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11272 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11273 (skkdic-convert): Use `euc-japan' coding system for writing.
11275 2010-02-16 Glenn Morris <rgm@gnu.org>
11277 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11278 tex-main-file before using it. (Bug#5562)
11280 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11282 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11283 warnings, since it is annoying for the user to see them each time he
11286 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11288 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11289 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11290 instead of PROC for caching "first-password-request". Otherwise,
11291 new processes would not profit from passwords already entered.
11293 * net/tramp-cache.el (tramp-dump-connection-properties):
11294 Don't save "first-password-request" property.
11296 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11298 * outline.el (outline-head-from-level):
11299 * simple.el (with-wrapper-hook):
11300 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11301 (elint-defun, elint-buffer-env, elint-top-form-logged)
11302 (elint-unbound-variable):
11303 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11304 Fix typos in docstrings.
11306 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11308 * files.el (insert-directory): When WILDCARD-REGEXP and
11309 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11310 whole directory. (Bug#5551)
11312 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11313 dired's alignment sanity. (Bug#5516)
11315 2010-02-14 Juri Linkov <juri@jurta.org>
11317 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11318 Remove remaining ^H with their preceding chars. (Bug#5566)
11320 2010-02-13 Glenn Morris <rgm@gnu.org>
11322 * simple.el (transpose-subr): Give it a doc-string.
11324 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11327 2010-02-12 Juri Linkov <juri@jurta.org>
11329 * arc-mode.el (archive-unique-fname): Make directories for nested
11330 archives. (Bug#5540)
11332 2010-02-12 Juri Linkov <juri@jurta.org>
11334 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11336 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * subr.el (copy-overlay): Handle deleted overlays.
11340 * man.el (Man-completion-table): Don't signal an error if we can't run
11341 manual-program (bug#4056).
11343 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11345 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11347 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11349 * info.el (Info-bookmark-jump): Simplify.
11351 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11352 (bookmark-default-handler): Accept new bookmark field `buffer'.
11354 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11356 * iswitchb.el (iswitchb-completions): Revert last change.
11358 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11360 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11361 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11362 This prevents file names like "~/" being listed literally.
11364 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11366 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11367 Remove dead code. (Bug#5546)
11369 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11371 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11372 correctly (Bug#5548).
11374 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11376 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11377 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11379 2010-02-08 Kenichi Handa <handa@m17n.org>
11381 * international/mule-util.el (with-coding-priority): Add autoload
11382 cookie for putting `lisp-indent-function'.
11384 2010-02-07 Glenn Morris <rgm@gnu.org>
11386 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11387 Move F2003 named interfaces from keywords-2 to keywords-1, and
11388 use function-name-face rather than constant-face.
11389 Simplify "abstract interface" regexp.
11391 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11393 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11394 ID-FORMAT. Pass it to `file-attributes'.
11396 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11398 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11400 * faces.el (set-face-attribute): Allow calling
11401 internal-set-lisp-face-attribute with 'unspecified family and
11402 foundry argument (Bug#5536).
11404 2010-02-07 Glenn Morris <rgm@gnu.org>
11406 * progmodes/f90.el (f90-font-lock-keywords-2)
11407 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11408 Handle F2003 named interfaces.
11410 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11412 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11413 beg and end before calling c-get-state-before-change-functions.
11415 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11417 * vc-bzr.el (vc-bzr-dir-extra-headers):
11418 Disable the pending merges header.
11420 2010-02-05 Juri Linkov <juri@jurta.org>
11422 * doc-view.el (doc-view-mode):
11423 * image-mode.el (image-mode): Put property mode-class=special.
11426 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11428 * vc-svn.el (vc-svn-revision-table): New function.
11430 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11432 * net/ange-ftp.el (ange-ftp-insert-directory):
11433 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11434 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11435 Handle also directories. (Bug#5478)
11437 2010-02-05 Glenn Morris <rgm@gnu.org>
11439 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11441 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11443 * startup.el (command-line-1): Convert options beginning with a
11444 single dash as well (Bug#5519).
11446 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11448 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11449 * minibuffer.el (completion-initials-expand): Only check the presence
11450 of delims *within* the boundaries, since otherwise the / delim is
11451 always found for files.
11453 Fix up various corner case problems.
11454 * doc-view.el (doc-view-last-page-number): New function.
11455 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11456 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11457 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11458 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11459 (doc-view-convert-current-doc): Don't create the resolution.el file
11461 (doc-view-pdf/ps->png): Do it here instead.
11462 (doc-view-already-converted-p): Check that resolution.el is present.
11463 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11464 windows that are not yet showing images.
11466 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11468 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11469 `dired-uncache' for every elemnt which is an absolute file name.
11471 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11472 directory, handle its directory component.
11473 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11474 function is called permanently and creates noise, otherwise.
11476 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11477 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11478 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11480 2010-02-04 David Burger <dburger@google.com> (tiny change)
11482 * macros.el (apply-macro-to-region-lines):
11483 Minor simplification. (Bug#5485)
11485 2010-02-04 Glenn Morris <rgm@gnu.org>
11487 * mail/rmail.el (rmail-show-message-1): Handle malformed
11488 quoted-printable text. (Bug#5441)
11490 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11492 * simple.el (visual-line-mode): Capitalize lighter.
11494 2010-02-03 John Wiegley <jwiegley@gmail.com>
11496 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11497 list of files considered for "virtual buffer" completions.
11499 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11501 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11502 also in case of (and (not full) (not wildcard)). This is needed
11503 when dired is called with a list of files, which are not in
11504 `default-directory'. (Bug#5478)
11506 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11510 2010-02-02 Juri Linkov <juri@jurta.org>
11512 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11513 from unidiff to allow function-line after @@.
11515 2010-02-02 Juri Linkov <juri@jurta.org>
11517 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11518 '(RCS SCCS) with inverted condition.
11520 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11522 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11525 2010-02-01 Juri Linkov <juri@jurta.org>
11527 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11528 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11529 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11530 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11532 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11535 (doc-view-revert-buffer): New command.
11536 (doc-view-mode-map): Use it.
11538 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11540 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11541 pending merge is detected.
11543 2010-01-31 Juri Linkov <juri@jurta.org>
11545 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11546 beginning of interactive spec like all other grep commands do.
11547 Put "all" in front of "gz". (Bug#5260)
11549 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11551 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11553 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11555 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11556 regexp is incorrect (Bug#5476).
11558 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11560 * net/tramp.el (tramp-handle-insert-directory): Handle also
11561 symlinks, when FILENAME is not in `default-directory'.
11563 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11565 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11566 FILE is not in `default-directory'. (Bug#5478)
11568 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11569 of SWITCHES. Handle the case, FILENAME is not in
11570 `default-directory'. (Bug#5478)
11571 (tramp-register-file-name-handlers): Add safe-magic property.
11573 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11575 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11578 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11580 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11581 (flymake-master-make-header-init): Add other C++ filename masks.
11582 (flymake-find-possible-master-files)
11583 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11585 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11587 Fix some busybox annoyances.
11589 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11590 not responding." string.
11591 (tramp-open-connection-setup-interactive-shell): Dump stty
11592 settings. Enable "neveropen" arg for all `tramp-send-command'
11593 calls. Handle "=" in variable values properly.
11594 (tramp-find-inline-encoding): Raise an error, when no encoding is
11596 (tramp-wait-for-output): Check, whether PROC buffer is available.
11597 Remove spurious " ^H" sequences, sent by busybox.
11598 (tramp-get-ls-command): Suppress coloring, if possible.
11600 2010-01-28 Glenn Morris <rgm@gnu.org>
11602 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11604 * log-edit.el (log-edit-strip-single-file-name): Add missing
11605 :safe, :group, and :version tags.
11607 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11609 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11610 buffers. (Bug#5477)
11612 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11614 * files.el (delete-directory): Handle moving to trash without
11615 first doing recursion (Bug#5436).
11617 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11619 * vc-hooks.el (vc-path): Mark as obsolete.
11621 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11623 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11626 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11628 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11630 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11632 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11634 * vc-bzr.el (vc-bzr-revision-table): New function.
11636 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11638 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11639 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11641 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11643 Remove support for adding --signoff on commit.
11644 Future support will use an incompatible generic mechanism.
11645 * vc-git.el (vc-git-add-signoff): Remove variable.
11646 (vc-git-toggle-signoff): Remove function.
11647 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11649 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11650 Rename from xterm-set-background-mode. Return t if the background mode
11652 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11653 earlier, call it again in case the background mode has changed.
11655 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11657 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11660 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11662 * emacs-lisp/assoc.el (aelement): Doc fix.
11663 (aput, adelete, amake): Use lexical-let (Bug#5450).
11665 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11667 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11668 is the same as subprogram call, not declaration. (Bug#5435).
11670 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11672 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11673 (tramp-smb-maybe-open-connection): Use it.
11675 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11677 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11679 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11681 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11682 just because we see "encoding: 8bit".
11683 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11685 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11687 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11689 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11691 * jka-compr.el (jka-compr-load): If load-file is not in
11692 load-history, try its file-truename version. (bug#5447)
11694 2010-01-21 Alan Mackenzie <acm@muc.de>
11696 Fix a situation where deletion of a cpp construct throws an error.
11697 * progmodes/cc-engine.el (c-invalidate-state-cache):
11698 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11699 special cpp construct is still in the buffer.
11700 (c-parse-state): Record the special cpp with markers, not numbers.
11702 2010-01-21 Kenichi Handa <handa@m17n.org>
11704 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11705 process last-command-event, as it is now decoded first (Bug#5380).
11707 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11709 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11711 2010-01-20 Glenn Morris <rgm@gnu.org>
11713 * indent.el (tab-always-indent): Fix custom-type.
11715 2010-01-19 Alan Mackenzie <acm@muc.de>
11717 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11718 buffer throws "args out of range".
11719 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11720 playing the role of delimiter.
11722 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11724 * progmodes/ada-mode.el: Fix bug#5400.
11725 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11726 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11727 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11728 Improve comments in "is" portion. Handle null procedure declaration.
11729 (ada-move-to-end): Improve doc string.
11731 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11733 * ido.el (ido-cur-list): Initialize to nil.
11734 Remove obsolete information from commentary.
11735 (ido-choice-list): Initialize to nil.
11736 (ido-get-bufname): Reject minibuffers.
11737 (ido-make-buffer-list): If "default" is a nonexistent
11738 buffer, ignore it, as per the function's comment.
11739 (ido-kill-buffer-internal): New function.
11740 (ido-kill-buffer-at-head): Use it.
11741 (ido-visit-buffer): Likewise.
11743 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11745 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11747 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11749 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11750 Fix typos in chart titles.
11752 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11753 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11754 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11755 (describe-class, eieio-describe-generic, describe-generic):
11756 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11757 (eieio-speedbar-expand):
11758 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11759 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11760 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11761 (viper-del-backward-char-in-replace, viper-backward-indent)
11762 (viper-brac-function, viper-register-to-point, viper-submit-report):
11763 * net/tramp.el (tramp-remote-coding-commands):
11764 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11765 Fix typos in docstrings.
11767 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11769 * mail/sendmail.el (mail-yank-original): Set the mark if the
11770 specified function for yanking does not do it.
11772 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11774 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11776 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11777 resyncing a directory.
11779 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11781 * progmodes/ada-mode.el: Fix bug#1920.
11782 (ada-ident-re): Delete ., allow multibyte characters.
11783 (ada-goto-label-re): New; matches goto labels.
11784 (ada-block-label-re): New; matches block labels.
11785 (ada-label-re): New; matches both.
11786 (ada-named-block-re): Deleted; callers changed to use
11787 `ada-block-label-re' instead.
11788 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11789 Use `ada-block-label-re'.
11790 (ada-indent-on-previous-lines): Improve handling of goto labels.
11791 (ada-get-indent-block-start): Special-case block label.
11792 (ada-get-indent-label): Split into `ada-indent-block-label' and
11793 `ada-indent-goto-label'.
11794 (ada-goto-stmt-start, ada-goto-next-non-ws):
11795 Optionally ignore goto labels.
11796 (ada-goto-next-word): Simplify.
11797 (ada-indent-newline-indent-conditional): Insert newline before
11798 trying to fix indentation; doc fix.
11800 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11802 * calc/calc.el (calc-command-flags): Give it an initial value.
11804 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11806 * files.el (minibuffer-with-setup-hook):
11807 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11808 (artist-key-draw-continously, artist-key-do-continously-continously)
11809 (artist-key-set-point-continously, artist-mouse-draw-continously):
11810 Fix typos in docstrings.
11812 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11814 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11815 Never return t (Bug#3898).
11817 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11819 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11820 can parse the output of the external commands (Bug#5279).
11822 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11824 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11826 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11828 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11830 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11832 * startup.el (command-line): Remove unused --icon-type arg.
11833 Handle --display arg, passing it to command-line-1 (Bug#5392).
11835 2010-01-16 Mario Lang <mlang@delysid.org>
11837 * emacs-lisp/chart.el (chart-translate-namezone):
11838 * textmodes/artist.el (artist-compute-popup-menu-table):
11839 Remove duplicated words in doc-strings.
11841 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11843 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11844 to mairix-search to suppress threading (Bug#5342).
11846 2010-01-15 Kenichi Handa <handa@m17n.org>
11848 * international/mule-cmds.el (canonicalize-coding-system-name):
11849 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11851 2010-01-15 Glenn Morris <rgm@gnu.org>
11853 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11855 * wid-edit.el (widget-keymap): Doc fix.
11857 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11858 former seems to be more widely accepted by various svn versions.
11860 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11862 * find-cmd.el (find-constituents):
11863 * vc-arch.el (vc-arch-root):
11864 * window.el (window-body-height, pop-up-frames):
11865 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11866 * progmodes/ada-stmt.el (ada-if):
11867 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11868 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11869 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11870 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11872 * progmodes/flymake.el (flymake-post-syntax-check):
11873 Fix typo in error message.
11875 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11877 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11878 which is always a string. (Bug#5313)
11880 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11882 * progmodes/ada-xref.el (ada-default-prj-properties):
11883 Simplify previous change.
11885 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11887 * progmodes/ada-xref.el (ada-default-prj-properties):
11888 Default ada_project_path to $ADA_PROJECT_PATH.
11890 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11892 * progmodes/ada-mode.el (ada-create-keymap):
11893 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11895 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11897 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11898 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11899 (ada-get-current-indent, ada-imenu-generic-expression)
11900 (ada-which-function): Check for it.
11902 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11904 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11905 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11907 2010-01-14 Glenn Morris <rgm@gnu.org>
11909 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11911 2010-01-14 Kenichi Handa <handa@m17n.org>
11913 * composite.el (auto-composition-mode): Make it a buffer local
11914 variable (permanent-local).
11915 (auto-composition-function): Set the default value to
11916 auto-compose-chars.
11917 (auto-composition-mode): Make it a simple function, not a minor mode.
11918 (global-auto-composition-mode): Likewise.
11919 (turn-on-auto-composition-if-enabled): Delete it.
11921 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11923 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11925 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11927 * files.el (copy-directory): Compute target for recursive
11928 directories with identical names. (Bug#5343)
11930 2010-01-12 Glenn Morris <rgm@gnu.org>
11932 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11933 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11935 2010-01-11 Sam Steingold <sds@gnu.org>
11937 * imenu.el (imenu-default-create-index-function): Detect infinite
11938 loops caused by imenu-prev-index-position-function.
11940 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11942 * htmlfontify.el (htmlfontify-load-rgb-file)
11943 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11944 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11945 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11946 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11947 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11948 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11949 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11950 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11951 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11952 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11953 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11954 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11955 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11956 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11957 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11958 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11959 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11960 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11961 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11962 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11963 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11964 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11965 backslash-quoting from parentheses, etc.
11967 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11969 * progmodes/js.el: Autoload javascript-mode alias.
11971 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11973 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11974 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11975 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11976 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11977 Fix typos in docstrings.
11978 (ffap-url-regexp): Doc fix.
11979 (ffap-at-mouse): Fix typo in message.
11981 2010-01-11 Glenn Morris <rgm@gnu.org>
11983 * version.el (emacs-copyright): Set copyright year to 2010.
11985 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11987 * format.el (format-annotate-function): Only set
11988 write-region-post-annotation-function after running to-fn so as not to
11989 affect nested write-region calls (bug#5273).
11991 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11993 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11996 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11998 * man.el (Man-goto-section): Signal error if the section is not
12001 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12003 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12004 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12006 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12008 * progmodes/compile.el: Don't treat compile-command as safe if
12009 compilation-read-command might be nil (Bug#4218).
12011 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12013 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12016 2010-01-08 Kenichi Handa <handa@m17n.org>
12018 * international/fontset.el (build-default-fontset-data):
12019 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12021 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12023 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12024 to `create-file-buffer' as it expects, not just a buffer name.
12025 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12026 to help uniquify. (Bug#3224)
12028 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12030 * font-setting.el (font-setting-change-default-font): Use user-spec
12033 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12035 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12037 2010-01-05 Tom Tromey <tromey@redhat.com>
12039 * progmodes/python.el (python-font-lock-keywords):
12040 Handle qualified decorators (Bug#881).
12042 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12044 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12045 in a lightweight checkout.
12047 2010-01-05 Kenichi Handa <handa@m17n.org>
12049 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12051 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12053 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12055 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12057 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12058 checkouts. (Bug#618)
12059 (vc-bzr-log-view-mode): Also highlight the author.
12060 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12061 (vc-bzr-shelve-menu-map):
12062 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12063 (vc-bzr-shelve-apply): Make prompt more explicit.
12065 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12067 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12068 They are valid characters in URL paths (rfc3986), and at least
12069 Firefox does not understand the encoded version (Bug#3166).
12071 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12073 * progmodes/octave-mod.el (octave-end-keywords)
12074 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12075 Add "end" keyword (Bug#3061).
12076 (octave-end-as-array-index-p): New function.
12077 (calculate-octave-indent): Use it.
12079 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12081 * bookmark.el: Consistently put the text property on the bookmark name.
12082 (bookmark-bmenu-marks-width): Bump back to 2, to include
12084 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12085 property on the bookmark name, instead of not putting it at all.
12086 (bookmark-bmenu-list): Fix where we put the text property.
12088 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12090 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12091 for showing buffer modified state (as added in the previous change).
12093 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12095 * bookmark.el: Show modified state of bookmark buffer more accurately.
12096 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12097 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12098 (with-buffer-modified-unmodified): New macro.
12099 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12100 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12101 Use new macro to preserve the buffer modified state.
12103 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12105 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12106 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12107 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12108 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12109 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12110 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12111 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12113 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12115 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12116 Make the lines in the generated doc string shorter. (Bug#4668)
12118 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12120 * net/rcirc.el: Add follow-link binding (Bug#4738).
12122 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12124 * Makefile.in (bzr-update): Rename from cvs-update.
12125 (cvs-update): New target for backward compatibility.
12127 * makefile.w32-in (bzr-update): Rename from cvs-update.
12128 (cvs-update): New target for backward compatibility.
12130 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12132 * bookmark.el: Remove gratuitous gratitude.
12134 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12136 * bookmark.el (bookmark-bmenu-any-marks): New function.
12137 (bookmark-bmenu-save): Clear buffer modification if no marks.
12139 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12141 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12142 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12143 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12144 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12146 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12147 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12148 To: emacs-devel {_AT_} gnu.org
12149 Subject: bookmark.el bug report
12150 Date: Mon, 28 Dec 2009 14:19:16 +0800
12151 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12153 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12155 * bookmark.el: Improvements suggested by Drew Adams:
12156 (bookmark-bmenu-ensure-position): New name for
12157 `bookmark-bmenu-check-position'. Just ensure the position,
12158 don't return any meaningful value.
12159 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12162 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12164 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12165 (bookmark-yank-point, bookmark-bmenu-check-position):
12166 Fix typos in docstrings.
12167 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12168 (bookmark-name-from-full-record, bookmark-get-position)
12169 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12170 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12171 Remove useless quoting of parenthesis, etc. in docstrings.
12173 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12174 (ediff-append-custom-diff): Fix typo in error message.
12175 (ediff-meta-mark-equal-files): Fix typos in messages.
12177 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12179 * net/imap-hash.el (imap-hash-make): Doc fix.
12180 (imap-hash-test): Fix typo in error message; reflow docstring.
12181 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12182 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12183 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12184 Fix typos in docstrings.
12185 (imap-hash-open-connection): Fix typo in error message.
12187 * play/gomoku.el (gomoku): Fix typos in docstring.
12189 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12190 (gdb-jsonify-buffer): Fix typos in docstring.
12191 (gdb-goto-breakpoint): Fix typo in error message.
12192 ("Display Other Windows"): Fix typo in help message.
12193 (gdb-speedbar-expand-node): Fix typo in question.
12195 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12196 (idlwave-html-system-help-location, idlwave-html-help-location)
12197 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12198 (idlwave-help-browser-generic-args, idlwave-help-directory)
12199 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12200 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12201 (idlwave-online-help, idlwave-help-html-link)
12202 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12203 Fix typos in docstrings.
12204 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12206 (idlwave-help-assistant-start): Fix typo in error message.
12208 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12209 (octave-electric-space): Fix typos in docstrings.
12211 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12213 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12215 2010-01-01 Juri Linkov <juri@jurta.org>
12217 * comint.el (comint-input-ring-size): Make it a defcustom and
12218 increase the default to 500 (Bug#5148).
12220 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12222 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12223 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12224 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12226 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12228 Show working revision correctly for mercurial.
12229 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12230 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12232 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12234 Declare some functions for the byte-compiler.
12235 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12236 (speedbar-timer-fn, speedbar-change-expand-button-char)
12237 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12239 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12241 This changeset reverts GDB Graphical Interface to use annotations.
12242 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12244 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12246 Make vc-dir work on subdirectories of the bzr root.
12247 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12248 Return file names relative to it.
12249 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12250 relative directory to vc-bzr-after-dir-status.
12252 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12254 * font-lock.el (font-lock-refresh-defaults): New function, which
12255 can be used to let font-lock react to external changes in
12256 variables like font-lock-defaults and keywords.
12257 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12259 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12261 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12263 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12265 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12267 Supersede color.diff settings in git log (bug#5211).
12269 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12270 escape chars in its output when the user has color.diff set to `always'.
12271 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12273 2009-12-26 Kevin Ryde <user42@zip.com.au>
12275 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12276 node. Keep previous "Index" name to work with past coreutils too.
12278 * man.el (man): Revise docstring a bit to show -a and -l as
12279 examples. Add -k description since support for it has otherwise
12280 been a secret. (Further to bug#3717.)
12281 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12282 "no matches" rather than "Can't find manpage", as the latter reads
12283 like -k was interpreted as a page name, which is not so. (Bug#5431)
12285 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12287 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12288 switches. Check also for //SUBDIRED// line.
12290 2009-12-25 Kenichi Handa <handa@m17n.org>
12292 * language/indian.el (devanagari-composable-pattern): Fix to
12293 handle ZWNJ and ZWJ. Use it in composition-function-table for
12295 (malayalam-composable-pattern): Fix previous change.
12297 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12299 * ps-print.el (ps-face-attributes): It was not returning the
12300 attribute face for faces specified as string. Reported by harven
12301 <harven@free.fr>. (Bug#5254)
12302 (ps-print-version): New version 7.3.5.
12304 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12306 * calendar/icalendar.el (icalendar--convert-tz-offset):
12307 Fix timezone names.
12308 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12309 (icalendar--add-diary-entry): Remove the trailing blank that
12310 diary-make-entry inserts.
12312 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12314 Make `file-expand-wildcards' work for remote files.
12316 * files.el (file-expand-wildcards): In case of remote files, check
12317 only local file name part for wildcards. Provide feature 'files
12318 and subfeature 'remote-wildcards. (Bug#5198)
12320 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12321 if there is already an established connection.
12322 (tramp-advice-file-expand-wildcards): Remove it.
12324 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12325 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12326 Activate advice for older GNU Emacs versions. (Bug#5237)
12328 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12330 Some doc fixes (more needed).
12332 * find-cmd.el (find-constituents): Reflow docstring.
12333 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12334 (find-generic): Doc fix.
12336 2009-12-17 Juri Linkov <juri@jurta.org>
12338 Fix regression from 23.1 to allow multiple modes in Local Variables.
12340 * files.el (hack-local-variables-filter): While ignoring duplicates,
12341 don't take `mode' into account.
12342 (hack-local-variables-filter, hack-dir-local-variables):
12343 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12345 2009-12-17 Juri Linkov <juri@jurta.org>
12347 Make `dired-diff' safer. (Bug#5225)
12349 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12350 `current' or when `file' is a directory of the `current' file.
12352 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12354 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12355 unconditionally preloaded files.
12357 2009-12-16 Juri Linkov <juri@jurta.org>
12359 Revert to old 23.1 logic of using the file at the mark as default.
12360 * dired-aux.el (dired-diff): Use the file at the mark as default
12361 if it's not the same as the current file, and the target dir is
12362 the current dir or the mark is active. Add the current file
12363 as the arg of `dired-dwim-target-defaults'. Use the default file
12364 in the prompt. (Bug#5225)
12366 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12368 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12369 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12370 (tramp-check-for-regexp): Check also, when an echoing shell stops
12371 to echo sent commands.
12373 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12375 * Makefile.in: Revert last change (Bug#5191).
12377 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12379 * vc-hg.el (vc-hg-print-log): Fix argument order.
12380 (vc-hg-working-revision): Make sure the command is executed in a
12381 known environment so that we can parse the output. (Bug#4417)
12383 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12385 * progmodes/python.el (python-symbol-completions): Remove text
12386 properties from symbol string before calling python-send-receive.
12388 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12390 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12391 when there are values for both file and line. (Bug#5060)
12393 2009-12-14 Juri Linkov <juri@jurta.org>
12395 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12396 whitespace after the file name of the first line of unified format,
12397 because git-diff doesn't output whitespace and file modification time
12398 after the file name.
12400 2009-12-14 David Kastrup <dak@gnu.org>
12402 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12403 check if it already has the `display' property added by
12404 `Info-display-images-node', and not put the `invisible' property
12407 2009-12-13 Glenn Morris <rgm@gnu.org>
12409 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12410 (report-emacs-bug): In message-mode, sort manually before storing
12411 original report text. (Bug#5178)
12412 Remove superfluous save-excursion.
12414 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12416 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12417 when responding to "GetAll" properties.
12419 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12421 * simple.el (compose-mail): Remove mail-setup-with-from from
12422 customization checks.
12424 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12426 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12427 RAR archives created on Unix systems.
12429 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12432 the varalias that was accidentally removed by the 2009-11-19 change
12435 2009-12-12 Kenichi Handa <handa@m17n.org>
12437 * language/indian.el (indian-compose-regexp): New function.
12438 (malayalam-composable-pattern): Fix the pattern.
12439 (composition-function-table): Set malayalam-composable-pattern for
12440 Malayalam characters.
12442 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12444 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12445 rather than down-mouse-1, based on follow-link conventions.
12447 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12450 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12452 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12453 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12454 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12455 (verilog-leap-to-head, verilog-backward-token):
12456 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12458 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12460 * progmodes/verilog-mode.el (verilog-auto-lineup)
12461 (verilog-nameable-item-re): Cleanup user-visible spelling and
12462 documentation errors. One reported by Gary Delp.
12463 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12464 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12465 package, bug195. Reported by Pierre-David Pfister.
12467 2009-12-11 Glenn Morris <rgm@gnu.org>
12469 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12471 * mail/emacsbug.el: No longer require sendmail.
12472 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12473 (report-emacs-bug-orig-text): Doc fix.
12474 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12475 New local variables, to adapt to different mail-user-agents.
12476 (report-emacs-bug): Fix test for a gnu.org address.
12477 Use overlays for emphasis, since font-lock defeats 'face property.
12478 Pretest bugs also end up at the newsgroup these days.
12479 Stop message-mode stripping text properties.
12480 Set and use the new buffer-local variables.
12481 (report-emacs-bug-hook): Add doc-string.
12482 Remove some unnecessary save-excursions and simplify.
12483 Use the appropriate hook and send-command.
12485 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12486 capitalization of some menu entries.
12488 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12490 * whitespace.el (whitespace-display-char-on):
12491 Ensure `buffer-display-table' is unique when two or more windows are
12492 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12495 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12497 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12498 characters in the Attribute field.
12500 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12502 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12504 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12506 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12507 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12508 Disregard autoload-excludes.
12509 (update-directory-autoloads): Obey autoload-excludes here instead.
12510 But don't store its contents in no-autoloads and remove entries that
12511 refer to excludes files.
12513 2009-12-10 Glenn Morris <rgm@gnu.org>
12515 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12516 (expand-mail-aliases): Define for compiler.
12518 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12519 Define for compiler.
12521 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12522 appropriate for the mail-user-agent in use.
12524 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12526 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12528 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12530 Fix short log parsing and fontification.
12531 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12532 Fix fontification for the [merge] label.
12534 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12536 Drop some properties to avoid surprises (bug#5002).
12537 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12538 (hfy-fontify-buffer): Use it.
12540 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12543 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12544 Adjust all callers.
12545 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12546 args compulsory. Adjust callers.
12547 (ffap-gopher-at-point): Remove unused var `name'.
12549 Get rid of the ELCFILES abomination.
12550 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12551 (compile-elcfiles): New phony target.
12552 (compile-main): Compute ELCFILES dynamically.
12553 (compile-clean): New target to remove left-over elc files.
12554 (compile, all): Use it.
12556 2009-12-09 Kenichi Handa <handa@etlken>
12558 * international/mule-diag.el: Require help-mode instead of help-fns.
12560 2009-12-09 Kenichi Handa <handa@m17n.org>
12562 * international/mule-cmds.el (ucs-names): Supply sufficiently
12563 fine ranges instead of pre-calculating accurate ranges.
12564 Iterate with bigger gc-cons-threshold.
12566 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12568 Add support for stashing a snapshot of the current tree.
12569 * vc-git.el (vc-git-stash-snapshot): New function.
12570 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12572 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12574 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12575 instead of `(beginning|end)-of-line'.
12577 2009-12-08 Glenn Morris <rgm@gnu.org>
12579 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12581 * Makefile.in (ELCFILES): Regenerate.
12583 2009-12-07 Juri Linkov <juri@jurta.org>
12585 Don't lazy-highlight the comint output in history Isearch mode.
12587 * comint.el (comint-history-isearch-search): Instead of
12588 `comint-line-beginning-position', use `comint-after-pmark-p'
12589 to check if point if before the process mark, and go to
12590 `process-mark' in this case.
12592 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12594 * textmodes/tex-mode.el (latex-complete)
12595 (latex-indent-or-complete): Remove.
12596 (latex-mode): Set completion-at-point-functions instead.
12598 Provide a standard completion command and hook it into TAB.
12599 * minibuffer.el (completion-at-point-functions): New var.
12600 (completion-at-point): New command.
12601 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12602 * progmodes/python.el (python-mode-map): Use completion-at-point.
12603 (python-completion-at-point): Rename from python-partial-symbol and
12604 adjust for use in completion-at-point-functions.
12605 (python-mode): Setup completion-at-point for Python completion.
12606 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12607 extracted from lisp-complete-symbol.
12608 (lisp-complete-symbol): Use it.
12609 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12610 setup completion-at-point for Elisp completion.
12611 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12612 Use completion-at-point.
12613 * ielm.el (ielm-map): Use completion-at-point.
12614 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12615 * progmodes/sym-comp.el: Move to...
12616 * obsolete/sym-comp.el: Move from progmodes.
12618 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12620 Prevent save-buffer in Rmail buffers from using the coding-system
12621 of the current message, and from clobbering the encoding mnemonics
12622 in the mode line (Bug#4623).
12624 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12626 (rmail-message-encoding): New variable.
12627 (rmail-write-region-annotate): Record the encoding of the current
12628 message in rmail-message-encoding.
12629 (rmail-after-save-hook): New function, restores the encoding of
12630 the current message after the message collection is saved.
12632 2009-12-07 Juri Linkov <juri@jurta.org>
12634 * progmodes/grep.el (grep-read-files): Use `completing-read'
12635 instead of `read-string'. Set its `collection' arg to
12636 `read-file-name-internal'. (Bug#4301)
12638 2009-12-07 Juri Linkov <juri@jurta.org>
12640 Correctly restore original Isearch point. (Bug#4994)
12642 * isearch.el (isearch-mode): Move `isearch-push-state' after
12643 `(run-hooks 'isearch-mode-hook)'.
12644 (isearch-cancel): When `isearch-push-state-function' is defined,
12645 let-bind `isearch-cmds' to the first state (the last element of
12646 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12647 function and restores the original point). Otherwise, move point
12648 to `isearch-opoint'.
12650 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12652 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12653 chars that don't have names, so the table can be built much faster at
12656 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12658 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12659 change. Suggested by David Kastrup.
12661 * simple.el (compose-mail): Check for incompatibilities and warn.
12662 (compose-mail-user-agent-warnings): New option.
12664 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12666 Support showing a single log entry from vc-annotate.
12667 * vc.el (print-log): Add a new argument: START-REVISION.
12668 (vc-print-log-internal): Add a new optional argument and
12669 pass it to the backend.
12670 (vc-print-log, vc-print-root-log): Adjust callers.
12671 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12672 buffer already displays the requested log entry, use it.
12673 Otherwise display only the log entry in question.
12674 * vc-svn.el (vc-svn-print-log):
12675 * vc-mtn.el (vc-mtn-print-log):
12676 * vc-hg.el (vc-hg-state):
12677 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12678 (vc-git-show-log-entry): Return t on success.
12679 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12680 (vc-bzr-show-log-entry): Return t on success.
12681 * vc-rcs.el (vc-rcs-print-log):
12682 * vc-sccs.el (vc-sccs-print-log):
12683 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12685 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12687 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12688 Add menus to the meta mode. (Bug#5043)
12690 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12692 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12695 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12697 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12699 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12700 Berbain <raphael.berbain@gmail.com>.
12702 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12704 (tramp-initial-end-of-output): New defconst.
12705 (tramp-methods, tramp-find-shell)
12706 (tramp-open-connection-setup-interactive-shell)
12707 (tramp-maybe-open-connection): Use it.
12708 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12709 Handle existence of `#' and `$'.
12711 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12712 Use `tramp-initial-end-of-output'.
12714 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12716 Get the background mode from the terminal for xterm, and set
12718 * term/xterm.el (xterm-set-background-mode): New function.
12719 (terminal-init-xterm): Use it in case xterm supports background
12720 color queries. Recompute faces after getting the background
12723 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12725 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12726 number comment back on its own line, for easier parsing.
12728 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12730 Make it work for non-file buffers (bug#5102).
12731 * doc-view.el (doc-view-current-cache-dir):
12732 Use doc-view-buffer-file-name rather than buffer-file-name.
12733 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12735 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12737 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12738 author field is too short.
12740 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12742 * vc-git.el (vc-git-print-log): Handle a limit argument.
12743 Display the short log in graph form and with labels.
12744 (vc-git-log-view-mode): Handle labels.
12746 Make vc-revert change VC state from 'added to 'unregistered.
12747 * vc-git.el (vc-git-revert): Call git reset first.
12749 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12751 * net/newst-backend.el, net/newst-plainview.el:
12752 * net/newst-reader.el, net/newst-ticker.el:
12753 * net/newst-treeview.el, net/newsticker.el:
12754 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12756 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12758 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12760 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12761 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12762 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12763 Update annotation regexp.
12765 * simple.el (beginning-of-visual-line): Constrain to field
12766 boundaries (Bug#5106).
12768 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12770 * xml.el (xml-substitute-numeric-entities):
12771 Move newsticker--decode-numeric-entities in newst-backend.el to
12772 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12773 * net/newst-backend.el (newsticker--parse-generic-feed)
12774 (newsticker--parse-generic-items)
12775 (newsticker--decode-numeric-entities):
12776 Move newsticker--decode-numeric-entities in newst-backend.el to
12777 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12779 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12781 * progmodes/js.el (js--js-not): Add null to the list of values.
12783 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12785 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12787 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12789 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12790 delimiter if it is at the end of the current line.
12791 (bibtex-generate-url-list): Fix docstring.
12793 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12795 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12796 minibuffer's content with itself.
12797 Fold the confirm-after-completion case into the `confirm' case.
12798 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12800 2009-12-06 Kevin Ryde <user42@zip.com.au>
12802 * ffap.el (ffap-rfc-path): Make this a defcustom since
12803 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12805 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12806 manuals, similar to existing setup for help-mode. (Bug#3913.)
12808 2009-12-05 Juri Linkov <juri@jurta.org>
12810 Save and restore dired buffer's point positions too. (Bug#4880)
12812 * dired.el (dired-save-positions): Return in the first element
12813 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12815 (dired-restore-positions): First restore buffer's position.
12816 While restoring window's positions, check if window still displays
12817 the original buffer.
12819 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12821 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12824 * shell.el (shell): Require ansi-color (Bug#5113).
12826 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12828 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12830 2009-12-05 Alan Mackenzie <acm@muc.de>
12832 * progmodes/cc-mode.el (c-before-hack-hook)
12833 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12834 `c-file-style' to work again. This reversion restores the current
12835 software to its state in Emacs 23.1. (Bug#4146)
12837 2009-12-05 Kevin Ryde <user42@zip.com.au>
12839 * textmodes/sgml-mode.el (sgml-lexical-context):
12840 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12842 2009-12-05 Juri Linkov <juri@jurta.org>
12844 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12845 for virtual nodes. (Bug#4147)
12846 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12847 when moving from a virtual node.
12848 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12849 (Info-mode): Add `Info-virtual-index' to the docstring.
12851 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12853 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12854 track of the buffer position of the end of a BibTeX entry as this
12855 position may change during reformatting.
12856 (bibtex-format-entry): Remove whitespace before processing
12857 numerical fields so that we recognize the latter properly.
12858 (bibtex-reformat): Do not use push which changes the global value
12859 of bibtex-entry-format.
12860 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12861 (bibtex-field-re-init): Replace only space characters by regexp
12863 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12864 (bibtex-initialize): Also update bibtex-strings.
12865 (bibtex-kill-field): Preserve white space at end of entry.
12866 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12867 Update bibtex-reference-keys.
12869 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12871 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12872 point after a star, if that's the only place where modifications can
12875 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12877 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12880 2009-12-04 Juri Linkov <juri@jurta.org>
12882 * proced.el (proced): Call `(proced-update t)' to update process
12883 information instead of only running proced-post-display-hook.
12884 (proced-send-signal): Add a leading space to the buffer name
12885 " *Marked Processes*" to make this buffer ephemeral.
12887 2009-12-04 Juri Linkov <juri@jurta.org>
12889 * dired.el (dired-auto-revert-buffer): New defcustom.
12890 (dired-internal-noselect): Use it.
12892 2009-12-04 Juri Linkov <juri@jurta.org>
12894 Change roles of modes and functions in image-mode.el (Bug#5062).
12896 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12897 in `auto-mode-alist'.
12898 (image-mode-previous-major-mode): New variable.
12899 (image-minor-mode-map): Rename from `image-mode-text-map'.
12900 (image-mode): Move graceful error-handling code from
12901 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12902 (image-minor-mode): Remove all image-handling code.
12903 Replace `image-mode-text-map' with `image-minor-mode-map'.
12904 Check for `image-type' in mode-line format string.
12905 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12906 (image-mode-as-text): New function with most code from
12907 `image-mode-maybe'.
12908 (image-toggle-display-text): Move code that removes image
12909 properties from `image-toggle-display' to here.
12910 (image-toggle-display-image): New function with code that adds
12911 image properties copied from `image-toggle-display'.
12912 (image-toggle-display): Remove most code with leaving only code
12913 that toggles between `image-mode-as-text' and `image-mode'.
12915 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12917 * net/newst-treeview.el
12918 (newsticker--treeview-list-highlight-start): Restored call to
12919 save-excursion: Selected item was stuck.
12920 (newsticker--treeview-list-select): New.
12921 (newsticker--treeview-item-show-text)
12922 (newsticker--treeview-item-show)
12923 (newsticker--treeview-item-update): Use new
12924 newsticker-treeview-item-mode.
12925 (newsticker-treeview-update): Keep current item.
12926 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12927 (newsticker--treeview-first-feed): Doc change.
12928 (newsticker-treeview-list-menu)
12929 (newsticker-treeview-item-menu): Add menu entries.
12930 (newsticker-treeview-item-mode): New.
12932 * net/newst-backend.el (newsticker-customize): Delete other
12935 2009-12-04 Sam Steingold <sds@gnu.org>
12937 * log-view.el (log-view-mode-map): "q" calls quit-window,
12938 like in all the other non-self-insert buffers.
12940 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12943 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12944 key decoding rather than do it manually via last-input-event +
12946 (term-exec): Use delete-and-extract-region.
12947 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12948 (term-process-pager): Remove unused var `i'.
12949 (term-dynamic-simple-complete): Make obsolete.
12950 (serial-update-config-menu): Remove unused vars `y' and `str'.
12951 (term-update-mode-line): Remove unused var `temp'.
12953 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12955 Limit the number of log entries displayed by default.
12956 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12957 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12958 using a prefix argument.
12960 2009-12-03 Glenn Morris <rgm@gnu.org>
12962 * progmodes/idlwave.el (class): Restore still useful declaration.
12964 2009-12-03 Alan Mackenzie <acm@muc.de>
12966 Enhance `c-parse-state' to run efficiently in "brace deserts".
12968 * progmodes/cc-mode.el (c-basic-common-init):
12969 Call c-state-cache-init.
12970 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12971 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12972 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12974 * progmodes/cc-langs.el (c-before-font-lock-function):
12975 c-extend-and-neutralize-syntax-in-CPP has been renamed
12976 c-neutralize-syntax-in-and-mark-CPP.
12978 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12979 with `category' properties now, not `syntax-table' ones.
12981 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12982 enhanced (but slower) version of c-end-of-macro that won't land
12983 inside a literal or on another awkward character.
12984 (c-state-cache-too-far, c-state-cache-start)
12985 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12986 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12987 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12988 (c-state-min-scan-pos, c-state-brace-pair-desert)
12989 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12990 buffer local variables.
12991 (c-state-literal-at, c-state-lit-beg)
12992 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12993 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12994 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12995 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12996 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12997 (c-renarrow-state-cache)
12998 (c-append-lower-brace-pair-to-state-cache)
12999 (c-state-push-any-brace-pair, c-append-to-state-cache)
13000 (c-remove-stale-state-cache)
13001 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13002 (c-invalidate-state-cache-1, c-parse-state-1)
13003 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13004 (c-parse-state): Enhance and refactor.
13005 (c-debug-parse-state): Amend to deal with all the new variables.
13007 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13008 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13009 modify to use category text properties rather than syntax-table ones.
13010 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13011 to switch off/on the syntactic paren property of C++ template
13012 delimiters using the category property.
13013 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13014 template delims suppressed.
13015 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13016 New constant/macros which apply category properties to the start
13017 and end of preprocessor constructs.
13018 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13019 "comment out" the syntactic value of characters in preprocessor
13021 (c-with-cpps-commented-out)
13022 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13023 with characters in all or all but one preprocessor constructs
13026 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13028 * proced.el (proced-filter-alist): Use regexp-quote.
13030 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13033 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13034 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13035 arguments. Expand `default-directory'.
13037 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13038 the benefit of returning an expanded localname.
13039 (tramp-tramp-file-p): Handle the case NAME is not a string.
13041 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13043 Add support for bzr shelve/unshelve.
13044 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13045 (vc-bzr-extra-menu-map): New variables.
13046 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13047 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13048 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13049 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13050 (vc-bzr-dir-extra-headers): Display shelves.
13052 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13054 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13056 * textmodes/bibtex.el (bibtex-complete-internal):
13057 Use completion-in-region.
13058 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13060 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13062 Support applying stashes. Improve UI.
13063 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13064 (vc-git-stash-apply, vc-git-stash-pop)
13065 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13066 (vc-git-stash-menu): New functions.
13067 (vc-git-stash-menu-map): New variable.
13068 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13070 2009-12-03 Glenn Morris <rgm@gnu.org>
13072 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13073 (vc-print-log-internal): Fix previous change.
13074 (vc-revert): Correct pluralization.
13076 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13078 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13079 it to be an alist any more.
13080 (makefile-complete): Use completion-in-region.
13082 * progmodes/octave-mod.el (octave-complete-symbol):
13083 Use completion-in-region.
13086 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13087 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13088 (idlwave-complete-class): Don't quote lambda.
13089 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13090 (idlwave-mode-map): Move initialization into declaration.
13091 (idlwave-action-and-binding): Use backquotes.
13092 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13094 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13095 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13096 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13097 `parts', and `all-parts'.
13098 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13099 (idlwave-convert-xml-system-routine-info): Remove unused string
13101 (idlwave-display-user-catalog-widget): Use dolist.
13102 (idlwave-scanning-lib): Declare dynamically-scoped var.
13103 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13104 (completion-highlight-first-word-only): Declare to silence bytecomp.
13105 (idlwave-popup-select): Tighten scope of `resp'.
13106 (idlwave-find-struct-tag): Remove unused var `beg'.
13107 (idlwave-after-load-rinfo-hook): Declare.
13108 (idlwave-sintern-class-info): Remove unused var `taglist'.
13109 (idlwave-find-class-definition): Remove unused var `list'.
13110 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13111 (idlwave-what-module-find-class): Remove unused var `classes'.
13113 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13115 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13117 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13119 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13120 buffers visited. Remove redundant current-buffer-saving.
13122 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13124 Use completion-in-buffer and remove uses of dynamic scoping.
13125 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13126 (pascal-buffer-to-use, pascal-flag): Don't declare.
13127 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13128 (pascal-get-completion-decl, pascal-keyword-completion):
13129 Add `pascal-str' argument, save-excursion,
13130 return the found completions, and don't filter with pascal-pred.
13131 (pascal-completion-cache): New var.
13132 (pascal-completion): Don't switch buffer any more (it was never
13133 necessary). Don't save-excursion any more (it's done by the called
13134 subroutines). Use a cache to avoid redundant computations.
13135 Use complete-with-action rather than pascal-completion-response and
13136 let it apply the predicate as well.
13137 (pascal-complete-word): Use completion-in-buffer when
13138 pascal-toggle-completions is nil.
13139 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13141 (pascal-comp-defun): Don't change buffer any more.
13142 Use complete-with-action rather than pascal-completion-response and
13143 let it apply the predicate as well.
13144 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13147 2009-12-02 Kenichi Handa <handa@m17n.org>
13149 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13150 shape for all Indic scripts.
13152 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13154 Use completion-in-buffer.
13155 * wid-edit.el (widget-field-text-end): New function.
13156 (widget-field-value-get): Use it.
13157 (widget-string-complete, widget-file-complete)
13158 (widget-color-complete): Use it and completion-in-region.
13159 (widget-complete): Don't narrow the buffer.
13161 2009-12-02 Glenn Morris <rgm@gnu.org>
13163 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13164 (rmail-select-summary): Use rmail-pop-to-buffer.
13165 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13166 rmail-pop-to-buffer, to prevent horizontal splits.
13168 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13169 save-excursion with save-current-buffer.
13170 Widen before searching. (Bug#5093)
13171 (diary-list-sexp-entries): Remove superfluous save-excursion.
13173 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13175 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13178 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13180 * ido.el (ido-file-internal): Handle filenames at point that do
13181 not have a directory part. (Bug#5049)
13183 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13185 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13186 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13188 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13190 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13191 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13194 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * comint.el (comint-insert-input): Ignore clicks to the right of
13197 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13199 * vc.el (vc-print-log-internal): Don't wait for the process to
13200 terminate before setting up the major mode.
13202 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13205 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13208 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13210 2009-12-01 Glenn Morris <rgm@gnu.org>
13212 * window.el (window--display-buffer-2): Fix previous changes.
13214 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13216 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13218 2009-12-01 Glenn Morris <rgm@gnu.org>
13220 * Makefile.in (ELCFILES): Add mpc.elc.
13222 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13224 * mpc.el: New file.
13226 2009-12-01 Glenn Morris <rgm@gnu.org>
13228 * window.el (window-to-use): Define for compiler.
13230 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13231 consistent with others (no final period).
13233 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13234 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13236 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13238 Make vc-print-log buttons work.
13239 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13241 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13243 * savehist.el (savehist-autosave-interval): Allow setting to nil
13244 through customize. (Bug#5056)
13246 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13248 Fix references to jit-lock properties.
13249 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13250 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13251 (perl-font-lock-special-syntactic-constructs):
13252 Quote jit-lock-defer-multiline property.
13254 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13256 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13258 2009-11-30 Juri Linkov <juri@jurta.org>
13260 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13261 value `buffer' of `multi-isearch-next-buffer-current-function'.
13262 Use `(current-buffer)' when `buffer' is nil.
13263 (multi-isearch-next-buffer-from-list): Don't fallback to
13264 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13266 2009-11-30 Juri Linkov <juri@jurta.org>
13268 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13269 of buffers with `get-buffer' to `multi-isearch-buffers'.
13270 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13271 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13272 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13273 FILES with `expand-file-name' converting relative file names
13274 to absolute. Doc fix. (Bug#4727)
13276 2009-11-30 Juri Linkov <juri@jurta.org>
13278 * misearch.el (multi-isearch-read-buffers)
13279 (multi-isearch-read-matching-buffers): New functions.
13280 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13281 Use them in the `interactive' spec. Doc fix.
13282 (multi-isearch-read-files, multi-isearch-read-matching-files):
13284 (multi-isearch-files, multi-isearch-files-regexp):
13285 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13287 2009-11-30 Juri Linkov <juri@jurta.org>
13289 * doc-view.el (doc-view-continuous):
13290 Rename from `doc-view-continuous-mode'.
13291 (doc-view-menu): Move "Toggle display" to the top.
13292 Add submenu "Continuous" with radio buttons "Off"/"On"
13293 and "Save as Default".
13294 (doc-view-scroll-up-or-next-page)
13295 (doc-view-scroll-down-or-previous-page)
13296 (doc-view-next-line-or-next-page)
13297 (doc-view-previous-line-or-previous-page):
13298 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13300 2009-11-30 Juri Linkov <juri@jurta.org>
13302 * comint.el (comint-mode-map): Rebind `M-r' from
13303 `comint-previous-matching-input' to
13304 `comint-history-isearch-backward-regexp'.
13305 Unbind `M-s' to allow global key binding `M-s'.
13306 Add menu items for `comint-history-isearch-backward' and
13307 `comint-history-isearch-backward-regexp'. (Bug#3746)
13309 2009-11-30 Juri Linkov <juri@jurta.org>
13311 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13312 For def=recenter, replace `recenter' with `recenter-top-bottom'
13313 that is called with `this-command' and `last-command' let-bound
13314 to `recenter-top-bottom'. When the last `def' was not `recenter',
13315 set `recenter-last-op' to nil. (Bug#4981)
13317 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13319 Minor cleanup and simplification.
13320 * filecache.el (file-cache-add-directory)
13321 (file-cache-add-directory-recursively)
13322 (file-cache-add-from-file-cache-buffer)
13323 (file-cache-delete-file-regexp, file-cache-delete-directory)
13324 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13325 (file-cache-temp-minibuffer-message): Delete function.
13326 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13328 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13329 Don't signal an error when bumping into EOB in tr, s, or y.
13331 2009-11-29 Juri Linkov <juri@jurta.org>
13333 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13336 * descr-text.el (describe-char-unidata-list): Use lowercase name
13337 for "Unicode name" like in other tags.
13339 2009-11-29 Juri Linkov <juri@jurta.org>
13341 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13342 New compatibility macro.
13343 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13345 2009-11-29 Juri Linkov <juri@jurta.org>
13347 Add defcustom to define the cycling order of `recenter-top-bottom'.
13350 * window.el (recenter-last-op): Doc fix.
13351 (recenter-positions): New defcustom.
13352 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13353 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13355 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13357 Improve integration of Tramp and ange-ftp in eshell.
13359 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13360 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13361 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13363 * eshell/esh-util.el (top): Require also Tramp when compiling.
13364 (eshell-directory-files-and-attributes): Check for FTP remote
13366 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13367 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13368 (eshell-file-attributes): Handle ".". Return `entry'.
13370 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13371 (ange-ftp-directory-files-and-attributes)
13372 (ange-ftp-real-directory-files-and-attributes): New defuns.
13374 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13375 shell with "exec" when possible. This prevents trailing prompts
13376 in `start-file-process'.
13378 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13380 Try and remove assumptions about point-min==1.
13381 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13382 (rng-compute-mode-line-string): Show the validation percentage in
13383 terms of the narrowed text, not the widened text.
13384 (rng-do-some-validation): Don't catch internal errors when debugging.
13385 (rng-first-error): Simplify.
13386 (rng-after-change-function): Remove work around. AFAIK the bug has
13387 been fixed a while ago.
13389 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13390 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13392 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13394 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13395 `cd' doesn't always do it for us (bug#5067).
13397 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13398 on 2009-10-25 as part of some other change (bug#5067).
13400 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13402 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13404 (byte-compile-warnings): Use byte-compile-warning-types.
13405 (byte-compile-save-excursion): Warn about use of set-buffer right
13406 after save-excursion.
13408 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13409 the excursion as well.
13411 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13413 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13414 providing a Tramp related implementation of "su" and "sudo".
13415 (eshell-unix-initialize): Add "su" and "sudo".
13417 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13419 * net/socks.el (socks-send-command): Convert binary request to
13420 unibyte before sending. This fixes mishandling of some port
13421 numbers such as 129.
13423 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * help.el (describe-bindings-internal): Remove `interactive'.
13427 * man.el (Man-completion-table): Trim a terminating "(".
13428 Remove the space between name page a section.
13429 Add the command's description on the `help-echo' property.
13430 Remove `process-connection-type' binding since it's unused by
13432 Provide completion for the "<section> <name>" format as well.
13433 (Man-default-man-entry): Remove spurious var shadowing the argument.
13435 2009-11-26 Kevin Ryde <user42@zip.com.au>
13437 * log-view.el: Add "Keywords: tools", since its other keywords
13438 aren't in finder-known-keywords, and following vc.el.
13440 * sha1.el (sha1-string-external): default-directory "/" in case
13441 otherwise non-existent. process-connection-type pipe for touch of
13442 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13444 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13446 Misc coding convention cleanups.
13447 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13448 hfy-init-kludge-hooks.
13449 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13450 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13451 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13453 (hfy-slant, hfy-weight): Use tables rather than code.
13454 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13455 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13456 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13457 (hfy-face-to-css): Remove `nconc' with single arg.
13458 (hfy-p-to-face-lennart): Use `or'.
13459 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13460 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13461 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13462 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13463 (hfy-force-fontification): Use run-hooks.
13465 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13467 Various minor fixes.
13468 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13469 Javascript belongs in the header, not the body.
13470 (hfy-javascript): Remove.
13471 (hfy-fontify-buffer): Don't insert it any more.
13472 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13473 Fix bug in invis handling when there were no invis props in a chunk.
13475 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13479 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13481 * finder.el (finder-mode-map): Add a menu.
13483 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13485 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13486 "unsigned" structs.
13488 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13489 fork" statement better.
13491 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13493 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13494 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13495 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13496 Reported by Clay Douglass.
13498 (verilog-auto-inst, verilog-auto-star-safe)
13499 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13500 Fix removing "// Interfaces" when saving .* expansions.
13501 Reported by Pierre-David Pfister.
13503 2009-11-26 Glenn Morris <rgm@gnu.org>
13505 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13508 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13510 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13511 Really use previous revision.
13513 2009-11-25 Kevin Ryde <user42@zip.com.au>
13515 * man.el (Man-completion-table): default-directory "/" in case
13516 doesn't otherwise exist. process-environment COLUMNS=999 so as
13517 not to truncate long names. process-connection-type pipe to avoid
13518 any chance of hitting the pseudo-tty TIOCGWINSZ.
13519 (man): completion-ignore-case t for friendliness and since man
13520 itself is case-insensitive on the command line.
13521 Further to Bug#3717.
13523 * arc-mode.el: Add "Keywords: files", so the details in its
13524 commentary can be reached from finder-by-keyword.
13525 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13526 editing mode, but it's comms related and sgml-mode.el has "comm"
13528 * textmodes/bibtex-style.el: Add "Keywords: tex".
13529 * international/isearch-x.el, international/ja-dic-cnv.el:
13530 * international/ja-dic-utl.el, international/kkc.el:
13531 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13533 2009-11-25 Juri Linkov <juri@jurta.org>
13535 * man.el (Man-completion-table): Modify regexp to include
13536 section names to completion strings. (Bug#3717)
13538 2009-11-25 Juri Linkov <juri@jurta.org>
13540 Search recursively in gzipped files. (Bug#4982)
13542 * progmodes/grep.el (grep-highlight-matches): Add new options
13543 `always' and `auto'. Doc fix.
13544 (grep-process-setup): Check `grep-highlight-matches' for
13545 `auto-detect' to determine the need to compute grep defaults.
13546 Move Windows/DOS specific --colors settings handling
13547 to `grep-compute-defaults'. Check `grep-highlight-matches'
13548 to get the value of "--color=".
13549 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13550 has the value `auto-detect'. Move Windows/DOS specific settings
13551 from `grep-process-setup'.
13552 (zrgrep): New command with alias `rzgrep'.
13554 2009-11-25 Juri Linkov <juri@jurta.org>
13556 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13557 to nil instead of switching off view-mode. (Bug#4896)
13559 2009-11-25 Juri Linkov <juri@jurta.org>
13561 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13563 * mwheel.el (mwheel-scroll-up-function)
13564 (mwheel-scroll-down-function): New defvars.
13565 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13566 `scroll-up', and `mwheel-scroll-down-function' instead of
13569 * doc-view.el (doc-view-scroll-up-or-next-page)
13570 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13571 Use this ARG in the call to image-scroll-up/image-scroll-down.
13572 Change `interactive' spec to "P". Goto next/previous page only
13573 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13574 SPC/DEL case). Doc fix.
13575 (doc-view-next-line-or-next-page)
13576 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13578 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13579 `doc-view-scroll-up-or-next-page', and buffer-local
13580 `mwheel-scroll-down-function' to
13581 `doc-view-scroll-down-or-previous-page'.
13583 2009-11-25 Juri Linkov <juri@jurta.org>
13585 Provide additional default values (directories at other Dired
13586 windows) via M-n in the minibuffer of some Dired commands.
13588 * dired-aux.el (dired-diff, dired-compare-directories)
13589 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13590 `minibuffer-default' in `minibuffer-with-setup-hook'.
13591 (dired-dwim-target-directory): Find a window that displays Dired
13592 buffer instead of failing when the next window is not Dired.
13593 Use `get-window-with-predicate' to find for the next Dired window.
13594 (dired-dwim-target-defaults): New function.
13596 * ediff-util.el (ediff-read-file-name):
13597 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13598 in `minibuffer-with-setup-hook'.
13600 2009-11-25 Juri Linkov <juri@jurta.org>
13602 Provide additional default values (file name at point or at the
13603 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13605 * minibuffer.el (read-file-name-defaults): New function.
13606 (read-file-name): Reset `minibuffer-default' to nil when
13607 it duplicates initial input `insdef'.
13608 Bind `minibuffer-default-add-function' to lambda that
13609 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13610 (minibuffer-insert-file-name-at-point): New command.
13612 * files.el (file-name-at-point-functions): New defcustom.
13613 (find-file-default): Remove defvar.
13614 (find-file-read-args): Don't use `find-file-default'.
13615 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13616 to `read-file-name'.
13617 (find-file-literally): Use `read-file-name' with
13618 `confirm-nonexistent-file-or-buffer'.
13620 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13622 * dired.el (dired-read-dir-and-switches):
13623 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13624 to `read-file-name'.
13625 (dired-file-name-at-point): New function.
13626 (dired-mode): Add hook `dired-file-name-at-point' to
13627 `file-name-at-point-functions'.
13629 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13631 Really make the *Completions* window soft-dedicated (bug#5030).
13632 * window.el (window--display-buffer-2): Add `dedicated' argument.
13633 (display-buffer): Pass it when needed so the dedicated flag is set
13634 after calling set-window-buffer, which would otherwise reset it.
13636 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * progmodes/meta-mode.el (meta-complete-symbol):
13639 * progmodes/etags.el (complete-tag):
13640 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13641 Use completion-in-region.
13643 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13644 (dabbrev-completion): Use completion-in-region.
13645 (dabbrev--abbrev-at-point): Simplify regexp.
13647 * abbrev.el (abbrev--before-point): Use word-motion functions
13648 if :regexp is not specified (bug#5031).
13650 * subr.el (string-prefix-p): New function.
13652 * man.el (Man-completion-cache): New var.
13653 (Man-completion-table): Use it.
13655 * vc.el (vc-print-log-internal): Make `limit' optional for better
13656 compatibility (e.g. with vc-annotate.el).
13658 2009-11-24 Kevin Ryde <user42@zip.com.au>
13660 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13661 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13663 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13664 when .el source file not found or other error.
13666 2009-11-24 Markus Triska <markus.triska@gmx.at>
13668 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13670 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13672 Handle the [back] button properly (bug#4979).
13673 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13674 Use help-setup-xref, help-buffer, and with-help-window.
13675 (describe-char): Add `buffer' argument.
13676 Pass proper command to help-setup-xref. Don't meddle with
13677 help-xref-stack-item directly.
13678 (describe-text-category): Use with-help-window and help-buffer.
13680 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13681 for the displayed buffer (bug#4887).
13683 * man.el (Man-completion-table): New function.
13686 2009-11-24 David Reitter <david.reitter@gmail.com>
13688 * vc-git.el (vc-git-registered): Use checkout directory (where
13689 .git is) rather than the file's directory and a relative path spec
13690 to work around a bug in git.
13692 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13694 Improve handling of processes on remote hosts.
13696 * eshell/esh-util.el (eshell-path-env): New defvar.
13697 (eshell-parse-colon-path): New defun.
13698 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13700 * eshell/esh-ext.el (eshell-search-path):
13701 Use `eshell-parse-colon-path'.
13702 (eshell-remote-command): Remove argument HANDLER.
13703 (eshell-external-command): Check for FTP remote connection.
13705 * eshell/esh-proc.el (eshell-gather-process-output):
13706 Use `file-truename', in order to start also symlinked files.
13707 Apply `start-file-process' instead of `start-process'.
13708 Shorten `command' to the local file name part.
13710 * eshell/em-cmpl.el (eshell-complete-commands-list):
13711 Use `eshell-parse-colon-path'.
13713 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13715 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13716 to `eshell-directory-change-hook'.
13718 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13720 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13721 because it could be enabled automatically if view-read-only is non-nil.
13723 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13725 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13726 made on 2009-11-22.
13728 2009-11-24 Glenn Morris <rgm@gnu.org>
13730 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13731 deleted variable bookmark-bmenu-bookmark-column.
13733 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13735 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13737 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13739 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13740 two slashes to the "file:" prefix.
13741 (browse-url-file-url): De-munge Cygwin filenames before passing
13742 them to Windows browser.
13743 (browse-url-default-windows-browser): Use call-process.
13745 2009-11-23 Juri Linkov <juri@jurta.org>
13747 Implement DocView Continuous mode. (Bug#4896)
13748 * doc-view.el (doc-view-continuous-mode): New defcustom.
13749 (doc-view-mode-map): Bind C-n/<down> to
13750 `doc-view-next-line-or-next-page', C-p/<up> to
13751 `doc-view-previous-line-or-previous-page'.
13752 (doc-view-next-line-or-next-page)
13753 (doc-view-previous-line-or-previous-page): New commands.
13755 2009-11-23 Juri Linkov <juri@jurta.org>
13757 Implement Isearch in comint input history. (Bug#3746)
13758 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13759 `isearch-mode-hook'.
13760 (comint-history-isearch): New defcustom.
13761 (comint-history-isearch-backward)
13762 (comint-history-isearch-backward-regexp): New commands.
13763 (comint-history-isearch-message-overlay): New buffer-local variable.
13764 (comint-history-isearch-setup, comint-history-isearch-end)
13765 (comint-goto-input, comint-history-isearch-search)
13766 (comint-history-isearch-message, comint-history-isearch-wrap)
13767 (comint-history-isearch-push-state)
13768 (comint-history-isearch-pop-state): New functions.
13770 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13772 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13774 (tramp-handle-make-symbolic-link)
13775 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13777 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13778 (tramp-handle-process-file): Use it.
13780 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13782 * window.el (move-to-window-line-last-op): Remove.
13783 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13785 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13787 Make M-r mirror the new cycling behavior of C-l.
13788 * window.el (move-to-window-line-last-op): New var.
13789 (move-to-window-line-top-bottom): New command.
13790 (global-map): Bind M-r move-to-window-line-top-bottom.
13792 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13794 * dired-x.el (dired-guess-shell-alist-default):
13795 Support xz format. (Bug#4953)
13797 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13799 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13800 last-command-char/last-command-event.
13801 (viper-prefix-arg-value): Do correct conversion of event-char for
13804 * emulation/viper-util.el, emulation/viper.el:
13805 Use viper-last-command-char instead of
13806 last-command-char/last-command-event.
13808 * ediff-init.el, ediff-mult.el, ediff-util.el:
13809 Replace last-command-char and last-command-event
13810 with (ediff-last-command-char) everywhere.
13812 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13813 created in fundamental mode.
13815 * ediff.el (ediff-version): Revert the change of interactive-p to
13816 called-interactively-p.
13818 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13820 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13821 generation from word-movement command names.
13823 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13825 * cus-start.el (all): Add native condition for font-use-system-font.
13827 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13829 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13830 Correct the patch from 2009-11-18. (Bug#3910)
13832 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13834 * progmodes/subword.el: Rename from lisp/subword.el.
13836 * subword.el: Rename to progmodes/subword.el.
13838 * Makefile.in (ELCFILES): Adapt to subword.el move.
13840 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13841 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13844 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13845 (bookmark-bmenu-show-filenames): Use push.
13846 (bookmark-bmenu-hide-filenames): Use local var instead of
13847 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13848 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13849 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13850 filenames now that the bookmark names are always available.
13852 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13854 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13855 (bookmark-search-pattern): Move and leave unbound.
13856 (bookmark-bmenu-mode-map): Change binding.
13857 (bookmark-read-search-input): Simplify.
13858 Don't use text-char-description. Don't error on non-char events.
13859 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13860 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13861 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13862 Use a local var for the timer.
13863 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13864 (i.e. bookmark-bmenu-search).
13866 2009-11-21 Glenn Morris <rgm@gnu.org>
13868 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13870 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13872 * net/browse-url.el (browse-url-default-windows-browser):
13873 Use cygstart for cygwin.
13875 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13877 * bookmark.el: Formatting and doc fixes only:
13878 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13879 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13880 Minor grammar and punctuation fixes in doc string.
13881 (bookmark-read-search-input): Adjust to fit within 80 columns.
13883 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13885 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13886 (c-backward-into-nomenclature): Adapt to subword renaming.
13888 * subword.el (subword-forward, subword-backward, subword-mark)
13889 (subword-kill, subword-backward-kill, subword-transpose)
13890 (subword-downcase, subword-upcase, subword-capitalize)
13891 (subword-forward-internal, subword-backward-internal):
13892 Rename from forward-subword, backward-subword, mark-subword,
13893 kill-subword, backward-kill-subword, transpose-subwords,
13894 downcase-subword, upcase-subword, capitalize-subword,
13895 forward-subword-internal, backward-subword-internal.
13897 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13899 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13901 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13903 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13904 (bookmark-bmenu-filter-alist-by-regexp)
13905 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13906 (bookmark-bmenu-search): New command.
13907 (bookmark-bmenu-mode-map): Bind it.
13909 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13911 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13912 backward-subword to quit the byte-compiler.
13914 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13916 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13918 * progmodes/cc-cmds.el (c-update-modeline)
13919 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13920 Refer to subword.el functions instead of cc-subword.el.
13922 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13923 subword.el functions instead of cc-subword.el.
13925 * progmodes/cc-subword.el: Rename to subword.el.
13926 * subword.el: Rename from progmodes/cc-subword.el.
13927 (subword-mode-map): Rename from c-subword-mode-map.
13928 (subword-mode): Rename from c-subword-mode.
13929 (global-subword-mode): New global minor mode.
13930 (forward-subword): Rename from c-forward-subword.
13931 (backward-subword): Rename from c-backward-subword.
13932 (mark-subword): Rename from c-mark-subword.
13933 (kill-subword): Rename from c-kill-subword.
13934 (backward-kill-subword): Rename from c-backward-kill-subword.
13935 (transpose-subwords): Rename from c-tranpose-subword.
13936 (downcase-subword): Rename from c-downcase-subword.
13937 (capitalize-subword): Rename from c-capitalize-subword.
13938 (forward-subword-internal): Rename from c-forward-subword-internal.
13939 (backward-subword-internal): Rename from c-backward-subword-internal.
13941 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13943 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13944 from a dired buffer.
13945 (vc-dired-deduce-fileset): New function.
13946 (vc-root-diff, vc-print-root-log): Use it.
13948 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13949 nil LIMIT argument to vc-print-log-internal.
13951 2009-11-20 Glenn Morris <rgm@gnu.org>
13953 * Makefile.in (ELCFILES): Regenerate.
13955 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13957 * calc/calc.el (calc-set-mode-line):
13958 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13959 (math-format-number): Rename `math-format-complement-signed' to
13960 `math-format-twos-complement'.
13962 * calc/calc-bin.el (math-format-twos-complement): Rename from
13963 math-format-complement-signed.
13964 (calc-radix): Rename `calc-complement-signed-mode' to
13965 `calc-twos-complement-mode'.
13966 (calc-octal-radix, calc-hex-radix): Add an argument for
13969 * calc/calc-embed.el (calc-embedded-mode-vars):
13970 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13972 * calc/calc-ext.el (calc-init-extensions):
13973 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13974 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13976 * calc/calc-units.el (math-build-units-table-buffer):
13977 Let `calc-twos-complement-mode' be nil.
13979 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13982 * calc/calc-vec.el (calcFunc-vunpack):
13983 * calc/calc-aent.el (calc-do-calc-eval):
13984 * calc/calc-forms.el (math-format-date):
13985 * calc/calc-graph.el (calc-graph-plot):
13986 * calc/calc-math.el (math-use-emacs-fn):
13987 * calc/calccomp.el (math-compose-expr):
13988 Let `calc-twos-complement-mode' be nil.
13990 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13992 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13993 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13994 * minibuffer.el (completion-in-region-functions): New hook.
13995 (completion-in-region): New function.
13996 * emacs-lisp/lisp.el (lisp-complete-symbol):
13997 * pcomplete.el (pcomplete-std-complete): Use it.
13999 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14001 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14002 (latex-complete-alist): New vars.
14003 (latex-string-prefix-p, latex-complete-bibtex-keys)
14004 (latex-complete-envnames, latex-complete-refkeys)
14005 (latex-complete-data): New functions.
14006 (latex-complete, latex-indent-or-complete): New commands.
14008 * window.el (display-buffer-mark-dedicated): New var.
14009 (display-buffer): Obey it.
14010 * minibuffer.el (minibuffer-completion-help): Use it.
14012 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14014 * filecache.el (file-cache-add-file): Use push and cons.
14015 (file-cache-delete-file-regexp): Use push.
14016 (file-cache-complete): Use completion-in-region.
14018 * simple.el (with-wrapper-hook): Fix thinko.
14020 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14021 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14022 Use with-current-buffer and string-to-number.
14023 (hfy-fallback-colour-values): Use assoc-string.
14024 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14025 (hfy-face-at): Remove unused var `found-face'.
14026 (hfy-compile-stylesheet): Remove unused var `css'.
14027 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14029 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14030 Use with-current-buffer.
14031 (hfy-text-p): Use expand-file-name and fewer setq.
14033 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14035 * htmlfontify.el, hfy-cmap.el: New files.
14037 2009-11-19 Juri Linkov <juri@jurta.org>
14039 * minibuffer.el (completions-format): New defcustom.
14040 (completion--insert-strings): Implement vertical format.
14042 * simple.el (switch-to-completions): Move point to the first
14043 completion when point was at the beginning of the buffer.
14045 2009-11-19 Juri Linkov <juri@jurta.org>
14047 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14049 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14051 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14053 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14054 (mail-signature): Change default to t.
14055 (mail-from-style): Deprecate `system-default' value.
14056 (mail-insert-from-field): For default value of mail-from-style,
14057 default to `angles' unless `angles' needs quoting and `parens'
14059 (mail-citation-prefix-regexp): Use citation regexp from
14062 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14064 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14065 Set variables for computing the prompt for reading password.
14067 2009-11-19 Glenn Morris <rgm@gnu.org>
14069 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14071 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14073 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14074 (newsticker-treeview-listwindow-height): Fix custom type.
14076 2009-11-19 Kenichi Handa <handa@m17n.org>
14078 * descr-text.el (describe-char-padded-string): Compose with TAB
14079 only if there's a font for CH.
14080 (describe-char): Fix the condition for detecting a trivial composition.
14082 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14084 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14085 more accurate version of the regexp. (Bug#3910)
14087 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14089 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14091 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14093 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14094 (font-setting-change-default-font): Fix typo in docstring.
14096 2009-11-18 Alan Mackenzie <acm@muc.de>
14098 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14100 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14102 * font-setting.el (font-use-system-font): Move ...
14104 * cus-start.el (all): ... to here.
14106 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14108 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14109 Don't set `ad-return-value' if `ad-do-it' doesn't.
14111 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14114 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14116 * menu-bar.el: Put "Use system font" in Option-menu.
14117 (menu-bar-options-save): Add font-use-system-font.
14119 * loadup.el: If feature system-font-setting or font-render-setting is
14120 there, load font-setting.
14122 * Makefile.in (ELCFILES): Add font-settings.el.
14123 * font-setting.el: New file.
14125 2009-11-17 Glenn Morris <rgm@gnu.org>
14127 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14129 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14130 Preserve point in the list buffer. (Bug#4939)
14132 (newsticker--treeview-list-update-highlight)
14133 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14135 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14137 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14140 * calc/calc-ext.el (calc-init-extensions): Remove references to
14143 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14145 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14146 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14149 2009-11-16 Kevin Ryde <user42@zip.com.au>
14151 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14152 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14154 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14155 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14156 Ignore trailing spaces by omit-nulls to split-string (fixing
14157 regression from Emacs 21 due to the incompatible split-string
14158 change). (Bug #4928.)
14160 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14162 * vc.el (vc-log-show-limit): Default to 2000.
14163 (vc-print-log-internal): Insert buttons to request more entries
14164 when limiting the output.
14166 * vc-sccs.el (vc-sccs-print-log):
14167 * vc-rcs.el (vc-rcs-print-log):
14168 * vc-cvs.el (vc-cvs-print-log):
14169 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14172 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14174 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14175 error when `tramp-gvfs-dbus-event-vector' is set.
14176 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14178 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14180 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14182 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14184 * net/dbus.el (dbus-unregister-service): New defun.
14185 (dbus-register-property): Register the handlers of
14186 "org.freedesktop.DBus.Properties" for SERVICE.
14187 (dbus-property-handler): Fix docstring.
14189 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14191 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14192 Quote doc string reference in defvaralias as it is not in special form.
14193 (byte-compile-output-docform): Doc fix.
14195 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14197 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14198 (calc-complement-signed-mode): New variables.
14199 (calc-set-mode-line): Add indicator for twos-complements.
14200 (math-format-number): Format twos-complement notation.
14202 * calc/calc-bin.el (calc-word-size): Reset the variables
14203 `math-2-word-size' and `math-half-2-word-size'.
14204 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14205 (calc-symclip): New functions.
14207 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14209 * calc/calc-embed.el (calc-embedded-mode-vars):
14210 Add `calc-complement-signed-mode' to the list of modes.
14212 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14213 (calc-b-oper-keys): Add `calc-symclip' to list.
14215 * calc/calc-ext.el (math-read-number-fancy): Read complement
14217 (calc-init-extensions): Add binding for `calc-symclip'.
14218 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14220 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14222 (calc-modes-menu): Add item for twos complement mode.
14224 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14226 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14228 * register.el (jump-to-register, insert-register): Handle Semantic
14229 tags. From commented-out advice in semantic/senator.el.
14231 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14233 * vc.el (vc-log-show-limit): New variable.
14234 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14235 when using a prefix argument.
14236 (vc-print-log-internal): Add new argument LIMIT.
14238 * vc-svn.el (vc-svn-print-log):
14239 * vc-mtn.el (vc-mtn-print-log):
14240 * vc-hg.el (vc-hg-print-log):
14241 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14242 pass it to the log command when set. Make the BUFFER argument
14245 * vc-sccs.el (vc-sccs-print-log):
14246 * vc-rcs.el (vc-rcs-print-log):
14247 * vc-git.el (vc-git-print-log):
14248 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14249 ignore it. Make the BUFFER argument non-optional
14251 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14253 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14255 * dired.el (dired-mode-map): Move encryption items to "Operate"
14258 * strokes.el (strokes-update-window-configuration): Make strokes
14259 buffer current before erasing (Bug#4906).
14261 2009-11-15 Juri Linkov <juri@jurta.org>
14263 * simple.el (set-mark-default-inactive): Add :type, :group
14264 and :version. (Bug#4876)
14266 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14268 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14269 (archive-unique-fname): ... here. (Bug#4929)
14271 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14273 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14276 * novice.el (disabled-command-function): Add useful args.
14277 Setup the help buffer so that [back] works.
14278 Remove redundant call to help-mode.
14279 (disabled-command-function): Use `case'.
14280 (en/disable-command): New function extracted from enable-command.
14281 (enable-command, disable-command): Use it.
14283 2009-11-14 Glenn Morris <rgm@gnu.org>
14285 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14286 constants. (Bug#4913)
14288 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14290 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14292 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14293 defined in C that have no doc-strings. (Bug#1063)
14295 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14297 * cus-edit.el (data, files):
14298 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14300 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14302 * simple.el (shell-command): Doc fix (Bug#4891).
14304 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14306 2009-11-14 Glenn Morris <rgm@gnu.org>
14308 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14309 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14310 If they are already loaded, eval-after-load will do the right thing.
14312 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14315 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14317 * simple.el (x-selection-owner-p): Declare.
14318 (read-mail-command): Use custom radio type rather than choice.
14319 (completion-no-auto-exit): Doc fix.
14321 * custom.el (defgroup):
14322 * epg-config.el (epg): Doc fixes.
14324 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14326 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14327 * international/ccl.el (define-ccl-program): Do not purecopy the
14328 docstring, defconst does it anyway.
14330 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14332 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14335 * x-dnd.el (x-dnd-maybe-call-test-function):
14336 * window.el (split-window-vertically):
14337 * whitespace.el (whitespace-help-on):
14338 * vc-rcs.el (vc-rcs-consult-headers):
14339 * userlock.el (ask-user-about-lock-help)
14340 (ask-user-about-supersession-help):
14341 * type-break.el (type-break-force-mode-line-update):
14342 * time-stamp.el (time-stamp-conv-warn):
14343 * terminal.el (te-set-output-log, te-more-break, te-filter)
14344 (te-sentinel, terminal-emulator):
14345 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14346 (term-write-input-ring, term-check-source, term-start-output-log):
14347 (term-display-buffer-line, term-dynamic-list-completions):
14348 (term-ansi-make-term, serial-term):
14349 * subr.el (selective-display):
14350 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14351 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14352 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14353 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14354 (speedbar-remove-localized-speedbar-support)
14355 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14356 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14357 (speedbar-buffers-line-directory):
14358 * simple.el (shell-command-on-region, append-to-buffer)
14359 (prepend-to-buffer):
14360 * shadowfile.el (shadow-save-todo-file):
14361 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14362 (scroll-bar-maybe-set-window-start):
14363 * sb-image.el (speedbar-image-dump):
14364 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14365 (load-save-place-alist-from-file):
14366 * ps-samp.el (ps-print-message-from-summary):
14367 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14368 (ps-background-image, ps-begin-job, ps-do-despool):
14369 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14370 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14371 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14372 (pr-call-process, pr-file-list, pr-interface-save):
14373 * novice.el (disabled-command-function)
14374 (enable-command, disable-command):
14375 * mouse.el (mouse-buffer-menu-alist):
14376 * mouse-copy.el (mouse-kill-preserving-secondary):
14377 * macros.el (kbd-macro-query):
14378 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14379 * informat.el (batch-info-validate):
14380 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14381 * hippie-exp.el (try-expand-dabbrev-visible):
14382 * help-mode.el (help-make-xrefs):
14383 * help-fns.el (describe-variable):
14384 * generic-x.el (bat-generic-mode-run-as-comint):
14385 * finder.el (finder-mouse-select):
14386 * find-dired.el (find-dired-sentinel):
14387 * filesets.el (filesets-file-close):
14388 * files.el (list-directory):
14389 * faces.el (list-faces-display, describe-face):
14390 * facemenu.el (list-colors-display):
14391 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14392 * epg.el (epg--process-filter, epg-cancel):
14393 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14394 (epa--read-signature-type):
14395 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14396 (emerge-file-names):
14397 * ehelp.el (electric-helpify):
14398 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14399 * ediff-vers.el (rcs-ediff-view-revision):
14400 * ediff-util.el (ediff-setup):
14401 * ediff-mult.el (ediff-append-custom-diff):
14402 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14404 * echistory.el (Electric-command-history-redo-expression):
14405 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14406 * disp-table.el (describe-display-table):
14407 * dired.el (dired-find-buffer-nocreate):
14408 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14409 * dabbrev.el (dabbrev--same-major-mode-p):
14410 * chistory.el (list-command-history):
14411 * apropos.el (apropos-documentation):
14412 * allout.el (allout-obtain-passphrase):
14413 (allout-copy-exposed-to-buffer):
14414 (allout-verify-passphrase): Use with-current-buffer.
14416 2009-11-13 Glenn Morris <rgm@gnu.org>
14418 * Makefile.in (ELCFILES): Regenerate.
14420 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14422 * net/dbus.el (dbus-registered-objects-table): Rename from
14423 `dbus-registered-functions-table', because it contains also properties.
14424 (dbus-unregister-object): Unregister also properties.
14425 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14426 Use a timeout of 500 msec, in order to not block.
14427 (dbus-register-property, dbus-property-handler): New defuns.
14429 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14431 * simple.el (minibuffer-default-add-completions): Drop deprecated
14434 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14436 * textmodes/artist.el (artist-mouse-choose-operation):
14437 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14438 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14439 (artist-compute-up-event-key): New function.
14440 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14442 2009-11-13 Kenichi Handa <handa@m17n.org>
14444 * language/japan-util.el: Make sure that the value of jisx0208
14445 property is jisx0208 character.
14447 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14449 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14450 car or each item, not the whole list.
14452 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * minibuffer.el (minibuffer-completion-help):
14455 Use minibuffer-hide-completions.
14457 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14459 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14460 (dired-revert): Use them (bug#4880).
14462 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14464 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14466 2009-11-12 Juri Linkov <juri@jurta.org>
14468 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14470 (find-file-literally-at-point): Alias of `ffap-literally'.
14472 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14474 * textmodes/ispell.el (ispell-skip-region-alist):
14475 * textmodes/css-mode.el (auto-mode-alist):
14476 * progmodes/compile.el (auto-mode-alist):
14477 * international/mule.el (ctext-non-standard-encodings-alist)
14478 (ctext-non-standard-encodings-regexp):
14479 * simple.el (shell-command-switch, text-read-only):
14480 * replace.el (occur-mode-map):
14481 * paths.el (rmail-file-name):
14482 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14483 * find-file.el (ff-special-constructs):
14484 * files.el (file-name-handler-alist):
14485 * composite.el: Purecopy strings.
14487 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14489 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14491 * widget.el (define-widget): Purecopy the docstring.
14492 * international/mule-cmds.el (charset): Do not purecopy the
14493 docstring here, define-widget does it.
14495 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14496 * textmodes/bibtex-style.el (auto-mode-alist):
14497 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14498 * progmodes/compile.el (compile-command):
14499 * language/korea-util.el (default-korean-keyboard):
14500 * international/mule-conf.el (file-coding-system-alist):
14501 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14502 * tooltip.el (tooltip-frame-parameters):
14503 * newcomment.el (comment-end, comment-padding):
14504 * dired.el (dired-trivial-filenames):
14505 * comint.el (comint-file-name-prefix): Purecopy initial values.
14507 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14509 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14510 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14512 (tramp-advice-make-auto-save-file-name)
14513 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14514 after removing the advice.
14516 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14518 * progmodes/grep.el (grep-regexp-alist):
14519 * international/mule-cmds.el (iso-2022-control-alist):
14520 * emacs-lisp/timer.el (timer-duration-words):
14521 * subr.el (version-separator, version-regexp-alist):
14522 * minibuffer.el (completion-styles-alist):
14523 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14524 Change defvars to defconsts.
14526 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14527 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14528 * international/mule-conf.el: Allow to be byte compiled.
14530 * international/mule.el (define-charset): Purecopy props.
14531 (load-with-code-conversion): Purecopy doc string and file name.
14532 (put-charset-property): Purecopy strings.
14533 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14535 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14536 (define-char-code-property): Correctly purecopy the table.
14538 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14540 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14542 * subr.el (add-hook): Purecopy strings.
14543 (eval-after-load): Purecopy load-history-regexp and the form.
14545 * custom.el (custom-declare-group): Purecopy load-file-name.
14547 * subr.el (menu-bar-separator): New defconst.
14548 * net/eudc.el (eudc-tools-menu):
14549 * international/mule-cmds.el (set-coding-system-map)
14550 (mule-menu-keymap):
14551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14552 * vc-hooks.el (vc-menu-map):
14553 * replace.el (occur-mode-map):
14554 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14555 (menu-bar-edit-menu, menu-bar-goto-menu)
14556 (menu-bar-custom-menu, menu-bar-showhide-menu)
14557 (menu-bar-options-menu, menu-bar-tools-menu)
14558 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14559 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14560 (menu-bar-help-menu):
14561 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14562 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14564 * term/x-win.el (x-gtk-stock-map):
14565 * progmodes/vera-mode.el (auto-mode-alist):
14566 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14567 (inferior-lisp-program, inferior-lisp-load-command):
14568 * progmodes/hideshow.el (hs-special-modes-alist):
14569 * progmodes/gud.el (same-window-regexps):
14570 * progmodes/grep.el (grep-program, find-program, xargs-program):
14571 * net/telnet.el (same-window-regexps):
14572 * net/rlogin.el (same-window-regexps):
14573 * language/ethiopic.el (font-ccl-encoder-alist):
14574 * vc-sccs.el (vc-sccs-master-templates):
14575 * vc-rcs.el (vc-rcs-master-templates):
14576 * subr.el (cl-assertion-failed):
14577 * simple.el (next-error-overlay-arrow-position):
14578 * lpr.el (lpr-command):
14579 * locate.el (locate-ls-subdir-switches):
14580 * info.el (same-window-regexps, info)
14581 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14582 * image-mode.el (image-mode, auto-mode-alist):
14583 * hippie-exp.el (hippie-expand-ignore-buffers):
14584 * format.el (format-alist):
14585 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14587 * facemenu.el (facemenu-keybindings):
14588 * dired.el (dired-listing-switches, dired-chown-program):
14589 * diff.el (diff-switches, diff-command):
14590 * cus-edit.el (same-window-regexps):
14591 * bindings.el (mode-line-mule-info)
14592 (mode-line-buffer-identification): Purecopy strings.
14594 2009-11-11 Juri Linkov <juri@jurta.org>
14596 * simple.el (dired-get-filename) <declare-function>:
14597 Tell the byte-compiler about dired-get-filename.
14598 (shell-command): In Dired mode, get filename from the current line
14599 as the default value.
14601 2009-11-10 Glenn Morris <rgm@gnu.org>
14603 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14604 * calendar/holidays.el, progmodes/cperl-mode.el:
14605 Update x-popup-menu declarations.
14607 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14608 (list-load-path-shadows): Use dolist.
14609 (list-load-path-shadows): Use with-current-buffer.
14611 2009-11-10 Juri Linkov <juri@jurta.org>
14613 * minibuffer.el (read-file-name): Support a list of default values
14614 in `default-filename'. Use the first file name where only one
14615 element is required. Doc fix.
14617 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14619 * net/dbus.el (dbus-unregister-object): Release service, if no
14620 other method is registered for it.
14622 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14624 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14625 bookmark-sort-flag is non-nil (Bug#4653).
14627 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14629 * emulation/cua-base.el: Add CUA property to some CC mode commands
14632 2009-11-08 Kevin Ryde <user42@zip.com.au>
14634 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14635 at end of sentence (Bug#4818).
14637 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14640 Handle "see declaration of" MSFT statements (Bug#4100).
14642 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14644 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14645 (tramp-advice-file-expand-wildcards): Unload via
14646 `ad-remove-advice'.
14648 * net/trampver.el: Update release number.
14650 2009-11-08 Kevin Ryde <user42@zip.com.au>
14652 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14655 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14657 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14658 in order to keep context in SELinux.
14660 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14662 * dired-aux.el (dired-query): Place cursor in echo area and allow
14665 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14666 menu item if not on a directory (Bug#4701).
14668 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14670 Sync with Tramp 2.1.17.
14672 * net/tramp.el (tramp-handle-copy-directory): Don't use
14673 `file-remote-p' (due to compatibility).
14675 * net/tramp-compat.el (tramp-compat-copy-directory)
14676 (tramp-compat-delete-directory): New defuns.
14678 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14679 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14680 Use `tramp-compat-delete-directory'.
14682 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14683 (tramp-smb-handle-delete-directory):
14684 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14686 * net/trampver.el: Update release number.
14688 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14690 * tar-mode.el (tar-copy): Call write-region on the right buffer
14693 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14694 by hand, if necessary (Bug#4878).
14696 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14698 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14699 align size column (Bug#4839).
14701 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14704 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14706 * progmodes/ld-script.el (auto-mode-alist):
14707 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14709 * cus-face.el (custom-declare-face): Purecopy face spec.
14711 2009-11-06 Kenichi Handa <handa@m17n.org>
14713 * international/uni-bidi.el: Re-generated.
14714 * international/uni-category.el: Re-generated.
14715 * international/uni-combining.el: Re-generated.
14716 * international/uni-mirrored.el: Re-generated.
14718 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14720 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14721 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14722 (tex-start-options, slitex-run-command, latex-run-command)
14723 (tex-run-command, tex-directory):
14724 * textmodes/ispell.el (ispell-html-skip-alists)
14725 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14726 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14727 (adaptive-fill-regexp):
14728 * textmodes/dns-mode.el (auto-mode-alist):
14729 * progmodes/python.el (interpreter-mode-alist):
14730 * progmodes/etags.el (tags-compression-info-list):
14731 * progmodes/etags.el (tags-file-name):
14732 * net/browse-url.el (browse-url-galeon-program)
14733 (browse-url-firefox-program):
14734 * mail/sendmail.el (mail-signature-file)
14735 (mail-citation-prefix-regexp):
14736 * international/mule-conf.el (eight-bit):
14737 * international/latexenc.el (latex-inputenc-coding-alist):
14738 * international/fontset.el (x-pixel-size-width-font-regexp):
14739 * emacs-lisp/warnings.el (warning-type-format):
14740 * emacs-lisp/trace.el (trace-buffer):
14741 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14742 (emacs-lisp-mode-map):
14743 * calendar/holidays.el (holiday-solar-holidays)
14744 (holiday-bahai-holidays, holiday-islamic-holidays)
14745 (holiday-christian-holidays, holiday-hebrew-holidays)
14746 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14747 (hebrew-holidays-1, holiday-oriental-holidays)
14748 (holiday-general-holidays):
14749 * x-dnd.el (x-dnd-known-types):
14750 * tool-bar.el (tool-bar):
14751 * startup.el (site-run-file):
14752 * shell.el (shell-dumb-shell-regexp):
14753 * rfn-eshadow.el (file-name-shadow-tty-properties)
14754 (file-name-shadow-properties):
14755 * paths.el (remote-shell-program, news-directory):
14756 * mouse.el ([C-down-mouse-3]):
14757 * menu-bar.el (menu-bar-tools-menu):
14758 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14759 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14760 (jka-compr-compression-info-list):
14761 * isearch.el (search-whitespace-regexp):
14762 * image-file.el (image-file-name-extensions):
14763 * find-dired.el (find-ls-option):
14764 * files.el (directory-listing-before-filename-regexp)
14765 (directory-free-space-args, insert-directory-program)
14766 (list-directory-brief-switches, magic-fallback-mode-alist)
14767 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14768 (automount-dir-prefix):
14769 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14770 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14771 (face-font-registry-alternatives, face-font-registry-alternatives)
14772 (face-font-family-alternatives):
14773 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14774 (facemenu-foreground-menu, facemenu-face-menu):
14775 * epa-hook.el (epa-file-name-regexp):
14776 * dnd.el (dnd-protocol-alist):
14777 * textmodes/rst.el (auto-mode-alist):
14778 * button.el (default-button): Purecopy strings.
14780 2009-11-06 Glenn Morris <rgm@gnu.org>
14782 * Makefile.in (ELCFILES): Update.
14784 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14786 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14787 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14789 * nxml/xsd-regexp.el (xsdre-gen-categories):
14790 * nxml/xmltok.el (xmltok-parse-entity):
14791 * nxml/rng-parse.el (rng-parse-validate-file):
14792 * nxml/rng-maint.el (rng-format-manual)
14793 (rng-manual-output-force-new-line):
14794 * nxml/rng-loc.el (rng-save-schema-location-1):
14795 * nxml/rng-cmpct.el (rng-c-parse-file):
14796 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14797 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14799 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14801 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14802 Remove extra save-excursions and make-variable-buffer-local's.
14803 Suggested by Stefan Monnier.
14805 (verilog-getopt-file, verilog-module-inside-filename-p)
14806 (verilog-set-define): Merge GNU 1.35 and repair changes from
14807 switching to using with-current-buffer.
14809 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14810 being treated as a number and confusing AUTORESET.
14811 Reported by Dan Dever.
14813 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14814 Add verilog-auto-ignore-concat to fix backward compatibility with
14815 older verilog-modes. Reported by Dan Katz.
14817 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14818 containing closing anchors "...$".
14820 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14821 Reported by Wade Smith.
14823 (verilog-batch-execute-func): Comment on function usage.
14825 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14827 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14830 (verilog-label-re, verilog-calc-1): Support proper indent of named
14833 (verilog-backward-token, verilog-basic-complete-re)
14834 (verilog-beg-of-statement, verilog-indent-re): Support proper
14835 indent of the assert statement at the beginning of a block of text.
14837 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14838 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14841 2009-11-05 Glenn Morris <rgm@gnu.org>
14843 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14844 Emacs 19. (Bug#1531)
14845 (byte-compile-fix-header): Update for the above change.
14846 Drop test for epoch::version.
14848 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14849 * cus-dep.el (custom-make-dependencies):
14850 * finder.el (finder-compile-keywords):
14851 Use autoload-rubric's feature argument.
14853 * calendar/diary-lib.el (top-level): Make load behave more like require.
14855 * vc-git.el (vc-git-stash-map): Move definition before use.
14857 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14859 * custom.el (custom-declare-group): Purecopy standard-value.
14860 (custom-declare-group): Purecopy custom-prefix.
14862 * international/mule.el (load-with-code-conversion):
14863 Call do-after-load-evaluation unconditionally.
14865 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14867 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14869 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14871 2009-11-04 Glenn Morris <rgm@gnu.org>
14873 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14874 (byte-compile-compatibility): Remove option.
14875 (byte-compile-close-variables, byte-compile-fix-header)
14876 (byte-compile-insert-header, byte-compile-output-docform)
14877 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14878 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14879 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14880 (byte-compile-insert, byte-compile-defun):
14881 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14882 (byte-defop-compiler19): Remove.
14883 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14884 used by anything. Replace all calls with byte-defop-compiler.
14886 2009-11-04 Juri Linkov <juri@jurta.org>
14888 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14889 (menu-bar-options-menu): Don't quote the `prop' arg of
14890 `menu-bar-make-mm-toggle'.
14892 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14894 * calendar/calendar.el (cal-loaddefs):
14895 * calendar/diary-lib.el (diary-loaddefs):
14896 * calendar/holidays.el (hol-loaddefs):
14897 * eshell/esh-module.el (esh-groups): Load rather than require.
14899 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14901 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14903 (todo-top-priorities): Only display-buffer when called interactively.
14904 (todo-item-start): Don't save excursion point.
14905 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14906 (todo-insert-item-here, todo-file-item, todo-remove-item):
14907 Adjust uses of todo-item-start and todo-item-end.
14909 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14910 (autoload-rubric): Don't use any more.
14912 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14913 and only put a prop if it is non-nil.
14915 2009-11-03 Juri Linkov <juri@jurta.org>
14917 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14918 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14920 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14921 and "Menu" to make top-level menu item visually one unit (like
14922 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14923 multi-word menu items). Fix :help string for quit-window.
14925 2009-11-03 Glenn Morris <rgm@gnu.org>
14927 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14928 (byte-compile-file-form-define-abbrev-table)
14929 (byte-compile-file-form-custom-declare-variable)
14930 (byte-compile-variable-ref, byte-compile-defvar):
14931 Whether or not a warning is enabled should only affect whether we issue
14932 the warning, not whether or not we collect the relevant data.
14933 Eg warnings can be turned on and off throughout the course of a file.
14935 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14936 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14938 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14940 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14941 * play/mpuz.el (mpuz-create-buffer):
14942 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14943 (lm-print-y,s,noise, lm-print-w0, lm-init):
14944 * play/gomoku.el (gomoku-prompt-for-move):
14945 * play/fortune.el (fortune-in-buffer):
14946 * play/dissociate.el (dissociated-press):
14947 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14948 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14949 * mail/supercite.el (sc-eref-show):
14950 * mail/smtpmail.el (smtpmail-send-it):
14951 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14952 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14953 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14954 (rmail-summary-goto-msg, rmail-summary-expunge)
14955 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14956 (rmail-summary-add-label, rmail-summary-output-menu)
14957 (rmail-summary-output-body):
14958 * mail/rfc822.el (rfc822-addresses):
14959 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14960 * mail/mailpost.el (post-mail-send-it):
14961 * mail/hashcash.el (hashcash-generate-payment):
14962 * mail/feedmail.el (feedmail-run-the-queue)
14963 (feedmail-queue-send-edit-prompt-help-first)
14964 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14965 (feedmail-deduce-address-list):
14966 * eshell/esh-ext.el (eshell-remote-command):
14967 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14968 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14969 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14970 (viper-save-string-in-file, viper-valid-marker):
14971 * emulation/viper-keym.el (viper-toggle-key):
14972 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14973 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14974 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14975 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14976 (viper-exec-form-in-emacs, viper-brac-function):
14977 * emulation/viper.el (viper-delocalize-var):
14978 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14979 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14980 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14981 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14982 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14983 * emulation/edt.el (edt-electric-helpify):
14984 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14985 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14986 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14987 (cua-indent-to-global-mark-column):
14988 * calendar/diary-lib.el (calendar-mark-1):
14989 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14990 Use with-current-buffer.
14991 * emulation/viper.el (viper-delocalize-var): Use dolist.
14993 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14995 * comint.el (comint-replace-by-expanded-history-before-point):
14996 Replace !! with the previous input string literally (Bug#1795).
14998 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15000 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15001 to be made up of whitespace.
15003 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15005 * minibuffer.el (read-file-name): Don't use file dialogs for
15006 remote directories (Bug#99).
15008 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15010 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15012 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15014 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15015 instead of deleting the window or frame.
15017 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15019 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15020 Support face colors.
15022 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15023 New function. Support face colors (Bug#1168).
15024 (tex-common-initialization): Use it.
15026 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15027 mode allows it (Bug#1168).
15029 2009-10-31 Juri Linkov <juri@jurta.org>
15031 * facemenu.el (list-colors-display): Don't mark buffer as
15032 modified (Bug#3948).
15034 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15036 * international/mule-diag.el (list-character-sets-1):
15037 Minor message fix (Bug#3526).
15039 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15040 Fix face property (Bug#4834).
15041 (etags-list-tags, etags-tags-apropos-additional)
15042 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15045 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15048 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15050 * textmodes/two-column.el (2C-split):
15051 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15052 * textmodes/tex-mode.el (tex-set-buffer-directory):
15053 * textmodes/spell.el (spell-region, spell-string):
15054 * textmodes/reftex.el (reftex-erase-buffer):
15055 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15056 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15057 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15058 (reftex-select-item):
15059 * textmodes/reftex-ref.el (reftex-label-info-update)
15060 (reftex-offer-label-menu):
15061 * textmodes/reftex-index.el (reftex-index-change-entry)
15062 (reftex-index-phrases-info):
15063 * textmodes/reftex-global.el (reftex-create-tags-file)
15064 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15065 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15066 (reftex-view-crossref-from-bibtex):
15067 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15068 (reftex-extract-bib-entries-from-thebibliography)
15069 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15070 * textmodes/refbib.el (r2b-capitalize-title):
15071 (r2b-convert-buffer, r2b-help):
15072 * textmodes/page-ext.el (pages-directory)
15073 (pages-directory-goto-with-mouse):
15074 * textmodes/bibtex.el (bibtex-validate-globally):
15075 * textmodes/bib-mode.el (bib-capitalize-title):
15076 * textmodes/artist.el (artist-clear-buffer, artist-system):
15077 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15078 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15079 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15080 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15081 (xscheme-send-control-g-interrupt, xscheme-start-process)
15082 (xscheme-process-sentinel, xscheme-cd):
15083 * progmodes/verilog-mode.el (verilog-read-always-signals)
15084 (verilog-set-define, verilog-getopt-file)
15085 (verilog-module-inside-filename-p):
15086 * progmodes/sh-script.el:
15087 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15088 (python-pdbtrack-grub-for-buffer, python-execute-file):
15089 * progmodes/octave-inf.el (inferior-octave):
15090 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15091 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15092 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15093 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15094 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15095 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15096 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15097 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15098 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15099 (idlwave-shell-examine-display, idlwave-shell-run-region)
15100 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15101 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15102 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15103 (idlwave-help-get-help-buffer):
15104 * progmodes/gud.el (gud-basic-call, gud-find-class)
15105 (gud-tooltip-activate-mouse-motions-if-enabled):
15106 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15107 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15108 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15109 (ebrowse-tags-next-file):
15110 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15111 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15112 (ebnf-eps-finish-and-write):
15113 * progmodes/cpp.el (cpp-edit-save):
15114 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15115 * progmodes/cc-defs.el (c-emacs-features):
15116 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15117 (antlr-directory-dependencies):
15118 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15119 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15120 (ada-find-any-references, ada-make-filename-from-adaname)
15121 (ada-make-body-gnatstub):
15122 * obsolete/rnews.el (news-list-news-groups):
15123 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15124 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15125 * net/rcirc.el (rcirc-debug):
15126 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15127 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15128 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15129 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15130 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15131 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15132 (newsticker--treeview-list-clear-highlight)
15133 (newsticker--treeview-list-update-highlight)
15134 (newsticker--treeview-list-highlight-start)
15135 (newsticker--treeview-tree-update-highlight)
15136 (newsticker--treeview-get-selected-item)
15137 (newsticker-treeview-mark-list-items-old)
15138 (newsticker--treeview-set-current-node):
15139 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15140 * net/newst-backend.el (newsticker--get-news-by-funcall)
15141 (newsticker--get-news-by-wget, newsticker--image-get)
15142 (newsticker--image-sentinel):
15143 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15144 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15145 (eudc-ph-close-session):
15146 * net/eudc.el (eudc-save-options):
15147 * language/thai-word.el (thai-update-word-table):
15148 * language/japan-util.el (japanese-string-conversion):
15149 * international/titdic-cnv.el (tsang-quick-converter)
15150 (ziranma-converter, ctlau-converter):
15151 * international/mule-cmds.el (describe-language-environment):
15152 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15153 (skkdic-convert-postfix, skkdic-convert-prefix):
15154 (skkdic-convert-okuri-nasi, skkdic-convert):
15155 * emacs-lisp/re-builder.el (reb-update-overlays):
15156 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15157 * emacs-lisp/gulp.el (gulp-send-requests):
15158 * emacs-lisp/find-gc.el (trace-call-tree):
15159 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15160 (eieio-describe-generic):
15161 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15162 * emacs-lisp/edebug.el (edebug-outside-excursion):
15163 * emacs-lisp/debug.el (debugger-make-xrefs):
15164 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15165 * emacs-lisp/chart.el (chart-new-buffer):
15166 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15167 Use with-current-buffer.
15168 * textmodes/artist.el (artist-system): Don't call
15169 copy-sequence on a fresh string.
15170 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15172 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15174 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15175 is no item to edit. (Bug#4820)
15176 (todo-top-priorities): Restore point and restore narrowing in Todo
15179 2009-10-31 Glenn Morris <rgm@gnu.org>
15181 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15182 (comint-last-output-start, comint-last-input-start)
15183 (comint-last-input-end): Don't defvar when compiling.
15184 (ange-ftp-process-file): Use bound-and-true-p.
15186 * pcmpl-rpm.el (top-level): Move provide statement to end.
15187 (pcmpl-rpm): Remove unused custom group.
15189 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15191 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15193 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15194 (byte-compile-warnings): Add `constants' as an option.
15195 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15196 (display-call-tree): Update for byte-compile-fdefinition possibly
15197 returning `(macro lambda ...)'. (Bug#4778)
15198 (byte-compile-variable-ref, byte-compile-setq-default):
15199 Respect `constants' member of byte-compile-warnings.
15201 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15203 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15204 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15207 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15209 * textmodes/ispell.el (ispell-skip-region-alist):
15210 * international/mule-conf.el (eight-bit):
15211 * international/fontset.el (font-encoding-alist):
15212 * startup.el (pure-space-overflow-message):
15213 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15214 * paths.el (gnus-nntp-service, rmail-spool-directory)
15215 (term-file-prefix):
15216 * files.el (save-some-buffers-action-alist):
15217 * cmuscheme.el (same-window-buffer-names):
15218 * ielm.el (same-window-buffer-names):
15219 * shell.el (same-window-buffer-names):
15220 * mail/sendmail.el (same-window-buffer-names):
15221 * progmodes/inf-lisp.el (same-window-buffer-names):
15222 * bindings.el (mode-line-client)
15223 (mode-line-column-line-number-mode-map):
15224 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15225 (tibetan-precomposed-regexp): Purecopy string arguments.
15227 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15229 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15230 (calcDigit-nondigit):
15231 * calc/calc-yank.el (calc-copy-to-buffer):
15232 * calc/calc-units.el (calc-invalidate-units-table):
15233 * calc/calc-trail.el (calc-trail-yank):
15234 * calc/calc-store.el (calc-insert-variables):
15235 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15236 * calc/calc-prog.el (calc-read-parse-table):
15237 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15238 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15239 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15240 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15241 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15242 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15243 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15244 * calc/calc-ext.el (calc-realign):
15245 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15246 (calc-embedded-finish-edit, calc-embedded-make-info)
15247 (calc-embedded-finish-command, calc-embedded-stack-change):
15248 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15250 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15251 shell-dynamic-complete-filename in preference to
15252 comint-dynamic-complete-filename.
15254 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15255 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15256 Don't consider whether the display supports colors.
15257 (bookmark-import-new-list): Use dolist.
15258 (bookmark-bmenu-mode-map): Move initialization into declaration.
15259 (bookmark-bmenu-list): Use dolist, simplify.
15260 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15261 (menu-bar-final-items): Use push.
15263 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15265 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15266 it works on remote files.
15267 (vc-hg-diff): Don't pass any `--cwd' argument.
15269 2009-10-27 Kevin Ryde <user42@zip.com.au>
15271 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15272 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15273 (Further to Bug#3921).
15275 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15277 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15278 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15279 calling `tramp-imap-put-file'. Add file size to the call.
15280 (tramp-imap-get-file-entries): Compute also user name, file size,
15282 (tramp-imap-handle-insert-directory): Insert uid and gid.
15283 (tramp-imap-handle-file-attributes): Transform uid and gid
15284 according to `id-format'.
15285 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15286 size in header X-Size.
15288 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15290 * simple.el (transpose-subr): Give clearer error when the mark
15291 is not set. (Bug#4807)
15293 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15295 * net/tramp.el (tramp-perl-file-truename): New defconst.
15296 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15297 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15298 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15299 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15301 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15302 Ignore `dired-call-process'.
15303 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15305 2009-10-26 Julian Scheid <julians37@gmail.com>
15307 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15308 (tramp-get-remote-readlink): New defun.
15309 (tramp-handle-file-truename): Use it.
15310 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15311 file exists if cache value present.
15312 (tramp-check-cached-permissions): New defun.
15313 (tramp-handle-file-readable-p): Use it.
15314 (tramp-handle-file-writable-p): Likewise.
15315 (tramp-handle-file-executable-p): Likewise.
15316 (tramp-handle-file-name-all-completions): Try using Perl to get
15317 partial completions. When perl not available, combine `cd' and
15318 `ls' into single remote operation and use shell expansion to get
15319 partial remote directory contents. Set `file-exists-p' cache for
15320 directory and any files returned by ls. Change cache handling to
15321 support partial directory contents. Use error message emitted by
15322 remote `cd' or Perl code for local tramp-error.
15323 (tramp-do-copy-or-rename-file-directly): Avoid separate
15324 tramp-send-command-and-check call.
15325 (tramp-handle-process-file): Merge three remote ops into one.
15326 Do not flush all caches when `process-file-side-effects' is set.
15327 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15328 file-attributes shows uid/gid to be set already.
15330 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15332 * textmodes/tex-mode.el (tex-dvi-view-command)
15333 (tex-show-queue-command, tex-open-quote):
15334 * progmodes/ruby-mode.el (auto-mode-alist)
15335 (interpreter-mode-alist): Purecopy strings.
15337 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15339 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15340 string for the hook, keymap and abbrev table.
15342 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15344 * x-dnd.el (x-dnd-xdnd-to-action):
15345 * startup.el (fancy-startup-text, fancy-about-text): Change to
15346 defconst from defvar.
15348 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15350 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15351 Purecopy initialization strings.
15353 * mail/sendmail.el (mail-header-separator)
15354 (mail-personal-alias-file):
15355 * mail/rmail.el (rmail-default-dont-reply-to-names)
15356 (rmail-ignored-headers, rmail-retry-ignored-headers)
15357 (rmail-highlighted-headers, rmail-secondary-file-directory)
15358 (rmail-secondary-file-regexp):
15359 * files.el (null-device, file-name-invalid-regexp)
15360 (locate-dominating-stop-dir-regexp)
15361 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15362 (interpreter-mode-alist): Use mapcar instead of mapc.
15364 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15366 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15367 (completion-ignored-extensions):
15368 (debug-ignored-errors): Purecopy strings.
15370 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15372 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15373 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15374 (pcomplete--here): Use push.
15376 * subr.el (all-completions): Declare the 4th arg obsolete.
15378 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15380 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15381 (pcomplete-unquote-argument): New function.
15382 (pcomplete--common-suffix): Always pay attention to case.
15383 (pcomplete--table-subvert): Quote and unquote the text.
15384 (pcomplete--common-quoted-suffix): New function.
15385 (pcomplete-std-complete): Use it and pcomplete-begin.
15387 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15388 we're inside a dedicated or minibuffer window.
15390 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15392 * bookmark.el: Update documentation, especially documentation
15393 of `bookmark-alist' and of the bookmark file format.
15394 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15396 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15398 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15399 keybindings apply to the mail buffer (Bug#4003). Shrink help
15402 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15403 (global-whitespace-mode, global-whitespace-newline-mode)
15404 (whitespace-toggle-options, global-whitespace-toggle-options):
15405 Doc fix (Bug#3660).
15407 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15408 of xmltok-start before the end tag was inserted (Bug#2840).
15410 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15411 patterns that are preceded by an open-paren (Bug#1320).
15413 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15415 * files.el (delete-directory): Delete symlinks to directories with
15416 delete-file (Bug#4739).
15418 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15420 * vc.el (vc-backend-for-registration): Rename from
15421 vc-get-backend-for-registration. Update callers.
15423 * international/mule-cmds.el (set-language-info-alist):
15425 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15426 (charset): Purecopy the name.
15427 (define-char-code-property): Purecopy string arguments.
15429 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15430 Purecopy string arguments.
15432 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15433 * ediff-hook.el (menu-bar-ediff-menu):
15434 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15435 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15437 2009-10-24 Glenn Morris <rgm@gnu.org>
15439 * comint.el (comint-dynamic-list-completions):
15440 * term.el (term-dynamic-list-completions): Use choose-completion rather
15441 than obsolete alias mouse-choose-completion.
15443 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15444 file-cache-choose-completion.
15445 (file-cache-choose-completion): Handle an optional event argument.
15446 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15448 * progmodes/octave-mod.el (octave-complete-symbol):
15449 Use choose-completion if mouse-choose-completion is ever removed.
15451 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15454 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15457 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15459 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15461 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15462 Ignore `pred' now that we receive one.
15463 Handle test-completion specially.
15465 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15467 * vc.el (vc-responsible-backend): Throw an error if not backend is
15468 found. Remove the REGISTER argument. Move the code dealing with
15470 (vc-get-backend-for-registration): ... here. New function.
15471 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15472 of vc-responsible-backend, pass the file name instead of the
15475 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15479 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15480 (pcomplete-comint-setup): Don't modify a global var via
15481 accidental side-effects.
15482 (pcomplete-shell-setup): Adjust call accordingly.
15483 (pcomplete-parse-comint-arguments): Use push.
15485 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15487 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15488 Allow uncapitalized info node names (Bug#3921).
15490 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15491 to the DEBUG file (Bug#3781).
15493 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15495 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15496 dictionary entry (Bug#4579).
15498 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15500 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15501 from `rfn-eshadow-update-overlay-hook' when unloading.
15502 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15503 "rsyncc". Adjust doc string.
15504 (tramp-temp-buffer-file-name): New buffer-local defvar.
15505 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15506 Keep temporary file when indicated by method ("rsync" and
15508 (tramp-handle-write-region): Handle APPEND.
15509 (tramp-delete-temp-file-function): New defun. Added to
15510 `kill-buffer-hook'.
15512 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15514 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15516 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15518 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15519 (color-name-rgb-alist, tty-standard-colors)
15520 (tty-color-mode-alist): Change to defconst.
15522 * simple.el (mark-inactive): Purecopy message.
15524 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15525 (global-map, yank-menu):
15526 * textmodes/ispell.el (ispell-menu-map):
15527 * net/eudc.el (eudc-tools-menu):
15528 * international/mule-cmds.el (describe-language-environment-map)
15529 (setup-language-environment-map, set-coding-system-map)
15530 (mule-menu-keymap):
15531 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15532 * replace.el (occur-mode-map):
15533 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15535 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15537 * calc/calc.el (math-read-number, math-read-number-simple):
15538 Use `save-match-data'.
15540 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15542 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15543 rather than fiddling with global-map bindings, since it should only
15544 affect per-terminal settings.
15545 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15547 * minibuffer.el (completion-table-with-terminator): Allow to specify
15548 the terminator-regexp.
15550 * simple.el (switch-to-completions): Look for *Completions* in other
15553 * pcomplete.el: Allow the use of completion-tables.
15554 (pcomplete-std-complete): New command.
15555 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15556 (pcomplete--here): Use a function for `form' rather than an expression,
15557 so it can be byte-compiled.
15558 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15559 Add edebug declaration.
15560 (pcomplete-show-completions): Remove unused var `curbuf'.
15561 (pcomplete-do-complete, pcomplete-stub):
15562 Don't assume `completions' is a list of strings any more.
15564 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15566 * find-dired.el (find-name-arg): Fix typo in docstring.
15568 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15570 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15571 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15573 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15576 * comint.el (comint-read-input-ring, comint-write-input-ring)
15577 (comint-substitute-in-file-name)
15578 (comint-dynamic-complete-as-filename)
15579 (comint-dynamic-simple-complete)
15580 (comint-dynamic-list-filename-completions)
15581 (comint-dynamic-list-completions)
15582 (comint-redirect-results-list-from-process): Minor simplifications.
15584 2009-10-21 Kevin Ryde <user42@zip.com.au>
15586 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15587 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15588 the first form. And insert a blank line after ";;; Code" since
15589 that's usual style. (Bug#4612)
15591 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15593 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15595 * minibuffer.el (completion-table-with-terminator): Properly implement
15596 boundaries, in case `terminator' appears in the suffix.
15597 (completion--embedded-envvar-table): Don't return boundaries if
15598 there's no valid completion. Simplify.
15599 (completion-file-name-table): New completion table extracted from
15600 completion--file-name-table.
15601 (completion--file-name-table): Use it.
15602 (read-file-name-predicate): Declare obsolete.
15603 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15604 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15605 completion-file-name-table, and use the `pred' argument.
15606 * files.el (locate-file-completion-table): Use the `pred' arg rather
15607 than read-file-name-predicate.
15608 (abbreviate-file-name): Use \` rather than ^ for BOS.
15610 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15612 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15613 vc-responsible-backend to register, it causes problems.
15615 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15617 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15619 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15621 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15622 (tramp-smb-handle-file-attributes): Use it.
15623 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15624 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15625 `mapcar'. Use `tramp-smb-get-stat-capability'.
15626 Add `dired-filename' text properties.
15627 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15628 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15631 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15633 * subr.el (read-key-delay): Reduce to 0.01.
15634 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15637 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15639 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15641 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15642 (Info-menu): Remove unused vars `last' and `completions'.
15643 (Info-index-nodes): Remove unused var `node'.
15645 * info.el (Info-complete-menu-item): Use complete-with-action.
15647 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15649 Make vc-annotate work through copies and renames.
15650 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15651 Return the file name too.
15652 (vc-annotate-revision-at-line)
15653 (vc-annotate-find-revision-at-line)
15654 (vc-annotate-revision-previous-to-line)
15655 (vc-annotate-show-log-revision-at-line): Update to get the file
15656 name from vc-annotate-extract-revision-at-line.
15657 (vc-annotate-show-diff-revision-at-line-internal): Change the
15658 argument to mean whether to show a file diff or not. Get the file
15659 name from vc-annotate-extract-revision-at-line.
15660 (vc-annotate-show-diff-revision-at-line):
15661 Update vc-annotate-show-diff-revision-at-line call.
15662 (vc-annotate-warp-revision): Add an optional file argument.
15664 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15665 (vc-git-annotate-extract-revision-at-line): Also return the file
15668 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15669 command. Remove unused code.
15670 (vc-hg-annotate-re): Update to match --follow output.
15671 (vc-hg-annotate-extract-revision-at-line): Also return the file
15674 * vc.el: Update annotate-extract-revision-at-line documentation.
15676 2009-10-18 Kevin Ryde <user42@zip.com.au>
15678 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15679 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15681 * net/browse-url.el (browse-url): Identify alist with "consp and
15682 not functionp" and let all other things go down the `apply' leg,
15683 as suggested by Stefan. (Further to bug#4531.)
15685 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15687 * minibuffer.el (read-file-name): Check for repeat before putting
15688 a default argument in file-name-history (Bug#4657).
15690 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15691 read syntax (Bug#4737).
15693 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15695 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15697 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15698 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15699 entries and make note of obsolete tags.
15701 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15703 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15705 2009-10-18 Glenn Morris <rgm@gnu.org>
15707 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15708 grep, so that binary files (eg international/uni-bidi.el) can match.
15709 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15710 now, and in any case the file header format has changed.
15712 2009-10-17 Glenn Morris <rgm@gnu.org>
15714 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15715 (flyspell-get-word, flyspell-large-region)
15716 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15718 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15720 * Makefile.in (ELCFILES): Add ede/shell.
15722 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15724 * term/common-win.el (x-colors): Purecopy it.
15726 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15728 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15729 permissive for when the buffer is empty.
15730 (tar-header-block-tokenize): Decode the username and groupname.
15731 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15733 2009-10-17 Eric Ludlam <zappo@gnu.org>
15735 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15736 contains multibyte characters, choose first applicable coding
15737 system automatically.
15739 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * international/mule-cmds.el (select-safe-coding-system): If the file
15742 has a coding cookie, use it regardless of any other setting (bug#4712).
15744 2009-10-17 Glenn Morris <rgm@gnu.org>
15746 * foldout.el (foldout-mouse-swallow-events):
15747 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15749 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15750 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15751 (dired-keep-marker-symlink, dired-dwim-target)
15752 (dired-copy-preserve-time): Do not autoload these defcustoms.
15754 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15755 messages from messing up the file coding. (Bug#4623)
15757 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15759 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15760 if no match is found for the current dictionary. (Bug#4578)
15762 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15763 optional, since that is how it is documented, and this is often called
15764 with a nil argument. (Bug#4577)
15765 (flyspell-external-point-words, flyspell-auto-correct-word)
15766 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15767 (flyspell-word-search-backward): Remove nil argument in calls to
15768 flyspell-get-word, since it is not needed now.
15770 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15772 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15774 2009-10-16 Glenn Morris <rgm@gnu.org>
15776 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15778 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15780 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15781 (ange-ftp-file-size): New function.
15782 (ange-ftp-file-attributes): Use it.
15784 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15786 * net/tramp-smb.el (tramp-smb-version): New defvar.
15787 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15790 2009-10-16 Glenn Morris <rgm@gnu.org>
15792 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15793 Maybe copy some custom properties from old to new name. (Bug#4706)
15795 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15797 * subr.el (error, sit-for, start-process-shell-command)
15798 (start-file-process-shell-command): Set the calling convention
15799 after the function definition.
15801 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * subr.el (error, sit-for, start-process-shell-command)
15804 (start-file-process-shell-command): Use the new
15805 set-advertised-calling-convention feature.
15807 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15809 * international/ucs-normalize.el (ucs-normalize-version):
15811 (check-range): Adjust for Unicode 5.2.
15813 2009-10-15 Juri Linkov <juri@jurta.org>
15815 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15816 to the `menu-item' format.
15818 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15820 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15821 if the environment variable does not exist.
15823 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15824 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15826 (tramp-smb-handle-add-name-to-file)
15827 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15828 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15829 (tramp-smb-handle-file-attributes)
15830 (tramp-smb-do-file-attributes-with-stat)
15831 (tramp-smb-handle-file-local-copy)
15832 (tramp-smb-handle-insert-directory)
15833 (tramp-smb-handle-make-directory)
15834 (tramp-smb-handle-make-directory-internal)
15835 (tramp-smb-handle-make-symbolic-link)
15836 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15837 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15838 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15839 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15840 Handle long file names.
15841 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15842 process is running.
15843 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15844 Read share names with "-g" option.
15846 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15848 * net/rcirc.el (rcirc-view-log-file): New command.
15849 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15850 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15853 2009-10-15 Glenn Morris <rgm@gnu.org>
15855 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15856 from the second command-line argument.
15857 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15858 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15859 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15860 w32-batch-update-autoloads.
15861 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15862 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15864 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15865 the headers cannot be located. Simplify, subtracting superflous
15868 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15870 Replace completion-base-size by completion-base-position to fix bugs
15871 such as (bug#4699).
15872 * simple.el (completion-base-position): New var.
15873 (completion-base-size): Mark as obsolete.
15874 (choose-completion): Make it work for mouse events as well.
15875 Pass the new base-position to choose-completion-string.
15876 (choose-completion-guess-base-position): New function, extracted from
15877 choose-completion-delete-max-match.
15878 (choose-completion-delete-max-match): Use it. Make obsolete.
15879 (choose-completion-string): Use the new base-position info.
15880 (completion-root-regexp): Delete.
15881 (completion-setup-function): Preserve completion-base-position.
15882 Eliminate obsolete base-size manipulation.
15883 * minibuffer.el (display-completion-list): Don't mess with base-size.
15884 (minibuffer-completion-help): Set completion-base-position instead.
15885 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15887 * textmodes/bibtex.el (bibtex-complete):
15888 * emacs-lisp/crm.el (crm--choose-completion-string):
15889 Adjust to new calling convention.
15890 * complete.el (partial-completion-mode): Use minibufferp to avoid
15891 bumping into incompatible change to choose-completion-string-functions.
15892 * ido.el (ido-choose-completion-string): Make its calling convention
15894 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15895 base-size manipulation.
15896 (comint-dynamic-list-input-ring): Use dotimes and push.
15897 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15898 fundamental-mode. Use `or'.
15900 2009-10-14 Juri Linkov <juri@jurta.org>
15902 * misearch.el (multi-isearch-next-buffer-from-list)
15903 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15905 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15907 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15910 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15911 string we return is all made up of text from the completions rather
15912 than part from the completions and part from the input (bug#4219).
15914 * ido.el (ido-everywhere): Use define-minor-mode.
15916 * buff-menu.el (list-buffers, ctl-x-map):
15917 Mark the entry points with ;;;###autoload cookies.
15919 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15921 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15922 correctly in the detached head case.
15923 (vc-git-print-log): Remove unused binding.
15925 * vc.el (vc-responsible-backend): When a directory is passed for
15926 for registration create a VC repository if no backend is
15927 responsible for the directory argument.
15928 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15930 * vc.el: Move comments about RCS and SCCS ...
15932 * vc-sccs.el: ... here, respectively.
15934 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15936 * minibuffer.el (completion--file-name-table): Return nil if there's
15937 no file completion, even if substitute-in-file-name changed
15938 the string (bug#4708).
15940 2009-10-13 Juri Linkov <juri@jurta.org>
15942 * files-x.el (read-file-local-variable-value): Don't filter out
15943 minor modes from mode name completion (bug#4664).
15945 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15947 * international/mule-cmds.el (ucs-names): Remove exclusion of
15948 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15950 2009-10-13 Kenichi Handa <handa@m17n.org>
15952 * international/uni-name.el: Regenerated.
15954 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15956 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15957 should be automatically buffer-local, but isn't.)
15959 2009-10-12 Sam Steingold <sds@gnu.org>
15961 * progmodes/compile.el (compilation-next-error-function): Fix the
15962 timestamps if the buffer has been visited before.
15963 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15964 non-anchored patterns, like the perl one (bug#3928).
15966 2009-10-12 Glenn Morris <rgm@gnu.org>
15968 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15971 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15973 * proced.el (proced-unload-function): New function.
15975 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15976 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15979 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15981 2009-10-11 Juri Linkov <juri@jurta.org>
15983 * files-x.el (read-file-local-variable-value):
15984 Provide default value only for bound variables (bug#4664).
15986 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15988 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15989 connection methods like smb.
15991 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15994 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15995 (tramp-smb-file-name-handler-alist): Add handlers for
15996 `add-name-to-file', `make-symbolic-link'.
15997 (tramp-smb-handle-add-name-to-file)
15998 (tramp-smb-do-file-attributes-with-stat)
15999 (tramp-smb-handle-make-symbolic-link)
16000 (tramp-smb-get-cifs-capabilities): New defuns.
16001 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16002 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16003 (tramp-smb-handle-file-local-copy)
16004 (tramp-smb-handle-make-directory-internal)
16005 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16006 The file name syntax depends on cifs capabilities.
16007 (tramp-smb-handle-file-attributes):
16008 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16009 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16010 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16012 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16014 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16015 (eieio-defclass): Apply deftype handler and setf-method properties
16017 (eieio-add-new-slot): Avoid union function from cl library.
16018 (eieio--typep): New function.
16019 (eieio-perform-slot-validation): Use it.
16021 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16023 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16024 Update documentation to refer to the variables documented in r1.135.
16027 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16029 * bookmark.el (Info-suffix-list): Remove this unused variable.
16030 (bookmark-current-point): Remove this obsolete variable.
16031 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16032 Adjust for removal of bookmark-current-point.
16034 (bookmarks-already-loaded, bookmark-current-buffer)
16035 (bookmark-yank-point): Document. (Bug#4188)
16037 2009-10-10 Glenn Morris <rgm@gnu.org>
16039 * frame.el (frame-height): Doc fix.
16041 * calendar/calendar.el (calendar-split-width-threshold): New option.
16042 (calendar-basic-setup): Use calendar-split-width-threshold.
16044 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16046 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16047 Ideographic Supplement" range (U+1F200..U+1F2FF).
16049 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16051 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16052 since the list will have been rebuilt anyway. (Bug#4349)
16054 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16056 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16057 (bookmark-bmenu-execute-deletions): Don't save here, as
16058 bookmark-delete will now do so if necessary.
16059 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16062 2009-10-09 Glenn Morris <rgm@gnu.org>
16064 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16066 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16068 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16069 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16070 argument now, so the two function's behaviors will match. (Bug#3645)
16072 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16074 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16075 (tramp-file-name-real-host, tramp-file-name-port):
16076 Apply `save-match-data'.
16078 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16079 case both directories are remote.
16080 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16081 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16083 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16085 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16087 2009-10-07 Glenn Morris <rgm@gnu.org>
16089 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16092 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16094 * files-x.el (read-file-local-variable): Include some
16095 non-user-variables in the completion table (bug#4664).
16097 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16099 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16102 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16103 (tramp-smb-file-name-handler-alist): Add handler for
16104 `copy-directory', `expand-file-name', `set-file-modes'.
16105 (tramp-smb-handle-copy-directory)
16106 (tramp-smb-handle-expand-file-name)
16107 (tramp-smb-handle-set-file-modes): New defuns.
16108 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16109 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16111 (tramp-smb-handle-insert-directory): Don't flush the cache.
16112 (tramp-smb-maybe-open-connection): Check for samba client and
16115 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16117 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16118 to not error out of search for "^lisp=" fails.
16120 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16122 * makefile.w32-in (WINS_UPDATES): New macro.
16123 (custom-deps, finder-data, autoloads): Use it.
16125 2009-10-07 Glenn Morris <rgm@gnu.org>
16127 * Makefile.in (autoloads): Revert previous change.
16128 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16129 the list of preloaded files passed on the command-line, get
16130 it from src/Makefile.
16132 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16133 show the original buffer rather than a random one.
16135 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16137 * help.el (describe-no-warranty): Place point in a slightly better
16138 position in the GPLv3 text.
16140 2009-10-06 Sam Steingold <sds@gnu.org>
16142 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16143 the comm attribute is present before calling regexp-quote.
16145 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16147 * play/animate.el (animate-string): For good effect, make sure
16148 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16150 * play/animate.el (animate-sequence, animate-birthday-present):
16151 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16153 2009-10-06 Glenn Morris <rgm@gnu.org>
16155 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16157 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16158 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16159 (batch-update-autoloads): Process a string value of autoload-excludes,
16160 set during the build process.
16161 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16163 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16164 inside with-parsed... macro so that `v' is defined.
16166 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16167 * progmodes/fortran.el (fortran-end-of-block)
16168 (fortran-beginning-of-block):
16169 Also push mark in the macro case.
16171 * emerge.el (emerge-show-file-name):
16172 * calc/calc.el (calc-quit):
16173 * calc/calc-misc.el (calc-big-or-small):
16174 * calc/calc-graph.el (calc-graph-view):
16175 * calc/calc-ext.el (calc-reset):
16176 * calendar/calendar.el (calendar-basic-setup):
16177 Use window-full-height-p.
16179 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16180 header we don't understand, don't insert another. (Bug#4624)
16181 If changing mime charset, insert the new one in the right place.
16183 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16185 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16186 (cal-tex-cursor-month): Correctly increment the end date for diary and
16187 holiday listing. (Bug#4626)
16189 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16191 * help-fns.el (describe-function-1): Don't burp if the function is not
16194 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16196 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16197 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16198 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16199 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16201 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16202 (eieio-default-superclass): Reflow docstrings.
16203 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16204 (eieio-unbind-method-implementations, defmethod)
16205 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16206 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16207 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16208 (eieio-slot-originating-class-p, eieio-slot-name-index)
16209 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16210 (constructor, initialize-instance, no-next-method, object-print)
16211 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16212 Fix typos in docstrings.
16213 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16214 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16215 (next-method-p): Doc fixes.
16216 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16217 Fix typos in error messages.
16218 (eieio-defmethod): Fix typo in description of generic method.
16220 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16221 (eieio-persistent-save-interactive, slot-missing):
16222 Fix typos in docstrings.
16223 (eieio-instance-inheritor-slot-boundp): Doc fix.
16225 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16226 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16228 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16229 (eieio-custom-object-apply-reset):
16230 Fix typos in docstrings and error messages.
16232 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16233 Fix typo in docstring.
16235 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16236 (eieio-browse-tree): Doc fix.
16237 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16238 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16239 Fix typos in docstrings.
16241 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16242 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16243 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16244 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16247 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16249 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16250 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16251 Set log-view-vc-backend so that diff can work.
16253 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16255 (vc-diff-internal): Autoload this instead of vc-version-diff.
16257 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16259 * simple.el (eval-expression): Doc fix.
16261 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16263 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16265 * files.el (directory-files-no-dot-files-regexp): New defconst.
16266 (delete-directory): Use it.
16267 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16269 * net/tramp.el (tramp-verbose): Fix docstring.
16270 (tramp-methods): Add recursive option to `tramp-copy-args'.
16271 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16272 "scp1_old", "scp2_old", "rsync", "rsyncc".
16273 (tramp-default-method): Check also for `auth-source-user-or-password'.
16274 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16275 Add handler for `copy-directory'.
16276 (tramp-handle-copy-directory): New defun.
16277 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16278 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16279 Optimize sent command.
16281 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16284 window if necessary.
16286 * calendar/calendar.el (calendar-basic-setup): Don't call
16287 switch-to-buffer in a dedicated window.
16289 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16291 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16292 don't do anything related to relocating, just return nil.
16293 (bookmark-error-no-filename): New error.
16294 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16295 bookmark has no file. Don't even attempt to handle things that
16296 are not files; the whole point of custom handlers is to keep that
16297 knowledge elsewhere anyway. Tighten some comments.
16298 (bookmark-file-or-variation-thereof): Remove now-unused function.
16299 (bookmark-location): Doc string fix.
16302 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16304 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16305 don't use a file dialog, because they usually don't know how to read
16306 a directory target from the user. (Bug#4230)
16307 Also, make sure the prompt can display directories as well as files.
16309 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16311 * bookmark.el (bookmark-set, bookmark-buffer-name):
16312 Improve doc strings. (Bug#1193)
16314 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16316 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16317 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16318 (bookmark-get-annotation, bookmark-set-annotation)
16319 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16320 (bookmark-set-position, bookmark-get-front-context-string)
16321 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16322 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16323 (bookmark-jump-other-window, bookmark-handle-bookmark)
16324 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16325 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16326 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16327 Improve doc strings to say whether bookmark can be a string or
16328 a record or both, and make other consistency and clarity fixes.
16329 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16330 (bookmark-default-annotation-text, bookmark-yank-word)
16331 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16332 (bookmark-import-new-list, bookmark-maybe-rename)
16333 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16334 (bookmark-bmenu-bookmark): Give these doc strings.
16335 (bookmark-bmenu-check-position): Give this a doc string, but also
16336 add a FIXME comment about how the function may be pointless.
16337 (bookmark-default-handler): Rework doc string and change a
16338 parameter name, to clarify that this takes a bookmark record
16339 not a bookmark name.
16340 (bookmark-set): Change a parameter name to indicate its meaning,
16341 and improve the doc string a bit.
16344 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16346 * bookmark.el (bookmark-alist): Document the new `handler' element
16347 in the param alist.
16348 (bookmark-make-record-function): Adjust documentation for above.
16351 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16353 * info.el (Info-bookmark-make-record): Document this function.
16354 (Info-bookmark-jump): Document with a doc string, not just a comment.
16357 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16359 * files.el (copy-directory): New defun.
16361 * dired-aux.el (dired-copy-file-recursive): Use it.
16363 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16365 * files-x.el (modify-dir-local-variable)
16366 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16369 * recentf.el (recentf-unload-function): New function.
16371 2009-10-04 Glenn Morris <rgm@gnu.org>
16373 * window.el (window-full-height-p): Add doc string.
16375 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16377 * window.el (window-full-height-p): New function. (Bug#4543)
16379 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16381 * vc.el: Remove commented out code.
16382 (vc-derived-from-dir-mode): Remove, unused.
16383 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16385 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16387 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16388 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16389 there could be recursive loading when `default-directory' is a
16390 remote file name. (Bug#4614)
16392 2009-10-03 Glenn Morris <rgm@gnu.org>
16394 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16396 (calendar-generate-window): Test for shrinkability rather than width.
16398 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16399 reusing existing buffers, in case we happen to visit two files with the
16400 same basename. (Bug#4593)
16402 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16404 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16405 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16406 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16407 subdirs of cedet as well.
16408 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16410 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16412 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16413 Obey advertised-signature-table.
16415 * help-fns.el (help-function-arglist): Don't check
16416 advertised-signature-table.
16417 (describe-function-1): Do it here instead so it also applies to subrs.
16419 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16421 * simple.el (start-file-process): Say in the doc-string, that file
16422 handlers might not support pty association, if PROGRAM is nil.
16424 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16425 HOST and USER are strings. They are nil, when there are
16426 incomplete entries in ~/.netrc, for example.
16427 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16428 root directory ("device busy" error otherwise).
16430 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16431 Flush file properties of created directory.
16433 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16435 * makefile.w32-in (WINS_BASIC): Remove cedet.
16436 (WINS_CEDET): Add cedet.
16437 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16439 2009-10-02 Kevin Ryde <user42@zip.com.au>
16441 * net/browse-url.el (browse-url): Pass any symbol in
16442 browse-url-browser-function to `apply', since if you've mistakenly put
16443 an unbound symbol then the error is clearer. (Bug#4531)
16445 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16447 * allout.el (allout-init, allout-back-to-current-heading)
16448 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16449 (allout-ascend, allout-up-current-level, allout-end-of-level)
16450 (allout-previous-visible-heading, allout-forward-current-level)
16451 (allout-backward-current-level, allout-show-children):
16452 * apropos.el (apropos-describe-plist):
16453 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16454 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16455 * completion.el (add-completion, add-permanent-completion):
16456 * descr-text.el (describe-text-category, describe-char):
16457 * desktop.el (desktop-lazy-abort):
16458 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16459 * dired.el (dired-build-subdir-alist):
16460 * ediff.el (ediff-version):
16461 * elide-head.el (elide-head, elide-head-show):
16462 * emerge.el (emerge-version):
16464 * face-remap.el (variable-pitch-mode):
16465 * faces.el (describe-face):
16466 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16468 * files.el (find-file-existing, auto-save-mode):
16469 * font-lock.el (font-lock-fontify-buffer):
16470 * help-fns.el (describe-function, describe-variable)
16471 (describe-syntax, describe-categories):
16472 * help.el (view-lossage, describe-bindings, describe-key)
16474 * hexl.el (hexl-current-address):
16475 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16476 * info.el (Info-goto-emacs-key-command-node):
16477 * log-edit.el (log-edit-insert-cvs-template)
16478 (log-edit-insert-cvs-rcstemplate):
16479 * menu-bar.el (menu-bar-mode):
16480 * mouse.el (mouse-appearance-menu):
16481 * newcomment.el (comment-indent-new-line):
16482 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16483 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16484 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16485 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16486 * recentf.el (recentf-mode):
16487 * savehist.el (savehist-mode, savehist-save):
16488 * shadowfile.el (shadow-copy-files):
16489 * simple.el (kill-ring-save, next-line, previous-line)
16490 (normal-erase-is-backspace-mode):
16491 * strokes.el (strokes-update-window-configuration)
16492 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16493 (strokes-xpm-for-stroke):
16494 * time.el (emacs-uptime, emacs-init-time):
16495 * tutorial.el (tutorial--describe-nonstandard-key)
16496 (tutorial--detailed-help):
16497 * type-break.el (type-break-mode)
16498 (type-break-mode-line-message-mode, type-break-query-mode)
16499 (type-break-guesstimate-keystroke-threshold):
16500 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16501 * version.el (emacs-version):
16502 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16503 * winner.el (winner-mode):
16504 * calendar/timeclock.el (timeclock-in, timeclock-out)
16505 (timeclock-status-string, timeclock-change)
16506 (timeclock-workday-remaining-string)
16507 (timeclock-workday-elapsed-string)
16508 (timeclock-when-to-leave-string):
16509 * calendar/todo-mode.el (todo-add-category):
16510 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16511 * emacs-lisp/autoload.el (update-file-autoloads):
16512 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16513 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16514 (checkdoc-message-text, checkdoc-defun):
16515 * emacs-lisp/debug.el (debugger-list-functions):
16516 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16517 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16518 (eieio-describe-generic):
16519 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16520 * emacs-lisp/shadow.el (list-load-path-shadows):
16521 * emulation/cua-base.el (cua-mode):
16522 * emulation/edt.el (edt-set-scroll-margins):
16523 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16524 (tpu-toggle-regexp, tpu-toggle-search-direction)
16525 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16526 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16527 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16528 (viper-set-parsing-style-toggling-macro)
16529 (viper-set-emacs-state-searchstyle-macros):
16530 * emulation/viper.el (viper-set-hooks):
16531 * eshell/esh-mode.el (eshell-truncate-buffer):
16532 * international/mule-cmds.el (prefer-coding-system)
16533 (describe-input-method, describe-language-environment):
16534 * international/mule-diag.el (list-character-sets)
16535 (describe-character-set, describe-coding-system)
16536 (describe-fontset, list-fontsets, list-input-methods):
16537 * mail/sendmail.el (mail-signature):
16538 * net/ange-ftp.el (ange-ftp-copy-file):
16539 * net/browse-url.el (browse-url):
16540 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16541 * net/quickurl.el (quickurl-add-url):
16542 * net/rcirc.el (names, topic):
16543 * net/xesam.el (xesam-mode):
16544 * play/5x5.el (5x5-new-game):
16545 * play/yow.el (apropos-zippy):
16546 * progmodes/ada-mode.el (ada-mode-version):
16547 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16549 (f90-beginning-of-block):
16550 * progmodes/fortran.el (fortran-end-of-block)
16551 (fortran-beginning-of-block):
16552 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16553 * progmodes/python.el (python-describe-symbol, python-shell):
16554 * term/ns-win.el (ns-print-buffer):
16555 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16556 * textmodes/flyspell.el (flyspell-mode-on):
16557 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16558 (pages-directory-for-addresses):
16559 * textmodes/table.el (table-recognize-cell)
16560 (table-query-dimension, table-generate-source)
16561 (table-insert-sequence, table--warn-incompatibility):
16562 * textmodes/tex-mode.el (tex-validate-buffer):
16563 * textmodes/texinfmt.el (texinfmt-version)
16564 (texinfo-format-buffer):
16565 Use `called-interactively-p' instead of `interactive-p'.
16567 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16569 * image-mode.el (image-toggle-display):
16570 * emacs-lisp/elp.el (elp-instrument-function):
16571 * emacs-lisp/advice.el (ad-make-advised-definition):
16572 * emacs-lisp/easy-mmode.el (define-minor-mode):
16573 * net/browse-url.el (browse-url-maybe-new-window):
16574 * progmodes/sh-script.el (sh-learn-buffer-indent):
16575 Pass new argument 'any to `called-interactively-p'.
16577 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16579 * international/uni-bidi.el:
16580 * international/uni-category.el:
16581 * international/uni-combining.el:
16582 * international/uni-comment.el:
16583 * international/uni-decimal.el:
16584 * international/uni-decomposition.el:
16585 * international/uni-digit.el:
16586 * international/uni-lowercase.el:
16587 * international/uni-mirrored.el:
16588 * international/uni-name.el:
16589 * international/uni-numeric.el:
16590 * international/uni-old-name.el:
16591 * international/uni-titlecase.el:
16592 * international/uni-uppercase.el:
16593 Regenerate from Unicode 5.2.0 data.
16595 2009-10-01 Glenn Morris <rgm@gnu.org>
16597 * Makefile.in (ELCFILES): Regenerate.
16599 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16601 * subr.el (interactive-p): Mark obsolete.
16602 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16603 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16604 advertised-signature-table for subroutines as well.
16606 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16607 (set-advertised-calling-convention): New function.
16608 (make-obsolete, define-obsolete-function-alias)
16609 (make-obsolete-variable, define-obsolete-variable-alias):
16610 Make the optional-ness of `when' obsolete.
16611 (define-obsolete-face-alias): Make `when' non-optional.
16612 * help-fns.el (help-function-arglist):
16613 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16614 Use advertised-signature-table.
16616 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16618 * files.el (delete-directory): New defun. The original function
16619 in fileio.c has been renamed to `delete-directory-internal'.
16621 * dired.el (dired-delete-file): Call `delete-directory' with
16622 RECURSIVE parameter.
16624 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16625 parameter RECURSIVE. Implementation is missing.
16627 * net/tramp.el (tramp-handle-make-directory): Flush upper
16628 directory's file properties.
16629 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16630 (tramp-handle-dired-recursive-delete-directory): Flush directory
16631 properties after the remove command only.
16633 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16634 Handle optional parameter RECURSIVE.
16636 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16637 Handle optional parameter RECURSIVE.
16639 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16640 connection timeout.
16641 (tramp-smb-handle-delete-directory): Handle optional parameter
16644 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16646 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16647 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16648 (byte-compile-defmacro): Use backquotes.
16650 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16652 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16653 has no associated file.
16654 (vc-resynch-buffer): Use vc-dir-buffers.
16656 2009-10-01 Glenn Morris <rgm@gnu.org>
16658 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16659 (chart-file-count):
16660 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16661 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16662 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16663 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16664 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16665 (eieio-copy-parents-into-subclass, make-instance, class-children)
16666 (eieio-generic-form):
16668 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16669 match-data. (Bug#4555).
16671 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16672 rather than parsing it as a regexp. This relaxes the layout
16673 requirements and makes errors easier to detect.
16674 (check-declare-verify): Check file is regular.
16675 (check-declare-directory): Doc fix.
16676 * subr.el (declare-function): Doc fix.
16678 * ibuffer.el (ibuffer-format-qualifier):
16679 * isearch.el (hi-lock-regexp-okay):
16680 * calc/calc.el (math-zerop):
16681 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16682 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16683 Remove unused declarations.
16685 2009-09-30 Eric Ludlam <zappo@gnu.org>
16687 * emacs-lisp/eieio.el (boolean-p): Delete.
16689 2009-09-30 Glenn Morris <rgm@gnu.org>
16691 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16693 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16694 filename is not a string.
16696 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16698 * files.el (safe-local-eval-forms): Fix typo.
16700 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16702 * vc-hooks.el (vc-dir-buffers): New var.
16703 (vc-state-refresh): New function.
16704 (vc-state): Use it.
16705 (vc-after-save): Always ask the backend to recompute the new state.
16706 Always call vc-dir if necessary, using vc-dir-buffers.
16707 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16708 Use vc-dir-buffers.
16709 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16710 (vc-dir-prepare-status-buffer, vc-dir-update)
16711 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16712 Don't call expand-file-name on default-directory.
16714 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16716 * speedbar.el (speedbar-item-delete):
16717 * calc/calc-prog.el (calc-kbd-if):
16718 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16720 * epa.el (epa-key-list-mode-map):
16721 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16723 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16724 (hs-show-hook): Fix typo in docstring.
16726 2009-09-29 Glenn Morris <rgm@gnu.org>
16728 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16729 file-name-nondirectory call preventing location of cedet files.
16730 (check-declare-verify): Use literal search rather than re-search.
16731 Add basic defmethod and defclass, and define-overloadable-function.
16733 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16734 Use tramp-compat-file-attributes rather than nonexistent
16735 tramp-compat-handle-file-attributes.
16737 * Makefile.in (lisptagsfiles4): New.
16738 (AUTOGENEL): Add cedet loaddefs files.
16739 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16740 (update-elclist, compile-always, backup-compiled-files)
16741 (bootstrap-clean): Add yet another directory level.
16742 (update-elclist): Use LC_COLLATE rather than COLLATE.
16743 (ELCFILES): Update, via `make update-elclist'.
16745 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16747 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16748 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16749 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16751 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16753 * Makefile.in (lisptagsfiles3): Define.
16754 (TAGS, TAGS-LISP): Use it.
16755 (update-elclist): Add third directory level to look for elc files.
16756 (compile-always): Likewise.
16757 (backup-compiled-files): Likewise.
16758 (bootstrap-clean): Likewise.
16759 (ELCFILES): Update.
16761 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16763 * Makefile.in (ELCFILES): Add CEDET files.
16765 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16767 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16769 * net/tramp.el (top): Require tramp-imap.
16771 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16772 Use `tramp-compat-handle-file-attributes'.
16774 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16776 * net/tramp-imap.el: New package.
16778 2009-09-28 Eric Ludlam <zappo@gnu.org>
16780 * emacs-lisp/chart.el:
16781 * emacs-lisp/eieio-base.el:
16782 * emacs-lisp/eieio-comp.el:
16783 * emacs-lisp/eieio-custom.el:
16784 * emacs-lisp/eieio-datadebug.el:
16785 * emacs-lisp/eieio-opt.el:
16786 * emacs-lisp/eieio-speedbar.el:
16787 * emacs-lisp/eieio.el: New files.
16789 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16791 * whitespace.el (whitespace-trailing-regexp)
16792 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16795 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16797 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16800 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16801 menu-bar-ediff-menu.
16803 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16804 define-overloadable-function.
16806 * progmodes/autoconf.el: Provide autoconf as well, so that this
16807 file can be `require'd.
16809 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16811 * emacs-lisp/autoload.el (generated-autoload-feature)
16812 (generated-autoload-load-name): New vars.
16813 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16814 (make-autoload): Recognize define-overloadable-function and
16815 defclass forms (for EIEIO).
16817 * Makefile.in (update-subdirs): Exclude cedet directory.
16819 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16821 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16823 * faces.el: Default light-background background for region face to
16824 ns_selection_color under NS.
16826 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16828 * net/imap-hash.el: New library, see NEWS.
16830 * Makefile.in (ELCFILES): Add imap-hash.el.
16832 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16834 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16835 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16836 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16837 definition where the docstring could be taken for the return value.
16839 2009-09-26 Glenn Morris <rgm@gnu.org>
16841 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16842 Add option to only show images below a certain size.
16843 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16844 save-excursion calls.
16846 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16848 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16849 subdirectories) and eieio.
16851 2009-09-26 Alan Mackenzie <acm@muc.de>
16853 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16854 Correct buggy bracketing. (Bug#4289)
16856 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16857 character constants (as case labels). (Bug#4289)
16859 2009-09-25 Juri Linkov <juri@jurta.org>
16861 * files.el (safe-local-eval-forms): Allow time-stamp in
16862 before-save-hook (Bug#4554).
16864 2009-09-25 Drew Adams <drew.adams@oracle.com>
16866 * menu-bar.el (list-buffers-directory): Doc fix.
16868 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16870 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16871 Try and avoid copying twice the same paragraph.
16872 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16873 Remove save-excursion.
16874 (log-edit-changelog-entry): Do it here instead.
16876 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16878 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16879 when available, instead of hardcoding mode names. Doc fix.
16881 * menu-bar.el (list-buffers-directory): Add docstring.
16882 Make automatically buffer-local.
16884 * dired.el (dired-mode):
16885 * files.el (cd-absolute):
16886 * pcvs.el (cvs-temp-buffer):
16887 * pcvs-util.el (cvs-get-buffer-create):
16888 * shell.el (shell-mode):
16889 * vc-dir.el (vc-dir-mode):
16890 Don't make `list-buffers-directory' buffer local.
16892 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16894 * comint.el (comint-exec, comint-run, make-comint):
16895 Doc fixes (Bug#4542).
16897 2009-09-25 Glenn Morris <rgm@gnu.org>
16899 * mail/rmailmm.el (rmail-mime): New custom group.
16900 Move all defcustoms in this file into this group.
16901 (rmail-mime-media-type-handlers-alist): Revert previous change.
16902 (rmail-mime-show-images): New option.
16903 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16904 references to it, since it wasn't actually used for anything.
16905 (rmail-mime-insert-image): New function.
16906 (rmail-mime-image): Use rmail-mime-insert-image.
16907 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16908 obey the value of `rmail-mime-show-images' option. Print the size of
16911 2009-09-25 David Engster <deng@randomsample.de>
16913 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16915 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16917 * whitespace.el: Does not highlight trailing spaces While point is
16918 at end of line. Does not highligt spaces at beginning of buffer
16919 while point is at beginning of buffer. Does not highlight spaces
16920 at end of buffer while point is at end of buffer. (Bug#4177)
16922 (whitespace-display-mappings): Adjust initialization.
16923 (whitespace-point, whitespace-font-lock-refontify): New vars.
16924 (whitespace-color-on, whitespace-color-off): Adjust code.
16925 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16926 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16927 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16929 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16931 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16933 * textmodes/sgml-mode.el: Remove xml-mode alias.
16935 * files.el (auto-mode-alist, conf-mode-maybe)
16936 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16938 2009-09-24 Alan Mackenzie <acm@muc.de>
16940 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16941 c-forward-conditionals, but it doesn't move point and doesn't set
16943 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16944 (c-down-conditional-with-else, c-backward-conditional)
16945 (c-forward-conditional): Refactor to use c-scan-conditionals.
16947 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16949 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16950 (help-default-arg-highlight): Remove.
16951 (help-highlight-arg): New function.
16952 (help-do-arg-highlight): Use it.
16953 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16955 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16957 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16958 Undo last change, which didn't fix the problem and introduced others.
16960 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16962 * progmodes/gdb-mi.el: Don't require speedbar.
16963 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16965 2009-09-24 Glenn Morris <rgm@gnu.org>
16967 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16969 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16971 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16972 there is no newline after the final mime boundary. (Bug#4539)
16973 Move markers on insertion so that any buttons inserted don't end up in
16974 the next part of a multipart message.
16975 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16976 (rmail-mime-bulk-handler): Optionally handle images.
16977 (rmail-mime-image): New button action.
16978 (rmail-mime-image-handler): New function.
16979 (rmail-mime-mode): New mode.
16980 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16982 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16984 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16985 than just dropping elements from it (bug#4504).
16987 * term.el (term-set-scroll-region): Don't move cursor any more.
16988 (term-handle-ansi-escape): Call term-goto here instead.
16989 Suggested by Ivan Kanis <apple@kanis.eu>.
16991 * term.el: Require CL.
16992 (term-ansi-reset): New function.
16993 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16994 (term-handle-colors-array): Simplify.
16996 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16998 * allout.el (allout-overlay-interior-modification-handler)
16999 (allout-obtain-passphrase):
17000 * epa-file.el (epa-file-write-region):
17001 * ps-print.el (ps-begin-job):
17002 * vc-hooks.el (vc-toggle-read-only):
17003 * vc-rcs.el (vc-rcs-rollback):
17004 * vc-sccs.el (vc-sccs-rollback):
17005 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17006 (vc-version-diff, vc-revert, vc-rollback):
17007 * wdired.el (wdired-check-kill-buffer):
17008 * emacs-lisp/authors.el (authors):
17009 * net/socks.el (socks-open-connection):
17010 * net/zeroconf.el (zeroconf-service-add-hook):
17011 * obsolete/vc-mcvs.el (vc-mcvs-register):
17012 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17013 (gdb-select-frame):
17014 * progmodes/grep.el (lgrep, rgrep):
17015 * progmodes/idlw-help.el (idlwave-help-check-locations)
17016 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17017 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17018 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17019 (reftex-toc-rename-label): Fix typos in error messages.
17021 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17022 (dired-copy-how-to-fn): Doc fix.
17023 (dired-files-attributes, dired-read-shell-command):
17024 Fix typos in docstrings.
17026 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17027 (dired-x-find-file-other-window): Reflow docstrings.
17028 (dired-omit-marker-char, dired-read-shell-command)
17029 (dired-x-submit-report): Fix typos in docstrings.
17031 * shell.el (shell-mode-hook):
17032 * view.el (View-scroll-line-forward):
17033 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17034 Fix typos in docstrings.
17036 * net/dig.el (dig-invoke): Fix typo in docstring.
17037 (query-dig): Reflow docstring.
17039 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17040 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17041 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17042 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17043 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17044 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17045 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17046 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17047 (idlwave-completion-map, idlwave-current-indent)
17048 (idlwave-custom-ampersand-surround, idlwave-customize)
17049 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17050 (idlwave-define-abbrev, idlwave-determine-class-special)
17051 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17052 (idlwave-end-block-reg, idlwave-end-of-statement)
17053 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17054 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17055 (idlwave-explicit-class-listed, idlwave-file-header)
17056 (idlwave-fill-paragraph, idlwave-find-class-definition)
17057 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17058 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17059 (idlwave-in-quote, idlwave-indent-action-table)
17060 (idlwave-indent-expand-table, idlwave-indent-line)
17061 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17062 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17063 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17064 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17065 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17066 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17067 (idlwave-outlawed-buffers, idlwave-popup-select)
17068 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17069 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17070 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17071 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17072 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17073 (idlwave-statement-type, idlwave-struct-skip)
17074 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17075 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17076 (idlwave-what-module-find-class): Fix typos in docstrings.
17077 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17078 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17079 (idlwave-find-module, idlwave-find-structure-definition)
17080 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17081 (idlwave-list-load-path-shadows, idlwave-next-statement)
17082 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17083 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17084 (idlwave-template): Reflow docstrings.
17086 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17087 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17088 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17089 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17090 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17091 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17092 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17093 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17094 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17095 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17096 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17097 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17098 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17099 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17100 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17101 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17102 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17103 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17104 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17105 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17106 Fix typos in docstrings.
17107 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17108 (idlwave-shell-hide-output, idlwave-shell-mode)
17109 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17112 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17114 2009-09-24 Ivan Kanis <apple@kanis.eu>
17116 * term.el (term-bold-attribute): New var.
17117 (term-handle-colors-array): Use it.
17119 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17121 * progmodes/gdb-mi.el (gdb-version): New variable.
17122 (gdb-non-stop-handler): Set gdb-version.
17123 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17124 Condition "--thread" option on gdb-version.
17125 (gdb-invalidate-threads): Remove unused argument.
17127 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17129 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17130 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17132 2009-09-23 Glenn Morris <rgm@gnu.org>
17134 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17135 replying to mail without References or Message-Id. (Bug#4525)
17137 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17139 * term/ns-win.el (ns-reg-to-script): New variable.
17141 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17143 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17145 2009-09-22 Sam Steingold <sds@gnu.org>
17147 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17148 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17149 to 1 because hg returns status 1 when nothing is found.
17150 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17152 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17154 * textmodes/fill.el: Convert to utf-8 encoding.
17155 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17158 * add-log.el (change-log-fill-forward-paragraph): New function.
17159 (change-log-mode): Use it so fill-region DTRT.
17160 Set fill-indent-according-to-mode here rather than in
17161 change-log-fill-paragraph.
17162 (change-log-fill-paragraph): Remove.
17164 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17166 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17167 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17169 2009-09-22 Glenn Morris <rgm@gnu.org>
17171 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17172 the scroll-bar scroll the calendar window rather than the buffer.
17174 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17175 commands that move point (as opposed to scrolling).
17177 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17179 * emacs-lisp/elint.el (elint): New custom group.
17180 (elint-log-buffer): Make it a defcustom.
17181 (elint-scan-preloaded, elint-ignored-warnings)
17182 (elint-directory-skip-re): New options.
17183 (elint-builtin-variables): Doc fix.
17184 (elint-preloaded-env): New variable.
17185 (elint-unknown-builtin-args): Add an entry for encode-time.
17186 (elint-extra-errors): Make it a variable rather than a constant.
17187 (elint-preloaded-skip-re): New constant.
17188 (elint-directory): Skip files matching elint-directory-skip-re.
17189 (elint-features): New variable, local to linted buffers.
17190 (elint-update-env): Initialize elint-features. Possibly add
17191 elint-preloaded-env to the buffer's environment.
17192 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17194 (elint-init-form): New function, extracted from elint-init-env.
17195 Make non-list forms a warning rather than an error.
17196 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17197 easy-menu-define, put that adds an error-condition, and provide.
17198 When requiring cl, also require cl-macs. Really require cl, to handle
17199 some cl macros. Store required libraries in the list elint-features,
17200 so as not to re-load them. Treat cc-require like require.
17201 (elint-init-env): Call elint-init-form to do the work.
17202 Handle eval-and-compile and such like.
17203 (elint-add-required-env): Do not clear messages.
17204 (elint-special-forms): Add handlers for function, defalias, if, when,
17206 (elint-form): Add optional argument to ignore elint-special-forms,
17207 useful to prevent recursive calls from handlers. Doc fix.
17208 Respect elint-ignored-warnings.
17209 (elint-form): Respect elint-ignored-warnings.
17210 (elint-bound-variable, elint-bound-function): New variables.
17211 (elint-unbound-variable): Respect elint-bound-variable.
17212 (elint-get-args): Respect elint-bound-function.
17213 (elint-check-cond-form): Add some simple handling for (f)boundp and
17215 (elint-check-defalias-form): New handler.
17216 (elint-check-let-form): Make an empty let a warning rather than an
17218 (elint-check-setq-form): Make an empty setq a warning rather than an
17219 error. Respect elint-ignored-warnings.
17220 (elint-check-defvar-form): Accept null doc-strings.
17221 (elint-check-conditional-form): New handler. Does some simple-minded
17222 checking of featurep and (f)boundp tests.
17223 (elint-put-function-args): New function.
17224 (elint-initialize): Use elint-scan-doc-file rather than
17225 elint-find-builtin-variables. Use elint-put-function-args.
17226 Possibly scan preloaded-file-list.
17227 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17228 extend to handle functions as well.
17230 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17232 * linum.el (linum-delete-overlays, linum-update-window):
17233 Do not modify the right margin. (Bug#3971)
17235 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17237 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17238 Use nxml-mode instead of xml-mode.
17240 2009-09-21 Kevin Ryde <user42@zip.com.au>
17242 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17244 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17246 * net/dig.el (dig-mode): Use define-derived-mode.
17248 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17250 * vc-dispatcher.el (vc-do-command): Return the process object in
17251 the asynchronous case. Use when instead of if. Do not run
17252 vc-exec-after to display a message if not enabled. (Bug#4463)
17254 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17255 properties to the stash strings.
17256 (vc-git-stash-list): Return a list of strings.
17257 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17258 (vc-git-stash-show-at-point): New functions.
17259 (vc-git-stash-map): New keymap.
17261 * register.el (ctl-x-r-map): Define the keys here instead of
17264 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17266 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17267 list, to workaround performance problem (bug#4485).
17269 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17271 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17273 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17275 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17276 Document that this option is not recommended to use.
17278 2009-09-19 Glenn Morris <rgm@gnu.org>
17280 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17283 * calc/calc-alg.el (var):
17284 * calc/calcalg2.el (var): Define for compiler.
17286 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17288 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17289 Doc fix (Bug#3932).
17291 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17293 * time-stamp.el (time-stamp-month-dd-yyyy)
17294 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17295 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17296 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17297 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17298 Remove functions that have been obsolete since 1995 (Bug#4436).
17300 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17301 indent buffer only if called interactively (Bug#4452).
17303 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17304 Eli Zaretskii <eliz@gnu.org>
17306 This fixes bug#4197 (merged to bug#865, though not identical).
17307 * server.el (server-auth-dir): Add docstring note about FAT32.
17308 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17309 but warn against using them.
17311 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17313 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17314 older GDB where there is no has_more field.
17316 2009-09-19 Glenn Morris <rgm@gnu.org>
17318 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17320 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17322 * files.el (auto-mode-alist): Change default for XML files to nXML
17325 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17327 * server.el (server-ensure-safe-dir): Pass 'integer
17328 to `file-attributes', as suggested.
17330 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17332 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17333 (dired-query): Use read-key.
17335 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17337 * cus-start.el (ns-use-qd-smoothing): Remove.
17339 2009-09-18 Glenn Morris <rgm@gnu.org>
17341 * allout.el (top-level): Remove unnecessary progn.
17343 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17345 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17346 definition of abbrev table.
17348 * speedbar.el (speedbar-track-mouse):
17349 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17350 * net/eudc.el (eudc-expand-inline):
17351 * net/newst-backend.el (newsticker--cache-read-feed):
17352 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17353 condition-case handlers.
17355 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17357 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17358 (gdb-var-list): Add an element for has_more field.
17359 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17360 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17361 (gdb-var-update-handler-1): Parse output of dynamic variable
17362 objects (STL containers).
17363 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17364 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17366 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17368 (gud-speedbar-buttons): Make node expandable if expression "has more"
17371 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17373 * startup.el (emacs-quick-startup): Remove variable and all uses.
17374 (command-line): Set `inhibit-x-resources' instead.
17375 (command-line-1): Use `inhibit-x-resources' instead.
17377 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17379 * subr.el: Fix last change to avoid using the `unless' macro,
17380 which breaks bootstrapping.
17382 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17384 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17385 extended definitions, in case we reload subr.el after having
17387 (eval-next-after-load): Mark as obsolete.
17389 2009-09-17 Juri Linkov <juri@jurta.org>
17391 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17392 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17393 (menu-bar-showhide-menu, menu-bar-tools-menu)
17394 (menu-bar-describe-menu, menu-bar-help-menu)
17395 (minibuffer-local-completion-map, minibuffer-local-map):
17398 2009-09-17 Glenn Morris <rgm@gnu.org>
17400 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17401 arguments, whether or not it has a handler.
17403 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17405 * simple.el (hard-newline): Give it a doc-string.
17407 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17408 (lisp-mode-syntax-table): Give them doc-strings.
17410 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17412 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17413 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17414 (menu-bar-options-menu, menu-bar-showhide-menu)
17415 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17416 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17417 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17418 (menu-bar-options-menu, menu-bar-tools-menu)
17419 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17420 (menu-bar-help-menu):
17421 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17424 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17425 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17426 calls for the menu names and :help.
17428 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17430 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17431 to :minor-mode-function (bug#4455).
17433 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17435 * startup.el (command-line): Initialize the window-system after
17436 processing the command-line.
17438 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17439 page-delimiter matches the empty string.
17441 2009-09-16 Glenn Morris <rgm@gnu.org>
17443 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17444 byte-compile-not-obsolete-var. It's a list now.
17445 (byte-compile-not-obsolete-funcs): New variable.
17446 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17447 byte-compile-not-obsolete-funcs.
17448 (byte-compile-variable-ref, byte-compile-defvar): Update for
17449 byte-compile-not-obsolete-vars name-change and list nature.
17450 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17451 and variables behind (f)boundp tests.
17452 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17454 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17456 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17458 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17460 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17461 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17464 2009-09-15 Stephen Eglen <stephen@gnu.org>
17466 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17467 the virtual-buffers, use the name of the buffer specified by
17468 find-file-noselect, as the match may be a symlink. (This was a
17469 problem if the target and the symlink had different names.)
17471 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17473 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17475 * desktop.el (desktop-path): Check user-emacs-directory.
17477 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17479 * loadup.el: Use after-load-functions to GC after loading each file.
17480 Remove the explicit GC calls that used to be sprinkled around.
17482 * subr.el (after-load-functions): New hook.
17483 (do-after-load-evaluation): Run it. Use string-match-p to detect
17484 `obsolete' packages, rather than painfully extracting the relevant
17487 2009-09-15 Glenn Morris <rgm@gnu.org>
17489 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17490 free variable `doc'.
17492 * dired.el (dired-mode-map): Add menu entry for async shell command.
17494 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17495 variables, also consider the .elc files, since the .el files are
17496 normally gzipped (subsequent code locates the .el.gz from the .elc).
17498 * calc/calc-prog.el (arglist): Define for compiler.
17500 * calendar/diary-lib.el (diary-display-function): Change the default to
17502 (body): Define for compiler.
17504 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17505 (byte-compile-file-form, byte-compile-lambda)
17506 (byte-compile-top-level-body, byte-compile-form)
17507 (byte-compile-variable-ref, byte-compile-setq)
17508 (byte-compile-setq-default, byte-compile-body)
17509 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17510 (batch-byte-compile): Give some more local variables with common names
17511 a "bytecomp-" prefix to avoid masking warnings about free variables.
17513 * startup.el (command-line-1): Give local variables with common names a
17514 distinguishing prefix, so as not to hide free variable warnings during
17517 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17518 clever and add a suffix to make a unique name, just let the user decide
17519 whether or not to overwrite it. If the input is a directory, write the
17520 default filename to that directory. (Bug#4388)
17521 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17522 is a filename-as-a-directory.
17524 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17526 * textmodes/page.el (what-page): Don't move to beginning of line.
17527 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17529 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17531 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17533 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17535 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17536 * help.el (help-for-help-internal): Add purecopy calls for text.
17538 * vc.el (top): print-log method now takes an optional SHORTLOG
17539 argument. Add a new method: root.
17540 (vc-root-diff, vc-print-root-log): New functions.
17541 (vc-log-short-style): New variable.
17542 (vc-print-log-internal): Add support for showing short logs.
17544 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17545 vc-print-root-log and vc-print-root-diff.
17547 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17548 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17549 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17552 * vc-cvs.el (vc-cvs-print-log):
17553 * vc-mtn.el (vc-mtn-print-log):
17554 * vc-rcs.el (vc-rcs-print-log):
17555 * vc-sccs.el (vc-sccs-print-log):
17556 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17557 that is ignored for now.
17559 * vc-mtn.el (vc-mtn-annotate-command):
17560 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17562 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17564 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17565 to function-key-map, and give them ascii-character property.
17566 * term/x-win.el (x-alternatives-map):
17567 * term/ns-win.el (ns-alternatives-map):
17568 * term/internal.el (msdos-key-remapping-map):
17569 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17571 2009-09-14 Glenn Morris <rgm@gnu.org>
17573 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17574 temp-buffers (2009-09-12).
17576 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17578 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17579 the new read-key function.
17581 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17583 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17584 is defined (Bug#4405).
17586 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17588 * recentf.el (recentf-cleanup): Use a hash table to find
17589 duplicates (Bug#4407).
17591 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17593 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17594 kp-0 to ascii equivalents (Bug#4325).
17596 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17598 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17600 * eshell/em-hist.el:
17601 * eshell/em-dirs.el (eshell-complete-user-reference):
17602 Declare pcomplete functions and variables to avoid compiler warnings.
17604 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17606 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17607 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17608 * eshell/em-alias.el (eshell-aliases-file):
17609 * eshell/em-hist.el (eshell-history-file-name):
17610 Use expand-file-name instead of concat to make file names (Bug#4308).
17612 2009-09-13 Glenn Morris <rgm@gnu.org>
17614 * ediff-merg.el (ediff-do-merge):
17615 * filesets.el (filesets-run-cmd):
17616 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17617 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17618 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17619 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17620 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17621 Replace empty `let's with `progn'.
17623 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17625 * mail/sendmail.el (send-mail-function):
17626 * tooltip.el (tooltip-mode):
17627 * simple.el (transient-mark-mode):
17628 * rfn-eshadow.el (file-name-shadow-mode):
17629 * frame.el (blink-cursor-mode):
17630 * font-core.el (global-font-lock-mode):
17631 * files.el (temporary-file-directory)
17632 (small-temporary-file-directory, auto-save-file-name-transforms):
17633 * epa-hook.el (auto-encryption-mode):
17634 * composite.el (global-auto-composition-mode):
17635 Use custom-initialize-delay.
17636 * startup.el (command-line): Don't explicitly call
17637 custom-reevaluate-setting for all the above vars.
17638 * custom.el (custom-initialize-safe-set)
17639 (custom-initialize-safe-default): Delete.
17641 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17643 * term/x-win.el (x-initialize-window-system):
17644 * term/w32-win.el (w32-initialize-window-system):
17645 * term/ns-win.el (ns-initialize-window-system): Don't call
17646 mouse-wheel-mode since it's enabled globally by default already.
17648 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17649 actually define the variable, but only silences the byte-compiler.
17650 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17651 before looking it up.
17652 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17655 2009-09-12 Glenn Morris <rgm@gnu.org>
17657 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17659 (elint-add-required-env): Don't beep on error.
17660 (elint-forms): In case of error, return ENV unchanged.
17661 (elint-init-env): Skip non-list forms.
17662 (elint-log): Handle unknown file positions.
17664 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17666 * epg.el (epg-make-context): Add autoload cookie.
17667 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17668 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17669 (epg-verify-string, epg-start-sign, epg-sign-file)
17670 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17671 (epg-encrypt-string, epg-start-export-keys)
17672 (epg-export-keys-to-file, epg-export-keys-to-string)
17673 (epg-start-import-keys, epg-import-keys-from-file)
17674 (epg-import-keys-from-string, epg-start-receive-keys)
17675 (epg-receive-keys, epg-import-keys-from-server)
17676 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17677 (epg-sign-keys, epg-start-generate-key)
17678 (epg-generate-key-from-file, epg-generate-key-from-string):
17679 Remove autoload cookie.
17681 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17683 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17684 reevaluation of trash-directory.
17686 * mwheel.el: Fix last change.
17687 (mouse-wheel-mode): New defvar.
17688 (mouse-wheel-mode): Remove autoload cookie.
17690 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17692 * mwheel.el (mwheel-installed-bindings): New var.
17693 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17694 the bindings we set last time. Use custom-initialize-delay.
17695 * loadup.el: Load mwheel after term/*-win.el.
17696 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17697 and mouse-wheel-up-event now that their first evaluation is done
17698 sufficiently late to be correct.
17700 * startup.el (tutorial-directory): Make it a defcustom.
17701 Use custom-initialize-delay rather than eval-at-startup to set it.
17702 * image.el (image-load-path): Make it a defcustom.
17703 Use custom-initialize-delay rather than eval-at-startup to set it.
17704 * subr.el (eval-at-startup): Remove.
17705 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17707 * subr.el (do-after-load-evaluation): Warn the user after loading an
17710 2009-09-12 Glenn Morris <rgm@gnu.org>
17712 * proced.el (proced-mark-alt): Remove alias.
17713 (proced-mode-map): Remove proced-mark-alt.
17715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17716 Elint file and directory. Remove initialization entry.
17718 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17720 (elint-current-buffer): Set mode-line-process.
17721 (elint-init-env): Handle define-derived-mode.
17722 Fix declare-function with unspecified arglist. Guard against odd
17723 defalias statements (eg iso-insert's 8859-1-map).
17724 (elint-add-required-env): Use a temp buffer.
17725 (elint-form): Just print the function/macro name, not the whole form.
17726 Return env unchanged if we fail to parse a macro.
17727 (elint-forms): Guard against parse errors.
17728 (elint-output): New function, to handle batch mode.
17729 (elint-log-message): Add optional argument. Use elint-output.
17730 (elint-set-mode-line): New function.
17732 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17734 * emacs-lisp/elp.el (elp-not-profilable): Add more
17735 functions (Bug#4233).
17737 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17739 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17740 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17742 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17744 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17745 (gdb-var-list-children): Use json parsing.
17747 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17749 * progmodes/js.el (js--proper-indentation): Handle the case where
17750 char-before is null. Reported by Deniz Dogan.
17752 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17754 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17756 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17758 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17759 (epg-digest-algorithm-alist): Add SHA224.
17760 (epg-context-set-passphrase-callback)
17761 (epg-context-set-progress-callback): Add description about
17764 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17766 * custom.el (custom-delayed-init-variables): New var.
17767 (custom-initialize-delay): New function.
17768 * startup.el (command-line): "Re"evaluate all vars in
17769 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17770 explicitly any more.
17771 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17772 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17774 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17776 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17778 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17779 (gdb-var-update-handler): Use json parsing.
17781 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17783 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17784 decode annotated text, regardless of language environment. (Bug#2741)
17786 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17788 * Makefile.in (autoloads): Make rmail.el writable as well.
17790 2009-09-11 Glenn Morris <rgm@gnu.org>
17792 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17794 * dired.el: Regenerate with extracted autoloads.
17795 * Makefile.in (autoloads): Make dired.el writable.
17797 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17798 * ibuffer.el: Regenerate with extracted autoloads.
17799 * Makefile.in (autoloads): Make ibuffer.el writable.
17801 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17802 * version.el (emacs-copyright, emacs-major-version)
17803 (emacs-minor-version): Reformat doc-strings for make-docfile.
17805 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17806 functions and variables, since they must be stuff specific to some other
17808 (apropos-print): Make mouse-click message less specific about button.
17810 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17811 that records where a macro was defined.
17812 * help-fns.el (describe-function-1): Mention if a function has a
17814 * help-mode.el (help-function-cmacro): New button.
17816 * locate.el (top-level): Always require dired.
17817 (locate-mode-map): Initialize inside the defvar.
17819 * net/ange-ftp.el (dired-compress-file): Declare.
17820 (ange-ftp-dired-compress-file): Add doc string.
17822 * term/ns-win.el (x-display-name, x-setup-function-keys):
17823 Unify doc-strings with X versions.
17825 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17827 * emulation/crisp.el (crisp-mode-map): Move initialization
17829 (crisp-mode): Use define-minor-mode.
17831 * progmodes/xscheme.el (xscheme-evaluation-commands):
17832 Put a :advertised-binding property rather than using
17833 advertised-xscheme-send-previous-expression.
17834 (advertised-xscheme-send-previous-expression): Declare obsolete.
17835 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17837 (crisp-mode): Add corresponding bindings to
17838 undo's :advertised-binding instead.
17839 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17840 than using dired-advertised-find-file.
17841 (dired-advertised-find-file):
17842 * simple.el (advertised-undo):
17843 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17844 (widget-keymap): Put a :advertised-binding property rather
17845 than using advertised-widget-backward.
17846 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17847 than using advertised-undo.
17848 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17850 2009-09-10 Simon South <ssouth@slowcomputing.org>
17852 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17853 Mark mode is enabled and region is active; otherwise indent or
17854 insert TAB as usual.
17855 (delphi-mode): Update description of TAB-key binding.
17857 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17859 * subr.el (define-key-rebound-commands): Mark obsolete.
17860 * startup.el (precompute-menubar-bindings): Remove.
17861 (normal-top-level): Remove obsolete code that tried to precompute
17863 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17864 define-key-rebound-commands and precompute-menubar-bindings.
17866 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17868 * net/imap.el (imap-interactive-login): Better messages.
17869 (imap-open): Fix bug with renamed buffer on reconnect.
17870 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17871 for easier debugging and cleaner code. On successful (guessed based on
17872 server capabilities) secondary authentication, set imap-state
17874 (imap-last-authenticator): Define imap-last-authenticator as a variable
17877 2009-09-10 Glenn Morris <rgm@gnu.org>
17879 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17881 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17882 (byte-compile-file-form-autoload): Don't warn about unknown functions
17883 where the autoload statement comes after the use.
17884 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17885 that any handlers inside the body (eg require) are in turn respected.
17887 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17890 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17891 and syntax and abbrev tables basic docs, if they don't have any.
17893 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17895 * international/mule-cmds.el (top-level): Require cl when compiling.
17896 (view-hello-file): Use default-value rather than
17897 default-enable-multibyte-characters.
17899 * progmodes/fortran.el: Move all safe and risky properties into the
17902 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17903 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17904 * mail/undigest.el:
17905 Put autoloads in rmail.el rather than loaddefs.el.
17906 * mail/rmail.el: Regenerate with extracted autoloads.
17908 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17909 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17911 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17913 Reported in thread for Bug#4375.
17914 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17915 "-data-evaluate-expression" instead of print.
17916 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17917 (gdb-tooltip-print): Parse output from above MI command.
17918 (gdb): Revert 2009-08-11 change. User should detach inferior
17921 Remove the word "separate" from IO functions as inferior
17922 output is now never displayed in the GUD buffer.
17924 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17926 * startup.el (command-line-normalize-file-name): On Windows and
17927 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17929 2009-09-10 Juri Linkov <juri@jurta.org>
17931 * isearch.el (isearch-text-char-description): Propertize escape
17932 character sequences with the `escape-glyph' face. (Bug#4344)
17934 * simple.el (shell-command): Set asynchronous process filter to
17935 `comint-output-filter'. (Bug#4343)
17937 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17938 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17939 the list. Move "asm" to the bottom.
17940 (grep-find-ignored-directories): Add `choice' with nil value
17941 to empty the list easily.
17942 (grep-find-ignored-files): New option.
17943 (grep-files-history): Set to nil by default instead of '("ch" "el").
17944 (grep-compute-defaults): Add "<X>" to `grep-template'.
17945 (grep-read-files): Bind new local variables `default-alias' and
17946 `default-extension'. Use a list of default values for the file prompt.
17947 (lgrep): Add `--exclude=' command line options composed from
17948 `grep-find-ignored-files'.
17949 (rgrep): Add `-name' command line options composed from
17950 `grep-find-ignored-files'. (Bug#4301)
17952 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17957 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17959 * calendar/time-date.el (autoload):
17960 Expand define-obsolete-function-alias into defalias and make-obsolete
17961 for old Emacsen that Gnus supports.
17962 (with-no-warnings): Define it for old Emacsen.
17963 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17965 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17966 float-time is available; suppress compile warning for time-to-seconds.
17968 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17970 * net/imap.el (imap-message-map): Docstring fix.
17972 2009-09-09 Glenn Morris <rgm@gnu.org>
17974 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17975 line numbers too. (Bug#4374)
17977 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17979 * smerge-mode.el (smerge-remove-props, smerge-refine):
17980 Use with-silent-modifications (bug#4342).
17982 * subr.el (with-silent-modifications): New macro.
17984 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17986 * files.el (top-level): Require `cl' when compiling.
17988 2009-09-07 Glenn Morris <rgm@gnu.org>
17990 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17992 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17993 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17995 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17997 * vc-git.el (vc-git-annotate-command): Use separator to parse
17998 arguments correctly.
18000 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18002 * proced.el (proced-mode): Doc fix.
18004 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18006 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18008 (tramp-do-file-attributes-with-ls): Check for file existence at
18010 (tramp-do-file-attributes-with-stat): Likewise.
18011 (tramp-convert-file-attributes): Return nil when attr is nil.
18013 2009-09-05 Glenn Morris <rgm@gnu.org>
18015 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18016 properties to this button.
18017 (diary-fancy-display): Don't extend the button to the final newline.
18018 (diary-fancy-display-mode): Continue to define "q" as a local key.
18020 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18023 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18025 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18026 (byte-compile-dest-file-function): New option.
18027 (byte-compile-dest-file): Doc fix.
18028 Obey byte-compile-dest-file-function.
18029 (byte-compile-cl-file-p): New function.
18030 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18031 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18032 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18033 than for file being previously loaded.
18034 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18035 (byte-compile-file-form-require): Handle the case where requiring a file
18036 indirectly causes CL to be loaded.
18038 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18040 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18041 before killing the old buffer, since by the time `kill-buffer' is
18042 run so many buffer variables have been set to nil that it may not
18043 behave as expected. (Bug#4061)
18045 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18047 * files.el (find-alternate-file): If the old buffer is modified
18048 and visiting a file, behave similarly to `kill-buffer' when
18049 killing it, thus reverting to the pre-1.878 behavior; see
18050 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18051 for discussion. Also, consult `buffer-file-name' as a variable
18052 not as a function, for consistency with the rest of the code.
18054 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18056 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18057 also when adding a new directory.
18059 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18062 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18064 * files.el (locate-file-completion-table): Make it provide boundary
18065 information, so partial-completion works better.
18067 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18069 * mail/footnote.el (Footnote-text-under-cursor):
18070 Check footnote-text-marker-alist before using it (bug#4324).
18072 2009-09-04 Glenn Morris <rgm@gnu.org>
18074 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18075 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18076 * play/solitaire.el, play/tetris.el:
18077 Remove leading * from defcustom and defface docs.
18079 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18081 (diary-fancy-overriding-map): New variable.
18082 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18085 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18088 2009-09-03 Glenn Morris <rgm@gnu.org>
18090 * arc-mode.el (archive-mode):
18091 * dos-fns.el (set-default-process-coding-system):
18092 * man.el (Man-getpage-in-background):
18093 * menu-bar.el (menu-bar-describe-menu):
18094 * server.el (server-process-filter):
18095 * startup.el (command-line):
18096 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18097 * w32-fns.el (set-default-process-coding-system):
18098 * x-dnd.el (x-dnd-handle-file-name):
18099 * international/mule-cmds.el (mule-menu-keymap)
18100 (set-default-coding-systems, language-info-alist, set-language-info)
18101 (set-language-environment, standard-display-european-internal)
18102 (set-locale-environment):
18103 * international/mule-diag.el (mule-diag):
18104 * mail/emacsbug.el (report-emacs-bug):
18105 * mail/rmail.el (rmail-mode):
18106 * mail/sendmail.el (mail-setup):
18107 Use default-value rather than default-enable-multibyte-characters.
18109 * progmodes/f90.el: Move all safe properties into the defcustoms.
18110 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18112 * calendar/appt.el (appt-check):
18113 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18114 (diary-check-diary-file, diary-list-entries)
18115 (diary-include-other-diary-files, diary-simple-display)
18116 (diary-fancy-display, diary-print-entries)
18117 (diary-mark-included-diary-files, diary-make-entry):
18118 Don't call substitute-in-file-name on diary-file.
18120 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18121 Stefan Monnier <monnier@iro.umontreal.ca>
18123 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18124 (footnote-mode-map): Move initialization into the declaration.
18125 (footnote-minor-mode-map): Define it rather than changing global-map.
18126 (footnote-mode): Use define-minor-mode.
18128 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18130 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18131 (tramp-do-file-attributes-with-perl)
18132 (tramp-do-file-attributes-with-stat): Rename from
18133 `tramp-handle-file-attributes-with-*'.
18134 (tramp-handle-file-attributes): Use them.
18135 (tramp-do-directory-files-and-attributes-with-perl)
18136 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18137 `tramp-handle-directory-files-and-attributes-with-*'.
18138 (tramp-handle-directory-files-and-attributes): Use them.
18139 (tramp-method-out-of-band-p): Additional parameter SIZE.
18140 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18141 (tramp-handle-write-region): Use it.
18142 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18143 (tramp-handle-vc-registered): Check, whether the first run did
18144 return files to be tested.
18145 (tramp-advice-make-auto-save-file-name): Do not call directly
18146 `tramp-handle-make-auto-save-file-name', because this would bypass
18147 the locking mechanism.
18149 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18150 (file-remote-p, process-file, start-file-process, set-file-times)
18151 (tramp-compat-file-attributes): Compatibility functions shall not
18152 call directly `tramp-handle-*', because this would bypass the
18154 (tramp-compat-number-sequence): New defun.
18156 2009-09-02 Glenn Morris <rgm@gnu.org>
18158 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18159 alias for float-time.
18160 (time-to-number-of-days): In Emacs, use float-time.
18161 * net/newst-backend.el (time-add): Suppress warnings from compat
18163 * time.el (emacs-uptime, emacs-init-time):
18164 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18165 Use float-time rather than time-to-seconds.
18167 * minibuffer.el (completion-initials-expand): Fix typo.
18169 * faces.el (modeline, modeline-inactive, modeline-highlight)
18170 (modeline-buffer-id):
18171 * info.el (info-menu-5): Mark these face aliases as obsolete.
18173 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18175 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18177 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18178 no "--thread" option.
18179 (gdb-stopped): Don't print "Switched to thread" message when it is
18182 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18184 * minibuffer.el (completion-try-completion)
18185 (completion-all-completions): Remove ill-defined (and
18186 mistakenly installed and luckily never used nor documented)
18187 `completion-styles' property.
18188 (completion-initials-expand, completion-initials-all-completions)
18189 (completion-initials-try-completion): New functions.
18190 (completion-styles-alist): Add doc to each entry.
18191 Add new `initials' entry.
18193 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18195 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18196 MI command -var-evaluate-expression.
18197 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18198 and tweak for case of string child.
18199 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18201 2009-09-01 Glenn Morris <rgm@gnu.org>
18203 * add-log.el (change-log-date-face, change-log-name-face)
18204 (change-log-email-face, change-log-file-face, change-log-list-face)
18205 (change-log-conditionals-face, change-log-function-face)
18206 (change-log-acknowledgement-face):
18207 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18208 (custom-modified-face, custom-set-face, custom-changed-face)
18209 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18210 (custom-documentation-face, custom-state-face, custom-comment-face)
18211 (custom-comment-tag-face, custom-variable-tag-face)
18212 (custom-variable-button-face, custom-face-tag-face)
18213 (custom-group-tag-face-1, custom-group-tag-face):
18214 * diff-mode.el (diff-header-face, diff-file-header-face)
18215 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18216 (diff-added-face, diff-changed-face, diff-function-face)
18217 (diff-context-face, diff-nonexistent-face):
18218 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18219 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18220 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18221 (Info-title-4-face):
18222 * isearch.el (isearch-lazy-highlight-face):
18223 * log-view.el (log-view-file-face, log-view-message-face):
18224 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18225 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18226 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18228 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18229 (smerge-base-face, smerge-markers-face):
18230 * wid-edit.el (widget-documentation-face, widget-button-face)
18231 (widget-field-face, widget-single-line-field-face)
18232 (widget-inactive-face, widget-button-pressed-face):
18233 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18234 (woman-addition-face):
18235 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18236 (eshell-ls-executable-face, eshell-ls-readonly-face)
18237 (eshell-ls-unreadable-face, eshell-ls-special-face)
18238 (eshell-ls-missing-face, eshell-ls-archive-face)
18239 (eshell-ls-backup-face, eshell-ls-product-face)
18240 (eshell-ls-clutter-face):
18241 * eshell/em-prompt.el (eshell-prompt-face):
18242 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18243 * obsolete/old-whitespace.el (whitespace-highlight-face):
18244 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18245 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18246 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18247 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18248 (antlr-font-lock-literal-face):
18249 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18250 (ebrowse-root-class-face, ebrowse-file-name-face)
18251 (ebrowse-default-face, ebrowse-member-attribute-face)
18252 (ebrowse-member-class-face, ebrowse-progress-face):
18253 * progmodes/make-mode.el (makefile-space-face):
18254 * progmodes/sh-script.el (sh-heredoc-face):
18255 * textmodes/flyspell.el (flyspell-incorrect-face)
18256 (flyspell-duplicate-face):
18257 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18258 * textmodes/texinfo.el (texinfo-heading-face):
18259 Mark face aliases with "-face" suffix as obsolete.
18261 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18264 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18265 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18266 easy-menu-define wants to modify these.
18268 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18270 * net/browse-url.el (browse-url-file-url):
18271 * term/internal.el (dos-codepage-setup):
18272 Use default-value rather than default-enable-multibyte-characters.
18274 * progmodes/etags.el (etags-goto-tag-location):
18275 * progmodes/flymake.el (flymake-highlight-line)
18276 (flymake-goto-file-and-line, flymake-goto-line):
18277 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18278 (gdb-goto-breakpoint):
18279 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18280 * progmodes/python.el (python-find-function)
18281 (python-pdbtrack-track-stack-file):
18282 * progmodes/verilog-mode.el (verilog-surelint-off):
18283 * term/ns-win.el (ns-open-file-select-line):
18284 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18285 Use forward-line rather than goto-line.
18287 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18288 * textmodes/reftex-index.el (reftex-display-index):
18289 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18290 * textmodes/reftex-toc.el (reftex-toc):
18291 Remove unnecessary bindings of default-major-mode (all are followed by
18292 major-mode check and possible mode switch).
18294 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18296 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18297 Handle watchpoints (bug#4282).
18298 (def-gdb-thread-buffer-command): Enable thread to be selected by
18299 clicking without selecting threads buffer first.
18300 (gdb-current-context-command): Use selected frame so that "up",
18301 "down" etc work in the GUD buffer.
18302 (gdb-update): Find selected frame before rendering stack buffer.
18303 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18305 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18307 * progmodes/sym-comp.el (displayed-completions): Remove.
18308 (symbol-complete): Use minibuffer-complete.
18310 2009-08-31 Glenn Morris <rgm@gnu.org>
18312 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18314 * apropos.el (apropos-symbols-internal):
18315 Handle (obsolete) face aliases.
18317 * faces.el (describe-face): Adjust the output format to be more like
18318 describe-variable, and to mention (obsolete) face aliases.
18319 Adjust the whitespace so that help-setup-xref works.
18321 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18322 * calendar/diary-lib.el (diary-button-face):
18323 Mark these face aliases as obsolete.
18325 * calendar/calendar.el (calendar-today): Doc fix.
18327 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18329 * progmodes/gdb-mi.el (gdb-control-all-threads)
18330 (gdb-control-current-thread): Force tool bar update.
18331 (gdb-non-stop-handler): New function.
18332 (gdb-init-1): Use it to test if non-stop mode is supported.
18333 Remove unused gdbmi buffer type.
18335 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18337 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18338 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18340 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18342 * comint.el (comint-exec-1): Check command is non-null first.
18343 Part of gdb-mi.el change (2009-08-28).
18345 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18347 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18349 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18351 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18352 instead of `dolist' to avoid a recursive require when bootstrapping.
18354 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18356 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18358 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18360 * net/imap.el (imap-send-command): Simplify.
18361 (imap-wait-for-tag): point-max -> buffer-size.
18363 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18365 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18366 with constant argument.
18368 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18370 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18372 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18373 Change default, since most of our files don't have a history.
18374 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18377 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18380 * calc/calc.el: Improve commenting convention.
18381 (calc-digit-map, toplevel): Simplify.
18383 * comint.el (comint-insert-input): Be careful to only set point if we
18384 don't delegate to some other command.
18386 * proced.el (proced-signal-list): Make it an alist.
18387 (proced-grammar-alist): Capitalize names.
18388 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18389 Disable undo manually and make it read-only.
18390 Use completion-annotate-function.
18392 * minibuffer.el (minibuffer-message): If the current buffer is not
18393 a minibuffer, insert the message in the echo area rather than at the
18395 (completion-annotate-function): New variable.
18396 (minibuffer-completion-help): Use it.
18397 (completion--embedded-envvar-table): Environment vars are
18398 always case-sensitive.
18400 2009-08-30 Glenn Morris <rgm@gnu.org>
18402 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18403 from fortran-current-defun.
18404 (fortran-beginning-of-subprogram): Be more precise about finding the
18405 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18406 (fortran-end-of-subprogram): Simplify.
18407 (fortran-current-defun): Use fortran-start-prog-re.
18409 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18411 * subr.el (do-after-load-evaluation): Simplify.
18413 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18415 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18417 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18418 (vc-rcs-print-log): Use it.
18420 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18422 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18424 * paths.el (abbrev-file-name): Move to abbrev.el.
18425 * abbrev.el (abbrev-file-name): Move from paths.el.
18426 Obey user-emacs-directory.
18427 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18428 user-emacs-directory.
18429 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18430 abbrev-file-name and calc-settings-file any more.
18431 * startup.el (command-line): Recompute abbrev-file-name and
18432 abbreviated-home-dir.
18433 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18434 of the special code for when C-h bindings haven't been changed.
18435 (display-startup-echo-area-message): Use with-current-buffer.
18436 (command-line-1): Use a list of strings, rather than a list of lists
18437 of strings for longopts.
18439 * files.el (get-free-disk-space): Use / for default-directory.
18441 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18442 Use with-current-buffer.
18444 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18445 Recognize immutable variables like most-positive-fixnum.
18446 (byte-compile-setq-default): Check and warn if trying to assign
18447 to an immutable variable, or a non-variable.
18449 * progmodes/cc-vars.el (c-comment-continuation-stars):
18450 * progmodes/cc-engine.el (c-looking-at-bos):
18451 * progmodes/cc-cmds.el (c-toggle-auto-state)
18452 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18453 (c-comment-line-break-function): Add version of obsolescence.
18455 2009-08-28 Juri Linkov <juri@jurta.org>
18457 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18458 associated with `archive-mode'.
18460 * image.el (image-type-header-regexps): Use only JPEG magic number
18461 to determine JPEG images, and don't use `image-jpeg-p' because
18462 Emacs can display non-JFIF non-Exif JPEG images.
18464 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18466 * arc-mode.el (archive-mode):
18467 * emacs-lisp/re-builder.el (re-builder-unload-function):
18468 Protect against the default value of `major-mode' being nil.
18470 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18472 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18473 Fix typos in docstrings.
18475 * progmodes/js.el (js--macro-decl-re): Doc fix.
18476 (js--plain-method-re, js--split-name): Refloc docstring.
18477 (js--class-styles, js--make-merged-item, js--splice-into-items):
18478 Fix typos in docstrings; reflow docstrings.
18479 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18480 (js--variable-decl-matcher, js--inside-pitem-p)
18481 (js--parse-state-at-point, js--get-all-known-symbols)
18482 (js--symbol-history, js-find-symbol, js--js-references)
18483 (js--moz-interactor, js--js-encode-value, js--read-tab):
18484 Fix typos in docstrings.
18486 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18488 * textmodes/reftex.el (reftex-get-file-buffer-force):
18489 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18490 * emulation/viper.el (viper-go-away, viper-set-hooks):
18491 * emacs-lisp/re-builder.el (re-builder-unload-function):
18492 * emacs-lisp/bytecomp.el (byte-compile-file):
18493 * ses.el (ses-unload-function):
18494 * hexl.el (hexl-find-file):
18495 * files.el (normal-mode):
18496 * ehelp.el (with-electric-help):
18497 * autoinsert.el (auto-insert-alist):
18498 * arc-mode.el (archive-mode):
18499 Use (default-value 'major-mode) instead of default-major-mode.
18501 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18502 * international/mule.el (load-with-code-conversion):
18503 * emacs-lisp/debug.el (debug):
18504 * ediff-vers.el (ediff-rcs-get-output-buffer):
18505 * dired.el (dired-internal-noselect): Don't let-bind
18506 default-major-mode around code that doesn't use it.
18507 E.g. buffer creation via get-buffer-create doesn't use it.
18509 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18511 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18512 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18513 when writing the temp file. Otherwise, epa-file gets confused.
18514 (tramp-register-file-name-handlers): Make it a defun. Move also
18515 `epa-file-handler' to the front of `file-name-handler-alist'.
18517 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18519 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18520 start right after a ^M.
18521 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18522 (tramp-completion-file-name-regexp-separate)
18523 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18524 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18525 Don't modify last-coding-system-used by accident.
18526 (tramp-completion-file-name-handler): Apply the checks here,
18527 instead during registration.
18528 (tramp-register-file-name-handlers): Rename from
18529 `tramp-register-file-name-handler'. Register both
18530 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18531 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18533 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18535 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18536 Remove variable ...
18537 (gdb-init-1, gdb-display-separate-io-buffer)
18538 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18540 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18541 (gdb-inferior-filter): Use comint-output-filter to stop
18542 echoing and remove ^M characters.
18544 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18546 * emulation/viper-init.el (viper-restore-cursor-type):
18547 * emulation/cua-base.el (cua--update-indications):
18548 Replace default-cursor-type with (default-value 'cursor-type).
18550 * mail/sendmail.el (mail-recover-1):
18551 * international/mule-diag.el (describe-current-coding-system-briefly)
18552 (describe-current-coding-system):
18553 * international/mule-cmds.el (select-safe-coding-system)
18554 (select-message-coding-system)
18555 (set-language-environment-coding-systems, set-locale-environment):
18556 * hexl.el (hexl-insert-multibyte-char):
18557 * dos-w32.el (find-buffer-file-type-coding-system):
18558 * simple.el (what-cursor-position):
18559 Replace uses of default-buffer-file-coding-system
18560 with (default-value 'buffer-file-coding-system).
18562 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18563 Replace uses of default-cursor-in-non-selected-windows
18564 with (default-value 'cursor-in-non-selected-windows).
18565 Use with-current-buffer.
18567 * mail/feedmail.el: Use CL macros.
18568 (feedmail-run-the-queue, feedmail-send-it-immediately):
18569 * dos-w32.el (find-buffer-file-type): Replace uses of
18570 default-buffer-file-type with (default-value 'buffer-file-type).
18572 2009-08-28 Glenn Morris <rgm@gnu.org>
18574 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18575 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18576 Use default-value of major-mode rather than default-major-mode.
18578 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * Makefile.in (update-elcfiles): Report left over elc files.
18582 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18583 expand-file-name and with-current-buffer.
18584 (mail-get-names, mail-directory): Use with-current-buffer.
18586 * vc.el (vc-read-revision): New function.
18587 (vc-version-diff, vc-merge): Use it.
18589 2009-08-27 Sam Steingold <sds@gnu.org>
18591 * simple.el (kill-do-not-save-duplicates): New user option.
18592 (kill-new): When it is non-nil, and the new string is the same as
18593 the latest kill, set replace to t to avoid duplicates in kill-ring.
18595 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18597 * net/tramp.el (tramp-handle-process-file): Do not flush all
18598 caches when `process-file-side-effects' is set.
18599 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18600 instead of `tramp-find-file-exists-command'.
18601 Unset `process-file-side-effects'.
18603 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18605 * net/tramp.el (tramp-methods): New method "rsyncc".
18606 (top): Add completion function for "rsyncc".
18607 (tramp-message-show-message): New defvar.
18608 (tramp-message, tramp-error): Use it.
18609 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18611 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18612 `tramp-methods' entry `copy-env' of "rsyncc".
18613 (tramp-vc-registered-read-file-names): New defconst.
18614 (tramp-vc-registered-file-names): New defvar.
18615 (tramp-handle-vc-registered): Implement optimization strategy.
18616 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18617 (tramp-vc-file-name-handler): New defun.
18618 (tramp-get-ls-command, tramp-get-test-command)
18619 (tramp-get-file-exists-command, tramp-get-remote-ln)
18620 (tramp-get-remote-perl, tramp-get-remote-stat)
18621 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18623 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18624 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18626 (tramp-get-file-property): Check for timestamps in
18627 `tramp-cache-inhibit-cache'.
18628 (tramp-set-file-property): Write timestamp.
18630 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18632 * language/japan-util.el (japanese-symbol-table): Add entries for
18635 * international/characters.el: Add category `j' to cp932-2-byte.
18637 2009-08-27 Kenichi Handa <handa@m17n.org>
18639 * international/fontset.el (build-default-fontset-data): New macro.
18640 (setup-default-fontset): Use build-default-fontset-data for CJK,
18641 tibetan, ethiopic, and ipa.
18643 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18645 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18646 (enable-multibyte-characters): Not customizable any more.
18648 * subr.el (default-mode-line-format, default-header-line-format)
18649 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18650 (default-direction-reversed, default-truncate-lines)
18651 (default-left-margin, default-tab-width, default-case-fold-search)
18652 (default-left-margin-width, default-right-margin-width)
18653 (default-left-fringe-width, default-right-fringe-width)
18654 (default-fringes-outside-margins, default-scroll-bar-width)
18655 (default-vertical-scroll-bar, default-indicate-empty-lines)
18656 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18657 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18658 (default-scroll-down-aggressively, default-fill-column)
18659 (default-cursor-type, default-buffer-file-type)
18660 (default-cursor-in-non-selected-windows)
18661 (default-buffer-file-coding-system, default-major-mode)
18662 (default-enable-multibyte-characters): Mark as obsolete.
18664 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18666 * vc-dir.el (vc-dir-update): Remove debug helper.
18668 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18670 2009-08-26 Sam Steingold <sds@gnu.org>
18672 * simple.el (save-interprogram-paste-before-kill): New user option.
18673 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18674 save the interprogram-paste into kill-ring before overriding it
18675 with the Emacs kill.
18677 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18679 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18680 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18681 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18682 and move to vc-rcs.el.
18683 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18685 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18686 (vc-rcs-update-changelog): Remove.
18687 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18688 and move to vc-rcs.el.
18690 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18691 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18693 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18694 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18695 vc.el, renamed to be RCS specific.
18697 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18699 (vc-cvs-update-changelog): Move here from vc.el.
18701 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18704 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18706 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18708 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18710 * vc-git.el (vc-git-register): Use "git add" for directories.
18711 (vc-git-stash, vc-git-stash-show): New functions.
18712 (vc-git-extra-menu-map): Bind them.
18714 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18715 directory correctly in case the item is a directory itself.
18717 * vc.el: Document the desired behavior for reverted files in the
18719 (vc-default-prettify-state-info): Remove function, unused.
18721 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18723 2009-08-26 Glenn Morris <rgm@gnu.org>
18725 * bindings.el (standard-mode-line-format): Reposition dashes in
18726 which-func entry. (Bug#4217)
18728 * files.el (enable-local-variables, enable-local-eval)
18729 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18731 (auto-mode-alist, ignored-local-variables)
18732 (save-some-buffers-action-alist): Move risky declarations to the
18734 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18735 (font-lock-defaults, format-alist, imenu--index-alist)
18736 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18737 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18738 (mode-line-modified, mode-line-mule-info, mode-line-position)
18739 (mode-line-process, mode-line-remote, outline-level)
18740 (parse-time-rules, rmail-output-file-alist)
18741 (special-display-buffer-names, vc-mode):
18742 Move risky declarations to the relevant files.
18743 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18744 (mode-line-modified, mode-line-process, mode-line-position)
18745 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18746 * font-core.el (font-lock-defaults):
18747 * format.el (format-alist):
18748 * vc-hooks.el (vc-mode):
18749 * window.el (special-display-buffer-names):
18750 * international/mule-cmds.el (input-method-alist):
18751 Define riskiness here (dumped file) rather than in files.el.
18752 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18753 * imenu.el (imenu-generic-expression, imenu--index-alist):
18754 * outline.el (outline-level):
18755 * time.el (display-time-string):
18756 * calendar/parse-time.el (parse-time-rules):
18757 * mail/rmailout.el (rmail-output-file-alist):
18758 Autoload riskiness here, rather than placing in files.el.
18760 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18762 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18764 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18766 * simple.el (process-file-side-effects): New defvar.
18768 * dired-aux.el (dired-show-file-type):
18769 * vc.el (vc-diff-internal):
18770 * vc-arch.el (vc-arch-diff):
18771 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18772 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18773 * vc-git.el (vc-git-registered, vc-git-working-revision)
18774 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18775 (vc-git--empty-db-p):
18776 * vc-hooks.el (vc-user-login-name):
18777 * vc-svn.el (vc-svn-registered, vc-svn-state)
18778 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18779 * progmodes/grep.el (grep-probe): Let-bind
18780 `process-file-side-effects' with nil.
18782 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18784 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18785 daemon. Replace ping by checking for running service for bluez
18786 and zeroconf. (Bug#4239)
18788 2009-08-25 Kevin Ryde <user42@zip.com.au>
18790 * net/dig.el (dig): Add autoload cookie.
18792 2009-08-25 Glenn Morris <rgm@gnu.org>
18794 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18795 load-history for absolute file-names.
18796 (byte-compile-file-form-require): Warn about use of the cl package.
18798 * format.el (format-alist): Doc fix.
18800 * play/bubbles.el (top-level): Don't require cl at run-time.
18802 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18805 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18807 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18809 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18811 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18813 * calc/calc-alg.el (math-trig-rewrite)
18814 (math-hyperbolic-trig-rewrite): New functions.
18815 (calc-simplify): Simplify trig functions when asked.
18817 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18819 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18821 2009-08-24 Kenichi Handa <handa@m17n.org>
18823 * language/ind-util.el (mapthread): Delete it.
18824 (combinatorial): New function.
18825 (indian--puthash-cv): Use combinatorial instead of mapthread.
18827 2009-08-22 Kevin Ryde <user42@zip.com.au>
18829 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18830 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18831 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18832 Clarify docstring that the value is strings not symbols.
18833 (checkdoc-list-of-strings-p): New function.
18835 2009-08-22 Glenn Morris <rgm@gnu.org>
18837 * files.el (auto-mode-alist):
18838 * hippie-exp.el (he-concat-directory-file-name):
18839 * lpr.el (lpr-windows-system, printer-name):
18840 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18841 * ps-print.el (ps-windows-system):
18842 * startup.el (command-line):
18843 * emulation/viper-ex.el (viper-glob-function):
18844 * international/mule-cmds.el (set-language-environment-coding-systems):
18845 * net/ange-ftp.el (ange-ftp-write-region):
18846 * obsolete/fast-lock.el (fast-lock-cache-name):
18847 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18848 unisoft-unix, vax-vms, win32, w32.
18850 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18851 given name if the pattern is not more specific.
18853 * calendar/lunar.el (lunar-phase-names): New option.
18854 (lunar-phase): Doc fix.
18855 (lunar-cycles-per-year): New constant.
18856 (lunar-index): New function.
18857 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18858 (lunar-phase-name): Use lunar-phase-names.
18859 (calendar-lunar-phases): Use format.
18860 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18862 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18863 Copy imenu-example--name-and-position function here for own use.
18864 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18866 * bs.el (bs--redisplay):
18867 * cus-edit.el (custom-redraw):
18868 * ibuffer.el (ibuffer-bury-buffer):
18869 * server.el (server-goto-line-column):
18870 * startup.el (command-line-1):
18871 * strokes.el (strokes-xpm-for-stroke):
18872 * term.el (term-display-buffer-line):
18873 * view.el (View-goto-line):
18874 * calc/calc.el (calc-do, calc-trail-buffer):
18875 * play/gamegrid.el (gamegrid-add-score-insecure):
18876 * progmodes/ada-mode.el (ada-compile-goto-error):
18877 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18878 (ebrowse-select-1st-to-9nth):
18879 * progmodes/cperl-mode.el (cperl-time-fontification):
18880 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18881 * progmodes/gud.el (gud-display-line):
18882 (idlwave-shell-display-line):
18883 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18884 * progmodes/make-mode.el (makefile-browser-toggle):
18885 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18886 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18887 * textmodes/picture.el (picture-draw-rectangle):
18888 * textmodes/reftex-index.el (reftex-index-goto-letter):
18889 (reftex-select-jump-to-previous):
18890 * textmodes/reftex-sel.el (reftex-find-start-point)
18891 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18892 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18893 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18894 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18895 * textmodes/two-column.el (2C-associated-buffer):
18896 Use forward-line rather than goto-line.
18898 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18901 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18902 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18903 (quick-check-list-to-regexp): Declare.
18905 * progmodes/make-mode.el (makefile-browser-insert-selection):
18906 Use goto-char rather than goto-line.
18908 * progmodes/prolog.el (compilation-error-regexp-alist)
18909 (compilation-forget-errors): Declare.
18911 2009-08-22 Juri Linkov <juri@jurta.org>
18913 * progmodes/grep.el (lgrep, rgrep): At the beginning
18914 set `dir' to `default-directory' unless `dir' is a non-nil
18915 readable directory. (Bug#4052)
18916 (lgrep, rgrep): Change a weird way to report an error
18917 from using `read-string' to using `error'.
18918 Instead of using interactive arguments in the function body,
18919 add new argument `confirm'.
18921 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18923 * textmodes/remember.el (remember-buffer):
18924 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18925 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18926 (icalendar-extract-ical-from-buffer):
18927 * net/newst-treeview.el (newsticker-groups-filename):
18928 * net/newst-backend.el (newsticker-cache-filename):
18929 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18930 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18931 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18932 (speedbar-buffers-line-path, speedbar-path-line)
18933 (speedbar-buffers-line-path):
18934 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18936 * epa.el (epa-display-verify-result):
18937 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18939 2009-08-21 Glenn Morris <rgm@gnu.org>
18941 * progmodes/js.el (inferior-moz-process): Fix declaration.
18943 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18945 * obsolete/rnewspost.el (news-mail-reply):
18946 Use goto-char rather than goto-line.
18948 * term/ns-win.el (ns-open-file-select-line):
18949 Use line-beginning-position rather than goto-line.
18951 * apropos.el (apropos-command):
18952 * ehelp.el (electric-helpify):
18953 * printing.el (pr-show-setup):
18954 * strokes.el (strokes-help):
18955 * tutorial.el (tutorial--describe-nonstandard-key)
18956 (tutorial--detailed-help):
18957 * woman.el (woman-mini-help, woman-display-extended-fonts):
18958 * calc/calc-help.el (calc-describe-key):
18959 * emulation/edt.el (edt-electric-helpify):
18960 * international/mule-diag.el (mule-diag):
18961 * play/yow.el (apropos-zippy):
18962 * progmodes/python.el (python-describe-symbol):
18963 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18964 * textmodes/table.el (*table--cell-describe-mode)
18965 (*table--cell-describe-bindings):
18966 Use help-print-return-message rather than the now obsolete alias.
18968 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18969 (calendar-cursor-to-visible-date):
18970 * play/5x5.el (5x5-position-cursor):
18971 * play/decipher.el (decipher):
18972 * play/gomoku.el (gomoku-goto-xy):
18973 * play/landmark.el (lm-goto-xy):
18974 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18975 (mpuz-paint-digit):
18976 Use forward-line, not goto-line.
18978 * mail/rmail.el (rmail-obsolete): Delete custom group.
18979 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18980 (rmail-remote-password, rmail-remote-password-required):
18981 Remove unneeded :set-after and :set properties.
18983 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18985 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18987 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18989 * loadup.el: Remove leftover macos code.
18991 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18992 Explicitly pass the date format to git blame so that user local
18993 so that the output format can be parsed.
18995 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18997 * net/dbus.el (top): Don't check for (getenv
18998 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19000 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19002 * log-edit.el (log-edit-strip-single-file-name): New var.
19003 (log-edit-insert-changelog): Use it. Bug#3571
19005 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19007 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19010 * help.el (help-print-return-message): Rename from
19011 print-help-return-message.
19013 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19014 cvs-mode-map parent hack.
19015 (log-view-mode): Derive from special-mode.
19017 * linum.el (linum-mode): window-size-change-functions is redundant.
19018 Adapt to new window-configuration-change-hook behavior.
19019 (linum-after-size, linum-after-config): Remove.
19021 * imenu.el (imenu-example--name-and-position)
19022 (imenu-example--lisp-extract-index-name)
19023 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19026 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19027 (inferior-prolog-mode): Use it.
19028 (inferior-prolog-load-file): Reset list of errors.
19030 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19032 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19034 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19036 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19038 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19039 is running already.
19041 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19043 * subr.el (listify-key-sequence-1): Use normal syntax since those
19044 integers are nowadays always represented by the same (positive) number
19046 (read-key-empty-map): New const.
19047 (read-key-delay): New var.
19048 (read-key): New function.
19049 (force-mode-line-update): Use with-current-buffer.
19050 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19051 (start-process-shell-command, start-file-process-shell-command):
19052 Discourage the use of command-args.
19054 2009-08-19 Glenn Morris <rgm@gnu.org>
19056 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19058 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19060 * simple.el (choose-completion-string): Don't rely on
19061 minibuffer-completing-file-name and ad-hoc checks to decide whether
19062 to continue completion or not.
19064 * minibuffer.el (minibuffer-hide-completions): New function.
19065 (completion--do-completion): Use it.
19066 (completions-annotations): New face.
19067 (completion--insert-strings): Use it.
19068 (completion-pcm--delim-wild-regex): Add docstring.
19069 (completion-pcm--string->pattern): Add support for 0-width delimiters
19070 in completion-pcm--delim-wild-regex.
19072 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19074 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19075 Remove unused var `buffer-modified-p'.
19077 * minibuffer.el (completion--do-completion): Move point for the #b001
19078 case as well (bug#4176).
19079 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19081 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19083 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19084 and :session buses.
19086 2009-08-18 Kenichi Handa <handa@m17n.org>
19088 * international/ucs-normalize.el (ucs-normalize-version):
19090 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19091 (utf-8-hfs): Make it perform normalization on encoding too.
19093 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19094 (sentence-end-without-space): Delete duplicated chars.
19095 (sentence-end-base): Likewise.
19097 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19098 (html-mode): Delete duplicated chars from sentence-end-base.
19100 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19101 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19103 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19105 * files.el (hack-one-local-variable): If the mode function is for
19106 a minor mode, pass it an argument (Bug#4148).
19108 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19110 * net/tramp.el (tramp-register-completion-file-name-handler):
19111 Check also for (member 'partial-completion completion-styles).
19113 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19115 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19118 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19120 * progmodes/cperl-mode.el: Merge upstream 6.2.
19121 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19122 (cperl-forward-re): Check cperl-brace-recursing.
19123 (cperl-highlight-charclass): New function.
19124 (cperl-find-pods-heres): Use it.
19125 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19126 (cperl-beautify-regexp-piece): Fix column calculation.
19127 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19128 (cperl-beautify-level): Don't process entire regexp.
19129 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19131 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19132 (cperl-init-faces): Build a list in the normal way.
19134 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19136 * calendar/parse-time.el (parse-time-string-chars): Save match
19139 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19141 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19142 (sql-product): Use it.
19143 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19144 (sql-set-product): Add completion.
19145 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19146 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19147 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19148 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19149 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19150 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19151 (sql-highlight-db2-keywords): Remove.
19152 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19153 (sql-highlight-product): Use derived-mode-p.
19154 (sql-set-sqli-buffer): Use with-current-buffer.
19155 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19158 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19160 * term.el: Fix commenting convention, turn comments into docstrings.
19162 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19164 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19166 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19168 * calendar/parse-time.el (parse-time-string-chars): Compute using
19169 character classes, to handle non-ascii characters (Bug#3190).
19171 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19173 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19174 another heredoc if the user adds another < (Bug#3226).
19176 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19177 Don't initialize based on window-system (Bug#4124).
19179 * facemenu.el (facemenu-read-color): Use a completion function
19180 that accepts any defined color, such as RGB triplets (Bug#3677).
19182 * files.el (get-free-disk-space): Change fallback default
19183 directory to /. Expand DIR argument before switching to fallback.
19184 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19186 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19188 * files.el (load-library): Doc fix.
19190 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19192 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19193 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19194 incremental search string.
19196 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19199 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19200 (ediff-merge-region-is-non-clash)
19201 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19202 Also check if the job is really a merge job.
19204 * ediff.el (ediff-current-file): New function.
19206 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19208 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19210 (js-insert-and-indent): Delete function.
19211 (js-mode-map): Don't bind keys to js-insert-and-indent.
19212 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19213 (js-end-of-defun): Rename from js--end-of-defun.
19214 (js-auto-indent-flag): Delete variable.
19216 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19218 * progmodes/js.el: Remove proclaim statement.
19219 Defvar which-func-imenu-joiner-function to silence compiler.
19221 * files.el (auto-mode-alist): Use js-mode for .js files.
19223 * progmodes/js2-mode.el: Remove file.
19225 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19227 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19229 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19231 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19232 Karl Landstrom <karl.landstrom@brgeight.se>
19234 * progmodes/js.el: New file.
19236 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19238 * timezone.el (timezone-parse-date): Add ability to understand ISO
19239 basic format (minimal separators) dates in addition to the
19240 already-supported extended format dates.
19242 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19244 * international/ucs-normalize.el: Add a `coding' file variable.
19246 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19248 2009-08-14 Sam Steingold <sds@gnu.org>
19250 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19252 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19254 * faces.el (help-argument-name): Define it here instead of
19255 help-fns.el, because in daemon mode help-fns.el may be loaded when
19256 faces are still uninitialized (Bug#1078).
19258 * help-fns.el (help-argument-name): Move defface to faces.el.
19260 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19262 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19263 create buffer with a pty but no process so that GDB can make the
19264 inferior the controlling process.
19266 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19268 * international/ucs-normalize.el: New file.
19270 2009-08-13 Richard Stallman <rms@gnu.org>
19272 * mail/rmail.el (rmail-get-attr-names):
19273 Accept an attribute header that is too short.
19275 * mail/rmail.el (rmail-forget-messages):
19276 Ignore nil elt in rmail-message-vector. Use dotimes.
19278 * progmodes/compile.el (compilation-goto-locus):
19279 Use next-error-move-function.
19281 * simple.el (next-error-move-function): New variable.
19283 2009-08-12 Juri Linkov <juri@jurta.org>
19285 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19286 always non-nil. (Bug#4052)
19288 * replace.el (read-regexp): Return empty string when
19289 `default-value' is nil.
19290 (keep-lines-read-args): Don't use empty string as the
19291 default value for `read-regexp'. (Bug#2495)
19293 2009-08-12 Juri Linkov <juri@jurta.org>
19295 * international/mule-cmds.el (ucs-insert): Change arguments
19296 from `arg' to `character', `count', `inherit' to be the same
19297 as in `insert-char'. Doc fix. (Bug#4039)
19299 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19301 2009-08-12 Juri Linkov <juri@jurta.org>
19303 * files-x.el: New file.
19305 * files.el: Move code that deals with adding/deleting
19306 file/directory-local variables to files-x.el.
19308 * Makefile.in (ELCFILES): Add files-x.elc.
19310 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19312 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19313 to use `goto-line'.
19314 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19316 (gdb-invalidate-disassembly): Do not refresh upon receiving
19317 'update signal. Instead, update all disassembly buffers only after
19319 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19320 (gdb-starting): Move -data-list-register-names...
19321 (gdb-stopped): ...here so it's sent when first thread stops.
19322 (gdb-registers-handler-custom): Do nothing if register names are
19325 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19326 from `gdb-mi.el' to avoid extra tangling.
19328 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19329 change which breaks `gud-def' definitions used in `gdb'.
19330 (gdb-update-gud-running): No extra fuss for updating frame number.
19332 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19334 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19335 (describe-language-environment-map, setup-language-environment-map)
19336 (set-coding-system-map): Move initialization into declaration.
19337 (set-language-info-alist): Last arg to define-key-after can be skipped.
19339 * international/quail.el (quail-completion-1): Simplify.
19340 (quail-define-rules): Use slightly more compact code.
19341 (quail-insert-decode-map): Propertize keys, compact columns.
19343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19346 2009-08-10 Miles Bader <miles@gnu.org>
19348 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19349 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19350 (js2-instance-member, js2-private-member, js2-private-function-call)
19351 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19352 (js2-magic-paren, js2-external-variable):
19353 Remove "-face" suffix from face names.
19354 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19355 (js2-highlight-undeclared-vars, js2-peek-token)
19356 (js2-parse-function-params, js2-mode-show-errors)
19357 (js2-mode-show-warnings, js2-make-magic-delimiter)
19358 (js2-mode-highlight-magic-parens): Update to use new face names.
19360 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19362 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19363 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19365 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19367 * subr.el: Provide hashtable-print-readable.
19369 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19370 hs-c-like-adjust-block-beginning.
19371 (hs-hide-block-at-point): Stop hiding at the beginning of
19372 hs-block-end-regexp (Bug#700).
19374 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19376 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19378 (gdb-registers-handler-custom): Do not fail when register names
19381 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19383 * progmodes/gdb-mi.el (gdb-control-all-threads)
19384 (gdb-control-current-thread): Interactive setters for
19385 `gdb-gud-control-all-threads' to use in menu.
19386 (gdb-show-run-p): Show «Go» when process is not active.
19387 (gud-tool-bar-map): Add non-stop/A,T indicator.
19388 Uses gud/thread.xpm and gud/all.xpm.
19390 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19392 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19393 (nslookup-font-lock-keywords): Make it a variable.
19394 (net-utils-mode): New mode for viewing diagnostic network output.
19395 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19396 (net-utils-run-simple): New function.
19397 (ifconfig, iwconfig, netstat, arp, route): Use it.
19399 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19401 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19402 (gdb-memory-set-address, def-gdb-set-positive-number)
19403 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19404 after changing settings.
19405 (gdb-invalidate-disassembly): Update when first shown.
19406 (gdb-edit-locals-value): Fixed.
19407 (gdb-registers-handler-custom): Print registers in right order and
19408 allow changing register values (only for current thread yet).
19409 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19410 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19411 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19412 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19413 Thread info in mode name.
19414 (gdb-registers-mode-map): TAB to switch to locals.
19416 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19418 * mail/rmail.el (rmail-add-mbox-headers)
19419 (rmail-set-message-counters-counter): Search for
19420 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19422 2009-08-08 Glenn Morris <rgm@gnu.org>
19424 * Makefile.in (ELCFILES): Update.
19426 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19428 * mail/sendmail.el (mail-yank-original):
19429 Set buffer-file-coding-system from the one used by the message whose
19432 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19433 to "windows" when "pgnuplot" is used.
19434 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19435 Don't call accept-process-output if "pgnuplot" is used.
19436 (calc-graph-init): Don't send -display and -geometry to
19437 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19438 running "pgnuplot -V" with shell-command-to-string.
19440 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19443 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19445 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19448 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19450 * vc-dispatcher.el (vc-resynch-window): Update comment.
19452 * term.el (term-handle-ansi-escape): Add comments with the
19453 terminfo capabilities implemented.
19455 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19457 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19458 (gdb-var-create-handler): Rewritten using JSON parser.
19459 (gdb-propertize-header): Move earlier.
19460 (gdb-set-header): Remove to avoid duplication.
19461 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19462 Refresh disassembly buffers only after threads list have been
19464 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19467 2009-08-04 Juri Linkov <juri@jurta.org>
19469 * files.el: Commands to add/delete file/directory-local variables.
19470 (read-file-local-variable, read-file-local-variable-value)
19471 (read-file-local-variable-mode, modify-file-local-variable)
19472 (modify-file-local-variable-prop-line)
19473 (modify-dir-local-variable): New functions.
19474 (add-file-local-variable, delete-file-local-variable)
19475 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19476 (add-dir-local-variable, delete-dir-local-variable)
19477 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19478 (copy-dir-locals-to-file-locals-prop-line): New commands.
19480 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19482 * abbrev.el (insert-abbrev-table-description): Prettify output.
19483 Suggested by Karl Chen.
19485 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19487 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19488 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19489 (gdb-overlay-arrow-position, gdb-thread-position)
19490 (gdb-disassembly-position): Declare variables.
19491 (gdb-wait-for-pending): Function now.
19492 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19493 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19494 compilation goes smoothly.
19495 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19496 (gdb-non-stop-setting): New customization setting which replaces
19497 `gdb-non-stop' so changing it doesn't break active GDB session.
19498 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19499 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19500 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19501 (gdb-show-threads-by-default): New customization options.
19502 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19504 (gdb-get-buffer-create): Send buffers update signal when they are
19506 (gdb-invalidate-locals, gdb-invalidate-registers)
19507 (gdb-invalidate-breakpoints)
19508 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19509 (gdb-invalidate-memory): Accept update signal.
19510 (gdb-current-context-command): Use --frame option.
19511 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19512 Implement `gdb-frame-number' selection logic.
19513 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19514 whether to show GUD toolbar buttons.
19515 (gdb-thread-exited): Unselect current thread when it exits.
19516 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19517 (gdb-mark-line): Routine which sets overlay arrow or inverses
19518 video on fringeless displays.
19519 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19520 to build aligned columns of data in GDB buffers and set text
19521 properties line-by-line.
19522 (gdb-invalidate-breakpoints)
19523 (gdb-breakpoints-list-handler-custom)
19524 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19525 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19526 (gdb-registers-handler-custom): Align data columns.
19527 (gdb-locals-handler-custom): Now prints data like in variable
19529 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19530 Remove confusing buttons.
19531 (gdb-invalidate-threads): Append --frame.
19532 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19533 between breakpoints/threads buffers.
19534 (gdb-set-window-buffer): Now can ignore dedicated windows.
19535 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19536 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19537 (def-gdb-thread-buffer-gud-command): Replaces
19538 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19539 for fine thread control.
19540 (gdb-preempt-existing-or-display-buffer): New function used to
19541 display bound buffers without breaking window layout.
19542 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19543 (gdb-select-frame): New version of `gdb-frames-select' which now
19544 sets `gdb-frame-number' so commands may use --frame option instead
19545 of inner debugger state.
19546 (gdb-frame-handler): Do not set `gdb-frame-number'.
19547 (gdb-threads-mode-map): Select threads with mouse.
19549 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19550 avoid compilation warning.
19551 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19554 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19555 Argument `key' renamed to `buffer-type'.
19556 (gdb-current-context-buffer-name): Do not add thread info to
19557 buffer name when no thread is selected.
19558 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19559 command (bug 3794).
19560 (gdb-thread-selected): Handle `=thread-selected' notification.
19561 (gdb-wait-for-pending): New macro to deal with congestion problems.
19562 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19564 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19565 This fixes problem similar to one described in bug 3947.
19566 (gud-menu-map): More menu items.
19567 (gdb-init-1): Reset `gdb-thread-number' to nil.
19569 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19572 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19573 (gdb-current-context-command): Do not append --thread if
19574 `gdb-thread-number' is nil.
19575 (gdb-running-threads-count, gdb-stopped-threads-count):
19577 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19578 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19579 New customization options.
19580 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19582 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19583 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19584 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19585 set `gdb-thread-number' and update `gud-running' properly.
19586 (gdb-running): Update threads list when new threads appear.
19587 (gdb-stopped): Support non-stop operation and new thread switching
19589 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19590 (gdb-json-partial-output): New set of JSON routines.
19591 (def-gdb-auto-update-trigger): New `signal-list' optional
19593 (gdb-thread-list-handler-custom): Update `gud-running',
19594 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19595 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19596 (gdb-continue-thread, gdb-step-thread): New commands for fine
19597 thread execution control.
19598 (gud-menu-map): New menu items to switch non-stop options.
19599 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19600 (gdb-send): Mimic RET properly (bug 3794).
19602 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19603 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19605 (def-gdb-auto-update-handler): New nopreserve optional argument.
19606 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19608 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19609 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19610 (gdb-parent-mode): New mode to derive other GDB modes from.
19611 (gdb-display-disassembly-for-thread)
19612 (gdb-frame-disassembly-for-thread): New commands for threads
19615 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19616 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19617 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19618 (gdb-update): We now store all GDB buffers in a list so that they
19619 can be updated by traversing a list instead of calling invalidate
19620 triggers explicitly.
19621 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19622 pair for GDB buffer.
19623 (gdb-stack-buffer-name): Add thread information.
19624 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19625 handle pending triggers.
19626 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19627 (def-gdb-thread-buffer-simple-command)
19628 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19629 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19630 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19631 New commands which show buffers bound to thread.
19632 (gdb-stack-list-locals-regexp): Remove unused regexp.
19634 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19635 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19636 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19637 to (gud-comint-buffer) in *-buffer-name functions
19638 because (gdb-get-target-string) already does that.
19639 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19640 (gdb-changed-registers-handler): Rewritten without regexps.
19642 * progmodes/gdb-mi.el: Basic thread selection support.
19643 (gdb-thread-number): New variable.
19644 (gdb-current-context-command): New macro which adds --thread
19646 (gdb-threads-mode-map): Select thread with SPC.
19647 (gdb-thread-list-handler-custom): Mark current thread with overlay
19648 arrow. Synchronize GDB thread and Emacs thread.
19649 (gdb-select-thread): New command which selects current thread.
19650 (gdb-invalidate-frames, gdb-invalidate-locals)
19651 (gdb-invalidate-registers): Use --thread option.
19653 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19655 * net/tramp.el (top): Make check for tramp-gvfs loading more
19657 (tramp-handle-insert-file-contents): `unwind-protect' must be
19658 inside `with-parsed-tramp-file-name'.
19660 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19663 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19665 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19666 directory if CLASSPATH is not set.
19668 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19670 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19672 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19674 2009-08-02 Kevin Ryde <user42@zip.com.au>
19676 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19677 Update freshmeat link. Delete newsforge.com as it seems gone.
19679 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19681 * select.el (x-set-selection): Doc fix (Bug#4021).
19683 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19685 * help-fns.el (describe-variable): Treat list return values from
19686 dir-locals-find-file properly (Bug#4005).
19688 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19690 * net/tramp.el (tramp-debug-message): Print also microseconds.
19692 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19694 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19696 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19697 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19700 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19701 (tramp-get-file-property): Use it.
19703 * autorevert.el (auto-revert-handler):
19704 Allow `auto-revert-tail-mode' for remote files.
19706 2009-08-02 Jason Rumney <jasonr@gnu.org>
19708 * minibuffer.el (read-file-name): Treat confirm options to
19709 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19711 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19713 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19714 (font-lock-variable-name-face, font-lock-constant-face):
19715 Darken the colors for light backgrounds.
19717 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19719 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19720 month names. (Bug#3987)
19722 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19724 * simple.el (line-move-finish): Pass whole number to
19725 line-move-to-column.
19726 (line-move-visual): Perform hscroll to the recorded position.
19728 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19730 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19732 2009-07-29 Alan Mackenzie <acm@muc.de>
19734 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19736 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19738 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19739 (gdb-place-breakpoints): Use full path when setting breakpoints.
19741 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19743 * calc/calc.el (calc-mode-map): Add keybinding for
19744 `calc-transpose-lines'.
19746 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19748 * calc/calc-misc.el (calc-transpose-lines): New function.
19750 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19752 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19753 Simplify check for out-of-band methods.
19754 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19755 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19757 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19759 * vc-git.el (vc-git-checkin): Fix typo.
19761 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19763 * progmodes/js2-mode.el: New file.
19765 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19767 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19768 (gud-menu-map): Adjust tooltip accordingly.
19770 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19772 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19773 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19775 * add-log.el (change-log-mode-map): Add a menu.
19777 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19779 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19780 function returns nil.
19781 (dbus-handle-event): Handle special return value :ignore.
19782 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19784 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19786 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19789 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19793 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19795 * term/pc-win.el (x-display-name, x-colors)
19796 (x-select-enable-clipboard, x-select-text): Doc fix.
19798 * term/common-win.el (x-display-name, x-colors): Doc fix.
19800 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19801 (xw-defined-colors): Doc fix.
19803 * w32-fns.el (x-select-text, x-setup-function-keys)
19804 (x-get-selection, x-set-selection): Doc fix.
19806 * term/x-win.el (x-select-text, x-setup-function-keys)
19807 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19809 * select.el (x-set-selection): Doc fix.
19811 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19813 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19814 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19815 "IsNSSSupportAvailable" method is not available.
19816 Reported by Steve Youngs <steve@sxemacs.org>.
19818 2009-07-24 Kenichi Handa <handa@m17n.org>
19820 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19821 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19822 (build-unicode-category-table): Fix range checks.
19824 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19826 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19827 the buffer we try to sync is current when calling
19830 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19831 not show up to date files.
19833 2009-07-24 Glenn Morris <rgm@gnu.org>
19835 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19836 Add autoload cookies. If necessary, initialize.
19837 (elint-log): Handle non-file buffers.
19838 (elint-initialize): Add optional argument to reinitialize.
19839 (elint-find-builtin-variables): Save excursion.
19841 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19843 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19846 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19848 * vc.el (vc-print-log-internal): New function, split out from ...
19849 (vc-print-log): ... here.
19850 (vc-dir-move-to-goal-column): Declare.
19852 * vc-git.el (vc-git-add-signoff): New variable.
19853 (vc-git-checkin): Use it.
19854 (vc-git-toggle-signoff): New function.
19855 (vc-git-extra-menu-map): Bind it to menu.
19856 (vc-git--run-command-string): Accept a nil FILE argument.
19857 (vc-git-stash-list): New function.
19858 (vc-git-dir-extra-headers): Use it.
19860 2009-07-23 Glenn Morris <rgm@gnu.org>
19862 * help-fns.el (describe-variable): Describe ignored and risky local
19863 variables in a similar way to that in which we describe safe ones.
19865 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19866 (byte-compile-output-file-form, byte-compile-output-docform)
19867 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19868 Give some more local variables with common names a "bytecomp-" prefix,
19869 so as not to shadow things during compilation.
19870 * emacs-lisp/cl-macs.el (load-time-value)
19871 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19872 `outbuffer' to `bytecomp-outbuffer'.
19874 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19875 since the next two variables cover them automatically now.
19876 (elint-builtin-variables, elint-autoloaded-variables): New.
19877 (elint-unknown-builtin-args): Remove all members, since they can be
19878 parsed automatically now.
19879 (elint-extra-errors): New.
19880 (elint-env-add-env, elint-env-add-macro): Use cadr.
19881 (elint-current-buffer): Use or. Change final message.
19882 (elint-get-top-forms): Use line-end-position.
19883 (elint-init-env): Use cadr. Handle autoload, declare-function,
19885 (elint-add-required-env): Doc fix. Use or. Standardize error.
19886 (regexp-assoc): Remove unused function.
19887 (elint-top-form): Set elint-current-pos, to record the start of the
19888 top-level form, for compilation-mode.
19889 (elint-form): Trap errors in macro expansion. Use dolist.
19890 (elint-unbound-variable): Use elint-builtin-variables and
19891 elint-autoloaded-variables.
19892 (elint-get-args): Use cadr, or.
19893 (elint-check-cond-form): Use dolist, cadr.
19894 (elint-check-condition-case-form): Doc fix. Use cadr.
19895 Use elint-extra-errors.
19896 (elint-log): New function.
19897 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19898 Distinguish errors and warnings.
19899 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19900 Use a bytecomp-style format.
19901 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19902 (elint-get-log-buffer): Use compilation mode. Disable undo.
19903 Don't truncate lines.
19904 (elint-initialize): Set builtin and autoloaded variable lists.
19905 Only process elint-unknown-builtin-args if non-nil.
19906 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19908 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19910 2009-07-22 Kevin Ryde <user42@zip.com.au>
19912 * net/newst-backend.el (newsticker--parse-atom-1.0)
19913 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19914 (newsticker--parse-rss-1.0):
19915 * progmodes/idlwave.el (idlwave-mode):
19916 * progmodes/idlw-shell.el (idlwave-shell-mode):
19917 * progmodes/vera-mode.el (vera-mode):
19918 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19919 * progmodes/vhdl-mode.el (vhdl-mode):
19920 * textmodes/table.el (table-generate-source)
19921 (table--warn-incompatibility):
19922 Hyperlink urls in docstrings with URL `...'.
19924 2009-07-22 Glenn Morris <rgm@gnu.org>
19926 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19927 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19928 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19929 Remove leading * from defcustom docs.
19931 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19933 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19935 (list-load-path-shadows): Optionally, just return shadows as a string.
19937 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19939 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19941 * mail/rmailedit.el (rmail-edit-mode):
19942 Use auto-save-include-big-deletions.
19944 * mail/rmail.el (rmail-variables):
19945 Use auto-save-include-big-deletions.
19947 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19950 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19952 * calc/calc.el (calc-undo-length): New variable.
19953 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19955 2009-07-21 Richard Stallman <rms@gnu.org>
19957 * files.el (auto-save-mode): Handle buffer-save-size = -2
19960 2009-07-21 Glenn Morris <rgm@gnu.org>
19962 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19964 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19966 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19967 silence compiler. Instead...
19968 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19969 (ps-print-ensure-fontified): Update for above function name changes.
19971 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19972 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19973 silence compiler. Instead...
19974 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19975 (mh-show-buffer): Only define for compiler.
19976 (pr-mh-current-message): Update for above function name changes.
19978 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19980 (find-file-noselect, insert-file-1): Update for above change.
19982 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19984 * mail/mailclient.el (mailclient-send-it): Fix message.
19986 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19987 (edebug-eval): Check cl-debug-env is bound.
19988 (print-level, print-circle): Don't redefine built-in variables.
19990 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19991 (custom-print-vectors): Remove old comments from doc.
19993 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19994 (emerge-version): Make the variable an obsolete alias for the
19995 emacs-version variable. Make the function obsolete.
19996 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19997 Emerge options, rather than merging in into the main Options menu.
19998 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19999 and auto advance modes. Disable edit/fast items when not relevant.
20001 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20003 * term/vt420.el (terminal-init-vt420): Fix typo.
20005 2009-07-20 Sam Steingold <sds@gnu.org>
20007 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20008 variable (removed from compile.el on 2004-03-11).
20010 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20012 * files.el (hack-local-variables-filter): Fix last change.
20014 2009-07-19 Juri Linkov <juri@jurta.org>
20016 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20017 (dir-local-variables-alist): New buffer-local variable.
20018 (hack-local-variables-filter): If variable is not dir-local,
20019 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20020 because file-local overrides dir-local.
20021 (c-postprocess-file-styles) <declare-function>:
20022 Remove obsolete declaration.
20023 (hack-dir-local-variables): Add dir-local variable/value pair to
20024 `dir-local-variables-alist' and remove duplicates. Doc fix.
20026 * help-fns.el (describe-variable): Add information about
20027 file-local and dir-local variables.
20029 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20031 * files.el (hack-local-variables-filter): Rewrite.
20033 2009-07-19 Glenn Morris <rgm@gnu.org>
20035 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20036 Silence compiler by only defining on XEmacs.
20038 * international/mule.el (auto-coding-regexp-alist): Only match
20039 BABYL... at the start of buffer, not of lines. (Bug#3790)
20041 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20042 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20043 (cal-menu-context-mouse-menu): Doc fix.
20045 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20047 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20049 2009-07-18 Juri Linkov <juri@jurta.org>
20051 * info.el: Virtual Info keyword finder.
20052 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20053 (Info-finder-file): New variable.
20054 (Info-finder-find-file): New function.
20055 (finder-known-keywords, finder-package-info)
20056 (find-library-name, lm-commentary): Use defvar and
20057 declare-function to silence compiler warnings.
20058 (Info-finder-find-node): New function.
20059 (info-finder): New command.
20061 * subr.el (process-kill-buffer-query-function): New function.
20062 (add-hook)<kill-buffer-query-functions>: Add hook
20063 `process-kill-buffer-query-function'.
20065 2009-07-18 Alan Mackenzie <acm@muc.de>
20067 * progmodes/cc-mode.el (c-before-hack-hook)
20068 (c-postprocess-file-styles): Give invocation of `c-set-style'
20069 DONT-OVERRIDE parameter of t. Already set style variables will
20070 thus not be overridden by style settings given by `c-file-syle'.
20072 * files.el (hack-local-variables-filter): Remove entries with
20073 duplicate keys from `file-local-variables-alist'.
20075 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20077 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20078 x-set-selection if display-selections-p returns nil for the
20081 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20083 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20085 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20087 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20088 Accept nil in addition to a regexp.
20089 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20090 Accept nil in addition to a regexp.
20091 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20092 buffers that have an associated file. Handle nil values of
20093 desktop-buffers-not-to-save and desktop-files-not-to-save.
20096 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20097 (x-disown-selection-internal): New functions.
20099 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20101 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20103 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20104 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20106 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20108 * simple.el (set-mark): Revert last change.
20110 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20112 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20113 rendering of pngs is not possible instead of messaging a long
20116 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20118 * w32-fns.el (x-selection-owner-p): New function.
20120 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20121 (mouse-yank-at-click, mouse-yank-primary):
20122 If select-active-regions is non-nil, deactivate the mark before
20125 * simple.el (deactivate-mark, set-mark): Only save selection if we
20128 2009-07-17 Kenichi Handa <handa@m17n.org>
20130 * case-table.el (describe-buffer-case-table): Fix for the case
20131 that KEY is a cons.
20133 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20135 * vc-rcs.el (vc-rcs-find-file-hook):
20136 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20138 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20140 * net/tramp.el (tramp-wait-for-output): Handle the case when
20141 commands do not return a newline but a null byte before the shell
20144 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20146 * term/ns-win.el (ns-set-alpha): Don't declare.
20147 (ns-set-background-alpha): Remove function.
20149 2009-07-16 Kevin Ryde <user42@zip.com.au>
20151 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20152 y-or-n-p, for safety.
20154 2009-07-16 Richard Stallman <rms@gnu.org>
20156 * files.el (auto-save-mode): If buffer-saved-size is -2,
20159 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20160 (rmail-retry-ignored-headers): Add more uninteresting fields.
20162 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20164 * net/rcirc.el (rcirc): Use history variables.
20165 (rcirc-server-name-history, rcirc-nick-name-history)
20166 (rcirc-server-port-history): New variables.
20168 2009-07-15 Kenichi Handa <handa@m17n.org>
20170 * international/mule-cmds.el (set-language-environment-charset):
20171 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20174 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20175 Delete unibyte-display.
20177 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20179 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20181 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20183 * simple.el (deactivate-mark): Optional argument FORCE.
20184 (set-mark): Use deactivate-mark.
20186 * info.el (Info-search): No need to check transient-mark-mode
20187 before calling deactivate-mark.
20189 * select.el (x-set-selection): Doc fix.
20190 (x-valid-simple-selection-p): Allow buffer values.
20191 (xselect--selection-bounds): Handle buffer values.
20192 Suggested by David De La Harpe Golden.
20194 * mouse.el (mouse-set-region, mouse-drag-track):
20195 Call copy-region-as-kill before setting the mark, to let
20196 select-active-regions work.
20198 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20200 * simple.el (deactivate-mark): If select-active-regions is
20201 non-nil, copy the selection data into a string.
20202 (activate-mark): If select-active-regions is non-nil, set the
20203 selection to the current buffer.
20204 (set-mark): Update selection if select-active-regions is non-nil.
20206 * select.el (x-valid-simple-selection-p): Allow buffer values.
20208 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20210 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20211 and more featureful message-mode.
20213 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20215 * select.el (x-set-selection): Doc fix.
20216 (x-valid-simple-selection-p): Disallow selection data consisting
20217 of a list or cons of integers, since that is not used.
20218 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20219 (xselect-convert-to-string, xselect-convert-to-length)
20220 (xselect-convert-to-filename, xselect-convert-to-charpos)
20221 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20223 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20225 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20226 output in -break-info command (Emacs bug #3794).
20228 2009-07-14 Glenn Morris <rgm@gnu.org>
20230 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20231 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20232 (edebug-print-length, edebug-print-level, edebug-print-circle)
20233 (edebug-sit-for-seconds, edebug-view-outside)
20234 (edebug-bounce-point, edebug-set-global-break-condition)
20235 (edebug-Go-nonstop-mode, edebug-trace-mode)
20236 (edebug-Trace-fast-mode, edebug-continue-mode)
20237 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20238 (edebug-visit-eval-list): Doc fixes.
20240 * subr.el (def-edebug-spec): Doc fix.
20242 2009-07-14 Kenichi Handa <handa@m17n.org>
20244 * international/characters.el: Fix setting of category ?C.
20246 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20248 * term/ns-win.el (x-select-font): defalias x-select-font to
20249 ns-popup-font-panel instead of generate-fontset-menu.
20251 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20253 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20255 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20257 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20258 the PK\003\004 header (Bug#3770).
20260 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20262 * pcomplete.el (pcomplete-comint-setup): Check for
20263 shell-dynamic-complete-filename too.
20265 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20267 * simple.el (temporary-goal-column): Change the value for
20268 line-move-visual to a cons cell.
20269 (line-move-visual): Record or set the window hscroll, if
20270 necessary (Bug#3494).
20271 (line-move-1): Handle cons value of temporary-goal-column.
20273 2009-07-11 Kenichi Handa <handa@m17n.org>
20275 * international/mule-diag.el (describe-character-set): Don't show
20278 2009-07-10 Sam Steingold <sds@gnu.org>
20280 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20281 Omake sometimes indents the errors it prints, so allow all
20282 regexps to start with spaces.
20284 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20286 * cus-edit.el (customize-changed-options-previous-release):
20287 Bump value to 22.1. (Bug#3804)
20289 2009-07-08 Sam Steingold <sds@gnu.org>
20291 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20292 to be a cons cell (test . ignored-directory) to selectively ignore
20293 some directories depending on the location of the search.
20295 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20297 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20298 remote user is root, on the local host.
20299 (tramp-local-host-p): Either the local user or the remote user
20300 must be root. (Bug#3771)
20302 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20304 * progmodes/gdb-mi.el (gdb): Remove description of
20305 gdb-use-separate-io-buffer.
20306 (menu): Don't allow toggling of or enable
20307 gdb-use-separate-io-buffer from menubar.
20309 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20311 * mail/unrmail.el (unrmail): Make sure the message ends with two
20312 newlines (Bug#3769).
20314 2009-07-08 Glenn Morris <rgm@gnu.org>
20316 * calendar/calendar.el (calendar-current-date): Rework previous change.
20318 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20320 * calendar/calendar.el (calendar-current-date):
20321 Add an optional argument giving an offset from today.
20323 2009-07-08 Glenn Morris <rgm@gnu.org>
20325 * tutorial.el (tutorial--describe-nonstandard-key):
20326 Adjust the message for when a key has been unbound.
20327 (help-with-tutorial): Hide the arch-tag.
20329 2009-07-08 Kenichi Handa <handa@m17n.org>
20331 * international/fontset.el (setup-default-fontset): For each
20332 script, append (not set) font-specs.
20334 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20337 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20339 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20340 -data-list-register-names to ...
20341 (gdb-starting): ... here because GDB 7.0 requires execution to
20342 have started when using this MI command.
20343 (gdb-set-header): New function to distinguish select and
20344 unselected tabs in gdb buffers.
20345 (gdb-propertize-header): New macro that uses gdb-set-header.
20346 (gdb-breakpoints-header, gdb-locals-header): Use it.
20347 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20349 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20351 * Makefile.in (ELCFILES): Remove fadr.elc.
20353 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20355 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20356 may contain frame information, so `string-match' should be used.
20357 (gdb-update): Disassembly is invalidated through
20358 `gdb-get-selected-frame'.
20359 (gdb-pad-string): New function to pad string with spaces.
20360 (gdb-invalidate-disassembly): Invalidate only if the buffer
20362 (gdb-disassembly-handler-custom): Column alignment.
20363 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20365 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20367 (gdb-frame-handler): Match convention to for disassembly buffer
20369 (gdb-stack-list-frames-handler): Rewritten without regexps.
20370 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20371 not highlight breakpoints without line information.
20372 (gdb-input): Add trailing newline to command.
20374 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20376 (gdb-breakpoints-list-handler-custom): Replacement for
20377 `gdb-break-list-handler'. Using real parser instead of regexps
20379 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20380 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20381 to place breakpoints.
20382 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20384 (gdb-disassembly-handler-custom): Show overlay arrow.
20385 (gdb-disassembly-place-breakpoints): Show breakpoints in
20386 disassembly buffer.
20387 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20388 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20389 instead of parsing breakpoints buffer. Fixed old menu references
20394 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20395 (gdb-memory-address): New variable which holds top address of
20396 memory page shown in memory buffer.
20397 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20398 New customization variables.
20400 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20401 display the memory buffer.
20402 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20403 buffer display parameters.
20404 (def-gdb-memory-format, gdb-memory-format-binary)
20405 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20406 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20407 Functions for setting memory buffer format.
20408 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20409 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20410 unit size used in memory buffer.
20411 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20412 Switch to next/previous page of memory buffer.
20413 Now using (bindat-get-field) instead of fadr functions.
20415 2009-07-07 Sam Steingold <sds@gnu.org>
20417 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20418 non-top-level files.
20420 2009-07-07 Kenichi Handa <handa@m17n.org>
20422 * international/mule-cmds.el (reset-language-environment):
20423 Put the highset priority to the charset iso-8859-1.
20425 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20427 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20428 to the end of the line when locating the block (Bug#700).
20430 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20432 * net/tramp.el (tramp-handle-write-region): Flush file properties
20433 in case of short track.
20435 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20437 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20438 Coded custom representation of verilog error regular expressions
20439 to work with Emacs-22's new format.
20440 (verilog-error-regexp-xemacs-alist): Coded custom representation
20441 of verilog error regular expressions to work with XEmacs format.
20442 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20443 error recognition into XEmacs.
20444 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20445 error recognition into Emacs-22.
20447 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20449 * woman.el: Remove stand-alone closing parentheses.
20450 (woman-file-name, woman2-format-paragraphs)
20451 (woman-leave-blank-lines): Code cleanup.
20452 (woman-use-own-frame): Change default to nil.
20453 (woman-italic, woman-bold, woman-unknown, woman-addition):
20454 Change defaults to inherit from default faces.
20455 (woman2-process-escapes): Consume the newline after a stand-alone
20456 filler character (Bug#3651).
20458 2009-07-06 Glenn Morris <rgm@gnu.org>
20460 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20461 (top-level): Move provide to the end.
20462 (ffap): Remove defunct URL from custom group.
20464 * subr.el (eval-after-load): Doc fix.
20466 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20468 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20469 `calc-embedded-word' is called twice.
20471 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20473 * files.el (find-alternate-file-other-window, find-alternate-file):
20474 Obey confirm-nonexistent-file-or-buffer.
20476 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20478 * dired-aux.el (dired-show-file-type): Handle remote files.
20480 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20482 * desktop.el (desktop-globals-to-save):
20483 Add file-name-history (Bug#2750).
20485 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20487 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20489 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20491 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20492 property on entire argument since this is what eshell-lisp-command
20495 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20497 * net/tramp-gvfs.el (tramp-gvfs-methods)
20498 (tramp-gvfs-zeroconf-domain)
20499 (tramp-bluez-discover-devices-timeout): Add version flag.
20500 (tramp-gvfs-handler-mounted-unmounted)
20501 (tramp-gvfs-connection-mounted-p): Polish handling of
20502 incompatibilities between GVFS 0.2 and 1.0.
20504 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20506 * cus-start.el (all): Add make-pointer-invisible.
20508 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20510 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20511 formatted correctly.
20513 2009-07-02 Juri Linkov <juri@jurta.org>
20515 * info.el: Virtual Info files and nodes.
20516 (Info-virtual-files, Info-virtual-nodes): New variables.
20517 (Info-current-node-virtual): New variable.
20518 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20520 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20521 to check for a virtual file instead of checking a fixed list
20523 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20524 instead of ad-hoc processing of "dir" and (apropos history toc).
20525 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20526 instead of ad-hoc processing of "dir" and (apropos history toc).
20527 Reread a file when moving from a virtual node.
20528 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20529 (Info-directory-toc-nodes, Info-directory-find-file)
20530 (Info-directory-find-node): New functions.
20531 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20532 (Info-history): Move part of code to
20533 `Info-history-find-node'.
20534 (Info-history-toc-nodes, Info-history-find-file)
20535 (Info-history-find-node): New functions.
20536 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20537 (Info-toc): Move part of code to `Info-toc-find-node'.
20538 (Info-toc-find-node): New function.
20539 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20540 the current Info file name to references because now the node
20541 "*TOC*" belongs to the same Info manual.
20542 (Info-toc-build): Rename from `Info-build-toc'.
20543 (Info-toc-nodes): Rename input argument `file' to `filename'.
20544 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20545 instead of ad-hoc processing of ("dir" apropos history toc).
20546 (Info-index-nodes): Use Info-virtual-file-p
20547 to check for a virtual file instead of checking a fixed list
20549 (Info-index-node): Add check for `Info-current-node-virtual'.
20550 Raise `save-match-data' higher up the tree to contain
20551 `search-forward' too (bug fix).
20552 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20553 (Info-virtual-index-nodes): New variable.
20554 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20555 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20556 (Info-apropos-file, Info-apropos-nodes): New variables.
20557 (Info-apropos-toc-nodes, Info-apropos-find-file)
20558 (Info-apropos-find-node, Info-apropos-matches): New functions.
20559 (info-apropos): Move part of code to `Info-apropos-find-node' and
20560 `Info-apropos-matches'.
20561 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20562 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20563 for a virtual file instead of checking a fixed list of node names.
20565 * simple.el (async-shell-command): New command.
20567 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20569 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20570 instead of `mount-info'.
20572 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20574 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20575 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20577 2009-07-02 Kenichi Handa <handa@m17n.org>
20579 * international/mule.el (set-keyboard-coding-system): Force *-unix
20580 coding-system to avoid eol conversion.
20582 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20585 Add handler for `process-file', `shell-command' and
20586 `start-file-process'.
20587 (tramp-gvfs-handle-shell-command)
20588 (tramp-gvfs-handle-start-file-process)
20589 (tramp-gvfs-handle-process-file): New defuns.
20590 (tramp-synce-list-devices): Simplify check for existence of property.
20592 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20594 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20596 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20598 * language/korean.el (set-language-info-alist): Add korean-cp949,
20601 2009-07-01 Kenichi Handa <handa@m17n.org>
20603 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20605 * international/encoded-kb.el: Deleted.
20607 * international/mule.el (set-keyboard-coding-system): Perform the
20608 necessary setup here instead of calling encoded-kbd-setup-display.
20610 2009-07-01 Glenn Morris <rgm@gnu.org>
20612 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20614 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20616 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20618 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20620 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20621 Handle also the 'rename case, when setting file modes. (Bug#3712)
20622 (tramp-default-file-modes): Remove execute permissions.
20624 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20625 (top): Add a default for "synce" in `tramp-default-user-alist'.
20626 Add completion function for "synce" method.
20627 (tramp-hal-service, tramp-hal-path-manager)
20628 (tramp-hal-interface-manager, tramp-hal-interface-device):
20630 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20631 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20634 * net/trampver.el: Update release number.
20636 2009-06-30 Kenichi Handa <handa@m17n.org>
20638 * international/fontset.el (setup-default-fontset): Add CJK fonts
20639 for symbols and the other miscellaneous characters.
20641 * language/korea-util.el (setup-korean-environment-internal):
20642 Make char-width-table suitable for Korean environments.
20643 (exit-korean-environment): Cancel above.
20645 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20646 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20647 setup-function to make char-width-table suitable for respective
20648 environments, and an exit-function to cancel that.
20650 * language/japan-util.el (setup-japanese-environment-internal):
20651 Call use-cjk-char-width-table with arg `ja_JP'.
20653 * international/characters.el (cjk-char-width-table): Delete it.
20654 (cjk-char-width-table-list): New variable.
20655 (use-cjk-char-width-table): New arg local-name.
20656 (use-default-char-width-table): Fix for the case that Emacs is
20657 already using the default char-width-table.
20659 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20661 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20662 modes mandatory. (Bug#3712)
20664 2009-06-29 Alan Mackenzie <acm@muc.de>
20666 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20667 correction between the visible width of TABs and their number of bytes.
20669 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20671 * server.el (server-buffer-done): Prevent kill-buffer from
20672 prompting by clearing the buffer modification flag (Bug#3696).
20674 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20676 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20677 (verilog-endcomment-reason-re): Support unique case and priority case.
20678 (verilog-basic-complete-re): Support localparam lineup.
20679 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20680 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20682 (verilog-leap-to-case-head): Now support *nested* unique &
20683 priority case statements.
20684 (verilog-auto-lineup): Make just declarations the default (as it
20686 (verilog-leap-to-case-head): Support priority/unique case statements.
20687 (verilog-auto-lineup): Rework to give users radio buttons to
20688 select the various styles of automatic lineup.
20689 (verilog-error-regexp-alist): Rework to support the XEmacs style
20690 of error regular expressions from compilers, lint tools &
20691 simulators. Note that GNU Emacs has made it impossible for a mode
20692 to load such things.
20693 (electric-verilog-terminate-line, verilog-indent-declaration)
20694 (verilog-auto-wiure): Rework for radio button selection of
20695 auto-lineup selection of specification of auto lineup.
20696 (verilog-beg-of-statement-1): Redesign to support proper operation
20697 in additional code, based on testing with auto-lineup.
20698 (verilog-calculate-indent, assignments & declarations)
20699 (verilog-backward-token): Enhance to support auto-lineup of
20700 assignments & declarations.
20701 (verilog-in-directive-p, verilog-at-struct-p): New function for
20702 easy test of whether we are.
20703 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20704 to support safe execution at almost anyline.
20705 (verilog-calc-1): Properly support indenting deep inside generate
20707 (verilog-init-font): Remove definition & use of verilog-init-font,
20708 as it is redundant with font-lock-defaults.
20709 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20710 to avoid circular calls if syntax-ppss is a function (as is the
20711 case now in 22.x GNU Emacs) as that function would sometimes call
20712 itself, leading to (nearly) infinite recursion.
20713 (verilog-ovm-begin-re, verilog-ovm-end-re)
20714 (verilog-ovm-statement-re, verilog-leap-to-head)
20715 (verilog-backward-token): Add support for OVM macros. Some are
20716 complete statements, and others open and close scopes like begin
20718 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20719 (verilog-defun-level-generate-only-re): Really fix the defun-list
20721 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20722 coverpoint, constraint and cross statements.
20723 (verilog-defun-level-list, verilog-generate-defun-level-list)
20724 (verilog-all-defun-level-list): Redo these specifications - it is
20725 too hard to support eval-when compile aggregation of lists also
20726 built at when-compile time.
20727 (verilog-defun-level-list): Place defconsts of variables used in
20728 building regular expressions which are built in eval-when-compile
20729 bodies in the same eval-when-compile body to facilitate compile
20731 (verilog-beg-block-re-ordered): Support indenting
20732 virtual/protected tasks and functions.
20733 (verilog-defun-level-list, verilog-in-generate-region-p)
20734 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20735 indentation of some module items (generate items).
20736 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20737 across virtual/protected tasks and functions.
20739 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20741 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20742 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20743 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20744 in concatenations. Reported by Yishay Belkind.
20745 (verilog-auto-ascii-enum): Support one-hot state machines in
20746 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20747 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20748 modport in AUTOINST and add vl-modport for users.
20749 Reported by David Rogoff.
20750 (verilog-auto-inout-module, verilog-auto-inst)
20751 (verilog-decls-get-interfaces, verilog-insert-definition)
20752 (verilog-insert-one-definition, verilog-read-decls)
20753 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20754 (verilog-sig-modport, verilog-signals-combine-bus)
20755 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20756 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20757 Suggested by David Rogoff.
20758 (verilog-repair-open-comma): Fix non-insertion of comma when
20759 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20760 (verilog-make-width-expression): Simplify [A-1:0] expression
20761 widths to just {A{1'b0}}.
20762 (verilog-mode): Cleanup checkdoc warnings.
20763 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20764 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20765 inputs/outputs or data type. Suggested by Vasu Kandadi.
20766 (next-error-last-buffer): Fix byte-compiler warning.
20767 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20768 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20769 or shell command text during AUTO expansion. Suggested by Tad Truex.
20770 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20771 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20772 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20773 in AUTOINOUT. Reported by Matthew Lovell.
20774 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20775 causing use of <= assignments. Reported by Alex Reed.
20776 (verilog-read-decls): Fix triand, trior, wand, wor to be
20777 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20778 (verilog-extended-complete-re): Support import "DPI-C" functions.
20779 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20780 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20781 (verilog-insert-date, verilog-insert-year)
20782 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20783 Windows systems. Reported by Michael Potts.
20784 (verilog-read-module-name): Fix AUTOINST when the child module
20785 declaration's name is a tick define. Reported by Elliot Mednick.
20786 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20787 passed to next parameter's definition. Reported by Bruce T.
20788 (verilog-read-decls): Fix detecting "parameter int" when using
20789 AUTOINSTPARAM. Reported by Bruce T.
20790 (verilog-goto-defun): Fix goto not finding modules unless first
20791 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20792 (verilog-mode): Expand -f flag arguments on entry to mode so
20793 verilog-goto-defun will work. Reported by Lawrence Butcher.
20794 (verilog-getopt): Expand environment variables in -f file
20795 arguments. Suggested by Lawrence Butcher.
20796 (verilog-set-define): Fix "Symbol's value as variable is void"
20797 when reading enumerations.
20798 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20799 Suggested by Stephen Peltan.
20800 (verilog-read-defines): Fix reading of enumerations in include
20801 files. Reported by Steve Peltan.
20803 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20805 * files.el (trash-directory): Fix defcustom type.
20807 2009-06-28 Juri Linkov <juri@jurta.org>
20809 * help-fns.el (describe-function-1): Correctly locate adviced
20810 functions in hyperlink (Bug#2438).
20812 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20814 * files.el (trash-directory): Change default to nil.
20815 (move-file-to-trash): If trash-directory is nil and
20816 system-move-file-to-trash is unbound, perform freedesktop-style
20819 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20821 * files.el (move-file-to-trash): Add freedesktop trash
20824 2009-06-28 Glenn Morris <rgm@gnu.org>
20826 * autorevert.el (global-auto-revert-non-file-buffers)
20827 (global-auto-revert-mode): Doc fixes.
20829 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20831 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20833 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20835 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20836 opened an X connection before calling x-get-resource (Bug#3194).
20838 * play/doctor.el: Remove reference to obsolete website.
20839 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20841 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20843 Remove find-file-not-found-hook VC method. (Bug#2757)
20844 * vc-hooks.el (vc-file-not-found-hook)
20845 (vc-default-find-file-not-found-hook): Remove functions.
20846 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20847 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20850 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20852 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20854 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20855 compatibility function for `looking-back'.
20857 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20858 Use `ispell-looking-back'.
20860 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20862 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20863 rather than `filename'.
20865 2009-06-23 Miles Bader <miles@gnu.org>
20867 * face-remap.el (text-scale-set): New function.
20869 2009-06-23 Glenn Morris <rgm@gnu.org>
20871 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20873 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20875 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20877 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20879 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20880 Simplify Persian conditionals.
20882 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20883 variable `filename'.
20885 * comint.el (comint-insert-input): Doc fix.
20887 * Makefile.in (ELCFILES): Fix typo in previous change.
20889 2009-06-23 Miles Bader <miles@gnu.org>
20891 * cus-start.el: Add entry for `recenter-redisplay'.
20893 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20895 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20896 Add an optional argument for the backend, use it instead of
20897 calling vc-backend.
20898 (vc-mode-line): Add an optional argument for the backend.
20899 Pass the backend to vc-state and vc-working-revision. Move code for
20900 special handling for vc-state being a buffer to ...
20902 * vc-rcs.el (vc-rcs-find-file-hook):
20903 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20905 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20906 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20907 vc-stay-local-p and vc-mode-line calls.
20909 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20910 (vc-cvs-diff, vc-cvs-annotate-command)
20911 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20912 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20913 vc-mode-line calls.
20915 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20917 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20918 backend when calling vc-mode-line.
20919 (vc-register): Do not create a closure for calling the vc register
20920 function, call it directly.
20922 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20924 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20925 to make it obvious item can be clicked.
20927 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20929 2009-06-23 Kenichi Handa <handa@m17n.org>
20931 * language/korea-util.el (korean-key-bindings): Change the binding
20932 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20935 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20937 Sync with Tramp 2.1.16.
20939 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20941 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20942 when a loading of a package fails. Completion function for rsync
20943 is `tramp-completion-function-alist-ssh'.
20944 (all): Replace all calls of `split-string' and
20945 `tramp-split-string' by `tramp-compat-split-string'.
20946 (tramp-default-method): Use `tramp-compat-process-running-p'.
20947 (tramp-default-proxies-alist): Allow also Lisp forms.
20948 (tramp-remote-path): Add choice "Private Directories".
20949 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20950 (tramp-domain-regexp): Allow also "-", "_" and ".".
20951 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20952 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20953 (tramp-debug-message): Insert header line in debug buffer.
20954 (tramp-handle-directory-files-and-attributes-with-stat):
20955 Care about filenames with spaces, or starting with "-".
20956 (tramp-handle-dired-uncache): New defun.
20957 (tramp-handle-insert-directory): Don't flush the directory from
20958 cache, this is handled by `dired-uncache' now.
20959 (tramp-handle-insert-file-contents): Improve error handling.
20960 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20961 Quote `tramp-end-of-output'.
20962 (tramp-action-password): Improve trace message.
20963 (tramp-check-for-regexp): Both echoes must be present, before removing.
20964 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20965 (tramp-compute-multi-hops): Eval cons cells of
20966 `tramp-default-proxies-alist'.
20967 (tramp-maybe-open-connection): Use the same command pattern for
20968 first hop and further hops.
20969 (tramp-wait-for-output): Remove handling of newlines.
20970 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20971 (tramp-split-string): Remove function. It is handled in
20974 * net/tramp-cmds.el (tramp-bug):
20975 Recommend `tramp-cleanup-all-connections' in the bug mail.
20977 * net/tramp-compat.el (tramp-compat-split-string)
20978 (tramp-compat-process-running-p): New defuns.
20980 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20981 for `dired-uncache'.
20983 * net/tramp-gvfs.el: New package.
20985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20986 Add handler for `dired-uncache'.
20987 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20989 * net/trampver.el: Update release number. Make version check fit
20992 2009-06-22 Jim Meyering <meyering@redhat.com>
20994 Automatically handle .xz suffix (XZ-compressed files), too.
20995 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20996 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20998 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20999 Nick Roberts <nickrob@snap.net.nz>
21001 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21002 repository (http://sphinx.net.ru/hg/gdb-mi/).
21004 2009-06-22 Glenn Morris <rgm@gnu.org>
21006 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21007 `mode' and `eval' entries. (Bug#3430)
21009 * Makefile.in (ELCFILES): Add fadr.elc.
21011 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21012 differing behavior of \n and ^ in strings. (Bug#3385)
21014 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21016 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21018 (lisp-indent-function): Make it a defcustom.
21020 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21022 * progmodes/gdb-ui.el: Replace with ...
21023 * progmodes/gdb-mi.el: ... this file.
21024 * progmodes/gud.el: Modify for gdb-mi.el.
21026 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21028 * fadr.el: New file.
21030 See ChangeLog.14 for earlier changes.
21032 ;; Local Variables:
21036 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21038 This file is part of GNU Emacs.
21040 GNU Emacs is free software: you can redistribute it and/or modify
21041 it under the terms of the GNU General Public License as published by
21042 the Free Software Foundation, either version 3 of the License, or
21043 (at your option) any later version.
21045 GNU Emacs is distributed in the hope that it will be useful,
21046 but WITHOUT ANY WARRANTY; without even the implied warranty of
21047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21048 GNU General Public License for more details.
21050 You should have received a copy of the GNU General Public License
21051 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.