1 2011-01-22 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
4 split out from copyright-update-year.
5 (copyright-update): Don't mess with the GPL version if we don't own the
6 copyright. Update license regexp, and remove no longer needed
8 (copyright-fix-years): Use copyright-find-copyright.
10 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
12 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
14 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
17 (lm): Rename to landmark.
18 (lm-test-run): Rename to landmark-test-run.
20 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
22 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
23 "Case sensitive" menu item.
25 2011-01-22 Roland McGrath <roland@frob.com>
27 * comint.el (comint-replace-by-expanded-history-before-point): Fix
28 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
30 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
32 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
34 2011-01-22 Jari Aalto <jari.aalto@cante.net>
36 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
37 Assume foo(bar) is a manpage reference rather than some unquoted
40 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
42 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
43 Suggested by Flo <sensorflo@gmail.com>.
45 2011-01-22 Glenn Morris <rgm@gnu.org>
47 * progmodes/compile.el (compilation-error-regexp-alist):
48 Fix custom type. (Bug#7812)
50 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
52 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
53 allout-number-siblings, in keeping with what obtained due to
54 (now-defunct) allout-keybindings-list. Ditch repeat binding to
56 (allout-before-change-handler): Better expose spots affected by
59 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
61 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
63 2011-01-22 Phil Hagelberg <phil@evri.com>
65 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
66 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
67 (pcmpl-ssh-config-hosts): New function.
68 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
69 pcmpl-ssh-known-hosts.
71 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
73 * calc/calc-undo.el (calc-undo): Autoload it.
74 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
75 and autoload for `calc-undo'.
76 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
79 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
81 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
83 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
84 keybindings to `calc-undo'.
86 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
88 Don't mess with *temp*.
89 * obsolete/spell.el: Move from textmodes/spell.el.
91 * term.el (term-read-input-ring):
92 * startup.el (display-startup-echo-area-message):
93 * progmodes/antlr-mode.el (antlr-directory-dependencies):
94 * comint.el (comint-read-input-ring): Use with-temp-buffer.
95 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
98 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
100 * allout.el: (allout-institute-keymap): Use fset instead of
103 (allout-hotspot-key-handler): Check for non-control-modified
104 bindings for hotspot characters if there are no control-modified
107 * allout.el: Summary - migrate to defining allout mode using
108 define-minor-mode instead of defun. Significantly clean-up
109 internal keymap provisions, refactoring and, in the process,
110 removing a lot of accumulated cruft.
112 allout-mode-map is now a keymap by virtue of being a defalias to
113 allout-mode-map-value, which contains the actual keymap structure.
115 (allout-mode): Use define-minor-mode rather than defun.
116 Remove now-unnecessary minor-mode setup activities from the body.
117 Specify :keymap as allout-mode-map so the minor-mode-map-alist
118 entry will be '(allout-mode . allout-mode-map) - see
119 allout-mode-map-value, below. Adjust docstring to track changes.
120 (allout-minor-mode): Remove this defalias, now that we're using
122 (allout-mode-map): Set value to be 'allout-mode-map. The actual
123 keymap is allout-mode-map-value, via defalias.
124 (allout-mode-map-value): The variable holding the actual mode
125 keymap structure, by virtue of defalias from allout-mode-map.
126 (allout-compose-and-institute-keymap): Rename from
127 allout-bind-keys, and including the binding-composition
128 functionality of the former produce-allout-mode-map and
129 allout-setup-mode-map.
130 (allout-institute-keymap): Take over the "setup" part of the former
131 allout-setup-mode-map. Reassign allout-mode-map-value value and
133 (allout-command-prefix) (allout-prefixed-keybindings)
134 (allout-unprefixed-keybindings):
135 Use allout-compose-and-institute-keymap to process the bindings.
136 (allout-unprefixed-keybindings): Remove extraneous '?' question
138 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
139 user can customize if they want to use that binding.
140 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
141 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
142 elided that, previously, instead of the one for \C-h.)
143 (allout-hotspot-key-handler): Remove attempt to resolve the key
144 through the literal key-string lookup on allout-keybindings-list.
145 That probably hasn't worked for a Long Time, and removal of
146 allout-keybindings-list further simplifies the keybindings
148 (allout-pre-command-business): Use allout-mode-map-value instead
150 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
151 the bindings if they want to use a keybinding having a trailing
152 \C-h. No deprecation needed since this feature was never in a
154 (allout-keybindings-list): Remove. It's not been useful for a
155 while. (See allout-hotspot-key-handler changes, above.)
156 (produce-allout-mode-map): Remove. Consolidate into
157 allout-compose-and-institute-keymap.
158 (allout-mode-map-adjustments): Remove. No longer necessary with
159 removal of allout-preempt-trailing-ctrl-h.
160 (allout-setup-mode-map): Remove. Consolidate into
161 allout-compose-and-institute-keymap and allout-institute-keymap.
163 2011-01-20 Glenn Morris <rgm@gnu.org>
165 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
167 * simple.el (read-expression-history): Remove, it's in minibuf.c.
169 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
171 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
173 * files.el (find-alternate-file, basic-save-buffer)
174 (basic-save-buffer-2, revert-buffer, recover-file)
175 (kill-buffer-ask, abort-if-file-too-large)
176 (set-visited-file-name, write-file, backup-buffer)
177 (basic-save-buffer, save-some-buffers):
178 * dired-aux.el (dired-compress-file): Callers changed.
180 2011-01-19 Glenn Morris <rgm@gnu.org>
182 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
183 Also check the property status. (Bug#7861)
185 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
187 * net/tramp.el (tramp-debug-message): Extend function exclude
188 list. Use `regexp-opt'.
190 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
192 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
193 highlighting doesn't spill over subsequent lines.
195 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
196 keymap expression. Improve docstring.
198 * electric.el (electric-indent-post-self-insert-function):
199 Don't auto-indent for indent-to-left-margin, it's too often
202 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
204 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
205 spaces if the frame was resized, so that the full visible buffer
206 serves as canvas for strokes.
208 2011-01-16 Glenn Morris <rgm@gnu.org>
210 * info-xref.el (info-xref-docstrings): Replace cl function.
211 Also skip directories.
213 2011-01-16 Kevin Ryde <user42@zip.com.au>
215 * info-xref.el: Version 3.
216 (info-xref-check, info-xref-check-all): Move commentary details
217 into docstrings for better visibility.
218 Use compilation-mode for the results buffer.
219 (info-xref-output, info-xref-output-error, info-xref-with-output)
220 (info-xref-filename, info-xref-in-progress):
221 New internals for this.
222 (info-xref-check-list, info-xref-check-buffer)
223 (info-xref-check-all-custom): Use those.
224 (info-xref-output-buffer): Rename from info-xref-results-buffer.
225 (info-xref-output-heading): Rename from info-xref-filename-heading.
226 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
227 (info-xref-filename-heading): Move to output managing section.
228 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
229 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
230 (info-xref-subfile-p): Move to generic section with those two.
231 (info-xref-check-node): New function split from
232 info-xref-check-buffer, shared by info-xref-docstrings.
233 (info-xref-goto-node-p): Move to a checking section with that func.
234 (info-xref-unavail): New counter.
235 (info-xref-check-node): Use it.
236 (info-xref-with-output): Show count of unavailables at end of output.
237 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
238 symlinks. Exclude .texi files. Exclude Emacs backup files.
239 (info-xref-check-all-custom): Fix quietening viper-mode and
240 gnus-registry-install -- use setq not let so as not to unbind
243 2011-01-16 Juri Linkov <juri@jurta.org>
245 * isearch.el (isearch-abort): Don't quit if search has
246 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
248 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
250 * files.el (backup-buffer): Make last-resort backup file in
253 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
254 make it with permission 700.
256 2011-01-15 Kenichi Handa <handa@m17n.org>
258 * mail/rmailmm.el (rmail-mime-insert-header):
259 Set rmail-mime-coding-system to a cons whose car is the last coding
260 system used to decode the header.
261 (rmail-mime-find-header-encoding): New function.
262 (rmail-mime-insert-decoded-text):
263 Override rmail-mime-coding-system if it is a cons.
264 (rmail-show-mime): If only a header part was decoded, find the
265 coding system while ignoring mm-charset-override-alist.
267 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
269 * subr.el (event-start, event-end): Doc fix (Bug#7826).
271 2011-01-15 Kenichi Handa <handa@m17n.org>
273 * mail/rmailmm.el (rmail-mime-next-item)
274 (rmail-mime-previous-item): Delete them.
275 (rmail-mime-shown-mode): Recursively call for children.
276 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
278 (rmail-mime-raw-mode): Recursively call for children.
279 (rmail-mode-map): Change mapping of tab and backtab to
280 forward-button and backward-button respectively.
281 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
283 (rmail-mime-update-tagline): New function.
284 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
285 body display is changed.
286 (rmail-mime-toggle-button): Rename from rmail-mime-image.
287 (rmail-mime-image): Delete this button type.
288 (rmail-mime-toggle): New button type.
289 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
290 body display is changed. Change the save button label to "Save".
291 Don't process show/hide button here.
292 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
293 the body display is changed. Unconditionally call
294 rmail-mime-insert for children.
295 (rmail-mime-handle): Update `display' vector of the just inserted
297 (rmail-mime-process): If mail-header-parse-content-type returns
298 nil, use "text/plain" as the fallback type.
299 (rmail-mime-insert): For raw-mode, recursively call
300 rmail-mim-insert for children.
301 (rmail-mime): Handle the case that the current buffer is not rmail
302 buffer (e.g. in summary buffer).
304 2011-01-15 Kenichi Handa <handa@m17n.org>
306 * mail/rmailmm.el (rmail-mime-next-item)
307 (rmail-mime-previous-item): Skip the body of a non-multipart
308 entity if a tagline is shown.
310 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
312 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
313 (tmm-prompt): Simplify.
314 (tmm-add-prompt): Remove unused var `win'.
316 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
317 to minor mode which used nil accidentally to mean "turn off".
319 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
321 * net/tramp-sh.el (tramp-find-inline-compress)
322 (tramp-get-inline-coding): Quote command after pipe symbol for
323 local calls under W32. (Bug#6784)
325 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
327 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
328 only when running under W32.
330 2011-01-15 Eli Zaretskii <eliz@gnu.org>
332 * progmodes/grep.el (grep-compute-defaults): Quote the program
333 file name after the pipe symbol in Grep templates. (Bug#6784)
334 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
336 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
338 * buff-menu.el (Buffer-menu-buffer-list): New var.
339 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
340 restricted buffer list is not lost on revert (Bug#7749).
342 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
344 * net/ldap.el (ldap-search-internal): Discard stderr output.
346 2011-01-15 Eli Zaretskii <eliz@gnu.org>
348 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
350 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
352 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
354 2011-01-15 Kenichi Handa <handa@m17n.org>
356 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
357 part as a plain text.
358 (rmail-mime-process-multipart): Set the default content-type to
359 nil for unknown multipart subtypes (bug#7651).
361 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
363 * hexl.el (hexl-mode-old-*): Remove.
364 (hexl-mode--old-var-vals): New var to replace them.
365 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
366 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
367 Use them to set local vars (bug#7846).
368 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
369 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
370 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
372 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
373 (smerge-resolve--normalize-re): New var.
374 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
375 (smerge-resolve): Use them.
376 * newcomment.el (comment-only-p): New function.
377 (comment-or-uncomment-region): Use it.
379 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
381 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
382 table, get the value before switching to the output buffer. (Bug#7733)
384 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
386 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
388 2011-01-14 Kim F. Storm <storm@cua.dk>
390 * emulation/cua-base.el (cua--init-keymaps):
391 Remap exchange-point-and-mark in cua-global-keymap.
393 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
395 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
398 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
400 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
402 (easy-menu-create-menu, easy-menu-convert-item-1):
403 Use :label rather than nil for labels. Use `case'.
404 Add :enable as alias for :active.
405 (easy-menu-binding): Obey :label.
407 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
409 Use run-mode-hooks for major mode hooks (bug#513).
410 * textmodes/reftex-toc.el (reftex-toc-mode-map):
411 Rename from reftex-toc-map.
412 (reftex-toc-mode): Use define-derived-mode.
413 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
414 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
415 Rename from reftex-select-(label|bib)-map. Move init into declaration.
416 (reftex-select-label-mode, reftex-select-bib-mode):
417 Use define-derived-mode.
418 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
419 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
420 Move init into delcaration.
421 (reftex-index-mode, reftex-index-phrases-mode):
422 Use define-derived-mode.
423 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
424 speedbar-syntax-table. Move init into declaration.
425 (speedbar-mode-map): Rename from speedbar-key-map.
426 Move init into declaration.
427 (speedbar-file-key-map): Move init into declaration.
428 (speedbar-mode): Use define-derived-mode.
429 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
430 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
431 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
432 (chart-face-list): Move initialization into declaration.
433 (chart-mode): Use define-derived-mode.
434 * calculator.el (calculator-mode-map): Move init into declaration.
435 (calculator-mode): Use define-derived-mode.
437 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
438 work for nested comments.
440 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
441 (prolog-use-prolog-tokenizer-flag): Change default when
442 syntax-propertize can be used.
443 (prolog-syntax-propertize-function): New var.
444 (prolog-mode-variables): Move make-local-variable into `set'.
445 Don't make comment-column local since we don't set it.
446 Set comment-add (as it was in previous prolog.el). Use dolist.
447 Set syntax-propertize-function.
448 (prolog-mode, prolog-inferior-mode):
449 Call prolog(-inferior)-menu directly, not through the mode-hook.
450 (prolog-buffer-module, prolog-indent-level)
451 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
452 (prolog-comment-limits, prolog-goto-comment-column):
453 Use line-(end|beginning)-position.
454 (prolog-build-prolog-command): Tighten up regexp.
455 (prolog-consult-compile): Move make-local-variable into `set'.
456 (prolog-consult-compile-filter, prolog-goto-next-paren)
457 (prolog-help-on-predicate, prolog-clause-info)
458 (prolog-mark-predicate): Don't let+setq.
459 (prolog-indent-line): Use indent-line-to.
460 Only call prolog-goto-comment-column if necessary.
461 (prolog-indent-level): Use bobp.
462 (prolog-first-pos-on-line): Remove, not used any more.
463 (prolog-in-string-or-comment): Use syntax-ppss if available.
464 (prolog-help-on-predicate): Use read-string.
465 (prolog-goto-predicate-info): Simplify.
466 (prolog-read-predicate): Use `default' rather than `initial'.
467 (prolog-temporary-file): Use make-temp-file to close a security hole.
468 (prolog-toggle-sicstus-sd): New command.
469 (prolog-electric-underscore, prolog-variables-to-anonymous):
470 Use dynamic-scoping as it was meant.
471 (prolog-menu): Move menu definitions to top-level.
472 Use a toggle-button for Sicstus's source debugger.
473 Change "Code" to the more usual "Prolog", and hence change "Prolog"
475 (prolog-inferior-menu): Reuse prolog-menu's help menu.
476 Move other menu definition to top-level.
478 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
480 * doc-view.el (doc-view-open-text): Use meaningful text buffer
481 name. Keep original document's directory as default-directory
483 (doc-view-initiate-display): Fall back to normal mode when
484 doc-view-mode cannot be enabled, also when extracting the document
485 text into a separate buffer (bug#6446).
487 * simple.el (shell-command): Don't error out if shell command
488 buffer contains text with non-nil read-only property when erasing
491 2011-01-13 Kim F. Storm <storm@cua.dk>
493 * ido.el (ido-may-cache-directory): Move "too-big" check later.
494 (ido-next-match, ido-prev-match): Fix stray reordering of matching
495 items when cycling through the matches.
497 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
499 * dired-x.el (dired-omit-verbose): New defcustom that allows
500 disabling the omit messages.
501 (dired-omit-expunge): Use it.
503 2011-01-13 Christian Ohler <ohler@gnu.org>
505 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
507 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
509 * font-lock.el (font-lock-verbose): Default to nil.
511 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
513 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
514 (compose-mail): New arg RETURN-ACTION.
515 (compose-mail-other-window, compose-mail-other-frame): Likewise.
517 * mail/sendmail.el (mail-return-action): New var.
518 (mail-mode): Make it buffer-local.
519 (mail-bury): Obey it. Move special Rmail window handling to
521 (mail, mail-setup): New arg RETURN-ACTION.
522 (sendmail-user-agent-compose): Move from simple.el.
524 * mail/rmail.el (rmail-mail-return): New function.
525 (rmail-start-mail): Pass it to compose-mail.
527 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
529 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
530 menus. Add menu item for customize-themes.
532 * cus-theme.el (customize-themes):
533 * emacs-lisp/package.el (package--list-packages):
534 Use switch-to-buffer.
536 2011-01-11 Johan Bockgård <bojohan@gnu.org>
538 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
540 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
542 * progmodes/prolog.el: Fix up coding convention and such.
543 (prolog-indent-width): Use the same default as in
544 previous prolog.el rather than tab-width which depends on which buffer
545 is current when the file is loaded.
546 (prolog-electric-newline-flag): Only enable if electric-indent-mode
548 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
549 (prolog-known-systems): Remove.
550 (prolog-mode-syntax-table, prolog-inferior-mode-map):
551 Move initialization into declaration.
552 (prolog-mode-map): Move initialization into declaration.
553 Remove system-specific mode-map vars, since they referred to the same
555 (prolog-mode-variables): Obey the user's preference w.r.t
556 adaptive-fill-mode. Prefer symbol-value to `eval'.
557 (prolog-mode-keybindings-edit): Add compatibility bindings.
558 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
559 (mercury-mode-map): New var.
560 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
561 (prolog-ensure-process, prolog-process-insert-string)
562 (prolog-consult-compile): Use with-current-buffer.
563 (prolog-guess-fill-prefix): Simplify data flow.
564 (prolog-replace-in-string): New function to use instead of
566 (prolog-enable-sicstus-sd): Don't abuse `eval'.
567 (prolog-uncomment-region): Use `uncomment-region' when available.
568 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
569 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
570 of int-to-char and char-to-int.
571 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
573 2011-01-11 Stefan Bruda <stefan@bruda.ca>
575 * progmodes/prolog.el: Replace by a whole new file.
577 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
579 * subr.el (eval-after-load): Fix timing for features (bug#7769).
580 (declare-function, undefined, insert-for-yank)
581 (replace-regexp-in-string): Follow checkdoc's recommendations.
583 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
585 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
586 refreshing the diary buffer.
588 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
590 * allout.el: Add 2011 to the file copyright.
591 (allout-encrypt-string): Prevent encryption from adding an extra
592 newline at the end of the topic body.
593 (allout-version): Increment to 2.3.
595 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
597 * net/dbus.el (dbus-unregister-service): Complete doc.
598 Fix call of dbus-error signal.
599 (dbus-register-property): Use `dont-register' keyword.
601 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
603 * net/dbus.el (dbus-unregister-service): Translate returned
604 integer into a symbol.
605 (dbus-register-property): Use `dbus-register-service' to do the
608 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
610 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
611 Suggested by Joakim Verona.
613 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
615 * wid-edit.el (visibility): Replace :on-image and :off-image
616 widget properties with :on-glyph and :off-glyph, for consistency
617 with the `visibility' widget.
618 (widget-toggle-value-create, widget-visibility-value-create):
619 Merge into a single function `widget-toggle-value-create'.
621 * cus-edit.el (custom-variable-value-create, custom-visibility)
622 (custom-face-edit-value-create, custom-face-value-create):
623 Replace :on-image and :off-image widget properties with :on-glyph and
624 :off-glyph, for consistency with the `visibility' widget.
626 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
628 * net/ldap.el (ldap-search-internal): Don't use eval.
630 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
632 * subr.el (read-char-choice): Use read-key.
634 * custom.el (custom-safe-themes): Rename from
635 custom-safe-theme-files. Add :risky tag.
636 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
637 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
639 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
641 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
642 from Search and add a label to Undo.
644 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
645 inappropriate buttons and adding :vert-only tags.
647 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
648 removal of Help tool-bar button. Remove Undo button for space.
650 * info.el (info-tool-bar-map): Add :vert-only tags.
652 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
654 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
655 image backend support. Either of them is fine.
657 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
659 * subr.el (y-or-n-p): Doc fix.
661 * custom.el (custom-safe-theme-files): New defcustom.
662 (custom-theme-load-confirm): New function.
663 (load-theme): Load theme using `load', confirming with
664 custom-theme-load-confirm if necessary.
666 * subr.el (read-char-choice): New function, factored out from
667 dired-query and hack-local-variables-confirm.
669 * dired-aux.el (dired-query):
670 * files.el (hack-local-variables-confirm): Use it.
672 * dired-aux.el (dired-compress-file):
673 * files.el (abort-if-file-too-large, find-alternate-file)
674 (set-visited-file-name, write-file, backup-buffer)
675 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
676 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
677 Use new format string args for y-or-n-p and yes-or-no-p.
679 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
681 * progmodes/compile.el (compilation-error-regexp-alist-alist)
682 [gcc-include]: Tighten file name match, add match for column
684 [gnu]: Remove unused group.
686 2011-01-08 Glenn Morris <rgm@gnu.org>
688 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
690 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
692 2011-01-07 Sam Steingold <sds@gnu.org>
694 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
695 the `explicit-shell-file-name' because that is the
696 non-interactive shell.
698 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
700 * subr.el (y-or-n-p): Accept format string args.
702 2011-01-07 Glenn Morris <rgm@gnu.org>
704 * Makefile.in (EMACSOPT): Add --no-site-lisp.
706 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
708 * allout.el (allout-back-to-current-heading): Ensure return to
709 the visible containing topic, rather than a collapsed one.
710 (allout-view-change-hook): Remove hook that was deprecated long ago.
711 (allout-exposure-change-hook): Remove documentation remarks
712 concerning removed allout-view-change-hook.
713 (allout-flag-region): Remove invocation of and documentation
714 remarks concerning allout-view-change-hook.
716 2011-01-06 Glenn Morris <rgm@gnu.org>
718 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
719 (vc-bzr-annotate-extract-revision-at-line):
720 Handle authors with embedded spaces. (Bug#7792)
722 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
724 * doc-view.el (doc-view-image-width): New variable.
725 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
726 backend for PNG images, and do dynamic rescaling instead of
727 reconverting the whole doc.
729 2011-01-05 Glenn Morris <rgm@gnu.org>
731 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
733 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
735 * allout.el: Reconcile with changes in line movement behavior for
736 long text lines that cross more than a single physical window
737 line, ie when truncate-lines is nil.
738 (allout-next-visible-heading): Provide for change in line-move
739 behavior on long lines when truncate-lines is nil. In that case,
740 line-move can wind up on the same textual line when it moves to
741 the next window line, and moving to the bullet position after the
742 move yields zero advancement. Add logic to detect and compensate
743 for the lack of progress.
744 (allout-current-topic-collapsed-p): move-end-of-line respect for
745 field boundaries is different when operating with body lines
746 shorter than window width versus ones greater than window width,
747 which can yield false negatives in this function. Avoid
748 difference by applying move-end-of-line while field-text-motion is
751 2011-01-04 Glenn Morris <rgm@gnu.org>
753 * textmodes/rst.el (rst-compile-toolsets):
754 Add pdf and s5 to option alist.
756 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
758 * net/dbus.el (dbus-register-property): Add optional parameter
759 dont-register-service. Updated docstring accordingly.
761 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
763 * textmodes/rst.el (rst-compile-pdf-preview)
764 (rst-compile-slides-preview): Remove extra line.
766 2011-01-04 Glenn Morris <rgm@gnu.org>
768 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
769 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
770 default to `prog' without a .py extension.
771 (rst-compile-pdf-preview, rst-compile-slides-preview):
772 Use program names from rst-compile-toolsets, rather than hard-coding.
773 (rst-portable-mark-active-p): Fix presumed typo.
775 2011-01-02 Eli Zaretskii <eliz@gnu.org>
777 * term/w32-win.el (dynamic-library-alist): Set up correctly for
778 libpng versions both before and after 1.4.0. (Bug#7716)
780 2011-01-02 Eli Zaretskii <eliz@gnu.org>
782 * time.el (display-time-mode): Mention display-time-interval in
783 the doc string. (Bug#7713)
785 2011-01-02 Kenichi Handa <handa@m17n.org>
787 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
788 condition-case and return an error message string if something
790 (rmail-show-mime): Adjust for the above change. Insert the
791 header by rmail-mime-insert-header.
793 2011-01-02 Kenichi Handa <handa@m17n.org>
795 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
796 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
797 (rmail-mime-mbox-buffer)
798 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
799 (rmail-mime-entity): Argument changed. All codes handling an
800 entity object are changed.
801 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
803 (rmail-mime-entity-children, rmail-mime-entity-handler)
804 (rmail-mime-entity-tagline): New functions.
805 (rmail-mime-message-p): New function.
806 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
807 (rmail-mime-entity-segment, rmail-mime-next-item)
808 (rmail-mime-previous-item, rmail-mime-shown-mode)
809 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
810 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
811 (rmail-mime-insert-tagline, rmail-mime-insert-header):
813 (rmail-mime-text-handler): Call rmail-mime-insert-text.
814 (rmail-mime-insert-decoded-text): New function.
815 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
816 (rmail-mime-insert-image): Argument changed. Caller changed.
817 (rmail-mime-image): Call rmail-mime-toggle-hidden.
818 (rmail-mime-set-bulk-data): New funciton.
819 (rmail-mime-insert-bulk): Argument changed.
820 (rmail-mime-multipart-handler): Return t.
821 (rmail-mime-process-multipart): Argument changed.
822 Handle "multipart/alternative" here.
823 (rmail-mime-process): Argument changed.
824 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
825 (rmail-mime-insert): Argument changed. Handle raw display mode.
826 (rmail-mime): Argument changed. Handle toggling of raw display
828 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
829 rmail-mime-view-buffer.
830 (rmail-insert-mime-forwarded-message): Likewise.
831 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
833 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
834 non-nil, handle the header in rmail-show-mime-function.
836 2011-01-02 Leo <sdl.web@gmail.com>
838 * help-fns.el (describe-variable): Fix previous change.
840 2011-01-02 Juri Linkov <juri@jurta.org>
842 * isearch.el (isearch-lazy-highlight-error): New variable.
843 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
844 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
845 to the current value of `isearch-error' (Bug#7468).
847 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
849 * help-fns.el (describe-variable): Don't emit trailing whitespace
852 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
854 * textmodes/rst.el (rst-compile-pdf-preview)
855 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
857 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
859 * emulation/edt-mapper.el: Override mapping of function keys so
860 that the later call to read-key-sequence works.
862 2011-01-02 Eli Zaretskii <eliz@gnu.org>
864 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
865 Unix EOLs. (Bug#7589)
867 2011-01-02 Leo <sdl.web@gmail.com>
869 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
870 if point is not behind eshell-last-output-end (Bug#7585).
872 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
874 * files.el (file-local-variables-alist):
875 Make permanent-local (bug#7767).
877 2011-01-02 Glenn Morris <rgm@gnu.org>
879 * version.el (emacs-copyright): Set short copyright year to 2011.
881 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
883 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
884 an existing temp buffer. (Bug#7746)
886 2011-01-02 Glenn Morris <rgm@gnu.org>
888 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
889 multiple addresses. (Bug#7760)
891 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
893 * allout.el (allout-auto-fill): Do not infinitely recurse - use
894 do-auto-fill if everything points back to allout-auto-fill.
895 (allout-mode-deactivate-hook): Declare obsolete, in favor of
896 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
898 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
900 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
903 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
905 * doc-view.el (doc-view-set-doc-type): New function refactored
907 (doc-view-fallback-mode): New function.
908 (doc-view-mode): Use it.
909 (doc-view-mode-maybe): New function that checks if doc-view-mode
910 can be used and falls back to the next best mode otherwise.
912 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
913 DVI, OpenDocument, and MS Office files.
915 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
917 * emacs-lisp/rx.el (rx-syntax): Fix typo.
919 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
921 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
922 on a copy of auto-mode-alist, because that deletes with side
925 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
927 * doc-view.el (doc-view-mode, doc-view-toggle-display):
928 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
929 fallback instead of hard coding fundamental mode.
931 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
933 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
934 Office) files also for searching.
936 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
938 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
939 Office) files. Not yet enabled via auto-mode-list.
940 (doc-view-unoconv-program): New custom variable.
941 (doc-view-mode-p): Handle new odf document type.
942 (doc-view-odf->pdf): New conversion function.
943 (doc-view-convert-current-doc): Call it for odf files.
944 (doc-view-mode): Recognize newly supported file extensions.
946 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
948 * net/tramp.el (tramp-default-method-alist)
949 (tramp-default-user-alist)
950 (tramp-local-host-regexp, tramp-prefix-domain-format)
951 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
958 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
959 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
961 2010-12-29 Karl Fogel <kfogel@red-bean.com>
963 * saveplace.el (save-place-alist-to-file): Save list sorted and
964 pretty-printed, so that it is mergeable by line-based text merging,
965 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
967 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
969 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
970 (allout-mode): Argument "toggle" => "force".
971 Refine the docstring.
972 Remove special provisions for reactivation, besides the 'force'
974 Consolidate layout provisions coce directly into the activation
975 condition branch, now that we've removed those provisions.
976 (allout-unload-function): Explicitly activate the mode before
977 deactivating, if it's initially deactivated.
978 (allout-set-buffer-multibyte): Properly prevent byte-compiler
979 warnings for version of function used only where
980 set-buffer-multibyte is unavailable.
982 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
984 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
985 are handled by the menu-bar entries. As before, don't use
986 :visibile to avoid changing the tool-bar.
988 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
990 * net/secrets.el (secrets-delete-alias): New defun.
992 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
994 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
995 methods, otherwise ~/.ssh/config would be ignored.
997 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
999 * emacs-lisp/rx.el: Make it a superset of sregex.
1000 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1001 of args, add `regex' alias.
1002 (rx-info): Add arg to distinguish head and standalone forms.
1003 (rx-check, rx-form): Pass the corresponding arg.
1005 (rx-repeat): Make it work for any number of args.
1006 (rx-syntax): Make it accept syntax chars as is.
1007 * obsolete/sregex.el: Move from emacs-lisp/.
1008 * emacs-lisp/re-builder.el: Remove sregex support.
1009 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1011 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1013 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1014 PRIMARY first, then the clipboard. (Bug#7699)
1016 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1021 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1023 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1024 .emacs.elc (Bug#7530).
1026 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1027 image spec (Bug#7480).
1029 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1031 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1032 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1035 2010-12-20 Leo <sdl.web@gmail.com>
1037 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1038 always be performed (Bug#7680).
1040 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1042 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1043 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1046 * color.el: Move from gnus/.
1048 * vc/diff.el (diff-better-file-name): Function deleted.
1049 abbreviating file names causes problems with shell-quote-argument.
1050 (diff-no-select): Just use expand-file-name.
1052 * tool-bar.el (tool-bar--image-expression): New function.
1053 (tool-bar-local-item, tool-bar--image-exp): Use it.
1054 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1055 Use :enable instead of :visible to avoid changing the tool-bar
1056 configuration unnecessarily.
1058 * info.el (info-tool-bar-map): Add separators.
1060 2010-12-17 Ken Brown <kbrown@cornell.edu>
1062 * loadup.el: Use version numbers in Cygwin build.
1064 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1066 * ido.el (ido-file-internal): Ask for confirmation before
1067 overwriting an existing file (Bug#1238).
1069 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1071 * tool-bar.el (tool-bar-setup): Add separators.
1073 * menu-bar.el (featurep): Use menu-bar-separator.
1075 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1077 Migrate allout encryption provisions from pgg to epg.
1079 * allout.el (allout-toggle-current-subtree-encryption)
1080 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1081 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1082 for simpler universal argument interpretation.
1083 (allout-toggle-subtree-encryption): Adjust docstring to describe
1084 changed encryption provisions. Change fetch-pass to keymode-cue, for
1085 simpler universal argument interpretation. Remove provisions for
1086 handling key type and identity - they'll all be within
1087 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1088 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1089 for keypair recipients (universal argument > 1) and, in addition,
1090 associating the specified recipients with the outline (universal
1091 argument > 4) using a file local variable setting for
1092 'epa-file-encrypt-to'.
1093 Require epa, for recipients handling.
1094 Change how regexp filtering elements are named.
1095 Describe the problem with caching of incorrect symmetric-decryption
1097 Use the epa-passphrase-callback-function, in case the user is using
1099 Support saving of the selected keypair recipients when invoked with a
1101 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1103 Establish epg-context with armoring and default epg-protocol.
1104 Remove all passphrase cache, verification, and hinting code.
1105 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1106 No longer used, delete.
1107 (allout-mode): Adjust docstring to describe changed encryption
1108 provisions. Describe the problem with caching of incorrect
1109 symmetric-decryption keys.
1110 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1111 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1112 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1113 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1116 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1118 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1119 key selection prompt; make 'silent as default (Bug#7487).
1121 2010-12-16 Leo <sdl.web@gmail.com>
1123 * eshell/eshell.el (eshell-directory-name):
1124 Use locate-user-emacs-file (Bug#7578).
1126 2010-12-15 Glenn Morris <rgm@gnu.org>
1128 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1130 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1131 Scott Evans <gse@antisleep.com>
1133 * rect.el (rectange--default-line-number-format)
1134 (rectangle-number-line-callback): New functions.
1135 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1137 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1139 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1140 Delete unused variables.
1141 (move-to-column-force): Remove function obsolete since 21.2.
1143 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1145 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1146 (tramp-handle-insert-file-contents): Do not set permanent-local
1149 * net/tramp-cache.el (tramp-persistency-file-name):
1150 Use `locate-user-emacs-file' if fboundp.
1152 * net/tramp-sh.el (tramp-methods): Add "ksu".
1153 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1156 2010-12-14 Glenn Morris <rgm@gnu.org>
1158 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1159 (find-tag-marker-ring): Declare.
1160 (js-find-symbol): Require etags.
1162 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1164 (mail-alias-file): Don't autoload. Doc fix.
1165 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1166 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1167 Mark as obsolete, and risky.
1168 (mail-setup): Simplify.
1170 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1171 * mail/sendmail.el (build-mail-aliases): Update autoload.
1173 * dired.el (dired-trivial-filenames, dired-chown-program)
1174 (dired-auto-revert-buffer): Remove autoload cookies.
1175 * mail/sendmail.el (mail-recover-1): Require 'dired.
1177 * dired.el (dired-subdir-switches, dired-chown-program)
1178 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1179 Make into defcustoms.
1180 (dired-chown-program): Simplify initialization.
1182 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1184 2010-12-13 Romain Francoise <romain@orebokech.com>
1186 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1188 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1190 * net/netrc.el (netrc-point-at-eol): Remove the unused
1191 netrc-point-at-old and netrc-bound-and-true-p bindings.
1192 (netrc-parse): Cache the netrc contents.
1194 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1196 * subr.el (posn-col-row): Evaluate header-line-format in the
1197 context of the POSITION window's buffer.
1199 2010-12-13 Glenn Morris <rgm@gnu.org>
1201 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1202 (with-silent-modifications): Doc fixes.
1204 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1206 * net/tramp.el (tramp-action-password, tramp-process-actions):
1207 Revert previous from. Use `save-restriction'.
1209 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1211 * calendar/diary-lib.el (diary-list-sexp-entries):
1212 Handle case of no newline at end of file. (Bug#7536)
1214 2010-12-13 Glenn Morris <rgm@gnu.org>
1216 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1218 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1220 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1221 (tramp-process-actions): Do not widen.
1223 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1224 Protect buffer-modified value. (Bug#7557)
1226 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1228 * log-edit.el (log-edit-changelog-entries):
1229 Regexp quote filename. (Bug#7505)
1231 2010-12-13 Tom Breton <tehom@panix.com>
1233 * cus-edit.el (custom-save-all):
1234 Bind print-length and print-level to nil. (Bug#7581)
1236 2010-12-13 Glenn Morris <rgm@gnu.org>
1238 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1239 Run hooks to update menu contents. (Bug#7586)
1241 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1242 file names, for the sake of MS Windows. (Bug#7588)
1244 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1247 empty lines without a leading space.
1249 2010-12-13 Leo <sdl.web@gmail.com>
1251 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1252 while mapping over marks (Bug#6810).
1254 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1256 * image-dired.el (image-dired-db-file)
1257 (image-dired-temp-image-file, image-dired-gallery-dir)
1258 (image-dired-temp-rotate-image-file): Set default values relative
1259 to image-dired-dir (Bug#7518).
1261 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1263 * format.el (format-decode-run-method): Pass args FROM and TO, not
1264 point-min and point-max, to shell-command-on-region (Bug#7488).
1266 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1268 * frame.el (blink-cursor-mode): Make default t for ns.
1270 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1272 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1274 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1276 * comint.el (comint-dynamic-list-input-ring)
1277 (comint-dynamic-complete-filename)
1278 (comint-replace-by-expanded-filename)
1279 (comint-dynamic-simple-complete)
1280 (comint-dynamic-list-filename-completions)
1281 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1283 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1286 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1288 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1291 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1293 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1296 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1298 * files.el (file-relative-name): Handle UNC file names on
1299 DOS/Windows. (Bug#4674)
1301 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1303 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1304 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1305 (epg-context-set-passphrase-callback): Mention that the callback
1306 is not called when used with GnuPG 2.x.
1308 2010-12-13 Glenn Morris <rgm@gnu.org>
1310 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1311 Ensure ps-footer-font-size-internal is initialized.
1312 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1314 2010-12-13 Kenichi Handa <handa@m17n.org>
1316 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1317 within condition-case.
1318 (rmail-show-mime): Don't use condition-case.
1319 (rmail-search-mime-message): New function.
1320 (rmail-search-mime-message-function): Set to
1321 rmail-search-mime-message.
1323 2010-12-13 Leo <sdl.web@gmail.com>
1325 * ido.el (ido-common-initialization): New function. (bug#3274)
1327 (ido-completing-read): Call it.
1329 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1331 * bookmark.el (bookmark-name-from-full-record): Rename back to
1332 this original name from `bookmark-name-from-record' reverting part
1333 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1334 As Drew Adams pointed out, there was no reason to cause churn for
1335 third-party callers.
1337 2010-12-12 Alan Mackenzie <acm@muc.de>
1339 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1340 template arglist, check that the current language supports this.
1342 2010-12-11 Glenn Morris <rgm@gnu.org>
1344 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1345 state of the file matches. (Bug#7544)
1346 (vc-bzr-register, vc-bzr-checkin)
1347 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1348 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1350 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1352 2010-12-11 Karel Klíč <kklic@redhat.com>
1354 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1356 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1358 Derive from prog-mode, use derived-mode-p, and fix up various
1359 minor style issues in lisp/progmodes.
1361 * progmodes/vhdl-mode.el (vhdl-mode):
1362 * progmodes/verilog-mode.el (verilog-mode):
1363 * progmodes/vera-mode.el (vera-mode):
1364 * progmodes/sql.el (sql-mode):
1365 * progmodes/scheme.el (scheme-mode):
1366 * progmodes/perl-mode.el (perl-mode):
1367 * progmodes/octave-inf.el (inferior-octave-mode):
1368 * progmodes/autoconf.el (autoconf-mode):
1369 * progmodes/m4-mode.el (m4-mode):
1370 * progmodes/inf-lisp.el (inferior-lisp-mode):
1371 * progmodes/idlwave.el (idlwave-mode):
1372 * progmodes/icon.el (icon-mode):
1373 * progmodes/idlw-help.el (idlwave-help-mode):
1374 * progmodes/dcl-mode.el (dcl-mode):
1375 * progmodes/idlw-shell.el (idlwave-shell-mode):
1376 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1377 (ebrowse-member-mode, ebrowse-electric-position-mode):
1378 Use define-derived-mode.
1380 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1381 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1382 (xscheme-debugger-mode-p, xscheme-send-string-1):
1383 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1384 (tcl-load-file, tcl-restart-with-file):
1385 * progmodes/ps-mode.el (ps-run-running):
1386 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1387 * progmodes/js.el (js--get-all-known-symbols):
1388 * progmodes/inf-lisp.el (inferior-lisp-proc):
1389 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1390 (idlwave-template, idlwave-update-buffer-routine-info)
1391 (idlwave-update-current-buffer-info)
1392 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1393 (idlwave-scan-class-info, idlwave-fix-keywords)
1394 (idlwave-list-buffer-load-path-shadows):
1395 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1396 (idlwave-toolbar-remove):
1397 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1398 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1399 (idlwave-shell-menu-def):
1400 * progmodes/idlw-complete-structtag.el
1401 (idlwave-prepare-structure-tag-completion):
1402 * progmodes/gud.el (gud-set-buffer):
1403 * progmodes/f90.el (f90-backslash-not-special):
1404 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1406 * progmodes/xscheme.el (xscheme-start)
1407 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1408 * progmodes/which-func.el (which-function):
1409 * progmodes/vhdl-mode.el (vhdl-set-style):
1410 * progmodes/verilog-mode.el (verilog-set-compile-command)
1411 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1412 (verilog-set-define, verilog-auto-reeval-locals):
1413 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1414 * progmodes/simula.el (simula-mode):
1415 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1416 * progmodes/python.el (python-check, python-mode):
1417 * progmodes/prolog.el (prolog-mode-variables):
1418 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1419 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1420 * progmodes/delphi.el (delphi-mode):
1421 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1422 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1423 (c-font-lock-init): Move make-local-variable to their setq.
1425 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1426 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1428 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1429 (sh-set-shell): Don't set require-final-newline since it's already done
1431 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1432 since we never set it.
1433 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1434 Use read-string and standard prompt.
1435 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1436 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1437 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1438 (meta-common-mode-map): Rename from meta-mode-map.
1439 Remove C-m binding, which is a user preference, not mode specific.
1440 (meta-common-mode): New major mode; replace meta-common-initialization.
1441 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1442 around with font-lock.
1443 * progmodes/etags.el (select-tags-table-mode):
1444 Derive from special-mode.
1445 * progmodes/octave-mod.el (octave-mode):
1446 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1447 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1448 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1449 Let define-derived-mode do its job.
1450 * progmodes/cpp.el (cpp-edit-mode-map):
1451 Move initialization into declaration.
1452 (cpp-edit-mode): Use define-derived-mode.
1453 (cpp-edit-load): Use derived-mode-p.
1454 * progmodes/mixal-mode.el (mixal-mode):
1455 * progmodes/f90.el (f90-mode):
1456 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1457 require-final-newline since prog-mode does it already.
1458 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1459 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1460 * progmodes/antlr-mode.el: Require cc-mode upfront.
1461 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1463 (antlr-directory-dependencies, antlr-show-makefile-rules):
1465 (antlr-language-option): Don't assume point-min==1.
1466 (antlr-mode): Use define-derived-mode.
1467 * progmodes/ada-mode.el: Use derived-mode-p.
1468 (ada-mode): Use define-derived-mode.
1469 Use hack-local-variables-hook.
1471 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1474 (texinfo-mode): Don't disable adaptive-fill-mode.
1475 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1476 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1477 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1478 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1479 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1480 (texinfo-insert-@quotation, texinfo-insert-@samp)
1481 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1482 (texinfo-insert-@uref): Use define-skeleton.
1483 (texinfo-insert-@-with-arg): Delete.
1485 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1487 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1488 nil, do quote archive member names. (Bug#6144)
1490 2010-12-10 Glenn Morris <rgm@gnu.org>
1492 * files.el (diff-no-select): Declare.
1494 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1495 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1497 * comint.el (comint-input-ring-file-name): Doc fix.
1499 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1501 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1503 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1504 Use them instead of `nil' and `>', respectively.
1505 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1507 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1508 and menu-bar-positive-p instead of `nil' and `>', respectively.
1511 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1513 * whitespace.el (whitespace-newline-mode): Code fix.
1515 2010-12-09 Glenn Morris <rgm@gnu.org>
1517 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1518 Rename functions without commas, update callers.
1520 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1522 * whitespace.el (whitespace-cleanup-region):
1523 Clean up spaces before tabs. (Bug#7582)
1525 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1527 * bookmark.el: Adjust parameter names and doc strings to resolve
1528 confusion over whether "bookmark" meant a bookmark name or a
1529 bookmark record. Along the way, shorten one function's name for
1530 similar reasons. (Issue #7548)
1531 (bookmark-name-from-record): New name for
1532 `bookmark-name-from-full-record'. All callers changed.
1533 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1534 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1535 (bookmark-get-annotation, bookmark-set-annotation)
1536 (bookmark-get-filename, bookmark-set-filename)
1537 (bookmark-get-position, bookmark-set-position)
1538 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1539 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1540 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1541 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1542 Rename `bookmark' parameter to `bookmark-name-or-record', to
1543 clearly show its role, and shorten or adjust doc strings accordingly.
1544 (bookmark-set-name): Same, and pass the parameter directly to
1545 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1546 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1547 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1548 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1549 and in some cases shorten doc string accordingly.
1550 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1551 and `new-name', and adjust an internal variable to avoid confusion.
1552 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1553 parameter in doc string.
1555 2010-12-08 Glenn Morris <rgm@gnu.org>
1557 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1558 from gdb's history file. (Bug#7575)
1560 * mail/emacsbug.el (report-emacs-bug):
1561 Try to handle some other mail clients.
1563 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1566 Use string-prefix-p.
1567 (file-name-version-regexp): New var.
1568 (file-name-sans-versions):
1569 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1570 (jka-compr-get-compression-info): Use dolist.
1571 (jka-compr-compression-info-list): Don't bother specifying
1572 version/backup regexps.
1574 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1576 * simple.el (just-one-space): Make argument n default to 1 if
1579 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * electric.el (electric-indent-post-self-insert-function):
1582 Delete trailing newlines even if we don't reindent.
1584 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1586 * minibuffer.el (completion-at-point): Remove the `arg'.
1587 * bindings.el (complete-symbol): Move back from minibuffer.el.
1589 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1591 * simple.el (just-one-space): Delete newlines for negative arg.
1593 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1596 (ansi-color-filter-apply): Simplify.
1597 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1599 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1601 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1603 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1605 * dired.el (dired-use-ls-dired): Set default to a special
1606 "unspecified" value.
1607 (dired-insert-directory): When called the first time, check
1608 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1610 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1612 * replace.el: Add "collect" feature to occur.
1613 (occur-collect-regexp-history): New var.
1614 (occur-read-primary-args): Return a replace string for nlines,
1616 (occur): Extend the meaning of nlines.
1618 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1621 (which-func-update-1): Distinguish symbols from strings.
1622 (which-function): Stay within 80 columns.
1624 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1628 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1630 (comment-style): Use comment-styles's docs to describe values.
1632 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1634 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1635 and ns-show-prefs (Bug#7535).
1637 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1638 bindings (Bug#7535).
1640 2010-12-03 Glenn Morris <rgm@gnu.org>
1642 * nxml/nxml-mode.el: Require rng-nxml.
1643 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1644 Remove declarations.
1646 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1647 * nxml/rng-nxml.el, nxml/rng-valid.el:
1648 Remove leading `*' from defcustom docs.
1650 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1651 (normal-top-level-add-to-load-path, tty-handle-args):
1652 Convert comments to basic doc-strings.
1654 * net/browse-url.el (browse-url-url-at-point)
1655 (browse-url-default-browser): Remove autoload cookies.
1657 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1658 Remove more undefined cl functions.
1660 * vc/diff.el (diff-sentinel): Make new arguments optional.
1661 * ibuf-ext.el (diff-sentinel): Update declaration.
1663 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1665 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1666 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1667 (epg-context-set-passphrase-callback): Mention that the callback
1668 is not called when used with GnuPG 2.x.
1670 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1672 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1673 (tramp-file-name-port): Check also for `tramp-default-port'.
1674 (tramp-get-connection-name): New defun.
1675 (tramp-get-connection-process): Use it.
1676 (tramp-debug-message): Extend function exclude list.
1677 (tramp-drop-volume-letter): Fix doc string.
1679 * net/tramp-cmds.el: Remove solved todo item.
1683 * net/tramp-gvfs.el:
1685 * net/tramp-imap.el:
1686 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1687 and `tramp-default-user-alist', respectively.
1689 * net/tramp-gw.el (tramp-gw-open-connection):
1690 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1692 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1693 `tramp-file-name-port'.
1695 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1696 and "psftp". Exchange "%k" marker with options.
1697 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1698 Compute size of link target.
1699 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1700 `tramp-current-*' up due to gateway methods. Optimze computing of
1701 copy arguments. Use `tramp-get-connection-name' and
1702 `tramp-get-connection-buffer'. Improve debug messages.
1703 (tramp-compute-multi-hops): Remove port determination.
1704 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1706 * net/trampver.el: Update release number.
1708 2010-12-02 Glenn Morris <rgm@gnu.org>
1710 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1711 Avoid infinite loop over windows. (Bug#7492)
1713 * progmodes/flymake.el (flymake-check-file-limit):
1714 Allow nil to mean "no limit".
1715 (flymake-check-patch-master-file-buffer): Update for above change.
1716 Allow a .tex file-name extension to be optional.
1717 (flymake-master-tex-init): Also match \include statements.
1719 2010-11-30 Sam Steingold <sds@gnu.org>
1721 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1722 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1723 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1724 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1725 define-derived-mode').
1726 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1727 users who want to call `nxml-parent-document-set'.
1729 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1731 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1732 stand-alone lines, since that is handled by log-edit-match-to-eoh
1735 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1737 * dired.el (dired-get-filename): Replace backslashes with slashes
1738 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1739 * locate.el (locate-default-make-command-line): Don't consider
1740 drive letter and root directory part of
1741 `directory-listing-before-filename-regexp'. (Bug#7308)
1742 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1744 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1746 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1747 of :smie-open/close-alist.
1748 (smie-next-sexp): Make it accept a "start token" as argument.
1749 (smie-indent-keyword): Be careful not to misidentify tokens that span
1750 more than one line, as empty lines. Add argument `token'.
1752 2010-11-27 Kenichi Handa <handa@m17n.org>
1754 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1755 multipart subtypes, insert all as usual.
1757 * mail/rmail.el: Require rfc2047.
1759 2010-11-27 Kenichi Handa <handa@m17n.org>
1761 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1762 (rmail-mime-entity-disposition)
1763 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1764 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1765 (rmail-mime-save): Handle the case that the button's `data' is a
1767 (rmail-mime-insert-text): New function.
1768 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1769 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1770 (rmail-mime-insert-bulk): New function mostly copied from the old
1771 rmail-mime-bulk-handler.
1772 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1773 (rmail-mime-process-multipart): New function mostly copied from
1774 the old rmail-mime-multipart-handler.
1775 (rmail-mime-show): Just call rmail-mime-process.
1776 (rmail-mime-process): New function mostly copied from the old
1778 (rmail-mime-insert-multipart, rmail-mime-parse)
1779 (rmail-mime-insert, rmail-show-mime)
1780 (rmail-insert-mime-forwarded-message)
1781 (rmail-insert-mime-resent-message): New functions.
1782 (rmail-insert-mime-forwarded-message-function): Set to
1783 rmail-insert-mime-forwarded-message.
1784 (rmail-insert-mime-resent-message-function): Set to
1785 rmail-insert-mime-resent-message.
1787 * mail/rmailsum.el: Require rfc2047.
1788 (rmail-header-summary): Handle multiline Subject: field.
1789 (rmail-summary-line-decoder): Change the default to
1790 rfc2047-decode-string.
1792 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1793 (rmail-mime-feature): Change the default to `rmailmm'.
1794 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1795 (rmail-display-labels): Likewise.
1796 (rmail-show-message-1): Check rmail-enable-mime, and use
1797 rmail-show-mime-function for a MIME message. Decode the headers
1798 according to RFC2047.
1800 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1802 * progmodes/which-func.el (which-func-imenu-joiner-function):
1803 Return a string, as expected.
1804 (which-function-mode): Make sure we stop any previous timer before
1807 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1809 * net/tramp.el (tramp-default-method-alist)
1810 (tramp-default-user-alist, tramp-default-proxies-alist):
1811 Adapt custom options type. (Bug#7445)
1813 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1815 * progmodes/python.el: Add Ipython support (Bug#5390).
1816 (python-shell-prompt-alist)
1817 (python-shell-continuation-prompt-alist): New options.
1818 (python--set-prompt-regexp): New function.
1819 (inferior-python-mode, run-python, python-shell):
1820 Require ansi-color. Use python--set-prompt-regexp to set the comint
1821 prompt based on the Python interpreter.
1822 (python--prompt-regexp): New var.
1823 (python-check-comint-prompt)
1824 (python-comint-output-filter-function): Use it.
1825 (run-python): Use a pipe (Bug#5694).
1827 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1829 * progmodes/python.el (run-python): Doc fix.
1830 (python-keep-current-directory-in-path): New var (Bug#7454).
1832 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1834 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1835 Prompt user before actually printing.
1837 2010-11-27 Glenn Morris <rgm@gnu.org>
1839 * startup.el (package-enable-at-startup, package-initialize):
1840 Remove unnecessary declarations.
1842 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1844 * international/characters.el (glyphless-char-display-control):
1845 Exclude newline and TAB from the c0-control group.
1847 2010-11-27 Glenn Morris <rgm@gnu.org>
1849 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1850 (expand-mail-aliases): Remove unnecessary autoload.
1852 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1854 * shell.el (shell-dir-cookie-re): Move definition before use.
1856 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1857 Replace undefined CL functions.
1859 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1861 * simple.el (prog-mode): Set bidi-paragraph-direction to
1864 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1866 2010-11-26 Glenn Morris <rgm@gnu.org>
1868 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1869 diary-outlook-formats can be sensitive to calendar-date-style.
1870 (diary-outlook-formats): Simplify the default setting.
1871 (diary-from-outlook-internal): Pass subject and body as arguments.
1872 Use dolist rather than dotimes. Don't save the diary buffer.
1873 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1874 Pass subject and body as explicit arguments to the -internal function.
1876 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1878 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1879 parsing them. This makes mailto:...?subject=foo\nbar work.
1881 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * vc/diff.el (diff): Fix last change.
1885 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1888 (pcase--dontcare-upats): New var.
1889 (pcase-let, pcase-let*): Generate better code.
1890 Accept the same bodies as `let'.
1891 (pcase-dolist): New macro.
1892 (pcase--trivial-upat-p): New helper function.
1893 (pcase--expand): Strip leading "(let nil" if any.
1895 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1897 * mail/mailclient.el (browse-url): Require.
1898 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1899 use the external browser function to send the mail (bug#7469).
1901 * net/browse-url.el (browse-url-browser-function): Revert the
1902 default back to the previous value, since the new value broke
1904 (browse-url-mailto-function): New variable for mailto: URLs.
1905 (browse-url): Use the new variable for mailto: URLs.
1907 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1909 * eshell/esh-cmd.el (eshell-parse-command):
1910 * eshell/esh-arg.el (eshell-parse-arguments):
1911 * eshell/em-script.el (eshell-source-file):
1912 Use with-silent-modifications.
1914 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1916 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1917 for a merge location.
1919 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1920 (vc-bzr-merge-branch): Always prompt.
1921 (vc-bzr-async-command): Use the full branch filename.
1923 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * shell.el (shell): Use current-buffer by default if it's already
1926 a shell mode buffer and its process is dead.
1927 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1929 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1931 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1932 Mention that the keywords should be comma separated.
1934 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1936 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1937 Accept optional prefix arg meaning to prompt for a command.
1938 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1939 prefix arg meaning to prompt for a command.
1940 (vc-pull): Alias for vc-update.
1942 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1943 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1944 (vc-bzr-merge-branch): New functions, implementing merge-branch
1945 and pull operations.
1947 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * Makefile.in: Fix up last merge.
1951 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1952 (diff-sentinel): Get them as arguments instead.
1953 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1954 (diff-file-local-copy, diff-better-file-name): New funs.
1955 (diff-no-select): Rename from diff-into-buffer.
1956 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1957 Prefer closures to buffer-local variables.
1958 (diff): Adjust accordingly.
1959 (diff-buffer-with-file): Move from files.el.
1960 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1961 (diff-buffer-internal): Remove.
1962 (diff-buffer-buffer): Remove.
1963 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1964 the buffer name used, and so as not to mess up windows and frames.
1966 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1968 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1969 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1970 (diff-buffer-with-file): Use it.
1971 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1974 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1976 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1977 \ref's or \pageref's value as default instead of initial input.
1979 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1981 * files.el (backup-by-copying-when-mismatch): The default value is
1984 * startup.el (normal-top-level):
1985 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1986 `backup-by-copying-when-mismatch'.
1988 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1990 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1992 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1994 * progmodes/python.el (python-font-lock-keywords):
1995 Highlight top-level augmented assignments (Bug#6445).
1997 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1999 * term/ns-win.el (ns-right-control-modifier)
2000 (ns-right-command-modifier): Defvar them.
2002 * cus-start.el (all): Add ns-right-control-modifier and
2003 ns-right-command-modifier (Bug#7458).
2005 2010-11-20 Glenn Morris <rgm@gnu.org>
2007 * emacs-lisp/authors.el (authors-ignored-files)
2008 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2010 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2012 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2013 (report-emacs-bug-parse-query-results)
2014 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2015 keywords used for querying the bug database to show them in the
2016 existing bugs buffer.
2018 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2020 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2022 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2024 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2026 * international/characters.el (glyphless-char-display-control):
2027 Make it a defcustom, with update-glyphless-char-display as its
2029 (top level): Don't call update-glyphless-char-display.
2031 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2033 Sync with Tramp 2.2.0.
2035 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2036 `file-remote-p' (due to compatibility).
2038 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2039 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2041 * net/trampver.el: Update release number.
2043 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2045 * faces.el (glyphless-char): Define value for `pc'.
2047 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2049 Implemented a bug querying mechanism.
2050 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2051 (report-emacs-bug-create-existing-bugs-buffer)
2052 (report-emacs-bug-parse-query-results)
2053 (report-emacs-bug-query-existing-bugs): New functions.
2055 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2057 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2058 a \ref{} or \pageref{} macro, then use its value as initial input.
2060 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2062 * calc/calc-units.el (math-build-units-table-buffer):
2063 calc/README: Mention that the TeX specific units won't use the
2064 `tex' prefix in TeX mode.
2065 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2066 prefix for units in TeX mode.
2068 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2070 * simple.el (kill-new, kill-append, kill-region):
2071 * comint.el (comint-kill-region): Make the yank-handler argument
2074 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2076 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2077 that are both openers (resp. closers) and something else.
2078 (smie-grammar): Loosen definition of valid values.
2079 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2080 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2081 (smie-indent-after-keyword): Adjust users.
2082 (smie-indent-keyword): Don't indent empty lines.
2084 * vc-hg.el (vc-hg-program): New var.
2085 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2086 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2088 2010-11-18 Glenn Morris <rgm@gnu.org>
2090 * emacs-lisp/autoload.el (autoload-find-destination): The function
2091 coding-system-eol-type may return non-numeric values. (Bug#7414)
2093 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2095 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2097 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2099 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2101 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2103 * textmodes/picture.el (picture-mouse-set-point): Don't use
2104 posn-col-row; explicitly compute the motion based on the posn at
2105 the window-start (Bug#7390).
2107 2010-11-18 Glenn Morris <rgm@gnu.org>
2109 * novice.el (disabled-command-function):
2110 Fix 2009-11-15 change. (Bug#7384)
2112 2010-11-18 Glenn Morris <rgm@gnu.org>
2114 * calendar/calendar.el (diary-iso-date-forms): Make elements
2115 mutually exclusive. (Bug#7377)
2117 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2119 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2120 when filling the remaining "unconstrained" values.
2122 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2127 * files.el (safe-local-variable-p): Gracefully handle errors.
2129 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2130 Use smie-indent-virtual when indenting relative to an opener.
2131 (smie-rule-separator): Use smie-rule-parent.
2132 (smie-indent-keyword): Consult rules, even for openers at bol.
2133 (smie-indent-comment-close): Try to align closer's content.
2135 2010-11-18 Glenn Morris <rgm@gnu.org>
2137 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2139 2010-11-18 Glenn Morris <rgm@gnu.org>
2141 * printing.el (pr-menu-bind): Doc fix.
2143 * speedbar.el (speedbar-toggle-images): Doc fix.
2145 * progmodes/python.el (python-shell): Doc fix.
2147 * wid-edit.el (widget-field-use-before-change)
2148 (widget-use-overlay-change): Doc fixes.
2150 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2152 Minor cleanup to improve style.
2153 * textmodes/rst.el (rst-update-section): Use point-marker.
2154 (rst-get-decoration): Eliminate unneeded assignment.
2155 (rst-promote-region, rst-straighten-decorations)
2156 (rst-section-tree, rst-adjust): Use point-marker.
2157 (rst-toc-mode-mouse-goto): Avoid setq.
2158 (rst-shift-region-guts, rst-shift-region-left)
2159 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2160 (rst-convert-bullets-to-enumeration): Use copy-marker.
2162 * minibuffer.el (completion-fail-discreetly): New var.
2163 (completion--do-completion): Use it.
2165 * electric.el (electric-pair-pairs): New var.
2166 (electric-pair-post-self-insert-function): Use it.
2167 (electric-layout-post-self-insert-function): Don't insert a before
2168 newline unless it's actually needed.
2170 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * progmodes/python.el (run-python): Explain why we remove the current
2173 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2175 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2177 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2179 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2180 (octave-mode-map): Don't bind ;, SPC, and LF.
2181 (octave-auto-indent, octave-auto-newline): Remove.
2182 (electric-layout-rules): Declare.
2183 (octave-mode): Set electric-layout-rules.
2184 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2185 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2186 (octave-electric-space): Remove.
2188 * electric.el (electric-layout-mode): New minor mode.
2189 (electric--after-char-pos): New function.
2190 (electric-indent-post-self-insert-function): Use it.
2191 (electric-layout-rules): New var.
2192 (electric-layout-post-self-insert-function): New function.
2193 (electric-indent-mode): Make them interact better.
2195 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2198 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2199 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2201 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2203 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2204 Make sure to check inside the word (Bug#6761).
2206 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2208 * startup.el (command-line): If the cursorColor resource is set,
2209 change the cursor face-spec (Bug#7392).
2211 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2213 The main features of the following allout.el changes are:
2214 - implement user customization for the allout key bindings
2215 - add a customization control by which the user can inhibit use of
2216 a trailing Ctrl-H, so by default it's reserved for use with
2217 describe-prefix-bindings
2218 - adapt to new version of called-interactively-p, while
2219 maintaining backwards compatibility with old version
2220 - fix hotspot navigation so i works properly with meta-modified keys
2222 * allout.el (allout-keybindings, allout-bind-keys)
2223 (allout-keybindings-binding, allout-prefixed-keybindings)
2224 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2225 (allout-keybindings-list, allout-mode-map-adjustments)
2226 (allout-setup-mode-map): Establish allout-mode keymaps as user
2227 customizable settings, and also establish a customizable setting which
2228 regulates whether or not a trailing control-h is reserved for use with
2229 describe-prefix-bindings - and inhibit it by default, so that control-h
2230 *is* reserved for describe-prefix-bindings unless the user changes it.
2232 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2233 and accurately between modified and unmodified events, and handle
2234 modified events more comprehensively.
2236 * allout.el (allout-substring-no-properties):
2237 Alias to use or provide version of `substring-no-properties'.
2238 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2240 * allout.el (allout-next-single-char-property-change):
2241 Alias to use or provide version of `next-single-char-property-change'.
2242 (allout-annotate-hidden, allout-hide-by-annotation):
2243 Use `allout-next-single-char-property-change'.
2245 * allout.el (allout-select-safe-coding-system):
2246 Alias to use or provide version of `select-safe-coding-system'.
2247 (allout-toggle-subtree-encryption):
2248 Use `allout-select-safe-coding-system'.
2250 * allout.el (allout-set-buffer-multibyte):
2251 Alias to use or provide version of `set-buffer-multibyte'.
2252 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2254 * allout.el (allout-called-interactively-p): Macro for using the
2255 different versions of called-interactively-p identically, depending on
2256 the subroutine's argument signature.
2257 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2258 Use `(interactive "p")' instead of `(called-interactively-p)'.
2260 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2261 (allout-previous-visible-heading, allout-forward-current-level)
2262 (allout-backward-current-level, allout-show-children):
2263 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2265 * allout.el (allout-before-change-handler):
2266 Exempt edits to the (overlaid) character after the allout outline
2267 bullet from edit confirmation prompt.
2269 * allout.el (allout-add-resumptions):
2270 Ensure that it respects correct buffer for keybindings.
2272 * allout.el (allout-beginning-of-line):
2273 Use `allout-previous-single-char-property-change' alias for the sake of
2274 diverse compatibility.
2276 * allout.el (allout-end-of-line):
2277 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2279 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2281 * frame.el (frame-notice-user-settings): Don't clobber other
2282 user-set parameters when calling face-set-after-frame-default in
2283 response to background-color parameter (Bug#7373).
2285 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2287 * international/characters.el (glyphless-char-display-control):
2288 Rename from glyphless-char-control; all users changed. Doc fix.
2289 Signal an error if display method is not one of the recognized
2292 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2294 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2295 (tramp-compat-line-end-position): Remove them.
2297 * net/tramp.el (tramp-parse-rhosts-group)
2298 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2299 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2300 (tramp-parse-netrc-group, tramp-parse-putty-group)
2301 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2302 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2303 (tramp-sh-handle-file-selinux-context)
2304 (tramp-sh-handle-file-name-all-completions)
2305 (tramp-sh-handle-insert-directory)
2306 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2307 (tramp-wait-for-output, tramp-send-command-and-read)
2308 * net/tramp-smb.el (tramp-smb-read-file-entry)
2309 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2311 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2313 (tramp-remote-coding-commands): Add an alternative using "base64
2314 -d -i". This is needed for older base64 versions from GNU
2315 coreutils. Reported by Klaus Reichl
2316 <Klaus.Reichl@thalesgroup.com>.
2318 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2320 * simple.el (count-words-region): New function.
2322 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * shell.el (shell-dir-cookie-re): New custom variable.
2325 (shell-dir-cookie-watcher): New function.
2327 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2328 and compilation-mode (bug#7350).
2330 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2331 highlight when one of them is empty.
2333 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2335 (skeleton-newline): New function.
2336 (skeleton-internal-1): Use it.
2338 * simple.el (open-line): `newline' may strip trailing space.
2340 2010-11-12 Kevin Ryde <user42@zip.com.au>
2342 * international/mule-cmds.el (princ-list): Use mapc.
2344 2010-11-12 Glenn Morris <rgm@gnu.org>
2346 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2347 Use it to replace all instances of "*Compile-Log*"
2349 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2354 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * progmodes/modula2.el: Use SMIE and skeleton.
2357 (m2-mode-syntax-table): (*..*) can be nested.
2358 Add //...\n. Fix paren syntax.
2359 (m2-mode-map): Remove LF and TAB bindings.
2360 (m2-indent): Add safety property.
2361 (m2-smie-grammar): New var.
2362 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2363 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2364 (m2-mode): Use define-derived-mode.
2365 (m2-newline, m2-tab): Remove.
2366 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2367 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2368 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2369 (m2-import): Use define-skeleton.
2371 2010-11-11 Glenn Morris <rgm@gnu.org>
2373 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2375 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2376 (ls-lisp-verbosity): Add custom :set-after property.
2377 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2378 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2379 (ls-lisp-insert-directory): Update caller.
2380 (ls-lisp-set-options): New function.
2381 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2384 * play/landmark.el (lm-prompt-for-move):
2385 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2387 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2389 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2390 (idlwave-study-twins): Prefix dynamic local variable `name'.
2391 (idlwave-routine-twin-compare): Update for above change.
2393 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2394 Prefix dynamic local variables `name', `kwd', and `link'.
2395 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2396 * progmodes/idlw-complete-structtag.el
2397 (idlwave-complete-structure-tag-help):
2398 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2399 (idlwave-complete-sysvar-tag-help)
2400 (idlwave-complete-class-structure-tag-help):
2401 Update for above name changes.
2403 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2405 * net/browse-url.el (browse-url-browser-function): Change the
2406 default to use `browse-url-mail' on mailto: URLs.
2408 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2410 * emacs-lisp/package.el (package-read-all-archive-contents):
2411 Reset package-archive-contents to nil before re-reading.
2413 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2415 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2416 already found as misspellings by (flyspell-large-region), just
2417 do highlighting (bug#7322).
2419 2010-11-10 Glenn Morris <rgm@gnu.org>
2421 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2423 * emulation/edt.el (edt-with-position): New macro.
2424 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2425 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2426 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2428 * emulation/tpu-extras.el (tpu-with-position): New macro.
2429 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2431 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2433 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2434 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2435 (texinfo-master-menu, texinfo-insert-node-lines)
2436 (texinfo-multiple-files-update):
2437 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2438 Use line-beginning-position.
2440 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2441 No recent Emacs supports system-type `emx'.
2443 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2444 (ada-command-separator, ada-default-prj-properties)
2445 (ada-find-any-references): Update for above name change.
2447 * dirtrack.el (dirtrack-directory-function)
2448 (dirtrack-canonicalize-function):
2449 * filecache.el (file-cache-completion-ignore-case)
2450 (file-cache-case-fold-search, file-cache-ignore-case):
2451 * term.el (serial-port-is-file-p): Cosmetic change.
2453 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2454 Remove non-existent `windows-95' system-type.
2455 * dired.el (dired-chown-program): Remove non-existent `linux'
2458 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2459 (ping-program-options): Remove non-existent `linux' system-type.
2461 * startup.el (package-initialize): Update declaration.
2463 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2464 (ls-lisp-handle-switches): Use time-less-p.
2465 (ls-lisp-format-time): Use float-time.
2467 * textmodes/remember.el (remember-time-to-seconds): Remove.
2468 (remember-store-in-mailbox): Use float-time.
2470 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2472 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2473 never a real function.
2474 (with-no-warnings): Remove compat stub, now unused.
2475 (time-less-p): Doc fix.
2476 (time-to-number-of-days): Simplify.
2478 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2480 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2481 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2482 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2483 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2484 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2486 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2487 (eshell-shuffle-files, eshell-shorthand-tar-command)
2488 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2489 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2490 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2491 Prefix dynamic local variable `matches'.
2493 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2494 Prefix dynamic local variable `skeleton'.
2496 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2498 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2499 in mail buffer; make yank-action always a command that yanks original
2502 2010-11-09 Glenn Morris <rgm@gnu.org>
2504 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2506 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2509 completion field (bug#7211).
2511 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2512 Fix handling of backslash escapes.
2513 (python-quote-syntax): Adjust accordingly.
2515 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2517 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2518 (vc-mtn-workfile-branch): Adjust to new output format.
2520 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * international/mule-cmds.el (princ-list): Mark as obsolete.
2524 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * emacs-lisp/smie.el: New package.
2528 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2530 * files.el (backup-by-copying-when-mismatch):
2531 Set `permanent-local' property.
2533 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2534 `permanent-local' property for `backup-by-copying-when-mismatch'.
2536 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2538 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2540 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2542 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2543 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2544 AUTOINOUT for SV style multidimensional arrays, bug294.
2545 Reported by Eric Mastromarchi.
2546 (verilog-preprocess): Use with-current-buffer and
2547 font-lock-fontify-buffer to cleanup style issues.
2549 2010-11-09 Glenn Morris <rgm@gnu.org>
2551 * locate.el (locate, locate-mode): Doc fixes.
2553 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2555 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2556 user for confirmation.
2557 (server-force-stop): Use it.
2558 (server-start): Use server-force-stop for kill-emacs-hook, to
2559 avoid user interaction while killing Emacs.
2561 2010-11-09 Glenn Morris <rgm@gnu.org>
2563 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2564 (meta-indent-line): Simplify.
2566 * vc/emerge.el (emerge-line-number-in-buf):
2567 * textmodes/ispell.el (ispell-region):
2568 * textmodes/fill.el (current-fill-column):
2569 * progmodes/xscheme.el (xscheme-send-current-line):
2570 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2571 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2572 * progmodes/sh-script.el (sh-handle-prev-do):
2573 * progmodes/meta-mode.el (meta-indent-line):
2574 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2576 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2577 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2578 * progmodes/fortran.el (fortran-looking-at-if-then):
2579 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2580 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2581 (cperl-find-pods-heres):
2582 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2583 * net/quickurl.el (quickurl-list-insert):
2584 * net/ldap.el (ldap-search-internal):
2585 * net/eudc.el (eudc-expand-inline):
2586 * mail/sendmail.el (sendmail-send-it):
2587 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2588 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2589 (viper-brac-function):
2590 * calc/calc-yank.el (calc-do-grab-region):
2591 * calc/calc-keypd.el (calc-keypad-press):
2592 * term.el (term-move-columns, term-insert-spaces):
2593 * speedbar.el (speedbar-highlight-one-tag-line):
2594 * simple.el (current-word):
2595 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2596 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2598 * hippie-exp.el (he-line-beg):
2599 * epa.el (epa--marked-keys):
2600 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2601 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2602 (dired-relist-entry):
2603 * buff-menu.el (Buffer-menu-buffer):
2604 * array.el (current-line):
2605 * allout.el (allout-resolve-xref)
2606 (allout-latex-verbatim-quote-curr-line):
2607 Replace yet more uses of end-of-line etc with line-end-position, etc.
2609 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2611 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2612 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2613 (checkdoc-syntax-table): Initialize in the declaration.
2614 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2615 the mode on unconditionally.
2617 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2618 (extent-end-position, extent-start-position): Remove setf method for
2619 non-existing functions (bug#7319).
2621 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2624 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2625 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2626 (smie-prec2->grammar): Rename from smie-prec2-levels.
2627 (smie-grammar): Rename from smie-op-levels.
2628 (smie-indent--hanging-p): Rename from smie-hanging-p.
2629 (smie-rule-hanging-p): New alias.
2630 (smie-indent--bolp): Rename from smie-bolp.
2631 (smie-indent--hanging-p): New alias.
2632 (smie--token): New dynamically bound variable.
2633 (smie-indent--parent): New function.
2634 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2635 (smie-rule-next-p): Rename from smie-next-p.
2636 (smie-rule-prev-p): Rename from smie-prev-p.
2637 (smie-rule-sibling-p, smie-rule-parent)
2638 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2639 (smie-rule-separator-outdent): New var.
2640 (smie-indent--rule): Merge with smie-indent--column.
2641 (smie-indent-forward-token, smie-indent-backward-token):
2642 Also recognize close parens.
2643 (smie-indent-keyword): Don't use smie-indent--column any more.
2644 (smie-indent-after-keyword): Ignore closers by default.
2645 (smie-indent-line): Use with-demoted-errors.
2646 * progmodes/octave-mod.el (octave-smie-grammar):
2647 Rename from octave-smie-op-levels.
2648 (octave-smie-rules): Adjust to new behavior.
2649 * progmodes/prolog.el (prolog-smie-grammar):
2650 Rename from prolog-smie-op-levels.
2652 2010-11-07 Glenn Morris <rgm@gnu.org>
2654 * eshell/esh-util.el (subst-char-in-string)
2655 (directory-files-and-attributes): These compatibility definitions are
2656 not needed on any version of Emacs since at least 21.4.
2658 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2659 (verilog-get-end-of-line): Remove.
2660 (verilog-within-string, verilog-re-search-forward-substr)
2661 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2662 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2663 Use point-at-bol, point-at-eol.
2664 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2666 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2667 (electric-pascal-terminate-line, pascal-set-auto-comments)
2668 (pascal-indent-paramlist, pascal-indent-declaration)
2669 (pascal-get-lineup-indent, pascal-func-completion)
2670 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2671 Use point-at-bol, point-at-eol.
2672 * progmodes/flymake.el (flymake-line-beginning-position)
2673 (flymake-line-end-position): Remove.
2674 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2675 * eshell/esh-util.el (line-end-position, line-beginning-position):
2676 Remove compat definitions.
2678 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2680 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2681 Use line-end-position.
2683 * emacs-lisp/chart.el (chart-zap-chars):
2684 * play/decipher.el (decipher-set-map):
2685 * progmodes/ada-mode.el (ada-get-current-indent)
2686 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2687 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2688 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2689 (ada-get-all-references):
2690 * progmodes/cperl-mode.el (cperl-electric-paren)
2691 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2692 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2693 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2694 (cperl-word-at-point-hard):
2695 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2696 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2697 (idlwave-shell-display-line):
2698 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2699 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2700 * progmodes/js.el (js--re-search-forward-inner)
2701 (js--re-search-backward-inner):
2702 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2703 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2704 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2705 * textmodes/flyspell.el (flyspell-process-localwords):
2706 * textmodes/ispell.el (ispell-buffer-local-parsing)
2707 (ispell-buffer-local-dict, ispell-buffer-local-words):
2708 Use point-at-bol and point-at-eol.
2710 * speedbar.el (speedbar-generic-item-info)
2711 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2712 (speedbar-add-indicator, speedbar-check-vc-this-line)
2713 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2714 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2715 Replace more uses of end-of-line etc with line-end-position.
2717 2010-11-06 Glenn Morris <rgm@gnu.org>
2719 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2720 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2721 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2722 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2723 (texinfo-multiple-files-update):
2724 * textmodes/table.el (table--probe-cell-left-up)
2725 (table--probe-cell-right-bottom):
2726 * textmodes/picture.el (picture-tab-search):
2727 * textmodes/page-ext.el (pages-copy-header-and-position)
2728 (pages-directory-for-addresses):
2729 * progmodes/vera-mode.el (vera-get-offset):
2730 * progmodes/simula.el (simula-calculate-indent):
2731 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2732 * progmodes/prolog.el (end-of-prolog-clause):
2733 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2734 * progmodes/icon.el (indent-icon-exp):
2735 * progmodes/etags.el (tag-re-match-p):
2736 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2737 * progmodes/ebnf2ps.el (ebnf-begin-file):
2738 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2739 (dcl-save-local-variable):
2740 * play/life.el (life-setup):
2741 * play/gametree.el (gametree-looking-at-ply):
2742 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2743 * mail/sendmail.el (mail-mode-auto-fill):
2744 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2745 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2746 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2747 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2748 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2749 * type-break.el (type-break-file-keystroke-count):
2750 * term.el (term-replace-by-expanded-history-before-point)
2751 (term-skip-prompt, term-extract-string):
2752 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2753 (speedbar-contract-line, speedbar-toggle-line-expansion)
2754 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2755 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2756 * sort.el (sort-skip-fields):
2757 * skeleton.el (skeleton-internal-list):
2758 * simple.el (line-move-finish, line-move-to-column):
2759 * shell.el (shell-forward-command):
2760 * misc.el (copy-from-above-command):
2761 * makesum.el (double-column):
2762 * ebuff-menu.el (electric-buffer-update-highlight):
2763 * dired.el (dired-move-to-end-of-filename):
2764 * dframe.el (dframe-popup-kludge):
2765 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2766 * arc-mode.el (archive-get-lineno):
2767 Use line-end-position and line-beginning-position.
2769 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2770 (idlwave-study-twins): Prefix dynamic local `class'.
2771 (idlwave-routine-twin-compare): Update for above name change.
2773 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2774 Use boundp tests to silence compiler. Update for changed name of
2775 bytecomp-filename variable.
2777 * emulation/viper-cmd.el (viper-read-string-with-history):
2778 Prefix dynamic local `initial'.
2779 (viper-minibuffer-standard-hook): Update for above name change.
2781 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2782 (elint-init-form): Update for above name change.
2784 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2785 local variables `cbeg' and `cend' a prefix.
2786 (mail-extr-voodoo): Update for above name change.
2788 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2789 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2790 (reftex-toc-promote-action): Doc fix.
2792 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2793 `prompt', `data' a prefix.
2794 (reftex-select-post-command-hook, reftex-select-callback)
2795 (reftex-select-mouse-accept, reftex-select-read-cite):
2796 Update for above name changes.
2798 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2799 `refstyle' to reftex-refstyle.
2800 (reftex-offer-label-menu): Update for above name change.
2801 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2802 `refstyle' name change.
2804 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2805 with with-current-buffer.
2806 (diff, template): Give dynamic local variables a prefix.
2807 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2808 (emerge-line-number-in-buf): Update for above name change.
2809 (emerge-combine-versions-internal): Rename local `template' to
2810 emerge-combine-template.
2811 (emerge-combine-versions-edit): Update for above name change.
2813 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2815 * textmodes/reftex-cite.el
2816 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2817 entries with whitespace after \bibitem.
2818 (reftex-create-bibtex-file): Match entries containing numbers and
2819 symbol constituents. Make sure that entries with whitespace at
2820 various places are found.
2822 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2824 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2826 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2828 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2830 2010-11-05 Glenn Morris <rgm@gnu.org>
2832 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2833 (woman2-roff-buffer): Give local variable `request' a prefix.
2834 (woman0-macro): Rename argument `request' in the same way.
2835 (woman-request): New name for `request' dynamic variable.
2836 (woman-unquote, woman-forward-arg): Update for above name change.
2837 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2838 (woman1-unquote): New name for `unquote' dynamic variable.
2839 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2840 (woman-translations): Rename from `translations'. No longer global.
2841 (woman2-tr, woman-translate): Update for above name change.
2842 (woman-translate): Check for bound variable.
2843 (woman2-roff-buffer): Give local variable `translations' a prefix.
2845 * play/doctor.el: Give all local variables a prefix. Update callers.
2846 (doc$, doctor-put-meaning): Use backquote.
2848 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2849 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2851 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2852 variables bytes, ptr, op a prefix.
2853 (disassemble-offset): Update for above change.
2855 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2857 * emacs-lisp/package.el (package-unpack): Remove no-op.
2858 (package--builtins, package--dir): Doc fix.
2859 (package-activate-1, package-activate, package-install)
2860 (package-compute-transaction): Fix error message.
2861 (package-delete): Use delete-directory. Omit system packages.
2862 (package-initialize): Set package-alist to nil first.
2863 (package-menu-mark-delete, package-menu-mark-install): Don't add
2864 symbols that are inconsistent with the package state.
2865 (package-menu-execute): Perform deletions and installations as
2866 single batch operations.
2868 2010-11-03 Glenn Morris <rgm@gnu.org>
2870 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2871 (props): Remove unnecessary declaration.
2873 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2874 set-process-query-on-exit-flag.
2876 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2877 (reftex-toc-do-promote): Remove unused local `mpos'.
2878 (reftex-toc-restore-region): Make `mpos' local to this function.
2880 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2882 * play/landmark.el (lm-losing-threshold): Correct spelling.
2883 (lm-human-plays): Use new name.
2885 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2886 (gomoku-human-plays): Use new name.
2888 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2889 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2890 (gomoku-score-trans-table, gomoku-winning-threshold)
2891 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2893 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2895 * emacs-lisp/package.el: Don't put built-in packages in
2896 package-alist, to avoid loading inefficiencies.
2897 (package-built-in-p): Make VERSION optional, and treat it as a
2898 minimum acceptable version.
2899 (package-activate): Search separately for built-in packages.
2900 Emit a warning if a dependency fails.
2901 (define-package): Handle most common case, where there is no
2902 obsolete package, first.
2903 (package-compute-transaction): Print required version in error.
2904 (package--initialized): New variable.
2905 (list-packages): Use it.
2906 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2907 built-in packages in packages-alist; keep it separate.
2908 Set package--initialized.
2909 (describe-package): Avoid activating packages as a side-effect.
2910 Search separately for built-in packages.
2911 (describe-package-1): Handle the case where an elpa package is
2912 simultaneously built-in and available/installed.
2913 (package-installed-p, package--generate-package-list):
2914 Search separately for built-in packages.
2915 (package-load-descriptor): Doc fix.
2917 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2920 Handle __DATA__ and __END__.
2922 2010-11-02 Noah Friedman <friedman@splode.com>
2924 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2925 nil, do not ask to recompile files that are not already compiled,
2926 and do not recompile them.
2928 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2930 * emacs-lisp/package.el (package-initialize): Ensure that
2931 obsoleted built-in packages are not in package-activated-list
2933 (describe-package-1): Make the "installed" status override
2936 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2938 * subr.el (version-separator, version-regexp-alist): Remove '*'
2940 (version-list-<=, version<=, version=): Doc fix.
2942 2010-11-01 Kenichi Handa <handa@m17n.org>
2944 * faces.el (glyphless-char): Inherit underline for tty.
2946 2010-11-01 Kenichi Handa <handa@m17n.org>
2948 Implement various display methods for glyphless characters.
2950 * international/characters.el (char-acronym-table): New variable.
2951 (glyphless-char-control): New variable.
2952 (update-glyphless-char-display): New funciton.
2954 * faces.el (glyphless-char): New face.
2956 2010-11-01 Glenn Morris <rgm@gnu.org>
2958 * calendar/holidays.el (general-holidays, oriental-holidays)
2959 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2960 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2961 the definitions of their targets.
2963 * emacs-lisp/smie.el (smie): New custom group.
2964 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2966 * faces.el (xw-defined-colors, x-setup-function-keys):
2967 * mouse-sel.el (x-select-text):
2968 * term/w32console.el (x-setup-function-keys): Update declarations.
2970 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2972 * textmodes/ispell.el (comment-add): Declare.
2974 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2977 * info.el (finder-keywords-hash, package-alist): Declare.
2979 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2981 * finder.el (finder-compile-keywords): Don't use intern-soft,
2982 since package names may not yet exist in the obarray.
2984 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2986 * vc/vc-arch.el (vc-arch-checkin):
2987 * vc/vc-cvs.el (vc-cvs-checkin):
2988 * vc/vc-mtn.el (vc-mtn-checkin):
2989 * vc/vc-rcs.el (vc-rcs-checkin):
2990 * vc/vc-sccs.el (vc-sccs-checkin):
2991 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2992 since 2010-04-21 commit by Stefan Monnier.
2994 2010-11-01 Glenn Morris <rgm@gnu.org>
2996 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2998 * startup.el (package-enable-at-startup, package-initialize):
3001 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3004 2010-10-31 Julien Danjou <julien@danjou.info>
3006 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3007 (byte-recompile-directory):
3008 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3009 Use `byte-recompile-file'.
3011 2010-10-31 Glenn Morris <rgm@gnu.org>
3013 * cus-start.el: Handle standard values via a keyword.
3014 Only set version property if specified.
3015 (cursor-in-non-selected-windows, menu-bar-mode)
3016 (tool-bar-mode, show-trailing-whitespace):
3017 Do not specify standard values.
3018 (transient-mark-mode, temporary-file-directory): Use :standard.
3020 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3022 * term/x-win.el (x-get-selection-value): New function that gets
3023 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3025 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3027 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3028 preserve owner and group when editing files. (Bug#7289)
3030 2010-10-31 Glenn Morris <rgm@gnu.org>
3032 * speedbar.el (speedbar-mode):
3033 * play/fortune.el (fortune-in-buffer, fortune):
3034 * play/gomoku.el (gomoku-mode):
3035 * play/landmark.el (lm-mode):
3036 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3037 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3039 * select.el (x-selection): Mark it as an obsolete alias.
3041 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3043 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3044 major-mode (bug#7284).
3046 2010-10-31 Glenn Morris <rgm@gnu.org>
3048 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3049 rather than just an unused variable that inherits from the real one.
3051 2010-10-31 Alan Mackenzie <acm@muc.de>
3053 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3054 This fixes bug #7185.
3056 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3058 * startup.el (command-line): Search for package directories, and
3059 don't load package.el if none are found.
3061 * emacs-lisp/package.el (describe-package, list-packages):
3062 Call package-initialize if it has not been called yet.
3064 2010-10-30 Alan Mackenzie <acm@muc.de>
3066 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3067 which fontifies the tail of an enum.
3068 (c-basic-matchers-after): Insert a call to the above new function.
3069 This fixes bug #7264.
3071 2010-10-30 Glenn Morris <rgm@gnu.org>
3073 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3074 tool-bar-mode, transient-mark-mode. (Bug#7306)
3075 Include the :set property in the dumped Emacs.
3077 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3079 SMIE: change indent rules format, improve smie-setup.
3080 * emacs-lisp/smie.el (smie-precs-precedence-table)
3081 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3082 Mark them pure so the tables gets built at compile time.
3083 (smie-bnf-precedence-table): Store the closer-alist in the table.
3084 (smie-prec2-levels): Preserve the closer-alist.
3085 (smie-blink-matching-open): Be more forgiving in case of indentation.
3086 (smie-hanging-p): Rename from smie-indent--hanging-p.
3087 (smie-bolp): Rename from smie-indent--bolp.
3088 (smie--parent, smie--after): New dynamic vars.
3089 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3090 (smie-indent-rules): Remove.
3091 (smie-indent--offset-rule): Remove fun.
3092 (smie-rules-function): New var.
3093 (smie-indent--rule): New fun.
3094 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3095 (smie-indent-exps): Use it.
3096 (smie-setup): Setup paren blinking; add keyword args for token
3097 functions; extract closer-alist from op-levels.
3098 (smie-indent-debug-log): Remove var.
3099 (smie-indent-debug): Remove fun.
3100 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3101 (prolog-smie-rules): New fun to replace it.
3102 (prolog-mode-variables): Simplify.
3103 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3104 it's setup automatically.
3105 (octave-smie-indent-rules): Remove.
3106 (octave-smie-rules): New fun to replace it.
3107 (octave-mode): Simplify.
3109 2010-10-29 Glenn Morris <rgm@gnu.org>
3111 * files.el (temporary-file-directory): Remove (already defined in C).
3112 * cus-start.el: Add temporary-file-directory.
3114 * abbrev.el (abbrev-mode):
3115 * composite.el (auto-composition-mode):
3116 * menu-bar.el (menu-bar-mode):
3117 * simple.el (transient-mark-mode):
3118 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3119 that they do not define the associated variables twice.
3120 * simple.el (transient-mark-mode): Remove defvar.
3121 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3122 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3123 Handle multiple groups, and also custom-delayed-init-variables.
3124 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3126 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3128 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3129 (pcase-if): Add one minor optimization.
3130 (pcase-split-equal): Rename from pcase-split-eq.
3131 (pcase-split-member): Rename from pcase-split-memq.
3132 (pcase-u1): Add strings to the member optimization.
3133 Add `guard' variant of predicates.
3134 (pcase-q1): Add string patterns.
3136 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3140 2010-10-28 Glenn Morris <rgm@gnu.org>
3142 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3143 Move menu-bar related settings to ../menu-bar.el.
3144 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3145 Move ns-specific settings here from term/ns-win.el.
3147 * simple.el (x-selection-owner-p): Remove unused declaration.
3149 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * minibuffer.el (completion-cycling): New var (bug#7266).
3152 (minibuffer-complete, completion--do-completion):
3153 Use completion--flush-all-sorted-completions.
3154 (minibuffer-complete): Only cycle if completion-cycling is set.
3155 (completion--flush-all-sorted-completions): Unset completion-cycling.
3156 (minibuffer-force-complete): Set completion-cycling.
3157 (completion-all-sorted-completions): Move declaration before first use.
3159 2010-10-28 Leo <sdl.web@gmail.com>
3161 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3162 which changes the order of matches seen by users (bug#7231).
3164 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3166 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3167 Don't confuse -omega as "-o mega".
3169 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3172 (log-edit-author): New dynamic var.
3173 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3174 to return the author if different from committer.
3175 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3177 * play/landmark.el: Adjust commenting convention.
3178 (lm-nil-score): Rename from nil-score.
3179 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3180 (OOOOscore): Move into a let in lm-score-trans-table.
3181 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3183 * electric.el (electric-indent-chars): Autoload.
3184 * progmodes/octave-mod.el (octave-mode):
3185 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3186 (ruby-mode-abbrev-table): Merge initialization and declaration.
3188 2010-10-27 Glenn Morris <rgm@gnu.org>
3190 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3193 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3195 * term/ns-win.el: Restore require of cl when compiling.
3196 (menu-bar-final-items): Remove non-existent `windows' menu.
3197 (ns-handle-nxopen): Optionally handle the temp-case.
3198 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3199 (ns-insert-file, ns-find-file): Use `pop'.
3201 2010-10-26 Glenn Morris <rgm@gnu.org>
3203 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3205 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3207 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3209 * term/common-win.el (x-setup-function-keys): Remove most of the
3210 keymappings. Comment on the remaining ones.
3212 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3214 * server.el (server-port): New option. (Bug#854)
3215 (server-start): Use server-port.
3217 2010-10-26 Glenn Morris <rgm@gnu.org>
3219 * term/ns-win.el (ns-version-string): Remove unused declaration.
3220 (ns-invocation-args): Change to x-invocation-args.
3221 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3222 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3223 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3224 Use x-invocation-args instead of ns-invocation-args.
3225 (ns-initialize-window-system, handle-args-function-alist):
3226 Use x-handle-args instead of ns-handle-args.
3227 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3228 * startup.el (command-line-ns-option-alist): Replace
3229 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3230 ns-handle-iconic with the x- equivalents.
3232 * term/common-win.el (x-select-enable-clipboard):
3233 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3235 * term/ns-win.el: No need to require cl when compiling.
3236 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3237 (xw-defined-colors): Use the common-win definitions.
3238 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3239 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3240 * term/common-win.el (x-select-text, x-alternatives-map)
3241 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3242 * loadup.el [ns]: Load common-win.
3244 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3246 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3247 recipients; expand mail aliases (Bug#7280).
3249 2010-10-25 Glenn Morris <rgm@gnu.org>
3251 * term/common-win.el (x-handle-switch): Simplify with pop.
3252 Optionally handle numeric switches.
3253 (x-handle-numeric-switch): Just call x-handle-switch.
3254 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3255 (x-handle-name-switch, x-handle-display, x-handle-args):
3258 * term/ns-win.el: Do not require easymenu.
3259 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3260 <spell>: Move adjustments to menu-bar.el.
3261 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3262 <separator-undo, spell>: Move ns-win's adjustments here.
3263 * loadup.el [ns]: Do not load easymenu.
3265 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3267 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3270 * startup.el (fancy-startup-tail): Instead of using inline images,
3271 refer to image files from etc/.
3273 * wid-edit.el (checkbox): Likewise.
3274 (widget-image-find): Center image specs.
3276 2010-10-24 Glenn Morris <rgm@gnu.org>
3278 * term/ns-win.el (x-select-text): Doc fix.
3279 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3280 (x-select-text): Move to term/common-win.
3281 * term/w32-win.el (xw-defined-colors): Move to common-win.
3282 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3283 (x-setup-function-keys, x-select-text): Move to common-win.
3284 * term/common-win.el (x-select-text, x-alternatives-map)
3285 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3288 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3290 * net/mairix.el (mairix-searches-mode-map):
3291 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3293 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3295 * verilog-mode.el (verilog-directive-re): Make this variable
3296 auto-built for efficiency of execution and updating.
3297 (verilog-extended-complete-re): Support 'pure' fucntion & task
3298 declarations (these have no bodies).
3299 (verilog-beg-of-statement): General cleanup to enable support of
3300 'pure' fucntion & task declarations (these have no bodies).
3301 These efforts together fix Verilog bug210 from veripool; which was also
3302 noticed by Steve Pearlmutter.
3303 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3304 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3305 Support `elsif. Reported by Shankar Giri.
3306 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3307 attribute handling for lining up declarations and assignments.
3308 (verilog-beg-of-statement-1): Fix issue where continued declaration
3309 is indented differently if it is after a begin..end clock.
3310 (verilog-in-attribute-p, verilog-skip-backward-comments)
3311 (verilog-skip-forward-comment-p): Support proper treatment of
3312 attributes by indent code. Reported by Jeff Steele.
3313 (verilog-in-directive-p): Fix comment to correctly describe function.
3314 (verilog-backward-up-list, verilog-in-struct-region-p)
3315 (verilog-backward-token, verilog-in-struct-p)
3316 (verilog-in-coverage-p, verilog-do-indent)
3317 (verilog-pretty-declarations): Use verilog-backward-up-list as
3318 wrapper around backward-up-list inorder to properly skip comments.
3319 Reported by David Rogoff.
3320 (verilog-property-re, verilog-endcomment-reason-re)
3321 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3322 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3323 of if). Reported by Max Bjurling and
3324 (verilog-calc-1): Fix for clocking block in modport
3325 declaration. Reported by Brian Hunter.
3327 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3329 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3330 (verilog-gate-keywords, verilog-read-sub-decls)
3331 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3332 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3333 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3334 (verilog-read-decls): Fix spaces in V2K module parameters causing
3335 mis-identification as interfaces, bug287.
3336 (verilog-read-decls): Fix not treating "parameter string" as a
3337 parameter in AUTOINSTPARAM.
3338 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3339 treating `elsif similar to `endif inside AUTOSENSE.
3340 (verilog-do-indent): Implement correct automatic or static task or
3341 function end comment highlight. Reported by Steve Pearlmutter.
3342 (verilog-font-lock-keywords-2): Fix highlighting of single
3343 character pins, bug264. Reported by Michael Laajanen.
3344 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3345 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3346 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3347 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3348 (verilog-pretty-expr): Fix interactive arguments, bug272.
3349 Reported by Mark Johnson.
3350 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3351 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3352 bug269. Suggested by Gary Delp.
3353 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3354 (verilog-preprocessor, verilog-set-compile-command):
3355 Create verilog-preprocess and verilog-preprocessor to show
3356 preprocessed output.
3357 (verilog-get-beg-of-line, verilog-get-end-of-line)
3358 (verilog-modi-file-or-buffer, verilog-modi-name)
3359 (verilog-modi-point, verilog-within-string): Move defmacro's
3360 before first use to avoid warning. Reported by Steve Pearlmutter.
3361 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3362 (verilog-colorize-region, verilog-highlight-buffer)
3363 (verilog-highlight-includes, verilog-highlight-modules)
3364 (verilog-highlight-region, verilog-mode): Rename colorize to
3365 highlight to match other packages. Disable module highlighting,
3366 as received speed complaints, reenable for experimentation only
3367 using new verilog-highlight-modules.
3368 (verilog-read-decls): Fix regexp stack overflow in very large
3369 AUTO_TEMPLATEs, bug250.
3370 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3371 (verilog-scan): Create verilog-save-buffer-state to standardize
3372 making insignificant changes that shouldn't call hooks.
3373 (verilog-save-no-change-functions, verilog-save-scan-cache)
3374 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3375 Create verilog-save-no-change-functions to wrap verilog-scan
3376 preservation, and fix to work with nested preserved calls.
3377 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3378 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3379 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3380 (verilog-submit-bug-report): Update variable list to be complete.
3381 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3382 breaking on-the-fly font-locking.
3383 (verilog-colorize-buffer, verilog-colorize-include-files)
3384 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3385 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3386 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3387 AUTOINST cell instance name, middle mouse button now finds-file on
3388 it. Suggested by Brad Dobbie.
3389 (verilog-alw-get-temps, verilog-auto-reset)
3390 (verilog-auto-sense-sigs, verilog-read-always-signals)
3391 (verilog-read-always-signals-recurse): Fix loop indexes being
3392 AUTORESET. AUTORESET now assumes any variables in the
3393 initialization section of a for() should be ignored.
3394 Reported by Dan Dever.
3395 (verilog-error-font-lock-keywords)
3396 (verilog-error-regexp-emacs-alist)
3397 (verilog-error-regexp-xemacs-alist): Fix error detection of
3398 Cadence HAL, reported by David Asher. Repair drift between the
3399 three similar error variables.
3400 (verilog-modi-lookup, verilog-modi-lookup-cache)
3401 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3402 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3403 Fix slow verilog-auto expansion on very large files.
3404 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3405 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3406 "{1*2{...". Broke in last revision.
3407 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3408 submodule connections with replications "{#{a},#{b}}".
3410 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3412 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3413 Fix typo in docstring.
3415 2010-10-24 Kenichi Handa <handa@m17n.org>
3417 * face-remap.el (text-scale-adjust): Call read-event with a proper
3420 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3422 * emacs-lisp/unsafep.el: Don't mark functions that display
3423 messages as safe. Suggested by Johan Bockgård.
3425 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3428 Turn comments into docstrings.
3430 * minibuffer.el (completion--replace): Move point where it belongs
3431 when there's a common suffix (bug#7215).
3433 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3435 Merge read-color and facemenu-read-color (Bug#7242).
3437 * faces.el (read-color): Use the completion code from
3438 facemenu-read-color. Require match in completion. Doc fix.
3440 * facemenu.el (facemenu-read-color): Alias for read-color.
3441 (facemenu-set-foreground, facemenu-set-background):
3444 * frame.el (set-background-color, set-foreground-color)
3445 (set-cursor-color, set-mouse-color, set-border-color):
3448 2010-10-24 Leo <sdl.web@gmail.com>
3450 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3451 argument of delete-file and delete-directory (Bug#7011).
3453 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3455 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3458 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3460 * emacs-lisp/package.el (package--generate-package-list): Make the
3461 *Packages* buffer read-only.
3463 2010-10-24 Alan Mackenzie <acm@muc.de>
3465 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3466 result of `c-beginning-of-decl-1' between invocations of a lambda
3467 function (Bug #7265).
3469 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3471 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3472 executable is not available on the system (Bug#7268).
3474 2010-10-24 Glenn Morris <rgm@gnu.org>
3476 * select.el (selection-coding-system, next-selection-coding-system):
3477 Sync doc with C versions.
3479 * w32-vars.el (x-select-enable-clipboard):
3480 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3481 * term/common-win.el (x-select-enable-clipboard): Move here.
3483 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3484 definition of C variable.
3486 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3487 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3488 Don't redefine things that are defined in C.
3489 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3490 (show-trailing-whitespace, auto-hscroll-mode)
3491 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3492 Set up the appropriate custom properties.
3494 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3497 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3498 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3499 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3500 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3502 2010-10-23 Glenn Morris <rgm@gnu.org>
3504 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3507 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3508 Sync docs with C version.
3510 * term/ns-win.el (xw-defined-colors):
3511 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3513 * term/pc-win.el (x-select-enable-clipboard):
3514 * term/x-win.el (x-select-enable-clipboard):
3515 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3517 * comint.el (comint-password-prompt-regexp): Make it less vague.
3520 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3522 * help.el (finder-by-keyword): Remove unnecessary autoload.
3524 2010-10-22 Glenn Morris <rgm@gnu.org>
3526 * loadup.el: Unconditionally load float-sup.
3527 * paren.el (show-paren-delay):
3528 * emacs-lisp/float-sup.el:
3529 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3530 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3531 (lazy-lock-stealth-verbose): Assume float support.
3532 * ps-print.el: Assume float support on Emacs.
3533 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3534 Remove non-float branch.
3536 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3537 src/Makefile no longer being pre-processed.
3539 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3541 * emacs-lisp/find-func.el (find-library): Use test-completion.
3543 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3545 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3547 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3549 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3550 space in stat format string.
3551 (tramp-send-command): Unset $PS1 when using here documents, in
3552 order not to get several prompts.
3553 (tramp-get-inline-coding): Return `nil' in case of errors.
3555 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3557 * hexl.el (hexl-mode, hexl-mode-exit):
3558 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3559 (hexl-revert-buffer-function): New function.
3560 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3562 2010-10-19 Alan Mackenzie <acm@muc.de>
3564 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3565 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3566 that these keywords aren't wrongly matched as identifiers.
3568 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3569 setting of c-new-BEG and c-new-END from c-before-change to
3570 c-after-change. (Bug#7181)
3572 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3574 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3577 * custom.el (custom-theme-set-variables): Likewise.
3578 (load-theme): Add custom-theme-set-faces and
3579 custom-theme-set-variables to safe-functions while loading.
3580 (custom-enabled-themes): Mark as risky.
3582 2010-10-18 Julien Danjou <julien@danjou.info>
3584 * bindings.el: Remove end dashes in default mode-line-format.
3586 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3588 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3589 to delete-forward-char.
3591 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3592 deletechar, and hence delete-forward-char.
3594 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3596 * repeat.el (repeat): Use read-key (bug#6256).
3598 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3600 * emacs-lisp/unsafep.el: Don't mark functions that display
3601 messages as safe. Suggested by Johan Bockgård.
3603 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * minibuffer.el (completion--replace): Move point where it belongs
3606 when there's a common suffix (bug#7215).
3608 2010-10-19 Kenichi Handa <handa@m17n.org>
3610 * international/characters.el: Add category '|' (word breakable)
3611 to fullwidth characters.
3613 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3615 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3616 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3617 order to make stat results a float. Patch by Andreas Schwab
3618 <schwab@linux-m68k.org>.
3620 2010-10-18 Julien Danjou <julien@danjou.info>
3622 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3623 hidden by `make-pointer-invisible'.
3625 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * files.el (locate-file-completion-table): Strip non-matching elements
3628 before checking length of list (bug#7238).
3630 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3632 * custom.el (custom-theme-set-variables): Mark as a safe function.
3633 (load-theme): Check forms using unsafep.
3635 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3637 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3639 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3640 Fix aspell data file searching (bug#7230).
3642 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3644 * cus-theme.el (custom-theme--migrate-settings): New var.
3645 (customize-create-theme): Allow editing the `user' theme.
3646 (custom-theme-add-variable, custom-theme-add-var-1)
3647 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3648 to the front of each variable or face widget.
3649 (custom-theme-write): Save theme settings in the correct order.
3650 Optionally, remove saved settings from user customizations.
3651 (custom-theme-write-variables, custom-theme-write-faces):
3652 Save only the checked widgets.
3653 (customize-themes): Add a link for migrating custom settings.
3655 * custom.el (custom-declare-theme, provide-theme):
3656 Use custom-theme-name-valid-p.
3657 (custom-theme-name-valid-p): Remove checks that are now
3658 unnecessary since themes no longer obey load-path.
3660 * cus-edit.el (custom-variable-value-create): For the simple
3661 style, hide documentation string when hidden.
3663 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3665 * cus-edit.el (custom-variable, custom-face): Combine the
3666 :inhibit-magic and :display-style properties into a single
3667 :custom-style property.
3668 (custom-toggle-hide-variable, custom-toggle-hide-face):
3669 New functions. If hiding an edited value, save it to :shown-value.
3670 (custom-variable-value-create, custom-face-value-create): Use them.
3671 (custom-magic-reset): Allow magic property to be unset.
3673 * custom.el: Custom themes no longer use load-path.
3674 (custom-theme-load-path): New option. Change built-in theme
3676 (custom-enabled-themes): Add custom-theme-load-path dependency.
3677 (custom-theme--load-path): New function.
3678 (load-theme, custom-available-themes): Use it.
3680 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3681 (customize-themes): Link to custom-theme-load-path variable.
3682 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3683 :custom-style property.
3685 * themes/*.el: Moved to etc/.
3687 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3689 * textmodes/reftex-cite.el
3690 (reftex-extract-bib-entries-from-thebibliography): Do not move
3691 point when searching for \bibitem entries. Match entries with
3692 spaces or tabs in front of arguments.
3694 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3696 * cus-theme.el (customize-create-theme): Delete overlays after
3697 erasing. If given a THEME arg, display only the faces of that arg
3698 instead of custom-theme--listed-faces.
3699 (custom-theme-variable-menu, custom-theme-variable-action)
3700 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3701 (custom-theme-add-variable, custom-theme-add-face): Apply value
3702 from the theme settings, instead of the current value.
3703 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3704 (custom-theme-visit-theme): Allow calling outside theme buffers.
3705 (custom-theme-merge-theme): Don't enable the theme when merging.
3706 (custom-theme-write-variables, custom-theme-write-faces): Use the
3707 :shown-value properties to save buffer values, not global ones.
3708 (customize-themes): Display a warning about user customizations.
3710 * cus-edit.el (custom-variable-value-create)
3711 (custom-face-value-create): Obey new special properties
3712 :shown-value and :inhibit-magic.
3714 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3716 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3717 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3720 2010-10-14 Kenichi Handa <handa@m17n.org>
3722 * mail/rmail.el (rmail-show-message-1): Catch an error of
3723 base64-decode-region and just show an error message (bug#7165).
3725 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3726 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3727 a font-spec (bug#7197).
3729 2010-10-14 Glenn Morris <rgm@gnu.org>
3731 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3733 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3735 * international/mule.el (define-coding-system):
3736 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3737 * composite.el (compose-region): Fix typo in docstring.
3739 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3741 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3742 only after checking the theme-face property.
3744 * faces.el (face-spec-reset-face): Reset all attributes in one
3745 single call to set-face-attribute.
3746 (face-spec-match-p): Make it a defsubst.
3747 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3748 (x-create-frame-with-faces, tty-create-frame-with-faces)
3749 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3750 frame-set-background-mode, since they are recomputed immediately
3751 afterwards in face-set-after-frame-default.
3752 (face-set-after-frame-default): Minor optimization.
3753 (cursor): Provide non-trivial defface spec.
3755 * custom.el (custom-theme-recalc-face): Simplify.
3757 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3759 * calc/calc-alg.el (math-var): Rename from `var'.
3760 (math-is-polynomial, math-is-poly-rec): Replace `var'
3763 * calc/calcalg2.el (math-var): Rename from `var'.
3764 (calcFunc-table, math-scan-for-limits): Replace `var'
3767 2010-10-13 Glenn Morris <rgm@gnu.org>
3769 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3771 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3773 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3775 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3777 * net/tls.el (tls-program): Remove spurious %s from openssl.
3778 (tls-starttls-switches): Remove starttls hack.
3779 (open-tls-stream): Ditto.
3780 (tls-find-starttls-argument): Ditto.
3782 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3784 * image.el (image-library-alist): Declare as obsolete alias.
3785 (image-type-available-p): Use `dynamic-library-alist'.
3787 * term/w32-win.el (dynamic-library-alist):
3788 Use instead of `image-library-alist'.
3790 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3792 * subr.el (last): Make it faster. (Bug#7174)
3794 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3796 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3798 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3800 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3801 (describe-theme-1): Extract doc from unloaded themes.
3803 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3805 * themes/tango-theme.el:
3806 * themes/tango-dark-theme.el:
3807 * themes/wheatgrass-theme.el: New files.
3809 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3811 * cus-theme.el (describe-theme, customize-themes)
3812 (custom-theme-save): New commands.
3813 (custom-new-theme-mode-map): Bind C-x C-s.
3814 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3815 (customize-create-theme): New optional arg THEME.
3816 (custom-theme-revert): Use it.
3817 (custom-theme-visit-theme): Remove dead code.
3818 (custom-theme-merge-theme): Use custom-available-themes.
3819 (custom-theme-write): Make interactive.
3820 (custom-theme-write): Use custom-theme-name-valid-p.
3821 (describe-theme-1, custom-theme-choose-revert)
3822 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3824 (custom-theme-allow-multiple-selections): New option.
3825 (custom-theme-choose-mode): New major mode.
3827 * custom.el (custom-theme-set-variables): Remove dead code.
3828 Obey custom--inhibit-theme-enable.
3829 (custom--inhibit-theme-enable): New var.
3830 (provide-theme): Obey it.
3831 (load-theme): Replace load with manual read/eval, in order to
3832 check for correctness. Use custom-theme-name-valid-p.
3833 (custom-theme-name-valid-p): New function.
3834 (custom-available-themes): Use it.
3836 * cus-edit.el (custom--initialize-widget-variables): New function.
3837 (Custom-mode): Use it.
3839 * cus-face.el (custom-theme-set-faces): Remove dead code.
3840 Obey custom--inhibit-theme-enable.
3842 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3844 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3846 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3848 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3850 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3851 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3852 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3854 * cus-start.el (all): ns-right-alternate-modifier is new.
3856 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * emacs-lisp/lisp.el (lisp-completion-at-point):
3859 Use emacs-lisp-mode-syntax-table for the whole function.
3861 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3863 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3864 instead of font-lock-mode before adding keywords.
3865 Remove hi-lock-mode off code. Remove inhibit hack.
3866 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3867 non-nil; removed hook inhibit hack.
3869 2010-10-12 Glenn Morris <rgm@gnu.org>
3871 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3872 (load-path-shadows-find): ... to this.
3873 (list-load-path-shadows): Update for above change.
3875 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3877 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3879 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3880 Fix comment for declare-function.
3882 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3884 * custom.el (custom-fix-face-spec): New function; code moved from
3885 custom-face-edit-fix-value.
3886 (custom-push-theme): Use it when checking if a face has been
3887 changed outside customize.
3888 (custom-available-themes): New function.
3889 (load-theme): Use it.
3891 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3893 * custom.el (custom-push-theme): Cleanup (use cond).
3894 (disable-theme): Recompute the saved-face property.
3895 (custom-theme-recalc-face): Follow face alias before setting prop.
3897 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3898 New variables, containing checkbox images.
3900 * startup.el (fancy-startup-tail):
3901 * wid-edit.el (checkbox): Use them.
3903 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3905 * shell.el (shell-mode-map):
3906 * progmodes/modula2.el (m2-mode-map):
3907 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3908 * play/mpuz.el (mpuz-mode-map):
3909 * play/landmark.el (lm-mode-map):
3910 * play/decipher.el (decipher-mode-map):
3911 * play/5x5.el (5x5-mode-map):
3912 * net/telnet.el (telnet-mode-map):
3913 * net/quickurl.el (quickurl-list-mode-map):
3914 * net/mairix.el (mairix-searches-mode-map):
3915 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3916 * net/dig.el (dig-mode-map):
3917 * mail/mspools.el (mspools-mode-map):
3918 * hexl.el (hexl-mode-map):
3919 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3920 (wordstar-C-o-map, wordstar-C-q-map):
3921 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3922 * emacs-lisp/chart.el (chart-map):
3923 * edmacro.el (edmacro-mode-map):
3924 * erc/erc-list.el (erc-list-menu-mode-map):
3925 * array.el (array-mode-map): Declare and define in one step.
3927 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3929 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3931 * epa.el (epa-passphrase-callback-function): Display filename
3932 passed as the 3rd arg.
3933 * epa-file.el (epa-file-passphrase-callback-function):
3934 Pass filename to epa-passphrase-callback-function.
3936 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3938 * cus-edit.el (custom-face-widget-to-spec)
3939 (custom-face-get-current-spec, custom-face-state): New functions.
3940 (custom-face-set, custom-face-mark-to-save)
3941 (custom-face-value-create, custom-face-state-set): Use them.
3943 * cus-theme.el (custom-theme--listed-faces): New var.
3944 (customize-create-theme): Use *Custom Theme* as the buffer name.
3945 Set revert-buffer-function. Optional arg BUFFER. Insert all
3946 faces listed in custom-theme--listed-faces.
3947 (custom-theme-revert): New function.
3948 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3950 (custom-theme-write): Prompt for theme name if empty.
3951 (custom-theme-write-variables): Use dolist.
3952 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3954 2010-10-09 Alan Mackenzie <acm@muc.de>
3956 Enhance fontification of declarators to take account of the
3957 presence/absence of "typedef".
3959 * cc-engine.el (c-forward-type): New &optional param
3961 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3962 presence of either or both of a "struct"-like keyword and "typedef".
3964 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3965 fontification of declarators which follow a "}".
3966 (c-font-lock-declarations): Fontify declarators according to the
3967 presence/absence of "typedef".
3969 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3971 (c-typedef-decl-key): New lang variable built from
3972 c-typedef-decl-kwds.
3974 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3976 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3977 since that's too annoying. Move the filter groups commands to
3980 * epa.el (epa-passphrase-callback-function): Say what we're
3981 querying the password for.
3983 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3984 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3986 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3988 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3989 (custom-magic-value-create): Pad button tags with spaces.
3990 (custom-face-edit): New variable.
3991 (custom-face-value-create): Determine whether to use the usual
3992 face editor here, instead of using custom-face-selected.
3993 Pass face defaults to custom-face-edit widget.
3994 (custom-face-selected, custom-display-unselected): Delete widgets.
3995 (custom-display-unselected-match): Function removed.
3996 (custom-face-set, custom-face-mark-to-save):
3997 Accept custom-face-edit widgets as the direct widget child.
3999 * wid-edit.el (widget--completing-widget): New var.
4000 (widget-default-complete): Bind it when doing completion.
4001 (widget-string-complete, widget-file-complete): Use it.
4003 2010-10-09 Glenn Morris <rgm@gnu.org>
4005 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4006 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4007 (holiday-hebrew-misc): Small simplifications.
4009 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4011 * net/browse-url.el: Don't require thingatpt, term, dired,
4012 executable, or w3-auto when compiling.
4013 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4015 (browse-url-text-emacs): Require term.
4017 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4019 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4021 2010-10-08 Glenn Morris <rgm@gnu.org>
4023 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4025 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4026 (shadows-compare-text-p): Make it an obsolete alias for...
4027 (load-path-shadows-compare-text): ... new name.
4028 (find-emacs-lisp-shadows): Update for above name change.
4029 (load-path-shadows-same-file-or-nonexistent): New name for the old
4030 shadow-same-file-or-nonexistent.
4032 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4034 * minibuffer.el (completion--some, completion--do-completion)
4035 (minibuffer-complete-and-exit, minibuffer-completion-help)
4036 (completion-basic-try-completion)
4037 (completion-basic-all-completions)
4038 (completion-pcm--find-all-completions): Use lexical-let to
4039 avoid some false matches in variable completion (Bug#7056)
4041 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4043 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4045 2010-10-08 Leo <sdl.web@gmail.com>
4047 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4048 return non-nil if the file exists (Bug#7090).
4050 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * minibuffer.el (completion--replace):
4053 Better preserve markers (bug#7138).
4055 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4057 * server.el (server-process-filter): Doc fix.
4059 2010-10-08 Drew Adams <drew.adams@oracle.com>
4061 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4063 2010-10-08 Glenn Morris <rgm@gnu.org>
4065 * vc/ediff-wind.el (ediff-setup-control-frame):
4066 * vc/ediff-ptch.el (ediff-default-backup-extension):
4067 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4068 (ediff-exec-process): Remove system-types emx, windows-95.
4070 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4072 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4074 * cus-edit.el (custom-variable, custom-face): Doc fix.
4075 (custom-face-edit): Add value-create attribute.
4076 (custom-face-edit-value-create)
4077 (custom-face-edit-value-visibility-action): New functions.
4078 Hide unused face attributes by default, and add a visibility toggle.
4079 (custom-face-edit-deactivate): Show empty values with shadow face.
4080 (custom-face-selected): Only use this for face specs with default
4082 (custom-face-value-create): Cleanup.
4084 * wid-edit.el (widget-checklist-value-create): Use dolist.
4085 (widget-checklist-match-find): Make second arg optional.
4087 2010-10-07 Glenn Morris <rgm@gnu.org>
4089 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4092 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4093 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4094 load-path-shadows-mode, update references.
4095 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4096 Rename variable and button.
4097 (list-load-path-shadows): Update button caller.
4099 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4102 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4103 (smie-merge-prec2s): Handle those new entries.
4104 (smie-prec2-levels): Only set precedence to nil for actual
4106 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4107 that is now unnecessary.
4109 2010-10-07 Miles Bader <miles@gnu.org>
4111 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4113 2010-10-07 Glenn Morris <rgm@gnu.org>
4115 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4116 (mail-position-on-field): Remove declarations.
4117 (mail-position-on-field): Autoload it.
4118 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4119 and mail-header-end. Don't require sendmail.
4121 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4122 (shadow-mode): New mode.
4123 (shadow-find-file): New button.
4124 (list-load-path-shadows): Use shadow-mode and buttons.
4126 * iimage.el (iimage-version): Remove.
4127 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4128 Turn into defcustoms.
4129 (iimage-mode-map): Give it a doc string.
4131 * calendar/appt.el (appt-activate): Give a warning rather than an error
4132 if there is no diary-file.
4134 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4136 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4137 Use `tramp-handle-find-backup-file-name'.
4139 2010-10-06 Glenn Morris <rgm@gnu.org>
4141 * font-core.el (font-lock-defaults-alist): Remove variable.
4142 (font-lock-mode): Doc fix.
4143 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4144 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4145 (font-lock-set-defaults): Doc fix.
4146 Do not consult font-lock-defaults-alist.
4148 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4150 * emacs-lisp/cl.el: No longer provide cl-19.
4152 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4154 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4155 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4156 New defuns, taken from tramp-smb.el.
4157 (tramp-coding-system-change-eol-conversion)
4158 (tramp-set-process-query-on-exit-flag): Remove.
4160 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4161 (tramp-compat-coding-system-change-eol-conversion)
4162 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4165 * net/tramp-gvfs.el:
4166 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4167 by `tramp-compat-set-process-query-on-exit-flag'.
4169 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4170 Use `tramp-handle-directory-files-and-attributes',
4171 `tramp-handle-file-exists-p' and
4172 `tramp-handle-file-newer-than-file-p'.
4173 (tramp-imap-handle-file-exists-p)
4174 (tramp-imap-handle-file-executable-p)
4175 (tramp-imap-handle-file-readable-p)
4176 (tramp-imap-handle-directory-files-and-attributes)
4177 (tramp-imap-handle-file-newer-than-file-p): Remove.
4179 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4180 by `tramp-compat-set-process-query-on-exit-flag' and
4181 `tramp-coding-system-change-eol-conversion' by
4182 `tramp-compat-coding-system-change-eol-conversion'.
4184 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4185 Use `tramp-handle-directory-files-and-attributes',
4186 `tramp-handle-file-exists-p' and
4187 `tramp-handle-file-newer-than-file-p'.
4188 (tramp-smb-handle-directory-files-and-attributes)
4189 (tramp-smb-handle-file-exists-p)
4190 (tramp-smb-handle-file-newer-than-file-p): Remove.
4191 (tramp-smb-maybe-open-connection):
4192 Replace `tramp-set-process-query-on-exit-flag' by
4193 `tramp-compat-set-process-query-on-exit-flag'.
4195 2010-10-05 Glenn Morris <rgm@gnu.org>
4197 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4199 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4201 Continue reorganization of load dependencies. (Bug#7156)
4203 * net/tramp.el (tramp-handle-file-local-copy-hook)
4204 (tramp-delete-temp-file-function): Move down.
4205 (tramp-exists-file-name-handler): Move up.
4206 (tramp-register-file-name-handlers): Simplify autoload.
4207 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4208 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4209 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4210 (tramp-handle-file-name-completion)
4211 (tramp-handle-file-name-directory)
4212 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4213 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4214 (tramp-handle-find-backup-file-name)
4215 (tramp-handle-insert-file-contents, tramp-handle-load)
4216 (tramp-handle-substitute-in-file-name)
4217 (tramp-handle-unhandled-file-name-directory)
4218 (tramp-mode-string-to-int, tramp-local-host-p)
4219 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4221 * net/tramp-gvfs.el (top):
4222 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4224 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4225 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4227 2010-10-04 Glenn Morris <rgm@gnu.org>
4229 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4230 (appt-activate): Give status messages.
4232 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4234 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4235 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4236 `gnutls-negotiate' (formerly `starttls-negotiate').
4237 Remove trivial wrapper `starttls-open-stream'.
4239 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4241 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4242 log-outgoing commands.
4243 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4244 to create a buffer local revert-buffer-function variable.
4245 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4246 revert-buffer-function lambda.
4248 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4250 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4251 `gnutls-boot'. Make TYPE the only required parameter.
4252 Allow TRUSTFILES and KEYFILES to be lists.
4253 (open-ssl-stream): Use it.
4255 2010-10-03 Glenn Morris <rgm@gnu.org>
4257 * subr.el (directory-sep-char): Remove obsolete variable.
4258 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4261 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4262 * vc/vc.el (vc-static-header-alist): Doc fix.
4263 * vc/vc-cvs.el (vc-cvs-header):
4264 * vc/vc-rcs.el (vc-rcs-header):
4265 * vc/vc-sccs.el (vc-sccs-header):
4266 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4267 * obsolete/vc-mcvs.el (vc-mcvs-header):
4268 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4271 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4273 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4274 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4276 2010-10-03 Glenn Morris <rgm@gnu.org>
4278 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4280 * textmodes/rst.el (rst-font-lock-keywords-function):
4283 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4285 * printing.el: Drop Emacs 20 code.
4287 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4288 without having used appt.el already).
4290 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4291 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4292 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4294 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4295 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4297 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4298 (charset-width, find-charset-region, chars-in-region, forward-point)
4299 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4300 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4301 Remove compatibility cruft (none of these are used by ps*.el).
4303 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4305 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4307 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4309 * server.el (server-process-filter, server-return-error):
4310 Give emacsclient time to shut down after receiving an error string.
4312 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4314 * files.el (remote-file-name-inhibit-cache): New defcustom.
4316 * time.el (display-time-file-nonempty-p):
4317 Use `remote-file-name-inhibit-cache'.
4319 * net/tramp.el (tramp-completion-reread-directory-timeout):
4322 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4323 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4324 `remote-file-name-inhibit-cache'. Check also for an integer
4325 value. Add/increase counter when `tramp-verbose' >= 10.
4326 (tramp-set-file-property): Add/increase counter when
4327 `tramp-verbose' >= 10.
4329 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4330 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4331 (tramp-bug): Set tramp-autoload cookie. Report all interned
4332 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4333 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4334 characters only in strings.
4336 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4337 to backward compatibility.
4339 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4340 (tramp-handle-file-name-all-completions)
4341 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4342 (tramp-open-connection-setup-interactive-shell):
4343 Call `tramp-cleanup-connection' directly.
4345 2010-10-02 Glenn Morris <rgm@gnu.org>
4347 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4349 * subr.el (char-bytes): Remove obsolete function.
4351 * isearch.el (isearch-return-char): Remove obsolete function.
4353 * mouse.el: No longer provide mldrag.
4354 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4355 Remove obsolete aliases.
4357 * comint.el (comint-kill-output): Remove obsolete alias.
4359 * composite.el (decompose-composite-char): Remove obsolete function.
4360 * ps-def.el (decompose-composite-char): Remove unused function.
4362 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4364 * outline.el (outline-visible): Remove obsolete function.
4366 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4367 * faces.el (internal-find-face, internal-get-face)
4368 (frame-update-faces, frame-update-face-colors)
4369 (x-frob-font-weight, x-frob-font-slant)
4370 (internal-frob-font-weight, internal-frob-font-slant)
4371 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4372 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4373 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4375 * emulation/viper-util.el (viper-get-face):
4376 * obsolete/lucid.el (find-face, get-face): Use facep.
4377 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4378 Remove unused functions.
4379 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4381 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4382 delete tempfile if interrupted during compilation.
4384 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4386 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4388 (tls-program): Add --insecure to be consistent with the defaults from
4389 openssl s_client. Now all three commands are insecure.
4391 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4393 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4394 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4395 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4397 2010-10-01 Glenn Morris <rgm@gnu.org>
4399 * obsolete/sc.el: Remove file.
4401 * files.el (temporary-file-directory): On darwin, also try
4402 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4404 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4406 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4407 Let's not break compatibility gratuitously, shall we?
4409 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411 * net/tls.el (tls-starttls-switches): New variable.
4412 (tls-find-starttls-argument): Use it.
4413 (open-tls-stream): Ditto.
4415 * net/netrc.el (netrc-credentials): Return the value of the "default"
4417 (netrc-machine): Ditto.
4419 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4421 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4423 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4425 * server.el (server-start): Don't write pid to the authentication file.
4426 (server-create-tty-frame): Don't send pid.
4427 (server-process-filter): Send pid at the start of every connection.
4429 2010-09-30 Glenn Morris <rgm@gnu.org>
4431 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4432 (show-all-diary-entries): Remove obsolete function aliases.
4434 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4435 Remove options, obsolete since 22.1.
4436 (appt-display-format, appt-display-message):
4437 Remove backwards-compatibility code.
4438 (appt-check): No longer check appt-issue-message.
4439 (appt-make-list): No longer autoload it. Doc fix. No longer
4440 activate the package.
4442 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4444 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4445 (starttls-negotiate): Just call boot, and let the handshake be
4446 triggered from the read loop.
4448 2010-09-29 Glenn Morris <rgm@gnu.org>
4450 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4451 not displaying the diary.
4452 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4453 * calendar/appt.el (appt-check): No longer need to kill diary.
4455 * calendar/diary-lib.el (diary-list-entries): Move the
4456 "Preparing..." message entirely here.
4457 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4458 messages to diary-list-entries.
4459 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4460 diary-display-function.
4462 * calendar/diary-lib.el (diary-include-other-diary-files):
4463 Trap some recursive includes.
4465 * calendar/appt.el (appt-activate): Check diary file.
4467 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4469 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4472 * calendar/time-date.el: No need to require cl for Emacs 21.
4474 2010-09-28 Glenn Morris <rgm@gnu.org>
4476 * calendar/appt.el (appt-check): Minor simplification.
4478 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4480 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4483 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4485 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4486 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4488 2010-09-27 Kenichi Handa <handa@m17n.org>
4490 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4493 2010-09-27 Kenichi Handa <handa@m17n.org>
4495 * international/mule.el (define-coding-system): Docstring fixed.
4497 * international/mule-diag.el (describe-character-set): Use princ
4498 with proper print-length and print-level instead of insert.
4500 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4502 * window.el (walk-windows): Doc fix (bug#7105).
4504 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/float-sup.el (e): Remove.
4508 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4510 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4512 (starttls-negotiate): Use it.
4514 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4516 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4519 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4521 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4523 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4525 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4527 * net/netrc.el (netrc-store-data): New function.
4529 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4531 * net/gnutls.el: GnuTLS glue code to set up a connection.
4533 2010-09-25 Julien Danjou <julien@danjou.info>
4535 * notifications.el: Call dbus-register-signal only if it is bound.
4537 2010-09-25 Glenn Morris <rgm@gnu.org>
4539 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4540 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4541 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4542 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4543 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4544 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4545 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4546 * eshell/esh-util.el, eshell/esh-var.el:
4547 Remove leading `*' from docs of faces and defcustoms.
4549 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4551 * eshell/em-ls.el (eshell-ls-archive-regexp):
4552 * eshell/esh-util.el (eshell-tar-regexp):
4553 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4554 * info.el (Info-suffix-list):
4555 * international/mule.el (auto-coding-alist):
4556 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4557 * progmodes/etags.el (tags-compression-info-list):
4558 Support xz compression.
4560 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4562 * files.el (get-free-disk-space): Don't assume the "df" output
4563 columns line up (Bug#6995).
4565 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4567 * finder.el (finder-unknown-keywords):
4568 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4569 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4571 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4573 * server.el (server-start): Revert part of 2010-08-08 change. Using
4574 address 127.0.0.1 for local host is now done in Fmake_network_process.
4576 2010-09-24 Glenn Morris <rgm@gnu.org>
4578 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4579 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4580 * textmodes/css-mode.el, textmodes/dns-mode.el:
4581 Move autoloaded auto-mode-alist entries to files.el.
4582 * files.el (auto-mode-alist): Move entries here.
4584 2010-09-23 Glenn Morris <rgm@gnu.org>
4586 * isearch.el (isearch-lazy-highlight-cleanup)
4587 (isearch-lazy-highlight-initial-delay)
4588 (isearch-lazy-highlight-interval)
4589 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4590 * net/net-utils.el (ipconfig-program-options):
4591 Move aliases to options before the associated definitions.
4593 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * newcomment.el (comment-normalize-vars): Better test validity of
4598 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4601 (float-e): New name for `e'.
4602 (degrees-to-radians, radians-to-degrees):
4603 * calendar/solar.el (solar-longitude):
4604 * calculator.el (calculator-registers, calculator-funcall):
4605 * textmodes/artist.el (artist-spray-random-points):
4606 * play/bubbles.el (bubbles--initialize-images): Use new names.
4608 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4610 Update to CEDET 1.0's version of EIEIO.
4612 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4614 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4615 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4616 (class-precedence-list): If class is nil, return nil.
4617 (eieio-generic-call): If class of first input arg is nil, don't
4618 look up static methods, and do check for primary methods.
4619 (initialize-instance): See if the default needs to be evaluated
4620 during the constructor.
4621 (eieio-perform-slot-validation-for-default): Don't do the check
4622 for values that will eventually be evaluated.
4623 (eieio-eval-default-p): New function.
4624 (eieio-default-eval-maybe): Use it.
4626 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4628 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4629 method-invocation-order.
4630 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4631 (eieio-class-precedence-dfs): Compute class precedence list using
4633 (eieio-class-precedence-bfs): Compute class precedence list using
4635 (eieio-class-precedence-c3): Compute class precedence list using
4637 (class-precedence-list): New function.
4638 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4639 (inconsistent-class-hierarchy): New error symbol.
4640 (call-next-method): Stow the replacement argument list for future
4641 call-next-method invocations.
4643 2010-09-23 Glenn Morris <rgm@gnu.org>
4645 * calendar/appt.el (appt-check): If not displaying the diary,
4646 use (diary 1) to only get the entries we need.
4647 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4648 that it is in day order. (Bug#7019)
4650 * calendar/appt.el (appt-check): Rather than showing the diary,
4651 just turn off invisible display, and only if needed.
4653 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4655 2010-09-23 Glenn Morris <rgm@gnu.org>
4657 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4658 (byte-compile-defvar, byte-compile-cl-warn):
4659 Start warnings with lower-case, like the majority.
4661 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4663 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4665 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4666 * files.el (auto-mode-alist): Move ld-script entries here, further down
4669 * vc/add-log.el: Don't require timezone when compiling.
4670 (timezone-make-date-sortable): Autoload it.
4671 (change-log-sortable-date-at): Don't require timezone.
4672 Use `ignore-errors'.
4674 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4675 Move alias before definition, so it does not need autoloading.
4677 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4678 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4679 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4680 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4681 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4682 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4683 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4684 * textmodes/tex-mode.el, textmodes/two-column.el:
4685 Remove leading `*' from docs of defcustoms etc.
4687 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4689 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4691 2010-09-22 Dan Christensen <jdc@uwo.ca>
4693 * calendar/time-date.el (date-to-time): Try using parse-time-string
4694 first before using the slower timezone-make-date-arpa-standard.
4696 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4698 * calendar/time-date.el (format-seconds): Comment fix.
4700 2010-09-22 Glenn Morris <rgm@gnu.org>
4702 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4703 is not automatically buffer-local.
4705 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4707 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4708 (smie-indent-comment): Be more careful with comment-start-skip.
4709 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4710 (smie-indent-functions): Use them.
4712 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4714 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4716 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4718 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4719 tool-bar-position. Don't modify frame parameters here.
4720 (menu-bar-options-save): Add tool-bar-position.
4722 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4724 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * textmodes/reftex-parse.el (reftex-what-macro)
4727 (reftex-context-substring): Let-bind forward-sexp-function to nil
4728 since we don't need/want to treat \begin...\end as a block (bug#7053).
4730 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4732 * simple.el (blink-matching-open): Use syntax-class.
4734 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4735 Set invisibility spec for pascal's outline mode.
4736 (pascal-outline-change): Clean up calling convention.
4737 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4739 * progmodes/prolog.el (prolog-smie-forward-token)
4740 (prolog-smie-backward-token): New functions.
4741 (prolog-mode-variables): Use them to parse "!," correctly.
4742 Set up smie-blink-matching for ".".
4744 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4746 (ispell-region, ispell-process-line): Update users.
4748 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4751 * textmodes/ispell.el: Fix commenting convention.
4752 (ispell-parse-output): Simplify, use push.
4753 (ispell-region): Use match-string-no-properties.
4754 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4755 (ispell-minor-mode): Use define-minor-mode.
4756 (ispell-message): Remove unused var `skip-regexp'.
4757 (ispell-add-per-file-word-list): Use dynamic let-binding.
4758 Try and use the proper comment marker.
4760 * mail/sendmail.el: Fix commenting convention.
4761 (sendmail-send-it): Use line-beginning-position.
4763 * help-fns.el (describe-variable): Add original value, if applicable.
4765 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4767 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4769 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4771 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4773 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4774 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4775 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4776 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4777 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4778 something like "." can also be a closer.
4779 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4780 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4781 Rename internal functions to use "--". Update callers.
4783 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4785 * fringe.el (fringe-styles): New var.
4786 (fringe-mode, fringe-query-style): Use it.
4788 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4790 * progmodes/sql.el: Version 2.8
4791 (sql-login-params): Update widget structure; changes still needed.
4792 (sql-product-alist): Add :list-all and :list-table features for
4793 SQLite, Postgres and MySQL products.
4794 (sql-redirect): Handle default value.
4795 (sql-execute, sql-execute-feature): New functions.
4796 (sql-read-table-name): New function.
4797 (sql-list-all, sql-list-table): New functions. User API.
4798 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4799 for above functions.
4800 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4801 for above functions.
4802 (sql-postgres-login-params): Add user and database defaults.
4803 (sql-buffer-live-p): Bug fix.
4804 (sql-product-history): New variable.
4805 (sql-read-product): New function. Use it.
4806 (sql-set-product, sql-product-interactive): Use it.
4807 (sql-connection-history): New variable.
4808 (sql-read-connection): New function. Use it.
4809 (sql-connect): New function.
4810 (sql-for-each-login): Redesign function interface.
4811 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4812 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4813 (sql-comint): Check for program. Existing live buffer.
4814 (sql-comint-postgres): Add port parameter.
4816 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * emacs-lisp/warnings.el: Fix commenting convention.
4819 (display-warning): Use special mode and make the buffer read-only.
4821 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4823 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4824 empty string when it follows a repeated or optional pattern.
4826 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4828 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4829 (indent-region): Use indent-according-to-mode.
4831 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4833 * fringe.el (fringe-mode): Doc fix.
4835 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4837 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4838 refreshing the preview buffer.
4840 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4843 (latex-syntax-propertize-rules): New consts; replace
4844 tex-font-lock-syntactic-keywords.
4845 (tex-env-mark, latex-env-before-change): New functions.
4846 (latex-electric-env-pair-mode): New minor mode.
4847 (tex-font-lock-verb): Change arguments; do move point.
4848 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4849 representation as a form of comment.
4850 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4851 (doctex-syntax-propertize-rules): New const; replaces
4852 doctex-font-lock-syntactic-keywords.
4853 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4855 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4856 (fortran-make-syntax-propertize-function): New function; replaces
4857 fortran-font-lock-syntactic-keywords.
4858 (fortran-mode): Use it.
4859 (fortran-line-length): Use it. Improve interactive spec.
4861 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4862 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4863 when adding surrounding \(..\).
4865 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4867 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4870 Use with-current-buffer.
4872 * isearch.el (isearch-face): Rename from `isearch'.
4873 (isearch-highlight): Use new name.
4875 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4877 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4878 5, for `half' width fringes. (Bug#6933)
4880 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4883 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4885 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4887 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4889 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4890 in calculating new frame position. Add more space between new and
4891 parent on the left (Bug#7048).
4893 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4895 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4898 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4900 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4902 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4903 obsolete alias for x-selection-value.
4905 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4907 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4909 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4912 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4914 * net/tramp-compat.el (tramp-compat-with-temp-message)
4915 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4916 (tramp-compat-process-put): New defuns.
4918 * net/tramp.el (top):
4919 * net/tramp-gvfs.el (top):
4920 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4922 * net/tramp.el (tramp-progress-reporter-update):
4923 Use `tramp-compat-funcall'.
4925 * net/tramp.el (tramp-process-actions):
4926 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4927 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4928 (tramp-get-remote-stat, tramp-get-remote-readlink):
4929 Use `tramp-compat-with-temp-message'.
4931 * net/tramp-sh.el (top): Require 'cl.
4932 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4933 (tramp-open-connection-setup-interactive-shell):
4934 Use `tramp-compat-process-put'.
4936 2010-09-15 Alan Mackenzie <acm@muc.de>
4938 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4940 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4942 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4944 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4945 `lexical' for warnings related to lexical scoping.
4946 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4947 global vars which don't have a prefix and could hence affect lexical
4948 scoping in unrelated files.
4950 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4952 * net/imap.el: Revert back to version
4953 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4956 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4958 * obsolete/old-whitespace.el (whitespace-unload-function):
4959 Explicitly pass `obarray' to `unintern' to avoid a warning.
4961 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4963 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4964 Add `when' argument. Update callers.
4966 * subr.el (unintern): Declare the obarray arg mandatory.
4968 2010-09-14 Glenn Morris <rgm@gnu.org>
4970 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4973 * calendar/diary-lib.el (diary-included-files): New variable.
4974 (diary-list-entries): Maybe initialize diary-included-files.
4975 (diary-include-other-diary-files): Append to diary-included-files.
4976 * calendar/appt.el (appt-update-list): Also check the members of
4977 diary-included-files. (Bug#6999)
4978 (appt-check): Doc fix.
4980 2010-09-14 David Reitter <david.reitter@gmail.com>
4982 * simple.el (line-move-visual): Do not truncate goal column to
4983 integer size. (Bug#7020)
4985 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * repeat.el (repeat): Allow repeating when the last event is a click.
4988 Suggested by Drew Adams (bug#6256).
4990 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4992 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4993 Replace setting HGRCPATH to "" by some less invasive --config options.
4995 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * font-lock.el (font-lock-beginning-of-syntax-function):
5000 2010-09-14 Glenn Morris <rgm@gnu.org>
5002 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5003 and tool-bar modes. (Bug#6211)
5004 (menu-bar-mode): Move setting of standard-value after the
5005 minor-mode definition, otherwise it seems to have no effect.
5007 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5009 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5010 Fix typo. (Bug#6976)
5012 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5014 * whitespace.el: Allow cleaning up blanks without blank
5015 visualization (Bug#6651). Adjust help window for
5016 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5017 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5018 (whitespace-style): Add new value 'face. Adjust docstring.
5019 (whitespace-space, whitespace-hspace, whitespace-tab):
5020 Adjust foreground property face.
5021 (whitespace-line-column): Adjust docstring and type declaration.
5022 (whitespace-style-value-list, whitespace-toggle-option-alist)
5023 (whitespace-help-text): Adjust const initialization.
5024 (whitespace-toggle-options, global-whitespace-toggle-options):
5026 (whitespace-display-window, whitespace-interactive-char)
5027 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5028 (whitespace-help-scroll): New fun.
5030 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5032 * calendar/time-date.el (format-seconds): Comment fix.
5034 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5036 * progmodes/sql.el: Version 2.7.
5037 (sql-buffer-live-p): Improve detection.
5038 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5039 (sql-set-sqli-buffer): Use it.
5040 (sql-product-interactive): Run `sql-set-sqli-hook'.
5041 (sql-rename-buffer): Code cleanup.
5042 (sql-redirect, sql-redirect-value): New functions. More to come.
5044 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5046 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.
5047 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5048 (TRAMP_SRC): New macro.
5049 ($(lisp)/net/tramp-loaddefs.el): New target.
5051 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5053 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5055 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5057 * net/tramp.el (top): Don't show loading message. Require just
5058 'tramp-compat, everything else is required there.
5059 Use `ignore-errors' where appropriate.
5060 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5061 (tramp-terminal-type, tramp-end-of-output)
5062 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5063 (tramp-completion-function-alist-ssh)
5064 (tramp-completion-function-alist-telnet)
5065 (tramp-completion-function-alist-su)
5066 (tramp-completion-function-alist-putty, tramp-remote-path)
5067 (tramp-remote-process-environment, tramp-sh-extra-args)
5068 (tramp-actions-before-shell, tramp-uudecode)
5069 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5070 (tramp-perl-file-attributes)
5071 (tramp-perl-directory-files-and-attributes)
5072 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5073 (tramp-perl-encode, tramp-perl-decode)
5074 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5075 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5076 (tramp-handle-make-symbolic-link, tramp-handle-load)
5077 (tramp-handle-file-name-as-directory)
5078 (tramp-handle-file-name-directory)
5079 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5080 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5081 (tramp-do-file-attributes-with-ls)
5082 (tramp-do-file-attributes-with-perl)
5083 (tramp-do-file-attributes-with-stat)
5084 (tramp-handle-set-visited-file-modtime)
5085 (tramp-handle-verify-visited-file-modtime)
5086 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5087 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5088 (tramp-handle-file-selinux-context)
5089 (tramp-handle-set-file-selinux-context)
5090 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5091 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5092 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5093 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5094 (tramp-handle-file-ownership-preserved-p)
5095 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5096 (tramp-handle-directory-files-and-attributes)
5097 (tramp-do-directory-files-and-attributes-with-perl)
5098 (tramp-do-directory-files-and-attributes-with-stat)
5099 (tramp-handle-file-name-all-completions)
5100 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5101 (tramp-handle-copy-file, tramp-handle-copy-directory)
5102 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5103 (tramp-do-copy-or-rename-file-via-buffer)
5104 (tramp-do-copy-or-rename-file-directly)
5105 (tramp-do-copy-or-rename-file-out-of-band)
5106 (tramp-handle-make-directory, tramp-handle-delete-directory)
5107 (tramp-handle-delete-file)
5108 (tramp-handle-dired-recursive-delete-directory)
5109 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5110 (tramp-handle-insert-directory)
5111 (tramp-handle-unhandled-file-name-directory)
5112 (tramp-handle-expand-file-name)
5113 (tramp-handle-substitute-in-file-name)
5114 (tramp-handle-executable-find, tramp-process-sentinel)
5115 (tramp-handle-start-file-process, tramp-handle-process-file)
5116 (tramp-handle-call-process-region, tramp-handle-shell-command)
5117 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5118 (tramp-handle-insert-file-contents)
5119 (tramp-handle-insert-file-contents-literally)
5120 (tramp-handle-find-backup-file-name)
5121 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5122 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5123 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5124 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5125 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5126 (tramp-find-file-exists-command, tramp-open-shell)
5127 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5128 (tramp-open-connection-setup-interactive-shell)
5129 (tramp-local-coding-commands, tramp-remote-coding-commands)
5130 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5131 (tramp-inline-compress-commands, tramp-find-inline-compress)
5132 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5133 (tramp-send-command, tramp-wait-for-output)
5134 (tramp-send-command-and-check, tramp-barf-unless-okay)
5135 (tramp-send-command-and-read, tramp-mode-string-to-int)
5136 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5137 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5138 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5139 (tramp-method-out-of-band-p, tramp-local-host-p)
5140 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5141 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5142 (tramp-get-test-command, tramp-get-test-nt-command)
5143 (tramp-get-file-exists-command, tramp-get-remote-ln)
5144 (tramp-get-remote-perl, tramp-get-remote-stat)
5145 (tramp-get-remote-readlink, tramp-get-remote-trash)
5146 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5147 (tramp-get-local-uid, tramp-get-local-gid)
5148 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5150 (tramp-methods, tramp-default-method-alist)
5151 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5152 Move initialization to tramp-sh.el.
5153 (tramp-temp-name-prefix): Make it a defconst.
5154 (tramp-dissect-file-name): Don't check anymore for multi-hop
5156 (tramp-debug-outline-regexp): Add a docstring.
5157 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5158 (tramp-get-debug-buffer): Use it.
5160 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5161 initialization forms.
5162 (tramp-set-connection-property): Don't protect `tramp-message'
5163 call, it isn't necessary any longer.
5164 (tramp-dump-connection-properties): Use `ignore-errors'.
5166 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5167 'password-cache and 'auth-source.
5169 * net/tramp-gvfs.el (top):
5170 * net/tramp-smb.el (top): Require 'tramp-sh.
5172 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5174 * net/tramp-sh.el: New file, derived from tramp.el.
5175 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5176 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5177 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5178 Use `ignore-errors' where appropriate.
5179 (tramp-sh-file-name-handler-alist): Rename from
5180 `tramp-file-name-handler-alist'.
5181 (tramp-send-command-and-check): Return t or nil. Remove all
5182 `zerop' checks, where called.
5183 (tramp-handle-set-file-modes)
5184 (tramp-do-copy-or-rename-file-directly)
5185 (tramp-handle-delete-directory, tramp-handle-delete-file)
5186 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5187 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5188 (tramp-get-remote-ln): Set tramp-autoload cookie.
5190 * net/tramp-fish.el: Remove file.
5192 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5194 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5195 buffer-file-name to avoid file-locking. (Bug#7026)
5197 2010-09-13 Julien Danjou <julien@danjou.info>
5199 * notifications.el (notifications-notify): Add support for
5200 image-path and sound-name.
5201 (notifications-specification-version): Add this variable.
5203 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5205 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5207 2010-09-12 Leo <sdl.web@gmail.com>
5209 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5210 (rcirc-completion-start): New variables.
5211 (rcirc-nick-completions): Rename to rcirc-completions.
5212 (rcirc-nick-completion-start-offset): Delete.
5213 (rcirc-completion-at-point): New function for constructing
5214 completion data for both nicks and irc commands. Add to
5215 completion-at-point-functions in rcirc mode.
5216 (rcirc-complete): Rename from rcirc-nick-complete; use
5217 rcirc-completion-at-point.
5218 (defun-rcirc-command): Update rcirc-client-commands.
5220 2010-09-11 Glenn Morris <rgm@gnu.org>
5222 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5223 atomically, to avoid parallel build errors. (Bug#4196)
5225 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5227 * progmodes/sql.el: Version 2.6
5228 (sql-dialect): Synonym for "sql-product".
5229 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5230 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5231 Set "sql-buffer" to buffer name not buffer object so multiple sql
5232 interactive buffers work properly. Reverts misguided changes in
5234 (sql-comint): Make sure different buffer name is used if "*SQL*"
5235 buffer is for a different product.
5236 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5238 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5239 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5240 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5241 Accept new buffer name or prompt for one.
5242 (sql-port): Default to zero.
5243 (sql-comint-mysql): Handle "sql-port" as a numeric.
5244 (sql-port-history): Delete unused variable.
5245 (sql-get-login): Default "sql-port" to a number.
5246 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5247 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5248 "sqlite3" executables.
5249 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5250 (sql-buffer-live-p): New function.
5251 (sql-mode-menu, sql-send-string): Use it.
5252 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5254 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5255 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5257 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5259 * net/netrc.el (netrc-credentials): New convenience function.
5261 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5264 to replace texinfo-font-lock-syntactic-keywords.
5265 (texinfo-mode): Use it.
5267 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5268 Use syntax-propertize-function.
5270 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5271 replace sgml-font-lock-syntactic-keywords.
5272 (sgml-mode): Use it.
5274 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5275 since we don't use it.
5277 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5279 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5281 (vhdl-fontify-buffer): Adjust.
5283 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5284 replace tcl-font-lock-syntactic-keywords.
5287 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5288 replace simula-font-lock-syntactic-keywords.
5289 (simula-mode): Use it.
5291 * progmodes/sh-script.el (sh-st-symbol): Remove.
5292 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5293 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5294 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5295 (sh-font-lock-paren): Set syntax-multiline.
5296 (sh-font-lock-syntactic-keywords): Remove.
5297 (sh-syntax-propertize-function): New function to replace it.
5300 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5301 Define while compiling.
5302 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5303 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5304 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5305 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5306 (ruby-here-doc-end-syntax): Only define when
5307 syntax-propertize is not available.
5308 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5310 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5311 (electric-indent-chars): Silence bytecompiler.
5312 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5313 electric-indent-chars.
5315 * progmodes/python.el (python-syntax-propertize-function): New var to
5316 replace python-font-lock-syntactic-keywords.
5317 (python-mode): Use it.
5318 (python-quote-syntax): Simplify and adjust to new use.
5320 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5321 replace perl-font-lock-syntactic-keywords.
5322 (perl-syntax-propertize-special-constructs): New fun to replace
5323 perl-font-lock-special-syntactic-constructs.
5324 (perl-font-lock-syntactic-face-function): New fun.
5325 (perl-mode): Use it.
5327 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5328 to replace octave-font-lock-close-quotes.
5329 (octave-syntax-propertize-function): New function to replace
5330 octave-font-lock-syntactic-keywords.
5331 (octave-mode): Use it.
5333 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5334 replaces mixal-font-lock-syntactic-keywords.
5335 (mixal-mode): Use it.
5337 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5338 New var; replaces makefile-font-lock-syntactic-keywords.
5339 (makefile-mode): Use it.
5340 (makefile-imake-mode): Adjust.
5342 * progmodes/js.el (js--regexp-literal): Define while compiling.
5343 (js-syntax-propertize-function): New var; replaces
5344 js-font-lock-syntactic-keywords.
5347 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5348 replaces gdb-script-font-lock-syntactic-keywords.
5349 (gdb-script-mode): Use it.
5351 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5352 (fortran--font-lock-syntactic-keywords): New var.
5353 (fortran-line-length): Update syntax-propertize-function and
5354 fortran--font-lock-syntactic-keywords.
5356 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5358 * progmodes/cfengine.el (cfengine-mode):
5359 Use syntax-propertize-function.
5360 (cfengine-font-lock-syntactic-keywords): Remove.
5362 * progmodes/autoconf.el (autoconf-mode):
5363 Use syntax-propertize-function.
5364 (autoconf-font-lock-syntactic-keywords): Remove.
5366 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5367 (ada-after-change-function, ada-initialize-syntax-table-properties)
5368 (ada-handle-syntax-table-properties): Only define when
5369 syntax-propertize is not available.
5370 (ada-mode): Use syntax-propertize-function.
5372 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5373 (font-lock-fontify-syntactic-keywords-region): Move handling of
5374 font-lock-syntactically-fontified to...
5375 (font-lock-default-fontify-region): ...here.
5376 Let syntax-propertize-function take precedence.
5377 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5379 * emacs-lisp/syntax.el (syntax-propertize-function)
5380 (syntax-propertize-chunk-size, syntax-propertize--done)
5381 (syntax-propertize-extend-region-functions): New vars.
5382 (syntax-propertize-wholelines, syntax-propertize-multiline)
5383 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5384 (syntax-propertize): New functions.
5385 (syntax-propertize-rules): New macro.
5386 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5387 (syntax-ppss): Call syntax-propertize.
5389 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5391 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5393 * textmodes/ispell.el (ispell-init-process): Improve comments.
5394 XEmacs compatibility changes regarding (add-hook) 'local option
5395 and (set-process-query-on-exit-flag).
5397 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5399 * net/tramp-cache.el (tramp-parse-connection-properties):
5400 Set tramp-autoload cookie.
5402 2010-09-09 Glenn Morris <rgm@gnu.org>
5404 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5405 (imagemagick-register-types): Doc fix.
5407 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5409 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5411 * progmodes/js.el (require): Require is already "eval-and-compile".
5412 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5413 (js--re-search-backward): Use js--re-search-forward.
5415 * progmodes/fortran.el (fortran-line-length): Don't recompute
5416 syntactic keywords redundantly a second time.
5418 * progmodes/ada-mode.el: Replace "(set '" with setq.
5419 (ada-mode): Simplify.
5420 (ada-create-case-exception, ada-adjust-case-interactive)
5421 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5422 (ada-search-ignore-string-comment, ada-move-to-start)
5423 (ada-move-to-end): Use with-syntax-table.
5425 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5426 (font-lock-unfontify-region, font-lock-default-fontify-region):
5427 Update usage correspondingly.
5428 (font-lock-fontify-syntactic-keywords-region):
5429 Set parse-sexp-lookup-properties buffer-locally here.
5430 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5432 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5434 2010-09-08 Glenn Morris <rgm@gnu.org>
5436 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5437 Error if not compiled with -DBYTE_CODE_METER.
5439 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5440 Ignore dir-locals-file.
5442 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5446 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5447 for the `gnu' messages.
5448 (compilation-set-skip-threshold): New command.
5449 (compilation-start): Use \' rather than $.
5450 (compilation-forget-errors): Use clrhash.
5452 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5454 * textmodes/ispell.el (ispell-valid-dictionary-list):
5457 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5459 Migrate to Tramp 2.2. Rearrange load dependencies.
5460 (Bug#1529, Bug#5448, Bug#5705)
5462 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5463 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5464 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5466 * net/tramp.el (top): Remove all other tramp-* loads except
5467 tramp-compat.el. Remove all changes to tramp-unload-hook for
5468 other tramp-* packages. Rearrange defun order. Change calls of
5469 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5470 `tramp-compat-octal-to-decimal' to new function names.
5471 (tramp-terminal-type, tramp-initial-end-of-output)
5472 (tramp-methods, tramp-foreign-file-name-handler-alist)
5473 (tramp-tramp-file-p, tramp-completion-mode-p)
5474 (tramp-send-command-and-check, tramp-get-remote-path)
5475 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5476 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5477 (with-file-property, with-connection-property): Move to
5479 (tramp-local-call-process, tramp-decimal-to-octal)
5480 (tramp-octal-to-decimal): Move to tramp-compat.el.
5481 (tramp-handle-shell-command): Do not require 'shell.
5482 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5484 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5486 * net/tramp-cache.el (top): Require 'tramp. Add to
5487 `tramp-unload-hook'.
5488 (tramp-cache-data, tramp-get-file-property)
5489 (tramp-set-file-property, tramp-flush-file-property)
5490 (tramp-flush-directory-property, tramp-get-connection-property)
5491 (tramp-set-connection-property, tramp-flush-connection-property)
5492 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5494 (with-file-property, with-connection-property): New defuns, moved
5496 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5499 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5500 (tramp-version): Set tramp-autoload cookie.
5502 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5503 changes to tramp-unload-hook for other tramp-* packages. Add to
5504 `tramp-unload-hook'.
5505 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5506 (tramp-compat-call-process): New defuns, moved from tramp.el.
5508 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5509 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5510 Add to `tramp-unload-hook'. Change call of
5511 `tramp-compat-decimal-to-octal' to new function name.
5512 (tramp-fish-method): Make it a defconst.
5513 (tramp-fish-file-name-p): Make it a defsubst.
5514 (tramp-fish-method, tramp-fish-file-name-handler)
5515 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5517 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5518 `tramp-foreign-file-name-handler-alist'. Add to
5519 `tramp-unload-hook'.
5520 (tramp-ftp-method): Make it a defconst.
5521 (tramp-ftp-file-name-p): Make it a defsubst.
5522 (tramp-ftp-method, tramp-ftp-file-name-handler)
5523 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5525 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5526 `tramp-foreign-file-name-handler-alist'. Add to
5527 `tramp-unload-hook'. Change checks, whether package can be
5529 (tramp-gvfs-file-name-p): Make it a defsubst.
5530 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5531 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5532 (tramp-gvfs-handle-file-directory-p): New defun.
5533 (tramp-gvfs-file-name-handler-alist): Use it.
5535 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5536 `tramp-foreign-file-name-handler-alist'. Add to
5537 `tramp-unload-hook'.
5538 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5539 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5541 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5542 (tramp-gw-open-connection): Set tramp-autoload cookie.
5544 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5545 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5546 Add to `tramp-unload-hook'. Change checks, whether package can be
5548 (tramp-imap-file-name-p): Make it a defsubst.
5549 (tramp-imap-method, tramp-imaps-method)
5550 (tramp-imap-file-name-handler)
5551 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5553 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5554 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5555 Add to `tramp-unload-hook'. Change checks, whether package can be
5556 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5558 (tramp-smb-tunnel-method): Make it a defconst.
5559 (tramp-smb-file-name-p): Make it a defsubst.
5560 (tramp-smb-method, tramp-smb-file-name-handler)
5561 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5563 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5564 (tramp-uuencode-region): Set tramp-autoload cookie.
5566 * net/trampver.el (top) Add to `tramp-unload-hook'.
5567 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5568 cookie. Update release number.
5570 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5572 * textmodes/ispell.el (ispell-start-process): Make sure original
5573 arg list is properly initialized (Bug#6993, Bug#6994).
5575 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5577 * files.el (directory-abbrev-alist): Use \` as default regexp.
5579 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5580 chars like - or ] (bug#6984).
5581 (rx-any-condense-range): Explode 2-char ranges.
5583 2010-09-06 Glenn Morris <rgm@gnu.org>
5585 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5587 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5589 * textmodes/bibtex.el:
5590 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5592 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5594 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5595 since no callers use it.
5596 (imap-message-get): Ditto.
5597 (imap-message-put): Ditto.
5598 (imap-mailbox-map): Ditto.
5599 (imap-mailbox-put): Ditto.
5600 (imap-mailbox-get): Ditto.
5601 (imap-mailbox-get): Revert last change for this function.
5603 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5606 callers to use `imap-fetch' instead. According to the comments, this
5607 should be safe, since all other IMAP clients use the 1:* syntax.
5608 (imap-enable-exchange-bug-workaround): Remove.
5609 (imap-debug): Remove -- doesn't seem very useful.
5611 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5613 * net/imap.el (imap-log): New convenience function used throughout
5614 instead of repeating the same code all over the place.
5616 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5618 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5619 when mouse-drag-copy-region is non-nil (Bug#6956).
5621 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5623 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5624 Improve regexps (Bug#6987).
5625 (dired-sort-toggle): Search more robustly for -t flag.
5627 * files.el (get-free-disk-space): Search more robustly for
5628 "available" column. Suggested by Ehud Karni
5629 <ehud@unix.mvs.co.il>.
5631 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5633 * international/uni-bidi.el:
5634 * international/uni-category.el:
5635 * international/uni-combining.el:
5636 * international/uni-decimal.el:
5637 * international/uni-mirrored.el:
5638 * international/uni-name.el: Regenerate.
5640 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * electric.el (electric-indent-post-self-insert-function):
5643 Don't reindent with a sloppy indentation function.
5645 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5646 border case in change-log-mode.
5648 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5651 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5652 Recognize leading tab in gcc-include regexp. Ignore names with
5653 leading "from" or "in" in gnu regexp (Bug#6937).
5655 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5657 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5658 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5659 (ispell-start-process): Avoid setq and simplify logic.
5660 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5661 (kill-buffer-hook): Don't use it globally with code that uses
5662 expand-file-name since that may call kill-buffer via
5663 code_conversion_restore.
5665 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5667 * emacs-lisp/package.el (package-directory-list): Only call
5668 file-name-nondirectory on a string.
5670 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5672 * emacs-lisp/package.el (package--download-one-archive):
5673 Ensure that archive-contents is valid before saving it.
5674 (package-activate-1, package-mark-obsolete, define-package)
5675 (package-compute-transaction, package-list-maybe-add): Use push.
5677 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5679 Use SMIE's blink-paren for octave-mode.
5680 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5681 Backslashes do not escape single-quotes, single-quotes do.
5682 (octave-block-else-regexp, octave-block-end-regexp)
5683 (octave-block-match-alist): Remove.
5684 (octave-smie-bnf-table): New var, with old content.
5685 (octave-smie-op-levels): Use it.
5686 (octave-smie-closer-alist): New var.
5687 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5688 (octave-blink-matching-block-open): Remove.
5689 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5690 (octave-electric-space): Let self-insert-command run expand-abbrev and
5693 * electric.el (electricity): New group.
5694 (electric-indent-chars): New var.
5695 (electric-indent-post-self-insert-function): New fun.
5696 (electric-indent-mode): New minor mode.
5697 (electric-pair-skip-self): New custom.
5698 (electric-pair-post-self-insert-function): New function.
5699 (electric-pair-mode): New minor mode.
5701 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5702 calcAlg-blink-matching-open.
5703 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5704 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5705 Use the new blink-matching-check-function.
5707 Provide blink-matching support to SMIE.
5708 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5709 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5710 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5712 * simple.el (newline): Fix last change to properly remove itself from
5715 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * simple.el (newline): Eliminate optimization.
5718 Use post-self-insert-hook to set hard-newline and things before
5719 running post-self-insert-hook.
5720 (blink-matching-check-mismatch): New function.
5721 (blink-matching-check-function): New variable.
5722 (blink-matching-open): Use them.
5723 Skip back forward over prefix chars skipped by forward-sexp.
5724 Don't check if the parens are backslash escaped.
5725 (blink-paren-post-self-insert-function): Check backslash escaping here.
5727 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5729 * emacs-lisp/package.el (package-menu-mode-map):
5730 Change package-menu-revert bindings to revert-buffer.
5731 (package-menu-mode): Set revert-buffer-function.
5732 (package-menu-revert): Doc fix.
5734 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5736 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5737 `default-directory' unless using Ispell per-directory personal
5738 dictionaries and not in a mini-buffer under XEmacs.
5739 (kill-buffer-hook): Do not kill ispell process on exit when
5740 `ispell-process-directory' is "~/". (Bug#6143)
5742 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5744 * simple.el (kill-new): Call interprogram-cut-function with only
5747 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5748 Remove cut buffer from error message.
5750 * term/x-win.el (x-select-text):
5751 * term/pc-win.el (x-selection-value):
5752 * term/ns-win.el (x-selection-value):
5753 * eshell/em-term.el:
5754 * w32-fns.el (x-get-selection-value):
5755 * mouse-sel.el (mouse-sel-set-selection-function):
5756 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5758 * term/x-win.el: Update documentation for x-last-selected-text-*.
5759 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5760 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5761 (x-select-text): Remove argument PUSH, update documentation.
5762 Remove cut-buffer code.
5763 (x-selection-value-internal): Was previously x-selection-value.
5764 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5765 Update documentation, remove cut-buffer code.
5766 Call x-selection-value-internal.
5767 (x-clipboard-yank): Call x-selection-value-internal.
5768 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5770 * term/pc-win.el (x-last-selected-text):
5771 x-cut-buffer-or-selection-value renamed to x-selection-value
5772 (x-select-text): Remove argument PUSH, update documentation.
5774 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5775 x-cut-buffer-or-selection-value renamed to x-selection-value
5776 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5777 (x-select-text): Remove argument PUSH, update documentation.
5779 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5781 * w32-fns.el (x-last-selected-text):
5782 x-cut-buffer-or-selection-value renamed to x-selection-value.
5783 (x-cut-buffer-max): Remove.
5784 (x-select-text): Remove argument PUSH, update documentation.
5786 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5788 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5790 * mouse-sel.el (mouse-sel-get-selection-function):
5791 x-cut-buffer-or-selection-value renamed to x-selection-value.
5792 (x-select-text): Remove optional push.
5794 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * simple.el (blink-paren-function): Move from C to here.
5797 (blink-paren-post-self-insert-function): New function.
5798 (post-self-insert-hook): Use it.
5800 * emacs-lisp/pcase.el (pcase-split-memq):
5801 Fix overenthusiastic optimisation.
5802 (pcase-u1): Handle the case of a lambda pred.
5804 2010-08-31 Kenichi Handa <handa@m17n.org>
5806 * international/mule-cmds.el (standard-display-european-internal):
5807 Setup standard-display-table for 8-bit characters by storing 8-bit
5808 characters in the element vector.
5810 * disp-table.el (standard-display-8bit):
5811 Setup standard-display-table for 8-bit characters by storing 8-bit
5812 characters in the element vector.
5813 (standard-display-european): Likewise.
5815 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5817 * textmodes/nroff-mode.el (nroff-view): New command.
5818 (nroff-mode-map): Bind it to C-c C-c.
5820 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * emacs-lisp/smie.el (smie-down-list): New command.
5824 Remove old indentation and navigation code on octave-mode.
5825 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5826 smie-down-list rather than add a binding for octave-down-block.
5827 (octave-mark-block, octave-blink-matching-block-open):
5828 Rely on forward-sexp-function.
5829 (octave-fill-paragraph): Don't narrow, so you can use
5830 indent-according-to-mode.
5831 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5832 (octave-in-block-p, octave-re-search-forward-kw)
5833 (octave-re-search-backward-kw, octave-indent-calculate)
5834 (octave-end-as-array-index-p, octave-block-end-offset)
5835 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5836 (octave-down-block, octave-backward-up-block, octave-up-block)
5837 (octave-before-magic-comment-p, octave-indent-line): Remove.
5839 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5841 * emacs-lisp/package.el (package--read-archive-file): Just use
5842 `read', to avoid copying an additional string.
5843 (package-menu-mode): Set header-line-format here.
5844 (package-menu-refresh, package-menu-revert): Signal an error if
5845 not in the Package Menu.
5846 (package-menu-package-list): New var.
5847 (package--generate-package-list): Operate on the current buffer;
5848 don't assume that it is *Packages*, since the user may rename it.
5849 Allow persistent package listings and sort keys using
5850 package-menu-package-list and package-menu-package-sort-key.
5851 (package-menu--version-predicate): Fix version calculation.
5852 (package-menu-sort-by-column): Don't select the window.
5853 (package--list-packages): Create the *Packages* buffer.
5854 Set package-menu-package-list-key.
5855 (list-packages): Sorting by status is now the default.
5856 (package-buffer-info): Use match-string-no-properties.
5857 (define-package): Add a &rest argument for future proofing, but
5859 (package-install-from-buffer, package-install-buffer-internal):
5860 Merge into a single function, package-install-from-buffer.
5861 (package-install-file): Change caller.
5863 * finder.el: Load finder-inf using `require'.
5864 (finder-list-matches): Sorting by status is now the default.
5865 (finder-compile-keywords): Simpify printing.
5867 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5870 (octave-mode-map): Remove special bindings for forward/backward-block
5871 and octave-backward-up-block. Use smie-close-block.
5872 (octave-continuation-marker-regexp): New var.
5873 (octave-continuation-regexp): Use it.
5874 (octave-operator-table, octave-smie-op-levels)
5875 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5876 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5877 (octave-mode): Use SMIE.
5878 (octave-close-block): Delete.
5880 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5882 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5883 CLIPBOARD, not in PRIMARY. (Bug#6944)
5885 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5887 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5889 (smie-indent-column): Allow indirection through variables.
5891 * composite.el (save-buffer-state): Delete, unused.
5892 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5893 (font-lock-default-fontify-region): Use with-syntax-table.
5894 * jit-lock.el (with-buffer-unmodified): Remove.
5895 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5897 Use `declare' in defmacros.
5898 * window.el (save-selected-window):
5899 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5900 * progmodes/python.el (def-python-skeleton):
5901 * net/dbus.el (dbus-ignore-errors):
5902 * jka-cmpr-hook.el (with-auto-compression-mode):
5903 * international/mule.el (with-category-table):
5904 * emacs-lisp/timer.el (with-timeout):
5905 * emacs-lisp/lisp-mnt.el (lm-with-file):
5906 * emacs-lisp/eieio.el (with-slots):
5907 * emacs-lisp/easymenu.el (easy-menu-define):
5908 * emacs-lisp/debug.el (debugger-env-macro):
5909 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5910 (Multiple-value-call, Multiple-value-prog1):
5911 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5912 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5913 edebug rule to definition.
5914 * emacs-lisp/lisp-mode.el (save-selected-window)
5915 (with-current-buffer, combine-after-change-calls)
5916 (with-output-to-string, with-temp-file, with-temp-buffer)
5917 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5918 (dolist, dotimes, when, unless):
5919 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5921 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5923 * finder.el: Require `package'.
5924 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5925 (finder-package-info): Var deleted.
5926 (finder-keywords-hash, finder--builtins-alist): New vars.
5927 (finder-compile-keywords): Compute package--builtins and
5928 finder-keywords-hash instead of finder-keywords-hash, respecting
5929 the "Package" header.
5930 (finder-unknown-keywords, finder-list-matches):
5931 Use finder-keywords-hash and package--list-packages.
5932 (finder-mode): Don't set font-lock-defaults.
5933 (finder-exit): We don't use "*Finder-package*" and "*Finder
5934 Category*" buffers anymore.
5936 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5937 (package--builtins): Set default value to nil.
5938 (package-initialize): Load precomputed value of package--builtins
5940 (package-alist, package-compute-transaction)
5941 (package-download-transaction): Improve docstring.
5942 (package-read-all-archive-contents): Do not change
5943 package--builtins here.
5944 (list-packages): Make package-list-packages an alias for this.
5945 Sort by status by default.
5946 (package--list-packages): Add optional PACKAGES arg.
5947 (describe-package-1): Use font-lock-face property. For built-in
5948 packages, insert file commentary.
5949 (package--generate-package-list): Rename from
5950 package-list-packages-internal; all callers changed. Add optional
5951 PACKAGES arg. Add alphabetical sort fallbacks.
5952 (package-menu--version-predicate, package-menu--status-predicate)
5953 (package-menu--description-predicate)
5954 (package-menu--name-predicate): New functions.
5956 * info.el (Info-finder-find-node): Search package-alist instead of
5957 finder-package-info.
5959 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5961 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5963 (version-to-list): Handle versions like "10.3d".
5965 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5968 (macroexp-accumulate): Use `declare'.
5970 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5972 * whitespace.el (whitespace-style): Adjust type declaration.
5974 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5976 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5977 empty argument to gvfs-copy.
5979 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5981 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5982 handle new TRASH arg of `delete-file'.
5984 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5986 * net/tramp.el (tramp-handle-insert-directory): Don't use
5987 `forward-word', its default syntax could be changed.
5989 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5990 Michael Albinus <michael.albinus@gmx.de>
5992 Implement compression for inline methods.
5994 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5995 (tramp-copy-size-limit): Allow also nil.
5996 (tramp-inline-compress-commands): New defconst.
5997 (tramp-find-inline-compress, tramp-get-inline-compress)
5998 (tramp-get-inline-coding): New defuns.
5999 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6000 replaced by `tramp-get-inline-coding'.
6001 (tramp-handle-file-local-copy, tramp-handle-write-region)
6002 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6004 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6006 Detect ssh 'ControlMaster' argument automatically in some cases.
6008 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6009 (tramp-default-method): Use it.
6011 2010-08-26 Karel Klíč <kklic@redhat.com>
6013 * net/tramp.el (tramp-file-name-for-operation):
6014 Add file-selinux-context.
6016 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6018 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6020 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6022 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6025 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6027 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6028 (js-paren-indent-offset, js-square-indent-offset)
6029 (js-curly-indent-offset): New options.
6030 (js--proper-indentation): Use them.
6032 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6034 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6035 instead of inspecting font-lock properties (Bug#6916).
6037 2010-08-26 David Reitter <david.reitter@gmail.com>
6039 * server.el (server-visit-files): Run pre-command-hook and
6040 post-command-hook for each buffer while it is current (Bug#6910).
6041 (server-execute): Do not run hooks here.
6043 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6045 Sync with Tramp 2.1.19.
6047 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6048 (tramp-reporter-dump-variable, tramp-load-report-modules)
6049 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6050 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6052 * net/tramp-compat.el (top): Do not autoload
6053 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6054 only when `start-file-process' is not bound.
6055 (byte-compile-not-obsolete-vars): Define if not bound.
6056 (tramp-compat-funcall): New defmacro.
6057 (tramp-compat-line-beginning-position)
6058 (tramp-compat-line-end-position)
6059 (tramp-compat-temporary-file-directory)
6060 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6061 (tramp-compat-copy-file, tramp-compat-copy-directory)
6062 (tramp-compat-delete-file, tramp-compat-delete-directory)
6063 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6065 (tramp-advice-file-expand-wildcards): Do not use
6066 `tramp-handle-file-remote-p'.
6067 (tramp-compat-make-temp-file): Simplify fallback implementation.
6068 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6069 (tramp-compat-copy-tree): Remove function.
6070 (tramp-compat-delete-file): New defun.
6071 (tramp-compat-delete-directory): Provide implementation for older
6073 (tramp-compat-file-attributes): Handle only
6074 `wrong-number-of-arguments' error.
6076 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6077 Add PRESERVE_SELINUX_CONTEXT.
6078 (tramp-fish-handle-delete-file): Add TRASH arg.
6079 (tramp-fish-handle-directory-files-and-attributes):
6080 Do not use `tramp-fish-handle-file-attributes.
6081 (tramp-fish-handle-file-local-copy)
6082 (tramp-fish-handle-insert-file-contents)
6083 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6085 * net/tramp-gvfs.el (top): Require url-util.
6086 (tramp-gvfs-mount-point): Remove.
6087 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6088 and `set-file-selinux-context'.
6089 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6090 (tramp-gvfs-handle-file-selinux-context)
6091 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6092 (with-tramp-dbus-call-method): Format trace message.
6093 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6094 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6095 Implement backup call, when operation on local files fails.
6096 Use progress reporter. Flush properties of changed files.
6097 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6098 Use `tramp-compat-delete-file'.
6099 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6100 (tramp-gvfs-handle-make-directory): Make more traces.
6101 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6102 (tramp-gvfs-url-file-name): Hexify file name in url.
6103 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6104 into account for the resulting file name.
6105 (tramp-gvfs-handler-askquestion): Preserve current message, in
6106 order to let progress reporter continue afterwards. (Bug#6257)
6107 Return dummy mountpoint, when the answer is "no".
6108 See `tramp-gvfs-maybe-open-connection'.
6109 (tramp-gvfs-handler-mounted-unmounted)
6110 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6111 attribute "default_location". Set "prefix" property.
6112 Handle default-location.
6113 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6114 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6115 exists. Raise an error, if not (due to a corresponding answer
6116 "no" in interactive questions, for example).
6117 Use `tramp-compat-funcall'.
6119 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6120 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6121 (tramp-imap-do-copy-or-rename-file)
6122 (tramp-imap-handle-insert-file-contents)
6123 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6124 (tramp-imap-handle-delete-file): Add TRASH arg.
6126 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6127 Add PRESERVE-SELINUX-CONTEXT.
6128 (tramp-smb-handle-copy-file)
6129 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6130 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6131 Use `with-progress-reporter'.
6132 (tramp-smb-handle-delete-file): Add TRASH arg.
6134 * net/tramp.el (tramp-methods): Move hostname to the end in all
6135 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6137 (tramp-verbose): Describe verbose level 9.
6138 (tramp-completion-function-alist)
6139 (tramp-file-name-regexp, tramp-chunksize)
6140 (tramp-local-coding-commands, tramp-remote-coding-commands)
6141 (with-connection-property, tramp-completion-mode-p)
6142 (tramp-action-process-alive, tramp-action-out-of-band)
6143 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6144 (tramp-exists-file-name-handler): Fix docstring.
6145 (tramp-remote-process-environment): Use `format' instead of
6146 `concat'. Protect version string by apostroph.
6147 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6149 (tramp-file-name-regexp-unified)
6150 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6151 not regard the volume letter as remote filename. (Bug#5447)
6152 (tramp-perl-file-attributes)
6153 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6154 (tramp-vc-registered-read-file-names): Read input as
6155 here-document, otherwise the command could exceed maximum length
6157 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6158 `set-file-selinux-context'.
6159 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6160 backtrace functions.
6161 (tramp-error-with-buffer): Don't show the connection buffer when
6162 we are in completion mode.
6163 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6164 (tramp-handle-file-selinux-context)
6165 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6166 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6168 (with-progress-reporter): New defmacro.
6169 (tramp-debug-outline-regexp): New defconst.
6170 (top, tramp-rfn-eshadow-setup-minibuffer)
6171 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6172 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6173 (tramp-completion-mode-p, tramp-check-for-regexp)
6174 (tramp-open-connection-setup-interactive-shell)
6175 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6176 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6177 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6178 Use `tramp-compat-funcall'.
6179 (tramp-handle-make-symbolic-link): Flush file properties.
6180 (tramp-handle-load, tramp-handle-file-local-copy)
6181 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6182 (tramp-handle-vc-registered, tramp-maybe-send-script)
6183 (tramp-find-shell): Use `with-progress-reporter'.
6184 (tramp-do-file-attributes-with-stat): Add space in format string,
6185 in order to work around a bug in pdksh. Reported by Gilles Pion
6187 (tramp-handle-verify-visited-file-modtime): Do not send a command
6188 when the connection is not established.
6189 (tramp-handle-set-file-times): Simplify the check for utc.
6190 (tramp-handle-directory-files-and-attributes)
6191 (tramp-get-remote-path): Use `copy-tree'.
6192 (tramp-completion-handle-file-name-all-completions): Ensure, that
6193 non remote files are still checked. Oops.
6194 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6195 Handle PRESERVE-SELINUX-CONTEXT.
6196 (tramp-do-copy-or-rename-file): Add progress reporter.
6197 (tramp-do-copy-or-rename-file-directly): Do not use
6198 `tramp-handle-file-remote-p'.
6199 (tramp-do-copy-or-rename-file-out-of-band):
6200 Use `tramp-compat-delete-directory'.
6201 (tramp-do-copy-or-rename-file-out-of-band)
6202 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6203 Use `format-spec-make'.
6204 (tramp-handle-delete-file): Add TRASH arg.
6205 (tramp-handle-dired-uncache): Flush directory cache, not only file
6207 (tramp-handle-expand-file-name)
6208 (tramp-completion-handle-file-name-all-completions)
6209 (tramp-completion-handle-file-name-completion):
6210 Use `tramp-connectable-p'.
6211 (tramp-handle-start-file-process): Set connection property "vec".
6212 Use it, in order to invalidate file caches. Check only for
6213 `remote-tty' process property.
6214 Implement tty setting. (Bug#4604, Bug#6360)
6215 (tramp-file-name-for-operation): Add `call-process-region' and
6216 `set-file-selinux-context'.
6217 (tramp-find-foreign-file-name-handler)
6218 (tramp-advice-make-auto-save-file-name)
6219 (tramp-set-auto-save-file-modes): Remove superfluous check for
6220 `stringp'. This is done inside `tramp-tramp-file-p'.
6221 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6222 operations when we are in completion mode. This gives the user
6223 the chance to correct the file name in the minibuffer.
6224 (tramp-completion-mode-p): Use `non-essential'.
6225 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6226 compatibility: Use `completion-ignore-case' if
6227 `read-file-name-completion-ignore-case' does not exist.
6228 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6229 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6231 (tramp-action-password): Hide password prompt before next run.
6232 (tramp-process-actions): Widen connection buffer for the trace.
6233 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6234 process property. Trace stty settings if `tramp-verbose' >= 9.
6235 Apply workaround for IRIX64 bug. Move argument of last
6236 `tramp-send-command' where it belongs to.
6237 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6238 front of `login-args'.
6239 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6240 on "/dev/null" instead of "/".
6241 (tramp-get-ls-command-with-dired): Make test for "--dired"
6243 (tramp-set-auto-save-file-modes): Adapt version check.
6244 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6245 (tramp-handle-process-file): Call the program in a subshell, in
6246 order to preserve working directory.
6247 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6248 `tramp-remote-sh' from `tramp-methods'.
6249 (tramp-get-ls-command): Make test for "--color=never" stronger.
6250 (tramp-check-for-regexp): Use (forward-line 1).
6252 * net/trampver.el: Update release number.
6254 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6256 * help.el (help-map): Bind `C-h P' to describe-package.
6258 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6260 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6261 when downloading archives.
6262 (describe-package-1): Add package commentary.
6263 (package-install-button-action): New function.
6264 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6265 (package-menu-view-commentary): Function removed.
6266 (package-list-packages-internal): Hide the `package' package too.
6268 2010-08-25 Kenichi Handa <handa@m17n.org>
6270 * language/misc-lang.el ("Arabic"): New language environment.
6271 Setup composition-function-table for Arabic characters.
6273 * international/fontset.el (setup-default-fontset): Fix typo for
6274 arabic OTF spec (fini->fina).
6276 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6278 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6281 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6283 * whitespace.el: Allow cleaning up blanks without blank
6284 visualization (Bug#6651). Adjust help window for
6285 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6286 instead of whitespace-line-column (from EmacsWiki). New version
6288 (whitespace-style): Add new value 'face. Adjust docstring.
6289 (whitespace-space, whitespace-hspace, whitespace-tab):
6290 Adjust foreground property face.
6291 (whitespace-line-column): Adjust docstring and type declaration.
6292 (whitespace-style-value-list, whitespace-toggle-option-alist)
6293 (whitespace-help-text): Adjust const initialization.
6294 (whitespace-toggle-options, global-whitespace-toggle-options):
6296 (whitespace-display-window, whitespace-interactive-char)
6297 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6298 (whitespace-help-scroll): New fun.
6300 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6302 * emacs-lisp/package.el (list-packages): Alias for
6303 package-list-packages.
6305 2010-08-24 Kevin Ryde <user42@zip.com.au>
6307 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6310 * progmodes/ruby-mode.el (ruby): Add defgroup.
6312 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6314 * progmodes/python.el: Add Ipython support (Bug#5390).
6315 (python-shell-prompt-alist)
6316 (python-shell-continuation-prompt-alist): New options.
6317 (python--set-prompt-regexp): New function.
6318 (inferior-python-mode, run-python, python-shell):
6319 Require ansi-color. Use python--set-prompt-regexp to set the comint
6320 prompt based on the Python interpreter.
6321 (python--prompt-regexp): New var.
6322 (python-check-comint-prompt)
6323 (python-comint-output-filter-function): Use it.
6324 (run-python): Use a pipe (Bug#5694).
6326 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6328 * progmodes/python.el (python-send-region): Send a different
6329 Python command if Ipython is in use.
6330 (python-check-version): Use a Python command to find the version.
6332 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6334 * mouse.el (mouse-yank-primary): Avoid setting primary when
6335 deactivating the mark (Bug#6872).
6337 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6339 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6340 with "else" (Bug#3991).
6342 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6344 * net/dbus.el: Accept UNIX domain sockets as bus address.
6345 (top): Don't initialize `dbus-registered-objects-table' anymore,
6346 this is done in dbusbind,c.
6347 (dbus-check-event): Adapt test for bus.
6348 (dbus-return-values-table, dbus-unregister-service)
6349 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6352 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6354 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6356 2010-08-22 Juri Linkov <juri@jurta.org>
6358 * simple.el (read-extended-command): New function with the logic
6359 for `completing-read' moved to Elisp from `execute-extended-command'.
6360 Use `function-called-at-point' in `minibuffer-default-add-function'
6361 to get a command name for M-n (bug#5364, bug#5214).
6363 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6365 * startup.el (command-line-1): Issue warning for ignored arguments
6366 --unibyte, etc (Bug#6886).
6368 2010-08-22 Leo <sdl.web@gmail.com>
6370 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6371 (ignore, bright, dim, keyword): Split list of nicknames before
6372 passing to rcirc-add-or-remove (Bug#6894).
6374 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6376 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6378 2010-08-22 Leo <sdl.web@gmail.com>
6380 Fix buffer-list rename&refresh after killing a buffer in ido.
6381 * ido.el: Revert Óscar's.
6382 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6383 Remember the buffers at head, rather than their name.
6384 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6386 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6387 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6390 extra backslash added to each line (bug#6890).
6392 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6396 2010-08-22 Glenn Morris <rgm@gnu.org>
6398 * menu-bar.el (menu-bar-games-menu): Add landmark.
6400 2010-08-22 Glenn Morris <rgm@gnu.org>
6402 * align.el (align-regexp): Make group and spacing arguments
6403 use the interactive defaults when non-interactive. (Bug#6698)
6405 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6406 expansion, so as not to need sendmail.
6407 (mail-text-start): Remove declaration.
6408 (rmail-retry-failure): Require sendmail.
6410 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6412 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6414 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6416 * progmodes/flymake.el (flymake-start-syntax-check-process):
6417 Use `start-file-process' in order to let it run also on remote hosts.
6419 2010-08-22 Kenichi Handa <handa@m17n.org>
6421 * files.el: Add `word-wrap' as safe local variable.
6423 2010-08-22 Glenn Morris <rgm@gnu.org>
6425 * woman.el (woman-translate): Case matters. (Bug#6849)
6427 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6429 * simple.el (kill-region): Doc fix (Bug#6787).
6431 2010-08-22 Glenn Morris <rgm@gnu.org>
6433 * calendar/diary-lib.el (diary-header-line-format):
6434 Fit it to the window, not the frame.
6436 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6438 * subr.el (ignore-errors): Add debug declaration.
6440 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6442 * whitespace.el (whitespace-color-off): Remove post-command-hook
6445 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6449 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6451 * cus-edit.el (custom-group-value-create): Add extra newline
6452 before end line (Bug#6876).
6454 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6456 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6457 when extending it. Before killing on the second click, check if
6458 the buffer is the correct one. Doc fix.
6459 (mouse-secondary-save-then-kill): Allow usage without first
6460 calling mouse-start-secondary, by defaulting to point. Don't save
6461 an empty secondary selection. Doc fix.
6463 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6465 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6466 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6468 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6469 Adjust initialization.
6470 (whitespace-bob-marker, whitespace-eob-marker)
6471 (whitespace-buffer-changed): New vars.
6472 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6473 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6474 (whitespace-post-command-hook, whitespace-display-char-on):
6476 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6477 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6479 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6481 * files.el (locate-file-completion-table): Only list the .el and .elc
6482 extensions if there's no other choice (bug#5955).
6484 * facemenu.el (facemenu-self-insert-data): New var.
6485 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6487 (facemenu-add-face): Use them.
6489 * simple.el (blink-matching-open): Obey forward-sexp-function.
6491 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * simple.el (prog-mode-map): New var.
6494 (prog-indent-sexp): New command.
6496 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6498 * progmodes/prolog.el (smie): Require.
6500 * emacs-lisp/smie.el (smie-default-backward-token)
6501 (smie-default-forward-token): Strip properties.
6502 (smie-next-sexp): Be more careful with associative operators.
6503 (smie-forward-sexp-command): Generalize.
6504 (smie-backward-sexp-command): Simplify.
6505 (smie-closer-alist): New var.
6506 (smie-close-block): New command.
6507 (smie-indent-debug-log): New var.
6508 (smie-indent-offset-rule): Add a few more cases.
6509 (smie-indent-column): New function.
6510 (smie-indent-after-keyword): Use it.
6511 (smie-indent-keyword): Use it.
6512 Fix up the opener code's point position.
6513 (smie-indent-comment): Only applies at BOL.
6514 (smie-indent-debug): New command.
6516 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6517 declarations that are useful before running the macro.
6519 2010-08-18 Joakim Verona <joakim@verona.se>
6521 * image.el (imagemagick-types-inhibit): New variable.
6522 (imagemagick-register-types): New function.
6523 * image-mode.el (image-transform-properties): New function.
6524 (image-transform-set-scale, image-transform-fit-to-height)
6525 (image-transform-set-rotation, image-transform-set-resize)
6526 (image-transform-fit-to-width, image-transform-fit-to-height):
6528 (image-toggle-display-image): Support image transforms.
6530 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6532 * image.el (create-animated-image): Don't add heuristic mask to image
6535 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6537 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6538 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6540 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6544 Font-lock '...' strings, plus various simplifications and fixes.
6545 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6546 (octave-font-lock-close-quotes): New function.
6547 (octave-font-lock-syntactic-keywords): New var.
6548 (octave-mode): Use it. Set beginning-of-defun-function.
6549 (octave-mode-map): Don't override the <foo>-defun commands.
6550 (octave-mode-menu): Pass it directly to easy-menu-define;
6551 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6552 (octave-block-match-alist): Fix up last change so that
6553 octave-close-block uses the more specific keyword.
6554 (info-lookup-mode): Silence byte-compiler.
6555 (octave-beginning-of-defun): Not interactive any more.
6557 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6558 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6559 (octave-completion-at-point-function): Make sure point is within
6561 (octave-reindent-then-newline-and-indent):
6562 Use reindent-then-newline-and-indent.
6563 (octave-add-octave-menu): Remove.
6565 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6567 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6568 (report-emacs-bug-can-use-xdg-email): New functions.
6569 (report-emacs-bug): Set can-xdg-email to result of
6570 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6571 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6574 * net/browse-url.el (browse-url-default-browser): Add cond
6575 for browse-url-xdg-open.
6576 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6578 2010-08-17 Glenn Morris <rgm@gnu.org>
6580 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6581 (c-fontify-recorded-types-and-refs): Define for compiler.
6582 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6585 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6588 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6590 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6592 (tramp-handle-process-file): Call the program in a subshell, in
6593 order to preserve working directory.
6594 (tramp-action-password): Hide password prompt before next run.
6595 (tramp-process-actions): Widen connection buffer for the trace.
6597 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6599 * net/rcirc.el (rcirc-log-process-buffers): New option.
6600 (rcirc-print): Use it.
6601 (rcirc-generate-log-filename): New function.
6602 (rcirc-log-filename-function): Change default to
6603 rcirc-generate-log-filename (Bug#6828).
6605 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6607 * simple.el (deactivate-mark): If select-active-regions is `only',
6608 only set selection for temporarily active regions.
6610 * cus-start.el: Change defcustom for select-active-regions.
6612 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6614 * mouse.el (mouse--drag-set-mark-and-point): New function.
6615 (mouse-drag-track): Use LOCATION arg to push-mark.
6616 Use mouse--drag-set-mark-and-point to take click-count into
6617 consideration when updating point and mark (Bug#6840).
6619 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6622 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6624 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6626 * font-lock.el (lisp-font-lock-keywords-2):
6627 Add combine-after-change-calls, condition-case-no-debug,
6628 with-demoted-errors, and with-silent-modifications (Bug#6025).
6630 2010-08-14 Kevin Ryde <user42@zip.com.au>
6632 * emacs-lisp/copyright.el (copyright-update-year)
6633 (copyright-update): Temporary switch-to-buffer to ensure the
6634 buffer change being queried is visible (Bug#5394).
6636 2010-08-14 Tom Tromey <tromey@redhat.com>
6638 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6641 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6643 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6646 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6648 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6649 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6650 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6651 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6652 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6653 Call menu-bar-set-tool-bar-position.
6655 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6658 comment style (bug#6834).
6659 * progmodes/scheme.el (scheme-mode-syntax-table):
6660 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6661 "b" flag in "' 14b" syntax.
6663 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6664 for (un)commenting the region and performing completion.
6665 (octave-mode-menu): Use standard commands for help and completion.
6666 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6667 (octave-mode): Use define-derived-mode.
6668 Set completion-at-point-functions and don't set columns.
6669 Don't disable adaptive-fill-regexp.
6670 (octave-describe-major-mode, octave-comment-region)
6671 (octave-uncomment-region, octave-comment-indent)
6672 (octave-indent-for-comment): Remove.
6673 (octave-indent-calculate): Rename from calculate-octave-indent.
6674 (octave-indent-line, octave-fill-paragraph): Update caller.
6675 (octave-initialize-completions): No need to make an alist.
6676 (octave-completion-at-point-function): New function.
6677 (octave-complete-symbol): Use it.
6678 (octave-insert-defun): Use define-skeleton.
6680 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6681 (octave-mode-map): Use comment-dwim (bug#6829).
6683 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6685 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6686 indentation of inserted comment.
6688 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6690 * faces.el (region): Add type gtk that uses gtk colors.
6692 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6693 Handle theme-name change.
6695 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6697 * progmodes/sql.el: Version 2.5
6698 (sql-product-alist): Add :prompt-cont-regexp property for several
6700 (sql-prompt-cont-regexp): New variable.
6701 (sql-output-newline-count, sql-output-by-send):
6702 New variables. Record number of newlines in input text.
6703 (sql-send-string): Handle multiple filters and count newlines.
6704 (sql-send-magic-terminator): Count terminator newline.
6705 (sql-interactive-remove-continuation-prompt): Filters output to
6706 remove continuation prompts; one for each newline.
6707 (sql-interactive-mode): Set up new variables, prompt regexp and
6709 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6710 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6712 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * emacs-lisp/pcase.el: New file.
6716 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6718 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6719 as here-document, otherwise the command could exceed maximum
6720 length of command line.
6721 (tramp-handle-vc-registered): Call script accordingly.
6722 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6724 2010-08-10 Kenichi Handa <handa@m17n.org>
6726 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6729 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6731 * emacs-lisp/package.el (package-version-split)
6732 (package--version-first-nonzero, package-version-compare):
6734 (package-directory-list, package-load-all-descriptors)
6735 (package--built-in, package-activate, define-package)
6736 (package-installed-p, package-compute-transaction)
6737 (package-read-all-archive-contents)
6738 (package--add-to-archive-contents, package-buffer-info)
6739 (package-tar-file-info, package-list-packages-internal):
6740 Use version-to-list and version-list-*.
6742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6743 Use version-to-list.
6744 (package-upload-buffer-internal): Use version-list-<=.
6746 2010-08-09 Kenichi Handa <handa@m17n.org>
6748 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6751 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6753 * tutorial.el (tutorial--default-keys): C-d is now bound to
6754 delete-forward-char (Bug#6826).
6756 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6757 for `double' value of mouse-1-click-follows-link (Bug#6807).
6759 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6761 * replace.el (replace-highlight): Bind isearch-forward and
6762 isearch-error, ensuring that highlighting is updated if the user
6763 switches the search direction (Bug#6808).
6765 * isearch.el (isearch-lazy-highlight-forward): New var.
6766 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6767 (isearch-lazy-highlight-update): Use it.
6769 2010-08-08 Kenichi Handa <handa@m17n.org>
6771 * international/mule.el (define-charset): Store NAME as :base property.
6772 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6773 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6774 current priority. Force using the designation of the specific
6775 charset by adding `charset' text property. Improve the whole algorithm.
6777 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6779 * emulation/pc-select.el (pc-selection-mode-hook)
6780 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6781 (pc-selection-mode): Fix typos in docstrings.
6783 2010-08-08 Kenichi Handa <handa@m17n.org>
6785 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6786 ctext-non-standard-encodings-alist here.
6788 * international/mule.el (ctext-non-standard-encodings-alist):
6789 Add "koi8-r" and "microsoft-cp1251".
6790 (ctext-standard-encodings): New variable.
6791 (ctext-non-standard-encodings-table): List only elements for
6792 non-standard encodings.
6793 (ctext-pre-write-conversion): Adjust for the above change.
6794 Check ctext-standard-encodings.
6796 * international/mule-conf.el (compound-text): Doc fix.
6797 (ctext-no-compositions): Doc fix.
6798 (compound-text-with-extensions): Doc fix.
6800 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6804 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6806 * progmodes/which-func.el (which-func-format): Split help-echo text
6807 into lines, like other mode-line tooltips.
6809 * server.el (server-start): When using TCP sockets, force IPv4
6810 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6812 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6816 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6818 * term.el (term-delimiter-argument-list): Reflow docstring.
6819 (term-read-input-ring, term-write-input-ring, term-send-input)
6820 (term-bol, term-erase-in-display, serial-supported-or-barf):
6821 Fix typos in docstrings.
6823 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6827 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6829 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6831 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6833 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6834 Fix typo in docstring (bug#6747).
6836 2010-08-08 Leo <sdl.web@gmail.com>
6838 * eshell/esh-io.el (eshell-get-target): Better detection of
6839 read-only file (Bug#6762).
6841 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6843 * align.el (align-default-spacing): Doc fix.
6844 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6846 2010-08-08 Stephen Peters <speters@itasoftware.com>
6848 * calendar/icalendar.el
6849 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6850 (icalendar--get-weekday-numbers): New.
6851 (icalendar--convert-recurring-to-diary): Handle multiple byday
6852 values in weekly rules. (Bug#6766)
6854 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6856 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6857 (icalendar--create-uid, icalendar-export-region)
6858 (icalendar--parse-summary-and-rest): Code formatting.
6860 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6862 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6863 to italicize headers.
6864 (calc-highlight-selections-with-faces): New variable.
6865 (calc-selected-face, calc-nonselected-face): New faces.
6867 * calc/calccomp.el (math-comp-highlight-string): Use
6868 `calc-highlight-selections-with-faces' to determine how to highlight
6871 * calc/calc-sel.el (calc-show-selections): Change message to when
6872 using faces to highlight selections.
6874 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6876 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6877 Add SQLite 3 keywords, functions and datatypes.
6878 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6881 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6883 * simple.el (select-active-regions): Move to keyboard.c.
6884 (deactivate-mark): Used saved-region-selection.
6885 (select-active-region): Function removed.
6886 (activate-mark, set-mark, push-mark-command)
6887 (handle-shift-selection): Don't call it.
6888 (keyboard-quit): Avoid adding the region to the window selection.
6890 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6891 select-active-regions implementation.
6892 (mouse-yank-at-click): Doc fix.
6894 * cus-start.el: Add custom declaration for select-active-regions.
6896 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6898 * simple.el (delete-forward-char): Doc fix.
6900 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6901 after reading the tutorial.
6903 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6905 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6906 Fix for the case that a C style comment has its delimiters alone on
6907 their respective lines.
6909 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6911 * net/tramp.el (tramp-handle-start-file-process): Set connection
6913 (tramp-process-sentinel): Use it for flushing the cache.
6914 We cannot do it via the process buffer, the buffer could be deleted
6915 already when running the sentinel.
6917 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6919 * comint.el (comint-mode): Make directory tracking functions
6920 functional on remote files. (Bug#6764)
6922 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6924 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6926 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6928 * emacs-lisp/find-gc.el (find-gc-source-files):
6929 Rename unexec.c => unexcoff.c.
6931 * emacs-lisp/authors.el (authors-fixed-entries):
6932 Rename unexec.c => unexcoff.c.
6934 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6936 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6937 cache, not only file cache.
6938 (tramp-process-sentinel): New defun.
6939 (tramp-handle-start-file-process): Use it, in order to invalidate
6942 2010-08-03 Leo <sdl.web@gmail.com>
6944 * server.el (server-start): Simplify loop.
6946 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * frame.el (screen-height, screen-width, set-screen-width)
6949 (set-screen-height): Remove ancient compatibility aliases.
6951 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6952 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6954 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6955 that change current buffer.
6957 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6959 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6960 beginning of the string. Use `string-match-p'. (Bug#6765)
6962 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6964 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6966 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6968 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6969 (package--builtins): Tweak descriptions.
6970 (package-print-package): Upcase descriptions if necessary.
6971 Show all built-in packages in font-lock-builtin-face.
6972 (package-list-packages-internal): Omit "emacs" package.
6973 Show status of built-in packages as "built-in".
6975 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6977 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6978 before killing to preserve the primary selection (Bug#6701).
6980 * term/x-win.el (x-select-text): Doc fix.
6982 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6984 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6985 (objc-font-lock-extra-types):
6986 * progmodes/cc-mode.el (c-basic-common-init):
6987 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6988 (c++-make-template-syntax-table)
6989 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6990 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6991 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6992 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6993 * progmodes/cc-fonts.el (c-make-inverse-face)
6994 (c-basic-matchers-after):
6995 * progmodes/cc-engine.el (c-forward-keyword-clause)
6996 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6997 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6998 (c-guess-continued-construct, c-guess-basic-syntax):
6999 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7000 The above functions were modified or created.
7002 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7004 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7006 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7008 * files.el (bidi-paragraph-direction): Define safe local values.
7010 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7011 language-info-alist. Remove outdated FIXME in a comment.
7013 2010-07-31 Alan Mackenzie <acm@muc.de>
7015 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7016 Auto-fill broken in C/C++ modes.
7018 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7020 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7021 (menu-bar-showhide-tool-bar-menu-customize-disable)
7022 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7023 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7024 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7025 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7026 make a menu for Options => toolbar that can move it.
7028 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7030 * emacs-lisp/package-x.el (package--make-rss-entry):
7031 (package-maint-add-news-item, package--update-news)
7032 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7034 * emacs-lisp/package.el (package-archive-url): Rename from
7036 (package-install): Doc fix.
7037 (package-download-single, package-download-tar, package-install)
7038 (package-menu-view-commentary): Callers changed.
7040 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7042 * net/tramp.el (tramp-handle-start-file-process): Check only for
7043 `remote-tty' process property.
7044 (tramp-open-shell): Don't check for tty.
7045 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7048 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7051 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7053 * emacs-lisp/package.el (package-load-list, package-archives)
7054 (package-archive-contents, package-user-dir)
7055 (package-directory-list, package--builtins, package-alist)
7056 (package-activated-list, package-obsolete-alist): Mark as risky.
7058 2010-07-28 Phil Hagelberg <phil@evri.com>
7060 Add support for non-default package repositories.
7061 * emacs-lisp/package.el (package-archive-base): Var deleted.
7062 (package-archives): New variable.
7063 (package-archive-contents): Doc fix.
7064 (package-load-descriptor): Do nothing if descriptor file is missing.
7065 (package--write-file-no-coding): New function.
7066 (package-unpack-single): Use it.
7067 (package-archive-id): New function.
7068 (package-download-single, package-download-tar)
7069 (package-menu-view-commentary): Use it.
7070 (package-installed-p): Make second argument optional.
7071 (package-read-all-archive-contents): New function.
7072 (package-initialize): Use it.
7073 (package-read-archive-contents): Add ARCHIVE argument.
7074 (package--add-to-archive-contents): New function.
7075 (package-install): Don't call package-read-archive-contents.
7076 (package--download-one-archive): Store archive file in a
7077 subdirectory of package-user-dir.
7078 (package-menu-execute): Remove spurious line movement.
7080 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7082 * cus-start.el (tool-bar-style): Add text-image-horiz.
7084 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7086 * progmodes/gud.el (gud-common-init): Check for remoteness of
7087 `file', and not of `default-directory'.
7089 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7091 * net/tramp.el (tramp-methods): Move hostname to the end in all
7092 ssh `tramp-login-args'.
7093 (tramp-verbose): Describe verbose level 9.
7094 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7095 (tramp-open-connection-setup-interactive-shell): Trace stty
7096 settings if `tramp-verbose' >= 9.
7097 (tramp-handle-start-file-process): Implement tty setting.
7098 (Bug#4604, Bug#6360)
7100 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7101 `tramp-verbose' to 9.
7103 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7105 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7106 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7107 Remove references to package `lisp-re' (bug#4369).
7109 2010-07-27 Tom Tromey <tromey@redhat.com>
7111 * progmodes/js.el (js-mode):
7112 * progmodes/make-mode.el (makefile-mode):
7113 * progmodes/simula.el (simula-mode):
7114 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7116 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7118 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7120 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7121 (display-time-world-buffer-name, display-time-world-mode-map):
7122 Fix typos in docstrings.
7124 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7126 * image-mode.el (image-display-size): New function.
7127 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7128 (image-mode-fit-frame): Use it (Bug#6639).
7130 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7132 * dired.el (dired-buffers-for-dir): Handle list values of
7133 dired-directory (Bug#6636).
7135 2010-07-26 Sam Steingold <sds@gnu.org>
7137 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7138 Do not call `x-get-selection' the second time, reuse the value.
7140 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7142 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7143 which consist of control chars only. Suggested by Richard Stallman.
7145 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7147 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7148 exists before passing an error to find-file-not-found-functions
7151 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7153 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7154 Remove leading nil element, adjust values.
7155 (tetris-shapes, tetris-shape-scores):
7156 Change representation of shapes and remove some redundancy.
7157 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7158 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7159 Adjust for working with new representation of shapes.
7160 (tetris-shape-rotations): New function.
7161 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7162 (tetris-rotate-prev, tetris-rotate-next):
7163 Adjust for working with the new version of tetris-test-shape.
7165 2010-07-23 Markus Triska <markus.triska@gmx.at>
7167 * progmodes/ps-mode.el: Use comint (bug#5954).
7168 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7169 (ps-mode-other-newline): Simplify.
7170 (ps-run-mode): Derive from comint-mode instead of
7171 fundamental-mode, yielding input history etc.
7172 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7173 (ps-run-send-string): Adapt for comint-mode.
7174 (ps-run-newline): Remove now unneeded function.
7176 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7178 * net/tramp.el (tramp-methods): Move hostname to the end in all
7179 plink `tramp-login-args'.
7181 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7183 * net/tramp.el (tramp-open-shell): New defun.
7184 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7187 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7189 * net/tramp.el (tramp-file-name-regexp-unified)
7190 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7191 not regard the volume letter as remote filename. (Bug#5447)
7193 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7195 * custom.el (custom-declare-variable): Give a clearer error message
7196 when the docstring is missing (bug#6476).
7198 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7200 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7201 (sql-login-params): New widget definition.
7202 (sql-oracle-login-params, sql-mysql-login-params)
7203 (sql-solid-login-params, sql-sybase-login-params)
7204 (sql-informix-login-params, sql-ingres-login-params)
7205 (sql-ms-login-params, sql-postgres-login-params)
7206 (sql-interbase-login-params, sql-db2-login-params)
7207 (sql-linter-login-params): Use it.
7208 (sql-sqlite-login-params): Use it; Define "database" parameter as
7210 (sql-sqlite-program): Change to "sqlite3".
7211 (sql-comint-sqlite): Make sure database name is complete.
7212 (sql-for-each-login): New function.
7213 (sql-connect, sql-save-connection): Use it.
7214 (sql-get-login-ext): New function.
7215 (sql-get-login): Use it.
7216 (sql-make-alternate-buffer-name): Handle :file parameters.
7218 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7220 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7221 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7223 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7225 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7227 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7229 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7231 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7233 * net/tramp.el (tramp-get-ls-command)
7234 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7237 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7239 * progmodes/sql.el: Version 2.3.
7240 (sql-connection-alist): Change keys from symbols to strings;
7241 enhanced the widget definition.
7242 (sql-mode-menu): Add submenu to select connections.
7243 (sql-interactive-mode-menu): Add "Save Connection" item.
7244 (sql-add-product): Fix menu item.
7245 (sql-get-product-feature): Improved error handling.
7246 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7247 (sql-make-alternate-buffer-name): Simplified.
7248 (sql-product-interactive): Handle missing product.
7249 (sql-connect): Support string keys, minor improvements.
7250 (sql-save-connection): New function.
7251 (sql-connection-menu-filter): New function.
7253 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7255 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7256 (tramp-open-connection-setup-interactive-shell):
7257 Apply workaround for IRIX64 bug. Move argument of last
7258 `tramp-send-command' where it belongs to.
7260 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp.el (tramp-perl-file-attributes)
7263 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7264 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7265 front of `login-args'.
7267 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7269 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7270 Set `show-trailing-whitespace' to nil.
7271 (display-time-world-display): Simplify.
7273 2010-07-18 Alan Mackenzie <acm@muc.de>
7275 Enhance `c-file-style' in file/directory local variables.
7276 * progmodes/cc-mode.el (c-count-cfss): New function.
7277 (c-before-hack-hook): Call `c-set-style' differently according to
7278 whether c-file-style was set in file or directory local
7281 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7283 * progmodes/sql.el: Version 2.2.
7284 (sql-product, sql-user, sql-database, sql-server, sql-port):
7285 Use defcustom :safe keyword rather than putting safe-local-variable
7287 (sql-password): Use defcustom :risky keyword rather than putting
7288 risky-local-variable property.
7289 (sql-oracle-login-params, sql-sqlite-login-params)
7290 (sql-solid-login-params, sql-sybase-login-params)
7291 (sql-informix-login-params, sql-ingres-login-params)
7292 (sql-ms-login-params, sql-postgres-login-params)
7293 (sql-interbase-login-params, sql-db2-login-params)
7294 (sql-linter-login-params): Add `port' option.
7295 (sql-get-product-feature): Add NO-INDIRECT parameter.
7296 (sql-comint-oracle, sql-comint-sybase)
7297 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7298 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7299 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7300 (sql-comint-linter): Rename sql-connect-* functions to
7302 (sql-product-alist, sql-mode-menu): Rename as above and
7303 :sqli-connect-func to :sqli-comint-func.
7304 (sql-connection): New variable.
7305 (sql-interactive-mode): Set it.
7306 (sql-connection-alist): New variable.
7307 (sql-connect): New function.
7308 (sql--alt-buffer-part, sql--alt-if-not-empty)
7309 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7311 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7313 * image-mode.el (image-bookmark-make-record): Do not set context
7314 in an image (Bug#6650).
7316 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7318 * simple.el (select-active-region): New function.
7319 (push-mark-command, set-mark, activate-mark)
7320 (handle-shift-selection): Use it.
7321 (deactivate-mark): Don't check for size of region.
7323 * mouse.el (mouse-drag-track): Use select-active-region.
7325 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7327 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7330 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7332 * term/x-win.el (x-select-enable-primary): Change default to nil.
7333 (x-select-enable-clipboard): Add :version keyword.
7335 * mouse.el (mouse-drag-copy-region):
7336 * simple.el (select-active-regions): Likewise.
7338 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7340 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7341 (vc-coding-system-for-diff): Use it to decide whether to inherit
7342 from the file the EOL format for reading the diffs of that file.
7345 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7347 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7348 unibyte, so compressed attachments are not compressed again.
7350 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7352 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7353 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7354 (tramp-find-shell): Simplify setting connection property.
7355 (tramp-get-ls-command): Make test for "--color=never" stronger.
7357 2010-07-15 Simon South <ssouth@member.fsf.org>
7359 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7360 blocks within record declarations (i.e. variant parts) correctly.
7362 2010-07-15 Simon South <ssouth@member.fsf.org>
7364 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7365 over literal tokens when parsing so newlines aren't "absorbed" by
7366 single-line comments. Corrects the indentation of case blocks
7367 that have a comment on the first line.
7369 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7371 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7372 by Drew Adams (Bug#5504).
7374 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7376 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7377 now that Unicode is used (Bug#6594).
7379 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7381 * term/x-win.el (x-select-enable-clipboard): Default to t.
7382 (x-initialize-window-system): Don't overwrite Paste menu item.
7384 * simple.el (select-active-regions): Default to t.
7385 (push-mark-command): Don't overwrite primary with empty string.
7387 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7388 (mouse-drag-copy-region): Default to nil.
7390 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7391 Cut/Copy/Paste menu bar items.
7393 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7395 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7396 Patch applied by Karl Fogel.
7398 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7399 and `bookmark-current-buffer' if they have been already set in
7400 another buffer (e.g gnus-art).
7402 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7403 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7405 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7407 * bookmark.el (bookmark-make-record-default): Allow unneeded
7408 information to be omitted from the record.
7410 Adjust declarations and calls:
7412 * info.el (bookmark-make-record-default): Adjust declaration.
7413 (Info-bookmark-make-record): Adjust call.
7415 * woman.el (bookmark-make-record-default): Adjust declaration.
7416 (woman-bookmark-make-record): Adjust call.
7418 * man.el (bookmark-make-record-default): Adjust declaration.
7419 (Man-bookmark-make-record): Adjust call.
7421 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7423 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7425 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7427 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7428 This is also from Thierry Volpiatto's patch in bug #6444. However,
7429 because it was extraneous to the functional change in that patch,
7430 and causes a re-indendation, I am committing it separately.
7432 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7434 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7435 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7436 Patch applied by Karl Fogel (Bug#6444).
7438 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7440 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7442 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7444 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7445 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7446 (ns-alternatives-map): Change S-tab binding to backtab
7449 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7452 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7454 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7457 * language/tv-util.el (tai-viet-re): Remove format.
7459 2010-07-12 Kenichi Handa <handa@m17n.org>
7461 * language/hebrew.el: Remove no-byte-compile declaration.
7462 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7463 composition-function-table for 3-character looking back.
7464 (hebrew-font-get-precomposed): New function.
7465 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7467 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7469 * mouse.el (mouse-drag-track): Handle select-active-regions
7472 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7474 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7475 empty argument to gvfs-copy.
7477 2010-07-10 Glenn Morris <rgm@gnu.org>
7479 * calendar/calendar.el (calendar-week-end-day): New function.
7480 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7481 Respect calendar-week-start-day. (Bug#6606)
7482 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7483 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7484 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7485 respect calendar-week-start-day.
7487 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7489 * simple.el (use-region-p): Doc fix (Bug#6607).
7491 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7493 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7494 Add regexps for cucumber and ruby.
7496 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7498 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7499 (epa-file-insert-file-contents): Hack to prevent
7500 find-file from opening empty buffer when decryption failed
7503 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7505 * textmodes/ispell.el (ispell-alternate-dictionary):
7506 Use file-readable-p.
7507 Return nil if no word-list is found at default locations.
7508 (ispell-complete-word-dict): Default to nil.
7509 (ispell-command-loop): Use 'word-list' when using lookup-words.
7510 (lookup-words): Use ispell-complete-word-dict or
7511 ispell-alternate-dictionary. Check for word-list availability
7512 and handle errors if needed with better messages (Bug#6539).
7513 (ispell-complete-word): Use ispell-complete-word-dict or
7514 ispell-alternate-dictionary.
7516 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7518 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7519 builtins (BufferError, BytesWarning, WindowsError; callables
7520 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7522 2010-07-07 Glenn Morris <rgm@gnu.org>
7524 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7525 (zone-shift-left): Ignore intangibility, and any errors from
7527 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7528 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7529 deleting, and copying text properties.
7530 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7531 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7532 to point-max is hard.
7533 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7534 (zone-fill-out-screen): Ignore intangibility.
7536 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7538 * menu-bar.el (menu-bar-mode):
7539 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7542 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7543 word/line selection (Bug#6565).
7545 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7547 * net/dbus.el (dbus-send-signal): Declare function.
7549 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7551 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7552 (dbus-register-property): New optional argument EMITS-SIGNAL.
7553 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7555 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7557 * mouse.el (mouse-drag-overlay): Variable deleted.
7558 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7559 (mouse--remap-link-click-p): New function.
7560 (mouse-drag-track): Handle dragging by using temporary Transient
7561 Mark mode, instead of a special overlay.
7562 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7565 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7568 2010-07-02 Juri Linkov <juri@jurta.org>
7570 * autoinsert.el (auto-insert-alist): Fix readability
7571 by using dotted pair notation for lambda.
7573 2010-07-02 Juri Linkov <juri@jurta.org>
7575 * faces.el (read-face-name): Rename arg `string-describing-default'
7576 to `default'. Doc fix. Display the default value in quotes
7577 in the prompt. With empty input, return the `default' arg,
7578 unless the default value is a string (in which case return nil).
7579 (describe-face): Replace the string `default' arg of `read-face-name'
7580 with the symbol `default'.
7582 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7584 * emulation/viper-cmd.el (viper-delete-backward-char)
7585 (viper-del-backward-char-in-insert)
7586 (viper-del-backward-char-in-replace, viper-change)
7587 (viper-backward-indent): Replace delete-backward-char with
7588 delete-char (Bug#6552).
7590 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7592 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7594 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7596 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7597 argument passed to frame-creation-function (Bug#5378).
7599 * faces.el (x-handle-named-frame-geometry)
7600 (x-handle-reverse-video, x-create-frame-with-faces)
7601 (face-set-after-frame-default, tty-create-frame-with-faces):
7602 Don't separately consult default-frame-alist. It is now passed as the
7605 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7607 * startup.el (command-line): Don't call tool-bar-setup in a
7610 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7612 * ruler-mode.el (ruler--save-header-line-format): New fun.
7613 (ruler-mode): Use it as a setter function, so as not to overwrite
7614 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7616 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7618 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7619 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7620 (vc-log-outgoing): Use it.
7621 (vc-diff-internal): Set diff-vc-backend.
7623 * vc/diff-mode.el (diff-vc-backend): New var.
7625 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7627 * dynamic-setting.el (font-setting-change-default-font):
7628 Remove call to message.
7630 2010-06-28 Kenichi Handa <handa@m17n.org>
7632 * international/quail.el (quail-insert-kbd-layout): Fix the
7633 showing of untranslated characters.
7635 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7637 * simple.el (delete-active-region): New option.
7638 (delete-backward-char): Implement in Lisp.
7639 (delete-forward-char): New command.
7641 * mouse.el (mouse-region-delete-keys): Deleted.
7642 (mouse-show-mark): Simplify.
7644 * bindings.el (global-map): Bind delete and DEL, the former to
7645 delete-forward-char.
7647 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7649 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7650 (ruby-mode): Bind indent-line-function (Bug#5119).
7652 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7654 * startup.el (command-line): Recognize "0" X resource value.
7656 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7658 * startup.el (command-line): Use X resources to set the value of
7659 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7661 * menu-bar.el (menu-bar-mode):
7662 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7663 Set init-value to t.
7665 * frame.el (frame-notice-user-settings): Don't change
7666 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7667 vice versa (Bug#2249).
7669 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7671 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7673 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7675 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7676 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7678 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7679 default directories are expanded (Bug#6143).
7681 2010-06-24 Juri Linkov <juri@jurta.org>
7683 * minibuffer.el (completions-format): Change default from nil to
7684 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7686 2010-06-24 Juri Linkov <juri@jurta.org>
7688 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7689 buffer-locally to lambda that re-runs the vc diff command.
7692 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7694 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7695 echo area is in use (Bug#3412).
7697 2010-06-22 Glenn Morris <rgm@gnu.org>
7699 * textmodes/texinfmt.el (texinfo-format-region)
7700 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7701 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7702 (texinfo-format-option, texinfo-noindent):
7703 Use line-beginning-position and line-end-position.
7705 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7706 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7707 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7710 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7712 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7713 forward-line fallout.
7715 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7717 * mouse.el (mouse-appearance-menu): Add docstring.
7719 * help.el (describe-key): Print up-event using key-description.
7721 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7723 * net/zeroconf.el (zeroconf-resolve-service)
7724 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7725 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7727 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7729 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7731 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7733 Avoid displaying files with a nil state in vc-dir.
7734 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7735 cases that cause insertion.
7736 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7739 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7741 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7743 2010-06-29 Leo <sdl.web@gmail.com>
7745 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7747 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7749 * generic-x.el (bat-generic-mode): Fix regexp for command line
7750 switches (Bug#5719).
7752 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7754 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7755 of nconc to avoid pure storage error (Bug#6239).
7757 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7759 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7760 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7761 bindings of bookmark-automatically-show-annotations (Bug#6515).
7763 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7765 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7766 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7768 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7770 * comint.el (make-comint, make-comint-in-buffer): Mention return
7771 value in the docstrings. (Bug#6498)
7773 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7775 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7776 since it is not present when using some non-default switches.
7778 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7780 * simple.el (compose-mail): Fix doc string to refer to
7781 `compose-mail-user-agent-warnings', instead of to the
7782 nonexistent `compose-mail-check-user-agent'.
7784 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7786 Fix an indentation bug:
7788 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7789 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7792 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7793 (c-clear->-pair-props-if-match-before): now return t when they've
7794 cleared properties, nil otherwise.
7795 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7796 by taking account of the existing value.
7798 * progmodes/cc-defs.el
7799 (c-clear-char-property-with-value-function): Fix this to clear the
7800 property rather than overwriting it with nil.
7802 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7804 * emacs-lisp/package.el (package-print-package): Add link to
7805 package description via describe-package.
7806 (describe-package-1): List package requirements. Add button to
7807 perform installation.
7808 (package-menu-describe-package): New command.
7810 * help-mode.el (help-package): New button type.
7812 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7814 * emacs-lisp/package.el: Move package-list-packages binding to
7816 (describe-package, describe-package-1, package--dir): New funs.
7817 (package-activate-1): Use package--dir.
7819 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7821 * help-mode.el (help-package-def): New button type.
7823 * menu-bar.el: Move package-list-packages binding here from
7826 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7828 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7830 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * emacs-lisp/edebug.el (edebug-read-list):
7833 Phase out old-style backquotes.
7835 2010-06-17 Juri Linkov <juri@jurta.org>
7837 * help-mode.el (help-mode): Set buffer-local variable
7838 revert-buffer-function to help-mode-revert-buffer.
7839 (help-mode-revert-buffer): New function.
7841 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7842 before popping to "*info*" (like in other Info functions).
7843 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7844 old-history-forward. Pop to old-buffer-name or "*info*" to
7845 recreate the killed buffer. Set Info-history-forward from
7846 old-history-forward.
7847 (Info-breadcrumbs-depth): Add :group and :version.
7849 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7851 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7853 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7855 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7856 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7858 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7860 * emacs-lisp/package.el (package-menu-mode-map):
7861 Move initialization into declaration.
7863 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7865 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7867 * emacs-lisp/package.el (package-archive-base): Point to
7869 (package-enable, package-load-list): New defcustoms.
7870 (package-user-dir, package-directory-list): Turn into defcustoms.
7871 Don't include package-user-dir in package-directory-list.
7872 (package--builtins-base): Don't include Emacs as a "package".
7873 (package-subdirectory-regexp): New var.
7874 (package-load-all-descriptors, package-compute-transaction)
7875 (package-download-transaction): Obey package-load-list.
7876 (package-activate-1): Rename from package-do-activate.
7877 (package-list-packages-internal): Check package-load-list.
7878 (package-load-descriptor, package-generate-autoloads)
7879 (package-unpack, package-unpack-single)
7880 (package--read-archive-file, package-delete):
7881 Use expand-file-name.
7883 * emacs-lisp/package-x.el: New file. Package uploading
7884 functionality split out from package.el.
7886 * startup.el (command-line): Load packages after reading init file.
7888 2010-06-17 Tom Tromey <tromey@redhat.com>
7890 * emacs-lisp/package.el: New file.
7892 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7894 Fix vc-annotate for renamed files when using Git.
7895 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7896 ls-files. Doe not pass the object as a file name to cat-file, it
7898 (vc-git-annotate-command): Pass the file name using -- to avoid
7899 ambiguity with the revision.
7900 (vc-git-previous-revision): Pass a relative file name.
7902 2010-06-22 Glenn Morris <rgm@gnu.org>
7904 * progmodes/js.el (js-mode-map): Use standard capitalization and
7905 ellipses for menu entries.
7907 * wid-edit.el (widget-complete): Doc fix.
7909 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7911 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7913 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7915 Fix annotating other revisions for renamed files in vc-annotate.
7916 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7917 VC backend. Use it when non-nil.
7918 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7921 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7922 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7923 Do not pass the file name to the 'previous-revision call when we
7924 don't want a file diff. (Bug#6489)
7926 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7928 Fix finding revisions for renamed files in vc-annotate.
7929 * vc/vc.el (vc-find-revision): Add an optional argument for
7930 the VC backend. Use it when non-nil.
7931 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7932 backend to vc-find-revision. (Bug#6487)
7934 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7936 Fix reading file names in Git annotate buffers.
7937 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7938 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7940 2010-06-20 Alan Mackenzie <acm@muc.de>
7942 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7943 in file local variables, set it first.
7945 2010-06-19 Glenn Morris <rgm@gnu.org>
7947 * descr-text.el (describe-char-unicode-data): Insert separating
7948 space when needed. (Bug#6422)
7950 * progmodes/idlwave.el (idlwave-action-and-binding):
7951 Fix typo in 2009-12-03 change. (Bug#6450)
7953 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7956 handling for `lambda' (misunderstanding).
7958 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7960 * calc/calc-poly.el (math-accum-factors): Make sure that
7961 constants aren't distributed after they are factored out.
7963 2010-06-16 Juri Linkov <juri@jurta.org>
7965 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7966 `list-colors-print'. (Bug#6332)
7968 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7970 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7973 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7975 * font-lock.el (font-lock-major-mode): Rename from
7976 font-lock-mode-major-mode to distinguish it from
7977 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7978 (font-lock-set-defaults):
7979 * font-core.el (font-lock-default-function): Adjust users.
7980 (font-lock-mode): Don't set it at all.
7982 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7986 2010-06-16 Glenn Morris <rgm@gnu.org>
7988 * calendar/appt.el (appt-time-msg-list): Doc fix.
7989 (appt-check): Let-bind appt-warn-time.
7990 (appt-add): Make the 3rd argument optional.
7991 Simplify argument names. Doc fix. Check for integer WARNTIME.
7992 Only add WARNTIME to the output list if non-nil.
7994 2010-06-16 Ivan Kanis <apple@kanis.eu>
7996 * calendar/appt.el (appt-check): Let the 3rd element of
7997 appt-time-msg-list specify the warning time.
7998 (appt-add): Add new argument with the warning time. (Bug#5176)
8000 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8002 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8003 older than version 1.6. (Bug#6361)
8005 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8007 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8008 used by cl-do-arglist. (Bug#6408)
8010 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8012 * textmodes/ispell.el (ispell-dictionary-base-alist):
8013 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8014 Suggested by Rolando Pereira (bug#6434).
8016 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8018 * facemenu.el (list-colors-sort): Doc fix.
8020 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8022 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8024 2010-06-14 Juri Linkov <juri@jurta.org>
8026 Add sort option `list-colors-sort'. (Bug#6332)
8027 * facemenu.el (color-rgb-to-hsv): New function.
8028 (list-colors-sort): New defcustom.
8029 (list-colors-sort-key): New function.
8030 (list-colors-display): Doc fix. Sort list according to the option
8032 (list-colors-print): Add HSV values to `help-echo' property of
8035 2010-06-14 Juri Linkov <juri@jurta.org>
8037 * compare-w.el: Move to the "vc" subdirectory.
8039 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8041 * image-mode.el (image-mode-map): Remap left-char and right-char.
8043 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8045 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8047 * term/common-win.el (x-colors): Add all the color names defined
8048 in rgb.txt (Bug#6332).
8050 * facemenu.el (list-colors-print): Don't print extra names if it
8051 will overflow the window width.
8053 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8056 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8058 * files.el (make-directory): Doc fix (bug#6396).
8060 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8062 * net/tramp.el (tramp-remote-process-environment): Protect version
8063 string by apostroph.
8064 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8066 (tramp-file-name-for-operation): Add `call-process-region'.
8067 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8069 * net/tramp-compat.el (top): Do not autoload
8070 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8071 only when `start-file-process' is not bound.
8072 (tramp-advice-file-expand-wildcards): Do not use
8073 `tramp-handle-file-remote-p'.
8074 (tramp-compat-make-temp-file): Handle the case, that
8075 `make-temp-file' has no third argument EXTENSION.
8077 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8079 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8081 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8083 2010-06-11 Juri Linkov <juri@jurta.org>
8085 * finder.el (finder-known-keywords): Add keyword "vc"
8086 for version control.
8088 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8089 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8090 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8091 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8093 2010-06-11 Juri Linkov <juri@jurta.org>
8095 Move version control related files to the "vc" subdirectory.
8096 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8097 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8098 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8099 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8100 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8101 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8102 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8103 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8104 Move files to the "vc" subdirectory.
8106 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8108 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8111 2010-06-11 Stephen Eglen <stephen@gnu.org>
8113 * shell.el: Bind `shell-resync-dirs' to M-RET.
8115 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8117 * notifications.el: Move file from lisp/net, because it is
8118 supposed to talk locally to the user.
8120 2010-06-10 Julien Danjou <julien@danjou.info>
8122 * net/notifications.el (notifications-on-action-signal)
8123 (notifications-on-closed-signal): Pass notification id as first
8124 argument to the callback functions. Add docstrings.
8125 (notifications-notify): Fix docstring.
8127 2010-06-10 Glenn Morris <rgm@gnu.org>
8129 * emacs-lisp/authors.el (authors-ignored-files)
8130 (authors-valid-file-names): Add some files.
8132 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8135 merge conflict, giving preference to the emacs-23 version of the code.
8137 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8139 * emacs-lisp/advice.el (ad-compile-function):
8140 Define warning-suppress-types before we let-bind it (bug#6275).
8142 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8143 declare it, make it buffer-local and permanent-local (bug#6324).
8144 (vc-resynch-window): Adjust name.
8145 * vc-hooks.el (vc-find-file-hook): Adjust name.
8147 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8149 * net/notifications.el (notifications-notify): Fix docstring.
8151 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8153 Update to Unicode 6.0.0 beta.
8154 * international/charprop.el: Update copyright.
8155 * international/mule-cmds.el (ucs-names): Update character ranges.
8156 * international/uni-bidi.el:
8157 * international/uni-category.el:
8158 * international/uni-combining.el:
8159 * international/uni-comment.el:
8160 * international/uni-decimal.el:
8161 * international/uni-decomposition.el:
8162 * international/uni-digit.el:
8163 * international/uni-lowercase.el:
8164 * international/uni-mirrored.el:
8165 * international/uni-name.el:
8166 * international/uni-numeric.el:
8167 * international/uni-old-name.el:
8168 * international/uni-titlecase.el:
8169 * international/uni-uppercase.el: Regenerate.
8171 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8173 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8174 (smie-precs-precedence-table): Fix typo in docstring.
8176 * vc-mtn.el (log-edit-extract-headers): Declare function.
8178 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8180 * net/notifications.el (dbus-register-signal): Declare function.
8181 (notifications-notify): Fix typos and reflow docstring.
8183 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8185 Improve VC create/retrieve tag/branch.
8186 * vc.el (vc-create-tag): Do not read the directory name for VCs
8187 with repository revision granularity. Adjust the tag/branch
8188 prompt. Reset VC properties.
8189 (vc-retrieve-tag): Do not read the directory name for VCs
8190 with repository revision granularity. Reset VC properties.
8192 2010-06-09 Julien Danjou <julien@danjou.info>
8194 * net/notifications.el: New file.
8196 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8198 Add optional support for resetting VC properties.
8199 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8200 call vc-file-clearprops when true.
8201 (vc-resynch-buffer): Add new optional argument, pass it down.
8202 (vc-resynch-buffers-in-directory): Likewise.
8204 Improve support for special markup in the VC commit message.
8205 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8206 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8207 * vc-git.el (vc-git-checkin):
8208 * vc-bzr.el (vc-bzr-checkin): Likewise.
8210 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8212 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8213 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8215 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8217 * iimage.el: Remove images as soon as the underlying text is modified.
8218 (iimage-modification-hook): New function.
8219 (iimage-mode-buffer): Use it.
8221 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8224 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8225 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8226 (smie-indent-keyword): Add handling of open-paren keywords.
8227 (smie-indent-comment-continue): Don't assume comment-continue.
8229 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8231 * window.el (pop-to-buffer): Remove the conditional that
8232 compares new-window and old-window, so it will reselect
8233 the selected window unconditionally.
8234 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8236 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8238 * emacs-lisp/smie.el (smie-indent-offset-after)
8239 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8240 (smie-indent-after-keyword): Use them.
8241 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8242 (smie-indent-keyword): Tweak the black magic.
8243 (smie-indent-comment-continue): Strip comment-continue before use.
8244 (smie-indent-functions): Indent comments before keywords.
8246 2010-06-06 Juri Linkov <juri@jurta.org>
8248 * isearch.el (isearch-lazy-highlight-search): Fix looping
8249 by checking for empty match. This syncs this loop with the
8250 similar loop in `isearch-search'. (Bug#6362)
8252 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8254 * net/dbus.el (dbus-register-method): Declare function.
8255 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8256 (dbus-introspect): Doc fix.
8257 (dbus-event-bus-name, dbus-introspect-get-interface)
8258 (dbus-introspect-get-argument): Reflow docstrings.
8260 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8262 vc-log-incoming/vc-log-outgoing fixes for Git.
8263 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8264 incoming/outgoing logs.
8265 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8266 instead of vc-git-compute-remote.
8267 (vc-git-compute-remote): Remove.
8269 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8271 * term/common-win.el (x-colors): Add "dark green" and "dark
8272 turquoise" (Bug#6332).
8274 2010-06-04 Juri Linkov <juri@jurta.org>
8276 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8277 Instead of setting `replace' to t and replacing the same string
8278 with itself, don't do certain actions when
8279 kill-do-not-save-duplicates is non-nil and string is equal to car
8280 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8281 interprogram-paste strings to kill-ring, and don't push the input
8282 argument `string' to kill-ring.
8283 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8285 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8287 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8289 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8291 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8292 (tramp-gvfs-handler-mounted-unmounted)
8293 (tramp-gvfs-connection-mounted-p): Handle default-location.
8295 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8296 move files to trash.
8298 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8300 * international/mule-cmds.el (nonascii-insert-offset)
8301 (nonascii-translation-table): Add obsolescence information.
8303 * international/mule.el (make-translation-table-from-vector): Doc fix.
8305 2010-06-03 Glenn Morris <rgm@gnu.org>
8307 * desktop.el (desktop-clear-preserve-buffers):
8308 Add "*Warnings*" buffer. (Bug#6336)
8310 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8312 vc-log-incoming/vc-log-outgoing improvements for Git.
8313 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8315 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8317 Add bindings for vc-log-incoming and vc-log-outgoing.
8318 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8319 and vc-log-outgoing.
8320 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8321 and vc-log-outgoing.
8323 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8325 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8326 (rcirc-handler-366): Always sort nicknames.
8328 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8330 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8332 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8334 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8336 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8339 (rcirc-sort-nicknames-join): Avoid setq.
8341 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8343 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8344 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8345 (rcirc-handler-366): Use them.
8347 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8349 Split smie-indent-calculate into more manageable chunks.
8350 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8351 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8352 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8353 (smie-indent-exps): Extract from smie-indent-calculate.
8354 (smie-indent-functions): New var.
8355 (smie-indent-functions): Use them.
8357 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8360 (smie-indent-calculate): Simplify and cleanup.
8362 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8364 * net/tramp-gvfs.el (top): Require url-util.
8365 (tramp-gvfs-mount-point): Remove.
8366 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8368 (with-tramp-dbus-call-method): Format trace message.
8369 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8370 Implement backup call, when operation on local files fails.
8371 Use progress reporter. Flush properties of changed files.
8372 (tramp-gvfs-handle-make-directory): Make more traces.
8373 (tramp-gvfs-url-file-name): Hexify file name in url.
8374 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8375 into account for the resulting file name.
8376 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8377 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8378 (tramp-gvfs-handler-mounted-unmounted)
8379 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8380 attribute "default_location". Set "prefix" property.
8381 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8382 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8383 exists. Raise an error, if not (due to a corresponding answer
8384 "no" in interactive questions, for example).
8386 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8388 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8390 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8392 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8395 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8397 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8398 * vc-git.el (vc-git-compute-remote): New function.
8399 (vc-git-log-outgoing): Use it instead of hard coding a value.
8400 (vc-git-log-incoming): New function.
8402 Improve state updating for VC tag commands.
8403 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8404 to update the state of all buffers in the directory.
8406 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8408 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8411 `file-directory-p' to the filename part rather than to the whole text.
8413 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8415 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8417 2010-05-31 Drew Adams <drew.adams@oracle.com>
8419 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8421 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8423 * subr.el (momentary-string-display): Just use read-event to read
8424 the exit event (Bug#6238).
8426 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8428 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8430 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8432 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8433 Suggested by Eli Zaretskii <eliz@gnu.org>.
8435 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8437 * minibuffer.el (completion-file-name-table): Don't return a boundary
8438 past the end of `string' (bug#6299).
8439 (completion--file-name-table): Delegate to completion-file-name-table
8440 for the `boundaries' case.
8442 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8444 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8447 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8448 `path-separator', but maintain compatibility with Emacs 20.2.
8450 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8452 * server.el (server-process-filter): Receive parent-id argument
8454 (server-create-window-system-frame): New arg. Pass parent-id as
8457 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8459 Bidi-sensitive word movement with arrow keys.
8460 * subr.el (right-arrow-command, left-arrow-command): Move to
8463 * bindings.el (right-char, left-char): Move from subr.el and
8464 rename from right-arrow-command and left-arrow-command.
8465 (right-word, left-word): New functions.
8466 (global-map) <right>: Bind to right-char.
8467 (global-map) <left>: Bind to left-char.
8468 (global-map) <C-right>: Bind to right-word.
8469 (global-map) <C-left>: Bind to left-word.
8471 * ls-lisp.el (ls-lisp-classify-file): New function.
8472 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8473 (ls-lisp-classify): Call ls-lisp-classify-file.
8474 (insert-directory): Remove blanks from switches.
8476 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8478 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8479 (ansi-color-drop-regexp): New constant.
8480 (ansi-color-apply, ansi-color-filter-region)
8481 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8482 (ansi-color-apply): Build string list before calling concat.
8484 2010-05-28 Juri Linkov <juri@jurta.org>
8486 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8487 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8490 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8492 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8493 to ignored backtrace functions.
8494 (with-progress-reporter): Expand docstring.
8495 (tramp-handle-delete-file): Implement TRASH argument.
8496 (tramp-get-remote-trash): New defun.
8498 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8500 * net/tramp-compat.el (tramp-compat-delete-file):
8501 Use `symbol-value' for backward compatibility.
8503 * net/tramp.el (tramp-handle-make-symbolic-link)
8505 (tramp-do-copy-or-rename-file-via-buffer)
8506 (tramp-do-copy-or-rename-file-directly)
8507 (tramp-do-copy-or-rename-file-out-of-band)
8508 (tramp-handle-process-file, tramp-handle-call-process-region)
8509 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8510 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8511 (tramp-delete-temp-file-function): Use `delete-file' instead
8512 of `tramp-compat-delete-file'.
8514 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8515 (tramp-fish-handle-make-symbolic-link)
8516 (tramp-fish-handle-process-file): Use `delete-file' instead
8517 of `tramp-compat-delete-file'.
8519 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8520 Use `delete-file' instead of `tramp-compat-delete-file'.
8522 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8523 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8524 `tramp-compat-delete-file'.
8526 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8527 Use `delete-file' instead of `tramp-compat-delete-file'.
8529 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8530 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8531 (tramp-smb-handle-write-region): Use `delete-file' instead of
8532 `tramp-compat-delete-file'.
8533 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8535 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8537 * dired.el (dired-delete-file): New arg TRASH.
8538 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8539 (dired-do-flagged-delete, dired-do-delete): Use trash.
8541 * speedbar.el (speedbar-item-delete): Allow trashing.
8543 * files.el (delete-directory): New arg TRASH.
8545 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8546 (ange-ftp-rename-remote-to-remote)
8547 (ange-ftp-rename-local-to-remote)
8548 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8549 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8551 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8554 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8555 handle new TRASH arg of `delete-file'.
8557 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8558 (tramp-handle-make-symbolic-link, tramp-handle-load)
8559 (tramp-do-copy-or-rename-file-via-buffer)
8560 (tramp-do-copy-or-rename-file-directly)
8561 (tramp-do-copy-or-rename-file-out-of-band)
8562 (tramp-handle-process-file, tramp-handle-call-process-region)
8563 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8564 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8565 (tramp-delete-temp-file-function): Use null TRASH arg in
8566 tramp-compat-delete-file call.
8568 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8569 (tramp-fish-handle-delete-file)
8570 (tramp-fish-handle-make-symbolic-link)
8571 (tramp-fish-handle-process-file): Use null TRASH arg in
8572 `tramp-compat-delete-file' call.
8574 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8575 arg in `tramp-compat-delete-file' call.
8577 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8578 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8579 `tramp-compat-delete-file' call.
8581 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8582 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8583 `tramp-compat-delete-file' call.
8585 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8586 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8587 (tramp-smb-handle-write-region): Use null TRASH arg in
8588 tramp-compat-delete-file call.
8589 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8590 (tramp-smb-handle-delete-file): Rename arg.
8592 * diff.el (diff-sentinel):
8593 * epg.el (epg--make-temp-file, epg-decrypt-string)
8594 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8595 * jka-compr.el (jka-compr-partial-uncompress)
8596 (jka-compr-call-process, jka-compr-write-region):
8597 * server.el (server-sentinel): Remove optional arg from
8598 delete-file, reverting 2010-05-03 change.
8600 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8602 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8603 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8605 2010-05-27 Kenichi Handa <handa@m17n.org>
8607 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8608 element of GSTRING is nil.
8610 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * emacs-lisp/smie.el (smie-forward-token-function)
8613 (smie-backward-token-function): New vars.
8614 (smie-backward-sexp, smie-forward-sexp)
8615 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8616 (smie-default-backward-token): Rename from smie-backward-token and
8618 (smie-default-forward-token): Rename from smie-forward-token and
8620 (smie-next-sexp): Handle nil results from next-token.
8621 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8623 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8625 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8626 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8628 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8630 * htmlfontify.el (hfy-face-resolve-face): New function.
8631 (hfy-face-to-style): Use it (Bug#6279).
8633 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8635 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8636 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8638 2010-05-26 Glenn Morris <rgm@gnu.org>
8640 * emulation/edt.el (edt-load-keys): Use locate-library.
8642 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8644 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8645 (log-edit-changelog-entries): Doc fix.
8646 (log-edit-changelog-insert-entries): Args changed.
8647 Rename relative filenames in ChangeLog entries. Delete tabs.
8648 (log-edit-insert-changelog-entries): Reorganize return value of
8649 `log-edit-changelog-entries' to pass filenames to
8650 log-edit-changelog-insert-entries.
8652 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8654 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8655 `image-dired-dired-insert-marked-thumbs' to
8656 `image-dired-dired-toggle-marked-thumbs'.
8658 * image-dired.el: Require cl when compiling.
8659 (image-dired-dired-toggle-marked-thumbs): Rename from
8660 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8661 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8662 to 'no-dir. Skip files whose names don't match
8663 `image-file-name-regexp'. When file has a thumbnail overlay,
8664 delete it. (Bug#5270)
8666 2010-05-25 Juri Linkov <juri@jurta.org>
8668 * image-mode.el (image-mode): Add image-after-revert-hook to
8670 (image-after-revert-hook): New function. (Bug#5669)
8672 2010-05-25 Juri Linkov <juri@jurta.org>
8674 * image.el (image-animated-p): When delay between animated images
8675 is 0, set it to 10 (0.1 sec). (Bug#6258)
8677 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8679 * net/tramp.el (tramp-handle-insert-directory): Don't use
8680 `forward-word', its default syntax could be changed.
8682 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8684 * net/tramp.el (tramp-progress-reporter-update): New defun.
8685 (with-progress-reporter): Use it.
8686 (tramp-process-actions):
8687 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8688 Preserve current message, in order to let progress reporter continue
8689 afterwards. (Bug#6257)
8691 2010-05-25 Glenn Morris <rgm@gnu.org>
8693 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8696 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8698 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8699 (rcirc-default-full-name): Change to "unknown".
8700 (rcirc-user-name-history): Add variable.
8702 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8703 Jonathan Rockway <jon@jrock.us>
8705 * net/rcirc.el (rcirc-server-alist): Add :pass.
8706 (rcirc): When prompting for connection parameters, also prompt for
8707 username and password.
8708 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8709 value to server when connecting.
8711 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8714 (smie-merge-prec2s): Pass the tables as separate args.
8715 (smie-bnf-precedence-table): Adjust call accordingly.
8716 (smie-prec2-levels): Set levels at the end.
8718 Replace Lisp calls to delete-backward-char by delete-char.
8719 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8720 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8721 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8722 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8723 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8724 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8725 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8726 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8727 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8728 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8729 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8730 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8731 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8732 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8733 delete-backward-char by calls to delete-char.
8735 2010-05-25 Kenichi Handa <handa@m17n.org>
8737 * language/hebrew.el (hebrew-shape-gstring): New function.
8738 Register it in composition-function-table for all Hebrew combining
8741 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8743 * epa.el (epa--select-keys): Don't explicitly delete the window since
8744 that can fail (e.g. sole window in frame). Use dedication instead.
8746 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8748 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8750 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8752 * image.el (image-refresh): Define as an alias for image-flush.
8754 * image-mode.el (image-toggle-display-image): Caller changed.
8756 2010-05-21 Juri Linkov <juri@jurta.org>
8758 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8759 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8760 whitespace, call wildcard-to-regexp on substrings and concat them
8761 with "\\|". (Bug#6114)
8763 2010-05-21 Alan Mackenzie <acm@muc.de>
8765 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8766 Replace parameter `here' with `here-' and `here-plus', which sandwich
8767 any pertinent CPP construct.
8768 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8769 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8770 CPP construct from taking part in the scanning.
8772 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8774 * net/tramp.el (tramp-do-copy-or-rename-file)
8775 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8776 Tune `with-progress-reporter' messages.
8777 (tramp-handle-vc-registered):
8778 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8779 (tramp-fish-handle-insert-file-contents)
8780 (tramp-fish-maybe-open-connection):
8781 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8782 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8783 (tramp-imap-handle-insert-file-contents)
8784 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8786 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8788 * add-log.el (change-log-font-lock-keywords):
8789 Highlight all authors in multi-author entries.
8791 * smerge-mode.el (smerge-refine-ignore-whitespace)
8792 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8793 Fix typos in docstrings.
8794 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8796 2010-05-21 Glenn Morris <rgm@gnu.org>
8798 * progmodes/fortran.el (fortran-mode):
8799 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8801 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8802 having a relative path in src/Makefile.in.
8804 2010-05-20 Kevin Ryde <user42@zip.com.au>
8806 * help-mode.el (help-make-xrefs): For Info node links turn
8807 newlines into spaces. Link node names with newlines are matched
8808 by help-xref-info-regexp and buttonized, this change ensures they
8809 can be followed successfully with RET. (Bug#6206)
8811 2010-05-20 Juri Linkov <juri@jurta.org>
8813 * locate.el (locate): Use pop-to-buffer instead of
8814 switch-to-buffer-other-window. (Bug#6204)
8816 2010-05-20 Juri Linkov <juri@jurta.org>
8818 * replace.el (replace-highlight): Fix lazy-highlighting
8819 for `M-s w str M-% str RET'.
8821 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8823 * isearch.el (isearch-yank-word-or-char): Pull next subword
8824 when `subword-mode' is activated. (Bug#6220)
8826 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8828 * isearch.el (isearch-update-post-hook): New hook.
8829 (isearch-update): Use the new hook. (Bug#6225)
8831 2010-05-20 Juri Linkov <juri@jurta.org>
8833 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8834 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8837 2010-05-20 Juri Linkov <juri@jurta.org>
8839 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8842 2010-05-20 Juri Linkov <juri@jurta.org>
8844 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8845 FILE-NAME to read from the minibuffer when called interactively
8846 with prefix argument instead of using buffer-file-name.
8847 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8849 * dired.el: Update autoloads.
8851 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8853 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8854 nxml-finish-element, for consistency with SGML mode.
8856 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8859 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8861 * composite.el: Require cl when compiling.
8862 (reference-point-alist, compose-gstring-for-graphic)
8863 (compose-gstring-for-terminal): Fix typos in docstrings.
8865 2010-05-19 Juri Linkov <juri@jurta.org>
8867 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8868 set-window-parameter.
8870 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8872 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8874 (tramp-maybe-open-connection): Use it.
8876 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8878 * simple.el (move-end-of-line): Make sure we are at line beginning
8879 before backing up to end of previous line.
8881 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8883 * password-cache.el (password-cache-remove): Fix docstring.
8885 * net/secrets.el: Autoload the widget functions.
8886 (secrets-search-items, secrets-create-item)
8887 (secrets-get-attributes, secrets-expand-item): Attributes will be
8888 stored on the password database without leading ":", as all other
8890 (secrets-mode): Fix docstring.
8891 (secrets-show-secrets): Provide it as autoloaded command only when
8892 D-Bus support is available. Check existence of Secret Service API.
8894 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * indent.el (indent-region): Deactivate region (bug#6200).
8898 2010-05-19 Glenn Morris <rgm@gnu.org>
8900 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8902 2010-05-19 Kenichi Handa <handa@m17n.org>
8904 * composite.el: Register compose-gstring-for-graphic in
8905 composition-function-table only for combining characters (Mn, Mc, Me).
8907 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8909 * calc/calc-trail.el (calc-trail-isearch-forward)
8910 (calc-trail-isearch-backward): Ensure that the new window
8911 point is set correctly.
8913 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * subr.el (read-quoted-char): Resolve modifiers after key
8916 remapping (bug#6212).
8918 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8920 Add visualization code for secrets.
8921 * net/secrets.el (secrets-mode): New major mode.
8922 (secrets-show-secrets, secrets-show-collections)
8923 (secrets-expand-collection, secrets-expand-item)
8924 (secrets-tree-widget-after-toggle-function)
8925 (secrets-tree-widget-show-password): New defuns.
8927 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8930 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8931 handled in smie-next-sexp.
8932 (smie-indent-calculate): Provide a starting indentation (so the
8933 recursion is well-founded ;-).
8935 Fix handling of non-associative equal levels.
8936 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8937 when it's not needed.
8938 (smie-op-left, smie-op-right): New functions.
8939 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8940 Better handle equal levels to distinguish the associative case from
8941 the "multi-keyword construct" case.
8942 (smie-backward-sexp, smie-forward-sexp): Use it.
8944 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8946 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8948 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8949 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8951 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8953 Provide a simple generic indentation engine and use it for Prolog.
8954 * emacs-lisp/smie.el: New file.
8955 * progmodes/prolog.el (prolog-smie-op-levels)
8956 (prolog-smie-indent-rules): New var.
8957 (prolog-mode-variables): Use them to configure SMIE.
8958 (prolog-indent-line, prolog-indent-level): Remove.
8960 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8962 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8963 order before computing the averages.
8965 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8967 * calc/calc-vec.el (calc-histogram):
8968 (calcFunc-histogram): Allow vectors as inputs.
8969 (math-vector-avg): New function.
8971 * calc/calc-ext.el (math-group-float): Have the number of digits
8972 being grouped depend on the radix (Bug#6189).
8974 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8976 * version.el (emacs-copyright, emacs-version): Don't define here,
8977 now that emacs.c defines it.
8979 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8981 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8982 "Describe Language Environment" menu item.
8984 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8986 Bidi-sensitive movement with arrow keys.
8987 * subr.el (right-arrow-command, left-arrow-command): New functions.
8989 * bindings.el (global-map): Bind them to right and left arrow keys.
8991 Don't override standard definition of convert-standard-filename.
8992 * files.el (convert-standard-filename):
8993 Call w32-convert-standard-filename and dos-convert-standard-filename on
8994 the corresponding systems.
8996 * w32-fns.el (w32-convert-standard-filename): Rename from
8997 convert-standard-filename. Doc fix.
8999 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9000 (convert-standard-filename): Don't defalias.
9001 (register-name-alist, make-register, register-value)
9002 (set-register-value, intdos): Obsolete aliases for the
9003 corresponding dos-* functions and variables.
9004 (dos-intdos): Add a doc string.
9006 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9008 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9009 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9010 (math-compose-tex-func):
9011 * calc/calccomp.el (math-compose-expr):
9012 * calc/calc-ext.el (math-format-flat-expr-fancy):
9013 * calc/calc-store.el (calc-read-var-name):
9014 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9016 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9017 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9018 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9019 (math-standard-units): Add units.
9021 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * progmodes/asm-mode.el (asm-mode):
9024 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9026 * pcomplete.el (pcomplete-completions-at-point): New function,
9027 extracted from pcomplete-std-complete.
9028 (pcomplete-std-complete): Use it.
9030 2010-05-15 Glenn Morris <rgm@gnu.org>
9032 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9033 Remove references to CVS, RCS and Old directories.
9035 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9037 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9040 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9042 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9043 (sh-mode-syntax-table): Give it a default value instead.
9044 (sh-header-marker): Make buffer-local.
9045 (sh-mode): Move make-local-variable to the corresponding setq.
9046 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9047 Use complete-with-action.
9049 * simple.el (prog-mode): New (abstract) major mode.
9050 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9051 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9053 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9055 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9056 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9057 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9058 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9059 (sql-escape-newlines-filter, sql-input-sender)
9060 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9062 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9064 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9066 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9067 latex-open-block and C-c / to latex-close-block.
9069 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9070 and C-c C-e to sgml-close-tag.
9072 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9074 * net/tramp.el (with-progress-reporter): Create reporter object
9075 only when the message would be displayed. Handle nested calls.
9076 (tramp-handle-load, tramp-handle-file-local-copy)
9077 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9078 (tramp-maybe-send-script, tramp-find-shell):
9079 Use `with-progress-reporter'.
9080 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9083 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9084 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9085 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9086 Use `with-progress-reporter'.
9088 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9090 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9091 process everytime when spellchecking from the minibuffer (bug#6143).
9093 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9095 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9097 * dos-fns.el: Add "dos-" prefix for namespace control.
9098 (convert-standard-filename): Define as alias for
9099 dos-convert-standard-filename but only if applicable.
9101 2010-05-12 Alan Mackenzie <acm@muc.de>
9103 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9104 Push the mark at the start of these functions when appropriate.
9106 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9108 * minibuffer.el (completion-cycle-threshold): New custom var.
9109 (completion--do-completion): Use it.
9110 (minibuffer-complete): Use cycling if appropriate.
9112 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9114 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9115 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9117 2010-05-11 Juri Linkov <juri@jurta.org>
9119 * scroll-all.el (scroll-all-check-to-scroll):
9120 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9122 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * iimage.el (iimage-mode-map): Move initialization into declaration.
9125 (iimage-mode-buffer): Use with-silent-modifications.
9126 Simplify calling convention. Adjust callers.
9127 (iimage-mode): Don't run hook redundantly.
9129 * minibuffer.el (completion-pcm--pattern->regex):
9130 Fix last change (bug#6160).
9132 2010-05-10 Juri Linkov <juri@jurta.org>
9134 Remove nodes visited during Isearch from the Info history.
9135 * info.el (Info-isearch-initial-history)
9136 (Info-isearch-initial-history-list): New variables.
9137 (Info-isearch-start): Record initial values of
9138 Info-isearch-initial-history and Info-isearch-initial-history-list.
9139 Add Info-isearch-end to isearch-mode-end-hook.
9140 (Info-isearch-end): New function.
9142 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9144 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9145 format string, in order to work around a bug in pdksh.
9146 Reported by Gilles Pion <gpion@lfdj.com>.
9147 (tramp-handle-verify-visited-file-modtime): Do not send a command
9148 when the connection is not established.
9149 (tramp-handle-set-file-times): Simplify the check for utc.
9151 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9153 Fix use of `filter-buffer-substring' (rework previous change).
9154 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9155 (cua-repeat-replace-region):
9156 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9157 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9158 (cua-cut-region-to-global-mark): Use it.
9160 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9162 * progmodes/sql.el: Version 2.1.
9163 (sql-product-alist): Redesign structure of product info.
9164 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9165 (sql-port, sql-port-history): New variables.
9166 (sql-interactive-product): New variable.
9167 (sql-send-terminator): New variable.
9168 (sql-imenu-generic-expression): Add "Types" imenu entry.
9169 (sql-oracle-login-params, sql-sqlite-login-params)
9170 (sql-mysql-login-params, sql-solid-login-params)
9171 (sql-sybase-login-params, sql-informix-login-params)
9172 (sql-ingres-login-params, sql-ms-login-params)
9173 (sql-postgres-login-params, sql-interbase-login-params)
9174 (sql-db2-login-params, sql-linter-login-params)
9175 (sql-oracle-scan-on): New variables.
9176 (sql-mode-map): Add C-c C-i to start interactive mode.
9177 (sql-mode-menu): Update existing menu entries.
9178 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9179 (sql-mode-oracle-font-lock-keywords)
9180 (sql-mode-postgres-font-lock-keywords)
9181 (sql-mode-ms-font-lock-keywords)
9182 (sql-mode-sybase-font-lock-keywords)
9183 (sql-mode-informix-font-lock-keywords)
9184 (sql-mode-interbase-font-lock-keywords)
9185 (sql-mode-ingres-font-lock-keywords)
9186 (sql-mode-solid-font-lock-keywords)
9187 (sql-mode-mysql-font-lock-keywords)
9188 (sql-mode-sqlite-font-lock-keywords)
9189 (sql-mode-db2-font-lock-keywords)
9190 (sql-mode-linter-font-lock-keywords): Update initialization to
9191 reduce run-time complexity.
9192 (sql-add-product, sql-del-product): New functions.
9193 (sql-set-product-feature, sql-get-product-feature): New functions.
9194 (sql-product-font-lock): Update product API.
9195 (sql-add-product-keywords): New function.
9196 (sql-highlight-product): Update product API.
9197 (sql-help-list-products): New function.
9198 (sql-help): Dynamically lists free and non-free products.
9199 (sql-get-login): Correct bug in handling history and added
9201 (sql-copy-column): Copy without properties.
9202 (sqli-input-sender): Apply filters to SQLi input.
9203 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9204 Implement as a filter.
9205 (sql-escape-newlines-filter): Implement as a filter.
9206 (sql-remove-tabs-filter): New function.
9207 (sql-send-magic-terminator): New function.
9208 (sql-send-string): Implement magic terminator.
9209 (sql-send-region): Use `sql-send-string'.
9210 (sql-interactive-mode): Use product API.
9211 (sql-product-interactive): Use product API.
9212 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9213 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9214 (sql-db2, sql-linter): Use `sql-product-interactive'.
9215 (sql-connect): New function.
9216 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9217 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9218 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9219 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9222 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9224 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9225 New custom variable.
9226 (completion-pcm--string->pattern): Use it.
9227 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9228 Make it handle any symbol as `any'.
9229 (completion-pcm--merge-completions): Extract common suffix for the new
9230 `prefix' symbol as well.
9231 (completion-substring--all-completions): Use the new `prefix' symbol.
9233 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9235 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9237 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9238 (tramp-compat-funcall): New defmacro.
9239 (tramp-compat-line-beginning-position)
9240 (tramp-compat-line-end-position)
9241 (tramp-compat-temporary-file-directory)
9242 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9243 (tramp-compat-copy-file, tramp-compat-copy-directory)
9244 (tramp-compat-delete-file, tramp-compat-delete-directory)
9245 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9246 * net/tramp.el (top, with-progress-reporter)
9247 (tramp-rfn-eshadow-setup-minibuffer)
9248 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9249 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9250 (tramp-completion-mode-p, tramp-check-for-regexp)
9251 (tramp-open-connection-setup-interactive-shell)
9252 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9253 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9254 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9255 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9256 (tramp-reporter-dump-variable, tramp-load-report-modules)
9257 (tramp-append-tramp-buffers)
9258 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9260 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9262 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9264 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9265 buffer-modtime. Adjust users.
9267 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9269 * international/mule.el (auto-coding-alist): Only purecopy
9270 car of each item, not the whole list (Bug#6083).
9272 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9274 * progmodes/js.el (js-mode): Make paragraph variables local before
9275 calling c-setup-paragraph-variables (Bug#6071).
9277 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9279 * composite.el (compose-region, reference-point-alist): Fix typos
9282 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9284 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9285 gnuplot's "set" command.
9287 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9289 * abbrev.el (last-abbrev-text): Doc fix.
9290 (abbrev-prefix-mark): Don't escape parenthesis.
9292 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9294 * composite.el (find-composition): Doc fix.
9296 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9298 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9299 (sql-oracle-program, sql-sqlite-options)
9300 (sql-query-placeholders-and-send): Doc fixes.
9301 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9302 (sql-imenu-generic-expression, sql-buffer)
9303 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9304 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9305 (sql-mode-sybase-font-lock-keywords)
9306 (sql-mode-informix-font-lock-keywords)
9307 (sql-mode-interbase-font-lock-keywords)
9308 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9309 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9310 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9311 (sql-product-feature, sql-highlight-product)
9312 (comint-line-beginning-position, sql-rename-buffer)
9313 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9314 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9315 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9316 Fix typos in docstrings.
9318 2010-05-08 Juri Linkov <juri@jurta.org>
9320 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9321 property instead of `invisible' and `after-string' (bug#5998).
9323 2010-05-08 Juri Linkov <juri@jurta.org>
9325 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9327 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9329 * filecache.el (file-cache-add-directory-list)
9330 (file-cache-add-directory-recursively): Fix typos in docstrings.
9332 2010-05-08 Kenichi Handa <handa@m17n.org>
9334 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9335 (gujarati-composable-pattern): Fix typo.
9337 2010-05-08 Kenichi Handa <handa@m17n.org>
9339 * language/indian.el (oriya-composable-pattern)
9340 (tamil-composable-pattern, malayalam-composable-pattern):
9341 Add two-part vowels to "v" (vowel sign).
9343 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9345 * files.el (copy-directory): Handle symlinks (Bug#5982).
9347 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9349 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9350 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9353 2010-05-08 Glenn Morris <rgm@gnu.org>
9355 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9357 * minibuffer.el (completion-at-point): Doc fix.
9359 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * electric.el (Electric-command-loop): Minor tweak.
9363 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9364 better with dedicated windows.
9366 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9368 * Version 23.2 released.
9370 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9371 Stefan Monnier <monnier@iro.umontreal.ca>
9373 Highlight vendor specific properties.
9374 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9375 (css-proprietary-property): New face.
9376 (css-font-lock-keywords): Use them.
9378 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9380 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9382 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9384 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9385 * files.el (auto-mode-alist): Remove redundant entries.
9387 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9388 * simple.el (auto-save-mode): Move from files.el.
9389 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9391 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9393 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9395 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9397 * mail/binhex.el (binhex-decode-region-internal)
9398 * mail/uudecode.el (uudecode-decode-region-internal)
9399 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9400 (dns-read-type, dns-query)
9401 * pgg-parse.el (pgg-parse-armor)
9402 * pgg.el (pgg-verify-region)
9403 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9406 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9408 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9410 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9412 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9413 * emulation/cua-base.el (cua-repeat-replace-region):
9414 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9415 (cua-cut-region-to-global-mark):
9416 Remove text properties with `set-text-properties'.
9418 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9420 * net/tramp.el (top, with-progress-reporter):
9421 Use `symbol-function' inside `funcall'.
9423 * net/tramp-compat.el (tramp-compat-file-attributes)
9424 (tramp-compat-delete-file, tramp-compat-delete-directory):
9425 Handle only `wrong-number-of-arguments' error.
9427 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9428 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9431 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9433 * minibuffer.el (completion--sreverse, completion--common-suffix):
9435 (completion-pcm--merge-completions): Extract common suffix when safe.
9437 * emacs-lisp/easy-mmode.el (define-minor-mode):
9438 Make :variable more flexible.
9439 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9441 2010-05-05 Juri Linkov <juri@jurta.org>
9443 Add `slow' and `history' tags to the desktop data.
9445 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9446 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9447 (Info-finder-find-node): Require `finder.el' to be able
9448 to restore node from the desktop.
9449 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9450 data `Info-history' and `slow' tag in the assoc list.
9451 (Info-restore-desktop-buffer): Don't restore nodes with the
9452 `slow' tag. Restore `Info-history'.
9454 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9456 Add FORCE argument to `delete-file'.
9458 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9459 forcing to delete the temporary file.
9460 (ange-ftp-delete-file): Add FORCE arg.
9461 (ange-ftp-rename-remote-to-remote)
9462 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9463 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9464 Force file deletion.
9466 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9468 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9469 (tramp-handle-make-symbolic-link, tramp-handle-load)
9470 (tramp-do-copy-or-rename-file-via-buffer)
9471 (tramp-do-copy-or-rename-file-directly)
9472 (tramp-do-copy-or-rename-file-out-of-band)
9473 (tramp-handle-process-file, tramp-handle-call-process-region)
9474 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9475 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9476 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9478 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9479 (tramp-fish-handle-make-symbolic-link)
9480 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9482 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9483 Use `tramp-compat-delete-file'.
9485 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9486 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9488 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9489 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9491 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9492 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9493 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9494 Use `tramp-compat-delete-file'.
9496 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9499 * subr.el (add-minor-mode): Use push.
9500 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9501 * emulation/edt.el (edt-select-mode): Simplify.
9503 Use define-minor-mode in more cases.
9504 * term/tvi970.el (tvi970-set-keypad-mode):
9505 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9506 (normal-erase-is-backspace-mode):
9507 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9508 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9509 (get-scroll-bar-mode): New function.
9510 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9512 Use define-minor-mode for less obvious cases.
9513 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9514 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9515 * international/iso-ascii.el (iso-ascii-mode):
9516 * frame.el (auto-raise-mode, auto-lower-mode):
9517 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9519 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9521 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9522 in order to see error messages for failed logins.
9524 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9526 * diff.el (diff-sentinel):
9528 * epg.el (epg--make-temp-file, epg-decrypt-string)
9529 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9531 * jka-compr.el (jka-compr-partial-uncompress)
9532 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9534 * server.el (server-sentinel): Use delete-file's new FORCE arg
9537 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9539 Use define-minor-mode where applicable.
9540 * view.el (view-mode):
9541 * type-break.el (type-break-query-mode)
9542 (type-break-mode-line-message-mode):
9543 * textmodes/reftex.el (reftex-mode):
9544 * term/vt100.el (vt100-wide-mode):
9545 * tar-mode.el (tar-subfile-mode):
9546 * savehist.el (savehist-mode):
9547 * ibuf-ext.el (ibuffer-auto-mode):
9548 * composite.el (auto-composition-mode):
9549 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9550 Use define-minor-mode.
9551 (vhdl-mode): Use static mode-line format.
9552 (vhdl-mode-line-update): Delete.
9553 (vhdl-create-mode-menu, vhdl-activate-customizations)
9554 (vhdl-hs-minor-mode): Don't bother calling it.
9556 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * simple.el (with-wrapper-hook): Move.
9559 (buffer-substring-filters): Mark obsolete.
9560 (filter-buffer-substring-functions): New variable.
9561 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9563 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9564 Michael Albinus <michael.albinus@gmx.de>
9566 Implement compression for inline methods.
9568 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9569 (tramp-copy-size-limit): Allow also nil.
9570 (tramp-inline-compress-commands): New defconst.
9571 (tramp-find-inline-compress, tramp-get-inline-compress)
9572 (tramp-get-inline-coding): New defuns.
9573 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9574 replaced by `tramp-get-inline-coding'.
9575 (tramp-handle-file-local-copy, tramp-handle-write-region)
9576 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9578 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9580 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9581 Remove unused functions.
9583 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9584 Set find-tag-default-function as a variable rather than a property.
9586 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9587 * progmodes/etags.el (tags-completion-at-point-function):
9588 Remove left over interactive spec. Add autoloading stub.
9589 (complete-tag): Use tags-completion-at-point-function.
9591 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9593 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9595 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9597 * ido.el (ido-init-completion-maps): Remove C-v binding.
9598 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9600 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9602 * minibuffer.el (tags-completion-at-point-function): New function.
9603 (completion-at-point-functions): Use it.
9605 * progmodes/etags.el (complete-tag): Revert last change.
9607 2010-04-29 Alan Mackenzie <acm@muc.de>
9609 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9610 off-by-one error (in end of macro position).
9612 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9614 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9615 firefox is absent. Don't autoload.
9616 (browse-url-galeon-program): Don't autoload.
9618 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9620 * bindings.el (complete-symbol): Move into minibuffer.el.
9622 * minibuffer.el (complete-tag): Move from etags.el. If tags
9623 completion cannot be performed, return nil instead of signalling
9625 (completion-at-point): Make it an alias for complete-symbol.
9626 (complete-symbol): Move from bindings.el, and replace with the
9627 body of completion-at-point.
9629 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9631 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9633 * net/tramp.el (tramp-remote-selinux-p): New defun.
9634 (tramp-handle-file-selinux-context)
9635 (tramp-handle-set-file-selinux-context): Use it.
9637 2010-04-28 Sam Steingold <sds@gnu.org>
9639 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9640 `safe-local-variable' if the value is a string or a symbol with
9641 the property `bug-reference-url-format'.
9643 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9645 * progmodes/bug-reference.el (bug-reference-url-format):
9646 Revert 2010-04-27 change due to security risk.
9648 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9650 Make it possible to locally disable a globally enabled mode.
9651 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9652 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9653 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9654 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9655 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9656 that subsequent hooks get a chance to disable it.
9658 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9661 Avoid re-enabling a minor mode after the user turned the minor mode
9662 off if MODE-enable-in-buffers is run twice (typically once from
9663 fundamental-mode's after-change-major-mode-hook and a second time from
9664 run-mode-hook's own after-change-major-mode-hook).
9666 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9668 2010-04-27 Sam Steingold <sds@gnu.org>
9670 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9671 `safe-local-variable' if the value is a string or a function, as
9672 documented and implemented on 2010-04-02.
9674 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9676 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9677 when method is 'kill.
9679 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9681 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9682 condition in default directory check.
9683 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9684 Kill ispell process when killing its associated buffer.
9686 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9688 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9689 but we aren't using it.
9691 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9693 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9694 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9696 2010-04-24 Glenn Morris <rgm@gnu.org>
9698 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9699 Ignore VCS-ignore files, and deleted nextstep preferences files.
9700 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9701 (authors-ambiguous-files): New list.
9702 (authors-valid-file-names): Add some deleted files.
9703 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9704 (authors-disambiguate-file-name): New function. (Bug#5501)
9705 (authors-canonical-file-name): Doc fix.
9706 Don't warn about obsolete files.
9707 (authors-canonical-file-name, authors-scan-el):
9708 Use authors-disambiguate-file-name.
9710 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9711 Add autoload cookies.
9712 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9713 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9714 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9715 They have definitions / compiler macros in cl.el.
9716 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9717 Replace manual autoloads with generated ones.
9718 (htmlfontify-unload-rgb-file): Remove autoload.
9719 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9721 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9723 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9724 (byte-compile-setq-default): Optimize for the
9725 single-var case and don't call byte-compile-form in this case to avoid
9726 inf-loop with byte-compile-set-default.
9728 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9730 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9732 Implement SELINUX backends.
9734 * net/tramp.el (tramp-file-name-handler-alist):
9735 Add `file-selinux-context' and `set-file-selinux-context'.
9736 (tramp-handle-file-selinux-context)
9737 (tramp-handle-set-file-selinux-context): New defuns.
9738 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9739 Handle PRESERVE-SELINUX-CONTEXT.
9741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9742 Add `file-selinux-context' and `set-file-selinux-context'.
9743 (tramp-gvfs-handle-file-selinux-context)
9744 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9745 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9747 * net/ange-ftp.el (ange-ftp-copy-file):
9748 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9749 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9750 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9751 Add PRESERVE-SELINUX-CONTEXT.
9753 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9755 Synchronize with Tramp repository.
9757 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9758 (tramp-action-process-alive, tramp-action-out-of-band)
9759 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9760 (tramp-exists-file-name-handler): Fix docstring.
9761 (with-progress-reporter): New defmacro.
9762 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9763 (tramp-maybe-open-connection): Use it.
9765 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9767 Detect ssh 'ControlMaster' argument automatically in some cases.
9769 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9770 (tramp-default-method): Use it.
9772 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9774 * net/tramp.el (tramp-handle-copy-file): Add new optional
9775 parameter `preserve-selinux-context'.
9776 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9778 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9780 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9781 Ensure, that non remote files are still checked. Oops.
9783 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9787 * icomplete.el (icomplete-completions): Use `non-essential'.
9789 * net/tramp.el (tramp-connectable-p): New defun.
9790 (tramp-handle-expand-file-name)
9791 (tramp-completion-handle-file-name-all-completions)
9792 (tramp-completion-handle-file-name-completion): Use it.
9794 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9798 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9800 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9802 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9804 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9807 * info.el (info-tool-bar-map): Add labels.
9809 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9811 * cus-edit.el (custom-commands): Add labels for tool bar.
9812 (custom-buffer-create-internal, Custom-mode): Adjust for
9813 labels in custom-commands.
9815 * dynamic-setting.el: Renamed from font-setting.el.
9817 2010-04-21 John Wiegley <jwiegley@gmail.com>
9819 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9820 toggles the use of virtual buffers.
9821 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9822 (ido-toggle-virtual-buffers): New function.
9824 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9826 Use `define-derived-mode'; fix window selection; doc fixes.
9827 * play/tetris.el (tetris, tetris-update-speed-function)
9828 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9829 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9830 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9831 (tetris-pause-game): Fix typos in docstrings.
9832 (tetris-mode-map, tetris-null-map):
9833 Move initialization into declaration.
9834 (tetris-mode): Define with `define-derived-mode';
9835 set show-trailing-whitespace to nil.
9836 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9838 2010-04-21 Karel Klíč <kklic@redhat.com>
9840 * files.el (backup-buffer): Handle SELinux context, and return it
9841 if a backup was made by renaming.
9842 (backup-buffer-copy): Set SELinux context to the target file.
9843 (basic-save-buffer): Set SELinux context of the newly written file.
9844 (basic-save-buffer-1): Now it also returns any SELinux context.
9845 (basic-save-buffer-2): Set SELinux context of the newly created file,
9847 * net/tramp.el (tramp-file-name-for-operation):
9848 Add file-selinux-context.
9850 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9852 Make the log-edit comments use RFC822 format throughout.
9854 * vc.el (vc-checkin, vc-modify-change-comment):
9855 Adjust to new vc-start/finish-logentry.
9856 (vc-find-conflicted-file): New command.
9857 (vc-transfer-file): Adjust to new vc-checkin.
9858 (vc-next-action): Improve scoping.
9860 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9861 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9863 * vc-git.el (vc-git-log-edit-mode): Remove.
9864 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9865 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9867 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9868 (vc-start-logentry): Remove argument `extra'.
9869 (vc-finish-logentry): Remove extra args.
9871 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9872 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9873 (vc-bzr-conflicted-files): New function.
9875 * log-edit.el (log-edit-extra-flags)
9876 (log-edit-before-checkin-process): Remove.
9877 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9878 (log-edit-headers-alist): New var.
9879 (log-edit-header-contents-regexp): New const.
9880 (log-edit-match-to-eoh): New function.
9881 (log-edit-font-lock-keywords): Use them.
9882 (log-edit): Insert a "Summary:" header as default.
9883 (log-edit-mode): Mark font-lock rules as case-insensitive.
9884 (log-edit-done): Cleanup headers.
9885 (log-view-process-buffer): Remove.
9886 (log-edit-extract-headers): New function to replace it.
9888 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9890 * subr.el (default-direction-reversed): Remove obsolescence info.
9892 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9894 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9897 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9898 I.e. include text after point in the completion region.
9899 Also, return nil when we're not after/in a symbol.
9901 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9902 default enable-multibyte-characters.
9904 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * international/mule.el: Help the user choose a valid coding-system.
9907 (read-buffer-file-coding-system): New function.
9908 (set-buffer-file-coding-system): Use it. Prompt the user if the
9909 coding-system cannot encode all the chars.
9911 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9912 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9913 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9914 Don't use *vc-bzr-shelve*.
9916 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9918 Fix the version number for added files.
9919 * vc-hg.el (vc-hg-working-revision): Check if the file is
9920 registered after hg parent fails (Bug#5961).
9922 2010-04-19 Glenn Morris <rgm@gnu.org>
9924 * htmlfontify.el (htmlfontify-buffer)
9925 (htmlfontify-copy-and-link-dir): Autoload entry points.
9927 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9929 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9930 name relative to the project root (Bug#5960).
9932 2010-04-19 Glenn Morris <rgm@gnu.org>
9934 * vc-git.el (vc-git-print-log): Doc fix.
9936 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9938 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9940 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9942 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9943 default settings (Bug#5928).
9945 2010-04-19 Glenn Morris <rgm@gnu.org>
9947 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9949 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9951 2010-04-19 Kenichi Handa <handa@m17n.org>
9953 * language/indian.el (malayalam-composable-pattern): Fix previous
9954 change (add U+0D4D "SIGN VIRAMA").
9955 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9956 (tamil-composable-pattern): Fix typo in the regexp.
9957 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9958 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9959 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9961 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9963 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9964 paragraph-separate (Bug#5821).
9966 2010-04-19 Juri Linkov <juri@jurta.org>
9968 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9970 * info.el (Info-find-node-2): Comment out code that skips
9972 (Info-mouse-follow-link): New command.
9973 (Info-link-keymap): New keymap.
9974 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9975 Return a string with links instead of inserting breadcrumbs
9977 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9978 Instead of putting the `invisible' text property over the Info
9979 header, make an overlay over the Info header with the `invisible'
9980 property and `after-string' set to the string returned by
9983 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9985 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9986 Reported by monkey@sandpframing.com.
9988 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9991 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9992 available in the "keyseq cache" any more.
9994 * custom.el (defcustom): Add edebug spec.
9996 2010-04-18 Juri Linkov <juri@jurta.org>
9998 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10000 * view.el (view-file, view-buffer): Move test for special mode-class
10001 from view-file to view-buffer.
10003 * tar-mode.el (tar-extract): Turn if's into one cond
10004 like in arc-mode.el.
10006 2010-04-18 Juri Linkov <juri@jurta.org>
10008 Add 7z archive format support (bug#5475).
10010 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10011 (archive-7z-extract): New defcustom.
10012 (archive-find-type): Add magic string for 7z.
10013 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10014 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10015 `buffer' arg of `call-process'.
10016 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10017 call the function `archive-7z-extract' with the variable
10018 `archive-7z-extract' let-bound to `archive-zip-extract'.
10019 (archive-7z-summarize, archive-7z-extract): New functions.
10021 * international/mule.el (auto-coding-alist):
10022 * files.el (auto-mode-alist): Add 7z file extension.
10024 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * loadup.el: Setup hash-cons for pure data.
10028 Fix duplicate entries in cedet's loaddefs.el files.
10029 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10030 Should make most file-local generated-autoload-file unnecessary.
10031 (print-readably): Silence warnings.
10032 (autoload-find-destination): Take load-name as an arg to make sure
10033 it's the same as the one that will be in the file.
10034 (autoload-generate-file-autoloads): Adjust to above changes.
10035 Try to make the dataflow a bit simpler.
10037 * cvs-status.el (cvs-refontify): Remove unused.
10039 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10041 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10043 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10044 twos-complement mode.
10046 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10048 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10049 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10050 (calc-inverse): Add "Option" to message, as appropriate.
10051 (calc-hyperbolic): Add "Option" to message, as appropriate.
10052 (calc-option, calc-is-option): New functions.
10054 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10055 (calc-option-prefix-help): New function.
10057 * calc/calc-misc.el (calc-help): Add "Option" entry.
10059 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10060 (calc-option-flag): New variable.
10061 (calc-do): Set `calc-option-flag to nil.
10062 (calc-set-mode-line): Add "Opt " as appropriate.
10064 2010-04-16 Juri Linkov <juri@jurta.org>
10066 Move scrolling commands from simple.el to window.el
10067 because their primitives are implemented in window.c.
10069 * simple.el (scroll-error-top-bottom)
10070 (scroll-up-command, scroll-down-command, scroll-up-line)
10071 (scroll-down-line, scroll-other-window-down)
10072 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10073 * window.el (scroll-error-top-bottom)
10074 (scroll-up-command, scroll-down-command, scroll-up-line)
10075 (scroll-down-line, scroll-other-window-down)
10076 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10077 Move from simple.el to window.el because their primitives are
10078 implemented in window.c.
10080 2010-04-16 Juri Linkov <juri@jurta.org>
10082 * isearch.el (isearch-lookup-scroll-key): Check both
10083 `isearch-scroll' and `scroll-command' properties.
10084 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10086 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10088 * simple.el (scroll-up-command, scroll-down-command)
10089 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10091 2010-04-15 Juri Linkov <juri@jurta.org>
10093 * simple.el (scroll-up-command, scroll-down-command)
10094 (scroll-up-line, scroll-down-line): Put `scroll-command'
10095 property on the these symbols. Remove them from
10096 `scroll-preserve-screen-position-commands'.
10098 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10099 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10100 Remove it from `scroll-preserve-screen-position-commands'.
10102 * isearch.el (isearch-allow-scroll): Doc fix.
10104 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10106 * net/tramp.el (tramp-error-with-buffer): Don't show the
10107 connection buffer when we are in completion mode.
10108 (tramp-file-name-handler): Catch the error for some operations
10109 when we are in completion mode. This gives the user the chance to
10110 correct the file name in the minibuffer.
10112 2010-04-15 Glenn Morris <rgm@gnu.org>
10114 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10116 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10118 Simplify by using `define-derived-mode'.
10119 * info.el (Info-mode):
10120 * calendar/todo-mode.el (todo-mode):
10121 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10122 (gomoku-mode-map): Move initialization into declaration.
10124 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10127 * ido.el (ido-file-name-all-completions-1):
10128 * minibuffer.el (minibuffer-completion-help):
10129 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10131 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10133 * simple.el (non-essential): New var.
10135 Add a new field `location' to bookmarks for non-file bookmarks.
10136 * bookmark.el (bookmark-location): Use the new field, if present.
10137 (bookmark-insert-location): Undo last change, not needed any more.
10138 * man.el (Man-bookmark-make-record):
10139 * woman.el (woman-bookmark-make-record): Add `location' field.
10141 2010-04-14 Juri Linkov <juri@jurta.org>
10143 * simple.el (scroll-error-top-bottom): New defcustom.
10144 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10146 * emulation/pc-select.el (pc-select-override-scroll-error):
10147 Obsolete in favor of `scroll-error-top-bottom'.
10149 2010-04-14 Juri Linkov <juri@jurta.org>
10151 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10152 `scroll-up-command' and `M-v' to `scroll-down-command'.
10154 * emulation/cua-rect.el (cua--init-rectangles):
10155 * forms.el (forms--change-commands):
10156 * image-mode.el (image-mode-map):
10157 Remap scroll-down-command and scroll-up-command
10158 in addition to scroll-down and scroll-up.
10160 2010-04-14 Juri Linkov <juri@jurta.org>
10162 * mwheel.el (scroll-preserve-screen-position-commands):
10163 Add mwheel-scroll to this list of commands.
10165 * simple.el (scroll-preserve-screen-position-commands):
10166 Add scroll-up-command, scroll-down-command, scroll-up-line,
10167 scroll-down-line to this list of commands.
10169 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10171 * obsolete/complete.el: Move from lisp/complete.el.
10173 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10175 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10176 to the minor mode function now turns the mode ON unconditionally.
10178 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * vc-dir.el (vc-dir-kill-line): New command.
10181 (vc-dir-mode-map): Bind it to C-k.
10183 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10185 * woman.el: Add bookmark declarations to silence the compiler.
10186 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10187 step to compatibility between man and woman bookmarks.
10188 Adjust for Man-default-bookmark-title renaming.
10189 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10191 * man.el: Add bookmark declarations to silence the compiler.
10192 (Man-name-local-regexp): Make it match NAME as well.
10193 (Man-getpage-in-background): Return the buffer.
10194 (Man-notify-when-ready): Use `case'.
10195 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10196 Don't hardcode "NAME". Simplify.
10197 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10198 Rename from Man-bookmark-make-record.
10199 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10200 we have the actual man-args. Use Man-getpage-in-background rather
10201 than `man' since the arg is already processed. Let bookmark.el do the
10202 window handling. Only wait for the relevant process.
10203 Don't forget to autoload.
10205 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10207 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10209 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10211 (woman-mode): Setup bookmark support.
10213 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10214 (man-bookmark-jump): New functions.
10215 (Man-mode): Setup bookmark support.
10217 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10219 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10220 recognize ssh-keygen prompt (Bug#2817).
10222 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10224 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10226 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10228 Synchronize with Tramp repository.
10230 * net/tramp.el (tramp-completion-function-alist)
10231 (tramp-file-name-regexp, tramp-chunksize)
10232 (tramp-local-coding-commands, tramp-remote-coding-commands):
10234 (tramp-remote-process-environment): Use `format' instead of `concat'.
10235 (tramp-handle-directory-files-and-attributes)
10236 (tramp-get-remote-path): Use `copy-tree'.
10237 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10238 compatibility: Use `completion-ignore-case' if
10239 `read-file-name-completion-ignore-case' does not exist.
10240 (tramp-do-copy-or-rename-file-directly): Do not use
10241 `tramp-handle-file-remote-p'.
10242 (tramp-do-copy-or-rename-file-out-of-band):
10243 Use `tramp-compat-delete-directory'.
10244 (tramp-do-copy-or-rename-file-out-of-band)
10245 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10246 Use `format-spec-make'.
10247 (tramp-find-foreign-file-name-handler)
10248 (tramp-advice-make-auto-save-file-name)
10249 (tramp-set-auto-save-file-modes): Remove superfluous check for
10250 `stringp'. This is done inside `tramp-tramp-file-p'.
10251 (tramp-debug-outline-regexp): New defconst.
10252 (tramp-get-debug-buffer): Use it.
10253 (tramp-check-for-regexp): Use (forward-line 1).
10254 (tramp-set-auto-save-file-modes): Adapt version check.
10256 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10257 Wrap call of `featurep' for 2nd argument.
10258 (tramp-compat-make-temp-file): Simplify fallback implementation.
10259 (tramp-compat-copy-tree): Remove function.
10260 (tramp-compat-delete-directory): Provide implementation for older
10263 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10264 Do not use `tramp-fish-handle-file-attributes.
10266 * net/trampver.el: Update release number.
10268 2010-04-10 Glenn Morris <rgm@gnu.org>
10270 * progmodes/compile.el (compilation-save-buffers-predicate):
10271 Add missing :version tag.
10273 2010-04-09 Sam Steingold <sds@gnu.org>
10275 * progmodes/compile.el (compilation-save-buffers-predicate):
10276 Remove the "autoload" cookie.
10278 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10279 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10280 and `bug-reference-prog-mode' can be used in hooks directly.
10282 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10284 Add --author support to git commit.
10285 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10286 (vc-git-log-edit-mode): New minor mode.
10287 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10290 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10292 * vc-hooks.el, vc-git.el: Improve documentation comments.
10294 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10296 Fix some of the problems in defsubst* (bug#5728).
10297 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10298 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10300 2010-04-07 Sam Steingold <sds@gnu.org>
10302 * progmodes/compile.el (compilation-save-buffers-predicate):
10303 New custom variable.
10304 (compile, recompile): Pass it to `save-some-buffers'.
10306 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10308 * wid-edit.el (widget-choose): Move cursor to the second line of
10309 the buffer (Bug#5695).
10311 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10313 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10314 * vc.el (vc-print-log-setup-buttons): New function split out from
10315 vc-print-log-internal.
10316 (vc-log-internal-common): New function, a parametrized version of
10317 vc-print-log-internal.
10318 (vc-print-log-internal): Just call vc-log-internal-common with the
10320 (vc-incoming-outgoing-internal):
10321 (vc-log-incoming, vc-log-outgoing): New functions.
10322 (vc-log-view-type): New permanent local variable.
10324 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10326 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10327 of the dynamic bound vc-short-log.
10328 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10330 * vc-git.el (vc-git-log-outgoing): New function.
10331 (vc-git-log-view-mode): Use vc-log-view-type instead
10332 of the dynamic bound vc-short-log.
10334 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10335 of the dynamic bound vc-short-log. Highlight the tag.
10336 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10337 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10338 (vc-hg-incoming-mode): Remove.
10339 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10341 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10343 Fix default-directory for vc-root-diff.
10344 * vc.el (vc-root-diff): Bind default-directory to the root
10345 directory for the diff command.
10347 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10349 * progmodes/verilog-mode.el (verilog-forward-sexp):
10350 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10351 word keywords, suggested by Steve Pearlmutter.
10352 (verilog-pretty-declarations): Support lineup of declarations in
10354 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10355 fix bug for /* / comments.
10356 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10357 Speed up and simplfy as this is never called with a bound.
10358 (verilog-pretty-declarations): Enhance to line up declarations
10359 inside a parameter list, suggested by Alan Morgan.
10360 (verilog-pretty-expr): Tune assignment regular expression match
10361 string for corner cases; also use markers instead of character
10362 number as indent changes the later.
10364 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10366 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10367 as missing keyword.
10368 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10369 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10370 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10371 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10373 (verilog-keywords):
10374 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10375 1800-2009 keywords, including "global.".
10377 2010-04-06 John Wiegley <jwiegley@gmail.com>
10379 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10380 appearing in buffer list (if a live buffer name matched a recentf
10381 file basename). Should use uniquify to offer a real solution.
10383 2010-04-06 John Wiegley <jwiegley@gmail.com>
10385 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10386 comment to code, and add a :version tag.
10387 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10389 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10391 Enable recentf-mode if using virtual buffers.
10392 * ido.el (recentf-list): Declare for byte-compiler.
10393 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10394 (ido-make-buffer-list): Simplify.
10395 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10397 2010-04-05 Juri Linkov <juri@jurta.org>
10399 Scrolling commands which scroll a line instead of full screen.
10400 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10402 * simple.el (scroll-up-line, scroll-down-line): New commands.
10403 Put property isearch-scroll=t on them.
10405 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10408 2010-04-05 Juri Linkov <juri@jurta.org>
10410 Scrolling commands which do not signal errors at top/bottom.
10411 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10413 * simple.el (scroll-up-command, scroll-down-command): New commands.
10414 Put property isearch-scroll=t on them.
10416 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10417 `scroll-down-command' and [next] from `scroll-up' to
10418 `scroll-up-command'.
10420 * emulation/cua-base.el: Put property CUA=move on
10421 `scroll-up-command' and `scroll-down-command'.
10422 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10423 and `scroll-down-command' to `cua-scroll-down'.
10425 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10427 * help.el (describe-mode): Return nil.
10429 2010-04-04 John Wiegley <jwiegley@gmail.com>
10431 * ido.el (ido-use-virtual-buffers): New variable to indicate
10432 whether "virtual buffer" support is enabled for IDO.
10433 (ido-virtual): Face used to indicate virtual buffers in the list.
10434 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10435 exists, but a virtual buffer of that name does (which would be why
10436 it was in the list), recreate the buffer by reopening the file.
10437 (ido-make-buffer-list): If virtual buffers are being used, call
10438 `ido-add-virtual-buffers-to-list' before the make list hook.
10439 (ido-virtual-buffers): New variable which contains a copy of the
10440 current contents of the `recentf-list', albeit pared down for the
10441 sake of speed, and with proper faces applied.
10442 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10443 create a list of "virtual buffers" to present to the user in
10444 addition to the currently open set. Note that this logic could
10445 get rather slow if that list is too large. With the default
10446 `recentf-max-saved-items' of 200, there is little speed penalty.
10448 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * font-lock.el: Require CL when compiling.
10451 (font-lock-turn-on-thing-lock): Use `case'.
10453 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10455 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10458 2010-04-02 Juri Linkov <juri@jurta.org>
10460 * ehelp.el (electric-help-orig-major-mode):
10461 New buffer-local variable.
10462 (electric-help-mode): Set it to original major-mode. Doc fix.
10463 (with-electric-help): Use `electric-help-orig-major-mode' instead
10464 of (default-value 'major-mode). Doc fix.
10465 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10467 2010-04-02 Sam Steingold <sds@gnu.org>
10469 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10470 `vc-hg-command' with a list of flags.
10472 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10473 Also accept "patch" and "RFE".
10474 (bug-reference-fontify): `bug-reference-url-format' can also be a
10475 function to be able to handle the bug kind.
10476 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10478 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10480 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10481 value to fboundp, it may not be a symbol.
10483 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10485 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10487 2010-03-31 Juri Linkov <juri@jurta.org>
10489 * simple.el (next-line, previous-line): Re-throw a signal
10490 with `signal' instead of using `ding'.
10491 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10493 2010-03-31 Juri Linkov <juri@jurta.org>
10495 * simple.el (keyboard-escape-quit): Raise deselecting the active
10496 region higher than exiting the minibuffer.
10497 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10499 2010-03-31 Juri Linkov <juri@jurta.org>
10501 * image.el (image-animated-p): Use `image-metadata' instead of
10502 `image-extension-data'. Get GIF extenstion data from metadata
10503 property `extension-data'.
10505 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10507 * simple.el (append-to-buffer): Simplify.
10509 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10511 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10512 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10514 2010-03-31 Kenichi Handa <handa@m17n.org>
10516 * language/sinhala.el (composition-function-table): Fix regexp for
10517 the new Unicode specification.
10519 * language/indian.el (devanagari-composable-pattern)
10520 (tamil-composable-pattern, kannada-composable-pattern)
10521 (malayalam-composable-pattern): Adjust for the new Unicode
10523 (bengali-composable-pattern, gurmukhi-composable-pattern)
10524 (gujarati-composable-pattern, oriya-composable-pattern)
10525 (telugu-composable-pattern): New variables to cope with the new
10526 Unicode specification. Use them in composition-function-table.
10528 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10530 Make tmm-menubar work for the Buffers menu again (bug#5726).
10531 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10532 vectors rather than cons cells, as used in menu-bar-update-buffers.
10534 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10536 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10537 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10538 electric punctuation for "{}();,:" (Bug#5586).
10540 * mail/sendmail.el (mail-default-directory): Doc fix.
10542 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10544 * mail/sendmail.el (mail-default-directory): Doc fix.
10546 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10548 * subr.el (version-regexp-alist, version-to-list)
10549 (version-list-<, version-list-=, version-list-<=)
10550 (version-list-not-zero, version<, version<=, version=): Doc fix.
10553 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10555 * vc.el (vc-root-diff): Doc fix.
10557 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10559 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10561 * simple.el (append-to-buffer): Fix last change.
10563 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10565 * simple.el (append-to-buffer): Ensure that point is preserved if
10566 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10569 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10571 * files.el (auto-mode-case-fold): Change default to t.
10573 2010-03-30 Juri Linkov <juri@jurta.org>
10575 * dired-x.el (dired-omit-mode): Doc fix.
10577 2010-03-30 Juri Linkov <juri@jurta.org>
10579 * replace.el (occur-accumulate-lines): Move occur-engine related
10580 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10581 to be located after `occur-engine'.
10583 2010-03-30 Juri Linkov <juri@jurta.org>
10585 Make occur handle multi-line matches cleanly with context.
10586 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10588 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10589 (occur-engine): Add local variables `ret', `prev-after-lines',
10590 `prev-lines'. Use more arguments for `occur-context-lines'.
10591 Set first elem of its returned list to `data', and the second elem
10592 to `prev-after-lines'. Don't print the separator line.
10593 In the end, print remaining context after-lines.
10594 (occur-context-lines): Add new arguments `begpt', `endpt',
10595 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10596 after-lines of the previous match with before-lines of the
10597 current match and not overlap them. Return a list with two
10598 values: the output line and the list of context after-lines.
10600 2010-03-30 Juri Linkov <juri@jurta.org>
10602 * replace.el (occur-accumulate-lines): Fix a bug where the first
10603 context line at the beginning of the buffer was missing.
10605 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10607 * files.el: Make bidi-display-reordering safe variable for boolean
10610 2010-03-29 Phil Hagelberg <phil@evri.com>
10611 Chong Yidong <cyd@stupidchicken.com>
10613 * subr.el: Extend progress reporters to perform "spinning".
10614 (progress-reporter-update, progress-reporter-do-update):
10615 Handle non-numeric value arguments.
10616 (progress-reporter--pulse-characters): New var.
10618 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10620 * progmodes/compile.el (compilation-start): Fix regexp detection
10621 of initial cd command (Bug#5771).
10623 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10625 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10627 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10629 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10630 * progmodes/gdb-mi.el: Restore.
10631 * progmodes/gdb-ui.el: Remove.
10632 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10634 2010-03-25 Glenn Morris <rgm@gnu.org>
10636 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10637 all dired buffers, even tramp ones. (Bug#5755)
10639 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10641 Add "union tags" in mpc.el.
10642 * mpc.el: Remove backward compatibility code.
10643 (mpc-browser-tags): Change default.
10644 (mpc--find-memoize-union-tags): New var.
10645 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10646 (mpc-cmd-find): Handle the case where the playlist does not exist.
10648 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10649 (mpc-cmd-add): Use mpc-cmd-flush.
10650 (mpc-tagbrowser-tag-name): New fun.
10651 (mpc-tagbrowser-buf): Use it.
10652 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10654 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10657 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10658 Use replace-regexp-in-string.
10659 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10660 (makefile-imake-mode-syntax-table): Move init into defvar.
10661 (makefile-mode): Use define-derived-mode.
10663 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10664 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10665 not be present any more.
10667 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10669 * faces.el (set-face-attribute): Fix typo in docstring.
10670 (face-valid-attribute-values): Reflow docstring.
10672 2010-03-24 Glenn Morris <rgm@gnu.org>
10674 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10676 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10678 * indent.el (indent-for-tab-command): Doc fix.
10680 2010-03-24 Alan Mackenzie <acm@muc.de>
10682 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10683 Fix off-by-one error. Fixes bug #5747.
10685 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10687 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10688 (image-dired-read-comment): Doc fix.
10690 * json.el (json-object-type, json-array-type, json-key-type)
10691 (json-false, json-null, json-read-number):
10692 * minibuffer.el (completion-in-region-functions):
10693 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10694 (cal-tex-cursor-week):
10695 * emacs-lisp/trace.el (trace-function):
10696 * eshell/em-basic.el (eshell/printnl):
10697 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10698 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10699 * obsolete/levents.el (allocate-event, event-key, event-object)
10700 (event-point, event-process, event-timestamp, event-to-character)
10701 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10702 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10703 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10704 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10705 (reftex-highlight-selection): Fix typos in docstrings.
10707 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10709 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10711 2010-03-24 Glenn Morris <rgm@gnu.org>
10713 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10714 2008-02-13 without comment; mark it obsolete.
10715 (rmail-highlight-headers): Use rmail-highlight-face once more.
10717 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10719 * woman.el (woman2-process-escapes): Only consume the newline if
10720 the filler character is on a line by itself (Bug#5729).
10722 2010-03-24 Kenichi Handa <handa@m17n.org>
10724 * language/indian.el (devanagari-composable-pattern): Add more
10727 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10729 * net/trampver.el: Update release number.
10731 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10733 * net/tramp.el (tramp-find-executable):
10734 Use `tramp-get-connection-buffer'. Make the regexp for checking
10735 output of "wc -l" more robust.
10736 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10737 (tramp-open-connection-setup-interactive-shell): Remove workaround
10738 for OpenSolaris bug, it is not needed anymore.
10740 2010-03-24 Glenn Morris <rgm@gnu.org>
10742 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10744 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10746 * files.el (auto-mode-alist): Accept more verilog file patterns.
10748 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10752 2010-03-24 Glenn Morris <rgm@gnu.org>
10754 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10755 log-edit-before-checkin-process.
10757 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10759 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10761 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10762 (log-view-process-buffer, log-edit-extra-flags): Declare.
10764 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10766 2010-03-23 Sam Steingold <sds@gnu.org>
10768 Fix bug#5620: recalculate all markers on compilation buffer
10769 modifications, not on file modifications.
10770 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10771 variable: the buffer modification time, for buffers not associated with
10773 (compilation-mode): Create it.
10774 (compilation-filter): Update it.
10775 (compilation-next-error-function): Use it instead of
10776 `visited-file-modtime' for timestamp.
10778 2010-03-23 Juri Linkov <juri@jurta.org>
10780 Implement Occur multi-line matches.
10781 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10783 * replace.el (occur): Doc fix.
10784 (occur-engine): Set `begpt' to the beginning of the first line.
10785 Set `endpt' to the end of the last match line. At first, count
10786 line numbers between `origpt' and `begpt'. Split out code from
10787 `out-line' variable to new let-bindings `match-prefix' and
10788 `match-str'. In `out-line' add non-numeric prefix to all
10789 non-first lines of multi-line matches. Finally, count lines
10790 between `begpt' and `endpt' and add to `lines'.
10792 2010-03-23 Juri Linkov <juri@jurta.org>
10794 * replace.el (occur-accumulate-lines, occur-engine):
10795 Use `occur-engine-line' instead of duplicate code.
10796 (occur-engine-line): New function created from duplicate code
10797 in `occur-accumulate-lines' and `occur-engine'.
10799 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10800 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10802 2010-03-23 Juri Linkov <juri@jurta.org>
10804 * finder.el: Remove TODO tasks.
10806 * info.el (Info-finder-find-node): Add node "all"
10807 with all package info. Handle a list of multiple keywords
10808 separated by comma.
10809 (info-finder): In interactive use with a prefix argument,
10810 use `completing-read-multiple' to read a list of keywords
10811 separated by comma.
10813 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10815 Add a new completion style `substring'.
10816 * minibuffer.el (completion-basic--pattern): New function.
10817 (completion-basic-try-completion, completion-basic-all-completions):
10819 (completion-substring--all-completions)
10820 (completion-substring-try-completion)
10821 (completion-substring-all-completions): New functions.
10822 (completion-styles-alist): New style `substring'.
10824 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10826 Get rid of .elc files after removal of the corresponding .el.
10827 * Makefile.in (compile-clean): New target.
10828 (compile-main): Use it.
10830 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10832 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10833 don't do make there. When compiling with separate object dir, there
10834 is no Makefile there.
10836 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10838 Get rid of the ELCFILES abomination, again.
10839 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10840 (all, compile): Don't call compile-last.
10841 (compile-main): Build the "elcfiles" list dynamically.
10842 (compile-targets): New (internal) target.
10844 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10846 * Makefile.in (top_srcdir): Define.
10847 (abs_top_builddir): Define.
10848 (srcdir): Don't append `/..'.
10849 (EMACS): Use ${abs_top_builddir}.
10850 (all, compile, compile-always, compile-last): Don't set emacswd.
10851 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10853 (lisp): Use $(srcdir) instead of @srcdir@.
10855 2010-03-21 Juri Linkov <juri@jurta.org>
10857 Fix message of multi-line occur regexps and multi-buffer header lines.
10858 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10860 * replace.el (occur-1): Don't display regexp if it is longer
10861 than window-width. Use `query-replace-descr' to display regexp.
10862 (occur-engine): Don't display regexp in the buffer header for
10863 multi-buffer occur. Display a separate header line with total
10864 match count and regexp for multi-buffer occur.
10865 Use `query-replace-descr' to display regexp.
10867 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10869 * net/secrets.el: Fix parenthesis.
10870 (secrets-enabled): Fix parenthesis.
10872 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10874 Use more relative file and directory names.
10875 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10876 (setwins, setwins_almost, setwins_for_subdirs):
10877 Don't `cd'; output relative names.
10878 (all, compile, compile-always, compile-last): Set emacswd.
10879 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10880 Just cd to the lisp source dir so we can use relative file names.
10882 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10884 2010-03-20 Glenn Morris <rgm@gnu.org>
10886 * textmodes/rst.el: Use faces for font-lock customization, and make the
10887 old -face variables obsolete.
10888 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10889 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10890 (rst-block-face, rst-external-face, rst-definition-face)
10891 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10892 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10894 (rst-font-lock-keywords-function): Update for above changes.
10896 2010-03-20 Juri Linkov <juri@jurta.org>
10899 * obsolete/s-region.el: Move to obsolete.
10901 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10903 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10905 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10907 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10909 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10911 Add special markup processing for commit logs.
10912 * log-edit.el (log-edit-extra-flags): New variable.
10913 (log-edit): Add new argument MODE. Use that mode when non-nil
10914 instead of the log-view-mode.
10915 (log-view-process-buffer): New function.
10917 * vc.el: Document that the checkin method takes optional
10918 arguments. Document new backend specific method: log-view-mode.
10919 (vc-default-log-edit-mode): New function.
10920 (vc-checkin): Use a backend specific log-view-mode.
10921 Pass extra arguments to the checkin method.
10922 (vc-modify-change-comment): Pass a dummy extra argument.
10924 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10926 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10927 (vc-finish-logentry): Process the log buffer before passing it
10928 down. Pass log-edit-extra-flags.
10930 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10932 (log-edit-extra-flags, log-edit-before-checkin-process):
10935 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10937 (log-edit-extra-flags, log-edit-before-checkin-process):
10939 (vc-hg-log-edit-mode): New derived mode.
10941 * vc-arch.el (vc-arch-checkin):
10942 * vc-cvs.el (vc-cvs-checkin):
10943 * vc-git.el (vc-git-checkin):
10944 * vc-mtn.el (vc-mtn-checkin):
10945 * vc-rcs.el (vc-rcs-checkin):
10946 * vc-sccs.el (vc-sccs-checkin):
10947 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10949 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10951 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10954 2010-03-19 Glenn Morris <rgm@gnu.org>
10956 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10958 2010-03-18 Glenn Morris <rgm@gnu.org>
10960 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10962 * replace.el (query-replace-history): Give it a doc string.
10963 (map-query-replace-regexp): Use query-replace-from-history-variable
10964 and query-replace-to-history-variable.
10966 * mail/hashcash.el (declare-function): Remove duplicate definition.
10968 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10969 Make it an obsolete alias for report-emacs-bug-address.
10970 (message-strip-special-text-properties): Declare.
10971 (report-emacs-bug): Remove test for a pretest bug address.
10972 Combine message-mode-specific code.
10974 * mail/supercite.el: Don't require sendmail.
10975 (mh-in-header-p): Declare rather than using with-no-warnings.
10976 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10977 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10979 * calendar/cal-french.el: Convert to utf-8.
10981 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10984 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10986 * net/secrets.el (secrets-enabled): New variable. Use it instead
10989 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10991 * net/secrets.el (top): Register the D-Bus signals only when the
10992 service "org.freedesktop.secrets" can be pinged.
10993 Provide subfeature `enabled'.
10995 2010-03-14 Juri Linkov <juri@jurta.org>
10997 Add finder unknown keywords.
10999 * finder.el (finder-unknown-keywords): New function.
11001 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11002 to create a Finder node with unknown keywords.
11004 2010-03-14 Juri Linkov <juri@jurta.org>
11006 * finder.el (finder-compile-keywords): Replace `princ' with
11007 `prin1' on a list of symbols interned from keyword strings.
11009 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11010 a comma, then split keywords using a comma and optional whitespace.
11011 Otherwise, split by whitespace.
11019 * progmodes/mixal-mode.el: Fix keywords.
11021 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11023 * Makefile.in (ELCFILES): Add net/secrets.elc.
11025 * net/secrets.el: New file.
11027 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11029 * facemenu.el (list-colors-display, list-colors-print): New arg
11030 callback. Use it to allow selecting colors.
11032 * wid-edit.el (widget-image-insert): Insert image prop even if the
11033 current display is non-graphic.
11034 (widget-field-value-set): New fun.
11035 (editable-field): Use it.
11036 (widget-field-value-get): Clean up unused var.
11037 (widget-color-value-create, widget-color--choose-action):
11038 New funs. Allow using list-colors-display to choose color.
11040 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11042 * cus-edit.el: Resort topmost custom groups.
11043 (custom-buffer-sort-alphabetically): Default to t.
11044 (customize-apropos): Use apropos-parse-pattern.
11045 (custom-search-field): New var.
11046 (custom-buffer-create-internal): Add custom-apropos search field.
11047 (custom-add-parent-links): Don't display parent doc.
11048 (custom-group-value-create): Don't sort top-level custom group.
11049 (custom-magic-value-create): Show visibility button before option name.
11051 (custom-variable-state): New fun, from custom-variable-state-set.
11052 (custom-variable-state-set): Use it.
11053 (custom-group-value-create): Hide options with standard values
11054 using the :hidden-states property. Use progress reporter.
11056 (custom-show): Simplify.
11057 (custom-visibility): Disable images by default.
11058 (custom-variable): New property :hidden-states.
11059 (custom-variable-value-create): Enable images for
11060 custom-visibility widgets. Use :hidden-states property to
11061 determine initial visibility.
11063 * wid-edit.el (widget-image-find): Give images center ascent.
11064 (visibility): Add :on-image and :off-image properties.
11065 (widget-visibility-value-create): Use them.
11067 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11069 * cus-edit.el (processes): Remove from development group.
11070 (oop, hypermedia): Delete group.
11071 (comm): Promote to top-level group.
11073 * net/browse-url.el (browse-url):
11074 * net/xesam.el (xesam):
11075 * net/tramp.el (tramp):
11076 * net/goto-addr.el (goto-address):
11077 * net/ange-ftp.el (ange-ftp): Put in comm group.
11079 * view.el (view): Remove from editing group.
11081 * uniquify.el (uniquify): Put in files group.
11083 * net/browse-url.el (browse-url):
11084 * ps-print.el (postscript): Put in external group.
11086 * cus-edit.el (outlines):
11087 * textmodes/text-mode.el (text-mode-hook):
11088 * textmodes/table.el (table):
11089 * textmodes/picture.el (picture):
11090 * outline.el (outlines): Put in wp group.
11092 * nxml/nxml-mode.el (nxml): Remove from wp group.
11094 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11096 * mail/metamail.el (metamail): Remove from hypermedia group.
11098 * cus-edit.el (abbrev):
11099 * whitespace.el (whitespace):
11100 * vcursor.el (vcursor):
11101 * reveal.el (reveal):
11102 * hl-line.el (hl-line): Put in convenience group.
11104 * epg-config.el (epg): Put in data group.
11106 * emulation/pc-select.el (pc-select): Put in emulations group.
11108 * calculator.el (calculator): Put in applications group.
11110 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11112 Add .dir-locals.el support for file-less buffers.
11113 * files.el (hack-local-variables): Split out code to apply local
11114 variable settings ...
11115 (hack-local-variables-apply): ... here. New function.
11116 (hack-dir-local-variables): Use the default directory for when the
11117 buffer does not have an associated file.
11118 (hack-dir-local-variables-non-file-buffer): New function.
11119 * diff-mode.el (diff-mode):
11120 * vc-annotate.el (vc-annotate-mode):
11121 * vc-dir.el (vc-dir-mode):
11122 * log-edit.el (log-edit-mode):
11123 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11125 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11127 Add support for shelving snapshots and for showing shelves.
11128 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11129 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11131 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11132 (vc-bzr-extra-menu-map): Map them.
11134 2010-03-11 Glenn Morris <rgm@gnu.org>
11136 * cus-edit.el (customize-changed-options-previous-release):
11139 * image.el (image-animate-max-time): Fix :version tag.
11141 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11145 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11147 * vc-git.el (vc-git-revision-table): Include remote branches.
11149 2010-03-10 Kim F. Storm <storm@cua.dk>
11151 Animated image API.
11152 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11154 * image.el (image-animate-max-time): New defcustom.
11155 (image-animated-types): New defconst.
11156 (create-animated-image, image-animate-timer)
11157 (image-animate-start, image-animate-stop, image-animate-timeout)
11158 (image-animated-p): New functions.
11160 * image-mode.el (image-toggle-display-image):
11161 Replace `create-image' with `create-animated-image'.
11163 2010-03-09 Miles Bader <miles@gnu.org>
11165 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11166 instead of "format:"; this ensures that the output is
11167 newline-terminated.
11169 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11171 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11172 that all errors are caught, and that the return value is always a
11175 2010-03-08 Kenichi Handa <handa@m17n.org>
11177 * language/misc-lang.el (windows-1256): New coding system.
11178 (cp1256): New alias of windows-1256 (bug#5690).
11180 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11182 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11183 call to rfc822-bad-address. (Bug#5692)
11185 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11187 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11188 Use vc-git-root as default directory for revision path (Bug#5657).
11190 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11192 * calculator.el (calculator): Don't bind split-window-keep-point
11195 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11197 * vc-git.el: Re-flow to fit into 80 columns.
11198 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11199 Remove spurious `quote' element in each case alternative.
11200 (vc-git-show-log-entry): Use prog1.
11201 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11203 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11207 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11209 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11210 definition, not the name (Bug#5481).
11212 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11214 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11215 argument with a local variable. (Bug#5670)
11217 2010-03-02 Juri Linkov <juri@jurta.org>
11219 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11221 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11223 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11224 error when FILENAME and NEWNAME are existing remote directories.
11226 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11227 parameter DIR-FLAG.
11229 2010-03-02 Glenn Morris <rgm@gnu.org>
11231 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11232 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11234 2010-03-01 Kenichi Handa <handa@m17n.org>
11236 * language/burmese.el (burmese-composable-pattern): Rename from
11237 myanmar-composable-pattern.
11239 * international/characters.el (script-list):
11240 * international/fontset.el (script-representative-chars):
11241 Change myanmar to burmese.
11242 (otf-script-alist): Likewise.
11243 (setup-default-fontset): Likewise. Re-fix :otf spec.
11245 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11247 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11249 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11251 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11253 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11255 * net/tramp.el (tramp-handle-write-region): START can be a string.
11256 Take care in the checks. Reported by Dan Davison
11257 <davison@stats.ox.ac.uk>.
11259 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11261 * net/dbus.el (dbus-introspect, dbus-get-property)
11262 (dbus-set-property, dbus-get-all-properties):
11263 Use `dbus-call-method' when noninteractive. (Bug#5645)
11265 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11267 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11268 * emacs-lisp/elint.el (elint-add-required-env):
11269 * calendar/icalendar.el (icalendar--add-diary-entry):
11270 * calc/calcalg2.el (math-tracing-integral):
11271 * files.el (recover-session-finish): Use with-current-buffer
11272 instead of save-excursion.
11274 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11276 Fix in-buffer completion when after-change-functions modify the buffer.
11277 * minibuffer.el (completion--replace): New function.
11278 (completion--do-completion): Use it and use relative movement.
11280 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11282 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11284 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11286 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11287 Allow the characters _<> in the stack entry (Bug#5653).
11289 2010-02-26 Kenichi Handa <handa@m17n.org>
11291 * language/burmese.el: Fix entries in composition-function-table.
11292 (myanmar-composable-pattern): New variable.
11294 * international/fontset.el (setup-default-fontset): Add an entry
11297 * international/characters.el (script-list): Add Myanmar
11300 2010-02-26 Glenn Morris <rgm@gnu.org>
11302 * custom.el (custom-initialize-delay): Doc fix.
11304 * mail/sendmail.el (send-mail-function): Autoload the call
11305 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11307 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11309 * files.el (hack-local-variables-filter): For eval forms, also
11310 check safe-local-variable-p (Bug#5636).
11312 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11314 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11315 setting the modes by `ignore-errors'. It might fail, for example
11316 if the file is not owned by the user but the group.
11317 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11319 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11321 * files.el (directory-listing-before-filename-regexp):
11322 Use stricter matching for iso-style dates, to avoid false matches with
11323 date-like filenames (Bug#5597).
11325 * htmlfontify.el (htmlfontify): Doc fix.
11327 * eshell/eshell.el (eshell): Doc fix.
11329 * startup.el (fancy-about-screen): In mode-line, apply
11330 mode-line-buffer-id face only to the buffer name (Bug#5613).
11332 2010-02-20 Kevin Ryde <user42@zip.com.au>
11334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11335 In `watcom' anchor regexp to start of line, to avoid slowness
11338 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11340 * subr.el (remove-yank-excluded-properties): Explain in a comment
11341 why `category' property is removed.
11343 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11345 * isearch.el (isearch-update-post-hook, isearch-update):
11346 Revert 2010-02-17 change.
11348 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11350 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11351 (icalendar--convert-weekly-to-ical)
11352 (icalendar--convert-yearly-to-ical)
11353 (icalendar--convert-block-to-ical)
11354 (icalendar--convert-cyclic-to-ical)
11355 (icalendar--convert-anniversary-to-ical): Take care of time
11356 specifications where hour has 1-digit only (Bug#5549).
11358 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11360 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11361 of disassemble output in GDB 7.1.
11363 2010-02-19 Glenn Morris <rgm@gnu.org>
11365 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11366 property. (Bug#5593)
11368 2010-02-18 Sam Steingold <sds@gnu.org>
11370 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11372 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11374 Use abbreviated file names in bookmarks (bug#5591).
11375 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11376 calls to expand-file-name.
11377 (bookmark-relocate): Use abbreviated file names in bookmarks.
11378 (bookmark-load): Use abbreviated file names in messages.
11380 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11382 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11383 expand "." and "..". Reported by Thierry Volpiatto
11384 <thierry.volpiatto@gmail.com>.
11386 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11388 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11389 permissions of the temporary file to "0600". In case the remote
11390 file has no read permissions for the owner, there might be
11391 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11393 22010-02-18 Glenn Morris <rgm@gnu.org>
11395 * emacs-lisp/authors.el (authors-renamed-files-alist):
11396 Add entries for INSTALL.CVS.
11398 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11400 * vc-bzr.el: Fix typo in Known Bugs section.
11402 * isearch.el (isearch-update-post-hook): New hook.
11403 (isearch-update): Use the new hook.
11405 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11407 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11408 Fix errors in copying directories.
11409 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11410 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11411 (tramp-handle-delete-file)
11412 (tramp-handle-dired-recursive-delete-directory)
11413 (tramp-handle-write-region): Flush also the cache for the upper
11416 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11418 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11420 * cus-edit.el (hardware): Doc fix.
11422 * man.el (man): Add to external custom group.
11424 * delim-col.el (columns): Move to wp custom group.
11426 * doc-view.el (doc-view): Add to data custom group.
11428 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11430 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11431 by ispell-parse-output (Bug#5575).
11433 2010-02-16 Kenichi Handa <handa@m17n.org>
11435 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11436 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11437 (skkdic-convert): Use `euc-japan' coding system for writing.
11439 2010-02-16 Glenn Morris <rgm@gnu.org>
11441 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11442 tex-main-file before using it. (Bug#5562)
11444 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11446 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11447 warnings, since it is annoying for the user to see them each time he
11450 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11452 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11453 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11454 instead of PROC for caching "first-password-request". Otherwise,
11455 new processes would not profit from passwords already entered.
11457 * net/tramp-cache.el (tramp-dump-connection-properties):
11458 Don't save "first-password-request" property.
11460 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11462 * outline.el (outline-head-from-level):
11463 * simple.el (with-wrapper-hook):
11464 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11465 (elint-defun, elint-buffer-env, elint-top-form-logged)
11466 (elint-unbound-variable):
11467 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11468 Fix typos in docstrings.
11470 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11472 * files.el (insert-directory): When WILDCARD-REGEXP and
11473 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11474 whole directory. (Bug#5551)
11476 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11477 dired's alignment sanity. (Bug#5516)
11479 2010-02-14 Juri Linkov <juri@jurta.org>
11481 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11482 Remove remaining ^H with their preceding chars. (Bug#5566)
11484 2010-02-13 Glenn Morris <rgm@gnu.org>
11486 * simple.el (transpose-subr): Give it a doc-string.
11488 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11491 2010-02-12 Juri Linkov <juri@jurta.org>
11493 * arc-mode.el (archive-unique-fname): Make directories for nested
11494 archives. (Bug#5540)
11496 2010-02-12 Juri Linkov <juri@jurta.org>
11498 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11500 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * subr.el (copy-overlay): Handle deleted overlays.
11504 * man.el (Man-completion-table): Don't signal an error if we can't run
11505 manual-program (bug#4056).
11507 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11509 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11511 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11513 * info.el (Info-bookmark-jump): Simplify.
11515 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11516 (bookmark-default-handler): Accept new bookmark field `buffer'.
11518 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11520 * iswitchb.el (iswitchb-completions): Revert last change.
11522 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11524 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11525 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11526 This prevents file names like "~/" being listed literally.
11528 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11530 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11531 Remove dead code. (Bug#5546)
11533 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11535 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11536 correctly (Bug#5548).
11538 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11540 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11541 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11543 2010-02-08 Kenichi Handa <handa@m17n.org>
11545 * international/mule-util.el (with-coding-priority): Add autoload
11546 cookie for putting `lisp-indent-function'.
11548 2010-02-07 Glenn Morris <rgm@gnu.org>
11550 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11551 Move F2003 named interfaces from keywords-2 to keywords-1, and
11552 use function-name-face rather than constant-face.
11553 Simplify "abstract interface" regexp.
11555 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11557 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11558 ID-FORMAT. Pass it to `file-attributes'.
11560 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11562 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11564 * faces.el (set-face-attribute): Allow calling
11565 internal-set-lisp-face-attribute with 'unspecified family and
11566 foundry argument (Bug#5536).
11568 2010-02-07 Glenn Morris <rgm@gnu.org>
11570 * progmodes/f90.el (f90-font-lock-keywords-2)
11571 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11572 Handle F2003 named interfaces.
11574 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11576 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11577 beg and end before calling c-get-state-before-change-functions.
11579 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11581 * vc-bzr.el (vc-bzr-dir-extra-headers):
11582 Disable the pending merges header.
11584 2010-02-05 Juri Linkov <juri@jurta.org>
11586 * doc-view.el (doc-view-mode):
11587 * image-mode.el (image-mode): Put property mode-class=special.
11590 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11592 * vc-svn.el (vc-svn-revision-table): New function.
11594 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11596 * net/ange-ftp.el (ange-ftp-insert-directory):
11597 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11598 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11599 Handle also directories. (Bug#5478)
11601 2010-02-05 Glenn Morris <rgm@gnu.org>
11603 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11605 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11607 * startup.el (command-line-1): Convert options beginning with a
11608 single dash as well (Bug#5519).
11610 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11612 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11613 * minibuffer.el (completion-initials-expand): Only check the presence
11614 of delims *within* the boundaries, since otherwise the / delim is
11615 always found for files.
11617 Fix up various corner case problems.
11618 * doc-view.el (doc-view-last-page-number): New function.
11619 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11620 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11621 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11622 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11623 (doc-view-convert-current-doc): Don't create the resolution.el file
11625 (doc-view-pdf/ps->png): Do it here instead.
11626 (doc-view-already-converted-p): Check that resolution.el is present.
11627 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11628 windows that are not yet showing images.
11630 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11632 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11633 `dired-uncache' for every elemnt which is an absolute file name.
11635 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11636 directory, handle its directory component.
11637 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11638 function is called permanently and creates noise, otherwise.
11640 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11641 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11642 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11644 2010-02-04 David Burger <dburger@google.com> (tiny change)
11646 * macros.el (apply-macro-to-region-lines):
11647 Minor simplification. (Bug#5485)
11649 2010-02-04 Glenn Morris <rgm@gnu.org>
11651 * mail/rmail.el (rmail-show-message-1): Handle malformed
11652 quoted-printable text. (Bug#5441)
11654 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11656 * simple.el (visual-line-mode): Capitalize lighter.
11658 2010-02-03 John Wiegley <jwiegley@gmail.com>
11660 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11661 list of files considered for "virtual buffer" completions.
11663 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11665 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11666 also in case of (and (not full) (not wildcard)). This is needed
11667 when dired is called with a list of files, which are not in
11668 `default-directory'. (Bug#5478)
11670 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11674 2010-02-02 Juri Linkov <juri@jurta.org>
11676 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11677 from unidiff to allow function-line after @@.
11679 2010-02-02 Juri Linkov <juri@jurta.org>
11681 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11682 '(RCS SCCS) with inverted condition.
11684 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11686 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11689 2010-02-01 Juri Linkov <juri@jurta.org>
11691 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11692 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11693 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11694 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11696 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11698 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11699 (doc-view-revert-buffer): New command.
11700 (doc-view-mode-map): Use it.
11702 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11704 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11705 pending merge is detected.
11707 2010-01-31 Juri Linkov <juri@jurta.org>
11709 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11710 beginning of interactive spec like all other grep commands do.
11711 Put "all" in front of "gz". (Bug#5260)
11713 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11715 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11717 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11719 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11720 regexp is incorrect (Bug#5476).
11722 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11724 * net/tramp.el (tramp-handle-insert-directory): Handle also
11725 symlinks, when FILENAME is not in `default-directory'.
11727 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11729 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11730 FILE is not in `default-directory'. (Bug#5478)
11732 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11733 of SWITCHES. Handle the case, FILENAME is not in
11734 `default-directory'. (Bug#5478)
11735 (tramp-register-file-name-handlers): Add safe-magic property.
11737 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11739 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11742 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11744 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11745 (flymake-master-make-header-init): Add other C++ filename masks.
11746 (flymake-find-possible-master-files)
11747 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11749 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11751 Fix some busybox annoyances.
11753 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11754 not responding." string.
11755 (tramp-open-connection-setup-interactive-shell): Dump stty
11756 settings. Enable "neveropen" arg for all `tramp-send-command'
11757 calls. Handle "=" in variable values properly.
11758 (tramp-find-inline-encoding): Raise an error, when no encoding is
11760 (tramp-wait-for-output): Check, whether PROC buffer is available.
11761 Remove spurious " ^H" sequences, sent by busybox.
11762 (tramp-get-ls-command): Suppress coloring, if possible.
11764 2010-01-28 Glenn Morris <rgm@gnu.org>
11766 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11768 * log-edit.el (log-edit-strip-single-file-name): Add missing
11769 :safe, :group, and :version tags.
11771 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11773 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11774 buffers. (Bug#5477)
11776 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11778 * files.el (delete-directory): Handle moving to trash without
11779 first doing recursion (Bug#5436).
11781 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11783 * vc-hooks.el (vc-path): Mark as obsolete.
11785 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11787 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11790 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11792 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11794 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11796 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11798 * vc-bzr.el (vc-bzr-revision-table): New function.
11800 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11802 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11803 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11805 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11807 Remove support for adding --signoff on commit.
11808 Future support will use an incompatible generic mechanism.
11809 * vc-git.el (vc-git-add-signoff): Remove variable.
11810 (vc-git-toggle-signoff): Remove function.
11811 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11813 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11814 Rename from xterm-set-background-mode. Return t if the background mode
11816 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11817 earlier, call it again in case the background mode has changed.
11819 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11821 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11824 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11826 * emacs-lisp/assoc.el (aelement): Doc fix.
11827 (aput, adelete, amake): Use lexical-let (Bug#5450).
11829 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11831 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11832 is the same as subprogram call, not declaration. (Bug#5435).
11834 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11836 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11837 (tramp-smb-maybe-open-connection): Use it.
11839 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11841 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11843 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11845 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11846 just because we see "encoding: 8bit".
11847 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11849 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11851 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11853 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11855 * jka-compr.el (jka-compr-load): If load-file is not in
11856 load-history, try its file-truename version. (bug#5447)
11858 2010-01-21 Alan Mackenzie <acm@muc.de>
11860 Fix a situation where deletion of a cpp construct throws an error.
11861 * progmodes/cc-engine.el (c-invalidate-state-cache):
11862 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11863 special cpp construct is still in the buffer.
11864 (c-parse-state): Record the special cpp with markers, not numbers.
11866 2010-01-21 Kenichi Handa <handa@m17n.org>
11868 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11869 process last-command-event, as it is now decoded first (Bug#5380).
11871 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11873 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11875 2010-01-20 Glenn Morris <rgm@gnu.org>
11877 * indent.el (tab-always-indent): Fix custom-type.
11879 2010-01-19 Alan Mackenzie <acm@muc.de>
11881 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11882 buffer throws "args out of range".
11883 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11884 playing the role of delimiter.
11886 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11888 * progmodes/ada-mode.el: Fix bug#5400.
11889 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11890 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11891 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11892 Improve comments in "is" portion. Handle null procedure declaration.
11893 (ada-move-to-end): Improve doc string.
11895 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11897 * ido.el (ido-cur-list): Initialize to nil.
11898 Remove obsolete information from commentary.
11899 (ido-choice-list): Initialize to nil.
11900 (ido-get-bufname): Reject minibuffers.
11901 (ido-make-buffer-list): If "default" is a nonexistent
11902 buffer, ignore it, as per the function's comment.
11903 (ido-kill-buffer-internal): New function.
11904 (ido-kill-buffer-at-head): Use it.
11905 (ido-visit-buffer): Likewise.
11907 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11909 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11911 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11913 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11914 Fix typos in chart titles.
11916 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11917 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11918 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11919 (describe-class, eieio-describe-generic, describe-generic):
11920 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11921 (eieio-speedbar-expand):
11922 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11923 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11924 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11925 (viper-del-backward-char-in-replace, viper-backward-indent)
11926 (viper-brac-function, viper-register-to-point, viper-submit-report):
11927 * net/tramp.el (tramp-remote-coding-commands):
11928 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11929 Fix typos in docstrings.
11931 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11933 * mail/sendmail.el (mail-yank-original): Set the mark if the
11934 specified function for yanking does not do it.
11936 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11938 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11940 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11941 resyncing a directory.
11943 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11945 * progmodes/ada-mode.el: Fix bug#1920.
11946 (ada-ident-re): Delete ., allow multibyte characters.
11947 (ada-goto-label-re): New; matches goto labels.
11948 (ada-block-label-re): New; matches block labels.
11949 (ada-label-re): New; matches both.
11950 (ada-named-block-re): Deleted; callers changed to use
11951 `ada-block-label-re' instead.
11952 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11953 Use `ada-block-label-re'.
11954 (ada-indent-on-previous-lines): Improve handling of goto labels.
11955 (ada-get-indent-block-start): Special-case block label.
11956 (ada-get-indent-label): Split into `ada-indent-block-label' and
11957 `ada-indent-goto-label'.
11958 (ada-goto-stmt-start, ada-goto-next-non-ws):
11959 Optionally ignore goto labels.
11960 (ada-goto-next-word): Simplify.
11961 (ada-indent-newline-indent-conditional): Insert newline before
11962 trying to fix indentation; doc fix.
11964 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11966 * calc/calc.el (calc-command-flags): Give it an initial value.
11968 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11970 * files.el (minibuffer-with-setup-hook):
11971 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11972 (artist-key-draw-continously, artist-key-do-continously-continously)
11973 (artist-key-set-point-continously, artist-mouse-draw-continously):
11974 Fix typos in docstrings.
11976 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11978 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11979 Never return t (Bug#3898).
11981 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11983 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11984 can parse the output of the external commands (Bug#5279).
11986 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11988 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11990 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11992 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11994 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11996 * startup.el (command-line): Remove unused --icon-type arg.
11997 Handle --display arg, passing it to command-line-1 (Bug#5392).
11999 2010-01-16 Mario Lang <mlang@delysid.org>
12001 * emacs-lisp/chart.el (chart-translate-namezone):
12002 * textmodes/artist.el (artist-compute-popup-menu-table):
12003 Remove duplicated words in doc-strings.
12005 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12007 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12008 to mairix-search to suppress threading (Bug#5342).
12010 2010-01-15 Kenichi Handa <handa@m17n.org>
12012 * international/mule-cmds.el (canonicalize-coding-system-name):
12013 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12015 2010-01-15 Glenn Morris <rgm@gnu.org>
12017 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12019 * wid-edit.el (widget-keymap): Doc fix.
12021 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12022 former seems to be more widely accepted by various svn versions.
12024 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12026 * find-cmd.el (find-constituents):
12027 * vc-arch.el (vc-arch-root):
12028 * window.el (window-body-height, pop-up-frames):
12029 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12030 * progmodes/ada-stmt.el (ada-if):
12031 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12032 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12033 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12034 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12036 * progmodes/flymake.el (flymake-post-syntax-check):
12037 Fix typo in error message.
12039 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12041 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12042 which is always a string. (Bug#5313)
12044 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12046 * progmodes/ada-xref.el (ada-default-prj-properties):
12047 Simplify previous change.
12049 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12051 * progmodes/ada-xref.el (ada-default-prj-properties):
12052 Default ada_project_path to $ADA_PROJECT_PATH.
12054 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12056 * progmodes/ada-mode.el (ada-create-keymap):
12057 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12059 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12061 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12062 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12063 (ada-get-current-indent, ada-imenu-generic-expression)
12064 (ada-which-function): Check for it.
12066 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12068 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12069 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12071 2010-01-14 Glenn Morris <rgm@gnu.org>
12073 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12075 2010-01-14 Kenichi Handa <handa@m17n.org>
12077 * composite.el (auto-composition-mode): Make it a buffer local
12078 variable (permanent-local).
12079 (auto-composition-function): Set the default value to
12080 auto-compose-chars.
12081 (auto-composition-mode): Make it a simple function, not a minor mode.
12082 (global-auto-composition-mode): Likewise.
12083 (turn-on-auto-composition-if-enabled): Delete it.
12085 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12087 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12089 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12091 * files.el (copy-directory): Compute target for recursive
12092 directories with identical names. (Bug#5343)
12094 2010-01-12 Glenn Morris <rgm@gnu.org>
12096 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12097 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12099 2010-01-11 Sam Steingold <sds@gnu.org>
12101 * imenu.el (imenu-default-create-index-function): Detect infinite
12102 loops caused by imenu-prev-index-position-function.
12104 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12106 * htmlfontify.el (htmlfontify-load-rgb-file)
12107 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12108 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12109 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12110 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12111 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12112 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12113 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12114 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12115 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12116 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12117 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12118 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12119 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12120 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12121 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12122 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12123 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12124 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12125 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12126 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12127 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12128 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12129 backslash-quoting from parentheses, etc.
12131 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12133 * progmodes/js.el: Autoload javascript-mode alias.
12135 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12137 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12138 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12139 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12140 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12141 Fix typos in docstrings.
12142 (ffap-url-regexp): Doc fix.
12143 (ffap-at-mouse): Fix typo in message.
12145 2010-01-11 Glenn Morris <rgm@gnu.org>
12147 * version.el (emacs-copyright): Set copyright year to 2010.
12149 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12151 * format.el (format-annotate-function): Only set
12152 write-region-post-annotation-function after running to-fn so as not to
12153 affect nested write-region calls (bug#5273).
12155 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12157 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12160 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12162 * man.el (Man-goto-section): Signal error if the section is not
12165 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12167 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12168 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12170 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12172 * progmodes/compile.el: Don't treat compile-command as safe if
12173 compilation-read-command might be nil (Bug#4218).
12175 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12177 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12180 2010-01-08 Kenichi Handa <handa@m17n.org>
12182 * international/fontset.el (build-default-fontset-data):
12183 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12185 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12187 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12188 to `create-file-buffer' as it expects, not just a buffer name.
12189 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12190 to help uniquify. (Bug#3224)
12192 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12194 * font-setting.el (font-setting-change-default-font): Use user-spec
12197 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12199 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12201 2010-01-05 Tom Tromey <tromey@redhat.com>
12203 * progmodes/python.el (python-font-lock-keywords):
12204 Handle qualified decorators (Bug#881).
12206 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12208 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12209 in a lightweight checkout.
12211 2010-01-05 Kenichi Handa <handa@m17n.org>
12213 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12215 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12217 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12219 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12221 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12222 checkouts. (Bug#618)
12223 (vc-bzr-log-view-mode): Also highlight the author.
12224 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12225 (vc-bzr-shelve-menu-map):
12226 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12227 (vc-bzr-shelve-apply): Make prompt more explicit.
12229 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12231 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12232 They are valid characters in URL paths (rfc3986), and at least
12233 Firefox does not understand the encoded version (Bug#3166).
12235 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12237 * progmodes/octave-mod.el (octave-end-keywords)
12238 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12239 Add "end" keyword (Bug#3061).
12240 (octave-end-as-array-index-p): New function.
12241 (calculate-octave-indent): Use it.
12243 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12245 * bookmark.el: Consistently put the text property on the bookmark name.
12246 (bookmark-bmenu-marks-width): Bump back to 2, to include
12248 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12249 property on the bookmark name, instead of not putting it at all.
12250 (bookmark-bmenu-list): Fix where we put the text property.
12252 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12254 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12255 for showing buffer modified state (as added in the previous change).
12257 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12259 * bookmark.el: Show modified state of bookmark buffer more accurately.
12260 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12261 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12262 (with-buffer-modified-unmodified): New macro.
12263 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12264 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12265 Use new macro to preserve the buffer modified state.
12267 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12269 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12270 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12271 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12272 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12273 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12274 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12275 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12277 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12279 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12280 Make the lines in the generated doc string shorter. (Bug#4668)
12282 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12284 * net/rcirc.el: Add follow-link binding (Bug#4738).
12286 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12288 * Makefile.in (bzr-update): Rename from cvs-update.
12289 (cvs-update): New target for backward compatibility.
12291 * makefile.w32-in (bzr-update): Rename from cvs-update.
12292 (cvs-update): New target for backward compatibility.
12294 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12296 * bookmark.el: Remove gratuitous gratitude.
12298 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12300 * bookmark.el (bookmark-bmenu-any-marks): New function.
12301 (bookmark-bmenu-save): Clear buffer modification if no marks.
12303 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12305 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12306 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12307 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12308 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12310 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12311 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12312 To: emacs-devel {_AT_} gnu.org
12313 Subject: bookmark.el bug report
12314 Date: Mon, 28 Dec 2009 14:19:16 +0800
12315 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12317 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12319 * bookmark.el: Improvements suggested by Drew Adams:
12320 (bookmark-bmenu-ensure-position): New name for
12321 `bookmark-bmenu-check-position'. Just ensure the position,
12322 don't return any meaningful value.
12323 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12326 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12328 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12329 (bookmark-yank-point, bookmark-bmenu-check-position):
12330 Fix typos in docstrings.
12331 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12332 (bookmark-name-from-full-record, bookmark-get-position)
12333 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12334 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12335 Remove useless quoting of parenthesis, etc. in docstrings.
12337 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12338 (ediff-append-custom-diff): Fix typo in error message.
12339 (ediff-meta-mark-equal-files): Fix typos in messages.
12341 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12343 * net/imap-hash.el (imap-hash-make): Doc fix.
12344 (imap-hash-test): Fix typo in error message; reflow docstring.
12345 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12346 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12347 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12348 Fix typos in docstrings.
12349 (imap-hash-open-connection): Fix typo in error message.
12351 * play/gomoku.el (gomoku): Fix typos in docstring.
12353 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12354 (gdb-jsonify-buffer): Fix typos in docstring.
12355 (gdb-goto-breakpoint): Fix typo in error message.
12356 ("Display Other Windows"): Fix typo in help message.
12357 (gdb-speedbar-expand-node): Fix typo in question.
12359 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12360 (idlwave-html-system-help-location, idlwave-html-help-location)
12361 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12362 (idlwave-help-browser-generic-args, idlwave-help-directory)
12363 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12364 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12365 (idlwave-online-help, idlwave-help-html-link)
12366 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12367 Fix typos in docstrings.
12368 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12370 (idlwave-help-assistant-start): Fix typo in error message.
12372 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12373 (octave-electric-space): Fix typos in docstrings.
12375 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12377 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12379 2010-01-01 Juri Linkov <juri@jurta.org>
12381 * comint.el (comint-input-ring-size): Make it a defcustom and
12382 increase the default to 500 (Bug#5148).
12384 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12386 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12387 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12388 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12390 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12392 Show working revision correctly for mercurial.
12393 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12394 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12396 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12398 Declare some functions for the byte-compiler.
12399 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12400 (speedbar-timer-fn, speedbar-change-expand-button-char)
12401 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12403 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12405 This changeset reverts GDB Graphical Interface to use annotations.
12406 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12408 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12410 Make vc-dir work on subdirectories of the bzr root.
12411 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12412 Return file names relative to it.
12413 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12414 relative directory to vc-bzr-after-dir-status.
12416 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12418 * font-lock.el (font-lock-refresh-defaults): New function, which
12419 can be used to let font-lock react to external changes in
12420 variables like font-lock-defaults and keywords.
12421 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12423 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12425 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12427 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12429 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12431 Supersede color.diff settings in git log (bug#5211).
12433 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12434 escape chars in its output when the user has color.diff set to `always'.
12435 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12437 2009-12-26 Kevin Ryde <user42@zip.com.au>
12439 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12440 node. Keep previous "Index" name to work with past coreutils too.
12442 * man.el (man): Revise docstring a bit to show -a and -l as
12443 examples. Add -k description since support for it has otherwise
12444 been a secret. (Further to bug#3717.)
12445 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12446 "no matches" rather than "Can't find manpage", as the latter reads
12447 like -k was interpreted as a page name, which is not so. (Bug#5431)
12449 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12451 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12452 switches. Check also for //SUBDIRED// line.
12454 2009-12-25 Kenichi Handa <handa@m17n.org>
12456 * language/indian.el (devanagari-composable-pattern): Fix to
12457 handle ZWNJ and ZWJ. Use it in composition-function-table for
12459 (malayalam-composable-pattern): Fix previous change.
12461 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12463 * ps-print.el (ps-face-attributes): It was not returning the
12464 attribute face for faces specified as string. Reported by harven
12465 <harven@free.fr>. (Bug#5254)
12466 (ps-print-version): New version 7.3.5.
12468 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12470 * calendar/icalendar.el (icalendar--convert-tz-offset):
12471 Fix timezone names.
12472 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12473 (icalendar--add-diary-entry): Remove the trailing blank that
12474 diary-make-entry inserts.
12476 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12478 Make `file-expand-wildcards' work for remote files.
12480 * files.el (file-expand-wildcards): In case of remote files, check
12481 only local file name part for wildcards. Provide feature 'files
12482 and subfeature 'remote-wildcards. (Bug#5198)
12484 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12485 if there is already an established connection.
12486 (tramp-advice-file-expand-wildcards): Remove it.
12488 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12489 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12490 Activate advice for older GNU Emacs versions. (Bug#5237)
12492 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12494 Some doc fixes (more needed).
12496 * find-cmd.el (find-constituents): Reflow docstring.
12497 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12498 (find-generic): Doc fix.
12500 2009-12-17 Juri Linkov <juri@jurta.org>
12502 Fix regression from 23.1 to allow multiple modes in Local Variables.
12504 * files.el (hack-local-variables-filter): While ignoring duplicates,
12505 don't take `mode' into account.
12506 (hack-local-variables-filter, hack-dir-local-variables):
12507 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12509 2009-12-17 Juri Linkov <juri@jurta.org>
12511 Make `dired-diff' safer. (Bug#5225)
12513 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12514 `current' or when `file' is a directory of the `current' file.
12516 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12518 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12519 unconditionally preloaded files.
12521 2009-12-16 Juri Linkov <juri@jurta.org>
12523 Revert to old 23.1 logic of using the file at the mark as default.
12524 * dired-aux.el (dired-diff): Use the file at the mark as default
12525 if it's not the same as the current file, and the target dir is
12526 the current dir or the mark is active. Add the current file
12527 as the arg of `dired-dwim-target-defaults'. Use the default file
12528 in the prompt. (Bug#5225)
12530 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12532 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12533 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12534 (tramp-check-for-regexp): Check also, when an echoing shell stops
12535 to echo sent commands.
12537 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12539 * Makefile.in: Revert last change (Bug#5191).
12541 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12543 * vc-hg.el (vc-hg-print-log): Fix argument order.
12544 (vc-hg-working-revision): Make sure the command is executed in a
12545 known environment so that we can parse the output. (Bug#4417)
12547 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12549 * progmodes/python.el (python-symbol-completions): Remove text
12550 properties from symbol string before calling python-send-receive.
12552 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12554 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12555 when there are values for both file and line. (Bug#5060)
12557 2009-12-14 Juri Linkov <juri@jurta.org>
12559 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12560 whitespace after the file name of the first line of unified format,
12561 because git-diff doesn't output whitespace and file modification time
12562 after the file name.
12564 2009-12-14 David Kastrup <dak@gnu.org>
12566 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12567 check if it already has the `display' property added by
12568 `Info-display-images-node', and not put the `invisible' property
12571 2009-12-13 Glenn Morris <rgm@gnu.org>
12573 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12574 (report-emacs-bug): In message-mode, sort manually before storing
12575 original report text. (Bug#5178)
12576 Remove superfluous save-excursion.
12578 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12580 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12581 when responding to "GetAll" properties.
12583 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12585 * simple.el (compose-mail): Remove mail-setup-with-from from
12586 customization checks.
12588 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12590 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12591 RAR archives created on Unix systems.
12593 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12596 the varalias that was accidentally removed by the 2009-11-19 change
12599 2009-12-12 Kenichi Handa <handa@m17n.org>
12601 * language/indian.el (indian-compose-regexp): New function.
12602 (malayalam-composable-pattern): Fix the pattern.
12603 (composition-function-table): Set malayalam-composable-pattern for
12604 Malayalam characters.
12606 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12608 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12609 rather than down-mouse-1, based on follow-link conventions.
12611 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12614 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12616 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12617 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12618 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12619 (verilog-leap-to-head, verilog-backward-token):
12620 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12622 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12624 * progmodes/verilog-mode.el (verilog-auto-lineup)
12625 (verilog-nameable-item-re): Cleanup user-visible spelling and
12626 documentation errors. One reported by Gary Delp.
12627 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12628 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12629 package, bug195. Reported by Pierre-David Pfister.
12631 2009-12-11 Glenn Morris <rgm@gnu.org>
12633 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12635 * mail/emacsbug.el: No longer require sendmail.
12636 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12637 (report-emacs-bug-orig-text): Doc fix.
12638 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12639 New local variables, to adapt to different mail-user-agents.
12640 (report-emacs-bug): Fix test for a gnu.org address.
12641 Use overlays for emphasis, since font-lock defeats 'face property.
12642 Pretest bugs also end up at the newsgroup these days.
12643 Stop message-mode stripping text properties.
12644 Set and use the new buffer-local variables.
12645 (report-emacs-bug-hook): Add doc-string.
12646 Remove some unnecessary save-excursions and simplify.
12647 Use the appropriate hook and send-command.
12649 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12650 capitalization of some menu entries.
12652 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12654 * whitespace.el (whitespace-display-char-on):
12655 Ensure `buffer-display-table' is unique when two or more windows are
12656 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12659 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12661 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12662 characters in the Attribute field.
12664 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12666 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12668 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12670 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12671 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12672 Disregard autoload-excludes.
12673 (update-directory-autoloads): Obey autoload-excludes here instead.
12674 But don't store its contents in no-autoloads and remove entries that
12675 refer to excludes files.
12677 2009-12-10 Glenn Morris <rgm@gnu.org>
12679 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12680 (expand-mail-aliases): Define for compiler.
12682 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12683 Define for compiler.
12685 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12686 appropriate for the mail-user-agent in use.
12688 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12690 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12692 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12694 Fix short log parsing and fontification.
12695 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12696 Fix fontification for the [merge] label.
12698 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12700 Drop some properties to avoid surprises (bug#5002).
12701 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12702 (hfy-fontify-buffer): Use it.
12704 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12708 Adjust all callers.
12709 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12710 args compulsory. Adjust callers.
12711 (ffap-gopher-at-point): Remove unused var `name'.
12713 Get rid of the ELCFILES abomination.
12714 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12715 (compile-elcfiles): New phony target.
12716 (compile-main): Compute ELCFILES dynamically.
12717 (compile-clean): New target to remove left-over elc files.
12718 (compile, all): Use it.
12720 2009-12-09 Kenichi Handa <handa@etlken>
12722 * international/mule-diag.el: Require help-mode instead of help-fns.
12724 2009-12-09 Kenichi Handa <handa@m17n.org>
12726 * international/mule-cmds.el (ucs-names): Supply sufficiently
12727 fine ranges instead of pre-calculating accurate ranges.
12728 Iterate with bigger gc-cons-threshold.
12730 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12732 Add support for stashing a snapshot of the current tree.
12733 * vc-git.el (vc-git-stash-snapshot): New function.
12734 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12736 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12738 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12739 instead of `(beginning|end)-of-line'.
12741 2009-12-08 Glenn Morris <rgm@gnu.org>
12743 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12745 * Makefile.in (ELCFILES): Regenerate.
12747 2009-12-07 Juri Linkov <juri@jurta.org>
12749 Don't lazy-highlight the comint output in history Isearch mode.
12751 * comint.el (comint-history-isearch-search): Instead of
12752 `comint-line-beginning-position', use `comint-after-pmark-p'
12753 to check if point if before the process mark, and go to
12754 `process-mark' in this case.
12756 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * textmodes/tex-mode.el (latex-complete)
12759 (latex-indent-or-complete): Remove.
12760 (latex-mode): Set completion-at-point-functions instead.
12762 Provide a standard completion command and hook it into TAB.
12763 * minibuffer.el (completion-at-point-functions): New var.
12764 (completion-at-point): New command.
12765 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12766 * progmodes/python.el (python-mode-map): Use completion-at-point.
12767 (python-completion-at-point): Rename from python-partial-symbol and
12768 adjust for use in completion-at-point-functions.
12769 (python-mode): Setup completion-at-point for Python completion.
12770 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12771 extracted from lisp-complete-symbol.
12772 (lisp-complete-symbol): Use it.
12773 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12774 setup completion-at-point for Elisp completion.
12775 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12776 Use completion-at-point.
12777 * ielm.el (ielm-map): Use completion-at-point.
12778 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12779 * progmodes/sym-comp.el: Move to...
12780 * obsolete/sym-comp.el: Move from progmodes.
12782 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12784 Prevent save-buffer in Rmail buffers from using the coding-system
12785 of the current message, and from clobbering the encoding mnemonics
12786 in the mode line (Bug#4623).
12788 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12790 (rmail-message-encoding): New variable.
12791 (rmail-write-region-annotate): Record the encoding of the current
12792 message in rmail-message-encoding.
12793 (rmail-after-save-hook): New function, restores the encoding of
12794 the current message after the message collection is saved.
12796 2009-12-07 Juri Linkov <juri@jurta.org>
12798 * progmodes/grep.el (grep-read-files): Use `completing-read'
12799 instead of `read-string'. Set its `collection' arg to
12800 `read-file-name-internal'. (Bug#4301)
12802 2009-12-07 Juri Linkov <juri@jurta.org>
12804 Correctly restore original Isearch point. (Bug#4994)
12806 * isearch.el (isearch-mode): Move `isearch-push-state' after
12807 `(run-hooks 'isearch-mode-hook)'.
12808 (isearch-cancel): When `isearch-push-state-function' is defined,
12809 let-bind `isearch-cmds' to the first state (the last element of
12810 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12811 function and restores the original point). Otherwise, move point
12812 to `isearch-opoint'.
12814 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12816 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12817 chars that don't have names, so the table can be built much faster at
12820 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12822 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12823 change. Suggested by David Kastrup.
12825 * simple.el (compose-mail): Check for incompatibilities and warn.
12826 (compose-mail-user-agent-warnings): New option.
12828 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12830 Support showing a single log entry from vc-annotate.
12831 * vc.el (print-log): Add a new argument: START-REVISION.
12832 (vc-print-log-internal): Add a new optional argument and
12833 pass it to the backend.
12834 (vc-print-log, vc-print-root-log): Adjust callers.
12835 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12836 buffer already displays the requested log entry, use it.
12837 Otherwise display only the log entry in question.
12838 * vc-svn.el (vc-svn-print-log):
12839 * vc-mtn.el (vc-mtn-print-log):
12840 * vc-hg.el (vc-hg-state):
12841 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12842 (vc-git-show-log-entry): Return t on success.
12843 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12844 (vc-bzr-show-log-entry): Return t on success.
12845 * vc-rcs.el (vc-rcs-print-log):
12846 * vc-sccs.el (vc-sccs-print-log):
12847 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12849 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12851 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12852 Add menus to the meta mode. (Bug#5043)
12854 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12856 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12859 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12861 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12863 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12864 Berbain <raphael.berbain@gmail.com>.
12866 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12868 (tramp-initial-end-of-output): New defconst.
12869 (tramp-methods, tramp-find-shell)
12870 (tramp-open-connection-setup-interactive-shell)
12871 (tramp-maybe-open-connection): Use it.
12872 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12873 Handle existence of `#' and `$'.
12875 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12876 Use `tramp-initial-end-of-output'.
12878 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12880 Get the background mode from the terminal for xterm, and set
12882 * term/xterm.el (xterm-set-background-mode): New function.
12883 (terminal-init-xterm): Use it in case xterm supports background
12884 color queries. Recompute faces after getting the background
12887 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12889 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12890 number comment back on its own line, for easier parsing.
12892 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12894 Make it work for non-file buffers (bug#5102).
12895 * doc-view.el (doc-view-current-cache-dir):
12896 Use doc-view-buffer-file-name rather than buffer-file-name.
12897 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12899 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12901 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12902 author field is too short.
12904 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12906 * vc-git.el (vc-git-print-log): Handle a limit argument.
12907 Display the short log in graph form and with labels.
12908 (vc-git-log-view-mode): Handle labels.
12910 Make vc-revert change VC state from 'added to 'unregistered.
12911 * vc-git.el (vc-git-revert): Call git reset first.
12913 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12915 * net/newst-backend.el, net/newst-plainview.el:
12916 * net/newst-reader.el, net/newst-ticker.el:
12917 * net/newst-treeview.el, net/newsticker.el:
12918 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12920 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12922 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12924 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12925 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12926 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12927 Update annotation regexp.
12929 * simple.el (beginning-of-visual-line): Constrain to field
12930 boundaries (Bug#5106).
12932 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12934 * xml.el (xml-substitute-numeric-entities):
12935 Move newsticker--decode-numeric-entities in newst-backend.el to
12936 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12937 * net/newst-backend.el (newsticker--parse-generic-feed)
12938 (newsticker--parse-generic-items)
12939 (newsticker--decode-numeric-entities):
12940 Move newsticker--decode-numeric-entities in newst-backend.el to
12941 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12943 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12945 * progmodes/js.el (js--js-not): Add null to the list of values.
12947 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12949 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12951 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12953 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12954 delimiter if it is at the end of the current line.
12955 (bibtex-generate-url-list): Fix docstring.
12957 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12959 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12960 minibuffer's content with itself.
12961 Fold the confirm-after-completion case into the `confirm' case.
12962 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12964 2009-12-06 Kevin Ryde <user42@zip.com.au>
12966 * ffap.el (ffap-rfc-path): Make this a defcustom since
12967 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12969 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12970 manuals, similar to existing setup for help-mode. (Bug#3913.)
12972 2009-12-05 Juri Linkov <juri@jurta.org>
12974 Save and restore dired buffer's point positions too. (Bug#4880)
12976 * dired.el (dired-save-positions): Return in the first element
12977 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12979 (dired-restore-positions): First restore buffer's position.
12980 While restoring window's positions, check if window still displays
12981 the original buffer.
12983 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12985 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12988 * shell.el (shell): Require ansi-color (Bug#5113).
12990 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12992 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12994 2009-12-05 Alan Mackenzie <acm@muc.de>
12996 * progmodes/cc-mode.el (c-before-hack-hook)
12997 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12998 `c-file-style' to work again. This reversion restores the current
12999 software to its state in Emacs 23.1. (Bug#4146)
13001 2009-12-05 Kevin Ryde <user42@zip.com.au>
13003 * textmodes/sgml-mode.el (sgml-lexical-context):
13004 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13006 2009-12-05 Juri Linkov <juri@jurta.org>
13008 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13009 for virtual nodes. (Bug#4147)
13010 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13011 when moving from a virtual node.
13012 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13013 (Info-mode): Add `Info-virtual-index' to the docstring.
13015 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13017 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13018 track of the buffer position of the end of a BibTeX entry as this
13019 position may change during reformatting.
13020 (bibtex-format-entry): Remove whitespace before processing
13021 numerical fields so that we recognize the latter properly.
13022 (bibtex-reformat): Do not use push which changes the global value
13023 of bibtex-entry-format.
13024 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13025 (bibtex-field-re-init): Replace only space characters by regexp
13027 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13028 (bibtex-initialize): Also update bibtex-strings.
13029 (bibtex-kill-field): Preserve white space at end of entry.
13030 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13031 Update bibtex-reference-keys.
13033 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13035 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13036 point after a star, if that's the only place where modifications can
13039 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13041 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13044 2009-12-04 Juri Linkov <juri@jurta.org>
13046 * proced.el (proced): Call `(proced-update t)' to update process
13047 information instead of only running proced-post-display-hook.
13048 (proced-send-signal): Add a leading space to the buffer name
13049 " *Marked Processes*" to make this buffer ephemeral.
13051 2009-12-04 Juri Linkov <juri@jurta.org>
13053 * dired.el (dired-auto-revert-buffer): New defcustom.
13054 (dired-internal-noselect): Use it.
13056 2009-12-04 Juri Linkov <juri@jurta.org>
13058 Change roles of modes and functions in image-mode.el (Bug#5062).
13060 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13061 in `auto-mode-alist'.
13062 (image-mode-previous-major-mode): New variable.
13063 (image-minor-mode-map): Rename from `image-mode-text-map'.
13064 (image-mode): Move graceful error-handling code from
13065 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13066 (image-minor-mode): Remove all image-handling code.
13067 Replace `image-mode-text-map' with `image-minor-mode-map'.
13068 Check for `image-type' in mode-line format string.
13069 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13070 (image-mode-as-text): New function with most code from
13071 `image-mode-maybe'.
13072 (image-toggle-display-text): Move code that removes image
13073 properties from `image-toggle-display' to here.
13074 (image-toggle-display-image): New function with code that adds
13075 image properties copied from `image-toggle-display'.
13076 (image-toggle-display): Remove most code with leaving only code
13077 that toggles between `image-mode-as-text' and `image-mode'.
13079 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13081 * net/newst-treeview.el
13082 (newsticker--treeview-list-highlight-start): Restored call to
13083 save-excursion: Selected item was stuck.
13084 (newsticker--treeview-list-select): New.
13085 (newsticker--treeview-item-show-text)
13086 (newsticker--treeview-item-show)
13087 (newsticker--treeview-item-update): Use new
13088 newsticker-treeview-item-mode.
13089 (newsticker-treeview-update): Keep current item.
13090 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13091 (newsticker--treeview-first-feed): Doc change.
13092 (newsticker-treeview-list-menu)
13093 (newsticker-treeview-item-menu): Add menu entries.
13094 (newsticker-treeview-item-mode): New.
13096 * net/newst-backend.el (newsticker-customize): Delete other
13099 2009-12-04 Sam Steingold <sds@gnu.org>
13101 * log-view.el (log-view-mode-map): "q" calls quit-window,
13102 like in all the other non-self-insert buffers.
13104 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13108 key decoding rather than do it manually via last-input-event +
13110 (term-exec): Use delete-and-extract-region.
13111 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13112 (term-process-pager): Remove unused var `i'.
13113 (term-dynamic-simple-complete): Make obsolete.
13114 (serial-update-config-menu): Remove unused vars `y' and `str'.
13115 (term-update-mode-line): Remove unused var `temp'.
13117 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13119 Limit the number of log entries displayed by default.
13120 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13121 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13122 using a prefix argument.
13124 2009-12-03 Glenn Morris <rgm@gnu.org>
13126 * progmodes/idlwave.el (class): Restore still useful declaration.
13128 2009-12-03 Alan Mackenzie <acm@muc.de>
13130 Enhance `c-parse-state' to run efficiently in "brace deserts".
13132 * progmodes/cc-mode.el (c-basic-common-init):
13133 Call c-state-cache-init.
13134 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13135 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13136 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13138 * progmodes/cc-langs.el (c-before-font-lock-function):
13139 c-extend-and-neutralize-syntax-in-CPP has been renamed
13140 c-neutralize-syntax-in-and-mark-CPP.
13142 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13143 with `category' properties now, not `syntax-table' ones.
13145 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13146 enhanced (but slower) version of c-end-of-macro that won't land
13147 inside a literal or on another awkward character.
13148 (c-state-cache-too-far, c-state-cache-start)
13149 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13150 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13151 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13152 (c-state-min-scan-pos, c-state-brace-pair-desert)
13153 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13154 buffer local variables.
13155 (c-state-literal-at, c-state-lit-beg)
13156 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13157 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13158 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13159 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13160 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13161 (c-renarrow-state-cache)
13162 (c-append-lower-brace-pair-to-state-cache)
13163 (c-state-push-any-brace-pair, c-append-to-state-cache)
13164 (c-remove-stale-state-cache)
13165 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13166 (c-invalidate-state-cache-1, c-parse-state-1)
13167 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13168 (c-parse-state): Enhance and refactor.
13169 (c-debug-parse-state): Amend to deal with all the new variables.
13171 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13172 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13173 modify to use category text properties rather than syntax-table ones.
13174 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13175 to switch off/on the syntactic paren property of C++ template
13176 delimiters using the category property.
13177 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13178 template delims suppressed.
13179 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13180 New constant/macros which apply category properties to the start
13181 and end of preprocessor constructs.
13182 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13183 "comment out" the syntactic value of characters in preprocessor
13185 (c-with-cpps-commented-out)
13186 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13187 with characters in all or all but one preprocessor constructs
13190 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13192 * proced.el (proced-filter-alist): Use regexp-quote.
13194 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13197 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13198 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13199 arguments. Expand `default-directory'.
13201 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13202 the benefit of returning an expanded localname.
13203 (tramp-tramp-file-p): Handle the case NAME is not a string.
13205 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13207 Add support for bzr shelve/unshelve.
13208 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13209 (vc-bzr-extra-menu-map): New variables.
13210 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13211 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13212 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13213 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13214 (vc-bzr-dir-extra-headers): Display shelves.
13216 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13218 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13220 * textmodes/bibtex.el (bibtex-complete-internal):
13221 Use completion-in-region.
13222 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13224 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13226 Support applying stashes. Improve UI.
13227 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13228 (vc-git-stash-apply, vc-git-stash-pop)
13229 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13230 (vc-git-stash-menu): New functions.
13231 (vc-git-stash-menu-map): New variable.
13232 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13234 2009-12-03 Glenn Morris <rgm@gnu.org>
13236 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13237 (vc-print-log-internal): Fix previous change.
13238 (vc-revert): Correct pluralization.
13240 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13243 it to be an alist any more.
13244 (makefile-complete): Use completion-in-region.
13246 * progmodes/octave-mod.el (octave-complete-symbol):
13247 Use completion-in-region.
13250 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13251 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13252 (idlwave-complete-class): Don't quote lambda.
13253 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13254 (idlwave-mode-map): Move initialization into declaration.
13255 (idlwave-action-and-binding): Use backquotes.
13256 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13258 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13259 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13260 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13261 `parts', and `all-parts'.
13262 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13263 (idlwave-convert-xml-system-routine-info): Remove unused string
13265 (idlwave-display-user-catalog-widget): Use dolist.
13266 (idlwave-scanning-lib): Declare dynamically-scoped var.
13267 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13268 (completion-highlight-first-word-only): Declare to silence bytecomp.
13269 (idlwave-popup-select): Tighten scope of `resp'.
13270 (idlwave-find-struct-tag): Remove unused var `beg'.
13271 (idlwave-after-load-rinfo-hook): Declare.
13272 (idlwave-sintern-class-info): Remove unused var `taglist'.
13273 (idlwave-find-class-definition): Remove unused var `list'.
13274 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13275 (idlwave-what-module-find-class): Remove unused var `classes'.
13277 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13279 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13281 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13283 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13284 buffers visited. Remove redundant current-buffer-saving.
13286 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13288 Use completion-in-buffer and remove uses of dynamic scoping.
13289 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13290 (pascal-buffer-to-use, pascal-flag): Don't declare.
13291 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13292 (pascal-get-completion-decl, pascal-keyword-completion):
13293 Add `pascal-str' argument, save-excursion,
13294 return the found completions, and don't filter with pascal-pred.
13295 (pascal-completion-cache): New var.
13296 (pascal-completion): Don't switch buffer any more (it was never
13297 necessary). Don't save-excursion any more (it's done by the called
13298 subroutines). Use a cache to avoid redundant computations.
13299 Use complete-with-action rather than pascal-completion-response and
13300 let it apply the predicate as well.
13301 (pascal-complete-word): Use completion-in-buffer when
13302 pascal-toggle-completions is nil.
13303 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13305 (pascal-comp-defun): Don't change buffer any more.
13306 Use complete-with-action rather than pascal-completion-response and
13307 let it apply the predicate as well.
13308 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13311 2009-12-02 Kenichi Handa <handa@m17n.org>
13313 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13314 shape for all Indic scripts.
13316 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13318 Use completion-in-buffer.
13319 * wid-edit.el (widget-field-text-end): New function.
13320 (widget-field-value-get): Use it.
13321 (widget-string-complete, widget-file-complete)
13322 (widget-color-complete): Use it and completion-in-region.
13323 (widget-complete): Don't narrow the buffer.
13325 2009-12-02 Glenn Morris <rgm@gnu.org>
13327 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13328 (rmail-select-summary): Use rmail-pop-to-buffer.
13329 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13330 rmail-pop-to-buffer, to prevent horizontal splits.
13332 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13333 save-excursion with save-current-buffer.
13334 Widen before searching. (Bug#5093)
13335 (diary-list-sexp-entries): Remove superfluous save-excursion.
13337 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13339 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13342 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13344 * ido.el (ido-file-internal): Handle filenames at point that do
13345 not have a directory part. (Bug#5049)
13347 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13349 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13350 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13352 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13354 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13355 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13358 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13360 * comint.el (comint-insert-input): Ignore clicks to the right of
13361 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13363 * vc.el (vc-print-log-internal): Don't wait for the process to
13364 terminate before setting up the major mode.
13366 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13369 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13372 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13374 2009-12-01 Glenn Morris <rgm@gnu.org>
13376 * window.el (window--display-buffer-2): Fix previous changes.
13378 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13380 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13382 2009-12-01 Glenn Morris <rgm@gnu.org>
13384 * Makefile.in (ELCFILES): Add mpc.elc.
13386 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13388 * mpc.el: New file.
13390 2009-12-01 Glenn Morris <rgm@gnu.org>
13392 * window.el (window-to-use): Define for compiler.
13394 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13395 consistent with others (no final period).
13397 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13398 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13400 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13402 Make vc-print-log buttons work.
13403 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13405 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13407 * savehist.el (savehist-autosave-interval): Allow setting to nil
13408 through customize. (Bug#5056)
13410 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13412 Fix references to jit-lock properties.
13413 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13414 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13415 (perl-font-lock-special-syntactic-constructs):
13416 Quote jit-lock-defer-multiline property.
13418 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13420 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13422 2009-11-30 Juri Linkov <juri@jurta.org>
13424 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13425 value `buffer' of `multi-isearch-next-buffer-current-function'.
13426 Use `(current-buffer)' when `buffer' is nil.
13427 (multi-isearch-next-buffer-from-list): Don't fallback to
13428 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13430 2009-11-30 Juri Linkov <juri@jurta.org>
13432 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13433 of buffers with `get-buffer' to `multi-isearch-buffers'.
13434 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13435 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13436 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13437 FILES with `expand-file-name' converting relative file names
13438 to absolute. Doc fix. (Bug#4727)
13440 2009-11-30 Juri Linkov <juri@jurta.org>
13442 * misearch.el (multi-isearch-read-buffers)
13443 (multi-isearch-read-matching-buffers): New functions.
13444 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13445 Use them in the `interactive' spec. Doc fix.
13446 (multi-isearch-read-files, multi-isearch-read-matching-files):
13448 (multi-isearch-files, multi-isearch-files-regexp):
13449 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13451 2009-11-30 Juri Linkov <juri@jurta.org>
13453 * doc-view.el (doc-view-continuous):
13454 Rename from `doc-view-continuous-mode'.
13455 (doc-view-menu): Move "Toggle display" to the top.
13456 Add submenu "Continuous" with radio buttons "Off"/"On"
13457 and "Save as Default".
13458 (doc-view-scroll-up-or-next-page)
13459 (doc-view-scroll-down-or-previous-page)
13460 (doc-view-next-line-or-next-page)
13461 (doc-view-previous-line-or-previous-page):
13462 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13464 2009-11-30 Juri Linkov <juri@jurta.org>
13466 * comint.el (comint-mode-map): Rebind `M-r' from
13467 `comint-previous-matching-input' to
13468 `comint-history-isearch-backward-regexp'.
13469 Unbind `M-s' to allow global key binding `M-s'.
13470 Add menu items for `comint-history-isearch-backward' and
13471 `comint-history-isearch-backward-regexp'. (Bug#3746)
13473 2009-11-30 Juri Linkov <juri@jurta.org>
13475 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13476 For def=recenter, replace `recenter' with `recenter-top-bottom'
13477 that is called with `this-command' and `last-command' let-bound
13478 to `recenter-top-bottom'. When the last `def' was not `recenter',
13479 set `recenter-last-op' to nil. (Bug#4981)
13481 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13483 Minor cleanup and simplification.
13484 * filecache.el (file-cache-add-directory)
13485 (file-cache-add-directory-recursively)
13486 (file-cache-add-from-file-cache-buffer)
13487 (file-cache-delete-file-regexp, file-cache-delete-directory)
13488 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13489 (file-cache-temp-minibuffer-message): Delete function.
13490 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13492 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13493 Don't signal an error when bumping into EOB in tr, s, or y.
13495 2009-11-29 Juri Linkov <juri@jurta.org>
13497 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13500 * descr-text.el (describe-char-unidata-list): Use lowercase name
13501 for "Unicode name" like in other tags.
13503 2009-11-29 Juri Linkov <juri@jurta.org>
13505 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13506 New compatibility macro.
13507 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13509 2009-11-29 Juri Linkov <juri@jurta.org>
13511 Add defcustom to define the cycling order of `recenter-top-bottom'.
13514 * window.el (recenter-last-op): Doc fix.
13515 (recenter-positions): New defcustom.
13516 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13517 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13519 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13521 Improve integration of Tramp and ange-ftp in eshell.
13523 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13524 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13525 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13527 * eshell/esh-util.el (top): Require also Tramp when compiling.
13528 (eshell-directory-files-and-attributes): Check for FTP remote
13530 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13531 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13532 (eshell-file-attributes): Handle ".". Return `entry'.
13534 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13535 (ange-ftp-directory-files-and-attributes)
13536 (ange-ftp-real-directory-files-and-attributes): New defuns.
13538 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13539 shell with "exec" when possible. This prevents trailing prompts
13540 in `start-file-process'.
13542 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13544 Try and remove assumptions about point-min==1.
13545 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13546 (rng-compute-mode-line-string): Show the validation percentage in
13547 terms of the narrowed text, not the widened text.
13548 (rng-do-some-validation): Don't catch internal errors when debugging.
13549 (rng-first-error): Simplify.
13550 (rng-after-change-function): Remove work around. AFAIK the bug has
13551 been fixed a while ago.
13553 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13554 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13556 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13558 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13559 `cd' doesn't always do it for us (bug#5067).
13561 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13562 on 2009-10-25 as part of some other change (bug#5067).
13564 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13566 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13568 (byte-compile-warnings): Use byte-compile-warning-types.
13569 (byte-compile-save-excursion): Warn about use of set-buffer right
13570 after save-excursion.
13572 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13573 the excursion as well.
13575 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13577 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13578 providing a Tramp related implementation of "su" and "sudo".
13579 (eshell-unix-initialize): Add "su" and "sudo".
13581 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13583 * net/socks.el (socks-send-command): Convert binary request to
13584 unibyte before sending. This fixes mishandling of some port
13585 numbers such as 129.
13587 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * help.el (describe-bindings-internal): Remove `interactive'.
13591 * man.el (Man-completion-table): Trim a terminating "(".
13592 Remove the space between name page a section.
13593 Add the command's description on the `help-echo' property.
13594 Remove `process-connection-type' binding since it's unused by
13596 Provide completion for the "<section> <name>" format as well.
13597 (Man-default-man-entry): Remove spurious var shadowing the argument.
13599 2009-11-26 Kevin Ryde <user42@zip.com.au>
13601 * log-view.el: Add "Keywords: tools", since its other keywords
13602 aren't in finder-known-keywords, and following vc.el.
13604 * sha1.el (sha1-string-external): default-directory "/" in case
13605 otherwise non-existent. process-connection-type pipe for touch of
13606 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13608 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13610 Misc coding convention cleanups.
13611 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13612 hfy-init-kludge-hooks.
13613 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13614 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13615 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13617 (hfy-slant, hfy-weight): Use tables rather than code.
13618 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13619 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13620 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13621 (hfy-face-to-css): Remove `nconc' with single arg.
13622 (hfy-p-to-face-lennart): Use `or'.
13623 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13624 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13625 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13626 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13627 (hfy-force-fontification): Use run-hooks.
13629 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13631 Various minor fixes.
13632 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13633 Javascript belongs in the header, not the body.
13634 (hfy-javascript): Remove.
13635 (hfy-fontify-buffer): Don't insert it any more.
13636 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13637 Fix bug in invis handling when there were no invis props in a chunk.
13639 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13641 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13643 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13645 * finder.el (finder-mode-map): Add a menu.
13647 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13649 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13650 "unsigned" structs.
13652 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13653 fork" statement better.
13655 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13657 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13658 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13659 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13660 Reported by Clay Douglass.
13662 (verilog-auto-inst, verilog-auto-star-safe)
13663 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13664 Fix removing "// Interfaces" when saving .* expansions.
13665 Reported by Pierre-David Pfister.
13667 2009-11-26 Glenn Morris <rgm@gnu.org>
13669 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13672 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13674 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13675 Really use previous revision.
13677 2009-11-25 Kevin Ryde <user42@zip.com.au>
13679 * man.el (Man-completion-table): default-directory "/" in case
13680 doesn't otherwise exist. process-environment COLUMNS=999 so as
13681 not to truncate long names. process-connection-type pipe to avoid
13682 any chance of hitting the pseudo-tty TIOCGWINSZ.
13683 (man): completion-ignore-case t for friendliness and since man
13684 itself is case-insensitive on the command line.
13685 Further to Bug#3717.
13687 * arc-mode.el: Add "Keywords: files", so the details in its
13688 commentary can be reached from finder-by-keyword.
13689 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13690 editing mode, but it's comms related and sgml-mode.el has "comm"
13692 * textmodes/bibtex-style.el: Add "Keywords: tex".
13693 * international/isearch-x.el, international/ja-dic-cnv.el:
13694 * international/ja-dic-utl.el, international/kkc.el:
13695 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13697 2009-11-25 Juri Linkov <juri@jurta.org>
13699 * man.el (Man-completion-table): Modify regexp to include
13700 section names to completion strings. (Bug#3717)
13702 2009-11-25 Juri Linkov <juri@jurta.org>
13704 Search recursively in gzipped files. (Bug#4982)
13706 * progmodes/grep.el (grep-highlight-matches): Add new options
13707 `always' and `auto'. Doc fix.
13708 (grep-process-setup): Check `grep-highlight-matches' for
13709 `auto-detect' to determine the need to compute grep defaults.
13710 Move Windows/DOS specific --colors settings handling
13711 to `grep-compute-defaults'. Check `grep-highlight-matches'
13712 to get the value of "--color=".
13713 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13714 has the value `auto-detect'. Move Windows/DOS specific settings
13715 from `grep-process-setup'.
13716 (zrgrep): New command with alias `rzgrep'.
13718 2009-11-25 Juri Linkov <juri@jurta.org>
13720 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13721 to nil instead of switching off view-mode. (Bug#4896)
13723 2009-11-25 Juri Linkov <juri@jurta.org>
13725 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13727 * mwheel.el (mwheel-scroll-up-function)
13728 (mwheel-scroll-down-function): New defvars.
13729 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13730 `scroll-up', and `mwheel-scroll-down-function' instead of
13733 * doc-view.el (doc-view-scroll-up-or-next-page)
13734 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13735 Use this ARG in the call to image-scroll-up/image-scroll-down.
13736 Change `interactive' spec to "P". Goto next/previous page only
13737 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13738 SPC/DEL case). Doc fix.
13739 (doc-view-next-line-or-next-page)
13740 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13742 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13743 `doc-view-scroll-up-or-next-page', and buffer-local
13744 `mwheel-scroll-down-function' to
13745 `doc-view-scroll-down-or-previous-page'.
13747 2009-11-25 Juri Linkov <juri@jurta.org>
13749 Provide additional default values (directories at other Dired
13750 windows) via M-n in the minibuffer of some Dired commands.
13752 * dired-aux.el (dired-diff, dired-compare-directories)
13753 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13754 `minibuffer-default' in `minibuffer-with-setup-hook'.
13755 (dired-dwim-target-directory): Find a window that displays Dired
13756 buffer instead of failing when the next window is not Dired.
13757 Use `get-window-with-predicate' to find for the next Dired window.
13758 (dired-dwim-target-defaults): New function.
13760 * ediff-util.el (ediff-read-file-name):
13761 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13762 in `minibuffer-with-setup-hook'.
13764 2009-11-25 Juri Linkov <juri@jurta.org>
13766 Provide additional default values (file name at point or at the
13767 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13769 * minibuffer.el (read-file-name-defaults): New function.
13770 (read-file-name): Reset `minibuffer-default' to nil when
13771 it duplicates initial input `insdef'.
13772 Bind `minibuffer-default-add-function' to lambda that
13773 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13774 (minibuffer-insert-file-name-at-point): New command.
13776 * files.el (file-name-at-point-functions): New defcustom.
13777 (find-file-default): Remove defvar.
13778 (find-file-read-args): Don't use `find-file-default'.
13779 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13780 to `read-file-name'.
13781 (find-file-literally): Use `read-file-name' with
13782 `confirm-nonexistent-file-or-buffer'.
13784 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13786 * dired.el (dired-read-dir-and-switches):
13787 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13788 to `read-file-name'.
13789 (dired-file-name-at-point): New function.
13790 (dired-mode): Add hook `dired-file-name-at-point' to
13791 `file-name-at-point-functions'.
13793 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13795 Really make the *Completions* window soft-dedicated (bug#5030).
13796 * window.el (window--display-buffer-2): Add `dedicated' argument.
13797 (display-buffer): Pass it when needed so the dedicated flag is set
13798 after calling set-window-buffer, which would otherwise reset it.
13800 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13802 * progmodes/meta-mode.el (meta-complete-symbol):
13803 * progmodes/etags.el (complete-tag):
13804 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13805 Use completion-in-region.
13807 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13808 (dabbrev-completion): Use completion-in-region.
13809 (dabbrev--abbrev-at-point): Simplify regexp.
13811 * abbrev.el (abbrev--before-point): Use word-motion functions
13812 if :regexp is not specified (bug#5031).
13814 * subr.el (string-prefix-p): New function.
13816 * man.el (Man-completion-cache): New var.
13817 (Man-completion-table): Use it.
13819 * vc.el (vc-print-log-internal): Make `limit' optional for better
13820 compatibility (e.g. with vc-annotate.el).
13822 2009-11-24 Kevin Ryde <user42@zip.com.au>
13824 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13825 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13827 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13828 when .el source file not found or other error.
13830 2009-11-24 Markus Triska <markus.triska@gmx.at>
13832 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13834 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13836 Handle the [back] button properly (bug#4979).
13837 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13838 Use help-setup-xref, help-buffer, and with-help-window.
13839 (describe-char): Add `buffer' argument.
13840 Pass proper command to help-setup-xref. Don't meddle with
13841 help-xref-stack-item directly.
13842 (describe-text-category): Use with-help-window and help-buffer.
13844 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13845 for the displayed buffer (bug#4887).
13847 * man.el (Man-completion-table): New function.
13850 2009-11-24 David Reitter <david.reitter@gmail.com>
13852 * vc-git.el (vc-git-registered): Use checkout directory (where
13853 .git is) rather than the file's directory and a relative path spec
13854 to work around a bug in git.
13856 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13858 Improve handling of processes on remote hosts.
13860 * eshell/esh-util.el (eshell-path-env): New defvar.
13861 (eshell-parse-colon-path): New defun.
13862 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13864 * eshell/esh-ext.el (eshell-search-path):
13865 Use `eshell-parse-colon-path'.
13866 (eshell-remote-command): Remove argument HANDLER.
13867 (eshell-external-command): Check for FTP remote connection.
13869 * eshell/esh-proc.el (eshell-gather-process-output):
13870 Use `file-truename', in order to start also symlinked files.
13871 Apply `start-file-process' instead of `start-process'.
13872 Shorten `command' to the local file name part.
13874 * eshell/em-cmpl.el (eshell-complete-commands-list):
13875 Use `eshell-parse-colon-path'.
13877 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13879 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13880 to `eshell-directory-change-hook'.
13882 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13884 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13885 because it could be enabled automatically if view-read-only is non-nil.
13887 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13889 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13890 made on 2009-11-22.
13892 2009-11-24 Glenn Morris <rgm@gnu.org>
13894 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13895 deleted variable bookmark-bmenu-bookmark-column.
13897 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13899 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13901 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13903 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13904 two slashes to the "file:" prefix.
13905 (browse-url-file-url): De-munge Cygwin filenames before passing
13906 them to Windows browser.
13907 (browse-url-default-windows-browser): Use call-process.
13909 2009-11-23 Juri Linkov <juri@jurta.org>
13911 Implement DocView Continuous mode. (Bug#4896)
13912 * doc-view.el (doc-view-continuous-mode): New defcustom.
13913 (doc-view-mode-map): Bind C-n/<down> to
13914 `doc-view-next-line-or-next-page', C-p/<up> to
13915 `doc-view-previous-line-or-previous-page'.
13916 (doc-view-next-line-or-next-page)
13917 (doc-view-previous-line-or-previous-page): New commands.
13919 2009-11-23 Juri Linkov <juri@jurta.org>
13921 Implement Isearch in comint input history. (Bug#3746)
13922 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13923 `isearch-mode-hook'.
13924 (comint-history-isearch): New defcustom.
13925 (comint-history-isearch-backward)
13926 (comint-history-isearch-backward-regexp): New commands.
13927 (comint-history-isearch-message-overlay): New buffer-local variable.
13928 (comint-history-isearch-setup, comint-history-isearch-end)
13929 (comint-goto-input, comint-history-isearch-search)
13930 (comint-history-isearch-message, comint-history-isearch-wrap)
13931 (comint-history-isearch-push-state)
13932 (comint-history-isearch-pop-state): New functions.
13934 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13936 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13938 (tramp-handle-make-symbolic-link)
13939 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13941 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13942 (tramp-handle-process-file): Use it.
13944 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13946 * window.el (move-to-window-line-last-op): Remove.
13947 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13949 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13951 Make M-r mirror the new cycling behavior of C-l.
13952 * window.el (move-to-window-line-last-op): New var.
13953 (move-to-window-line-top-bottom): New command.
13954 (global-map): Bind M-r move-to-window-line-top-bottom.
13956 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13958 * dired-x.el (dired-guess-shell-alist-default):
13959 Support xz format. (Bug#4953)
13961 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13963 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13964 last-command-char/last-command-event.
13965 (viper-prefix-arg-value): Do correct conversion of event-char for
13968 * emulation/viper-util.el, emulation/viper.el:
13969 Use viper-last-command-char instead of
13970 last-command-char/last-command-event.
13972 * ediff-init.el, ediff-mult.el, ediff-util.el:
13973 Replace last-command-char and last-command-event
13974 with (ediff-last-command-char) everywhere.
13976 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13977 created in fundamental mode.
13979 * ediff.el (ediff-version): Revert the change of interactive-p to
13980 called-interactively-p.
13982 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13984 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13985 generation from word-movement command names.
13987 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13989 * cus-start.el (all): Add native condition for font-use-system-font.
13991 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13993 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13994 Correct the patch from 2009-11-18. (Bug#3910)
13996 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13998 * progmodes/subword.el: Rename from lisp/subword.el.
14000 * subword.el: Rename to progmodes/subword.el.
14002 * Makefile.in (ELCFILES): Adapt to subword.el move.
14004 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14005 Stefan Monnier <monnier@iro.umontreal.ca>
14007 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14008 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14009 (bookmark-bmenu-show-filenames): Use push.
14010 (bookmark-bmenu-hide-filenames): Use local var instead of
14011 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14012 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14013 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14014 filenames now that the bookmark names are always available.
14016 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14018 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14019 (bookmark-search-pattern): Move and leave unbound.
14020 (bookmark-bmenu-mode-map): Change binding.
14021 (bookmark-read-search-input): Simplify.
14022 Don't use text-char-description. Don't error on non-char events.
14023 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14024 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14025 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14026 Use a local var for the timer.
14027 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14028 (i.e. bookmark-bmenu-search).
14030 2009-11-21 Glenn Morris <rgm@gnu.org>
14032 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14034 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14036 * net/browse-url.el (browse-url-default-windows-browser):
14037 Use cygstart for cygwin.
14039 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14041 * bookmark.el: Formatting and doc fixes only:
14042 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14043 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14044 Minor grammar and punctuation fixes in doc string.
14045 (bookmark-read-search-input): Adjust to fit within 80 columns.
14047 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14049 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14050 (c-backward-into-nomenclature): Adapt to subword renaming.
14052 * subword.el (subword-forward, subword-backward, subword-mark)
14053 (subword-kill, subword-backward-kill, subword-transpose)
14054 (subword-downcase, subword-upcase, subword-capitalize)
14055 (subword-forward-internal, subword-backward-internal):
14056 Rename from forward-subword, backward-subword, mark-subword,
14057 kill-subword, backward-kill-subword, transpose-subwords,
14058 downcase-subword, upcase-subword, capitalize-subword,
14059 forward-subword-internal, backward-subword-internal.
14061 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14063 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14065 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14067 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14068 (bookmark-bmenu-filter-alist-by-regexp)
14069 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14070 (bookmark-bmenu-search): New command.
14071 (bookmark-bmenu-mode-map): Bind it.
14073 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14075 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14076 backward-subword to quit the byte-compiler.
14078 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14080 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14082 * progmodes/cc-cmds.el (c-update-modeline)
14083 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14084 Refer to subword.el functions instead of cc-subword.el.
14086 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14087 subword.el functions instead of cc-subword.el.
14089 * progmodes/cc-subword.el: Rename to subword.el.
14090 * subword.el: Rename from progmodes/cc-subword.el.
14091 (subword-mode-map): Rename from c-subword-mode-map.
14092 (subword-mode): Rename from c-subword-mode.
14093 (global-subword-mode): New global minor mode.
14094 (forward-subword): Rename from c-forward-subword.
14095 (backward-subword): Rename from c-backward-subword.
14096 (mark-subword): Rename from c-mark-subword.
14097 (kill-subword): Rename from c-kill-subword.
14098 (backward-kill-subword): Rename from c-backward-kill-subword.
14099 (transpose-subwords): Rename from c-tranpose-subword.
14100 (downcase-subword): Rename from c-downcase-subword.
14101 (capitalize-subword): Rename from c-capitalize-subword.
14102 (forward-subword-internal): Rename from c-forward-subword-internal.
14103 (backward-subword-internal): Rename from c-backward-subword-internal.
14105 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14107 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14108 from a dired buffer.
14109 (vc-dired-deduce-fileset): New function.
14110 (vc-root-diff, vc-print-root-log): Use it.
14112 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14113 nil LIMIT argument to vc-print-log-internal.
14115 2009-11-20 Glenn Morris <rgm@gnu.org>
14117 * Makefile.in (ELCFILES): Regenerate.
14119 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14121 * calc/calc.el (calc-set-mode-line):
14122 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14123 (math-format-number): Rename `math-format-complement-signed' to
14124 `math-format-twos-complement'.
14126 * calc/calc-bin.el (math-format-twos-complement): Rename from
14127 math-format-complement-signed.
14128 (calc-radix): Rename `calc-complement-signed-mode' to
14129 `calc-twos-complement-mode'.
14130 (calc-octal-radix, calc-hex-radix): Add an argument for
14133 * calc/calc-embed.el (calc-embedded-mode-vars):
14134 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14136 * calc/calc-ext.el (calc-init-extensions):
14137 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14138 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14140 * calc/calc-units.el (math-build-units-table-buffer):
14141 Let `calc-twos-complement-mode' be nil.
14143 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14146 * calc/calc-vec.el (calcFunc-vunpack):
14147 * calc/calc-aent.el (calc-do-calc-eval):
14148 * calc/calc-forms.el (math-format-date):
14149 * calc/calc-graph.el (calc-graph-plot):
14150 * calc/calc-math.el (math-use-emacs-fn):
14151 * calc/calccomp.el (math-compose-expr):
14152 Let `calc-twos-complement-mode' be nil.
14154 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14156 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14157 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14158 * minibuffer.el (completion-in-region-functions): New hook.
14159 (completion-in-region): New function.
14160 * emacs-lisp/lisp.el (lisp-complete-symbol):
14161 * pcomplete.el (pcomplete-std-complete): Use it.
14163 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14165 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14166 (latex-complete-alist): New vars.
14167 (latex-string-prefix-p, latex-complete-bibtex-keys)
14168 (latex-complete-envnames, latex-complete-refkeys)
14169 (latex-complete-data): New functions.
14170 (latex-complete, latex-indent-or-complete): New commands.
14172 * window.el (display-buffer-mark-dedicated): New var.
14173 (display-buffer): Obey it.
14174 * minibuffer.el (minibuffer-completion-help): Use it.
14176 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14178 * filecache.el (file-cache-add-file): Use push and cons.
14179 (file-cache-delete-file-regexp): Use push.
14180 (file-cache-complete): Use completion-in-region.
14182 * simple.el (with-wrapper-hook): Fix thinko.
14184 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14185 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14186 Use with-current-buffer and string-to-number.
14187 (hfy-fallback-colour-values): Use assoc-string.
14188 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14189 (hfy-face-at): Remove unused var `found-face'.
14190 (hfy-compile-stylesheet): Remove unused var `css'.
14191 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14193 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14194 Use with-current-buffer.
14195 (hfy-text-p): Use expand-file-name and fewer setq.
14197 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14199 * htmlfontify.el, hfy-cmap.el: New files.
14201 2009-11-19 Juri Linkov <juri@jurta.org>
14203 * minibuffer.el (completions-format): New defcustom.
14204 (completion--insert-strings): Implement vertical format.
14206 * simple.el (switch-to-completions): Move point to the first
14207 completion when point was at the beginning of the buffer.
14209 2009-11-19 Juri Linkov <juri@jurta.org>
14211 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14213 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14215 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14217 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14218 (mail-signature): Change default to t.
14219 (mail-from-style): Deprecate `system-default' value.
14220 (mail-insert-from-field): For default value of mail-from-style,
14221 default to `angles' unless `angles' needs quoting and `parens'
14223 (mail-citation-prefix-regexp): Use citation regexp from
14226 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14228 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14229 Set variables for computing the prompt for reading password.
14231 2009-11-19 Glenn Morris <rgm@gnu.org>
14233 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14235 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14237 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14238 (newsticker-treeview-listwindow-height): Fix custom type.
14240 2009-11-19 Kenichi Handa <handa@m17n.org>
14242 * descr-text.el (describe-char-padded-string): Compose with TAB
14243 only if there's a font for CH.
14244 (describe-char): Fix the condition for detecting a trivial composition.
14246 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14248 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14249 more accurate version of the regexp. (Bug#3910)
14251 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14253 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14255 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14257 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14258 (font-setting-change-default-font): Fix typo in docstring.
14260 2009-11-18 Alan Mackenzie <acm@muc.de>
14262 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14264 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14266 * font-setting.el (font-use-system-font): Move ...
14268 * cus-start.el (all): ... to here.
14270 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14272 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14273 Don't set `ad-return-value' if `ad-do-it' doesn't.
14275 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14278 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14280 * menu-bar.el: Put "Use system font" in Option-menu.
14281 (menu-bar-options-save): Add font-use-system-font.
14283 * loadup.el: If feature system-font-setting or font-render-setting is
14284 there, load font-setting.
14286 * Makefile.in (ELCFILES): Add font-settings.el.
14287 * font-setting.el: New file.
14289 2009-11-17 Glenn Morris <rgm@gnu.org>
14291 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14293 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14294 Preserve point in the list buffer. (Bug#4939)
14296 (newsticker--treeview-list-update-highlight)
14297 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14299 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14301 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14304 * calc/calc-ext.el (calc-init-extensions): Remove references to
14307 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14309 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14310 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14313 2009-11-16 Kevin Ryde <user42@zip.com.au>
14315 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14316 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14318 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14319 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14320 Ignore trailing spaces by omit-nulls to split-string (fixing
14321 regression from Emacs 21 due to the incompatible split-string
14322 change). (Bug #4928.)
14324 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14326 * vc.el (vc-log-show-limit): Default to 2000.
14327 (vc-print-log-internal): Insert buttons to request more entries
14328 when limiting the output.
14330 * vc-sccs.el (vc-sccs-print-log):
14331 * vc-rcs.el (vc-rcs-print-log):
14332 * vc-cvs.el (vc-cvs-print-log):
14333 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14336 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14338 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14339 error when `tramp-gvfs-dbus-event-vector' is set.
14340 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14342 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14344 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14346 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14348 * net/dbus.el (dbus-unregister-service): New defun.
14349 (dbus-register-property): Register the handlers of
14350 "org.freedesktop.DBus.Properties" for SERVICE.
14351 (dbus-property-handler): Fix docstring.
14353 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14355 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14356 Quote doc string reference in defvaralias as it is not in special form.
14357 (byte-compile-output-docform): Doc fix.
14359 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14361 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14362 (calc-complement-signed-mode): New variables.
14363 (calc-set-mode-line): Add indicator for twos-complements.
14364 (math-format-number): Format twos-complement notation.
14366 * calc/calc-bin.el (calc-word-size): Reset the variables
14367 `math-2-word-size' and `math-half-2-word-size'.
14368 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14369 (calc-symclip): New functions.
14371 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14373 * calc/calc-embed.el (calc-embedded-mode-vars):
14374 Add `calc-complement-signed-mode' to the list of modes.
14376 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14377 (calc-b-oper-keys): Add `calc-symclip' to list.
14379 * calc/calc-ext.el (math-read-number-fancy): Read complement
14381 (calc-init-extensions): Add binding for `calc-symclip'.
14382 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14384 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14386 (calc-modes-menu): Add item for twos complement mode.
14388 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14390 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14392 * register.el (jump-to-register, insert-register): Handle Semantic
14393 tags. From commented-out advice in semantic/senator.el.
14395 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14397 * vc.el (vc-log-show-limit): New variable.
14398 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14399 when using a prefix argument.
14400 (vc-print-log-internal): Add new argument LIMIT.
14402 * vc-svn.el (vc-svn-print-log):
14403 * vc-mtn.el (vc-mtn-print-log):
14404 * vc-hg.el (vc-hg-print-log):
14405 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14406 pass it to the log command when set. Make the BUFFER argument
14409 * vc-sccs.el (vc-sccs-print-log):
14410 * vc-rcs.el (vc-rcs-print-log):
14411 * vc-git.el (vc-git-print-log):
14412 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14413 ignore it. Make the BUFFER argument non-optional
14415 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14417 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14419 * dired.el (dired-mode-map): Move encryption items to "Operate"
14422 * strokes.el (strokes-update-window-configuration): Make strokes
14423 buffer current before erasing (Bug#4906).
14425 2009-11-15 Juri Linkov <juri@jurta.org>
14427 * simple.el (set-mark-default-inactive): Add :type, :group
14428 and :version. (Bug#4876)
14430 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14432 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14433 (archive-unique-fname): ... here. (Bug#4929)
14435 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14437 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14440 * novice.el (disabled-command-function): Add useful args.
14441 Setup the help buffer so that [back] works.
14442 Remove redundant call to help-mode.
14443 (disabled-command-function): Use `case'.
14444 (en/disable-command): New function extracted from enable-command.
14445 (enable-command, disable-command): Use it.
14447 2009-11-14 Glenn Morris <rgm@gnu.org>
14449 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14450 constants. (Bug#4913)
14452 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14454 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14456 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14457 defined in C that have no doc-strings. (Bug#1063)
14459 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14461 * cus-edit.el (data, files):
14462 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14464 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14466 * simple.el (shell-command): Doc fix (Bug#4891).
14468 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14470 2009-11-14 Glenn Morris <rgm@gnu.org>
14472 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14473 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14474 If they are already loaded, eval-after-load will do the right thing.
14476 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14479 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14481 * simple.el (x-selection-owner-p): Declare.
14482 (read-mail-command): Use custom radio type rather than choice.
14483 (completion-no-auto-exit): Doc fix.
14485 * custom.el (defgroup):
14486 * epg-config.el (epg): Doc fixes.
14488 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14490 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14491 * international/ccl.el (define-ccl-program): Do not purecopy the
14492 docstring, defconst does it anyway.
14494 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14496 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14499 * x-dnd.el (x-dnd-maybe-call-test-function):
14500 * window.el (split-window-vertically):
14501 * whitespace.el (whitespace-help-on):
14502 * vc-rcs.el (vc-rcs-consult-headers):
14503 * userlock.el (ask-user-about-lock-help)
14504 (ask-user-about-supersession-help):
14505 * type-break.el (type-break-force-mode-line-update):
14506 * time-stamp.el (time-stamp-conv-warn):
14507 * terminal.el (te-set-output-log, te-more-break, te-filter)
14508 (te-sentinel, terminal-emulator):
14509 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14510 (term-write-input-ring, term-check-source, term-start-output-log):
14511 (term-display-buffer-line, term-dynamic-list-completions):
14512 (term-ansi-make-term, serial-term):
14513 * subr.el (selective-display):
14514 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14515 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14516 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14517 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14518 (speedbar-remove-localized-speedbar-support)
14519 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14520 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14521 (speedbar-buffers-line-directory):
14522 * simple.el (shell-command-on-region, append-to-buffer)
14523 (prepend-to-buffer):
14524 * shadowfile.el (shadow-save-todo-file):
14525 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14526 (scroll-bar-maybe-set-window-start):
14527 * sb-image.el (speedbar-image-dump):
14528 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14529 (load-save-place-alist-from-file):
14530 * ps-samp.el (ps-print-message-from-summary):
14531 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14532 (ps-background-image, ps-begin-job, ps-do-despool):
14533 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14534 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14535 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14536 (pr-call-process, pr-file-list, pr-interface-save):
14537 * novice.el (disabled-command-function)
14538 (enable-command, disable-command):
14539 * mouse.el (mouse-buffer-menu-alist):
14540 * mouse-copy.el (mouse-kill-preserving-secondary):
14541 * macros.el (kbd-macro-query):
14542 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14543 * informat.el (batch-info-validate):
14544 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14545 * hippie-exp.el (try-expand-dabbrev-visible):
14546 * help-mode.el (help-make-xrefs):
14547 * help-fns.el (describe-variable):
14548 * generic-x.el (bat-generic-mode-run-as-comint):
14549 * finder.el (finder-mouse-select):
14550 * find-dired.el (find-dired-sentinel):
14551 * filesets.el (filesets-file-close):
14552 * files.el (list-directory):
14553 * faces.el (list-faces-display, describe-face):
14554 * facemenu.el (list-colors-display):
14555 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14556 * epg.el (epg--process-filter, epg-cancel):
14557 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14558 (epa--read-signature-type):
14559 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14560 (emerge-file-names):
14561 * ehelp.el (electric-helpify):
14562 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14563 * ediff-vers.el (rcs-ediff-view-revision):
14564 * ediff-util.el (ediff-setup):
14565 * ediff-mult.el (ediff-append-custom-diff):
14566 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14568 * echistory.el (Electric-command-history-redo-expression):
14569 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14570 * disp-table.el (describe-display-table):
14571 * dired.el (dired-find-buffer-nocreate):
14572 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14573 * dabbrev.el (dabbrev--same-major-mode-p):
14574 * chistory.el (list-command-history):
14575 * apropos.el (apropos-documentation):
14576 * allout.el (allout-obtain-passphrase):
14577 (allout-copy-exposed-to-buffer):
14578 (allout-verify-passphrase): Use with-current-buffer.
14580 2009-11-13 Glenn Morris <rgm@gnu.org>
14582 * Makefile.in (ELCFILES): Regenerate.
14584 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14586 * net/dbus.el (dbus-registered-objects-table): Rename from
14587 `dbus-registered-functions-table', because it contains also properties.
14588 (dbus-unregister-object): Unregister also properties.
14589 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14590 Use a timeout of 500 msec, in order to not block.
14591 (dbus-register-property, dbus-property-handler): New defuns.
14593 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14595 * simple.el (minibuffer-default-add-completions): Drop deprecated
14598 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14600 * textmodes/artist.el (artist-mouse-choose-operation):
14601 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14602 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14603 (artist-compute-up-event-key): New function.
14604 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14606 2009-11-13 Kenichi Handa <handa@m17n.org>
14608 * language/japan-util.el: Make sure that the value of jisx0208
14609 property is jisx0208 character.
14611 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14613 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14614 car or each item, not the whole list.
14616 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14618 * minibuffer.el (minibuffer-completion-help):
14619 Use minibuffer-hide-completions.
14621 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14623 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14624 (dired-revert): Use them (bug#4880).
14626 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14628 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14630 2009-11-12 Juri Linkov <juri@jurta.org>
14632 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14634 (find-file-literally-at-point): Alias of `ffap-literally'.
14636 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14638 * textmodes/ispell.el (ispell-skip-region-alist):
14639 * textmodes/css-mode.el (auto-mode-alist):
14640 * progmodes/compile.el (auto-mode-alist):
14641 * international/mule.el (ctext-non-standard-encodings-alist)
14642 (ctext-non-standard-encodings-regexp):
14643 * simple.el (shell-command-switch, text-read-only):
14644 * replace.el (occur-mode-map):
14645 * paths.el (rmail-file-name):
14646 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14647 * find-file.el (ff-special-constructs):
14648 * files.el (file-name-handler-alist):
14649 * composite.el: Purecopy strings.
14651 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14653 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14655 * widget.el (define-widget): Purecopy the docstring.
14656 * international/mule-cmds.el (charset): Do not purecopy the
14657 docstring here, define-widget does it.
14659 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14660 * textmodes/bibtex-style.el (auto-mode-alist):
14661 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14662 * progmodes/compile.el (compile-command):
14663 * language/korea-util.el (default-korean-keyboard):
14664 * international/mule-conf.el (file-coding-system-alist):
14665 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14666 * tooltip.el (tooltip-frame-parameters):
14667 * newcomment.el (comment-end, comment-padding):
14668 * dired.el (dired-trivial-filenames):
14669 * comint.el (comint-file-name-prefix): Purecopy initial values.
14671 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14673 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14674 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14676 (tramp-advice-make-auto-save-file-name)
14677 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14678 after removing the advice.
14680 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14682 * progmodes/grep.el (grep-regexp-alist):
14683 * international/mule-cmds.el (iso-2022-control-alist):
14684 * emacs-lisp/timer.el (timer-duration-words):
14685 * subr.el (version-separator, version-regexp-alist):
14686 * minibuffer.el (completion-styles-alist):
14687 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14688 Change defvars to defconsts.
14690 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14691 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14692 * international/mule-conf.el: Allow to be byte compiled.
14694 * international/mule.el (define-charset): Purecopy props.
14695 (load-with-code-conversion): Purecopy doc string and file name.
14696 (put-charset-property): Purecopy strings.
14697 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14699 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14700 (define-char-code-property): Correctly purecopy the table.
14702 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14704 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14706 * subr.el (add-hook): Purecopy strings.
14707 (eval-after-load): Purecopy load-history-regexp and the form.
14709 * custom.el (custom-declare-group): Purecopy load-file-name.
14711 * subr.el (menu-bar-separator): New defconst.
14712 * net/eudc.el (eudc-tools-menu):
14713 * international/mule-cmds.el (set-coding-system-map)
14714 (mule-menu-keymap):
14715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14716 * vc-hooks.el (vc-menu-map):
14717 * replace.el (occur-mode-map):
14718 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14719 (menu-bar-edit-menu, menu-bar-goto-menu)
14720 (menu-bar-custom-menu, menu-bar-showhide-menu)
14721 (menu-bar-options-menu, menu-bar-tools-menu)
14722 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14723 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14724 (menu-bar-help-menu):
14725 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14726 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14728 * term/x-win.el (x-gtk-stock-map):
14729 * progmodes/vera-mode.el (auto-mode-alist):
14730 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14731 (inferior-lisp-program, inferior-lisp-load-command):
14732 * progmodes/hideshow.el (hs-special-modes-alist):
14733 * progmodes/gud.el (same-window-regexps):
14734 * progmodes/grep.el (grep-program, find-program, xargs-program):
14735 * net/telnet.el (same-window-regexps):
14736 * net/rlogin.el (same-window-regexps):
14737 * language/ethiopic.el (font-ccl-encoder-alist):
14738 * vc-sccs.el (vc-sccs-master-templates):
14739 * vc-rcs.el (vc-rcs-master-templates):
14740 * subr.el (cl-assertion-failed):
14741 * simple.el (next-error-overlay-arrow-position):
14742 * lpr.el (lpr-command):
14743 * locate.el (locate-ls-subdir-switches):
14744 * info.el (same-window-regexps, info)
14745 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14746 * image-mode.el (image-mode, auto-mode-alist):
14747 * hippie-exp.el (hippie-expand-ignore-buffers):
14748 * format.el (format-alist):
14749 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14751 * facemenu.el (facemenu-keybindings):
14752 * dired.el (dired-listing-switches, dired-chown-program):
14753 * diff.el (diff-switches, diff-command):
14754 * cus-edit.el (same-window-regexps):
14755 * bindings.el (mode-line-mule-info)
14756 (mode-line-buffer-identification): Purecopy strings.
14758 2009-11-11 Juri Linkov <juri@jurta.org>
14760 * simple.el (dired-get-filename) <declare-function>:
14761 Tell the byte-compiler about dired-get-filename.
14762 (shell-command): In Dired mode, get filename from the current line
14763 as the default value.
14765 2009-11-10 Glenn Morris <rgm@gnu.org>
14767 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14768 * calendar/holidays.el, progmodes/cperl-mode.el:
14769 Update x-popup-menu declarations.
14771 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14772 (list-load-path-shadows): Use dolist.
14773 (list-load-path-shadows): Use with-current-buffer.
14775 2009-11-10 Juri Linkov <juri@jurta.org>
14777 * minibuffer.el (read-file-name): Support a list of default values
14778 in `default-filename'. Use the first file name where only one
14779 element is required. Doc fix.
14781 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14783 * net/dbus.el (dbus-unregister-object): Release service, if no
14784 other method is registered for it.
14786 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14788 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14789 bookmark-sort-flag is non-nil (Bug#4653).
14791 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14793 * emulation/cua-base.el: Add CUA property to some CC mode commands
14796 2009-11-08 Kevin Ryde <user42@zip.com.au>
14798 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14799 at end of sentence (Bug#4818).
14801 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14804 Handle "see declaration of" MSFT statements (Bug#4100).
14806 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14808 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14809 (tramp-advice-file-expand-wildcards): Unload via
14810 `ad-remove-advice'.
14812 * net/trampver.el: Update release number.
14814 2009-11-08 Kevin Ryde <user42@zip.com.au>
14816 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14819 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14821 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14822 in order to keep context in SELinux.
14824 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14826 * dired-aux.el (dired-query): Place cursor in echo area and allow
14829 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14830 menu item if not on a directory (Bug#4701).
14832 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14834 Sync with Tramp 2.1.17.
14836 * net/tramp.el (tramp-handle-copy-directory): Don't use
14837 `file-remote-p' (due to compatibility).
14839 * net/tramp-compat.el (tramp-compat-copy-directory)
14840 (tramp-compat-delete-directory): New defuns.
14842 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14843 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14844 Use `tramp-compat-delete-directory'.
14846 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14847 (tramp-smb-handle-delete-directory):
14848 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14850 * net/trampver.el: Update release number.
14852 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14854 * tar-mode.el (tar-copy): Call write-region on the right buffer
14857 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14858 by hand, if necessary (Bug#4878).
14860 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14862 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14863 align size column (Bug#4839).
14865 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14868 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14870 * progmodes/ld-script.el (auto-mode-alist):
14871 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14873 * cus-face.el (custom-declare-face): Purecopy face spec.
14875 2009-11-06 Kenichi Handa <handa@m17n.org>
14877 * international/uni-bidi.el: Re-generated.
14878 * international/uni-category.el: Re-generated.
14879 * international/uni-combining.el: Re-generated.
14880 * international/uni-mirrored.el: Re-generated.
14882 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14884 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14885 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14886 (tex-start-options, slitex-run-command, latex-run-command)
14887 (tex-run-command, tex-directory):
14888 * textmodes/ispell.el (ispell-html-skip-alists)
14889 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14890 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14891 (adaptive-fill-regexp):
14892 * textmodes/dns-mode.el (auto-mode-alist):
14893 * progmodes/python.el (interpreter-mode-alist):
14894 * progmodes/etags.el (tags-compression-info-list):
14895 * progmodes/etags.el (tags-file-name):
14896 * net/browse-url.el (browse-url-galeon-program)
14897 (browse-url-firefox-program):
14898 * mail/sendmail.el (mail-signature-file)
14899 (mail-citation-prefix-regexp):
14900 * international/mule-conf.el (eight-bit):
14901 * international/latexenc.el (latex-inputenc-coding-alist):
14902 * international/fontset.el (x-pixel-size-width-font-regexp):
14903 * emacs-lisp/warnings.el (warning-type-format):
14904 * emacs-lisp/trace.el (trace-buffer):
14905 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14906 (emacs-lisp-mode-map):
14907 * calendar/holidays.el (holiday-solar-holidays)
14908 (holiday-bahai-holidays, holiday-islamic-holidays)
14909 (holiday-christian-holidays, holiday-hebrew-holidays)
14910 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14911 (hebrew-holidays-1, holiday-oriental-holidays)
14912 (holiday-general-holidays):
14913 * x-dnd.el (x-dnd-known-types):
14914 * tool-bar.el (tool-bar):
14915 * startup.el (site-run-file):
14916 * shell.el (shell-dumb-shell-regexp):
14917 * rfn-eshadow.el (file-name-shadow-tty-properties)
14918 (file-name-shadow-properties):
14919 * paths.el (remote-shell-program, news-directory):
14920 * mouse.el ([C-down-mouse-3]):
14921 * menu-bar.el (menu-bar-tools-menu):
14922 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14923 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14924 (jka-compr-compression-info-list):
14925 * isearch.el (search-whitespace-regexp):
14926 * image-file.el (image-file-name-extensions):
14927 * find-dired.el (find-ls-option):
14928 * files.el (directory-listing-before-filename-regexp)
14929 (directory-free-space-args, insert-directory-program)
14930 (list-directory-brief-switches, magic-fallback-mode-alist)
14931 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14932 (automount-dir-prefix):
14933 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14934 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14935 (face-font-registry-alternatives, face-font-registry-alternatives)
14936 (face-font-family-alternatives):
14937 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14938 (facemenu-foreground-menu, facemenu-face-menu):
14939 * epa-hook.el (epa-file-name-regexp):
14940 * dnd.el (dnd-protocol-alist):
14941 * textmodes/rst.el (auto-mode-alist):
14942 * button.el (default-button): Purecopy strings.
14944 2009-11-06 Glenn Morris <rgm@gnu.org>
14946 * Makefile.in (ELCFILES): Update.
14948 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14951 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14953 * nxml/xsd-regexp.el (xsdre-gen-categories):
14954 * nxml/xmltok.el (xmltok-parse-entity):
14955 * nxml/rng-parse.el (rng-parse-validate-file):
14956 * nxml/rng-maint.el (rng-format-manual)
14957 (rng-manual-output-force-new-line):
14958 * nxml/rng-loc.el (rng-save-schema-location-1):
14959 * nxml/rng-cmpct.el (rng-c-parse-file):
14960 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14961 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14963 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14965 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14966 Remove extra save-excursions and make-variable-buffer-local's.
14967 Suggested by Stefan Monnier.
14969 (verilog-getopt-file, verilog-module-inside-filename-p)
14970 (verilog-set-define): Merge GNU 1.35 and repair changes from
14971 switching to using with-current-buffer.
14973 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14974 being treated as a number and confusing AUTORESET.
14975 Reported by Dan Dever.
14977 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14978 Add verilog-auto-ignore-concat to fix backward compatibility with
14979 older verilog-modes. Reported by Dan Katz.
14981 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14982 containing closing anchors "...$".
14984 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14985 Reported by Wade Smith.
14987 (verilog-batch-execute-func): Comment on function usage.
14989 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14991 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14994 (verilog-label-re, verilog-calc-1): Support proper indent of named
14997 (verilog-backward-token, verilog-basic-complete-re)
14998 (verilog-beg-of-statement, verilog-indent-re): Support proper
14999 indent of the assert statement at the beginning of a block of text.
15001 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15002 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15005 2009-11-05 Glenn Morris <rgm@gnu.org>
15007 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15008 Emacs 19. (Bug#1531)
15009 (byte-compile-fix-header): Update for the above change.
15010 Drop test for epoch::version.
15012 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15013 * cus-dep.el (custom-make-dependencies):
15014 * finder.el (finder-compile-keywords):
15015 Use autoload-rubric's feature argument.
15017 * calendar/diary-lib.el (top-level): Make load behave more like require.
15019 * vc-git.el (vc-git-stash-map): Move definition before use.
15021 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15023 * custom.el (custom-declare-group): Purecopy standard-value.
15024 (custom-declare-group): Purecopy custom-prefix.
15026 * international/mule.el (load-with-code-conversion):
15027 Call do-after-load-evaluation unconditionally.
15029 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15031 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15033 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15035 2009-11-04 Glenn Morris <rgm@gnu.org>
15037 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15038 (byte-compile-compatibility): Remove option.
15039 (byte-compile-close-variables, byte-compile-fix-header)
15040 (byte-compile-insert-header, byte-compile-output-docform)
15041 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15042 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15043 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15044 (byte-compile-insert, byte-compile-defun):
15045 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15046 (byte-defop-compiler19): Remove.
15047 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15048 used by anything. Replace all calls with byte-defop-compiler.
15050 2009-11-04 Juri Linkov <juri@jurta.org>
15052 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15053 (menu-bar-options-menu): Don't quote the `prop' arg of
15054 `menu-bar-make-mm-toggle'.
15056 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15058 * calendar/calendar.el (cal-loaddefs):
15059 * calendar/diary-lib.el (diary-loaddefs):
15060 * calendar/holidays.el (hol-loaddefs):
15061 * eshell/esh-module.el (esh-groups): Load rather than require.
15063 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15065 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15067 (todo-top-priorities): Only display-buffer when called interactively.
15068 (todo-item-start): Don't save excursion point.
15069 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15070 (todo-insert-item-here, todo-file-item, todo-remove-item):
15071 Adjust uses of todo-item-start and todo-item-end.
15073 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15074 (autoload-rubric): Don't use any more.
15076 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15077 and only put a prop if it is non-nil.
15079 2009-11-03 Juri Linkov <juri@jurta.org>
15081 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15082 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15084 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15085 and "Menu" to make top-level menu item visually one unit (like
15086 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15087 multi-word menu items). Fix :help string for quit-window.
15089 2009-11-03 Glenn Morris <rgm@gnu.org>
15091 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15092 (byte-compile-file-form-define-abbrev-table)
15093 (byte-compile-file-form-custom-declare-variable)
15094 (byte-compile-variable-ref, byte-compile-defvar):
15095 Whether or not a warning is enabled should only affect whether we issue
15096 the warning, not whether or not we collect the relevant data.
15097 Eg warnings can be turned on and off throughout the course of a file.
15099 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15100 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15102 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15104 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15105 * play/mpuz.el (mpuz-create-buffer):
15106 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15107 (lm-print-y,s,noise, lm-print-w0, lm-init):
15108 * play/gomoku.el (gomoku-prompt-for-move):
15109 * play/fortune.el (fortune-in-buffer):
15110 * play/dissociate.el (dissociated-press):
15111 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15112 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15113 * mail/supercite.el (sc-eref-show):
15114 * mail/smtpmail.el (smtpmail-send-it):
15115 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15116 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15117 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15118 (rmail-summary-goto-msg, rmail-summary-expunge)
15119 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15120 (rmail-summary-add-label, rmail-summary-output-menu)
15121 (rmail-summary-output-body):
15122 * mail/rfc822.el (rfc822-addresses):
15123 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15124 * mail/mailpost.el (post-mail-send-it):
15125 * mail/hashcash.el (hashcash-generate-payment):
15126 * mail/feedmail.el (feedmail-run-the-queue)
15127 (feedmail-queue-send-edit-prompt-help-first)
15128 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15129 (feedmail-deduce-address-list):
15130 * eshell/esh-ext.el (eshell-remote-command):
15131 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15132 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15133 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15134 (viper-save-string-in-file, viper-valid-marker):
15135 * emulation/viper-keym.el (viper-toggle-key):
15136 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15137 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15138 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15139 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15140 (viper-exec-form-in-emacs, viper-brac-function):
15141 * emulation/viper.el (viper-delocalize-var):
15142 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15143 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15144 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15145 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15146 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15147 * emulation/edt.el (edt-electric-helpify):
15148 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15149 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15150 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15151 (cua-indent-to-global-mark-column):
15152 * calendar/diary-lib.el (calendar-mark-1):
15153 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15154 Use with-current-buffer.
15155 * emulation/viper.el (viper-delocalize-var): Use dolist.
15157 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15159 * comint.el (comint-replace-by-expanded-history-before-point):
15160 Replace !! with the previous input string literally (Bug#1795).
15162 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15164 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15165 to be made up of whitespace.
15167 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15169 * minibuffer.el (read-file-name): Don't use file dialogs for
15170 remote directories (Bug#99).
15172 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15174 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15176 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15178 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15179 instead of deleting the window or frame.
15181 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15183 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15184 Support face colors.
15186 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15187 New function. Support face colors (Bug#1168).
15188 (tex-common-initialization): Use it.
15190 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15191 mode allows it (Bug#1168).
15193 2009-10-31 Juri Linkov <juri@jurta.org>
15195 * facemenu.el (list-colors-display): Don't mark buffer as
15196 modified (Bug#3948).
15198 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15200 * international/mule-diag.el (list-character-sets-1):
15201 Minor message fix (Bug#3526).
15203 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15204 Fix face property (Bug#4834).
15205 (etags-list-tags, etags-tags-apropos-additional)
15206 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15209 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15212 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15214 * textmodes/two-column.el (2C-split):
15215 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15216 * textmodes/tex-mode.el (tex-set-buffer-directory):
15217 * textmodes/spell.el (spell-region, spell-string):
15218 * textmodes/reftex.el (reftex-erase-buffer):
15219 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15220 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15221 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15222 (reftex-select-item):
15223 * textmodes/reftex-ref.el (reftex-label-info-update)
15224 (reftex-offer-label-menu):
15225 * textmodes/reftex-index.el (reftex-index-change-entry)
15226 (reftex-index-phrases-info):
15227 * textmodes/reftex-global.el (reftex-create-tags-file)
15228 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15229 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15230 (reftex-view-crossref-from-bibtex):
15231 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15232 (reftex-extract-bib-entries-from-thebibliography)
15233 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15234 * textmodes/refbib.el (r2b-capitalize-title):
15235 (r2b-convert-buffer, r2b-help):
15236 * textmodes/page-ext.el (pages-directory)
15237 (pages-directory-goto-with-mouse):
15238 * textmodes/bibtex.el (bibtex-validate-globally):
15239 * textmodes/bib-mode.el (bib-capitalize-title):
15240 * textmodes/artist.el (artist-clear-buffer, artist-system):
15241 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15242 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15243 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15244 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15245 (xscheme-send-control-g-interrupt, xscheme-start-process)
15246 (xscheme-process-sentinel, xscheme-cd):
15247 * progmodes/verilog-mode.el (verilog-read-always-signals)
15248 (verilog-set-define, verilog-getopt-file)
15249 (verilog-module-inside-filename-p):
15250 * progmodes/sh-script.el:
15251 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15252 (python-pdbtrack-grub-for-buffer, python-execute-file):
15253 * progmodes/octave-inf.el (inferior-octave):
15254 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15255 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15256 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15257 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15258 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15259 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15260 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15261 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15262 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15263 (idlwave-shell-examine-display, idlwave-shell-run-region)
15264 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15265 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15266 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15267 (idlwave-help-get-help-buffer):
15268 * progmodes/gud.el (gud-basic-call, gud-find-class)
15269 (gud-tooltip-activate-mouse-motions-if-enabled):
15270 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15271 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15272 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15273 (ebrowse-tags-next-file):
15274 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15275 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15276 (ebnf-eps-finish-and-write):
15277 * progmodes/cpp.el (cpp-edit-save):
15278 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15279 * progmodes/cc-defs.el (c-emacs-features):
15280 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15281 (antlr-directory-dependencies):
15282 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15283 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15284 (ada-find-any-references, ada-make-filename-from-adaname)
15285 (ada-make-body-gnatstub):
15286 * obsolete/rnews.el (news-list-news-groups):
15287 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15288 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15289 * net/rcirc.el (rcirc-debug):
15290 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15291 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15292 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15293 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15294 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15295 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15296 (newsticker--treeview-list-clear-highlight)
15297 (newsticker--treeview-list-update-highlight)
15298 (newsticker--treeview-list-highlight-start)
15299 (newsticker--treeview-tree-update-highlight)
15300 (newsticker--treeview-get-selected-item)
15301 (newsticker-treeview-mark-list-items-old)
15302 (newsticker--treeview-set-current-node):
15303 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15304 * net/newst-backend.el (newsticker--get-news-by-funcall)
15305 (newsticker--get-news-by-wget, newsticker--image-get)
15306 (newsticker--image-sentinel):
15307 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15308 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15309 (eudc-ph-close-session):
15310 * net/eudc.el (eudc-save-options):
15311 * language/thai-word.el (thai-update-word-table):
15312 * language/japan-util.el (japanese-string-conversion):
15313 * international/titdic-cnv.el (tsang-quick-converter)
15314 (ziranma-converter, ctlau-converter):
15315 * international/mule-cmds.el (describe-language-environment):
15316 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15317 (skkdic-convert-postfix, skkdic-convert-prefix):
15318 (skkdic-convert-okuri-nasi, skkdic-convert):
15319 * emacs-lisp/re-builder.el (reb-update-overlays):
15320 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15321 * emacs-lisp/gulp.el (gulp-send-requests):
15322 * emacs-lisp/find-gc.el (trace-call-tree):
15323 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15324 (eieio-describe-generic):
15325 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15326 * emacs-lisp/edebug.el (edebug-outside-excursion):
15327 * emacs-lisp/debug.el (debugger-make-xrefs):
15328 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15329 * emacs-lisp/chart.el (chart-new-buffer):
15330 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15331 Use with-current-buffer.
15332 * textmodes/artist.el (artist-system): Don't call
15333 copy-sequence on a fresh string.
15334 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15336 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15338 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15339 is no item to edit. (Bug#4820)
15340 (todo-top-priorities): Restore point and restore narrowing in Todo
15343 2009-10-31 Glenn Morris <rgm@gnu.org>
15345 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15346 (comint-last-output-start, comint-last-input-start)
15347 (comint-last-input-end): Don't defvar when compiling.
15348 (ange-ftp-process-file): Use bound-and-true-p.
15350 * pcmpl-rpm.el (top-level): Move provide statement to end.
15351 (pcmpl-rpm): Remove unused custom group.
15353 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15355 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15357 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15358 (byte-compile-warnings): Add `constants' as an option.
15359 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15360 (display-call-tree): Update for byte-compile-fdefinition possibly
15361 returning `(macro lambda ...)'. (Bug#4778)
15362 (byte-compile-variable-ref, byte-compile-setq-default):
15363 Respect `constants' member of byte-compile-warnings.
15365 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15367 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15368 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15371 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15373 * textmodes/ispell.el (ispell-skip-region-alist):
15374 * international/mule-conf.el (eight-bit):
15375 * international/fontset.el (font-encoding-alist):
15376 * startup.el (pure-space-overflow-message):
15377 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15378 * paths.el (gnus-nntp-service, rmail-spool-directory)
15379 (term-file-prefix):
15380 * files.el (save-some-buffers-action-alist):
15381 * cmuscheme.el (same-window-buffer-names):
15382 * ielm.el (same-window-buffer-names):
15383 * shell.el (same-window-buffer-names):
15384 * mail/sendmail.el (same-window-buffer-names):
15385 * progmodes/inf-lisp.el (same-window-buffer-names):
15386 * bindings.el (mode-line-client)
15387 (mode-line-column-line-number-mode-map):
15388 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15389 (tibetan-precomposed-regexp): Purecopy string arguments.
15391 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15394 (calcDigit-nondigit):
15395 * calc/calc-yank.el (calc-copy-to-buffer):
15396 * calc/calc-units.el (calc-invalidate-units-table):
15397 * calc/calc-trail.el (calc-trail-yank):
15398 * calc/calc-store.el (calc-insert-variables):
15399 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15400 * calc/calc-prog.el (calc-read-parse-table):
15401 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15402 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15403 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15404 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15405 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15406 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15407 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15408 * calc/calc-ext.el (calc-realign):
15409 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15410 (calc-embedded-finish-edit, calc-embedded-make-info)
15411 (calc-embedded-finish-command, calc-embedded-stack-change):
15412 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15414 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15415 shell-dynamic-complete-filename in preference to
15416 comint-dynamic-complete-filename.
15418 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15419 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15420 Don't consider whether the display supports colors.
15421 (bookmark-import-new-list): Use dolist.
15422 (bookmark-bmenu-mode-map): Move initialization into declaration.
15423 (bookmark-bmenu-list): Use dolist, simplify.
15424 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15425 (menu-bar-final-items): Use push.
15427 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15429 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15430 it works on remote files.
15431 (vc-hg-diff): Don't pass any `--cwd' argument.
15433 2009-10-27 Kevin Ryde <user42@zip.com.au>
15435 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15436 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15437 (Further to Bug#3921).
15439 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15441 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15442 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15443 calling `tramp-imap-put-file'. Add file size to the call.
15444 (tramp-imap-get-file-entries): Compute also user name, file size,
15446 (tramp-imap-handle-insert-directory): Insert uid and gid.
15447 (tramp-imap-handle-file-attributes): Transform uid and gid
15448 according to `id-format'.
15449 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15450 size in header X-Size.
15452 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15454 * simple.el (transpose-subr): Give clearer error when the mark
15455 is not set. (Bug#4807)
15457 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15459 * net/tramp.el (tramp-perl-file-truename): New defconst.
15460 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15461 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15462 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15463 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15465 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15466 Ignore `dired-call-process'.
15467 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15469 2009-10-26 Julian Scheid <julians37@gmail.com>
15471 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15472 (tramp-get-remote-readlink): New defun.
15473 (tramp-handle-file-truename): Use it.
15474 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15475 file exists if cache value present.
15476 (tramp-check-cached-permissions): New defun.
15477 (tramp-handle-file-readable-p): Use it.
15478 (tramp-handle-file-writable-p): Likewise.
15479 (tramp-handle-file-executable-p): Likewise.
15480 (tramp-handle-file-name-all-completions): Try using Perl to get
15481 partial completions. When perl not available, combine `cd' and
15482 `ls' into single remote operation and use shell expansion to get
15483 partial remote directory contents. Set `file-exists-p' cache for
15484 directory and any files returned by ls. Change cache handling to
15485 support partial directory contents. Use error message emitted by
15486 remote `cd' or Perl code for local tramp-error.
15487 (tramp-do-copy-or-rename-file-directly): Avoid separate
15488 tramp-send-command-and-check call.
15489 (tramp-handle-process-file): Merge three remote ops into one.
15490 Do not flush all caches when `process-file-side-effects' is set.
15491 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15492 file-attributes shows uid/gid to be set already.
15494 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15496 * textmodes/tex-mode.el (tex-dvi-view-command)
15497 (tex-show-queue-command, tex-open-quote):
15498 * progmodes/ruby-mode.el (auto-mode-alist)
15499 (interpreter-mode-alist): Purecopy strings.
15501 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15503 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15504 string for the hook, keymap and abbrev table.
15506 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15508 * x-dnd.el (x-dnd-xdnd-to-action):
15509 * startup.el (fancy-startup-text, fancy-about-text): Change to
15510 defconst from defvar.
15512 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15514 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15515 Purecopy initialization strings.
15517 * mail/sendmail.el (mail-header-separator)
15518 (mail-personal-alias-file):
15519 * mail/rmail.el (rmail-default-dont-reply-to-names)
15520 (rmail-ignored-headers, rmail-retry-ignored-headers)
15521 (rmail-highlighted-headers, rmail-secondary-file-directory)
15522 (rmail-secondary-file-regexp):
15523 * files.el (null-device, file-name-invalid-regexp)
15524 (locate-dominating-stop-dir-regexp)
15525 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15526 (interpreter-mode-alist): Use mapcar instead of mapc.
15528 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15530 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15531 (completion-ignored-extensions):
15532 (debug-ignored-errors): Purecopy strings.
15534 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15536 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15537 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15538 (pcomplete--here): Use push.
15540 * subr.el (all-completions): Declare the 4th arg obsolete.
15542 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15544 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15545 (pcomplete-unquote-argument): New function.
15546 (pcomplete--common-suffix): Always pay attention to case.
15547 (pcomplete--table-subvert): Quote and unquote the text.
15548 (pcomplete--common-quoted-suffix): New function.
15549 (pcomplete-std-complete): Use it and pcomplete-begin.
15551 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15552 we're inside a dedicated or minibuffer window.
15554 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15556 * bookmark.el: Update documentation, especially documentation
15557 of `bookmark-alist' and of the bookmark file format.
15558 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15560 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15562 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15563 keybindings apply to the mail buffer (Bug#4003). Shrink help
15566 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15567 (global-whitespace-mode, global-whitespace-newline-mode)
15568 (whitespace-toggle-options, global-whitespace-toggle-options):
15569 Doc fix (Bug#3660).
15571 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15572 of xmltok-start before the end tag was inserted (Bug#2840).
15574 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15575 patterns that are preceded by an open-paren (Bug#1320).
15577 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15579 * files.el (delete-directory): Delete symlinks to directories with
15580 delete-file (Bug#4739).
15582 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15584 * vc.el (vc-backend-for-registration): Rename from
15585 vc-get-backend-for-registration. Update callers.
15587 * international/mule-cmds.el (set-language-info-alist):
15589 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15590 (charset): Purecopy the name.
15591 (define-char-code-property): Purecopy string arguments.
15593 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15594 Purecopy string arguments.
15596 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15597 * ediff-hook.el (menu-bar-ediff-menu):
15598 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15599 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15601 2009-10-24 Glenn Morris <rgm@gnu.org>
15603 * comint.el (comint-dynamic-list-completions):
15604 * term.el (term-dynamic-list-completions): Use choose-completion rather
15605 than obsolete alias mouse-choose-completion.
15607 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15608 file-cache-choose-completion.
15609 (file-cache-choose-completion): Handle an optional event argument.
15610 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15612 * progmodes/octave-mod.el (octave-complete-symbol):
15613 Use choose-completion if mouse-choose-completion is ever removed.
15615 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15618 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15621 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15623 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15626 Ignore `pred' now that we receive one.
15627 Handle test-completion specially.
15629 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15631 * vc.el (vc-responsible-backend): Throw an error if not backend is
15632 found. Remove the REGISTER argument. Move the code dealing with
15634 (vc-get-backend-for-registration): ... here. New function.
15635 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15636 of vc-responsible-backend, pass the file name instead of the
15639 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15641 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15643 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15644 (pcomplete-comint-setup): Don't modify a global var via
15645 accidental side-effects.
15646 (pcomplete-shell-setup): Adjust call accordingly.
15647 (pcomplete-parse-comint-arguments): Use push.
15649 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15651 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15652 Allow uncapitalized info node names (Bug#3921).
15654 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15655 to the DEBUG file (Bug#3781).
15657 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15659 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15660 dictionary entry (Bug#4579).
15662 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15664 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15665 from `rfn-eshadow-update-overlay-hook' when unloading.
15666 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15667 "rsyncc". Adjust doc string.
15668 (tramp-temp-buffer-file-name): New buffer-local defvar.
15669 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15670 Keep temporary file when indicated by method ("rsync" and
15672 (tramp-handle-write-region): Handle APPEND.
15673 (tramp-delete-temp-file-function): New defun. Added to
15674 `kill-buffer-hook'.
15676 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15678 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15680 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15682 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15683 (color-name-rgb-alist, tty-standard-colors)
15684 (tty-color-mode-alist): Change to defconst.
15686 * simple.el (mark-inactive): Purecopy message.
15688 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15689 (global-map, yank-menu):
15690 * textmodes/ispell.el (ispell-menu-map):
15691 * net/eudc.el (eudc-tools-menu):
15692 * international/mule-cmds.el (describe-language-environment-map)
15693 (setup-language-environment-map, set-coding-system-map)
15694 (mule-menu-keymap):
15695 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15696 * replace.el (occur-mode-map):
15697 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15699 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15701 * calc/calc.el (math-read-number, math-read-number-simple):
15702 Use `save-match-data'.
15704 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15706 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15707 rather than fiddling with global-map bindings, since it should only
15708 affect per-terminal settings.
15709 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15711 * minibuffer.el (completion-table-with-terminator): Allow to specify
15712 the terminator-regexp.
15714 * simple.el (switch-to-completions): Look for *Completions* in other
15717 * pcomplete.el: Allow the use of completion-tables.
15718 (pcomplete-std-complete): New command.
15719 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15720 (pcomplete--here): Use a function for `form' rather than an expression,
15721 so it can be byte-compiled.
15722 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15723 Add edebug declaration.
15724 (pcomplete-show-completions): Remove unused var `curbuf'.
15725 (pcomplete-do-complete, pcomplete-stub):
15726 Don't assume `completions' is a list of strings any more.
15728 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15730 * find-dired.el (find-name-arg): Fix typo in docstring.
15732 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15734 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15735 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15737 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15740 * comint.el (comint-read-input-ring, comint-write-input-ring)
15741 (comint-substitute-in-file-name)
15742 (comint-dynamic-complete-as-filename)
15743 (comint-dynamic-simple-complete)
15744 (comint-dynamic-list-filename-completions)
15745 (comint-dynamic-list-completions)
15746 (comint-redirect-results-list-from-process): Minor simplifications.
15748 2009-10-21 Kevin Ryde <user42@zip.com.au>
15750 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15751 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15752 the first form. And insert a blank line after ";;; Code" since
15753 that's usual style. (Bug#4612)
15755 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15757 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15759 * minibuffer.el (completion-table-with-terminator): Properly implement
15760 boundaries, in case `terminator' appears in the suffix.
15761 (completion--embedded-envvar-table): Don't return boundaries if
15762 there's no valid completion. Simplify.
15763 (completion-file-name-table): New completion table extracted from
15764 completion--file-name-table.
15765 (completion--file-name-table): Use it.
15766 (read-file-name-predicate): Declare obsolete.
15767 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15768 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15769 completion-file-name-table, and use the `pred' argument.
15770 * files.el (locate-file-completion-table): Use the `pred' arg rather
15771 than read-file-name-predicate.
15772 (abbreviate-file-name): Use \` rather than ^ for BOS.
15774 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15776 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15777 vc-responsible-backend to register, it causes problems.
15779 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15781 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15783 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15785 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15786 (tramp-smb-handle-file-attributes): Use it.
15787 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15788 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15789 `mapcar'. Use `tramp-smb-get-stat-capability'.
15790 Add `dired-filename' text properties.
15791 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15792 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15795 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * subr.el (read-key-delay): Reduce to 0.01.
15798 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15801 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15805 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15806 (Info-menu): Remove unused vars `last' and `completions'.
15807 (Info-index-nodes): Remove unused var `node'.
15809 * info.el (Info-complete-menu-item): Use complete-with-action.
15811 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15813 Make vc-annotate work through copies and renames.
15814 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15815 Return the file name too.
15816 (vc-annotate-revision-at-line)
15817 (vc-annotate-find-revision-at-line)
15818 (vc-annotate-revision-previous-to-line)
15819 (vc-annotate-show-log-revision-at-line): Update to get the file
15820 name from vc-annotate-extract-revision-at-line.
15821 (vc-annotate-show-diff-revision-at-line-internal): Change the
15822 argument to mean whether to show a file diff or not. Get the file
15823 name from vc-annotate-extract-revision-at-line.
15824 (vc-annotate-show-diff-revision-at-line):
15825 Update vc-annotate-show-diff-revision-at-line call.
15826 (vc-annotate-warp-revision): Add an optional file argument.
15828 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15829 (vc-git-annotate-extract-revision-at-line): Also return the file
15832 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15833 command. Remove unused code.
15834 (vc-hg-annotate-re): Update to match --follow output.
15835 (vc-hg-annotate-extract-revision-at-line): Also return the file
15838 * vc.el: Update annotate-extract-revision-at-line documentation.
15840 2009-10-18 Kevin Ryde <user42@zip.com.au>
15842 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15843 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15845 * net/browse-url.el (browse-url): Identify alist with "consp and
15846 not functionp" and let all other things go down the `apply' leg,
15847 as suggested by Stefan. (Further to bug#4531.)
15849 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15851 * minibuffer.el (read-file-name): Check for repeat before putting
15852 a default argument in file-name-history (Bug#4657).
15854 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15855 read syntax (Bug#4737).
15857 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15859 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15861 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15862 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15863 entries and make note of obsolete tags.
15865 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15867 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15869 2009-10-18 Glenn Morris <rgm@gnu.org>
15871 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15872 grep, so that binary files (eg international/uni-bidi.el) can match.
15873 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15874 now, and in any case the file header format has changed.
15876 2009-10-17 Glenn Morris <rgm@gnu.org>
15878 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15879 (flyspell-get-word, flyspell-large-region)
15880 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15882 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15884 * Makefile.in (ELCFILES): Add ede/shell.
15886 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15888 * term/common-win.el (x-colors): Purecopy it.
15890 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15892 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15893 permissive for when the buffer is empty.
15894 (tar-header-block-tokenize): Decode the username and groupname.
15895 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15897 2009-10-17 Eric Ludlam <zappo@gnu.org>
15899 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15900 contains multibyte characters, choose first applicable coding
15901 system automatically.
15903 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15905 * international/mule-cmds.el (select-safe-coding-system): If the file
15906 has a coding cookie, use it regardless of any other setting (bug#4712).
15908 2009-10-17 Glenn Morris <rgm@gnu.org>
15910 * foldout.el (foldout-mouse-swallow-events):
15911 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15913 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15914 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15915 (dired-keep-marker-symlink, dired-dwim-target)
15916 (dired-copy-preserve-time): Do not autoload these defcustoms.
15918 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15919 messages from messing up the file coding. (Bug#4623)
15921 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15923 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15924 if no match is found for the current dictionary. (Bug#4578)
15926 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15927 optional, since that is how it is documented, and this is often called
15928 with a nil argument. (Bug#4577)
15929 (flyspell-external-point-words, flyspell-auto-correct-word)
15930 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15931 (flyspell-word-search-backward): Remove nil argument in calls to
15932 flyspell-get-word, since it is not needed now.
15934 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15936 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15938 2009-10-16 Glenn Morris <rgm@gnu.org>
15940 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15942 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15944 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15945 (ange-ftp-file-size): New function.
15946 (ange-ftp-file-attributes): Use it.
15948 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15950 * net/tramp-smb.el (tramp-smb-version): New defvar.
15951 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15954 2009-10-16 Glenn Morris <rgm@gnu.org>
15956 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15957 Maybe copy some custom properties from old to new name. (Bug#4706)
15959 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15961 * subr.el (error, sit-for, start-process-shell-command)
15962 (start-file-process-shell-command): Set the calling convention
15963 after the function definition.
15965 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15967 * subr.el (error, sit-for, start-process-shell-command)
15968 (start-file-process-shell-command): Use the new
15969 set-advertised-calling-convention feature.
15971 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15973 * international/ucs-normalize.el (ucs-normalize-version):
15975 (check-range): Adjust for Unicode 5.2.
15977 2009-10-15 Juri Linkov <juri@jurta.org>
15979 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15980 to the `menu-item' format.
15982 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15984 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15985 if the environment variable does not exist.
15987 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15988 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15990 (tramp-smb-handle-add-name-to-file)
15991 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15992 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15993 (tramp-smb-handle-file-attributes)
15994 (tramp-smb-do-file-attributes-with-stat)
15995 (tramp-smb-handle-file-local-copy)
15996 (tramp-smb-handle-insert-directory)
15997 (tramp-smb-handle-make-directory)
15998 (tramp-smb-handle-make-directory-internal)
15999 (tramp-smb-handle-make-symbolic-link)
16000 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16001 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16002 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16003 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16004 Handle long file names.
16005 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16006 process is running.
16007 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16008 Read share names with "-g" option.
16010 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16012 * net/rcirc.el (rcirc-view-log-file): New command.
16013 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16014 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16017 2009-10-15 Glenn Morris <rgm@gnu.org>
16019 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16020 from the second command-line argument.
16021 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16022 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16023 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16024 w32-batch-update-autoloads.
16025 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16026 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16028 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16029 the headers cannot be located. Simplify, subtracting superflous
16032 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16034 Replace completion-base-size by completion-base-position to fix bugs
16035 such as (bug#4699).
16036 * simple.el (completion-base-position): New var.
16037 (completion-base-size): Mark as obsolete.
16038 (choose-completion): Make it work for mouse events as well.
16039 Pass the new base-position to choose-completion-string.
16040 (choose-completion-guess-base-position): New function, extracted from
16041 choose-completion-delete-max-match.
16042 (choose-completion-delete-max-match): Use it. Make obsolete.
16043 (choose-completion-string): Use the new base-position info.
16044 (completion-root-regexp): Delete.
16045 (completion-setup-function): Preserve completion-base-position.
16046 Eliminate obsolete base-size manipulation.
16047 * minibuffer.el (display-completion-list): Don't mess with base-size.
16048 (minibuffer-completion-help): Set completion-base-position instead.
16049 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16051 * textmodes/bibtex.el (bibtex-complete):
16052 * emacs-lisp/crm.el (crm--choose-completion-string):
16053 Adjust to new calling convention.
16054 * complete.el (partial-completion-mode): Use minibufferp to avoid
16055 bumping into incompatible change to choose-completion-string-functions.
16056 * ido.el (ido-choose-completion-string): Make its calling convention
16058 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16059 base-size manipulation.
16060 (comint-dynamic-list-input-ring): Use dotimes and push.
16061 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16062 fundamental-mode. Use `or'.
16064 2009-10-14 Juri Linkov <juri@jurta.org>
16066 * misearch.el (multi-isearch-next-buffer-from-list)
16067 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16069 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16074 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16075 string we return is all made up of text from the completions rather
16076 than part from the completions and part from the input (bug#4219).
16078 * ido.el (ido-everywhere): Use define-minor-mode.
16080 * buff-menu.el (list-buffers, ctl-x-map):
16081 Mark the entry points with ;;;###autoload cookies.
16083 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16085 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16086 correctly in the detached head case.
16087 (vc-git-print-log): Remove unused binding.
16089 * vc.el (vc-responsible-backend): When a directory is passed for
16090 for registration create a VC repository if no backend is
16091 responsible for the directory argument.
16092 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16094 * vc.el: Move comments about RCS and SCCS ...
16096 * vc-sccs.el: ... here, respectively.
16098 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16100 * minibuffer.el (completion--file-name-table): Return nil if there's
16101 no file completion, even if substitute-in-file-name changed
16102 the string (bug#4708).
16104 2009-10-13 Juri Linkov <juri@jurta.org>
16106 * files-x.el (read-file-local-variable-value): Don't filter out
16107 minor modes from mode name completion (bug#4664).
16109 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16111 * international/mule-cmds.el (ucs-names): Remove exclusion of
16112 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16114 2009-10-13 Kenichi Handa <handa@m17n.org>
16116 * international/uni-name.el: Regenerated.
16118 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16120 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16121 should be automatically buffer-local, but isn't.)
16123 2009-10-12 Sam Steingold <sds@gnu.org>
16125 * progmodes/compile.el (compilation-next-error-function): Fix the
16126 timestamps if the buffer has been visited before.
16127 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16128 non-anchored patterns, like the perl one (bug#3928).
16130 2009-10-12 Glenn Morris <rgm@gnu.org>
16132 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16135 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16137 * proced.el (proced-unload-function): New function.
16139 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16140 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16143 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16145 2009-10-11 Juri Linkov <juri@jurta.org>
16147 * files-x.el (read-file-local-variable-value):
16148 Provide default value only for bound variables (bug#4664).
16150 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16152 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16153 connection methods like smb.
16155 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16158 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16159 (tramp-smb-file-name-handler-alist): Add handlers for
16160 `add-name-to-file', `make-symbolic-link'.
16161 (tramp-smb-handle-add-name-to-file)
16162 (tramp-smb-do-file-attributes-with-stat)
16163 (tramp-smb-handle-make-symbolic-link)
16164 (tramp-smb-get-cifs-capabilities): New defuns.
16165 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16166 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16167 (tramp-smb-handle-file-local-copy)
16168 (tramp-smb-handle-make-directory-internal)
16169 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16170 The file name syntax depends on cifs capabilities.
16171 (tramp-smb-handle-file-attributes):
16172 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16173 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16174 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16176 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16178 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16179 (eieio-defclass): Apply deftype handler and setf-method properties
16181 (eieio-add-new-slot): Avoid union function from cl library.
16182 (eieio--typep): New function.
16183 (eieio-perform-slot-validation): Use it.
16185 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16187 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16188 Update documentation to refer to the variables documented in r1.135.
16191 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16193 * bookmark.el (Info-suffix-list): Remove this unused variable.
16194 (bookmark-current-point): Remove this obsolete variable.
16195 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16196 Adjust for removal of bookmark-current-point.
16198 (bookmarks-already-loaded, bookmark-current-buffer)
16199 (bookmark-yank-point): Document. (Bug#4188)
16201 2009-10-10 Glenn Morris <rgm@gnu.org>
16203 * frame.el (frame-height): Doc fix.
16205 * calendar/calendar.el (calendar-split-width-threshold): New option.
16206 (calendar-basic-setup): Use calendar-split-width-threshold.
16208 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16210 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16211 Ideographic Supplement" range (U+1F200..U+1F2FF).
16213 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16215 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16216 since the list will have been rebuilt anyway. (Bug#4349)
16218 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16220 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16221 (bookmark-bmenu-execute-deletions): Don't save here, as
16222 bookmark-delete will now do so if necessary.
16223 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16226 2009-10-09 Glenn Morris <rgm@gnu.org>
16228 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16230 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16232 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16233 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16234 argument now, so the two function's behaviors will match. (Bug#3645)
16236 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16238 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16239 (tramp-file-name-real-host, tramp-file-name-port):
16240 Apply `save-match-data'.
16242 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16243 case both directories are remote.
16244 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16245 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16247 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16249 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16251 2009-10-07 Glenn Morris <rgm@gnu.org>
16253 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16256 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * files-x.el (read-file-local-variable): Include some
16259 non-user-variables in the completion table (bug#4664).
16261 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16263 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16266 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16267 (tramp-smb-file-name-handler-alist): Add handler for
16268 `copy-directory', `expand-file-name', `set-file-modes'.
16269 (tramp-smb-handle-copy-directory)
16270 (tramp-smb-handle-expand-file-name)
16271 (tramp-smb-handle-set-file-modes): New defuns.
16272 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16273 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16275 (tramp-smb-handle-insert-directory): Don't flush the cache.
16276 (tramp-smb-maybe-open-connection): Check for samba client and
16279 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16281 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16282 to not error out of search for "^lisp=" fails.
16284 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16286 * makefile.w32-in (WINS_UPDATES): New macro.
16287 (custom-deps, finder-data, autoloads): Use it.
16289 2009-10-07 Glenn Morris <rgm@gnu.org>
16291 * Makefile.in (autoloads): Revert previous change.
16292 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16293 the list of preloaded files passed on the command-line, get
16294 it from src/Makefile.
16296 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16297 show the original buffer rather than a random one.
16299 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16301 * help.el (describe-no-warranty): Place point in a slightly better
16302 position in the GPLv3 text.
16304 2009-10-06 Sam Steingold <sds@gnu.org>
16306 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16307 the comm attribute is present before calling regexp-quote.
16309 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16311 * play/animate.el (animate-string): For good effect, make sure
16312 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16314 * play/animate.el (animate-sequence, animate-birthday-present):
16315 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16317 2009-10-06 Glenn Morris <rgm@gnu.org>
16319 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16321 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16322 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16323 (batch-update-autoloads): Process a string value of autoload-excludes,
16324 set during the build process.
16325 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16327 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16328 inside with-parsed... macro so that `v' is defined.
16330 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16331 * progmodes/fortran.el (fortran-end-of-block)
16332 (fortran-beginning-of-block):
16333 Also push mark in the macro case.
16335 * emerge.el (emerge-show-file-name):
16336 * calc/calc.el (calc-quit):
16337 * calc/calc-misc.el (calc-big-or-small):
16338 * calc/calc-graph.el (calc-graph-view):
16339 * calc/calc-ext.el (calc-reset):
16340 * calendar/calendar.el (calendar-basic-setup):
16341 Use window-full-height-p.
16343 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16344 header we don't understand, don't insert another. (Bug#4624)
16345 If changing mime charset, insert the new one in the right place.
16347 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16349 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16350 (cal-tex-cursor-month): Correctly increment the end date for diary and
16351 holiday listing. (Bug#4626)
16353 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16355 * help-fns.el (describe-function-1): Don't burp if the function is not
16358 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16360 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16361 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16362 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16363 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16365 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16366 (eieio-default-superclass): Reflow docstrings.
16367 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16368 (eieio-unbind-method-implementations, defmethod)
16369 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16370 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16371 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16372 (eieio-slot-originating-class-p, eieio-slot-name-index)
16373 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16374 (constructor, initialize-instance, no-next-method, object-print)
16375 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16376 Fix typos in docstrings.
16377 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16378 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16379 (next-method-p): Doc fixes.
16380 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16381 Fix typos in error messages.
16382 (eieio-defmethod): Fix typo in description of generic method.
16384 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16385 (eieio-persistent-save-interactive, slot-missing):
16386 Fix typos in docstrings.
16387 (eieio-instance-inheritor-slot-boundp): Doc fix.
16389 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16390 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16392 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16393 (eieio-custom-object-apply-reset):
16394 Fix typos in docstrings and error messages.
16396 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16397 Fix typo in docstring.
16399 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16400 (eieio-browse-tree): Doc fix.
16401 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16402 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16403 Fix typos in docstrings.
16405 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16406 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16407 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16408 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16411 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16413 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16414 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16415 Set log-view-vc-backend so that diff can work.
16417 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16419 (vc-diff-internal): Autoload this instead of vc-version-diff.
16421 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16423 * simple.el (eval-expression): Doc fix.
16425 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16427 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16429 * files.el (directory-files-no-dot-files-regexp): New defconst.
16430 (delete-directory): Use it.
16431 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16433 * net/tramp.el (tramp-verbose): Fix docstring.
16434 (tramp-methods): Add recursive option to `tramp-copy-args'.
16435 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16436 "scp1_old", "scp2_old", "rsync", "rsyncc".
16437 (tramp-default-method): Check also for `auth-source-user-or-password'.
16438 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16439 Add handler for `copy-directory'.
16440 (tramp-handle-copy-directory): New defun.
16441 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16442 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16443 Optimize sent command.
16445 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16447 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16448 window if necessary.
16450 * calendar/calendar.el (calendar-basic-setup): Don't call
16451 switch-to-buffer in a dedicated window.
16453 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16455 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16456 don't do anything related to relocating, just return nil.
16457 (bookmark-error-no-filename): New error.
16458 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16459 bookmark has no file. Don't even attempt to handle things that
16460 are not files; the whole point of custom handlers is to keep that
16461 knowledge elsewhere anyway. Tighten some comments.
16462 (bookmark-file-or-variation-thereof): Remove now-unused function.
16463 (bookmark-location): Doc string fix.
16466 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16468 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16469 don't use a file dialog, because they usually don't know how to read
16470 a directory target from the user. (Bug#4230)
16471 Also, make sure the prompt can display directories as well as files.
16473 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16475 * bookmark.el (bookmark-set, bookmark-buffer-name):
16476 Improve doc strings. (Bug#1193)
16478 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16480 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16481 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16482 (bookmark-get-annotation, bookmark-set-annotation)
16483 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16484 (bookmark-set-position, bookmark-get-front-context-string)
16485 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16486 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16487 (bookmark-jump-other-window, bookmark-handle-bookmark)
16488 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16489 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16490 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16491 Improve doc strings to say whether bookmark can be a string or
16492 a record or both, and make other consistency and clarity fixes.
16493 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16494 (bookmark-default-annotation-text, bookmark-yank-word)
16495 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16496 (bookmark-import-new-list, bookmark-maybe-rename)
16497 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16498 (bookmark-bmenu-bookmark): Give these doc strings.
16499 (bookmark-bmenu-check-position): Give this a doc string, but also
16500 add a FIXME comment about how the function may be pointless.
16501 (bookmark-default-handler): Rework doc string and change a
16502 parameter name, to clarify that this takes a bookmark record
16503 not a bookmark name.
16504 (bookmark-set): Change a parameter name to indicate its meaning,
16505 and improve the doc string a bit.
16508 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16510 * bookmark.el (bookmark-alist): Document the new `handler' element
16511 in the param alist.
16512 (bookmark-make-record-function): Adjust documentation for above.
16515 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16517 * info.el (Info-bookmark-make-record): Document this function.
16518 (Info-bookmark-jump): Document with a doc string, not just a comment.
16521 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16523 * files.el (copy-directory): New defun.
16525 * dired-aux.el (dired-copy-file-recursive): Use it.
16527 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16529 * files-x.el (modify-dir-local-variable)
16530 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16533 * recentf.el (recentf-unload-function): New function.
16535 2009-10-04 Glenn Morris <rgm@gnu.org>
16537 * window.el (window-full-height-p): Add doc string.
16539 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16541 * window.el (window-full-height-p): New function. (Bug#4543)
16543 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16545 * vc.el: Remove commented out code.
16546 (vc-derived-from-dir-mode): Remove, unused.
16547 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16549 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16551 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16552 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16553 there could be recursive loading when `default-directory' is a
16554 remote file name. (Bug#4614)
16556 2009-10-03 Glenn Morris <rgm@gnu.org>
16558 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16560 (calendar-generate-window): Test for shrinkability rather than width.
16562 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16563 reusing existing buffers, in case we happen to visit two files with the
16564 same basename. (Bug#4593)
16566 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16568 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16569 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16570 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16571 subdirs of cedet as well.
16572 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16574 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16577 Obey advertised-signature-table.
16579 * help-fns.el (help-function-arglist): Don't check
16580 advertised-signature-table.
16581 (describe-function-1): Do it here instead so it also applies to subrs.
16583 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16585 * simple.el (start-file-process): Say in the doc-string, that file
16586 handlers might not support pty association, if PROGRAM is nil.
16588 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16589 HOST and USER are strings. They are nil, when there are
16590 incomplete entries in ~/.netrc, for example.
16591 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16592 root directory ("device busy" error otherwise).
16594 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16595 Flush file properties of created directory.
16597 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16599 * makefile.w32-in (WINS_BASIC): Remove cedet.
16600 (WINS_CEDET): Add cedet.
16601 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16603 2009-10-02 Kevin Ryde <user42@zip.com.au>
16605 * net/browse-url.el (browse-url): Pass any symbol in
16606 browse-url-browser-function to `apply', since if you've mistakenly put
16607 an unbound symbol then the error is clearer. (Bug#4531)
16609 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16611 * allout.el (allout-init, allout-back-to-current-heading)
16612 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16613 (allout-ascend, allout-up-current-level, allout-end-of-level)
16614 (allout-previous-visible-heading, allout-forward-current-level)
16615 (allout-backward-current-level, allout-show-children):
16616 * apropos.el (apropos-describe-plist):
16617 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16618 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16619 * completion.el (add-completion, add-permanent-completion):
16620 * descr-text.el (describe-text-category, describe-char):
16621 * desktop.el (desktop-lazy-abort):
16622 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16623 * dired.el (dired-build-subdir-alist):
16624 * ediff.el (ediff-version):
16625 * elide-head.el (elide-head, elide-head-show):
16626 * emerge.el (emerge-version):
16628 * face-remap.el (variable-pitch-mode):
16629 * faces.el (describe-face):
16630 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16632 * files.el (find-file-existing, auto-save-mode):
16633 * font-lock.el (font-lock-fontify-buffer):
16634 * help-fns.el (describe-function, describe-variable)
16635 (describe-syntax, describe-categories):
16636 * help.el (view-lossage, describe-bindings, describe-key)
16638 * hexl.el (hexl-current-address):
16639 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16640 * info.el (Info-goto-emacs-key-command-node):
16641 * log-edit.el (log-edit-insert-cvs-template)
16642 (log-edit-insert-cvs-rcstemplate):
16643 * menu-bar.el (menu-bar-mode):
16644 * mouse.el (mouse-appearance-menu):
16645 * newcomment.el (comment-indent-new-line):
16646 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16647 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16648 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16649 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16650 * recentf.el (recentf-mode):
16651 * savehist.el (savehist-mode, savehist-save):
16652 * shadowfile.el (shadow-copy-files):
16653 * simple.el (kill-ring-save, next-line, previous-line)
16654 (normal-erase-is-backspace-mode):
16655 * strokes.el (strokes-update-window-configuration)
16656 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16657 (strokes-xpm-for-stroke):
16658 * time.el (emacs-uptime, emacs-init-time):
16659 * tutorial.el (tutorial--describe-nonstandard-key)
16660 (tutorial--detailed-help):
16661 * type-break.el (type-break-mode)
16662 (type-break-mode-line-message-mode, type-break-query-mode)
16663 (type-break-guesstimate-keystroke-threshold):
16664 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16665 * version.el (emacs-version):
16666 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16667 * winner.el (winner-mode):
16668 * calendar/timeclock.el (timeclock-in, timeclock-out)
16669 (timeclock-status-string, timeclock-change)
16670 (timeclock-workday-remaining-string)
16671 (timeclock-workday-elapsed-string)
16672 (timeclock-when-to-leave-string):
16673 * calendar/todo-mode.el (todo-add-category):
16674 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16675 * emacs-lisp/autoload.el (update-file-autoloads):
16676 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16677 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16678 (checkdoc-message-text, checkdoc-defun):
16679 * emacs-lisp/debug.el (debugger-list-functions):
16680 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16681 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16682 (eieio-describe-generic):
16683 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16684 * emacs-lisp/shadow.el (list-load-path-shadows):
16685 * emulation/cua-base.el (cua-mode):
16686 * emulation/edt.el (edt-set-scroll-margins):
16687 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16688 (tpu-toggle-regexp, tpu-toggle-search-direction)
16689 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16690 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16691 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16692 (viper-set-parsing-style-toggling-macro)
16693 (viper-set-emacs-state-searchstyle-macros):
16694 * emulation/viper.el (viper-set-hooks):
16695 * eshell/esh-mode.el (eshell-truncate-buffer):
16696 * international/mule-cmds.el (prefer-coding-system)
16697 (describe-input-method, describe-language-environment):
16698 * international/mule-diag.el (list-character-sets)
16699 (describe-character-set, describe-coding-system)
16700 (describe-fontset, list-fontsets, list-input-methods):
16701 * mail/sendmail.el (mail-signature):
16702 * net/ange-ftp.el (ange-ftp-copy-file):
16703 * net/browse-url.el (browse-url):
16704 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16705 * net/quickurl.el (quickurl-add-url):
16706 * net/rcirc.el (names, topic):
16707 * net/xesam.el (xesam-mode):
16708 * play/5x5.el (5x5-new-game):
16709 * play/yow.el (apropos-zippy):
16710 * progmodes/ada-mode.el (ada-mode-version):
16711 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16713 (f90-beginning-of-block):
16714 * progmodes/fortran.el (fortran-end-of-block)
16715 (fortran-beginning-of-block):
16716 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16717 * progmodes/python.el (python-describe-symbol, python-shell):
16718 * term/ns-win.el (ns-print-buffer):
16719 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16720 * textmodes/flyspell.el (flyspell-mode-on):
16721 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16722 (pages-directory-for-addresses):
16723 * textmodes/table.el (table-recognize-cell)
16724 (table-query-dimension, table-generate-source)
16725 (table-insert-sequence, table--warn-incompatibility):
16726 * textmodes/tex-mode.el (tex-validate-buffer):
16727 * textmodes/texinfmt.el (texinfmt-version)
16728 (texinfo-format-buffer):
16729 Use `called-interactively-p' instead of `interactive-p'.
16731 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16733 * image-mode.el (image-toggle-display):
16734 * emacs-lisp/elp.el (elp-instrument-function):
16735 * emacs-lisp/advice.el (ad-make-advised-definition):
16736 * emacs-lisp/easy-mmode.el (define-minor-mode):
16737 * net/browse-url.el (browse-url-maybe-new-window):
16738 * progmodes/sh-script.el (sh-learn-buffer-indent):
16739 Pass new argument 'any to `called-interactively-p'.
16741 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16743 * international/uni-bidi.el:
16744 * international/uni-category.el:
16745 * international/uni-combining.el:
16746 * international/uni-comment.el:
16747 * international/uni-decimal.el:
16748 * international/uni-decomposition.el:
16749 * international/uni-digit.el:
16750 * international/uni-lowercase.el:
16751 * international/uni-mirrored.el:
16752 * international/uni-name.el:
16753 * international/uni-numeric.el:
16754 * international/uni-old-name.el:
16755 * international/uni-titlecase.el:
16756 * international/uni-uppercase.el:
16757 Regenerate from Unicode 5.2.0 data.
16759 2009-10-01 Glenn Morris <rgm@gnu.org>
16761 * Makefile.in (ELCFILES): Regenerate.
16763 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16765 * subr.el (interactive-p): Mark obsolete.
16766 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16767 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16768 advertised-signature-table for subroutines as well.
16770 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16771 (set-advertised-calling-convention): New function.
16772 (make-obsolete, define-obsolete-function-alias)
16773 (make-obsolete-variable, define-obsolete-variable-alias):
16774 Make the optional-ness of `when' obsolete.
16775 (define-obsolete-face-alias): Make `when' non-optional.
16776 * help-fns.el (help-function-arglist):
16777 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16778 Use advertised-signature-table.
16780 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16782 * files.el (delete-directory): New defun. The original function
16783 in fileio.c has been renamed to `delete-directory-internal'.
16785 * dired.el (dired-delete-file): Call `delete-directory' with
16786 RECURSIVE parameter.
16788 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16789 parameter RECURSIVE. Implementation is missing.
16791 * net/tramp.el (tramp-handle-make-directory): Flush upper
16792 directory's file properties.
16793 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16794 (tramp-handle-dired-recursive-delete-directory): Flush directory
16795 properties after the remove command only.
16797 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16798 Handle optional parameter RECURSIVE.
16800 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16801 Handle optional parameter RECURSIVE.
16803 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16804 connection timeout.
16805 (tramp-smb-handle-delete-directory): Handle optional parameter
16808 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16810 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16811 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16812 (byte-compile-defmacro): Use backquotes.
16814 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16816 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16817 has no associated file.
16818 (vc-resynch-buffer): Use vc-dir-buffers.
16820 2009-10-01 Glenn Morris <rgm@gnu.org>
16822 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16823 (chart-file-count):
16824 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16825 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16826 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16827 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16828 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16829 (eieio-copy-parents-into-subclass, make-instance, class-children)
16830 (eieio-generic-form):
16832 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16833 match-data. (Bug#4555).
16835 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16836 rather than parsing it as a regexp. This relaxes the layout
16837 requirements and makes errors easier to detect.
16838 (check-declare-verify): Check file is regular.
16839 (check-declare-directory): Doc fix.
16840 * subr.el (declare-function): Doc fix.
16842 * ibuffer.el (ibuffer-format-qualifier):
16843 * isearch.el (hi-lock-regexp-okay):
16844 * calc/calc.el (math-zerop):
16845 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16846 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16847 Remove unused declarations.
16849 2009-09-30 Eric Ludlam <zappo@gnu.org>
16851 * emacs-lisp/eieio.el (boolean-p): Delete.
16853 2009-09-30 Glenn Morris <rgm@gnu.org>
16855 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16857 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16858 filename is not a string.
16860 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16862 * files.el (safe-local-eval-forms): Fix typo.
16864 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * vc-hooks.el (vc-dir-buffers): New var.
16867 (vc-state-refresh): New function.
16868 (vc-state): Use it.
16869 (vc-after-save): Always ask the backend to recompute the new state.
16870 Always call vc-dir if necessary, using vc-dir-buffers.
16871 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16872 Use vc-dir-buffers.
16873 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16874 (vc-dir-prepare-status-buffer, vc-dir-update)
16875 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16876 Don't call expand-file-name on default-directory.
16878 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16880 * speedbar.el (speedbar-item-delete):
16881 * calc/calc-prog.el (calc-kbd-if):
16882 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16884 * epa.el (epa-key-list-mode-map):
16885 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16887 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16888 (hs-show-hook): Fix typo in docstring.
16890 2009-09-29 Glenn Morris <rgm@gnu.org>
16892 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16893 file-name-nondirectory call preventing location of cedet files.
16894 (check-declare-verify): Use literal search rather than re-search.
16895 Add basic defmethod and defclass, and define-overloadable-function.
16897 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16898 Use tramp-compat-file-attributes rather than nonexistent
16899 tramp-compat-handle-file-attributes.
16901 * Makefile.in (lisptagsfiles4): New.
16902 (AUTOGENEL): Add cedet loaddefs files.
16903 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16904 (update-elclist, compile-always, backup-compiled-files)
16905 (bootstrap-clean): Add yet another directory level.
16906 (update-elclist): Use LC_COLLATE rather than COLLATE.
16907 (ELCFILES): Update, via `make update-elclist'.
16909 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16911 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16912 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16913 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16915 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16917 * Makefile.in (lisptagsfiles3): Define.
16918 (TAGS, TAGS-LISP): Use it.
16919 (update-elclist): Add third directory level to look for elc files.
16920 (compile-always): Likewise.
16921 (backup-compiled-files): Likewise.
16922 (bootstrap-clean): Likewise.
16923 (ELCFILES): Update.
16925 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16927 * Makefile.in (ELCFILES): Add CEDET files.
16929 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16931 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16933 * net/tramp.el (top): Require tramp-imap.
16935 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16936 Use `tramp-compat-handle-file-attributes'.
16938 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16940 * net/tramp-imap.el: New package.
16942 2009-09-28 Eric Ludlam <zappo@gnu.org>
16944 * emacs-lisp/chart.el:
16945 * emacs-lisp/eieio-base.el:
16946 * emacs-lisp/eieio-comp.el:
16947 * emacs-lisp/eieio-custom.el:
16948 * emacs-lisp/eieio-datadebug.el:
16949 * emacs-lisp/eieio-opt.el:
16950 * emacs-lisp/eieio-speedbar.el:
16951 * emacs-lisp/eieio.el: New files.
16953 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16955 * whitespace.el (whitespace-trailing-regexp)
16956 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16959 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16961 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16964 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16965 menu-bar-ediff-menu.
16967 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16968 define-overloadable-function.
16970 * progmodes/autoconf.el: Provide autoconf as well, so that this
16971 file can be `require'd.
16973 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16975 * emacs-lisp/autoload.el (generated-autoload-feature)
16976 (generated-autoload-load-name): New vars.
16977 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16978 (make-autoload): Recognize define-overloadable-function and
16979 defclass forms (for EIEIO).
16981 * Makefile.in (update-subdirs): Exclude cedet directory.
16983 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16985 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16987 * faces.el: Default light-background background for region face to
16988 ns_selection_color under NS.
16990 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16992 * net/imap-hash.el: New library, see NEWS.
16994 * Makefile.in (ELCFILES): Add imap-hash.el.
16996 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16998 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16999 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17000 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17001 definition where the docstring could be taken for the return value.
17003 2009-09-26 Glenn Morris <rgm@gnu.org>
17005 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17006 Add option to only show images below a certain size.
17007 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17008 save-excursion calls.
17010 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17012 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17013 subdirectories) and eieio.
17015 2009-09-26 Alan Mackenzie <acm@muc.de>
17017 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17018 Correct buggy bracketing. (Bug#4289)
17020 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17021 character constants (as case labels). (Bug#4289)
17023 2009-09-25 Juri Linkov <juri@jurta.org>
17025 * files.el (safe-local-eval-forms): Allow time-stamp in
17026 before-save-hook (Bug#4554).
17028 2009-09-25 Drew Adams <drew.adams@oracle.com>
17030 * menu-bar.el (list-buffers-directory): Doc fix.
17032 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17034 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17035 Try and avoid copying twice the same paragraph.
17036 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17037 Remove save-excursion.
17038 (log-edit-changelog-entry): Do it here instead.
17040 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17042 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17043 when available, instead of hardcoding mode names. Doc fix.
17045 * menu-bar.el (list-buffers-directory): Add docstring.
17046 Make automatically buffer-local.
17048 * dired.el (dired-mode):
17049 * files.el (cd-absolute):
17050 * pcvs.el (cvs-temp-buffer):
17051 * pcvs-util.el (cvs-get-buffer-create):
17052 * shell.el (shell-mode):
17053 * vc-dir.el (vc-dir-mode):
17054 Don't make `list-buffers-directory' buffer local.
17056 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17058 * comint.el (comint-exec, comint-run, make-comint):
17059 Doc fixes (Bug#4542).
17061 2009-09-25 Glenn Morris <rgm@gnu.org>
17063 * mail/rmailmm.el (rmail-mime): New custom group.
17064 Move all defcustoms in this file into this group.
17065 (rmail-mime-media-type-handlers-alist): Revert previous change.
17066 (rmail-mime-show-images): New option.
17067 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17068 references to it, since it wasn't actually used for anything.
17069 (rmail-mime-insert-image): New function.
17070 (rmail-mime-image): Use rmail-mime-insert-image.
17071 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17072 obey the value of `rmail-mime-show-images' option. Print the size of
17075 2009-09-25 David Engster <deng@randomsample.de>
17077 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17079 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17081 * whitespace.el: Does not highlight trailing spaces While point is
17082 at end of line. Does not highligt spaces at beginning of buffer
17083 while point is at beginning of buffer. Does not highlight spaces
17084 at end of buffer while point is at end of buffer. (Bug#4177)
17086 (whitespace-display-mappings): Adjust initialization.
17087 (whitespace-point, whitespace-font-lock-refontify): New vars.
17088 (whitespace-color-on, whitespace-color-off): Adjust code.
17089 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17090 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17091 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17093 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17095 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17097 * textmodes/sgml-mode.el: Remove xml-mode alias.
17099 * files.el (auto-mode-alist, conf-mode-maybe)
17100 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17102 2009-09-24 Alan Mackenzie <acm@muc.de>
17104 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17105 c-forward-conditionals, but it doesn't move point and doesn't set
17107 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17108 (c-down-conditional-with-else, c-backward-conditional)
17109 (c-forward-conditional): Refactor to use c-scan-conditionals.
17111 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17113 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17114 (help-default-arg-highlight): Remove.
17115 (help-highlight-arg): New function.
17116 (help-do-arg-highlight): Use it.
17117 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17119 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17121 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17122 Undo last change, which didn't fix the problem and introduced others.
17124 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17126 * progmodes/gdb-mi.el: Don't require speedbar.
17127 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17129 2009-09-24 Glenn Morris <rgm@gnu.org>
17131 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17133 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17135 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17136 there is no newline after the final mime boundary. (Bug#4539)
17137 Move markers on insertion so that any buttons inserted don't end up in
17138 the next part of a multipart message.
17139 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17140 (rmail-mime-bulk-handler): Optionally handle images.
17141 (rmail-mime-image): New button action.
17142 (rmail-mime-image-handler): New function.
17143 (rmail-mime-mode): New mode.
17144 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17146 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17148 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17149 than just dropping elements from it (bug#4504).
17151 * term.el (term-set-scroll-region): Don't move cursor any more.
17152 (term-handle-ansi-escape): Call term-goto here instead.
17153 Suggested by Ivan Kanis <apple@kanis.eu>.
17155 * term.el: Require CL.
17156 (term-ansi-reset): New function.
17157 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17158 (term-handle-colors-array): Simplify.
17160 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17162 * allout.el (allout-overlay-interior-modification-handler)
17163 (allout-obtain-passphrase):
17164 * epa-file.el (epa-file-write-region):
17165 * ps-print.el (ps-begin-job):
17166 * vc-hooks.el (vc-toggle-read-only):
17167 * vc-rcs.el (vc-rcs-rollback):
17168 * vc-sccs.el (vc-sccs-rollback):
17169 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17170 (vc-version-diff, vc-revert, vc-rollback):
17171 * wdired.el (wdired-check-kill-buffer):
17172 * emacs-lisp/authors.el (authors):
17173 * net/socks.el (socks-open-connection):
17174 * net/zeroconf.el (zeroconf-service-add-hook):
17175 * obsolete/vc-mcvs.el (vc-mcvs-register):
17176 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17177 (gdb-select-frame):
17178 * progmodes/grep.el (lgrep, rgrep):
17179 * progmodes/idlw-help.el (idlwave-help-check-locations)
17180 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17181 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17182 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17183 (reftex-toc-rename-label): Fix typos in error messages.
17185 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17186 (dired-copy-how-to-fn): Doc fix.
17187 (dired-files-attributes, dired-read-shell-command):
17188 Fix typos in docstrings.
17190 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17191 (dired-x-find-file-other-window): Reflow docstrings.
17192 (dired-omit-marker-char, dired-read-shell-command)
17193 (dired-x-submit-report): Fix typos in docstrings.
17195 * shell.el (shell-mode-hook):
17196 * view.el (View-scroll-line-forward):
17197 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17198 Fix typos in docstrings.
17200 * net/dig.el (dig-invoke): Fix typo in docstring.
17201 (query-dig): Reflow docstring.
17203 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17204 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17205 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17206 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17207 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17208 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17209 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17210 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17211 (idlwave-completion-map, idlwave-current-indent)
17212 (idlwave-custom-ampersand-surround, idlwave-customize)
17213 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17214 (idlwave-define-abbrev, idlwave-determine-class-special)
17215 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17216 (idlwave-end-block-reg, idlwave-end-of-statement)
17217 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17218 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17219 (idlwave-explicit-class-listed, idlwave-file-header)
17220 (idlwave-fill-paragraph, idlwave-find-class-definition)
17221 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17222 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17223 (idlwave-in-quote, idlwave-indent-action-table)
17224 (idlwave-indent-expand-table, idlwave-indent-line)
17225 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17226 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17227 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17228 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17229 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17230 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17231 (idlwave-outlawed-buffers, idlwave-popup-select)
17232 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17233 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17234 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17235 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17236 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17237 (idlwave-statement-type, idlwave-struct-skip)
17238 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17239 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17240 (idlwave-what-module-find-class): Fix typos in docstrings.
17241 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17242 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17243 (idlwave-find-module, idlwave-find-structure-definition)
17244 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17245 (idlwave-list-load-path-shadows, idlwave-next-statement)
17246 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17247 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17248 (idlwave-template): Reflow docstrings.
17250 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17251 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17252 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17253 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17254 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17255 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17256 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17257 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17258 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17259 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17260 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17261 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17262 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17263 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17264 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17265 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17266 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17267 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17268 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17269 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17270 Fix typos in docstrings.
17271 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17272 (idlwave-shell-hide-output, idlwave-shell-mode)
17273 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17276 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17278 2009-09-24 Ivan Kanis <apple@kanis.eu>
17280 * term.el (term-bold-attribute): New var.
17281 (term-handle-colors-array): Use it.
17283 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17285 * progmodes/gdb-mi.el (gdb-version): New variable.
17286 (gdb-non-stop-handler): Set gdb-version.
17287 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17288 Condition "--thread" option on gdb-version.
17289 (gdb-invalidate-threads): Remove unused argument.
17291 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17293 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17294 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17296 2009-09-23 Glenn Morris <rgm@gnu.org>
17298 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17299 replying to mail without References or Message-Id. (Bug#4525)
17301 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17303 * term/ns-win.el (ns-reg-to-script): New variable.
17305 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17307 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17309 2009-09-22 Sam Steingold <sds@gnu.org>
17311 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17312 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17313 to 1 because hg returns status 1 when nothing is found.
17314 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17316 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17318 * textmodes/fill.el: Convert to utf-8 encoding.
17319 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17322 * add-log.el (change-log-fill-forward-paragraph): New function.
17323 (change-log-mode): Use it so fill-region DTRT.
17324 Set fill-indent-according-to-mode here rather than in
17325 change-log-fill-paragraph.
17326 (change-log-fill-paragraph): Remove.
17328 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17330 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17331 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17333 2009-09-22 Glenn Morris <rgm@gnu.org>
17335 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17336 the scroll-bar scroll the calendar window rather than the buffer.
17338 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17339 commands that move point (as opposed to scrolling).
17341 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17343 * emacs-lisp/elint.el (elint): New custom group.
17344 (elint-log-buffer): Make it a defcustom.
17345 (elint-scan-preloaded, elint-ignored-warnings)
17346 (elint-directory-skip-re): New options.
17347 (elint-builtin-variables): Doc fix.
17348 (elint-preloaded-env): New variable.
17349 (elint-unknown-builtin-args): Add an entry for encode-time.
17350 (elint-extra-errors): Make it a variable rather than a constant.
17351 (elint-preloaded-skip-re): New constant.
17352 (elint-directory): Skip files matching elint-directory-skip-re.
17353 (elint-features): New variable, local to linted buffers.
17354 (elint-update-env): Initialize elint-features. Possibly add
17355 elint-preloaded-env to the buffer's environment.
17356 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17358 (elint-init-form): New function, extracted from elint-init-env.
17359 Make non-list forms a warning rather than an error.
17360 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17361 easy-menu-define, put that adds an error-condition, and provide.
17362 When requiring cl, also require cl-macs. Really require cl, to handle
17363 some cl macros. Store required libraries in the list elint-features,
17364 so as not to re-load them. Treat cc-require like require.
17365 (elint-init-env): Call elint-init-form to do the work.
17366 Handle eval-and-compile and such like.
17367 (elint-add-required-env): Do not clear messages.
17368 (elint-special-forms): Add handlers for function, defalias, if, when,
17370 (elint-form): Add optional argument to ignore elint-special-forms,
17371 useful to prevent recursive calls from handlers. Doc fix.
17372 Respect elint-ignored-warnings.
17373 (elint-form): Respect elint-ignored-warnings.
17374 (elint-bound-variable, elint-bound-function): New variables.
17375 (elint-unbound-variable): Respect elint-bound-variable.
17376 (elint-get-args): Respect elint-bound-function.
17377 (elint-check-cond-form): Add some simple handling for (f)boundp and
17379 (elint-check-defalias-form): New handler.
17380 (elint-check-let-form): Make an empty let a warning rather than an
17382 (elint-check-setq-form): Make an empty setq a warning rather than an
17383 error. Respect elint-ignored-warnings.
17384 (elint-check-defvar-form): Accept null doc-strings.
17385 (elint-check-conditional-form): New handler. Does some simple-minded
17386 checking of featurep and (f)boundp tests.
17387 (elint-put-function-args): New function.
17388 (elint-initialize): Use elint-scan-doc-file rather than
17389 elint-find-builtin-variables. Use elint-put-function-args.
17390 Possibly scan preloaded-file-list.
17391 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17392 extend to handle functions as well.
17394 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17396 * linum.el (linum-delete-overlays, linum-update-window):
17397 Do not modify the right margin. (Bug#3971)
17399 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17401 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17402 Use nxml-mode instead of xml-mode.
17404 2009-09-21 Kevin Ryde <user42@zip.com.au>
17406 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17408 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17410 * net/dig.el (dig-mode): Use define-derived-mode.
17412 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17414 * vc-dispatcher.el (vc-do-command): Return the process object in
17415 the asynchronous case. Use when instead of if. Do not run
17416 vc-exec-after to display a message if not enabled. (Bug#4463)
17418 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17419 properties to the stash strings.
17420 (vc-git-stash-list): Return a list of strings.
17421 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17422 (vc-git-stash-show-at-point): New functions.
17423 (vc-git-stash-map): New keymap.
17425 * register.el (ctl-x-r-map): Define the keys here instead of
17428 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17430 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17431 list, to workaround performance problem (bug#4485).
17433 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17435 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17437 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17439 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17440 Document that this option is not recommended to use.
17442 2009-09-19 Glenn Morris <rgm@gnu.org>
17444 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17447 * calc/calc-alg.el (var):
17448 * calc/calcalg2.el (var): Define for compiler.
17450 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17452 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17453 Doc fix (Bug#3932).
17455 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17457 * time-stamp.el (time-stamp-month-dd-yyyy)
17458 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17459 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17460 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17461 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17462 Remove functions that have been obsolete since 1995 (Bug#4436).
17464 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17465 indent buffer only if called interactively (Bug#4452).
17467 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17468 Eli Zaretskii <eliz@gnu.org>
17470 This fixes bug#4197 (merged to bug#865, though not identical).
17471 * server.el (server-auth-dir): Add docstring note about FAT32.
17472 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17473 but warn against using them.
17475 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17477 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17478 older GDB where there is no has_more field.
17480 2009-09-19 Glenn Morris <rgm@gnu.org>
17482 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17484 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17486 * files.el (auto-mode-alist): Change default for XML files to nXML
17489 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17491 * server.el (server-ensure-safe-dir): Pass 'integer
17492 to `file-attributes', as suggested.
17494 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17497 (dired-query): Use read-key.
17499 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17501 * cus-start.el (ns-use-qd-smoothing): Remove.
17503 2009-09-18 Glenn Morris <rgm@gnu.org>
17505 * allout.el (top-level): Remove unnecessary progn.
17507 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17509 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17510 definition of abbrev table.
17512 * speedbar.el (speedbar-track-mouse):
17513 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17514 * net/eudc.el (eudc-expand-inline):
17515 * net/newst-backend.el (newsticker--cache-read-feed):
17516 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17517 condition-case handlers.
17519 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17521 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17522 (gdb-var-list): Add an element for has_more field.
17523 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17524 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17525 (gdb-var-update-handler-1): Parse output of dynamic variable
17526 objects (STL containers).
17527 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17528 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17530 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17532 (gud-speedbar-buttons): Make node expandable if expression "has more"
17535 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17537 * startup.el (emacs-quick-startup): Remove variable and all uses.
17538 (command-line): Set `inhibit-x-resources' instead.
17539 (command-line-1): Use `inhibit-x-resources' instead.
17541 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17543 * subr.el: Fix last change to avoid using the `unless' macro,
17544 which breaks bootstrapping.
17546 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17548 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17549 extended definitions, in case we reload subr.el after having
17551 (eval-next-after-load): Mark as obsolete.
17553 2009-09-17 Juri Linkov <juri@jurta.org>
17555 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17556 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17557 (menu-bar-showhide-menu, menu-bar-tools-menu)
17558 (menu-bar-describe-menu, menu-bar-help-menu)
17559 (minibuffer-local-completion-map, minibuffer-local-map):
17562 2009-09-17 Glenn Morris <rgm@gnu.org>
17564 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17565 arguments, whether or not it has a handler.
17567 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17569 * simple.el (hard-newline): Give it a doc-string.
17571 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17572 (lisp-mode-syntax-table): Give them doc-strings.
17574 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17576 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17577 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17578 (menu-bar-options-menu, menu-bar-showhide-menu)
17579 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17580 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17581 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17582 (menu-bar-options-menu, menu-bar-tools-menu)
17583 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17584 (menu-bar-help-menu):
17585 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17588 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17589 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17590 calls for the menu names and :help.
17592 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17594 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17595 to :minor-mode-function (bug#4455).
17597 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * startup.el (command-line): Initialize the window-system after
17600 processing the command-line.
17602 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17603 page-delimiter matches the empty string.
17605 2009-09-16 Glenn Morris <rgm@gnu.org>
17607 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17608 byte-compile-not-obsolete-var. It's a list now.
17609 (byte-compile-not-obsolete-funcs): New variable.
17610 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17611 byte-compile-not-obsolete-funcs.
17612 (byte-compile-variable-ref, byte-compile-defvar): Update for
17613 byte-compile-not-obsolete-vars name-change and list nature.
17614 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17615 and variables behind (f)boundp tests.
17616 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17618 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17620 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17622 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17624 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17625 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17628 2009-09-15 Stephen Eglen <stephen@gnu.org>
17630 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17631 the virtual-buffers, use the name of the buffer specified by
17632 find-file-noselect, as the match may be a symlink. (This was a
17633 problem if the target and the symlink had different names.)
17635 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17637 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17639 * desktop.el (desktop-path): Check user-emacs-directory.
17641 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17643 * loadup.el: Use after-load-functions to GC after loading each file.
17644 Remove the explicit GC calls that used to be sprinkled around.
17646 * subr.el (after-load-functions): New hook.
17647 (do-after-load-evaluation): Run it. Use string-match-p to detect
17648 `obsolete' packages, rather than painfully extracting the relevant
17651 2009-09-15 Glenn Morris <rgm@gnu.org>
17653 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17654 free variable `doc'.
17656 * dired.el (dired-mode-map): Add menu entry for async shell command.
17658 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17659 variables, also consider the .elc files, since the .el files are
17660 normally gzipped (subsequent code locates the .el.gz from the .elc).
17662 * calc/calc-prog.el (arglist): Define for compiler.
17664 * calendar/diary-lib.el (diary-display-function): Change the default to
17666 (body): Define for compiler.
17668 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17669 (byte-compile-file-form, byte-compile-lambda)
17670 (byte-compile-top-level-body, byte-compile-form)
17671 (byte-compile-variable-ref, byte-compile-setq)
17672 (byte-compile-setq-default, byte-compile-body)
17673 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17674 (batch-byte-compile): Give some more local variables with common names
17675 a "bytecomp-" prefix to avoid masking warnings about free variables.
17677 * startup.el (command-line-1): Give local variables with common names a
17678 distinguishing prefix, so as not to hide free variable warnings during
17681 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17682 clever and add a suffix to make a unique name, just let the user decide
17683 whether or not to overwrite it. If the input is a directory, write the
17684 default filename to that directory. (Bug#4388)
17685 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17686 is a filename-as-a-directory.
17688 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17690 * textmodes/page.el (what-page): Don't move to beginning of line.
17691 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17693 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17695 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17697 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17699 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17700 * help.el (help-for-help-internal): Add purecopy calls for text.
17702 * vc.el (top): print-log method now takes an optional SHORTLOG
17703 argument. Add a new method: root.
17704 (vc-root-diff, vc-print-root-log): New functions.
17705 (vc-log-short-style): New variable.
17706 (vc-print-log-internal): Add support for showing short logs.
17708 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17709 vc-print-root-log and vc-print-root-diff.
17711 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17712 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17713 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17716 * vc-cvs.el (vc-cvs-print-log):
17717 * vc-mtn.el (vc-mtn-print-log):
17718 * vc-rcs.el (vc-rcs-print-log):
17719 * vc-sccs.el (vc-sccs-print-log):
17720 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17721 that is ignored for now.
17723 * vc-mtn.el (vc-mtn-annotate-command):
17724 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17726 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17729 to function-key-map, and give them ascii-character property.
17730 * term/x-win.el (x-alternatives-map):
17731 * term/ns-win.el (ns-alternatives-map):
17732 * term/internal.el (msdos-key-remapping-map):
17733 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17735 2009-09-14 Glenn Morris <rgm@gnu.org>
17737 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17738 temp-buffers (2009-09-12).
17740 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17743 the new read-key function.
17745 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17747 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17748 is defined (Bug#4405).
17750 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17752 * recentf.el (recentf-cleanup): Use a hash table to find
17753 duplicates (Bug#4407).
17755 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17757 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17758 kp-0 to ascii equivalents (Bug#4325).
17760 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17762 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17764 * eshell/em-hist.el:
17765 * eshell/em-dirs.el (eshell-complete-user-reference):
17766 Declare pcomplete functions and variables to avoid compiler warnings.
17768 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17770 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17771 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17772 * eshell/em-alias.el (eshell-aliases-file):
17773 * eshell/em-hist.el (eshell-history-file-name):
17774 Use expand-file-name instead of concat to make file names (Bug#4308).
17776 2009-09-13 Glenn Morris <rgm@gnu.org>
17778 * ediff-merg.el (ediff-do-merge):
17779 * filesets.el (filesets-run-cmd):
17780 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17781 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17782 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17783 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17784 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17785 Replace empty `let's with `progn'.
17787 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17789 * mail/sendmail.el (send-mail-function):
17790 * tooltip.el (tooltip-mode):
17791 * simple.el (transient-mark-mode):
17792 * rfn-eshadow.el (file-name-shadow-mode):
17793 * frame.el (blink-cursor-mode):
17794 * font-core.el (global-font-lock-mode):
17795 * files.el (temporary-file-directory)
17796 (small-temporary-file-directory, auto-save-file-name-transforms):
17797 * epa-hook.el (auto-encryption-mode):
17798 * composite.el (global-auto-composition-mode):
17799 Use custom-initialize-delay.
17800 * startup.el (command-line): Don't explicitly call
17801 custom-reevaluate-setting for all the above vars.
17802 * custom.el (custom-initialize-safe-set)
17803 (custom-initialize-safe-default): Delete.
17805 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17807 * term/x-win.el (x-initialize-window-system):
17808 * term/w32-win.el (w32-initialize-window-system):
17809 * term/ns-win.el (ns-initialize-window-system): Don't call
17810 mouse-wheel-mode since it's enabled globally by default already.
17812 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17813 actually define the variable, but only silences the byte-compiler.
17814 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17815 before looking it up.
17816 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17819 2009-09-12 Glenn Morris <rgm@gnu.org>
17821 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17823 (elint-add-required-env): Don't beep on error.
17824 (elint-forms): In case of error, return ENV unchanged.
17825 (elint-init-env): Skip non-list forms.
17826 (elint-log): Handle unknown file positions.
17828 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17830 * epg.el (epg-make-context): Add autoload cookie.
17831 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17832 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17833 (epg-verify-string, epg-start-sign, epg-sign-file)
17834 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17835 (epg-encrypt-string, epg-start-export-keys)
17836 (epg-export-keys-to-file, epg-export-keys-to-string)
17837 (epg-start-import-keys, epg-import-keys-from-file)
17838 (epg-import-keys-from-string, epg-start-receive-keys)
17839 (epg-receive-keys, epg-import-keys-from-server)
17840 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17841 (epg-sign-keys, epg-start-generate-key)
17842 (epg-generate-key-from-file, epg-generate-key-from-string):
17843 Remove autoload cookie.
17845 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17847 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17848 reevaluation of trash-directory.
17850 * mwheel.el: Fix last change.
17851 (mouse-wheel-mode): New defvar.
17852 (mouse-wheel-mode): Remove autoload cookie.
17854 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17856 * mwheel.el (mwheel-installed-bindings): New var.
17857 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17858 the bindings we set last time. Use custom-initialize-delay.
17859 * loadup.el: Load mwheel after term/*-win.el.
17860 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17861 and mouse-wheel-up-event now that their first evaluation is done
17862 sufficiently late to be correct.
17864 * startup.el (tutorial-directory): Make it a defcustom.
17865 Use custom-initialize-delay rather than eval-at-startup to set it.
17866 * image.el (image-load-path): Make it a defcustom.
17867 Use custom-initialize-delay rather than eval-at-startup to set it.
17868 * subr.el (eval-at-startup): Remove.
17869 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17871 * subr.el (do-after-load-evaluation): Warn the user after loading an
17874 2009-09-12 Glenn Morris <rgm@gnu.org>
17876 * proced.el (proced-mark-alt): Remove alias.
17877 (proced-mode-map): Remove proced-mark-alt.
17879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17880 Elint file and directory. Remove initialization entry.
17882 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17884 (elint-current-buffer): Set mode-line-process.
17885 (elint-init-env): Handle define-derived-mode.
17886 Fix declare-function with unspecified arglist. Guard against odd
17887 defalias statements (eg iso-insert's 8859-1-map).
17888 (elint-add-required-env): Use a temp buffer.
17889 (elint-form): Just print the function/macro name, not the whole form.
17890 Return env unchanged if we fail to parse a macro.
17891 (elint-forms): Guard against parse errors.
17892 (elint-output): New function, to handle batch mode.
17893 (elint-log-message): Add optional argument. Use elint-output.
17894 (elint-set-mode-line): New function.
17896 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17898 * emacs-lisp/elp.el (elp-not-profilable): Add more
17899 functions (Bug#4233).
17901 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17903 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17904 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17906 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17908 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17909 (gdb-var-list-children): Use json parsing.
17911 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17913 * progmodes/js.el (js--proper-indentation): Handle the case where
17914 char-before is null. Reported by Deniz Dogan.
17916 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17918 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17920 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17922 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17923 (epg-digest-algorithm-alist): Add SHA224.
17924 (epg-context-set-passphrase-callback)
17925 (epg-context-set-progress-callback): Add description about
17928 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17930 * custom.el (custom-delayed-init-variables): New var.
17931 (custom-initialize-delay): New function.
17932 * startup.el (command-line): "Re"evaluate all vars in
17933 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17934 explicitly any more.
17935 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17936 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17938 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17940 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17942 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17943 (gdb-var-update-handler): Use json parsing.
17945 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17947 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17948 decode annotated text, regardless of language environment. (Bug#2741)
17950 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17952 * Makefile.in (autoloads): Make rmail.el writable as well.
17954 2009-09-11 Glenn Morris <rgm@gnu.org>
17956 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17958 * dired.el: Regenerate with extracted autoloads.
17959 * Makefile.in (autoloads): Make dired.el writable.
17961 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17962 * ibuffer.el: Regenerate with extracted autoloads.
17963 * Makefile.in (autoloads): Make ibuffer.el writable.
17965 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17966 * version.el (emacs-copyright, emacs-major-version)
17967 (emacs-minor-version): Reformat doc-strings for make-docfile.
17969 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17970 functions and variables, since they must be stuff specific to some other
17972 (apropos-print): Make mouse-click message less specific about button.
17974 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17975 that records where a macro was defined.
17976 * help-fns.el (describe-function-1): Mention if a function has a
17978 * help-mode.el (help-function-cmacro): New button.
17980 * locate.el (top-level): Always require dired.
17981 (locate-mode-map): Initialize inside the defvar.
17983 * net/ange-ftp.el (dired-compress-file): Declare.
17984 (ange-ftp-dired-compress-file): Add doc string.
17986 * term/ns-win.el (x-display-name, x-setup-function-keys):
17987 Unify doc-strings with X versions.
17989 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17991 * emulation/crisp.el (crisp-mode-map): Move initialization
17993 (crisp-mode): Use define-minor-mode.
17995 * progmodes/xscheme.el (xscheme-evaluation-commands):
17996 Put a :advertised-binding property rather than using
17997 advertised-xscheme-send-previous-expression.
17998 (advertised-xscheme-send-previous-expression): Declare obsolete.
17999 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18001 (crisp-mode): Add corresponding bindings to
18002 undo's :advertised-binding instead.
18003 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18004 than using dired-advertised-find-file.
18005 (dired-advertised-find-file):
18006 * simple.el (advertised-undo):
18007 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18008 (widget-keymap): Put a :advertised-binding property rather
18009 than using advertised-widget-backward.
18010 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18011 than using advertised-undo.
18012 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18014 2009-09-10 Simon South <ssouth@slowcomputing.org>
18016 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18017 Mark mode is enabled and region is active; otherwise indent or
18018 insert TAB as usual.
18019 (delphi-mode): Update description of TAB-key binding.
18021 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18023 * subr.el (define-key-rebound-commands): Mark obsolete.
18024 * startup.el (precompute-menubar-bindings): Remove.
18025 (normal-top-level): Remove obsolete code that tried to precompute
18027 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18028 define-key-rebound-commands and precompute-menubar-bindings.
18030 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18032 * net/imap.el (imap-interactive-login): Better messages.
18033 (imap-open): Fix bug with renamed buffer on reconnect.
18034 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18035 for easier debugging and cleaner code. On successful (guessed based on
18036 server capabilities) secondary authentication, set imap-state
18038 (imap-last-authenticator): Define imap-last-authenticator as a variable
18041 2009-09-10 Glenn Morris <rgm@gnu.org>
18043 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18045 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18046 (byte-compile-file-form-autoload): Don't warn about unknown functions
18047 where the autoload statement comes after the use.
18048 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18049 that any handlers inside the body (eg require) are in turn respected.
18051 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18054 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18055 and syntax and abbrev tables basic docs, if they don't have any.
18057 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18059 * international/mule-cmds.el (top-level): Require cl when compiling.
18060 (view-hello-file): Use default-value rather than
18061 default-enable-multibyte-characters.
18063 * progmodes/fortran.el: Move all safe and risky properties into the
18066 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18067 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18068 * mail/undigest.el:
18069 Put autoloads in rmail.el rather than loaddefs.el.
18070 * mail/rmail.el: Regenerate with extracted autoloads.
18072 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18073 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18075 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18077 Reported in thread for Bug#4375.
18078 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18079 "-data-evaluate-expression" instead of print.
18080 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18081 (gdb-tooltip-print): Parse output from above MI command.
18082 (gdb): Revert 2009-08-11 change. User should detach inferior
18085 Remove the word "separate" from IO functions as inferior
18086 output is now never displayed in the GUD buffer.
18088 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18090 * startup.el (command-line-normalize-file-name): On Windows and
18091 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18093 2009-09-10 Juri Linkov <juri@jurta.org>
18095 * isearch.el (isearch-text-char-description): Propertize escape
18096 character sequences with the `escape-glyph' face. (Bug#4344)
18098 * simple.el (shell-command): Set asynchronous process filter to
18099 `comint-output-filter'. (Bug#4343)
18101 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18102 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18103 the list. Move "asm" to the bottom.
18104 (grep-find-ignored-directories): Add `choice' with nil value
18105 to empty the list easily.
18106 (grep-find-ignored-files): New option.
18107 (grep-files-history): Set to nil by default instead of '("ch" "el").
18108 (grep-compute-defaults): Add "<X>" to `grep-template'.
18109 (grep-read-files): Bind new local variables `default-alias' and
18110 `default-extension'. Use a list of default values for the file prompt.
18111 (lgrep): Add `--exclude=' command line options composed from
18112 `grep-find-ignored-files'.
18113 (rgrep): Add `-name' command line options composed from
18114 `grep-find-ignored-files'. (Bug#4301)
18116 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18118 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18121 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18123 * calendar/time-date.el (autoload):
18124 Expand define-obsolete-function-alias into defalias and make-obsolete
18125 for old Emacsen that Gnus supports.
18126 (with-no-warnings): Define it for old Emacsen.
18127 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18129 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18130 float-time is available; suppress compile warning for time-to-seconds.
18132 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18134 * net/imap.el (imap-message-map): Docstring fix.
18136 2009-09-09 Glenn Morris <rgm@gnu.org>
18138 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18139 line numbers too. (Bug#4374)
18141 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18143 * smerge-mode.el (smerge-remove-props, smerge-refine):
18144 Use with-silent-modifications (bug#4342).
18146 * subr.el (with-silent-modifications): New macro.
18148 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18150 * files.el (top-level): Require `cl' when compiling.
18152 2009-09-07 Glenn Morris <rgm@gnu.org>
18154 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18156 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18157 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18159 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18161 * vc-git.el (vc-git-annotate-command): Use separator to parse
18162 arguments correctly.
18164 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18166 * proced.el (proced-mode): Doc fix.
18168 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18170 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18172 (tramp-do-file-attributes-with-ls): Check for file existence at
18174 (tramp-do-file-attributes-with-stat): Likewise.
18175 (tramp-convert-file-attributes): Return nil when attr is nil.
18177 2009-09-05 Glenn Morris <rgm@gnu.org>
18179 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18180 properties to this button.
18181 (diary-fancy-display): Don't extend the button to the final newline.
18182 (diary-fancy-display-mode): Continue to define "q" as a local key.
18184 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18187 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18189 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18190 (byte-compile-dest-file-function): New option.
18191 (byte-compile-dest-file): Doc fix.
18192 Obey byte-compile-dest-file-function.
18193 (byte-compile-cl-file-p): New function.
18194 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18195 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18196 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18197 than for file being previously loaded.
18198 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18199 (byte-compile-file-form-require): Handle the case where requiring a file
18200 indirectly causes CL to be loaded.
18202 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18204 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18205 before killing the old buffer, since by the time `kill-buffer' is
18206 run so many buffer variables have been set to nil that it may not
18207 behave as expected. (Bug#4061)
18209 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18211 * files.el (find-alternate-file): If the old buffer is modified
18212 and visiting a file, behave similarly to `kill-buffer' when
18213 killing it, thus reverting to the pre-1.878 behavior; see
18214 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18215 for discussion. Also, consult `buffer-file-name' as a variable
18216 not as a function, for consistency with the rest of the code.
18218 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18220 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18221 also when adding a new directory.
18223 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18226 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18228 * files.el (locate-file-completion-table): Make it provide boundary
18229 information, so partial-completion works better.
18231 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18233 * mail/footnote.el (Footnote-text-under-cursor):
18234 Check footnote-text-marker-alist before using it (bug#4324).
18236 2009-09-04 Glenn Morris <rgm@gnu.org>
18238 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18239 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18240 * play/solitaire.el, play/tetris.el:
18241 Remove leading * from defcustom and defface docs.
18243 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18245 (diary-fancy-overriding-map): New variable.
18246 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18249 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18252 2009-09-03 Glenn Morris <rgm@gnu.org>
18254 * arc-mode.el (archive-mode):
18255 * dos-fns.el (set-default-process-coding-system):
18256 * man.el (Man-getpage-in-background):
18257 * menu-bar.el (menu-bar-describe-menu):
18258 * server.el (server-process-filter):
18259 * startup.el (command-line):
18260 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18261 * w32-fns.el (set-default-process-coding-system):
18262 * x-dnd.el (x-dnd-handle-file-name):
18263 * international/mule-cmds.el (mule-menu-keymap)
18264 (set-default-coding-systems, language-info-alist, set-language-info)
18265 (set-language-environment, standard-display-european-internal)
18266 (set-locale-environment):
18267 * international/mule-diag.el (mule-diag):
18268 * mail/emacsbug.el (report-emacs-bug):
18269 * mail/rmail.el (rmail-mode):
18270 * mail/sendmail.el (mail-setup):
18271 Use default-value rather than default-enable-multibyte-characters.
18273 * progmodes/f90.el: Move all safe properties into the defcustoms.
18274 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18276 * calendar/appt.el (appt-check):
18277 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18278 (diary-check-diary-file, diary-list-entries)
18279 (diary-include-other-diary-files, diary-simple-display)
18280 (diary-fancy-display, diary-print-entries)
18281 (diary-mark-included-diary-files, diary-make-entry):
18282 Don't call substitute-in-file-name on diary-file.
18284 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18285 Stefan Monnier <monnier@iro.umontreal.ca>
18287 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18288 (footnote-mode-map): Move initialization into the declaration.
18289 (footnote-minor-mode-map): Define it rather than changing global-map.
18290 (footnote-mode): Use define-minor-mode.
18292 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18294 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18295 (tramp-do-file-attributes-with-perl)
18296 (tramp-do-file-attributes-with-stat): Rename from
18297 `tramp-handle-file-attributes-with-*'.
18298 (tramp-handle-file-attributes): Use them.
18299 (tramp-do-directory-files-and-attributes-with-perl)
18300 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18301 `tramp-handle-directory-files-and-attributes-with-*'.
18302 (tramp-handle-directory-files-and-attributes): Use them.
18303 (tramp-method-out-of-band-p): Additional parameter SIZE.
18304 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18305 (tramp-handle-write-region): Use it.
18306 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18307 (tramp-handle-vc-registered): Check, whether the first run did
18308 return files to be tested.
18309 (tramp-advice-make-auto-save-file-name): Do not call directly
18310 `tramp-handle-make-auto-save-file-name', because this would bypass
18311 the locking mechanism.
18313 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18314 (file-remote-p, process-file, start-file-process, set-file-times)
18315 (tramp-compat-file-attributes): Compatibility functions shall not
18316 call directly `tramp-handle-*', because this would bypass the
18318 (tramp-compat-number-sequence): New defun.
18320 2009-09-02 Glenn Morris <rgm@gnu.org>
18322 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18323 alias for float-time.
18324 (time-to-number-of-days): In Emacs, use float-time.
18325 * net/newst-backend.el (time-add): Suppress warnings from compat
18327 * time.el (emacs-uptime, emacs-init-time):
18328 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18329 Use float-time rather than time-to-seconds.
18331 * minibuffer.el (completion-initials-expand): Fix typo.
18333 * faces.el (modeline, modeline-inactive, modeline-highlight)
18334 (modeline-buffer-id):
18335 * info.el (info-menu-5): Mark these face aliases as obsolete.
18337 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18339 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18341 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18342 no "--thread" option.
18343 (gdb-stopped): Don't print "Switched to thread" message when it is
18346 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18348 * minibuffer.el (completion-try-completion)
18349 (completion-all-completions): Remove ill-defined (and
18350 mistakenly installed and luckily never used nor documented)
18351 `completion-styles' property.
18352 (completion-initials-expand, completion-initials-all-completions)
18353 (completion-initials-try-completion): New functions.
18354 (completion-styles-alist): Add doc to each entry.
18355 Add new `initials' entry.
18357 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18359 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18360 MI command -var-evaluate-expression.
18361 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18362 and tweak for case of string child.
18363 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18365 2009-09-01 Glenn Morris <rgm@gnu.org>
18367 * add-log.el (change-log-date-face, change-log-name-face)
18368 (change-log-email-face, change-log-file-face, change-log-list-face)
18369 (change-log-conditionals-face, change-log-function-face)
18370 (change-log-acknowledgement-face):
18371 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18372 (custom-modified-face, custom-set-face, custom-changed-face)
18373 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18374 (custom-documentation-face, custom-state-face, custom-comment-face)
18375 (custom-comment-tag-face, custom-variable-tag-face)
18376 (custom-variable-button-face, custom-face-tag-face)
18377 (custom-group-tag-face-1, custom-group-tag-face):
18378 * diff-mode.el (diff-header-face, diff-file-header-face)
18379 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18380 (diff-added-face, diff-changed-face, diff-function-face)
18381 (diff-context-face, diff-nonexistent-face):
18382 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18383 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18384 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18385 (Info-title-4-face):
18386 * isearch.el (isearch-lazy-highlight-face):
18387 * log-view.el (log-view-file-face, log-view-message-face):
18388 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18389 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18390 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18392 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18393 (smerge-base-face, smerge-markers-face):
18394 * wid-edit.el (widget-documentation-face, widget-button-face)
18395 (widget-field-face, widget-single-line-field-face)
18396 (widget-inactive-face, widget-button-pressed-face):
18397 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18398 (woman-addition-face):
18399 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18400 (eshell-ls-executable-face, eshell-ls-readonly-face)
18401 (eshell-ls-unreadable-face, eshell-ls-special-face)
18402 (eshell-ls-missing-face, eshell-ls-archive-face)
18403 (eshell-ls-backup-face, eshell-ls-product-face)
18404 (eshell-ls-clutter-face):
18405 * eshell/em-prompt.el (eshell-prompt-face):
18406 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18407 * obsolete/old-whitespace.el (whitespace-highlight-face):
18408 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18409 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18410 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18411 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18412 (antlr-font-lock-literal-face):
18413 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18414 (ebrowse-root-class-face, ebrowse-file-name-face)
18415 (ebrowse-default-face, ebrowse-member-attribute-face)
18416 (ebrowse-member-class-face, ebrowse-progress-face):
18417 * progmodes/make-mode.el (makefile-space-face):
18418 * progmodes/sh-script.el (sh-heredoc-face):
18419 * textmodes/flyspell.el (flyspell-incorrect-face)
18420 (flyspell-duplicate-face):
18421 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18422 * textmodes/texinfo.el (texinfo-heading-face):
18423 Mark face aliases with "-face" suffix as obsolete.
18425 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18428 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18429 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18430 easy-menu-define wants to modify these.
18432 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18434 * net/browse-url.el (browse-url-file-url):
18435 * term/internal.el (dos-codepage-setup):
18436 Use default-value rather than default-enable-multibyte-characters.
18438 * progmodes/etags.el (etags-goto-tag-location):
18439 * progmodes/flymake.el (flymake-highlight-line)
18440 (flymake-goto-file-and-line, flymake-goto-line):
18441 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18442 (gdb-goto-breakpoint):
18443 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18444 * progmodes/python.el (python-find-function)
18445 (python-pdbtrack-track-stack-file):
18446 * progmodes/verilog-mode.el (verilog-surelint-off):
18447 * term/ns-win.el (ns-open-file-select-line):
18448 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18449 Use forward-line rather than goto-line.
18451 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18452 * textmodes/reftex-index.el (reftex-display-index):
18453 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18454 * textmodes/reftex-toc.el (reftex-toc):
18455 Remove unnecessary bindings of default-major-mode (all are followed by
18456 major-mode check and possible mode switch).
18458 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18460 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18461 Handle watchpoints (bug#4282).
18462 (def-gdb-thread-buffer-command): Enable thread to be selected by
18463 clicking without selecting threads buffer first.
18464 (gdb-current-context-command): Use selected frame so that "up",
18465 "down" etc work in the GUD buffer.
18466 (gdb-update): Find selected frame before rendering stack buffer.
18467 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18469 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18471 * progmodes/sym-comp.el (displayed-completions): Remove.
18472 (symbol-complete): Use minibuffer-complete.
18474 2009-08-31 Glenn Morris <rgm@gnu.org>
18476 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18478 * apropos.el (apropos-symbols-internal):
18479 Handle (obsolete) face aliases.
18481 * faces.el (describe-face): Adjust the output format to be more like
18482 describe-variable, and to mention (obsolete) face aliases.
18483 Adjust the whitespace so that help-setup-xref works.
18485 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18486 * calendar/diary-lib.el (diary-button-face):
18487 Mark these face aliases as obsolete.
18489 * calendar/calendar.el (calendar-today): Doc fix.
18491 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18493 * progmodes/gdb-mi.el (gdb-control-all-threads)
18494 (gdb-control-current-thread): Force tool bar update.
18495 (gdb-non-stop-handler): New function.
18496 (gdb-init-1): Use it to test if non-stop mode is supported.
18497 Remove unused gdbmi buffer type.
18499 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18501 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18502 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18504 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18506 * comint.el (comint-exec-1): Check command is non-null first.
18507 Part of gdb-mi.el change (2009-08-28).
18509 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18511 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18513 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18515 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18516 instead of `dolist' to avoid a recursive require when bootstrapping.
18518 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18520 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18522 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18524 * net/imap.el (imap-send-command): Simplify.
18525 (imap-wait-for-tag): point-max -> buffer-size.
18527 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18529 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18530 with constant argument.
18532 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18534 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18536 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18537 Change default, since most of our files don't have a history.
18538 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18541 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18544 * calc/calc.el: Improve commenting convention.
18545 (calc-digit-map, toplevel): Simplify.
18547 * comint.el (comint-insert-input): Be careful to only set point if we
18548 don't delegate to some other command.
18550 * proced.el (proced-signal-list): Make it an alist.
18551 (proced-grammar-alist): Capitalize names.
18552 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18553 Disable undo manually and make it read-only.
18554 Use completion-annotate-function.
18556 * minibuffer.el (minibuffer-message): If the current buffer is not
18557 a minibuffer, insert the message in the echo area rather than at the
18559 (completion-annotate-function): New variable.
18560 (minibuffer-completion-help): Use it.
18561 (completion--embedded-envvar-table): Environment vars are
18562 always case-sensitive.
18564 2009-08-30 Glenn Morris <rgm@gnu.org>
18566 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18567 from fortran-current-defun.
18568 (fortran-beginning-of-subprogram): Be more precise about finding the
18569 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18570 (fortran-end-of-subprogram): Simplify.
18571 (fortran-current-defun): Use fortran-start-prog-re.
18573 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18575 * subr.el (do-after-load-evaluation): Simplify.
18577 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18579 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18581 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18582 (vc-rcs-print-log): Use it.
18584 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18586 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18588 * paths.el (abbrev-file-name): Move to abbrev.el.
18589 * abbrev.el (abbrev-file-name): Move from paths.el.
18590 Obey user-emacs-directory.
18591 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18592 user-emacs-directory.
18593 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18594 abbrev-file-name and calc-settings-file any more.
18595 * startup.el (command-line): Recompute abbrev-file-name and
18596 abbreviated-home-dir.
18597 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18598 of the special code for when C-h bindings haven't been changed.
18599 (display-startup-echo-area-message): Use with-current-buffer.
18600 (command-line-1): Use a list of strings, rather than a list of lists
18601 of strings for longopts.
18603 * files.el (get-free-disk-space): Use / for default-directory.
18605 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18606 Use with-current-buffer.
18608 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18609 Recognize immutable variables like most-positive-fixnum.
18610 (byte-compile-setq-default): Check and warn if trying to assign
18611 to an immutable variable, or a non-variable.
18613 * progmodes/cc-vars.el (c-comment-continuation-stars):
18614 * progmodes/cc-engine.el (c-looking-at-bos):
18615 * progmodes/cc-cmds.el (c-toggle-auto-state)
18616 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18617 (c-comment-line-break-function): Add version of obsolescence.
18619 2009-08-28 Juri Linkov <juri@jurta.org>
18621 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18622 associated with `archive-mode'.
18624 * image.el (image-type-header-regexps): Use only JPEG magic number
18625 to determine JPEG images, and don't use `image-jpeg-p' because
18626 Emacs can display non-JFIF non-Exif JPEG images.
18628 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18630 * arc-mode.el (archive-mode):
18631 * emacs-lisp/re-builder.el (re-builder-unload-function):
18632 Protect against the default value of `major-mode' being nil.
18634 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18636 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18637 Fix typos in docstrings.
18639 * progmodes/js.el (js--macro-decl-re): Doc fix.
18640 (js--plain-method-re, js--split-name): Refloc docstring.
18641 (js--class-styles, js--make-merged-item, js--splice-into-items):
18642 Fix typos in docstrings; reflow docstrings.
18643 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18644 (js--variable-decl-matcher, js--inside-pitem-p)
18645 (js--parse-state-at-point, js--get-all-known-symbols)
18646 (js--symbol-history, js-find-symbol, js--js-references)
18647 (js--moz-interactor, js--js-encode-value, js--read-tab):
18648 Fix typos in docstrings.
18650 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18652 * textmodes/reftex.el (reftex-get-file-buffer-force):
18653 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18654 * emulation/viper.el (viper-go-away, viper-set-hooks):
18655 * emacs-lisp/re-builder.el (re-builder-unload-function):
18656 * emacs-lisp/bytecomp.el (byte-compile-file):
18657 * ses.el (ses-unload-function):
18658 * hexl.el (hexl-find-file):
18659 * files.el (normal-mode):
18660 * ehelp.el (with-electric-help):
18661 * autoinsert.el (auto-insert-alist):
18662 * arc-mode.el (archive-mode):
18663 Use (default-value 'major-mode) instead of default-major-mode.
18665 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18666 * international/mule.el (load-with-code-conversion):
18667 * emacs-lisp/debug.el (debug):
18668 * ediff-vers.el (ediff-rcs-get-output-buffer):
18669 * dired.el (dired-internal-noselect): Don't let-bind
18670 default-major-mode around code that doesn't use it.
18671 E.g. buffer creation via get-buffer-create doesn't use it.
18673 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18675 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18676 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18677 when writing the temp file. Otherwise, epa-file gets confused.
18678 (tramp-register-file-name-handlers): Make it a defun. Move also
18679 `epa-file-handler' to the front of `file-name-handler-alist'.
18681 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18683 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18684 start right after a ^M.
18685 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18686 (tramp-completion-file-name-regexp-separate)
18687 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18688 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18689 Don't modify last-coding-system-used by accident.
18690 (tramp-completion-file-name-handler): Apply the checks here,
18691 instead during registration.
18692 (tramp-register-file-name-handlers): Rename from
18693 `tramp-register-file-name-handler'. Register both
18694 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18695 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18697 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18699 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18700 Remove variable ...
18701 (gdb-init-1, gdb-display-separate-io-buffer)
18702 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18704 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18705 (gdb-inferior-filter): Use comint-output-filter to stop
18706 echoing and remove ^M characters.
18708 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18710 * emulation/viper-init.el (viper-restore-cursor-type):
18711 * emulation/cua-base.el (cua--update-indications):
18712 Replace default-cursor-type with (default-value 'cursor-type).
18714 * mail/sendmail.el (mail-recover-1):
18715 * international/mule-diag.el (describe-current-coding-system-briefly)
18716 (describe-current-coding-system):
18717 * international/mule-cmds.el (select-safe-coding-system)
18718 (select-message-coding-system)
18719 (set-language-environment-coding-systems, set-locale-environment):
18720 * hexl.el (hexl-insert-multibyte-char):
18721 * dos-w32.el (find-buffer-file-type-coding-system):
18722 * simple.el (what-cursor-position):
18723 Replace uses of default-buffer-file-coding-system
18724 with (default-value 'buffer-file-coding-system).
18726 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18727 Replace uses of default-cursor-in-non-selected-windows
18728 with (default-value 'cursor-in-non-selected-windows).
18729 Use with-current-buffer.
18731 * mail/feedmail.el: Use CL macros.
18732 (feedmail-run-the-queue, feedmail-send-it-immediately):
18733 * dos-w32.el (find-buffer-file-type): Replace uses of
18734 default-buffer-file-type with (default-value 'buffer-file-type).
18736 2009-08-28 Glenn Morris <rgm@gnu.org>
18738 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18739 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18740 Use default-value of major-mode rather than default-major-mode.
18742 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18744 * Makefile.in (update-elcfiles): Report left over elc files.
18746 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18747 expand-file-name and with-current-buffer.
18748 (mail-get-names, mail-directory): Use with-current-buffer.
18750 * vc.el (vc-read-revision): New function.
18751 (vc-version-diff, vc-merge): Use it.
18753 2009-08-27 Sam Steingold <sds@gnu.org>
18755 * simple.el (kill-do-not-save-duplicates): New user option.
18756 (kill-new): When it is non-nil, and the new string is the same as
18757 the latest kill, set replace to t to avoid duplicates in kill-ring.
18759 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18761 * net/tramp.el (tramp-handle-process-file): Do not flush all
18762 caches when `process-file-side-effects' is set.
18763 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18764 instead of `tramp-find-file-exists-command'.
18765 Unset `process-file-side-effects'.
18767 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18769 * net/tramp.el (tramp-methods): New method "rsyncc".
18770 (top): Add completion function for "rsyncc".
18771 (tramp-message-show-message): New defvar.
18772 (tramp-message, tramp-error): Use it.
18773 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18775 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18776 `tramp-methods' entry `copy-env' of "rsyncc".
18777 (tramp-vc-registered-read-file-names): New defconst.
18778 (tramp-vc-registered-file-names): New defvar.
18779 (tramp-handle-vc-registered): Implement optimization strategy.
18780 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18781 (tramp-vc-file-name-handler): New defun.
18782 (tramp-get-ls-command, tramp-get-test-command)
18783 (tramp-get-file-exists-command, tramp-get-remote-ln)
18784 (tramp-get-remote-perl, tramp-get-remote-stat)
18785 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18787 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18788 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18790 (tramp-get-file-property): Check for timestamps in
18791 `tramp-cache-inhibit-cache'.
18792 (tramp-set-file-property): Write timestamp.
18794 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18796 * language/japan-util.el (japanese-symbol-table): Add entries for
18799 * international/characters.el: Add category `j' to cp932-2-byte.
18801 2009-08-27 Kenichi Handa <handa@m17n.org>
18803 * international/fontset.el (build-default-fontset-data): New macro.
18804 (setup-default-fontset): Use build-default-fontset-data for CJK,
18805 tibetan, ethiopic, and ipa.
18807 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18809 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18810 (enable-multibyte-characters): Not customizable any more.
18812 * subr.el (default-mode-line-format, default-header-line-format)
18813 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18814 (default-direction-reversed, default-truncate-lines)
18815 (default-left-margin, default-tab-width, default-case-fold-search)
18816 (default-left-margin-width, default-right-margin-width)
18817 (default-left-fringe-width, default-right-fringe-width)
18818 (default-fringes-outside-margins, default-scroll-bar-width)
18819 (default-vertical-scroll-bar, default-indicate-empty-lines)
18820 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18821 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18822 (default-scroll-down-aggressively, default-fill-column)
18823 (default-cursor-type, default-buffer-file-type)
18824 (default-cursor-in-non-selected-windows)
18825 (default-buffer-file-coding-system, default-major-mode)
18826 (default-enable-multibyte-characters): Mark as obsolete.
18828 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18830 * vc-dir.el (vc-dir-update): Remove debug helper.
18832 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18834 2009-08-26 Sam Steingold <sds@gnu.org>
18836 * simple.el (save-interprogram-paste-before-kill): New user option.
18837 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18838 save the interprogram-paste into kill-ring before overriding it
18839 with the Emacs kill.
18841 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18843 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18844 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18845 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18846 and move to vc-rcs.el.
18847 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18849 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18850 (vc-rcs-update-changelog): Remove.
18851 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18852 and move to vc-rcs.el.
18854 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18855 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18857 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18858 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18859 vc.el, renamed to be RCS specific.
18861 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18863 (vc-cvs-update-changelog): Move here from vc.el.
18865 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18868 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18872 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18874 * vc-git.el (vc-git-register): Use "git add" for directories.
18875 (vc-git-stash, vc-git-stash-show): New functions.
18876 (vc-git-extra-menu-map): Bind them.
18878 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18879 directory correctly in case the item is a directory itself.
18881 * vc.el: Document the desired behavior for reverted files in the
18883 (vc-default-prettify-state-info): Remove function, unused.
18885 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18887 2009-08-26 Glenn Morris <rgm@gnu.org>
18889 * bindings.el (standard-mode-line-format): Reposition dashes in
18890 which-func entry. (Bug#4217)
18892 * files.el (enable-local-variables, enable-local-eval)
18893 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18895 (auto-mode-alist, ignored-local-variables)
18896 (save-some-buffers-action-alist): Move risky declarations to the
18898 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18899 (font-lock-defaults, format-alist, imenu--index-alist)
18900 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18901 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18902 (mode-line-modified, mode-line-mule-info, mode-line-position)
18903 (mode-line-process, mode-line-remote, outline-level)
18904 (parse-time-rules, rmail-output-file-alist)
18905 (special-display-buffer-names, vc-mode):
18906 Move risky declarations to the relevant files.
18907 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18908 (mode-line-modified, mode-line-process, mode-line-position)
18909 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18910 * font-core.el (font-lock-defaults):
18911 * format.el (format-alist):
18912 * vc-hooks.el (vc-mode):
18913 * window.el (special-display-buffer-names):
18914 * international/mule-cmds.el (input-method-alist):
18915 Define riskiness here (dumped file) rather than in files.el.
18916 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18917 * imenu.el (imenu-generic-expression, imenu--index-alist):
18918 * outline.el (outline-level):
18919 * time.el (display-time-string):
18920 * calendar/parse-time.el (parse-time-rules):
18921 * mail/rmailout.el (rmail-output-file-alist):
18922 Autoload riskiness here, rather than placing in files.el.
18924 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18926 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18928 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18930 * simple.el (process-file-side-effects): New defvar.
18932 * dired-aux.el (dired-show-file-type):
18933 * vc.el (vc-diff-internal):
18934 * vc-arch.el (vc-arch-diff):
18935 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18936 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18937 * vc-git.el (vc-git-registered, vc-git-working-revision)
18938 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18939 (vc-git--empty-db-p):
18940 * vc-hooks.el (vc-user-login-name):
18941 * vc-svn.el (vc-svn-registered, vc-svn-state)
18942 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18943 * progmodes/grep.el (grep-probe): Let-bind
18944 `process-file-side-effects' with nil.
18946 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18948 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18949 daemon. Replace ping by checking for running service for bluez
18950 and zeroconf. (Bug#4239)
18952 2009-08-25 Kevin Ryde <user42@zip.com.au>
18954 * net/dig.el (dig): Add autoload cookie.
18956 2009-08-25 Glenn Morris <rgm@gnu.org>
18958 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18959 load-history for absolute file-names.
18960 (byte-compile-file-form-require): Warn about use of the cl package.
18962 * format.el (format-alist): Doc fix.
18964 * play/bubbles.el (top-level): Don't require cl at run-time.
18966 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18969 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18971 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18973 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18975 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18977 * calc/calc-alg.el (math-trig-rewrite)
18978 (math-hyperbolic-trig-rewrite): New functions.
18979 (calc-simplify): Simplify trig functions when asked.
18981 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18983 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18985 2009-08-24 Kenichi Handa <handa@m17n.org>
18987 * language/ind-util.el (mapthread): Delete it.
18988 (combinatorial): New function.
18989 (indian--puthash-cv): Use combinatorial instead of mapthread.
18991 2009-08-22 Kevin Ryde <user42@zip.com.au>
18993 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18994 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18995 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18996 Clarify docstring that the value is strings not symbols.
18997 (checkdoc-list-of-strings-p): New function.
18999 2009-08-22 Glenn Morris <rgm@gnu.org>
19001 * files.el (auto-mode-alist):
19002 * hippie-exp.el (he-concat-directory-file-name):
19003 * lpr.el (lpr-windows-system, printer-name):
19004 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19005 * ps-print.el (ps-windows-system):
19006 * startup.el (command-line):
19007 * emulation/viper-ex.el (viper-glob-function):
19008 * international/mule-cmds.el (set-language-environment-coding-systems):
19009 * net/ange-ftp.el (ange-ftp-write-region):
19010 * obsolete/fast-lock.el (fast-lock-cache-name):
19011 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19012 unisoft-unix, vax-vms, win32, w32.
19014 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19015 given name if the pattern is not more specific.
19017 * calendar/lunar.el (lunar-phase-names): New option.
19018 (lunar-phase): Doc fix.
19019 (lunar-cycles-per-year): New constant.
19020 (lunar-index): New function.
19021 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19022 (lunar-phase-name): Use lunar-phase-names.
19023 (calendar-lunar-phases): Use format.
19024 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19026 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19027 Copy imenu-example--name-and-position function here for own use.
19028 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19030 * bs.el (bs--redisplay):
19031 * cus-edit.el (custom-redraw):
19032 * ibuffer.el (ibuffer-bury-buffer):
19033 * server.el (server-goto-line-column):
19034 * startup.el (command-line-1):
19035 * strokes.el (strokes-xpm-for-stroke):
19036 * term.el (term-display-buffer-line):
19037 * view.el (View-goto-line):
19038 * calc/calc.el (calc-do, calc-trail-buffer):
19039 * play/gamegrid.el (gamegrid-add-score-insecure):
19040 * progmodes/ada-mode.el (ada-compile-goto-error):
19041 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19042 (ebrowse-select-1st-to-9nth):
19043 * progmodes/cperl-mode.el (cperl-time-fontification):
19044 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19045 * progmodes/gud.el (gud-display-line):
19046 (idlwave-shell-display-line):
19047 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19048 * progmodes/make-mode.el (makefile-browser-toggle):
19049 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19050 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19051 * textmodes/picture.el (picture-draw-rectangle):
19052 * textmodes/reftex-index.el (reftex-index-goto-letter):
19053 (reftex-select-jump-to-previous):
19054 * textmodes/reftex-sel.el (reftex-find-start-point)
19055 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19056 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19057 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19058 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19059 * textmodes/two-column.el (2C-associated-buffer):
19060 Use forward-line rather than goto-line.
19062 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19065 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19066 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19067 (quick-check-list-to-regexp): Declare.
19069 * progmodes/make-mode.el (makefile-browser-insert-selection):
19070 Use goto-char rather than goto-line.
19072 * progmodes/prolog.el (compilation-error-regexp-alist)
19073 (compilation-forget-errors): Declare.
19075 2009-08-22 Juri Linkov <juri@jurta.org>
19077 * progmodes/grep.el (lgrep, rgrep): At the beginning
19078 set `dir' to `default-directory' unless `dir' is a non-nil
19079 readable directory. (Bug#4052)
19080 (lgrep, rgrep): Change a weird way to report an error
19081 from using `read-string' to using `error'.
19082 Instead of using interactive arguments in the function body,
19083 add new argument `confirm'.
19085 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19087 * textmodes/remember.el (remember-buffer):
19088 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19089 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19090 (icalendar-extract-ical-from-buffer):
19091 * net/newst-treeview.el (newsticker-groups-filename):
19092 * net/newst-backend.el (newsticker-cache-filename):
19093 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19094 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19095 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19096 (speedbar-buffers-line-path, speedbar-path-line)
19097 (speedbar-buffers-line-path):
19098 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19100 * epa.el (epa-display-verify-result):
19101 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19103 2009-08-21 Glenn Morris <rgm@gnu.org>
19105 * progmodes/js.el (inferior-moz-process): Fix declaration.
19107 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19109 * obsolete/rnewspost.el (news-mail-reply):
19110 Use goto-char rather than goto-line.
19112 * term/ns-win.el (ns-open-file-select-line):
19113 Use line-beginning-position rather than goto-line.
19115 * apropos.el (apropos-command):
19116 * ehelp.el (electric-helpify):
19117 * printing.el (pr-show-setup):
19118 * strokes.el (strokes-help):
19119 * tutorial.el (tutorial--describe-nonstandard-key)
19120 (tutorial--detailed-help):
19121 * woman.el (woman-mini-help, woman-display-extended-fonts):
19122 * calc/calc-help.el (calc-describe-key):
19123 * emulation/edt.el (edt-electric-helpify):
19124 * international/mule-diag.el (mule-diag):
19125 * play/yow.el (apropos-zippy):
19126 * progmodes/python.el (python-describe-symbol):
19127 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19128 * textmodes/table.el (*table--cell-describe-mode)
19129 (*table--cell-describe-bindings):
19130 Use help-print-return-message rather than the now obsolete alias.
19132 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19133 (calendar-cursor-to-visible-date):
19134 * play/5x5.el (5x5-position-cursor):
19135 * play/decipher.el (decipher):
19136 * play/gomoku.el (gomoku-goto-xy):
19137 * play/landmark.el (lm-goto-xy):
19138 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19139 (mpuz-paint-digit):
19140 Use forward-line, not goto-line.
19142 * mail/rmail.el (rmail-obsolete): Delete custom group.
19143 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19144 (rmail-remote-password, rmail-remote-password-required):
19145 Remove unneeded :set-after and :set properties.
19147 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19149 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19151 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19153 * loadup.el: Remove leftover macos code.
19155 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19156 Explicitly pass the date format to git blame so that user local
19157 so that the output format can be parsed.
19159 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19161 * net/dbus.el (top): Don't check for (getenv
19162 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19164 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19166 * log-edit.el (log-edit-strip-single-file-name): New var.
19167 (log-edit-insert-changelog): Use it. Bug#3571
19169 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19171 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19174 * help.el (help-print-return-message): Rename from
19175 print-help-return-message.
19177 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19178 cvs-mode-map parent hack.
19179 (log-view-mode): Derive from special-mode.
19181 * linum.el (linum-mode): window-size-change-functions is redundant.
19182 Adapt to new window-configuration-change-hook behavior.
19183 (linum-after-size, linum-after-config): Remove.
19185 * imenu.el (imenu-example--name-and-position)
19186 (imenu-example--lisp-extract-index-name)
19187 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19190 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19191 (inferior-prolog-mode): Use it.
19192 (inferior-prolog-load-file): Reset list of errors.
19194 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19196 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19198 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19200 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19202 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19203 is running already.
19205 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19207 * subr.el (listify-key-sequence-1): Use normal syntax since those
19208 integers are nowadays always represented by the same (positive) number
19210 (read-key-empty-map): New const.
19211 (read-key-delay): New var.
19212 (read-key): New function.
19213 (force-mode-line-update): Use with-current-buffer.
19214 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19215 (start-process-shell-command, start-file-process-shell-command):
19216 Discourage the use of command-args.
19218 2009-08-19 Glenn Morris <rgm@gnu.org>
19220 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19222 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19224 * simple.el (choose-completion-string): Don't rely on
19225 minibuffer-completing-file-name and ad-hoc checks to decide whether
19226 to continue completion or not.
19228 * minibuffer.el (minibuffer-hide-completions): New function.
19229 (completion--do-completion): Use it.
19230 (completions-annotations): New face.
19231 (completion--insert-strings): Use it.
19232 (completion-pcm--delim-wild-regex): Add docstring.
19233 (completion-pcm--string->pattern): Add support for 0-width delimiters
19234 in completion-pcm--delim-wild-regex.
19236 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19238 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19239 Remove unused var `buffer-modified-p'.
19241 * minibuffer.el (completion--do-completion): Move point for the #b001
19242 case as well (bug#4176).
19243 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19245 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19247 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19248 and :session buses.
19250 2009-08-18 Kenichi Handa <handa@m17n.org>
19252 * international/ucs-normalize.el (ucs-normalize-version):
19254 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19255 (utf-8-hfs): Make it perform normalization on encoding too.
19257 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19258 (sentence-end-without-space): Delete duplicated chars.
19259 (sentence-end-base): Likewise.
19261 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19262 (html-mode): Delete duplicated chars from sentence-end-base.
19264 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19265 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19267 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19269 * files.el (hack-one-local-variable): If the mode function is for
19270 a minor mode, pass it an argument (Bug#4148).
19272 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19274 * net/tramp.el (tramp-register-completion-file-name-handler):
19275 Check also for (member 'partial-completion completion-styles).
19277 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19279 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19282 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19284 * progmodes/cperl-mode.el: Merge upstream 6.2.
19285 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19286 (cperl-forward-re): Check cperl-brace-recursing.
19287 (cperl-highlight-charclass): New function.
19288 (cperl-find-pods-heres): Use it.
19289 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19290 (cperl-beautify-regexp-piece): Fix column calculation.
19291 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19292 (cperl-beautify-level): Don't process entire regexp.
19293 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19295 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19296 (cperl-init-faces): Build a list in the normal way.
19298 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19300 * calendar/parse-time.el (parse-time-string-chars): Save match
19303 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19305 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19306 (sql-product): Use it.
19307 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19308 (sql-set-product): Add completion.
19309 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19310 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19311 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19312 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19313 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19314 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19315 (sql-highlight-db2-keywords): Remove.
19316 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19317 (sql-highlight-product): Use derived-mode-p.
19318 (sql-set-sqli-buffer): Use with-current-buffer.
19319 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19322 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19324 * term.el: Fix commenting convention, turn comments into docstrings.
19326 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19328 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19330 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19332 * calendar/parse-time.el (parse-time-string-chars): Compute using
19333 character classes, to handle non-ascii characters (Bug#3190).
19335 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19337 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19338 another heredoc if the user adds another < (Bug#3226).
19340 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19341 Don't initialize based on window-system (Bug#4124).
19343 * facemenu.el (facemenu-read-color): Use a completion function
19344 that accepts any defined color, such as RGB triplets (Bug#3677).
19346 * files.el (get-free-disk-space): Change fallback default
19347 directory to /. Expand DIR argument before switching to fallback.
19348 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19350 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19352 * files.el (load-library): Doc fix.
19354 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19356 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19357 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19358 incremental search string.
19360 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19363 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19364 (ediff-merge-region-is-non-clash)
19365 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19366 Also check if the job is really a merge job.
19368 * ediff.el (ediff-current-file): New function.
19370 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19372 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19374 (js-insert-and-indent): Delete function.
19375 (js-mode-map): Don't bind keys to js-insert-and-indent.
19376 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19377 (js-end-of-defun): Rename from js--end-of-defun.
19378 (js-auto-indent-flag): Delete variable.
19380 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19382 * progmodes/js.el: Remove proclaim statement.
19383 Defvar which-func-imenu-joiner-function to silence compiler.
19385 * files.el (auto-mode-alist): Use js-mode for .js files.
19387 * progmodes/js2-mode.el: Remove file.
19389 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19391 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19393 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19395 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19396 Karl Landstrom <karl.landstrom@brgeight.se>
19398 * progmodes/js.el: New file.
19400 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19402 * timezone.el (timezone-parse-date): Add ability to understand ISO
19403 basic format (minimal separators) dates in addition to the
19404 already-supported extended format dates.
19406 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19408 * international/ucs-normalize.el: Add a `coding' file variable.
19410 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19412 2009-08-14 Sam Steingold <sds@gnu.org>
19414 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19416 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19418 * faces.el (help-argument-name): Define it here instead of
19419 help-fns.el, because in daemon mode help-fns.el may be loaded when
19420 faces are still uninitialized (Bug#1078).
19422 * help-fns.el (help-argument-name): Move defface to faces.el.
19424 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19426 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19427 create buffer with a pty but no process so that GDB can make the
19428 inferior the controlling process.
19430 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19432 * international/ucs-normalize.el: New file.
19434 2009-08-13 Richard Stallman <rms@gnu.org>
19436 * mail/rmail.el (rmail-get-attr-names):
19437 Accept an attribute header that is too short.
19439 * mail/rmail.el (rmail-forget-messages):
19440 Ignore nil elt in rmail-message-vector. Use dotimes.
19442 * progmodes/compile.el (compilation-goto-locus):
19443 Use next-error-move-function.
19445 * simple.el (next-error-move-function): New variable.
19447 2009-08-12 Juri Linkov <juri@jurta.org>
19449 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19450 always non-nil. (Bug#4052)
19452 * replace.el (read-regexp): Return empty string when
19453 `default-value' is nil.
19454 (keep-lines-read-args): Don't use empty string as the
19455 default value for `read-regexp'. (Bug#2495)
19457 2009-08-12 Juri Linkov <juri@jurta.org>
19459 * international/mule-cmds.el (ucs-insert): Change arguments
19460 from `arg' to `character', `count', `inherit' to be the same
19461 as in `insert-char'. Doc fix. (Bug#4039)
19463 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19465 2009-08-12 Juri Linkov <juri@jurta.org>
19467 * files-x.el: New file.
19469 * files.el: Move code that deals with adding/deleting
19470 file/directory-local variables to files-x.el.
19472 * Makefile.in (ELCFILES): Add files-x.elc.
19474 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19476 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19477 to use `goto-line'.
19478 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19480 (gdb-invalidate-disassembly): Do not refresh upon receiving
19481 'update signal. Instead, update all disassembly buffers only after
19483 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19484 (gdb-starting): Move -data-list-register-names...
19485 (gdb-stopped): ...here so it's sent when first thread stops.
19486 (gdb-registers-handler-custom): Do nothing if register names are
19489 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19490 from `gdb-mi.el' to avoid extra tangling.
19492 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19493 change which breaks `gud-def' definitions used in `gdb'.
19494 (gdb-update-gud-running): No extra fuss for updating frame number.
19496 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19498 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19499 (describe-language-environment-map, setup-language-environment-map)
19500 (set-coding-system-map): Move initialization into declaration.
19501 (set-language-info-alist): Last arg to define-key-after can be skipped.
19503 * international/quail.el (quail-completion-1): Simplify.
19504 (quail-define-rules): Use slightly more compact code.
19505 (quail-insert-decode-map): Propertize keys, compact columns.
19507 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19510 2009-08-10 Miles Bader <miles@gnu.org>
19512 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19513 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19514 (js2-instance-member, js2-private-member, js2-private-function-call)
19515 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19516 (js2-magic-paren, js2-external-variable):
19517 Remove "-face" suffix from face names.
19518 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19519 (js2-highlight-undeclared-vars, js2-peek-token)
19520 (js2-parse-function-params, js2-mode-show-errors)
19521 (js2-mode-show-warnings, js2-make-magic-delimiter)
19522 (js2-mode-highlight-magic-parens): Update to use new face names.
19524 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19526 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19527 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19529 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19531 * subr.el: Provide hashtable-print-readable.
19533 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19534 hs-c-like-adjust-block-beginning.
19535 (hs-hide-block-at-point): Stop hiding at the beginning of
19536 hs-block-end-regexp (Bug#700).
19538 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19540 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19542 (gdb-registers-handler-custom): Do not fail when register names
19545 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19547 * progmodes/gdb-mi.el (gdb-control-all-threads)
19548 (gdb-control-current-thread): Interactive setters for
19549 `gdb-gud-control-all-threads' to use in menu.
19550 (gdb-show-run-p): Show «Go» when process is not active.
19551 (gud-tool-bar-map): Add non-stop/A,T indicator.
19552 Uses gud/thread.xpm and gud/all.xpm.
19554 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19556 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19557 (nslookup-font-lock-keywords): Make it a variable.
19558 (net-utils-mode): New mode for viewing diagnostic network output.
19559 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19560 (net-utils-run-simple): New function.
19561 (ifconfig, iwconfig, netstat, arp, route): Use it.
19563 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19565 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19566 (gdb-memory-set-address, def-gdb-set-positive-number)
19567 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19568 after changing settings.
19569 (gdb-invalidate-disassembly): Update when first shown.
19570 (gdb-edit-locals-value): Fixed.
19571 (gdb-registers-handler-custom): Print registers in right order and
19572 allow changing register values (only for current thread yet).
19573 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19574 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19575 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19576 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19577 Thread info in mode name.
19578 (gdb-registers-mode-map): TAB to switch to locals.
19580 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19582 * mail/rmail.el (rmail-add-mbox-headers)
19583 (rmail-set-message-counters-counter): Search for
19584 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19586 2009-08-08 Glenn Morris <rgm@gnu.org>
19588 * Makefile.in (ELCFILES): Update.
19590 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19592 * mail/sendmail.el (mail-yank-original):
19593 Set buffer-file-coding-system from the one used by the message whose
19596 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19597 to "windows" when "pgnuplot" is used.
19598 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19599 Don't call accept-process-output if "pgnuplot" is used.
19600 (calc-graph-init): Don't send -display and -geometry to
19601 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19602 running "pgnuplot -V" with shell-command-to-string.
19604 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19607 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19609 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19612 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19614 * vc-dispatcher.el (vc-resynch-window): Update comment.
19616 * term.el (term-handle-ansi-escape): Add comments with the
19617 terminfo capabilities implemented.
19619 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19621 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19622 (gdb-var-create-handler): Rewritten using JSON parser.
19623 (gdb-propertize-header): Move earlier.
19624 (gdb-set-header): Remove to avoid duplication.
19625 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19626 Refresh disassembly buffers only after threads list have been
19628 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19631 2009-08-04 Juri Linkov <juri@jurta.org>
19633 * files.el: Commands to add/delete file/directory-local variables.
19634 (read-file-local-variable, read-file-local-variable-value)
19635 (read-file-local-variable-mode, modify-file-local-variable)
19636 (modify-file-local-variable-prop-line)
19637 (modify-dir-local-variable): New functions.
19638 (add-file-local-variable, delete-file-local-variable)
19639 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19640 (add-dir-local-variable, delete-dir-local-variable)
19641 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19642 (copy-dir-locals-to-file-locals-prop-line): New commands.
19644 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19646 * abbrev.el (insert-abbrev-table-description): Prettify output.
19647 Suggested by Karl Chen.
19649 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19651 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19652 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19653 (gdb-overlay-arrow-position, gdb-thread-position)
19654 (gdb-disassembly-position): Declare variables.
19655 (gdb-wait-for-pending): Function now.
19656 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19657 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19658 compilation goes smoothly.
19659 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19660 (gdb-non-stop-setting): New customization setting which replaces
19661 `gdb-non-stop' so changing it doesn't break active GDB session.
19662 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19663 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19664 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19665 (gdb-show-threads-by-default): New customization options.
19666 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19668 (gdb-get-buffer-create): Send buffers update signal when they are
19670 (gdb-invalidate-locals, gdb-invalidate-registers)
19671 (gdb-invalidate-breakpoints)
19672 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19673 (gdb-invalidate-memory): Accept update signal.
19674 (gdb-current-context-command): Use --frame option.
19675 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19676 Implement `gdb-frame-number' selection logic.
19677 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19678 whether to show GUD toolbar buttons.
19679 (gdb-thread-exited): Unselect current thread when it exits.
19680 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19681 (gdb-mark-line): Routine which sets overlay arrow or inverses
19682 video on fringeless displays.
19683 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19684 to build aligned columns of data in GDB buffers and set text
19685 properties line-by-line.
19686 (gdb-invalidate-breakpoints)
19687 (gdb-breakpoints-list-handler-custom)
19688 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19689 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19690 (gdb-registers-handler-custom): Align data columns.
19691 (gdb-locals-handler-custom): Now prints data like in variable
19693 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19694 Remove confusing buttons.
19695 (gdb-invalidate-threads): Append --frame.
19696 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19697 between breakpoints/threads buffers.
19698 (gdb-set-window-buffer): Now can ignore dedicated windows.
19699 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19700 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19701 (def-gdb-thread-buffer-gud-command): Replaces
19702 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19703 for fine thread control.
19704 (gdb-preempt-existing-or-display-buffer): New function used to
19705 display bound buffers without breaking window layout.
19706 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19707 (gdb-select-frame): New version of `gdb-frames-select' which now
19708 sets `gdb-frame-number' so commands may use --frame option instead
19709 of inner debugger state.
19710 (gdb-frame-handler): Do not set `gdb-frame-number'.
19711 (gdb-threads-mode-map): Select threads with mouse.
19713 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19714 avoid compilation warning.
19715 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19718 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19719 Argument `key' renamed to `buffer-type'.
19720 (gdb-current-context-buffer-name): Do not add thread info to
19721 buffer name when no thread is selected.
19722 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19723 command (bug 3794).
19724 (gdb-thread-selected): Handle `=thread-selected' notification.
19725 (gdb-wait-for-pending): New macro to deal with congestion problems.
19726 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19728 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19729 This fixes problem similar to one described in bug 3947.
19730 (gud-menu-map): More menu items.
19731 (gdb-init-1): Reset `gdb-thread-number' to nil.
19733 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19736 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19737 (gdb-current-context-command): Do not append --thread if
19738 `gdb-thread-number' is nil.
19739 (gdb-running-threads-count, gdb-stopped-threads-count):
19741 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19742 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19743 New customization options.
19744 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19746 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19747 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19748 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19749 set `gdb-thread-number' and update `gud-running' properly.
19750 (gdb-running): Update threads list when new threads appear.
19751 (gdb-stopped): Support non-stop operation and new thread switching
19753 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19754 (gdb-json-partial-output): New set of JSON routines.
19755 (def-gdb-auto-update-trigger): New `signal-list' optional
19757 (gdb-thread-list-handler-custom): Update `gud-running',
19758 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19759 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19760 (gdb-continue-thread, gdb-step-thread): New commands for fine
19761 thread execution control.
19762 (gud-menu-map): New menu items to switch non-stop options.
19763 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19764 (gdb-send): Mimic RET properly (bug 3794).
19766 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19767 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19769 (def-gdb-auto-update-handler): New nopreserve optional argument.
19770 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19772 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19773 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19774 (gdb-parent-mode): New mode to derive other GDB modes from.
19775 (gdb-display-disassembly-for-thread)
19776 (gdb-frame-disassembly-for-thread): New commands for threads
19779 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19780 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19781 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19782 (gdb-update): We now store all GDB buffers in a list so that they
19783 can be updated by traversing a list instead of calling invalidate
19784 triggers explicitly.
19785 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19786 pair for GDB buffer.
19787 (gdb-stack-buffer-name): Add thread information.
19788 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19789 handle pending triggers.
19790 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19791 (def-gdb-thread-buffer-simple-command)
19792 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19793 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19794 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19795 New commands which show buffers bound to thread.
19796 (gdb-stack-list-locals-regexp): Remove unused regexp.
19798 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19799 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19800 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19801 to (gud-comint-buffer) in *-buffer-name functions
19802 because (gdb-get-target-string) already does that.
19803 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19804 (gdb-changed-registers-handler): Rewritten without regexps.
19806 * progmodes/gdb-mi.el: Basic thread selection support.
19807 (gdb-thread-number): New variable.
19808 (gdb-current-context-command): New macro which adds --thread
19810 (gdb-threads-mode-map): Select thread with SPC.
19811 (gdb-thread-list-handler-custom): Mark current thread with overlay
19812 arrow. Synchronize GDB thread and Emacs thread.
19813 (gdb-select-thread): New command which selects current thread.
19814 (gdb-invalidate-frames, gdb-invalidate-locals)
19815 (gdb-invalidate-registers): Use --thread option.
19817 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19819 * net/tramp.el (top): Make check for tramp-gvfs loading more
19821 (tramp-handle-insert-file-contents): `unwind-protect' must be
19822 inside `with-parsed-tramp-file-name'.
19824 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19827 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19829 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19830 directory if CLASSPATH is not set.
19832 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19834 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19836 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19838 2009-08-02 Kevin Ryde <user42@zip.com.au>
19840 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19841 Update freshmeat link. Delete newsforge.com as it seems gone.
19843 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19845 * select.el (x-set-selection): Doc fix (Bug#4021).
19847 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19849 * help-fns.el (describe-variable): Treat list return values from
19850 dir-locals-find-file properly (Bug#4005).
19852 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19854 * net/tramp.el (tramp-debug-message): Print also microseconds.
19856 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19858 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19860 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19861 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19864 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19865 (tramp-get-file-property): Use it.
19867 * autorevert.el (auto-revert-handler):
19868 Allow `auto-revert-tail-mode' for remote files.
19870 2009-08-02 Jason Rumney <jasonr@gnu.org>
19872 * minibuffer.el (read-file-name): Treat confirm options to
19873 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19875 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19877 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19878 (font-lock-variable-name-face, font-lock-constant-face):
19879 Darken the colors for light backgrounds.
19881 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19883 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19884 month names. (Bug#3987)
19886 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19888 * simple.el (line-move-finish): Pass whole number to
19889 line-move-to-column.
19890 (line-move-visual): Perform hscroll to the recorded position.
19892 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19894 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19896 2009-07-29 Alan Mackenzie <acm@muc.de>
19898 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19900 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19902 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19903 (gdb-place-breakpoints): Use full path when setting breakpoints.
19905 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19907 * calc/calc.el (calc-mode-map): Add keybinding for
19908 `calc-transpose-lines'.
19910 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19912 * calc/calc-misc.el (calc-transpose-lines): New function.
19914 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19916 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19917 Simplify check for out-of-band methods.
19918 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19919 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19921 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19923 * vc-git.el (vc-git-checkin): Fix typo.
19925 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19927 * progmodes/js2-mode.el: New file.
19929 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19931 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19932 (gud-menu-map): Adjust tooltip accordingly.
19934 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19936 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19937 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19939 * add-log.el (change-log-mode-map): Add a menu.
19941 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19943 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19944 function returns nil.
19945 (dbus-handle-event): Handle special return value :ignore.
19946 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19948 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19950 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19953 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19957 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19959 * term/pc-win.el (x-display-name, x-colors)
19960 (x-select-enable-clipboard, x-select-text): Doc fix.
19962 * term/common-win.el (x-display-name, x-colors): Doc fix.
19964 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19965 (xw-defined-colors): Doc fix.
19967 * w32-fns.el (x-select-text, x-setup-function-keys)
19968 (x-get-selection, x-set-selection): Doc fix.
19970 * term/x-win.el (x-select-text, x-setup-function-keys)
19971 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19973 * select.el (x-set-selection): Doc fix.
19975 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19977 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19978 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19979 "IsNSSSupportAvailable" method is not available.
19980 Reported by Steve Youngs <steve@sxemacs.org>.
19982 2009-07-24 Kenichi Handa <handa@m17n.org>
19984 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19985 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19986 (build-unicode-category-table): Fix range checks.
19988 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19990 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19991 the buffer we try to sync is current when calling
19994 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19995 not show up to date files.
19997 2009-07-24 Glenn Morris <rgm@gnu.org>
19999 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20000 Add autoload cookies. If necessary, initialize.
20001 (elint-log): Handle non-file buffers.
20002 (elint-initialize): Add optional argument to reinitialize.
20003 (elint-find-builtin-variables): Save excursion.
20005 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20007 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20010 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20012 * vc.el (vc-print-log-internal): New function, split out from ...
20013 (vc-print-log): ... here.
20014 (vc-dir-move-to-goal-column): Declare.
20016 * vc-git.el (vc-git-add-signoff): New variable.
20017 (vc-git-checkin): Use it.
20018 (vc-git-toggle-signoff): New function.
20019 (vc-git-extra-menu-map): Bind it to menu.
20020 (vc-git--run-command-string): Accept a nil FILE argument.
20021 (vc-git-stash-list): New function.
20022 (vc-git-dir-extra-headers): Use it.
20024 2009-07-23 Glenn Morris <rgm@gnu.org>
20026 * help-fns.el (describe-variable): Describe ignored and risky local
20027 variables in a similar way to that in which we describe safe ones.
20029 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20030 (byte-compile-output-file-form, byte-compile-output-docform)
20031 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20032 Give some more local variables with common names a "bytecomp-" prefix,
20033 so as not to shadow things during compilation.
20034 * emacs-lisp/cl-macs.el (load-time-value)
20035 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20036 `outbuffer' to `bytecomp-outbuffer'.
20038 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20039 since the next two variables cover them automatically now.
20040 (elint-builtin-variables, elint-autoloaded-variables): New.
20041 (elint-unknown-builtin-args): Remove all members, since they can be
20042 parsed automatically now.
20043 (elint-extra-errors): New.
20044 (elint-env-add-env, elint-env-add-macro): Use cadr.
20045 (elint-current-buffer): Use or. Change final message.
20046 (elint-get-top-forms): Use line-end-position.
20047 (elint-init-env): Use cadr. Handle autoload, declare-function,
20049 (elint-add-required-env): Doc fix. Use or. Standardize error.
20050 (regexp-assoc): Remove unused function.
20051 (elint-top-form): Set elint-current-pos, to record the start of the
20052 top-level form, for compilation-mode.
20053 (elint-form): Trap errors in macro expansion. Use dolist.
20054 (elint-unbound-variable): Use elint-builtin-variables and
20055 elint-autoloaded-variables.
20056 (elint-get-args): Use cadr, or.
20057 (elint-check-cond-form): Use dolist, cadr.
20058 (elint-check-condition-case-form): Doc fix. Use cadr.
20059 Use elint-extra-errors.
20060 (elint-log): New function.
20061 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20062 Distinguish errors and warnings.
20063 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20064 Use a bytecomp-style format.
20065 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20066 (elint-get-log-buffer): Use compilation mode. Disable undo.
20067 Don't truncate lines.
20068 (elint-initialize): Set builtin and autoloaded variable lists.
20069 Only process elint-unknown-builtin-args if non-nil.
20070 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20072 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20074 2009-07-22 Kevin Ryde <user42@zip.com.au>
20076 * net/newst-backend.el (newsticker--parse-atom-1.0)
20077 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20078 (newsticker--parse-rss-1.0):
20079 * progmodes/idlwave.el (idlwave-mode):
20080 * progmodes/idlw-shell.el (idlwave-shell-mode):
20081 * progmodes/vera-mode.el (vera-mode):
20082 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20083 * progmodes/vhdl-mode.el (vhdl-mode):
20084 * textmodes/table.el (table-generate-source)
20085 (table--warn-incompatibility):
20086 Hyperlink urls in docstrings with URL `...'.
20088 2009-07-22 Glenn Morris <rgm@gnu.org>
20090 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20091 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20092 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20093 Remove leading * from defcustom docs.
20095 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20097 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20099 (list-load-path-shadows): Optionally, just return shadows as a string.
20101 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20103 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20105 * mail/rmailedit.el (rmail-edit-mode):
20106 Use auto-save-include-big-deletions.
20108 * mail/rmail.el (rmail-variables):
20109 Use auto-save-include-big-deletions.
20111 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20114 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20116 * calc/calc.el (calc-undo-length): New variable.
20117 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20119 2009-07-21 Richard Stallman <rms@gnu.org>
20121 * files.el (auto-save-mode): Handle buffer-save-size = -2
20124 2009-07-21 Glenn Morris <rgm@gnu.org>
20126 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20128 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20130 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20131 silence compiler. Instead...
20132 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20133 (ps-print-ensure-fontified): Update for above function name changes.
20135 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20136 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20137 silence compiler. Instead...
20138 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20139 (mh-show-buffer): Only define for compiler.
20140 (pr-mh-current-message): Update for above function name changes.
20142 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20144 (find-file-noselect, insert-file-1): Update for above change.
20146 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20148 * mail/mailclient.el (mailclient-send-it): Fix message.
20150 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20151 (edebug-eval): Check cl-debug-env is bound.
20152 (print-level, print-circle): Don't redefine built-in variables.
20154 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20155 (custom-print-vectors): Remove old comments from doc.
20157 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20158 (emerge-version): Make the variable an obsolete alias for the
20159 emacs-version variable. Make the function obsolete.
20160 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20161 Emerge options, rather than merging in into the main Options menu.
20162 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20163 and auto advance modes. Disable edit/fast items when not relevant.
20165 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20167 * term/vt420.el (terminal-init-vt420): Fix typo.
20169 2009-07-20 Sam Steingold <sds@gnu.org>
20171 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20172 variable (removed from compile.el on 2004-03-11).
20174 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20176 * files.el (hack-local-variables-filter): Fix last change.
20178 2009-07-19 Juri Linkov <juri@jurta.org>
20180 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20181 (dir-local-variables-alist): New buffer-local variable.
20182 (hack-local-variables-filter): If variable is not dir-local,
20183 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20184 because file-local overrides dir-local.
20185 (c-postprocess-file-styles) <declare-function>:
20186 Remove obsolete declaration.
20187 (hack-dir-local-variables): Add dir-local variable/value pair to
20188 `dir-local-variables-alist' and remove duplicates. Doc fix.
20190 * help-fns.el (describe-variable): Add information about
20191 file-local and dir-local variables.
20193 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20195 * files.el (hack-local-variables-filter): Rewrite.
20197 2009-07-19 Glenn Morris <rgm@gnu.org>
20199 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20200 Silence compiler by only defining on XEmacs.
20202 * international/mule.el (auto-coding-regexp-alist): Only match
20203 BABYL... at the start of buffer, not of lines. (Bug#3790)
20205 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20206 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20207 (cal-menu-context-mouse-menu): Doc fix.
20209 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20211 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20213 2009-07-18 Juri Linkov <juri@jurta.org>
20215 * info.el: Virtual Info keyword finder.
20216 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20217 (Info-finder-file): New variable.
20218 (Info-finder-find-file): New function.
20219 (finder-known-keywords, finder-package-info)
20220 (find-library-name, lm-commentary): Use defvar and
20221 declare-function to silence compiler warnings.
20222 (Info-finder-find-node): New function.
20223 (info-finder): New command.
20225 * subr.el (process-kill-buffer-query-function): New function.
20226 (add-hook)<kill-buffer-query-functions>: Add hook
20227 `process-kill-buffer-query-function'.
20229 2009-07-18 Alan Mackenzie <acm@muc.de>
20231 * progmodes/cc-mode.el (c-before-hack-hook)
20232 (c-postprocess-file-styles): Give invocation of `c-set-style'
20233 DONT-OVERRIDE parameter of t. Already set style variables will
20234 thus not be overridden by style settings given by `c-file-syle'.
20236 * files.el (hack-local-variables-filter): Remove entries with
20237 duplicate keys from `file-local-variables-alist'.
20239 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20241 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20242 x-set-selection if display-selections-p returns nil for the
20245 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20247 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20249 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20251 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20252 Accept nil in addition to a regexp.
20253 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20254 Accept nil in addition to a regexp.
20255 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20256 buffers that have an associated file. Handle nil values of
20257 desktop-buffers-not-to-save and desktop-files-not-to-save.
20260 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20261 (x-disown-selection-internal): New functions.
20263 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20265 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20267 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20268 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20270 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20272 * simple.el (set-mark): Revert last change.
20274 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20276 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20277 rendering of pngs is not possible instead of messaging a long
20280 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20282 * w32-fns.el (x-selection-owner-p): New function.
20284 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20285 (mouse-yank-at-click, mouse-yank-primary):
20286 If select-active-regions is non-nil, deactivate the mark before
20289 * simple.el (deactivate-mark, set-mark): Only save selection if we
20292 2009-07-17 Kenichi Handa <handa@m17n.org>
20294 * case-table.el (describe-buffer-case-table): Fix for the case
20295 that KEY is a cons.
20297 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20299 * vc-rcs.el (vc-rcs-find-file-hook):
20300 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20302 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20304 * net/tramp.el (tramp-wait-for-output): Handle the case when
20305 commands do not return a newline but a null byte before the shell
20308 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20310 * term/ns-win.el (ns-set-alpha): Don't declare.
20311 (ns-set-background-alpha): Remove function.
20313 2009-07-16 Kevin Ryde <user42@zip.com.au>
20315 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20316 y-or-n-p, for safety.
20318 2009-07-16 Richard Stallman <rms@gnu.org>
20320 * files.el (auto-save-mode): If buffer-saved-size is -2,
20323 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20324 (rmail-retry-ignored-headers): Add more uninteresting fields.
20326 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20328 * net/rcirc.el (rcirc): Use history variables.
20329 (rcirc-server-name-history, rcirc-nick-name-history)
20330 (rcirc-server-port-history): New variables.
20332 2009-07-15 Kenichi Handa <handa@m17n.org>
20334 * international/mule-cmds.el (set-language-environment-charset):
20335 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20338 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20339 Delete unibyte-display.
20341 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20343 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20345 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20347 * simple.el (deactivate-mark): Optional argument FORCE.
20348 (set-mark): Use deactivate-mark.
20350 * info.el (Info-search): No need to check transient-mark-mode
20351 before calling deactivate-mark.
20353 * select.el (x-set-selection): Doc fix.
20354 (x-valid-simple-selection-p): Allow buffer values.
20355 (xselect--selection-bounds): Handle buffer values.
20356 Suggested by David De La Harpe Golden.
20358 * mouse.el (mouse-set-region, mouse-drag-track):
20359 Call copy-region-as-kill before setting the mark, to let
20360 select-active-regions work.
20362 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20364 * simple.el (deactivate-mark): If select-active-regions is
20365 non-nil, copy the selection data into a string.
20366 (activate-mark): If select-active-regions is non-nil, set the
20367 selection to the current buffer.
20368 (set-mark): Update selection if select-active-regions is non-nil.
20370 * select.el (x-valid-simple-selection-p): Allow buffer values.
20372 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20374 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20375 and more featureful message-mode.
20377 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20379 * select.el (x-set-selection): Doc fix.
20380 (x-valid-simple-selection-p): Disallow selection data consisting
20381 of a list or cons of integers, since that is not used.
20382 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20383 (xselect-convert-to-string, xselect-convert-to-length)
20384 (xselect-convert-to-filename, xselect-convert-to-charpos)
20385 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20387 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20389 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20390 output in -break-info command (Emacs bug #3794).
20392 2009-07-14 Glenn Morris <rgm@gnu.org>
20394 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20395 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20396 (edebug-print-length, edebug-print-level, edebug-print-circle)
20397 (edebug-sit-for-seconds, edebug-view-outside)
20398 (edebug-bounce-point, edebug-set-global-break-condition)
20399 (edebug-Go-nonstop-mode, edebug-trace-mode)
20400 (edebug-Trace-fast-mode, edebug-continue-mode)
20401 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20402 (edebug-visit-eval-list): Doc fixes.
20404 * subr.el (def-edebug-spec): Doc fix.
20406 2009-07-14 Kenichi Handa <handa@m17n.org>
20408 * international/characters.el: Fix setting of category ?C.
20410 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20412 * term/ns-win.el (x-select-font): defalias x-select-font to
20413 ns-popup-font-panel instead of generate-fontset-menu.
20415 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20417 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20419 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20421 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20422 the PK\003\004 header (Bug#3770).
20424 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20426 * pcomplete.el (pcomplete-comint-setup): Check for
20427 shell-dynamic-complete-filename too.
20429 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20431 * simple.el (temporary-goal-column): Change the value for
20432 line-move-visual to a cons cell.
20433 (line-move-visual): Record or set the window hscroll, if
20434 necessary (Bug#3494).
20435 (line-move-1): Handle cons value of temporary-goal-column.
20437 2009-07-11 Kenichi Handa <handa@m17n.org>
20439 * international/mule-diag.el (describe-character-set): Don't show
20442 2009-07-10 Sam Steingold <sds@gnu.org>
20444 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20445 Omake sometimes indents the errors it prints, so allow all
20446 regexps to start with spaces.
20448 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20450 * cus-edit.el (customize-changed-options-previous-release):
20451 Bump value to 22.1. (Bug#3804)
20453 2009-07-08 Sam Steingold <sds@gnu.org>
20455 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20456 to be a cons cell (test . ignored-directory) to selectively ignore
20457 some directories depending on the location of the search.
20459 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20461 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20462 remote user is root, on the local host.
20463 (tramp-local-host-p): Either the local user or the remote user
20464 must be root. (Bug#3771)
20466 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20468 * progmodes/gdb-mi.el (gdb): Remove description of
20469 gdb-use-separate-io-buffer.
20470 (menu): Don't allow toggling of or enable
20471 gdb-use-separate-io-buffer from menubar.
20473 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20475 * mail/unrmail.el (unrmail): Make sure the message ends with two
20476 newlines (Bug#3769).
20478 2009-07-08 Glenn Morris <rgm@gnu.org>
20480 * calendar/calendar.el (calendar-current-date): Rework previous change.
20482 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20484 * calendar/calendar.el (calendar-current-date):
20485 Add an optional argument giving an offset from today.
20487 2009-07-08 Glenn Morris <rgm@gnu.org>
20489 * tutorial.el (tutorial--describe-nonstandard-key):
20490 Adjust the message for when a key has been unbound.
20491 (help-with-tutorial): Hide the arch-tag.
20493 2009-07-08 Kenichi Handa <handa@m17n.org>
20495 * international/fontset.el (setup-default-fontset): For each
20496 script, append (not set) font-specs.
20498 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20501 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20503 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20504 -data-list-register-names to ...
20505 (gdb-starting): ... here because GDB 7.0 requires execution to
20506 have started when using this MI command.
20507 (gdb-set-header): New function to distinguish select and
20508 unselected tabs in gdb buffers.
20509 (gdb-propertize-header): New macro that uses gdb-set-header.
20510 (gdb-breakpoints-header, gdb-locals-header): Use it.
20511 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20513 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20515 * Makefile.in (ELCFILES): Remove fadr.elc.
20517 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20519 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20520 may contain frame information, so `string-match' should be used.
20521 (gdb-update): Disassembly is invalidated through
20522 `gdb-get-selected-frame'.
20523 (gdb-pad-string): New function to pad string with spaces.
20524 (gdb-invalidate-disassembly): Invalidate only if the buffer
20526 (gdb-disassembly-handler-custom): Column alignment.
20527 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20529 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20531 (gdb-frame-handler): Match convention to for disassembly buffer
20533 (gdb-stack-list-frames-handler): Rewritten without regexps.
20534 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20535 not highlight breakpoints without line information.
20536 (gdb-input): Add trailing newline to command.
20538 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20540 (gdb-breakpoints-list-handler-custom): Replacement for
20541 `gdb-break-list-handler'. Using real parser instead of regexps
20543 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20544 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20545 to place breakpoints.
20546 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20548 (gdb-disassembly-handler-custom): Show overlay arrow.
20549 (gdb-disassembly-place-breakpoints): Show breakpoints in
20550 disassembly buffer.
20551 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20552 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20553 instead of parsing breakpoints buffer. Fixed old menu references
20558 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20559 (gdb-memory-address): New variable which holds top address of
20560 memory page shown in memory buffer.
20561 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20562 New customization variables.
20564 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20565 display the memory buffer.
20566 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20567 buffer display parameters.
20568 (def-gdb-memory-format, gdb-memory-format-binary)
20569 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20570 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20571 Functions for setting memory buffer format.
20572 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20573 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20574 unit size used in memory buffer.
20575 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20576 Switch to next/previous page of memory buffer.
20577 Now using (bindat-get-field) instead of fadr functions.
20579 2009-07-07 Sam Steingold <sds@gnu.org>
20581 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20582 non-top-level files.
20584 2009-07-07 Kenichi Handa <handa@m17n.org>
20586 * international/mule-cmds.el (reset-language-environment):
20587 Put the highset priority to the charset iso-8859-1.
20589 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20591 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20592 to the end of the line when locating the block (Bug#700).
20594 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20596 * net/tramp.el (tramp-handle-write-region): Flush file properties
20597 in case of short track.
20599 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20601 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20602 Coded custom representation of verilog error regular expressions
20603 to work with Emacs-22's new format.
20604 (verilog-error-regexp-xemacs-alist): Coded custom representation
20605 of verilog error regular expressions to work with XEmacs format.
20606 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20607 error recognition into XEmacs.
20608 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20609 error recognition into Emacs-22.
20611 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20613 * woman.el: Remove stand-alone closing parentheses.
20614 (woman-file-name, woman2-format-paragraphs)
20615 (woman-leave-blank-lines): Code cleanup.
20616 (woman-use-own-frame): Change default to nil.
20617 (woman-italic, woman-bold, woman-unknown, woman-addition):
20618 Change defaults to inherit from default faces.
20619 (woman2-process-escapes): Consume the newline after a stand-alone
20620 filler character (Bug#3651).
20622 2009-07-06 Glenn Morris <rgm@gnu.org>
20624 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20625 (top-level): Move provide to the end.
20626 (ffap): Remove defunct URL from custom group.
20628 * subr.el (eval-after-load): Doc fix.
20630 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20632 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20633 `calc-embedded-word' is called twice.
20635 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20637 * files.el (find-alternate-file-other-window, find-alternate-file):
20638 Obey confirm-nonexistent-file-or-buffer.
20640 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20642 * dired-aux.el (dired-show-file-type): Handle remote files.
20644 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20646 * desktop.el (desktop-globals-to-save):
20647 Add file-name-history (Bug#2750).
20649 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20651 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20653 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20655 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20656 property on entire argument since this is what eshell-lisp-command
20659 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20661 * net/tramp-gvfs.el (tramp-gvfs-methods)
20662 (tramp-gvfs-zeroconf-domain)
20663 (tramp-bluez-discover-devices-timeout): Add version flag.
20664 (tramp-gvfs-handler-mounted-unmounted)
20665 (tramp-gvfs-connection-mounted-p): Polish handling of
20666 incompatibilities between GVFS 0.2 and 1.0.
20668 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20670 * cus-start.el (all): Add make-pointer-invisible.
20672 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20674 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20675 formatted correctly.
20677 2009-07-02 Juri Linkov <juri@jurta.org>
20679 * info.el: Virtual Info files and nodes.
20680 (Info-virtual-files, Info-virtual-nodes): New variables.
20681 (Info-current-node-virtual): New variable.
20682 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20684 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20685 to check for a virtual file instead of checking a fixed list
20687 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20688 instead of ad-hoc processing of "dir" and (apropos history toc).
20689 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20690 instead of ad-hoc processing of "dir" and (apropos history toc).
20691 Reread a file when moving from a virtual node.
20692 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20693 (Info-directory-toc-nodes, Info-directory-find-file)
20694 (Info-directory-find-node): New functions.
20695 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20696 (Info-history): Move part of code to
20697 `Info-history-find-node'.
20698 (Info-history-toc-nodes, Info-history-find-file)
20699 (Info-history-find-node): New functions.
20700 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20701 (Info-toc): Move part of code to `Info-toc-find-node'.
20702 (Info-toc-find-node): New function.
20703 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20704 the current Info file name to references because now the node
20705 "*TOC*" belongs to the same Info manual.
20706 (Info-toc-build): Rename from `Info-build-toc'.
20707 (Info-toc-nodes): Rename input argument `file' to `filename'.
20708 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20709 instead of ad-hoc processing of ("dir" apropos history toc).
20710 (Info-index-nodes): Use Info-virtual-file-p
20711 to check for a virtual file instead of checking a fixed list
20713 (Info-index-node): Add check for `Info-current-node-virtual'.
20714 Raise `save-match-data' higher up the tree to contain
20715 `search-forward' too (bug fix).
20716 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20717 (Info-virtual-index-nodes): New variable.
20718 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20719 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20720 (Info-apropos-file, Info-apropos-nodes): New variables.
20721 (Info-apropos-toc-nodes, Info-apropos-find-file)
20722 (Info-apropos-find-node, Info-apropos-matches): New functions.
20723 (info-apropos): Move part of code to `Info-apropos-find-node' and
20724 `Info-apropos-matches'.
20725 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20726 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20727 for a virtual file instead of checking a fixed list of node names.
20729 * simple.el (async-shell-command): New command.
20731 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20733 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20734 instead of `mount-info'.
20736 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20738 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20739 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20741 2009-07-02 Kenichi Handa <handa@m17n.org>
20743 * international/mule.el (set-keyboard-coding-system): Force *-unix
20744 coding-system to avoid eol conversion.
20746 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20749 Add handler for `process-file', `shell-command' and
20750 `start-file-process'.
20751 (tramp-gvfs-handle-shell-command)
20752 (tramp-gvfs-handle-start-file-process)
20753 (tramp-gvfs-handle-process-file): New defuns.
20754 (tramp-synce-list-devices): Simplify check for existence of property.
20756 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20758 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20760 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20762 * language/korean.el (set-language-info-alist): Add korean-cp949,
20765 2009-07-01 Kenichi Handa <handa@m17n.org>
20767 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20769 * international/encoded-kb.el: Deleted.
20771 * international/mule.el (set-keyboard-coding-system): Perform the
20772 necessary setup here instead of calling encoded-kbd-setup-display.
20774 2009-07-01 Glenn Morris <rgm@gnu.org>
20776 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20778 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20780 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20782 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20784 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20785 Handle also the 'rename case, when setting file modes. (Bug#3712)
20786 (tramp-default-file-modes): Remove execute permissions.
20788 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20789 (top): Add a default for "synce" in `tramp-default-user-alist'.
20790 Add completion function for "synce" method.
20791 (tramp-hal-service, tramp-hal-path-manager)
20792 (tramp-hal-interface-manager, tramp-hal-interface-device):
20794 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20795 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20798 * net/trampver.el: Update release number.
20800 2009-06-30 Kenichi Handa <handa@m17n.org>
20802 * international/fontset.el (setup-default-fontset): Add CJK fonts
20803 for symbols and the other miscellaneous characters.
20805 * language/korea-util.el (setup-korean-environment-internal):
20806 Make char-width-table suitable for Korean environments.
20807 (exit-korean-environment): Cancel above.
20809 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20810 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20811 setup-function to make char-width-table suitable for respective
20812 environments, and an exit-function to cancel that.
20814 * language/japan-util.el (setup-japanese-environment-internal):
20815 Call use-cjk-char-width-table with arg `ja_JP'.
20817 * international/characters.el (cjk-char-width-table): Delete it.
20818 (cjk-char-width-table-list): New variable.
20819 (use-cjk-char-width-table): New arg local-name.
20820 (use-default-char-width-table): Fix for the case that Emacs is
20821 already using the default char-width-table.
20823 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20825 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20826 modes mandatory. (Bug#3712)
20828 2009-06-29 Alan Mackenzie <acm@muc.de>
20830 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20831 correction between the visible width of TABs and their number of bytes.
20833 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20835 * server.el (server-buffer-done): Prevent kill-buffer from
20836 prompting by clearing the buffer modification flag (Bug#3696).
20838 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20840 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20841 (verilog-endcomment-reason-re): Support unique case and priority case.
20842 (verilog-basic-complete-re): Support localparam lineup.
20843 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20844 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20846 (verilog-leap-to-case-head): Now support *nested* unique &
20847 priority case statements.
20848 (verilog-auto-lineup): Make just declarations the default (as it
20850 (verilog-leap-to-case-head): Support priority/unique case statements.
20851 (verilog-auto-lineup): Rework to give users radio buttons to
20852 select the various styles of automatic lineup.
20853 (verilog-error-regexp-alist): Rework to support the XEmacs style
20854 of error regular expressions from compilers, lint tools &
20855 simulators. Note that GNU Emacs has made it impossible for a mode
20856 to load such things.
20857 (electric-verilog-terminate-line, verilog-indent-declaration)
20858 (verilog-auto-wiure): Rework for radio button selection of
20859 auto-lineup selection of specification of auto lineup.
20860 (verilog-beg-of-statement-1): Redesign to support proper operation
20861 in additional code, based on testing with auto-lineup.
20862 (verilog-calculate-indent, assignments & declarations)
20863 (verilog-backward-token): Enhance to support auto-lineup of
20864 assignments & declarations.
20865 (verilog-in-directive-p, verilog-at-struct-p): New function for
20866 easy test of whether we are.
20867 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20868 to support safe execution at almost anyline.
20869 (verilog-calc-1): Properly support indenting deep inside generate
20871 (verilog-init-font): Remove definition & use of verilog-init-font,
20872 as it is redundant with font-lock-defaults.
20873 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20874 to avoid circular calls if syntax-ppss is a function (as is the
20875 case now in 22.x GNU Emacs) as that function would sometimes call
20876 itself, leading to (nearly) infinite recursion.
20877 (verilog-ovm-begin-re, verilog-ovm-end-re)
20878 (verilog-ovm-statement-re, verilog-leap-to-head)
20879 (verilog-backward-token): Add support for OVM macros. Some are
20880 complete statements, and others open and close scopes like begin
20882 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20883 (verilog-defun-level-generate-only-re): Really fix the defun-list
20885 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20886 coverpoint, constraint and cross statements.
20887 (verilog-defun-level-list, verilog-generate-defun-level-list)
20888 (verilog-all-defun-level-list): Redo these specifications - it is
20889 too hard to support eval-when compile aggregation of lists also
20890 built at when-compile time.
20891 (verilog-defun-level-list): Place defconsts of variables used in
20892 building regular expressions which are built in eval-when-compile
20893 bodies in the same eval-when-compile body to facilitate compile
20895 (verilog-beg-block-re-ordered): Support indenting
20896 virtual/protected tasks and functions.
20897 (verilog-defun-level-list, verilog-in-generate-region-p)
20898 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20899 indentation of some module items (generate items).
20900 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20901 across virtual/protected tasks and functions.
20903 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20905 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20906 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20907 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20908 in concatenations. Reported by Yishay Belkind.
20909 (verilog-auto-ascii-enum): Support one-hot state machines in
20910 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20911 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20912 modport in AUTOINST and add vl-modport for users.
20913 Reported by David Rogoff.
20914 (verilog-auto-inout-module, verilog-auto-inst)
20915 (verilog-decls-get-interfaces, verilog-insert-definition)
20916 (verilog-insert-one-definition, verilog-read-decls)
20917 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20918 (verilog-sig-modport, verilog-signals-combine-bus)
20919 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20920 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20921 Suggested by David Rogoff.
20922 (verilog-repair-open-comma): Fix non-insertion of comma when
20923 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20924 (verilog-make-width-expression): Simplify [A-1:0] expression
20925 widths to just {A{1'b0}}.
20926 (verilog-mode): Cleanup checkdoc warnings.
20927 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20928 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20929 inputs/outputs or data type. Suggested by Vasu Kandadi.
20930 (next-error-last-buffer): Fix byte-compiler warning.
20931 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20932 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20933 or shell command text during AUTO expansion. Suggested by Tad Truex.
20934 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20935 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20936 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20937 in AUTOINOUT. Reported by Matthew Lovell.
20938 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20939 causing use of <= assignments. Reported by Alex Reed.
20940 (verilog-read-decls): Fix triand, trior, wand, wor to be
20941 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20942 (verilog-extended-complete-re): Support import "DPI-C" functions.
20943 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20944 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20945 (verilog-insert-date, verilog-insert-year)
20946 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20947 Windows systems. Reported by Michael Potts.
20948 (verilog-read-module-name): Fix AUTOINST when the child module
20949 declaration's name is a tick define. Reported by Elliot Mednick.
20950 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20951 passed to next parameter's definition. Reported by Bruce T.
20952 (verilog-read-decls): Fix detecting "parameter int" when using
20953 AUTOINSTPARAM. Reported by Bruce T.
20954 (verilog-goto-defun): Fix goto not finding modules unless first
20955 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20956 (verilog-mode): Expand -f flag arguments on entry to mode so
20957 verilog-goto-defun will work. Reported by Lawrence Butcher.
20958 (verilog-getopt): Expand environment variables in -f file
20959 arguments. Suggested by Lawrence Butcher.
20960 (verilog-set-define): Fix "Symbol's value as variable is void"
20961 when reading enumerations.
20962 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20963 Suggested by Stephen Peltan.
20964 (verilog-read-defines): Fix reading of enumerations in include
20965 files. Reported by Steve Peltan.
20967 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20969 * files.el (trash-directory): Fix defcustom type.
20971 2009-06-28 Juri Linkov <juri@jurta.org>
20973 * help-fns.el (describe-function-1): Correctly locate adviced
20974 functions in hyperlink (Bug#2438).
20976 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20978 * files.el (trash-directory): Change default to nil.
20979 (move-file-to-trash): If trash-directory is nil and
20980 system-move-file-to-trash is unbound, perform freedesktop-style
20983 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20985 * files.el (move-file-to-trash): Add freedesktop trash
20988 2009-06-28 Glenn Morris <rgm@gnu.org>
20990 * autorevert.el (global-auto-revert-non-file-buffers)
20991 (global-auto-revert-mode): Doc fixes.
20993 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20995 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20997 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20999 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21000 opened an X connection before calling x-get-resource (Bug#3194).
21002 * play/doctor.el: Remove reference to obsolete website.
21003 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21005 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21007 Remove find-file-not-found-hook VC method. (Bug#2757)
21008 * vc-hooks.el (vc-file-not-found-hook)
21009 (vc-default-find-file-not-found-hook): Remove functions.
21010 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21011 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21014 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21016 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21018 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21019 compatibility function for `looking-back'.
21021 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21022 Use `ispell-looking-back'.
21024 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21026 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21027 rather than `filename'.
21029 2009-06-23 Miles Bader <miles@gnu.org>
21031 * face-remap.el (text-scale-set): New function.
21033 2009-06-23 Glenn Morris <rgm@gnu.org>
21035 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21037 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21039 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21041 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21043 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21044 Simplify Persian conditionals.
21046 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21047 variable `filename'.
21049 * comint.el (comint-insert-input): Doc fix.
21051 * Makefile.in (ELCFILES): Fix typo in previous change.
21053 2009-06-23 Miles Bader <miles@gnu.org>
21055 * cus-start.el: Add entry for `recenter-redisplay'.
21057 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21059 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21060 Add an optional argument for the backend, use it instead of
21061 calling vc-backend.
21062 (vc-mode-line): Add an optional argument for the backend.
21063 Pass the backend to vc-state and vc-working-revision. Move code for
21064 special handling for vc-state being a buffer to ...
21066 * vc-rcs.el (vc-rcs-find-file-hook):
21067 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21069 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21070 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21071 vc-stay-local-p and vc-mode-line calls.
21073 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21074 (vc-cvs-diff, vc-cvs-annotate-command)
21075 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21076 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21077 vc-mode-line calls.
21079 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21081 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21082 backend when calling vc-mode-line.
21083 (vc-register): Do not create a closure for calling the vc register
21084 function, call it directly.
21086 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21088 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21089 to make it obvious item can be clicked.
21091 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21093 2009-06-23 Kenichi Handa <handa@m17n.org>
21095 * language/korea-util.el (korean-key-bindings): Change the binding
21096 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21099 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21101 Sync with Tramp 2.1.16.
21103 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21105 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21106 when a loading of a package fails. Completion function for rsync
21107 is `tramp-completion-function-alist-ssh'.
21108 (all): Replace all calls of `split-string' and
21109 `tramp-split-string' by `tramp-compat-split-string'.
21110 (tramp-default-method): Use `tramp-compat-process-running-p'.
21111 (tramp-default-proxies-alist): Allow also Lisp forms.
21112 (tramp-remote-path): Add choice "Private Directories".
21113 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21114 (tramp-domain-regexp): Allow also "-", "_" and ".".
21115 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21116 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21117 (tramp-debug-message): Insert header line in debug buffer.
21118 (tramp-handle-directory-files-and-attributes-with-stat):
21119 Care about filenames with spaces, or starting with "-".
21120 (tramp-handle-dired-uncache): New defun.
21121 (tramp-handle-insert-directory): Don't flush the directory from
21122 cache, this is handled by `dired-uncache' now.
21123 (tramp-handle-insert-file-contents): Improve error handling.
21124 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21125 Quote `tramp-end-of-output'.
21126 (tramp-action-password): Improve trace message.
21127 (tramp-check-for-regexp): Both echoes must be present, before removing.
21128 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21129 (tramp-compute-multi-hops): Eval cons cells of
21130 `tramp-default-proxies-alist'.
21131 (tramp-maybe-open-connection): Use the same command pattern for
21132 first hop and further hops.
21133 (tramp-wait-for-output): Remove handling of newlines.
21134 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21135 (tramp-split-string): Remove function. It is handled in
21138 * net/tramp-cmds.el (tramp-bug):
21139 Recommend `tramp-cleanup-all-connections' in the bug mail.
21141 * net/tramp-compat.el (tramp-compat-split-string)
21142 (tramp-compat-process-running-p): New defuns.
21144 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21145 for `dired-uncache'.
21147 * net/tramp-gvfs.el: New package.
21149 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21150 Add handler for `dired-uncache'.
21151 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21153 * net/trampver.el: Update release number. Make version check fit
21156 2009-06-22 Jim Meyering <meyering@redhat.com>
21158 Automatically handle .xz suffix (XZ-compressed files), too.
21159 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21160 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21162 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21163 Nick Roberts <nickrob@snap.net.nz>
21165 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21166 repository (http://sphinx.net.ru/hg/gdb-mi/).
21168 2009-06-22 Glenn Morris <rgm@gnu.org>
21170 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21171 `mode' and `eval' entries. (Bug#3430)
21173 * Makefile.in (ELCFILES): Add fadr.elc.
21175 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21176 differing behavior of \n and ^ in strings. (Bug#3385)
21178 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21180 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21182 (lisp-indent-function): Make it a defcustom.
21184 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21186 * progmodes/gdb-ui.el: Replace with ...
21187 * progmodes/gdb-mi.el: ... this file.
21188 * progmodes/gud.el: Modify for gdb-mi.el.
21190 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21192 * fadr.el: New file.
21194 See ChangeLog.14 for earlier changes.
21196 ;; Local Variables:
21200 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21202 This file is part of GNU Emacs.
21204 GNU Emacs is free software: you can redistribute it and/or modify
21205 it under the terms of the GNU General Public License as published by
21206 the Free Software Foundation, either version 3 of the License, or
21207 (at your option) any later version.
21209 GNU Emacs is distributed in the hope that it will be useful,
21210 but WITHOUT ANY WARRANTY; without even the implied warranty of
21211 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21212 GNU General Public License for more details.
21214 You should have received a copy of the GNU General Public License
21215 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.