1 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
3 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
5 * files.el (find-alternate-file, basic-save-buffer)
6 (basic-save-buffer-2, revert-buffer, recover-file)
7 (kill-buffer-ask, abort-if-file-too-large)
8 (set-visited-file-name, write-file, backup-buffer)
9 (basic-save-buffer, save-some-buffers):
10 * dired-aux.el (dired-compress-file): Callers changed.
12 2011-01-19 Glenn Morris <rgm@gnu.org>
14 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
15 Also check the property status. (Bug#7861)
17 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
19 * net/tramp.el (tramp-debug-message): Extend function exclude
20 list. Use `regexp-opt'.
22 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
24 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
25 highlighting doesn't spill over subsequent lines.
27 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
28 keymap expression. Improve docstring.
30 * electric.el (electric-indent-post-self-insert-function):
31 Don't auto-indent for indent-to-left-margin, it's too often
34 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
36 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
37 spaces if the frame was resized, so that the full visible buffer
38 serves as canvas for strokes.
40 2011-01-16 Glenn Morris <rgm@gnu.org>
42 * info-xref.el (info-xref-docstrings): Replace cl function.
43 Also skip directories.
45 2011-01-16 Kevin Ryde <user42@zip.com.au>
47 * info-xref.el: Version 3.
48 (info-xref-check, info-xref-check-all): Move commentary details
49 into docstrings for better visibility.
50 Use compilation-mode for the results buffer.
51 (info-xref-output, info-xref-output-error, info-xref-with-output)
52 (info-xref-filename, info-xref-in-progress):
53 New internals for this.
54 (info-xref-check-list, info-xref-check-buffer)
55 (info-xref-check-all-custom): Use those.
56 (info-xref-output-buffer): Rename from info-xref-results-buffer.
57 (info-xref-output-heading): Rename from info-xref-filename-heading.
58 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
59 (info-xref-filename-heading): Move to output managing section.
60 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
61 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
62 (info-xref-subfile-p): Move to generic section with those two.
63 (info-xref-check-node): New function split from
64 info-xref-check-buffer, shared by info-xref-docstrings.
65 (info-xref-goto-node-p): Move to a checking section with that func.
66 (info-xref-unavail): New counter.
67 (info-xref-check-node): Use it.
68 (info-xref-with-output): Show count of unavailables at end of output.
69 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
70 symlinks. Exclude .texi files. Exclude Emacs backup files.
71 (info-xref-check-all-custom): Fix quietening viper-mode and
72 gnus-registry-install -- use setq not let so as not to unbind
75 2011-01-16 Juri Linkov <juri@jurta.org>
77 * isearch.el (isearch-abort): Don't quit if search has
78 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
80 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
82 * files.el (backup-buffer): Make last-resort backup file in
85 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
86 make it with permission 700.
88 2011-01-15 Kenichi Handa <handa@m17n.org>
90 * mail/rmailmm.el (rmail-mime-insert-header):
91 Set rmail-mime-coding-system to a cons whose car is the last coding
92 system used to decode the header.
93 (rmail-mime-find-header-encoding): New function.
94 (rmail-mime-insert-decoded-text):
95 Override rmail-mime-coding-system if it is a cons.
96 (rmail-show-mime): If only a header part was decoded, find the
97 coding system while ignoring mm-charset-override-alist.
99 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
101 * subr.el (event-start, event-end): Doc fix (Bug#7826).
103 2011-01-15 Kenichi Handa <handa@m17n.org>
105 * mail/rmailmm.el (rmail-mime-next-item)
106 (rmail-mime-previous-item): Delete them.
107 (rmail-mime-shown-mode): Recursively call for children.
108 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
110 (rmail-mime-raw-mode): Recursively call for children.
111 (rmail-mode-map): Change mapping of tab and backtab to
112 forward-button and backward-button respectively.
113 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
115 (rmail-mime-update-tagline): New function.
116 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
117 body display is changed.
118 (rmail-mime-toggle-button): Rename from rmail-mime-image.
119 (rmail-mime-image): Delete this button type.
120 (rmail-mime-toggle): New button type.
121 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
122 body display is changed. Change the save button label to "Save".
123 Don't process show/hide button here.
124 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
125 the body display is changed. Unconditionally call
126 rmail-mime-insert for children.
127 (rmail-mime-handle): Update `display' vector of the just inserted
129 (rmail-mime-process): If mail-header-parse-content-type returns
130 nil, use "text/plain" as the fallback type.
131 (rmail-mime-insert): For raw-mode, recursively call
132 rmail-mim-insert for children.
133 (rmail-mime): Handle the case that the current buffer is not rmail
134 buffer (e.g. in summary buffer).
136 2011-01-15 Kenichi Handa <handa@m17n.org>
138 * mail/rmailmm.el (rmail-mime-next-item)
139 (rmail-mime-previous-item): Skip the body of a non-multipart
140 entity if a tagline is shown.
142 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
144 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
145 (tmm-prompt): Simplify.
146 (tmm-add-prompt): Remove unused var `win'.
148 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
149 to minor mode which used nil accidentally to mean "turn off".
151 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
153 * net/tramp-sh.el (tramp-find-inline-compress)
154 (tramp-get-inline-coding): Quote command after pipe symbol for
155 local calls under W32. (Bug#6784)
157 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
159 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
160 only when running under W32.
162 2011-01-15 Eli Zaretskii <eliz@gnu.org>
164 * progmodes/grep.el (grep-compute-defaults): Quote the program
165 file name after the pipe symbol in Grep templates. (Bug#6784)
166 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
168 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
170 * buff-menu.el (Buffer-menu-buffer-list): New var.
171 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
172 restricted buffer list is not lost on revert (Bug#7749).
174 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
176 * net/ldap.el (ldap-search-internal): Discard stderr output.
178 2011-01-15 Eli Zaretskii <eliz@gnu.org>
180 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
182 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
184 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
186 2011-01-15 Kenichi Handa <handa@m17n.org>
188 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
189 part as a plain text.
190 (rmail-mime-process-multipart): Set the default content-type to
191 nil for unknown multipart subtypes (bug#7651).
193 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
195 * hexl.el (hexl-mode-old-*): Remove.
196 (hexl-mode--old-var-vals): New var to replace them.
197 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
198 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
199 Use them to set local vars (bug#7846).
200 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
201 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
202 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
204 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
205 (smerge-resolve--normalize-re): New var.
206 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
207 (smerge-resolve): Use them.
208 * newcomment.el (comment-only-p): New function.
209 (comment-or-uncomment-region): Use it.
211 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
213 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
214 table, get the value before switching to the output buffer. (Bug#7733)
216 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
218 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
220 2011-01-14 Kim F. Storm <storm@cua.dk>
222 * emulation/cua-base.el (cua--init-keymaps):
223 Remap exchange-point-and-mark in cua-global-keymap.
225 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
227 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
230 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
232 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
234 (easy-menu-create-menu, easy-menu-convert-item-1):
235 Use :label rather than nil for labels. Use `case'.
236 Add :enable as alias for :active.
237 (easy-menu-binding): Obey :label.
239 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
241 Use run-mode-hooks for major mode hooks (bug#513).
242 * textmodes/reftex-toc.el (reftex-toc-mode-map):
243 Rename from reftex-toc-map.
244 (reftex-toc-mode): Use define-derived-mode.
245 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
246 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
247 Rename from reftex-select-(label|bib)-map. Move init into declaration.
248 (reftex-select-label-mode, reftex-select-bib-mode):
249 Use define-derived-mode.
250 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
251 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
252 Move init into delcaration.
253 (reftex-index-mode, reftex-index-phrases-mode):
254 Use define-derived-mode.
255 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
256 speedbar-syntax-table. Move init into declaration.
257 (speedbar-mode-map): Rename from speedbar-key-map.
258 Move init into declaration.
259 (speedbar-file-key-map): Move init into declaration.
260 (speedbar-mode): Use define-derived-mode.
261 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
262 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
263 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
264 (chart-face-list): Move initialization into declaration.
265 (chart-mode): Use define-derived-mode.
266 * calculator.el (calculator-mode-map): Move init into declaration.
267 (calculator-mode): Use define-derived-mode.
269 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
270 work for nested comments.
272 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
273 (prolog-use-prolog-tokenizer-flag): Change default when
274 syntax-propertize can be used.
275 (prolog-syntax-propertize-function): New var.
276 (prolog-mode-variables): Move make-local-variable into `set'.
277 Don't make comment-column local since we don't set it.
278 Set comment-add (as it was in previous prolog.el). Use dolist.
279 Set syntax-propertize-function.
280 (prolog-mode, prolog-inferior-mode):
281 Call prolog(-inferior)-menu directly, not through the mode-hook.
282 (prolog-buffer-module, prolog-indent-level)
283 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
284 (prolog-comment-limits, prolog-goto-comment-column):
285 Use line-(end|beginning)-position.
286 (prolog-build-prolog-command): Tighten up regexp.
287 (prolog-consult-compile): Move make-local-variable into `set'.
288 (prolog-consult-compile-filter, prolog-goto-next-paren)
289 (prolog-help-on-predicate, prolog-clause-info)
290 (prolog-mark-predicate): Don't let+setq.
291 (prolog-indent-line): Use indent-line-to.
292 Only call prolog-goto-comment-column if necessary.
293 (prolog-indent-level): Use bobp.
294 (prolog-first-pos-on-line): Remove, not used any more.
295 (prolog-in-string-or-comment): Use syntax-ppss if available.
296 (prolog-help-on-predicate): Use read-string.
297 (prolog-goto-predicate-info): Simplify.
298 (prolog-read-predicate): Use `default' rather than `initial'.
299 (prolog-temporary-file): Use make-temp-file to close a security hole.
300 (prolog-toggle-sicstus-sd): New command.
301 (prolog-electric-underscore, prolog-variables-to-anonymous):
302 Use dynamic-scoping as it was meant.
303 (prolog-menu): Move menu definitions to top-level.
304 Use a toggle-button for Sicstus's source debugger.
305 Change "Code" to the more usual "Prolog", and hence change "Prolog"
307 (prolog-inferior-menu): Reuse prolog-menu's help menu.
308 Move other menu definition to top-level.
310 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
312 * doc-view.el (doc-view-open-text): Use meaningful text buffer
313 name. Keep original document's directory as default-directory
315 (doc-view-initiate-display): Fall back to normal mode when
316 doc-view-mode cannot be enabled, also when extracting the document
317 text into a separate buffer (bug#6446).
319 * simple.el (shell-command): Don't error out if shell command
320 buffer contains text with non-nil read-only property when erasing
323 2011-01-13 Kim F. Storm <storm@cua.dk>
325 * ido.el (ido-may-cache-directory): Move "too-big" check later.
326 (ido-next-match, ido-prev-match): Fix stray reordering of matching
327 items when cycling through the matches.
329 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
331 * dired-x.el (dired-omit-verbose): New defcustom that allows
332 disabling the omit messages.
333 (dired-omit-expunge): Use it.
335 2011-01-13 Christian Ohler <ohler@gnu.org>
337 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
339 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
341 * font-lock.el (font-lock-verbose): Default to nil.
343 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
345 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
346 (compose-mail): New arg RETURN-ACTION.
347 (compose-mail-other-window, compose-mail-other-frame): Likewise.
349 * mail/sendmail.el (mail-return-action): New var.
350 (mail-mode): Make it buffer-local.
351 (mail-bury): Obey it. Move special Rmail window handling to
353 (mail, mail-setup): New arg RETURN-ACTION.
354 (sendmail-user-agent-compose): Move from simple.el.
356 * mail/rmail.el (rmail-mail-return): New function.
357 (rmail-start-mail): Pass it to compose-mail.
359 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
361 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
362 menus. Add menu item for customize-themes.
364 * cus-theme.el (customize-themes):
365 * emacs-lisp/package.el (package--list-packages):
366 Use switch-to-buffer.
368 2011-01-11 Johan Bockgård <bojohan@gnu.org>
370 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
372 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
374 * progmodes/prolog.el: Fix up coding convention and such.
375 (prolog-indent-width): Use the same default as in
376 previous prolog.el rather than tab-width which depends on which buffer
377 is current when the file is loaded.
378 (prolog-electric-newline-flag): Only enable if electric-indent-mode
380 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
381 (prolog-known-systems): Remove.
382 (prolog-mode-syntax-table, prolog-inferior-mode-map):
383 Move initialization into declaration.
384 (prolog-mode-map): Move initialization into declaration.
385 Remove system-specific mode-map vars, since they referred to the same
387 (prolog-mode-variables): Obey the user's preference w.r.t
388 adaptive-fill-mode. Prefer symbol-value to `eval'.
389 (prolog-mode-keybindings-edit): Add compatibility bindings.
390 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
391 (mercury-mode-map): New var.
392 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
393 (prolog-ensure-process, prolog-process-insert-string)
394 (prolog-consult-compile): Use with-current-buffer.
395 (prolog-guess-fill-prefix): Simplify data flow.
396 (prolog-replace-in-string): New function to use instead of
398 (prolog-enable-sicstus-sd): Don't abuse `eval'.
399 (prolog-uncomment-region): Use `uncomment-region' when available.
400 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
401 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
402 of int-to-char and char-to-int.
403 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
405 2011-01-11 Stefan Bruda <stefan@bruda.ca>
407 * progmodes/prolog.el: Replace by a whole new file.
409 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
411 * subr.el (eval-after-load): Fix timing for features (bug#7769).
412 (declare-function, undefined, insert-for-yank)
413 (replace-regexp-in-string): Follow checkdoc's recommendations.
415 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
417 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
418 refreshing the diary buffer.
420 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
422 * allout.el: Add 2011 to the file copyright.
423 (allout-encrypt-string): Prevent encryption from adding an extra
424 newline at the end of the topic body.
425 (allout-version): Increment to 2.3.
427 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
429 * net/dbus.el (dbus-unregister-service): Complete doc.
430 Fix call of dbus-error signal.
431 (dbus-register-property): Use `dont-register' keyword.
433 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
435 * net/dbus.el (dbus-unregister-service): Translate returned
436 integer into a symbol.
437 (dbus-register-property): Use `dbus-register-service' to do the
440 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
442 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
443 Suggested by Joakim Verona.
445 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
447 * wid-edit.el (visibility): Replace :on-image and :off-image
448 widget properties with :on-glyph and :off-glyph, for consistency
449 with the `visibility' widget.
450 (widget-toggle-value-create, widget-visibility-value-create):
451 Merge into a single function `widget-toggle-value-create'.
453 * cus-edit.el (custom-variable-value-create, custom-visibility)
454 (custom-face-edit-value-create, custom-face-value-create):
455 Replace :on-image and :off-image widget properties with :on-glyph and
456 :off-glyph, for consistency with the `visibility' widget.
458 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
460 * net/ldap.el (ldap-search-internal): Don't use eval.
462 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
464 * subr.el (read-char-choice): Use read-key.
466 * custom.el (custom-safe-themes): Rename from
467 custom-safe-theme-files. Add :risky tag.
468 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
469 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
471 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
473 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
474 from Search and add a label to Undo.
476 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
477 inappropriate buttons and adding :vert-only tags.
479 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
480 removal of Help tool-bar button. Remove Undo button for space.
482 * info.el (info-tool-bar-map): Add :vert-only tags.
484 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
486 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
487 image backend support. Either of them is fine.
489 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
491 * subr.el (y-or-n-p): Doc fix.
493 * custom.el (custom-safe-theme-files): New defcustom.
494 (custom-theme-load-confirm): New function.
495 (load-theme): Load theme using `load', confirming with
496 custom-theme-load-confirm if necessary.
498 * subr.el (read-char-choice): New function, factored out from
499 dired-query and hack-local-variables-confirm.
501 * dired-aux.el (dired-query):
502 * files.el (hack-local-variables-confirm): Use it.
504 * dired-aux.el (dired-compress-file):
505 * files.el (abort-if-file-too-large, find-alternate-file)
506 (set-visited-file-name, write-file, backup-buffer)
507 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
508 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
509 Use new format string args for y-or-n-p and yes-or-no-p.
511 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
513 * progmodes/compile.el (compilation-error-regexp-alist-alist)
514 [gcc-include]: Tighten file name match, add match for column
516 [gnu]: Remove unused group.
518 2011-01-08 Glenn Morris <rgm@gnu.org>
520 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
522 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
524 2011-01-07 Sam Steingold <sds@gnu.org>
526 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
527 the `explicit-shell-file-name' because that is the
528 non-interactive shell.
530 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
532 * subr.el (y-or-n-p): Accept format string args.
534 2011-01-07 Glenn Morris <rgm@gnu.org>
536 * Makefile.in (EMACSOPT): Add --no-site-lisp.
538 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
540 * allout.el (allout-back-to-current-heading): Ensure return to
541 the visible containing topic, rather than a collapsed one.
542 (allout-view-change-hook): Remove hook that was deprecated long ago.
543 (allout-exposure-change-hook): Remove documentation remarks
544 concerning removed allout-view-change-hook.
545 (allout-flag-region): Remove invocation of and documentation
546 remarks concerning allout-view-change-hook.
548 2011-01-06 Glenn Morris <rgm@gnu.org>
550 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
551 (vc-bzr-annotate-extract-revision-at-line):
552 Handle authors with embedded spaces. (Bug#7792)
554 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
556 * doc-view.el (doc-view-image-width): New variable.
557 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
558 backend for PNG images, and do dynamic rescaling instead of
559 reconverting the whole doc.
561 2011-01-05 Glenn Morris <rgm@gnu.org>
563 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
565 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
567 * allout.el: Reconcile with changes in line movement behavior for
568 long text lines that cross more than a single physical window
569 line, ie when truncate-lines is nil.
570 (allout-next-visible-heading): Provide for change in line-move
571 behavior on long lines when truncate-lines is nil. In that case,
572 line-move can wind up on the same textual line when it moves to
573 the next window line, and moving to the bullet position after the
574 move yields zero advancement. Add logic to detect and compensate
575 for the lack of progress.
576 (allout-current-topic-collapsed-p): move-end-of-line respect for
577 field boundaries is different when operating with body lines
578 shorter than window width versus ones greater than window width,
579 which can yield false negatives in this function. Avoid
580 difference by applying move-end-of-line while field-text-motion is
583 2011-01-04 Glenn Morris <rgm@gnu.org>
585 * textmodes/rst.el (rst-compile-toolsets):
586 Add pdf and s5 to option alist.
588 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
590 * net/dbus.el (dbus-register-property): Add optional parameter
591 dont-register-service. Updated docstring accordingly.
593 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
595 * textmodes/rst.el (rst-compile-pdf-preview)
596 (rst-compile-slides-preview): Remove extra line.
598 2011-01-04 Glenn Morris <rgm@gnu.org>
600 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
601 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
602 default to `prog' without a .py extension.
603 (rst-compile-pdf-preview, rst-compile-slides-preview):
604 Use program names from rst-compile-toolsets, rather than hard-coding.
605 (rst-portable-mark-active-p): Fix presumed typo.
607 2011-01-02 Eli Zaretskii <eliz@gnu.org>
609 * term/w32-win.el (dynamic-library-alist): Set up correctly for
610 libpng versions both before and after 1.4.0. (Bug#7716)
612 2011-01-02 Eli Zaretskii <eliz@gnu.org>
614 * time.el (display-time-mode): Mention display-time-interval in
615 the doc string. (Bug#7713)
617 2011-01-02 Kenichi Handa <handa@m17n.org>
619 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
620 condition-case and return an error message string if something
622 (rmail-show-mime): Adjust for the above change. Insert the
623 header by rmail-mime-insert-header.
625 2011-01-02 Kenichi Handa <handa@m17n.org>
627 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
628 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
629 (rmail-mime-mbox-buffer)
630 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
631 (rmail-mime-entity): Argument changed. All codes handling an
632 entity object are changed.
633 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
635 (rmail-mime-entity-children, rmail-mime-entity-handler)
636 (rmail-mime-entity-tagline): New functions.
637 (rmail-mime-message-p): New function.
638 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
639 (rmail-mime-entity-segment, rmail-mime-next-item)
640 (rmail-mime-previous-item, rmail-mime-shown-mode)
641 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
642 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
643 (rmail-mime-insert-tagline, rmail-mime-insert-header):
645 (rmail-mime-text-handler): Call rmail-mime-insert-text.
646 (rmail-mime-insert-decoded-text): New function.
647 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
648 (rmail-mime-insert-image): Argument changed. Caller changed.
649 (rmail-mime-image): Call rmail-mime-toggle-hidden.
650 (rmail-mime-set-bulk-data): New funciton.
651 (rmail-mime-insert-bulk): Argument changed.
652 (rmail-mime-multipart-handler): Return t.
653 (rmail-mime-process-multipart): Argument changed.
654 Handle "multipart/alternative" here.
655 (rmail-mime-process): Argument changed.
656 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
657 (rmail-mime-insert): Argument changed. Handle raw display mode.
658 (rmail-mime): Argument changed. Handle toggling of raw display
660 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
661 rmail-mime-view-buffer.
662 (rmail-insert-mime-forwarded-message): Likewise.
663 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
665 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
666 non-nil, handle the header in rmail-show-mime-function.
668 2011-01-02 Leo <sdl.web@gmail.com>
670 * help-fns.el (describe-variable): Fix previous change.
672 2011-01-02 Juri Linkov <juri@jurta.org>
674 * isearch.el (isearch-lazy-highlight-error): New variable.
675 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
676 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
677 to the current value of `isearch-error' (Bug#7468).
679 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
681 * help-fns.el (describe-variable): Don't emit trailing whitespace
684 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
686 * textmodes/rst.el (rst-compile-pdf-preview)
687 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
689 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
691 * emulation/edt-mapper.el: Override mapping of function keys so
692 that the later call to read-key-sequence works.
694 2011-01-02 Eli Zaretskii <eliz@gnu.org>
696 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
697 Unix EOLs. (Bug#7589)
699 2011-01-02 Leo <sdl.web@gmail.com>
701 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
702 if point is not behind eshell-last-output-end (Bug#7585).
704 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
706 * files.el (file-local-variables-alist):
707 Make permanent-local (bug#7767).
709 2011-01-02 Glenn Morris <rgm@gnu.org>
711 * version.el (emacs-copyright): Set short copyright year to 2011.
713 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
715 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
716 an existing temp buffer. (Bug#7746)
718 2011-01-02 Glenn Morris <rgm@gnu.org>
720 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
721 multiple addresses. (Bug#7760)
723 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
725 * allout.el (allout-auto-fill): Do not infinitely recurse - use
726 do-auto-fill if everything points back to allout-auto-fill.
727 (allout-mode-deactivate-hook): Declare obsolete, in favor of
728 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
730 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
732 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
735 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
737 * doc-view.el (doc-view-set-doc-type): New function refactored
739 (doc-view-fallback-mode): New function.
740 (doc-view-mode): Use it.
741 (doc-view-mode-maybe): New function that checks if doc-view-mode
742 can be used and falls back to the next best mode otherwise.
744 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
745 DVI, OpenDocument, and MS Office files.
747 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
749 * emacs-lisp/rx.el (rx-syntax): Fix typo.
751 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
753 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
754 on a copy of auto-mode-alist, because that deletes with side
757 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
759 * doc-view.el (doc-view-mode, doc-view-toggle-display):
760 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
761 fallback instead of hard coding fundamental mode.
763 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
765 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
766 Office) files also for searching.
768 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
770 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
771 Office) files. Not yet enabled via auto-mode-list.
772 (doc-view-unoconv-program): New custom variable.
773 (doc-view-mode-p): Handle new odf document type.
774 (doc-view-odf->pdf): New conversion function.
775 (doc-view-convert-current-doc): Call it for odf files.
776 (doc-view-mode): Recognize newly supported file extensions.
778 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
780 * net/tramp.el (tramp-default-method-alist)
781 (tramp-default-user-alist)
782 (tramp-local-host-regexp, tramp-prefix-domain-format)
783 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
790 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
791 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
793 2010-12-29 Karl Fogel <kfogel@red-bean.com>
795 * saveplace.el (save-place-alist-to-file): Save list sorted and
796 pretty-printed, so that it is mergeable by line-based text merging,
797 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
799 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
801 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
802 (allout-mode): Argument "toggle" => "force".
803 Refine the docstring.
804 Remove special provisions for reactivation, besides the 'force'
806 Consolidate layout provisions coce directly into the activation
807 condition branch, now that we've removed those provisions.
808 (allout-unload-function): Explicitly activate the mode before
809 deactivating, if it's initially deactivated.
810 (allout-set-buffer-multibyte): Properly prevent byte-compiler
811 warnings for version of function used only where
812 set-buffer-multibyte is unavailable.
814 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
816 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
817 are handled by the menu-bar entries. As before, don't use
818 :visibile to avoid changing the tool-bar.
820 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
822 * net/secrets.el (secrets-delete-alias): New defun.
824 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
826 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
827 methods, otherwise ~/.ssh/config would be ignored.
829 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
831 * emacs-lisp/rx.el: Make it a superset of sregex.
832 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
833 of args, add `regex' alias.
834 (rx-info): Add arg to distinguish head and standalone forms.
835 (rx-check, rx-form): Pass the corresponding arg.
837 (rx-repeat): Make it work for any number of args.
838 (rx-syntax): Make it accept syntax chars as is.
839 * obsolete/sregex.el: Move from emacs-lisp/.
840 * emacs-lisp/re-builder.el: Remove sregex support.
841 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
843 2010-12-25 Eli Zaretskii <eliz@gnu.org>
845 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
846 PRIMARY first, then the clipboard. (Bug#7699)
848 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
850 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
853 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
855 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
856 .emacs.elc (Bug#7530).
858 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
859 image spec (Bug#7480).
861 2010-12-21 Daiki Ueno <ueno@unixuser.org>
863 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
864 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
867 2010-12-20 Leo <sdl.web@gmail.com>
869 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
870 always be performed (Bug#7680).
872 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
874 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
875 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
878 * color.el: Move from gnus/.
880 * vc/diff.el (diff-better-file-name): Function deleted.
881 abbreviating file names causes problems with shell-quote-argument.
882 (diff-no-select): Just use expand-file-name.
884 * tool-bar.el (tool-bar--image-expression): New function.
885 (tool-bar-local-item, tool-bar--image-exp): Use it.
886 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
887 Use :enable instead of :visible to avoid changing the tool-bar
888 configuration unnecessarily.
890 * info.el (info-tool-bar-map): Add separators.
892 2010-12-17 Ken Brown <kbrown@cornell.edu>
894 * loadup.el: Use version numbers in Cygwin build.
896 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
898 * ido.el (ido-file-internal): Ask for confirmation before
899 overwriting an existing file (Bug#1238).
901 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
903 * tool-bar.el (tool-bar-setup): Add separators.
905 * menu-bar.el (featurep): Use menu-bar-separator.
907 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
909 Migrate allout encryption provisions from pgg to epg.
911 * allout.el (allout-toggle-current-subtree-encryption)
912 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
913 defaulting policy and other changes. Change fetch-pass to keymode-cue,
914 for simpler universal argument interpretation.
915 (allout-toggle-subtree-encryption): Adjust docstring to describe
916 changed encryption provisions. Change fetch-pass to keymode-cue, for
917 simpler universal argument interpretation. Remove provisions for
918 handling key type and identity - they'll all be within
919 allout-encrypt-string or epg/epg or even contained all the way in gpg.
920 (allout-encrypt-string): Include keymode-cue, for optionally prompting
921 for keypair recipients (universal argument > 1) and, in addition,
922 associating the specified recipients with the outline (universal
923 argument > 4) using a file local variable setting for
924 'epa-file-encrypt-to'.
925 Require epa, for recipients handling.
926 Change how regexp filtering elements are named.
927 Describe the problem with caching of incorrect symmetric-decryption
929 Use the epa-passphrase-callback-function, in case the user is using
931 Support saving of the selected keypair recipients when invoked with a
933 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
935 Establish epg-context with armoring and default epg-protocol.
936 Remove all passphrase cache, verification, and hinting code.
937 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
938 No longer used, delete.
939 (allout-mode): Adjust docstring to describe changed encryption
940 provisions. Describe the problem with caching of incorrect
941 symmetric-decryption keys.
942 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
943 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
944 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
945 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
948 2010-12-16 Daiki Ueno <ueno@unixuser.org>
950 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
951 key selection prompt; make 'silent as default (Bug#7487).
953 2010-12-16 Leo <sdl.web@gmail.com>
955 * eshell/eshell.el (eshell-directory-name):
956 Use locate-user-emacs-file (Bug#7578).
958 2010-12-15 Glenn Morris <rgm@gnu.org>
960 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
962 2010-12-15 Jari Aalto <jari.aalto@cante.net>
963 Scott Evans <gse@antisleep.com>
965 * rect.el (rectange--default-line-number-format)
966 (rectangle-number-line-callback): New functions.
967 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
969 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
971 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
972 Delete unused variables.
973 (move-to-column-force): Remove function obsolete since 21.2.
975 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
977 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
978 (tramp-handle-insert-file-contents): Do not set permanent-local
981 * net/tramp-cache.el (tramp-persistency-file-name):
982 Use `locate-user-emacs-file' if fboundp.
984 * net/tramp-sh.el (tramp-methods): Add "ksu".
985 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
988 2010-12-14 Glenn Morris <rgm@gnu.org>
990 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
991 (find-tag-marker-ring): Declare.
992 (js-find-symbol): Require etags.
994 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
996 (mail-alias-file): Don't autoload. Doc fix.
997 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
998 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
999 Mark as obsolete, and risky.
1000 (mail-setup): Simplify.
1002 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1003 * mail/sendmail.el (build-mail-aliases): Update autoload.
1005 * dired.el (dired-trivial-filenames, dired-chown-program)
1006 (dired-auto-revert-buffer): Remove autoload cookies.
1007 * mail/sendmail.el (mail-recover-1): Require 'dired.
1009 * dired.el (dired-subdir-switches, dired-chown-program)
1010 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1011 Make into defcustoms.
1012 (dired-chown-program): Simplify initialization.
1014 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1016 2010-12-13 Romain Francoise <romain@orebokech.com>
1018 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1020 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1022 * net/netrc.el (netrc-point-at-eol): Remove the unused
1023 netrc-point-at-old and netrc-bound-and-true-p bindings.
1024 (netrc-parse): Cache the netrc contents.
1026 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1028 * subr.el (posn-col-row): Evaluate header-line-format in the
1029 context of the POSITION window's buffer.
1031 2010-12-13 Glenn Morris <rgm@gnu.org>
1033 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1034 (with-silent-modifications): Doc fixes.
1036 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1038 * net/tramp.el (tramp-action-password, tramp-process-actions):
1039 Revert previous from. Use `save-restriction'.
1041 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1043 * calendar/diary-lib.el (diary-list-sexp-entries):
1044 Handle case of no newline at end of file. (Bug#7536)
1046 2010-12-13 Glenn Morris <rgm@gnu.org>
1048 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1050 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1052 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1053 (tramp-process-actions): Do not widen.
1055 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1056 Protect buffer-modified value. (Bug#7557)
1058 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1060 * log-edit.el (log-edit-changelog-entries):
1061 Regexp quote filename. (Bug#7505)
1063 2010-12-13 Tom Breton <tehom@panix.com>
1065 * cus-edit.el (custom-save-all):
1066 Bind print-length and print-level to nil. (Bug#7581)
1068 2010-12-13 Glenn Morris <rgm@gnu.org>
1070 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1071 Run hooks to update menu contents. (Bug#7586)
1073 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1074 file names, for the sake of MS Windows. (Bug#7588)
1076 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1079 empty lines without a leading space.
1081 2010-12-13 Leo <sdl.web@gmail.com>
1083 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1084 while mapping over marks (Bug#6810).
1086 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1088 * image-dired.el (image-dired-db-file)
1089 (image-dired-temp-image-file, image-dired-gallery-dir)
1090 (image-dired-temp-rotate-image-file): Set default values relative
1091 to image-dired-dir (Bug#7518).
1093 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1095 * format.el (format-decode-run-method): Pass args FROM and TO, not
1096 point-min and point-max, to shell-command-on-region (Bug#7488).
1098 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1100 * frame.el (blink-cursor-mode): Make default t for ns.
1102 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1104 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1106 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1108 * comint.el (comint-dynamic-list-input-ring)
1109 (comint-dynamic-complete-filename)
1110 (comint-replace-by-expanded-filename)
1111 (comint-dynamic-simple-complete)
1112 (comint-dynamic-list-filename-completions)
1113 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1115 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1118 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1120 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1123 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1125 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1128 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1130 * files.el (file-relative-name): Handle UNC file names on
1131 DOS/Windows. (Bug#4674)
1133 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1135 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1136 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1137 (epg-context-set-passphrase-callback): Mention that the callback
1138 is not called when used with GnuPG 2.x.
1140 2010-12-13 Glenn Morris <rgm@gnu.org>
1142 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1143 Ensure ps-footer-font-size-internal is initialized.
1144 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1146 2010-12-13 Kenichi Handa <handa@m17n.org>
1148 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1149 within condition-case.
1150 (rmail-show-mime): Don't use condition-case.
1151 (rmail-search-mime-message): New function.
1152 (rmail-search-mime-message-function): Set to
1153 rmail-search-mime-message.
1155 2010-12-13 Leo <sdl.web@gmail.com>
1157 * ido.el (ido-common-initialization): New function. (bug#3274)
1159 (ido-completing-read): Call it.
1161 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1163 * bookmark.el (bookmark-name-from-full-record): Rename back to
1164 this original name from `bookmark-name-from-record' reverting part
1165 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1166 As Drew Adams pointed out, there was no reason to cause churn for
1167 third-party callers.
1169 2010-12-12 Alan Mackenzie <acm@muc.de>
1171 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1172 template arglist, check that the current language supports this.
1174 2010-12-11 Glenn Morris <rgm@gnu.org>
1176 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1177 state of the file matches. (Bug#7544)
1178 (vc-bzr-register, vc-bzr-checkin)
1179 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1180 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1182 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1184 2010-12-11 Karel Klíč <kklic@redhat.com>
1186 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1188 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1190 Derive from prog-mode, use derived-mode-p, and fix up various
1191 minor style issues in lisp/progmodes.
1193 * progmodes/vhdl-mode.el (vhdl-mode):
1194 * progmodes/verilog-mode.el (verilog-mode):
1195 * progmodes/vera-mode.el (vera-mode):
1196 * progmodes/sql.el (sql-mode):
1197 * progmodes/scheme.el (scheme-mode):
1198 * progmodes/perl-mode.el (perl-mode):
1199 * progmodes/octave-inf.el (inferior-octave-mode):
1200 * progmodes/autoconf.el (autoconf-mode):
1201 * progmodes/m4-mode.el (m4-mode):
1202 * progmodes/inf-lisp.el (inferior-lisp-mode):
1203 * progmodes/idlwave.el (idlwave-mode):
1204 * progmodes/icon.el (icon-mode):
1205 * progmodes/idlw-help.el (idlwave-help-mode):
1206 * progmodes/dcl-mode.el (dcl-mode):
1207 * progmodes/idlw-shell.el (idlwave-shell-mode):
1208 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1209 (ebrowse-member-mode, ebrowse-electric-position-mode):
1210 Use define-derived-mode.
1212 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1213 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1214 (xscheme-debugger-mode-p, xscheme-send-string-1):
1215 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1216 (tcl-load-file, tcl-restart-with-file):
1217 * progmodes/ps-mode.el (ps-run-running):
1218 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1219 * progmodes/js.el (js--get-all-known-symbols):
1220 * progmodes/inf-lisp.el (inferior-lisp-proc):
1221 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1222 (idlwave-template, idlwave-update-buffer-routine-info)
1223 (idlwave-update-current-buffer-info)
1224 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1225 (idlwave-scan-class-info, idlwave-fix-keywords)
1226 (idlwave-list-buffer-load-path-shadows):
1227 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1228 (idlwave-toolbar-remove):
1229 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1230 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1231 (idlwave-shell-menu-def):
1232 * progmodes/idlw-complete-structtag.el
1233 (idlwave-prepare-structure-tag-completion):
1234 * progmodes/gud.el (gud-set-buffer):
1235 * progmodes/f90.el (f90-backslash-not-special):
1236 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1238 * progmodes/xscheme.el (xscheme-start)
1239 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1240 * progmodes/which-func.el (which-function):
1241 * progmodes/vhdl-mode.el (vhdl-set-style):
1242 * progmodes/verilog-mode.el (verilog-set-compile-command)
1243 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1244 (verilog-set-define, verilog-auto-reeval-locals):
1245 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1246 * progmodes/simula.el (simula-mode):
1247 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1248 * progmodes/python.el (python-check, python-mode):
1249 * progmodes/prolog.el (prolog-mode-variables):
1250 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1251 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1252 * progmodes/delphi.el (delphi-mode):
1253 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1254 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1255 (c-font-lock-init): Move make-local-variable to their setq.
1257 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1258 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1260 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1261 (sh-set-shell): Don't set require-final-newline since it's already done
1263 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1264 since we never set it.
1265 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1266 Use read-string and standard prompt.
1267 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1268 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1269 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1270 (meta-common-mode-map): Rename from meta-mode-map.
1271 Remove C-m binding, which is a user preference, not mode specific.
1272 (meta-common-mode): New major mode; replace meta-common-initialization.
1273 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1274 around with font-lock.
1275 * progmodes/etags.el (select-tags-table-mode):
1276 Derive from special-mode.
1277 * progmodes/octave-mod.el (octave-mode):
1278 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1279 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1280 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1281 Let define-derived-mode do its job.
1282 * progmodes/cpp.el (cpp-edit-mode-map):
1283 Move initialization into declaration.
1284 (cpp-edit-mode): Use define-derived-mode.
1285 (cpp-edit-load): Use derived-mode-p.
1286 * progmodes/mixal-mode.el (mixal-mode):
1287 * progmodes/f90.el (f90-mode):
1288 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1289 require-final-newline since prog-mode does it already.
1290 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1291 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1292 * progmodes/antlr-mode.el: Require cc-mode upfront.
1293 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1295 (antlr-directory-dependencies, antlr-show-makefile-rules):
1297 (antlr-language-option): Don't assume point-min==1.
1298 (antlr-mode): Use define-derived-mode.
1299 * progmodes/ada-mode.el: Use derived-mode-p.
1300 (ada-mode): Use define-derived-mode.
1301 Use hack-local-variables-hook.
1303 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1306 (texinfo-mode): Don't disable adaptive-fill-mode.
1307 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1308 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1309 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1310 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1311 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1312 (texinfo-insert-@quotation, texinfo-insert-@samp)
1313 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1314 (texinfo-insert-@uref): Use define-skeleton.
1315 (texinfo-insert-@-with-arg): Delete.
1317 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1319 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1320 nil, do quote archive member names. (Bug#6144)
1322 2010-12-10 Glenn Morris <rgm@gnu.org>
1324 * files.el (diff-no-select): Declare.
1326 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1327 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1329 * comint.el (comint-input-ring-file-name): Doc fix.
1331 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1333 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1335 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1336 Use them instead of `nil' and `>', respectively.
1337 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1339 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1340 and menu-bar-positive-p instead of `nil' and `>', respectively.
1343 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1345 * whitespace.el (whitespace-newline-mode): Code fix.
1347 2010-12-09 Glenn Morris <rgm@gnu.org>
1349 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1350 Rename functions without commas, update callers.
1352 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1354 * whitespace.el (whitespace-cleanup-region):
1355 Clean up spaces before tabs. (Bug#7582)
1357 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1359 * bookmark.el: Adjust parameter names and doc strings to resolve
1360 confusion over whether "bookmark" meant a bookmark name or a
1361 bookmark record. Along the way, shorten one function's name for
1362 similar reasons. (Issue #7548)
1363 (bookmark-name-from-record): New name for
1364 `bookmark-name-from-full-record'. All callers changed.
1365 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1366 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1367 (bookmark-get-annotation, bookmark-set-annotation)
1368 (bookmark-get-filename, bookmark-set-filename)
1369 (bookmark-get-position, bookmark-set-position)
1370 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1371 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1372 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1373 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1374 Rename `bookmark' parameter to `bookmark-name-or-record', to
1375 clearly show its role, and shorten or adjust doc strings accordingly.
1376 (bookmark-set-name): Same, and pass the parameter directly to
1377 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1378 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1379 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1380 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1381 and in some cases shorten doc string accordingly.
1382 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1383 and `new-name', and adjust an internal variable to avoid confusion.
1384 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1385 parameter in doc string.
1387 2010-12-08 Glenn Morris <rgm@gnu.org>
1389 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1390 from gdb's history file. (Bug#7575)
1392 * mail/emacsbug.el (report-emacs-bug):
1393 Try to handle some other mail clients.
1395 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1398 Use string-prefix-p.
1399 (file-name-version-regexp): New var.
1400 (file-name-sans-versions):
1401 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1402 (jka-compr-get-compression-info): Use dolist.
1403 (jka-compr-compression-info-list): Don't bother specifying
1404 version/backup regexps.
1406 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1408 * simple.el (just-one-space): Make argument n default to 1 if
1411 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * electric.el (electric-indent-post-self-insert-function):
1414 Delete trailing newlines even if we don't reindent.
1416 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * minibuffer.el (completion-at-point): Remove the `arg'.
1419 * bindings.el (complete-symbol): Move back from minibuffer.el.
1421 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1423 * simple.el (just-one-space): Delete newlines for negative arg.
1425 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1428 (ansi-color-filter-apply): Simplify.
1429 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1431 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1433 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1435 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1437 * dired.el (dired-use-ls-dired): Set default to a special
1438 "unspecified" value.
1439 (dired-insert-directory): When called the first time, check
1440 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1442 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1444 * replace.el: Add "collect" feature to occur.
1445 (occur-collect-regexp-history): New var.
1446 (occur-read-primary-args): Return a replace string for nlines,
1448 (occur): Extend the meaning of nlines.
1450 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1453 (which-func-update-1): Distinguish symbols from strings.
1454 (which-function): Stay within 80 columns.
1456 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1460 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1462 (comment-style): Use comment-styles's docs to describe values.
1464 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1466 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1467 and ns-show-prefs (Bug#7535).
1469 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1470 bindings (Bug#7535).
1472 2010-12-03 Glenn Morris <rgm@gnu.org>
1474 * nxml/nxml-mode.el: Require rng-nxml.
1475 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1476 Remove declarations.
1478 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1479 * nxml/rng-nxml.el, nxml/rng-valid.el:
1480 Remove leading `*' from defcustom docs.
1482 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1483 (normal-top-level-add-to-load-path, tty-handle-args):
1484 Convert comments to basic doc-strings.
1486 * net/browse-url.el (browse-url-url-at-point)
1487 (browse-url-default-browser): Remove autoload cookies.
1489 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1490 Remove more undefined cl functions.
1492 * vc/diff.el (diff-sentinel): Make new arguments optional.
1493 * ibuf-ext.el (diff-sentinel): Update declaration.
1495 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1497 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1498 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1499 (epg-context-set-passphrase-callback): Mention that the callback
1500 is not called when used with GnuPG 2.x.
1502 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1504 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1505 (tramp-file-name-port): Check also for `tramp-default-port'.
1506 (tramp-get-connection-name): New defun.
1507 (tramp-get-connection-process): Use it.
1508 (tramp-debug-message): Extend function exclude list.
1509 (tramp-drop-volume-letter): Fix doc string.
1511 * net/tramp-cmds.el: Remove solved todo item.
1515 * net/tramp-gvfs.el:
1517 * net/tramp-imap.el:
1518 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1519 and `tramp-default-user-alist', respectively.
1521 * net/tramp-gw.el (tramp-gw-open-connection):
1522 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1524 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1525 `tramp-file-name-port'.
1527 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1528 and "psftp". Exchange "%k" marker with options.
1529 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1530 Compute size of link target.
1531 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1532 `tramp-current-*' up due to gateway methods. Optimze computing of
1533 copy arguments. Use `tramp-get-connection-name' and
1534 `tramp-get-connection-buffer'. Improve debug messages.
1535 (tramp-compute-multi-hops): Remove port determination.
1536 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1538 * net/trampver.el: Update release number.
1540 2010-12-02 Glenn Morris <rgm@gnu.org>
1542 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1543 Avoid infinite loop over windows. (Bug#7492)
1545 * progmodes/flymake.el (flymake-check-file-limit):
1546 Allow nil to mean "no limit".
1547 (flymake-check-patch-master-file-buffer): Update for above change.
1548 Allow a .tex file-name extension to be optional.
1549 (flymake-master-tex-init): Also match \include statements.
1551 2010-11-30 Sam Steingold <sds@gnu.org>
1553 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1554 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1555 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1556 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1557 define-derived-mode').
1558 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1559 users who want to call `nxml-parent-document-set'.
1561 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1563 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1564 stand-alone lines, since that is handled by log-edit-match-to-eoh
1567 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1569 * dired.el (dired-get-filename): Replace backslashes with slashes
1570 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1571 * locate.el (locate-default-make-command-line): Don't consider
1572 drive letter and root directory part of
1573 `directory-listing-before-filename-regexp'. (Bug#7308)
1574 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1576 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1579 of :smie-open/close-alist.
1580 (smie-next-sexp): Make it accept a "start token" as argument.
1581 (smie-indent-keyword): Be careful not to misidentify tokens that span
1582 more than one line, as empty lines. Add argument `token'.
1584 2010-11-27 Kenichi Handa <handa@m17n.org>
1586 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1587 multipart subtypes, insert all as usual.
1589 * mail/rmail.el: Require rfc2047.
1591 2010-11-27 Kenichi Handa <handa@m17n.org>
1593 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1594 (rmail-mime-entity-disposition)
1595 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1596 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1597 (rmail-mime-save): Handle the case that the button's `data' is a
1599 (rmail-mime-insert-text): New function.
1600 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1601 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1602 (rmail-mime-insert-bulk): New function mostly copied from the old
1603 rmail-mime-bulk-handler.
1604 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1605 (rmail-mime-process-multipart): New function mostly copied from
1606 the old rmail-mime-multipart-handler.
1607 (rmail-mime-show): Just call rmail-mime-process.
1608 (rmail-mime-process): New function mostly copied from the old
1610 (rmail-mime-insert-multipart, rmail-mime-parse)
1611 (rmail-mime-insert, rmail-show-mime)
1612 (rmail-insert-mime-forwarded-message)
1613 (rmail-insert-mime-resent-message): New functions.
1614 (rmail-insert-mime-forwarded-message-function): Set to
1615 rmail-insert-mime-forwarded-message.
1616 (rmail-insert-mime-resent-message-function): Set to
1617 rmail-insert-mime-resent-message.
1619 * mail/rmailsum.el: Require rfc2047.
1620 (rmail-header-summary): Handle multiline Subject: field.
1621 (rmail-summary-line-decoder): Change the default to
1622 rfc2047-decode-string.
1624 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1625 (rmail-mime-feature): Change the default to `rmailmm'.
1626 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1627 (rmail-display-labels): Likewise.
1628 (rmail-show-message-1): Check rmail-enable-mime, and use
1629 rmail-show-mime-function for a MIME message. Decode the headers
1630 according to RFC2047.
1632 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * progmodes/which-func.el (which-func-imenu-joiner-function):
1635 Return a string, as expected.
1636 (which-function-mode): Make sure we stop any previous timer before
1639 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1641 * net/tramp.el (tramp-default-method-alist)
1642 (tramp-default-user-alist, tramp-default-proxies-alist):
1643 Adapt custom options type. (Bug#7445)
1645 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1647 * progmodes/python.el: Add Ipython support (Bug#5390).
1648 (python-shell-prompt-alist)
1649 (python-shell-continuation-prompt-alist): New options.
1650 (python--set-prompt-regexp): New function.
1651 (inferior-python-mode, run-python, python-shell):
1652 Require ansi-color. Use python--set-prompt-regexp to set the comint
1653 prompt based on the Python interpreter.
1654 (python--prompt-regexp): New var.
1655 (python-check-comint-prompt)
1656 (python-comint-output-filter-function): Use it.
1657 (run-python): Use a pipe (Bug#5694).
1659 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1661 * progmodes/python.el (run-python): Doc fix.
1662 (python-keep-current-directory-in-path): New var (Bug#7454).
1664 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1666 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1667 Prompt user before actually printing.
1669 2010-11-27 Glenn Morris <rgm@gnu.org>
1671 * startup.el (package-enable-at-startup, package-initialize):
1672 Remove unnecessary declarations.
1674 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1676 * international/characters.el (glyphless-char-display-control):
1677 Exclude newline and TAB from the c0-control group.
1679 2010-11-27 Glenn Morris <rgm@gnu.org>
1681 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1682 (expand-mail-aliases): Remove unnecessary autoload.
1684 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1686 * shell.el (shell-dir-cookie-re): Move definition before use.
1688 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1689 Replace undefined CL functions.
1691 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1693 * simple.el (prog-mode): Set bidi-paragraph-direction to
1696 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1698 2010-11-26 Glenn Morris <rgm@gnu.org>
1700 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1701 diary-outlook-formats can be sensitive to calendar-date-style.
1702 (diary-outlook-formats): Simplify the default setting.
1703 (diary-from-outlook-internal): Pass subject and body as arguments.
1704 Use dolist rather than dotimes. Don't save the diary buffer.
1705 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1706 Pass subject and body as explicit arguments to the -internal function.
1708 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1710 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1711 parsing them. This makes mailto:...?subject=foo\nbar work.
1713 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * vc/diff.el (diff): Fix last change.
1717 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1720 (pcase--dontcare-upats): New var.
1721 (pcase-let, pcase-let*): Generate better code.
1722 Accept the same bodies as `let'.
1723 (pcase-dolist): New macro.
1724 (pcase--trivial-upat-p): New helper function.
1725 (pcase--expand): Strip leading "(let nil" if any.
1727 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1729 * mail/mailclient.el (browse-url): Require.
1730 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1731 use the external browser function to send the mail (bug#7469).
1733 * net/browse-url.el (browse-url-browser-function): Revert the
1734 default back to the previous value, since the new value broke
1736 (browse-url-mailto-function): New variable for mailto: URLs.
1737 (browse-url): Use the new variable for mailto: URLs.
1739 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * eshell/esh-cmd.el (eshell-parse-command):
1742 * eshell/esh-arg.el (eshell-parse-arguments):
1743 * eshell/em-script.el (eshell-source-file):
1744 Use with-silent-modifications.
1746 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1748 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1749 for a merge location.
1751 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1752 (vc-bzr-merge-branch): Always prompt.
1753 (vc-bzr-async-command): Use the full branch filename.
1755 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * shell.el (shell): Use current-buffer by default if it's already
1758 a shell mode buffer and its process is dead.
1759 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1761 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1763 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1764 Mention that the keywords should be comma separated.
1766 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1768 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1769 Accept optional prefix arg meaning to prompt for a command.
1770 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1771 prefix arg meaning to prompt for a command.
1772 (vc-pull): Alias for vc-update.
1774 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1775 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1776 (vc-bzr-merge-branch): New functions, implementing merge-branch
1777 and pull operations.
1779 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * Makefile.in: Fix up last merge.
1783 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1784 (diff-sentinel): Get them as arguments instead.
1785 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1786 (diff-file-local-copy, diff-better-file-name): New funs.
1787 (diff-no-select): Rename from diff-into-buffer.
1788 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1789 Prefer closures to buffer-local variables.
1790 (diff): Adjust accordingly.
1791 (diff-buffer-with-file): Move from files.el.
1792 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1793 (diff-buffer-internal): Remove.
1794 (diff-buffer-buffer): Remove.
1795 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1796 the buffer name used, and so as not to mess up windows and frames.
1798 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1800 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1801 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1802 (diff-buffer-with-file): Use it.
1803 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1806 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1808 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1809 \ref's or \pageref's value as default instead of initial input.
1811 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1813 * files.el (backup-by-copying-when-mismatch): The default value is
1816 * startup.el (normal-top-level):
1817 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1818 `backup-by-copying-when-mismatch'.
1820 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1822 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1824 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1826 * progmodes/python.el (python-font-lock-keywords):
1827 Highlight top-level augmented assignments (Bug#6445).
1829 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1831 * term/ns-win.el (ns-right-control-modifier)
1832 (ns-right-command-modifier): Defvar them.
1834 * cus-start.el (all): Add ns-right-control-modifier and
1835 ns-right-command-modifier (Bug#7458).
1837 2010-11-20 Glenn Morris <rgm@gnu.org>
1839 * emacs-lisp/authors.el (authors-ignored-files)
1840 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1842 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1844 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1845 (report-emacs-bug-parse-query-results)
1846 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1847 keywords used for querying the bug database to show them in the
1848 existing bugs buffer.
1850 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1852 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1854 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1856 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1858 * international/characters.el (glyphless-char-display-control):
1859 Make it a defcustom, with update-glyphless-char-display as its
1861 (top level): Don't call update-glyphless-char-display.
1863 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1865 Sync with Tramp 2.2.0.
1867 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1868 `file-remote-p' (due to compatibility).
1870 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1871 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1873 * net/trampver.el: Update release number.
1875 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1877 * faces.el (glyphless-char): Define value for `pc'.
1879 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1881 Implemented a bug querying mechanism.
1882 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1883 (report-emacs-bug-create-existing-bugs-buffer)
1884 (report-emacs-bug-parse-query-results)
1885 (report-emacs-bug-query-existing-bugs): New functions.
1887 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1889 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1890 a \ref{} or \pageref{} macro, then use its value as initial input.
1892 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1894 * calc/calc-units.el (math-build-units-table-buffer):
1895 calc/README: Mention that the TeX specific units won't use the
1896 `tex' prefix in TeX mode.
1897 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1898 prefix for units in TeX mode.
1900 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * simple.el (kill-new, kill-append, kill-region):
1903 * comint.el (comint-kill-region): Make the yank-handler argument
1906 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1909 that are both openers (resp. closers) and something else.
1910 (smie-grammar): Loosen definition of valid values.
1911 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1912 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1913 (smie-indent-after-keyword): Adjust users.
1914 (smie-indent-keyword): Don't indent empty lines.
1916 * vc-hg.el (vc-hg-program): New var.
1917 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1918 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1920 2010-11-18 Glenn Morris <rgm@gnu.org>
1922 * emacs-lisp/autoload.el (autoload-find-destination): The function
1923 coding-system-eol-type may return non-numeric values. (Bug#7414)
1925 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1927 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1929 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1931 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1933 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1935 * textmodes/picture.el (picture-mouse-set-point): Don't use
1936 posn-col-row; explicitly compute the motion based on the posn at
1937 the window-start (Bug#7390).
1939 2010-11-18 Glenn Morris <rgm@gnu.org>
1941 * novice.el (disabled-command-function):
1942 Fix 2009-11-15 change. (Bug#7384)
1944 2010-11-18 Glenn Morris <rgm@gnu.org>
1946 * calendar/calendar.el (diary-iso-date-forms): Make elements
1947 mutually exclusive. (Bug#7377)
1949 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1952 when filling the remaining "unconstrained" values.
1954 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1959 * files.el (safe-local-variable-p): Gracefully handle errors.
1961 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1962 Use smie-indent-virtual when indenting relative to an opener.
1963 (smie-rule-separator): Use smie-rule-parent.
1964 (smie-indent-keyword): Consult rules, even for openers at bol.
1965 (smie-indent-comment-close): Try to align closer's content.
1967 2010-11-18 Glenn Morris <rgm@gnu.org>
1969 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1971 2010-11-18 Glenn Morris <rgm@gnu.org>
1973 * printing.el (pr-menu-bind): Doc fix.
1975 * speedbar.el (speedbar-toggle-images): Doc fix.
1977 * progmodes/python.el (python-shell): Doc fix.
1979 * wid-edit.el (widget-field-use-before-change)
1980 (widget-use-overlay-change): Doc fixes.
1982 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1984 Minor cleanup to improve style.
1985 * textmodes/rst.el (rst-update-section): Use point-marker.
1986 (rst-get-decoration): Eliminate unneeded assignment.
1987 (rst-promote-region, rst-straighten-decorations)
1988 (rst-section-tree, rst-adjust): Use point-marker.
1989 (rst-toc-mode-mouse-goto): Avoid setq.
1990 (rst-shift-region-guts, rst-shift-region-left)
1991 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1992 (rst-convert-bullets-to-enumeration): Use copy-marker.
1994 * minibuffer.el (completion-fail-discreetly): New var.
1995 (completion--do-completion): Use it.
1997 * electric.el (electric-pair-pairs): New var.
1998 (electric-pair-post-self-insert-function): Use it.
1999 (electric-layout-post-self-insert-function): Don't insert a before
2000 newline unless it's actually needed.
2002 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * progmodes/python.el (run-python): Explain why we remove the current
2005 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2007 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2009 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2012 (octave-mode-map): Don't bind ;, SPC, and LF.
2013 (octave-auto-indent, octave-auto-newline): Remove.
2014 (electric-layout-rules): Declare.
2015 (octave-mode): Set electric-layout-rules.
2016 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2017 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2018 (octave-electric-space): Remove.
2020 * electric.el (electric-layout-mode): New minor mode.
2021 (electric--after-char-pos): New function.
2022 (electric-indent-post-self-insert-function): Use it.
2023 (electric-layout-rules): New var.
2024 (electric-layout-post-self-insert-function): New function.
2025 (electric-indent-mode): Make them interact better.
2027 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2030 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2031 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2033 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2035 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2036 Make sure to check inside the word (Bug#6761).
2038 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2040 * startup.el (command-line): If the cursorColor resource is set,
2041 change the cursor face-spec (Bug#7392).
2043 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2045 The main features of the following allout.el changes are:
2046 - implement user customization for the allout key bindings
2047 - add a customization control by which the user can inhibit use of
2048 a trailing Ctrl-H, so by default it's reserved for use with
2049 describe-prefix-bindings
2050 - adapt to new version of called-interactively-p, while
2051 maintaining backwards compatibility with old version
2052 - fix hotspot navigation so i works properly with meta-modified keys
2054 * allout.el (allout-keybindings, allout-bind-keys)
2055 (allout-keybindings-binding, allout-prefixed-keybindings)
2056 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2057 (allout-keybindings-list, allout-mode-map-adjustments)
2058 (allout-setup-mode-map): Establish allout-mode keymaps as user
2059 customizable settings, and also establish a customizable setting which
2060 regulates whether or not a trailing control-h is reserved for use with
2061 describe-prefix-bindings - and inhibit it by default, so that control-h
2062 *is* reserved for describe-prefix-bindings unless the user changes it.
2064 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2065 and accurately between modified and unmodified events, and handle
2066 modified events more comprehensively.
2068 * allout.el (allout-substring-no-properties):
2069 Alias to use or provide version of `substring-no-properties'.
2070 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2072 * allout.el (allout-next-single-char-property-change):
2073 Alias to use or provide version of `next-single-char-property-change'.
2074 (allout-annotate-hidden, allout-hide-by-annotation):
2075 Use `allout-next-single-char-property-change'.
2077 * allout.el (allout-select-safe-coding-system):
2078 Alias to use or provide version of `select-safe-coding-system'.
2079 (allout-toggle-subtree-encryption):
2080 Use `allout-select-safe-coding-system'.
2082 * allout.el (allout-set-buffer-multibyte):
2083 Alias to use or provide version of `set-buffer-multibyte'.
2084 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2086 * allout.el (allout-called-interactively-p): Macro for using the
2087 different versions of called-interactively-p identically, depending on
2088 the subroutine's argument signature.
2089 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2090 Use `(interactive "p")' instead of `(called-interactively-p)'.
2092 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2093 (allout-previous-visible-heading, allout-forward-current-level)
2094 (allout-backward-current-level, allout-show-children):
2095 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2097 * allout.el (allout-before-change-handler):
2098 Exempt edits to the (overlaid) character after the allout outline
2099 bullet from edit confirmation prompt.
2101 * allout.el (allout-add-resumptions):
2102 Ensure that it respects correct buffer for keybindings.
2104 * allout.el (allout-beginning-of-line):
2105 Use `allout-previous-single-char-property-change' alias for the sake of
2106 diverse compatibility.
2108 * allout.el (allout-end-of-line):
2109 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2111 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2113 * frame.el (frame-notice-user-settings): Don't clobber other
2114 user-set parameters when calling face-set-after-frame-default in
2115 response to background-color parameter (Bug#7373).
2117 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2119 * international/characters.el (glyphless-char-display-control):
2120 Rename from glyphless-char-control; all users changed. Doc fix.
2121 Signal an error if display method is not one of the recognized
2124 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2126 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2127 (tramp-compat-line-end-position): Remove them.
2129 * net/tramp.el (tramp-parse-rhosts-group)
2130 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2131 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2132 (tramp-parse-netrc-group, tramp-parse-putty-group)
2133 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2134 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2135 (tramp-sh-handle-file-selinux-context)
2136 (tramp-sh-handle-file-name-all-completions)
2137 (tramp-sh-handle-insert-directory)
2138 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2139 (tramp-wait-for-output, tramp-send-command-and-read)
2140 * net/tramp-smb.el (tramp-smb-read-file-entry)
2141 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2143 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2145 (tramp-remote-coding-commands): Add an alternative using "base64
2146 -d -i". This is needed for older base64 versions from GNU
2147 coreutils. Reported by Klaus Reichl
2148 <Klaus.Reichl@thalesgroup.com>.
2150 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2152 * simple.el (count-words-region): New function.
2154 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * shell.el (shell-dir-cookie-re): New custom variable.
2157 (shell-dir-cookie-watcher): New function.
2159 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2160 and compilation-mode (bug#7350).
2162 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2163 highlight when one of them is empty.
2165 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2167 (skeleton-newline): New function.
2168 (skeleton-internal-1): Use it.
2170 * simple.el (open-line): `newline' may strip trailing space.
2172 2010-11-12 Kevin Ryde <user42@zip.com.au>
2174 * international/mule-cmds.el (princ-list): Use mapc.
2176 2010-11-12 Glenn Morris <rgm@gnu.org>
2178 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2179 Use it to replace all instances of "*Compile-Log*"
2181 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2186 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * progmodes/modula2.el: Use SMIE and skeleton.
2189 (m2-mode-syntax-table): (*..*) can be nested.
2190 Add //...\n. Fix paren syntax.
2191 (m2-mode-map): Remove LF and TAB bindings.
2192 (m2-indent): Add safety property.
2193 (m2-smie-grammar): New var.
2194 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2195 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2196 (m2-mode): Use define-derived-mode.
2197 (m2-newline, m2-tab): Remove.
2198 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2199 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2200 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2201 (m2-import): Use define-skeleton.
2203 2010-11-11 Glenn Morris <rgm@gnu.org>
2205 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2207 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2208 (ls-lisp-verbosity): Add custom :set-after property.
2209 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2210 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2211 (ls-lisp-insert-directory): Update caller.
2212 (ls-lisp-set-options): New function.
2213 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2216 * play/landmark.el (lm-prompt-for-move):
2217 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2219 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2221 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2222 (idlwave-study-twins): Prefix dynamic local variable `name'.
2223 (idlwave-routine-twin-compare): Update for above change.
2225 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2226 Prefix dynamic local variables `name', `kwd', and `link'.
2227 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2228 * progmodes/idlw-complete-structtag.el
2229 (idlwave-complete-structure-tag-help):
2230 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2231 (idlwave-complete-sysvar-tag-help)
2232 (idlwave-complete-class-structure-tag-help):
2233 Update for above name changes.
2235 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2237 * net/browse-url.el (browse-url-browser-function): Change the
2238 default to use `browse-url-mail' on mailto: URLs.
2240 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2242 * emacs-lisp/package.el (package-read-all-archive-contents):
2243 Reset package-archive-contents to nil before re-reading.
2245 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2247 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2248 already found as misspellings by (flyspell-large-region), just
2249 do highlighting (bug#7322).
2251 2010-11-10 Glenn Morris <rgm@gnu.org>
2253 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2255 * emulation/edt.el (edt-with-position): New macro.
2256 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2257 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2258 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2260 * emulation/tpu-extras.el (tpu-with-position): New macro.
2261 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2263 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2265 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2266 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2267 (texinfo-master-menu, texinfo-insert-node-lines)
2268 (texinfo-multiple-files-update):
2269 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2270 Use line-beginning-position.
2272 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2273 No recent Emacs supports system-type `emx'.
2275 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2276 (ada-command-separator, ada-default-prj-properties)
2277 (ada-find-any-references): Update for above name change.
2279 * dirtrack.el (dirtrack-directory-function)
2280 (dirtrack-canonicalize-function):
2281 * filecache.el (file-cache-completion-ignore-case)
2282 (file-cache-case-fold-search, file-cache-ignore-case):
2283 * term.el (serial-port-is-file-p): Cosmetic change.
2285 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2286 Remove non-existent `windows-95' system-type.
2287 * dired.el (dired-chown-program): Remove non-existent `linux'
2290 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2291 (ping-program-options): Remove non-existent `linux' system-type.
2293 * startup.el (package-initialize): Update declaration.
2295 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2296 (ls-lisp-handle-switches): Use time-less-p.
2297 (ls-lisp-format-time): Use float-time.
2299 * textmodes/remember.el (remember-time-to-seconds): Remove.
2300 (remember-store-in-mailbox): Use float-time.
2302 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2304 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2305 never a real function.
2306 (with-no-warnings): Remove compat stub, now unused.
2307 (time-less-p): Doc fix.
2308 (time-to-number-of-days): Simplify.
2310 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2312 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2313 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2314 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2315 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2316 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2318 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2319 (eshell-shuffle-files, eshell-shorthand-tar-command)
2320 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2321 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2322 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2323 Prefix dynamic local variable `matches'.
2325 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2326 Prefix dynamic local variable `skeleton'.
2328 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2330 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2331 in mail buffer; make yank-action always a command that yanks original
2334 2010-11-09 Glenn Morris <rgm@gnu.org>
2336 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2338 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2341 completion field (bug#7211).
2343 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2344 Fix handling of backslash escapes.
2345 (python-quote-syntax): Adjust accordingly.
2347 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2349 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2350 (vc-mtn-workfile-branch): Adjust to new output format.
2352 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2354 * international/mule-cmds.el (princ-list): Mark as obsolete.
2356 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * emacs-lisp/smie.el: New package.
2360 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2362 * files.el (backup-by-copying-when-mismatch):
2363 Set `permanent-local' property.
2365 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2366 `permanent-local' property for `backup-by-copying-when-mismatch'.
2368 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2370 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2372 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2374 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2375 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2376 AUTOINOUT for SV style multidimensional arrays, bug294.
2377 Reported by Eric Mastromarchi.
2378 (verilog-preprocess): Use with-current-buffer and
2379 font-lock-fontify-buffer to cleanup style issues.
2381 2010-11-09 Glenn Morris <rgm@gnu.org>
2383 * locate.el (locate, locate-mode): Doc fixes.
2385 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2387 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2388 user for confirmation.
2389 (server-force-stop): Use it.
2390 (server-start): Use server-force-stop for kill-emacs-hook, to
2391 avoid user interaction while killing Emacs.
2393 2010-11-09 Glenn Morris <rgm@gnu.org>
2395 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2396 (meta-indent-line): Simplify.
2398 * vc/emerge.el (emerge-line-number-in-buf):
2399 * textmodes/ispell.el (ispell-region):
2400 * textmodes/fill.el (current-fill-column):
2401 * progmodes/xscheme.el (xscheme-send-current-line):
2402 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2403 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2404 * progmodes/sh-script.el (sh-handle-prev-do):
2405 * progmodes/meta-mode.el (meta-indent-line):
2406 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2408 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2409 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2410 * progmodes/fortran.el (fortran-looking-at-if-then):
2411 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2412 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2413 (cperl-find-pods-heres):
2414 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2415 * net/quickurl.el (quickurl-list-insert):
2416 * net/ldap.el (ldap-search-internal):
2417 * net/eudc.el (eudc-expand-inline):
2418 * mail/sendmail.el (sendmail-send-it):
2419 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2420 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2421 (viper-brac-function):
2422 * calc/calc-yank.el (calc-do-grab-region):
2423 * calc/calc-keypd.el (calc-keypad-press):
2424 * term.el (term-move-columns, term-insert-spaces):
2425 * speedbar.el (speedbar-highlight-one-tag-line):
2426 * simple.el (current-word):
2427 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2428 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2430 * hippie-exp.el (he-line-beg):
2431 * epa.el (epa--marked-keys):
2432 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2433 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2434 (dired-relist-entry):
2435 * buff-menu.el (Buffer-menu-buffer):
2436 * array.el (current-line):
2437 * allout.el (allout-resolve-xref)
2438 (allout-latex-verbatim-quote-curr-line):
2439 Replace yet more uses of end-of-line etc with line-end-position, etc.
2441 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2444 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2445 (checkdoc-syntax-table): Initialize in the declaration.
2446 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2447 the mode on unconditionally.
2449 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2450 (extent-end-position, extent-start-position): Remove setf method for
2451 non-existing functions (bug#7319).
2453 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2456 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2457 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2458 (smie-prec2->grammar): Rename from smie-prec2-levels.
2459 (smie-grammar): Rename from smie-op-levels.
2460 (smie-indent--hanging-p): Rename from smie-hanging-p.
2461 (smie-rule-hanging-p): New alias.
2462 (smie-indent--bolp): Rename from smie-bolp.
2463 (smie-indent--hanging-p): New alias.
2464 (smie--token): New dynamically bound variable.
2465 (smie-indent--parent): New function.
2466 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2467 (smie-rule-next-p): Rename from smie-next-p.
2468 (smie-rule-prev-p): Rename from smie-prev-p.
2469 (smie-rule-sibling-p, smie-rule-parent)
2470 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2471 (smie-rule-separator-outdent): New var.
2472 (smie-indent--rule): Merge with smie-indent--column.
2473 (smie-indent-forward-token, smie-indent-backward-token):
2474 Also recognize close parens.
2475 (smie-indent-keyword): Don't use smie-indent--column any more.
2476 (smie-indent-after-keyword): Ignore closers by default.
2477 (smie-indent-line): Use with-demoted-errors.
2478 * progmodes/octave-mod.el (octave-smie-grammar):
2479 Rename from octave-smie-op-levels.
2480 (octave-smie-rules): Adjust to new behavior.
2481 * progmodes/prolog.el (prolog-smie-grammar):
2482 Rename from prolog-smie-op-levels.
2484 2010-11-07 Glenn Morris <rgm@gnu.org>
2486 * eshell/esh-util.el (subst-char-in-string)
2487 (directory-files-and-attributes): These compatibility definitions are
2488 not needed on any version of Emacs since at least 21.4.
2490 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2491 (verilog-get-end-of-line): Remove.
2492 (verilog-within-string, verilog-re-search-forward-substr)
2493 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2494 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2495 Use point-at-bol, point-at-eol.
2496 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2498 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2499 (electric-pascal-terminate-line, pascal-set-auto-comments)
2500 (pascal-indent-paramlist, pascal-indent-declaration)
2501 (pascal-get-lineup-indent, pascal-func-completion)
2502 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2503 Use point-at-bol, point-at-eol.
2504 * progmodes/flymake.el (flymake-line-beginning-position)
2505 (flymake-line-end-position): Remove.
2506 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2507 * eshell/esh-util.el (line-end-position, line-beginning-position):
2508 Remove compat definitions.
2510 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2512 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2513 Use line-end-position.
2515 * emacs-lisp/chart.el (chart-zap-chars):
2516 * play/decipher.el (decipher-set-map):
2517 * progmodes/ada-mode.el (ada-get-current-indent)
2518 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2519 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2520 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2521 (ada-get-all-references):
2522 * progmodes/cperl-mode.el (cperl-electric-paren)
2523 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2524 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2525 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2526 (cperl-word-at-point-hard):
2527 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2528 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2529 (idlwave-shell-display-line):
2530 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2531 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2532 * progmodes/js.el (js--re-search-forward-inner)
2533 (js--re-search-backward-inner):
2534 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2535 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2536 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2537 * textmodes/flyspell.el (flyspell-process-localwords):
2538 * textmodes/ispell.el (ispell-buffer-local-parsing)
2539 (ispell-buffer-local-dict, ispell-buffer-local-words):
2540 Use point-at-bol and point-at-eol.
2542 * speedbar.el (speedbar-generic-item-info)
2543 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2544 (speedbar-add-indicator, speedbar-check-vc-this-line)
2545 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2546 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2547 Replace more uses of end-of-line etc with line-end-position.
2549 2010-11-06 Glenn Morris <rgm@gnu.org>
2551 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2552 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2553 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2554 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2555 (texinfo-multiple-files-update):
2556 * textmodes/table.el (table--probe-cell-left-up)
2557 (table--probe-cell-right-bottom):
2558 * textmodes/picture.el (picture-tab-search):
2559 * textmodes/page-ext.el (pages-copy-header-and-position)
2560 (pages-directory-for-addresses):
2561 * progmodes/vera-mode.el (vera-get-offset):
2562 * progmodes/simula.el (simula-calculate-indent):
2563 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2564 * progmodes/prolog.el (end-of-prolog-clause):
2565 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2566 * progmodes/icon.el (indent-icon-exp):
2567 * progmodes/etags.el (tag-re-match-p):
2568 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2569 * progmodes/ebnf2ps.el (ebnf-begin-file):
2570 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2571 (dcl-save-local-variable):
2572 * play/life.el (life-setup):
2573 * play/gametree.el (gametree-looking-at-ply):
2574 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2575 * mail/sendmail.el (mail-mode-auto-fill):
2576 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2577 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2578 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2579 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2580 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2581 * type-break.el (type-break-file-keystroke-count):
2582 * term.el (term-replace-by-expanded-history-before-point)
2583 (term-skip-prompt, term-extract-string):
2584 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2585 (speedbar-contract-line, speedbar-toggle-line-expansion)
2586 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2587 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2588 * sort.el (sort-skip-fields):
2589 * skeleton.el (skeleton-internal-list):
2590 * simple.el (line-move-finish, line-move-to-column):
2591 * shell.el (shell-forward-command):
2592 * misc.el (copy-from-above-command):
2593 * makesum.el (double-column):
2594 * ebuff-menu.el (electric-buffer-update-highlight):
2595 * dired.el (dired-move-to-end-of-filename):
2596 * dframe.el (dframe-popup-kludge):
2597 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2598 * arc-mode.el (archive-get-lineno):
2599 Use line-end-position and line-beginning-position.
2601 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2602 (idlwave-study-twins): Prefix dynamic local `class'.
2603 (idlwave-routine-twin-compare): Update for above name change.
2605 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2606 Use boundp tests to silence compiler. Update for changed name of
2607 bytecomp-filename variable.
2609 * emulation/viper-cmd.el (viper-read-string-with-history):
2610 Prefix dynamic local `initial'.
2611 (viper-minibuffer-standard-hook): Update for above name change.
2613 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2614 (elint-init-form): Update for above name change.
2616 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2617 local variables `cbeg' and `cend' a prefix.
2618 (mail-extr-voodoo): Update for above name change.
2620 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2621 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2622 (reftex-toc-promote-action): Doc fix.
2624 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2625 `prompt', `data' a prefix.
2626 (reftex-select-post-command-hook, reftex-select-callback)
2627 (reftex-select-mouse-accept, reftex-select-read-cite):
2628 Update for above name changes.
2630 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2631 `refstyle' to reftex-refstyle.
2632 (reftex-offer-label-menu): Update for above name change.
2633 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2634 `refstyle' name change.
2636 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2637 with with-current-buffer.
2638 (diff, template): Give dynamic local variables a prefix.
2639 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2640 (emerge-line-number-in-buf): Update for above name change.
2641 (emerge-combine-versions-internal): Rename local `template' to
2642 emerge-combine-template.
2643 (emerge-combine-versions-edit): Update for above name change.
2645 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2647 * textmodes/reftex-cite.el
2648 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2649 entries with whitespace after \bibitem.
2650 (reftex-create-bibtex-file): Match entries containing numbers and
2651 symbol constituents. Make sure that entries with whitespace at
2652 various places are found.
2654 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2656 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2658 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2660 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2662 2010-11-05 Glenn Morris <rgm@gnu.org>
2664 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2665 (woman2-roff-buffer): Give local variable `request' a prefix.
2666 (woman0-macro): Rename argument `request' in the same way.
2667 (woman-request): New name for `request' dynamic variable.
2668 (woman-unquote, woman-forward-arg): Update for above name change.
2669 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2670 (woman1-unquote): New name for `unquote' dynamic variable.
2671 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2672 (woman-translations): Rename from `translations'. No longer global.
2673 (woman2-tr, woman-translate): Update for above name change.
2674 (woman-translate): Check for bound variable.
2675 (woman2-roff-buffer): Give local variable `translations' a prefix.
2677 * play/doctor.el: Give all local variables a prefix. Update callers.
2678 (doc$, doctor-put-meaning): Use backquote.
2680 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2681 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2683 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2684 variables bytes, ptr, op a prefix.
2685 (disassemble-offset): Update for above change.
2687 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2689 * emacs-lisp/package.el (package-unpack): Remove no-op.
2690 (package--builtins, package--dir): Doc fix.
2691 (package-activate-1, package-activate, package-install)
2692 (package-compute-transaction): Fix error message.
2693 (package-delete): Use delete-directory. Omit system packages.
2694 (package-initialize): Set package-alist to nil first.
2695 (package-menu-mark-delete, package-menu-mark-install): Don't add
2696 symbols that are inconsistent with the package state.
2697 (package-menu-execute): Perform deletions and installations as
2698 single batch operations.
2700 2010-11-03 Glenn Morris <rgm@gnu.org>
2702 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2703 (props): Remove unnecessary declaration.
2705 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2706 set-process-query-on-exit-flag.
2708 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2709 (reftex-toc-do-promote): Remove unused local `mpos'.
2710 (reftex-toc-restore-region): Make `mpos' local to this function.
2712 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2714 * play/landmark.el (lm-losing-threshold): Correct spelling.
2715 (lm-human-plays): Use new name.
2717 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2718 (gomoku-human-plays): Use new name.
2720 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2721 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2722 (gomoku-score-trans-table, gomoku-winning-threshold)
2723 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2725 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2727 * emacs-lisp/package.el: Don't put built-in packages in
2728 package-alist, to avoid loading inefficiencies.
2729 (package-built-in-p): Make VERSION optional, and treat it as a
2730 minimum acceptable version.
2731 (package-activate): Search separately for built-in packages.
2732 Emit a warning if a dependency fails.
2733 (define-package): Handle most common case, where there is no
2734 obsolete package, first.
2735 (package-compute-transaction): Print required version in error.
2736 (package--initialized): New variable.
2737 (list-packages): Use it.
2738 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2739 built-in packages in packages-alist; keep it separate.
2740 Set package--initialized.
2741 (describe-package): Avoid activating packages as a side-effect.
2742 Search separately for built-in packages.
2743 (describe-package-1): Handle the case where an elpa package is
2744 simultaneously built-in and available/installed.
2745 (package-installed-p, package--generate-package-list):
2746 Search separately for built-in packages.
2747 (package-load-descriptor): Doc fix.
2749 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2752 Handle __DATA__ and __END__.
2754 2010-11-02 Noah Friedman <friedman@splode.com>
2756 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2757 nil, do not ask to recompile files that are not already compiled,
2758 and do not recompile them.
2760 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2762 * emacs-lisp/package.el (package-initialize): Ensure that
2763 obsoleted built-in packages are not in package-activated-list
2765 (describe-package-1): Make the "installed" status override
2768 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2770 * subr.el (version-separator, version-regexp-alist): Remove '*'
2772 (version-list-<=, version<=, version=): Doc fix.
2774 2010-11-01 Kenichi Handa <handa@m17n.org>
2776 * faces.el (glyphless-char): Inherit underline for tty.
2778 2010-11-01 Kenichi Handa <handa@m17n.org>
2780 Implement various display methods for glyphless characters.
2782 * international/characters.el (char-acronym-table): New variable.
2783 (glyphless-char-control): New variable.
2784 (update-glyphless-char-display): New funciton.
2786 * faces.el (glyphless-char): New face.
2788 2010-11-01 Glenn Morris <rgm@gnu.org>
2790 * calendar/holidays.el (general-holidays, oriental-holidays)
2791 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2792 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2793 the definitions of their targets.
2795 * emacs-lisp/smie.el (smie): New custom group.
2796 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2798 * faces.el (xw-defined-colors, x-setup-function-keys):
2799 * mouse-sel.el (x-select-text):
2800 * term/w32console.el (x-setup-function-keys): Update declarations.
2802 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2804 * textmodes/ispell.el (comment-add): Declare.
2806 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2809 * info.el (finder-keywords-hash, package-alist): Declare.
2811 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2813 * finder.el (finder-compile-keywords): Don't use intern-soft,
2814 since package names may not yet exist in the obarray.
2816 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2818 * vc/vc-arch.el (vc-arch-checkin):
2819 * vc/vc-cvs.el (vc-cvs-checkin):
2820 * vc/vc-mtn.el (vc-mtn-checkin):
2821 * vc/vc-rcs.el (vc-rcs-checkin):
2822 * vc/vc-sccs.el (vc-sccs-checkin):
2823 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2824 since 2010-04-21 commit by Stefan Monnier.
2826 2010-11-01 Glenn Morris <rgm@gnu.org>
2828 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2830 * startup.el (package-enable-at-startup, package-initialize):
2833 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2836 2010-10-31 Julien Danjou <julien@danjou.info>
2838 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2839 (byte-recompile-directory):
2840 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2841 Use `byte-recompile-file'.
2843 2010-10-31 Glenn Morris <rgm@gnu.org>
2845 * cus-start.el: Handle standard values via a keyword.
2846 Only set version property if specified.
2847 (cursor-in-non-selected-windows, menu-bar-mode)
2848 (tool-bar-mode, show-trailing-whitespace):
2849 Do not specify standard values.
2850 (transient-mark-mode, temporary-file-directory): Use :standard.
2852 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2854 * term/x-win.el (x-get-selection-value): New function that gets
2855 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2857 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2859 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2860 preserve owner and group when editing files. (Bug#7289)
2862 2010-10-31 Glenn Morris <rgm@gnu.org>
2864 * speedbar.el (speedbar-mode):
2865 * play/fortune.el (fortune-in-buffer, fortune):
2866 * play/gomoku.el (gomoku-mode):
2867 * play/landmark.el (lm-mode):
2868 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2869 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2871 * select.el (x-selection): Mark it as an obsolete alias.
2873 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2875 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2876 major-mode (bug#7284).
2878 2010-10-31 Glenn Morris <rgm@gnu.org>
2880 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2881 rather than just an unused variable that inherits from the real one.
2883 2010-10-31 Alan Mackenzie <acm@muc.de>
2885 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2886 This fixes bug #7185.
2888 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2890 * startup.el (command-line): Search for package directories, and
2891 don't load package.el if none are found.
2893 * emacs-lisp/package.el (describe-package, list-packages):
2894 Call package-initialize if it has not been called yet.
2896 2010-10-30 Alan Mackenzie <acm@muc.de>
2898 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2899 which fontifies the tail of an enum.
2900 (c-basic-matchers-after): Insert a call to the above new function.
2901 This fixes bug #7264.
2903 2010-10-30 Glenn Morris <rgm@gnu.org>
2905 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2906 tool-bar-mode, transient-mark-mode. (Bug#7306)
2907 Include the :set property in the dumped Emacs.
2909 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2911 SMIE: change indent rules format, improve smie-setup.
2912 * emacs-lisp/smie.el (smie-precs-precedence-table)
2913 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2914 Mark them pure so the tables gets built at compile time.
2915 (smie-bnf-precedence-table): Store the closer-alist in the table.
2916 (smie-prec2-levels): Preserve the closer-alist.
2917 (smie-blink-matching-open): Be more forgiving in case of indentation.
2918 (smie-hanging-p): Rename from smie-indent--hanging-p.
2919 (smie-bolp): Rename from smie-indent--bolp.
2920 (smie--parent, smie--after): New dynamic vars.
2921 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2922 (smie-indent-rules): Remove.
2923 (smie-indent--offset-rule): Remove fun.
2924 (smie-rules-function): New var.
2925 (smie-indent--rule): New fun.
2926 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2927 (smie-indent-exps): Use it.
2928 (smie-setup): Setup paren blinking; add keyword args for token
2929 functions; extract closer-alist from op-levels.
2930 (smie-indent-debug-log): Remove var.
2931 (smie-indent-debug): Remove fun.
2932 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2933 (prolog-smie-rules): New fun to replace it.
2934 (prolog-mode-variables): Simplify.
2935 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2936 it's setup automatically.
2937 (octave-smie-indent-rules): Remove.
2938 (octave-smie-rules): New fun to replace it.
2939 (octave-mode): Simplify.
2941 2010-10-29 Glenn Morris <rgm@gnu.org>
2943 * files.el (temporary-file-directory): Remove (already defined in C).
2944 * cus-start.el: Add temporary-file-directory.
2946 * abbrev.el (abbrev-mode):
2947 * composite.el (auto-composition-mode):
2948 * menu-bar.el (menu-bar-mode):
2949 * simple.el (transient-mark-mode):
2950 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2951 that they do not define the associated variables twice.
2952 * simple.el (transient-mark-mode): Remove defvar.
2953 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2954 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2955 Handle multiple groups, and also custom-delayed-init-variables.
2956 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2958 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2961 (pcase-if): Add one minor optimization.
2962 (pcase-split-equal): Rename from pcase-split-eq.
2963 (pcase-split-member): Rename from pcase-split-memq.
2964 (pcase-u1): Add strings to the member optimization.
2965 Add `guard' variant of predicates.
2966 (pcase-q1): Add string patterns.
2968 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2972 2010-10-28 Glenn Morris <rgm@gnu.org>
2974 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2975 Move menu-bar related settings to ../menu-bar.el.
2976 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2977 Move ns-specific settings here from term/ns-win.el.
2979 * simple.el (x-selection-owner-p): Remove unused declaration.
2981 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2983 * minibuffer.el (completion-cycling): New var (bug#7266).
2984 (minibuffer-complete, completion--do-completion):
2985 Use completion--flush-all-sorted-completions.
2986 (minibuffer-complete): Only cycle if completion-cycling is set.
2987 (completion--flush-all-sorted-completions): Unset completion-cycling.
2988 (minibuffer-force-complete): Set completion-cycling.
2989 (completion-all-sorted-completions): Move declaration before first use.
2991 2010-10-28 Leo <sdl.web@gmail.com>
2993 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2994 which changes the order of matches seen by users (bug#7231).
2996 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2998 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2999 Don't confuse -omega as "-o mega".
3001 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3004 (log-edit-author): New dynamic var.
3005 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3006 to return the author if different from committer.
3007 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3009 * play/landmark.el: Adjust commenting convention.
3010 (lm-nil-score): Rename from nil-score.
3011 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3012 (OOOOscore): Move into a let in lm-score-trans-table.
3013 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3015 * electric.el (electric-indent-chars): Autoload.
3016 * progmodes/octave-mod.el (octave-mode):
3017 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3018 (ruby-mode-abbrev-table): Merge initialization and declaration.
3020 2010-10-27 Glenn Morris <rgm@gnu.org>
3022 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3025 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3027 * term/ns-win.el: Restore require of cl when compiling.
3028 (menu-bar-final-items): Remove non-existent `windows' menu.
3029 (ns-handle-nxopen): Optionally handle the temp-case.
3030 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3031 (ns-insert-file, ns-find-file): Use `pop'.
3033 2010-10-26 Glenn Morris <rgm@gnu.org>
3035 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3037 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3039 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3041 * term/common-win.el (x-setup-function-keys): Remove most of the
3042 keymappings. Comment on the remaining ones.
3044 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3046 * server.el (server-port): New option. (Bug#854)
3047 (server-start): Use server-port.
3049 2010-10-26 Glenn Morris <rgm@gnu.org>
3051 * term/ns-win.el (ns-version-string): Remove unused declaration.
3052 (ns-invocation-args): Change to x-invocation-args.
3053 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3054 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3055 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3056 Use x-invocation-args instead of ns-invocation-args.
3057 (ns-initialize-window-system, handle-args-function-alist):
3058 Use x-handle-args instead of ns-handle-args.
3059 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3060 * startup.el (command-line-ns-option-alist): Replace
3061 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3062 ns-handle-iconic with the x- equivalents.
3064 * term/common-win.el (x-select-enable-clipboard):
3065 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3067 * term/ns-win.el: No need to require cl when compiling.
3068 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3069 (xw-defined-colors): Use the common-win definitions.
3070 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3071 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3072 * term/common-win.el (x-select-text, x-alternatives-map)
3073 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3074 * loadup.el [ns]: Load common-win.
3076 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3078 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3079 recipients; expand mail aliases (Bug#7280).
3081 2010-10-25 Glenn Morris <rgm@gnu.org>
3083 * term/common-win.el (x-handle-switch): Simplify with pop.
3084 Optionally handle numeric switches.
3085 (x-handle-numeric-switch): Just call x-handle-switch.
3086 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3087 (x-handle-name-switch, x-handle-display, x-handle-args):
3090 * term/ns-win.el: Do not require easymenu.
3091 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3092 <spell>: Move adjustments to menu-bar.el.
3093 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3094 <separator-undo, spell>: Move ns-win's adjustments here.
3095 * loadup.el [ns]: Do not load easymenu.
3097 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3099 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3102 * startup.el (fancy-startup-tail): Instead of using inline images,
3103 refer to image files from etc/.
3105 * wid-edit.el (checkbox): Likewise.
3106 (widget-image-find): Center image specs.
3108 2010-10-24 Glenn Morris <rgm@gnu.org>
3110 * term/ns-win.el (x-select-text): Doc fix.
3111 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3112 (x-select-text): Move to term/common-win.
3113 * term/w32-win.el (xw-defined-colors): Move to common-win.
3114 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3115 (x-setup-function-keys, x-select-text): Move to common-win.
3116 * term/common-win.el (x-select-text, x-alternatives-map)
3117 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3120 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3122 * net/mairix.el (mairix-searches-mode-map):
3123 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3125 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3127 * verilog-mode.el (verilog-directive-re): Make this variable
3128 auto-built for efficiency of execution and updating.
3129 (verilog-extended-complete-re): Support 'pure' fucntion & task
3130 declarations (these have no bodies).
3131 (verilog-beg-of-statement): General cleanup to enable support of
3132 'pure' fucntion & task declarations (these have no bodies).
3133 These efforts together fix Verilog bug210 from veripool; which was also
3134 noticed by Steve Pearlmutter.
3135 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3136 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3137 Support `elsif. Reported by Shankar Giri.
3138 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3139 attribute handling for lining up declarations and assignments.
3140 (verilog-beg-of-statement-1): Fix issue where continued declaration
3141 is indented differently if it is after a begin..end clock.
3142 (verilog-in-attribute-p, verilog-skip-backward-comments)
3143 (verilog-skip-forward-comment-p): Support proper treatment of
3144 attributes by indent code. Reported by Jeff Steele.
3145 (verilog-in-directive-p): Fix comment to correctly describe function.
3146 (verilog-backward-up-list, verilog-in-struct-region-p)
3147 (verilog-backward-token, verilog-in-struct-p)
3148 (verilog-in-coverage-p, verilog-do-indent)
3149 (verilog-pretty-declarations): Use verilog-backward-up-list as
3150 wrapper around backward-up-list inorder to properly skip comments.
3151 Reported by David Rogoff.
3152 (verilog-property-re, verilog-endcomment-reason-re)
3153 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3154 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3155 of if). Reported by Max Bjurling and
3156 (verilog-calc-1): Fix for clocking block in modport
3157 declaration. Reported by Brian Hunter.
3159 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3161 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3162 (verilog-gate-keywords, verilog-read-sub-decls)
3163 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3164 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3165 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3166 (verilog-read-decls): Fix spaces in V2K module parameters causing
3167 mis-identification as interfaces, bug287.
3168 (verilog-read-decls): Fix not treating "parameter string" as a
3169 parameter in AUTOINSTPARAM.
3170 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3171 treating `elsif similar to `endif inside AUTOSENSE.
3172 (verilog-do-indent): Implement correct automatic or static task or
3173 function end comment highlight. Reported by Steve Pearlmutter.
3174 (verilog-font-lock-keywords-2): Fix highlighting of single
3175 character pins, bug264. Reported by Michael Laajanen.
3176 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3177 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3178 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3179 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3180 (verilog-pretty-expr): Fix interactive arguments, bug272.
3181 Reported by Mark Johnson.
3182 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3183 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3184 bug269. Suggested by Gary Delp.
3185 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3186 (verilog-preprocessor, verilog-set-compile-command):
3187 Create verilog-preprocess and verilog-preprocessor to show
3188 preprocessed output.
3189 (verilog-get-beg-of-line, verilog-get-end-of-line)
3190 (verilog-modi-file-or-buffer, verilog-modi-name)
3191 (verilog-modi-point, verilog-within-string): Move defmacro's
3192 before first use to avoid warning. Reported by Steve Pearlmutter.
3193 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3194 (verilog-colorize-region, verilog-highlight-buffer)
3195 (verilog-highlight-includes, verilog-highlight-modules)
3196 (verilog-highlight-region, verilog-mode): Rename colorize to
3197 highlight to match other packages. Disable module highlighting,
3198 as received speed complaints, reenable for experimentation only
3199 using new verilog-highlight-modules.
3200 (verilog-read-decls): Fix regexp stack overflow in very large
3201 AUTO_TEMPLATEs, bug250.
3202 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3203 (verilog-scan): Create verilog-save-buffer-state to standardize
3204 making insignificant changes that shouldn't call hooks.
3205 (verilog-save-no-change-functions, verilog-save-scan-cache)
3206 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3207 Create verilog-save-no-change-functions to wrap verilog-scan
3208 preservation, and fix to work with nested preserved calls.
3209 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3210 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3211 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3212 (verilog-submit-bug-report): Update variable list to be complete.
3213 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3214 breaking on-the-fly font-locking.
3215 (verilog-colorize-buffer, verilog-colorize-include-files)
3216 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3217 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3218 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3219 AUTOINST cell instance name, middle mouse button now finds-file on
3220 it. Suggested by Brad Dobbie.
3221 (verilog-alw-get-temps, verilog-auto-reset)
3222 (verilog-auto-sense-sigs, verilog-read-always-signals)
3223 (verilog-read-always-signals-recurse): Fix loop indexes being
3224 AUTORESET. AUTORESET now assumes any variables in the
3225 initialization section of a for() should be ignored.
3226 Reported by Dan Dever.
3227 (verilog-error-font-lock-keywords)
3228 (verilog-error-regexp-emacs-alist)
3229 (verilog-error-regexp-xemacs-alist): Fix error detection of
3230 Cadence HAL, reported by David Asher. Repair drift between the
3231 three similar error variables.
3232 (verilog-modi-lookup, verilog-modi-lookup-cache)
3233 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3234 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3235 Fix slow verilog-auto expansion on very large files.
3236 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3237 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3238 "{1*2{...". Broke in last revision.
3239 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3240 submodule connections with replications "{#{a},#{b}}".
3242 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3244 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3245 Fix typo in docstring.
3247 2010-10-24 Kenichi Handa <handa@m17n.org>
3249 * face-remap.el (text-scale-adjust): Call read-event with a proper
3252 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3254 * emacs-lisp/unsafep.el: Don't mark functions that display
3255 messages as safe. Suggested by Johan Bockgård.
3257 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3260 Turn comments into docstrings.
3262 * minibuffer.el (completion--replace): Move point where it belongs
3263 when there's a common suffix (bug#7215).
3265 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3267 Merge read-color and facemenu-read-color (Bug#7242).
3269 * faces.el (read-color): Use the completion code from
3270 facemenu-read-color. Require match in completion. Doc fix.
3272 * facemenu.el (facemenu-read-color): Alias for read-color.
3273 (facemenu-set-foreground, facemenu-set-background):
3276 * frame.el (set-background-color, set-foreground-color)
3277 (set-cursor-color, set-mouse-color, set-border-color):
3280 2010-10-24 Leo <sdl.web@gmail.com>
3282 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3283 argument of delete-file and delete-directory (Bug#7011).
3285 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3287 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3290 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3292 * emacs-lisp/package.el (package--generate-package-list): Make the
3293 *Packages* buffer read-only.
3295 2010-10-24 Alan Mackenzie <acm@muc.de>
3297 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3298 result of `c-beginning-of-decl-1' between invocations of a lambda
3299 function (Bug #7265).
3301 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3303 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3304 executable is not available on the system (Bug#7268).
3306 2010-10-24 Glenn Morris <rgm@gnu.org>
3308 * select.el (selection-coding-system, next-selection-coding-system):
3309 Sync doc with C versions.
3311 * w32-vars.el (x-select-enable-clipboard):
3312 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3313 * term/common-win.el (x-select-enable-clipboard): Move here.
3315 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3316 definition of C variable.
3318 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3319 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3320 Don't redefine things that are defined in C.
3321 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3322 (show-trailing-whitespace, auto-hscroll-mode)
3323 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3324 Set up the appropriate custom properties.
3326 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3329 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3330 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3331 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3332 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3334 2010-10-23 Glenn Morris <rgm@gnu.org>
3336 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3339 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3340 Sync docs with C version.
3342 * term/ns-win.el (xw-defined-colors):
3343 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3345 * term/pc-win.el (x-select-enable-clipboard):
3346 * term/x-win.el (x-select-enable-clipboard):
3347 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3349 * comint.el (comint-password-prompt-regexp): Make it less vague.
3352 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3354 * help.el (finder-by-keyword): Remove unnecessary autoload.
3356 2010-10-22 Glenn Morris <rgm@gnu.org>
3358 * loadup.el: Unconditionally load float-sup.
3359 * paren.el (show-paren-delay):
3360 * emacs-lisp/float-sup.el:
3361 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3362 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3363 (lazy-lock-stealth-verbose): Assume float support.
3364 * ps-print.el: Assume float support on Emacs.
3365 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3366 Remove non-float branch.
3368 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3369 src/Makefile no longer being pre-processed.
3371 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * emacs-lisp/find-func.el (find-library): Use test-completion.
3375 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3377 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3379 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3381 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3382 space in stat format string.
3383 (tramp-send-command): Unset $PS1 when using here documents, in
3384 order not to get several prompts.
3385 (tramp-get-inline-coding): Return `nil' in case of errors.
3387 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3389 * hexl.el (hexl-mode, hexl-mode-exit):
3390 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3391 (hexl-revert-buffer-function): New function.
3392 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3394 2010-10-19 Alan Mackenzie <acm@muc.de>
3396 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3397 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3398 that these keywords aren't wrongly matched as identifiers.
3400 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3401 setting of c-new-BEG and c-new-END from c-before-change to
3402 c-after-change. (Bug#7181)
3404 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3406 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3409 * custom.el (custom-theme-set-variables): Likewise.
3410 (load-theme): Add custom-theme-set-faces and
3411 custom-theme-set-variables to safe-functions while loading.
3412 (custom-enabled-themes): Mark as risky.
3414 2010-10-18 Julien Danjou <julien@danjou.info>
3416 * bindings.el: Remove end dashes in default mode-line-format.
3418 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3420 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3421 to delete-forward-char.
3423 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3424 deletechar, and hence delete-forward-char.
3426 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * repeat.el (repeat): Use read-key (bug#6256).
3430 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3432 * emacs-lisp/unsafep.el: Don't mark functions that display
3433 messages as safe. Suggested by Johan Bockgård.
3435 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * minibuffer.el (completion--replace): Move point where it belongs
3438 when there's a common suffix (bug#7215).
3440 2010-10-19 Kenichi Handa <handa@m17n.org>
3442 * international/characters.el: Add category '|' (word breakable)
3443 to fullwidth characters.
3445 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3447 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3448 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3449 order to make stat results a float. Patch by Andreas Schwab
3450 <schwab@linux-m68k.org>.
3452 2010-10-18 Julien Danjou <julien@danjou.info>
3454 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3455 hidden by `make-pointer-invisible'.
3457 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * files.el (locate-file-completion-table): Strip non-matching elements
3460 before checking length of list (bug#7238).
3462 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3464 * custom.el (custom-theme-set-variables): Mark as a safe function.
3465 (load-theme): Check forms using unsafep.
3467 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3469 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3471 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3472 Fix aspell data file searching (bug#7230).
3474 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3476 * cus-theme.el (custom-theme--migrate-settings): New var.
3477 (customize-create-theme): Allow editing the `user' theme.
3478 (custom-theme-add-variable, custom-theme-add-var-1)
3479 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3480 to the front of each variable or face widget.
3481 (custom-theme-write): Save theme settings in the correct order.
3482 Optionally, remove saved settings from user customizations.
3483 (custom-theme-write-variables, custom-theme-write-faces):
3484 Save only the checked widgets.
3485 (customize-themes): Add a link for migrating custom settings.
3487 * custom.el (custom-declare-theme, provide-theme):
3488 Use custom-theme-name-valid-p.
3489 (custom-theme-name-valid-p): Remove checks that are now
3490 unnecessary since themes no longer obey load-path.
3492 * cus-edit.el (custom-variable-value-create): For the simple
3493 style, hide documentation string when hidden.
3495 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3497 * cus-edit.el (custom-variable, custom-face): Combine the
3498 :inhibit-magic and :display-style properties into a single
3499 :custom-style property.
3500 (custom-toggle-hide-variable, custom-toggle-hide-face):
3501 New functions. If hiding an edited value, save it to :shown-value.
3502 (custom-variable-value-create, custom-face-value-create): Use them.
3503 (custom-magic-reset): Allow magic property to be unset.
3505 * custom.el: Custom themes no longer use load-path.
3506 (custom-theme-load-path): New option. Change built-in theme
3508 (custom-enabled-themes): Add custom-theme-load-path dependency.
3509 (custom-theme--load-path): New function.
3510 (load-theme, custom-available-themes): Use it.
3512 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3513 (customize-themes): Link to custom-theme-load-path variable.
3514 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3515 :custom-style property.
3517 * themes/*.el: Moved to etc/.
3519 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3521 * textmodes/reftex-cite.el
3522 (reftex-extract-bib-entries-from-thebibliography): Do not move
3523 point when searching for \bibitem entries. Match entries with
3524 spaces or tabs in front of arguments.
3526 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3528 * cus-theme.el (customize-create-theme): Delete overlays after
3529 erasing. If given a THEME arg, display only the faces of that arg
3530 instead of custom-theme--listed-faces.
3531 (custom-theme-variable-menu, custom-theme-variable-action)
3532 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3533 (custom-theme-add-variable, custom-theme-add-face): Apply value
3534 from the theme settings, instead of the current value.
3535 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3536 (custom-theme-visit-theme): Allow calling outside theme buffers.
3537 (custom-theme-merge-theme): Don't enable the theme when merging.
3538 (custom-theme-write-variables, custom-theme-write-faces): Use the
3539 :shown-value properties to save buffer values, not global ones.
3540 (customize-themes): Display a warning about user customizations.
3542 * cus-edit.el (custom-variable-value-create)
3543 (custom-face-value-create): Obey new special properties
3544 :shown-value and :inhibit-magic.
3546 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3548 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3549 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3552 2010-10-14 Kenichi Handa <handa@m17n.org>
3554 * mail/rmail.el (rmail-show-message-1): Catch an error of
3555 base64-decode-region and just show an error message (bug#7165).
3557 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3558 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3559 a font-spec (bug#7197).
3561 2010-10-14 Glenn Morris <rgm@gnu.org>
3563 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3565 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3567 * international/mule.el (define-coding-system):
3568 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3569 * composite.el (compose-region): Fix typo in docstring.
3571 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3573 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3574 only after checking the theme-face property.
3576 * faces.el (face-spec-reset-face): Reset all attributes in one
3577 single call to set-face-attribute.
3578 (face-spec-match-p): Make it a defsubst.
3579 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3580 (x-create-frame-with-faces, tty-create-frame-with-faces)
3581 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3582 frame-set-background-mode, since they are recomputed immediately
3583 afterwards in face-set-after-frame-default.
3584 (face-set-after-frame-default): Minor optimization.
3585 (cursor): Provide non-trivial defface spec.
3587 * custom.el (custom-theme-recalc-face): Simplify.
3589 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3591 * calc/calc-alg.el (math-var): Rename from `var'.
3592 (math-is-polynomial, math-is-poly-rec): Replace `var'
3595 * calc/calcalg2.el (math-var): Rename from `var'.
3596 (calcFunc-table, math-scan-for-limits): Replace `var'
3599 2010-10-13 Glenn Morris <rgm@gnu.org>
3601 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3603 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3605 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3607 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609 * net/tls.el (tls-program): Remove spurious %s from openssl.
3610 (tls-starttls-switches): Remove starttls hack.
3611 (open-tls-stream): Ditto.
3612 (tls-find-starttls-argument): Ditto.
3614 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3616 * image.el (image-library-alist): Declare as obsolete alias.
3617 (image-type-available-p): Use `dynamic-library-alist'.
3619 * term/w32-win.el (dynamic-library-alist):
3620 Use instead of `image-library-alist'.
3622 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3624 * subr.el (last): Make it faster. (Bug#7174)
3626 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3628 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3630 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3632 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3633 (describe-theme-1): Extract doc from unloaded themes.
3635 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3637 * themes/tango-theme.el:
3638 * themes/tango-dark-theme.el:
3639 * themes/wheatgrass-theme.el: New files.
3641 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3643 * cus-theme.el (describe-theme, customize-themes)
3644 (custom-theme-save): New commands.
3645 (custom-new-theme-mode-map): Bind C-x C-s.
3646 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3647 (customize-create-theme): New optional arg THEME.
3648 (custom-theme-revert): Use it.
3649 (custom-theme-visit-theme): Remove dead code.
3650 (custom-theme-merge-theme): Use custom-available-themes.
3651 (custom-theme-write): Make interactive.
3652 (custom-theme-write): Use custom-theme-name-valid-p.
3653 (describe-theme-1, custom-theme-choose-revert)
3654 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3656 (custom-theme-allow-multiple-selections): New option.
3657 (custom-theme-choose-mode): New major mode.
3659 * custom.el (custom-theme-set-variables): Remove dead code.
3660 Obey custom--inhibit-theme-enable.
3661 (custom--inhibit-theme-enable): New var.
3662 (provide-theme): Obey it.
3663 (load-theme): Replace load with manual read/eval, in order to
3664 check for correctness. Use custom-theme-name-valid-p.
3665 (custom-theme-name-valid-p): New function.
3666 (custom-available-themes): Use it.
3668 * cus-edit.el (custom--initialize-widget-variables): New function.
3669 (Custom-mode): Use it.
3671 * cus-face.el (custom-theme-set-faces): Remove dead code.
3672 Obey custom--inhibit-theme-enable.
3674 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3676 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3678 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3680 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3682 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3683 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3684 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3686 * cus-start.el (all): ns-right-alternate-modifier is new.
3688 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * emacs-lisp/lisp.el (lisp-completion-at-point):
3691 Use emacs-lisp-mode-syntax-table for the whole function.
3693 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3695 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3696 instead of font-lock-mode before adding keywords.
3697 Remove hi-lock-mode off code. Remove inhibit hack.
3698 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3699 non-nil; removed hook inhibit hack.
3701 2010-10-12 Glenn Morris <rgm@gnu.org>
3703 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3704 (load-path-shadows-find): ... to this.
3705 (list-load-path-shadows): Update for above change.
3707 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3709 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3711 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3712 Fix comment for declare-function.
3714 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3716 * custom.el (custom-fix-face-spec): New function; code moved from
3717 custom-face-edit-fix-value.
3718 (custom-push-theme): Use it when checking if a face has been
3719 changed outside customize.
3720 (custom-available-themes): New function.
3721 (load-theme): Use it.
3723 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3725 * custom.el (custom-push-theme): Cleanup (use cond).
3726 (disable-theme): Recompute the saved-face property.
3727 (custom-theme-recalc-face): Follow face alias before setting prop.
3729 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3730 New variables, containing checkbox images.
3732 * startup.el (fancy-startup-tail):
3733 * wid-edit.el (checkbox): Use them.
3735 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3737 * shell.el (shell-mode-map):
3738 * progmodes/modula2.el (m2-mode-map):
3739 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3740 * play/mpuz.el (mpuz-mode-map):
3741 * play/landmark.el (lm-mode-map):
3742 * play/decipher.el (decipher-mode-map):
3743 * play/5x5.el (5x5-mode-map):
3744 * net/telnet.el (telnet-mode-map):
3745 * net/quickurl.el (quickurl-list-mode-map):
3746 * net/mairix.el (mairix-searches-mode-map):
3747 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3748 * net/dig.el (dig-mode-map):
3749 * mail/mspools.el (mspools-mode-map):
3750 * hexl.el (hexl-mode-map):
3751 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3752 (wordstar-C-o-map, wordstar-C-q-map):
3753 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3754 * emacs-lisp/chart.el (chart-map):
3755 * edmacro.el (edmacro-mode-map):
3756 * erc/erc-list.el (erc-list-menu-mode-map):
3757 * array.el (array-mode-map): Declare and define in one step.
3759 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3761 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3763 * epa.el (epa-passphrase-callback-function): Display filename
3764 passed as the 3rd arg.
3765 * epa-file.el (epa-file-passphrase-callback-function):
3766 Pass filename to epa-passphrase-callback-function.
3768 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3770 * cus-edit.el (custom-face-widget-to-spec)
3771 (custom-face-get-current-spec, custom-face-state): New functions.
3772 (custom-face-set, custom-face-mark-to-save)
3773 (custom-face-value-create, custom-face-state-set): Use them.
3775 * cus-theme.el (custom-theme--listed-faces): New var.
3776 (customize-create-theme): Use *Custom Theme* as the buffer name.
3777 Set revert-buffer-function. Optional arg BUFFER. Insert all
3778 faces listed in custom-theme--listed-faces.
3779 (custom-theme-revert): New function.
3780 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3782 (custom-theme-write): Prompt for theme name if empty.
3783 (custom-theme-write-variables): Use dolist.
3784 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3786 2010-10-09 Alan Mackenzie <acm@muc.de>
3788 Enhance fontification of declarators to take account of the
3789 presence/absence of "typedef".
3791 * cc-engine.el (c-forward-type): New &optional param
3793 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3794 presence of either or both of a "struct"-like keyword and "typedef".
3796 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3797 fontification of declarators which follow a "}".
3798 (c-font-lock-declarations): Fontify declarators according to the
3799 presence/absence of "typedef".
3801 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3803 (c-typedef-decl-key): New lang variable built from
3804 c-typedef-decl-kwds.
3806 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3808 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3809 since that's too annoying. Move the filter groups commands to
3812 * epa.el (epa-passphrase-callback-function): Say what we're
3813 querying the password for.
3815 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3816 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3818 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3820 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3821 (custom-magic-value-create): Pad button tags with spaces.
3822 (custom-face-edit): New variable.
3823 (custom-face-value-create): Determine whether to use the usual
3824 face editor here, instead of using custom-face-selected.
3825 Pass face defaults to custom-face-edit widget.
3826 (custom-face-selected, custom-display-unselected): Delete widgets.
3827 (custom-display-unselected-match): Function removed.
3828 (custom-face-set, custom-face-mark-to-save):
3829 Accept custom-face-edit widgets as the direct widget child.
3831 * wid-edit.el (widget--completing-widget): New var.
3832 (widget-default-complete): Bind it when doing completion.
3833 (widget-string-complete, widget-file-complete): Use it.
3835 2010-10-09 Glenn Morris <rgm@gnu.org>
3837 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3838 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3839 (holiday-hebrew-misc): Small simplifications.
3841 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3843 * net/browse-url.el: Don't require thingatpt, term, dired,
3844 executable, or w3-auto when compiling.
3845 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3847 (browse-url-text-emacs): Require term.
3849 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3851 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3853 2010-10-08 Glenn Morris <rgm@gnu.org>
3855 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3857 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3858 (shadows-compare-text-p): Make it an obsolete alias for...
3859 (load-path-shadows-compare-text): ... new name.
3860 (find-emacs-lisp-shadows): Update for above name change.
3861 (load-path-shadows-same-file-or-nonexistent): New name for the old
3862 shadow-same-file-or-nonexistent.
3864 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3866 * minibuffer.el (completion--some, completion--do-completion)
3867 (minibuffer-complete-and-exit, minibuffer-completion-help)
3868 (completion-basic-try-completion)
3869 (completion-basic-all-completions)
3870 (completion-pcm--find-all-completions): Use lexical-let to
3871 avoid some false matches in variable completion (Bug#7056)
3873 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3875 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3877 2010-10-08 Leo <sdl.web@gmail.com>
3879 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3880 return non-nil if the file exists (Bug#7090).
3882 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * minibuffer.el (completion--replace):
3885 Better preserve markers (bug#7138).
3887 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3889 * server.el (server-process-filter): Doc fix.
3891 2010-10-08 Drew Adams <drew.adams@oracle.com>
3893 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3895 2010-10-08 Glenn Morris <rgm@gnu.org>
3897 * vc/ediff-wind.el (ediff-setup-control-frame):
3898 * vc/ediff-ptch.el (ediff-default-backup-extension):
3899 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3900 (ediff-exec-process): Remove system-types emx, windows-95.
3902 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3904 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3906 * cus-edit.el (custom-variable, custom-face): Doc fix.
3907 (custom-face-edit): Add value-create attribute.
3908 (custom-face-edit-value-create)
3909 (custom-face-edit-value-visibility-action): New functions.
3910 Hide unused face attributes by default, and add a visibility toggle.
3911 (custom-face-edit-deactivate): Show empty values with shadow face.
3912 (custom-face-selected): Only use this for face specs with default
3914 (custom-face-value-create): Cleanup.
3916 * wid-edit.el (widget-checklist-value-create): Use dolist.
3917 (widget-checklist-match-find): Make second arg optional.
3919 2010-10-07 Glenn Morris <rgm@gnu.org>
3921 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3924 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3925 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3926 load-path-shadows-mode, update references.
3927 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3928 Rename variable and button.
3929 (list-load-path-shadows): Update button caller.
3931 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3933 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3934 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3935 (smie-merge-prec2s): Handle those new entries.
3936 (smie-prec2-levels): Only set precedence to nil for actual
3938 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3939 that is now unnecessary.
3941 2010-10-07 Miles Bader <miles@gnu.org>
3943 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3945 2010-10-07 Glenn Morris <rgm@gnu.org>
3947 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3948 (mail-position-on-field): Remove declarations.
3949 (mail-position-on-field): Autoload it.
3950 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3951 and mail-header-end. Don't require sendmail.
3953 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3954 (shadow-mode): New mode.
3955 (shadow-find-file): New button.
3956 (list-load-path-shadows): Use shadow-mode and buttons.
3958 * iimage.el (iimage-version): Remove.
3959 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3960 Turn into defcustoms.
3961 (iimage-mode-map): Give it a doc string.
3963 * calendar/appt.el (appt-activate): Give a warning rather than an error
3964 if there is no diary-file.
3966 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3968 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3969 Use `tramp-handle-find-backup-file-name'.
3971 2010-10-06 Glenn Morris <rgm@gnu.org>
3973 * font-core.el (font-lock-defaults-alist): Remove variable.
3974 (font-lock-mode): Doc fix.
3975 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3976 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3977 (font-lock-set-defaults): Doc fix.
3978 Do not consult font-lock-defaults-alist.
3980 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3982 * emacs-lisp/cl.el: No longer provide cl-19.
3984 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3986 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3987 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3988 New defuns, taken from tramp-smb.el.
3989 (tramp-coding-system-change-eol-conversion)
3990 (tramp-set-process-query-on-exit-flag): Remove.
3992 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3993 (tramp-compat-coding-system-change-eol-conversion)
3994 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3997 * net/tramp-gvfs.el:
3998 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3999 by `tramp-compat-set-process-query-on-exit-flag'.
4001 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4002 Use `tramp-handle-directory-files-and-attributes',
4003 `tramp-handle-file-exists-p' and
4004 `tramp-handle-file-newer-than-file-p'.
4005 (tramp-imap-handle-file-exists-p)
4006 (tramp-imap-handle-file-executable-p)
4007 (tramp-imap-handle-file-readable-p)
4008 (tramp-imap-handle-directory-files-and-attributes)
4009 (tramp-imap-handle-file-newer-than-file-p): Remove.
4011 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4012 by `tramp-compat-set-process-query-on-exit-flag' and
4013 `tramp-coding-system-change-eol-conversion' by
4014 `tramp-compat-coding-system-change-eol-conversion'.
4016 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4017 Use `tramp-handle-directory-files-and-attributes',
4018 `tramp-handle-file-exists-p' and
4019 `tramp-handle-file-newer-than-file-p'.
4020 (tramp-smb-handle-directory-files-and-attributes)
4021 (tramp-smb-handle-file-exists-p)
4022 (tramp-smb-handle-file-newer-than-file-p): Remove.
4023 (tramp-smb-maybe-open-connection):
4024 Replace `tramp-set-process-query-on-exit-flag' by
4025 `tramp-compat-set-process-query-on-exit-flag'.
4027 2010-10-05 Glenn Morris <rgm@gnu.org>
4029 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4031 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4033 Continue reorganization of load dependencies. (Bug#7156)
4035 * net/tramp.el (tramp-handle-file-local-copy-hook)
4036 (tramp-delete-temp-file-function): Move down.
4037 (tramp-exists-file-name-handler): Move up.
4038 (tramp-register-file-name-handlers): Simplify autoload.
4039 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4040 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4041 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4042 (tramp-handle-file-name-completion)
4043 (tramp-handle-file-name-directory)
4044 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4045 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4046 (tramp-handle-find-backup-file-name)
4047 (tramp-handle-insert-file-contents, tramp-handle-load)
4048 (tramp-handle-substitute-in-file-name)
4049 (tramp-handle-unhandled-file-name-directory)
4050 (tramp-mode-string-to-int, tramp-local-host-p)
4051 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4053 * net/tramp-gvfs.el (top):
4054 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4056 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4057 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4059 2010-10-04 Glenn Morris <rgm@gnu.org>
4061 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4062 (appt-activate): Give status messages.
4064 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4066 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4067 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4068 `gnutls-negotiate' (formerly `starttls-negotiate').
4069 Remove trivial wrapper `starttls-open-stream'.
4071 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4073 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4074 log-outgoing commands.
4075 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4076 to create a buffer local revert-buffer-function variable.
4077 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4078 revert-buffer-function lambda.
4080 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4082 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4083 `gnutls-boot'. Make TYPE the only required parameter.
4084 Allow TRUSTFILES and KEYFILES to be lists.
4085 (open-ssl-stream): Use it.
4087 2010-10-03 Glenn Morris <rgm@gnu.org>
4089 * subr.el (directory-sep-char): Remove obsolete variable.
4090 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4093 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4094 * vc/vc.el (vc-static-header-alist): Doc fix.
4095 * vc/vc-cvs.el (vc-cvs-header):
4096 * vc/vc-rcs.el (vc-rcs-header):
4097 * vc/vc-sccs.el (vc-sccs-header):
4098 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4099 * obsolete/vc-mcvs.el (vc-mcvs-header):
4100 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4103 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4105 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4106 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4108 2010-10-03 Glenn Morris <rgm@gnu.org>
4110 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4112 * textmodes/rst.el (rst-font-lock-keywords-function):
4115 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4117 * printing.el: Drop Emacs 20 code.
4119 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4120 without having used appt.el already).
4122 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4123 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4124 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4126 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4127 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4129 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4130 (charset-width, find-charset-region, chars-in-region, forward-point)
4131 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4132 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4133 Remove compatibility cruft (none of these are used by ps*.el).
4135 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4137 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4139 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4141 * server.el (server-process-filter, server-return-error):
4142 Give emacsclient time to shut down after receiving an error string.
4144 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4146 * files.el (remote-file-name-inhibit-cache): New defcustom.
4148 * time.el (display-time-file-nonempty-p):
4149 Use `remote-file-name-inhibit-cache'.
4151 * net/tramp.el (tramp-completion-reread-directory-timeout):
4154 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4155 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4156 `remote-file-name-inhibit-cache'. Check also for an integer
4157 value. Add/increase counter when `tramp-verbose' >= 10.
4158 (tramp-set-file-property): Add/increase counter when
4159 `tramp-verbose' >= 10.
4161 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4162 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4163 (tramp-bug): Set tramp-autoload cookie. Report all interned
4164 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4165 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4166 characters only in strings.
4168 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4169 to backward compatibility.
4171 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4172 (tramp-handle-file-name-all-completions)
4173 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4174 (tramp-open-connection-setup-interactive-shell):
4175 Call `tramp-cleanup-connection' directly.
4177 2010-10-02 Glenn Morris <rgm@gnu.org>
4179 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4181 * subr.el (char-bytes): Remove obsolete function.
4183 * isearch.el (isearch-return-char): Remove obsolete function.
4185 * mouse.el: No longer provide mldrag.
4186 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4187 Remove obsolete aliases.
4189 * comint.el (comint-kill-output): Remove obsolete alias.
4191 * composite.el (decompose-composite-char): Remove obsolete function.
4192 * ps-def.el (decompose-composite-char): Remove unused function.
4194 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4196 * outline.el (outline-visible): Remove obsolete function.
4198 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4199 * faces.el (internal-find-face, internal-get-face)
4200 (frame-update-faces, frame-update-face-colors)
4201 (x-frob-font-weight, x-frob-font-slant)
4202 (internal-frob-font-weight, internal-frob-font-slant)
4203 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4204 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4205 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4207 * emulation/viper-util.el (viper-get-face):
4208 * obsolete/lucid.el (find-face, get-face): Use facep.
4209 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4210 Remove unused functions.
4211 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4213 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4214 delete tempfile if interrupted during compilation.
4216 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4218 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4220 (tls-program): Add --insecure to be consistent with the defaults from
4221 openssl s_client. Now all three commands are insecure.
4223 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4225 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4226 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4227 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4229 2010-10-01 Glenn Morris <rgm@gnu.org>
4231 * obsolete/sc.el: Remove file.
4233 * files.el (temporary-file-directory): On darwin, also try
4234 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4236 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4238 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4239 Let's not break compatibility gratuitously, shall we?
4241 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4243 * net/tls.el (tls-starttls-switches): New variable.
4244 (tls-find-starttls-argument): Use it.
4245 (open-tls-stream): Ditto.
4247 * net/netrc.el (netrc-credentials): Return the value of the "default"
4249 (netrc-machine): Ditto.
4251 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4253 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4255 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4257 * server.el (server-start): Don't write pid to the authentication file.
4258 (server-create-tty-frame): Don't send pid.
4259 (server-process-filter): Send pid at the start of every connection.
4261 2010-09-30 Glenn Morris <rgm@gnu.org>
4263 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4264 (show-all-diary-entries): Remove obsolete function aliases.
4266 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4267 Remove options, obsolete since 22.1.
4268 (appt-display-format, appt-display-message):
4269 Remove backwards-compatibility code.
4270 (appt-check): No longer check appt-issue-message.
4271 (appt-make-list): No longer autoload it. Doc fix. No longer
4272 activate the package.
4274 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4276 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4277 (starttls-negotiate): Just call boot, and let the handshake be
4278 triggered from the read loop.
4280 2010-09-29 Glenn Morris <rgm@gnu.org>
4282 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4283 not displaying the diary.
4284 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4285 * calendar/appt.el (appt-check): No longer need to kill diary.
4287 * calendar/diary-lib.el (diary-list-entries): Move the
4288 "Preparing..." message entirely here.
4289 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4290 messages to diary-list-entries.
4291 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4292 diary-display-function.
4294 * calendar/diary-lib.el (diary-include-other-diary-files):
4295 Trap some recursive includes.
4297 * calendar/appt.el (appt-activate): Check diary file.
4299 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4301 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4304 * calendar/time-date.el: No need to require cl for Emacs 21.
4306 2010-09-28 Glenn Morris <rgm@gnu.org>
4308 * calendar/appt.el (appt-check): Minor simplification.
4310 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4312 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4315 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4317 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4318 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4320 2010-09-27 Kenichi Handa <handa@m17n.org>
4322 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4325 2010-09-27 Kenichi Handa <handa@m17n.org>
4327 * international/mule.el (define-coding-system): Docstring fixed.
4329 * international/mule-diag.el (describe-character-set): Use princ
4330 with proper print-length and print-level instead of insert.
4332 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4334 * window.el (walk-windows): Doc fix (bug#7105).
4336 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * emacs-lisp/float-sup.el (e): Remove.
4340 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4342 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4344 (starttls-negotiate): Use it.
4346 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4348 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4351 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4355 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4357 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4359 * net/netrc.el (netrc-store-data): New function.
4361 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4363 * net/gnutls.el: GnuTLS glue code to set up a connection.
4365 2010-09-25 Julien Danjou <julien@danjou.info>
4367 * notifications.el: Call dbus-register-signal only if it is bound.
4369 2010-09-25 Glenn Morris <rgm@gnu.org>
4371 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4372 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4373 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4374 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4375 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4376 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4377 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4378 * eshell/esh-util.el, eshell/esh-var.el:
4379 Remove leading `*' from docs of faces and defcustoms.
4381 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4383 * eshell/em-ls.el (eshell-ls-archive-regexp):
4384 * eshell/esh-util.el (eshell-tar-regexp):
4385 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4386 * info.el (Info-suffix-list):
4387 * international/mule.el (auto-coding-alist):
4388 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4389 * progmodes/etags.el (tags-compression-info-list):
4390 Support xz compression.
4392 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4394 * files.el (get-free-disk-space): Don't assume the "df" output
4395 columns line up (Bug#6995).
4397 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4399 * finder.el (finder-unknown-keywords):
4400 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4401 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4403 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4405 * server.el (server-start): Revert part of 2010-08-08 change. Using
4406 address 127.0.0.1 for local host is now done in Fmake_network_process.
4408 2010-09-24 Glenn Morris <rgm@gnu.org>
4410 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4411 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4412 * textmodes/css-mode.el, textmodes/dns-mode.el:
4413 Move autoloaded auto-mode-alist entries to files.el.
4414 * files.el (auto-mode-alist): Move entries here.
4416 2010-09-23 Glenn Morris <rgm@gnu.org>
4418 * isearch.el (isearch-lazy-highlight-cleanup)
4419 (isearch-lazy-highlight-initial-delay)
4420 (isearch-lazy-highlight-interval)
4421 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4422 * net/net-utils.el (ipconfig-program-options):
4423 Move aliases to options before the associated definitions.
4425 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * newcomment.el (comment-normalize-vars): Better test validity of
4430 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4433 (float-e): New name for `e'.
4434 (degrees-to-radians, radians-to-degrees):
4435 * calendar/solar.el (solar-longitude):
4436 * calculator.el (calculator-registers, calculator-funcall):
4437 * textmodes/artist.el (artist-spray-random-points):
4438 * play/bubbles.el (bubbles--initialize-images): Use new names.
4440 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4442 Update to CEDET 1.0's version of EIEIO.
4444 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4446 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4447 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4448 (class-precedence-list): If class is nil, return nil.
4449 (eieio-generic-call): If class of first input arg is nil, don't
4450 look up static methods, and do check for primary methods.
4451 (initialize-instance): See if the default needs to be evaluated
4452 during the constructor.
4453 (eieio-perform-slot-validation-for-default): Don't do the check
4454 for values that will eventually be evaluated.
4455 (eieio-eval-default-p): New function.
4456 (eieio-default-eval-maybe): Use it.
4458 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4460 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4461 method-invocation-order.
4462 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4463 (eieio-class-precedence-dfs): Compute class precedence list using
4465 (eieio-class-precedence-bfs): Compute class precedence list using
4467 (eieio-class-precedence-c3): Compute class precedence list using
4469 (class-precedence-list): New function.
4470 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4471 (inconsistent-class-hierarchy): New error symbol.
4472 (call-next-method): Stow the replacement argument list for future
4473 call-next-method invocations.
4475 2010-09-23 Glenn Morris <rgm@gnu.org>
4477 * calendar/appt.el (appt-check): If not displaying the diary,
4478 use (diary 1) to only get the entries we need.
4479 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4480 that it is in day order. (Bug#7019)
4482 * calendar/appt.el (appt-check): Rather than showing the diary,
4483 just turn off invisible display, and only if needed.
4485 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4487 2010-09-23 Glenn Morris <rgm@gnu.org>
4489 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4490 (byte-compile-defvar, byte-compile-cl-warn):
4491 Start warnings with lower-case, like the majority.
4493 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4495 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4497 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4498 * files.el (auto-mode-alist): Move ld-script entries here, further down
4501 * vc/add-log.el: Don't require timezone when compiling.
4502 (timezone-make-date-sortable): Autoload it.
4503 (change-log-sortable-date-at): Don't require timezone.
4504 Use `ignore-errors'.
4506 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4507 Move alias before definition, so it does not need autoloading.
4509 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4510 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4511 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4512 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4513 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4514 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4515 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4516 * textmodes/tex-mode.el, textmodes/two-column.el:
4517 Remove leading `*' from docs of defcustoms etc.
4519 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4521 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4523 2010-09-22 Dan Christensen <jdc@uwo.ca>
4525 * calendar/time-date.el (date-to-time): Try using parse-time-string
4526 first before using the slower timezone-make-date-arpa-standard.
4528 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4530 * calendar/time-date.el (format-seconds): Comment fix.
4532 2010-09-22 Glenn Morris <rgm@gnu.org>
4534 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4535 is not automatically buffer-local.
4537 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4540 (smie-indent-comment): Be more careful with comment-start-skip.
4541 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4542 (smie-indent-functions): Use them.
4544 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4546 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4548 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4550 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4551 tool-bar-position. Don't modify frame parameters here.
4552 (menu-bar-options-save): Add tool-bar-position.
4554 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4556 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4558 * textmodes/reftex-parse.el (reftex-what-macro)
4559 (reftex-context-substring): Let-bind forward-sexp-function to nil
4560 since we don't need/want to treat \begin...\end as a block (bug#7053).
4562 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4564 * simple.el (blink-matching-open): Use syntax-class.
4566 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4567 Set invisibility spec for pascal's outline mode.
4568 (pascal-outline-change): Clean up calling convention.
4569 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4571 * progmodes/prolog.el (prolog-smie-forward-token)
4572 (prolog-smie-backward-token): New functions.
4573 (prolog-mode-variables): Use them to parse "!," correctly.
4574 Set up smie-blink-matching for ".".
4576 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4578 (ispell-region, ispell-process-line): Update users.
4580 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4583 * textmodes/ispell.el: Fix commenting convention.
4584 (ispell-parse-output): Simplify, use push.
4585 (ispell-region): Use match-string-no-properties.
4586 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4587 (ispell-minor-mode): Use define-minor-mode.
4588 (ispell-message): Remove unused var `skip-regexp'.
4589 (ispell-add-per-file-word-list): Use dynamic let-binding.
4590 Try and use the proper comment marker.
4592 * mail/sendmail.el: Fix commenting convention.
4593 (sendmail-send-it): Use line-beginning-position.
4595 * help-fns.el (describe-variable): Add original value, if applicable.
4597 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4599 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4601 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4603 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4606 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4607 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4608 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4609 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4610 something like "." can also be a closer.
4611 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4612 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4613 Rename internal functions to use "--". Update callers.
4615 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4617 * fringe.el (fringe-styles): New var.
4618 (fringe-mode, fringe-query-style): Use it.
4620 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4622 * progmodes/sql.el: Version 2.8
4623 (sql-login-params): Update widget structure; changes still needed.
4624 (sql-product-alist): Add :list-all and :list-table features for
4625 SQLite, Postgres and MySQL products.
4626 (sql-redirect): Handle default value.
4627 (sql-execute, sql-execute-feature): New functions.
4628 (sql-read-table-name): New function.
4629 (sql-list-all, sql-list-table): New functions. User API.
4630 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4631 for above functions.
4632 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4633 for above functions.
4634 (sql-postgres-login-params): Add user and database defaults.
4635 (sql-buffer-live-p): Bug fix.
4636 (sql-product-history): New variable.
4637 (sql-read-product): New function. Use it.
4638 (sql-set-product, sql-product-interactive): Use it.
4639 (sql-connection-history): New variable.
4640 (sql-read-connection): New function. Use it.
4641 (sql-connect): New function.
4642 (sql-for-each-login): Redesign function interface.
4643 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4644 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4645 (sql-comint): Check for program. Existing live buffer.
4646 (sql-comint-postgres): Add port parameter.
4648 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * emacs-lisp/warnings.el: Fix commenting convention.
4651 (display-warning): Use special mode and make the buffer read-only.
4653 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4655 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4656 empty string when it follows a repeated or optional pattern.
4658 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4661 (indent-region): Use indent-according-to-mode.
4663 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4665 * fringe.el (fringe-mode): Doc fix.
4667 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4669 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4670 refreshing the preview buffer.
4672 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4674 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4675 (latex-syntax-propertize-rules): New consts; replace
4676 tex-font-lock-syntactic-keywords.
4677 (tex-env-mark, latex-env-before-change): New functions.
4678 (latex-electric-env-pair-mode): New minor mode.
4679 (tex-font-lock-verb): Change arguments; do move point.
4680 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4681 representation as a form of comment.
4682 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4683 (doctex-syntax-propertize-rules): New const; replaces
4684 doctex-font-lock-syntactic-keywords.
4685 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4687 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4688 (fortran-make-syntax-propertize-function): New function; replaces
4689 fortran-font-lock-syntactic-keywords.
4690 (fortran-mode): Use it.
4691 (fortran-line-length): Use it. Improve interactive spec.
4693 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4694 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4695 when adding surrounding \(..\).
4697 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4699 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4702 Use with-current-buffer.
4704 * isearch.el (isearch-face): Rename from `isearch'.
4705 (isearch-highlight): Use new name.
4707 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4709 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4710 5, for `half' width fringes. (Bug#6933)
4712 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4715 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4717 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4719 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4721 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4722 in calculating new frame position. Add more space between new and
4723 parent on the left (Bug#7048).
4725 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4727 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4730 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4732 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4734 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4735 obsolete alias for x-selection-value.
4737 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4739 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4741 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4744 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4746 * net/tramp-compat.el (tramp-compat-with-temp-message)
4747 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4748 (tramp-compat-process-put): New defuns.
4750 * net/tramp.el (top):
4751 * net/tramp-gvfs.el (top):
4752 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4754 * net/tramp.el (tramp-progress-reporter-update):
4755 Use `tramp-compat-funcall'.
4757 * net/tramp.el (tramp-process-actions):
4758 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4759 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4760 (tramp-get-remote-stat, tramp-get-remote-readlink):
4761 Use `tramp-compat-with-temp-message'.
4763 * net/tramp-sh.el (top): Require 'cl.
4764 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4765 (tramp-open-connection-setup-interactive-shell):
4766 Use `tramp-compat-process-put'.
4768 2010-09-15 Alan Mackenzie <acm@muc.de>
4770 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4772 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4774 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4776 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4777 `lexical' for warnings related to lexical scoping.
4778 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4779 global vars which don't have a prefix and could hence affect lexical
4780 scoping in unrelated files.
4782 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784 * net/imap.el: Revert back to version
4785 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4788 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4790 * obsolete/old-whitespace.el (whitespace-unload-function):
4791 Explicitly pass `obarray' to `unintern' to avoid a warning.
4793 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4796 Add `when' argument. Update callers.
4798 * subr.el (unintern): Declare the obarray arg mandatory.
4800 2010-09-14 Glenn Morris <rgm@gnu.org>
4802 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4805 * calendar/diary-lib.el (diary-included-files): New variable.
4806 (diary-list-entries): Maybe initialize diary-included-files.
4807 (diary-include-other-diary-files): Append to diary-included-files.
4808 * calendar/appt.el (appt-update-list): Also check the members of
4809 diary-included-files. (Bug#6999)
4810 (appt-check): Doc fix.
4812 2010-09-14 David Reitter <david.reitter@gmail.com>
4814 * simple.el (line-move-visual): Do not truncate goal column to
4815 integer size. (Bug#7020)
4817 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4819 * repeat.el (repeat): Allow repeating when the last event is a click.
4820 Suggested by Drew Adams (bug#6256).
4822 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4824 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4825 Replace setting HGRCPATH to "" by some less invasive --config options.
4827 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * font-lock.el (font-lock-beginning-of-syntax-function):
4832 2010-09-14 Glenn Morris <rgm@gnu.org>
4834 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4835 and tool-bar modes. (Bug#6211)
4836 (menu-bar-mode): Move setting of standard-value after the
4837 minor-mode definition, otherwise it seems to have no effect.
4839 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4841 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4842 Fix typo. (Bug#6976)
4844 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4846 * whitespace.el: Allow cleaning up blanks without blank
4847 visualization (Bug#6651). Adjust help window for
4848 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4849 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4850 (whitespace-style): Add new value 'face. Adjust docstring.
4851 (whitespace-space, whitespace-hspace, whitespace-tab):
4852 Adjust foreground property face.
4853 (whitespace-line-column): Adjust docstring and type declaration.
4854 (whitespace-style-value-list, whitespace-toggle-option-alist)
4855 (whitespace-help-text): Adjust const initialization.
4856 (whitespace-toggle-options, global-whitespace-toggle-options):
4858 (whitespace-display-window, whitespace-interactive-char)
4859 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4860 (whitespace-help-scroll): New fun.
4862 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4864 * calendar/time-date.el (format-seconds): Comment fix.
4866 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4868 * progmodes/sql.el: Version 2.7.
4869 (sql-buffer-live-p): Improve detection.
4870 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4871 (sql-set-sqli-buffer): Use it.
4872 (sql-product-interactive): Run `sql-set-sqli-hook'.
4873 (sql-rename-buffer): Code cleanup.
4874 (sql-redirect, sql-redirect-value): New functions. More to come.
4876 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4878 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.
4879 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4880 (TRAMP_SRC): New macro.
4881 ($(lisp)/net/tramp-loaddefs.el): New target.
4883 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4885 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4887 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4889 * net/tramp.el (top): Don't show loading message. Require just
4890 'tramp-compat, everything else is required there.
4891 Use `ignore-errors' where appropriate.
4892 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4893 (tramp-terminal-type, tramp-end-of-output)
4894 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4895 (tramp-completion-function-alist-ssh)
4896 (tramp-completion-function-alist-telnet)
4897 (tramp-completion-function-alist-su)
4898 (tramp-completion-function-alist-putty, tramp-remote-path)
4899 (tramp-remote-process-environment, tramp-sh-extra-args)
4900 (tramp-actions-before-shell, tramp-uudecode)
4901 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4902 (tramp-perl-file-attributes)
4903 (tramp-perl-directory-files-and-attributes)
4904 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4905 (tramp-perl-encode, tramp-perl-decode)
4906 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4907 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4908 (tramp-handle-make-symbolic-link, tramp-handle-load)
4909 (tramp-handle-file-name-as-directory)
4910 (tramp-handle-file-name-directory)
4911 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4912 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4913 (tramp-do-file-attributes-with-ls)
4914 (tramp-do-file-attributes-with-perl)
4915 (tramp-do-file-attributes-with-stat)
4916 (tramp-handle-set-visited-file-modtime)
4917 (tramp-handle-verify-visited-file-modtime)
4918 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4919 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4920 (tramp-handle-file-selinux-context)
4921 (tramp-handle-set-file-selinux-context)
4922 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4923 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4924 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4925 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4926 (tramp-handle-file-ownership-preserved-p)
4927 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4928 (tramp-handle-directory-files-and-attributes)
4929 (tramp-do-directory-files-and-attributes-with-perl)
4930 (tramp-do-directory-files-and-attributes-with-stat)
4931 (tramp-handle-file-name-all-completions)
4932 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4933 (tramp-handle-copy-file, tramp-handle-copy-directory)
4934 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4935 (tramp-do-copy-or-rename-file-via-buffer)
4936 (tramp-do-copy-or-rename-file-directly)
4937 (tramp-do-copy-or-rename-file-out-of-band)
4938 (tramp-handle-make-directory, tramp-handle-delete-directory)
4939 (tramp-handle-delete-file)
4940 (tramp-handle-dired-recursive-delete-directory)
4941 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4942 (tramp-handle-insert-directory)
4943 (tramp-handle-unhandled-file-name-directory)
4944 (tramp-handle-expand-file-name)
4945 (tramp-handle-substitute-in-file-name)
4946 (tramp-handle-executable-find, tramp-process-sentinel)
4947 (tramp-handle-start-file-process, tramp-handle-process-file)
4948 (tramp-handle-call-process-region, tramp-handle-shell-command)
4949 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4950 (tramp-handle-insert-file-contents)
4951 (tramp-handle-insert-file-contents-literally)
4952 (tramp-handle-find-backup-file-name)
4953 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4954 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4955 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4956 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4957 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4958 (tramp-find-file-exists-command, tramp-open-shell)
4959 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4960 (tramp-open-connection-setup-interactive-shell)
4961 (tramp-local-coding-commands, tramp-remote-coding-commands)
4962 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4963 (tramp-inline-compress-commands, tramp-find-inline-compress)
4964 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4965 (tramp-send-command, tramp-wait-for-output)
4966 (tramp-send-command-and-check, tramp-barf-unless-okay)
4967 (tramp-send-command-and-read, tramp-mode-string-to-int)
4968 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4969 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4970 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4971 (tramp-method-out-of-band-p, tramp-local-host-p)
4972 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4973 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4974 (tramp-get-test-command, tramp-get-test-nt-command)
4975 (tramp-get-file-exists-command, tramp-get-remote-ln)
4976 (tramp-get-remote-perl, tramp-get-remote-stat)
4977 (tramp-get-remote-readlink, tramp-get-remote-trash)
4978 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4979 (tramp-get-local-uid, tramp-get-local-gid)
4980 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4982 (tramp-methods, tramp-default-method-alist)
4983 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4984 Move initialization to tramp-sh.el.
4985 (tramp-temp-name-prefix): Make it a defconst.
4986 (tramp-dissect-file-name): Don't check anymore for multi-hop
4988 (tramp-debug-outline-regexp): Add a docstring.
4989 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4990 (tramp-get-debug-buffer): Use it.
4992 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4993 initialization forms.
4994 (tramp-set-connection-property): Don't protect `tramp-message'
4995 call, it isn't necessary any longer.
4996 (tramp-dump-connection-properties): Use `ignore-errors'.
4998 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4999 'password-cache and 'auth-source.
5001 * net/tramp-gvfs.el (top):
5002 * net/tramp-smb.el (top): Require 'tramp-sh.
5004 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5006 * net/tramp-sh.el: New file, derived from tramp.el.
5007 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5008 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5009 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5010 Use `ignore-errors' where appropriate.
5011 (tramp-sh-file-name-handler-alist): Rename from
5012 `tramp-file-name-handler-alist'.
5013 (tramp-send-command-and-check): Return t or nil. Remove all
5014 `zerop' checks, where called.
5015 (tramp-handle-set-file-modes)
5016 (tramp-do-copy-or-rename-file-directly)
5017 (tramp-handle-delete-directory, tramp-handle-delete-file)
5018 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5019 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5020 (tramp-get-remote-ln): Set tramp-autoload cookie.
5022 * net/tramp-fish.el: Remove file.
5024 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5026 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5027 buffer-file-name to avoid file-locking. (Bug#7026)
5029 2010-09-13 Julien Danjou <julien@danjou.info>
5031 * notifications.el (notifications-notify): Add support for
5032 image-path and sound-name.
5033 (notifications-specification-version): Add this variable.
5035 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5039 2010-09-12 Leo <sdl.web@gmail.com>
5041 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5042 (rcirc-completion-start): New variables.
5043 (rcirc-nick-completions): Rename to rcirc-completions.
5044 (rcirc-nick-completion-start-offset): Delete.
5045 (rcirc-completion-at-point): New function for constructing
5046 completion data for both nicks and irc commands. Add to
5047 completion-at-point-functions in rcirc mode.
5048 (rcirc-complete): Rename from rcirc-nick-complete; use
5049 rcirc-completion-at-point.
5050 (defun-rcirc-command): Update rcirc-client-commands.
5052 2010-09-11 Glenn Morris <rgm@gnu.org>
5054 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5055 atomically, to avoid parallel build errors. (Bug#4196)
5057 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5059 * progmodes/sql.el: Version 2.6
5060 (sql-dialect): Synonym for "sql-product".
5061 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5062 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5063 Set "sql-buffer" to buffer name not buffer object so multiple sql
5064 interactive buffers work properly. Reverts misguided changes in
5066 (sql-comint): Make sure different buffer name is used if "*SQL*"
5067 buffer is for a different product.
5068 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5070 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5071 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5072 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5073 Accept new buffer name or prompt for one.
5074 (sql-port): Default to zero.
5075 (sql-comint-mysql): Handle "sql-port" as a numeric.
5076 (sql-port-history): Delete unused variable.
5077 (sql-get-login): Default "sql-port" to a number.
5078 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5079 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5080 "sqlite3" executables.
5081 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5082 (sql-buffer-live-p): New function.
5083 (sql-mode-menu, sql-send-string): Use it.
5084 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5086 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5087 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5089 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091 * net/netrc.el (netrc-credentials): New convenience function.
5093 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5096 to replace texinfo-font-lock-syntactic-keywords.
5097 (texinfo-mode): Use it.
5099 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5100 Use syntax-propertize-function.
5102 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5103 replace sgml-font-lock-syntactic-keywords.
5104 (sgml-mode): Use it.
5106 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5107 since we don't use it.
5109 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5111 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5113 (vhdl-fontify-buffer): Adjust.
5115 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5116 replace tcl-font-lock-syntactic-keywords.
5119 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5120 replace simula-font-lock-syntactic-keywords.
5121 (simula-mode): Use it.
5123 * progmodes/sh-script.el (sh-st-symbol): Remove.
5124 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5125 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5126 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5127 (sh-font-lock-paren): Set syntax-multiline.
5128 (sh-font-lock-syntactic-keywords): Remove.
5129 (sh-syntax-propertize-function): New function to replace it.
5132 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5133 Define while compiling.
5134 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5135 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5136 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5137 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5138 (ruby-here-doc-end-syntax): Only define when
5139 syntax-propertize is not available.
5140 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5142 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5143 (electric-indent-chars): Silence bytecompiler.
5144 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5145 electric-indent-chars.
5147 * progmodes/python.el (python-syntax-propertize-function): New var to
5148 replace python-font-lock-syntactic-keywords.
5149 (python-mode): Use it.
5150 (python-quote-syntax): Simplify and adjust to new use.
5152 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5153 replace perl-font-lock-syntactic-keywords.
5154 (perl-syntax-propertize-special-constructs): New fun to replace
5155 perl-font-lock-special-syntactic-constructs.
5156 (perl-font-lock-syntactic-face-function): New fun.
5157 (perl-mode): Use it.
5159 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5160 to replace octave-font-lock-close-quotes.
5161 (octave-syntax-propertize-function): New function to replace
5162 octave-font-lock-syntactic-keywords.
5163 (octave-mode): Use it.
5165 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5166 replaces mixal-font-lock-syntactic-keywords.
5167 (mixal-mode): Use it.
5169 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5170 New var; replaces makefile-font-lock-syntactic-keywords.
5171 (makefile-mode): Use it.
5172 (makefile-imake-mode): Adjust.
5174 * progmodes/js.el (js--regexp-literal): Define while compiling.
5175 (js-syntax-propertize-function): New var; replaces
5176 js-font-lock-syntactic-keywords.
5179 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5180 replaces gdb-script-font-lock-syntactic-keywords.
5181 (gdb-script-mode): Use it.
5183 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5184 (fortran--font-lock-syntactic-keywords): New var.
5185 (fortran-line-length): Update syntax-propertize-function and
5186 fortran--font-lock-syntactic-keywords.
5188 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5190 * progmodes/cfengine.el (cfengine-mode):
5191 Use syntax-propertize-function.
5192 (cfengine-font-lock-syntactic-keywords): Remove.
5194 * progmodes/autoconf.el (autoconf-mode):
5195 Use syntax-propertize-function.
5196 (autoconf-font-lock-syntactic-keywords): Remove.
5198 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5199 (ada-after-change-function, ada-initialize-syntax-table-properties)
5200 (ada-handle-syntax-table-properties): Only define when
5201 syntax-propertize is not available.
5202 (ada-mode): Use syntax-propertize-function.
5204 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5205 (font-lock-fontify-syntactic-keywords-region): Move handling of
5206 font-lock-syntactically-fontified to...
5207 (font-lock-default-fontify-region): ...here.
5208 Let syntax-propertize-function take precedence.
5209 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5211 * emacs-lisp/syntax.el (syntax-propertize-function)
5212 (syntax-propertize-chunk-size, syntax-propertize--done)
5213 (syntax-propertize-extend-region-functions): New vars.
5214 (syntax-propertize-wholelines, syntax-propertize-multiline)
5215 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5216 (syntax-propertize): New functions.
5217 (syntax-propertize-rules): New macro.
5218 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5219 (syntax-ppss): Call syntax-propertize.
5221 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5223 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5225 * textmodes/ispell.el (ispell-init-process): Improve comments.
5226 XEmacs compatibility changes regarding (add-hook) 'local option
5227 and (set-process-query-on-exit-flag).
5229 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5231 * net/tramp-cache.el (tramp-parse-connection-properties):
5232 Set tramp-autoload cookie.
5234 2010-09-09 Glenn Morris <rgm@gnu.org>
5236 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5237 (imagemagick-register-types): Doc fix.
5239 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5243 * progmodes/js.el (require): Require is already "eval-and-compile".
5244 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5245 (js--re-search-backward): Use js--re-search-forward.
5247 * progmodes/fortran.el (fortran-line-length): Don't recompute
5248 syntactic keywords redundantly a second time.
5250 * progmodes/ada-mode.el: Replace "(set '" with setq.
5251 (ada-mode): Simplify.
5252 (ada-create-case-exception, ada-adjust-case-interactive)
5253 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5254 (ada-search-ignore-string-comment, ada-move-to-start)
5255 (ada-move-to-end): Use with-syntax-table.
5257 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5258 (font-lock-unfontify-region, font-lock-default-fontify-region):
5259 Update usage correspondingly.
5260 (font-lock-fontify-syntactic-keywords-region):
5261 Set parse-sexp-lookup-properties buffer-locally here.
5262 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5264 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5266 2010-09-08 Glenn Morris <rgm@gnu.org>
5268 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5269 Error if not compiled with -DBYTE_CODE_METER.
5271 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5272 Ignore dir-locals-file.
5274 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5278 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5279 for the `gnu' messages.
5280 (compilation-set-skip-threshold): New command.
5281 (compilation-start): Use \' rather than $.
5282 (compilation-forget-errors): Use clrhash.
5284 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5286 * textmodes/ispell.el (ispell-valid-dictionary-list):
5289 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5291 Migrate to Tramp 2.2. Rearrange load dependencies.
5292 (Bug#1529, Bug#5448, Bug#5705)
5294 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5295 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5296 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5298 * net/tramp.el (top): Remove all other tramp-* loads except
5299 tramp-compat.el. Remove all changes to tramp-unload-hook for
5300 other tramp-* packages. Rearrange defun order. Change calls of
5301 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5302 `tramp-compat-octal-to-decimal' to new function names.
5303 (tramp-terminal-type, tramp-initial-end-of-output)
5304 (tramp-methods, tramp-foreign-file-name-handler-alist)
5305 (tramp-tramp-file-p, tramp-completion-mode-p)
5306 (tramp-send-command-and-check, tramp-get-remote-path)
5307 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5308 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5309 (with-file-property, with-connection-property): Move to
5311 (tramp-local-call-process, tramp-decimal-to-octal)
5312 (tramp-octal-to-decimal): Move to tramp-compat.el.
5313 (tramp-handle-shell-command): Do not require 'shell.
5314 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5316 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5318 * net/tramp-cache.el (top): Require 'tramp. Add to
5319 `tramp-unload-hook'.
5320 (tramp-cache-data, tramp-get-file-property)
5321 (tramp-set-file-property, tramp-flush-file-property)
5322 (tramp-flush-directory-property, tramp-get-connection-property)
5323 (tramp-set-connection-property, tramp-flush-connection-property)
5324 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5326 (with-file-property, with-connection-property): New defuns, moved
5328 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5331 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5332 (tramp-version): Set tramp-autoload cookie.
5334 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5335 changes to tramp-unload-hook for other tramp-* packages. Add to
5336 `tramp-unload-hook'.
5337 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5338 (tramp-compat-call-process): New defuns, moved from tramp.el.
5340 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5341 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5342 Add to `tramp-unload-hook'. Change call of
5343 `tramp-compat-decimal-to-octal' to new function name.
5344 (tramp-fish-method): Make it a defconst.
5345 (tramp-fish-file-name-p): Make it a defsubst.
5346 (tramp-fish-method, tramp-fish-file-name-handler)
5347 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5349 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5350 `tramp-foreign-file-name-handler-alist'. Add to
5351 `tramp-unload-hook'.
5352 (tramp-ftp-method): Make it a defconst.
5353 (tramp-ftp-file-name-p): Make it a defsubst.
5354 (tramp-ftp-method, tramp-ftp-file-name-handler)
5355 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5357 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5358 `tramp-foreign-file-name-handler-alist'. Add to
5359 `tramp-unload-hook'. Change checks, whether package can be
5361 (tramp-gvfs-file-name-p): Make it a defsubst.
5362 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5363 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5364 (tramp-gvfs-handle-file-directory-p): New defun.
5365 (tramp-gvfs-file-name-handler-alist): Use it.
5367 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5368 `tramp-foreign-file-name-handler-alist'. Add to
5369 `tramp-unload-hook'.
5370 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5371 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5373 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5374 (tramp-gw-open-connection): Set tramp-autoload cookie.
5376 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5377 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5378 Add to `tramp-unload-hook'. Change checks, whether package can be
5380 (tramp-imap-file-name-p): Make it a defsubst.
5381 (tramp-imap-method, tramp-imaps-method)
5382 (tramp-imap-file-name-handler)
5383 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5385 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5386 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5387 Add to `tramp-unload-hook'. Change checks, whether package can be
5388 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5390 (tramp-smb-tunnel-method): Make it a defconst.
5391 (tramp-smb-file-name-p): Make it a defsubst.
5392 (tramp-smb-method, tramp-smb-file-name-handler)
5393 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5395 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5396 (tramp-uuencode-region): Set tramp-autoload cookie.
5398 * net/trampver.el (top) Add to `tramp-unload-hook'.
5399 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5400 cookie. Update release number.
5402 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5404 * textmodes/ispell.el (ispell-start-process): Make sure original
5405 arg list is properly initialized (Bug#6993, Bug#6994).
5407 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5409 * files.el (directory-abbrev-alist): Use \` as default regexp.
5411 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5412 chars like - or ] (bug#6984).
5413 (rx-any-condense-range): Explode 2-char ranges.
5415 2010-09-06 Glenn Morris <rgm@gnu.org>
5417 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5419 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5421 * textmodes/bibtex.el:
5422 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5424 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5427 since no callers use it.
5428 (imap-message-get): Ditto.
5429 (imap-message-put): Ditto.
5430 (imap-mailbox-map): Ditto.
5431 (imap-mailbox-put): Ditto.
5432 (imap-mailbox-get): Ditto.
5433 (imap-mailbox-get): Revert last change for this function.
5435 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5438 callers to use `imap-fetch' instead. According to the comments, this
5439 should be safe, since all other IMAP clients use the 1:* syntax.
5440 (imap-enable-exchange-bug-workaround): Remove.
5441 (imap-debug): Remove -- doesn't seem very useful.
5443 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5445 * net/imap.el (imap-log): New convenience function used throughout
5446 instead of repeating the same code all over the place.
5448 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5450 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5451 when mouse-drag-copy-region is non-nil (Bug#6956).
5453 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5455 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5456 Improve regexps (Bug#6987).
5457 (dired-sort-toggle): Search more robustly for -t flag.
5459 * files.el (get-free-disk-space): Search more robustly for
5460 "available" column. Suggested by Ehud Karni
5461 <ehud@unix.mvs.co.il>.
5463 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5465 * international/uni-bidi.el:
5466 * international/uni-category.el:
5467 * international/uni-combining.el:
5468 * international/uni-decimal.el:
5469 * international/uni-mirrored.el:
5470 * international/uni-name.el: Regenerate.
5472 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * electric.el (electric-indent-post-self-insert-function):
5475 Don't reindent with a sloppy indentation function.
5477 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5478 border case in change-log-mode.
5480 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5483 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5484 Recognize leading tab in gcc-include regexp. Ignore names with
5485 leading "from" or "in" in gnu regexp (Bug#6937).
5487 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5489 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5490 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5491 (ispell-start-process): Avoid setq and simplify logic.
5492 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5493 (kill-buffer-hook): Don't use it globally with code that uses
5494 expand-file-name since that may call kill-buffer via
5495 code_conversion_restore.
5497 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5499 * emacs-lisp/package.el (package-directory-list): Only call
5500 file-name-nondirectory on a string.
5502 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5504 * emacs-lisp/package.el (package--download-one-archive):
5505 Ensure that archive-contents is valid before saving it.
5506 (package-activate-1, package-mark-obsolete, define-package)
5507 (package-compute-transaction, package-list-maybe-add): Use push.
5509 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5511 Use SMIE's blink-paren for octave-mode.
5512 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5513 Backslashes do not escape single-quotes, single-quotes do.
5514 (octave-block-else-regexp, octave-block-end-regexp)
5515 (octave-block-match-alist): Remove.
5516 (octave-smie-bnf-table): New var, with old content.
5517 (octave-smie-op-levels): Use it.
5518 (octave-smie-closer-alist): New var.
5519 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5520 (octave-blink-matching-block-open): Remove.
5521 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5522 (octave-electric-space): Let self-insert-command run expand-abbrev and
5525 * electric.el (electricity): New group.
5526 (electric-indent-chars): New var.
5527 (electric-indent-post-self-insert-function): New fun.
5528 (electric-indent-mode): New minor mode.
5529 (electric-pair-skip-self): New custom.
5530 (electric-pair-post-self-insert-function): New function.
5531 (electric-pair-mode): New minor mode.
5533 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5534 calcAlg-blink-matching-open.
5535 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5536 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5537 Use the new blink-matching-check-function.
5539 Provide blink-matching support to SMIE.
5540 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5541 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5542 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5544 * simple.el (newline): Fix last change to properly remove itself from
5547 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * simple.el (newline): Eliminate optimization.
5550 Use post-self-insert-hook to set hard-newline and things before
5551 running post-self-insert-hook.
5552 (blink-matching-check-mismatch): New function.
5553 (blink-matching-check-function): New variable.
5554 (blink-matching-open): Use them.
5555 Skip back forward over prefix chars skipped by forward-sexp.
5556 Don't check if the parens are backslash escaped.
5557 (blink-paren-post-self-insert-function): Check backslash escaping here.
5559 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5561 * emacs-lisp/package.el (package-menu-mode-map):
5562 Change package-menu-revert bindings to revert-buffer.
5563 (package-menu-mode): Set revert-buffer-function.
5564 (package-menu-revert): Doc fix.
5566 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5568 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5569 `default-directory' unless using Ispell per-directory personal
5570 dictionaries and not in a mini-buffer under XEmacs.
5571 (kill-buffer-hook): Do not kill ispell process on exit when
5572 `ispell-process-directory' is "~/". (Bug#6143)
5574 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5576 * simple.el (kill-new): Call interprogram-cut-function with only
5579 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5580 Remove cut buffer from error message.
5582 * term/x-win.el (x-select-text):
5583 * term/pc-win.el (x-selection-value):
5584 * term/ns-win.el (x-selection-value):
5585 * eshell/em-term.el:
5586 * w32-fns.el (x-get-selection-value):
5587 * mouse-sel.el (mouse-sel-set-selection-function):
5588 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5590 * term/x-win.el: Update documentation for x-last-selected-text-*.
5591 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5592 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5593 (x-select-text): Remove argument PUSH, update documentation.
5594 Remove cut-buffer code.
5595 (x-selection-value-internal): Was previously x-selection-value.
5596 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5597 Update documentation, remove cut-buffer code.
5598 Call x-selection-value-internal.
5599 (x-clipboard-yank): Call x-selection-value-internal.
5600 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5602 * term/pc-win.el (x-last-selected-text):
5603 x-cut-buffer-or-selection-value renamed to x-selection-value
5604 (x-select-text): Remove argument PUSH, update documentation.
5606 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5607 x-cut-buffer-or-selection-value renamed to x-selection-value
5608 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5609 (x-select-text): Remove argument PUSH, update documentation.
5611 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5613 * w32-fns.el (x-last-selected-text):
5614 x-cut-buffer-or-selection-value renamed to x-selection-value.
5615 (x-cut-buffer-max): Remove.
5616 (x-select-text): Remove argument PUSH, update documentation.
5618 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5620 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5622 * mouse-sel.el (mouse-sel-get-selection-function):
5623 x-cut-buffer-or-selection-value renamed to x-selection-value.
5624 (x-select-text): Remove optional push.
5626 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * simple.el (blink-paren-function): Move from C to here.
5629 (blink-paren-post-self-insert-function): New function.
5630 (post-self-insert-hook): Use it.
5632 * emacs-lisp/pcase.el (pcase-split-memq):
5633 Fix overenthusiastic optimisation.
5634 (pcase-u1): Handle the case of a lambda pred.
5636 2010-08-31 Kenichi Handa <handa@m17n.org>
5638 * international/mule-cmds.el (standard-display-european-internal):
5639 Setup standard-display-table for 8-bit characters by storing 8-bit
5640 characters in the element vector.
5642 * disp-table.el (standard-display-8bit):
5643 Setup standard-display-table for 8-bit characters by storing 8-bit
5644 characters in the element vector.
5645 (standard-display-european): Likewise.
5647 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5649 * textmodes/nroff-mode.el (nroff-view): New command.
5650 (nroff-mode-map): Bind it to C-c C-c.
5652 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * emacs-lisp/smie.el (smie-down-list): New command.
5656 Remove old indentation and navigation code on octave-mode.
5657 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5658 smie-down-list rather than add a binding for octave-down-block.
5659 (octave-mark-block, octave-blink-matching-block-open):
5660 Rely on forward-sexp-function.
5661 (octave-fill-paragraph): Don't narrow, so you can use
5662 indent-according-to-mode.
5663 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5664 (octave-in-block-p, octave-re-search-forward-kw)
5665 (octave-re-search-backward-kw, octave-indent-calculate)
5666 (octave-end-as-array-index-p, octave-block-end-offset)
5667 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5668 (octave-down-block, octave-backward-up-block, octave-up-block)
5669 (octave-before-magic-comment-p, octave-indent-line): Remove.
5671 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5673 * emacs-lisp/package.el (package--read-archive-file): Just use
5674 `read', to avoid copying an additional string.
5675 (package-menu-mode): Set header-line-format here.
5676 (package-menu-refresh, package-menu-revert): Signal an error if
5677 not in the Package Menu.
5678 (package-menu-package-list): New var.
5679 (package--generate-package-list): Operate on the current buffer;
5680 don't assume that it is *Packages*, since the user may rename it.
5681 Allow persistent package listings and sort keys using
5682 package-menu-package-list and package-menu-package-sort-key.
5683 (package-menu--version-predicate): Fix version calculation.
5684 (package-menu-sort-by-column): Don't select the window.
5685 (package--list-packages): Create the *Packages* buffer.
5686 Set package-menu-package-list-key.
5687 (list-packages): Sorting by status is now the default.
5688 (package-buffer-info): Use match-string-no-properties.
5689 (define-package): Add a &rest argument for future proofing, but
5691 (package-install-from-buffer, package-install-buffer-internal):
5692 Merge into a single function, package-install-from-buffer.
5693 (package-install-file): Change caller.
5695 * finder.el: Load finder-inf using `require'.
5696 (finder-list-matches): Sorting by status is now the default.
5697 (finder-compile-keywords): Simpify printing.
5699 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5702 (octave-mode-map): Remove special bindings for forward/backward-block
5703 and octave-backward-up-block. Use smie-close-block.
5704 (octave-continuation-marker-regexp): New var.
5705 (octave-continuation-regexp): Use it.
5706 (octave-operator-table, octave-smie-op-levels)
5707 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5708 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5709 (octave-mode): Use SMIE.
5710 (octave-close-block): Delete.
5712 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5714 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5715 CLIPBOARD, not in PRIMARY. (Bug#6944)
5717 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5721 (smie-indent-column): Allow indirection through variables.
5723 * composite.el (save-buffer-state): Delete, unused.
5724 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5725 (font-lock-default-fontify-region): Use with-syntax-table.
5726 * jit-lock.el (with-buffer-unmodified): Remove.
5727 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5729 Use `declare' in defmacros.
5730 * window.el (save-selected-window):
5731 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5732 * progmodes/python.el (def-python-skeleton):
5733 * net/dbus.el (dbus-ignore-errors):
5734 * jka-cmpr-hook.el (with-auto-compression-mode):
5735 * international/mule.el (with-category-table):
5736 * emacs-lisp/timer.el (with-timeout):
5737 * emacs-lisp/lisp-mnt.el (lm-with-file):
5738 * emacs-lisp/eieio.el (with-slots):
5739 * emacs-lisp/easymenu.el (easy-menu-define):
5740 * emacs-lisp/debug.el (debugger-env-macro):
5741 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5742 (Multiple-value-call, Multiple-value-prog1):
5743 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5744 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5745 edebug rule to definition.
5746 * emacs-lisp/lisp-mode.el (save-selected-window)
5747 (with-current-buffer, combine-after-change-calls)
5748 (with-output-to-string, with-temp-file, with-temp-buffer)
5749 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5750 (dolist, dotimes, when, unless):
5751 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5753 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5755 * finder.el: Require `package'.
5756 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5757 (finder-package-info): Var deleted.
5758 (finder-keywords-hash, finder--builtins-alist): New vars.
5759 (finder-compile-keywords): Compute package--builtins and
5760 finder-keywords-hash instead of finder-keywords-hash, respecting
5761 the "Package" header.
5762 (finder-unknown-keywords, finder-list-matches):
5763 Use finder-keywords-hash and package--list-packages.
5764 (finder-mode): Don't set font-lock-defaults.
5765 (finder-exit): We don't use "*Finder-package*" and "*Finder
5766 Category*" buffers anymore.
5768 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5769 (package--builtins): Set default value to nil.
5770 (package-initialize): Load precomputed value of package--builtins
5772 (package-alist, package-compute-transaction)
5773 (package-download-transaction): Improve docstring.
5774 (package-read-all-archive-contents): Do not change
5775 package--builtins here.
5776 (list-packages): Make package-list-packages an alias for this.
5777 Sort by status by default.
5778 (package--list-packages): Add optional PACKAGES arg.
5779 (describe-package-1): Use font-lock-face property. For built-in
5780 packages, insert file commentary.
5781 (package--generate-package-list): Rename from
5782 package-list-packages-internal; all callers changed. Add optional
5783 PACKAGES arg. Add alphabetical sort fallbacks.
5784 (package-menu--version-predicate, package-menu--status-predicate)
5785 (package-menu--description-predicate)
5786 (package-menu--name-predicate): New functions.
5788 * info.el (Info-finder-find-node): Search package-alist instead of
5789 finder-package-info.
5791 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5793 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5795 (version-to-list): Handle versions like "10.3d".
5797 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5800 (macroexp-accumulate): Use `declare'.
5802 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5804 * whitespace.el (whitespace-style): Adjust type declaration.
5806 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5808 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5809 empty argument to gvfs-copy.
5811 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5813 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5814 handle new TRASH arg of `delete-file'.
5816 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5818 * net/tramp.el (tramp-handle-insert-directory): Don't use
5819 `forward-word', its default syntax could be changed.
5821 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5822 Michael Albinus <michael.albinus@gmx.de>
5824 Implement compression for inline methods.
5826 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5827 (tramp-copy-size-limit): Allow also nil.
5828 (tramp-inline-compress-commands): New defconst.
5829 (tramp-find-inline-compress, tramp-get-inline-compress)
5830 (tramp-get-inline-coding): New defuns.
5831 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5832 replaced by `tramp-get-inline-coding'.
5833 (tramp-handle-file-local-copy, tramp-handle-write-region)
5834 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5836 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5838 Detect ssh 'ControlMaster' argument automatically in some cases.
5840 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5841 (tramp-default-method): Use it.
5843 2010-08-26 Karel Klíč <kklic@redhat.com>
5845 * net/tramp.el (tramp-file-name-for-operation):
5846 Add file-selinux-context.
5848 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5850 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5852 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5854 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5857 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5859 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5860 (js-paren-indent-offset, js-square-indent-offset)
5861 (js-curly-indent-offset): New options.
5862 (js--proper-indentation): Use them.
5864 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5866 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5867 instead of inspecting font-lock properties (Bug#6916).
5869 2010-08-26 David Reitter <david.reitter@gmail.com>
5871 * server.el (server-visit-files): Run pre-command-hook and
5872 post-command-hook for each buffer while it is current (Bug#6910).
5873 (server-execute): Do not run hooks here.
5875 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5877 Sync with Tramp 2.1.19.
5879 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5880 (tramp-reporter-dump-variable, tramp-load-report-modules)
5881 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5882 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5884 * net/tramp-compat.el (top): Do not autoload
5885 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5886 only when `start-file-process' is not bound.
5887 (byte-compile-not-obsolete-vars): Define if not bound.
5888 (tramp-compat-funcall): New defmacro.
5889 (tramp-compat-line-beginning-position)
5890 (tramp-compat-line-end-position)
5891 (tramp-compat-temporary-file-directory)
5892 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5893 (tramp-compat-copy-file, tramp-compat-copy-directory)
5894 (tramp-compat-delete-file, tramp-compat-delete-directory)
5895 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5897 (tramp-advice-file-expand-wildcards): Do not use
5898 `tramp-handle-file-remote-p'.
5899 (tramp-compat-make-temp-file): Simplify fallback implementation.
5900 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5901 (tramp-compat-copy-tree): Remove function.
5902 (tramp-compat-delete-file): New defun.
5903 (tramp-compat-delete-directory): Provide implementation for older
5905 (tramp-compat-file-attributes): Handle only
5906 `wrong-number-of-arguments' error.
5908 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5909 Add PRESERVE_SELINUX_CONTEXT.
5910 (tramp-fish-handle-delete-file): Add TRASH arg.
5911 (tramp-fish-handle-directory-files-and-attributes):
5912 Do not use `tramp-fish-handle-file-attributes.
5913 (tramp-fish-handle-file-local-copy)
5914 (tramp-fish-handle-insert-file-contents)
5915 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5917 * net/tramp-gvfs.el (top): Require url-util.
5918 (tramp-gvfs-mount-point): Remove.
5919 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5920 and `set-file-selinux-context'.
5921 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5922 (tramp-gvfs-handle-file-selinux-context)
5923 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5924 (with-tramp-dbus-call-method): Format trace message.
5925 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5926 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5927 Implement backup call, when operation on local files fails.
5928 Use progress reporter. Flush properties of changed files.
5929 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5930 Use `tramp-compat-delete-file'.
5931 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5932 (tramp-gvfs-handle-make-directory): Make more traces.
5933 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5934 (tramp-gvfs-url-file-name): Hexify file name in url.
5935 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5936 into account for the resulting file name.
5937 (tramp-gvfs-handler-askquestion): Preserve current message, in
5938 order to let progress reporter continue afterwards. (Bug#6257)
5939 Return dummy mountpoint, when the answer is "no".
5940 See `tramp-gvfs-maybe-open-connection'.
5941 (tramp-gvfs-handler-mounted-unmounted)
5942 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5943 attribute "default_location". Set "prefix" property.
5944 Handle default-location.
5945 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5946 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5947 exists. Raise an error, if not (due to a corresponding answer
5948 "no" in interactive questions, for example).
5949 Use `tramp-compat-funcall'.
5951 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5952 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5953 (tramp-imap-do-copy-or-rename-file)
5954 (tramp-imap-handle-insert-file-contents)
5955 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5956 (tramp-imap-handle-delete-file): Add TRASH arg.
5958 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5959 Add PRESERVE-SELINUX-CONTEXT.
5960 (tramp-smb-handle-copy-file)
5961 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5962 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5963 Use `with-progress-reporter'.
5964 (tramp-smb-handle-delete-file): Add TRASH arg.
5966 * net/tramp.el (tramp-methods): Move hostname to the end in all
5967 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5969 (tramp-verbose): Describe verbose level 9.
5970 (tramp-completion-function-alist)
5971 (tramp-file-name-regexp, tramp-chunksize)
5972 (tramp-local-coding-commands, tramp-remote-coding-commands)
5973 (with-connection-property, tramp-completion-mode-p)
5974 (tramp-action-process-alive, tramp-action-out-of-band)
5975 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5976 (tramp-exists-file-name-handler): Fix docstring.
5977 (tramp-remote-process-environment): Use `format' instead of
5978 `concat'. Protect version string by apostroph.
5979 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5981 (tramp-file-name-regexp-unified)
5982 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5983 not regard the volume letter as remote filename. (Bug#5447)
5984 (tramp-perl-file-attributes)
5985 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5986 (tramp-vc-registered-read-file-names): Read input as
5987 here-document, otherwise the command could exceed maximum length
5989 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5990 `set-file-selinux-context'.
5991 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5992 backtrace functions.
5993 (tramp-error-with-buffer): Don't show the connection buffer when
5994 we are in completion mode.
5995 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5996 (tramp-handle-file-selinux-context)
5997 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5998 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6000 (with-progress-reporter): New defmacro.
6001 (tramp-debug-outline-regexp): New defconst.
6002 (top, tramp-rfn-eshadow-setup-minibuffer)
6003 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6004 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6005 (tramp-completion-mode-p, tramp-check-for-regexp)
6006 (tramp-open-connection-setup-interactive-shell)
6007 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6008 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6009 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6010 Use `tramp-compat-funcall'.
6011 (tramp-handle-make-symbolic-link): Flush file properties.
6012 (tramp-handle-load, tramp-handle-file-local-copy)
6013 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6014 (tramp-handle-vc-registered, tramp-maybe-send-script)
6015 (tramp-find-shell): Use `with-progress-reporter'.
6016 (tramp-do-file-attributes-with-stat): Add space in format string,
6017 in order to work around a bug in pdksh. Reported by Gilles Pion
6019 (tramp-handle-verify-visited-file-modtime): Do not send a command
6020 when the connection is not established.
6021 (tramp-handle-set-file-times): Simplify the check for utc.
6022 (tramp-handle-directory-files-and-attributes)
6023 (tramp-get-remote-path): Use `copy-tree'.
6024 (tramp-completion-handle-file-name-all-completions): Ensure, that
6025 non remote files are still checked. Oops.
6026 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6027 Handle PRESERVE-SELINUX-CONTEXT.
6028 (tramp-do-copy-or-rename-file): Add progress reporter.
6029 (tramp-do-copy-or-rename-file-directly): Do not use
6030 `tramp-handle-file-remote-p'.
6031 (tramp-do-copy-or-rename-file-out-of-band):
6032 Use `tramp-compat-delete-directory'.
6033 (tramp-do-copy-or-rename-file-out-of-band)
6034 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6035 Use `format-spec-make'.
6036 (tramp-handle-delete-file): Add TRASH arg.
6037 (tramp-handle-dired-uncache): Flush directory cache, not only file
6039 (tramp-handle-expand-file-name)
6040 (tramp-completion-handle-file-name-all-completions)
6041 (tramp-completion-handle-file-name-completion):
6042 Use `tramp-connectable-p'.
6043 (tramp-handle-start-file-process): Set connection property "vec".
6044 Use it, in order to invalidate file caches. Check only for
6045 `remote-tty' process property.
6046 Implement tty setting. (Bug#4604, Bug#6360)
6047 (tramp-file-name-for-operation): Add `call-process-region' and
6048 `set-file-selinux-context'.
6049 (tramp-find-foreign-file-name-handler)
6050 (tramp-advice-make-auto-save-file-name)
6051 (tramp-set-auto-save-file-modes): Remove superfluous check for
6052 `stringp'. This is done inside `tramp-tramp-file-p'.
6053 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6054 operations when we are in completion mode. This gives the user
6055 the chance to correct the file name in the minibuffer.
6056 (tramp-completion-mode-p): Use `non-essential'.
6057 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6058 compatibility: Use `completion-ignore-case' if
6059 `read-file-name-completion-ignore-case' does not exist.
6060 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6061 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6063 (tramp-action-password): Hide password prompt before next run.
6064 (tramp-process-actions): Widen connection buffer for the trace.
6065 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6066 process property. Trace stty settings if `tramp-verbose' >= 9.
6067 Apply workaround for IRIX64 bug. Move argument of last
6068 `tramp-send-command' where it belongs to.
6069 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6070 front of `login-args'.
6071 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6072 on "/dev/null" instead of "/".
6073 (tramp-get-ls-command-with-dired): Make test for "--dired"
6075 (tramp-set-auto-save-file-modes): Adapt version check.
6076 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6077 (tramp-handle-process-file): Call the program in a subshell, in
6078 order to preserve working directory.
6079 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6080 `tramp-remote-sh' from `tramp-methods'.
6081 (tramp-get-ls-command): Make test for "--color=never" stronger.
6082 (tramp-check-for-regexp): Use (forward-line 1).
6084 * net/trampver.el: Update release number.
6086 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6088 * help.el (help-map): Bind `C-h P' to describe-package.
6090 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6092 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6093 when downloading archives.
6094 (describe-package-1): Add package commentary.
6095 (package-install-button-action): New function.
6096 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6097 (package-menu-view-commentary): Function removed.
6098 (package-list-packages-internal): Hide the `package' package too.
6100 2010-08-25 Kenichi Handa <handa@m17n.org>
6102 * language/misc-lang.el ("Arabic"): New language environment.
6103 Setup composition-function-table for Arabic characters.
6105 * international/fontset.el (setup-default-fontset): Fix typo for
6106 arabic OTF spec (fini->fina).
6108 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6110 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6113 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6115 * whitespace.el: Allow cleaning up blanks without blank
6116 visualization (Bug#6651). Adjust help window for
6117 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6118 instead of whitespace-line-column (from EmacsWiki). New version
6120 (whitespace-style): Add new value 'face. Adjust docstring.
6121 (whitespace-space, whitespace-hspace, whitespace-tab):
6122 Adjust foreground property face.
6123 (whitespace-line-column): Adjust docstring and type declaration.
6124 (whitespace-style-value-list, whitespace-toggle-option-alist)
6125 (whitespace-help-text): Adjust const initialization.
6126 (whitespace-toggle-options, global-whitespace-toggle-options):
6128 (whitespace-display-window, whitespace-interactive-char)
6129 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6130 (whitespace-help-scroll): New fun.
6132 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6134 * emacs-lisp/package.el (list-packages): Alias for
6135 package-list-packages.
6137 2010-08-24 Kevin Ryde <user42@zip.com.au>
6139 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6142 * progmodes/ruby-mode.el (ruby): Add defgroup.
6144 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6146 * progmodes/python.el: Add Ipython support (Bug#5390).
6147 (python-shell-prompt-alist)
6148 (python-shell-continuation-prompt-alist): New options.
6149 (python--set-prompt-regexp): New function.
6150 (inferior-python-mode, run-python, python-shell):
6151 Require ansi-color. Use python--set-prompt-regexp to set the comint
6152 prompt based on the Python interpreter.
6153 (python--prompt-regexp): New var.
6154 (python-check-comint-prompt)
6155 (python-comint-output-filter-function): Use it.
6156 (run-python): Use a pipe (Bug#5694).
6158 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6160 * progmodes/python.el (python-send-region): Send a different
6161 Python command if Ipython is in use.
6162 (python-check-version): Use a Python command to find the version.
6164 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6166 * mouse.el (mouse-yank-primary): Avoid setting primary when
6167 deactivating the mark (Bug#6872).
6169 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6171 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6172 with "else" (Bug#3991).
6174 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6176 * net/dbus.el: Accept UNIX domain sockets as bus address.
6177 (top): Don't initialize `dbus-registered-objects-table' anymore,
6178 this is done in dbusbind,c.
6179 (dbus-check-event): Adapt test for bus.
6180 (dbus-return-values-table, dbus-unregister-service)
6181 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6184 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6186 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6188 2010-08-22 Juri Linkov <juri@jurta.org>
6190 * simple.el (read-extended-command): New function with the logic
6191 for `completing-read' moved to Elisp from `execute-extended-command'.
6192 Use `function-called-at-point' in `minibuffer-default-add-function'
6193 to get a command name for M-n (bug#5364, bug#5214).
6195 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6197 * startup.el (command-line-1): Issue warning for ignored arguments
6198 --unibyte, etc (Bug#6886).
6200 2010-08-22 Leo <sdl.web@gmail.com>
6202 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6203 (ignore, bright, dim, keyword): Split list of nicknames before
6204 passing to rcirc-add-or-remove (Bug#6894).
6206 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6208 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6210 2010-08-22 Leo <sdl.web@gmail.com>
6212 Fix buffer-list rename&refresh after killing a buffer in ido.
6213 * ido.el: Revert Óscar's.
6214 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6215 Remember the buffers at head, rather than their name.
6216 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6218 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6219 Stefan Monnier <monnier@iro.umontreal.ca>
6221 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6222 extra backslash added to each line (bug#6890).
6224 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6226 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6228 2010-08-22 Glenn Morris <rgm@gnu.org>
6230 * menu-bar.el (menu-bar-games-menu): Add landmark.
6232 2010-08-22 Glenn Morris <rgm@gnu.org>
6234 * align.el (align-regexp): Make group and spacing arguments
6235 use the interactive defaults when non-interactive. (Bug#6698)
6237 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6238 expansion, so as not to need sendmail.
6239 (mail-text-start): Remove declaration.
6240 (rmail-retry-failure): Require sendmail.
6242 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6244 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6246 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6248 * progmodes/flymake.el (flymake-start-syntax-check-process):
6249 Use `start-file-process' in order to let it run also on remote hosts.
6251 2010-08-22 Kenichi Handa <handa@m17n.org>
6253 * files.el: Add `word-wrap' as safe local variable.
6255 2010-08-22 Glenn Morris <rgm@gnu.org>
6257 * woman.el (woman-translate): Case matters. (Bug#6849)
6259 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6261 * simple.el (kill-region): Doc fix (Bug#6787).
6263 2010-08-22 Glenn Morris <rgm@gnu.org>
6265 * calendar/diary-lib.el (diary-header-line-format):
6266 Fit it to the window, not the frame.
6268 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6270 * subr.el (ignore-errors): Add debug declaration.
6272 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6274 * whitespace.el (whitespace-color-off): Remove post-command-hook
6277 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6281 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6283 * cus-edit.el (custom-group-value-create): Add extra newline
6284 before end line (Bug#6876).
6286 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6288 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6289 when extending it. Before killing on the second click, check if
6290 the buffer is the correct one. Doc fix.
6291 (mouse-secondary-save-then-kill): Allow usage without first
6292 calling mouse-start-secondary, by defaulting to point. Don't save
6293 an empty secondary selection. Doc fix.
6295 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6297 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6298 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6300 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6301 Adjust initialization.
6302 (whitespace-bob-marker, whitespace-eob-marker)
6303 (whitespace-buffer-changed): New vars.
6304 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6305 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6306 (whitespace-post-command-hook, whitespace-display-char-on):
6308 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6309 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6311 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6313 * files.el (locate-file-completion-table): Only list the .el and .elc
6314 extensions if there's no other choice (bug#5955).
6316 * facemenu.el (facemenu-self-insert-data): New var.
6317 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6319 (facemenu-add-face): Use them.
6321 * simple.el (blink-matching-open): Obey forward-sexp-function.
6323 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * simple.el (prog-mode-map): New var.
6326 (prog-indent-sexp): New command.
6328 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6330 * progmodes/prolog.el (smie): Require.
6332 * emacs-lisp/smie.el (smie-default-backward-token)
6333 (smie-default-forward-token): Strip properties.
6334 (smie-next-sexp): Be more careful with associative operators.
6335 (smie-forward-sexp-command): Generalize.
6336 (smie-backward-sexp-command): Simplify.
6337 (smie-closer-alist): New var.
6338 (smie-close-block): New command.
6339 (smie-indent-debug-log): New var.
6340 (smie-indent-offset-rule): Add a few more cases.
6341 (smie-indent-column): New function.
6342 (smie-indent-after-keyword): Use it.
6343 (smie-indent-keyword): Use it.
6344 Fix up the opener code's point position.
6345 (smie-indent-comment): Only applies at BOL.
6346 (smie-indent-debug): New command.
6348 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6349 declarations that are useful before running the macro.
6351 2010-08-18 Joakim Verona <joakim@verona.se>
6353 * image.el (imagemagick-types-inhibit): New variable.
6354 (imagemagick-register-types): New function.
6355 * image-mode.el (image-transform-properties): New function.
6356 (image-transform-set-scale, image-transform-fit-to-height)
6357 (image-transform-set-rotation, image-transform-set-resize)
6358 (image-transform-fit-to-width, image-transform-fit-to-height):
6360 (image-toggle-display-image): Support image transforms.
6362 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6364 * image.el (create-animated-image): Don't add heuristic mask to image
6367 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6369 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6370 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6372 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6376 Font-lock '...' strings, plus various simplifications and fixes.
6377 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6378 (octave-font-lock-close-quotes): New function.
6379 (octave-font-lock-syntactic-keywords): New var.
6380 (octave-mode): Use it. Set beginning-of-defun-function.
6381 (octave-mode-map): Don't override the <foo>-defun commands.
6382 (octave-mode-menu): Pass it directly to easy-menu-define;
6383 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6384 (octave-block-match-alist): Fix up last change so that
6385 octave-close-block uses the more specific keyword.
6386 (info-lookup-mode): Silence byte-compiler.
6387 (octave-beginning-of-defun): Not interactive any more.
6389 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6390 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6391 (octave-completion-at-point-function): Make sure point is within
6393 (octave-reindent-then-newline-and-indent):
6394 Use reindent-then-newline-and-indent.
6395 (octave-add-octave-menu): Remove.
6397 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6399 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6400 (report-emacs-bug-can-use-xdg-email): New functions.
6401 (report-emacs-bug): Set can-xdg-email to result of
6402 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6403 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6406 * net/browse-url.el (browse-url-default-browser): Add cond
6407 for browse-url-xdg-open.
6408 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6410 2010-08-17 Glenn Morris <rgm@gnu.org>
6412 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6413 (c-fontify-recorded-types-and-refs): Define for compiler.
6414 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6417 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6420 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6422 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6424 (tramp-handle-process-file): Call the program in a subshell, in
6425 order to preserve working directory.
6426 (tramp-action-password): Hide password prompt before next run.
6427 (tramp-process-actions): Widen connection buffer for the trace.
6429 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6431 * net/rcirc.el (rcirc-log-process-buffers): New option.
6432 (rcirc-print): Use it.
6433 (rcirc-generate-log-filename): New function.
6434 (rcirc-log-filename-function): Change default to
6435 rcirc-generate-log-filename (Bug#6828).
6437 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6439 * simple.el (deactivate-mark): If select-active-regions is `only',
6440 only set selection for temporarily active regions.
6442 * cus-start.el: Change defcustom for select-active-regions.
6444 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6446 * mouse.el (mouse--drag-set-mark-and-point): New function.
6447 (mouse-drag-track): Use LOCATION arg to push-mark.
6448 Use mouse--drag-set-mark-and-point to take click-count into
6449 consideration when updating point and mark (Bug#6840).
6451 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6453 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6454 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6456 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6458 * font-lock.el (lisp-font-lock-keywords-2):
6459 Add combine-after-change-calls, condition-case-no-debug,
6460 with-demoted-errors, and with-silent-modifications (Bug#6025).
6462 2010-08-14 Kevin Ryde <user42@zip.com.au>
6464 * emacs-lisp/copyright.el (copyright-update-year)
6465 (copyright-update): Temporary switch-to-buffer to ensure the
6466 buffer change being queried is visible (Bug#5394).
6468 2010-08-14 Tom Tromey <tromey@redhat.com>
6470 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6473 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6475 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6478 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6480 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6481 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6482 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6483 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6484 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6485 Call menu-bar-set-tool-bar-position.
6487 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6490 comment style (bug#6834).
6491 * progmodes/scheme.el (scheme-mode-syntax-table):
6492 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6493 "b" flag in "' 14b" syntax.
6495 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6496 for (un)commenting the region and performing completion.
6497 (octave-mode-menu): Use standard commands for help and completion.
6498 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6499 (octave-mode): Use define-derived-mode.
6500 Set completion-at-point-functions and don't set columns.
6501 Don't disable adaptive-fill-regexp.
6502 (octave-describe-major-mode, octave-comment-region)
6503 (octave-uncomment-region, octave-comment-indent)
6504 (octave-indent-for-comment): Remove.
6505 (octave-indent-calculate): Rename from calculate-octave-indent.
6506 (octave-indent-line, octave-fill-paragraph): Update caller.
6507 (octave-initialize-completions): No need to make an alist.
6508 (octave-completion-at-point-function): New function.
6509 (octave-complete-symbol): Use it.
6510 (octave-insert-defun): Use define-skeleton.
6512 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6513 (octave-mode-map): Use comment-dwim (bug#6829).
6515 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6517 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6518 indentation of inserted comment.
6520 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6522 * faces.el (region): Add type gtk that uses gtk colors.
6524 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6525 Handle theme-name change.
6527 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6529 * progmodes/sql.el: Version 2.5
6530 (sql-product-alist): Add :prompt-cont-regexp property for several
6532 (sql-prompt-cont-regexp): New variable.
6533 (sql-output-newline-count, sql-output-by-send):
6534 New variables. Record number of newlines in input text.
6535 (sql-send-string): Handle multiple filters and count newlines.
6536 (sql-send-magic-terminator): Count terminator newline.
6537 (sql-interactive-remove-continuation-prompt): Filters output to
6538 remove continuation prompts; one for each newline.
6539 (sql-interactive-mode): Set up new variables, prompt regexp and
6541 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6542 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6544 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * emacs-lisp/pcase.el: New file.
6548 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6550 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6551 as here-document, otherwise the command could exceed maximum
6552 length of command line.
6553 (tramp-handle-vc-registered): Call script accordingly.
6554 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6556 2010-08-10 Kenichi Handa <handa@m17n.org>
6558 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6561 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6563 * emacs-lisp/package.el (package-version-split)
6564 (package--version-first-nonzero, package-version-compare):
6566 (package-directory-list, package-load-all-descriptors)
6567 (package--built-in, package-activate, define-package)
6568 (package-installed-p, package-compute-transaction)
6569 (package-read-all-archive-contents)
6570 (package--add-to-archive-contents, package-buffer-info)
6571 (package-tar-file-info, package-list-packages-internal):
6572 Use version-to-list and version-list-*.
6574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6575 Use version-to-list.
6576 (package-upload-buffer-internal): Use version-list-<=.
6578 2010-08-09 Kenichi Handa <handa@m17n.org>
6580 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6583 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6585 * tutorial.el (tutorial--default-keys): C-d is now bound to
6586 delete-forward-char (Bug#6826).
6588 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6589 for `double' value of mouse-1-click-follows-link (Bug#6807).
6591 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6593 * replace.el (replace-highlight): Bind isearch-forward and
6594 isearch-error, ensuring that highlighting is updated if the user
6595 switches the search direction (Bug#6808).
6597 * isearch.el (isearch-lazy-highlight-forward): New var.
6598 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6599 (isearch-lazy-highlight-update): Use it.
6601 2010-08-08 Kenichi Handa <handa@m17n.org>
6603 * international/mule.el (define-charset): Store NAME as :base property.
6604 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6605 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6606 current priority. Force using the designation of the specific
6607 charset by adding `charset' text property. Improve the whole algorithm.
6609 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6611 * emulation/pc-select.el (pc-selection-mode-hook)
6612 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6613 (pc-selection-mode): Fix typos in docstrings.
6615 2010-08-08 Kenichi Handa <handa@m17n.org>
6617 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6618 ctext-non-standard-encodings-alist here.
6620 * international/mule.el (ctext-non-standard-encodings-alist):
6621 Add "koi8-r" and "microsoft-cp1251".
6622 (ctext-standard-encodings): New variable.
6623 (ctext-non-standard-encodings-table): List only elements for
6624 non-standard encodings.
6625 (ctext-pre-write-conversion): Adjust for the above change.
6626 Check ctext-standard-encodings.
6628 * international/mule-conf.el (compound-text): Doc fix.
6629 (ctext-no-compositions): Doc fix.
6630 (compound-text-with-extensions): Doc fix.
6632 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6634 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6636 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6638 * progmodes/which-func.el (which-func-format): Split help-echo text
6639 into lines, like other mode-line tooltips.
6641 * server.el (server-start): When using TCP sockets, force IPv4
6642 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6644 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6648 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6650 * term.el (term-delimiter-argument-list): Reflow docstring.
6651 (term-read-input-ring, term-write-input-ring, term-send-input)
6652 (term-bol, term-erase-in-display, serial-supported-or-barf):
6653 Fix typos in docstrings.
6655 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6659 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6661 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6663 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6665 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6666 Fix typo in docstring (bug#6747).
6668 2010-08-08 Leo <sdl.web@gmail.com>
6670 * eshell/esh-io.el (eshell-get-target): Better detection of
6671 read-only file (Bug#6762).
6673 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6675 * align.el (align-default-spacing): Doc fix.
6676 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6678 2010-08-08 Stephen Peters <speters@itasoftware.com>
6680 * calendar/icalendar.el
6681 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6682 (icalendar--get-weekday-numbers): New.
6683 (icalendar--convert-recurring-to-diary): Handle multiple byday
6684 values in weekly rules. (Bug#6766)
6686 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6688 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6689 (icalendar--create-uid, icalendar-export-region)
6690 (icalendar--parse-summary-and-rest): Code formatting.
6692 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6694 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6695 to italicize headers.
6696 (calc-highlight-selections-with-faces): New variable.
6697 (calc-selected-face, calc-nonselected-face): New faces.
6699 * calc/calccomp.el (math-comp-highlight-string): Use
6700 `calc-highlight-selections-with-faces' to determine how to highlight
6703 * calc/calc-sel.el (calc-show-selections): Change message to when
6704 using faces to highlight selections.
6706 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6708 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6709 Add SQLite 3 keywords, functions and datatypes.
6710 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6713 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6715 * simple.el (select-active-regions): Move to keyboard.c.
6716 (deactivate-mark): Used saved-region-selection.
6717 (select-active-region): Function removed.
6718 (activate-mark, set-mark, push-mark-command)
6719 (handle-shift-selection): Don't call it.
6720 (keyboard-quit): Avoid adding the region to the window selection.
6722 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6723 select-active-regions implementation.
6724 (mouse-yank-at-click): Doc fix.
6726 * cus-start.el: Add custom declaration for select-active-regions.
6728 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6730 * simple.el (delete-forward-char): Doc fix.
6732 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6733 after reading the tutorial.
6735 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6737 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6738 Fix for the case that a C style comment has its delimiters alone on
6739 their respective lines.
6741 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6743 * net/tramp.el (tramp-handle-start-file-process): Set connection
6745 (tramp-process-sentinel): Use it for flushing the cache.
6746 We cannot do it via the process buffer, the buffer could be deleted
6747 already when running the sentinel.
6749 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6751 * comint.el (comint-mode): Make directory tracking functions
6752 functional on remote files. (Bug#6764)
6754 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6756 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6758 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6760 * emacs-lisp/find-gc.el (find-gc-source-files):
6761 Rename unexec.c => unexcoff.c.
6763 * emacs-lisp/authors.el (authors-fixed-entries):
6764 Rename unexec.c => unexcoff.c.
6766 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6768 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6769 cache, not only file cache.
6770 (tramp-process-sentinel): New defun.
6771 (tramp-handle-start-file-process): Use it, in order to invalidate
6774 2010-08-03 Leo <sdl.web@gmail.com>
6776 * server.el (server-start): Simplify loop.
6778 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6780 * frame.el (screen-height, screen-width, set-screen-width)
6781 (set-screen-height): Remove ancient compatibility aliases.
6783 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6784 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6786 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6787 that change current buffer.
6789 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6791 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6792 beginning of the string. Use `string-match-p'. (Bug#6765)
6794 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6796 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6798 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6800 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6801 (package--builtins): Tweak descriptions.
6802 (package-print-package): Upcase descriptions if necessary.
6803 Show all built-in packages in font-lock-builtin-face.
6804 (package-list-packages-internal): Omit "emacs" package.
6805 Show status of built-in packages as "built-in".
6807 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6809 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6810 before killing to preserve the primary selection (Bug#6701).
6812 * term/x-win.el (x-select-text): Doc fix.
6814 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6816 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6817 (objc-font-lock-extra-types):
6818 * progmodes/cc-mode.el (c-basic-common-init):
6819 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6820 (c++-make-template-syntax-table)
6821 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6822 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6823 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6824 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6825 * progmodes/cc-fonts.el (c-make-inverse-face)
6826 (c-basic-matchers-after):
6827 * progmodes/cc-engine.el (c-forward-keyword-clause)
6828 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6829 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6830 (c-guess-continued-construct, c-guess-basic-syntax):
6831 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6832 The above functions were modified or created.
6834 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6836 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6838 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6840 * files.el (bidi-paragraph-direction): Define safe local values.
6842 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6843 language-info-alist. Remove outdated FIXME in a comment.
6845 2010-07-31 Alan Mackenzie <acm@muc.de>
6847 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6848 Auto-fill broken in C/C++ modes.
6850 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6852 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6853 (menu-bar-showhide-tool-bar-menu-customize-disable)
6854 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6855 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6856 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6857 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6858 make a menu for Options => toolbar that can move it.
6860 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6862 * emacs-lisp/package-x.el (package--make-rss-entry):
6863 (package-maint-add-news-item, package--update-news)
6864 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6866 * emacs-lisp/package.el (package-archive-url): Rename from
6868 (package-install): Doc fix.
6869 (package-download-single, package-download-tar, package-install)
6870 (package-menu-view-commentary): Callers changed.
6872 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6874 * net/tramp.el (tramp-handle-start-file-process): Check only for
6875 `remote-tty' process property.
6876 (tramp-open-shell): Don't check for tty.
6877 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6880 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6883 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6885 * emacs-lisp/package.el (package-load-list, package-archives)
6886 (package-archive-contents, package-user-dir)
6887 (package-directory-list, package--builtins, package-alist)
6888 (package-activated-list, package-obsolete-alist): Mark as risky.
6890 2010-07-28 Phil Hagelberg <phil@evri.com>
6892 Add support for non-default package repositories.
6893 * emacs-lisp/package.el (package-archive-base): Var deleted.
6894 (package-archives): New variable.
6895 (package-archive-contents): Doc fix.
6896 (package-load-descriptor): Do nothing if descriptor file is missing.
6897 (package--write-file-no-coding): New function.
6898 (package-unpack-single): Use it.
6899 (package-archive-id): New function.
6900 (package-download-single, package-download-tar)
6901 (package-menu-view-commentary): Use it.
6902 (package-installed-p): Make second argument optional.
6903 (package-read-all-archive-contents): New function.
6904 (package-initialize): Use it.
6905 (package-read-archive-contents): Add ARCHIVE argument.
6906 (package--add-to-archive-contents): New function.
6907 (package-install): Don't call package-read-archive-contents.
6908 (package--download-one-archive): Store archive file in a
6909 subdirectory of package-user-dir.
6910 (package-menu-execute): Remove spurious line movement.
6912 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6914 * cus-start.el (tool-bar-style): Add text-image-horiz.
6916 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6918 * progmodes/gud.el (gud-common-init): Check for remoteness of
6919 `file', and not of `default-directory'.
6921 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6923 * net/tramp.el (tramp-methods): Move hostname to the end in all
6924 ssh `tramp-login-args'.
6925 (tramp-verbose): Describe verbose level 9.
6926 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6927 (tramp-open-connection-setup-interactive-shell): Trace stty
6928 settings if `tramp-verbose' >= 9.
6929 (tramp-handle-start-file-process): Implement tty setting.
6930 (Bug#4604, Bug#6360)
6932 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6933 `tramp-verbose' to 9.
6935 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6937 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6938 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6939 Remove references to package `lisp-re' (bug#4369).
6941 2010-07-27 Tom Tromey <tromey@redhat.com>
6943 * progmodes/js.el (js-mode):
6944 * progmodes/make-mode.el (makefile-mode):
6945 * progmodes/simula.el (simula-mode):
6946 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6948 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6950 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6952 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6953 (display-time-world-buffer-name, display-time-world-mode-map):
6954 Fix typos in docstrings.
6956 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6958 * image-mode.el (image-display-size): New function.
6959 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6960 (image-mode-fit-frame): Use it (Bug#6639).
6962 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6964 * dired.el (dired-buffers-for-dir): Handle list values of
6965 dired-directory (Bug#6636).
6967 2010-07-26 Sam Steingold <sds@gnu.org>
6969 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6970 Do not call `x-get-selection' the second time, reuse the value.
6972 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6974 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6975 which consist of control chars only. Suggested by Richard Stallman.
6977 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6979 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6980 exists before passing an error to find-file-not-found-functions
6983 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6985 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6986 Remove leading nil element, adjust values.
6987 (tetris-shapes, tetris-shape-scores):
6988 Change representation of shapes and remove some redundancy.
6989 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6990 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6991 Adjust for working with new representation of shapes.
6992 (tetris-shape-rotations): New function.
6993 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6994 (tetris-rotate-prev, tetris-rotate-next):
6995 Adjust for working with the new version of tetris-test-shape.
6997 2010-07-23 Markus Triska <markus.triska@gmx.at>
6999 * progmodes/ps-mode.el: Use comint (bug#5954).
7000 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7001 (ps-mode-other-newline): Simplify.
7002 (ps-run-mode): Derive from comint-mode instead of
7003 fundamental-mode, yielding input history etc.
7004 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7005 (ps-run-send-string): Adapt for comint-mode.
7006 (ps-run-newline): Remove now unneeded function.
7008 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7010 * net/tramp.el (tramp-methods): Move hostname to the end in all
7011 plink `tramp-login-args'.
7013 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7015 * net/tramp.el (tramp-open-shell): New defun.
7016 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7019 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7021 * net/tramp.el (tramp-file-name-regexp-unified)
7022 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7023 not regard the volume letter as remote filename. (Bug#5447)
7025 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7027 * custom.el (custom-declare-variable): Give a clearer error message
7028 when the docstring is missing (bug#6476).
7030 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7032 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7033 (sql-login-params): New widget definition.
7034 (sql-oracle-login-params, sql-mysql-login-params)
7035 (sql-solid-login-params, sql-sybase-login-params)
7036 (sql-informix-login-params, sql-ingres-login-params)
7037 (sql-ms-login-params, sql-postgres-login-params)
7038 (sql-interbase-login-params, sql-db2-login-params)
7039 (sql-linter-login-params): Use it.
7040 (sql-sqlite-login-params): Use it; Define "database" parameter as
7042 (sql-sqlite-program): Change to "sqlite3".
7043 (sql-comint-sqlite): Make sure database name is complete.
7044 (sql-for-each-login): New function.
7045 (sql-connect, sql-save-connection): Use it.
7046 (sql-get-login-ext): New function.
7047 (sql-get-login): Use it.
7048 (sql-make-alternate-buffer-name): Handle :file parameters.
7050 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7052 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7053 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7055 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7057 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7059 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7061 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7063 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7065 * net/tramp.el (tramp-get-ls-command)
7066 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7069 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7071 * progmodes/sql.el: Version 2.3.
7072 (sql-connection-alist): Change keys from symbols to strings;
7073 enhanced the widget definition.
7074 (sql-mode-menu): Add submenu to select connections.
7075 (sql-interactive-mode-menu): Add "Save Connection" item.
7076 (sql-add-product): Fix menu item.
7077 (sql-get-product-feature): Improved error handling.
7078 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7079 (sql-make-alternate-buffer-name): Simplified.
7080 (sql-product-interactive): Handle missing product.
7081 (sql-connect): Support string keys, minor improvements.
7082 (sql-save-connection): New function.
7083 (sql-connection-menu-filter): New function.
7085 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7087 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7088 (tramp-open-connection-setup-interactive-shell):
7089 Apply workaround for IRIX64 bug. Move argument of last
7090 `tramp-send-command' where it belongs to.
7092 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7094 * net/tramp.el (tramp-perl-file-attributes)
7095 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7096 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7097 front of `login-args'.
7099 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7101 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7102 Set `show-trailing-whitespace' to nil.
7103 (display-time-world-display): Simplify.
7105 2010-07-18 Alan Mackenzie <acm@muc.de>
7107 Enhance `c-file-style' in file/directory local variables.
7108 * progmodes/cc-mode.el (c-count-cfss): New function.
7109 (c-before-hack-hook): Call `c-set-style' differently according to
7110 whether c-file-style was set in file or directory local
7113 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7115 * progmodes/sql.el: Version 2.2.
7116 (sql-product, sql-user, sql-database, sql-server, sql-port):
7117 Use defcustom :safe keyword rather than putting safe-local-variable
7119 (sql-password): Use defcustom :risky keyword rather than putting
7120 risky-local-variable property.
7121 (sql-oracle-login-params, sql-sqlite-login-params)
7122 (sql-solid-login-params, sql-sybase-login-params)
7123 (sql-informix-login-params, sql-ingres-login-params)
7124 (sql-ms-login-params, sql-postgres-login-params)
7125 (sql-interbase-login-params, sql-db2-login-params)
7126 (sql-linter-login-params): Add `port' option.
7127 (sql-get-product-feature): Add NO-INDIRECT parameter.
7128 (sql-comint-oracle, sql-comint-sybase)
7129 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7130 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7131 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7132 (sql-comint-linter): Rename sql-connect-* functions to
7134 (sql-product-alist, sql-mode-menu): Rename as above and
7135 :sqli-connect-func to :sqli-comint-func.
7136 (sql-connection): New variable.
7137 (sql-interactive-mode): Set it.
7138 (sql-connection-alist): New variable.
7139 (sql-connect): New function.
7140 (sql--alt-buffer-part, sql--alt-if-not-empty)
7141 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7143 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7145 * image-mode.el (image-bookmark-make-record): Do not set context
7146 in an image (Bug#6650).
7148 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7150 * simple.el (select-active-region): New function.
7151 (push-mark-command, set-mark, activate-mark)
7152 (handle-shift-selection): Use it.
7153 (deactivate-mark): Don't check for size of region.
7155 * mouse.el (mouse-drag-track): Use select-active-region.
7157 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7159 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7162 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7164 * term/x-win.el (x-select-enable-primary): Change default to nil.
7165 (x-select-enable-clipboard): Add :version keyword.
7167 * mouse.el (mouse-drag-copy-region):
7168 * simple.el (select-active-regions): Likewise.
7170 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7172 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7173 (vc-coding-system-for-diff): Use it to decide whether to inherit
7174 from the file the EOL format for reading the diffs of that file.
7177 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7179 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7180 unibyte, so compressed attachments are not compressed again.
7182 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7184 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7185 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7186 (tramp-find-shell): Simplify setting connection property.
7187 (tramp-get-ls-command): Make test for "--color=never" stronger.
7189 2010-07-15 Simon South <ssouth@member.fsf.org>
7191 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7192 blocks within record declarations (i.e. variant parts) correctly.
7194 2010-07-15 Simon South <ssouth@member.fsf.org>
7196 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7197 over literal tokens when parsing so newlines aren't "absorbed" by
7198 single-line comments. Corrects the indentation of case blocks
7199 that have a comment on the first line.
7201 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7203 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7204 by Drew Adams (Bug#5504).
7206 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7208 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7209 now that Unicode is used (Bug#6594).
7211 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7213 * term/x-win.el (x-select-enable-clipboard): Default to t.
7214 (x-initialize-window-system): Don't overwrite Paste menu item.
7216 * simple.el (select-active-regions): Default to t.
7217 (push-mark-command): Don't overwrite primary with empty string.
7219 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7220 (mouse-drag-copy-region): Default to nil.
7222 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7223 Cut/Copy/Paste menu bar items.
7225 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7227 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7228 Patch applied by Karl Fogel.
7230 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7231 and `bookmark-current-buffer' if they have been already set in
7232 another buffer (e.g gnus-art).
7234 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7235 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7237 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7239 * bookmark.el (bookmark-make-record-default): Allow unneeded
7240 information to be omitted from the record.
7242 Adjust declarations and calls:
7244 * info.el (bookmark-make-record-default): Adjust declaration.
7245 (Info-bookmark-make-record): Adjust call.
7247 * woman.el (bookmark-make-record-default): Adjust declaration.
7248 (woman-bookmark-make-record): Adjust call.
7250 * man.el (bookmark-make-record-default): Adjust declaration.
7251 (Man-bookmark-make-record): Adjust call.
7253 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7255 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7257 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7259 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7260 This is also from Thierry Volpiatto's patch in bug #6444. However,
7261 because it was extraneous to the functional change in that patch,
7262 and causes a re-indendation, I am committing it separately.
7264 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7266 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7267 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7268 Patch applied by Karl Fogel (Bug#6444).
7270 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7272 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7274 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7276 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7277 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7278 (ns-alternatives-map): Change S-tab binding to backtab
7281 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7284 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7286 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7289 * language/tv-util.el (tai-viet-re): Remove format.
7291 2010-07-12 Kenichi Handa <handa@m17n.org>
7293 * language/hebrew.el: Remove no-byte-compile declaration.
7294 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7295 composition-function-table for 3-character looking back.
7296 (hebrew-font-get-precomposed): New function.
7297 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7299 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7301 * mouse.el (mouse-drag-track): Handle select-active-regions
7304 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7306 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7307 empty argument to gvfs-copy.
7309 2010-07-10 Glenn Morris <rgm@gnu.org>
7311 * calendar/calendar.el (calendar-week-end-day): New function.
7312 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7313 Respect calendar-week-start-day. (Bug#6606)
7314 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7315 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7316 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7317 respect calendar-week-start-day.
7319 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7321 * simple.el (use-region-p): Doc fix (Bug#6607).
7323 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7325 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7326 Add regexps for cucumber and ruby.
7328 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7330 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7331 (epa-file-insert-file-contents): Hack to prevent
7332 find-file from opening empty buffer when decryption failed
7335 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7337 * textmodes/ispell.el (ispell-alternate-dictionary):
7338 Use file-readable-p.
7339 Return nil if no word-list is found at default locations.
7340 (ispell-complete-word-dict): Default to nil.
7341 (ispell-command-loop): Use 'word-list' when using lookup-words.
7342 (lookup-words): Use ispell-complete-word-dict or
7343 ispell-alternate-dictionary. Check for word-list availability
7344 and handle errors if needed with better messages (Bug#6539).
7345 (ispell-complete-word): Use ispell-complete-word-dict or
7346 ispell-alternate-dictionary.
7348 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7350 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7351 builtins (BufferError, BytesWarning, WindowsError; callables
7352 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7354 2010-07-07 Glenn Morris <rgm@gnu.org>
7356 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7357 (zone-shift-left): Ignore intangibility, and any errors from
7359 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7360 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7361 deleting, and copying text properties.
7362 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7363 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7364 to point-max is hard.
7365 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7366 (zone-fill-out-screen): Ignore intangibility.
7368 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7370 * menu-bar.el (menu-bar-mode):
7371 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7374 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7375 word/line selection (Bug#6565).
7377 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7379 * net/dbus.el (dbus-send-signal): Declare function.
7381 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7383 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7384 (dbus-register-property): New optional argument EMITS-SIGNAL.
7385 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7387 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7389 * mouse.el (mouse-drag-overlay): Variable deleted.
7390 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7391 (mouse--remap-link-click-p): New function.
7392 (mouse-drag-track): Handle dragging by using temporary Transient
7393 Mark mode, instead of a special overlay.
7394 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7397 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7400 2010-07-02 Juri Linkov <juri@jurta.org>
7402 * autoinsert.el (auto-insert-alist): Fix readability
7403 by using dotted pair notation for lambda.
7405 2010-07-02 Juri Linkov <juri@jurta.org>
7407 * faces.el (read-face-name): Rename arg `string-describing-default'
7408 to `default'. Doc fix. Display the default value in quotes
7409 in the prompt. With empty input, return the `default' arg,
7410 unless the default value is a string (in which case return nil).
7411 (describe-face): Replace the string `default' arg of `read-face-name'
7412 with the symbol `default'.
7414 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7416 * emulation/viper-cmd.el (viper-delete-backward-char)
7417 (viper-del-backward-char-in-insert)
7418 (viper-del-backward-char-in-replace, viper-change)
7419 (viper-backward-indent): Replace delete-backward-char with
7420 delete-char (Bug#6552).
7422 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7424 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7426 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7428 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7429 argument passed to frame-creation-function (Bug#5378).
7431 * faces.el (x-handle-named-frame-geometry)
7432 (x-handle-reverse-video, x-create-frame-with-faces)
7433 (face-set-after-frame-default, tty-create-frame-with-faces):
7434 Don't separately consult default-frame-alist. It is now passed as the
7437 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7439 * startup.el (command-line): Don't call tool-bar-setup in a
7442 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7444 * ruler-mode.el (ruler--save-header-line-format): New fun.
7445 (ruler-mode): Use it as a setter function, so as not to overwrite
7446 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7448 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7450 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7451 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7452 (vc-log-outgoing): Use it.
7453 (vc-diff-internal): Set diff-vc-backend.
7455 * vc/diff-mode.el (diff-vc-backend): New var.
7457 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7459 * dynamic-setting.el (font-setting-change-default-font):
7460 Remove call to message.
7462 2010-06-28 Kenichi Handa <handa@m17n.org>
7464 * international/quail.el (quail-insert-kbd-layout): Fix the
7465 showing of untranslated characters.
7467 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7469 * simple.el (delete-active-region): New option.
7470 (delete-backward-char): Implement in Lisp.
7471 (delete-forward-char): New command.
7473 * mouse.el (mouse-region-delete-keys): Deleted.
7474 (mouse-show-mark): Simplify.
7476 * bindings.el (global-map): Bind delete and DEL, the former to
7477 delete-forward-char.
7479 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7481 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7482 (ruby-mode): Bind indent-line-function (Bug#5119).
7484 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7486 * startup.el (command-line): Recognize "0" X resource value.
7488 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7490 * startup.el (command-line): Use X resources to set the value of
7491 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7493 * menu-bar.el (menu-bar-mode):
7494 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7495 Set init-value to t.
7497 * frame.el (frame-notice-user-settings): Don't change
7498 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7499 vice versa (Bug#2249).
7501 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7503 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7505 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7507 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7508 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7510 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7511 default directories are expanded (Bug#6143).
7513 2010-06-24 Juri Linkov <juri@jurta.org>
7515 * minibuffer.el (completions-format): Change default from nil to
7516 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7518 2010-06-24 Juri Linkov <juri@jurta.org>
7520 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7521 buffer-locally to lambda that re-runs the vc diff command.
7524 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7526 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7527 echo area is in use (Bug#3412).
7529 2010-06-22 Glenn Morris <rgm@gnu.org>
7531 * textmodes/texinfmt.el (texinfo-format-region)
7532 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7533 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7534 (texinfo-format-option, texinfo-noindent):
7535 Use line-beginning-position and line-end-position.
7537 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7538 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7539 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7542 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7544 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7545 forward-line fallout.
7547 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7549 * mouse.el (mouse-appearance-menu): Add docstring.
7551 * help.el (describe-key): Print up-event using key-description.
7553 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7555 * net/zeroconf.el (zeroconf-resolve-service)
7556 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7557 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7559 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7561 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7563 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7565 Avoid displaying files with a nil state in vc-dir.
7566 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7567 cases that cause insertion.
7568 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7571 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7573 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7575 2010-06-29 Leo <sdl.web@gmail.com>
7577 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7579 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7581 * generic-x.el (bat-generic-mode): Fix regexp for command line
7582 switches (Bug#5719).
7584 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7586 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7587 of nconc to avoid pure storage error (Bug#6239).
7589 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7591 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7592 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7593 bindings of bookmark-automatically-show-annotations (Bug#6515).
7595 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7597 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7598 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7600 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7602 * comint.el (make-comint, make-comint-in-buffer): Mention return
7603 value in the docstrings. (Bug#6498)
7605 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7607 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7608 since it is not present when using some non-default switches.
7610 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7612 * simple.el (compose-mail): Fix doc string to refer to
7613 `compose-mail-user-agent-warnings', instead of to the
7614 nonexistent `compose-mail-check-user-agent'.
7616 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7618 Fix an indentation bug:
7620 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7621 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7624 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7625 (c-clear->-pair-props-if-match-before): now return t when they've
7626 cleared properties, nil otherwise.
7627 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7628 by taking account of the existing value.
7630 * progmodes/cc-defs.el
7631 (c-clear-char-property-with-value-function): Fix this to clear the
7632 property rather than overwriting it with nil.
7634 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7636 * emacs-lisp/package.el (package-print-package): Add link to
7637 package description via describe-package.
7638 (describe-package-1): List package requirements. Add button to
7639 perform installation.
7640 (package-menu-describe-package): New command.
7642 * help-mode.el (help-package): New button type.
7644 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7646 * emacs-lisp/package.el: Move package-list-packages binding to
7648 (describe-package, describe-package-1, package--dir): New funs.
7649 (package-activate-1): Use package--dir.
7651 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7653 * help-mode.el (help-package-def): New button type.
7655 * menu-bar.el: Move package-list-packages binding here from
7658 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7660 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7662 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7664 * emacs-lisp/edebug.el (edebug-read-list):
7665 Phase out old-style backquotes.
7667 2010-06-17 Juri Linkov <juri@jurta.org>
7669 * help-mode.el (help-mode): Set buffer-local variable
7670 revert-buffer-function to help-mode-revert-buffer.
7671 (help-mode-revert-buffer): New function.
7673 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7674 before popping to "*info*" (like in other Info functions).
7675 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7676 old-history-forward. Pop to old-buffer-name or "*info*" to
7677 recreate the killed buffer. Set Info-history-forward from
7678 old-history-forward.
7679 (Info-breadcrumbs-depth): Add :group and :version.
7681 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7683 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7685 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7687 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7688 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7690 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7692 * emacs-lisp/package.el (package-menu-mode-map):
7693 Move initialization into declaration.
7695 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7697 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7699 * emacs-lisp/package.el (package-archive-base): Point to
7701 (package-enable, package-load-list): New defcustoms.
7702 (package-user-dir, package-directory-list): Turn into defcustoms.
7703 Don't include package-user-dir in package-directory-list.
7704 (package--builtins-base): Don't include Emacs as a "package".
7705 (package-subdirectory-regexp): New var.
7706 (package-load-all-descriptors, package-compute-transaction)
7707 (package-download-transaction): Obey package-load-list.
7708 (package-activate-1): Rename from package-do-activate.
7709 (package-list-packages-internal): Check package-load-list.
7710 (package-load-descriptor, package-generate-autoloads)
7711 (package-unpack, package-unpack-single)
7712 (package--read-archive-file, package-delete):
7713 Use expand-file-name.
7715 * emacs-lisp/package-x.el: New file. Package uploading
7716 functionality split out from package.el.
7718 * startup.el (command-line): Load packages after reading init file.
7720 2010-06-17 Tom Tromey <tromey@redhat.com>
7722 * emacs-lisp/package.el: New file.
7724 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7726 Fix vc-annotate for renamed files when using Git.
7727 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7728 ls-files. Doe not pass the object as a file name to cat-file, it
7730 (vc-git-annotate-command): Pass the file name using -- to avoid
7731 ambiguity with the revision.
7732 (vc-git-previous-revision): Pass a relative file name.
7734 2010-06-22 Glenn Morris <rgm@gnu.org>
7736 * progmodes/js.el (js-mode-map): Use standard capitalization and
7737 ellipses for menu entries.
7739 * wid-edit.el (widget-complete): Doc fix.
7741 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7743 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7745 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7747 Fix annotating other revisions for renamed files in vc-annotate.
7748 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7749 VC backend. Use it when non-nil.
7750 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7753 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7754 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7755 Do not pass the file name to the 'previous-revision call when we
7756 don't want a file diff. (Bug#6489)
7758 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7760 Fix finding revisions for renamed files in vc-annotate.
7761 * vc/vc.el (vc-find-revision): Add an optional argument for
7762 the VC backend. Use it when non-nil.
7763 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7764 backend to vc-find-revision. (Bug#6487)
7766 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7768 Fix reading file names in Git annotate buffers.
7769 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7770 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7772 2010-06-20 Alan Mackenzie <acm@muc.de>
7774 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7775 in file local variables, set it first.
7777 2010-06-19 Glenn Morris <rgm@gnu.org>
7779 * descr-text.el (describe-char-unicode-data): Insert separating
7780 space when needed. (Bug#6422)
7782 * progmodes/idlwave.el (idlwave-action-and-binding):
7783 Fix typo in 2009-12-03 change. (Bug#6450)
7785 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7787 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7788 handling for `lambda' (misunderstanding).
7790 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7792 * calc/calc-poly.el (math-accum-factors): Make sure that
7793 constants aren't distributed after they are factored out.
7795 2010-06-16 Juri Linkov <juri@jurta.org>
7797 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7798 `list-colors-print'. (Bug#6332)
7800 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7802 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7804 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7805 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7807 * font-lock.el (font-lock-major-mode): Rename from
7808 font-lock-mode-major-mode to distinguish it from
7809 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7810 (font-lock-set-defaults):
7811 * font-core.el (font-lock-default-function): Adjust users.
7812 (font-lock-mode): Don't set it at all.
7814 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7816 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7818 2010-06-16 Glenn Morris <rgm@gnu.org>
7820 * calendar/appt.el (appt-time-msg-list): Doc fix.
7821 (appt-check): Let-bind appt-warn-time.
7822 (appt-add): Make the 3rd argument optional.
7823 Simplify argument names. Doc fix. Check for integer WARNTIME.
7824 Only add WARNTIME to the output list if non-nil.
7826 2010-06-16 Ivan Kanis <apple@kanis.eu>
7828 * calendar/appt.el (appt-check): Let the 3rd element of
7829 appt-time-msg-list specify the warning time.
7830 (appt-add): Add new argument with the warning time. (Bug#5176)
7832 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7834 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7835 older than version 1.6. (Bug#6361)
7837 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7839 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7840 used by cl-do-arglist. (Bug#6408)
7842 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7844 * textmodes/ispell.el (ispell-dictionary-base-alist):
7845 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7846 Suggested by Rolando Pereira (bug#6434).
7848 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7850 * facemenu.el (list-colors-sort): Doc fix.
7852 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7854 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7856 2010-06-14 Juri Linkov <juri@jurta.org>
7858 Add sort option `list-colors-sort'. (Bug#6332)
7859 * facemenu.el (color-rgb-to-hsv): New function.
7860 (list-colors-sort): New defcustom.
7861 (list-colors-sort-key): New function.
7862 (list-colors-display): Doc fix. Sort list according to the option
7864 (list-colors-print): Add HSV values to `help-echo' property of
7867 2010-06-14 Juri Linkov <juri@jurta.org>
7869 * compare-w.el: Move to the "vc" subdirectory.
7871 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7873 * image-mode.el (image-mode-map): Remap left-char and right-char.
7875 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7877 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7879 * term/common-win.el (x-colors): Add all the color names defined
7880 in rgb.txt (Bug#6332).
7882 * facemenu.el (list-colors-print): Don't print extra names if it
7883 will overflow the window width.
7885 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7888 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7890 * files.el (make-directory): Doc fix (bug#6396).
7892 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7894 * net/tramp.el (tramp-remote-process-environment): Protect version
7895 string by apostroph.
7896 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7898 (tramp-file-name-for-operation): Add `call-process-region'.
7899 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7901 * net/tramp-compat.el (top): Do not autoload
7902 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7903 only when `start-file-process' is not bound.
7904 (tramp-advice-file-expand-wildcards): Do not use
7905 `tramp-handle-file-remote-p'.
7906 (tramp-compat-make-temp-file): Handle the case, that
7907 `make-temp-file' has no third argument EXTENSION.
7909 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7911 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7913 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7915 2010-06-11 Juri Linkov <juri@jurta.org>
7917 * finder.el (finder-known-keywords): Add keyword "vc"
7918 for version control.
7920 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7921 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7922 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7923 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7925 2010-06-11 Juri Linkov <juri@jurta.org>
7927 Move version control related files to the "vc" subdirectory.
7928 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7929 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7930 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7931 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7932 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7933 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7934 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7935 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7936 Move files to the "vc" subdirectory.
7938 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7940 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7943 2010-06-11 Stephen Eglen <stephen@gnu.org>
7945 * shell.el: Bind `shell-resync-dirs' to M-RET.
7947 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7949 * notifications.el: Move file from lisp/net, because it is
7950 supposed to talk locally to the user.
7952 2010-06-10 Julien Danjou <julien@danjou.info>
7954 * net/notifications.el (notifications-on-action-signal)
7955 (notifications-on-closed-signal): Pass notification id as first
7956 argument to the callback functions. Add docstrings.
7957 (notifications-notify): Fix docstring.
7959 2010-06-10 Glenn Morris <rgm@gnu.org>
7961 * emacs-lisp/authors.el (authors-ignored-files)
7962 (authors-valid-file-names): Add some files.
7964 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7966 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7967 merge conflict, giving preference to the emacs-23 version of the code.
7969 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7971 * emacs-lisp/advice.el (ad-compile-function):
7972 Define warning-suppress-types before we let-bind it (bug#6275).
7974 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7975 declare it, make it buffer-local and permanent-local (bug#6324).
7976 (vc-resynch-window): Adjust name.
7977 * vc-hooks.el (vc-find-file-hook): Adjust name.
7979 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7981 * net/notifications.el (notifications-notify): Fix docstring.
7983 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7985 Update to Unicode 6.0.0 beta.
7986 * international/charprop.el: Update copyright.
7987 * international/mule-cmds.el (ucs-names): Update character ranges.
7988 * international/uni-bidi.el:
7989 * international/uni-category.el:
7990 * international/uni-combining.el:
7991 * international/uni-comment.el:
7992 * international/uni-decimal.el:
7993 * international/uni-decomposition.el:
7994 * international/uni-digit.el:
7995 * international/uni-lowercase.el:
7996 * international/uni-mirrored.el:
7997 * international/uni-name.el:
7998 * international/uni-numeric.el:
7999 * international/uni-old-name.el:
8000 * international/uni-titlecase.el:
8001 * international/uni-uppercase.el: Regenerate.
8003 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8005 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8006 (smie-precs-precedence-table): Fix typo in docstring.
8008 * vc-mtn.el (log-edit-extract-headers): Declare function.
8010 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8012 * net/notifications.el (dbus-register-signal): Declare function.
8013 (notifications-notify): Fix typos and reflow docstring.
8015 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8017 Improve VC create/retrieve tag/branch.
8018 * vc.el (vc-create-tag): Do not read the directory name for VCs
8019 with repository revision granularity. Adjust the tag/branch
8020 prompt. Reset VC properties.
8021 (vc-retrieve-tag): Do not read the directory name for VCs
8022 with repository revision granularity. Reset VC properties.
8024 2010-06-09 Julien Danjou <julien@danjou.info>
8026 * net/notifications.el: New file.
8028 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8030 Add optional support for resetting VC properties.
8031 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8032 call vc-file-clearprops when true.
8033 (vc-resynch-buffer): Add new optional argument, pass it down.
8034 (vc-resynch-buffers-in-directory): Likewise.
8036 Improve support for special markup in the VC commit message.
8037 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8038 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8039 * vc-git.el (vc-git-checkin):
8040 * vc-bzr.el (vc-bzr-checkin): Likewise.
8042 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8045 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8047 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8049 * iimage.el: Remove images as soon as the underlying text is modified.
8050 (iimage-modification-hook): New function.
8051 (iimage-mode-buffer): Use it.
8053 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8056 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8057 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8058 (smie-indent-keyword): Add handling of open-paren keywords.
8059 (smie-indent-comment-continue): Don't assume comment-continue.
8061 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8063 * window.el (pop-to-buffer): Remove the conditional that
8064 compares new-window and old-window, so it will reselect
8065 the selected window unconditionally.
8066 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8068 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * emacs-lisp/smie.el (smie-indent-offset-after)
8071 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8072 (smie-indent-after-keyword): Use them.
8073 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8074 (smie-indent-keyword): Tweak the black magic.
8075 (smie-indent-comment-continue): Strip comment-continue before use.
8076 (smie-indent-functions): Indent comments before keywords.
8078 2010-06-06 Juri Linkov <juri@jurta.org>
8080 * isearch.el (isearch-lazy-highlight-search): Fix looping
8081 by checking for empty match. This syncs this loop with the
8082 similar loop in `isearch-search'. (Bug#6362)
8084 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8086 * net/dbus.el (dbus-register-method): Declare function.
8087 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8088 (dbus-introspect): Doc fix.
8089 (dbus-event-bus-name, dbus-introspect-get-interface)
8090 (dbus-introspect-get-argument): Reflow docstrings.
8092 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8094 vc-log-incoming/vc-log-outgoing fixes for Git.
8095 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8096 incoming/outgoing logs.
8097 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8098 instead of vc-git-compute-remote.
8099 (vc-git-compute-remote): Remove.
8101 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8103 * term/common-win.el (x-colors): Add "dark green" and "dark
8104 turquoise" (Bug#6332).
8106 2010-06-04 Juri Linkov <juri@jurta.org>
8108 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8109 Instead of setting `replace' to t and replacing the same string
8110 with itself, don't do certain actions when
8111 kill-do-not-save-duplicates is non-nil and string is equal to car
8112 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8113 interprogram-paste strings to kill-ring, and don't push the input
8114 argument `string' to kill-ring.
8115 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8117 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8119 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8121 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8123 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8124 (tramp-gvfs-handler-mounted-unmounted)
8125 (tramp-gvfs-connection-mounted-p): Handle default-location.
8127 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8128 move files to trash.
8130 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8132 * international/mule-cmds.el (nonascii-insert-offset)
8133 (nonascii-translation-table): Add obsolescence information.
8135 * international/mule.el (make-translation-table-from-vector): Doc fix.
8137 2010-06-03 Glenn Morris <rgm@gnu.org>
8139 * desktop.el (desktop-clear-preserve-buffers):
8140 Add "*Warnings*" buffer. (Bug#6336)
8142 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8144 vc-log-incoming/vc-log-outgoing improvements for Git.
8145 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8147 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8149 Add bindings for vc-log-incoming and vc-log-outgoing.
8150 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8151 and vc-log-outgoing.
8152 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8153 and vc-log-outgoing.
8155 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8157 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8158 (rcirc-handler-366): Always sort nicknames.
8160 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8162 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8164 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8166 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8168 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8170 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8171 (rcirc-sort-nicknames-join): Avoid setq.
8173 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8175 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8176 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8177 (rcirc-handler-366): Use them.
8179 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8181 Split smie-indent-calculate into more manageable chunks.
8182 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8183 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8184 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8185 (smie-indent-exps): Extract from smie-indent-calculate.
8186 (smie-indent-functions): New var.
8187 (smie-indent-functions): Use them.
8189 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8192 (smie-indent-calculate): Simplify and cleanup.
8194 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8196 * net/tramp-gvfs.el (top): Require url-util.
8197 (tramp-gvfs-mount-point): Remove.
8198 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8200 (with-tramp-dbus-call-method): Format trace message.
8201 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8202 Implement backup call, when operation on local files fails.
8203 Use progress reporter. Flush properties of changed files.
8204 (tramp-gvfs-handle-make-directory): Make more traces.
8205 (tramp-gvfs-url-file-name): Hexify file name in url.
8206 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8207 into account for the resulting file name.
8208 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8209 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8210 (tramp-gvfs-handler-mounted-unmounted)
8211 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8212 attribute "default_location". Set "prefix" property.
8213 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8214 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8215 exists. Raise an error, if not (due to a corresponding answer
8216 "no" in interactive questions, for example).
8218 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8220 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8222 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8224 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8227 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8229 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8230 * vc-git.el (vc-git-compute-remote): New function.
8231 (vc-git-log-outgoing): Use it instead of hard coding a value.
8232 (vc-git-log-incoming): New function.
8234 Improve state updating for VC tag commands.
8235 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8236 to update the state of all buffers in the directory.
8238 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8240 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8242 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8243 `file-directory-p' to the filename part rather than to the whole text.
8245 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8247 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8249 2010-05-31 Drew Adams <drew.adams@oracle.com>
8251 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8253 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8255 * subr.el (momentary-string-display): Just use read-event to read
8256 the exit event (Bug#6238).
8258 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8260 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8262 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8264 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8265 Suggested by Eli Zaretskii <eliz@gnu.org>.
8267 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * minibuffer.el (completion-file-name-table): Don't return a boundary
8270 past the end of `string' (bug#6299).
8271 (completion--file-name-table): Delegate to completion-file-name-table
8272 for the `boundaries' case.
8274 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8276 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8279 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8280 `path-separator', but maintain compatibility with Emacs 20.2.
8282 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8284 * server.el (server-process-filter): Receive parent-id argument
8286 (server-create-window-system-frame): New arg. Pass parent-id as
8289 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8291 Bidi-sensitive word movement with arrow keys.
8292 * subr.el (right-arrow-command, left-arrow-command): Move to
8295 * bindings.el (right-char, left-char): Move from subr.el and
8296 rename from right-arrow-command and left-arrow-command.
8297 (right-word, left-word): New functions.
8298 (global-map) <right>: Bind to right-char.
8299 (global-map) <left>: Bind to left-char.
8300 (global-map) <C-right>: Bind to right-word.
8301 (global-map) <C-left>: Bind to left-word.
8303 * ls-lisp.el (ls-lisp-classify-file): New function.
8304 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8305 (ls-lisp-classify): Call ls-lisp-classify-file.
8306 (insert-directory): Remove blanks from switches.
8308 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8310 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8311 (ansi-color-drop-regexp): New constant.
8312 (ansi-color-apply, ansi-color-filter-region)
8313 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8314 (ansi-color-apply): Build string list before calling concat.
8316 2010-05-28 Juri Linkov <juri@jurta.org>
8318 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8319 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8322 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8324 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8325 to ignored backtrace functions.
8326 (with-progress-reporter): Expand docstring.
8327 (tramp-handle-delete-file): Implement TRASH argument.
8328 (tramp-get-remote-trash): New defun.
8330 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8332 * net/tramp-compat.el (tramp-compat-delete-file):
8333 Use `symbol-value' for backward compatibility.
8335 * net/tramp.el (tramp-handle-make-symbolic-link)
8337 (tramp-do-copy-or-rename-file-via-buffer)
8338 (tramp-do-copy-or-rename-file-directly)
8339 (tramp-do-copy-or-rename-file-out-of-band)
8340 (tramp-handle-process-file, tramp-handle-call-process-region)
8341 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8342 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8343 (tramp-delete-temp-file-function): Use `delete-file' instead
8344 of `tramp-compat-delete-file'.
8346 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8347 (tramp-fish-handle-make-symbolic-link)
8348 (tramp-fish-handle-process-file): Use `delete-file' instead
8349 of `tramp-compat-delete-file'.
8351 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8352 Use `delete-file' instead of `tramp-compat-delete-file'.
8354 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8355 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8356 `tramp-compat-delete-file'.
8358 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8359 Use `delete-file' instead of `tramp-compat-delete-file'.
8361 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8362 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8363 (tramp-smb-handle-write-region): Use `delete-file' instead of
8364 `tramp-compat-delete-file'.
8365 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8367 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8369 * dired.el (dired-delete-file): New arg TRASH.
8370 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8371 (dired-do-flagged-delete, dired-do-delete): Use trash.
8373 * speedbar.el (speedbar-item-delete): Allow trashing.
8375 * files.el (delete-directory): New arg TRASH.
8377 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8378 (ange-ftp-rename-remote-to-remote)
8379 (ange-ftp-rename-local-to-remote)
8380 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8381 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8383 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8386 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8387 handle new TRASH arg of `delete-file'.
8389 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8390 (tramp-handle-make-symbolic-link, tramp-handle-load)
8391 (tramp-do-copy-or-rename-file-via-buffer)
8392 (tramp-do-copy-or-rename-file-directly)
8393 (tramp-do-copy-or-rename-file-out-of-band)
8394 (tramp-handle-process-file, tramp-handle-call-process-region)
8395 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8396 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8397 (tramp-delete-temp-file-function): Use null TRASH arg in
8398 tramp-compat-delete-file call.
8400 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8401 (tramp-fish-handle-delete-file)
8402 (tramp-fish-handle-make-symbolic-link)
8403 (tramp-fish-handle-process-file): Use null TRASH arg in
8404 `tramp-compat-delete-file' call.
8406 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8407 arg in `tramp-compat-delete-file' call.
8409 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8410 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8411 `tramp-compat-delete-file' call.
8413 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8414 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8415 `tramp-compat-delete-file' call.
8417 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8418 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8419 (tramp-smb-handle-write-region): Use null TRASH arg in
8420 tramp-compat-delete-file call.
8421 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8422 (tramp-smb-handle-delete-file): Rename arg.
8424 * diff.el (diff-sentinel):
8425 * epg.el (epg--make-temp-file, epg-decrypt-string)
8426 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8427 * jka-compr.el (jka-compr-partial-uncompress)
8428 (jka-compr-call-process, jka-compr-write-region):
8429 * server.el (server-sentinel): Remove optional arg from
8430 delete-file, reverting 2010-05-03 change.
8432 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8434 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8435 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8437 2010-05-27 Kenichi Handa <handa@m17n.org>
8439 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8440 element of GSTRING is nil.
8442 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * emacs-lisp/smie.el (smie-forward-token-function)
8445 (smie-backward-token-function): New vars.
8446 (smie-backward-sexp, smie-forward-sexp)
8447 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8448 (smie-default-backward-token): Rename from smie-backward-token and
8450 (smie-default-forward-token): Rename from smie-forward-token and
8452 (smie-next-sexp): Handle nil results from next-token.
8453 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8455 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8457 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8458 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8460 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8462 * htmlfontify.el (hfy-face-resolve-face): New function.
8463 (hfy-face-to-style): Use it (Bug#6279).
8465 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8468 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8470 2010-05-26 Glenn Morris <rgm@gnu.org>
8472 * emulation/edt.el (edt-load-keys): Use locate-library.
8474 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8476 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8477 (log-edit-changelog-entries): Doc fix.
8478 (log-edit-changelog-insert-entries): Args changed.
8479 Rename relative filenames in ChangeLog entries. Delete tabs.
8480 (log-edit-insert-changelog-entries): Reorganize return value of
8481 `log-edit-changelog-entries' to pass filenames to
8482 log-edit-changelog-insert-entries.
8484 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8486 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8487 `image-dired-dired-insert-marked-thumbs' to
8488 `image-dired-dired-toggle-marked-thumbs'.
8490 * image-dired.el: Require cl when compiling.
8491 (image-dired-dired-toggle-marked-thumbs): Rename from
8492 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8493 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8494 to 'no-dir. Skip files whose names don't match
8495 `image-file-name-regexp'. When file has a thumbnail overlay,
8496 delete it. (Bug#5270)
8498 2010-05-25 Juri Linkov <juri@jurta.org>
8500 * image-mode.el (image-mode): Add image-after-revert-hook to
8502 (image-after-revert-hook): New function. (Bug#5669)
8504 2010-05-25 Juri Linkov <juri@jurta.org>
8506 * image.el (image-animated-p): When delay between animated images
8507 is 0, set it to 10 (0.1 sec). (Bug#6258)
8509 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8511 * net/tramp.el (tramp-handle-insert-directory): Don't use
8512 `forward-word', its default syntax could be changed.
8514 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8516 * net/tramp.el (tramp-progress-reporter-update): New defun.
8517 (with-progress-reporter): Use it.
8518 (tramp-process-actions):
8519 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8520 Preserve current message, in order to let progress reporter continue
8521 afterwards. (Bug#6257)
8523 2010-05-25 Glenn Morris <rgm@gnu.org>
8525 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8528 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8530 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8531 (rcirc-default-full-name): Change to "unknown".
8532 (rcirc-user-name-history): Add variable.
8534 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8535 Jonathan Rockway <jon@jrock.us>
8537 * net/rcirc.el (rcirc-server-alist): Add :pass.
8538 (rcirc): When prompting for connection parameters, also prompt for
8539 username and password.
8540 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8541 value to server when connecting.
8543 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8546 (smie-merge-prec2s): Pass the tables as separate args.
8547 (smie-bnf-precedence-table): Adjust call accordingly.
8548 (smie-prec2-levels): Set levels at the end.
8550 Replace Lisp calls to delete-backward-char by delete-char.
8551 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8552 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8553 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8554 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8555 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8556 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8557 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8558 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8559 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8560 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8561 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8562 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8563 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8564 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8565 delete-backward-char by calls to delete-char.
8567 2010-05-25 Kenichi Handa <handa@m17n.org>
8569 * language/hebrew.el (hebrew-shape-gstring): New function.
8570 Register it in composition-function-table for all Hebrew combining
8573 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8575 * epa.el (epa--select-keys): Don't explicitly delete the window since
8576 that can fail (e.g. sole window in frame). Use dedication instead.
8578 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8580 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8582 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8584 * image.el (image-refresh): Define as an alias for image-flush.
8586 * image-mode.el (image-toggle-display-image): Caller changed.
8588 2010-05-21 Juri Linkov <juri@jurta.org>
8590 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8591 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8592 whitespace, call wildcard-to-regexp on substrings and concat them
8593 with "\\|". (Bug#6114)
8595 2010-05-21 Alan Mackenzie <acm@muc.de>
8597 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8598 Replace parameter `here' with `here-' and `here-plus', which sandwich
8599 any pertinent CPP construct.
8600 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8601 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8602 CPP construct from taking part in the scanning.
8604 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8606 * net/tramp.el (tramp-do-copy-or-rename-file)
8607 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8608 Tune `with-progress-reporter' messages.
8609 (tramp-handle-vc-registered):
8610 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8611 (tramp-fish-handle-insert-file-contents)
8612 (tramp-fish-maybe-open-connection):
8613 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8614 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8615 (tramp-imap-handle-insert-file-contents)
8616 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8618 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8620 * add-log.el (change-log-font-lock-keywords):
8621 Highlight all authors in multi-author entries.
8623 * smerge-mode.el (smerge-refine-ignore-whitespace)
8624 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8625 Fix typos in docstrings.
8626 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8628 2010-05-21 Glenn Morris <rgm@gnu.org>
8630 * progmodes/fortran.el (fortran-mode):
8631 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8633 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8634 having a relative path in src/Makefile.in.
8636 2010-05-20 Kevin Ryde <user42@zip.com.au>
8638 * help-mode.el (help-make-xrefs): For Info node links turn
8639 newlines into spaces. Link node names with newlines are matched
8640 by help-xref-info-regexp and buttonized, this change ensures they
8641 can be followed successfully with RET. (Bug#6206)
8643 2010-05-20 Juri Linkov <juri@jurta.org>
8645 * locate.el (locate): Use pop-to-buffer instead of
8646 switch-to-buffer-other-window. (Bug#6204)
8648 2010-05-20 Juri Linkov <juri@jurta.org>
8650 * replace.el (replace-highlight): Fix lazy-highlighting
8651 for `M-s w str M-% str RET'.
8653 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8655 * isearch.el (isearch-yank-word-or-char): Pull next subword
8656 when `subword-mode' is activated. (Bug#6220)
8658 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8660 * isearch.el (isearch-update-post-hook): New hook.
8661 (isearch-update): Use the new hook. (Bug#6225)
8663 2010-05-20 Juri Linkov <juri@jurta.org>
8665 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8666 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8669 2010-05-20 Juri Linkov <juri@jurta.org>
8671 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8674 2010-05-20 Juri Linkov <juri@jurta.org>
8676 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8677 FILE-NAME to read from the minibuffer when called interactively
8678 with prefix argument instead of using buffer-file-name.
8679 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8681 * dired.el: Update autoloads.
8683 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8685 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8686 nxml-finish-element, for consistency with SGML mode.
8688 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8691 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8693 * composite.el: Require cl when compiling.
8694 (reference-point-alist, compose-gstring-for-graphic)
8695 (compose-gstring-for-terminal): Fix typos in docstrings.
8697 2010-05-19 Juri Linkov <juri@jurta.org>
8699 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8700 set-window-parameter.
8702 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8704 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8706 (tramp-maybe-open-connection): Use it.
8708 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8710 * simple.el (move-end-of-line): Make sure we are at line beginning
8711 before backing up to end of previous line.
8713 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8715 * password-cache.el (password-cache-remove): Fix docstring.
8717 * net/secrets.el: Autoload the widget functions.
8718 (secrets-search-items, secrets-create-item)
8719 (secrets-get-attributes, secrets-expand-item): Attributes will be
8720 stored on the password database without leading ":", as all other
8722 (secrets-mode): Fix docstring.
8723 (secrets-show-secrets): Provide it as autoloaded command only when
8724 D-Bus support is available. Check existence of Secret Service API.
8726 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * indent.el (indent-region): Deactivate region (bug#6200).
8730 2010-05-19 Glenn Morris <rgm@gnu.org>
8732 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8734 2010-05-19 Kenichi Handa <handa@m17n.org>
8736 * composite.el: Register compose-gstring-for-graphic in
8737 composition-function-table only for combining characters (Mn, Mc, Me).
8739 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8741 * calc/calc-trail.el (calc-trail-isearch-forward)
8742 (calc-trail-isearch-backward): Ensure that the new window
8743 point is set correctly.
8745 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8747 * subr.el (read-quoted-char): Resolve modifiers after key
8748 remapping (bug#6212).
8750 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8752 Add visualization code for secrets.
8753 * net/secrets.el (secrets-mode): New major mode.
8754 (secrets-show-secrets, secrets-show-collections)
8755 (secrets-expand-collection, secrets-expand-item)
8756 (secrets-tree-widget-after-toggle-function)
8757 (secrets-tree-widget-show-password): New defuns.
8759 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8762 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8763 handled in smie-next-sexp.
8764 (smie-indent-calculate): Provide a starting indentation (so the
8765 recursion is well-founded ;-).
8767 Fix handling of non-associative equal levels.
8768 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8769 when it's not needed.
8770 (smie-op-left, smie-op-right): New functions.
8771 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8772 Better handle equal levels to distinguish the associative case from
8773 the "multi-keyword construct" case.
8774 (smie-backward-sexp, smie-forward-sexp): Use it.
8776 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8778 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8780 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8781 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8783 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8785 Provide a simple generic indentation engine and use it for Prolog.
8786 * emacs-lisp/smie.el: New file.
8787 * progmodes/prolog.el (prolog-smie-op-levels)
8788 (prolog-smie-indent-rules): New var.
8789 (prolog-mode-variables): Use them to configure SMIE.
8790 (prolog-indent-line, prolog-indent-level): Remove.
8792 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8794 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8795 order before computing the averages.
8797 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8799 * calc/calc-vec.el (calc-histogram):
8800 (calcFunc-histogram): Allow vectors as inputs.
8801 (math-vector-avg): New function.
8803 * calc/calc-ext.el (math-group-float): Have the number of digits
8804 being grouped depend on the radix (Bug#6189).
8806 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8808 * version.el (emacs-copyright, emacs-version): Don't define here,
8809 now that emacs.c defines it.
8811 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8813 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8814 "Describe Language Environment" menu item.
8816 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8818 Bidi-sensitive movement with arrow keys.
8819 * subr.el (right-arrow-command, left-arrow-command): New functions.
8821 * bindings.el (global-map): Bind them to right and left arrow keys.
8823 Don't override standard definition of convert-standard-filename.
8824 * files.el (convert-standard-filename):
8825 Call w32-convert-standard-filename and dos-convert-standard-filename on
8826 the corresponding systems.
8828 * w32-fns.el (w32-convert-standard-filename): Rename from
8829 convert-standard-filename. Doc fix.
8831 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8832 (convert-standard-filename): Don't defalias.
8833 (register-name-alist, make-register, register-value)
8834 (set-register-value, intdos): Obsolete aliases for the
8835 corresponding dos-* functions and variables.
8836 (dos-intdos): Add a doc string.
8838 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8840 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8841 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8842 (math-compose-tex-func):
8843 * calc/calccomp.el (math-compose-expr):
8844 * calc/calc-ext.el (math-format-flat-expr-fancy):
8845 * calc/calc-store.el (calc-read-var-name):
8846 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8848 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8849 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8850 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8851 (math-standard-units): Add units.
8853 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8855 * progmodes/asm-mode.el (asm-mode):
8856 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8858 * pcomplete.el (pcomplete-completions-at-point): New function,
8859 extracted from pcomplete-std-complete.
8860 (pcomplete-std-complete): Use it.
8862 2010-05-15 Glenn Morris <rgm@gnu.org>
8864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8865 Remove references to CVS, RCS and Old directories.
8867 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8869 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8872 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8875 (sh-mode-syntax-table): Give it a default value instead.
8876 (sh-header-marker): Make buffer-local.
8877 (sh-mode): Move make-local-variable to the corresponding setq.
8878 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8879 Use complete-with-action.
8881 * simple.el (prog-mode): New (abstract) major mode.
8882 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8883 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8885 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8887 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8888 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8889 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8890 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8891 (sql-escape-newlines-filter, sql-input-sender)
8892 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8894 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8896 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8898 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8899 latex-open-block and C-c / to latex-close-block.
8901 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8902 and C-c C-e to sgml-close-tag.
8904 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8906 * net/tramp.el (with-progress-reporter): Create reporter object
8907 only when the message would be displayed. Handle nested calls.
8908 (tramp-handle-load, tramp-handle-file-local-copy)
8909 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8910 (tramp-maybe-send-script, tramp-find-shell):
8911 Use `with-progress-reporter'.
8912 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8915 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8916 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8917 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8918 Use `with-progress-reporter'.
8920 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8922 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8923 process everytime when spellchecking from the minibuffer (bug#6143).
8925 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8929 * dos-fns.el: Add "dos-" prefix for namespace control.
8930 (convert-standard-filename): Define as alias for
8931 dos-convert-standard-filename but only if applicable.
8933 2010-05-12 Alan Mackenzie <acm@muc.de>
8935 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8936 Push the mark at the start of these functions when appropriate.
8938 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8940 * minibuffer.el (completion-cycle-threshold): New custom var.
8941 (completion--do-completion): Use it.
8942 (minibuffer-complete): Use cycling if appropriate.
8944 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8946 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8947 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8949 2010-05-11 Juri Linkov <juri@jurta.org>
8951 * scroll-all.el (scroll-all-check-to-scroll):
8952 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8954 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * iimage.el (iimage-mode-map): Move initialization into declaration.
8957 (iimage-mode-buffer): Use with-silent-modifications.
8958 Simplify calling convention. Adjust callers.
8959 (iimage-mode): Don't run hook redundantly.
8961 * minibuffer.el (completion-pcm--pattern->regex):
8962 Fix last change (bug#6160).
8964 2010-05-10 Juri Linkov <juri@jurta.org>
8966 Remove nodes visited during Isearch from the Info history.
8967 * info.el (Info-isearch-initial-history)
8968 (Info-isearch-initial-history-list): New variables.
8969 (Info-isearch-start): Record initial values of
8970 Info-isearch-initial-history and Info-isearch-initial-history-list.
8971 Add Info-isearch-end to isearch-mode-end-hook.
8972 (Info-isearch-end): New function.
8974 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8976 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8977 format string, in order to work around a bug in pdksh.
8978 Reported by Gilles Pion <gpion@lfdj.com>.
8979 (tramp-handle-verify-visited-file-modtime): Do not send a command
8980 when the connection is not established.
8981 (tramp-handle-set-file-times): Simplify the check for utc.
8983 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8985 Fix use of `filter-buffer-substring' (rework previous change).
8986 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8987 (cua-repeat-replace-region):
8988 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8989 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8990 (cua-cut-region-to-global-mark): Use it.
8992 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8994 * progmodes/sql.el: Version 2.1.
8995 (sql-product-alist): Redesign structure of product info.
8996 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8997 (sql-port, sql-port-history): New variables.
8998 (sql-interactive-product): New variable.
8999 (sql-send-terminator): New variable.
9000 (sql-imenu-generic-expression): Add "Types" imenu entry.
9001 (sql-oracle-login-params, sql-sqlite-login-params)
9002 (sql-mysql-login-params, sql-solid-login-params)
9003 (sql-sybase-login-params, sql-informix-login-params)
9004 (sql-ingres-login-params, sql-ms-login-params)
9005 (sql-postgres-login-params, sql-interbase-login-params)
9006 (sql-db2-login-params, sql-linter-login-params)
9007 (sql-oracle-scan-on): New variables.
9008 (sql-mode-map): Add C-c C-i to start interactive mode.
9009 (sql-mode-menu): Update existing menu entries.
9010 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9011 (sql-mode-oracle-font-lock-keywords)
9012 (sql-mode-postgres-font-lock-keywords)
9013 (sql-mode-ms-font-lock-keywords)
9014 (sql-mode-sybase-font-lock-keywords)
9015 (sql-mode-informix-font-lock-keywords)
9016 (sql-mode-interbase-font-lock-keywords)
9017 (sql-mode-ingres-font-lock-keywords)
9018 (sql-mode-solid-font-lock-keywords)
9019 (sql-mode-mysql-font-lock-keywords)
9020 (sql-mode-sqlite-font-lock-keywords)
9021 (sql-mode-db2-font-lock-keywords)
9022 (sql-mode-linter-font-lock-keywords): Update initialization to
9023 reduce run-time complexity.
9024 (sql-add-product, sql-del-product): New functions.
9025 (sql-set-product-feature, sql-get-product-feature): New functions.
9026 (sql-product-font-lock): Update product API.
9027 (sql-add-product-keywords): New function.
9028 (sql-highlight-product): Update product API.
9029 (sql-help-list-products): New function.
9030 (sql-help): Dynamically lists free and non-free products.
9031 (sql-get-login): Correct bug in handling history and added
9033 (sql-copy-column): Copy without properties.
9034 (sqli-input-sender): Apply filters to SQLi input.
9035 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9036 Implement as a filter.
9037 (sql-escape-newlines-filter): Implement as a filter.
9038 (sql-remove-tabs-filter): New function.
9039 (sql-send-magic-terminator): New function.
9040 (sql-send-string): Implement magic terminator.
9041 (sql-send-region): Use `sql-send-string'.
9042 (sql-interactive-mode): Use product API.
9043 (sql-product-interactive): Use product API.
9044 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9045 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9046 (sql-db2, sql-linter): Use `sql-product-interactive'.
9047 (sql-connect): New function.
9048 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9049 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9050 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9051 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9054 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9057 New custom variable.
9058 (completion-pcm--string->pattern): Use it.
9059 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9060 Make it handle any symbol as `any'.
9061 (completion-pcm--merge-completions): Extract common suffix for the new
9062 `prefix' symbol as well.
9063 (completion-substring--all-completions): Use the new `prefix' symbol.
9065 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9067 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9069 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9070 (tramp-compat-funcall): New defmacro.
9071 (tramp-compat-line-beginning-position)
9072 (tramp-compat-line-end-position)
9073 (tramp-compat-temporary-file-directory)
9074 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9075 (tramp-compat-copy-file, tramp-compat-copy-directory)
9076 (tramp-compat-delete-file, tramp-compat-delete-directory)
9077 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9078 * net/tramp.el (top, with-progress-reporter)
9079 (tramp-rfn-eshadow-setup-minibuffer)
9080 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9081 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9082 (tramp-completion-mode-p, tramp-check-for-regexp)
9083 (tramp-open-connection-setup-interactive-shell)
9084 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9085 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9086 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9087 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9088 (tramp-reporter-dump-variable, tramp-load-report-modules)
9089 (tramp-append-tramp-buffers)
9090 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9092 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9094 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9097 buffer-modtime. Adjust users.
9099 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9101 * international/mule.el (auto-coding-alist): Only purecopy
9102 car of each item, not the whole list (Bug#6083).
9104 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9106 * progmodes/js.el (js-mode): Make paragraph variables local before
9107 calling c-setup-paragraph-variables (Bug#6071).
9109 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9111 * composite.el (compose-region, reference-point-alist): Fix typos
9114 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9116 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9117 gnuplot's "set" command.
9119 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9121 * abbrev.el (last-abbrev-text): Doc fix.
9122 (abbrev-prefix-mark): Don't escape parenthesis.
9124 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9126 * composite.el (find-composition): Doc fix.
9128 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9130 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9131 (sql-oracle-program, sql-sqlite-options)
9132 (sql-query-placeholders-and-send): Doc fixes.
9133 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9134 (sql-imenu-generic-expression, sql-buffer)
9135 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9136 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9137 (sql-mode-sybase-font-lock-keywords)
9138 (sql-mode-informix-font-lock-keywords)
9139 (sql-mode-interbase-font-lock-keywords)
9140 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9141 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9142 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9143 (sql-product-feature, sql-highlight-product)
9144 (comint-line-beginning-position, sql-rename-buffer)
9145 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9146 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9147 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9148 Fix typos in docstrings.
9150 2010-05-08 Juri Linkov <juri@jurta.org>
9152 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9153 property instead of `invisible' and `after-string' (bug#5998).
9155 2010-05-08 Juri Linkov <juri@jurta.org>
9157 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9159 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9161 * filecache.el (file-cache-add-directory-list)
9162 (file-cache-add-directory-recursively): Fix typos in docstrings.
9164 2010-05-08 Kenichi Handa <handa@m17n.org>
9166 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9167 (gujarati-composable-pattern): Fix typo.
9169 2010-05-08 Kenichi Handa <handa@m17n.org>
9171 * language/indian.el (oriya-composable-pattern)
9172 (tamil-composable-pattern, malayalam-composable-pattern):
9173 Add two-part vowels to "v" (vowel sign).
9175 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9177 * files.el (copy-directory): Handle symlinks (Bug#5982).
9179 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9181 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9182 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9185 2010-05-08 Glenn Morris <rgm@gnu.org>
9187 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9189 * minibuffer.el (completion-at-point): Doc fix.
9191 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * electric.el (Electric-command-loop): Minor tweak.
9195 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9196 better with dedicated windows.
9198 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9200 * Version 23.2 released.
9202 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9203 Stefan Monnier <monnier@iro.umontreal.ca>
9205 Highlight vendor specific properties.
9206 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9207 (css-proprietary-property): New face.
9208 (css-font-lock-keywords): Use them.
9210 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9212 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9214 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9217 * files.el (auto-mode-alist): Remove redundant entries.
9219 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9220 * simple.el (auto-save-mode): Move from files.el.
9221 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9223 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9225 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9227 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9229 * mail/binhex.el (binhex-decode-region-internal)
9230 * mail/uudecode.el (uudecode-decode-region-internal)
9231 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9232 (dns-read-type, dns-query)
9233 * pgg-parse.el (pgg-parse-armor)
9234 * pgg.el (pgg-verify-region)
9235 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9238 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9240 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9242 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9244 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9245 * emulation/cua-base.el (cua-repeat-replace-region):
9246 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9247 (cua-cut-region-to-global-mark):
9248 Remove text properties with `set-text-properties'.
9250 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9252 * net/tramp.el (top, with-progress-reporter):
9253 Use `symbol-function' inside `funcall'.
9255 * net/tramp-compat.el (tramp-compat-file-attributes)
9256 (tramp-compat-delete-file, tramp-compat-delete-directory):
9257 Handle only `wrong-number-of-arguments' error.
9259 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9260 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9263 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9265 * minibuffer.el (completion--sreverse, completion--common-suffix):
9267 (completion-pcm--merge-completions): Extract common suffix when safe.
9269 * emacs-lisp/easy-mmode.el (define-minor-mode):
9270 Make :variable more flexible.
9271 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9273 2010-05-05 Juri Linkov <juri@jurta.org>
9275 Add `slow' and `history' tags to the desktop data.
9277 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9278 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9279 (Info-finder-find-node): Require `finder.el' to be able
9280 to restore node from the desktop.
9281 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9282 data `Info-history' and `slow' tag in the assoc list.
9283 (Info-restore-desktop-buffer): Don't restore nodes with the
9284 `slow' tag. Restore `Info-history'.
9286 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9288 Add FORCE argument to `delete-file'.
9290 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9291 forcing to delete the temporary file.
9292 (ange-ftp-delete-file): Add FORCE arg.
9293 (ange-ftp-rename-remote-to-remote)
9294 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9295 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9296 Force file deletion.
9298 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9300 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9301 (tramp-handle-make-symbolic-link, tramp-handle-load)
9302 (tramp-do-copy-or-rename-file-via-buffer)
9303 (tramp-do-copy-or-rename-file-directly)
9304 (tramp-do-copy-or-rename-file-out-of-band)
9305 (tramp-handle-process-file, tramp-handle-call-process-region)
9306 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9307 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9308 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9310 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9311 (tramp-fish-handle-make-symbolic-link)
9312 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9314 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9315 Use `tramp-compat-delete-file'.
9317 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9318 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9320 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9321 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9323 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9324 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9325 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9326 Use `tramp-compat-delete-file'.
9328 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * subr.el (add-minor-mode): Use push.
9332 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9333 * emulation/edt.el (edt-select-mode): Simplify.
9335 Use define-minor-mode in more cases.
9336 * term/tvi970.el (tvi970-set-keypad-mode):
9337 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9338 (normal-erase-is-backspace-mode):
9339 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9340 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9341 (get-scroll-bar-mode): New function.
9342 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9344 Use define-minor-mode for less obvious cases.
9345 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9346 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9347 * international/iso-ascii.el (iso-ascii-mode):
9348 * frame.el (auto-raise-mode, auto-lower-mode):
9349 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9351 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9353 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9354 in order to see error messages for failed logins.
9356 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9358 * diff.el (diff-sentinel):
9360 * epg.el (epg--make-temp-file, epg-decrypt-string)
9361 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9363 * jka-compr.el (jka-compr-partial-uncompress)
9364 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9366 * server.el (server-sentinel): Use delete-file's new FORCE arg
9369 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9371 Use define-minor-mode where applicable.
9372 * view.el (view-mode):
9373 * type-break.el (type-break-query-mode)
9374 (type-break-mode-line-message-mode):
9375 * textmodes/reftex.el (reftex-mode):
9376 * term/vt100.el (vt100-wide-mode):
9377 * tar-mode.el (tar-subfile-mode):
9378 * savehist.el (savehist-mode):
9379 * ibuf-ext.el (ibuffer-auto-mode):
9380 * composite.el (auto-composition-mode):
9381 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9382 Use define-minor-mode.
9383 (vhdl-mode): Use static mode-line format.
9384 (vhdl-mode-line-update): Delete.
9385 (vhdl-create-mode-menu, vhdl-activate-customizations)
9386 (vhdl-hs-minor-mode): Don't bother calling it.
9388 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * simple.el (with-wrapper-hook): Move.
9391 (buffer-substring-filters): Mark obsolete.
9392 (filter-buffer-substring-functions): New variable.
9393 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9395 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9396 Michael Albinus <michael.albinus@gmx.de>
9398 Implement compression for inline methods.
9400 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9401 (tramp-copy-size-limit): Allow also nil.
9402 (tramp-inline-compress-commands): New defconst.
9403 (tramp-find-inline-compress, tramp-get-inline-compress)
9404 (tramp-get-inline-coding): New defuns.
9405 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9406 replaced by `tramp-get-inline-coding'.
9407 (tramp-handle-file-local-copy, tramp-handle-write-region)
9408 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9410 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9412 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9413 Remove unused functions.
9415 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9416 Set find-tag-default-function as a variable rather than a property.
9418 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9419 * progmodes/etags.el (tags-completion-at-point-function):
9420 Remove left over interactive spec. Add autoloading stub.
9421 (complete-tag): Use tags-completion-at-point-function.
9423 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9425 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9427 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9429 * ido.el (ido-init-completion-maps): Remove C-v binding.
9430 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9432 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9434 * minibuffer.el (tags-completion-at-point-function): New function.
9435 (completion-at-point-functions): Use it.
9437 * progmodes/etags.el (complete-tag): Revert last change.
9439 2010-04-29 Alan Mackenzie <acm@muc.de>
9441 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9442 off-by-one error (in end of macro position).
9444 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9447 firefox is absent. Don't autoload.
9448 (browse-url-galeon-program): Don't autoload.
9450 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9452 * bindings.el (complete-symbol): Move into minibuffer.el.
9454 * minibuffer.el (complete-tag): Move from etags.el. If tags
9455 completion cannot be performed, return nil instead of signalling
9457 (completion-at-point): Make it an alias for complete-symbol.
9458 (complete-symbol): Move from bindings.el, and replace with the
9459 body of completion-at-point.
9461 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9463 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9465 * net/tramp.el (tramp-remote-selinux-p): New defun.
9466 (tramp-handle-file-selinux-context)
9467 (tramp-handle-set-file-selinux-context): Use it.
9469 2010-04-28 Sam Steingold <sds@gnu.org>
9471 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9472 `safe-local-variable' if the value is a string or a symbol with
9473 the property `bug-reference-url-format'.
9475 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9477 * progmodes/bug-reference.el (bug-reference-url-format):
9478 Revert 2010-04-27 change due to security risk.
9480 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9482 Make it possible to locally disable a globally enabled mode.
9483 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9484 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9485 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9487 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9488 that subsequent hooks get a chance to disable it.
9490 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9493 Avoid re-enabling a minor mode after the user turned the minor mode
9494 off if MODE-enable-in-buffers is run twice (typically once from
9495 fundamental-mode's after-change-major-mode-hook and a second time from
9496 run-mode-hook's own after-change-major-mode-hook).
9498 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9500 2010-04-27 Sam Steingold <sds@gnu.org>
9502 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9503 `safe-local-variable' if the value is a string or a function, as
9504 documented and implemented on 2010-04-02.
9506 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9508 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9509 when method is 'kill.
9511 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9513 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9514 condition in default directory check.
9515 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9516 Kill ispell process when killing its associated buffer.
9518 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9520 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9521 but we aren't using it.
9523 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9525 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9526 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9528 2010-04-24 Glenn Morris <rgm@gnu.org>
9530 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9531 Ignore VCS-ignore files, and deleted nextstep preferences files.
9532 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9533 (authors-ambiguous-files): New list.
9534 (authors-valid-file-names): Add some deleted files.
9535 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9536 (authors-disambiguate-file-name): New function. (Bug#5501)
9537 (authors-canonical-file-name): Doc fix.
9538 Don't warn about obsolete files.
9539 (authors-canonical-file-name, authors-scan-el):
9540 Use authors-disambiguate-file-name.
9542 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9543 Add autoload cookies.
9544 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9545 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9546 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9547 They have definitions / compiler macros in cl.el.
9548 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9549 Replace manual autoloads with generated ones.
9550 (htmlfontify-unload-rgb-file): Remove autoload.
9551 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9553 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9555 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9556 (byte-compile-setq-default): Optimize for the
9557 single-var case and don't call byte-compile-form in this case to avoid
9558 inf-loop with byte-compile-set-default.
9560 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9562 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9564 Implement SELINUX backends.
9566 * net/tramp.el (tramp-file-name-handler-alist):
9567 Add `file-selinux-context' and `set-file-selinux-context'.
9568 (tramp-handle-file-selinux-context)
9569 (tramp-handle-set-file-selinux-context): New defuns.
9570 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9571 Handle PRESERVE-SELINUX-CONTEXT.
9573 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9574 Add `file-selinux-context' and `set-file-selinux-context'.
9575 (tramp-gvfs-handle-file-selinux-context)
9576 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9577 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9579 * net/ange-ftp.el (ange-ftp-copy-file):
9580 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9581 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9582 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9583 Add PRESERVE-SELINUX-CONTEXT.
9585 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9587 Synchronize with Tramp repository.
9589 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9590 (tramp-action-process-alive, tramp-action-out-of-band)
9591 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9592 (tramp-exists-file-name-handler): Fix docstring.
9593 (with-progress-reporter): New defmacro.
9594 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9595 (tramp-maybe-open-connection): Use it.
9597 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9599 Detect ssh 'ControlMaster' argument automatically in some cases.
9601 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9602 (tramp-default-method): Use it.
9604 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9606 * net/tramp.el (tramp-handle-copy-file): Add new optional
9607 parameter `preserve-selinux-context'.
9608 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9610 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9612 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9613 Ensure, that non remote files are still checked. Oops.
9615 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9619 * icomplete.el (icomplete-completions): Use `non-essential'.
9621 * net/tramp.el (tramp-connectable-p): New defun.
9622 (tramp-handle-expand-file-name)
9623 (tramp-completion-handle-file-name-all-completions)
9624 (tramp-completion-handle-file-name-completion): Use it.
9626 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9628 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9630 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9632 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9634 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9636 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9639 * info.el (info-tool-bar-map): Add labels.
9641 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9643 * cus-edit.el (custom-commands): Add labels for tool bar.
9644 (custom-buffer-create-internal, Custom-mode): Adjust for
9645 labels in custom-commands.
9647 * dynamic-setting.el: Renamed from font-setting.el.
9649 2010-04-21 John Wiegley <jwiegley@gmail.com>
9651 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9652 toggles the use of virtual buffers.
9653 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9654 (ido-toggle-virtual-buffers): New function.
9656 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9658 Use `define-derived-mode'; fix window selection; doc fixes.
9659 * play/tetris.el (tetris, tetris-update-speed-function)
9660 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9661 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9662 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9663 (tetris-pause-game): Fix typos in docstrings.
9664 (tetris-mode-map, tetris-null-map):
9665 Move initialization into declaration.
9666 (tetris-mode): Define with `define-derived-mode';
9667 set show-trailing-whitespace to nil.
9668 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9670 2010-04-21 Karel Klíč <kklic@redhat.com>
9672 * files.el (backup-buffer): Handle SELinux context, and return it
9673 if a backup was made by renaming.
9674 (backup-buffer-copy): Set SELinux context to the target file.
9675 (basic-save-buffer): Set SELinux context of the newly written file.
9676 (basic-save-buffer-1): Now it also returns any SELinux context.
9677 (basic-save-buffer-2): Set SELinux context of the newly created file,
9679 * net/tramp.el (tramp-file-name-for-operation):
9680 Add file-selinux-context.
9682 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9684 Make the log-edit comments use RFC822 format throughout.
9686 * vc.el (vc-checkin, vc-modify-change-comment):
9687 Adjust to new vc-start/finish-logentry.
9688 (vc-find-conflicted-file): New command.
9689 (vc-transfer-file): Adjust to new vc-checkin.
9690 (vc-next-action): Improve scoping.
9692 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9693 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9695 * vc-git.el (vc-git-log-edit-mode): Remove.
9696 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9697 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9699 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9700 (vc-start-logentry): Remove argument `extra'.
9701 (vc-finish-logentry): Remove extra args.
9703 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9704 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9705 (vc-bzr-conflicted-files): New function.
9707 * log-edit.el (log-edit-extra-flags)
9708 (log-edit-before-checkin-process): Remove.
9709 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9710 (log-edit-headers-alist): New var.
9711 (log-edit-header-contents-regexp): New const.
9712 (log-edit-match-to-eoh): New function.
9713 (log-edit-font-lock-keywords): Use them.
9714 (log-edit): Insert a "Summary:" header as default.
9715 (log-edit-mode): Mark font-lock rules as case-insensitive.
9716 (log-edit-done): Cleanup headers.
9717 (log-view-process-buffer): Remove.
9718 (log-edit-extract-headers): New function to replace it.
9720 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9722 * subr.el (default-direction-reversed): Remove obsolescence info.
9724 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9726 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9729 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9730 I.e. include text after point in the completion region.
9731 Also, return nil when we're not after/in a symbol.
9733 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9734 default enable-multibyte-characters.
9736 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * international/mule.el: Help the user choose a valid coding-system.
9739 (read-buffer-file-coding-system): New function.
9740 (set-buffer-file-coding-system): Use it. Prompt the user if the
9741 coding-system cannot encode all the chars.
9743 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9744 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9745 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9746 Don't use *vc-bzr-shelve*.
9748 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9750 Fix the version number for added files.
9751 * vc-hg.el (vc-hg-working-revision): Check if the file is
9752 registered after hg parent fails (Bug#5961).
9754 2010-04-19 Glenn Morris <rgm@gnu.org>
9756 * htmlfontify.el (htmlfontify-buffer)
9757 (htmlfontify-copy-and-link-dir): Autoload entry points.
9759 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9761 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9762 name relative to the project root (Bug#5960).
9764 2010-04-19 Glenn Morris <rgm@gnu.org>
9766 * vc-git.el (vc-git-print-log): Doc fix.
9768 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9770 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9772 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9774 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9775 default settings (Bug#5928).
9777 2010-04-19 Glenn Morris <rgm@gnu.org>
9779 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9781 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9783 2010-04-19 Kenichi Handa <handa@m17n.org>
9785 * language/indian.el (malayalam-composable-pattern): Fix previous
9786 change (add U+0D4D "SIGN VIRAMA").
9787 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9788 (tamil-composable-pattern): Fix typo in the regexp.
9789 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9790 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9791 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9793 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9795 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9796 paragraph-separate (Bug#5821).
9798 2010-04-19 Juri Linkov <juri@jurta.org>
9800 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9802 * info.el (Info-find-node-2): Comment out code that skips
9804 (Info-mouse-follow-link): New command.
9805 (Info-link-keymap): New keymap.
9806 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9807 Return a string with links instead of inserting breadcrumbs
9809 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9810 Instead of putting the `invisible' text property over the Info
9811 header, make an overlay over the Info header with the `invisible'
9812 property and `after-string' set to the string returned by
9815 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9817 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9818 Reported by monkey@sandpframing.com.
9820 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9823 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9824 available in the "keyseq cache" any more.
9826 * custom.el (defcustom): Add edebug spec.
9828 2010-04-18 Juri Linkov <juri@jurta.org>
9830 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9832 * view.el (view-file, view-buffer): Move test for special mode-class
9833 from view-file to view-buffer.
9835 * tar-mode.el (tar-extract): Turn if's into one cond
9836 like in arc-mode.el.
9838 2010-04-18 Juri Linkov <juri@jurta.org>
9840 Add 7z archive format support (bug#5475).
9842 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9843 (archive-7z-extract): New defcustom.
9844 (archive-find-type): Add magic string for 7z.
9845 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9846 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9847 `buffer' arg of `call-process'.
9848 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9849 call the function `archive-7z-extract' with the variable
9850 `archive-7z-extract' let-bound to `archive-zip-extract'.
9851 (archive-7z-summarize, archive-7z-extract): New functions.
9853 * international/mule.el (auto-coding-alist):
9854 * files.el (auto-mode-alist): Add 7z file extension.
9856 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * loadup.el: Setup hash-cons for pure data.
9860 Fix duplicate entries in cedet's loaddefs.el files.
9861 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9862 Should make most file-local generated-autoload-file unnecessary.
9863 (print-readably): Silence warnings.
9864 (autoload-find-destination): Take load-name as an arg to make sure
9865 it's the same as the one that will be in the file.
9866 (autoload-generate-file-autoloads): Adjust to above changes.
9867 Try to make the dataflow a bit simpler.
9869 * cvs-status.el (cvs-refontify): Remove unused.
9871 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9873 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9875 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9876 twos-complement mode.
9878 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9880 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9881 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9882 (calc-inverse): Add "Option" to message, as appropriate.
9883 (calc-hyperbolic): Add "Option" to message, as appropriate.
9884 (calc-option, calc-is-option): New functions.
9886 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9887 (calc-option-prefix-help): New function.
9889 * calc/calc-misc.el (calc-help): Add "Option" entry.
9891 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9892 (calc-option-flag): New variable.
9893 (calc-do): Set `calc-option-flag to nil.
9894 (calc-set-mode-line): Add "Opt " as appropriate.
9896 2010-04-16 Juri Linkov <juri@jurta.org>
9898 Move scrolling commands from simple.el to window.el
9899 because their primitives are implemented in window.c.
9901 * simple.el (scroll-error-top-bottom)
9902 (scroll-up-command, scroll-down-command, scroll-up-line)
9903 (scroll-down-line, scroll-other-window-down)
9904 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9905 * window.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 Move from simple.el to window.el because their primitives are
9910 implemented in window.c.
9912 2010-04-16 Juri Linkov <juri@jurta.org>
9914 * isearch.el (isearch-lookup-scroll-key): Check both
9915 `isearch-scroll' and `scroll-command' properties.
9916 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9918 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9920 * simple.el (scroll-up-command, scroll-down-command)
9921 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9923 2010-04-15 Juri Linkov <juri@jurta.org>
9925 * simple.el (scroll-up-command, scroll-down-command)
9926 (scroll-up-line, scroll-down-line): Put `scroll-command'
9927 property on the these symbols. Remove them from
9928 `scroll-preserve-screen-position-commands'.
9930 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9931 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9932 Remove it from `scroll-preserve-screen-position-commands'.
9934 * isearch.el (isearch-allow-scroll): Doc fix.
9936 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9938 * net/tramp.el (tramp-error-with-buffer): Don't show the
9939 connection buffer when we are in completion mode.
9940 (tramp-file-name-handler): Catch the error for some operations
9941 when we are in completion mode. This gives the user the chance to
9942 correct the file name in the minibuffer.
9944 2010-04-15 Glenn Morris <rgm@gnu.org>
9946 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9948 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9950 Simplify by using `define-derived-mode'.
9951 * info.el (Info-mode):
9952 * calendar/todo-mode.el (todo-mode):
9953 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9954 (gomoku-mode-map): Move initialization into declaration.
9956 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9959 * ido.el (ido-file-name-all-completions-1):
9960 * minibuffer.el (minibuffer-completion-help):
9961 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9963 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9965 * simple.el (non-essential): New var.
9967 Add a new field `location' to bookmarks for non-file bookmarks.
9968 * bookmark.el (bookmark-location): Use the new field, if present.
9969 (bookmark-insert-location): Undo last change, not needed any more.
9970 * man.el (Man-bookmark-make-record):
9971 * woman.el (woman-bookmark-make-record): Add `location' field.
9973 2010-04-14 Juri Linkov <juri@jurta.org>
9975 * simple.el (scroll-error-top-bottom): New defcustom.
9976 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9978 * emulation/pc-select.el (pc-select-override-scroll-error):
9979 Obsolete in favor of `scroll-error-top-bottom'.
9981 2010-04-14 Juri Linkov <juri@jurta.org>
9983 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9984 `scroll-up-command' and `M-v' to `scroll-down-command'.
9986 * emulation/cua-rect.el (cua--init-rectangles):
9987 * forms.el (forms--change-commands):
9988 * image-mode.el (image-mode-map):
9989 Remap scroll-down-command and scroll-up-command
9990 in addition to scroll-down and scroll-up.
9992 2010-04-14 Juri Linkov <juri@jurta.org>
9994 * mwheel.el (scroll-preserve-screen-position-commands):
9995 Add mwheel-scroll to this list of commands.
9997 * simple.el (scroll-preserve-screen-position-commands):
9998 Add scroll-up-command, scroll-down-command, scroll-up-line,
9999 scroll-down-line to this list of commands.
10001 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * obsolete/complete.el: Move from lisp/complete.el.
10005 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10007 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10008 to the minor mode function now turns the mode ON unconditionally.
10010 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * vc-dir.el (vc-dir-kill-line): New command.
10013 (vc-dir-mode-map): Bind it to C-k.
10015 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10017 * woman.el: Add bookmark declarations to silence the compiler.
10018 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10019 step to compatibility between man and woman bookmarks.
10020 Adjust for Man-default-bookmark-title renaming.
10021 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10023 * man.el: Add bookmark declarations to silence the compiler.
10024 (Man-name-local-regexp): Make it match NAME as well.
10025 (Man-getpage-in-background): Return the buffer.
10026 (Man-notify-when-ready): Use `case'.
10027 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10028 Don't hardcode "NAME". Simplify.
10029 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10030 Rename from Man-bookmark-make-record.
10031 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10032 we have the actual man-args. Use Man-getpage-in-background rather
10033 than `man' since the arg is already processed. Let bookmark.el do the
10034 window handling. Only wait for the relevant process.
10035 Don't forget to autoload.
10037 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10039 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10041 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10043 (woman-mode): Setup bookmark support.
10045 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10046 (man-bookmark-jump): New functions.
10047 (Man-mode): Setup bookmark support.
10049 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10051 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10052 recognize ssh-keygen prompt (Bug#2817).
10054 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10056 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10058 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10060 Synchronize with Tramp repository.
10062 * net/tramp.el (tramp-completion-function-alist)
10063 (tramp-file-name-regexp, tramp-chunksize)
10064 (tramp-local-coding-commands, tramp-remote-coding-commands):
10066 (tramp-remote-process-environment): Use `format' instead of `concat'.
10067 (tramp-handle-directory-files-and-attributes)
10068 (tramp-get-remote-path): Use `copy-tree'.
10069 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10070 compatibility: Use `completion-ignore-case' if
10071 `read-file-name-completion-ignore-case' does not exist.
10072 (tramp-do-copy-or-rename-file-directly): Do not use
10073 `tramp-handle-file-remote-p'.
10074 (tramp-do-copy-or-rename-file-out-of-band):
10075 Use `tramp-compat-delete-directory'.
10076 (tramp-do-copy-or-rename-file-out-of-band)
10077 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10078 Use `format-spec-make'.
10079 (tramp-find-foreign-file-name-handler)
10080 (tramp-advice-make-auto-save-file-name)
10081 (tramp-set-auto-save-file-modes): Remove superfluous check for
10082 `stringp'. This is done inside `tramp-tramp-file-p'.
10083 (tramp-debug-outline-regexp): New defconst.
10084 (tramp-get-debug-buffer): Use it.
10085 (tramp-check-for-regexp): Use (forward-line 1).
10086 (tramp-set-auto-save-file-modes): Adapt version check.
10088 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10089 Wrap call of `featurep' for 2nd argument.
10090 (tramp-compat-make-temp-file): Simplify fallback implementation.
10091 (tramp-compat-copy-tree): Remove function.
10092 (tramp-compat-delete-directory): Provide implementation for older
10095 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10096 Do not use `tramp-fish-handle-file-attributes.
10098 * net/trampver.el: Update release number.
10100 2010-04-10 Glenn Morris <rgm@gnu.org>
10102 * progmodes/compile.el (compilation-save-buffers-predicate):
10103 Add missing :version tag.
10105 2010-04-09 Sam Steingold <sds@gnu.org>
10107 * progmodes/compile.el (compilation-save-buffers-predicate):
10108 Remove the "autoload" cookie.
10110 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10111 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10112 and `bug-reference-prog-mode' can be used in hooks directly.
10114 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10116 Add --author support to git commit.
10117 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10118 (vc-git-log-edit-mode): New minor mode.
10119 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10122 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10124 * vc-hooks.el, vc-git.el: Improve documentation comments.
10126 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10128 Fix some of the problems in defsubst* (bug#5728).
10129 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10130 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10132 2010-04-07 Sam Steingold <sds@gnu.org>
10134 * progmodes/compile.el (compilation-save-buffers-predicate):
10135 New custom variable.
10136 (compile, recompile): Pass it to `save-some-buffers'.
10138 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10140 * wid-edit.el (widget-choose): Move cursor to the second line of
10141 the buffer (Bug#5695).
10143 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10145 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10146 * vc.el (vc-print-log-setup-buttons): New function split out from
10147 vc-print-log-internal.
10148 (vc-log-internal-common): New function, a parametrized version of
10149 vc-print-log-internal.
10150 (vc-print-log-internal): Just call vc-log-internal-common with the
10152 (vc-incoming-outgoing-internal):
10153 (vc-log-incoming, vc-log-outgoing): New functions.
10154 (vc-log-view-type): New permanent local variable.
10156 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10158 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10159 of the dynamic bound vc-short-log.
10160 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10162 * vc-git.el (vc-git-log-outgoing): New function.
10163 (vc-git-log-view-mode): Use vc-log-view-type instead
10164 of the dynamic bound vc-short-log.
10166 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10167 of the dynamic bound vc-short-log. Highlight the tag.
10168 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10169 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10170 (vc-hg-incoming-mode): Remove.
10171 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10173 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10175 Fix default-directory for vc-root-diff.
10176 * vc.el (vc-root-diff): Bind default-directory to the root
10177 directory for the diff command.
10179 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10181 * progmodes/verilog-mode.el (verilog-forward-sexp):
10182 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10183 word keywords, suggested by Steve Pearlmutter.
10184 (verilog-pretty-declarations): Support lineup of declarations in
10186 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10187 fix bug for /* / comments.
10188 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10189 Speed up and simplfy as this is never called with a bound.
10190 (verilog-pretty-declarations): Enhance to line up declarations
10191 inside a parameter list, suggested by Alan Morgan.
10192 (verilog-pretty-expr): Tune assignment regular expression match
10193 string for corner cases; also use markers instead of character
10194 number as indent changes the later.
10196 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10198 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10199 as missing keyword.
10200 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10201 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10202 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10203 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10205 (verilog-keywords):
10206 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10207 1800-2009 keywords, including "global.".
10209 2010-04-06 John Wiegley <jwiegley@gmail.com>
10211 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10212 appearing in buffer list (if a live buffer name matched a recentf
10213 file basename). Should use uniquify to offer a real solution.
10215 2010-04-06 John Wiegley <jwiegley@gmail.com>
10217 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10218 comment to code, and add a :version tag.
10219 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10221 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10223 Enable recentf-mode if using virtual buffers.
10224 * ido.el (recentf-list): Declare for byte-compiler.
10225 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10226 (ido-make-buffer-list): Simplify.
10227 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10229 2010-04-05 Juri Linkov <juri@jurta.org>
10231 Scrolling commands which scroll a line instead of full screen.
10232 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10234 * simple.el (scroll-up-line, scroll-down-line): New commands.
10235 Put property isearch-scroll=t on them.
10237 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10240 2010-04-05 Juri Linkov <juri@jurta.org>
10242 Scrolling commands which do not signal errors at top/bottom.
10243 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10245 * simple.el (scroll-up-command, scroll-down-command): New commands.
10246 Put property isearch-scroll=t on them.
10248 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10249 `scroll-down-command' and [next] from `scroll-up' to
10250 `scroll-up-command'.
10252 * emulation/cua-base.el: Put property CUA=move on
10253 `scroll-up-command' and `scroll-down-command'.
10254 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10255 and `scroll-down-command' to `cua-scroll-down'.
10257 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10259 * help.el (describe-mode): Return nil.
10261 2010-04-04 John Wiegley <jwiegley@gmail.com>
10263 * ido.el (ido-use-virtual-buffers): New variable to indicate
10264 whether "virtual buffer" support is enabled for IDO.
10265 (ido-virtual): Face used to indicate virtual buffers in the list.
10266 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10267 exists, but a virtual buffer of that name does (which would be why
10268 it was in the list), recreate the buffer by reopening the file.
10269 (ido-make-buffer-list): If virtual buffers are being used, call
10270 `ido-add-virtual-buffers-to-list' before the make list hook.
10271 (ido-virtual-buffers): New variable which contains a copy of the
10272 current contents of the `recentf-list', albeit pared down for the
10273 sake of speed, and with proper faces applied.
10274 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10275 create a list of "virtual buffers" to present to the user in
10276 addition to the currently open set. Note that this logic could
10277 get rather slow if that list is too large. With the default
10278 `recentf-max-saved-items' of 200, there is little speed penalty.
10280 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10282 * font-lock.el: Require CL when compiling.
10283 (font-lock-turn-on-thing-lock): Use `case'.
10285 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10287 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10290 2010-04-02 Juri Linkov <juri@jurta.org>
10292 * ehelp.el (electric-help-orig-major-mode):
10293 New buffer-local variable.
10294 (electric-help-mode): Set it to original major-mode. Doc fix.
10295 (with-electric-help): Use `electric-help-orig-major-mode' instead
10296 of (default-value 'major-mode). Doc fix.
10297 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10299 2010-04-02 Sam Steingold <sds@gnu.org>
10301 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10302 `vc-hg-command' with a list of flags.
10304 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10305 Also accept "patch" and "RFE".
10306 (bug-reference-fontify): `bug-reference-url-format' can also be a
10307 function to be able to handle the bug kind.
10308 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10310 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10312 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10313 value to fboundp, it may not be a symbol.
10315 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10317 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10319 2010-03-31 Juri Linkov <juri@jurta.org>
10321 * simple.el (next-line, previous-line): Re-throw a signal
10322 with `signal' instead of using `ding'.
10323 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10325 2010-03-31 Juri Linkov <juri@jurta.org>
10327 * simple.el (keyboard-escape-quit): Raise deselecting the active
10328 region higher than exiting the minibuffer.
10329 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10331 2010-03-31 Juri Linkov <juri@jurta.org>
10333 * image.el (image-animated-p): Use `image-metadata' instead of
10334 `image-extension-data'. Get GIF extenstion data from metadata
10335 property `extension-data'.
10337 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10339 * simple.el (append-to-buffer): Simplify.
10341 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10343 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10344 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10346 2010-03-31 Kenichi Handa <handa@m17n.org>
10348 * language/sinhala.el (composition-function-table): Fix regexp for
10349 the new Unicode specification.
10351 * language/indian.el (devanagari-composable-pattern)
10352 (tamil-composable-pattern, kannada-composable-pattern)
10353 (malayalam-composable-pattern): Adjust for the new Unicode
10355 (bengali-composable-pattern, gurmukhi-composable-pattern)
10356 (gujarati-composable-pattern, oriya-composable-pattern)
10357 (telugu-composable-pattern): New variables to cope with the new
10358 Unicode specification. Use them in composition-function-table.
10360 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10362 Make tmm-menubar work for the Buffers menu again (bug#5726).
10363 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10364 vectors rather than cons cells, as used in menu-bar-update-buffers.
10366 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10368 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10369 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10370 electric punctuation for "{}();,:" (Bug#5586).
10372 * mail/sendmail.el (mail-default-directory): Doc fix.
10374 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10376 * mail/sendmail.el (mail-default-directory): Doc fix.
10378 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10380 * subr.el (version-regexp-alist, version-to-list)
10381 (version-list-<, version-list-=, version-list-<=)
10382 (version-list-not-zero, version<, version<=, version=): Doc fix.
10385 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10387 * vc.el (vc-root-diff): Doc fix.
10389 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10391 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10393 * simple.el (append-to-buffer): Fix last change.
10395 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10397 * simple.el (append-to-buffer): Ensure that point is preserved if
10398 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10401 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * files.el (auto-mode-case-fold): Change default to t.
10405 2010-03-30 Juri Linkov <juri@jurta.org>
10407 * dired-x.el (dired-omit-mode): Doc fix.
10409 2010-03-30 Juri Linkov <juri@jurta.org>
10411 * replace.el (occur-accumulate-lines): Move occur-engine related
10412 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10413 to be located after `occur-engine'.
10415 2010-03-30 Juri Linkov <juri@jurta.org>
10417 Make occur handle multi-line matches cleanly with context.
10418 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10420 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10421 (occur-engine): Add local variables `ret', `prev-after-lines',
10422 `prev-lines'. Use more arguments for `occur-context-lines'.
10423 Set first elem of its returned list to `data', and the second elem
10424 to `prev-after-lines'. Don't print the separator line.
10425 In the end, print remaining context after-lines.
10426 (occur-context-lines): Add new arguments `begpt', `endpt',
10427 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10428 after-lines of the previous match with before-lines of the
10429 current match and not overlap them. Return a list with two
10430 values: the output line and the list of context after-lines.
10432 2010-03-30 Juri Linkov <juri@jurta.org>
10434 * replace.el (occur-accumulate-lines): Fix a bug where the first
10435 context line at the beginning of the buffer was missing.
10437 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10439 * files.el: Make bidi-display-reordering safe variable for boolean
10442 2010-03-29 Phil Hagelberg <phil@evri.com>
10443 Chong Yidong <cyd@stupidchicken.com>
10445 * subr.el: Extend progress reporters to perform "spinning".
10446 (progress-reporter-update, progress-reporter-do-update):
10447 Handle non-numeric value arguments.
10448 (progress-reporter--pulse-characters): New var.
10450 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10452 * progmodes/compile.el (compilation-start): Fix regexp detection
10453 of initial cd command (Bug#5771).
10455 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10457 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10459 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10461 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10462 * progmodes/gdb-mi.el: Restore.
10463 * progmodes/gdb-ui.el: Remove.
10464 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10466 2010-03-25 Glenn Morris <rgm@gnu.org>
10468 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10469 all dired buffers, even tramp ones. (Bug#5755)
10471 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10473 Add "union tags" in mpc.el.
10474 * mpc.el: Remove backward compatibility code.
10475 (mpc-browser-tags): Change default.
10476 (mpc--find-memoize-union-tags): New var.
10477 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10478 (mpc-cmd-find): Handle the case where the playlist does not exist.
10480 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10481 (mpc-cmd-add): Use mpc-cmd-flush.
10482 (mpc-tagbrowser-tag-name): New fun.
10483 (mpc-tagbrowser-buf): Use it.
10484 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10486 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10490 Use replace-regexp-in-string.
10491 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10492 (makefile-imake-mode-syntax-table): Move init into defvar.
10493 (makefile-mode): Use define-derived-mode.
10495 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10496 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10497 not be present any more.
10499 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10501 * faces.el (set-face-attribute): Fix typo in docstring.
10502 (face-valid-attribute-values): Reflow docstring.
10504 2010-03-24 Glenn Morris <rgm@gnu.org>
10506 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10508 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10510 * indent.el (indent-for-tab-command): Doc fix.
10512 2010-03-24 Alan Mackenzie <acm@muc.de>
10514 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10515 Fix off-by-one error. Fixes bug #5747.
10517 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10519 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10520 (image-dired-read-comment): Doc fix.
10522 * json.el (json-object-type, json-array-type, json-key-type)
10523 (json-false, json-null, json-read-number):
10524 * minibuffer.el (completion-in-region-functions):
10525 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10526 (cal-tex-cursor-week):
10527 * emacs-lisp/trace.el (trace-function):
10528 * eshell/em-basic.el (eshell/printnl):
10529 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10530 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10531 * obsolete/levents.el (allocate-event, event-key, event-object)
10532 (event-point, event-process, event-timestamp, event-to-character)
10533 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10534 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10535 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10536 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10537 (reftex-highlight-selection): Fix typos in docstrings.
10539 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10541 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10543 2010-03-24 Glenn Morris <rgm@gnu.org>
10545 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10546 2008-02-13 without comment; mark it obsolete.
10547 (rmail-highlight-headers): Use rmail-highlight-face once more.
10549 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10551 * woman.el (woman2-process-escapes): Only consume the newline if
10552 the filler character is on a line by itself (Bug#5729).
10554 2010-03-24 Kenichi Handa <handa@m17n.org>
10556 * language/indian.el (devanagari-composable-pattern): Add more
10559 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10561 * net/trampver.el: Update release number.
10563 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10565 * net/tramp.el (tramp-find-executable):
10566 Use `tramp-get-connection-buffer'. Make the regexp for checking
10567 output of "wc -l" more robust.
10568 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10569 (tramp-open-connection-setup-interactive-shell): Remove workaround
10570 for OpenSolaris bug, it is not needed anymore.
10572 2010-03-24 Glenn Morris <rgm@gnu.org>
10574 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10576 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10578 * files.el (auto-mode-alist): Accept more verilog file patterns.
10580 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10584 2010-03-24 Glenn Morris <rgm@gnu.org>
10586 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10587 log-edit-before-checkin-process.
10589 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10591 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10593 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10594 (log-view-process-buffer, log-edit-extra-flags): Declare.
10596 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10598 2010-03-23 Sam Steingold <sds@gnu.org>
10600 Fix bug#5620: recalculate all markers on compilation buffer
10601 modifications, not on file modifications.
10602 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10603 variable: the buffer modification time, for buffers not associated with
10605 (compilation-mode): Create it.
10606 (compilation-filter): Update it.
10607 (compilation-next-error-function): Use it instead of
10608 `visited-file-modtime' for timestamp.
10610 2010-03-23 Juri Linkov <juri@jurta.org>
10612 Implement Occur multi-line matches.
10613 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10615 * replace.el (occur): Doc fix.
10616 (occur-engine): Set `begpt' to the beginning of the first line.
10617 Set `endpt' to the end of the last match line. At first, count
10618 line numbers between `origpt' and `begpt'. Split out code from
10619 `out-line' variable to new let-bindings `match-prefix' and
10620 `match-str'. In `out-line' add non-numeric prefix to all
10621 non-first lines of multi-line matches. Finally, count lines
10622 between `begpt' and `endpt' and add to `lines'.
10624 2010-03-23 Juri Linkov <juri@jurta.org>
10626 * replace.el (occur-accumulate-lines, occur-engine):
10627 Use `occur-engine-line' instead of duplicate code.
10628 (occur-engine-line): New function created from duplicate code
10629 in `occur-accumulate-lines' and `occur-engine'.
10631 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10632 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10634 2010-03-23 Juri Linkov <juri@jurta.org>
10636 * finder.el: Remove TODO tasks.
10638 * info.el (Info-finder-find-node): Add node "all"
10639 with all package info. Handle a list of multiple keywords
10640 separated by comma.
10641 (info-finder): In interactive use with a prefix argument,
10642 use `completing-read-multiple' to read a list of keywords
10643 separated by comma.
10645 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10647 Add a new completion style `substring'.
10648 * minibuffer.el (completion-basic--pattern): New function.
10649 (completion-basic-try-completion, completion-basic-all-completions):
10651 (completion-substring--all-completions)
10652 (completion-substring-try-completion)
10653 (completion-substring-all-completions): New functions.
10654 (completion-styles-alist): New style `substring'.
10656 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10658 Get rid of .elc files after removal of the corresponding .el.
10659 * Makefile.in (compile-clean): New target.
10660 (compile-main): Use it.
10662 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10664 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10665 don't do make there. When compiling with separate object dir, there
10666 is no Makefile there.
10668 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10670 Get rid of the ELCFILES abomination, again.
10671 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10672 (all, compile): Don't call compile-last.
10673 (compile-main): Build the "elcfiles" list dynamically.
10674 (compile-targets): New (internal) target.
10676 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10678 * Makefile.in (top_srcdir): Define.
10679 (abs_top_builddir): Define.
10680 (srcdir): Don't append `/..'.
10681 (EMACS): Use ${abs_top_builddir}.
10682 (all, compile, compile-always, compile-last): Don't set emacswd.
10683 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10685 (lisp): Use $(srcdir) instead of @srcdir@.
10687 2010-03-21 Juri Linkov <juri@jurta.org>
10689 Fix message of multi-line occur regexps and multi-buffer header lines.
10690 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10692 * replace.el (occur-1): Don't display regexp if it is longer
10693 than window-width. Use `query-replace-descr' to display regexp.
10694 (occur-engine): Don't display regexp in the buffer header for
10695 multi-buffer occur. Display a separate header line with total
10696 match count and regexp for multi-buffer occur.
10697 Use `query-replace-descr' to display regexp.
10699 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10701 * net/secrets.el: Fix parenthesis.
10702 (secrets-enabled): Fix parenthesis.
10704 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10706 Use more relative file and directory names.
10707 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10708 (setwins, setwins_almost, setwins_for_subdirs):
10709 Don't `cd'; output relative names.
10710 (all, compile, compile-always, compile-last): Set emacswd.
10711 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10712 Just cd to the lisp source dir so we can use relative file names.
10714 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10716 2010-03-20 Glenn Morris <rgm@gnu.org>
10718 * textmodes/rst.el: Use faces for font-lock customization, and make the
10719 old -face variables obsolete.
10720 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10721 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10722 (rst-block-face, rst-external-face, rst-definition-face)
10723 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10724 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10726 (rst-font-lock-keywords-function): Update for above changes.
10728 2010-03-20 Juri Linkov <juri@jurta.org>
10731 * obsolete/s-region.el: Move to obsolete.
10733 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10735 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10737 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10739 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10741 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10743 Add special markup processing for commit logs.
10744 * log-edit.el (log-edit-extra-flags): New variable.
10745 (log-edit): Add new argument MODE. Use that mode when non-nil
10746 instead of the log-view-mode.
10747 (log-view-process-buffer): New function.
10749 * vc.el: Document that the checkin method takes optional
10750 arguments. Document new backend specific method: log-view-mode.
10751 (vc-default-log-edit-mode): New function.
10752 (vc-checkin): Use a backend specific log-view-mode.
10753 Pass extra arguments to the checkin method.
10754 (vc-modify-change-comment): Pass a dummy extra argument.
10756 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10758 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10759 (vc-finish-logentry): Process the log buffer before passing it
10760 down. Pass log-edit-extra-flags.
10762 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10764 (log-edit-extra-flags, log-edit-before-checkin-process):
10767 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10769 (log-edit-extra-flags, log-edit-before-checkin-process):
10771 (vc-hg-log-edit-mode): New derived mode.
10773 * vc-arch.el (vc-arch-checkin):
10774 * vc-cvs.el (vc-cvs-checkin):
10775 * vc-git.el (vc-git-checkin):
10776 * vc-mtn.el (vc-mtn-checkin):
10777 * vc-rcs.el (vc-rcs-checkin):
10778 * vc-sccs.el (vc-sccs-checkin):
10779 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10781 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10786 2010-03-19 Glenn Morris <rgm@gnu.org>
10788 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10790 2010-03-18 Glenn Morris <rgm@gnu.org>
10792 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10794 * replace.el (query-replace-history): Give it a doc string.
10795 (map-query-replace-regexp): Use query-replace-from-history-variable
10796 and query-replace-to-history-variable.
10798 * mail/hashcash.el (declare-function): Remove duplicate definition.
10800 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10801 Make it an obsolete alias for report-emacs-bug-address.
10802 (message-strip-special-text-properties): Declare.
10803 (report-emacs-bug): Remove test for a pretest bug address.
10804 Combine message-mode-specific code.
10806 * mail/supercite.el: Don't require sendmail.
10807 (mh-in-header-p): Declare rather than using with-no-warnings.
10808 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10809 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10811 * calendar/cal-french.el: Convert to utf-8.
10813 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10816 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10818 * net/secrets.el (secrets-enabled): New variable. Use it instead
10821 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10823 * net/secrets.el (top): Register the D-Bus signals only when the
10824 service "org.freedesktop.secrets" can be pinged.
10825 Provide subfeature `enabled'.
10827 2010-03-14 Juri Linkov <juri@jurta.org>
10829 Add finder unknown keywords.
10831 * finder.el (finder-unknown-keywords): New function.
10833 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10834 to create a Finder node with unknown keywords.
10836 2010-03-14 Juri Linkov <juri@jurta.org>
10838 * finder.el (finder-compile-keywords): Replace `princ' with
10839 `prin1' on a list of symbols interned from keyword strings.
10841 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10842 a comma, then split keywords using a comma and optional whitespace.
10843 Otherwise, split by whitespace.
10851 * progmodes/mixal-mode.el: Fix keywords.
10853 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10855 * Makefile.in (ELCFILES): Add net/secrets.elc.
10857 * net/secrets.el: New file.
10859 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10861 * facemenu.el (list-colors-display, list-colors-print): New arg
10862 callback. Use it to allow selecting colors.
10864 * wid-edit.el (widget-image-insert): Insert image prop even if the
10865 current display is non-graphic.
10866 (widget-field-value-set): New fun.
10867 (editable-field): Use it.
10868 (widget-field-value-get): Clean up unused var.
10869 (widget-color-value-create, widget-color--choose-action):
10870 New funs. Allow using list-colors-display to choose color.
10872 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10874 * cus-edit.el: Resort topmost custom groups.
10875 (custom-buffer-sort-alphabetically): Default to t.
10876 (customize-apropos): Use apropos-parse-pattern.
10877 (custom-search-field): New var.
10878 (custom-buffer-create-internal): Add custom-apropos search field.
10879 (custom-add-parent-links): Don't display parent doc.
10880 (custom-group-value-create): Don't sort top-level custom group.
10881 (custom-magic-value-create): Show visibility button before option name.
10883 (custom-variable-state): New fun, from custom-variable-state-set.
10884 (custom-variable-state-set): Use it.
10885 (custom-group-value-create): Hide options with standard values
10886 using the :hidden-states property. Use progress reporter.
10888 (custom-show): Simplify.
10889 (custom-visibility): Disable images by default.
10890 (custom-variable): New property :hidden-states.
10891 (custom-variable-value-create): Enable images for
10892 custom-visibility widgets. Use :hidden-states property to
10893 determine initial visibility.
10895 * wid-edit.el (widget-image-find): Give images center ascent.
10896 (visibility): Add :on-image and :off-image properties.
10897 (widget-visibility-value-create): Use them.
10899 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10901 * cus-edit.el (processes): Remove from development group.
10902 (oop, hypermedia): Delete group.
10903 (comm): Promote to top-level group.
10905 * net/browse-url.el (browse-url):
10906 * net/xesam.el (xesam):
10907 * net/tramp.el (tramp):
10908 * net/goto-addr.el (goto-address):
10909 * net/ange-ftp.el (ange-ftp): Put in comm group.
10911 * view.el (view): Remove from editing group.
10913 * uniquify.el (uniquify): Put in files group.
10915 * net/browse-url.el (browse-url):
10916 * ps-print.el (postscript): Put in external group.
10918 * cus-edit.el (outlines):
10919 * textmodes/text-mode.el (text-mode-hook):
10920 * textmodes/table.el (table):
10921 * textmodes/picture.el (picture):
10922 * outline.el (outlines): Put in wp group.
10924 * nxml/nxml-mode.el (nxml): Remove from wp group.
10926 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10928 * mail/metamail.el (metamail): Remove from hypermedia group.
10930 * cus-edit.el (abbrev):
10931 * whitespace.el (whitespace):
10932 * vcursor.el (vcursor):
10933 * reveal.el (reveal):
10934 * hl-line.el (hl-line): Put in convenience group.
10936 * epg-config.el (epg): Put in data group.
10938 * emulation/pc-select.el (pc-select): Put in emulations group.
10940 * calculator.el (calculator): Put in applications group.
10942 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10944 Add .dir-locals.el support for file-less buffers.
10945 * files.el (hack-local-variables): Split out code to apply local
10946 variable settings ...
10947 (hack-local-variables-apply): ... here. New function.
10948 (hack-dir-local-variables): Use the default directory for when the
10949 buffer does not have an associated file.
10950 (hack-dir-local-variables-non-file-buffer): New function.
10951 * diff-mode.el (diff-mode):
10952 * vc-annotate.el (vc-annotate-mode):
10953 * vc-dir.el (vc-dir-mode):
10954 * log-edit.el (log-edit-mode):
10955 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10957 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10959 Add support for shelving snapshots and for showing shelves.
10960 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10961 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10963 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10964 (vc-bzr-extra-menu-map): Map them.
10966 2010-03-11 Glenn Morris <rgm@gnu.org>
10968 * cus-edit.el (customize-changed-options-previous-release):
10971 * image.el (image-animate-max-time): Fix :version tag.
10973 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10977 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10979 * vc-git.el (vc-git-revision-table): Include remote branches.
10981 2010-03-10 Kim F. Storm <storm@cua.dk>
10983 Animated image API.
10984 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10986 * image.el (image-animate-max-time): New defcustom.
10987 (image-animated-types): New defconst.
10988 (create-animated-image, image-animate-timer)
10989 (image-animate-start, image-animate-stop, image-animate-timeout)
10990 (image-animated-p): New functions.
10992 * image-mode.el (image-toggle-display-image):
10993 Replace `create-image' with `create-animated-image'.
10995 2010-03-09 Miles Bader <miles@gnu.org>
10997 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10998 instead of "format:"; this ensures that the output is
10999 newline-terminated.
11001 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11003 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11004 that all errors are caught, and that the return value is always a
11007 2010-03-08 Kenichi Handa <handa@m17n.org>
11009 * language/misc-lang.el (windows-1256): New coding system.
11010 (cp1256): New alias of windows-1256 (bug#5690).
11012 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11014 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11015 call to rfc822-bad-address. (Bug#5692)
11017 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11019 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11020 Use vc-git-root as default directory for revision path (Bug#5657).
11022 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11024 * calculator.el (calculator): Don't bind split-window-keep-point
11027 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11029 * vc-git.el: Re-flow to fit into 80 columns.
11030 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11031 Remove spurious `quote' element in each case alternative.
11032 (vc-git-show-log-entry): Use prog1.
11033 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11035 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11037 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11039 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11041 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11042 definition, not the name (Bug#5481).
11044 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11046 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11047 argument with a local variable. (Bug#5670)
11049 2010-03-02 Juri Linkov <juri@jurta.org>
11051 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11053 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11055 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11056 error when FILENAME and NEWNAME are existing remote directories.
11058 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11059 parameter DIR-FLAG.
11061 2010-03-02 Glenn Morris <rgm@gnu.org>
11063 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11064 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11066 2010-03-01 Kenichi Handa <handa@m17n.org>
11068 * language/burmese.el (burmese-composable-pattern): Rename from
11069 myanmar-composable-pattern.
11071 * international/characters.el (script-list):
11072 * international/fontset.el (script-representative-chars):
11073 Change myanmar to burmese.
11074 (otf-script-alist): Likewise.
11075 (setup-default-fontset): Likewise. Re-fix :otf spec.
11077 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11079 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11081 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11083 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11085 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11087 * net/tramp.el (tramp-handle-write-region): START can be a string.
11088 Take care in the checks. Reported by Dan Davison
11089 <davison@stats.ox.ac.uk>.
11091 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11093 * net/dbus.el (dbus-introspect, dbus-get-property)
11094 (dbus-set-property, dbus-get-all-properties):
11095 Use `dbus-call-method' when noninteractive. (Bug#5645)
11097 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11099 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11100 * emacs-lisp/elint.el (elint-add-required-env):
11101 * calendar/icalendar.el (icalendar--add-diary-entry):
11102 * calc/calcalg2.el (math-tracing-integral):
11103 * files.el (recover-session-finish): Use with-current-buffer
11104 instead of save-excursion.
11106 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11108 Fix in-buffer completion when after-change-functions modify the buffer.
11109 * minibuffer.el (completion--replace): New function.
11110 (completion--do-completion): Use it and use relative movement.
11112 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11114 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11116 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11118 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11119 Allow the characters _<> in the stack entry (Bug#5653).
11121 2010-02-26 Kenichi Handa <handa@m17n.org>
11123 * language/burmese.el: Fix entries in composition-function-table.
11124 (myanmar-composable-pattern): New variable.
11126 * international/fontset.el (setup-default-fontset): Add an entry
11129 * international/characters.el (script-list): Add Myanmar
11132 2010-02-26 Glenn Morris <rgm@gnu.org>
11134 * custom.el (custom-initialize-delay): Doc fix.
11136 * mail/sendmail.el (send-mail-function): Autoload the call
11137 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11139 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11141 * files.el (hack-local-variables-filter): For eval forms, also
11142 check safe-local-variable-p (Bug#5636).
11144 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11146 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11147 setting the modes by `ignore-errors'. It might fail, for example
11148 if the file is not owned by the user but the group.
11149 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11151 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11153 * files.el (directory-listing-before-filename-regexp):
11154 Use stricter matching for iso-style dates, to avoid false matches with
11155 date-like filenames (Bug#5597).
11157 * htmlfontify.el (htmlfontify): Doc fix.
11159 * eshell/eshell.el (eshell): Doc fix.
11161 * startup.el (fancy-about-screen): In mode-line, apply
11162 mode-line-buffer-id face only to the buffer name (Bug#5613).
11164 2010-02-20 Kevin Ryde <user42@zip.com.au>
11166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11167 In `watcom' anchor regexp to start of line, to avoid slowness
11170 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11172 * subr.el (remove-yank-excluded-properties): Explain in a comment
11173 why `category' property is removed.
11175 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11177 * isearch.el (isearch-update-post-hook, isearch-update):
11178 Revert 2010-02-17 change.
11180 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11182 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11183 (icalendar--convert-weekly-to-ical)
11184 (icalendar--convert-yearly-to-ical)
11185 (icalendar--convert-block-to-ical)
11186 (icalendar--convert-cyclic-to-ical)
11187 (icalendar--convert-anniversary-to-ical): Take care of time
11188 specifications where hour has 1-digit only (Bug#5549).
11190 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11192 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11193 of disassemble output in GDB 7.1.
11195 2010-02-19 Glenn Morris <rgm@gnu.org>
11197 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11198 property. (Bug#5593)
11200 2010-02-18 Sam Steingold <sds@gnu.org>
11202 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11204 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11206 Use abbreviated file names in bookmarks (bug#5591).
11207 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11208 calls to expand-file-name.
11209 (bookmark-relocate): Use abbreviated file names in bookmarks.
11210 (bookmark-load): Use abbreviated file names in messages.
11212 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11215 expand "." and "..". Reported by Thierry Volpiatto
11216 <thierry.volpiatto@gmail.com>.
11218 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11220 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11221 permissions of the temporary file to "0600". In case the remote
11222 file has no read permissions for the owner, there might be
11223 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11225 22010-02-18 Glenn Morris <rgm@gnu.org>
11227 * emacs-lisp/authors.el (authors-renamed-files-alist):
11228 Add entries for INSTALL.CVS.
11230 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11232 * vc-bzr.el: Fix typo in Known Bugs section.
11234 * isearch.el (isearch-update-post-hook): New hook.
11235 (isearch-update): Use the new hook.
11237 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11239 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11240 Fix errors in copying directories.
11241 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11242 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11243 (tramp-handle-delete-file)
11244 (tramp-handle-dired-recursive-delete-directory)
11245 (tramp-handle-write-region): Flush also the cache for the upper
11248 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11250 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11252 * cus-edit.el (hardware): Doc fix.
11254 * man.el (man): Add to external custom group.
11256 * delim-col.el (columns): Move to wp custom group.
11258 * doc-view.el (doc-view): Add to data custom group.
11260 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11262 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11263 by ispell-parse-output (Bug#5575).
11265 2010-02-16 Kenichi Handa <handa@m17n.org>
11267 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11268 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11269 (skkdic-convert): Use `euc-japan' coding system for writing.
11271 2010-02-16 Glenn Morris <rgm@gnu.org>
11273 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11274 tex-main-file before using it. (Bug#5562)
11276 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11278 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11279 warnings, since it is annoying for the user to see them each time he
11282 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11284 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11286 instead of PROC for caching "first-password-request". Otherwise,
11287 new processes would not profit from passwords already entered.
11289 * net/tramp-cache.el (tramp-dump-connection-properties):
11290 Don't save "first-password-request" property.
11292 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11294 * outline.el (outline-head-from-level):
11295 * simple.el (with-wrapper-hook):
11296 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11297 (elint-defun, elint-buffer-env, elint-top-form-logged)
11298 (elint-unbound-variable):
11299 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11300 Fix typos in docstrings.
11302 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11304 * files.el (insert-directory): When WILDCARD-REGEXP and
11305 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11306 whole directory. (Bug#5551)
11308 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11309 dired's alignment sanity. (Bug#5516)
11311 2010-02-14 Juri Linkov <juri@jurta.org>
11313 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11314 Remove remaining ^H with their preceding chars. (Bug#5566)
11316 2010-02-13 Glenn Morris <rgm@gnu.org>
11318 * simple.el (transpose-subr): Give it a doc-string.
11320 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11323 2010-02-12 Juri Linkov <juri@jurta.org>
11325 * arc-mode.el (archive-unique-fname): Make directories for nested
11326 archives. (Bug#5540)
11328 2010-02-12 Juri Linkov <juri@jurta.org>
11330 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11332 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11334 * subr.el (copy-overlay): Handle deleted overlays.
11336 * man.el (Man-completion-table): Don't signal an error if we can't run
11337 manual-program (bug#4056).
11339 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11341 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11343 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11345 * info.el (Info-bookmark-jump): Simplify.
11347 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11348 (bookmark-default-handler): Accept new bookmark field `buffer'.
11350 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11352 * iswitchb.el (iswitchb-completions): Revert last change.
11354 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11356 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11357 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11358 This prevents file names like "~/" being listed literally.
11360 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11362 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11363 Remove dead code. (Bug#5546)
11365 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11367 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11368 correctly (Bug#5548).
11370 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11372 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11373 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11375 2010-02-08 Kenichi Handa <handa@m17n.org>
11377 * international/mule-util.el (with-coding-priority): Add autoload
11378 cookie for putting `lisp-indent-function'.
11380 2010-02-07 Glenn Morris <rgm@gnu.org>
11382 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11383 Move F2003 named interfaces from keywords-2 to keywords-1, and
11384 use function-name-face rather than constant-face.
11385 Simplify "abstract interface" regexp.
11387 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11389 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11390 ID-FORMAT. Pass it to `file-attributes'.
11392 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11394 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11396 * faces.el (set-face-attribute): Allow calling
11397 internal-set-lisp-face-attribute with 'unspecified family and
11398 foundry argument (Bug#5536).
11400 2010-02-07 Glenn Morris <rgm@gnu.org>
11402 * progmodes/f90.el (f90-font-lock-keywords-2)
11403 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11404 Handle F2003 named interfaces.
11406 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11408 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11409 beg and end before calling c-get-state-before-change-functions.
11411 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11413 * vc-bzr.el (vc-bzr-dir-extra-headers):
11414 Disable the pending merges header.
11416 2010-02-05 Juri Linkov <juri@jurta.org>
11418 * doc-view.el (doc-view-mode):
11419 * image-mode.el (image-mode): Put property mode-class=special.
11422 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11424 * vc-svn.el (vc-svn-revision-table): New function.
11426 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11428 * net/ange-ftp.el (ange-ftp-insert-directory):
11429 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11430 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11431 Handle also directories. (Bug#5478)
11433 2010-02-05 Glenn Morris <rgm@gnu.org>
11435 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11437 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11439 * startup.el (command-line-1): Convert options beginning with a
11440 single dash as well (Bug#5519).
11442 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11444 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11445 * minibuffer.el (completion-initials-expand): Only check the presence
11446 of delims *within* the boundaries, since otherwise the / delim is
11447 always found for files.
11449 Fix up various corner case problems.
11450 * doc-view.el (doc-view-last-page-number): New function.
11451 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11452 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11453 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11454 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11455 (doc-view-convert-current-doc): Don't create the resolution.el file
11457 (doc-view-pdf/ps->png): Do it here instead.
11458 (doc-view-already-converted-p): Check that resolution.el is present.
11459 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11460 windows that are not yet showing images.
11462 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11464 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11465 `dired-uncache' for every elemnt which is an absolute file name.
11467 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11468 directory, handle its directory component.
11469 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11470 function is called permanently and creates noise, otherwise.
11472 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11473 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11474 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11476 2010-02-04 David Burger <dburger@google.com> (tiny change)
11478 * macros.el (apply-macro-to-region-lines):
11479 Minor simplification. (Bug#5485)
11481 2010-02-04 Glenn Morris <rgm@gnu.org>
11483 * mail/rmail.el (rmail-show-message-1): Handle malformed
11484 quoted-printable text. (Bug#5441)
11486 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11488 * simple.el (visual-line-mode): Capitalize lighter.
11490 2010-02-03 John Wiegley <jwiegley@gmail.com>
11492 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11493 list of files considered for "virtual buffer" completions.
11495 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11497 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11498 also in case of (and (not full) (not wildcard)). This is needed
11499 when dired is called with a list of files, which are not in
11500 `default-directory'. (Bug#5478)
11502 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11506 2010-02-02 Juri Linkov <juri@jurta.org>
11508 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11509 from unidiff to allow function-line after @@.
11511 2010-02-02 Juri Linkov <juri@jurta.org>
11513 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11514 '(RCS SCCS) with inverted condition.
11516 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11518 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11521 2010-02-01 Juri Linkov <juri@jurta.org>
11523 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11524 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11525 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11526 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11528 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11530 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11531 (doc-view-revert-buffer): New command.
11532 (doc-view-mode-map): Use it.
11534 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11536 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11537 pending merge is detected.
11539 2010-01-31 Juri Linkov <juri@jurta.org>
11541 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11542 beginning of interactive spec like all other grep commands do.
11543 Put "all" in front of "gz". (Bug#5260)
11545 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11547 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11549 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11551 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11552 regexp is incorrect (Bug#5476).
11554 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11556 * net/tramp.el (tramp-handle-insert-directory): Handle also
11557 symlinks, when FILENAME is not in `default-directory'.
11559 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11561 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11562 FILE is not in `default-directory'. (Bug#5478)
11564 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11565 of SWITCHES. Handle the case, FILENAME is not in
11566 `default-directory'. (Bug#5478)
11567 (tramp-register-file-name-handlers): Add safe-magic property.
11569 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11571 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11574 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11576 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11577 (flymake-master-make-header-init): Add other C++ filename masks.
11578 (flymake-find-possible-master-files)
11579 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11581 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11583 Fix some busybox annoyances.
11585 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11586 not responding." string.
11587 (tramp-open-connection-setup-interactive-shell): Dump stty
11588 settings. Enable "neveropen" arg for all `tramp-send-command'
11589 calls. Handle "=" in variable values properly.
11590 (tramp-find-inline-encoding): Raise an error, when no encoding is
11592 (tramp-wait-for-output): Check, whether PROC buffer is available.
11593 Remove spurious " ^H" sequences, sent by busybox.
11594 (tramp-get-ls-command): Suppress coloring, if possible.
11596 2010-01-28 Glenn Morris <rgm@gnu.org>
11598 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11600 * log-edit.el (log-edit-strip-single-file-name): Add missing
11601 :safe, :group, and :version tags.
11603 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11605 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11606 buffers. (Bug#5477)
11608 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11610 * files.el (delete-directory): Handle moving to trash without
11611 first doing recursion (Bug#5436).
11613 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11615 * vc-hooks.el (vc-path): Mark as obsolete.
11617 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11619 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11622 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11624 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11626 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11628 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11630 * vc-bzr.el (vc-bzr-revision-table): New function.
11632 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11634 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11635 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11637 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11639 Remove support for adding --signoff on commit.
11640 Future support will use an incompatible generic mechanism.
11641 * vc-git.el (vc-git-add-signoff): Remove variable.
11642 (vc-git-toggle-signoff): Remove function.
11643 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11645 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11646 Rename from xterm-set-background-mode. Return t if the background mode
11648 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11649 earlier, call it again in case the background mode has changed.
11651 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11653 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11656 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11658 * emacs-lisp/assoc.el (aelement): Doc fix.
11659 (aput, adelete, amake): Use lexical-let (Bug#5450).
11661 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11663 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11664 is the same as subprogram call, not declaration. (Bug#5435).
11666 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11668 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11669 (tramp-smb-maybe-open-connection): Use it.
11671 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11673 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11675 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11677 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11678 just because we see "encoding: 8bit".
11679 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11681 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11683 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11685 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11687 * jka-compr.el (jka-compr-load): If load-file is not in
11688 load-history, try its file-truename version. (bug#5447)
11690 2010-01-21 Alan Mackenzie <acm@muc.de>
11692 Fix a situation where deletion of a cpp construct throws an error.
11693 * progmodes/cc-engine.el (c-invalidate-state-cache):
11694 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11695 special cpp construct is still in the buffer.
11696 (c-parse-state): Record the special cpp with markers, not numbers.
11698 2010-01-21 Kenichi Handa <handa@m17n.org>
11700 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11701 process last-command-event, as it is now decoded first (Bug#5380).
11703 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11705 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11707 2010-01-20 Glenn Morris <rgm@gnu.org>
11709 * indent.el (tab-always-indent): Fix custom-type.
11711 2010-01-19 Alan Mackenzie <acm@muc.de>
11713 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11714 buffer throws "args out of range".
11715 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11716 playing the role of delimiter.
11718 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11720 * progmodes/ada-mode.el: Fix bug#5400.
11721 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11722 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11723 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11724 Improve comments in "is" portion. Handle null procedure declaration.
11725 (ada-move-to-end): Improve doc string.
11727 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11729 * ido.el (ido-cur-list): Initialize to nil.
11730 Remove obsolete information from commentary.
11731 (ido-choice-list): Initialize to nil.
11732 (ido-get-bufname): Reject minibuffers.
11733 (ido-make-buffer-list): If "default" is a nonexistent
11734 buffer, ignore it, as per the function's comment.
11735 (ido-kill-buffer-internal): New function.
11736 (ido-kill-buffer-at-head): Use it.
11737 (ido-visit-buffer): Likewise.
11739 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11741 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11743 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11745 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11746 Fix typos in chart titles.
11748 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11749 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11750 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11751 (describe-class, eieio-describe-generic, describe-generic):
11752 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11753 (eieio-speedbar-expand):
11754 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11755 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11756 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11757 (viper-del-backward-char-in-replace, viper-backward-indent)
11758 (viper-brac-function, viper-register-to-point, viper-submit-report):
11759 * net/tramp.el (tramp-remote-coding-commands):
11760 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11761 Fix typos in docstrings.
11763 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11765 * mail/sendmail.el (mail-yank-original): Set the mark if the
11766 specified function for yanking does not do it.
11768 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11770 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11772 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11773 resyncing a directory.
11775 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11777 * progmodes/ada-mode.el: Fix bug#1920.
11778 (ada-ident-re): Delete ., allow multibyte characters.
11779 (ada-goto-label-re): New; matches goto labels.
11780 (ada-block-label-re): New; matches block labels.
11781 (ada-label-re): New; matches both.
11782 (ada-named-block-re): Deleted; callers changed to use
11783 `ada-block-label-re' instead.
11784 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11785 Use `ada-block-label-re'.
11786 (ada-indent-on-previous-lines): Improve handling of goto labels.
11787 (ada-get-indent-block-start): Special-case block label.
11788 (ada-get-indent-label): Split into `ada-indent-block-label' and
11789 `ada-indent-goto-label'.
11790 (ada-goto-stmt-start, ada-goto-next-non-ws):
11791 Optionally ignore goto labels.
11792 (ada-goto-next-word): Simplify.
11793 (ada-indent-newline-indent-conditional): Insert newline before
11794 trying to fix indentation; doc fix.
11796 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11798 * calc/calc.el (calc-command-flags): Give it an initial value.
11800 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11802 * files.el (minibuffer-with-setup-hook):
11803 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11804 (artist-key-draw-continously, artist-key-do-continously-continously)
11805 (artist-key-set-point-continously, artist-mouse-draw-continously):
11806 Fix typos in docstrings.
11808 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11810 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11811 Never return t (Bug#3898).
11813 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11815 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11816 can parse the output of the external commands (Bug#5279).
11818 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11820 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11822 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11824 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11826 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11828 * startup.el (command-line): Remove unused --icon-type arg.
11829 Handle --display arg, passing it to command-line-1 (Bug#5392).
11831 2010-01-16 Mario Lang <mlang@delysid.org>
11833 * emacs-lisp/chart.el (chart-translate-namezone):
11834 * textmodes/artist.el (artist-compute-popup-menu-table):
11835 Remove duplicated words in doc-strings.
11837 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11839 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11840 to mairix-search to suppress threading (Bug#5342).
11842 2010-01-15 Kenichi Handa <handa@m17n.org>
11844 * international/mule-cmds.el (canonicalize-coding-system-name):
11845 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11847 2010-01-15 Glenn Morris <rgm@gnu.org>
11849 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11851 * wid-edit.el (widget-keymap): Doc fix.
11853 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11854 former seems to be more widely accepted by various svn versions.
11856 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11858 * find-cmd.el (find-constituents):
11859 * vc-arch.el (vc-arch-root):
11860 * window.el (window-body-height, pop-up-frames):
11861 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11862 * progmodes/ada-stmt.el (ada-if):
11863 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11864 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11865 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11866 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11868 * progmodes/flymake.el (flymake-post-syntax-check):
11869 Fix typo in error message.
11871 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11873 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11874 which is always a string. (Bug#5313)
11876 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11878 * progmodes/ada-xref.el (ada-default-prj-properties):
11879 Simplify previous change.
11881 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11883 * progmodes/ada-xref.el (ada-default-prj-properties):
11884 Default ada_project_path to $ADA_PROJECT_PATH.
11886 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11888 * progmodes/ada-mode.el (ada-create-keymap):
11889 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11891 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11893 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11894 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11895 (ada-get-current-indent, ada-imenu-generic-expression)
11896 (ada-which-function): Check for it.
11898 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11900 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11901 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11903 2010-01-14 Glenn Morris <rgm@gnu.org>
11905 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11907 2010-01-14 Kenichi Handa <handa@m17n.org>
11909 * composite.el (auto-composition-mode): Make it a buffer local
11910 variable (permanent-local).
11911 (auto-composition-function): Set the default value to
11912 auto-compose-chars.
11913 (auto-composition-mode): Make it a simple function, not a minor mode.
11914 (global-auto-composition-mode): Likewise.
11915 (turn-on-auto-composition-if-enabled): Delete it.
11917 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11919 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11921 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11923 * files.el (copy-directory): Compute target for recursive
11924 directories with identical names. (Bug#5343)
11926 2010-01-12 Glenn Morris <rgm@gnu.org>
11928 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11929 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11931 2010-01-11 Sam Steingold <sds@gnu.org>
11933 * imenu.el (imenu-default-create-index-function): Detect infinite
11934 loops caused by imenu-prev-index-position-function.
11936 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11938 * htmlfontify.el (htmlfontify-load-rgb-file)
11939 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11940 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11941 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11942 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11943 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11944 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11945 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11946 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11947 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11948 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11949 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11950 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11951 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11952 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11953 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11954 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11955 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11956 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11957 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11958 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11959 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11960 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11961 backslash-quoting from parentheses, etc.
11963 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11965 * progmodes/js.el: Autoload javascript-mode alias.
11967 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11969 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11970 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11971 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11972 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11973 Fix typos in docstrings.
11974 (ffap-url-regexp): Doc fix.
11975 (ffap-at-mouse): Fix typo in message.
11977 2010-01-11 Glenn Morris <rgm@gnu.org>
11979 * version.el (emacs-copyright): Set copyright year to 2010.
11981 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11983 * format.el (format-annotate-function): Only set
11984 write-region-post-annotation-function after running to-fn so as not to
11985 affect nested write-region calls (bug#5273).
11987 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11989 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11992 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11994 * man.el (Man-goto-section): Signal error if the section is not
11997 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11999 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12000 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12002 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12004 * progmodes/compile.el: Don't treat compile-command as safe if
12005 compilation-read-command might be nil (Bug#4218).
12007 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12009 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12012 2010-01-08 Kenichi Handa <handa@m17n.org>
12014 * international/fontset.el (build-default-fontset-data):
12015 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12017 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12019 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12020 to `create-file-buffer' as it expects, not just a buffer name.
12021 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12022 to help uniquify. (Bug#3224)
12024 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12026 * font-setting.el (font-setting-change-default-font): Use user-spec
12029 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12031 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12033 2010-01-05 Tom Tromey <tromey@redhat.com>
12035 * progmodes/python.el (python-font-lock-keywords):
12036 Handle qualified decorators (Bug#881).
12038 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12040 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12041 in a lightweight checkout.
12043 2010-01-05 Kenichi Handa <handa@m17n.org>
12045 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12047 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12049 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12051 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12053 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12054 checkouts. (Bug#618)
12055 (vc-bzr-log-view-mode): Also highlight the author.
12056 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12057 (vc-bzr-shelve-menu-map):
12058 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12059 (vc-bzr-shelve-apply): Make prompt more explicit.
12061 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12063 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12064 They are valid characters in URL paths (rfc3986), and at least
12065 Firefox does not understand the encoded version (Bug#3166).
12067 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12069 * progmodes/octave-mod.el (octave-end-keywords)
12070 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12071 Add "end" keyword (Bug#3061).
12072 (octave-end-as-array-index-p): New function.
12073 (calculate-octave-indent): Use it.
12075 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12077 * bookmark.el: Consistently put the text property on the bookmark name.
12078 (bookmark-bmenu-marks-width): Bump back to 2, to include
12080 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12081 property on the bookmark name, instead of not putting it at all.
12082 (bookmark-bmenu-list): Fix where we put the text property.
12084 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12086 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12087 for showing buffer modified state (as added in the previous change).
12089 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12091 * bookmark.el: Show modified state of bookmark buffer more accurately.
12092 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12093 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12094 (with-buffer-modified-unmodified): New macro.
12095 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12096 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12097 Use new macro to preserve the buffer modified state.
12099 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12101 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12102 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12103 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12104 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12105 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12106 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12107 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12109 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12111 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12112 Make the lines in the generated doc string shorter. (Bug#4668)
12114 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12116 * net/rcirc.el: Add follow-link binding (Bug#4738).
12118 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12120 * Makefile.in (bzr-update): Rename from cvs-update.
12121 (cvs-update): New target for backward compatibility.
12123 * makefile.w32-in (bzr-update): Rename from cvs-update.
12124 (cvs-update): New target for backward compatibility.
12126 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12128 * bookmark.el: Remove gratuitous gratitude.
12130 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12132 * bookmark.el (bookmark-bmenu-any-marks): New function.
12133 (bookmark-bmenu-save): Clear buffer modification if no marks.
12135 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12137 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12138 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12139 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12140 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12142 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12143 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12144 To: emacs-devel {_AT_} gnu.org
12145 Subject: bookmark.el bug report
12146 Date: Mon, 28 Dec 2009 14:19:16 +0800
12147 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12149 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12151 * bookmark.el: Improvements suggested by Drew Adams:
12152 (bookmark-bmenu-ensure-position): New name for
12153 `bookmark-bmenu-check-position'. Just ensure the position,
12154 don't return any meaningful value.
12155 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12158 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12160 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12161 (bookmark-yank-point, bookmark-bmenu-check-position):
12162 Fix typos in docstrings.
12163 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12164 (bookmark-name-from-full-record, bookmark-get-position)
12165 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12166 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12167 Remove useless quoting of parenthesis, etc. in docstrings.
12169 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12170 (ediff-append-custom-diff): Fix typo in error message.
12171 (ediff-meta-mark-equal-files): Fix typos in messages.
12173 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12175 * net/imap-hash.el (imap-hash-make): Doc fix.
12176 (imap-hash-test): Fix typo in error message; reflow docstring.
12177 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12178 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12179 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12180 Fix typos in docstrings.
12181 (imap-hash-open-connection): Fix typo in error message.
12183 * play/gomoku.el (gomoku): Fix typos in docstring.
12185 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12186 (gdb-jsonify-buffer): Fix typos in docstring.
12187 (gdb-goto-breakpoint): Fix typo in error message.
12188 ("Display Other Windows"): Fix typo in help message.
12189 (gdb-speedbar-expand-node): Fix typo in question.
12191 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12192 (idlwave-html-system-help-location, idlwave-html-help-location)
12193 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12194 (idlwave-help-browser-generic-args, idlwave-help-directory)
12195 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12196 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12197 (idlwave-online-help, idlwave-help-html-link)
12198 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12199 Fix typos in docstrings.
12200 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12202 (idlwave-help-assistant-start): Fix typo in error message.
12204 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12205 (octave-electric-space): Fix typos in docstrings.
12207 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12209 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12211 2010-01-01 Juri Linkov <juri@jurta.org>
12213 * comint.el (comint-input-ring-size): Make it a defcustom and
12214 increase the default to 500 (Bug#5148).
12216 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12218 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12219 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12220 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12222 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12224 Show working revision correctly for mercurial.
12225 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12226 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12228 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12230 Declare some functions for the byte-compiler.
12231 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12232 (speedbar-timer-fn, speedbar-change-expand-button-char)
12233 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12235 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12237 This changeset reverts GDB Graphical Interface to use annotations.
12238 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12240 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12242 Make vc-dir work on subdirectories of the bzr root.
12243 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12244 Return file names relative to it.
12245 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12246 relative directory to vc-bzr-after-dir-status.
12248 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12250 * font-lock.el (font-lock-refresh-defaults): New function, which
12251 can be used to let font-lock react to external changes in
12252 variables like font-lock-defaults and keywords.
12253 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12255 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12257 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12259 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12261 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12263 Supersede color.diff settings in git log (bug#5211).
12265 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12266 escape chars in its output when the user has color.diff set to `always'.
12267 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12269 2009-12-26 Kevin Ryde <user42@zip.com.au>
12271 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12272 node. Keep previous "Index" name to work with past coreutils too.
12274 * man.el (man): Revise docstring a bit to show -a and -l as
12275 examples. Add -k description since support for it has otherwise
12276 been a secret. (Further to bug#3717.)
12277 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12278 "no matches" rather than "Can't find manpage", as the latter reads
12279 like -k was interpreted as a page name, which is not so. (Bug#5431)
12281 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12283 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12284 switches. Check also for //SUBDIRED// line.
12286 2009-12-25 Kenichi Handa <handa@m17n.org>
12288 * language/indian.el (devanagari-composable-pattern): Fix to
12289 handle ZWNJ and ZWJ. Use it in composition-function-table for
12291 (malayalam-composable-pattern): Fix previous change.
12293 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12295 * ps-print.el (ps-face-attributes): It was not returning the
12296 attribute face for faces specified as string. Reported by harven
12297 <harven@free.fr>. (Bug#5254)
12298 (ps-print-version): New version 7.3.5.
12300 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12302 * calendar/icalendar.el (icalendar--convert-tz-offset):
12303 Fix timezone names.
12304 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12305 (icalendar--add-diary-entry): Remove the trailing blank that
12306 diary-make-entry inserts.
12308 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12310 Make `file-expand-wildcards' work for remote files.
12312 * files.el (file-expand-wildcards): In case of remote files, check
12313 only local file name part for wildcards. Provide feature 'files
12314 and subfeature 'remote-wildcards. (Bug#5198)
12316 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12317 if there is already an established connection.
12318 (tramp-advice-file-expand-wildcards): Remove it.
12320 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12321 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12322 Activate advice for older GNU Emacs versions. (Bug#5237)
12324 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12326 Some doc fixes (more needed).
12328 * find-cmd.el (find-constituents): Reflow docstring.
12329 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12330 (find-generic): Doc fix.
12332 2009-12-17 Juri Linkov <juri@jurta.org>
12334 Fix regression from 23.1 to allow multiple modes in Local Variables.
12336 * files.el (hack-local-variables-filter): While ignoring duplicates,
12337 don't take `mode' into account.
12338 (hack-local-variables-filter, hack-dir-local-variables):
12339 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12341 2009-12-17 Juri Linkov <juri@jurta.org>
12343 Make `dired-diff' safer. (Bug#5225)
12345 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12346 `current' or when `file' is a directory of the `current' file.
12348 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12350 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12351 unconditionally preloaded files.
12353 2009-12-16 Juri Linkov <juri@jurta.org>
12355 Revert to old 23.1 logic of using the file at the mark as default.
12356 * dired-aux.el (dired-diff): Use the file at the mark as default
12357 if it's not the same as the current file, and the target dir is
12358 the current dir or the mark is active. Add the current file
12359 as the arg of `dired-dwim-target-defaults'. Use the default file
12360 in the prompt. (Bug#5225)
12362 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12364 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12365 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12366 (tramp-check-for-regexp): Check also, when an echoing shell stops
12367 to echo sent commands.
12369 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12371 * Makefile.in: Revert last change (Bug#5191).
12373 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12375 * vc-hg.el (vc-hg-print-log): Fix argument order.
12376 (vc-hg-working-revision): Make sure the command is executed in a
12377 known environment so that we can parse the output. (Bug#4417)
12379 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12381 * progmodes/python.el (python-symbol-completions): Remove text
12382 properties from symbol string before calling python-send-receive.
12384 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12386 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12387 when there are values for both file and line. (Bug#5060)
12389 2009-12-14 Juri Linkov <juri@jurta.org>
12391 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12392 whitespace after the file name of the first line of unified format,
12393 because git-diff doesn't output whitespace and file modification time
12394 after the file name.
12396 2009-12-14 David Kastrup <dak@gnu.org>
12398 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12399 check if it already has the `display' property added by
12400 `Info-display-images-node', and not put the `invisible' property
12403 2009-12-13 Glenn Morris <rgm@gnu.org>
12405 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12406 (report-emacs-bug): In message-mode, sort manually before storing
12407 original report text. (Bug#5178)
12408 Remove superfluous save-excursion.
12410 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12412 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12413 when responding to "GetAll" properties.
12415 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12417 * simple.el (compose-mail): Remove mail-setup-with-from from
12418 customization checks.
12420 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12422 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12423 RAR archives created on Unix systems.
12425 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12428 the varalias that was accidentally removed by the 2009-11-19 change
12431 2009-12-12 Kenichi Handa <handa@m17n.org>
12433 * language/indian.el (indian-compose-regexp): New function.
12434 (malayalam-composable-pattern): Fix the pattern.
12435 (composition-function-table): Set malayalam-composable-pattern for
12436 Malayalam characters.
12438 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12440 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12441 rather than down-mouse-1, based on follow-link conventions.
12443 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12446 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12448 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12449 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12450 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12451 (verilog-leap-to-head, verilog-backward-token):
12452 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12454 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12456 * progmodes/verilog-mode.el (verilog-auto-lineup)
12457 (verilog-nameable-item-re): Cleanup user-visible spelling and
12458 documentation errors. One reported by Gary Delp.
12459 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12460 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12461 package, bug195. Reported by Pierre-David Pfister.
12463 2009-12-11 Glenn Morris <rgm@gnu.org>
12465 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12467 * mail/emacsbug.el: No longer require sendmail.
12468 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12469 (report-emacs-bug-orig-text): Doc fix.
12470 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12471 New local variables, to adapt to different mail-user-agents.
12472 (report-emacs-bug): Fix test for a gnu.org address.
12473 Use overlays for emphasis, since font-lock defeats 'face property.
12474 Pretest bugs also end up at the newsgroup these days.
12475 Stop message-mode stripping text properties.
12476 Set and use the new buffer-local variables.
12477 (report-emacs-bug-hook): Add doc-string.
12478 Remove some unnecessary save-excursions and simplify.
12479 Use the appropriate hook and send-command.
12481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12482 capitalization of some menu entries.
12484 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12486 * whitespace.el (whitespace-display-char-on):
12487 Ensure `buffer-display-table' is unique when two or more windows are
12488 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12491 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12493 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12494 characters in the Attribute field.
12496 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12498 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12500 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12502 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12503 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12504 Disregard autoload-excludes.
12505 (update-directory-autoloads): Obey autoload-excludes here instead.
12506 But don't store its contents in no-autoloads and remove entries that
12507 refer to excludes files.
12509 2009-12-10 Glenn Morris <rgm@gnu.org>
12511 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12512 (expand-mail-aliases): Define for compiler.
12514 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12515 Define for compiler.
12517 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12518 appropriate for the mail-user-agent in use.
12520 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12522 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12524 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12526 Fix short log parsing and fontification.
12527 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12528 Fix fontification for the [merge] label.
12530 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12532 Drop some properties to avoid surprises (bug#5002).
12533 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12534 (hfy-fontify-buffer): Use it.
12536 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12539 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12540 Adjust all callers.
12541 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12542 args compulsory. Adjust callers.
12543 (ffap-gopher-at-point): Remove unused var `name'.
12545 Get rid of the ELCFILES abomination.
12546 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12547 (compile-elcfiles): New phony target.
12548 (compile-main): Compute ELCFILES dynamically.
12549 (compile-clean): New target to remove left-over elc files.
12550 (compile, all): Use it.
12552 2009-12-09 Kenichi Handa <handa@etlken>
12554 * international/mule-diag.el: Require help-mode instead of help-fns.
12556 2009-12-09 Kenichi Handa <handa@m17n.org>
12558 * international/mule-cmds.el (ucs-names): Supply sufficiently
12559 fine ranges instead of pre-calculating accurate ranges.
12560 Iterate with bigger gc-cons-threshold.
12562 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12564 Add support for stashing a snapshot of the current tree.
12565 * vc-git.el (vc-git-stash-snapshot): New function.
12566 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12568 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12570 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12571 instead of `(beginning|end)-of-line'.
12573 2009-12-08 Glenn Morris <rgm@gnu.org>
12575 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12577 * Makefile.in (ELCFILES): Regenerate.
12579 2009-12-07 Juri Linkov <juri@jurta.org>
12581 Don't lazy-highlight the comint output in history Isearch mode.
12583 * comint.el (comint-history-isearch-search): Instead of
12584 `comint-line-beginning-position', use `comint-after-pmark-p'
12585 to check if point if before the process mark, and go to
12586 `process-mark' in this case.
12588 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * textmodes/tex-mode.el (latex-complete)
12591 (latex-indent-or-complete): Remove.
12592 (latex-mode): Set completion-at-point-functions instead.
12594 Provide a standard completion command and hook it into TAB.
12595 * minibuffer.el (completion-at-point-functions): New var.
12596 (completion-at-point): New command.
12597 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12598 * progmodes/python.el (python-mode-map): Use completion-at-point.
12599 (python-completion-at-point): Rename from python-partial-symbol and
12600 adjust for use in completion-at-point-functions.
12601 (python-mode): Setup completion-at-point for Python completion.
12602 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12603 extracted from lisp-complete-symbol.
12604 (lisp-complete-symbol): Use it.
12605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12606 setup completion-at-point for Elisp completion.
12607 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12608 Use completion-at-point.
12609 * ielm.el (ielm-map): Use completion-at-point.
12610 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12611 * progmodes/sym-comp.el: Move to...
12612 * obsolete/sym-comp.el: Move from progmodes.
12614 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12616 Prevent save-buffer in Rmail buffers from using the coding-system
12617 of the current message, and from clobbering the encoding mnemonics
12618 in the mode line (Bug#4623).
12620 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12622 (rmail-message-encoding): New variable.
12623 (rmail-write-region-annotate): Record the encoding of the current
12624 message in rmail-message-encoding.
12625 (rmail-after-save-hook): New function, restores the encoding of
12626 the current message after the message collection is saved.
12628 2009-12-07 Juri Linkov <juri@jurta.org>
12630 * progmodes/grep.el (grep-read-files): Use `completing-read'
12631 instead of `read-string'. Set its `collection' arg to
12632 `read-file-name-internal'. (Bug#4301)
12634 2009-12-07 Juri Linkov <juri@jurta.org>
12636 Correctly restore original Isearch point. (Bug#4994)
12638 * isearch.el (isearch-mode): Move `isearch-push-state' after
12639 `(run-hooks 'isearch-mode-hook)'.
12640 (isearch-cancel): When `isearch-push-state-function' is defined,
12641 let-bind `isearch-cmds' to the first state (the last element of
12642 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12643 function and restores the original point). Otherwise, move point
12644 to `isearch-opoint'.
12646 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12648 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12649 chars that don't have names, so the table can be built much faster at
12652 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12654 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12655 change. Suggested by David Kastrup.
12657 * simple.el (compose-mail): Check for incompatibilities and warn.
12658 (compose-mail-user-agent-warnings): New option.
12660 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12662 Support showing a single log entry from vc-annotate.
12663 * vc.el (print-log): Add a new argument: START-REVISION.
12664 (vc-print-log-internal): Add a new optional argument and
12665 pass it to the backend.
12666 (vc-print-log, vc-print-root-log): Adjust callers.
12667 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12668 buffer already displays the requested log entry, use it.
12669 Otherwise display only the log entry in question.
12670 * vc-svn.el (vc-svn-print-log):
12671 * vc-mtn.el (vc-mtn-print-log):
12672 * vc-hg.el (vc-hg-state):
12673 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12674 (vc-git-show-log-entry): Return t on success.
12675 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12676 (vc-bzr-show-log-entry): Return t on success.
12677 * vc-rcs.el (vc-rcs-print-log):
12678 * vc-sccs.el (vc-sccs-print-log):
12679 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12681 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12683 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12684 Add menus to the meta mode. (Bug#5043)
12686 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12688 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12691 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12693 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12695 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12696 Berbain <raphael.berbain@gmail.com>.
12698 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12700 (tramp-initial-end-of-output): New defconst.
12701 (tramp-methods, tramp-find-shell)
12702 (tramp-open-connection-setup-interactive-shell)
12703 (tramp-maybe-open-connection): Use it.
12704 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12705 Handle existence of `#' and `$'.
12707 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12708 Use `tramp-initial-end-of-output'.
12710 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12712 Get the background mode from the terminal for xterm, and set
12714 * term/xterm.el (xterm-set-background-mode): New function.
12715 (terminal-init-xterm): Use it in case xterm supports background
12716 color queries. Recompute faces after getting the background
12719 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12721 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12722 number comment back on its own line, for easier parsing.
12724 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12726 Make it work for non-file buffers (bug#5102).
12727 * doc-view.el (doc-view-current-cache-dir):
12728 Use doc-view-buffer-file-name rather than buffer-file-name.
12729 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12731 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12733 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12734 author field is too short.
12736 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12738 * vc-git.el (vc-git-print-log): Handle a limit argument.
12739 Display the short log in graph form and with labels.
12740 (vc-git-log-view-mode): Handle labels.
12742 Make vc-revert change VC state from 'added to 'unregistered.
12743 * vc-git.el (vc-git-revert): Call git reset first.
12745 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12747 * net/newst-backend.el, net/newst-plainview.el:
12748 * net/newst-reader.el, net/newst-ticker.el:
12749 * net/newst-treeview.el, net/newsticker.el:
12750 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12752 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12754 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12756 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12757 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12758 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12759 Update annotation regexp.
12761 * simple.el (beginning-of-visual-line): Constrain to field
12762 boundaries (Bug#5106).
12764 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12766 * xml.el (xml-substitute-numeric-entities):
12767 Move newsticker--decode-numeric-entities in newst-backend.el to
12768 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12769 * net/newst-backend.el (newsticker--parse-generic-feed)
12770 (newsticker--parse-generic-items)
12771 (newsticker--decode-numeric-entities):
12772 Move newsticker--decode-numeric-entities in newst-backend.el to
12773 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12775 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12777 * progmodes/js.el (js--js-not): Add null to the list of values.
12779 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12781 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12783 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12785 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12786 delimiter if it is at the end of the current line.
12787 (bibtex-generate-url-list): Fix docstring.
12789 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12791 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12792 minibuffer's content with itself.
12793 Fold the confirm-after-completion case into the `confirm' case.
12794 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12796 2009-12-06 Kevin Ryde <user42@zip.com.au>
12798 * ffap.el (ffap-rfc-path): Make this a defcustom since
12799 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12801 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12802 manuals, similar to existing setup for help-mode. (Bug#3913.)
12804 2009-12-05 Juri Linkov <juri@jurta.org>
12806 Save and restore dired buffer's point positions too. (Bug#4880)
12808 * dired.el (dired-save-positions): Return in the first element
12809 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12811 (dired-restore-positions): First restore buffer's position.
12812 While restoring window's positions, check if window still displays
12813 the original buffer.
12815 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12817 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12820 * shell.el (shell): Require ansi-color (Bug#5113).
12822 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12824 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12826 2009-12-05 Alan Mackenzie <acm@muc.de>
12828 * progmodes/cc-mode.el (c-before-hack-hook)
12829 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12830 `c-file-style' to work again. This reversion restores the current
12831 software to its state in Emacs 23.1. (Bug#4146)
12833 2009-12-05 Kevin Ryde <user42@zip.com.au>
12835 * textmodes/sgml-mode.el (sgml-lexical-context):
12836 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12838 2009-12-05 Juri Linkov <juri@jurta.org>
12840 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12841 for virtual nodes. (Bug#4147)
12842 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12843 when moving from a virtual node.
12844 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12845 (Info-mode): Add `Info-virtual-index' to the docstring.
12847 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12849 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12850 track of the buffer position of the end of a BibTeX entry as this
12851 position may change during reformatting.
12852 (bibtex-format-entry): Remove whitespace before processing
12853 numerical fields so that we recognize the latter properly.
12854 (bibtex-reformat): Do not use push which changes the global value
12855 of bibtex-entry-format.
12856 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12857 (bibtex-field-re-init): Replace only space characters by regexp
12859 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12860 (bibtex-initialize): Also update bibtex-strings.
12861 (bibtex-kill-field): Preserve white space at end of entry.
12862 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12863 Update bibtex-reference-keys.
12865 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12867 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12868 point after a star, if that's the only place where modifications can
12871 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12873 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12876 2009-12-04 Juri Linkov <juri@jurta.org>
12878 * proced.el (proced): Call `(proced-update t)' to update process
12879 information instead of only running proced-post-display-hook.
12880 (proced-send-signal): Add a leading space to the buffer name
12881 " *Marked Processes*" to make this buffer ephemeral.
12883 2009-12-04 Juri Linkov <juri@jurta.org>
12885 * dired.el (dired-auto-revert-buffer): New defcustom.
12886 (dired-internal-noselect): Use it.
12888 2009-12-04 Juri Linkov <juri@jurta.org>
12890 Change roles of modes and functions in image-mode.el (Bug#5062).
12892 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12893 in `auto-mode-alist'.
12894 (image-mode-previous-major-mode): New variable.
12895 (image-minor-mode-map): Rename from `image-mode-text-map'.
12896 (image-mode): Move graceful error-handling code from
12897 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12898 (image-minor-mode): Remove all image-handling code.
12899 Replace `image-mode-text-map' with `image-minor-mode-map'.
12900 Check for `image-type' in mode-line format string.
12901 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12902 (image-mode-as-text): New function with most code from
12903 `image-mode-maybe'.
12904 (image-toggle-display-text): Move code that removes image
12905 properties from `image-toggle-display' to here.
12906 (image-toggle-display-image): New function with code that adds
12907 image properties copied from `image-toggle-display'.
12908 (image-toggle-display): Remove most code with leaving only code
12909 that toggles between `image-mode-as-text' and `image-mode'.
12911 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12913 * net/newst-treeview.el
12914 (newsticker--treeview-list-highlight-start): Restored call to
12915 save-excursion: Selected item was stuck.
12916 (newsticker--treeview-list-select): New.
12917 (newsticker--treeview-item-show-text)
12918 (newsticker--treeview-item-show)
12919 (newsticker--treeview-item-update): Use new
12920 newsticker-treeview-item-mode.
12921 (newsticker-treeview-update): Keep current item.
12922 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12923 (newsticker--treeview-first-feed): Doc change.
12924 (newsticker-treeview-list-menu)
12925 (newsticker-treeview-item-menu): Add menu entries.
12926 (newsticker-treeview-item-mode): New.
12928 * net/newst-backend.el (newsticker-customize): Delete other
12931 2009-12-04 Sam Steingold <sds@gnu.org>
12933 * log-view.el (log-view-mode-map): "q" calls quit-window,
12934 like in all the other non-self-insert buffers.
12936 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12939 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12940 key decoding rather than do it manually via last-input-event +
12942 (term-exec): Use delete-and-extract-region.
12943 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12944 (term-process-pager): Remove unused var `i'.
12945 (term-dynamic-simple-complete): Make obsolete.
12946 (serial-update-config-menu): Remove unused vars `y' and `str'.
12947 (term-update-mode-line): Remove unused var `temp'.
12949 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12951 Limit the number of log entries displayed by default.
12952 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12953 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12954 using a prefix argument.
12956 2009-12-03 Glenn Morris <rgm@gnu.org>
12958 * progmodes/idlwave.el (class): Restore still useful declaration.
12960 2009-12-03 Alan Mackenzie <acm@muc.de>
12962 Enhance `c-parse-state' to run efficiently in "brace deserts".
12964 * progmodes/cc-mode.el (c-basic-common-init):
12965 Call c-state-cache-init.
12966 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12967 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12968 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12970 * progmodes/cc-langs.el (c-before-font-lock-function):
12971 c-extend-and-neutralize-syntax-in-CPP has been renamed
12972 c-neutralize-syntax-in-and-mark-CPP.
12974 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12975 with `category' properties now, not `syntax-table' ones.
12977 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12978 enhanced (but slower) version of c-end-of-macro that won't land
12979 inside a literal or on another awkward character.
12980 (c-state-cache-too-far, c-state-cache-start)
12981 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12982 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12983 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12984 (c-state-min-scan-pos, c-state-brace-pair-desert)
12985 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12986 buffer local variables.
12987 (c-state-literal-at, c-state-lit-beg)
12988 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12989 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12990 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12991 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12992 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12993 (c-renarrow-state-cache)
12994 (c-append-lower-brace-pair-to-state-cache)
12995 (c-state-push-any-brace-pair, c-append-to-state-cache)
12996 (c-remove-stale-state-cache)
12997 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12998 (c-invalidate-state-cache-1, c-parse-state-1)
12999 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13000 (c-parse-state): Enhance and refactor.
13001 (c-debug-parse-state): Amend to deal with all the new variables.
13003 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13004 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13005 modify to use category text properties rather than syntax-table ones.
13006 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13007 to switch off/on the syntactic paren property of C++ template
13008 delimiters using the category property.
13009 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13010 template delims suppressed.
13011 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13012 New constant/macros which apply category properties to the start
13013 and end of preprocessor constructs.
13014 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13015 "comment out" the syntactic value of characters in preprocessor
13017 (c-with-cpps-commented-out)
13018 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13019 with characters in all or all but one preprocessor constructs
13022 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13024 * proced.el (proced-filter-alist): Use regexp-quote.
13026 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13029 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13030 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13031 arguments. Expand `default-directory'.
13033 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13034 the benefit of returning an expanded localname.
13035 (tramp-tramp-file-p): Handle the case NAME is not a string.
13037 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13039 Add support for bzr shelve/unshelve.
13040 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13041 (vc-bzr-extra-menu-map): New variables.
13042 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13043 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13044 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13045 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13046 (vc-bzr-dir-extra-headers): Display shelves.
13048 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13050 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13052 * textmodes/bibtex.el (bibtex-complete-internal):
13053 Use completion-in-region.
13054 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13056 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13058 Support applying stashes. Improve UI.
13059 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13060 (vc-git-stash-apply, vc-git-stash-pop)
13061 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13062 (vc-git-stash-menu): New functions.
13063 (vc-git-stash-menu-map): New variable.
13064 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13066 2009-12-03 Glenn Morris <rgm@gnu.org>
13068 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13069 (vc-print-log-internal): Fix previous change.
13070 (vc-revert): Correct pluralization.
13072 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13074 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13075 it to be an alist any more.
13076 (makefile-complete): Use completion-in-region.
13078 * progmodes/octave-mod.el (octave-complete-symbol):
13079 Use completion-in-region.
13082 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13083 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13084 (idlwave-complete-class): Don't quote lambda.
13085 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13086 (idlwave-mode-map): Move initialization into declaration.
13087 (idlwave-action-and-binding): Use backquotes.
13088 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13090 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13091 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13092 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13093 `parts', and `all-parts'.
13094 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13095 (idlwave-convert-xml-system-routine-info): Remove unused string
13097 (idlwave-display-user-catalog-widget): Use dolist.
13098 (idlwave-scanning-lib): Declare dynamically-scoped var.
13099 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13100 (completion-highlight-first-word-only): Declare to silence bytecomp.
13101 (idlwave-popup-select): Tighten scope of `resp'.
13102 (idlwave-find-struct-tag): Remove unused var `beg'.
13103 (idlwave-after-load-rinfo-hook): Declare.
13104 (idlwave-sintern-class-info): Remove unused var `taglist'.
13105 (idlwave-find-class-definition): Remove unused var `list'.
13106 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13107 (idlwave-what-module-find-class): Remove unused var `classes'.
13109 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13111 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13113 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13116 buffers visited. Remove redundant current-buffer-saving.
13118 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13120 Use completion-in-buffer and remove uses of dynamic scoping.
13121 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13122 (pascal-buffer-to-use, pascal-flag): Don't declare.
13123 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13124 (pascal-get-completion-decl, pascal-keyword-completion):
13125 Add `pascal-str' argument, save-excursion,
13126 return the found completions, and don't filter with pascal-pred.
13127 (pascal-completion-cache): New var.
13128 (pascal-completion): Don't switch buffer any more (it was never
13129 necessary). Don't save-excursion any more (it's done by the called
13130 subroutines). Use a cache to avoid redundant computations.
13131 Use complete-with-action rather than pascal-completion-response and
13132 let it apply the predicate as well.
13133 (pascal-complete-word): Use completion-in-buffer when
13134 pascal-toggle-completions is nil.
13135 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13137 (pascal-comp-defun): Don't change buffer any more.
13138 Use complete-with-action rather than pascal-completion-response and
13139 let it apply the predicate as well.
13140 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13143 2009-12-02 Kenichi Handa <handa@m17n.org>
13145 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13146 shape for all Indic scripts.
13148 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13150 Use completion-in-buffer.
13151 * wid-edit.el (widget-field-text-end): New function.
13152 (widget-field-value-get): Use it.
13153 (widget-string-complete, widget-file-complete)
13154 (widget-color-complete): Use it and completion-in-region.
13155 (widget-complete): Don't narrow the buffer.
13157 2009-12-02 Glenn Morris <rgm@gnu.org>
13159 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13160 (rmail-select-summary): Use rmail-pop-to-buffer.
13161 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13162 rmail-pop-to-buffer, to prevent horizontal splits.
13164 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13165 save-excursion with save-current-buffer.
13166 Widen before searching. (Bug#5093)
13167 (diary-list-sexp-entries): Remove superfluous save-excursion.
13169 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13171 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13174 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13176 * ido.el (ido-file-internal): Handle filenames at point that do
13177 not have a directory part. (Bug#5049)
13179 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13181 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13182 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13184 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13186 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13187 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13190 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13192 * comint.el (comint-insert-input): Ignore clicks to the right of
13193 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13195 * vc.el (vc-print-log-internal): Don't wait for the process to
13196 terminate before setting up the major mode.
13198 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13201 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13204 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13206 2009-12-01 Glenn Morris <rgm@gnu.org>
13208 * window.el (window--display-buffer-2): Fix previous changes.
13210 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13212 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13214 2009-12-01 Glenn Morris <rgm@gnu.org>
13216 * Makefile.in (ELCFILES): Add mpc.elc.
13218 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13220 * mpc.el: New file.
13222 2009-12-01 Glenn Morris <rgm@gnu.org>
13224 * window.el (window-to-use): Define for compiler.
13226 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13227 consistent with others (no final period).
13229 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13230 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13232 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13234 Make vc-print-log buttons work.
13235 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13237 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13239 * savehist.el (savehist-autosave-interval): Allow setting to nil
13240 through customize. (Bug#5056)
13242 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13244 Fix references to jit-lock properties.
13245 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13246 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13247 (perl-font-lock-special-syntactic-constructs):
13248 Quote jit-lock-defer-multiline property.
13250 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13252 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13254 2009-11-30 Juri Linkov <juri@jurta.org>
13256 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13257 value `buffer' of `multi-isearch-next-buffer-current-function'.
13258 Use `(current-buffer)' when `buffer' is nil.
13259 (multi-isearch-next-buffer-from-list): Don't fallback to
13260 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13262 2009-11-30 Juri Linkov <juri@jurta.org>
13264 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13265 of buffers with `get-buffer' to `multi-isearch-buffers'.
13266 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13267 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13268 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13269 FILES with `expand-file-name' converting relative file names
13270 to absolute. Doc fix. (Bug#4727)
13272 2009-11-30 Juri Linkov <juri@jurta.org>
13274 * misearch.el (multi-isearch-read-buffers)
13275 (multi-isearch-read-matching-buffers): New functions.
13276 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13277 Use them in the `interactive' spec. Doc fix.
13278 (multi-isearch-read-files, multi-isearch-read-matching-files):
13280 (multi-isearch-files, multi-isearch-files-regexp):
13281 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13283 2009-11-30 Juri Linkov <juri@jurta.org>
13285 * doc-view.el (doc-view-continuous):
13286 Rename from `doc-view-continuous-mode'.
13287 (doc-view-menu): Move "Toggle display" to the top.
13288 Add submenu "Continuous" with radio buttons "Off"/"On"
13289 and "Save as Default".
13290 (doc-view-scroll-up-or-next-page)
13291 (doc-view-scroll-down-or-previous-page)
13292 (doc-view-next-line-or-next-page)
13293 (doc-view-previous-line-or-previous-page):
13294 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13296 2009-11-30 Juri Linkov <juri@jurta.org>
13298 * comint.el (comint-mode-map): Rebind `M-r' from
13299 `comint-previous-matching-input' to
13300 `comint-history-isearch-backward-regexp'.
13301 Unbind `M-s' to allow global key binding `M-s'.
13302 Add menu items for `comint-history-isearch-backward' and
13303 `comint-history-isearch-backward-regexp'. (Bug#3746)
13305 2009-11-30 Juri Linkov <juri@jurta.org>
13307 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13308 For def=recenter, replace `recenter' with `recenter-top-bottom'
13309 that is called with `this-command' and `last-command' let-bound
13310 to `recenter-top-bottom'. When the last `def' was not `recenter',
13311 set `recenter-last-op' to nil. (Bug#4981)
13313 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13315 Minor cleanup and simplification.
13316 * filecache.el (file-cache-add-directory)
13317 (file-cache-add-directory-recursively)
13318 (file-cache-add-from-file-cache-buffer)
13319 (file-cache-delete-file-regexp, file-cache-delete-directory)
13320 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13321 (file-cache-temp-minibuffer-message): Delete function.
13322 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13324 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13325 Don't signal an error when bumping into EOB in tr, s, or y.
13327 2009-11-29 Juri Linkov <juri@jurta.org>
13329 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13332 * descr-text.el (describe-char-unidata-list): Use lowercase name
13333 for "Unicode name" like in other tags.
13335 2009-11-29 Juri Linkov <juri@jurta.org>
13337 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13338 New compatibility macro.
13339 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13341 2009-11-29 Juri Linkov <juri@jurta.org>
13343 Add defcustom to define the cycling order of `recenter-top-bottom'.
13346 * window.el (recenter-last-op): Doc fix.
13347 (recenter-positions): New defcustom.
13348 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13349 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13351 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13353 Improve integration of Tramp and ange-ftp in eshell.
13355 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13356 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13357 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13359 * eshell/esh-util.el (top): Require also Tramp when compiling.
13360 (eshell-directory-files-and-attributes): Check for FTP remote
13362 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13363 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13364 (eshell-file-attributes): Handle ".". Return `entry'.
13366 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13367 (ange-ftp-directory-files-and-attributes)
13368 (ange-ftp-real-directory-files-and-attributes): New defuns.
13370 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13371 shell with "exec" when possible. This prevents trailing prompts
13372 in `start-file-process'.
13374 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13376 Try and remove assumptions about point-min==1.
13377 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13378 (rng-compute-mode-line-string): Show the validation percentage in
13379 terms of the narrowed text, not the widened text.
13380 (rng-do-some-validation): Don't catch internal errors when debugging.
13381 (rng-first-error): Simplify.
13382 (rng-after-change-function): Remove work around. AFAIK the bug has
13383 been fixed a while ago.
13385 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13386 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13388 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13390 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13391 `cd' doesn't always do it for us (bug#5067).
13393 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13394 on 2009-10-25 as part of some other change (bug#5067).
13396 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13398 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13400 (byte-compile-warnings): Use byte-compile-warning-types.
13401 (byte-compile-save-excursion): Warn about use of set-buffer right
13402 after save-excursion.
13404 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13405 the excursion as well.
13407 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13409 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13410 providing a Tramp related implementation of "su" and "sudo".
13411 (eshell-unix-initialize): Add "su" and "sudo".
13413 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13415 * net/socks.el (socks-send-command): Convert binary request to
13416 unibyte before sending. This fixes mishandling of some port
13417 numbers such as 129.
13419 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13421 * help.el (describe-bindings-internal): Remove `interactive'.
13423 * man.el (Man-completion-table): Trim a terminating "(".
13424 Remove the space between name page a section.
13425 Add the command's description on the `help-echo' property.
13426 Remove `process-connection-type' binding since it's unused by
13428 Provide completion for the "<section> <name>" format as well.
13429 (Man-default-man-entry): Remove spurious var shadowing the argument.
13431 2009-11-26 Kevin Ryde <user42@zip.com.au>
13433 * log-view.el: Add "Keywords: tools", since its other keywords
13434 aren't in finder-known-keywords, and following vc.el.
13436 * sha1.el (sha1-string-external): default-directory "/" in case
13437 otherwise non-existent. process-connection-type pipe for touch of
13438 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13440 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13442 Misc coding convention cleanups.
13443 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13444 hfy-init-kludge-hooks.
13445 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13446 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13447 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13449 (hfy-slant, hfy-weight): Use tables rather than code.
13450 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13451 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13452 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13453 (hfy-face-to-css): Remove `nconc' with single arg.
13454 (hfy-p-to-face-lennart): Use `or'.
13455 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13456 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13457 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13458 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13459 (hfy-force-fontification): Use run-hooks.
13461 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13463 Various minor fixes.
13464 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13465 Javascript belongs in the header, not the body.
13466 (hfy-javascript): Remove.
13467 (hfy-fontify-buffer): Don't insert it any more.
13468 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13469 Fix bug in invis handling when there were no invis props in a chunk.
13471 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13473 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13475 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13477 * finder.el (finder-mode-map): Add a menu.
13479 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13481 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13482 "unsigned" structs.
13484 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13485 fork" statement better.
13487 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13489 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13490 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13491 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13492 Reported by Clay Douglass.
13494 (verilog-auto-inst, verilog-auto-star-safe)
13495 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13496 Fix removing "// Interfaces" when saving .* expansions.
13497 Reported by Pierre-David Pfister.
13499 2009-11-26 Glenn Morris <rgm@gnu.org>
13501 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13504 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13506 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13507 Really use previous revision.
13509 2009-11-25 Kevin Ryde <user42@zip.com.au>
13511 * man.el (Man-completion-table): default-directory "/" in case
13512 doesn't otherwise exist. process-environment COLUMNS=999 so as
13513 not to truncate long names. process-connection-type pipe to avoid
13514 any chance of hitting the pseudo-tty TIOCGWINSZ.
13515 (man): completion-ignore-case t for friendliness and since man
13516 itself is case-insensitive on the command line.
13517 Further to Bug#3717.
13519 * arc-mode.el: Add "Keywords: files", so the details in its
13520 commentary can be reached from finder-by-keyword.
13521 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13522 editing mode, but it's comms related and sgml-mode.el has "comm"
13524 * textmodes/bibtex-style.el: Add "Keywords: tex".
13525 * international/isearch-x.el, international/ja-dic-cnv.el:
13526 * international/ja-dic-utl.el, international/kkc.el:
13527 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13529 2009-11-25 Juri Linkov <juri@jurta.org>
13531 * man.el (Man-completion-table): Modify regexp to include
13532 section names to completion strings. (Bug#3717)
13534 2009-11-25 Juri Linkov <juri@jurta.org>
13536 Search recursively in gzipped files. (Bug#4982)
13538 * progmodes/grep.el (grep-highlight-matches): Add new options
13539 `always' and `auto'. Doc fix.
13540 (grep-process-setup): Check `grep-highlight-matches' for
13541 `auto-detect' to determine the need to compute grep defaults.
13542 Move Windows/DOS specific --colors settings handling
13543 to `grep-compute-defaults'. Check `grep-highlight-matches'
13544 to get the value of "--color=".
13545 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13546 has the value `auto-detect'. Move Windows/DOS specific settings
13547 from `grep-process-setup'.
13548 (zrgrep): New command with alias `rzgrep'.
13550 2009-11-25 Juri Linkov <juri@jurta.org>
13552 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13553 to nil instead of switching off view-mode. (Bug#4896)
13555 2009-11-25 Juri Linkov <juri@jurta.org>
13557 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13559 * mwheel.el (mwheel-scroll-up-function)
13560 (mwheel-scroll-down-function): New defvars.
13561 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13562 `scroll-up', and `mwheel-scroll-down-function' instead of
13565 * doc-view.el (doc-view-scroll-up-or-next-page)
13566 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13567 Use this ARG in the call to image-scroll-up/image-scroll-down.
13568 Change `interactive' spec to "P". Goto next/previous page only
13569 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13570 SPC/DEL case). Doc fix.
13571 (doc-view-next-line-or-next-page)
13572 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13574 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13575 `doc-view-scroll-up-or-next-page', and buffer-local
13576 `mwheel-scroll-down-function' to
13577 `doc-view-scroll-down-or-previous-page'.
13579 2009-11-25 Juri Linkov <juri@jurta.org>
13581 Provide additional default values (directories at other Dired
13582 windows) via M-n in the minibuffer of some Dired commands.
13584 * dired-aux.el (dired-diff, dired-compare-directories)
13585 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13586 `minibuffer-default' in `minibuffer-with-setup-hook'.
13587 (dired-dwim-target-directory): Find a window that displays Dired
13588 buffer instead of failing when the next window is not Dired.
13589 Use `get-window-with-predicate' to find for the next Dired window.
13590 (dired-dwim-target-defaults): New function.
13592 * ediff-util.el (ediff-read-file-name):
13593 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13594 in `minibuffer-with-setup-hook'.
13596 2009-11-25 Juri Linkov <juri@jurta.org>
13598 Provide additional default values (file name at point or at the
13599 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13601 * minibuffer.el (read-file-name-defaults): New function.
13602 (read-file-name): Reset `minibuffer-default' to nil when
13603 it duplicates initial input `insdef'.
13604 Bind `minibuffer-default-add-function' to lambda that
13605 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13606 (minibuffer-insert-file-name-at-point): New command.
13608 * files.el (file-name-at-point-functions): New defcustom.
13609 (find-file-default): Remove defvar.
13610 (find-file-read-args): Don't use `find-file-default'.
13611 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13612 to `read-file-name'.
13613 (find-file-literally): Use `read-file-name' with
13614 `confirm-nonexistent-file-or-buffer'.
13616 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13618 * dired.el (dired-read-dir-and-switches):
13619 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13620 to `read-file-name'.
13621 (dired-file-name-at-point): New function.
13622 (dired-mode): Add hook `dired-file-name-at-point' to
13623 `file-name-at-point-functions'.
13625 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13627 Really make the *Completions* window soft-dedicated (bug#5030).
13628 * window.el (window--display-buffer-2): Add `dedicated' argument.
13629 (display-buffer): Pass it when needed so the dedicated flag is set
13630 after calling set-window-buffer, which would otherwise reset it.
13632 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * progmodes/meta-mode.el (meta-complete-symbol):
13635 * progmodes/etags.el (complete-tag):
13636 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13637 Use completion-in-region.
13639 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13640 (dabbrev-completion): Use completion-in-region.
13641 (dabbrev--abbrev-at-point): Simplify regexp.
13643 * abbrev.el (abbrev--before-point): Use word-motion functions
13644 if :regexp is not specified (bug#5031).
13646 * subr.el (string-prefix-p): New function.
13648 * man.el (Man-completion-cache): New var.
13649 (Man-completion-table): Use it.
13651 * vc.el (vc-print-log-internal): Make `limit' optional for better
13652 compatibility (e.g. with vc-annotate.el).
13654 2009-11-24 Kevin Ryde <user42@zip.com.au>
13656 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13657 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13659 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13660 when .el source file not found or other error.
13662 2009-11-24 Markus Triska <markus.triska@gmx.at>
13664 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13666 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13668 Handle the [back] button properly (bug#4979).
13669 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13670 Use help-setup-xref, help-buffer, and with-help-window.
13671 (describe-char): Add `buffer' argument.
13672 Pass proper command to help-setup-xref. Don't meddle with
13673 help-xref-stack-item directly.
13674 (describe-text-category): Use with-help-window and help-buffer.
13676 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13677 for the displayed buffer (bug#4887).
13679 * man.el (Man-completion-table): New function.
13682 2009-11-24 David Reitter <david.reitter@gmail.com>
13684 * vc-git.el (vc-git-registered): Use checkout directory (where
13685 .git is) rather than the file's directory and a relative path spec
13686 to work around a bug in git.
13688 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13690 Improve handling of processes on remote hosts.
13692 * eshell/esh-util.el (eshell-path-env): New defvar.
13693 (eshell-parse-colon-path): New defun.
13694 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13696 * eshell/esh-ext.el (eshell-search-path):
13697 Use `eshell-parse-colon-path'.
13698 (eshell-remote-command): Remove argument HANDLER.
13699 (eshell-external-command): Check for FTP remote connection.
13701 * eshell/esh-proc.el (eshell-gather-process-output):
13702 Use `file-truename', in order to start also symlinked files.
13703 Apply `start-file-process' instead of `start-process'.
13704 Shorten `command' to the local file name part.
13706 * eshell/em-cmpl.el (eshell-complete-commands-list):
13707 Use `eshell-parse-colon-path'.
13709 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13711 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13712 to `eshell-directory-change-hook'.
13714 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13716 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13717 because it could be enabled automatically if view-read-only is non-nil.
13719 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13721 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13722 made on 2009-11-22.
13724 2009-11-24 Glenn Morris <rgm@gnu.org>
13726 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13727 deleted variable bookmark-bmenu-bookmark-column.
13729 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13733 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13735 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13736 two slashes to the "file:" prefix.
13737 (browse-url-file-url): De-munge Cygwin filenames before passing
13738 them to Windows browser.
13739 (browse-url-default-windows-browser): Use call-process.
13741 2009-11-23 Juri Linkov <juri@jurta.org>
13743 Implement DocView Continuous mode. (Bug#4896)
13744 * doc-view.el (doc-view-continuous-mode): New defcustom.
13745 (doc-view-mode-map): Bind C-n/<down> to
13746 `doc-view-next-line-or-next-page', C-p/<up> to
13747 `doc-view-previous-line-or-previous-page'.
13748 (doc-view-next-line-or-next-page)
13749 (doc-view-previous-line-or-previous-page): New commands.
13751 2009-11-23 Juri Linkov <juri@jurta.org>
13753 Implement Isearch in comint input history. (Bug#3746)
13754 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13755 `isearch-mode-hook'.
13756 (comint-history-isearch): New defcustom.
13757 (comint-history-isearch-backward)
13758 (comint-history-isearch-backward-regexp): New commands.
13759 (comint-history-isearch-message-overlay): New buffer-local variable.
13760 (comint-history-isearch-setup, comint-history-isearch-end)
13761 (comint-goto-input, comint-history-isearch-search)
13762 (comint-history-isearch-message, comint-history-isearch-wrap)
13763 (comint-history-isearch-push-state)
13764 (comint-history-isearch-pop-state): New functions.
13766 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13768 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13770 (tramp-handle-make-symbolic-link)
13771 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13773 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13774 (tramp-handle-process-file): Use it.
13776 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13778 * window.el (move-to-window-line-last-op): Remove.
13779 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13781 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13783 Make M-r mirror the new cycling behavior of C-l.
13784 * window.el (move-to-window-line-last-op): New var.
13785 (move-to-window-line-top-bottom): New command.
13786 (global-map): Bind M-r move-to-window-line-top-bottom.
13788 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13790 * dired-x.el (dired-guess-shell-alist-default):
13791 Support xz format. (Bug#4953)
13793 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13795 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13796 last-command-char/last-command-event.
13797 (viper-prefix-arg-value): Do correct conversion of event-char for
13800 * emulation/viper-util.el, emulation/viper.el:
13801 Use viper-last-command-char instead of
13802 last-command-char/last-command-event.
13804 * ediff-init.el, ediff-mult.el, ediff-util.el:
13805 Replace last-command-char and last-command-event
13806 with (ediff-last-command-char) everywhere.
13808 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13809 created in fundamental mode.
13811 * ediff.el (ediff-version): Revert the change of interactive-p to
13812 called-interactively-p.
13814 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13816 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13817 generation from word-movement command names.
13819 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13821 * cus-start.el (all): Add native condition for font-use-system-font.
13823 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13825 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13826 Correct the patch from 2009-11-18. (Bug#3910)
13828 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13830 * progmodes/subword.el: Rename from lisp/subword.el.
13832 * subword.el: Rename to progmodes/subword.el.
13834 * Makefile.in (ELCFILES): Adapt to subword.el move.
13836 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13837 Stefan Monnier <monnier@iro.umontreal.ca>
13839 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13840 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13841 (bookmark-bmenu-show-filenames): Use push.
13842 (bookmark-bmenu-hide-filenames): Use local var instead of
13843 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13844 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13845 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13846 filenames now that the bookmark names are always available.
13848 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13850 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13851 (bookmark-search-pattern): Move and leave unbound.
13852 (bookmark-bmenu-mode-map): Change binding.
13853 (bookmark-read-search-input): Simplify.
13854 Don't use text-char-description. Don't error on non-char events.
13855 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13856 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13857 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13858 Use a local var for the timer.
13859 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13860 (i.e. bookmark-bmenu-search).
13862 2009-11-21 Glenn Morris <rgm@gnu.org>
13864 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13866 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13868 * net/browse-url.el (browse-url-default-windows-browser):
13869 Use cygstart for cygwin.
13871 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13873 * bookmark.el: Formatting and doc fixes only:
13874 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13875 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13876 Minor grammar and punctuation fixes in doc string.
13877 (bookmark-read-search-input): Adjust to fit within 80 columns.
13879 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13881 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13882 (c-backward-into-nomenclature): Adapt to subword renaming.
13884 * subword.el (subword-forward, subword-backward, subword-mark)
13885 (subword-kill, subword-backward-kill, subword-transpose)
13886 (subword-downcase, subword-upcase, subword-capitalize)
13887 (subword-forward-internal, subword-backward-internal):
13888 Rename from forward-subword, backward-subword, mark-subword,
13889 kill-subword, backward-kill-subword, transpose-subwords,
13890 downcase-subword, upcase-subword, capitalize-subword,
13891 forward-subword-internal, backward-subword-internal.
13893 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13895 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13897 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13899 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13900 (bookmark-bmenu-filter-alist-by-regexp)
13901 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13902 (bookmark-bmenu-search): New command.
13903 (bookmark-bmenu-mode-map): Bind it.
13905 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13907 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13908 backward-subword to quit the byte-compiler.
13910 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13912 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13914 * progmodes/cc-cmds.el (c-update-modeline)
13915 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13916 Refer to subword.el functions instead of cc-subword.el.
13918 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13919 subword.el functions instead of cc-subword.el.
13921 * progmodes/cc-subword.el: Rename to subword.el.
13922 * subword.el: Rename from progmodes/cc-subword.el.
13923 (subword-mode-map): Rename from c-subword-mode-map.
13924 (subword-mode): Rename from c-subword-mode.
13925 (global-subword-mode): New global minor mode.
13926 (forward-subword): Rename from c-forward-subword.
13927 (backward-subword): Rename from c-backward-subword.
13928 (mark-subword): Rename from c-mark-subword.
13929 (kill-subword): Rename from c-kill-subword.
13930 (backward-kill-subword): Rename from c-backward-kill-subword.
13931 (transpose-subwords): Rename from c-tranpose-subword.
13932 (downcase-subword): Rename from c-downcase-subword.
13933 (capitalize-subword): Rename from c-capitalize-subword.
13934 (forward-subword-internal): Rename from c-forward-subword-internal.
13935 (backward-subword-internal): Rename from c-backward-subword-internal.
13937 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13939 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13940 from a dired buffer.
13941 (vc-dired-deduce-fileset): New function.
13942 (vc-root-diff, vc-print-root-log): Use it.
13944 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13945 nil LIMIT argument to vc-print-log-internal.
13947 2009-11-20 Glenn Morris <rgm@gnu.org>
13949 * Makefile.in (ELCFILES): Regenerate.
13951 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13953 * calc/calc.el (calc-set-mode-line):
13954 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13955 (math-format-number): Rename `math-format-complement-signed' to
13956 `math-format-twos-complement'.
13958 * calc/calc-bin.el (math-format-twos-complement): Rename from
13959 math-format-complement-signed.
13960 (calc-radix): Rename `calc-complement-signed-mode' to
13961 `calc-twos-complement-mode'.
13962 (calc-octal-radix, calc-hex-radix): Add an argument for
13965 * calc/calc-embed.el (calc-embedded-mode-vars):
13966 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13968 * calc/calc-ext.el (calc-init-extensions):
13969 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13970 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13972 * calc/calc-units.el (math-build-units-table-buffer):
13973 Let `calc-twos-complement-mode' be nil.
13975 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13978 * calc/calc-vec.el (calcFunc-vunpack):
13979 * calc/calc-aent.el (calc-do-calc-eval):
13980 * calc/calc-forms.el (math-format-date):
13981 * calc/calc-graph.el (calc-graph-plot):
13982 * calc/calc-math.el (math-use-emacs-fn):
13983 * calc/calccomp.el (math-compose-expr):
13984 Let `calc-twos-complement-mode' be nil.
13986 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13988 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13989 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13990 * minibuffer.el (completion-in-region-functions): New hook.
13991 (completion-in-region): New function.
13992 * emacs-lisp/lisp.el (lisp-complete-symbol):
13993 * pcomplete.el (pcomplete-std-complete): Use it.
13995 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13997 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13998 (latex-complete-alist): New vars.
13999 (latex-string-prefix-p, latex-complete-bibtex-keys)
14000 (latex-complete-envnames, latex-complete-refkeys)
14001 (latex-complete-data): New functions.
14002 (latex-complete, latex-indent-or-complete): New commands.
14004 * window.el (display-buffer-mark-dedicated): New var.
14005 (display-buffer): Obey it.
14006 * minibuffer.el (minibuffer-completion-help): Use it.
14008 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14010 * filecache.el (file-cache-add-file): Use push and cons.
14011 (file-cache-delete-file-regexp): Use push.
14012 (file-cache-complete): Use completion-in-region.
14014 * simple.el (with-wrapper-hook): Fix thinko.
14016 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14017 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14018 Use with-current-buffer and string-to-number.
14019 (hfy-fallback-colour-values): Use assoc-string.
14020 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14021 (hfy-face-at): Remove unused var `found-face'.
14022 (hfy-compile-stylesheet): Remove unused var `css'.
14023 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14025 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14026 Use with-current-buffer.
14027 (hfy-text-p): Use expand-file-name and fewer setq.
14029 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14031 * htmlfontify.el, hfy-cmap.el: New files.
14033 2009-11-19 Juri Linkov <juri@jurta.org>
14035 * minibuffer.el (completions-format): New defcustom.
14036 (completion--insert-strings): Implement vertical format.
14038 * simple.el (switch-to-completions): Move point to the first
14039 completion when point was at the beginning of the buffer.
14041 2009-11-19 Juri Linkov <juri@jurta.org>
14043 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14045 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14047 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14049 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14050 (mail-signature): Change default to t.
14051 (mail-from-style): Deprecate `system-default' value.
14052 (mail-insert-from-field): For default value of mail-from-style,
14053 default to `angles' unless `angles' needs quoting and `parens'
14055 (mail-citation-prefix-regexp): Use citation regexp from
14058 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14060 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14061 Set variables for computing the prompt for reading password.
14063 2009-11-19 Glenn Morris <rgm@gnu.org>
14065 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14067 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14069 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14070 (newsticker-treeview-listwindow-height): Fix custom type.
14072 2009-11-19 Kenichi Handa <handa@m17n.org>
14074 * descr-text.el (describe-char-padded-string): Compose with TAB
14075 only if there's a font for CH.
14076 (describe-char): Fix the condition for detecting a trivial composition.
14078 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14080 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14081 more accurate version of the regexp. (Bug#3910)
14083 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14085 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14087 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14089 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14090 (font-setting-change-default-font): Fix typo in docstring.
14092 2009-11-18 Alan Mackenzie <acm@muc.de>
14094 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14096 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14098 * font-setting.el (font-use-system-font): Move ...
14100 * cus-start.el (all): ... to here.
14102 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14104 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14105 Don't set `ad-return-value' if `ad-do-it' doesn't.
14107 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14110 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14112 * menu-bar.el: Put "Use system font" in Option-menu.
14113 (menu-bar-options-save): Add font-use-system-font.
14115 * loadup.el: If feature system-font-setting or font-render-setting is
14116 there, load font-setting.
14118 * Makefile.in (ELCFILES): Add font-settings.el.
14119 * font-setting.el: New file.
14121 2009-11-17 Glenn Morris <rgm@gnu.org>
14123 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14125 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14126 Preserve point in the list buffer. (Bug#4939)
14128 (newsticker--treeview-list-update-highlight)
14129 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14131 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14133 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14136 * calc/calc-ext.el (calc-init-extensions): Remove references to
14139 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14141 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14142 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14145 2009-11-16 Kevin Ryde <user42@zip.com.au>
14147 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14148 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14150 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14151 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14152 Ignore trailing spaces by omit-nulls to split-string (fixing
14153 regression from Emacs 21 due to the incompatible split-string
14154 change). (Bug #4928.)
14156 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14158 * vc.el (vc-log-show-limit): Default to 2000.
14159 (vc-print-log-internal): Insert buttons to request more entries
14160 when limiting the output.
14162 * vc-sccs.el (vc-sccs-print-log):
14163 * vc-rcs.el (vc-rcs-print-log):
14164 * vc-cvs.el (vc-cvs-print-log):
14165 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14168 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14170 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14171 error when `tramp-gvfs-dbus-event-vector' is set.
14172 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14174 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14176 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14178 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14180 * net/dbus.el (dbus-unregister-service): New defun.
14181 (dbus-register-property): Register the handlers of
14182 "org.freedesktop.DBus.Properties" for SERVICE.
14183 (dbus-property-handler): Fix docstring.
14185 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14187 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14188 Quote doc string reference in defvaralias as it is not in special form.
14189 (byte-compile-output-docform): Doc fix.
14191 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14193 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14194 (calc-complement-signed-mode): New variables.
14195 (calc-set-mode-line): Add indicator for twos-complements.
14196 (math-format-number): Format twos-complement notation.
14198 * calc/calc-bin.el (calc-word-size): Reset the variables
14199 `math-2-word-size' and `math-half-2-word-size'.
14200 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14201 (calc-symclip): New functions.
14203 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14205 * calc/calc-embed.el (calc-embedded-mode-vars):
14206 Add `calc-complement-signed-mode' to the list of modes.
14208 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14209 (calc-b-oper-keys): Add `calc-symclip' to list.
14211 * calc/calc-ext.el (math-read-number-fancy): Read complement
14213 (calc-init-extensions): Add binding for `calc-symclip'.
14214 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14216 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14218 (calc-modes-menu): Add item for twos complement mode.
14220 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14222 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14224 * register.el (jump-to-register, insert-register): Handle Semantic
14225 tags. From commented-out advice in semantic/senator.el.
14227 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14229 * vc.el (vc-log-show-limit): New variable.
14230 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14231 when using a prefix argument.
14232 (vc-print-log-internal): Add new argument LIMIT.
14234 * vc-svn.el (vc-svn-print-log):
14235 * vc-mtn.el (vc-mtn-print-log):
14236 * vc-hg.el (vc-hg-print-log):
14237 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14238 pass it to the log command when set. Make the BUFFER argument
14241 * vc-sccs.el (vc-sccs-print-log):
14242 * vc-rcs.el (vc-rcs-print-log):
14243 * vc-git.el (vc-git-print-log):
14244 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14245 ignore it. Make the BUFFER argument non-optional
14247 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14249 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14251 * dired.el (dired-mode-map): Move encryption items to "Operate"
14254 * strokes.el (strokes-update-window-configuration): Make strokes
14255 buffer current before erasing (Bug#4906).
14257 2009-11-15 Juri Linkov <juri@jurta.org>
14259 * simple.el (set-mark-default-inactive): Add :type, :group
14260 and :version. (Bug#4876)
14262 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14264 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14265 (archive-unique-fname): ... here. (Bug#4929)
14267 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14269 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14272 * novice.el (disabled-command-function): Add useful args.
14273 Setup the help buffer so that [back] works.
14274 Remove redundant call to help-mode.
14275 (disabled-command-function): Use `case'.
14276 (en/disable-command): New function extracted from enable-command.
14277 (enable-command, disable-command): Use it.
14279 2009-11-14 Glenn Morris <rgm@gnu.org>
14281 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14282 constants. (Bug#4913)
14284 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14286 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14288 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14289 defined in C that have no doc-strings. (Bug#1063)
14291 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14293 * cus-edit.el (data, files):
14294 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14296 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14298 * simple.el (shell-command): Doc fix (Bug#4891).
14300 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14302 2009-11-14 Glenn Morris <rgm@gnu.org>
14304 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14305 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14306 If they are already loaded, eval-after-load will do the right thing.
14308 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14311 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14313 * simple.el (x-selection-owner-p): Declare.
14314 (read-mail-command): Use custom radio type rather than choice.
14315 (completion-no-auto-exit): Doc fix.
14317 * custom.el (defgroup):
14318 * epg-config.el (epg): Doc fixes.
14320 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14322 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14323 * international/ccl.el (define-ccl-program): Do not purecopy the
14324 docstring, defconst does it anyway.
14326 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14331 * x-dnd.el (x-dnd-maybe-call-test-function):
14332 * window.el (split-window-vertically):
14333 * whitespace.el (whitespace-help-on):
14334 * vc-rcs.el (vc-rcs-consult-headers):
14335 * userlock.el (ask-user-about-lock-help)
14336 (ask-user-about-supersession-help):
14337 * type-break.el (type-break-force-mode-line-update):
14338 * time-stamp.el (time-stamp-conv-warn):
14339 * terminal.el (te-set-output-log, te-more-break, te-filter)
14340 (te-sentinel, terminal-emulator):
14341 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14342 (term-write-input-ring, term-check-source, term-start-output-log):
14343 (term-display-buffer-line, term-dynamic-list-completions):
14344 (term-ansi-make-term, serial-term):
14345 * subr.el (selective-display):
14346 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14347 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14348 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14349 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14350 (speedbar-remove-localized-speedbar-support)
14351 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14352 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14353 (speedbar-buffers-line-directory):
14354 * simple.el (shell-command-on-region, append-to-buffer)
14355 (prepend-to-buffer):
14356 * shadowfile.el (shadow-save-todo-file):
14357 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14358 (scroll-bar-maybe-set-window-start):
14359 * sb-image.el (speedbar-image-dump):
14360 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14361 (load-save-place-alist-from-file):
14362 * ps-samp.el (ps-print-message-from-summary):
14363 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14364 (ps-background-image, ps-begin-job, ps-do-despool):
14365 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14366 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14367 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14368 (pr-call-process, pr-file-list, pr-interface-save):
14369 * novice.el (disabled-command-function)
14370 (enable-command, disable-command):
14371 * mouse.el (mouse-buffer-menu-alist):
14372 * mouse-copy.el (mouse-kill-preserving-secondary):
14373 * macros.el (kbd-macro-query):
14374 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14375 * informat.el (batch-info-validate):
14376 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14377 * hippie-exp.el (try-expand-dabbrev-visible):
14378 * help-mode.el (help-make-xrefs):
14379 * help-fns.el (describe-variable):
14380 * generic-x.el (bat-generic-mode-run-as-comint):
14381 * finder.el (finder-mouse-select):
14382 * find-dired.el (find-dired-sentinel):
14383 * filesets.el (filesets-file-close):
14384 * files.el (list-directory):
14385 * faces.el (list-faces-display, describe-face):
14386 * facemenu.el (list-colors-display):
14387 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14388 * epg.el (epg--process-filter, epg-cancel):
14389 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14390 (epa--read-signature-type):
14391 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14392 (emerge-file-names):
14393 * ehelp.el (electric-helpify):
14394 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14395 * ediff-vers.el (rcs-ediff-view-revision):
14396 * ediff-util.el (ediff-setup):
14397 * ediff-mult.el (ediff-append-custom-diff):
14398 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14400 * echistory.el (Electric-command-history-redo-expression):
14401 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14402 * disp-table.el (describe-display-table):
14403 * dired.el (dired-find-buffer-nocreate):
14404 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14405 * dabbrev.el (dabbrev--same-major-mode-p):
14406 * chistory.el (list-command-history):
14407 * apropos.el (apropos-documentation):
14408 * allout.el (allout-obtain-passphrase):
14409 (allout-copy-exposed-to-buffer):
14410 (allout-verify-passphrase): Use with-current-buffer.
14412 2009-11-13 Glenn Morris <rgm@gnu.org>
14414 * Makefile.in (ELCFILES): Regenerate.
14416 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14418 * net/dbus.el (dbus-registered-objects-table): Rename from
14419 `dbus-registered-functions-table', because it contains also properties.
14420 (dbus-unregister-object): Unregister also properties.
14421 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14422 Use a timeout of 500 msec, in order to not block.
14423 (dbus-register-property, dbus-property-handler): New defuns.
14425 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14427 * simple.el (minibuffer-default-add-completions): Drop deprecated
14430 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14432 * textmodes/artist.el (artist-mouse-choose-operation):
14433 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14434 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14435 (artist-compute-up-event-key): New function.
14436 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14438 2009-11-13 Kenichi Handa <handa@m17n.org>
14440 * language/japan-util.el: Make sure that the value of jisx0208
14441 property is jisx0208 character.
14443 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14445 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14446 car or each item, not the whole list.
14448 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14450 * minibuffer.el (minibuffer-completion-help):
14451 Use minibuffer-hide-completions.
14453 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14455 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14456 (dired-revert): Use them (bug#4880).
14458 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14460 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14462 2009-11-12 Juri Linkov <juri@jurta.org>
14464 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14466 (find-file-literally-at-point): Alias of `ffap-literally'.
14468 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14470 * textmodes/ispell.el (ispell-skip-region-alist):
14471 * textmodes/css-mode.el (auto-mode-alist):
14472 * progmodes/compile.el (auto-mode-alist):
14473 * international/mule.el (ctext-non-standard-encodings-alist)
14474 (ctext-non-standard-encodings-regexp):
14475 * simple.el (shell-command-switch, text-read-only):
14476 * replace.el (occur-mode-map):
14477 * paths.el (rmail-file-name):
14478 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14479 * find-file.el (ff-special-constructs):
14480 * files.el (file-name-handler-alist):
14481 * composite.el: Purecopy strings.
14483 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14485 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14487 * widget.el (define-widget): Purecopy the docstring.
14488 * international/mule-cmds.el (charset): Do not purecopy the
14489 docstring here, define-widget does it.
14491 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14492 * textmodes/bibtex-style.el (auto-mode-alist):
14493 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14494 * progmodes/compile.el (compile-command):
14495 * language/korea-util.el (default-korean-keyboard):
14496 * international/mule-conf.el (file-coding-system-alist):
14497 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14498 * tooltip.el (tooltip-frame-parameters):
14499 * newcomment.el (comment-end, comment-padding):
14500 * dired.el (dired-trivial-filenames):
14501 * comint.el (comint-file-name-prefix): Purecopy initial values.
14503 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14505 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14506 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14508 (tramp-advice-make-auto-save-file-name)
14509 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14510 after removing the advice.
14512 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14514 * progmodes/grep.el (grep-regexp-alist):
14515 * international/mule-cmds.el (iso-2022-control-alist):
14516 * emacs-lisp/timer.el (timer-duration-words):
14517 * subr.el (version-separator, version-regexp-alist):
14518 * minibuffer.el (completion-styles-alist):
14519 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14520 Change defvars to defconsts.
14522 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14523 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14524 * international/mule-conf.el: Allow to be byte compiled.
14526 * international/mule.el (define-charset): Purecopy props.
14527 (load-with-code-conversion): Purecopy doc string and file name.
14528 (put-charset-property): Purecopy strings.
14529 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14531 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14532 (define-char-code-property): Correctly purecopy the table.
14534 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14536 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14538 * subr.el (add-hook): Purecopy strings.
14539 (eval-after-load): Purecopy load-history-regexp and the form.
14541 * custom.el (custom-declare-group): Purecopy load-file-name.
14543 * subr.el (menu-bar-separator): New defconst.
14544 * net/eudc.el (eudc-tools-menu):
14545 * international/mule-cmds.el (set-coding-system-map)
14546 (mule-menu-keymap):
14547 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14548 * vc-hooks.el (vc-menu-map):
14549 * replace.el (occur-mode-map):
14550 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14551 (menu-bar-edit-menu, menu-bar-goto-menu)
14552 (menu-bar-custom-menu, menu-bar-showhide-menu)
14553 (menu-bar-options-menu, menu-bar-tools-menu)
14554 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14555 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14556 (menu-bar-help-menu):
14557 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14558 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14560 * term/x-win.el (x-gtk-stock-map):
14561 * progmodes/vera-mode.el (auto-mode-alist):
14562 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14563 (inferior-lisp-program, inferior-lisp-load-command):
14564 * progmodes/hideshow.el (hs-special-modes-alist):
14565 * progmodes/gud.el (same-window-regexps):
14566 * progmodes/grep.el (grep-program, find-program, xargs-program):
14567 * net/telnet.el (same-window-regexps):
14568 * net/rlogin.el (same-window-regexps):
14569 * language/ethiopic.el (font-ccl-encoder-alist):
14570 * vc-sccs.el (vc-sccs-master-templates):
14571 * vc-rcs.el (vc-rcs-master-templates):
14572 * subr.el (cl-assertion-failed):
14573 * simple.el (next-error-overlay-arrow-position):
14574 * lpr.el (lpr-command):
14575 * locate.el (locate-ls-subdir-switches):
14576 * info.el (same-window-regexps, info)
14577 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14578 * image-mode.el (image-mode, auto-mode-alist):
14579 * hippie-exp.el (hippie-expand-ignore-buffers):
14580 * format.el (format-alist):
14581 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14583 * facemenu.el (facemenu-keybindings):
14584 * dired.el (dired-listing-switches, dired-chown-program):
14585 * diff.el (diff-switches, diff-command):
14586 * cus-edit.el (same-window-regexps):
14587 * bindings.el (mode-line-mule-info)
14588 (mode-line-buffer-identification): Purecopy strings.
14590 2009-11-11 Juri Linkov <juri@jurta.org>
14592 * simple.el (dired-get-filename) <declare-function>:
14593 Tell the byte-compiler about dired-get-filename.
14594 (shell-command): In Dired mode, get filename from the current line
14595 as the default value.
14597 2009-11-10 Glenn Morris <rgm@gnu.org>
14599 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14600 * calendar/holidays.el, progmodes/cperl-mode.el:
14601 Update x-popup-menu declarations.
14603 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14604 (list-load-path-shadows): Use dolist.
14605 (list-load-path-shadows): Use with-current-buffer.
14607 2009-11-10 Juri Linkov <juri@jurta.org>
14609 * minibuffer.el (read-file-name): Support a list of default values
14610 in `default-filename'. Use the first file name where only one
14611 element is required. Doc fix.
14613 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14615 * net/dbus.el (dbus-unregister-object): Release service, if no
14616 other method is registered for it.
14618 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14620 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14621 bookmark-sort-flag is non-nil (Bug#4653).
14623 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14625 * emulation/cua-base.el: Add CUA property to some CC mode commands
14628 2009-11-08 Kevin Ryde <user42@zip.com.au>
14630 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14631 at end of sentence (Bug#4818).
14633 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14635 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14636 Handle "see declaration of" MSFT statements (Bug#4100).
14638 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14640 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14641 (tramp-advice-file-expand-wildcards): Unload via
14642 `ad-remove-advice'.
14644 * net/trampver.el: Update release number.
14646 2009-11-08 Kevin Ryde <user42@zip.com.au>
14648 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14651 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14653 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14654 in order to keep context in SELinux.
14656 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14658 * dired-aux.el (dired-query): Place cursor in echo area and allow
14661 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14662 menu item if not on a directory (Bug#4701).
14664 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14666 Sync with Tramp 2.1.17.
14668 * net/tramp.el (tramp-handle-copy-directory): Don't use
14669 `file-remote-p' (due to compatibility).
14671 * net/tramp-compat.el (tramp-compat-copy-directory)
14672 (tramp-compat-delete-directory): New defuns.
14674 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14675 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14676 Use `tramp-compat-delete-directory'.
14678 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14679 (tramp-smb-handle-delete-directory):
14680 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14682 * net/trampver.el: Update release number.
14684 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14686 * tar-mode.el (tar-copy): Call write-region on the right buffer
14689 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14690 by hand, if necessary (Bug#4878).
14692 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14694 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14695 align size column (Bug#4839).
14697 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14700 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14702 * progmodes/ld-script.el (auto-mode-alist):
14703 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14705 * cus-face.el (custom-declare-face): Purecopy face spec.
14707 2009-11-06 Kenichi Handa <handa@m17n.org>
14709 * international/uni-bidi.el: Re-generated.
14710 * international/uni-category.el: Re-generated.
14711 * international/uni-combining.el: Re-generated.
14712 * international/uni-mirrored.el: Re-generated.
14714 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14716 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14717 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14718 (tex-start-options, slitex-run-command, latex-run-command)
14719 (tex-run-command, tex-directory):
14720 * textmodes/ispell.el (ispell-html-skip-alists)
14721 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14722 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14723 (adaptive-fill-regexp):
14724 * textmodes/dns-mode.el (auto-mode-alist):
14725 * progmodes/python.el (interpreter-mode-alist):
14726 * progmodes/etags.el (tags-compression-info-list):
14727 * progmodes/etags.el (tags-file-name):
14728 * net/browse-url.el (browse-url-galeon-program)
14729 (browse-url-firefox-program):
14730 * mail/sendmail.el (mail-signature-file)
14731 (mail-citation-prefix-regexp):
14732 * international/mule-conf.el (eight-bit):
14733 * international/latexenc.el (latex-inputenc-coding-alist):
14734 * international/fontset.el (x-pixel-size-width-font-regexp):
14735 * emacs-lisp/warnings.el (warning-type-format):
14736 * emacs-lisp/trace.el (trace-buffer):
14737 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14738 (emacs-lisp-mode-map):
14739 * calendar/holidays.el (holiday-solar-holidays)
14740 (holiday-bahai-holidays, holiday-islamic-holidays)
14741 (holiday-christian-holidays, holiday-hebrew-holidays)
14742 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14743 (hebrew-holidays-1, holiday-oriental-holidays)
14744 (holiday-general-holidays):
14745 * x-dnd.el (x-dnd-known-types):
14746 * tool-bar.el (tool-bar):
14747 * startup.el (site-run-file):
14748 * shell.el (shell-dumb-shell-regexp):
14749 * rfn-eshadow.el (file-name-shadow-tty-properties)
14750 (file-name-shadow-properties):
14751 * paths.el (remote-shell-program, news-directory):
14752 * mouse.el ([C-down-mouse-3]):
14753 * menu-bar.el (menu-bar-tools-menu):
14754 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14755 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14756 (jka-compr-compression-info-list):
14757 * isearch.el (search-whitespace-regexp):
14758 * image-file.el (image-file-name-extensions):
14759 * find-dired.el (find-ls-option):
14760 * files.el (directory-listing-before-filename-regexp)
14761 (directory-free-space-args, insert-directory-program)
14762 (list-directory-brief-switches, magic-fallback-mode-alist)
14763 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14764 (automount-dir-prefix):
14765 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14766 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14767 (face-font-registry-alternatives, face-font-registry-alternatives)
14768 (face-font-family-alternatives):
14769 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14770 (facemenu-foreground-menu, facemenu-face-menu):
14771 * epa-hook.el (epa-file-name-regexp):
14772 * dnd.el (dnd-protocol-alist):
14773 * textmodes/rst.el (auto-mode-alist):
14774 * button.el (default-button): Purecopy strings.
14776 2009-11-06 Glenn Morris <rgm@gnu.org>
14778 * Makefile.in (ELCFILES): Update.
14780 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14783 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14785 * nxml/xsd-regexp.el (xsdre-gen-categories):
14786 * nxml/xmltok.el (xmltok-parse-entity):
14787 * nxml/rng-parse.el (rng-parse-validate-file):
14788 * nxml/rng-maint.el (rng-format-manual)
14789 (rng-manual-output-force-new-line):
14790 * nxml/rng-loc.el (rng-save-schema-location-1):
14791 * nxml/rng-cmpct.el (rng-c-parse-file):
14792 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14793 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14795 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14797 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14798 Remove extra save-excursions and make-variable-buffer-local's.
14799 Suggested by Stefan Monnier.
14801 (verilog-getopt-file, verilog-module-inside-filename-p)
14802 (verilog-set-define): Merge GNU 1.35 and repair changes from
14803 switching to using with-current-buffer.
14805 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14806 being treated as a number and confusing AUTORESET.
14807 Reported by Dan Dever.
14809 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14810 Add verilog-auto-ignore-concat to fix backward compatibility with
14811 older verilog-modes. Reported by Dan Katz.
14813 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14814 containing closing anchors "...$".
14816 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14817 Reported by Wade Smith.
14819 (verilog-batch-execute-func): Comment on function usage.
14821 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14823 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14826 (verilog-label-re, verilog-calc-1): Support proper indent of named
14829 (verilog-backward-token, verilog-basic-complete-re)
14830 (verilog-beg-of-statement, verilog-indent-re): Support proper
14831 indent of the assert statement at the beginning of a block of text.
14833 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14834 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14837 2009-11-05 Glenn Morris <rgm@gnu.org>
14839 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14840 Emacs 19. (Bug#1531)
14841 (byte-compile-fix-header): Update for the above change.
14842 Drop test for epoch::version.
14844 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14845 * cus-dep.el (custom-make-dependencies):
14846 * finder.el (finder-compile-keywords):
14847 Use autoload-rubric's feature argument.
14849 * calendar/diary-lib.el (top-level): Make load behave more like require.
14851 * vc-git.el (vc-git-stash-map): Move definition before use.
14853 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14855 * custom.el (custom-declare-group): Purecopy standard-value.
14856 (custom-declare-group): Purecopy custom-prefix.
14858 * international/mule.el (load-with-code-conversion):
14859 Call do-after-load-evaluation unconditionally.
14861 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14863 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14865 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14867 2009-11-04 Glenn Morris <rgm@gnu.org>
14869 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14870 (byte-compile-compatibility): Remove option.
14871 (byte-compile-close-variables, byte-compile-fix-header)
14872 (byte-compile-insert-header, byte-compile-output-docform)
14873 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14874 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14875 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14876 (byte-compile-insert, byte-compile-defun):
14877 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14878 (byte-defop-compiler19): Remove.
14879 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14880 used by anything. Replace all calls with byte-defop-compiler.
14882 2009-11-04 Juri Linkov <juri@jurta.org>
14884 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14885 (menu-bar-options-menu): Don't quote the `prop' arg of
14886 `menu-bar-make-mm-toggle'.
14888 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14890 * calendar/calendar.el (cal-loaddefs):
14891 * calendar/diary-lib.el (diary-loaddefs):
14892 * calendar/holidays.el (hol-loaddefs):
14893 * eshell/esh-module.el (esh-groups): Load rather than require.
14895 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14897 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14899 (todo-top-priorities): Only display-buffer when called interactively.
14900 (todo-item-start): Don't save excursion point.
14901 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14902 (todo-insert-item-here, todo-file-item, todo-remove-item):
14903 Adjust uses of todo-item-start and todo-item-end.
14905 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14906 (autoload-rubric): Don't use any more.
14908 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14909 and only put a prop if it is non-nil.
14911 2009-11-03 Juri Linkov <juri@jurta.org>
14913 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14914 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14916 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14917 and "Menu" to make top-level menu item visually one unit (like
14918 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14919 multi-word menu items). Fix :help string for quit-window.
14921 2009-11-03 Glenn Morris <rgm@gnu.org>
14923 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14924 (byte-compile-file-form-define-abbrev-table)
14925 (byte-compile-file-form-custom-declare-variable)
14926 (byte-compile-variable-ref, byte-compile-defvar):
14927 Whether or not a warning is enabled should only affect whether we issue
14928 the warning, not whether or not we collect the relevant data.
14929 Eg warnings can be turned on and off throughout the course of a file.
14931 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14932 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14934 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14936 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14937 * play/mpuz.el (mpuz-create-buffer):
14938 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14939 (lm-print-y,s,noise, lm-print-w0, lm-init):
14940 * play/gomoku.el (gomoku-prompt-for-move):
14941 * play/fortune.el (fortune-in-buffer):
14942 * play/dissociate.el (dissociated-press):
14943 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14944 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14945 * mail/supercite.el (sc-eref-show):
14946 * mail/smtpmail.el (smtpmail-send-it):
14947 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14948 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14949 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14950 (rmail-summary-goto-msg, rmail-summary-expunge)
14951 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14952 (rmail-summary-add-label, rmail-summary-output-menu)
14953 (rmail-summary-output-body):
14954 * mail/rfc822.el (rfc822-addresses):
14955 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14956 * mail/mailpost.el (post-mail-send-it):
14957 * mail/hashcash.el (hashcash-generate-payment):
14958 * mail/feedmail.el (feedmail-run-the-queue)
14959 (feedmail-queue-send-edit-prompt-help-first)
14960 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14961 (feedmail-deduce-address-list):
14962 * eshell/esh-ext.el (eshell-remote-command):
14963 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14964 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14965 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14966 (viper-save-string-in-file, viper-valid-marker):
14967 * emulation/viper-keym.el (viper-toggle-key):
14968 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14969 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14970 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14971 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14972 (viper-exec-form-in-emacs, viper-brac-function):
14973 * emulation/viper.el (viper-delocalize-var):
14974 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14975 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14976 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14977 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14978 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14979 * emulation/edt.el (edt-electric-helpify):
14980 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14981 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14982 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14983 (cua-indent-to-global-mark-column):
14984 * calendar/diary-lib.el (calendar-mark-1):
14985 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14986 Use with-current-buffer.
14987 * emulation/viper.el (viper-delocalize-var): Use dolist.
14989 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14991 * comint.el (comint-replace-by-expanded-history-before-point):
14992 Replace !! with the previous input string literally (Bug#1795).
14994 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14996 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14997 to be made up of whitespace.
14999 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15001 * minibuffer.el (read-file-name): Don't use file dialogs for
15002 remote directories (Bug#99).
15004 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15006 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15008 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15010 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15011 instead of deleting the window or frame.
15013 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15015 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15016 Support face colors.
15018 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15019 New function. Support face colors (Bug#1168).
15020 (tex-common-initialization): Use it.
15022 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15023 mode allows it (Bug#1168).
15025 2009-10-31 Juri Linkov <juri@jurta.org>
15027 * facemenu.el (list-colors-display): Don't mark buffer as
15028 modified (Bug#3948).
15030 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15032 * international/mule-diag.el (list-character-sets-1):
15033 Minor message fix (Bug#3526).
15035 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15036 Fix face property (Bug#4834).
15037 (etags-list-tags, etags-tags-apropos-additional)
15038 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15041 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15044 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15046 * textmodes/two-column.el (2C-split):
15047 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15048 * textmodes/tex-mode.el (tex-set-buffer-directory):
15049 * textmodes/spell.el (spell-region, spell-string):
15050 * textmodes/reftex.el (reftex-erase-buffer):
15051 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15052 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15053 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15054 (reftex-select-item):
15055 * textmodes/reftex-ref.el (reftex-label-info-update)
15056 (reftex-offer-label-menu):
15057 * textmodes/reftex-index.el (reftex-index-change-entry)
15058 (reftex-index-phrases-info):
15059 * textmodes/reftex-global.el (reftex-create-tags-file)
15060 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15061 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15062 (reftex-view-crossref-from-bibtex):
15063 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15064 (reftex-extract-bib-entries-from-thebibliography)
15065 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15066 * textmodes/refbib.el (r2b-capitalize-title):
15067 (r2b-convert-buffer, r2b-help):
15068 * textmodes/page-ext.el (pages-directory)
15069 (pages-directory-goto-with-mouse):
15070 * textmodes/bibtex.el (bibtex-validate-globally):
15071 * textmodes/bib-mode.el (bib-capitalize-title):
15072 * textmodes/artist.el (artist-clear-buffer, artist-system):
15073 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15074 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15075 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15076 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15077 (xscheme-send-control-g-interrupt, xscheme-start-process)
15078 (xscheme-process-sentinel, xscheme-cd):
15079 * progmodes/verilog-mode.el (verilog-read-always-signals)
15080 (verilog-set-define, verilog-getopt-file)
15081 (verilog-module-inside-filename-p):
15082 * progmodes/sh-script.el:
15083 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15084 (python-pdbtrack-grub-for-buffer, python-execute-file):
15085 * progmodes/octave-inf.el (inferior-octave):
15086 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15087 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15088 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15089 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15090 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15091 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15092 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15093 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15094 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15095 (idlwave-shell-examine-display, idlwave-shell-run-region)
15096 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15097 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15098 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15099 (idlwave-help-get-help-buffer):
15100 * progmodes/gud.el (gud-basic-call, gud-find-class)
15101 (gud-tooltip-activate-mouse-motions-if-enabled):
15102 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15103 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15104 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15105 (ebrowse-tags-next-file):
15106 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15107 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15108 (ebnf-eps-finish-and-write):
15109 * progmodes/cpp.el (cpp-edit-save):
15110 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15111 * progmodes/cc-defs.el (c-emacs-features):
15112 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15113 (antlr-directory-dependencies):
15114 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15115 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15116 (ada-find-any-references, ada-make-filename-from-adaname)
15117 (ada-make-body-gnatstub):
15118 * obsolete/rnews.el (news-list-news-groups):
15119 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15120 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15121 * net/rcirc.el (rcirc-debug):
15122 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15123 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15124 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15125 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15126 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15127 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15128 (newsticker--treeview-list-clear-highlight)
15129 (newsticker--treeview-list-update-highlight)
15130 (newsticker--treeview-list-highlight-start)
15131 (newsticker--treeview-tree-update-highlight)
15132 (newsticker--treeview-get-selected-item)
15133 (newsticker-treeview-mark-list-items-old)
15134 (newsticker--treeview-set-current-node):
15135 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15136 * net/newst-backend.el (newsticker--get-news-by-funcall)
15137 (newsticker--get-news-by-wget, newsticker--image-get)
15138 (newsticker--image-sentinel):
15139 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15140 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15141 (eudc-ph-close-session):
15142 * net/eudc.el (eudc-save-options):
15143 * language/thai-word.el (thai-update-word-table):
15144 * language/japan-util.el (japanese-string-conversion):
15145 * international/titdic-cnv.el (tsang-quick-converter)
15146 (ziranma-converter, ctlau-converter):
15147 * international/mule-cmds.el (describe-language-environment):
15148 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15149 (skkdic-convert-postfix, skkdic-convert-prefix):
15150 (skkdic-convert-okuri-nasi, skkdic-convert):
15151 * emacs-lisp/re-builder.el (reb-update-overlays):
15152 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15153 * emacs-lisp/gulp.el (gulp-send-requests):
15154 * emacs-lisp/find-gc.el (trace-call-tree):
15155 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15156 (eieio-describe-generic):
15157 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15158 * emacs-lisp/edebug.el (edebug-outside-excursion):
15159 * emacs-lisp/debug.el (debugger-make-xrefs):
15160 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15161 * emacs-lisp/chart.el (chart-new-buffer):
15162 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15163 Use with-current-buffer.
15164 * textmodes/artist.el (artist-system): Don't call
15165 copy-sequence on a fresh string.
15166 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15168 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15170 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15171 is no item to edit. (Bug#4820)
15172 (todo-top-priorities): Restore point and restore narrowing in Todo
15175 2009-10-31 Glenn Morris <rgm@gnu.org>
15177 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15178 (comint-last-output-start, comint-last-input-start)
15179 (comint-last-input-end): Don't defvar when compiling.
15180 (ange-ftp-process-file): Use bound-and-true-p.
15182 * pcmpl-rpm.el (top-level): Move provide statement to end.
15183 (pcmpl-rpm): Remove unused custom group.
15185 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15187 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15189 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15190 (byte-compile-warnings): Add `constants' as an option.
15191 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15192 (display-call-tree): Update for byte-compile-fdefinition possibly
15193 returning `(macro lambda ...)'. (Bug#4778)
15194 (byte-compile-variable-ref, byte-compile-setq-default):
15195 Respect `constants' member of byte-compile-warnings.
15197 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15199 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15200 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15203 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15205 * textmodes/ispell.el (ispell-skip-region-alist):
15206 * international/mule-conf.el (eight-bit):
15207 * international/fontset.el (font-encoding-alist):
15208 * startup.el (pure-space-overflow-message):
15209 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15210 * paths.el (gnus-nntp-service, rmail-spool-directory)
15211 (term-file-prefix):
15212 * files.el (save-some-buffers-action-alist):
15213 * cmuscheme.el (same-window-buffer-names):
15214 * ielm.el (same-window-buffer-names):
15215 * shell.el (same-window-buffer-names):
15216 * mail/sendmail.el (same-window-buffer-names):
15217 * progmodes/inf-lisp.el (same-window-buffer-names):
15218 * bindings.el (mode-line-client)
15219 (mode-line-column-line-number-mode-map):
15220 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15221 (tibetan-precomposed-regexp): Purecopy string arguments.
15223 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15225 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15226 (calcDigit-nondigit):
15227 * calc/calc-yank.el (calc-copy-to-buffer):
15228 * calc/calc-units.el (calc-invalidate-units-table):
15229 * calc/calc-trail.el (calc-trail-yank):
15230 * calc/calc-store.el (calc-insert-variables):
15231 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15232 * calc/calc-prog.el (calc-read-parse-table):
15233 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15234 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15235 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15236 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15237 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15238 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15239 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15240 * calc/calc-ext.el (calc-realign):
15241 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15242 (calc-embedded-finish-edit, calc-embedded-make-info)
15243 (calc-embedded-finish-command, calc-embedded-stack-change):
15244 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15246 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15247 shell-dynamic-complete-filename in preference to
15248 comint-dynamic-complete-filename.
15250 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15251 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15252 Don't consider whether the display supports colors.
15253 (bookmark-import-new-list): Use dolist.
15254 (bookmark-bmenu-mode-map): Move initialization into declaration.
15255 (bookmark-bmenu-list): Use dolist, simplify.
15256 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15257 (menu-bar-final-items): Use push.
15259 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15261 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15262 it works on remote files.
15263 (vc-hg-diff): Don't pass any `--cwd' argument.
15265 2009-10-27 Kevin Ryde <user42@zip.com.au>
15267 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15268 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15269 (Further to Bug#3921).
15271 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15273 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15274 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15275 calling `tramp-imap-put-file'. Add file size to the call.
15276 (tramp-imap-get-file-entries): Compute also user name, file size,
15278 (tramp-imap-handle-insert-directory): Insert uid and gid.
15279 (tramp-imap-handle-file-attributes): Transform uid and gid
15280 according to `id-format'.
15281 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15282 size in header X-Size.
15284 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15286 * simple.el (transpose-subr): Give clearer error when the mark
15287 is not set. (Bug#4807)
15289 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15291 * net/tramp.el (tramp-perl-file-truename): New defconst.
15292 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15293 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15294 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15295 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15297 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15298 Ignore `dired-call-process'.
15299 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15301 2009-10-26 Julian Scheid <julians37@gmail.com>
15303 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15304 (tramp-get-remote-readlink): New defun.
15305 (tramp-handle-file-truename): Use it.
15306 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15307 file exists if cache value present.
15308 (tramp-check-cached-permissions): New defun.
15309 (tramp-handle-file-readable-p): Use it.
15310 (tramp-handle-file-writable-p): Likewise.
15311 (tramp-handle-file-executable-p): Likewise.
15312 (tramp-handle-file-name-all-completions): Try using Perl to get
15313 partial completions. When perl not available, combine `cd' and
15314 `ls' into single remote operation and use shell expansion to get
15315 partial remote directory contents. Set `file-exists-p' cache for
15316 directory and any files returned by ls. Change cache handling to
15317 support partial directory contents. Use error message emitted by
15318 remote `cd' or Perl code for local tramp-error.
15319 (tramp-do-copy-or-rename-file-directly): Avoid separate
15320 tramp-send-command-and-check call.
15321 (tramp-handle-process-file): Merge three remote ops into one.
15322 Do not flush all caches when `process-file-side-effects' is set.
15323 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15324 file-attributes shows uid/gid to be set already.
15326 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15328 * textmodes/tex-mode.el (tex-dvi-view-command)
15329 (tex-show-queue-command, tex-open-quote):
15330 * progmodes/ruby-mode.el (auto-mode-alist)
15331 (interpreter-mode-alist): Purecopy strings.
15333 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15335 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15336 string for the hook, keymap and abbrev table.
15338 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15340 * x-dnd.el (x-dnd-xdnd-to-action):
15341 * startup.el (fancy-startup-text, fancy-about-text): Change to
15342 defconst from defvar.
15344 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15346 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15347 Purecopy initialization strings.
15349 * mail/sendmail.el (mail-header-separator)
15350 (mail-personal-alias-file):
15351 * mail/rmail.el (rmail-default-dont-reply-to-names)
15352 (rmail-ignored-headers, rmail-retry-ignored-headers)
15353 (rmail-highlighted-headers, rmail-secondary-file-directory)
15354 (rmail-secondary-file-regexp):
15355 * files.el (null-device, file-name-invalid-regexp)
15356 (locate-dominating-stop-dir-regexp)
15357 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15358 (interpreter-mode-alist): Use mapcar instead of mapc.
15360 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15362 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15363 (completion-ignored-extensions):
15364 (debug-ignored-errors): Purecopy strings.
15366 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15368 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15369 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15370 (pcomplete--here): Use push.
15372 * subr.el (all-completions): Declare the 4th arg obsolete.
15374 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15376 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15377 (pcomplete-unquote-argument): New function.
15378 (pcomplete--common-suffix): Always pay attention to case.
15379 (pcomplete--table-subvert): Quote and unquote the text.
15380 (pcomplete--common-quoted-suffix): New function.
15381 (pcomplete-std-complete): Use it and pcomplete-begin.
15383 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15384 we're inside a dedicated or minibuffer window.
15386 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15388 * bookmark.el: Update documentation, especially documentation
15389 of `bookmark-alist' and of the bookmark file format.
15390 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15392 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15394 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15395 keybindings apply to the mail buffer (Bug#4003). Shrink help
15398 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15399 (global-whitespace-mode, global-whitespace-newline-mode)
15400 (whitespace-toggle-options, global-whitespace-toggle-options):
15401 Doc fix (Bug#3660).
15403 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15404 of xmltok-start before the end tag was inserted (Bug#2840).
15406 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15407 patterns that are preceded by an open-paren (Bug#1320).
15409 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15411 * files.el (delete-directory): Delete symlinks to directories with
15412 delete-file (Bug#4739).
15414 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15416 * vc.el (vc-backend-for-registration): Rename from
15417 vc-get-backend-for-registration. Update callers.
15419 * international/mule-cmds.el (set-language-info-alist):
15421 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15422 (charset): Purecopy the name.
15423 (define-char-code-property): Purecopy string arguments.
15425 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15426 Purecopy string arguments.
15428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15429 * ediff-hook.el (menu-bar-ediff-menu):
15430 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15431 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15433 2009-10-24 Glenn Morris <rgm@gnu.org>
15435 * comint.el (comint-dynamic-list-completions):
15436 * term.el (term-dynamic-list-completions): Use choose-completion rather
15437 than obsolete alias mouse-choose-completion.
15439 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15440 file-cache-choose-completion.
15441 (file-cache-choose-completion): Handle an optional event argument.
15442 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15444 * progmodes/octave-mod.el (octave-complete-symbol):
15445 Use choose-completion if mouse-choose-completion is ever removed.
15447 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15450 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15453 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15455 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15458 Ignore `pred' now that we receive one.
15459 Handle test-completion specially.
15461 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15463 * vc.el (vc-responsible-backend): Throw an error if not backend is
15464 found. Remove the REGISTER argument. Move the code dealing with
15466 (vc-get-backend-for-registration): ... here. New function.
15467 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15468 of vc-responsible-backend, pass the file name instead of the
15471 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15473 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15475 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15476 (pcomplete-comint-setup): Don't modify a global var via
15477 accidental side-effects.
15478 (pcomplete-shell-setup): Adjust call accordingly.
15479 (pcomplete-parse-comint-arguments): Use push.
15481 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15483 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15484 Allow uncapitalized info node names (Bug#3921).
15486 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15487 to the DEBUG file (Bug#3781).
15489 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15491 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15492 dictionary entry (Bug#4579).
15494 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15496 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15497 from `rfn-eshadow-update-overlay-hook' when unloading.
15498 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15499 "rsyncc". Adjust doc string.
15500 (tramp-temp-buffer-file-name): New buffer-local defvar.
15501 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15502 Keep temporary file when indicated by method ("rsync" and
15504 (tramp-handle-write-region): Handle APPEND.
15505 (tramp-delete-temp-file-function): New defun. Added to
15506 `kill-buffer-hook'.
15508 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15510 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15512 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15514 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15515 (color-name-rgb-alist, tty-standard-colors)
15516 (tty-color-mode-alist): Change to defconst.
15518 * simple.el (mark-inactive): Purecopy message.
15520 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15521 (global-map, yank-menu):
15522 * textmodes/ispell.el (ispell-menu-map):
15523 * net/eudc.el (eudc-tools-menu):
15524 * international/mule-cmds.el (describe-language-environment-map)
15525 (setup-language-environment-map, set-coding-system-map)
15526 (mule-menu-keymap):
15527 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15528 * replace.el (occur-mode-map):
15529 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15531 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15533 * calc/calc.el (math-read-number, math-read-number-simple):
15534 Use `save-match-data'.
15536 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15538 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15539 rather than fiddling with global-map bindings, since it should only
15540 affect per-terminal settings.
15541 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15543 * minibuffer.el (completion-table-with-terminator): Allow to specify
15544 the terminator-regexp.
15546 * simple.el (switch-to-completions): Look for *Completions* in other
15549 * pcomplete.el: Allow the use of completion-tables.
15550 (pcomplete-std-complete): New command.
15551 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15552 (pcomplete--here): Use a function for `form' rather than an expression,
15553 so it can be byte-compiled.
15554 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15555 Add edebug declaration.
15556 (pcomplete-show-completions): Remove unused var `curbuf'.
15557 (pcomplete-do-complete, pcomplete-stub):
15558 Don't assume `completions' is a list of strings any more.
15560 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15562 * find-dired.el (find-name-arg): Fix typo in docstring.
15564 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15566 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15567 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15569 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15572 * comint.el (comint-read-input-ring, comint-write-input-ring)
15573 (comint-substitute-in-file-name)
15574 (comint-dynamic-complete-as-filename)
15575 (comint-dynamic-simple-complete)
15576 (comint-dynamic-list-filename-completions)
15577 (comint-dynamic-list-completions)
15578 (comint-redirect-results-list-from-process): Minor simplifications.
15580 2009-10-21 Kevin Ryde <user42@zip.com.au>
15582 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15583 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15584 the first form. And insert a blank line after ";;; Code" since
15585 that's usual style. (Bug#4612)
15587 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15589 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * minibuffer.el (completion-table-with-terminator): Properly implement
15592 boundaries, in case `terminator' appears in the suffix.
15593 (completion--embedded-envvar-table): Don't return boundaries if
15594 there's no valid completion. Simplify.
15595 (completion-file-name-table): New completion table extracted from
15596 completion--file-name-table.
15597 (completion--file-name-table): Use it.
15598 (read-file-name-predicate): Declare obsolete.
15599 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15600 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15601 completion-file-name-table, and use the `pred' argument.
15602 * files.el (locate-file-completion-table): Use the `pred' arg rather
15603 than read-file-name-predicate.
15604 (abbreviate-file-name): Use \` rather than ^ for BOS.
15606 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15608 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15609 vc-responsible-backend to register, it causes problems.
15611 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15613 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15615 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15617 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15618 (tramp-smb-handle-file-attributes): Use it.
15619 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15620 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15621 `mapcar'. Use `tramp-smb-get-stat-capability'.
15622 Add `dired-filename' text properties.
15623 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15624 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15627 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15629 * subr.el (read-key-delay): Reduce to 0.01.
15630 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15633 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15635 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15637 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15638 (Info-menu): Remove unused vars `last' and `completions'.
15639 (Info-index-nodes): Remove unused var `node'.
15641 * info.el (Info-complete-menu-item): Use complete-with-action.
15643 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15645 Make vc-annotate work through copies and renames.
15646 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15647 Return the file name too.
15648 (vc-annotate-revision-at-line)
15649 (vc-annotate-find-revision-at-line)
15650 (vc-annotate-revision-previous-to-line)
15651 (vc-annotate-show-log-revision-at-line): Update to get the file
15652 name from vc-annotate-extract-revision-at-line.
15653 (vc-annotate-show-diff-revision-at-line-internal): Change the
15654 argument to mean whether to show a file diff or not. Get the file
15655 name from vc-annotate-extract-revision-at-line.
15656 (vc-annotate-show-diff-revision-at-line):
15657 Update vc-annotate-show-diff-revision-at-line call.
15658 (vc-annotate-warp-revision): Add an optional file argument.
15660 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15661 (vc-git-annotate-extract-revision-at-line): Also return the file
15664 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15665 command. Remove unused code.
15666 (vc-hg-annotate-re): Update to match --follow output.
15667 (vc-hg-annotate-extract-revision-at-line): Also return the file
15670 * vc.el: Update annotate-extract-revision-at-line documentation.
15672 2009-10-18 Kevin Ryde <user42@zip.com.au>
15674 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15675 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15677 * net/browse-url.el (browse-url): Identify alist with "consp and
15678 not functionp" and let all other things go down the `apply' leg,
15679 as suggested by Stefan. (Further to bug#4531.)
15681 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15683 * minibuffer.el (read-file-name): Check for repeat before putting
15684 a default argument in file-name-history (Bug#4657).
15686 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15687 read syntax (Bug#4737).
15689 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15691 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15693 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15694 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15695 entries and make note of obsolete tags.
15697 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15699 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15701 2009-10-18 Glenn Morris <rgm@gnu.org>
15703 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15704 grep, so that binary files (eg international/uni-bidi.el) can match.
15705 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15706 now, and in any case the file header format has changed.
15708 2009-10-17 Glenn Morris <rgm@gnu.org>
15710 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15711 (flyspell-get-word, flyspell-large-region)
15712 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15714 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15716 * Makefile.in (ELCFILES): Add ede/shell.
15718 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15720 * term/common-win.el (x-colors): Purecopy it.
15722 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15724 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15725 permissive for when the buffer is empty.
15726 (tar-header-block-tokenize): Decode the username and groupname.
15727 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15729 2009-10-17 Eric Ludlam <zappo@gnu.org>
15731 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15732 contains multibyte characters, choose first applicable coding
15733 system automatically.
15735 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15737 * international/mule-cmds.el (select-safe-coding-system): If the file
15738 has a coding cookie, use it regardless of any other setting (bug#4712).
15740 2009-10-17 Glenn Morris <rgm@gnu.org>
15742 * foldout.el (foldout-mouse-swallow-events):
15743 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15745 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15746 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15747 (dired-keep-marker-symlink, dired-dwim-target)
15748 (dired-copy-preserve-time): Do not autoload these defcustoms.
15750 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15751 messages from messing up the file coding. (Bug#4623)
15753 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15755 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15756 if no match is found for the current dictionary. (Bug#4578)
15758 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15759 optional, since that is how it is documented, and this is often called
15760 with a nil argument. (Bug#4577)
15761 (flyspell-external-point-words, flyspell-auto-correct-word)
15762 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15763 (flyspell-word-search-backward): Remove nil argument in calls to
15764 flyspell-get-word, since it is not needed now.
15766 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15768 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15770 2009-10-16 Glenn Morris <rgm@gnu.org>
15772 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15774 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15776 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15777 (ange-ftp-file-size): New function.
15778 (ange-ftp-file-attributes): Use it.
15780 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15782 * net/tramp-smb.el (tramp-smb-version): New defvar.
15783 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15786 2009-10-16 Glenn Morris <rgm@gnu.org>
15788 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15789 Maybe copy some custom properties from old to new name. (Bug#4706)
15791 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15793 * subr.el (error, sit-for, start-process-shell-command)
15794 (start-file-process-shell-command): Set the calling convention
15795 after the function definition.
15797 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15799 * subr.el (error, sit-for, start-process-shell-command)
15800 (start-file-process-shell-command): Use the new
15801 set-advertised-calling-convention feature.
15803 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15805 * international/ucs-normalize.el (ucs-normalize-version):
15807 (check-range): Adjust for Unicode 5.2.
15809 2009-10-15 Juri Linkov <juri@jurta.org>
15811 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15812 to the `menu-item' format.
15814 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15816 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15817 if the environment variable does not exist.
15819 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15820 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15822 (tramp-smb-handle-add-name-to-file)
15823 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15824 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15825 (tramp-smb-handle-file-attributes)
15826 (tramp-smb-do-file-attributes-with-stat)
15827 (tramp-smb-handle-file-local-copy)
15828 (tramp-smb-handle-insert-directory)
15829 (tramp-smb-handle-make-directory)
15830 (tramp-smb-handle-make-directory-internal)
15831 (tramp-smb-handle-make-symbolic-link)
15832 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15833 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15834 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15835 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15836 Handle long file names.
15837 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15838 process is running.
15839 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15840 Read share names with "-g" option.
15842 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15844 * net/rcirc.el (rcirc-view-log-file): New command.
15845 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15846 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15849 2009-10-15 Glenn Morris <rgm@gnu.org>
15851 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15852 from the second command-line argument.
15853 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15854 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15855 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15856 w32-batch-update-autoloads.
15857 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15858 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15860 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15861 the headers cannot be located. Simplify, subtracting superflous
15864 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15866 Replace completion-base-size by completion-base-position to fix bugs
15867 such as (bug#4699).
15868 * simple.el (completion-base-position): New var.
15869 (completion-base-size): Mark as obsolete.
15870 (choose-completion): Make it work for mouse events as well.
15871 Pass the new base-position to choose-completion-string.
15872 (choose-completion-guess-base-position): New function, extracted from
15873 choose-completion-delete-max-match.
15874 (choose-completion-delete-max-match): Use it. Make obsolete.
15875 (choose-completion-string): Use the new base-position info.
15876 (completion-root-regexp): Delete.
15877 (completion-setup-function): Preserve completion-base-position.
15878 Eliminate obsolete base-size manipulation.
15879 * minibuffer.el (display-completion-list): Don't mess with base-size.
15880 (minibuffer-completion-help): Set completion-base-position instead.
15881 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15883 * textmodes/bibtex.el (bibtex-complete):
15884 * emacs-lisp/crm.el (crm--choose-completion-string):
15885 Adjust to new calling convention.
15886 * complete.el (partial-completion-mode): Use minibufferp to avoid
15887 bumping into incompatible change to choose-completion-string-functions.
15888 * ido.el (ido-choose-completion-string): Make its calling convention
15890 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15891 base-size manipulation.
15892 (comint-dynamic-list-input-ring): Use dotimes and push.
15893 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15894 fundamental-mode. Use `or'.
15896 2009-10-14 Juri Linkov <juri@jurta.org>
15898 * misearch.el (multi-isearch-next-buffer-from-list)
15899 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15901 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15903 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15906 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15907 string we return is all made up of text from the completions rather
15908 than part from the completions and part from the input (bug#4219).
15910 * ido.el (ido-everywhere): Use define-minor-mode.
15912 * buff-menu.el (list-buffers, ctl-x-map):
15913 Mark the entry points with ;;;###autoload cookies.
15915 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15917 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15918 correctly in the detached head case.
15919 (vc-git-print-log): Remove unused binding.
15921 * vc.el (vc-responsible-backend): When a directory is passed for
15922 for registration create a VC repository if no backend is
15923 responsible for the directory argument.
15924 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15926 * vc.el: Move comments about RCS and SCCS ...
15928 * vc-sccs.el: ... here, respectively.
15930 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * minibuffer.el (completion--file-name-table): Return nil if there's
15933 no file completion, even if substitute-in-file-name changed
15934 the string (bug#4708).
15936 2009-10-13 Juri Linkov <juri@jurta.org>
15938 * files-x.el (read-file-local-variable-value): Don't filter out
15939 minor modes from mode name completion (bug#4664).
15941 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15943 * international/mule-cmds.el (ucs-names): Remove exclusion of
15944 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15946 2009-10-13 Kenichi Handa <handa@m17n.org>
15948 * international/uni-name.el: Regenerated.
15950 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15952 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15953 should be automatically buffer-local, but isn't.)
15955 2009-10-12 Sam Steingold <sds@gnu.org>
15957 * progmodes/compile.el (compilation-next-error-function): Fix the
15958 timestamps if the buffer has been visited before.
15959 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15960 non-anchored patterns, like the perl one (bug#3928).
15962 2009-10-12 Glenn Morris <rgm@gnu.org>
15964 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15967 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15969 * proced.el (proced-unload-function): New function.
15971 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15972 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15975 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15977 2009-10-11 Juri Linkov <juri@jurta.org>
15979 * files-x.el (read-file-local-variable-value):
15980 Provide default value only for bound variables (bug#4664).
15982 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15984 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15985 connection methods like smb.
15987 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15990 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15991 (tramp-smb-file-name-handler-alist): Add handlers for
15992 `add-name-to-file', `make-symbolic-link'.
15993 (tramp-smb-handle-add-name-to-file)
15994 (tramp-smb-do-file-attributes-with-stat)
15995 (tramp-smb-handle-make-symbolic-link)
15996 (tramp-smb-get-cifs-capabilities): New defuns.
15997 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15998 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15999 (tramp-smb-handle-file-local-copy)
16000 (tramp-smb-handle-make-directory-internal)
16001 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16002 The file name syntax depends on cifs capabilities.
16003 (tramp-smb-handle-file-attributes):
16004 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16005 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16006 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16008 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16010 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16011 (eieio-defclass): Apply deftype handler and setf-method properties
16013 (eieio-add-new-slot): Avoid union function from cl library.
16014 (eieio--typep): New function.
16015 (eieio-perform-slot-validation): Use it.
16017 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16019 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16020 Update documentation to refer to the variables documented in r1.135.
16023 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16025 * bookmark.el (Info-suffix-list): Remove this unused variable.
16026 (bookmark-current-point): Remove this obsolete variable.
16027 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16028 Adjust for removal of bookmark-current-point.
16030 (bookmarks-already-loaded, bookmark-current-buffer)
16031 (bookmark-yank-point): Document. (Bug#4188)
16033 2009-10-10 Glenn Morris <rgm@gnu.org>
16035 * frame.el (frame-height): Doc fix.
16037 * calendar/calendar.el (calendar-split-width-threshold): New option.
16038 (calendar-basic-setup): Use calendar-split-width-threshold.
16040 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16042 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16043 Ideographic Supplement" range (U+1F200..U+1F2FF).
16045 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16047 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16048 since the list will have been rebuilt anyway. (Bug#4349)
16050 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16052 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16053 (bookmark-bmenu-execute-deletions): Don't save here, as
16054 bookmark-delete will now do so if necessary.
16055 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16058 2009-10-09 Glenn Morris <rgm@gnu.org>
16060 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16062 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16064 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16065 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16066 argument now, so the two function's behaviors will match. (Bug#3645)
16068 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16070 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16071 (tramp-file-name-real-host, tramp-file-name-port):
16072 Apply `save-match-data'.
16074 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16075 case both directories are remote.
16076 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16077 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16079 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16081 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16083 2009-10-07 Glenn Morris <rgm@gnu.org>
16085 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16088 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16090 * files-x.el (read-file-local-variable): Include some
16091 non-user-variables in the completion table (bug#4664).
16093 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16095 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16098 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16099 (tramp-smb-file-name-handler-alist): Add handler for
16100 `copy-directory', `expand-file-name', `set-file-modes'.
16101 (tramp-smb-handle-copy-directory)
16102 (tramp-smb-handle-expand-file-name)
16103 (tramp-smb-handle-set-file-modes): New defuns.
16104 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16105 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16107 (tramp-smb-handle-insert-directory): Don't flush the cache.
16108 (tramp-smb-maybe-open-connection): Check for samba client and
16111 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16113 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16114 to not error out of search for "^lisp=" fails.
16116 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16118 * makefile.w32-in (WINS_UPDATES): New macro.
16119 (custom-deps, finder-data, autoloads): Use it.
16121 2009-10-07 Glenn Morris <rgm@gnu.org>
16123 * Makefile.in (autoloads): Revert previous change.
16124 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16125 the list of preloaded files passed on the command-line, get
16126 it from src/Makefile.
16128 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16129 show the original buffer rather than a random one.
16131 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16133 * help.el (describe-no-warranty): Place point in a slightly better
16134 position in the GPLv3 text.
16136 2009-10-06 Sam Steingold <sds@gnu.org>
16138 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16139 the comm attribute is present before calling regexp-quote.
16141 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16143 * play/animate.el (animate-string): For good effect, make sure
16144 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16146 * play/animate.el (animate-sequence, animate-birthday-present):
16147 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16149 2009-10-06 Glenn Morris <rgm@gnu.org>
16151 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16153 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16154 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16155 (batch-update-autoloads): Process a string value of autoload-excludes,
16156 set during the build process.
16157 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16159 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16160 inside with-parsed... macro so that `v' is defined.
16162 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16163 * progmodes/fortran.el (fortran-end-of-block)
16164 (fortran-beginning-of-block):
16165 Also push mark in the macro case.
16167 * emerge.el (emerge-show-file-name):
16168 * calc/calc.el (calc-quit):
16169 * calc/calc-misc.el (calc-big-or-small):
16170 * calc/calc-graph.el (calc-graph-view):
16171 * calc/calc-ext.el (calc-reset):
16172 * calendar/calendar.el (calendar-basic-setup):
16173 Use window-full-height-p.
16175 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16176 header we don't understand, don't insert another. (Bug#4624)
16177 If changing mime charset, insert the new one in the right place.
16179 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16181 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16182 (cal-tex-cursor-month): Correctly increment the end date for diary and
16183 holiday listing. (Bug#4626)
16185 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16187 * help-fns.el (describe-function-1): Don't burp if the function is not
16190 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16192 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16193 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16194 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16195 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16197 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16198 (eieio-default-superclass): Reflow docstrings.
16199 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16200 (eieio-unbind-method-implementations, defmethod)
16201 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16202 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16203 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16204 (eieio-slot-originating-class-p, eieio-slot-name-index)
16205 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16206 (constructor, initialize-instance, no-next-method, object-print)
16207 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16208 Fix typos in docstrings.
16209 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16210 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16211 (next-method-p): Doc fixes.
16212 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16213 Fix typos in error messages.
16214 (eieio-defmethod): Fix typo in description of generic method.
16216 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16217 (eieio-persistent-save-interactive, slot-missing):
16218 Fix typos in docstrings.
16219 (eieio-instance-inheritor-slot-boundp): Doc fix.
16221 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16222 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16224 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16225 (eieio-custom-object-apply-reset):
16226 Fix typos in docstrings and error messages.
16228 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16229 Fix typo in docstring.
16231 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16232 (eieio-browse-tree): Doc fix.
16233 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16234 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16235 Fix typos in docstrings.
16237 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16238 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16239 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16240 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16243 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16245 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16246 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16247 Set log-view-vc-backend so that diff can work.
16249 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16251 (vc-diff-internal): Autoload this instead of vc-version-diff.
16253 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16255 * simple.el (eval-expression): Doc fix.
16257 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16259 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16261 * files.el (directory-files-no-dot-files-regexp): New defconst.
16262 (delete-directory): Use it.
16263 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16265 * net/tramp.el (tramp-verbose): Fix docstring.
16266 (tramp-methods): Add recursive option to `tramp-copy-args'.
16267 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16268 "scp1_old", "scp2_old", "rsync", "rsyncc".
16269 (tramp-default-method): Check also for `auth-source-user-or-password'.
16270 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16271 Add handler for `copy-directory'.
16272 (tramp-handle-copy-directory): New defun.
16273 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16274 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16275 Optimize sent command.
16277 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16279 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16280 window if necessary.
16282 * calendar/calendar.el (calendar-basic-setup): Don't call
16283 switch-to-buffer in a dedicated window.
16285 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16287 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16288 don't do anything related to relocating, just return nil.
16289 (bookmark-error-no-filename): New error.
16290 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16291 bookmark has no file. Don't even attempt to handle things that
16292 are not files; the whole point of custom handlers is to keep that
16293 knowledge elsewhere anyway. Tighten some comments.
16294 (bookmark-file-or-variation-thereof): Remove now-unused function.
16295 (bookmark-location): Doc string fix.
16298 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16300 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16301 don't use a file dialog, because they usually don't know how to read
16302 a directory target from the user. (Bug#4230)
16303 Also, make sure the prompt can display directories as well as files.
16305 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16307 * bookmark.el (bookmark-set, bookmark-buffer-name):
16308 Improve doc strings. (Bug#1193)
16310 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16312 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16313 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16314 (bookmark-get-annotation, bookmark-set-annotation)
16315 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16316 (bookmark-set-position, bookmark-get-front-context-string)
16317 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16318 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16319 (bookmark-jump-other-window, bookmark-handle-bookmark)
16320 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16321 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16322 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16323 Improve doc strings to say whether bookmark can be a string or
16324 a record or both, and make other consistency and clarity fixes.
16325 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16326 (bookmark-default-annotation-text, bookmark-yank-word)
16327 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16328 (bookmark-import-new-list, bookmark-maybe-rename)
16329 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16330 (bookmark-bmenu-bookmark): Give these doc strings.
16331 (bookmark-bmenu-check-position): Give this a doc string, but also
16332 add a FIXME comment about how the function may be pointless.
16333 (bookmark-default-handler): Rework doc string and change a
16334 parameter name, to clarify that this takes a bookmark record
16335 not a bookmark name.
16336 (bookmark-set): Change a parameter name to indicate its meaning,
16337 and improve the doc string a bit.
16340 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16342 * bookmark.el (bookmark-alist): Document the new `handler' element
16343 in the param alist.
16344 (bookmark-make-record-function): Adjust documentation for above.
16347 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16349 * info.el (Info-bookmark-make-record): Document this function.
16350 (Info-bookmark-jump): Document with a doc string, not just a comment.
16353 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16355 * files.el (copy-directory): New defun.
16357 * dired-aux.el (dired-copy-file-recursive): Use it.
16359 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16361 * files-x.el (modify-dir-local-variable)
16362 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16365 * recentf.el (recentf-unload-function): New function.
16367 2009-10-04 Glenn Morris <rgm@gnu.org>
16369 * window.el (window-full-height-p): Add doc string.
16371 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16373 * window.el (window-full-height-p): New function. (Bug#4543)
16375 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16377 * vc.el: Remove commented out code.
16378 (vc-derived-from-dir-mode): Remove, unused.
16379 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16381 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16383 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16384 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16385 there could be recursive loading when `default-directory' is a
16386 remote file name. (Bug#4614)
16388 2009-10-03 Glenn Morris <rgm@gnu.org>
16390 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16392 (calendar-generate-window): Test for shrinkability rather than width.
16394 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16395 reusing existing buffers, in case we happen to visit two files with the
16396 same basename. (Bug#4593)
16398 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16400 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16401 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16402 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16403 subdirs of cedet as well.
16404 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16406 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16408 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16409 Obey advertised-signature-table.
16411 * help-fns.el (help-function-arglist): Don't check
16412 advertised-signature-table.
16413 (describe-function-1): Do it here instead so it also applies to subrs.
16415 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16417 * simple.el (start-file-process): Say in the doc-string, that file
16418 handlers might not support pty association, if PROGRAM is nil.
16420 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16421 HOST and USER are strings. They are nil, when there are
16422 incomplete entries in ~/.netrc, for example.
16423 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16424 root directory ("device busy" error otherwise).
16426 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16427 Flush file properties of created directory.
16429 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16431 * makefile.w32-in (WINS_BASIC): Remove cedet.
16432 (WINS_CEDET): Add cedet.
16433 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16435 2009-10-02 Kevin Ryde <user42@zip.com.au>
16437 * net/browse-url.el (browse-url): Pass any symbol in
16438 browse-url-browser-function to `apply', since if you've mistakenly put
16439 an unbound symbol then the error is clearer. (Bug#4531)
16441 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16443 * allout.el (allout-init, allout-back-to-current-heading)
16444 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16445 (allout-ascend, allout-up-current-level, allout-end-of-level)
16446 (allout-previous-visible-heading, allout-forward-current-level)
16447 (allout-backward-current-level, allout-show-children):
16448 * apropos.el (apropos-describe-plist):
16449 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16450 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16451 * completion.el (add-completion, add-permanent-completion):
16452 * descr-text.el (describe-text-category, describe-char):
16453 * desktop.el (desktop-lazy-abort):
16454 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16455 * dired.el (dired-build-subdir-alist):
16456 * ediff.el (ediff-version):
16457 * elide-head.el (elide-head, elide-head-show):
16458 * emerge.el (emerge-version):
16460 * face-remap.el (variable-pitch-mode):
16461 * faces.el (describe-face):
16462 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16464 * files.el (find-file-existing, auto-save-mode):
16465 * font-lock.el (font-lock-fontify-buffer):
16466 * help-fns.el (describe-function, describe-variable)
16467 (describe-syntax, describe-categories):
16468 * help.el (view-lossage, describe-bindings, describe-key)
16470 * hexl.el (hexl-current-address):
16471 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16472 * info.el (Info-goto-emacs-key-command-node):
16473 * log-edit.el (log-edit-insert-cvs-template)
16474 (log-edit-insert-cvs-rcstemplate):
16475 * menu-bar.el (menu-bar-mode):
16476 * mouse.el (mouse-appearance-menu):
16477 * newcomment.el (comment-indent-new-line):
16478 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16479 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16480 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16481 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16482 * recentf.el (recentf-mode):
16483 * savehist.el (savehist-mode, savehist-save):
16484 * shadowfile.el (shadow-copy-files):
16485 * simple.el (kill-ring-save, next-line, previous-line)
16486 (normal-erase-is-backspace-mode):
16487 * strokes.el (strokes-update-window-configuration)
16488 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16489 (strokes-xpm-for-stroke):
16490 * time.el (emacs-uptime, emacs-init-time):
16491 * tutorial.el (tutorial--describe-nonstandard-key)
16492 (tutorial--detailed-help):
16493 * type-break.el (type-break-mode)
16494 (type-break-mode-line-message-mode, type-break-query-mode)
16495 (type-break-guesstimate-keystroke-threshold):
16496 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16497 * version.el (emacs-version):
16498 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16499 * winner.el (winner-mode):
16500 * calendar/timeclock.el (timeclock-in, timeclock-out)
16501 (timeclock-status-string, timeclock-change)
16502 (timeclock-workday-remaining-string)
16503 (timeclock-workday-elapsed-string)
16504 (timeclock-when-to-leave-string):
16505 * calendar/todo-mode.el (todo-add-category):
16506 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16507 * emacs-lisp/autoload.el (update-file-autoloads):
16508 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16509 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16510 (checkdoc-message-text, checkdoc-defun):
16511 * emacs-lisp/debug.el (debugger-list-functions):
16512 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16513 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16514 (eieio-describe-generic):
16515 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16516 * emacs-lisp/shadow.el (list-load-path-shadows):
16517 * emulation/cua-base.el (cua-mode):
16518 * emulation/edt.el (edt-set-scroll-margins):
16519 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16520 (tpu-toggle-regexp, tpu-toggle-search-direction)
16521 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16522 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16523 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16524 (viper-set-parsing-style-toggling-macro)
16525 (viper-set-emacs-state-searchstyle-macros):
16526 * emulation/viper.el (viper-set-hooks):
16527 * eshell/esh-mode.el (eshell-truncate-buffer):
16528 * international/mule-cmds.el (prefer-coding-system)
16529 (describe-input-method, describe-language-environment):
16530 * international/mule-diag.el (list-character-sets)
16531 (describe-character-set, describe-coding-system)
16532 (describe-fontset, list-fontsets, list-input-methods):
16533 * mail/sendmail.el (mail-signature):
16534 * net/ange-ftp.el (ange-ftp-copy-file):
16535 * net/browse-url.el (browse-url):
16536 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16537 * net/quickurl.el (quickurl-add-url):
16538 * net/rcirc.el (names, topic):
16539 * net/xesam.el (xesam-mode):
16540 * play/5x5.el (5x5-new-game):
16541 * play/yow.el (apropos-zippy):
16542 * progmodes/ada-mode.el (ada-mode-version):
16543 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16545 (f90-beginning-of-block):
16546 * progmodes/fortran.el (fortran-end-of-block)
16547 (fortran-beginning-of-block):
16548 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16549 * progmodes/python.el (python-describe-symbol, python-shell):
16550 * term/ns-win.el (ns-print-buffer):
16551 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16552 * textmodes/flyspell.el (flyspell-mode-on):
16553 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16554 (pages-directory-for-addresses):
16555 * textmodes/table.el (table-recognize-cell)
16556 (table-query-dimension, table-generate-source)
16557 (table-insert-sequence, table--warn-incompatibility):
16558 * textmodes/tex-mode.el (tex-validate-buffer):
16559 * textmodes/texinfmt.el (texinfmt-version)
16560 (texinfo-format-buffer):
16561 Use `called-interactively-p' instead of `interactive-p'.
16563 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16565 * image-mode.el (image-toggle-display):
16566 * emacs-lisp/elp.el (elp-instrument-function):
16567 * emacs-lisp/advice.el (ad-make-advised-definition):
16568 * emacs-lisp/easy-mmode.el (define-minor-mode):
16569 * net/browse-url.el (browse-url-maybe-new-window):
16570 * progmodes/sh-script.el (sh-learn-buffer-indent):
16571 Pass new argument 'any to `called-interactively-p'.
16573 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16575 * international/uni-bidi.el:
16576 * international/uni-category.el:
16577 * international/uni-combining.el:
16578 * international/uni-comment.el:
16579 * international/uni-decimal.el:
16580 * international/uni-decomposition.el:
16581 * international/uni-digit.el:
16582 * international/uni-lowercase.el:
16583 * international/uni-mirrored.el:
16584 * international/uni-name.el:
16585 * international/uni-numeric.el:
16586 * international/uni-old-name.el:
16587 * international/uni-titlecase.el:
16588 * international/uni-uppercase.el:
16589 Regenerate from Unicode 5.2.0 data.
16591 2009-10-01 Glenn Morris <rgm@gnu.org>
16593 * Makefile.in (ELCFILES): Regenerate.
16595 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16597 * subr.el (interactive-p): Mark obsolete.
16598 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16599 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16600 advertised-signature-table for subroutines as well.
16602 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16603 (set-advertised-calling-convention): New function.
16604 (make-obsolete, define-obsolete-function-alias)
16605 (make-obsolete-variable, define-obsolete-variable-alias):
16606 Make the optional-ness of `when' obsolete.
16607 (define-obsolete-face-alias): Make `when' non-optional.
16608 * help-fns.el (help-function-arglist):
16609 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16610 Use advertised-signature-table.
16612 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16614 * files.el (delete-directory): New defun. The original function
16615 in fileio.c has been renamed to `delete-directory-internal'.
16617 * dired.el (dired-delete-file): Call `delete-directory' with
16618 RECURSIVE parameter.
16620 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16621 parameter RECURSIVE. Implementation is missing.
16623 * net/tramp.el (tramp-handle-make-directory): Flush upper
16624 directory's file properties.
16625 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16626 (tramp-handle-dired-recursive-delete-directory): Flush directory
16627 properties after the remove command only.
16629 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16630 Handle optional parameter RECURSIVE.
16632 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16633 Handle optional parameter RECURSIVE.
16635 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16636 connection timeout.
16637 (tramp-smb-handle-delete-directory): Handle optional parameter
16640 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16643 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16644 (byte-compile-defmacro): Use backquotes.
16646 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16648 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16649 has no associated file.
16650 (vc-resynch-buffer): Use vc-dir-buffers.
16652 2009-10-01 Glenn Morris <rgm@gnu.org>
16654 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16655 (chart-file-count):
16656 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16657 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16658 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16659 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16660 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16661 (eieio-copy-parents-into-subclass, make-instance, class-children)
16662 (eieio-generic-form):
16664 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16665 match-data. (Bug#4555).
16667 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16668 rather than parsing it as a regexp. This relaxes the layout
16669 requirements and makes errors easier to detect.
16670 (check-declare-verify): Check file is regular.
16671 (check-declare-directory): Doc fix.
16672 * subr.el (declare-function): Doc fix.
16674 * ibuffer.el (ibuffer-format-qualifier):
16675 * isearch.el (hi-lock-regexp-okay):
16676 * calc/calc.el (math-zerop):
16677 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16678 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16679 Remove unused declarations.
16681 2009-09-30 Eric Ludlam <zappo@gnu.org>
16683 * emacs-lisp/eieio.el (boolean-p): Delete.
16685 2009-09-30 Glenn Morris <rgm@gnu.org>
16687 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16689 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16690 filename is not a string.
16692 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16694 * files.el (safe-local-eval-forms): Fix typo.
16696 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16698 * vc-hooks.el (vc-dir-buffers): New var.
16699 (vc-state-refresh): New function.
16700 (vc-state): Use it.
16701 (vc-after-save): Always ask the backend to recompute the new state.
16702 Always call vc-dir if necessary, using vc-dir-buffers.
16703 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16704 Use vc-dir-buffers.
16705 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16706 (vc-dir-prepare-status-buffer, vc-dir-update)
16707 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16708 Don't call expand-file-name on default-directory.
16710 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16712 * speedbar.el (speedbar-item-delete):
16713 * calc/calc-prog.el (calc-kbd-if):
16714 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16716 * epa.el (epa-key-list-mode-map):
16717 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16719 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16720 (hs-show-hook): Fix typo in docstring.
16722 2009-09-29 Glenn Morris <rgm@gnu.org>
16724 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16725 file-name-nondirectory call preventing location of cedet files.
16726 (check-declare-verify): Use literal search rather than re-search.
16727 Add basic defmethod and defclass, and define-overloadable-function.
16729 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16730 Use tramp-compat-file-attributes rather than nonexistent
16731 tramp-compat-handle-file-attributes.
16733 * Makefile.in (lisptagsfiles4): New.
16734 (AUTOGENEL): Add cedet loaddefs files.
16735 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16736 (update-elclist, compile-always, backup-compiled-files)
16737 (bootstrap-clean): Add yet another directory level.
16738 (update-elclist): Use LC_COLLATE rather than COLLATE.
16739 (ELCFILES): Update, via `make update-elclist'.
16741 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16743 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16744 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16745 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16747 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16749 * Makefile.in (lisptagsfiles3): Define.
16750 (TAGS, TAGS-LISP): Use it.
16751 (update-elclist): Add third directory level to look for elc files.
16752 (compile-always): Likewise.
16753 (backup-compiled-files): Likewise.
16754 (bootstrap-clean): Likewise.
16755 (ELCFILES): Update.
16757 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16759 * Makefile.in (ELCFILES): Add CEDET files.
16761 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16763 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16765 * net/tramp.el (top): Require tramp-imap.
16767 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16768 Use `tramp-compat-handle-file-attributes'.
16770 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16772 * net/tramp-imap.el: New package.
16774 2009-09-28 Eric Ludlam <zappo@gnu.org>
16776 * emacs-lisp/chart.el:
16777 * emacs-lisp/eieio-base.el:
16778 * emacs-lisp/eieio-comp.el:
16779 * emacs-lisp/eieio-custom.el:
16780 * emacs-lisp/eieio-datadebug.el:
16781 * emacs-lisp/eieio-opt.el:
16782 * emacs-lisp/eieio-speedbar.el:
16783 * emacs-lisp/eieio.el: New files.
16785 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16787 * whitespace.el (whitespace-trailing-regexp)
16788 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16791 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16793 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16796 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16797 menu-bar-ediff-menu.
16799 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16800 define-overloadable-function.
16802 * progmodes/autoconf.el: Provide autoconf as well, so that this
16803 file can be `require'd.
16805 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16807 * emacs-lisp/autoload.el (generated-autoload-feature)
16808 (generated-autoload-load-name): New vars.
16809 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16810 (make-autoload): Recognize define-overloadable-function and
16811 defclass forms (for EIEIO).
16813 * Makefile.in (update-subdirs): Exclude cedet directory.
16815 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16817 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16819 * faces.el: Default light-background background for region face to
16820 ns_selection_color under NS.
16822 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16824 * net/imap-hash.el: New library, see NEWS.
16826 * Makefile.in (ELCFILES): Add imap-hash.el.
16828 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16830 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16831 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16832 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16833 definition where the docstring could be taken for the return value.
16835 2009-09-26 Glenn Morris <rgm@gnu.org>
16837 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16838 Add option to only show images below a certain size.
16839 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16840 save-excursion calls.
16842 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16844 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16845 subdirectories) and eieio.
16847 2009-09-26 Alan Mackenzie <acm@muc.de>
16849 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16850 Correct buggy bracketing. (Bug#4289)
16852 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16853 character constants (as case labels). (Bug#4289)
16855 2009-09-25 Juri Linkov <juri@jurta.org>
16857 * files.el (safe-local-eval-forms): Allow time-stamp in
16858 before-save-hook (Bug#4554).
16860 2009-09-25 Drew Adams <drew.adams@oracle.com>
16862 * menu-bar.el (list-buffers-directory): Doc fix.
16864 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16867 Try and avoid copying twice the same paragraph.
16868 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16869 Remove save-excursion.
16870 (log-edit-changelog-entry): Do it here instead.
16872 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16874 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16875 when available, instead of hardcoding mode names. Doc fix.
16877 * menu-bar.el (list-buffers-directory): Add docstring.
16878 Make automatically buffer-local.
16880 * dired.el (dired-mode):
16881 * files.el (cd-absolute):
16882 * pcvs.el (cvs-temp-buffer):
16883 * pcvs-util.el (cvs-get-buffer-create):
16884 * shell.el (shell-mode):
16885 * vc-dir.el (vc-dir-mode):
16886 Don't make `list-buffers-directory' buffer local.
16888 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16890 * comint.el (comint-exec, comint-run, make-comint):
16891 Doc fixes (Bug#4542).
16893 2009-09-25 Glenn Morris <rgm@gnu.org>
16895 * mail/rmailmm.el (rmail-mime): New custom group.
16896 Move all defcustoms in this file into this group.
16897 (rmail-mime-media-type-handlers-alist): Revert previous change.
16898 (rmail-mime-show-images): New option.
16899 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16900 references to it, since it wasn't actually used for anything.
16901 (rmail-mime-insert-image): New function.
16902 (rmail-mime-image): Use rmail-mime-insert-image.
16903 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16904 obey the value of `rmail-mime-show-images' option. Print the size of
16907 2009-09-25 David Engster <deng@randomsample.de>
16909 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16911 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16913 * whitespace.el: Does not highlight trailing spaces While point is
16914 at end of line. Does not highligt spaces at beginning of buffer
16915 while point is at beginning of buffer. Does not highlight spaces
16916 at end of buffer while point is at end of buffer. (Bug#4177)
16918 (whitespace-display-mappings): Adjust initialization.
16919 (whitespace-point, whitespace-font-lock-refontify): New vars.
16920 (whitespace-color-on, whitespace-color-off): Adjust code.
16921 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16922 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16923 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16925 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16927 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16929 * textmodes/sgml-mode.el: Remove xml-mode alias.
16931 * files.el (auto-mode-alist, conf-mode-maybe)
16932 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16934 2009-09-24 Alan Mackenzie <acm@muc.de>
16936 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16937 c-forward-conditionals, but it doesn't move point and doesn't set
16939 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16940 (c-down-conditional-with-else, c-backward-conditional)
16941 (c-forward-conditional): Refactor to use c-scan-conditionals.
16943 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16945 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16946 (help-default-arg-highlight): Remove.
16947 (help-highlight-arg): New function.
16948 (help-do-arg-highlight): Use it.
16949 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16951 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16953 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16954 Undo last change, which didn't fix the problem and introduced others.
16956 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16958 * progmodes/gdb-mi.el: Don't require speedbar.
16959 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16961 2009-09-24 Glenn Morris <rgm@gnu.org>
16963 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16965 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16967 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16968 there is no newline after the final mime boundary. (Bug#4539)
16969 Move markers on insertion so that any buttons inserted don't end up in
16970 the next part of a multipart message.
16971 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16972 (rmail-mime-bulk-handler): Optionally handle images.
16973 (rmail-mime-image): New button action.
16974 (rmail-mime-image-handler): New function.
16975 (rmail-mime-mode): New mode.
16976 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16978 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16980 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16981 than just dropping elements from it (bug#4504).
16983 * term.el (term-set-scroll-region): Don't move cursor any more.
16984 (term-handle-ansi-escape): Call term-goto here instead.
16985 Suggested by Ivan Kanis <apple@kanis.eu>.
16987 * term.el: Require CL.
16988 (term-ansi-reset): New function.
16989 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16990 (term-handle-colors-array): Simplify.
16992 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16994 * allout.el (allout-overlay-interior-modification-handler)
16995 (allout-obtain-passphrase):
16996 * epa-file.el (epa-file-write-region):
16997 * ps-print.el (ps-begin-job):
16998 * vc-hooks.el (vc-toggle-read-only):
16999 * vc-rcs.el (vc-rcs-rollback):
17000 * vc-sccs.el (vc-sccs-rollback):
17001 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17002 (vc-version-diff, vc-revert, vc-rollback):
17003 * wdired.el (wdired-check-kill-buffer):
17004 * emacs-lisp/authors.el (authors):
17005 * net/socks.el (socks-open-connection):
17006 * net/zeroconf.el (zeroconf-service-add-hook):
17007 * obsolete/vc-mcvs.el (vc-mcvs-register):
17008 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17009 (gdb-select-frame):
17010 * progmodes/grep.el (lgrep, rgrep):
17011 * progmodes/idlw-help.el (idlwave-help-check-locations)
17012 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17013 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17014 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17015 (reftex-toc-rename-label): Fix typos in error messages.
17017 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17018 (dired-copy-how-to-fn): Doc fix.
17019 (dired-files-attributes, dired-read-shell-command):
17020 Fix typos in docstrings.
17022 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17023 (dired-x-find-file-other-window): Reflow docstrings.
17024 (dired-omit-marker-char, dired-read-shell-command)
17025 (dired-x-submit-report): Fix typos in docstrings.
17027 * shell.el (shell-mode-hook):
17028 * view.el (View-scroll-line-forward):
17029 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17030 Fix typos in docstrings.
17032 * net/dig.el (dig-invoke): Fix typo in docstring.
17033 (query-dig): Reflow docstring.
17035 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17036 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17037 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17038 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17039 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17040 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17041 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17042 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17043 (idlwave-completion-map, idlwave-current-indent)
17044 (idlwave-custom-ampersand-surround, idlwave-customize)
17045 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17046 (idlwave-define-abbrev, idlwave-determine-class-special)
17047 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17048 (idlwave-end-block-reg, idlwave-end-of-statement)
17049 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17050 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17051 (idlwave-explicit-class-listed, idlwave-file-header)
17052 (idlwave-fill-paragraph, idlwave-find-class-definition)
17053 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17054 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17055 (idlwave-in-quote, idlwave-indent-action-table)
17056 (idlwave-indent-expand-table, idlwave-indent-line)
17057 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17058 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17059 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17060 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17061 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17062 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17063 (idlwave-outlawed-buffers, idlwave-popup-select)
17064 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17065 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17066 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17067 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17068 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17069 (idlwave-statement-type, idlwave-struct-skip)
17070 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17071 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17072 (idlwave-what-module-find-class): Fix typos in docstrings.
17073 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17074 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17075 (idlwave-find-module, idlwave-find-structure-definition)
17076 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17077 (idlwave-list-load-path-shadows, idlwave-next-statement)
17078 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17079 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17080 (idlwave-template): Reflow docstrings.
17082 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17083 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17084 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17085 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17086 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17087 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17088 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17089 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17090 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17091 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17092 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17093 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17094 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17095 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17096 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17097 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17098 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17099 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17100 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17101 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17102 Fix typos in docstrings.
17103 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17104 (idlwave-shell-hide-output, idlwave-shell-mode)
17105 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17108 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17110 2009-09-24 Ivan Kanis <apple@kanis.eu>
17112 * term.el (term-bold-attribute): New var.
17113 (term-handle-colors-array): Use it.
17115 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17117 * progmodes/gdb-mi.el (gdb-version): New variable.
17118 (gdb-non-stop-handler): Set gdb-version.
17119 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17120 Condition "--thread" option on gdb-version.
17121 (gdb-invalidate-threads): Remove unused argument.
17123 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17125 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17126 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17128 2009-09-23 Glenn Morris <rgm@gnu.org>
17130 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17131 replying to mail without References or Message-Id. (Bug#4525)
17133 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17135 * term/ns-win.el (ns-reg-to-script): New variable.
17137 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17139 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17141 2009-09-22 Sam Steingold <sds@gnu.org>
17143 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17144 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17145 to 1 because hg returns status 1 when nothing is found.
17146 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17148 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17150 * textmodes/fill.el: Convert to utf-8 encoding.
17151 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17154 * add-log.el (change-log-fill-forward-paragraph): New function.
17155 (change-log-mode): Use it so fill-region DTRT.
17156 Set fill-indent-according-to-mode here rather than in
17157 change-log-fill-paragraph.
17158 (change-log-fill-paragraph): Remove.
17160 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17162 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17163 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17165 2009-09-22 Glenn Morris <rgm@gnu.org>
17167 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17168 the scroll-bar scroll the calendar window rather than the buffer.
17170 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17171 commands that move point (as opposed to scrolling).
17173 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17175 * emacs-lisp/elint.el (elint): New custom group.
17176 (elint-log-buffer): Make it a defcustom.
17177 (elint-scan-preloaded, elint-ignored-warnings)
17178 (elint-directory-skip-re): New options.
17179 (elint-builtin-variables): Doc fix.
17180 (elint-preloaded-env): New variable.
17181 (elint-unknown-builtin-args): Add an entry for encode-time.
17182 (elint-extra-errors): Make it a variable rather than a constant.
17183 (elint-preloaded-skip-re): New constant.
17184 (elint-directory): Skip files matching elint-directory-skip-re.
17185 (elint-features): New variable, local to linted buffers.
17186 (elint-update-env): Initialize elint-features. Possibly add
17187 elint-preloaded-env to the buffer's environment.
17188 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17190 (elint-init-form): New function, extracted from elint-init-env.
17191 Make non-list forms a warning rather than an error.
17192 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17193 easy-menu-define, put that adds an error-condition, and provide.
17194 When requiring cl, also require cl-macs. Really require cl, to handle
17195 some cl macros. Store required libraries in the list elint-features,
17196 so as not to re-load them. Treat cc-require like require.
17197 (elint-init-env): Call elint-init-form to do the work.
17198 Handle eval-and-compile and such like.
17199 (elint-add-required-env): Do not clear messages.
17200 (elint-special-forms): Add handlers for function, defalias, if, when,
17202 (elint-form): Add optional argument to ignore elint-special-forms,
17203 useful to prevent recursive calls from handlers. Doc fix.
17204 Respect elint-ignored-warnings.
17205 (elint-form): Respect elint-ignored-warnings.
17206 (elint-bound-variable, elint-bound-function): New variables.
17207 (elint-unbound-variable): Respect elint-bound-variable.
17208 (elint-get-args): Respect elint-bound-function.
17209 (elint-check-cond-form): Add some simple handling for (f)boundp and
17211 (elint-check-defalias-form): New handler.
17212 (elint-check-let-form): Make an empty let a warning rather than an
17214 (elint-check-setq-form): Make an empty setq a warning rather than an
17215 error. Respect elint-ignored-warnings.
17216 (elint-check-defvar-form): Accept null doc-strings.
17217 (elint-check-conditional-form): New handler. Does some simple-minded
17218 checking of featurep and (f)boundp tests.
17219 (elint-put-function-args): New function.
17220 (elint-initialize): Use elint-scan-doc-file rather than
17221 elint-find-builtin-variables. Use elint-put-function-args.
17222 Possibly scan preloaded-file-list.
17223 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17224 extend to handle functions as well.
17226 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17228 * linum.el (linum-delete-overlays, linum-update-window):
17229 Do not modify the right margin. (Bug#3971)
17231 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17233 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17234 Use nxml-mode instead of xml-mode.
17236 2009-09-21 Kevin Ryde <user42@zip.com.au>
17238 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17240 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17242 * net/dig.el (dig-mode): Use define-derived-mode.
17244 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17246 * vc-dispatcher.el (vc-do-command): Return the process object in
17247 the asynchronous case. Use when instead of if. Do not run
17248 vc-exec-after to display a message if not enabled. (Bug#4463)
17250 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17251 properties to the stash strings.
17252 (vc-git-stash-list): Return a list of strings.
17253 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17254 (vc-git-stash-show-at-point): New functions.
17255 (vc-git-stash-map): New keymap.
17257 * register.el (ctl-x-r-map): Define the keys here instead of
17260 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17262 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17263 list, to workaround performance problem (bug#4485).
17265 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17267 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17269 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17271 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17272 Document that this option is not recommended to use.
17274 2009-09-19 Glenn Morris <rgm@gnu.org>
17276 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17279 * calc/calc-alg.el (var):
17280 * calc/calcalg2.el (var): Define for compiler.
17282 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17284 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17285 Doc fix (Bug#3932).
17287 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17289 * time-stamp.el (time-stamp-month-dd-yyyy)
17290 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17291 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17292 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17293 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17294 Remove functions that have been obsolete since 1995 (Bug#4436).
17296 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17297 indent buffer only if called interactively (Bug#4452).
17299 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17300 Eli Zaretskii <eliz@gnu.org>
17302 This fixes bug#4197 (merged to bug#865, though not identical).
17303 * server.el (server-auth-dir): Add docstring note about FAT32.
17304 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17305 but warn against using them.
17307 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17309 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17310 older GDB where there is no has_more field.
17312 2009-09-19 Glenn Morris <rgm@gnu.org>
17314 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17316 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17318 * files.el (auto-mode-alist): Change default for XML files to nXML
17321 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17323 * server.el (server-ensure-safe-dir): Pass 'integer
17324 to `file-attributes', as suggested.
17326 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17329 (dired-query): Use read-key.
17331 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17333 * cus-start.el (ns-use-qd-smoothing): Remove.
17335 2009-09-18 Glenn Morris <rgm@gnu.org>
17337 * allout.el (top-level): Remove unnecessary progn.
17339 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17341 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17342 definition of abbrev table.
17344 * speedbar.el (speedbar-track-mouse):
17345 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17346 * net/eudc.el (eudc-expand-inline):
17347 * net/newst-backend.el (newsticker--cache-read-feed):
17348 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17349 condition-case handlers.
17351 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17353 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17354 (gdb-var-list): Add an element for has_more field.
17355 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17356 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17357 (gdb-var-update-handler-1): Parse output of dynamic variable
17358 objects (STL containers).
17359 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17360 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17362 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17364 (gud-speedbar-buttons): Make node expandable if expression "has more"
17367 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17369 * startup.el (emacs-quick-startup): Remove variable and all uses.
17370 (command-line): Set `inhibit-x-resources' instead.
17371 (command-line-1): Use `inhibit-x-resources' instead.
17373 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17375 * subr.el: Fix last change to avoid using the `unless' macro,
17376 which breaks bootstrapping.
17378 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17380 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17381 extended definitions, in case we reload subr.el after having
17383 (eval-next-after-load): Mark as obsolete.
17385 2009-09-17 Juri Linkov <juri@jurta.org>
17387 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17388 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17389 (menu-bar-showhide-menu, menu-bar-tools-menu)
17390 (menu-bar-describe-menu, menu-bar-help-menu)
17391 (minibuffer-local-completion-map, minibuffer-local-map):
17394 2009-09-17 Glenn Morris <rgm@gnu.org>
17396 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17397 arguments, whether or not it has a handler.
17399 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17401 * simple.el (hard-newline): Give it a doc-string.
17403 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17404 (lisp-mode-syntax-table): Give them doc-strings.
17406 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17408 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17409 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17410 (menu-bar-options-menu, menu-bar-showhide-menu)
17411 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17412 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17413 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17414 (menu-bar-options-menu, menu-bar-tools-menu)
17415 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17416 (menu-bar-help-menu):
17417 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17420 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17421 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17422 calls for the menu names and :help.
17424 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17426 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17427 to :minor-mode-function (bug#4455).
17429 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17431 * startup.el (command-line): Initialize the window-system after
17432 processing the command-line.
17434 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17435 page-delimiter matches the empty string.
17437 2009-09-16 Glenn Morris <rgm@gnu.org>
17439 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17440 byte-compile-not-obsolete-var. It's a list now.
17441 (byte-compile-not-obsolete-funcs): New variable.
17442 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17443 byte-compile-not-obsolete-funcs.
17444 (byte-compile-variable-ref, byte-compile-defvar): Update for
17445 byte-compile-not-obsolete-vars name-change and list nature.
17446 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17447 and variables behind (f)boundp tests.
17448 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17450 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17452 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17454 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17456 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17457 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17460 2009-09-15 Stephen Eglen <stephen@gnu.org>
17462 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17463 the virtual-buffers, use the name of the buffer specified by
17464 find-file-noselect, as the match may be a symlink. (This was a
17465 problem if the target and the symlink had different names.)
17467 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17469 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17471 * desktop.el (desktop-path): Check user-emacs-directory.
17473 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17475 * loadup.el: Use after-load-functions to GC after loading each file.
17476 Remove the explicit GC calls that used to be sprinkled around.
17478 * subr.el (after-load-functions): New hook.
17479 (do-after-load-evaluation): Run it. Use string-match-p to detect
17480 `obsolete' packages, rather than painfully extracting the relevant
17483 2009-09-15 Glenn Morris <rgm@gnu.org>
17485 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17486 free variable `doc'.
17488 * dired.el (dired-mode-map): Add menu entry for async shell command.
17490 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17491 variables, also consider the .elc files, since the .el files are
17492 normally gzipped (subsequent code locates the .el.gz from the .elc).
17494 * calc/calc-prog.el (arglist): Define for compiler.
17496 * calendar/diary-lib.el (diary-display-function): Change the default to
17498 (body): Define for compiler.
17500 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17501 (byte-compile-file-form, byte-compile-lambda)
17502 (byte-compile-top-level-body, byte-compile-form)
17503 (byte-compile-variable-ref, byte-compile-setq)
17504 (byte-compile-setq-default, byte-compile-body)
17505 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17506 (batch-byte-compile): Give some more local variables with common names
17507 a "bytecomp-" prefix to avoid masking warnings about free variables.
17509 * startup.el (command-line-1): Give local variables with common names a
17510 distinguishing prefix, so as not to hide free variable warnings during
17513 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17514 clever and add a suffix to make a unique name, just let the user decide
17515 whether or not to overwrite it. If the input is a directory, write the
17516 default filename to that directory. (Bug#4388)
17517 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17518 is a filename-as-a-directory.
17520 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17522 * textmodes/page.el (what-page): Don't move to beginning of line.
17523 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17525 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17527 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17529 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17531 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17532 * help.el (help-for-help-internal): Add purecopy calls for text.
17534 * vc.el (top): print-log method now takes an optional SHORTLOG
17535 argument. Add a new method: root.
17536 (vc-root-diff, vc-print-root-log): New functions.
17537 (vc-log-short-style): New variable.
17538 (vc-print-log-internal): Add support for showing short logs.
17540 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17541 vc-print-root-log and vc-print-root-diff.
17543 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17544 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17545 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17548 * vc-cvs.el (vc-cvs-print-log):
17549 * vc-mtn.el (vc-mtn-print-log):
17550 * vc-rcs.el (vc-rcs-print-log):
17551 * vc-sccs.el (vc-sccs-print-log):
17552 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17553 that is ignored for now.
17555 * vc-mtn.el (vc-mtn-annotate-command):
17556 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17558 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17560 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17561 to function-key-map, and give them ascii-character property.
17562 * term/x-win.el (x-alternatives-map):
17563 * term/ns-win.el (ns-alternatives-map):
17564 * term/internal.el (msdos-key-remapping-map):
17565 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17567 2009-09-14 Glenn Morris <rgm@gnu.org>
17569 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17570 temp-buffers (2009-09-12).
17572 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17574 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17575 the new read-key function.
17577 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17579 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17580 is defined (Bug#4405).
17582 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17584 * recentf.el (recentf-cleanup): Use a hash table to find
17585 duplicates (Bug#4407).
17587 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17589 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17590 kp-0 to ascii equivalents (Bug#4325).
17592 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17594 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17596 * eshell/em-hist.el:
17597 * eshell/em-dirs.el (eshell-complete-user-reference):
17598 Declare pcomplete functions and variables to avoid compiler warnings.
17600 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17602 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17603 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17604 * eshell/em-alias.el (eshell-aliases-file):
17605 * eshell/em-hist.el (eshell-history-file-name):
17606 Use expand-file-name instead of concat to make file names (Bug#4308).
17608 2009-09-13 Glenn Morris <rgm@gnu.org>
17610 * ediff-merg.el (ediff-do-merge):
17611 * filesets.el (filesets-run-cmd):
17612 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17613 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17614 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17615 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17616 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17617 Replace empty `let's with `progn'.
17619 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17621 * mail/sendmail.el (send-mail-function):
17622 * tooltip.el (tooltip-mode):
17623 * simple.el (transient-mark-mode):
17624 * rfn-eshadow.el (file-name-shadow-mode):
17625 * frame.el (blink-cursor-mode):
17626 * font-core.el (global-font-lock-mode):
17627 * files.el (temporary-file-directory)
17628 (small-temporary-file-directory, auto-save-file-name-transforms):
17629 * epa-hook.el (auto-encryption-mode):
17630 * composite.el (global-auto-composition-mode):
17631 Use custom-initialize-delay.
17632 * startup.el (command-line): Don't explicitly call
17633 custom-reevaluate-setting for all the above vars.
17634 * custom.el (custom-initialize-safe-set)
17635 (custom-initialize-safe-default): Delete.
17637 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17639 * term/x-win.el (x-initialize-window-system):
17640 * term/w32-win.el (w32-initialize-window-system):
17641 * term/ns-win.el (ns-initialize-window-system): Don't call
17642 mouse-wheel-mode since it's enabled globally by default already.
17644 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17645 actually define the variable, but only silences the byte-compiler.
17646 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17647 before looking it up.
17648 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17651 2009-09-12 Glenn Morris <rgm@gnu.org>
17653 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17655 (elint-add-required-env): Don't beep on error.
17656 (elint-forms): In case of error, return ENV unchanged.
17657 (elint-init-env): Skip non-list forms.
17658 (elint-log): Handle unknown file positions.
17660 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17662 * epg.el (epg-make-context): Add autoload cookie.
17663 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17664 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17665 (epg-verify-string, epg-start-sign, epg-sign-file)
17666 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17667 (epg-encrypt-string, epg-start-export-keys)
17668 (epg-export-keys-to-file, epg-export-keys-to-string)
17669 (epg-start-import-keys, epg-import-keys-from-file)
17670 (epg-import-keys-from-string, epg-start-receive-keys)
17671 (epg-receive-keys, epg-import-keys-from-server)
17672 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17673 (epg-sign-keys, epg-start-generate-key)
17674 (epg-generate-key-from-file, epg-generate-key-from-string):
17675 Remove autoload cookie.
17677 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17679 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17680 reevaluation of trash-directory.
17682 * mwheel.el: Fix last change.
17683 (mouse-wheel-mode): New defvar.
17684 (mouse-wheel-mode): Remove autoload cookie.
17686 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17688 * mwheel.el (mwheel-installed-bindings): New var.
17689 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17690 the bindings we set last time. Use custom-initialize-delay.
17691 * loadup.el: Load mwheel after term/*-win.el.
17692 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17693 and mouse-wheel-up-event now that their first evaluation is done
17694 sufficiently late to be correct.
17696 * startup.el (tutorial-directory): Make it a defcustom.
17697 Use custom-initialize-delay rather than eval-at-startup to set it.
17698 * image.el (image-load-path): Make it a defcustom.
17699 Use custom-initialize-delay rather than eval-at-startup to set it.
17700 * subr.el (eval-at-startup): Remove.
17701 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17703 * subr.el (do-after-load-evaluation): Warn the user after loading an
17706 2009-09-12 Glenn Morris <rgm@gnu.org>
17708 * proced.el (proced-mark-alt): Remove alias.
17709 (proced-mode-map): Remove proced-mark-alt.
17711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17712 Elint file and directory. Remove initialization entry.
17714 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17716 (elint-current-buffer): Set mode-line-process.
17717 (elint-init-env): Handle define-derived-mode.
17718 Fix declare-function with unspecified arglist. Guard against odd
17719 defalias statements (eg iso-insert's 8859-1-map).
17720 (elint-add-required-env): Use a temp buffer.
17721 (elint-form): Just print the function/macro name, not the whole form.
17722 Return env unchanged if we fail to parse a macro.
17723 (elint-forms): Guard against parse errors.
17724 (elint-output): New function, to handle batch mode.
17725 (elint-log-message): Add optional argument. Use elint-output.
17726 (elint-set-mode-line): New function.
17728 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17730 * emacs-lisp/elp.el (elp-not-profilable): Add more
17731 functions (Bug#4233).
17733 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17735 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17736 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17738 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17740 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17741 (gdb-var-list-children): Use json parsing.
17743 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17745 * progmodes/js.el (js--proper-indentation): Handle the case where
17746 char-before is null. Reported by Deniz Dogan.
17748 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17750 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17752 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17754 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17755 (epg-digest-algorithm-alist): Add SHA224.
17756 (epg-context-set-passphrase-callback)
17757 (epg-context-set-progress-callback): Add description about
17760 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17762 * custom.el (custom-delayed-init-variables): New var.
17763 (custom-initialize-delay): New function.
17764 * startup.el (command-line): "Re"evaluate all vars in
17765 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17766 explicitly any more.
17767 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17768 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17770 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17772 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17774 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17775 (gdb-var-update-handler): Use json parsing.
17777 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17779 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17780 decode annotated text, regardless of language environment. (Bug#2741)
17782 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17784 * Makefile.in (autoloads): Make rmail.el writable as well.
17786 2009-09-11 Glenn Morris <rgm@gnu.org>
17788 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17790 * dired.el: Regenerate with extracted autoloads.
17791 * Makefile.in (autoloads): Make dired.el writable.
17793 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17794 * ibuffer.el: Regenerate with extracted autoloads.
17795 * Makefile.in (autoloads): Make ibuffer.el writable.
17797 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17798 * version.el (emacs-copyright, emacs-major-version)
17799 (emacs-minor-version): Reformat doc-strings for make-docfile.
17801 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17802 functions and variables, since they must be stuff specific to some other
17804 (apropos-print): Make mouse-click message less specific about button.
17806 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17807 that records where a macro was defined.
17808 * help-fns.el (describe-function-1): Mention if a function has a
17810 * help-mode.el (help-function-cmacro): New button.
17812 * locate.el (top-level): Always require dired.
17813 (locate-mode-map): Initialize inside the defvar.
17815 * net/ange-ftp.el (dired-compress-file): Declare.
17816 (ange-ftp-dired-compress-file): Add doc string.
17818 * term/ns-win.el (x-display-name, x-setup-function-keys):
17819 Unify doc-strings with X versions.
17821 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17823 * emulation/crisp.el (crisp-mode-map): Move initialization
17825 (crisp-mode): Use define-minor-mode.
17827 * progmodes/xscheme.el (xscheme-evaluation-commands):
17828 Put a :advertised-binding property rather than using
17829 advertised-xscheme-send-previous-expression.
17830 (advertised-xscheme-send-previous-expression): Declare obsolete.
17831 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17833 (crisp-mode): Add corresponding bindings to
17834 undo's :advertised-binding instead.
17835 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17836 than using dired-advertised-find-file.
17837 (dired-advertised-find-file):
17838 * simple.el (advertised-undo):
17839 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17840 (widget-keymap): Put a :advertised-binding property rather
17841 than using advertised-widget-backward.
17842 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17843 than using advertised-undo.
17844 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17846 2009-09-10 Simon South <ssouth@slowcomputing.org>
17848 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17849 Mark mode is enabled and region is active; otherwise indent or
17850 insert TAB as usual.
17851 (delphi-mode): Update description of TAB-key binding.
17853 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17855 * subr.el (define-key-rebound-commands): Mark obsolete.
17856 * startup.el (precompute-menubar-bindings): Remove.
17857 (normal-top-level): Remove obsolete code that tried to precompute
17859 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17860 define-key-rebound-commands and precompute-menubar-bindings.
17862 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17864 * net/imap.el (imap-interactive-login): Better messages.
17865 (imap-open): Fix bug with renamed buffer on reconnect.
17866 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17867 for easier debugging and cleaner code. On successful (guessed based on
17868 server capabilities) secondary authentication, set imap-state
17870 (imap-last-authenticator): Define imap-last-authenticator as a variable
17873 2009-09-10 Glenn Morris <rgm@gnu.org>
17875 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17877 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17878 (byte-compile-file-form-autoload): Don't warn about unknown functions
17879 where the autoload statement comes after the use.
17880 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17881 that any handlers inside the body (eg require) are in turn respected.
17883 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17886 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17887 and syntax and abbrev tables basic docs, if they don't have any.
17889 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17891 * international/mule-cmds.el (top-level): Require cl when compiling.
17892 (view-hello-file): Use default-value rather than
17893 default-enable-multibyte-characters.
17895 * progmodes/fortran.el: Move all safe and risky properties into the
17898 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17899 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17900 * mail/undigest.el:
17901 Put autoloads in rmail.el rather than loaddefs.el.
17902 * mail/rmail.el: Regenerate with extracted autoloads.
17904 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17905 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17907 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17909 Reported in thread for Bug#4375.
17910 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17911 "-data-evaluate-expression" instead of print.
17912 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17913 (gdb-tooltip-print): Parse output from above MI command.
17914 (gdb): Revert 2009-08-11 change. User should detach inferior
17917 Remove the word "separate" from IO functions as inferior
17918 output is now never displayed in the GUD buffer.
17920 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17922 * startup.el (command-line-normalize-file-name): On Windows and
17923 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17925 2009-09-10 Juri Linkov <juri@jurta.org>
17927 * isearch.el (isearch-text-char-description): Propertize escape
17928 character sequences with the `escape-glyph' face. (Bug#4344)
17930 * simple.el (shell-command): Set asynchronous process filter to
17931 `comint-output-filter'. (Bug#4343)
17933 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17934 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17935 the list. Move "asm" to the bottom.
17936 (grep-find-ignored-directories): Add `choice' with nil value
17937 to empty the list easily.
17938 (grep-find-ignored-files): New option.
17939 (grep-files-history): Set to nil by default instead of '("ch" "el").
17940 (grep-compute-defaults): Add "<X>" to `grep-template'.
17941 (grep-read-files): Bind new local variables `default-alias' and
17942 `default-extension'. Use a list of default values for the file prompt.
17943 (lgrep): Add `--exclude=' command line options composed from
17944 `grep-find-ignored-files'.
17945 (rgrep): Add `-name' command line options composed from
17946 `grep-find-ignored-files'. (Bug#4301)
17948 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17950 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17953 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17955 * calendar/time-date.el (autoload):
17956 Expand define-obsolete-function-alias into defalias and make-obsolete
17957 for old Emacsen that Gnus supports.
17958 (with-no-warnings): Define it for old Emacsen.
17959 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17961 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17962 float-time is available; suppress compile warning for time-to-seconds.
17964 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17966 * net/imap.el (imap-message-map): Docstring fix.
17968 2009-09-09 Glenn Morris <rgm@gnu.org>
17970 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17971 line numbers too. (Bug#4374)
17973 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17975 * smerge-mode.el (smerge-remove-props, smerge-refine):
17976 Use with-silent-modifications (bug#4342).
17978 * subr.el (with-silent-modifications): New macro.
17980 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17982 * files.el (top-level): Require `cl' when compiling.
17984 2009-09-07 Glenn Morris <rgm@gnu.org>
17986 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17988 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17989 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17991 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17993 * vc-git.el (vc-git-annotate-command): Use separator to parse
17994 arguments correctly.
17996 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17998 * proced.el (proced-mode): Doc fix.
18000 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18002 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18004 (tramp-do-file-attributes-with-ls): Check for file existence at
18006 (tramp-do-file-attributes-with-stat): Likewise.
18007 (tramp-convert-file-attributes): Return nil when attr is nil.
18009 2009-09-05 Glenn Morris <rgm@gnu.org>
18011 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18012 properties to this button.
18013 (diary-fancy-display): Don't extend the button to the final newline.
18014 (diary-fancy-display-mode): Continue to define "q" as a local key.
18016 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18019 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18021 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18022 (byte-compile-dest-file-function): New option.
18023 (byte-compile-dest-file): Doc fix.
18024 Obey byte-compile-dest-file-function.
18025 (byte-compile-cl-file-p): New function.
18026 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18027 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18028 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18029 than for file being previously loaded.
18030 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18031 (byte-compile-file-form-require): Handle the case where requiring a file
18032 indirectly causes CL to be loaded.
18034 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18036 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18037 before killing the old buffer, since by the time `kill-buffer' is
18038 run so many buffer variables have been set to nil that it may not
18039 behave as expected. (Bug#4061)
18041 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18043 * files.el (find-alternate-file): If the old buffer is modified
18044 and visiting a file, behave similarly to `kill-buffer' when
18045 killing it, thus reverting to the pre-1.878 behavior; see
18046 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18047 for discussion. Also, consult `buffer-file-name' as a variable
18048 not as a function, for consistency with the rest of the code.
18050 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18052 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18053 also when adding a new directory.
18055 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18058 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18060 * files.el (locate-file-completion-table): Make it provide boundary
18061 information, so partial-completion works better.
18063 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18065 * mail/footnote.el (Footnote-text-under-cursor):
18066 Check footnote-text-marker-alist before using it (bug#4324).
18068 2009-09-04 Glenn Morris <rgm@gnu.org>
18070 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18071 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18072 * play/solitaire.el, play/tetris.el:
18073 Remove leading * from defcustom and defface docs.
18075 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18077 (diary-fancy-overriding-map): New variable.
18078 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18081 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18084 2009-09-03 Glenn Morris <rgm@gnu.org>
18086 * arc-mode.el (archive-mode):
18087 * dos-fns.el (set-default-process-coding-system):
18088 * man.el (Man-getpage-in-background):
18089 * menu-bar.el (menu-bar-describe-menu):
18090 * server.el (server-process-filter):
18091 * startup.el (command-line):
18092 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18093 * w32-fns.el (set-default-process-coding-system):
18094 * x-dnd.el (x-dnd-handle-file-name):
18095 * international/mule-cmds.el (mule-menu-keymap)
18096 (set-default-coding-systems, language-info-alist, set-language-info)
18097 (set-language-environment, standard-display-european-internal)
18098 (set-locale-environment):
18099 * international/mule-diag.el (mule-diag):
18100 * mail/emacsbug.el (report-emacs-bug):
18101 * mail/rmail.el (rmail-mode):
18102 * mail/sendmail.el (mail-setup):
18103 Use default-value rather than default-enable-multibyte-characters.
18105 * progmodes/f90.el: Move all safe properties into the defcustoms.
18106 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18108 * calendar/appt.el (appt-check):
18109 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18110 (diary-check-diary-file, diary-list-entries)
18111 (diary-include-other-diary-files, diary-simple-display)
18112 (diary-fancy-display, diary-print-entries)
18113 (diary-mark-included-diary-files, diary-make-entry):
18114 Don't call substitute-in-file-name on diary-file.
18116 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18117 Stefan Monnier <monnier@iro.umontreal.ca>
18119 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18120 (footnote-mode-map): Move initialization into the declaration.
18121 (footnote-minor-mode-map): Define it rather than changing global-map.
18122 (footnote-mode): Use define-minor-mode.
18124 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18126 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18127 (tramp-do-file-attributes-with-perl)
18128 (tramp-do-file-attributes-with-stat): Rename from
18129 `tramp-handle-file-attributes-with-*'.
18130 (tramp-handle-file-attributes): Use them.
18131 (tramp-do-directory-files-and-attributes-with-perl)
18132 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18133 `tramp-handle-directory-files-and-attributes-with-*'.
18134 (tramp-handle-directory-files-and-attributes): Use them.
18135 (tramp-method-out-of-band-p): Additional parameter SIZE.
18136 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18137 (tramp-handle-write-region): Use it.
18138 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18139 (tramp-handle-vc-registered): Check, whether the first run did
18140 return files to be tested.
18141 (tramp-advice-make-auto-save-file-name): Do not call directly
18142 `tramp-handle-make-auto-save-file-name', because this would bypass
18143 the locking mechanism.
18145 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18146 (file-remote-p, process-file, start-file-process, set-file-times)
18147 (tramp-compat-file-attributes): Compatibility functions shall not
18148 call directly `tramp-handle-*', because this would bypass the
18150 (tramp-compat-number-sequence): New defun.
18152 2009-09-02 Glenn Morris <rgm@gnu.org>
18154 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18155 alias for float-time.
18156 (time-to-number-of-days): In Emacs, use float-time.
18157 * net/newst-backend.el (time-add): Suppress warnings from compat
18159 * time.el (emacs-uptime, emacs-init-time):
18160 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18161 Use float-time rather than time-to-seconds.
18163 * minibuffer.el (completion-initials-expand): Fix typo.
18165 * faces.el (modeline, modeline-inactive, modeline-highlight)
18166 (modeline-buffer-id):
18167 * info.el (info-menu-5): Mark these face aliases as obsolete.
18169 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18171 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18173 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18174 no "--thread" option.
18175 (gdb-stopped): Don't print "Switched to thread" message when it is
18178 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * minibuffer.el (completion-try-completion)
18181 (completion-all-completions): Remove ill-defined (and
18182 mistakenly installed and luckily never used nor documented)
18183 `completion-styles' property.
18184 (completion-initials-expand, completion-initials-all-completions)
18185 (completion-initials-try-completion): New functions.
18186 (completion-styles-alist): Add doc to each entry.
18187 Add new `initials' entry.
18189 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18191 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18192 MI command -var-evaluate-expression.
18193 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18194 and tweak for case of string child.
18195 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18197 2009-09-01 Glenn Morris <rgm@gnu.org>
18199 * add-log.el (change-log-date-face, change-log-name-face)
18200 (change-log-email-face, change-log-file-face, change-log-list-face)
18201 (change-log-conditionals-face, change-log-function-face)
18202 (change-log-acknowledgement-face):
18203 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18204 (custom-modified-face, custom-set-face, custom-changed-face)
18205 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18206 (custom-documentation-face, custom-state-face, custom-comment-face)
18207 (custom-comment-tag-face, custom-variable-tag-face)
18208 (custom-variable-button-face, custom-face-tag-face)
18209 (custom-group-tag-face-1, custom-group-tag-face):
18210 * diff-mode.el (diff-header-face, diff-file-header-face)
18211 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18212 (diff-added-face, diff-changed-face, diff-function-face)
18213 (diff-context-face, diff-nonexistent-face):
18214 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18215 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18216 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18217 (Info-title-4-face):
18218 * isearch.el (isearch-lazy-highlight-face):
18219 * log-view.el (log-view-file-face, log-view-message-face):
18220 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18221 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18222 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18224 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18225 (smerge-base-face, smerge-markers-face):
18226 * wid-edit.el (widget-documentation-face, widget-button-face)
18227 (widget-field-face, widget-single-line-field-face)
18228 (widget-inactive-face, widget-button-pressed-face):
18229 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18230 (woman-addition-face):
18231 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18232 (eshell-ls-executable-face, eshell-ls-readonly-face)
18233 (eshell-ls-unreadable-face, eshell-ls-special-face)
18234 (eshell-ls-missing-face, eshell-ls-archive-face)
18235 (eshell-ls-backup-face, eshell-ls-product-face)
18236 (eshell-ls-clutter-face):
18237 * eshell/em-prompt.el (eshell-prompt-face):
18238 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18239 * obsolete/old-whitespace.el (whitespace-highlight-face):
18240 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18241 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18242 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18243 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18244 (antlr-font-lock-literal-face):
18245 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18246 (ebrowse-root-class-face, ebrowse-file-name-face)
18247 (ebrowse-default-face, ebrowse-member-attribute-face)
18248 (ebrowse-member-class-face, ebrowse-progress-face):
18249 * progmodes/make-mode.el (makefile-space-face):
18250 * progmodes/sh-script.el (sh-heredoc-face):
18251 * textmodes/flyspell.el (flyspell-incorrect-face)
18252 (flyspell-duplicate-face):
18253 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18254 * textmodes/texinfo.el (texinfo-heading-face):
18255 Mark face aliases with "-face" suffix as obsolete.
18257 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18260 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18261 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18262 easy-menu-define wants to modify these.
18264 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18266 * net/browse-url.el (browse-url-file-url):
18267 * term/internal.el (dos-codepage-setup):
18268 Use default-value rather than default-enable-multibyte-characters.
18270 * progmodes/etags.el (etags-goto-tag-location):
18271 * progmodes/flymake.el (flymake-highlight-line)
18272 (flymake-goto-file-and-line, flymake-goto-line):
18273 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18274 (gdb-goto-breakpoint):
18275 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18276 * progmodes/python.el (python-find-function)
18277 (python-pdbtrack-track-stack-file):
18278 * progmodes/verilog-mode.el (verilog-surelint-off):
18279 * term/ns-win.el (ns-open-file-select-line):
18280 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18281 Use forward-line rather than goto-line.
18283 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18284 * textmodes/reftex-index.el (reftex-display-index):
18285 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18286 * textmodes/reftex-toc.el (reftex-toc):
18287 Remove unnecessary bindings of default-major-mode (all are followed by
18288 major-mode check and possible mode switch).
18290 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18292 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18293 Handle watchpoints (bug#4282).
18294 (def-gdb-thread-buffer-command): Enable thread to be selected by
18295 clicking without selecting threads buffer first.
18296 (gdb-current-context-command): Use selected frame so that "up",
18297 "down" etc work in the GUD buffer.
18298 (gdb-update): Find selected frame before rendering stack buffer.
18299 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18301 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18303 * progmodes/sym-comp.el (displayed-completions): Remove.
18304 (symbol-complete): Use minibuffer-complete.
18306 2009-08-31 Glenn Morris <rgm@gnu.org>
18308 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18310 * apropos.el (apropos-symbols-internal):
18311 Handle (obsolete) face aliases.
18313 * faces.el (describe-face): Adjust the output format to be more like
18314 describe-variable, and to mention (obsolete) face aliases.
18315 Adjust the whitespace so that help-setup-xref works.
18317 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18318 * calendar/diary-lib.el (diary-button-face):
18319 Mark these face aliases as obsolete.
18321 * calendar/calendar.el (calendar-today): Doc fix.
18323 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18325 * progmodes/gdb-mi.el (gdb-control-all-threads)
18326 (gdb-control-current-thread): Force tool bar update.
18327 (gdb-non-stop-handler): New function.
18328 (gdb-init-1): Use it to test if non-stop mode is supported.
18329 Remove unused gdbmi buffer type.
18331 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18333 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18334 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18336 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18338 * comint.el (comint-exec-1): Check command is non-null first.
18339 Part of gdb-mi.el change (2009-08-28).
18341 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18343 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18345 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18347 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18348 instead of `dolist' to avoid a recursive require when bootstrapping.
18350 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18352 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18354 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18356 * net/imap.el (imap-send-command): Simplify.
18357 (imap-wait-for-tag): point-max -> buffer-size.
18359 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18361 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18362 with constant argument.
18364 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18366 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18368 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18369 Change default, since most of our files don't have a history.
18370 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18376 * calc/calc.el: Improve commenting convention.
18377 (calc-digit-map, toplevel): Simplify.
18379 * comint.el (comint-insert-input): Be careful to only set point if we
18380 don't delegate to some other command.
18382 * proced.el (proced-signal-list): Make it an alist.
18383 (proced-grammar-alist): Capitalize names.
18384 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18385 Disable undo manually and make it read-only.
18386 Use completion-annotate-function.
18388 * minibuffer.el (minibuffer-message): If the current buffer is not
18389 a minibuffer, insert the message in the echo area rather than at the
18391 (completion-annotate-function): New variable.
18392 (minibuffer-completion-help): Use it.
18393 (completion--embedded-envvar-table): Environment vars are
18394 always case-sensitive.
18396 2009-08-30 Glenn Morris <rgm@gnu.org>
18398 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18399 from fortran-current-defun.
18400 (fortran-beginning-of-subprogram): Be more precise about finding the
18401 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18402 (fortran-end-of-subprogram): Simplify.
18403 (fortran-current-defun): Use fortran-start-prog-re.
18405 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18407 * subr.el (do-after-load-evaluation): Simplify.
18409 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18411 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18413 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18414 (vc-rcs-print-log): Use it.
18416 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18418 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18420 * paths.el (abbrev-file-name): Move to abbrev.el.
18421 * abbrev.el (abbrev-file-name): Move from paths.el.
18422 Obey user-emacs-directory.
18423 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18424 user-emacs-directory.
18425 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18426 abbrev-file-name and calc-settings-file any more.
18427 * startup.el (command-line): Recompute abbrev-file-name and
18428 abbreviated-home-dir.
18429 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18430 of the special code for when C-h bindings haven't been changed.
18431 (display-startup-echo-area-message): Use with-current-buffer.
18432 (command-line-1): Use a list of strings, rather than a list of lists
18433 of strings for longopts.
18435 * files.el (get-free-disk-space): Use / for default-directory.
18437 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18438 Use with-current-buffer.
18440 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18441 Recognize immutable variables like most-positive-fixnum.
18442 (byte-compile-setq-default): Check and warn if trying to assign
18443 to an immutable variable, or a non-variable.
18445 * progmodes/cc-vars.el (c-comment-continuation-stars):
18446 * progmodes/cc-engine.el (c-looking-at-bos):
18447 * progmodes/cc-cmds.el (c-toggle-auto-state)
18448 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18449 (c-comment-line-break-function): Add version of obsolescence.
18451 2009-08-28 Juri Linkov <juri@jurta.org>
18453 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18454 associated with `archive-mode'.
18456 * image.el (image-type-header-regexps): Use only JPEG magic number
18457 to determine JPEG images, and don't use `image-jpeg-p' because
18458 Emacs can display non-JFIF non-Exif JPEG images.
18460 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18462 * arc-mode.el (archive-mode):
18463 * emacs-lisp/re-builder.el (re-builder-unload-function):
18464 Protect against the default value of `major-mode' being nil.
18466 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18468 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18469 Fix typos in docstrings.
18471 * progmodes/js.el (js--macro-decl-re): Doc fix.
18472 (js--plain-method-re, js--split-name): Refloc docstring.
18473 (js--class-styles, js--make-merged-item, js--splice-into-items):
18474 Fix typos in docstrings; reflow docstrings.
18475 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18476 (js--variable-decl-matcher, js--inside-pitem-p)
18477 (js--parse-state-at-point, js--get-all-known-symbols)
18478 (js--symbol-history, js-find-symbol, js--js-references)
18479 (js--moz-interactor, js--js-encode-value, js--read-tab):
18480 Fix typos in docstrings.
18482 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18484 * textmodes/reftex.el (reftex-get-file-buffer-force):
18485 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18486 * emulation/viper.el (viper-go-away, viper-set-hooks):
18487 * emacs-lisp/re-builder.el (re-builder-unload-function):
18488 * emacs-lisp/bytecomp.el (byte-compile-file):
18489 * ses.el (ses-unload-function):
18490 * hexl.el (hexl-find-file):
18491 * files.el (normal-mode):
18492 * ehelp.el (with-electric-help):
18493 * autoinsert.el (auto-insert-alist):
18494 * arc-mode.el (archive-mode):
18495 Use (default-value 'major-mode) instead of default-major-mode.
18497 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18498 * international/mule.el (load-with-code-conversion):
18499 * emacs-lisp/debug.el (debug):
18500 * ediff-vers.el (ediff-rcs-get-output-buffer):
18501 * dired.el (dired-internal-noselect): Don't let-bind
18502 default-major-mode around code that doesn't use it.
18503 E.g. buffer creation via get-buffer-create doesn't use it.
18505 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18507 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18508 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18509 when writing the temp file. Otherwise, epa-file gets confused.
18510 (tramp-register-file-name-handlers): Make it a defun. Move also
18511 `epa-file-handler' to the front of `file-name-handler-alist'.
18513 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18515 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18516 start right after a ^M.
18517 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18518 (tramp-completion-file-name-regexp-separate)
18519 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18520 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18521 Don't modify last-coding-system-used by accident.
18522 (tramp-completion-file-name-handler): Apply the checks here,
18523 instead during registration.
18524 (tramp-register-file-name-handlers): Rename from
18525 `tramp-register-file-name-handler'. Register both
18526 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18527 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18529 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18531 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18532 Remove variable ...
18533 (gdb-init-1, gdb-display-separate-io-buffer)
18534 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18536 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18537 (gdb-inferior-filter): Use comint-output-filter to stop
18538 echoing and remove ^M characters.
18540 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18542 * emulation/viper-init.el (viper-restore-cursor-type):
18543 * emulation/cua-base.el (cua--update-indications):
18544 Replace default-cursor-type with (default-value 'cursor-type).
18546 * mail/sendmail.el (mail-recover-1):
18547 * international/mule-diag.el (describe-current-coding-system-briefly)
18548 (describe-current-coding-system):
18549 * international/mule-cmds.el (select-safe-coding-system)
18550 (select-message-coding-system)
18551 (set-language-environment-coding-systems, set-locale-environment):
18552 * hexl.el (hexl-insert-multibyte-char):
18553 * dos-w32.el (find-buffer-file-type-coding-system):
18554 * simple.el (what-cursor-position):
18555 Replace uses of default-buffer-file-coding-system
18556 with (default-value 'buffer-file-coding-system).
18558 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18559 Replace uses of default-cursor-in-non-selected-windows
18560 with (default-value 'cursor-in-non-selected-windows).
18561 Use with-current-buffer.
18563 * mail/feedmail.el: Use CL macros.
18564 (feedmail-run-the-queue, feedmail-send-it-immediately):
18565 * dos-w32.el (find-buffer-file-type): Replace uses of
18566 default-buffer-file-type with (default-value 'buffer-file-type).
18568 2009-08-28 Glenn Morris <rgm@gnu.org>
18570 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18571 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18572 Use default-value of major-mode rather than default-major-mode.
18574 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18576 * Makefile.in (update-elcfiles): Report left over elc files.
18578 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18579 expand-file-name and with-current-buffer.
18580 (mail-get-names, mail-directory): Use with-current-buffer.
18582 * vc.el (vc-read-revision): New function.
18583 (vc-version-diff, vc-merge): Use it.
18585 2009-08-27 Sam Steingold <sds@gnu.org>
18587 * simple.el (kill-do-not-save-duplicates): New user option.
18588 (kill-new): When it is non-nil, and the new string is the same as
18589 the latest kill, set replace to t to avoid duplicates in kill-ring.
18591 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18593 * net/tramp.el (tramp-handle-process-file): Do not flush all
18594 caches when `process-file-side-effects' is set.
18595 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18596 instead of `tramp-find-file-exists-command'.
18597 Unset `process-file-side-effects'.
18599 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18601 * net/tramp.el (tramp-methods): New method "rsyncc".
18602 (top): Add completion function for "rsyncc".
18603 (tramp-message-show-message): New defvar.
18604 (tramp-message, tramp-error): Use it.
18605 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18607 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18608 `tramp-methods' entry `copy-env' of "rsyncc".
18609 (tramp-vc-registered-read-file-names): New defconst.
18610 (tramp-vc-registered-file-names): New defvar.
18611 (tramp-handle-vc-registered): Implement optimization strategy.
18612 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18613 (tramp-vc-file-name-handler): New defun.
18614 (tramp-get-ls-command, tramp-get-test-command)
18615 (tramp-get-file-exists-command, tramp-get-remote-ln)
18616 (tramp-get-remote-perl, tramp-get-remote-stat)
18617 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18619 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18620 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18622 (tramp-get-file-property): Check for timestamps in
18623 `tramp-cache-inhibit-cache'.
18624 (tramp-set-file-property): Write timestamp.
18626 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18628 * language/japan-util.el (japanese-symbol-table): Add entries for
18631 * international/characters.el: Add category `j' to cp932-2-byte.
18633 2009-08-27 Kenichi Handa <handa@m17n.org>
18635 * international/fontset.el (build-default-fontset-data): New macro.
18636 (setup-default-fontset): Use build-default-fontset-data for CJK,
18637 tibetan, ethiopic, and ipa.
18639 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18641 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18642 (enable-multibyte-characters): Not customizable any more.
18644 * subr.el (default-mode-line-format, default-header-line-format)
18645 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18646 (default-direction-reversed, default-truncate-lines)
18647 (default-left-margin, default-tab-width, default-case-fold-search)
18648 (default-left-margin-width, default-right-margin-width)
18649 (default-left-fringe-width, default-right-fringe-width)
18650 (default-fringes-outside-margins, default-scroll-bar-width)
18651 (default-vertical-scroll-bar, default-indicate-empty-lines)
18652 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18653 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18654 (default-scroll-down-aggressively, default-fill-column)
18655 (default-cursor-type, default-buffer-file-type)
18656 (default-cursor-in-non-selected-windows)
18657 (default-buffer-file-coding-system, default-major-mode)
18658 (default-enable-multibyte-characters): Mark as obsolete.
18660 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18662 * vc-dir.el (vc-dir-update): Remove debug helper.
18664 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18666 2009-08-26 Sam Steingold <sds@gnu.org>
18668 * simple.el (save-interprogram-paste-before-kill): New user option.
18669 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18670 save the interprogram-paste into kill-ring before overriding it
18671 with the Emacs kill.
18673 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18675 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18676 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18677 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18678 and move to vc-rcs.el.
18679 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18681 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18682 (vc-rcs-update-changelog): Remove.
18683 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18684 and move to vc-rcs.el.
18686 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18687 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18689 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18690 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18691 vc.el, renamed to be RCS specific.
18693 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18695 (vc-cvs-update-changelog): Move here from vc.el.
18697 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18700 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18702 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18704 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18706 * vc-git.el (vc-git-register): Use "git add" for directories.
18707 (vc-git-stash, vc-git-stash-show): New functions.
18708 (vc-git-extra-menu-map): Bind them.
18710 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18711 directory correctly in case the item is a directory itself.
18713 * vc.el: Document the desired behavior for reverted files in the
18715 (vc-default-prettify-state-info): Remove function, unused.
18717 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18719 2009-08-26 Glenn Morris <rgm@gnu.org>
18721 * bindings.el (standard-mode-line-format): Reposition dashes in
18722 which-func entry. (Bug#4217)
18724 * files.el (enable-local-variables, enable-local-eval)
18725 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18727 (auto-mode-alist, ignored-local-variables)
18728 (save-some-buffers-action-alist): Move risky declarations to the
18730 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18731 (font-lock-defaults, format-alist, imenu--index-alist)
18732 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18733 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18734 (mode-line-modified, mode-line-mule-info, mode-line-position)
18735 (mode-line-process, mode-line-remote, outline-level)
18736 (parse-time-rules, rmail-output-file-alist)
18737 (special-display-buffer-names, vc-mode):
18738 Move risky declarations to the relevant files.
18739 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18740 (mode-line-modified, mode-line-process, mode-line-position)
18741 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18742 * font-core.el (font-lock-defaults):
18743 * format.el (format-alist):
18744 * vc-hooks.el (vc-mode):
18745 * window.el (special-display-buffer-names):
18746 * international/mule-cmds.el (input-method-alist):
18747 Define riskiness here (dumped file) rather than in files.el.
18748 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18749 * imenu.el (imenu-generic-expression, imenu--index-alist):
18750 * outline.el (outline-level):
18751 * time.el (display-time-string):
18752 * calendar/parse-time.el (parse-time-rules):
18753 * mail/rmailout.el (rmail-output-file-alist):
18754 Autoload riskiness here, rather than placing in files.el.
18756 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18758 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18760 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18762 * simple.el (process-file-side-effects): New defvar.
18764 * dired-aux.el (dired-show-file-type):
18765 * vc.el (vc-diff-internal):
18766 * vc-arch.el (vc-arch-diff):
18767 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18768 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18769 * vc-git.el (vc-git-registered, vc-git-working-revision)
18770 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18771 (vc-git--empty-db-p):
18772 * vc-hooks.el (vc-user-login-name):
18773 * vc-svn.el (vc-svn-registered, vc-svn-state)
18774 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18775 * progmodes/grep.el (grep-probe): Let-bind
18776 `process-file-side-effects' with nil.
18778 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18780 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18781 daemon. Replace ping by checking for running service for bluez
18782 and zeroconf. (Bug#4239)
18784 2009-08-25 Kevin Ryde <user42@zip.com.au>
18786 * net/dig.el (dig): Add autoload cookie.
18788 2009-08-25 Glenn Morris <rgm@gnu.org>
18790 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18791 load-history for absolute file-names.
18792 (byte-compile-file-form-require): Warn about use of the cl package.
18794 * format.el (format-alist): Doc fix.
18796 * play/bubbles.el (top-level): Don't require cl at run-time.
18798 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18801 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18803 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18805 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18807 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18809 * calc/calc-alg.el (math-trig-rewrite)
18810 (math-hyperbolic-trig-rewrite): New functions.
18811 (calc-simplify): Simplify trig functions when asked.
18813 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18815 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18817 2009-08-24 Kenichi Handa <handa@m17n.org>
18819 * language/ind-util.el (mapthread): Delete it.
18820 (combinatorial): New function.
18821 (indian--puthash-cv): Use combinatorial instead of mapthread.
18823 2009-08-22 Kevin Ryde <user42@zip.com.au>
18825 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18826 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18827 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18828 Clarify docstring that the value is strings not symbols.
18829 (checkdoc-list-of-strings-p): New function.
18831 2009-08-22 Glenn Morris <rgm@gnu.org>
18833 * files.el (auto-mode-alist):
18834 * hippie-exp.el (he-concat-directory-file-name):
18835 * lpr.el (lpr-windows-system, printer-name):
18836 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18837 * ps-print.el (ps-windows-system):
18838 * startup.el (command-line):
18839 * emulation/viper-ex.el (viper-glob-function):
18840 * international/mule-cmds.el (set-language-environment-coding-systems):
18841 * net/ange-ftp.el (ange-ftp-write-region):
18842 * obsolete/fast-lock.el (fast-lock-cache-name):
18843 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18844 unisoft-unix, vax-vms, win32, w32.
18846 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18847 given name if the pattern is not more specific.
18849 * calendar/lunar.el (lunar-phase-names): New option.
18850 (lunar-phase): Doc fix.
18851 (lunar-cycles-per-year): New constant.
18852 (lunar-index): New function.
18853 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18854 (lunar-phase-name): Use lunar-phase-names.
18855 (calendar-lunar-phases): Use format.
18856 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18858 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18859 Copy imenu-example--name-and-position function here for own use.
18860 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18862 * bs.el (bs--redisplay):
18863 * cus-edit.el (custom-redraw):
18864 * ibuffer.el (ibuffer-bury-buffer):
18865 * server.el (server-goto-line-column):
18866 * startup.el (command-line-1):
18867 * strokes.el (strokes-xpm-for-stroke):
18868 * term.el (term-display-buffer-line):
18869 * view.el (View-goto-line):
18870 * calc/calc.el (calc-do, calc-trail-buffer):
18871 * play/gamegrid.el (gamegrid-add-score-insecure):
18872 * progmodes/ada-mode.el (ada-compile-goto-error):
18873 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18874 (ebrowse-select-1st-to-9nth):
18875 * progmodes/cperl-mode.el (cperl-time-fontification):
18876 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18877 * progmodes/gud.el (gud-display-line):
18878 (idlwave-shell-display-line):
18879 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18880 * progmodes/make-mode.el (makefile-browser-toggle):
18881 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18882 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18883 * textmodes/picture.el (picture-draw-rectangle):
18884 * textmodes/reftex-index.el (reftex-index-goto-letter):
18885 (reftex-select-jump-to-previous):
18886 * textmodes/reftex-sel.el (reftex-find-start-point)
18887 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18888 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18889 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18890 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18891 * textmodes/two-column.el (2C-associated-buffer):
18892 Use forward-line rather than goto-line.
18894 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18897 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18898 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18899 (quick-check-list-to-regexp): Declare.
18901 * progmodes/make-mode.el (makefile-browser-insert-selection):
18902 Use goto-char rather than goto-line.
18904 * progmodes/prolog.el (compilation-error-regexp-alist)
18905 (compilation-forget-errors): Declare.
18907 2009-08-22 Juri Linkov <juri@jurta.org>
18909 * progmodes/grep.el (lgrep, rgrep): At the beginning
18910 set `dir' to `default-directory' unless `dir' is a non-nil
18911 readable directory. (Bug#4052)
18912 (lgrep, rgrep): Change a weird way to report an error
18913 from using `read-string' to using `error'.
18914 Instead of using interactive arguments in the function body,
18915 add new argument `confirm'.
18917 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18919 * textmodes/remember.el (remember-buffer):
18920 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18921 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18922 (icalendar-extract-ical-from-buffer):
18923 * net/newst-treeview.el (newsticker-groups-filename):
18924 * net/newst-backend.el (newsticker-cache-filename):
18925 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18926 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18927 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18928 (speedbar-buffers-line-path, speedbar-path-line)
18929 (speedbar-buffers-line-path):
18930 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18932 * epa.el (epa-display-verify-result):
18933 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18935 2009-08-21 Glenn Morris <rgm@gnu.org>
18937 * progmodes/js.el (inferior-moz-process): Fix declaration.
18939 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18941 * obsolete/rnewspost.el (news-mail-reply):
18942 Use goto-char rather than goto-line.
18944 * term/ns-win.el (ns-open-file-select-line):
18945 Use line-beginning-position rather than goto-line.
18947 * apropos.el (apropos-command):
18948 * ehelp.el (electric-helpify):
18949 * printing.el (pr-show-setup):
18950 * strokes.el (strokes-help):
18951 * tutorial.el (tutorial--describe-nonstandard-key)
18952 (tutorial--detailed-help):
18953 * woman.el (woman-mini-help, woman-display-extended-fonts):
18954 * calc/calc-help.el (calc-describe-key):
18955 * emulation/edt.el (edt-electric-helpify):
18956 * international/mule-diag.el (mule-diag):
18957 * play/yow.el (apropos-zippy):
18958 * progmodes/python.el (python-describe-symbol):
18959 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18960 * textmodes/table.el (*table--cell-describe-mode)
18961 (*table--cell-describe-bindings):
18962 Use help-print-return-message rather than the now obsolete alias.
18964 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18965 (calendar-cursor-to-visible-date):
18966 * play/5x5.el (5x5-position-cursor):
18967 * play/decipher.el (decipher):
18968 * play/gomoku.el (gomoku-goto-xy):
18969 * play/landmark.el (lm-goto-xy):
18970 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18971 (mpuz-paint-digit):
18972 Use forward-line, not goto-line.
18974 * mail/rmail.el (rmail-obsolete): Delete custom group.
18975 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18976 (rmail-remote-password, rmail-remote-password-required):
18977 Remove unneeded :set-after and :set properties.
18979 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18981 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18983 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18985 * loadup.el: Remove leftover macos code.
18987 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18988 Explicitly pass the date format to git blame so that user local
18989 so that the output format can be parsed.
18991 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18993 * net/dbus.el (top): Don't check for (getenv
18994 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18996 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18998 * log-edit.el (log-edit-strip-single-file-name): New var.
18999 (log-edit-insert-changelog): Use it. Bug#3571
19001 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19003 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19006 * help.el (help-print-return-message): Rename from
19007 print-help-return-message.
19009 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19010 cvs-mode-map parent hack.
19011 (log-view-mode): Derive from special-mode.
19013 * linum.el (linum-mode): window-size-change-functions is redundant.
19014 Adapt to new window-configuration-change-hook behavior.
19015 (linum-after-size, linum-after-config): Remove.
19017 * imenu.el (imenu-example--name-and-position)
19018 (imenu-example--lisp-extract-index-name)
19019 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19022 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19023 (inferior-prolog-mode): Use it.
19024 (inferior-prolog-load-file): Reset list of errors.
19026 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19028 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19030 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19032 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19034 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19035 is running already.
19037 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19039 * subr.el (listify-key-sequence-1): Use normal syntax since those
19040 integers are nowadays always represented by the same (positive) number
19042 (read-key-empty-map): New const.
19043 (read-key-delay): New var.
19044 (read-key): New function.
19045 (force-mode-line-update): Use with-current-buffer.
19046 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19047 (start-process-shell-command, start-file-process-shell-command):
19048 Discourage the use of command-args.
19050 2009-08-19 Glenn Morris <rgm@gnu.org>
19052 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19054 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19056 * simple.el (choose-completion-string): Don't rely on
19057 minibuffer-completing-file-name and ad-hoc checks to decide whether
19058 to continue completion or not.
19060 * minibuffer.el (minibuffer-hide-completions): New function.
19061 (completion--do-completion): Use it.
19062 (completions-annotations): New face.
19063 (completion--insert-strings): Use it.
19064 (completion-pcm--delim-wild-regex): Add docstring.
19065 (completion-pcm--string->pattern): Add support for 0-width delimiters
19066 in completion-pcm--delim-wild-regex.
19068 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19070 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19071 Remove unused var `buffer-modified-p'.
19073 * minibuffer.el (completion--do-completion): Move point for the #b001
19074 case as well (bug#4176).
19075 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19077 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19079 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19080 and :session buses.
19082 2009-08-18 Kenichi Handa <handa@m17n.org>
19084 * international/ucs-normalize.el (ucs-normalize-version):
19086 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19087 (utf-8-hfs): Make it perform normalization on encoding too.
19089 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19090 (sentence-end-without-space): Delete duplicated chars.
19091 (sentence-end-base): Likewise.
19093 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19094 (html-mode): Delete duplicated chars from sentence-end-base.
19096 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19097 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19099 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19101 * files.el (hack-one-local-variable): If the mode function is for
19102 a minor mode, pass it an argument (Bug#4148).
19104 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19106 * net/tramp.el (tramp-register-completion-file-name-handler):
19107 Check also for (member 'partial-completion completion-styles).
19109 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19111 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19114 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19116 * progmodes/cperl-mode.el: Merge upstream 6.2.
19117 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19118 (cperl-forward-re): Check cperl-brace-recursing.
19119 (cperl-highlight-charclass): New function.
19120 (cperl-find-pods-heres): Use it.
19121 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19122 (cperl-beautify-regexp-piece): Fix column calculation.
19123 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19124 (cperl-beautify-level): Don't process entire regexp.
19125 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19127 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19128 (cperl-init-faces): Build a list in the normal way.
19130 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19132 * calendar/parse-time.el (parse-time-string-chars): Save match
19135 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19137 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19138 (sql-product): Use it.
19139 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19140 (sql-set-product): Add completion.
19141 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19142 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19143 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19144 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19145 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19146 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19147 (sql-highlight-db2-keywords): Remove.
19148 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19149 (sql-highlight-product): Use derived-mode-p.
19150 (sql-set-sqli-buffer): Use with-current-buffer.
19151 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19154 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19156 * term.el: Fix commenting convention, turn comments into docstrings.
19158 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19160 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19162 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19164 * calendar/parse-time.el (parse-time-string-chars): Compute using
19165 character classes, to handle non-ascii characters (Bug#3190).
19167 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19169 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19170 another heredoc if the user adds another < (Bug#3226).
19172 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19173 Don't initialize based on window-system (Bug#4124).
19175 * facemenu.el (facemenu-read-color): Use a completion function
19176 that accepts any defined color, such as RGB triplets (Bug#3677).
19178 * files.el (get-free-disk-space): Change fallback default
19179 directory to /. Expand DIR argument before switching to fallback.
19180 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19182 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19184 * files.el (load-library): Doc fix.
19186 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19188 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19189 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19190 incremental search string.
19192 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19195 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19196 (ediff-merge-region-is-non-clash)
19197 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19198 Also check if the job is really a merge job.
19200 * ediff.el (ediff-current-file): New function.
19202 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19204 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19206 (js-insert-and-indent): Delete function.
19207 (js-mode-map): Don't bind keys to js-insert-and-indent.
19208 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19209 (js-end-of-defun): Rename from js--end-of-defun.
19210 (js-auto-indent-flag): Delete variable.
19212 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19214 * progmodes/js.el: Remove proclaim statement.
19215 Defvar which-func-imenu-joiner-function to silence compiler.
19217 * files.el (auto-mode-alist): Use js-mode for .js files.
19219 * progmodes/js2-mode.el: Remove file.
19221 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19223 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19225 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19227 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19228 Karl Landstrom <karl.landstrom@brgeight.se>
19230 * progmodes/js.el: New file.
19232 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19234 * timezone.el (timezone-parse-date): Add ability to understand ISO
19235 basic format (minimal separators) dates in addition to the
19236 already-supported extended format dates.
19238 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19240 * international/ucs-normalize.el: Add a `coding' file variable.
19242 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19244 2009-08-14 Sam Steingold <sds@gnu.org>
19246 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19248 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19250 * faces.el (help-argument-name): Define it here instead of
19251 help-fns.el, because in daemon mode help-fns.el may be loaded when
19252 faces are still uninitialized (Bug#1078).
19254 * help-fns.el (help-argument-name): Move defface to faces.el.
19256 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19258 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19259 create buffer with a pty but no process so that GDB can make the
19260 inferior the controlling process.
19262 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19264 * international/ucs-normalize.el: New file.
19266 2009-08-13 Richard Stallman <rms@gnu.org>
19268 * mail/rmail.el (rmail-get-attr-names):
19269 Accept an attribute header that is too short.
19271 * mail/rmail.el (rmail-forget-messages):
19272 Ignore nil elt in rmail-message-vector. Use dotimes.
19274 * progmodes/compile.el (compilation-goto-locus):
19275 Use next-error-move-function.
19277 * simple.el (next-error-move-function): New variable.
19279 2009-08-12 Juri Linkov <juri@jurta.org>
19281 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19282 always non-nil. (Bug#4052)
19284 * replace.el (read-regexp): Return empty string when
19285 `default-value' is nil.
19286 (keep-lines-read-args): Don't use empty string as the
19287 default value for `read-regexp'. (Bug#2495)
19289 2009-08-12 Juri Linkov <juri@jurta.org>
19291 * international/mule-cmds.el (ucs-insert): Change arguments
19292 from `arg' to `character', `count', `inherit' to be the same
19293 as in `insert-char'. Doc fix. (Bug#4039)
19295 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19297 2009-08-12 Juri Linkov <juri@jurta.org>
19299 * files-x.el: New file.
19301 * files.el: Move code that deals with adding/deleting
19302 file/directory-local variables to files-x.el.
19304 * Makefile.in (ELCFILES): Add files-x.elc.
19306 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19308 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19309 to use `goto-line'.
19310 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19312 (gdb-invalidate-disassembly): Do not refresh upon receiving
19313 'update signal. Instead, update all disassembly buffers only after
19315 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19316 (gdb-starting): Move -data-list-register-names...
19317 (gdb-stopped): ...here so it's sent when first thread stops.
19318 (gdb-registers-handler-custom): Do nothing if register names are
19321 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19322 from `gdb-mi.el' to avoid extra tangling.
19324 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19325 change which breaks `gud-def' definitions used in `gdb'.
19326 (gdb-update-gud-running): No extra fuss for updating frame number.
19328 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19330 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19331 (describe-language-environment-map, setup-language-environment-map)
19332 (set-coding-system-map): Move initialization into declaration.
19333 (set-language-info-alist): Last arg to define-key-after can be skipped.
19335 * international/quail.el (quail-completion-1): Simplify.
19336 (quail-define-rules): Use slightly more compact code.
19337 (quail-insert-decode-map): Propertize keys, compact columns.
19339 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19342 2009-08-10 Miles Bader <miles@gnu.org>
19344 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19345 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19346 (js2-instance-member, js2-private-member, js2-private-function-call)
19347 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19348 (js2-magic-paren, js2-external-variable):
19349 Remove "-face" suffix from face names.
19350 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19351 (js2-highlight-undeclared-vars, js2-peek-token)
19352 (js2-parse-function-params, js2-mode-show-errors)
19353 (js2-mode-show-warnings, js2-make-magic-delimiter)
19354 (js2-mode-highlight-magic-parens): Update to use new face names.
19356 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19358 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19359 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19361 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19363 * subr.el: Provide hashtable-print-readable.
19365 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19366 hs-c-like-adjust-block-beginning.
19367 (hs-hide-block-at-point): Stop hiding at the beginning of
19368 hs-block-end-regexp (Bug#700).
19370 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19372 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19374 (gdb-registers-handler-custom): Do not fail when register names
19377 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19379 * progmodes/gdb-mi.el (gdb-control-all-threads)
19380 (gdb-control-current-thread): Interactive setters for
19381 `gdb-gud-control-all-threads' to use in menu.
19382 (gdb-show-run-p): Show «Go» when process is not active.
19383 (gud-tool-bar-map): Add non-stop/A,T indicator.
19384 Uses gud/thread.xpm and gud/all.xpm.
19386 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19388 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19389 (nslookup-font-lock-keywords): Make it a variable.
19390 (net-utils-mode): New mode for viewing diagnostic network output.
19391 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19392 (net-utils-run-simple): New function.
19393 (ifconfig, iwconfig, netstat, arp, route): Use it.
19395 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19397 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19398 (gdb-memory-set-address, def-gdb-set-positive-number)
19399 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19400 after changing settings.
19401 (gdb-invalidate-disassembly): Update when first shown.
19402 (gdb-edit-locals-value): Fixed.
19403 (gdb-registers-handler-custom): Print registers in right order and
19404 allow changing register values (only for current thread yet).
19405 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19406 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19407 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19408 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19409 Thread info in mode name.
19410 (gdb-registers-mode-map): TAB to switch to locals.
19412 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19414 * mail/rmail.el (rmail-add-mbox-headers)
19415 (rmail-set-message-counters-counter): Search for
19416 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19418 2009-08-08 Glenn Morris <rgm@gnu.org>
19420 * Makefile.in (ELCFILES): Update.
19422 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19424 * mail/sendmail.el (mail-yank-original):
19425 Set buffer-file-coding-system from the one used by the message whose
19428 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19429 to "windows" when "pgnuplot" is used.
19430 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19431 Don't call accept-process-output if "pgnuplot" is used.
19432 (calc-graph-init): Don't send -display and -geometry to
19433 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19434 running "pgnuplot -V" with shell-command-to-string.
19436 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19439 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19441 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19444 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19446 * vc-dispatcher.el (vc-resynch-window): Update comment.
19448 * term.el (term-handle-ansi-escape): Add comments with the
19449 terminfo capabilities implemented.
19451 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19453 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19454 (gdb-var-create-handler): Rewritten using JSON parser.
19455 (gdb-propertize-header): Move earlier.
19456 (gdb-set-header): Remove to avoid duplication.
19457 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19458 Refresh disassembly buffers only after threads list have been
19460 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19463 2009-08-04 Juri Linkov <juri@jurta.org>
19465 * files.el: Commands to add/delete file/directory-local variables.
19466 (read-file-local-variable, read-file-local-variable-value)
19467 (read-file-local-variable-mode, modify-file-local-variable)
19468 (modify-file-local-variable-prop-line)
19469 (modify-dir-local-variable): New functions.
19470 (add-file-local-variable, delete-file-local-variable)
19471 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19472 (add-dir-local-variable, delete-dir-local-variable)
19473 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19474 (copy-dir-locals-to-file-locals-prop-line): New commands.
19476 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19478 * abbrev.el (insert-abbrev-table-description): Prettify output.
19479 Suggested by Karl Chen.
19481 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19483 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19484 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19485 (gdb-overlay-arrow-position, gdb-thread-position)
19486 (gdb-disassembly-position): Declare variables.
19487 (gdb-wait-for-pending): Function now.
19488 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19489 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19490 compilation goes smoothly.
19491 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19492 (gdb-non-stop-setting): New customization setting which replaces
19493 `gdb-non-stop' so changing it doesn't break active GDB session.
19494 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19495 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19496 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19497 (gdb-show-threads-by-default): New customization options.
19498 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19500 (gdb-get-buffer-create): Send buffers update signal when they are
19502 (gdb-invalidate-locals, gdb-invalidate-registers)
19503 (gdb-invalidate-breakpoints)
19504 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19505 (gdb-invalidate-memory): Accept update signal.
19506 (gdb-current-context-command): Use --frame option.
19507 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19508 Implement `gdb-frame-number' selection logic.
19509 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19510 whether to show GUD toolbar buttons.
19511 (gdb-thread-exited): Unselect current thread when it exits.
19512 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19513 (gdb-mark-line): Routine which sets overlay arrow or inverses
19514 video on fringeless displays.
19515 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19516 to build aligned columns of data in GDB buffers and set text
19517 properties line-by-line.
19518 (gdb-invalidate-breakpoints)
19519 (gdb-breakpoints-list-handler-custom)
19520 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19521 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19522 (gdb-registers-handler-custom): Align data columns.
19523 (gdb-locals-handler-custom): Now prints data like in variable
19525 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19526 Remove confusing buttons.
19527 (gdb-invalidate-threads): Append --frame.
19528 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19529 between breakpoints/threads buffers.
19530 (gdb-set-window-buffer): Now can ignore dedicated windows.
19531 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19532 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19533 (def-gdb-thread-buffer-gud-command): Replaces
19534 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19535 for fine thread control.
19536 (gdb-preempt-existing-or-display-buffer): New function used to
19537 display bound buffers without breaking window layout.
19538 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19539 (gdb-select-frame): New version of `gdb-frames-select' which now
19540 sets `gdb-frame-number' so commands may use --frame option instead
19541 of inner debugger state.
19542 (gdb-frame-handler): Do not set `gdb-frame-number'.
19543 (gdb-threads-mode-map): Select threads with mouse.
19545 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19546 avoid compilation warning.
19547 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19550 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19551 Argument `key' renamed to `buffer-type'.
19552 (gdb-current-context-buffer-name): Do not add thread info to
19553 buffer name when no thread is selected.
19554 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19555 command (bug 3794).
19556 (gdb-thread-selected): Handle `=thread-selected' notification.
19557 (gdb-wait-for-pending): New macro to deal with congestion problems.
19558 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19560 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19561 This fixes problem similar to one described in bug 3947.
19562 (gud-menu-map): More menu items.
19563 (gdb-init-1): Reset `gdb-thread-number' to nil.
19565 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19568 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19569 (gdb-current-context-command): Do not append --thread if
19570 `gdb-thread-number' is nil.
19571 (gdb-running-threads-count, gdb-stopped-threads-count):
19573 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19574 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19575 New customization options.
19576 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19578 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19579 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19580 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19581 set `gdb-thread-number' and update `gud-running' properly.
19582 (gdb-running): Update threads list when new threads appear.
19583 (gdb-stopped): Support non-stop operation and new thread switching
19585 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19586 (gdb-json-partial-output): New set of JSON routines.
19587 (def-gdb-auto-update-trigger): New `signal-list' optional
19589 (gdb-thread-list-handler-custom): Update `gud-running',
19590 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19591 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19592 (gdb-continue-thread, gdb-step-thread): New commands for fine
19593 thread execution control.
19594 (gud-menu-map): New menu items to switch non-stop options.
19595 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19596 (gdb-send): Mimic RET properly (bug 3794).
19598 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19599 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19601 (def-gdb-auto-update-handler): New nopreserve optional argument.
19602 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19604 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19605 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19606 (gdb-parent-mode): New mode to derive other GDB modes from.
19607 (gdb-display-disassembly-for-thread)
19608 (gdb-frame-disassembly-for-thread): New commands for threads
19611 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19612 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19613 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19614 (gdb-update): We now store all GDB buffers in a list so that they
19615 can be updated by traversing a list instead of calling invalidate
19616 triggers explicitly.
19617 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19618 pair for GDB buffer.
19619 (gdb-stack-buffer-name): Add thread information.
19620 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19621 handle pending triggers.
19622 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19623 (def-gdb-thread-buffer-simple-command)
19624 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19625 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19626 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19627 New commands which show buffers bound to thread.
19628 (gdb-stack-list-locals-regexp): Remove unused regexp.
19630 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19631 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19632 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19633 to (gud-comint-buffer) in *-buffer-name functions
19634 because (gdb-get-target-string) already does that.
19635 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19636 (gdb-changed-registers-handler): Rewritten without regexps.
19638 * progmodes/gdb-mi.el: Basic thread selection support.
19639 (gdb-thread-number): New variable.
19640 (gdb-current-context-command): New macro which adds --thread
19642 (gdb-threads-mode-map): Select thread with SPC.
19643 (gdb-thread-list-handler-custom): Mark current thread with overlay
19644 arrow. Synchronize GDB thread and Emacs thread.
19645 (gdb-select-thread): New command which selects current thread.
19646 (gdb-invalidate-frames, gdb-invalidate-locals)
19647 (gdb-invalidate-registers): Use --thread option.
19649 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19651 * net/tramp.el (top): Make check for tramp-gvfs loading more
19653 (tramp-handle-insert-file-contents): `unwind-protect' must be
19654 inside `with-parsed-tramp-file-name'.
19656 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19659 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19661 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19662 directory if CLASSPATH is not set.
19664 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19666 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19668 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19670 2009-08-02 Kevin Ryde <user42@zip.com.au>
19672 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19673 Update freshmeat link. Delete newsforge.com as it seems gone.
19675 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19677 * select.el (x-set-selection): Doc fix (Bug#4021).
19679 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19681 * help-fns.el (describe-variable): Treat list return values from
19682 dir-locals-find-file properly (Bug#4005).
19684 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19686 * net/tramp.el (tramp-debug-message): Print also microseconds.
19688 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19690 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19692 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19693 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19696 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19697 (tramp-get-file-property): Use it.
19699 * autorevert.el (auto-revert-handler):
19700 Allow `auto-revert-tail-mode' for remote files.
19702 2009-08-02 Jason Rumney <jasonr@gnu.org>
19704 * minibuffer.el (read-file-name): Treat confirm options to
19705 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19707 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19709 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19710 (font-lock-variable-name-face, font-lock-constant-face):
19711 Darken the colors for light backgrounds.
19713 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19715 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19716 month names. (Bug#3987)
19718 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19720 * simple.el (line-move-finish): Pass whole number to
19721 line-move-to-column.
19722 (line-move-visual): Perform hscroll to the recorded position.
19724 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19726 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19728 2009-07-29 Alan Mackenzie <acm@muc.de>
19730 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19732 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19734 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19735 (gdb-place-breakpoints): Use full path when setting breakpoints.
19737 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19739 * calc/calc.el (calc-mode-map): Add keybinding for
19740 `calc-transpose-lines'.
19742 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19744 * calc/calc-misc.el (calc-transpose-lines): New function.
19746 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19748 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19749 Simplify check for out-of-band methods.
19750 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19751 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19753 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19755 * vc-git.el (vc-git-checkin): Fix typo.
19757 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19759 * progmodes/js2-mode.el: New file.
19761 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19763 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19764 (gud-menu-map): Adjust tooltip accordingly.
19766 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19768 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19769 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19771 * add-log.el (change-log-mode-map): Add a menu.
19773 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19775 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19776 function returns nil.
19777 (dbus-handle-event): Handle special return value :ignore.
19778 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19780 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19782 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19785 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19789 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19791 * term/pc-win.el (x-display-name, x-colors)
19792 (x-select-enable-clipboard, x-select-text): Doc fix.
19794 * term/common-win.el (x-display-name, x-colors): Doc fix.
19796 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19797 (xw-defined-colors): Doc fix.
19799 * w32-fns.el (x-select-text, x-setup-function-keys)
19800 (x-get-selection, x-set-selection): Doc fix.
19802 * term/x-win.el (x-select-text, x-setup-function-keys)
19803 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19805 * select.el (x-set-selection): Doc fix.
19807 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19809 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19810 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19811 "IsNSSSupportAvailable" method is not available.
19812 Reported by Steve Youngs <steve@sxemacs.org>.
19814 2009-07-24 Kenichi Handa <handa@m17n.org>
19816 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19817 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19818 (build-unicode-category-table): Fix range checks.
19820 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19822 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19823 the buffer we try to sync is current when calling
19826 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19827 not show up to date files.
19829 2009-07-24 Glenn Morris <rgm@gnu.org>
19831 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19832 Add autoload cookies. If necessary, initialize.
19833 (elint-log): Handle non-file buffers.
19834 (elint-initialize): Add optional argument to reinitialize.
19835 (elint-find-builtin-variables): Save excursion.
19837 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19839 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19842 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19844 * vc.el (vc-print-log-internal): New function, split out from ...
19845 (vc-print-log): ... here.
19846 (vc-dir-move-to-goal-column): Declare.
19848 * vc-git.el (vc-git-add-signoff): New variable.
19849 (vc-git-checkin): Use it.
19850 (vc-git-toggle-signoff): New function.
19851 (vc-git-extra-menu-map): Bind it to menu.
19852 (vc-git--run-command-string): Accept a nil FILE argument.
19853 (vc-git-stash-list): New function.
19854 (vc-git-dir-extra-headers): Use it.
19856 2009-07-23 Glenn Morris <rgm@gnu.org>
19858 * help-fns.el (describe-variable): Describe ignored and risky local
19859 variables in a similar way to that in which we describe safe ones.
19861 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19862 (byte-compile-output-file-form, byte-compile-output-docform)
19863 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19864 Give some more local variables with common names a "bytecomp-" prefix,
19865 so as not to shadow things during compilation.
19866 * emacs-lisp/cl-macs.el (load-time-value)
19867 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19868 `outbuffer' to `bytecomp-outbuffer'.
19870 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19871 since the next two variables cover them automatically now.
19872 (elint-builtin-variables, elint-autoloaded-variables): New.
19873 (elint-unknown-builtin-args): Remove all members, since they can be
19874 parsed automatically now.
19875 (elint-extra-errors): New.
19876 (elint-env-add-env, elint-env-add-macro): Use cadr.
19877 (elint-current-buffer): Use or. Change final message.
19878 (elint-get-top-forms): Use line-end-position.
19879 (elint-init-env): Use cadr. Handle autoload, declare-function,
19881 (elint-add-required-env): Doc fix. Use or. Standardize error.
19882 (regexp-assoc): Remove unused function.
19883 (elint-top-form): Set elint-current-pos, to record the start of the
19884 top-level form, for compilation-mode.
19885 (elint-form): Trap errors in macro expansion. Use dolist.
19886 (elint-unbound-variable): Use elint-builtin-variables and
19887 elint-autoloaded-variables.
19888 (elint-get-args): Use cadr, or.
19889 (elint-check-cond-form): Use dolist, cadr.
19890 (elint-check-condition-case-form): Doc fix. Use cadr.
19891 Use elint-extra-errors.
19892 (elint-log): New function.
19893 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19894 Distinguish errors and warnings.
19895 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19896 Use a bytecomp-style format.
19897 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19898 (elint-get-log-buffer): Use compilation mode. Disable undo.
19899 Don't truncate lines.
19900 (elint-initialize): Set builtin and autoloaded variable lists.
19901 Only process elint-unknown-builtin-args if non-nil.
19902 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19904 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19906 2009-07-22 Kevin Ryde <user42@zip.com.au>
19908 * net/newst-backend.el (newsticker--parse-atom-1.0)
19909 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19910 (newsticker--parse-rss-1.0):
19911 * progmodes/idlwave.el (idlwave-mode):
19912 * progmodes/idlw-shell.el (idlwave-shell-mode):
19913 * progmodes/vera-mode.el (vera-mode):
19914 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19915 * progmodes/vhdl-mode.el (vhdl-mode):
19916 * textmodes/table.el (table-generate-source)
19917 (table--warn-incompatibility):
19918 Hyperlink urls in docstrings with URL `...'.
19920 2009-07-22 Glenn Morris <rgm@gnu.org>
19922 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19923 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19924 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19925 Remove leading * from defcustom docs.
19927 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19929 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19931 (list-load-path-shadows): Optionally, just return shadows as a string.
19933 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19935 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19937 * mail/rmailedit.el (rmail-edit-mode):
19938 Use auto-save-include-big-deletions.
19940 * mail/rmail.el (rmail-variables):
19941 Use auto-save-include-big-deletions.
19943 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19946 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19948 * calc/calc.el (calc-undo-length): New variable.
19949 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19951 2009-07-21 Richard Stallman <rms@gnu.org>
19953 * files.el (auto-save-mode): Handle buffer-save-size = -2
19956 2009-07-21 Glenn Morris <rgm@gnu.org>
19958 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19960 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19962 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19963 silence compiler. Instead...
19964 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19965 (ps-print-ensure-fontified): Update for above function name changes.
19967 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19968 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19969 silence compiler. Instead...
19970 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19971 (mh-show-buffer): Only define for compiler.
19972 (pr-mh-current-message): Update for above function name changes.
19974 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19976 (find-file-noselect, insert-file-1): Update for above change.
19978 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19980 * mail/mailclient.el (mailclient-send-it): Fix message.
19982 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19983 (edebug-eval): Check cl-debug-env is bound.
19984 (print-level, print-circle): Don't redefine built-in variables.
19986 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19987 (custom-print-vectors): Remove old comments from doc.
19989 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19990 (emerge-version): Make the variable an obsolete alias for the
19991 emacs-version variable. Make the function obsolete.
19992 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19993 Emerge options, rather than merging in into the main Options menu.
19994 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19995 and auto advance modes. Disable edit/fast items when not relevant.
19997 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19999 * term/vt420.el (terminal-init-vt420): Fix typo.
20001 2009-07-20 Sam Steingold <sds@gnu.org>
20003 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20004 variable (removed from compile.el on 2004-03-11).
20006 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20008 * files.el (hack-local-variables-filter): Fix last change.
20010 2009-07-19 Juri Linkov <juri@jurta.org>
20012 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20013 (dir-local-variables-alist): New buffer-local variable.
20014 (hack-local-variables-filter): If variable is not dir-local,
20015 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20016 because file-local overrides dir-local.
20017 (c-postprocess-file-styles) <declare-function>:
20018 Remove obsolete declaration.
20019 (hack-dir-local-variables): Add dir-local variable/value pair to
20020 `dir-local-variables-alist' and remove duplicates. Doc fix.
20022 * help-fns.el (describe-variable): Add information about
20023 file-local and dir-local variables.
20025 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20027 * files.el (hack-local-variables-filter): Rewrite.
20029 2009-07-19 Glenn Morris <rgm@gnu.org>
20031 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20032 Silence compiler by only defining on XEmacs.
20034 * international/mule.el (auto-coding-regexp-alist): Only match
20035 BABYL... at the start of buffer, not of lines. (Bug#3790)
20037 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20038 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20039 (cal-menu-context-mouse-menu): Doc fix.
20041 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20043 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20045 2009-07-18 Juri Linkov <juri@jurta.org>
20047 * info.el: Virtual Info keyword finder.
20048 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20049 (Info-finder-file): New variable.
20050 (Info-finder-find-file): New function.
20051 (finder-known-keywords, finder-package-info)
20052 (find-library-name, lm-commentary): Use defvar and
20053 declare-function to silence compiler warnings.
20054 (Info-finder-find-node): New function.
20055 (info-finder): New command.
20057 * subr.el (process-kill-buffer-query-function): New function.
20058 (add-hook)<kill-buffer-query-functions>: Add hook
20059 `process-kill-buffer-query-function'.
20061 2009-07-18 Alan Mackenzie <acm@muc.de>
20063 * progmodes/cc-mode.el (c-before-hack-hook)
20064 (c-postprocess-file-styles): Give invocation of `c-set-style'
20065 DONT-OVERRIDE parameter of t. Already set style variables will
20066 thus not be overridden by style settings given by `c-file-syle'.
20068 * files.el (hack-local-variables-filter): Remove entries with
20069 duplicate keys from `file-local-variables-alist'.
20071 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20073 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20074 x-set-selection if display-selections-p returns nil for the
20077 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20079 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20081 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20083 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20084 Accept nil in addition to a regexp.
20085 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20086 Accept nil in addition to a regexp.
20087 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20088 buffers that have an associated file. Handle nil values of
20089 desktop-buffers-not-to-save and desktop-files-not-to-save.
20092 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20093 (x-disown-selection-internal): New functions.
20095 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20097 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20099 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20100 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20102 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20104 * simple.el (set-mark): Revert last change.
20106 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20108 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20109 rendering of pngs is not possible instead of messaging a long
20112 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20114 * w32-fns.el (x-selection-owner-p): New function.
20116 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20117 (mouse-yank-at-click, mouse-yank-primary):
20118 If select-active-regions is non-nil, deactivate the mark before
20121 * simple.el (deactivate-mark, set-mark): Only save selection if we
20124 2009-07-17 Kenichi Handa <handa@m17n.org>
20126 * case-table.el (describe-buffer-case-table): Fix for the case
20127 that KEY is a cons.
20129 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20131 * vc-rcs.el (vc-rcs-find-file-hook):
20132 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20134 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20136 * net/tramp.el (tramp-wait-for-output): Handle the case when
20137 commands do not return a newline but a null byte before the shell
20140 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20142 * term/ns-win.el (ns-set-alpha): Don't declare.
20143 (ns-set-background-alpha): Remove function.
20145 2009-07-16 Kevin Ryde <user42@zip.com.au>
20147 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20148 y-or-n-p, for safety.
20150 2009-07-16 Richard Stallman <rms@gnu.org>
20152 * files.el (auto-save-mode): If buffer-saved-size is -2,
20155 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20156 (rmail-retry-ignored-headers): Add more uninteresting fields.
20158 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20160 * net/rcirc.el (rcirc): Use history variables.
20161 (rcirc-server-name-history, rcirc-nick-name-history)
20162 (rcirc-server-port-history): New variables.
20164 2009-07-15 Kenichi Handa <handa@m17n.org>
20166 * international/mule-cmds.el (set-language-environment-charset):
20167 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20170 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20171 Delete unibyte-display.
20173 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20175 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20177 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20179 * simple.el (deactivate-mark): Optional argument FORCE.
20180 (set-mark): Use deactivate-mark.
20182 * info.el (Info-search): No need to check transient-mark-mode
20183 before calling deactivate-mark.
20185 * select.el (x-set-selection): Doc fix.
20186 (x-valid-simple-selection-p): Allow buffer values.
20187 (xselect--selection-bounds): Handle buffer values.
20188 Suggested by David De La Harpe Golden.
20190 * mouse.el (mouse-set-region, mouse-drag-track):
20191 Call copy-region-as-kill before setting the mark, to let
20192 select-active-regions work.
20194 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20196 * simple.el (deactivate-mark): If select-active-regions is
20197 non-nil, copy the selection data into a string.
20198 (activate-mark): If select-active-regions is non-nil, set the
20199 selection to the current buffer.
20200 (set-mark): Update selection if select-active-regions is non-nil.
20202 * select.el (x-valid-simple-selection-p): Allow buffer values.
20204 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20206 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20207 and more featureful message-mode.
20209 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20211 * select.el (x-set-selection): Doc fix.
20212 (x-valid-simple-selection-p): Disallow selection data consisting
20213 of a list or cons of integers, since that is not used.
20214 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20215 (xselect-convert-to-string, xselect-convert-to-length)
20216 (xselect-convert-to-filename, xselect-convert-to-charpos)
20217 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20219 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20221 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20222 output in -break-info command (Emacs bug #3794).
20224 2009-07-14 Glenn Morris <rgm@gnu.org>
20226 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20227 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20228 (edebug-print-length, edebug-print-level, edebug-print-circle)
20229 (edebug-sit-for-seconds, edebug-view-outside)
20230 (edebug-bounce-point, edebug-set-global-break-condition)
20231 (edebug-Go-nonstop-mode, edebug-trace-mode)
20232 (edebug-Trace-fast-mode, edebug-continue-mode)
20233 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20234 (edebug-visit-eval-list): Doc fixes.
20236 * subr.el (def-edebug-spec): Doc fix.
20238 2009-07-14 Kenichi Handa <handa@m17n.org>
20240 * international/characters.el: Fix setting of category ?C.
20242 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20244 * term/ns-win.el (x-select-font): defalias x-select-font to
20245 ns-popup-font-panel instead of generate-fontset-menu.
20247 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20249 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20251 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20253 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20254 the PK\003\004 header (Bug#3770).
20256 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20258 * pcomplete.el (pcomplete-comint-setup): Check for
20259 shell-dynamic-complete-filename too.
20261 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20263 * simple.el (temporary-goal-column): Change the value for
20264 line-move-visual to a cons cell.
20265 (line-move-visual): Record or set the window hscroll, if
20266 necessary (Bug#3494).
20267 (line-move-1): Handle cons value of temporary-goal-column.
20269 2009-07-11 Kenichi Handa <handa@m17n.org>
20271 * international/mule-diag.el (describe-character-set): Don't show
20274 2009-07-10 Sam Steingold <sds@gnu.org>
20276 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20277 Omake sometimes indents the errors it prints, so allow all
20278 regexps to start with spaces.
20280 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20282 * cus-edit.el (customize-changed-options-previous-release):
20283 Bump value to 22.1. (Bug#3804)
20285 2009-07-08 Sam Steingold <sds@gnu.org>
20287 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20288 to be a cons cell (test . ignored-directory) to selectively ignore
20289 some directories depending on the location of the search.
20291 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20293 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20294 remote user is root, on the local host.
20295 (tramp-local-host-p): Either the local user or the remote user
20296 must be root. (Bug#3771)
20298 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20300 * progmodes/gdb-mi.el (gdb): Remove description of
20301 gdb-use-separate-io-buffer.
20302 (menu): Don't allow toggling of or enable
20303 gdb-use-separate-io-buffer from menubar.
20305 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20307 * mail/unrmail.el (unrmail): Make sure the message ends with two
20308 newlines (Bug#3769).
20310 2009-07-08 Glenn Morris <rgm@gnu.org>
20312 * calendar/calendar.el (calendar-current-date): Rework previous change.
20314 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20316 * calendar/calendar.el (calendar-current-date):
20317 Add an optional argument giving an offset from today.
20319 2009-07-08 Glenn Morris <rgm@gnu.org>
20321 * tutorial.el (tutorial--describe-nonstandard-key):
20322 Adjust the message for when a key has been unbound.
20323 (help-with-tutorial): Hide the arch-tag.
20325 2009-07-08 Kenichi Handa <handa@m17n.org>
20327 * international/fontset.el (setup-default-fontset): For each
20328 script, append (not set) font-specs.
20330 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20333 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20335 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20336 -data-list-register-names to ...
20337 (gdb-starting): ... here because GDB 7.0 requires execution to
20338 have started when using this MI command.
20339 (gdb-set-header): New function to distinguish select and
20340 unselected tabs in gdb buffers.
20341 (gdb-propertize-header): New macro that uses gdb-set-header.
20342 (gdb-breakpoints-header, gdb-locals-header): Use it.
20343 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20345 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20347 * Makefile.in (ELCFILES): Remove fadr.elc.
20349 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20351 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20352 may contain frame information, so `string-match' should be used.
20353 (gdb-update): Disassembly is invalidated through
20354 `gdb-get-selected-frame'.
20355 (gdb-pad-string): New function to pad string with spaces.
20356 (gdb-invalidate-disassembly): Invalidate only if the buffer
20358 (gdb-disassembly-handler-custom): Column alignment.
20359 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20361 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20363 (gdb-frame-handler): Match convention to for disassembly buffer
20365 (gdb-stack-list-frames-handler): Rewritten without regexps.
20366 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20367 not highlight breakpoints without line information.
20368 (gdb-input): Add trailing newline to command.
20370 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20372 (gdb-breakpoints-list-handler-custom): Replacement for
20373 `gdb-break-list-handler'. Using real parser instead of regexps
20375 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20376 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20377 to place breakpoints.
20378 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20380 (gdb-disassembly-handler-custom): Show overlay arrow.
20381 (gdb-disassembly-place-breakpoints): Show breakpoints in
20382 disassembly buffer.
20383 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20384 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20385 instead of parsing breakpoints buffer. Fixed old menu references
20390 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20391 (gdb-memory-address): New variable which holds top address of
20392 memory page shown in memory buffer.
20393 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20394 New customization variables.
20396 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20397 display the memory buffer.
20398 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20399 buffer display parameters.
20400 (def-gdb-memory-format, gdb-memory-format-binary)
20401 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20402 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20403 Functions for setting memory buffer format.
20404 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20405 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20406 unit size used in memory buffer.
20407 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20408 Switch to next/previous page of memory buffer.
20409 Now using (bindat-get-field) instead of fadr functions.
20411 2009-07-07 Sam Steingold <sds@gnu.org>
20413 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20414 non-top-level files.
20416 2009-07-07 Kenichi Handa <handa@m17n.org>
20418 * international/mule-cmds.el (reset-language-environment):
20419 Put the highset priority to the charset iso-8859-1.
20421 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20423 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20424 to the end of the line when locating the block (Bug#700).
20426 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20428 * net/tramp.el (tramp-handle-write-region): Flush file properties
20429 in case of short track.
20431 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20433 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20434 Coded custom representation of verilog error regular expressions
20435 to work with Emacs-22's new format.
20436 (verilog-error-regexp-xemacs-alist): Coded custom representation
20437 of verilog error regular expressions to work with XEmacs format.
20438 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20439 error recognition into XEmacs.
20440 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20441 error recognition into Emacs-22.
20443 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20445 * woman.el: Remove stand-alone closing parentheses.
20446 (woman-file-name, woman2-format-paragraphs)
20447 (woman-leave-blank-lines): Code cleanup.
20448 (woman-use-own-frame): Change default to nil.
20449 (woman-italic, woman-bold, woman-unknown, woman-addition):
20450 Change defaults to inherit from default faces.
20451 (woman2-process-escapes): Consume the newline after a stand-alone
20452 filler character (Bug#3651).
20454 2009-07-06 Glenn Morris <rgm@gnu.org>
20456 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20457 (top-level): Move provide to the end.
20458 (ffap): Remove defunct URL from custom group.
20460 * subr.el (eval-after-load): Doc fix.
20462 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20464 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20465 `calc-embedded-word' is called twice.
20467 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20469 * files.el (find-alternate-file-other-window, find-alternate-file):
20470 Obey confirm-nonexistent-file-or-buffer.
20472 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20474 * dired-aux.el (dired-show-file-type): Handle remote files.
20476 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20478 * desktop.el (desktop-globals-to-save):
20479 Add file-name-history (Bug#2750).
20481 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20483 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20485 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20487 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20488 property on entire argument since this is what eshell-lisp-command
20491 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20493 * net/tramp-gvfs.el (tramp-gvfs-methods)
20494 (tramp-gvfs-zeroconf-domain)
20495 (tramp-bluez-discover-devices-timeout): Add version flag.
20496 (tramp-gvfs-handler-mounted-unmounted)
20497 (tramp-gvfs-connection-mounted-p): Polish handling of
20498 incompatibilities between GVFS 0.2 and 1.0.
20500 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20502 * cus-start.el (all): Add make-pointer-invisible.
20504 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20506 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20507 formatted correctly.
20509 2009-07-02 Juri Linkov <juri@jurta.org>
20511 * info.el: Virtual Info files and nodes.
20512 (Info-virtual-files, Info-virtual-nodes): New variables.
20513 (Info-current-node-virtual): New variable.
20514 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20516 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20517 to check for a virtual file instead of checking a fixed list
20519 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20520 instead of ad-hoc processing of "dir" and (apropos history toc).
20521 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20522 instead of ad-hoc processing of "dir" and (apropos history toc).
20523 Reread a file when moving from a virtual node.
20524 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20525 (Info-directory-toc-nodes, Info-directory-find-file)
20526 (Info-directory-find-node): New functions.
20527 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20528 (Info-history): Move part of code to
20529 `Info-history-find-node'.
20530 (Info-history-toc-nodes, Info-history-find-file)
20531 (Info-history-find-node): New functions.
20532 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20533 (Info-toc): Move part of code to `Info-toc-find-node'.
20534 (Info-toc-find-node): New function.
20535 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20536 the current Info file name to references because now the node
20537 "*TOC*" belongs to the same Info manual.
20538 (Info-toc-build): Rename from `Info-build-toc'.
20539 (Info-toc-nodes): Rename input argument `file' to `filename'.
20540 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20541 instead of ad-hoc processing of ("dir" apropos history toc).
20542 (Info-index-nodes): Use Info-virtual-file-p
20543 to check for a virtual file instead of checking a fixed list
20545 (Info-index-node): Add check for `Info-current-node-virtual'.
20546 Raise `save-match-data' higher up the tree to contain
20547 `search-forward' too (bug fix).
20548 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20549 (Info-virtual-index-nodes): New variable.
20550 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20551 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20552 (Info-apropos-file, Info-apropos-nodes): New variables.
20553 (Info-apropos-toc-nodes, Info-apropos-find-file)
20554 (Info-apropos-find-node, Info-apropos-matches): New functions.
20555 (info-apropos): Move part of code to `Info-apropos-find-node' and
20556 `Info-apropos-matches'.
20557 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20558 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20559 for a virtual file instead of checking a fixed list of node names.
20561 * simple.el (async-shell-command): New command.
20563 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20565 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20566 instead of `mount-info'.
20568 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20570 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20571 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20573 2009-07-02 Kenichi Handa <handa@m17n.org>
20575 * international/mule.el (set-keyboard-coding-system): Force *-unix
20576 coding-system to avoid eol conversion.
20578 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20580 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20581 Add handler for `process-file', `shell-command' and
20582 `start-file-process'.
20583 (tramp-gvfs-handle-shell-command)
20584 (tramp-gvfs-handle-start-file-process)
20585 (tramp-gvfs-handle-process-file): New defuns.
20586 (tramp-synce-list-devices): Simplify check for existence of property.
20588 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20590 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20592 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20594 * language/korean.el (set-language-info-alist): Add korean-cp949,
20597 2009-07-01 Kenichi Handa <handa@m17n.org>
20599 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20601 * international/encoded-kb.el: Deleted.
20603 * international/mule.el (set-keyboard-coding-system): Perform the
20604 necessary setup here instead of calling encoded-kbd-setup-display.
20606 2009-07-01 Glenn Morris <rgm@gnu.org>
20608 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20610 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20612 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20614 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20616 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20617 Handle also the 'rename case, when setting file modes. (Bug#3712)
20618 (tramp-default-file-modes): Remove execute permissions.
20620 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20621 (top): Add a default for "synce" in `tramp-default-user-alist'.
20622 Add completion function for "synce" method.
20623 (tramp-hal-service, tramp-hal-path-manager)
20624 (tramp-hal-interface-manager, tramp-hal-interface-device):
20626 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20627 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20630 * net/trampver.el: Update release number.
20632 2009-06-30 Kenichi Handa <handa@m17n.org>
20634 * international/fontset.el (setup-default-fontset): Add CJK fonts
20635 for symbols and the other miscellaneous characters.
20637 * language/korea-util.el (setup-korean-environment-internal):
20638 Make char-width-table suitable for Korean environments.
20639 (exit-korean-environment): Cancel above.
20641 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20642 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20643 setup-function to make char-width-table suitable for respective
20644 environments, and an exit-function to cancel that.
20646 * language/japan-util.el (setup-japanese-environment-internal):
20647 Call use-cjk-char-width-table with arg `ja_JP'.
20649 * international/characters.el (cjk-char-width-table): Delete it.
20650 (cjk-char-width-table-list): New variable.
20651 (use-cjk-char-width-table): New arg local-name.
20652 (use-default-char-width-table): Fix for the case that Emacs is
20653 already using the default char-width-table.
20655 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20657 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20658 modes mandatory. (Bug#3712)
20660 2009-06-29 Alan Mackenzie <acm@muc.de>
20662 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20663 correction between the visible width of TABs and their number of bytes.
20665 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20667 * server.el (server-buffer-done): Prevent kill-buffer from
20668 prompting by clearing the buffer modification flag (Bug#3696).
20670 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20672 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20673 (verilog-endcomment-reason-re): Support unique case and priority case.
20674 (verilog-basic-complete-re): Support localparam lineup.
20675 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20676 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20678 (verilog-leap-to-case-head): Now support *nested* unique &
20679 priority case statements.
20680 (verilog-auto-lineup): Make just declarations the default (as it
20682 (verilog-leap-to-case-head): Support priority/unique case statements.
20683 (verilog-auto-lineup): Rework to give users radio buttons to
20684 select the various styles of automatic lineup.
20685 (verilog-error-regexp-alist): Rework to support the XEmacs style
20686 of error regular expressions from compilers, lint tools &
20687 simulators. Note that GNU Emacs has made it impossible for a mode
20688 to load such things.
20689 (electric-verilog-terminate-line, verilog-indent-declaration)
20690 (verilog-auto-wiure): Rework for radio button selection of
20691 auto-lineup selection of specification of auto lineup.
20692 (verilog-beg-of-statement-1): Redesign to support proper operation
20693 in additional code, based on testing with auto-lineup.
20694 (verilog-calculate-indent, assignments & declarations)
20695 (verilog-backward-token): Enhance to support auto-lineup of
20696 assignments & declarations.
20697 (verilog-in-directive-p, verilog-at-struct-p): New function for
20698 easy test of whether we are.
20699 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20700 to support safe execution at almost anyline.
20701 (verilog-calc-1): Properly support indenting deep inside generate
20703 (verilog-init-font): Remove definition & use of verilog-init-font,
20704 as it is redundant with font-lock-defaults.
20705 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20706 to avoid circular calls if syntax-ppss is a function (as is the
20707 case now in 22.x GNU Emacs) as that function would sometimes call
20708 itself, leading to (nearly) infinite recursion.
20709 (verilog-ovm-begin-re, verilog-ovm-end-re)
20710 (verilog-ovm-statement-re, verilog-leap-to-head)
20711 (verilog-backward-token): Add support for OVM macros. Some are
20712 complete statements, and others open and close scopes like begin
20714 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20715 (verilog-defun-level-generate-only-re): Really fix the defun-list
20717 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20718 coverpoint, constraint and cross statements.
20719 (verilog-defun-level-list, verilog-generate-defun-level-list)
20720 (verilog-all-defun-level-list): Redo these specifications - it is
20721 too hard to support eval-when compile aggregation of lists also
20722 built at when-compile time.
20723 (verilog-defun-level-list): Place defconsts of variables used in
20724 building regular expressions which are built in eval-when-compile
20725 bodies in the same eval-when-compile body to facilitate compile
20727 (verilog-beg-block-re-ordered): Support indenting
20728 virtual/protected tasks and functions.
20729 (verilog-defun-level-list, verilog-in-generate-region-p)
20730 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20731 indentation of some module items (generate items).
20732 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20733 across virtual/protected tasks and functions.
20735 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20737 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20738 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20739 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20740 in concatenations. Reported by Yishay Belkind.
20741 (verilog-auto-ascii-enum): Support one-hot state machines in
20742 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20743 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20744 modport in AUTOINST and add vl-modport for users.
20745 Reported by David Rogoff.
20746 (verilog-auto-inout-module, verilog-auto-inst)
20747 (verilog-decls-get-interfaces, verilog-insert-definition)
20748 (verilog-insert-one-definition, verilog-read-decls)
20749 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20750 (verilog-sig-modport, verilog-signals-combine-bus)
20751 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20752 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20753 Suggested by David Rogoff.
20754 (verilog-repair-open-comma): Fix non-insertion of comma when
20755 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20756 (verilog-make-width-expression): Simplify [A-1:0] expression
20757 widths to just {A{1'b0}}.
20758 (verilog-mode): Cleanup checkdoc warnings.
20759 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20760 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20761 inputs/outputs or data type. Suggested by Vasu Kandadi.
20762 (next-error-last-buffer): Fix byte-compiler warning.
20763 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20764 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20765 or shell command text during AUTO expansion. Suggested by Tad Truex.
20766 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20767 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20768 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20769 in AUTOINOUT. Reported by Matthew Lovell.
20770 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20771 causing use of <= assignments. Reported by Alex Reed.
20772 (verilog-read-decls): Fix triand, trior, wand, wor to be
20773 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20774 (verilog-extended-complete-re): Support import "DPI-C" functions.
20775 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20776 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20777 (verilog-insert-date, verilog-insert-year)
20778 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20779 Windows systems. Reported by Michael Potts.
20780 (verilog-read-module-name): Fix AUTOINST when the child module
20781 declaration's name is a tick define. Reported by Elliot Mednick.
20782 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20783 passed to next parameter's definition. Reported by Bruce T.
20784 (verilog-read-decls): Fix detecting "parameter int" when using
20785 AUTOINSTPARAM. Reported by Bruce T.
20786 (verilog-goto-defun): Fix goto not finding modules unless first
20787 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20788 (verilog-mode): Expand -f flag arguments on entry to mode so
20789 verilog-goto-defun will work. Reported by Lawrence Butcher.
20790 (verilog-getopt): Expand environment variables in -f file
20791 arguments. Suggested by Lawrence Butcher.
20792 (verilog-set-define): Fix "Symbol's value as variable is void"
20793 when reading enumerations.
20794 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20795 Suggested by Stephen Peltan.
20796 (verilog-read-defines): Fix reading of enumerations in include
20797 files. Reported by Steve Peltan.
20799 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20801 * files.el (trash-directory): Fix defcustom type.
20803 2009-06-28 Juri Linkov <juri@jurta.org>
20805 * help-fns.el (describe-function-1): Correctly locate adviced
20806 functions in hyperlink (Bug#2438).
20808 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20810 * files.el (trash-directory): Change default to nil.
20811 (move-file-to-trash): If trash-directory is nil and
20812 system-move-file-to-trash is unbound, perform freedesktop-style
20815 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20817 * files.el (move-file-to-trash): Add freedesktop trash
20820 2009-06-28 Glenn Morris <rgm@gnu.org>
20822 * autorevert.el (global-auto-revert-non-file-buffers)
20823 (global-auto-revert-mode): Doc fixes.
20825 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20827 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20829 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20831 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20832 opened an X connection before calling x-get-resource (Bug#3194).
20834 * play/doctor.el: Remove reference to obsolete website.
20835 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20837 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20839 Remove find-file-not-found-hook VC method. (Bug#2757)
20840 * vc-hooks.el (vc-file-not-found-hook)
20841 (vc-default-find-file-not-found-hook): Remove functions.
20842 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20843 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20846 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20848 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20850 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20851 compatibility function for `looking-back'.
20853 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20854 Use `ispell-looking-back'.
20856 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20858 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20859 rather than `filename'.
20861 2009-06-23 Miles Bader <miles@gnu.org>
20863 * face-remap.el (text-scale-set): New function.
20865 2009-06-23 Glenn Morris <rgm@gnu.org>
20867 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20869 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20871 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20873 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20875 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20876 Simplify Persian conditionals.
20878 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20879 variable `filename'.
20881 * comint.el (comint-insert-input): Doc fix.
20883 * Makefile.in (ELCFILES): Fix typo in previous change.
20885 2009-06-23 Miles Bader <miles@gnu.org>
20887 * cus-start.el: Add entry for `recenter-redisplay'.
20889 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20891 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20892 Add an optional argument for the backend, use it instead of
20893 calling vc-backend.
20894 (vc-mode-line): Add an optional argument for the backend.
20895 Pass the backend to vc-state and vc-working-revision. Move code for
20896 special handling for vc-state being a buffer to ...
20898 * vc-rcs.el (vc-rcs-find-file-hook):
20899 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20901 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20902 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20903 vc-stay-local-p and vc-mode-line calls.
20905 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20906 (vc-cvs-diff, vc-cvs-annotate-command)
20907 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20908 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20909 vc-mode-line calls.
20911 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20913 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20914 backend when calling vc-mode-line.
20915 (vc-register): Do not create a closure for calling the vc register
20916 function, call it directly.
20918 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20920 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20921 to make it obvious item can be clicked.
20923 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20925 2009-06-23 Kenichi Handa <handa@m17n.org>
20927 * language/korea-util.el (korean-key-bindings): Change the binding
20928 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20931 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20933 Sync with Tramp 2.1.16.
20935 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20937 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20938 when a loading of a package fails. Completion function for rsync
20939 is `tramp-completion-function-alist-ssh'.
20940 (all): Replace all calls of `split-string' and
20941 `tramp-split-string' by `tramp-compat-split-string'.
20942 (tramp-default-method): Use `tramp-compat-process-running-p'.
20943 (tramp-default-proxies-alist): Allow also Lisp forms.
20944 (tramp-remote-path): Add choice "Private Directories".
20945 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20946 (tramp-domain-regexp): Allow also "-", "_" and ".".
20947 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20948 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20949 (tramp-debug-message): Insert header line in debug buffer.
20950 (tramp-handle-directory-files-and-attributes-with-stat):
20951 Care about filenames with spaces, or starting with "-".
20952 (tramp-handle-dired-uncache): New defun.
20953 (tramp-handle-insert-directory): Don't flush the directory from
20954 cache, this is handled by `dired-uncache' now.
20955 (tramp-handle-insert-file-contents): Improve error handling.
20956 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20957 Quote `tramp-end-of-output'.
20958 (tramp-action-password): Improve trace message.
20959 (tramp-check-for-regexp): Both echoes must be present, before removing.
20960 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20961 (tramp-compute-multi-hops): Eval cons cells of
20962 `tramp-default-proxies-alist'.
20963 (tramp-maybe-open-connection): Use the same command pattern for
20964 first hop and further hops.
20965 (tramp-wait-for-output): Remove handling of newlines.
20966 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20967 (tramp-split-string): Remove function. It is handled in
20970 * net/tramp-cmds.el (tramp-bug):
20971 Recommend `tramp-cleanup-all-connections' in the bug mail.
20973 * net/tramp-compat.el (tramp-compat-split-string)
20974 (tramp-compat-process-running-p): New defuns.
20976 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20977 for `dired-uncache'.
20979 * net/tramp-gvfs.el: New package.
20981 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20982 Add handler for `dired-uncache'.
20983 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20985 * net/trampver.el: Update release number. Make version check fit
20988 2009-06-22 Jim Meyering <meyering@redhat.com>
20990 Automatically handle .xz suffix (XZ-compressed files), too.
20991 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20992 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20994 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20995 Nick Roberts <nickrob@snap.net.nz>
20997 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20998 repository (http://sphinx.net.ru/hg/gdb-mi/).
21000 2009-06-22 Glenn Morris <rgm@gnu.org>
21002 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21003 `mode' and `eval' entries. (Bug#3430)
21005 * Makefile.in (ELCFILES): Add fadr.elc.
21007 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21008 differing behavior of \n and ^ in strings. (Bug#3385)
21010 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21012 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21014 (lisp-indent-function): Make it a defcustom.
21016 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21018 * progmodes/gdb-ui.el: Replace with ...
21019 * progmodes/gdb-mi.el: ... this file.
21020 * progmodes/gud.el: Modify for gdb-mi.el.
21022 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21024 * fadr.el: New file.
21026 See ChangeLog.14 for earlier changes.
21028 ;; Local Variables:
21032 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21034 This file is part of GNU Emacs.
21036 GNU Emacs is free software: you can redistribute it and/or modify
21037 it under the terms of the GNU General Public License as published by
21038 the Free Software Foundation, either version 3 of the License, or
21039 (at your option) any later version.
21041 GNU Emacs is distributed in the hope that it will be useful,
21042 but WITHOUT ANY WARRANTY; without even the implied warranty of
21043 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21044 GNU General Public License for more details.
21046 You should have received a copy of the GNU General Public License
21047 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.