1 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * files.el (file-name-non-special): Only change buffer-file-name after
4 insert-file-contents if it's `visit'ing the file (bug#7854).
6 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
8 * dired.el (dired-revert): Doc fix (Bug#7758).
10 * simple.el (line-move-visual): Doc fix (Bug#7594).
12 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
14 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
15 here-doc which ends with an underscore.
16 (ruby-mode-set-encoding): Skip shebang line always.
17 (ruby-mode-map): Bind C-c C-c to comment-region.
18 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
19 (ruby-forward-sexp): Stop after literal hash key labels.
20 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
23 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
25 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
26 the correct buffer (Bug#7650).
28 2011-01-25 Glenn Morris <rgm@gnu.org>
30 * comint.el (comint-mode): Doc fix. (Bug#7897)
32 * simple.el (do-auto-fill): Give it a doc string.
34 * button.el (make-text-button): Doc fix. (See bug#7881)
36 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
38 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
39 Don't move backward, so as not to fall in an inf-loop (bug#7736).
41 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
42 Handle ?" and friends differently (e.g. don't use backrefs).
44 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
46 * calc/calc.el (calc-default-power-reference-level)
47 (calc-default-field-reference-level): New variables.
48 * calc/calc-units.el (math-standard-units): Add dB and Np.
49 (math-logunits): New variable.
50 (math-extract-logunits, math-logcombine, calcFunc-luplus)
51 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
52 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
54 (math-find-base-units-rec): Add entry for ln(10).
55 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
56 (calc-ul-prefix-help): New function.
57 * calc/calc-ext.el (calc-init-extensions): Autoload new units
58 functions. Add keybindings for new units functions.
60 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr>
62 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
65 2011-01-22 Glenn Morris <rgm@gnu.org>
67 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
68 split out from copyright-update-year.
69 (copyright-update): Don't mess with the GPL version if we don't own the
70 copyright. Update license regexp, and remove no longer needed
72 (copyright-fix-years): Use copyright-find-copyright.
74 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
76 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
78 2011-01-22 Jari Aalto <jari.aalto@cante.net>
80 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
81 (lm): Rename to landmark.
82 (lm-test-run): Rename to landmark-test-run.
84 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
86 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
87 "Case sensitive" menu item.
89 2011-01-22 Roland McGrath <roland@frob.com>
91 * comint.el (comint-replace-by-expanded-history-before-point): Fix
92 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
94 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
96 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
98 2011-01-22 Jari Aalto <jari.aalto@cante.net>
100 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
101 Assume foo(bar) is a manpage reference rather than some unquoted
104 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
106 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
107 Suggested by Flo <sensorflo@gmail.com>.
109 2011-01-22 Glenn Morris <rgm@gnu.org>
111 * progmodes/compile.el (compilation-error-regexp-alist):
112 Fix custom type. (Bug#7812)
114 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
116 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
117 allout-number-siblings, in keeping with what obtained due to
118 (now-defunct) allout-keybindings-list. Ditch repeat binding to
120 (allout-before-change-handler): Better expose spots affected by
123 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
125 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
127 2011-01-22 Phil Hagelberg <phil@evri.com>
129 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
130 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
131 (pcmpl-ssh-config-hosts): New function.
132 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
133 pcmpl-ssh-known-hosts.
135 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
137 * calc/calc-undo.el (calc-undo): Autoload it.
138 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
139 and autoload for `calc-undo'.
140 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
142 * calc/calc-graph.el:
143 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
145 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
147 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
148 keybindings to `calc-undo'.
150 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
152 Don't mess with *temp*.
153 * obsolete/spell.el: Move from textmodes/spell.el.
155 * term.el (term-read-input-ring):
156 * startup.el (display-startup-echo-area-message):
157 * progmodes/antlr-mode.el (antlr-directory-dependencies):
158 * comint.el (comint-read-input-ring): Use with-temp-buffer.
159 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
162 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
164 * allout.el: (allout-institute-keymap): Use fset instead of
167 (allout-hotspot-key-handler): Check for non-control-modified
168 bindings for hotspot characters if there are no control-modified
171 * allout.el: Summary - migrate to defining allout mode using
172 define-minor-mode instead of defun. Significantly clean-up
173 internal keymap provisions, refactoring and, in the process,
174 removing a lot of accumulated cruft.
176 allout-mode-map is now a keymap by virtue of being a defalias to
177 allout-mode-map-value, which contains the actual keymap structure.
179 (allout-mode): Use define-minor-mode rather than defun.
180 Remove now-unnecessary minor-mode setup activities from the body.
181 Specify :keymap as allout-mode-map so the minor-mode-map-alist
182 entry will be '(allout-mode . allout-mode-map) - see
183 allout-mode-map-value, below. Adjust docstring to track changes.
184 (allout-minor-mode): Remove this defalias, now that we're using
186 (allout-mode-map): Set value to be 'allout-mode-map. The actual
187 keymap is allout-mode-map-value, via defalias.
188 (allout-mode-map-value): The variable holding the actual mode
189 keymap structure, by virtue of defalias from allout-mode-map.
190 (allout-compose-and-institute-keymap): Rename from
191 allout-bind-keys, and including the binding-composition
192 functionality of the former produce-allout-mode-map and
193 allout-setup-mode-map.
194 (allout-institute-keymap): Take over the "setup" part of the former
195 allout-setup-mode-map. Reassign allout-mode-map-value value and
197 (allout-command-prefix) (allout-prefixed-keybindings)
198 (allout-unprefixed-keybindings):
199 Use allout-compose-and-institute-keymap to process the bindings.
200 (allout-unprefixed-keybindings): Remove extraneous '?' question
202 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
203 user can customize if they want to use that binding.
204 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
205 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
206 elided that, previously, instead of the one for \C-h.)
207 (allout-hotspot-key-handler): Remove attempt to resolve the key
208 through the literal key-string lookup on allout-keybindings-list.
209 That probably hasn't worked for a Long Time, and removal of
210 allout-keybindings-list further simplifies the keybindings
212 (allout-pre-command-business): Use allout-mode-map-value instead
214 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
215 the bindings if they want to use a keybinding having a trailing
216 \C-h. No deprecation needed since this feature was never in a
218 (allout-keybindings-list): Remove. It's not been useful for a
219 while. (See allout-hotspot-key-handler changes, above.)
220 (produce-allout-mode-map): Remove. Consolidate into
221 allout-compose-and-institute-keymap.
222 (allout-mode-map-adjustments): Remove. No longer necessary with
223 removal of allout-preempt-trailing-ctrl-h.
224 (allout-setup-mode-map): Remove. Consolidate into
225 allout-compose-and-institute-keymap and allout-institute-keymap.
227 2011-01-20 Glenn Morris <rgm@gnu.org>
229 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
231 * simple.el (read-expression-history): Remove, it's in minibuf.c.
233 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
235 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
237 * files.el (find-alternate-file, basic-save-buffer)
238 (basic-save-buffer-2, revert-buffer, recover-file)
239 (kill-buffer-ask, abort-if-file-too-large)
240 (set-visited-file-name, write-file, backup-buffer)
241 (basic-save-buffer, save-some-buffers):
242 * dired-aux.el (dired-compress-file): Callers changed.
244 2011-01-19 Glenn Morris <rgm@gnu.org>
246 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
247 Also check the property status. (Bug#7861)
249 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
251 * net/tramp.el (tramp-debug-message): Extend function exclude
252 list. Use `regexp-opt'.
254 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
256 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
257 highlighting doesn't spill over subsequent lines.
259 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
260 keymap expression. Improve docstring.
262 * electric.el (electric-indent-post-self-insert-function):
263 Don't auto-indent for indent-to-left-margin, it's too often
266 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
268 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
269 spaces if the frame was resized, so that the full visible buffer
270 serves as canvas for strokes.
272 2011-01-16 Glenn Morris <rgm@gnu.org>
274 * info-xref.el (info-xref-docstrings): Replace cl function.
275 Also skip directories.
277 2011-01-16 Kevin Ryde <user42@zip.com.au>
279 * info-xref.el: Version 3.
280 (info-xref-check, info-xref-check-all): Move commentary details
281 into docstrings for better visibility.
282 Use compilation-mode for the results buffer.
283 (info-xref-output, info-xref-output-error, info-xref-with-output)
284 (info-xref-filename, info-xref-in-progress):
285 New internals for this.
286 (info-xref-check-list, info-xref-check-buffer)
287 (info-xref-check-all-custom): Use those.
288 (info-xref-output-buffer): Rename from info-xref-results-buffer.
289 (info-xref-output-heading): Rename from info-xref-filename-heading.
290 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
291 (info-xref-filename-heading): Move to output managing section.
292 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
293 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
294 (info-xref-subfile-p): Move to generic section with those two.
295 (info-xref-check-node): New function split from
296 info-xref-check-buffer, shared by info-xref-docstrings.
297 (info-xref-goto-node-p): Move to a checking section with that func.
298 (info-xref-unavail): New counter.
299 (info-xref-check-node): Use it.
300 (info-xref-with-output): Show count of unavailables at end of output.
301 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
302 symlinks. Exclude .texi files. Exclude Emacs backup files.
303 (info-xref-check-all-custom): Fix quietening viper-mode and
304 gnus-registry-install -- use setq not let so as not to unbind
307 2011-01-16 Juri Linkov <juri@jurta.org>
309 * isearch.el (isearch-abort): Don't quit if search has
310 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
312 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
314 * files.el (backup-buffer): Make last-resort backup file in
317 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
318 make it with permission 700.
320 2011-01-15 Kenichi Handa <handa@m17n.org>
322 * mail/rmailmm.el (rmail-mime-insert-header):
323 Set rmail-mime-coding-system to a cons whose car is the last coding
324 system used to decode the header.
325 (rmail-mime-find-header-encoding): New function.
326 (rmail-mime-insert-decoded-text):
327 Override rmail-mime-coding-system if it is a cons.
328 (rmail-show-mime): If only a header part was decoded, find the
329 coding system while ignoring mm-charset-override-alist.
331 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
333 * subr.el (event-start, event-end): Doc fix (Bug#7826).
335 2011-01-15 Kenichi Handa <handa@m17n.org>
337 * mail/rmailmm.el (rmail-mime-next-item)
338 (rmail-mime-previous-item): Delete them.
339 (rmail-mime-shown-mode): Recursively call for children.
340 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
342 (rmail-mime-raw-mode): Recursively call for children.
343 (rmail-mode-map): Change mapping of tab and backtab to
344 forward-button and backward-button respectively.
345 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
347 (rmail-mime-update-tagline): New function.
348 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
349 body display is changed.
350 (rmail-mime-toggle-button): Rename from rmail-mime-image.
351 (rmail-mime-image): Delete this button type.
352 (rmail-mime-toggle): New button type.
353 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
354 body display is changed. Change the save button label to "Save".
355 Don't process show/hide button here.
356 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
357 the body display is changed. Unconditionally call
358 rmail-mime-insert for children.
359 (rmail-mime-handle): Update `display' vector of the just inserted
361 (rmail-mime-process): If mail-header-parse-content-type returns
362 nil, use "text/plain" as the fallback type.
363 (rmail-mime-insert): For raw-mode, recursively call
364 rmail-mim-insert for children.
365 (rmail-mime): Handle the case that the current buffer is not rmail
366 buffer (e.g. in summary buffer).
368 2011-01-15 Kenichi Handa <handa@m17n.org>
370 * mail/rmailmm.el (rmail-mime-next-item)
371 (rmail-mime-previous-item): Skip the body of a non-multipart
372 entity if a tagline is shown.
374 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
376 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
377 (tmm-prompt): Simplify.
378 (tmm-add-prompt): Remove unused var `win'.
380 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
381 to minor mode which used nil accidentally to mean "turn off".
383 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
385 * net/tramp-sh.el (tramp-find-inline-compress)
386 (tramp-get-inline-coding): Quote command after pipe symbol for
387 local calls under W32. (Bug#6784)
389 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
391 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
392 only when running under W32.
394 2011-01-15 Eli Zaretskii <eliz@gnu.org>
396 * progmodes/grep.el (grep-compute-defaults): Quote the program
397 file name after the pipe symbol in Grep templates. (Bug#6784)
398 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
400 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
402 * buff-menu.el (Buffer-menu-buffer-list): New var.
403 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
404 restricted buffer list is not lost on revert (Bug#7749).
406 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
408 * net/ldap.el (ldap-search-internal): Discard stderr output.
410 2011-01-15 Eli Zaretskii <eliz@gnu.org>
412 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
414 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
416 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
418 2011-01-15 Kenichi Handa <handa@m17n.org>
420 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
421 part as a plain text.
422 (rmail-mime-process-multipart): Set the default content-type to
423 nil for unknown multipart subtypes (bug#7651).
425 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
427 * hexl.el (hexl-mode-old-*): Remove.
428 (hexl-mode--old-var-vals): New var to replace them.
429 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
430 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
431 Use them to set local vars (bug#7846).
432 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
433 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
434 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
436 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
437 (smerge-resolve--normalize-re): New var.
438 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
439 (smerge-resolve): Use them.
440 * newcomment.el (comment-only-p): New function.
441 (comment-or-uncomment-region): Use it.
443 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
445 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
446 table, get the value before switching to the output buffer. (Bug#7733)
448 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
450 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
452 2011-01-14 Kim F. Storm <storm@cua.dk>
454 * emulation/cua-base.el (cua--init-keymaps):
455 Remap exchange-point-and-mark in cua-global-keymap.
457 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
459 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
462 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
464 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
466 (easy-menu-create-menu, easy-menu-convert-item-1):
467 Use :label rather than nil for labels. Use `case'.
468 Add :enable as alias for :active.
469 (easy-menu-binding): Obey :label.
471 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
473 Use run-mode-hooks for major mode hooks (bug#513).
474 * textmodes/reftex-toc.el (reftex-toc-mode-map):
475 Rename from reftex-toc-map.
476 (reftex-toc-mode): Use define-derived-mode.
477 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
478 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
479 Rename from reftex-select-(label|bib)-map. Move init into declaration.
480 (reftex-select-label-mode, reftex-select-bib-mode):
481 Use define-derived-mode.
482 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
483 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
484 Move init into delcaration.
485 (reftex-index-mode, reftex-index-phrases-mode):
486 Use define-derived-mode.
487 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
488 speedbar-syntax-table. Move init into declaration.
489 (speedbar-mode-map): Rename from speedbar-key-map.
490 Move init into declaration.
491 (speedbar-file-key-map): Move init into declaration.
492 (speedbar-mode): Use define-derived-mode.
493 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
494 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
495 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
496 (chart-face-list): Move initialization into declaration.
497 (chart-mode): Use define-derived-mode.
498 * calculator.el (calculator-mode-map): Move init into declaration.
499 (calculator-mode): Use define-derived-mode.
501 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
502 work for nested comments.
504 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
505 (prolog-use-prolog-tokenizer-flag): Change default when
506 syntax-propertize can be used.
507 (prolog-syntax-propertize-function): New var.
508 (prolog-mode-variables): Move make-local-variable into `set'.
509 Don't make comment-column local since we don't set it.
510 Set comment-add (as it was in previous prolog.el). Use dolist.
511 Set syntax-propertize-function.
512 (prolog-mode, prolog-inferior-mode):
513 Call prolog(-inferior)-menu directly, not through the mode-hook.
514 (prolog-buffer-module, prolog-indent-level)
515 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
516 (prolog-comment-limits, prolog-goto-comment-column):
517 Use line-(end|beginning)-position.
518 (prolog-build-prolog-command): Tighten up regexp.
519 (prolog-consult-compile): Move make-local-variable into `set'.
520 (prolog-consult-compile-filter, prolog-goto-next-paren)
521 (prolog-help-on-predicate, prolog-clause-info)
522 (prolog-mark-predicate): Don't let+setq.
523 (prolog-indent-line): Use indent-line-to.
524 Only call prolog-goto-comment-column if necessary.
525 (prolog-indent-level): Use bobp.
526 (prolog-first-pos-on-line): Remove, not used any more.
527 (prolog-in-string-or-comment): Use syntax-ppss if available.
528 (prolog-help-on-predicate): Use read-string.
529 (prolog-goto-predicate-info): Simplify.
530 (prolog-read-predicate): Use `default' rather than `initial'.
531 (prolog-temporary-file): Use make-temp-file to close a security hole.
532 (prolog-toggle-sicstus-sd): New command.
533 (prolog-electric-underscore, prolog-variables-to-anonymous):
534 Use dynamic-scoping as it was meant.
535 (prolog-menu): Move menu definitions to top-level.
536 Use a toggle-button for Sicstus's source debugger.
537 Change "Code" to the more usual "Prolog", and hence change "Prolog"
539 (prolog-inferior-menu): Reuse prolog-menu's help menu.
540 Move other menu definition to top-level.
542 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
544 * doc-view.el (doc-view-open-text): Use meaningful text buffer
545 name. Keep original document's directory as default-directory
547 (doc-view-initiate-display): Fall back to normal mode when
548 doc-view-mode cannot be enabled, also when extracting the document
549 text into a separate buffer (bug#6446).
551 * simple.el (shell-command): Don't error out if shell command
552 buffer contains text with non-nil read-only property when erasing
555 2011-01-13 Kim F. Storm <storm@cua.dk>
557 * ido.el (ido-may-cache-directory): Move "too-big" check later.
558 (ido-next-match, ido-prev-match): Fix stray reordering of matching
559 items when cycling through the matches.
561 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
563 * dired-x.el (dired-omit-verbose): New defcustom that allows
564 disabling the omit messages.
565 (dired-omit-expunge): Use it.
567 2011-01-13 Christian Ohler <ohler@gnu.org>
569 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
571 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
573 * font-lock.el (font-lock-verbose): Default to nil.
575 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
577 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
578 (compose-mail): New arg RETURN-ACTION.
579 (compose-mail-other-window, compose-mail-other-frame): Likewise.
581 * mail/sendmail.el (mail-return-action): New var.
582 (mail-mode): Make it buffer-local.
583 (mail-bury): Obey it. Move special Rmail window handling to
585 (mail, mail-setup): New arg RETURN-ACTION.
586 (sendmail-user-agent-compose): Move from simple.el.
588 * mail/rmail.el (rmail-mail-return): New function.
589 (rmail-start-mail): Pass it to compose-mail.
591 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
593 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
594 menus. Add menu item for customize-themes.
596 * cus-theme.el (customize-themes):
597 * emacs-lisp/package.el (package--list-packages):
598 Use switch-to-buffer.
600 2011-01-11 Johan Bockgård <bojohan@gnu.org>
602 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
604 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
606 * progmodes/prolog.el: Fix up coding convention and such.
607 (prolog-indent-width): Use the same default as in
608 previous prolog.el rather than tab-width which depends on which buffer
609 is current when the file is loaded.
610 (prolog-electric-newline-flag): Only enable if electric-indent-mode
612 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
613 (prolog-known-systems): Remove.
614 (prolog-mode-syntax-table, prolog-inferior-mode-map):
615 Move initialization into declaration.
616 (prolog-mode-map): Move initialization into declaration.
617 Remove system-specific mode-map vars, since they referred to the same
619 (prolog-mode-variables): Obey the user's preference w.r.t
620 adaptive-fill-mode. Prefer symbol-value to `eval'.
621 (prolog-mode-keybindings-edit): Add compatibility bindings.
622 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
623 (mercury-mode-map): New var.
624 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
625 (prolog-ensure-process, prolog-process-insert-string)
626 (prolog-consult-compile): Use with-current-buffer.
627 (prolog-guess-fill-prefix): Simplify data flow.
628 (prolog-replace-in-string): New function to use instead of
630 (prolog-enable-sicstus-sd): Don't abuse `eval'.
631 (prolog-uncomment-region): Use `uncomment-region' when available.
632 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
633 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
634 of int-to-char and char-to-int.
635 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
637 2011-01-11 Stefan Bruda <stefan@bruda.ca>
639 * progmodes/prolog.el: Replace by a whole new file.
641 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
643 * subr.el (eval-after-load): Fix timing for features (bug#7769).
644 (declare-function, undefined, insert-for-yank)
645 (replace-regexp-in-string): Follow checkdoc's recommendations.
647 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
649 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
650 refreshing the diary buffer.
652 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
654 * allout.el: Add 2011 to the file copyright.
655 (allout-encrypt-string): Prevent encryption from adding an extra
656 newline at the end of the topic body.
657 (allout-version): Increment to 2.3.
659 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
661 * net/dbus.el (dbus-unregister-service): Complete doc.
662 Fix call of dbus-error signal.
663 (dbus-register-property): Use `dont-register' keyword.
665 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
667 * net/dbus.el (dbus-unregister-service): Translate returned
668 integer into a symbol.
669 (dbus-register-property): Use `dbus-register-service' to do the
672 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
674 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
675 Suggested by Joakim Verona.
677 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
679 * wid-edit.el (visibility): Replace :on-image and :off-image
680 widget properties with :on-glyph and :off-glyph, for consistency
681 with the `visibility' widget.
682 (widget-toggle-value-create, widget-visibility-value-create):
683 Merge into a single function `widget-toggle-value-create'.
685 * cus-edit.el (custom-variable-value-create, custom-visibility)
686 (custom-face-edit-value-create, custom-face-value-create):
687 Replace :on-image and :off-image widget properties with :on-glyph and
688 :off-glyph, for consistency with the `visibility' widget.
690 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
692 * net/ldap.el (ldap-search-internal): Don't use eval.
694 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
696 * subr.el (read-char-choice): Use read-key.
698 * custom.el (custom-safe-themes): Rename from
699 custom-safe-theme-files. Add :risky tag.
700 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
701 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
703 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
705 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
706 from Search and add a label to Undo.
708 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
709 inappropriate buttons and adding :vert-only tags.
711 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
712 removal of Help tool-bar button. Remove Undo button for space.
714 * info.el (info-tool-bar-map): Add :vert-only tags.
716 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
718 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
719 image backend support. Either of them is fine.
721 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
723 * subr.el (y-or-n-p): Doc fix.
725 * custom.el (custom-safe-theme-files): New defcustom.
726 (custom-theme-load-confirm): New function.
727 (load-theme): Load theme using `load', confirming with
728 custom-theme-load-confirm if necessary.
730 * subr.el (read-char-choice): New function, factored out from
731 dired-query and hack-local-variables-confirm.
733 * dired-aux.el (dired-query):
734 * files.el (hack-local-variables-confirm): Use it.
736 * dired-aux.el (dired-compress-file):
737 * files.el (abort-if-file-too-large, find-alternate-file)
738 (set-visited-file-name, write-file, backup-buffer)
739 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
740 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
741 Use new format string args for y-or-n-p and yes-or-no-p.
743 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
745 * progmodes/compile.el (compilation-error-regexp-alist-alist)
746 [gcc-include]: Tighten file name match, add match for column
748 [gnu]: Remove unused group.
750 2011-01-08 Glenn Morris <rgm@gnu.org>
752 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
754 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
756 2011-01-07 Sam Steingold <sds@gnu.org>
758 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
759 the `explicit-shell-file-name' because that is the
760 non-interactive shell.
762 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
764 * subr.el (y-or-n-p): Accept format string args.
766 2011-01-07 Glenn Morris <rgm@gnu.org>
768 * Makefile.in (EMACSOPT): Add --no-site-lisp.
770 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
772 * allout.el (allout-back-to-current-heading): Ensure return to
773 the visible containing topic, rather than a collapsed one.
774 (allout-view-change-hook): Remove hook that was deprecated long ago.
775 (allout-exposure-change-hook): Remove documentation remarks
776 concerning removed allout-view-change-hook.
777 (allout-flag-region): Remove invocation of and documentation
778 remarks concerning allout-view-change-hook.
780 2011-01-06 Glenn Morris <rgm@gnu.org>
782 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
783 (vc-bzr-annotate-extract-revision-at-line):
784 Handle authors with embedded spaces. (Bug#7792)
786 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
788 * doc-view.el (doc-view-image-width): New variable.
789 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
790 backend for PNG images, and do dynamic rescaling instead of
791 reconverting the whole doc.
793 2011-01-05 Glenn Morris <rgm@gnu.org>
795 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
797 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
799 * allout.el: Reconcile with changes in line movement behavior for
800 long text lines that cross more than a single physical window
801 line, ie when truncate-lines is nil.
802 (allout-next-visible-heading): Provide for change in line-move
803 behavior on long lines when truncate-lines is nil. In that case,
804 line-move can wind up on the same textual line when it moves to
805 the next window line, and moving to the bullet position after the
806 move yields zero advancement. Add logic to detect and compensate
807 for the lack of progress.
808 (allout-current-topic-collapsed-p): move-end-of-line respect for
809 field boundaries is different when operating with body lines
810 shorter than window width versus ones greater than window width,
811 which can yield false negatives in this function. Avoid
812 difference by applying move-end-of-line while field-text-motion is
815 2011-01-04 Glenn Morris <rgm@gnu.org>
817 * textmodes/rst.el (rst-compile-toolsets):
818 Add pdf and s5 to option alist.
820 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
822 * net/dbus.el (dbus-register-property): Add optional parameter
823 dont-register-service. Updated docstring accordingly.
825 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
827 * textmodes/rst.el (rst-compile-pdf-preview)
828 (rst-compile-slides-preview): Remove extra line.
830 2011-01-04 Glenn Morris <rgm@gnu.org>
832 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
833 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
834 default to `prog' without a .py extension.
835 (rst-compile-pdf-preview, rst-compile-slides-preview):
836 Use program names from rst-compile-toolsets, rather than hard-coding.
837 (rst-portable-mark-active-p): Fix presumed typo.
839 2011-01-02 Eli Zaretskii <eliz@gnu.org>
841 * term/w32-win.el (dynamic-library-alist): Set up correctly for
842 libpng versions both before and after 1.4.0. (Bug#7716)
844 2011-01-02 Eli Zaretskii <eliz@gnu.org>
846 * time.el (display-time-mode): Mention display-time-interval in
847 the doc string. (Bug#7713)
849 2011-01-02 Kenichi Handa <handa@m17n.org>
851 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
852 condition-case and return an error message string if something
854 (rmail-show-mime): Adjust for the above change. Insert the
855 header by rmail-mime-insert-header.
857 2011-01-02 Kenichi Handa <handa@m17n.org>
859 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
860 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
861 (rmail-mime-mbox-buffer)
862 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
863 (rmail-mime-entity): Argument changed. All codes handling an
864 entity object are changed.
865 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
867 (rmail-mime-entity-children, rmail-mime-entity-handler)
868 (rmail-mime-entity-tagline): New functions.
869 (rmail-mime-message-p): New function.
870 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
871 (rmail-mime-entity-segment, rmail-mime-next-item)
872 (rmail-mime-previous-item, rmail-mime-shown-mode)
873 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
874 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
875 (rmail-mime-insert-tagline, rmail-mime-insert-header):
877 (rmail-mime-text-handler): Call rmail-mime-insert-text.
878 (rmail-mime-insert-decoded-text): New function.
879 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
880 (rmail-mime-insert-image): Argument changed. Caller changed.
881 (rmail-mime-image): Call rmail-mime-toggle-hidden.
882 (rmail-mime-set-bulk-data): New funciton.
883 (rmail-mime-insert-bulk): Argument changed.
884 (rmail-mime-multipart-handler): Return t.
885 (rmail-mime-process-multipart): Argument changed.
886 Handle "multipart/alternative" here.
887 (rmail-mime-process): Argument changed.
888 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
889 (rmail-mime-insert): Argument changed. Handle raw display mode.
890 (rmail-mime): Argument changed. Handle toggling of raw display
892 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
893 rmail-mime-view-buffer.
894 (rmail-insert-mime-forwarded-message): Likewise.
895 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
897 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
898 non-nil, handle the header in rmail-show-mime-function.
900 2011-01-02 Leo <sdl.web@gmail.com>
902 * help-fns.el (describe-variable): Fix previous change.
904 2011-01-02 Juri Linkov <juri@jurta.org>
906 * isearch.el (isearch-lazy-highlight-error): New variable.
907 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
908 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
909 to the current value of `isearch-error' (Bug#7468).
911 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
913 * help-fns.el (describe-variable): Don't emit trailing whitespace
916 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
918 * textmodes/rst.el (rst-compile-pdf-preview)
919 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
921 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
923 * emulation/edt-mapper.el: Override mapping of function keys so
924 that the later call to read-key-sequence works.
926 2011-01-02 Eli Zaretskii <eliz@gnu.org>
928 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
929 Unix EOLs. (Bug#7589)
931 2011-01-02 Leo <sdl.web@gmail.com>
933 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
934 if point is not behind eshell-last-output-end (Bug#7585).
936 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
938 * files.el (file-local-variables-alist):
939 Make permanent-local (bug#7767).
941 2011-01-02 Glenn Morris <rgm@gnu.org>
943 * version.el (emacs-copyright): Set short copyright year to 2011.
945 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
947 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
948 an existing temp buffer. (Bug#7746)
950 2011-01-02 Glenn Morris <rgm@gnu.org>
952 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
953 multiple addresses. (Bug#7760)
955 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
957 * allout.el (allout-auto-fill): Do not infinitely recurse - use
958 do-auto-fill if everything points back to allout-auto-fill.
959 (allout-mode-deactivate-hook): Declare obsolete, in favor of
960 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
962 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
964 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
967 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
969 * doc-view.el (doc-view-set-doc-type): New function refactored
971 (doc-view-fallback-mode): New function.
972 (doc-view-mode): Use it.
973 (doc-view-mode-maybe): New function that checks if doc-view-mode
974 can be used and falls back to the next best mode otherwise.
976 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
977 DVI, OpenDocument, and MS Office files.
979 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
981 * emacs-lisp/rx.el (rx-syntax): Fix typo.
983 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
985 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
986 on a copy of auto-mode-alist, because that deletes with side
989 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
991 * doc-view.el (doc-view-mode, doc-view-toggle-display):
992 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
993 fallback instead of hard coding fundamental mode.
995 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
997 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
998 Office) files also for searching.
1000 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1002 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1003 Office) files. Not yet enabled via auto-mode-list.
1004 (doc-view-unoconv-program): New custom variable.
1005 (doc-view-mode-p): Handle new odf document type.
1006 (doc-view-odf->pdf): New conversion function.
1007 (doc-view-convert-current-doc): Call it for odf files.
1008 (doc-view-mode): Recognize newly supported file extensions.
1010 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1012 * net/tramp.el (tramp-default-method-alist)
1013 (tramp-default-user-alist)
1014 (tramp-local-host-regexp, tramp-prefix-domain-format)
1015 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1018 * net/tramp-gvfs.el:
1020 * net/tramp-imap.el:
1022 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1023 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1025 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1027 * saveplace.el (save-place-alist-to-file): Save list sorted and
1028 pretty-printed, so that it is mergeable by line-based text merging,
1029 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1031 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1033 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1034 (allout-mode): Argument "toggle" => "force".
1035 Refine the docstring.
1036 Remove special provisions for reactivation, besides the 'force'
1038 Consolidate layout provisions coce directly into the activation
1039 condition branch, now that we've removed those provisions.
1040 (allout-unload-function): Explicitly activate the mode before
1041 deactivating, if it's initially deactivated.
1042 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1043 warnings for version of function used only where
1044 set-buffer-multibyte is unavailable.
1046 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1048 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1049 are handled by the menu-bar entries. As before, don't use
1050 :visibile to avoid changing the tool-bar.
1052 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1054 * net/secrets.el (secrets-delete-alias): New defun.
1056 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1058 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1059 methods, otherwise ~/.ssh/config would be ignored.
1061 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * emacs-lisp/rx.el: Make it a superset of sregex.
1064 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1065 of args, add `regex' alias.
1066 (rx-info): Add arg to distinguish head and standalone forms.
1067 (rx-check, rx-form): Pass the corresponding arg.
1069 (rx-repeat): Make it work for any number of args.
1070 (rx-syntax): Make it accept syntax chars as is.
1071 * obsolete/sregex.el: Move from emacs-lisp/.
1072 * emacs-lisp/re-builder.el: Remove sregex support.
1073 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1075 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1077 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1078 PRIMARY first, then the clipboard. (Bug#7699)
1080 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1085 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1087 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1088 .emacs.elc (Bug#7530).
1090 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1091 image spec (Bug#7480).
1093 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1095 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1096 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1099 2010-12-20 Leo <sdl.web@gmail.com>
1101 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1102 always be performed (Bug#7680).
1104 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1106 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1107 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1110 * color.el: Move from gnus/.
1112 * vc/diff.el (diff-better-file-name): Function deleted.
1113 abbreviating file names causes problems with shell-quote-argument.
1114 (diff-no-select): Just use expand-file-name.
1116 * tool-bar.el (tool-bar--image-expression): New function.
1117 (tool-bar-local-item, tool-bar--image-exp): Use it.
1118 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1119 Use :enable instead of :visible to avoid changing the tool-bar
1120 configuration unnecessarily.
1122 * info.el (info-tool-bar-map): Add separators.
1124 2010-12-17 Ken Brown <kbrown@cornell.edu>
1126 * loadup.el: Use version numbers in Cygwin build.
1128 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1130 * ido.el (ido-file-internal): Ask for confirmation before
1131 overwriting an existing file (Bug#1238).
1133 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1135 * tool-bar.el (tool-bar-setup): Add separators.
1137 * menu-bar.el (featurep): Use menu-bar-separator.
1139 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1141 Migrate allout encryption provisions from pgg to epg.
1143 * allout.el (allout-toggle-current-subtree-encryption)
1144 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1145 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1146 for simpler universal argument interpretation.
1147 (allout-toggle-subtree-encryption): Adjust docstring to describe
1148 changed encryption provisions. Change fetch-pass to keymode-cue, for
1149 simpler universal argument interpretation. Remove provisions for
1150 handling key type and identity - they'll all be within
1151 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1152 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1153 for keypair recipients (universal argument > 1) and, in addition,
1154 associating the specified recipients with the outline (universal
1155 argument > 4) using a file local variable setting for
1156 'epa-file-encrypt-to'.
1157 Require epa, for recipients handling.
1158 Change how regexp filtering elements are named.
1159 Describe the problem with caching of incorrect symmetric-decryption
1161 Use the epa-passphrase-callback-function, in case the user is using
1163 Support saving of the selected keypair recipients when invoked with a
1165 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1167 Establish epg-context with armoring and default epg-protocol.
1168 Remove all passphrase cache, verification, and hinting code.
1169 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1170 No longer used, delete.
1171 (allout-mode): Adjust docstring to describe changed encryption
1172 provisions. Describe the problem with caching of incorrect
1173 symmetric-decryption keys.
1174 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1175 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1176 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1177 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1180 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1182 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1183 key selection prompt; make 'silent as default (Bug#7487).
1185 2010-12-16 Leo <sdl.web@gmail.com>
1187 * eshell/eshell.el (eshell-directory-name):
1188 Use locate-user-emacs-file (Bug#7578).
1190 2010-12-15 Glenn Morris <rgm@gnu.org>
1192 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1194 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1195 Scott Evans <gse@antisleep.com>
1197 * rect.el (rectange--default-line-number-format)
1198 (rectangle-number-line-callback): New functions.
1199 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1201 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1203 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1204 Delete unused variables.
1205 (move-to-column-force): Remove function obsolete since 21.2.
1207 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1209 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1210 (tramp-handle-insert-file-contents): Do not set permanent-local
1213 * net/tramp-cache.el (tramp-persistency-file-name):
1214 Use `locate-user-emacs-file' if fboundp.
1216 * net/tramp-sh.el (tramp-methods): Add "ksu".
1217 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1220 2010-12-14 Glenn Morris <rgm@gnu.org>
1222 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1223 (find-tag-marker-ring): Declare.
1224 (js-find-symbol): Require etags.
1226 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1228 (mail-alias-file): Don't autoload. Doc fix.
1229 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1230 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1231 Mark as obsolete, and risky.
1232 (mail-setup): Simplify.
1234 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1235 * mail/sendmail.el (build-mail-aliases): Update autoload.
1237 * dired.el (dired-trivial-filenames, dired-chown-program)
1238 (dired-auto-revert-buffer): Remove autoload cookies.
1239 * mail/sendmail.el (mail-recover-1): Require 'dired.
1241 * dired.el (dired-subdir-switches, dired-chown-program)
1242 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1243 Make into defcustoms.
1244 (dired-chown-program): Simplify initialization.
1246 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1248 2010-12-13 Romain Francoise <romain@orebokech.com>
1250 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1252 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1254 * net/netrc.el (netrc-point-at-eol): Remove the unused
1255 netrc-point-at-old and netrc-bound-and-true-p bindings.
1256 (netrc-parse): Cache the netrc contents.
1258 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1260 * subr.el (posn-col-row): Evaluate header-line-format in the
1261 context of the POSITION window's buffer.
1263 2010-12-13 Glenn Morris <rgm@gnu.org>
1265 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1266 (with-silent-modifications): Doc fixes.
1268 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1270 * net/tramp.el (tramp-action-password, tramp-process-actions):
1271 Revert previous from. Use `save-restriction'.
1273 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1275 * calendar/diary-lib.el (diary-list-sexp-entries):
1276 Handle case of no newline at end of file. (Bug#7536)
1278 2010-12-13 Glenn Morris <rgm@gnu.org>
1280 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1282 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1284 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1285 (tramp-process-actions): Do not widen.
1287 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1288 Protect buffer-modified value. (Bug#7557)
1290 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1292 * log-edit.el (log-edit-changelog-entries):
1293 Regexp quote filename. (Bug#7505)
1295 2010-12-13 Tom Breton <tehom@panix.com>
1297 * cus-edit.el (custom-save-all):
1298 Bind print-length and print-level to nil. (Bug#7581)
1300 2010-12-13 Glenn Morris <rgm@gnu.org>
1302 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1303 Run hooks to update menu contents. (Bug#7586)
1305 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1306 file names, for the sake of MS Windows. (Bug#7588)
1308 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1311 empty lines without a leading space.
1313 2010-12-13 Leo <sdl.web@gmail.com>
1315 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1316 while mapping over marks (Bug#6810).
1318 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1320 * image-dired.el (image-dired-db-file)
1321 (image-dired-temp-image-file, image-dired-gallery-dir)
1322 (image-dired-temp-rotate-image-file): Set default values relative
1323 to image-dired-dir (Bug#7518).
1325 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1327 * format.el (format-decode-run-method): Pass args FROM and TO, not
1328 point-min and point-max, to shell-command-on-region (Bug#7488).
1330 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1332 * frame.el (blink-cursor-mode): Make default t for ns.
1334 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1336 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1338 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1340 * comint.el (comint-dynamic-list-input-ring)
1341 (comint-dynamic-complete-filename)
1342 (comint-replace-by-expanded-filename)
1343 (comint-dynamic-simple-complete)
1344 (comint-dynamic-list-filename-completions)
1345 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1347 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1350 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1352 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1355 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1357 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1360 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1362 * files.el (file-relative-name): Handle UNC file names on
1363 DOS/Windows. (Bug#4674)
1365 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1367 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1368 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1369 (epg-context-set-passphrase-callback): Mention that the callback
1370 is not called when used with GnuPG 2.x.
1372 2010-12-13 Glenn Morris <rgm@gnu.org>
1374 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1375 Ensure ps-footer-font-size-internal is initialized.
1376 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1378 2010-12-13 Kenichi Handa <handa@m17n.org>
1380 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1381 within condition-case.
1382 (rmail-show-mime): Don't use condition-case.
1383 (rmail-search-mime-message): New function.
1384 (rmail-search-mime-message-function): Set to
1385 rmail-search-mime-message.
1387 2010-12-13 Leo <sdl.web@gmail.com>
1389 * ido.el (ido-common-initialization): New function. (bug#3274)
1391 (ido-completing-read): Call it.
1393 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1395 * bookmark.el (bookmark-name-from-full-record): Rename back to
1396 this original name from `bookmark-name-from-record' reverting part
1397 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1398 As Drew Adams pointed out, there was no reason to cause churn for
1399 third-party callers.
1401 2010-12-12 Alan Mackenzie <acm@muc.de>
1403 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1404 template arglist, check that the current language supports this.
1406 2010-12-11 Glenn Morris <rgm@gnu.org>
1408 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1409 state of the file matches. (Bug#7544)
1410 (vc-bzr-register, vc-bzr-checkin)
1411 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1412 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1414 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1416 2010-12-11 Karel Klíč <kklic@redhat.com>
1418 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1420 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1422 Derive from prog-mode, use derived-mode-p, and fix up various
1423 minor style issues in lisp/progmodes.
1425 * progmodes/vhdl-mode.el (vhdl-mode):
1426 * progmodes/verilog-mode.el (verilog-mode):
1427 * progmodes/vera-mode.el (vera-mode):
1428 * progmodes/sql.el (sql-mode):
1429 * progmodes/scheme.el (scheme-mode):
1430 * progmodes/perl-mode.el (perl-mode):
1431 * progmodes/octave-inf.el (inferior-octave-mode):
1432 * progmodes/autoconf.el (autoconf-mode):
1433 * progmodes/m4-mode.el (m4-mode):
1434 * progmodes/inf-lisp.el (inferior-lisp-mode):
1435 * progmodes/idlwave.el (idlwave-mode):
1436 * progmodes/icon.el (icon-mode):
1437 * progmodes/idlw-help.el (idlwave-help-mode):
1438 * progmodes/dcl-mode.el (dcl-mode):
1439 * progmodes/idlw-shell.el (idlwave-shell-mode):
1440 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1441 (ebrowse-member-mode, ebrowse-electric-position-mode):
1442 Use define-derived-mode.
1444 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1445 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1446 (xscheme-debugger-mode-p, xscheme-send-string-1):
1447 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1448 (tcl-load-file, tcl-restart-with-file):
1449 * progmodes/ps-mode.el (ps-run-running):
1450 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1451 * progmodes/js.el (js--get-all-known-symbols):
1452 * progmodes/inf-lisp.el (inferior-lisp-proc):
1453 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1454 (idlwave-template, idlwave-update-buffer-routine-info)
1455 (idlwave-update-current-buffer-info)
1456 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1457 (idlwave-scan-class-info, idlwave-fix-keywords)
1458 (idlwave-list-buffer-load-path-shadows):
1459 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1460 (idlwave-toolbar-remove):
1461 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1462 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1463 (idlwave-shell-menu-def):
1464 * progmodes/idlw-complete-structtag.el
1465 (idlwave-prepare-structure-tag-completion):
1466 * progmodes/gud.el (gud-set-buffer):
1467 * progmodes/f90.el (f90-backslash-not-special):
1468 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1470 * progmodes/xscheme.el (xscheme-start)
1471 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1472 * progmodes/which-func.el (which-function):
1473 * progmodes/vhdl-mode.el (vhdl-set-style):
1474 * progmodes/verilog-mode.el (verilog-set-compile-command)
1475 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1476 (verilog-set-define, verilog-auto-reeval-locals):
1477 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1478 * progmodes/simula.el (simula-mode):
1479 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1480 * progmodes/python.el (python-check, python-mode):
1481 * progmodes/prolog.el (prolog-mode-variables):
1482 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1483 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1484 * progmodes/delphi.el (delphi-mode):
1485 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1486 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1487 (c-font-lock-init): Move make-local-variable to their setq.
1489 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1490 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1492 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1493 (sh-set-shell): Don't set require-final-newline since it's already done
1495 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1496 since we never set it.
1497 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1498 Use read-string and standard prompt.
1499 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1500 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1501 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1502 (meta-common-mode-map): Rename from meta-mode-map.
1503 Remove C-m binding, which is a user preference, not mode specific.
1504 (meta-common-mode): New major mode; replace meta-common-initialization.
1505 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1506 around with font-lock.
1507 * progmodes/etags.el (select-tags-table-mode):
1508 Derive from special-mode.
1509 * progmodes/octave-mod.el (octave-mode):
1510 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1511 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1512 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1513 Let define-derived-mode do its job.
1514 * progmodes/cpp.el (cpp-edit-mode-map):
1515 Move initialization into declaration.
1516 (cpp-edit-mode): Use define-derived-mode.
1517 (cpp-edit-load): Use derived-mode-p.
1518 * progmodes/mixal-mode.el (mixal-mode):
1519 * progmodes/f90.el (f90-mode):
1520 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1521 require-final-newline since prog-mode does it already.
1522 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1523 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1524 * progmodes/antlr-mode.el: Require cc-mode upfront.
1525 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1527 (antlr-directory-dependencies, antlr-show-makefile-rules):
1529 (antlr-language-option): Don't assume point-min==1.
1530 (antlr-mode): Use define-derived-mode.
1531 * progmodes/ada-mode.el: Use derived-mode-p.
1532 (ada-mode): Use define-derived-mode.
1533 Use hack-local-variables-hook.
1535 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1538 (texinfo-mode): Don't disable adaptive-fill-mode.
1539 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1540 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1541 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1542 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1543 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1544 (texinfo-insert-@quotation, texinfo-insert-@samp)
1545 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1546 (texinfo-insert-@uref): Use define-skeleton.
1547 (texinfo-insert-@-with-arg): Delete.
1549 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1551 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1552 nil, do quote archive member names. (Bug#6144)
1554 2010-12-10 Glenn Morris <rgm@gnu.org>
1556 * files.el (diff-no-select): Declare.
1558 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1559 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1561 * comint.el (comint-input-ring-file-name): Doc fix.
1563 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1565 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1567 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1568 Use them instead of `nil' and `>', respectively.
1569 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1571 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1572 and menu-bar-positive-p instead of `nil' and `>', respectively.
1575 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1577 * whitespace.el (whitespace-newline-mode): Code fix.
1579 2010-12-09 Glenn Morris <rgm@gnu.org>
1581 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1582 Rename functions without commas, update callers.
1584 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1586 * whitespace.el (whitespace-cleanup-region):
1587 Clean up spaces before tabs. (Bug#7582)
1589 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1591 * bookmark.el: Adjust parameter names and doc strings to resolve
1592 confusion over whether "bookmark" meant a bookmark name or a
1593 bookmark record. Along the way, shorten one function's name for
1594 similar reasons. (Issue #7548)
1595 (bookmark-name-from-record): New name for
1596 `bookmark-name-from-full-record'. All callers changed.
1597 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1598 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1599 (bookmark-get-annotation, bookmark-set-annotation)
1600 (bookmark-get-filename, bookmark-set-filename)
1601 (bookmark-get-position, bookmark-set-position)
1602 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1603 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1604 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1605 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1606 Rename `bookmark' parameter to `bookmark-name-or-record', to
1607 clearly show its role, and shorten or adjust doc strings accordingly.
1608 (bookmark-set-name): Same, and pass the parameter directly to
1609 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1610 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1611 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1612 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1613 and in some cases shorten doc string accordingly.
1614 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1615 and `new-name', and adjust an internal variable to avoid confusion.
1616 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1617 parameter in doc string.
1619 2010-12-08 Glenn Morris <rgm@gnu.org>
1621 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1622 from gdb's history file. (Bug#7575)
1624 * mail/emacsbug.el (report-emacs-bug):
1625 Try to handle some other mail clients.
1627 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1630 Use string-prefix-p.
1631 (file-name-version-regexp): New var.
1632 (file-name-sans-versions):
1633 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1634 (jka-compr-get-compression-info): Use dolist.
1635 (jka-compr-compression-info-list): Don't bother specifying
1636 version/backup regexps.
1638 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1640 * simple.el (just-one-space): Make argument n default to 1 if
1643 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * electric.el (electric-indent-post-self-insert-function):
1646 Delete trailing newlines even if we don't reindent.
1648 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * minibuffer.el (completion-at-point): Remove the `arg'.
1651 * bindings.el (complete-symbol): Move back from minibuffer.el.
1653 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1655 * simple.el (just-one-space): Delete newlines for negative arg.
1657 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1660 (ansi-color-filter-apply): Simplify.
1661 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1663 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1665 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1667 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1669 * dired.el (dired-use-ls-dired): Set default to a special
1670 "unspecified" value.
1671 (dired-insert-directory): When called the first time, check
1672 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1674 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1676 * replace.el: Add "collect" feature to occur.
1677 (occur-collect-regexp-history): New var.
1678 (occur-read-primary-args): Return a replace string for nlines,
1680 (occur): Extend the meaning of nlines.
1682 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1685 (which-func-update-1): Distinguish symbols from strings.
1686 (which-function): Stay within 80 columns.
1688 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1692 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1694 (comment-style): Use comment-styles's docs to describe values.
1696 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1698 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1699 and ns-show-prefs (Bug#7535).
1701 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1702 bindings (Bug#7535).
1704 2010-12-03 Glenn Morris <rgm@gnu.org>
1706 * nxml/nxml-mode.el: Require rng-nxml.
1707 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1708 Remove declarations.
1710 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1711 * nxml/rng-nxml.el, nxml/rng-valid.el:
1712 Remove leading `*' from defcustom docs.
1714 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1715 (normal-top-level-add-to-load-path, tty-handle-args):
1716 Convert comments to basic doc-strings.
1718 * net/browse-url.el (browse-url-url-at-point)
1719 (browse-url-default-browser): Remove autoload cookies.
1721 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1722 Remove more undefined cl functions.
1724 * vc/diff.el (diff-sentinel): Make new arguments optional.
1725 * ibuf-ext.el (diff-sentinel): Update declaration.
1727 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1729 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1730 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1731 (epg-context-set-passphrase-callback): Mention that the callback
1732 is not called when used with GnuPG 2.x.
1734 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1737 (tramp-file-name-port): Check also for `tramp-default-port'.
1738 (tramp-get-connection-name): New defun.
1739 (tramp-get-connection-process): Use it.
1740 (tramp-debug-message): Extend function exclude list.
1741 (tramp-drop-volume-letter): Fix doc string.
1743 * net/tramp-cmds.el: Remove solved todo item.
1747 * net/tramp-gvfs.el:
1749 * net/tramp-imap.el:
1750 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1751 and `tramp-default-user-alist', respectively.
1753 * net/tramp-gw.el (tramp-gw-open-connection):
1754 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1756 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1757 `tramp-file-name-port'.
1759 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1760 and "psftp". Exchange "%k" marker with options.
1761 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1762 Compute size of link target.
1763 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1764 `tramp-current-*' up due to gateway methods. Optimze computing of
1765 copy arguments. Use `tramp-get-connection-name' and
1766 `tramp-get-connection-buffer'. Improve debug messages.
1767 (tramp-compute-multi-hops): Remove port determination.
1768 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1770 * net/trampver.el: Update release number.
1772 2010-12-02 Glenn Morris <rgm@gnu.org>
1774 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1775 Avoid infinite loop over windows. (Bug#7492)
1777 * progmodes/flymake.el (flymake-check-file-limit):
1778 Allow nil to mean "no limit".
1779 (flymake-check-patch-master-file-buffer): Update for above change.
1780 Allow a .tex file-name extension to be optional.
1781 (flymake-master-tex-init): Also match \include statements.
1783 2010-11-30 Sam Steingold <sds@gnu.org>
1785 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1786 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1787 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1788 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1789 define-derived-mode').
1790 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1791 users who want to call `nxml-parent-document-set'.
1793 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1795 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1796 stand-alone lines, since that is handled by log-edit-match-to-eoh
1799 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1801 * dired.el (dired-get-filename): Replace backslashes with slashes
1802 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1803 * locate.el (locate-default-make-command-line): Don't consider
1804 drive letter and root directory part of
1805 `directory-listing-before-filename-regexp'. (Bug#7308)
1806 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1808 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1811 of :smie-open/close-alist.
1812 (smie-next-sexp): Make it accept a "start token" as argument.
1813 (smie-indent-keyword): Be careful not to misidentify tokens that span
1814 more than one line, as empty lines. Add argument `token'.
1816 2010-11-27 Kenichi Handa <handa@m17n.org>
1818 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1819 multipart subtypes, insert all as usual.
1821 * mail/rmail.el: Require rfc2047.
1823 2010-11-27 Kenichi Handa <handa@m17n.org>
1825 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1826 (rmail-mime-entity-disposition)
1827 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1828 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1829 (rmail-mime-save): Handle the case that the button's `data' is a
1831 (rmail-mime-insert-text): New function.
1832 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1833 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1834 (rmail-mime-insert-bulk): New function mostly copied from the old
1835 rmail-mime-bulk-handler.
1836 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1837 (rmail-mime-process-multipart): New function mostly copied from
1838 the old rmail-mime-multipart-handler.
1839 (rmail-mime-show): Just call rmail-mime-process.
1840 (rmail-mime-process): New function mostly copied from the old
1842 (rmail-mime-insert-multipart, rmail-mime-parse)
1843 (rmail-mime-insert, rmail-show-mime)
1844 (rmail-insert-mime-forwarded-message)
1845 (rmail-insert-mime-resent-message): New functions.
1846 (rmail-insert-mime-forwarded-message-function): Set to
1847 rmail-insert-mime-forwarded-message.
1848 (rmail-insert-mime-resent-message-function): Set to
1849 rmail-insert-mime-resent-message.
1851 * mail/rmailsum.el: Require rfc2047.
1852 (rmail-header-summary): Handle multiline Subject: field.
1853 (rmail-summary-line-decoder): Change the default to
1854 rfc2047-decode-string.
1856 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1857 (rmail-mime-feature): Change the default to `rmailmm'.
1858 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1859 (rmail-display-labels): Likewise.
1860 (rmail-show-message-1): Check rmail-enable-mime, and use
1861 rmail-show-mime-function for a MIME message. Decode the headers
1862 according to RFC2047.
1864 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1866 * progmodes/which-func.el (which-func-imenu-joiner-function):
1867 Return a string, as expected.
1868 (which-function-mode): Make sure we stop any previous timer before
1871 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1873 * net/tramp.el (tramp-default-method-alist)
1874 (tramp-default-user-alist, tramp-default-proxies-alist):
1875 Adapt custom options type. (Bug#7445)
1877 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1879 * progmodes/python.el: Add Ipython support (Bug#5390).
1880 (python-shell-prompt-alist)
1881 (python-shell-continuation-prompt-alist): New options.
1882 (python--set-prompt-regexp): New function.
1883 (inferior-python-mode, run-python, python-shell):
1884 Require ansi-color. Use python--set-prompt-regexp to set the comint
1885 prompt based on the Python interpreter.
1886 (python--prompt-regexp): New var.
1887 (python-check-comint-prompt)
1888 (python-comint-output-filter-function): Use it.
1889 (run-python): Use a pipe (Bug#5694).
1891 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1893 * progmodes/python.el (run-python): Doc fix.
1894 (python-keep-current-directory-in-path): New var (Bug#7454).
1896 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1898 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1899 Prompt user before actually printing.
1901 2010-11-27 Glenn Morris <rgm@gnu.org>
1903 * startup.el (package-enable-at-startup, package-initialize):
1904 Remove unnecessary declarations.
1906 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1908 * international/characters.el (glyphless-char-display-control):
1909 Exclude newline and TAB from the c0-control group.
1911 2010-11-27 Glenn Morris <rgm@gnu.org>
1913 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1914 (expand-mail-aliases): Remove unnecessary autoload.
1916 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1918 * shell.el (shell-dir-cookie-re): Move definition before use.
1920 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1921 Replace undefined CL functions.
1923 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1925 * simple.el (prog-mode): Set bidi-paragraph-direction to
1928 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1930 2010-11-26 Glenn Morris <rgm@gnu.org>
1932 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1933 diary-outlook-formats can be sensitive to calendar-date-style.
1934 (diary-outlook-formats): Simplify the default setting.
1935 (diary-from-outlook-internal): Pass subject and body as arguments.
1936 Use dolist rather than dotimes. Don't save the diary buffer.
1937 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1938 Pass subject and body as explicit arguments to the -internal function.
1940 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1942 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1943 parsing them. This makes mailto:...?subject=foo\nbar work.
1945 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1947 * vc/diff.el (diff): Fix last change.
1949 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1952 (pcase--dontcare-upats): New var.
1953 (pcase-let, pcase-let*): Generate better code.
1954 Accept the same bodies as `let'.
1955 (pcase-dolist): New macro.
1956 (pcase--trivial-upat-p): New helper function.
1957 (pcase--expand): Strip leading "(let nil" if any.
1959 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1961 * mail/mailclient.el (browse-url): Require.
1962 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1963 use the external browser function to send the mail (bug#7469).
1965 * net/browse-url.el (browse-url-browser-function): Revert the
1966 default back to the previous value, since the new value broke
1968 (browse-url-mailto-function): New variable for mailto: URLs.
1969 (browse-url): Use the new variable for mailto: URLs.
1971 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1973 * eshell/esh-cmd.el (eshell-parse-command):
1974 * eshell/esh-arg.el (eshell-parse-arguments):
1975 * eshell/em-script.el (eshell-source-file):
1976 Use with-silent-modifications.
1978 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1980 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1981 for a merge location.
1983 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1984 (vc-bzr-merge-branch): Always prompt.
1985 (vc-bzr-async-command): Use the full branch filename.
1987 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * shell.el (shell): Use current-buffer by default if it's already
1990 a shell mode buffer and its process is dead.
1991 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1993 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1995 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1996 Mention that the keywords should be comma separated.
1998 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2000 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2001 Accept optional prefix arg meaning to prompt for a command.
2002 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2003 prefix arg meaning to prompt for a command.
2004 (vc-pull): Alias for vc-update.
2006 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2007 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2008 (vc-bzr-merge-branch): New functions, implementing merge-branch
2009 and pull operations.
2011 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * Makefile.in: Fix up last merge.
2015 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2016 (diff-sentinel): Get them as arguments instead.
2017 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2018 (diff-file-local-copy, diff-better-file-name): New funs.
2019 (diff-no-select): Rename from diff-into-buffer.
2020 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2021 Prefer closures to buffer-local variables.
2022 (diff): Adjust accordingly.
2023 (diff-buffer-with-file): Move from files.el.
2024 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2025 (diff-buffer-internal): Remove.
2026 (diff-buffer-buffer): Remove.
2027 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2028 the buffer name used, and so as not to mess up windows and frames.
2030 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2032 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2033 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2034 (diff-buffer-with-file): Use it.
2035 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2038 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2040 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2041 \ref's or \pageref's value as default instead of initial input.
2043 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2045 * files.el (backup-by-copying-when-mismatch): The default value is
2048 * startup.el (normal-top-level):
2049 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2050 `backup-by-copying-when-mismatch'.
2052 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2054 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2056 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2058 * progmodes/python.el (python-font-lock-keywords):
2059 Highlight top-level augmented assignments (Bug#6445).
2061 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2063 * term/ns-win.el (ns-right-control-modifier)
2064 (ns-right-command-modifier): Defvar them.
2066 * cus-start.el (all): Add ns-right-control-modifier and
2067 ns-right-command-modifier (Bug#7458).
2069 2010-11-20 Glenn Morris <rgm@gnu.org>
2071 * emacs-lisp/authors.el (authors-ignored-files)
2072 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2074 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2076 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2077 (report-emacs-bug-parse-query-results)
2078 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2079 keywords used for querying the bug database to show them in the
2080 existing bugs buffer.
2082 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2084 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2086 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2088 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2090 * international/characters.el (glyphless-char-display-control):
2091 Make it a defcustom, with update-glyphless-char-display as its
2093 (top level): Don't call update-glyphless-char-display.
2095 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2097 Sync with Tramp 2.2.0.
2099 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2100 `file-remote-p' (due to compatibility).
2102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2103 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2105 * net/trampver.el: Update release number.
2107 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2109 * faces.el (glyphless-char): Define value for `pc'.
2111 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2113 Implemented a bug querying mechanism.
2114 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2115 (report-emacs-bug-create-existing-bugs-buffer)
2116 (report-emacs-bug-parse-query-results)
2117 (report-emacs-bug-query-existing-bugs): New functions.
2119 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2121 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2122 a \ref{} or \pageref{} macro, then use its value as initial input.
2124 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2126 * calc/calc-units.el (math-build-units-table-buffer):
2127 calc/README: Mention that the TeX specific units won't use the
2128 `tex' prefix in TeX mode.
2129 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2130 prefix for units in TeX mode.
2132 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * simple.el (kill-new, kill-append, kill-region):
2135 * comint.el (comint-kill-region): Make the yank-handler argument
2138 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2141 that are both openers (resp. closers) and something else.
2142 (smie-grammar): Loosen definition of valid values.
2143 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2144 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2145 (smie-indent-after-keyword): Adjust users.
2146 (smie-indent-keyword): Don't indent empty lines.
2148 * vc-hg.el (vc-hg-program): New var.
2149 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2150 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2152 2010-11-18 Glenn Morris <rgm@gnu.org>
2154 * emacs-lisp/autoload.el (autoload-find-destination): The function
2155 coding-system-eol-type may return non-numeric values. (Bug#7414)
2157 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2159 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2161 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2163 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2165 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2167 * textmodes/picture.el (picture-mouse-set-point): Don't use
2168 posn-col-row; explicitly compute the motion based on the posn at
2169 the window-start (Bug#7390).
2171 2010-11-18 Glenn Morris <rgm@gnu.org>
2173 * novice.el (disabled-command-function):
2174 Fix 2009-11-15 change. (Bug#7384)
2176 2010-11-18 Glenn Morris <rgm@gnu.org>
2178 * calendar/calendar.el (diary-iso-date-forms): Make elements
2179 mutually exclusive. (Bug#7377)
2181 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2184 when filling the remaining "unconstrained" values.
2186 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2191 * files.el (safe-local-variable-p): Gracefully handle errors.
2193 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2194 Use smie-indent-virtual when indenting relative to an opener.
2195 (smie-rule-separator): Use smie-rule-parent.
2196 (smie-indent-keyword): Consult rules, even for openers at bol.
2197 (smie-indent-comment-close): Try to align closer's content.
2199 2010-11-18 Glenn Morris <rgm@gnu.org>
2201 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2203 2010-11-18 Glenn Morris <rgm@gnu.org>
2205 * printing.el (pr-menu-bind): Doc fix.
2207 * speedbar.el (speedbar-toggle-images): Doc fix.
2209 * progmodes/python.el (python-shell): Doc fix.
2211 * wid-edit.el (widget-field-use-before-change)
2212 (widget-use-overlay-change): Doc fixes.
2214 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2216 Minor cleanup to improve style.
2217 * textmodes/rst.el (rst-update-section): Use point-marker.
2218 (rst-get-decoration): Eliminate unneeded assignment.
2219 (rst-promote-region, rst-straighten-decorations)
2220 (rst-section-tree, rst-adjust): Use point-marker.
2221 (rst-toc-mode-mouse-goto): Avoid setq.
2222 (rst-shift-region-guts, rst-shift-region-left)
2223 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2224 (rst-convert-bullets-to-enumeration): Use copy-marker.
2226 * minibuffer.el (completion-fail-discreetly): New var.
2227 (completion--do-completion): Use it.
2229 * electric.el (electric-pair-pairs): New var.
2230 (electric-pair-post-self-insert-function): Use it.
2231 (electric-layout-post-self-insert-function): Don't insert a before
2232 newline unless it's actually needed.
2234 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * progmodes/python.el (run-python): Explain why we remove the current
2237 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2239 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2241 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2244 (octave-mode-map): Don't bind ;, SPC, and LF.
2245 (octave-auto-indent, octave-auto-newline): Remove.
2246 (electric-layout-rules): Declare.
2247 (octave-mode): Set electric-layout-rules.
2248 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2249 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2250 (octave-electric-space): Remove.
2252 * electric.el (electric-layout-mode): New minor mode.
2253 (electric--after-char-pos): New function.
2254 (electric-indent-post-self-insert-function): Use it.
2255 (electric-layout-rules): New var.
2256 (electric-layout-post-self-insert-function): New function.
2257 (electric-indent-mode): Make them interact better.
2259 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2262 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2263 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2265 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2267 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2268 Make sure to check inside the word (Bug#6761).
2270 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2272 * startup.el (command-line): If the cursorColor resource is set,
2273 change the cursor face-spec (Bug#7392).
2275 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2277 The main features of the following allout.el changes are:
2278 - implement user customization for the allout key bindings
2279 - add a customization control by which the user can inhibit use of
2280 a trailing Ctrl-H, so by default it's reserved for use with
2281 describe-prefix-bindings
2282 - adapt to new version of called-interactively-p, while
2283 maintaining backwards compatibility with old version
2284 - fix hotspot navigation so i works properly with meta-modified keys
2286 * allout.el (allout-keybindings, allout-bind-keys)
2287 (allout-keybindings-binding, allout-prefixed-keybindings)
2288 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2289 (allout-keybindings-list, allout-mode-map-adjustments)
2290 (allout-setup-mode-map): Establish allout-mode keymaps as user
2291 customizable settings, and also establish a customizable setting which
2292 regulates whether or not a trailing control-h is reserved for use with
2293 describe-prefix-bindings - and inhibit it by default, so that control-h
2294 *is* reserved for describe-prefix-bindings unless the user changes it.
2296 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2297 and accurately between modified and unmodified events, and handle
2298 modified events more comprehensively.
2300 * allout.el (allout-substring-no-properties):
2301 Alias to use or provide version of `substring-no-properties'.
2302 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2304 * allout.el (allout-next-single-char-property-change):
2305 Alias to use or provide version of `next-single-char-property-change'.
2306 (allout-annotate-hidden, allout-hide-by-annotation):
2307 Use `allout-next-single-char-property-change'.
2309 * allout.el (allout-select-safe-coding-system):
2310 Alias to use or provide version of `select-safe-coding-system'.
2311 (allout-toggle-subtree-encryption):
2312 Use `allout-select-safe-coding-system'.
2314 * allout.el (allout-set-buffer-multibyte):
2315 Alias to use or provide version of `set-buffer-multibyte'.
2316 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2318 * allout.el (allout-called-interactively-p): Macro for using the
2319 different versions of called-interactively-p identically, depending on
2320 the subroutine's argument signature.
2321 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2322 Use `(interactive "p")' instead of `(called-interactively-p)'.
2324 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2325 (allout-previous-visible-heading, allout-forward-current-level)
2326 (allout-backward-current-level, allout-show-children):
2327 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2329 * allout.el (allout-before-change-handler):
2330 Exempt edits to the (overlaid) character after the allout outline
2331 bullet from edit confirmation prompt.
2333 * allout.el (allout-add-resumptions):
2334 Ensure that it respects correct buffer for keybindings.
2336 * allout.el (allout-beginning-of-line):
2337 Use `allout-previous-single-char-property-change' alias for the sake of
2338 diverse compatibility.
2340 * allout.el (allout-end-of-line):
2341 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2343 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2345 * frame.el (frame-notice-user-settings): Don't clobber other
2346 user-set parameters when calling face-set-after-frame-default in
2347 response to background-color parameter (Bug#7373).
2349 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2351 * international/characters.el (glyphless-char-display-control):
2352 Rename from glyphless-char-control; all users changed. Doc fix.
2353 Signal an error if display method is not one of the recognized
2356 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2358 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2359 (tramp-compat-line-end-position): Remove them.
2361 * net/tramp.el (tramp-parse-rhosts-group)
2362 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2363 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2364 (tramp-parse-netrc-group, tramp-parse-putty-group)
2365 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2366 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2367 (tramp-sh-handle-file-selinux-context)
2368 (tramp-sh-handle-file-name-all-completions)
2369 (tramp-sh-handle-insert-directory)
2370 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2371 (tramp-wait-for-output, tramp-send-command-and-read)
2372 * net/tramp-smb.el (tramp-smb-read-file-entry)
2373 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2375 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2377 (tramp-remote-coding-commands): Add an alternative using "base64
2378 -d -i". This is needed for older base64 versions from GNU
2379 coreutils. Reported by Klaus Reichl
2380 <Klaus.Reichl@thalesgroup.com>.
2382 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2384 * simple.el (count-words-region): New function.
2386 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * shell.el (shell-dir-cookie-re): New custom variable.
2389 (shell-dir-cookie-watcher): New function.
2391 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2392 and compilation-mode (bug#7350).
2394 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2395 highlight when one of them is empty.
2397 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2399 (skeleton-newline): New function.
2400 (skeleton-internal-1): Use it.
2402 * simple.el (open-line): `newline' may strip trailing space.
2404 2010-11-12 Kevin Ryde <user42@zip.com.au>
2406 * international/mule-cmds.el (princ-list): Use mapc.
2408 2010-11-12 Glenn Morris <rgm@gnu.org>
2410 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2411 Use it to replace all instances of "*Compile-Log*"
2413 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2418 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * progmodes/modula2.el: Use SMIE and skeleton.
2421 (m2-mode-syntax-table): (*..*) can be nested.
2422 Add //...\n. Fix paren syntax.
2423 (m2-mode-map): Remove LF and TAB bindings.
2424 (m2-indent): Add safety property.
2425 (m2-smie-grammar): New var.
2426 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2427 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2428 (m2-mode): Use define-derived-mode.
2429 (m2-newline, m2-tab): Remove.
2430 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2431 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2432 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2433 (m2-import): Use define-skeleton.
2435 2010-11-11 Glenn Morris <rgm@gnu.org>
2437 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2439 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2440 (ls-lisp-verbosity): Add custom :set-after property.
2441 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2442 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2443 (ls-lisp-insert-directory): Update caller.
2444 (ls-lisp-set-options): New function.
2445 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2448 * play/landmark.el (lm-prompt-for-move):
2449 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2451 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2453 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2454 (idlwave-study-twins): Prefix dynamic local variable `name'.
2455 (idlwave-routine-twin-compare): Update for above change.
2457 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2458 Prefix dynamic local variables `name', `kwd', and `link'.
2459 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2460 * progmodes/idlw-complete-structtag.el
2461 (idlwave-complete-structure-tag-help):
2462 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2463 (idlwave-complete-sysvar-tag-help)
2464 (idlwave-complete-class-structure-tag-help):
2465 Update for above name changes.
2467 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2469 * net/browse-url.el (browse-url-browser-function): Change the
2470 default to use `browse-url-mail' on mailto: URLs.
2472 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2474 * emacs-lisp/package.el (package-read-all-archive-contents):
2475 Reset package-archive-contents to nil before re-reading.
2477 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2479 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2480 already found as misspellings by (flyspell-large-region), just
2481 do highlighting (bug#7322).
2483 2010-11-10 Glenn Morris <rgm@gnu.org>
2485 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2487 * emulation/edt.el (edt-with-position): New macro.
2488 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2489 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2490 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2492 * emulation/tpu-extras.el (tpu-with-position): New macro.
2493 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2495 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2497 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2498 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2499 (texinfo-master-menu, texinfo-insert-node-lines)
2500 (texinfo-multiple-files-update):
2501 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2502 Use line-beginning-position.
2504 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2505 No recent Emacs supports system-type `emx'.
2507 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2508 (ada-command-separator, ada-default-prj-properties)
2509 (ada-find-any-references): Update for above name change.
2511 * dirtrack.el (dirtrack-directory-function)
2512 (dirtrack-canonicalize-function):
2513 * filecache.el (file-cache-completion-ignore-case)
2514 (file-cache-case-fold-search, file-cache-ignore-case):
2515 * term.el (serial-port-is-file-p): Cosmetic change.
2517 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2518 Remove non-existent `windows-95' system-type.
2519 * dired.el (dired-chown-program): Remove non-existent `linux'
2522 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2523 (ping-program-options): Remove non-existent `linux' system-type.
2525 * startup.el (package-initialize): Update declaration.
2527 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2528 (ls-lisp-handle-switches): Use time-less-p.
2529 (ls-lisp-format-time): Use float-time.
2531 * textmodes/remember.el (remember-time-to-seconds): Remove.
2532 (remember-store-in-mailbox): Use float-time.
2534 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2536 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2537 never a real function.
2538 (with-no-warnings): Remove compat stub, now unused.
2539 (time-less-p): Doc fix.
2540 (time-to-number-of-days): Simplify.
2542 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2544 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2545 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2546 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2547 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2548 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2550 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2551 (eshell-shuffle-files, eshell-shorthand-tar-command)
2552 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2553 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2554 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2555 Prefix dynamic local variable `matches'.
2557 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2558 Prefix dynamic local variable `skeleton'.
2560 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2562 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2563 in mail buffer; make yank-action always a command that yanks original
2566 2010-11-09 Glenn Morris <rgm@gnu.org>
2568 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2570 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2573 completion field (bug#7211).
2575 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2576 Fix handling of backslash escapes.
2577 (python-quote-syntax): Adjust accordingly.
2579 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2581 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2582 (vc-mtn-workfile-branch): Adjust to new output format.
2584 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * international/mule-cmds.el (princ-list): Mark as obsolete.
2588 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * emacs-lisp/smie.el: New package.
2592 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2594 * files.el (backup-by-copying-when-mismatch):
2595 Set `permanent-local' property.
2597 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2598 `permanent-local' property for `backup-by-copying-when-mismatch'.
2600 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2602 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2604 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2606 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2607 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2608 AUTOINOUT for SV style multidimensional arrays, bug294.
2609 Reported by Eric Mastromarchi.
2610 (verilog-preprocess): Use with-current-buffer and
2611 font-lock-fontify-buffer to cleanup style issues.
2613 2010-11-09 Glenn Morris <rgm@gnu.org>
2615 * locate.el (locate, locate-mode): Doc fixes.
2617 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2619 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2620 user for confirmation.
2621 (server-force-stop): Use it.
2622 (server-start): Use server-force-stop for kill-emacs-hook, to
2623 avoid user interaction while killing Emacs.
2625 2010-11-09 Glenn Morris <rgm@gnu.org>
2627 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2628 (meta-indent-line): Simplify.
2630 * vc/emerge.el (emerge-line-number-in-buf):
2631 * textmodes/ispell.el (ispell-region):
2632 * textmodes/fill.el (current-fill-column):
2633 * progmodes/xscheme.el (xscheme-send-current-line):
2634 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2635 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2636 * progmodes/sh-script.el (sh-handle-prev-do):
2637 * progmodes/meta-mode.el (meta-indent-line):
2638 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2640 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2641 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2642 * progmodes/fortran.el (fortran-looking-at-if-then):
2643 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2644 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2645 (cperl-find-pods-heres):
2646 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2647 * net/quickurl.el (quickurl-list-insert):
2648 * net/ldap.el (ldap-search-internal):
2649 * net/eudc.el (eudc-expand-inline):
2650 * mail/sendmail.el (sendmail-send-it):
2651 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2652 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2653 (viper-brac-function):
2654 * calc/calc-yank.el (calc-do-grab-region):
2655 * calc/calc-keypd.el (calc-keypad-press):
2656 * term.el (term-move-columns, term-insert-spaces):
2657 * speedbar.el (speedbar-highlight-one-tag-line):
2658 * simple.el (current-word):
2659 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2660 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2662 * hippie-exp.el (he-line-beg):
2663 * epa.el (epa--marked-keys):
2664 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2665 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2666 (dired-relist-entry):
2667 * buff-menu.el (Buffer-menu-buffer):
2668 * array.el (current-line):
2669 * allout.el (allout-resolve-xref)
2670 (allout-latex-verbatim-quote-curr-line):
2671 Replace yet more uses of end-of-line etc with line-end-position, etc.
2673 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2676 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2677 (checkdoc-syntax-table): Initialize in the declaration.
2678 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2679 the mode on unconditionally.
2681 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2682 (extent-end-position, extent-start-position): Remove setf method for
2683 non-existing functions (bug#7319).
2685 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2688 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2689 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2690 (smie-prec2->grammar): Rename from smie-prec2-levels.
2691 (smie-grammar): Rename from smie-op-levels.
2692 (smie-indent--hanging-p): Rename from smie-hanging-p.
2693 (smie-rule-hanging-p): New alias.
2694 (smie-indent--bolp): Rename from smie-bolp.
2695 (smie-indent--hanging-p): New alias.
2696 (smie--token): New dynamically bound variable.
2697 (smie-indent--parent): New function.
2698 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2699 (smie-rule-next-p): Rename from smie-next-p.
2700 (smie-rule-prev-p): Rename from smie-prev-p.
2701 (smie-rule-sibling-p, smie-rule-parent)
2702 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2703 (smie-rule-separator-outdent): New var.
2704 (smie-indent--rule): Merge with smie-indent--column.
2705 (smie-indent-forward-token, smie-indent-backward-token):
2706 Also recognize close parens.
2707 (smie-indent-keyword): Don't use smie-indent--column any more.
2708 (smie-indent-after-keyword): Ignore closers by default.
2709 (smie-indent-line): Use with-demoted-errors.
2710 * progmodes/octave-mod.el (octave-smie-grammar):
2711 Rename from octave-smie-op-levels.
2712 (octave-smie-rules): Adjust to new behavior.
2713 * progmodes/prolog.el (prolog-smie-grammar):
2714 Rename from prolog-smie-op-levels.
2716 2010-11-07 Glenn Morris <rgm@gnu.org>
2718 * eshell/esh-util.el (subst-char-in-string)
2719 (directory-files-and-attributes): These compatibility definitions are
2720 not needed on any version of Emacs since at least 21.4.
2722 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2723 (verilog-get-end-of-line): Remove.
2724 (verilog-within-string, verilog-re-search-forward-substr)
2725 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2726 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2727 Use point-at-bol, point-at-eol.
2728 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2730 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2731 (electric-pascal-terminate-line, pascal-set-auto-comments)
2732 (pascal-indent-paramlist, pascal-indent-declaration)
2733 (pascal-get-lineup-indent, pascal-func-completion)
2734 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2735 Use point-at-bol, point-at-eol.
2736 * progmodes/flymake.el (flymake-line-beginning-position)
2737 (flymake-line-end-position): Remove.
2738 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2739 * eshell/esh-util.el (line-end-position, line-beginning-position):
2740 Remove compat definitions.
2742 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2744 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2745 Use line-end-position.
2747 * emacs-lisp/chart.el (chart-zap-chars):
2748 * play/decipher.el (decipher-set-map):
2749 * progmodes/ada-mode.el (ada-get-current-indent)
2750 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2751 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2752 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2753 (ada-get-all-references):
2754 * progmodes/cperl-mode.el (cperl-electric-paren)
2755 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2756 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2757 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2758 (cperl-word-at-point-hard):
2759 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2760 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2761 (idlwave-shell-display-line):
2762 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2763 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2764 * progmodes/js.el (js--re-search-forward-inner)
2765 (js--re-search-backward-inner):
2766 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2767 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2768 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2769 * textmodes/flyspell.el (flyspell-process-localwords):
2770 * textmodes/ispell.el (ispell-buffer-local-parsing)
2771 (ispell-buffer-local-dict, ispell-buffer-local-words):
2772 Use point-at-bol and point-at-eol.
2774 * speedbar.el (speedbar-generic-item-info)
2775 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2776 (speedbar-add-indicator, speedbar-check-vc-this-line)
2777 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2778 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2779 Replace more uses of end-of-line etc with line-end-position.
2781 2010-11-06 Glenn Morris <rgm@gnu.org>
2783 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2784 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2785 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2786 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2787 (texinfo-multiple-files-update):
2788 * textmodes/table.el (table--probe-cell-left-up)
2789 (table--probe-cell-right-bottom):
2790 * textmodes/picture.el (picture-tab-search):
2791 * textmodes/page-ext.el (pages-copy-header-and-position)
2792 (pages-directory-for-addresses):
2793 * progmodes/vera-mode.el (vera-get-offset):
2794 * progmodes/simula.el (simula-calculate-indent):
2795 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2796 * progmodes/prolog.el (end-of-prolog-clause):
2797 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2798 * progmodes/icon.el (indent-icon-exp):
2799 * progmodes/etags.el (tag-re-match-p):
2800 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2801 * progmodes/ebnf2ps.el (ebnf-begin-file):
2802 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2803 (dcl-save-local-variable):
2804 * play/life.el (life-setup):
2805 * play/gametree.el (gametree-looking-at-ply):
2806 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2807 * mail/sendmail.el (mail-mode-auto-fill):
2808 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2809 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2810 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2811 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2812 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2813 * type-break.el (type-break-file-keystroke-count):
2814 * term.el (term-replace-by-expanded-history-before-point)
2815 (term-skip-prompt, term-extract-string):
2816 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2817 (speedbar-contract-line, speedbar-toggle-line-expansion)
2818 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2819 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2820 * sort.el (sort-skip-fields):
2821 * skeleton.el (skeleton-internal-list):
2822 * simple.el (line-move-finish, line-move-to-column):
2823 * shell.el (shell-forward-command):
2824 * misc.el (copy-from-above-command):
2825 * makesum.el (double-column):
2826 * ebuff-menu.el (electric-buffer-update-highlight):
2827 * dired.el (dired-move-to-end-of-filename):
2828 * dframe.el (dframe-popup-kludge):
2829 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2830 * arc-mode.el (archive-get-lineno):
2831 Use line-end-position and line-beginning-position.
2833 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2834 (idlwave-study-twins): Prefix dynamic local `class'.
2835 (idlwave-routine-twin-compare): Update for above name change.
2837 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2838 Use boundp tests to silence compiler. Update for changed name of
2839 bytecomp-filename variable.
2841 * emulation/viper-cmd.el (viper-read-string-with-history):
2842 Prefix dynamic local `initial'.
2843 (viper-minibuffer-standard-hook): Update for above name change.
2845 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2846 (elint-init-form): Update for above name change.
2848 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2849 local variables `cbeg' and `cend' a prefix.
2850 (mail-extr-voodoo): Update for above name change.
2852 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2853 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2854 (reftex-toc-promote-action): Doc fix.
2856 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2857 `prompt', `data' a prefix.
2858 (reftex-select-post-command-hook, reftex-select-callback)
2859 (reftex-select-mouse-accept, reftex-select-read-cite):
2860 Update for above name changes.
2862 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2863 `refstyle' to reftex-refstyle.
2864 (reftex-offer-label-menu): Update for above name change.
2865 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2866 `refstyle' name change.
2868 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2869 with with-current-buffer.
2870 (diff, template): Give dynamic local variables a prefix.
2871 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2872 (emerge-line-number-in-buf): Update for above name change.
2873 (emerge-combine-versions-internal): Rename local `template' to
2874 emerge-combine-template.
2875 (emerge-combine-versions-edit): Update for above name change.
2877 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2879 * textmodes/reftex-cite.el
2880 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2881 entries with whitespace after \bibitem.
2882 (reftex-create-bibtex-file): Match entries containing numbers and
2883 symbol constituents. Make sure that entries with whitespace at
2884 various places are found.
2886 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2888 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2890 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2892 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2894 2010-11-05 Glenn Morris <rgm@gnu.org>
2896 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2897 (woman2-roff-buffer): Give local variable `request' a prefix.
2898 (woman0-macro): Rename argument `request' in the same way.
2899 (woman-request): New name for `request' dynamic variable.
2900 (woman-unquote, woman-forward-arg): Update for above name change.
2901 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2902 (woman1-unquote): New name for `unquote' dynamic variable.
2903 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2904 (woman-translations): Rename from `translations'. No longer global.
2905 (woman2-tr, woman-translate): Update for above name change.
2906 (woman-translate): Check for bound variable.
2907 (woman2-roff-buffer): Give local variable `translations' a prefix.
2909 * play/doctor.el: Give all local variables a prefix. Update callers.
2910 (doc$, doctor-put-meaning): Use backquote.
2912 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2913 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2915 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2916 variables bytes, ptr, op a prefix.
2917 (disassemble-offset): Update for above change.
2919 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2921 * emacs-lisp/package.el (package-unpack): Remove no-op.
2922 (package--builtins, package--dir): Doc fix.
2923 (package-activate-1, package-activate, package-install)
2924 (package-compute-transaction): Fix error message.
2925 (package-delete): Use delete-directory. Omit system packages.
2926 (package-initialize): Set package-alist to nil first.
2927 (package-menu-mark-delete, package-menu-mark-install): Don't add
2928 symbols that are inconsistent with the package state.
2929 (package-menu-execute): Perform deletions and installations as
2930 single batch operations.
2932 2010-11-03 Glenn Morris <rgm@gnu.org>
2934 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2935 (props): Remove unnecessary declaration.
2937 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2938 set-process-query-on-exit-flag.
2940 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2941 (reftex-toc-do-promote): Remove unused local `mpos'.
2942 (reftex-toc-restore-region): Make `mpos' local to this function.
2944 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2946 * play/landmark.el (lm-losing-threshold): Correct spelling.
2947 (lm-human-plays): Use new name.
2949 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2950 (gomoku-human-plays): Use new name.
2952 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2953 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2954 (gomoku-score-trans-table, gomoku-winning-threshold)
2955 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2957 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2959 * emacs-lisp/package.el: Don't put built-in packages in
2960 package-alist, to avoid loading inefficiencies.
2961 (package-built-in-p): Make VERSION optional, and treat it as a
2962 minimum acceptable version.
2963 (package-activate): Search separately for built-in packages.
2964 Emit a warning if a dependency fails.
2965 (define-package): Handle most common case, where there is no
2966 obsolete package, first.
2967 (package-compute-transaction): Print required version in error.
2968 (package--initialized): New variable.
2969 (list-packages): Use it.
2970 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2971 built-in packages in packages-alist; keep it separate.
2972 Set package--initialized.
2973 (describe-package): Avoid activating packages as a side-effect.
2974 Search separately for built-in packages.
2975 (describe-package-1): Handle the case where an elpa package is
2976 simultaneously built-in and available/installed.
2977 (package-installed-p, package--generate-package-list):
2978 Search separately for built-in packages.
2979 (package-load-descriptor): Doc fix.
2981 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2983 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2984 Handle __DATA__ and __END__.
2986 2010-11-02 Noah Friedman <friedman@splode.com>
2988 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2989 nil, do not ask to recompile files that are not already compiled,
2990 and do not recompile them.
2992 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2994 * emacs-lisp/package.el (package-initialize): Ensure that
2995 obsoleted built-in packages are not in package-activated-list
2997 (describe-package-1): Make the "installed" status override
3000 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3002 * subr.el (version-separator, version-regexp-alist): Remove '*'
3004 (version-list-<=, version<=, version=): Doc fix.
3006 2010-11-01 Kenichi Handa <handa@m17n.org>
3008 * faces.el (glyphless-char): Inherit underline for tty.
3010 2010-11-01 Kenichi Handa <handa@m17n.org>
3012 Implement various display methods for glyphless characters.
3014 * international/characters.el (char-acronym-table): New variable.
3015 (glyphless-char-control): New variable.
3016 (update-glyphless-char-display): New funciton.
3018 * faces.el (glyphless-char): New face.
3020 2010-11-01 Glenn Morris <rgm@gnu.org>
3022 * calendar/holidays.el (general-holidays, oriental-holidays)
3023 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3024 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3025 the definitions of their targets.
3027 * emacs-lisp/smie.el (smie): New custom group.
3028 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3030 * faces.el (xw-defined-colors, x-setup-function-keys):
3031 * mouse-sel.el (x-select-text):
3032 * term/w32console.el (x-setup-function-keys): Update declarations.
3034 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3036 * textmodes/ispell.el (comment-add): Declare.
3038 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3041 * info.el (finder-keywords-hash, package-alist): Declare.
3043 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3045 * finder.el (finder-compile-keywords): Don't use intern-soft,
3046 since package names may not yet exist in the obarray.
3048 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3050 * vc/vc-arch.el (vc-arch-checkin):
3051 * vc/vc-cvs.el (vc-cvs-checkin):
3052 * vc/vc-mtn.el (vc-mtn-checkin):
3053 * vc/vc-rcs.el (vc-rcs-checkin):
3054 * vc/vc-sccs.el (vc-sccs-checkin):
3055 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3056 since 2010-04-21 commit by Stefan Monnier.
3058 2010-11-01 Glenn Morris <rgm@gnu.org>
3060 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3062 * startup.el (package-enable-at-startup, package-initialize):
3065 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3068 2010-10-31 Julien Danjou <julien@danjou.info>
3070 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3071 (byte-recompile-directory):
3072 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3073 Use `byte-recompile-file'.
3075 2010-10-31 Glenn Morris <rgm@gnu.org>
3077 * cus-start.el: Handle standard values via a keyword.
3078 Only set version property if specified.
3079 (cursor-in-non-selected-windows, menu-bar-mode)
3080 (tool-bar-mode, show-trailing-whitespace):
3081 Do not specify standard values.
3082 (transient-mark-mode, temporary-file-directory): Use :standard.
3084 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3086 * term/x-win.el (x-get-selection-value): New function that gets
3087 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3089 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3091 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3092 preserve owner and group when editing files. (Bug#7289)
3094 2010-10-31 Glenn Morris <rgm@gnu.org>
3096 * speedbar.el (speedbar-mode):
3097 * play/fortune.el (fortune-in-buffer, fortune):
3098 * play/gomoku.el (gomoku-mode):
3099 * play/landmark.el (lm-mode):
3100 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3101 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3103 * select.el (x-selection): Mark it as an obsolete alias.
3105 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3107 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3108 major-mode (bug#7284).
3110 2010-10-31 Glenn Morris <rgm@gnu.org>
3112 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3113 rather than just an unused variable that inherits from the real one.
3115 2010-10-31 Alan Mackenzie <acm@muc.de>
3117 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3118 This fixes bug #7185.
3120 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3122 * startup.el (command-line): Search for package directories, and
3123 don't load package.el if none are found.
3125 * emacs-lisp/package.el (describe-package, list-packages):
3126 Call package-initialize if it has not been called yet.
3128 2010-10-30 Alan Mackenzie <acm@muc.de>
3130 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3131 which fontifies the tail of an enum.
3132 (c-basic-matchers-after): Insert a call to the above new function.
3133 This fixes bug #7264.
3135 2010-10-30 Glenn Morris <rgm@gnu.org>
3137 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3138 tool-bar-mode, transient-mark-mode. (Bug#7306)
3139 Include the :set property in the dumped Emacs.
3141 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3143 SMIE: change indent rules format, improve smie-setup.
3144 * emacs-lisp/smie.el (smie-precs-precedence-table)
3145 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3146 Mark them pure so the tables gets built at compile time.
3147 (smie-bnf-precedence-table): Store the closer-alist in the table.
3148 (smie-prec2-levels): Preserve the closer-alist.
3149 (smie-blink-matching-open): Be more forgiving in case of indentation.
3150 (smie-hanging-p): Rename from smie-indent--hanging-p.
3151 (smie-bolp): Rename from smie-indent--bolp.
3152 (smie--parent, smie--after): New dynamic vars.
3153 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3154 (smie-indent-rules): Remove.
3155 (smie-indent--offset-rule): Remove fun.
3156 (smie-rules-function): New var.
3157 (smie-indent--rule): New fun.
3158 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3159 (smie-indent-exps): Use it.
3160 (smie-setup): Setup paren blinking; add keyword args for token
3161 functions; extract closer-alist from op-levels.
3162 (smie-indent-debug-log): Remove var.
3163 (smie-indent-debug): Remove fun.
3164 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3165 (prolog-smie-rules): New fun to replace it.
3166 (prolog-mode-variables): Simplify.
3167 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3168 it's setup automatically.
3169 (octave-smie-indent-rules): Remove.
3170 (octave-smie-rules): New fun to replace it.
3171 (octave-mode): Simplify.
3173 2010-10-29 Glenn Morris <rgm@gnu.org>
3175 * files.el (temporary-file-directory): Remove (already defined in C).
3176 * cus-start.el: Add temporary-file-directory.
3178 * abbrev.el (abbrev-mode):
3179 * composite.el (auto-composition-mode):
3180 * menu-bar.el (menu-bar-mode):
3181 * simple.el (transient-mark-mode):
3182 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3183 that they do not define the associated variables twice.
3184 * simple.el (transient-mark-mode): Remove defvar.
3185 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3186 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3187 Handle multiple groups, and also custom-delayed-init-variables.
3188 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3190 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3193 (pcase-if): Add one minor optimization.
3194 (pcase-split-equal): Rename from pcase-split-eq.
3195 (pcase-split-member): Rename from pcase-split-memq.
3196 (pcase-u1): Add strings to the member optimization.
3197 Add `guard' variant of predicates.
3198 (pcase-q1): Add string patterns.
3200 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3202 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3204 2010-10-28 Glenn Morris <rgm@gnu.org>
3206 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3207 Move menu-bar related settings to ../menu-bar.el.
3208 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3209 Move ns-specific settings here from term/ns-win.el.
3211 * simple.el (x-selection-owner-p): Remove unused declaration.
3213 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * minibuffer.el (completion-cycling): New var (bug#7266).
3216 (minibuffer-complete, completion--do-completion):
3217 Use completion--flush-all-sorted-completions.
3218 (minibuffer-complete): Only cycle if completion-cycling is set.
3219 (completion--flush-all-sorted-completions): Unset completion-cycling.
3220 (minibuffer-force-complete): Set completion-cycling.
3221 (completion-all-sorted-completions): Move declaration before first use.
3223 2010-10-28 Leo <sdl.web@gmail.com>
3225 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3226 which changes the order of matches seen by users (bug#7231).
3228 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3230 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3231 Don't confuse -omega as "-o mega".
3233 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3236 (log-edit-author): New dynamic var.
3237 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3238 to return the author if different from committer.
3239 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3241 * play/landmark.el: Adjust commenting convention.
3242 (lm-nil-score): Rename from nil-score.
3243 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3244 (OOOOscore): Move into a let in lm-score-trans-table.
3245 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3247 * electric.el (electric-indent-chars): Autoload.
3248 * progmodes/octave-mod.el (octave-mode):
3249 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3250 (ruby-mode-abbrev-table): Merge initialization and declaration.
3252 2010-10-27 Glenn Morris <rgm@gnu.org>
3254 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3257 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3259 * term/ns-win.el: Restore require of cl when compiling.
3260 (menu-bar-final-items): Remove non-existent `windows' menu.
3261 (ns-handle-nxopen): Optionally handle the temp-case.
3262 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3263 (ns-insert-file, ns-find-file): Use `pop'.
3265 2010-10-26 Glenn Morris <rgm@gnu.org>
3267 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3269 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3271 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3273 * term/common-win.el (x-setup-function-keys): Remove most of the
3274 keymappings. Comment on the remaining ones.
3276 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3278 * server.el (server-port): New option. (Bug#854)
3279 (server-start): Use server-port.
3281 2010-10-26 Glenn Morris <rgm@gnu.org>
3283 * term/ns-win.el (ns-version-string): Remove unused declaration.
3284 (ns-invocation-args): Change to x-invocation-args.
3285 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3286 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3287 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3288 Use x-invocation-args instead of ns-invocation-args.
3289 (ns-initialize-window-system, handle-args-function-alist):
3290 Use x-handle-args instead of ns-handle-args.
3291 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3292 * startup.el (command-line-ns-option-alist): Replace
3293 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3294 ns-handle-iconic with the x- equivalents.
3296 * term/common-win.el (x-select-enable-clipboard):
3297 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3299 * term/ns-win.el: No need to require cl when compiling.
3300 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3301 (xw-defined-colors): Use the common-win definitions.
3302 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3303 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3304 * term/common-win.el (x-select-text, x-alternatives-map)
3305 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3306 * loadup.el [ns]: Load common-win.
3308 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3310 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3311 recipients; expand mail aliases (Bug#7280).
3313 2010-10-25 Glenn Morris <rgm@gnu.org>
3315 * term/common-win.el (x-handle-switch): Simplify with pop.
3316 Optionally handle numeric switches.
3317 (x-handle-numeric-switch): Just call x-handle-switch.
3318 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3319 (x-handle-name-switch, x-handle-display, x-handle-args):
3322 * term/ns-win.el: Do not require easymenu.
3323 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3324 <spell>: Move adjustments to menu-bar.el.
3325 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3326 <separator-undo, spell>: Move ns-win's adjustments here.
3327 * loadup.el [ns]: Do not load easymenu.
3329 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3331 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3334 * startup.el (fancy-startup-tail): Instead of using inline images,
3335 refer to image files from etc/.
3337 * wid-edit.el (checkbox): Likewise.
3338 (widget-image-find): Center image specs.
3340 2010-10-24 Glenn Morris <rgm@gnu.org>
3342 * term/ns-win.el (x-select-text): Doc fix.
3343 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3344 (x-select-text): Move to term/common-win.
3345 * term/w32-win.el (xw-defined-colors): Move to common-win.
3346 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3347 (x-setup-function-keys, x-select-text): Move to common-win.
3348 * term/common-win.el (x-select-text, x-alternatives-map)
3349 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3352 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3354 * net/mairix.el (mairix-searches-mode-map):
3355 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3357 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3359 * verilog-mode.el (verilog-directive-re): Make this variable
3360 auto-built for efficiency of execution and updating.
3361 (verilog-extended-complete-re): Support 'pure' fucntion & task
3362 declarations (these have no bodies).
3363 (verilog-beg-of-statement): General cleanup to enable support of
3364 'pure' fucntion & task declarations (these have no bodies).
3365 These efforts together fix Verilog bug210 from veripool; which was also
3366 noticed by Steve Pearlmutter.
3367 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3368 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3369 Support `elsif. Reported by Shankar Giri.
3370 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3371 attribute handling for lining up declarations and assignments.
3372 (verilog-beg-of-statement-1): Fix issue where continued declaration
3373 is indented differently if it is after a begin..end clock.
3374 (verilog-in-attribute-p, verilog-skip-backward-comments)
3375 (verilog-skip-forward-comment-p): Support proper treatment of
3376 attributes by indent code. Reported by Jeff Steele.
3377 (verilog-in-directive-p): Fix comment to correctly describe function.
3378 (verilog-backward-up-list, verilog-in-struct-region-p)
3379 (verilog-backward-token, verilog-in-struct-p)
3380 (verilog-in-coverage-p, verilog-do-indent)
3381 (verilog-pretty-declarations): Use verilog-backward-up-list as
3382 wrapper around backward-up-list inorder to properly skip comments.
3383 Reported by David Rogoff.
3384 (verilog-property-re, verilog-endcomment-reason-re)
3385 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3386 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3387 of if). Reported by Max Bjurling and
3388 (verilog-calc-1): Fix for clocking block in modport
3389 declaration. Reported by Brian Hunter.
3391 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3393 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3394 (verilog-gate-keywords, verilog-read-sub-decls)
3395 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3396 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3397 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3398 (verilog-read-decls): Fix spaces in V2K module parameters causing
3399 mis-identification as interfaces, bug287.
3400 (verilog-read-decls): Fix not treating "parameter string" as a
3401 parameter in AUTOINSTPARAM.
3402 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3403 treating `elsif similar to `endif inside AUTOSENSE.
3404 (verilog-do-indent): Implement correct automatic or static task or
3405 function end comment highlight. Reported by Steve Pearlmutter.
3406 (verilog-font-lock-keywords-2): Fix highlighting of single
3407 character pins, bug264. Reported by Michael Laajanen.
3408 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3409 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3410 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3411 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3412 (verilog-pretty-expr): Fix interactive arguments, bug272.
3413 Reported by Mark Johnson.
3414 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3415 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3416 bug269. Suggested by Gary Delp.
3417 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3418 (verilog-preprocessor, verilog-set-compile-command):
3419 Create verilog-preprocess and verilog-preprocessor to show
3420 preprocessed output.
3421 (verilog-get-beg-of-line, verilog-get-end-of-line)
3422 (verilog-modi-file-or-buffer, verilog-modi-name)
3423 (verilog-modi-point, verilog-within-string): Move defmacro's
3424 before first use to avoid warning. Reported by Steve Pearlmutter.
3425 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3426 (verilog-colorize-region, verilog-highlight-buffer)
3427 (verilog-highlight-includes, verilog-highlight-modules)
3428 (verilog-highlight-region, verilog-mode): Rename colorize to
3429 highlight to match other packages. Disable module highlighting,
3430 as received speed complaints, reenable for experimentation only
3431 using new verilog-highlight-modules.
3432 (verilog-read-decls): Fix regexp stack overflow in very large
3433 AUTO_TEMPLATEs, bug250.
3434 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3435 (verilog-scan): Create verilog-save-buffer-state to standardize
3436 making insignificant changes that shouldn't call hooks.
3437 (verilog-save-no-change-functions, verilog-save-scan-cache)
3438 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3439 Create verilog-save-no-change-functions to wrap verilog-scan
3440 preservation, and fix to work with nested preserved calls.
3441 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3442 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3443 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3444 (verilog-submit-bug-report): Update variable list to be complete.
3445 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3446 breaking on-the-fly font-locking.
3447 (verilog-colorize-buffer, verilog-colorize-include-files)
3448 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3449 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3450 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3451 AUTOINST cell instance name, middle mouse button now finds-file on
3452 it. Suggested by Brad Dobbie.
3453 (verilog-alw-get-temps, verilog-auto-reset)
3454 (verilog-auto-sense-sigs, verilog-read-always-signals)
3455 (verilog-read-always-signals-recurse): Fix loop indexes being
3456 AUTORESET. AUTORESET now assumes any variables in the
3457 initialization section of a for() should be ignored.
3458 Reported by Dan Dever.
3459 (verilog-error-font-lock-keywords)
3460 (verilog-error-regexp-emacs-alist)
3461 (verilog-error-regexp-xemacs-alist): Fix error detection of
3462 Cadence HAL, reported by David Asher. Repair drift between the
3463 three similar error variables.
3464 (verilog-modi-lookup, verilog-modi-lookup-cache)
3465 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3466 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3467 Fix slow verilog-auto expansion on very large files.
3468 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3469 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3470 "{1*2{...". Broke in last revision.
3471 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3472 submodule connections with replications "{#{a},#{b}}".
3474 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3476 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3477 Fix typo in docstring.
3479 2010-10-24 Kenichi Handa <handa@m17n.org>
3481 * face-remap.el (text-scale-adjust): Call read-event with a proper
3484 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3486 * emacs-lisp/unsafep.el: Don't mark functions that display
3487 messages as safe. Suggested by Johan Bockgård.
3489 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3492 Turn comments into docstrings.
3494 * minibuffer.el (completion--replace): Move point where it belongs
3495 when there's a common suffix (bug#7215).
3497 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3499 Merge read-color and facemenu-read-color (Bug#7242).
3501 * faces.el (read-color): Use the completion code from
3502 facemenu-read-color. Require match in completion. Doc fix.
3504 * facemenu.el (facemenu-read-color): Alias for read-color.
3505 (facemenu-set-foreground, facemenu-set-background):
3508 * frame.el (set-background-color, set-foreground-color)
3509 (set-cursor-color, set-mouse-color, set-border-color):
3512 2010-10-24 Leo <sdl.web@gmail.com>
3514 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3515 argument of delete-file and delete-directory (Bug#7011).
3517 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3519 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3522 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3524 * emacs-lisp/package.el (package--generate-package-list): Make the
3525 *Packages* buffer read-only.
3527 2010-10-24 Alan Mackenzie <acm@muc.de>
3529 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3530 result of `c-beginning-of-decl-1' between invocations of a lambda
3531 function (Bug #7265).
3533 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3535 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3536 executable is not available on the system (Bug#7268).
3538 2010-10-24 Glenn Morris <rgm@gnu.org>
3540 * select.el (selection-coding-system, next-selection-coding-system):
3541 Sync doc with C versions.
3543 * w32-vars.el (x-select-enable-clipboard):
3544 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3545 * term/common-win.el (x-select-enable-clipboard): Move here.
3547 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3548 definition of C variable.
3550 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3551 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3552 Don't redefine things that are defined in C.
3553 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3554 (show-trailing-whitespace, auto-hscroll-mode)
3555 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3556 Set up the appropriate custom properties.
3558 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3561 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3562 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3563 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3564 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3566 2010-10-23 Glenn Morris <rgm@gnu.org>
3568 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3571 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3572 Sync docs with C version.
3574 * term/ns-win.el (xw-defined-colors):
3575 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3577 * term/pc-win.el (x-select-enable-clipboard):
3578 * term/x-win.el (x-select-enable-clipboard):
3579 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3581 * comint.el (comint-password-prompt-regexp): Make it less vague.
3584 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3586 * help.el (finder-by-keyword): Remove unnecessary autoload.
3588 2010-10-22 Glenn Morris <rgm@gnu.org>
3590 * loadup.el: Unconditionally load float-sup.
3591 * paren.el (show-paren-delay):
3592 * emacs-lisp/float-sup.el:
3593 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3594 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3595 (lazy-lock-stealth-verbose): Assume float support.
3596 * ps-print.el: Assume float support on Emacs.
3597 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3598 Remove non-float branch.
3600 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3601 src/Makefile no longer being pre-processed.
3603 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * emacs-lisp/find-func.el (find-library): Use test-completion.
3607 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3611 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3613 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3614 space in stat format string.
3615 (tramp-send-command): Unset $PS1 when using here documents, in
3616 order not to get several prompts.
3617 (tramp-get-inline-coding): Return `nil' in case of errors.
3619 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3621 * hexl.el (hexl-mode, hexl-mode-exit):
3622 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3623 (hexl-revert-buffer-function): New function.
3624 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3626 2010-10-19 Alan Mackenzie <acm@muc.de>
3628 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3629 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3630 that these keywords aren't wrongly matched as identifiers.
3632 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3633 setting of c-new-BEG and c-new-END from c-before-change to
3634 c-after-change. (Bug#7181)
3636 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3638 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3641 * custom.el (custom-theme-set-variables): Likewise.
3642 (load-theme): Add custom-theme-set-faces and
3643 custom-theme-set-variables to safe-functions while loading.
3644 (custom-enabled-themes): Mark as risky.
3646 2010-10-18 Julien Danjou <julien@danjou.info>
3648 * bindings.el: Remove end dashes in default mode-line-format.
3650 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3652 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3653 to delete-forward-char.
3655 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3656 deletechar, and hence delete-forward-char.
3658 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * repeat.el (repeat): Use read-key (bug#6256).
3662 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3664 * emacs-lisp/unsafep.el: Don't mark functions that display
3665 messages as safe. Suggested by Johan Bockgård.
3667 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * minibuffer.el (completion--replace): Move point where it belongs
3670 when there's a common suffix (bug#7215).
3672 2010-10-19 Kenichi Handa <handa@m17n.org>
3674 * international/characters.el: Add category '|' (word breakable)
3675 to fullwidth characters.
3677 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3679 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3680 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3681 order to make stat results a float. Patch by Andreas Schwab
3682 <schwab@linux-m68k.org>.
3684 2010-10-18 Julien Danjou <julien@danjou.info>
3686 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3687 hidden by `make-pointer-invisible'.
3689 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3691 * files.el (locate-file-completion-table): Strip non-matching elements
3692 before checking length of list (bug#7238).
3694 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3696 * custom.el (custom-theme-set-variables): Mark as a safe function.
3697 (load-theme): Check forms using unsafep.
3699 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3701 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3703 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3704 Fix aspell data file searching (bug#7230).
3706 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3708 * cus-theme.el (custom-theme--migrate-settings): New var.
3709 (customize-create-theme): Allow editing the `user' theme.
3710 (custom-theme-add-variable, custom-theme-add-var-1)
3711 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3712 to the front of each variable or face widget.
3713 (custom-theme-write): Save theme settings in the correct order.
3714 Optionally, remove saved settings from user customizations.
3715 (custom-theme-write-variables, custom-theme-write-faces):
3716 Save only the checked widgets.
3717 (customize-themes): Add a link for migrating custom settings.
3719 * custom.el (custom-declare-theme, provide-theme):
3720 Use custom-theme-name-valid-p.
3721 (custom-theme-name-valid-p): Remove checks that are now
3722 unnecessary since themes no longer obey load-path.
3724 * cus-edit.el (custom-variable-value-create): For the simple
3725 style, hide documentation string when hidden.
3727 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3729 * cus-edit.el (custom-variable, custom-face): Combine the
3730 :inhibit-magic and :display-style properties into a single
3731 :custom-style property.
3732 (custom-toggle-hide-variable, custom-toggle-hide-face):
3733 New functions. If hiding an edited value, save it to :shown-value.
3734 (custom-variable-value-create, custom-face-value-create): Use them.
3735 (custom-magic-reset): Allow magic property to be unset.
3737 * custom.el: Custom themes no longer use load-path.
3738 (custom-theme-load-path): New option. Change built-in theme
3740 (custom-enabled-themes): Add custom-theme-load-path dependency.
3741 (custom-theme--load-path): New function.
3742 (load-theme, custom-available-themes): Use it.
3744 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3745 (customize-themes): Link to custom-theme-load-path variable.
3746 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3747 :custom-style property.
3749 * themes/*.el: Moved to etc/.
3751 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3753 * textmodes/reftex-cite.el
3754 (reftex-extract-bib-entries-from-thebibliography): Do not move
3755 point when searching for \bibitem entries. Match entries with
3756 spaces or tabs in front of arguments.
3758 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3760 * cus-theme.el (customize-create-theme): Delete overlays after
3761 erasing. If given a THEME arg, display only the faces of that arg
3762 instead of custom-theme--listed-faces.
3763 (custom-theme-variable-menu, custom-theme-variable-action)
3764 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3765 (custom-theme-add-variable, custom-theme-add-face): Apply value
3766 from the theme settings, instead of the current value.
3767 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3768 (custom-theme-visit-theme): Allow calling outside theme buffers.
3769 (custom-theme-merge-theme): Don't enable the theme when merging.
3770 (custom-theme-write-variables, custom-theme-write-faces): Use the
3771 :shown-value properties to save buffer values, not global ones.
3772 (customize-themes): Display a warning about user customizations.
3774 * cus-edit.el (custom-variable-value-create)
3775 (custom-face-value-create): Obey new special properties
3776 :shown-value and :inhibit-magic.
3778 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3780 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3781 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3784 2010-10-14 Kenichi Handa <handa@m17n.org>
3786 * mail/rmail.el (rmail-show-message-1): Catch an error of
3787 base64-decode-region and just show an error message (bug#7165).
3789 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3790 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3791 a font-spec (bug#7197).
3793 2010-10-14 Glenn Morris <rgm@gnu.org>
3795 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3797 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3799 * international/mule.el (define-coding-system):
3800 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3801 * composite.el (compose-region): Fix typo in docstring.
3803 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3805 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3806 only after checking the theme-face property.
3808 * faces.el (face-spec-reset-face): Reset all attributes in one
3809 single call to set-face-attribute.
3810 (face-spec-match-p): Make it a defsubst.
3811 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3812 (x-create-frame-with-faces, tty-create-frame-with-faces)
3813 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3814 frame-set-background-mode, since they are recomputed immediately
3815 afterwards in face-set-after-frame-default.
3816 (face-set-after-frame-default): Minor optimization.
3817 (cursor): Provide non-trivial defface spec.
3819 * custom.el (custom-theme-recalc-face): Simplify.
3821 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3823 * calc/calc-alg.el (math-var): Rename from `var'.
3824 (math-is-polynomial, math-is-poly-rec): Replace `var'
3827 * calc/calcalg2.el (math-var): Rename from `var'.
3828 (calcFunc-table, math-scan-for-limits): Replace `var'
3831 2010-10-13 Glenn Morris <rgm@gnu.org>
3833 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3835 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3837 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3839 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3841 * net/tls.el (tls-program): Remove spurious %s from openssl.
3842 (tls-starttls-switches): Remove starttls hack.
3843 (open-tls-stream): Ditto.
3844 (tls-find-starttls-argument): Ditto.
3846 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3848 * image.el (image-library-alist): Declare as obsolete alias.
3849 (image-type-available-p): Use `dynamic-library-alist'.
3851 * term/w32-win.el (dynamic-library-alist):
3852 Use instead of `image-library-alist'.
3854 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3856 * subr.el (last): Make it faster. (Bug#7174)
3858 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3860 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3862 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3864 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3865 (describe-theme-1): Extract doc from unloaded themes.
3867 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3869 * themes/tango-theme.el:
3870 * themes/tango-dark-theme.el:
3871 * themes/wheatgrass-theme.el: New files.
3873 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3875 * cus-theme.el (describe-theme, customize-themes)
3876 (custom-theme-save): New commands.
3877 (custom-new-theme-mode-map): Bind C-x C-s.
3878 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3879 (customize-create-theme): New optional arg THEME.
3880 (custom-theme-revert): Use it.
3881 (custom-theme-visit-theme): Remove dead code.
3882 (custom-theme-merge-theme): Use custom-available-themes.
3883 (custom-theme-write): Make interactive.
3884 (custom-theme-write): Use custom-theme-name-valid-p.
3885 (describe-theme-1, custom-theme-choose-revert)
3886 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3888 (custom-theme-allow-multiple-selections): New option.
3889 (custom-theme-choose-mode): New major mode.
3891 * custom.el (custom-theme-set-variables): Remove dead code.
3892 Obey custom--inhibit-theme-enable.
3893 (custom--inhibit-theme-enable): New var.
3894 (provide-theme): Obey it.
3895 (load-theme): Replace load with manual read/eval, in order to
3896 check for correctness. Use custom-theme-name-valid-p.
3897 (custom-theme-name-valid-p): New function.
3898 (custom-available-themes): Use it.
3900 * cus-edit.el (custom--initialize-widget-variables): New function.
3901 (Custom-mode): Use it.
3903 * cus-face.el (custom-theme-set-faces): Remove dead code.
3904 Obey custom--inhibit-theme-enable.
3906 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3908 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3910 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3912 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3914 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3915 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3916 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3918 * cus-start.el (all): ns-right-alternate-modifier is new.
3920 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * emacs-lisp/lisp.el (lisp-completion-at-point):
3923 Use emacs-lisp-mode-syntax-table for the whole function.
3925 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3927 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3928 instead of font-lock-mode before adding keywords.
3929 Remove hi-lock-mode off code. Remove inhibit hack.
3930 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3931 non-nil; removed hook inhibit hack.
3933 2010-10-12 Glenn Morris <rgm@gnu.org>
3935 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3936 (load-path-shadows-find): ... to this.
3937 (list-load-path-shadows): Update for above change.
3939 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3941 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3943 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3944 Fix comment for declare-function.
3946 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3948 * custom.el (custom-fix-face-spec): New function; code moved from
3949 custom-face-edit-fix-value.
3950 (custom-push-theme): Use it when checking if a face has been
3951 changed outside customize.
3952 (custom-available-themes): New function.
3953 (load-theme): Use it.
3955 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3957 * custom.el (custom-push-theme): Cleanup (use cond).
3958 (disable-theme): Recompute the saved-face property.
3959 (custom-theme-recalc-face): Follow face alias before setting prop.
3961 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3962 New variables, containing checkbox images.
3964 * startup.el (fancy-startup-tail):
3965 * wid-edit.el (checkbox): Use them.
3967 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3969 * shell.el (shell-mode-map):
3970 * progmodes/modula2.el (m2-mode-map):
3971 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3972 * play/mpuz.el (mpuz-mode-map):
3973 * play/landmark.el (lm-mode-map):
3974 * play/decipher.el (decipher-mode-map):
3975 * play/5x5.el (5x5-mode-map):
3976 * net/telnet.el (telnet-mode-map):
3977 * net/quickurl.el (quickurl-list-mode-map):
3978 * net/mairix.el (mairix-searches-mode-map):
3979 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3980 * net/dig.el (dig-mode-map):
3981 * mail/mspools.el (mspools-mode-map):
3982 * hexl.el (hexl-mode-map):
3983 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3984 (wordstar-C-o-map, wordstar-C-q-map):
3985 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3986 * emacs-lisp/chart.el (chart-map):
3987 * edmacro.el (edmacro-mode-map):
3988 * erc/erc-list.el (erc-list-menu-mode-map):
3989 * array.el (array-mode-map): Declare and define in one step.
3991 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3993 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3995 * epa.el (epa-passphrase-callback-function): Display filename
3996 passed as the 3rd arg.
3997 * epa-file.el (epa-file-passphrase-callback-function):
3998 Pass filename to epa-passphrase-callback-function.
4000 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4002 * cus-edit.el (custom-face-widget-to-spec)
4003 (custom-face-get-current-spec, custom-face-state): New functions.
4004 (custom-face-set, custom-face-mark-to-save)
4005 (custom-face-value-create, custom-face-state-set): Use them.
4007 * cus-theme.el (custom-theme--listed-faces): New var.
4008 (customize-create-theme): Use *Custom Theme* as the buffer name.
4009 Set revert-buffer-function. Optional arg BUFFER. Insert all
4010 faces listed in custom-theme--listed-faces.
4011 (custom-theme-revert): New function.
4012 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4014 (custom-theme-write): Prompt for theme name if empty.
4015 (custom-theme-write-variables): Use dolist.
4016 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4018 2010-10-09 Alan Mackenzie <acm@muc.de>
4020 Enhance fontification of declarators to take account of the
4021 presence/absence of "typedef".
4023 * cc-engine.el (c-forward-type): New &optional param
4025 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4026 presence of either or both of a "struct"-like keyword and "typedef".
4028 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4029 fontification of declarators which follow a "}".
4030 (c-font-lock-declarations): Fontify declarators according to the
4031 presence/absence of "typedef".
4033 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4035 (c-typedef-decl-key): New lang variable built from
4036 c-typedef-decl-kwds.
4038 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4040 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4041 since that's too annoying. Move the filter groups commands to
4044 * epa.el (epa-passphrase-callback-function): Say what we're
4045 querying the password for.
4047 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4048 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4050 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4052 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4053 (custom-magic-value-create): Pad button tags with spaces.
4054 (custom-face-edit): New variable.
4055 (custom-face-value-create): Determine whether to use the usual
4056 face editor here, instead of using custom-face-selected.
4057 Pass face defaults to custom-face-edit widget.
4058 (custom-face-selected, custom-display-unselected): Delete widgets.
4059 (custom-display-unselected-match): Function removed.
4060 (custom-face-set, custom-face-mark-to-save):
4061 Accept custom-face-edit widgets as the direct widget child.
4063 * wid-edit.el (widget--completing-widget): New var.
4064 (widget-default-complete): Bind it when doing completion.
4065 (widget-string-complete, widget-file-complete): Use it.
4067 2010-10-09 Glenn Morris <rgm@gnu.org>
4069 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4070 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4071 (holiday-hebrew-misc): Small simplifications.
4073 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4075 * net/browse-url.el: Don't require thingatpt, term, dired,
4076 executable, or w3-auto when compiling.
4077 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4079 (browse-url-text-emacs): Require term.
4081 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4083 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4085 2010-10-08 Glenn Morris <rgm@gnu.org>
4087 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4089 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4090 (shadows-compare-text-p): Make it an obsolete alias for...
4091 (load-path-shadows-compare-text): ... new name.
4092 (find-emacs-lisp-shadows): Update for above name change.
4093 (load-path-shadows-same-file-or-nonexistent): New name for the old
4094 shadow-same-file-or-nonexistent.
4096 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4098 * minibuffer.el (completion--some, completion--do-completion)
4099 (minibuffer-complete-and-exit, minibuffer-completion-help)
4100 (completion-basic-try-completion)
4101 (completion-basic-all-completions)
4102 (completion-pcm--find-all-completions): Use lexical-let to
4103 avoid some false matches in variable completion (Bug#7056)
4105 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4107 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4109 2010-10-08 Leo <sdl.web@gmail.com>
4111 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4112 return non-nil if the file exists (Bug#7090).
4114 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4116 * minibuffer.el (completion--replace):
4117 Better preserve markers (bug#7138).
4119 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4121 * server.el (server-process-filter): Doc fix.
4123 2010-10-08 Drew Adams <drew.adams@oracle.com>
4125 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4127 2010-10-08 Glenn Morris <rgm@gnu.org>
4129 * vc/ediff-wind.el (ediff-setup-control-frame):
4130 * vc/ediff-ptch.el (ediff-default-backup-extension):
4131 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4132 (ediff-exec-process): Remove system-types emx, windows-95.
4134 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4136 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4138 * cus-edit.el (custom-variable, custom-face): Doc fix.
4139 (custom-face-edit): Add value-create attribute.
4140 (custom-face-edit-value-create)
4141 (custom-face-edit-value-visibility-action): New functions.
4142 Hide unused face attributes by default, and add a visibility toggle.
4143 (custom-face-edit-deactivate): Show empty values with shadow face.
4144 (custom-face-selected): Only use this for face specs with default
4146 (custom-face-value-create): Cleanup.
4148 * wid-edit.el (widget-checklist-value-create): Use dolist.
4149 (widget-checklist-match-find): Make second arg optional.
4151 2010-10-07 Glenn Morris <rgm@gnu.org>
4153 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4156 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4157 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4158 load-path-shadows-mode, update references.
4159 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4160 Rename variable and button.
4161 (list-load-path-shadows): Update button caller.
4163 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4166 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4167 (smie-merge-prec2s): Handle those new entries.
4168 (smie-prec2-levels): Only set precedence to nil for actual
4170 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4171 that is now unnecessary.
4173 2010-10-07 Miles Bader <miles@gnu.org>
4175 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4177 2010-10-07 Glenn Morris <rgm@gnu.org>
4179 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4180 (mail-position-on-field): Remove declarations.
4181 (mail-position-on-field): Autoload it.
4182 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4183 and mail-header-end. Don't require sendmail.
4185 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4186 (shadow-mode): New mode.
4187 (shadow-find-file): New button.
4188 (list-load-path-shadows): Use shadow-mode and buttons.
4190 * iimage.el (iimage-version): Remove.
4191 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4192 Turn into defcustoms.
4193 (iimage-mode-map): Give it a doc string.
4195 * calendar/appt.el (appt-activate): Give a warning rather than an error
4196 if there is no diary-file.
4198 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4200 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4201 Use `tramp-handle-find-backup-file-name'.
4203 2010-10-06 Glenn Morris <rgm@gnu.org>
4205 * font-core.el (font-lock-defaults-alist): Remove variable.
4206 (font-lock-mode): Doc fix.
4207 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4208 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4209 (font-lock-set-defaults): Doc fix.
4210 Do not consult font-lock-defaults-alist.
4212 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4214 * emacs-lisp/cl.el: No longer provide cl-19.
4216 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4218 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4219 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4220 New defuns, taken from tramp-smb.el.
4221 (tramp-coding-system-change-eol-conversion)
4222 (tramp-set-process-query-on-exit-flag): Remove.
4224 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4225 (tramp-compat-coding-system-change-eol-conversion)
4226 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4229 * net/tramp-gvfs.el:
4230 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4231 by `tramp-compat-set-process-query-on-exit-flag'.
4233 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4234 Use `tramp-handle-directory-files-and-attributes',
4235 `tramp-handle-file-exists-p' and
4236 `tramp-handle-file-newer-than-file-p'.
4237 (tramp-imap-handle-file-exists-p)
4238 (tramp-imap-handle-file-executable-p)
4239 (tramp-imap-handle-file-readable-p)
4240 (tramp-imap-handle-directory-files-and-attributes)
4241 (tramp-imap-handle-file-newer-than-file-p): Remove.
4243 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4244 by `tramp-compat-set-process-query-on-exit-flag' and
4245 `tramp-coding-system-change-eol-conversion' by
4246 `tramp-compat-coding-system-change-eol-conversion'.
4248 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4249 Use `tramp-handle-directory-files-and-attributes',
4250 `tramp-handle-file-exists-p' and
4251 `tramp-handle-file-newer-than-file-p'.
4252 (tramp-smb-handle-directory-files-and-attributes)
4253 (tramp-smb-handle-file-exists-p)
4254 (tramp-smb-handle-file-newer-than-file-p): Remove.
4255 (tramp-smb-maybe-open-connection):
4256 Replace `tramp-set-process-query-on-exit-flag' by
4257 `tramp-compat-set-process-query-on-exit-flag'.
4259 2010-10-05 Glenn Morris <rgm@gnu.org>
4261 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4263 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4265 Continue reorganization of load dependencies. (Bug#7156)
4267 * net/tramp.el (tramp-handle-file-local-copy-hook)
4268 (tramp-delete-temp-file-function): Move down.
4269 (tramp-exists-file-name-handler): Move up.
4270 (tramp-register-file-name-handlers): Simplify autoload.
4271 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4272 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4273 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4274 (tramp-handle-file-name-completion)
4275 (tramp-handle-file-name-directory)
4276 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4277 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4278 (tramp-handle-find-backup-file-name)
4279 (tramp-handle-insert-file-contents, tramp-handle-load)
4280 (tramp-handle-substitute-in-file-name)
4281 (tramp-handle-unhandled-file-name-directory)
4282 (tramp-mode-string-to-int, tramp-local-host-p)
4283 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4285 * net/tramp-gvfs.el (top):
4286 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4288 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4289 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4291 2010-10-04 Glenn Morris <rgm@gnu.org>
4293 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4294 (appt-activate): Give status messages.
4296 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4298 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4299 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4300 `gnutls-negotiate' (formerly `starttls-negotiate').
4301 Remove trivial wrapper `starttls-open-stream'.
4303 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4305 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4306 log-outgoing commands.
4307 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4308 to create a buffer local revert-buffer-function variable.
4309 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4310 revert-buffer-function lambda.
4312 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4314 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4315 `gnutls-boot'. Make TYPE the only required parameter.
4316 Allow TRUSTFILES and KEYFILES to be lists.
4317 (open-ssl-stream): Use it.
4319 2010-10-03 Glenn Morris <rgm@gnu.org>
4321 * subr.el (directory-sep-char): Remove obsolete variable.
4322 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4325 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4326 * vc/vc.el (vc-static-header-alist): Doc fix.
4327 * vc/vc-cvs.el (vc-cvs-header):
4328 * vc/vc-rcs.el (vc-rcs-header):
4329 * vc/vc-sccs.el (vc-sccs-header):
4330 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4331 * obsolete/vc-mcvs.el (vc-mcvs-header):
4332 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4335 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4337 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4338 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4340 2010-10-03 Glenn Morris <rgm@gnu.org>
4342 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4344 * textmodes/rst.el (rst-font-lock-keywords-function):
4347 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4349 * printing.el: Drop Emacs 20 code.
4351 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4352 without having used appt.el already).
4354 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4355 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4356 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4358 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4359 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4361 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4362 (charset-width, find-charset-region, chars-in-region, forward-point)
4363 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4364 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4365 Remove compatibility cruft (none of these are used by ps*.el).
4367 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4369 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4371 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4373 * server.el (server-process-filter, server-return-error):
4374 Give emacsclient time to shut down after receiving an error string.
4376 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4378 * files.el (remote-file-name-inhibit-cache): New defcustom.
4380 * time.el (display-time-file-nonempty-p):
4381 Use `remote-file-name-inhibit-cache'.
4383 * net/tramp.el (tramp-completion-reread-directory-timeout):
4386 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4387 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4388 `remote-file-name-inhibit-cache'. Check also for an integer
4389 value. Add/increase counter when `tramp-verbose' >= 10.
4390 (tramp-set-file-property): Add/increase counter when
4391 `tramp-verbose' >= 10.
4393 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4394 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4395 (tramp-bug): Set tramp-autoload cookie. Report all interned
4396 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4397 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4398 characters only in strings.
4400 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4401 to backward compatibility.
4403 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4404 (tramp-handle-file-name-all-completions)
4405 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4406 (tramp-open-connection-setup-interactive-shell):
4407 Call `tramp-cleanup-connection' directly.
4409 2010-10-02 Glenn Morris <rgm@gnu.org>
4411 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4413 * subr.el (char-bytes): Remove obsolete function.
4415 * isearch.el (isearch-return-char): Remove obsolete function.
4417 * mouse.el: No longer provide mldrag.
4418 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4419 Remove obsolete aliases.
4421 * comint.el (comint-kill-output): Remove obsolete alias.
4423 * composite.el (decompose-composite-char): Remove obsolete function.
4424 * ps-def.el (decompose-composite-char): Remove unused function.
4426 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4428 * outline.el (outline-visible): Remove obsolete function.
4430 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4431 * faces.el (internal-find-face, internal-get-face)
4432 (frame-update-faces, frame-update-face-colors)
4433 (x-frob-font-weight, x-frob-font-slant)
4434 (internal-frob-font-weight, internal-frob-font-slant)
4435 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4436 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4437 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4439 * emulation/viper-util.el (viper-get-face):
4440 * obsolete/lucid.el (find-face, get-face): Use facep.
4441 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4442 Remove unused functions.
4443 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4445 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4446 delete tempfile if interrupted during compilation.
4448 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4450 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4452 (tls-program): Add --insecure to be consistent with the defaults from
4453 openssl s_client. Now all three commands are insecure.
4455 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4457 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4458 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4459 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4461 2010-10-01 Glenn Morris <rgm@gnu.org>
4463 * obsolete/sc.el: Remove file.
4465 * files.el (temporary-file-directory): On darwin, also try
4466 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4468 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4470 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4471 Let's not break compatibility gratuitously, shall we?
4473 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4475 * net/tls.el (tls-starttls-switches): New variable.
4476 (tls-find-starttls-argument): Use it.
4477 (open-tls-stream): Ditto.
4479 * net/netrc.el (netrc-credentials): Return the value of the "default"
4481 (netrc-machine): Ditto.
4483 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4485 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4487 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4489 * server.el (server-start): Don't write pid to the authentication file.
4490 (server-create-tty-frame): Don't send pid.
4491 (server-process-filter): Send pid at the start of every connection.
4493 2010-09-30 Glenn Morris <rgm@gnu.org>
4495 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4496 (show-all-diary-entries): Remove obsolete function aliases.
4498 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4499 Remove options, obsolete since 22.1.
4500 (appt-display-format, appt-display-message):
4501 Remove backwards-compatibility code.
4502 (appt-check): No longer check appt-issue-message.
4503 (appt-make-list): No longer autoload it. Doc fix. No longer
4504 activate the package.
4506 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4508 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4509 (starttls-negotiate): Just call boot, and let the handshake be
4510 triggered from the read loop.
4512 2010-09-29 Glenn Morris <rgm@gnu.org>
4514 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4515 not displaying the diary.
4516 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4517 * calendar/appt.el (appt-check): No longer need to kill diary.
4519 * calendar/diary-lib.el (diary-list-entries): Move the
4520 "Preparing..." message entirely here.
4521 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4522 messages to diary-list-entries.
4523 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4524 diary-display-function.
4526 * calendar/diary-lib.el (diary-include-other-diary-files):
4527 Trap some recursive includes.
4529 * calendar/appt.el (appt-activate): Check diary file.
4531 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4533 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4536 * calendar/time-date.el: No need to require cl for Emacs 21.
4538 2010-09-28 Glenn Morris <rgm@gnu.org>
4540 * calendar/appt.el (appt-check): Minor simplification.
4542 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4544 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4547 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4550 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4552 2010-09-27 Kenichi Handa <handa@m17n.org>
4554 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4557 2010-09-27 Kenichi Handa <handa@m17n.org>
4559 * international/mule.el (define-coding-system): Docstring fixed.
4561 * international/mule-diag.el (describe-character-set): Use princ
4562 with proper print-length and print-level instead of insert.
4564 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4566 * window.el (walk-windows): Doc fix (bug#7105).
4568 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * emacs-lisp/float-sup.el (e): Remove.
4572 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4574 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4576 (starttls-negotiate): Use it.
4578 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4580 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4583 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4587 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4589 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4591 * net/netrc.el (netrc-store-data): New function.
4593 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4595 * net/gnutls.el: GnuTLS glue code to set up a connection.
4597 2010-09-25 Julien Danjou <julien@danjou.info>
4599 * notifications.el: Call dbus-register-signal only if it is bound.
4601 2010-09-25 Glenn Morris <rgm@gnu.org>
4603 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4604 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4605 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4606 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4607 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4608 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4609 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4610 * eshell/esh-util.el, eshell/esh-var.el:
4611 Remove leading `*' from docs of faces and defcustoms.
4613 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4615 * eshell/em-ls.el (eshell-ls-archive-regexp):
4616 * eshell/esh-util.el (eshell-tar-regexp):
4617 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4618 * info.el (Info-suffix-list):
4619 * international/mule.el (auto-coding-alist):
4620 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4621 * progmodes/etags.el (tags-compression-info-list):
4622 Support xz compression.
4624 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4626 * files.el (get-free-disk-space): Don't assume the "df" output
4627 columns line up (Bug#6995).
4629 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4631 * finder.el (finder-unknown-keywords):
4632 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4633 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4635 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4637 * server.el (server-start): Revert part of 2010-08-08 change. Using
4638 address 127.0.0.1 for local host is now done in Fmake_network_process.
4640 2010-09-24 Glenn Morris <rgm@gnu.org>
4642 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4643 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4644 * textmodes/css-mode.el, textmodes/dns-mode.el:
4645 Move autoloaded auto-mode-alist entries to files.el.
4646 * files.el (auto-mode-alist): Move entries here.
4648 2010-09-23 Glenn Morris <rgm@gnu.org>
4650 * isearch.el (isearch-lazy-highlight-cleanup)
4651 (isearch-lazy-highlight-initial-delay)
4652 (isearch-lazy-highlight-interval)
4653 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4654 * net/net-utils.el (ipconfig-program-options):
4655 Move aliases to options before the associated definitions.
4657 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4659 * newcomment.el (comment-normalize-vars): Better test validity of
4662 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4665 (float-e): New name for `e'.
4666 (degrees-to-radians, radians-to-degrees):
4667 * calendar/solar.el (solar-longitude):
4668 * calculator.el (calculator-registers, calculator-funcall):
4669 * textmodes/artist.el (artist-spray-random-points):
4670 * play/bubbles.el (bubbles--initialize-images): Use new names.
4672 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4674 Update to CEDET 1.0's version of EIEIO.
4676 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4678 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4679 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4680 (class-precedence-list): If class is nil, return nil.
4681 (eieio-generic-call): If class of first input arg is nil, don't
4682 look up static methods, and do check for primary methods.
4683 (initialize-instance): See if the default needs to be evaluated
4684 during the constructor.
4685 (eieio-perform-slot-validation-for-default): Don't do the check
4686 for values that will eventually be evaluated.
4687 (eieio-eval-default-p): New function.
4688 (eieio-default-eval-maybe): Use it.
4690 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4692 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4693 method-invocation-order.
4694 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4695 (eieio-class-precedence-dfs): Compute class precedence list using
4697 (eieio-class-precedence-bfs): Compute class precedence list using
4699 (eieio-class-precedence-c3): Compute class precedence list using
4701 (class-precedence-list): New function.
4702 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4703 (inconsistent-class-hierarchy): New error symbol.
4704 (call-next-method): Stow the replacement argument list for future
4705 call-next-method invocations.
4707 2010-09-23 Glenn Morris <rgm@gnu.org>
4709 * calendar/appt.el (appt-check): If not displaying the diary,
4710 use (diary 1) to only get the entries we need.
4711 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4712 that it is in day order. (Bug#7019)
4714 * calendar/appt.el (appt-check): Rather than showing the diary,
4715 just turn off invisible display, and only if needed.
4717 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4719 2010-09-23 Glenn Morris <rgm@gnu.org>
4721 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4722 (byte-compile-defvar, byte-compile-cl-warn):
4723 Start warnings with lower-case, like the majority.
4725 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4727 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4729 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4730 * files.el (auto-mode-alist): Move ld-script entries here, further down
4733 * vc/add-log.el: Don't require timezone when compiling.
4734 (timezone-make-date-sortable): Autoload it.
4735 (change-log-sortable-date-at): Don't require timezone.
4736 Use `ignore-errors'.
4738 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4739 Move alias before definition, so it does not need autoloading.
4741 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4742 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4743 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4744 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4745 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4746 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4747 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4748 * textmodes/tex-mode.el, textmodes/two-column.el:
4749 Remove leading `*' from docs of defcustoms etc.
4751 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4753 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4755 2010-09-22 Dan Christensen <jdc@uwo.ca>
4757 * calendar/time-date.el (date-to-time): Try using parse-time-string
4758 first before using the slower timezone-make-date-arpa-standard.
4760 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4762 * calendar/time-date.el (format-seconds): Comment fix.
4764 2010-09-22 Glenn Morris <rgm@gnu.org>
4766 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4767 is not automatically buffer-local.
4769 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4772 (smie-indent-comment): Be more careful with comment-start-skip.
4773 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4774 (smie-indent-functions): Use them.
4776 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4778 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4780 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4782 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4783 tool-bar-position. Don't modify frame parameters here.
4784 (menu-bar-options-save): Add tool-bar-position.
4786 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4788 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * textmodes/reftex-parse.el (reftex-what-macro)
4791 (reftex-context-substring): Let-bind forward-sexp-function to nil
4792 since we don't need/want to treat \begin...\end as a block (bug#7053).
4794 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4796 * simple.el (blink-matching-open): Use syntax-class.
4798 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4799 Set invisibility spec for pascal's outline mode.
4800 (pascal-outline-change): Clean up calling convention.
4801 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4803 * progmodes/prolog.el (prolog-smie-forward-token)
4804 (prolog-smie-backward-token): New functions.
4805 (prolog-mode-variables): Use them to parse "!," correctly.
4806 Set up smie-blink-matching for ".".
4808 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4810 (ispell-region, ispell-process-line): Update users.
4812 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4815 * textmodes/ispell.el: Fix commenting convention.
4816 (ispell-parse-output): Simplify, use push.
4817 (ispell-region): Use match-string-no-properties.
4818 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4819 (ispell-minor-mode): Use define-minor-mode.
4820 (ispell-message): Remove unused var `skip-regexp'.
4821 (ispell-add-per-file-word-list): Use dynamic let-binding.
4822 Try and use the proper comment marker.
4824 * mail/sendmail.el: Fix commenting convention.
4825 (sendmail-send-it): Use line-beginning-position.
4827 * help-fns.el (describe-variable): Add original value, if applicable.
4829 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4831 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4833 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4835 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4837 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4838 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4839 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4840 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4841 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4842 something like "." can also be a closer.
4843 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4844 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4845 Rename internal functions to use "--". Update callers.
4847 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4849 * fringe.el (fringe-styles): New var.
4850 (fringe-mode, fringe-query-style): Use it.
4852 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4854 * progmodes/sql.el: Version 2.8
4855 (sql-login-params): Update widget structure; changes still needed.
4856 (sql-product-alist): Add :list-all and :list-table features for
4857 SQLite, Postgres and MySQL products.
4858 (sql-redirect): Handle default value.
4859 (sql-execute, sql-execute-feature): New functions.
4860 (sql-read-table-name): New function.
4861 (sql-list-all, sql-list-table): New functions. User API.
4862 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4863 for above functions.
4864 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4865 for above functions.
4866 (sql-postgres-login-params): Add user and database defaults.
4867 (sql-buffer-live-p): Bug fix.
4868 (sql-product-history): New variable.
4869 (sql-read-product): New function. Use it.
4870 (sql-set-product, sql-product-interactive): Use it.
4871 (sql-connection-history): New variable.
4872 (sql-read-connection): New function. Use it.
4873 (sql-connect): New function.
4874 (sql-for-each-login): Redesign function interface.
4875 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4876 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4877 (sql-comint): Check for program. Existing live buffer.
4878 (sql-comint-postgres): Add port parameter.
4880 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * emacs-lisp/warnings.el: Fix commenting convention.
4883 (display-warning): Use special mode and make the buffer read-only.
4885 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4887 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4888 empty string when it follows a repeated or optional pattern.
4890 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4893 (indent-region): Use indent-according-to-mode.
4895 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4897 * fringe.el (fringe-mode): Doc fix.
4899 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4901 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4902 refreshing the preview buffer.
4904 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4906 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4907 (latex-syntax-propertize-rules): New consts; replace
4908 tex-font-lock-syntactic-keywords.
4909 (tex-env-mark, latex-env-before-change): New functions.
4910 (latex-electric-env-pair-mode): New minor mode.
4911 (tex-font-lock-verb): Change arguments; do move point.
4912 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4913 representation as a form of comment.
4914 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4915 (doctex-syntax-propertize-rules): New const; replaces
4916 doctex-font-lock-syntactic-keywords.
4917 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4919 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4920 (fortran-make-syntax-propertize-function): New function; replaces
4921 fortran-font-lock-syntactic-keywords.
4922 (fortran-mode): Use it.
4923 (fortran-line-length): Use it. Improve interactive spec.
4925 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4926 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4927 when adding surrounding \(..\).
4929 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4931 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4934 Use with-current-buffer.
4936 * isearch.el (isearch-face): Rename from `isearch'.
4937 (isearch-highlight): Use new name.
4939 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4941 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4942 5, for `half' width fringes. (Bug#6933)
4944 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4947 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4949 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4951 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4953 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4954 in calculating new frame position. Add more space between new and
4955 parent on the left (Bug#7048).
4957 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4959 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4962 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4964 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4966 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4967 obsolete alias for x-selection-value.
4969 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4971 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4973 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4976 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4978 * net/tramp-compat.el (tramp-compat-with-temp-message)
4979 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4980 (tramp-compat-process-put): New defuns.
4982 * net/tramp.el (top):
4983 * net/tramp-gvfs.el (top):
4984 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4986 * net/tramp.el (tramp-progress-reporter-update):
4987 Use `tramp-compat-funcall'.
4989 * net/tramp.el (tramp-process-actions):
4990 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4991 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4992 (tramp-get-remote-stat, tramp-get-remote-readlink):
4993 Use `tramp-compat-with-temp-message'.
4995 * net/tramp-sh.el (top): Require 'cl.
4996 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4997 (tramp-open-connection-setup-interactive-shell):
4998 Use `tramp-compat-process-put'.
5000 2010-09-15 Alan Mackenzie <acm@muc.de>
5002 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5004 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5006 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5009 `lexical' for warnings related to lexical scoping.
5010 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5011 global vars which don't have a prefix and could hence affect lexical
5012 scoping in unrelated files.
5014 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5016 * net/imap.el: Revert back to version
5017 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5020 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5022 * obsolete/old-whitespace.el (whitespace-unload-function):
5023 Explicitly pass `obarray' to `unintern' to avoid a warning.
5025 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5028 Add `when' argument. Update callers.
5030 * subr.el (unintern): Declare the obarray arg mandatory.
5032 2010-09-14 Glenn Morris <rgm@gnu.org>
5034 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5037 * calendar/diary-lib.el (diary-included-files): New variable.
5038 (diary-list-entries): Maybe initialize diary-included-files.
5039 (diary-include-other-diary-files): Append to diary-included-files.
5040 * calendar/appt.el (appt-update-list): Also check the members of
5041 diary-included-files. (Bug#6999)
5042 (appt-check): Doc fix.
5044 2010-09-14 David Reitter <david.reitter@gmail.com>
5046 * simple.el (line-move-visual): Do not truncate goal column to
5047 integer size. (Bug#7020)
5049 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5051 * repeat.el (repeat): Allow repeating when the last event is a click.
5052 Suggested by Drew Adams (bug#6256).
5054 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5056 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5057 Replace setting HGRCPATH to "" by some less invasive --config options.
5059 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * font-lock.el (font-lock-beginning-of-syntax-function):
5064 2010-09-14 Glenn Morris <rgm@gnu.org>
5066 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5067 and tool-bar modes. (Bug#6211)
5068 (menu-bar-mode): Move setting of standard-value after the
5069 minor-mode definition, otherwise it seems to have no effect.
5071 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5073 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5074 Fix typo. (Bug#6976)
5076 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5078 * whitespace.el: Allow cleaning up blanks without blank
5079 visualization (Bug#6651). Adjust help window for
5080 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5081 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5082 (whitespace-style): Add new value 'face. Adjust docstring.
5083 (whitespace-space, whitespace-hspace, whitespace-tab):
5084 Adjust foreground property face.
5085 (whitespace-line-column): Adjust docstring and type declaration.
5086 (whitespace-style-value-list, whitespace-toggle-option-alist)
5087 (whitespace-help-text): Adjust const initialization.
5088 (whitespace-toggle-options, global-whitespace-toggle-options):
5090 (whitespace-display-window, whitespace-interactive-char)
5091 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5092 (whitespace-help-scroll): New fun.
5094 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5096 * calendar/time-date.el (format-seconds): Comment fix.
5098 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5100 * progmodes/sql.el: Version 2.7.
5101 (sql-buffer-live-p): Improve detection.
5102 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5103 (sql-set-sqli-buffer): Use it.
5104 (sql-product-interactive): Run `sql-set-sqli-hook'.
5105 (sql-rename-buffer): Code cleanup.
5106 (sql-redirect, sql-redirect-value): New functions. More to come.
5108 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5110 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.
5111 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5112 (TRAMP_SRC): New macro.
5113 ($(lisp)/net/tramp-loaddefs.el): New target.
5115 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5117 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5119 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5121 * net/tramp.el (top): Don't show loading message. Require just
5122 'tramp-compat, everything else is required there.
5123 Use `ignore-errors' where appropriate.
5124 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5125 (tramp-terminal-type, tramp-end-of-output)
5126 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5127 (tramp-completion-function-alist-ssh)
5128 (tramp-completion-function-alist-telnet)
5129 (tramp-completion-function-alist-su)
5130 (tramp-completion-function-alist-putty, tramp-remote-path)
5131 (tramp-remote-process-environment, tramp-sh-extra-args)
5132 (tramp-actions-before-shell, tramp-uudecode)
5133 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5134 (tramp-perl-file-attributes)
5135 (tramp-perl-directory-files-and-attributes)
5136 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5137 (tramp-perl-encode, tramp-perl-decode)
5138 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5139 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5140 (tramp-handle-make-symbolic-link, tramp-handle-load)
5141 (tramp-handle-file-name-as-directory)
5142 (tramp-handle-file-name-directory)
5143 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5144 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5145 (tramp-do-file-attributes-with-ls)
5146 (tramp-do-file-attributes-with-perl)
5147 (tramp-do-file-attributes-with-stat)
5148 (tramp-handle-set-visited-file-modtime)
5149 (tramp-handle-verify-visited-file-modtime)
5150 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5151 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5152 (tramp-handle-file-selinux-context)
5153 (tramp-handle-set-file-selinux-context)
5154 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5155 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5156 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5157 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5158 (tramp-handle-file-ownership-preserved-p)
5159 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5160 (tramp-handle-directory-files-and-attributes)
5161 (tramp-do-directory-files-and-attributes-with-perl)
5162 (tramp-do-directory-files-and-attributes-with-stat)
5163 (tramp-handle-file-name-all-completions)
5164 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5165 (tramp-handle-copy-file, tramp-handle-copy-directory)
5166 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5167 (tramp-do-copy-or-rename-file-via-buffer)
5168 (tramp-do-copy-or-rename-file-directly)
5169 (tramp-do-copy-or-rename-file-out-of-band)
5170 (tramp-handle-make-directory, tramp-handle-delete-directory)
5171 (tramp-handle-delete-file)
5172 (tramp-handle-dired-recursive-delete-directory)
5173 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5174 (tramp-handle-insert-directory)
5175 (tramp-handle-unhandled-file-name-directory)
5176 (tramp-handle-expand-file-name)
5177 (tramp-handle-substitute-in-file-name)
5178 (tramp-handle-executable-find, tramp-process-sentinel)
5179 (tramp-handle-start-file-process, tramp-handle-process-file)
5180 (tramp-handle-call-process-region, tramp-handle-shell-command)
5181 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5182 (tramp-handle-insert-file-contents)
5183 (tramp-handle-insert-file-contents-literally)
5184 (tramp-handle-find-backup-file-name)
5185 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5186 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5187 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5188 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5189 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5190 (tramp-find-file-exists-command, tramp-open-shell)
5191 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5192 (tramp-open-connection-setup-interactive-shell)
5193 (tramp-local-coding-commands, tramp-remote-coding-commands)
5194 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5195 (tramp-inline-compress-commands, tramp-find-inline-compress)
5196 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5197 (tramp-send-command, tramp-wait-for-output)
5198 (tramp-send-command-and-check, tramp-barf-unless-okay)
5199 (tramp-send-command-and-read, tramp-mode-string-to-int)
5200 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5201 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5202 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5203 (tramp-method-out-of-band-p, tramp-local-host-p)
5204 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5205 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5206 (tramp-get-test-command, tramp-get-test-nt-command)
5207 (tramp-get-file-exists-command, tramp-get-remote-ln)
5208 (tramp-get-remote-perl, tramp-get-remote-stat)
5209 (tramp-get-remote-readlink, tramp-get-remote-trash)
5210 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5211 (tramp-get-local-uid, tramp-get-local-gid)
5212 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5214 (tramp-methods, tramp-default-method-alist)
5215 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5216 Move initialization to tramp-sh.el.
5217 (tramp-temp-name-prefix): Make it a defconst.
5218 (tramp-dissect-file-name): Don't check anymore for multi-hop
5220 (tramp-debug-outline-regexp): Add a docstring.
5221 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5222 (tramp-get-debug-buffer): Use it.
5224 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5225 initialization forms.
5226 (tramp-set-connection-property): Don't protect `tramp-message'
5227 call, it isn't necessary any longer.
5228 (tramp-dump-connection-properties): Use `ignore-errors'.
5230 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5231 'password-cache and 'auth-source.
5233 * net/tramp-gvfs.el (top):
5234 * net/tramp-smb.el (top): Require 'tramp-sh.
5236 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5238 * net/tramp-sh.el: New file, derived from tramp.el.
5239 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5240 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5241 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5242 Use `ignore-errors' where appropriate.
5243 (tramp-sh-file-name-handler-alist): Rename from
5244 `tramp-file-name-handler-alist'.
5245 (tramp-send-command-and-check): Return t or nil. Remove all
5246 `zerop' checks, where called.
5247 (tramp-handle-set-file-modes)
5248 (tramp-do-copy-or-rename-file-directly)
5249 (tramp-handle-delete-directory, tramp-handle-delete-file)
5250 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5251 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5252 (tramp-get-remote-ln): Set tramp-autoload cookie.
5254 * net/tramp-fish.el: Remove file.
5256 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5258 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5259 buffer-file-name to avoid file-locking. (Bug#7026)
5261 2010-09-13 Julien Danjou <julien@danjou.info>
5263 * notifications.el (notifications-notify): Add support for
5264 image-path and sound-name.
5265 (notifications-specification-version): Add this variable.
5267 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5269 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5271 2010-09-12 Leo <sdl.web@gmail.com>
5273 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5274 (rcirc-completion-start): New variables.
5275 (rcirc-nick-completions): Rename to rcirc-completions.
5276 (rcirc-nick-completion-start-offset): Delete.
5277 (rcirc-completion-at-point): New function for constructing
5278 completion data for both nicks and irc commands. Add to
5279 completion-at-point-functions in rcirc mode.
5280 (rcirc-complete): Rename from rcirc-nick-complete; use
5281 rcirc-completion-at-point.
5282 (defun-rcirc-command): Update rcirc-client-commands.
5284 2010-09-11 Glenn Morris <rgm@gnu.org>
5286 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5287 atomically, to avoid parallel build errors. (Bug#4196)
5289 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5291 * progmodes/sql.el: Version 2.6
5292 (sql-dialect): Synonym for "sql-product".
5293 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5294 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5295 Set "sql-buffer" to buffer name not buffer object so multiple sql
5296 interactive buffers work properly. Reverts misguided changes in
5298 (sql-comint): Make sure different buffer name is used if "*SQL*"
5299 buffer is for a different product.
5300 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5302 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5303 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5304 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5305 Accept new buffer name or prompt for one.
5306 (sql-port): Default to zero.
5307 (sql-comint-mysql): Handle "sql-port" as a numeric.
5308 (sql-port-history): Delete unused variable.
5309 (sql-get-login): Default "sql-port" to a number.
5310 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5311 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5312 "sqlite3" executables.
5313 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5314 (sql-buffer-live-p): New function.
5315 (sql-mode-menu, sql-send-string): Use it.
5316 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5318 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5319 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5321 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5323 * net/netrc.el (netrc-credentials): New convenience function.
5325 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5327 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5328 to replace texinfo-font-lock-syntactic-keywords.
5329 (texinfo-mode): Use it.
5331 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5332 Use syntax-propertize-function.
5334 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5335 replace sgml-font-lock-syntactic-keywords.
5336 (sgml-mode): Use it.
5338 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5339 since we don't use it.
5341 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5343 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5345 (vhdl-fontify-buffer): Adjust.
5347 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5348 replace tcl-font-lock-syntactic-keywords.
5351 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5352 replace simula-font-lock-syntactic-keywords.
5353 (simula-mode): Use it.
5355 * progmodes/sh-script.el (sh-st-symbol): Remove.
5356 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5357 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5358 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5359 (sh-font-lock-paren): Set syntax-multiline.
5360 (sh-font-lock-syntactic-keywords): Remove.
5361 (sh-syntax-propertize-function): New function to replace it.
5364 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5365 Define while compiling.
5366 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5367 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5368 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5369 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5370 (ruby-here-doc-end-syntax): Only define when
5371 syntax-propertize is not available.
5372 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5374 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5375 (electric-indent-chars): Silence bytecompiler.
5376 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5377 electric-indent-chars.
5379 * progmodes/python.el (python-syntax-propertize-function): New var to
5380 replace python-font-lock-syntactic-keywords.
5381 (python-mode): Use it.
5382 (python-quote-syntax): Simplify and adjust to new use.
5384 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5385 replace perl-font-lock-syntactic-keywords.
5386 (perl-syntax-propertize-special-constructs): New fun to replace
5387 perl-font-lock-special-syntactic-constructs.
5388 (perl-font-lock-syntactic-face-function): New fun.
5389 (perl-mode): Use it.
5391 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5392 to replace octave-font-lock-close-quotes.
5393 (octave-syntax-propertize-function): New function to replace
5394 octave-font-lock-syntactic-keywords.
5395 (octave-mode): Use it.
5397 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5398 replaces mixal-font-lock-syntactic-keywords.
5399 (mixal-mode): Use it.
5401 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5402 New var; replaces makefile-font-lock-syntactic-keywords.
5403 (makefile-mode): Use it.
5404 (makefile-imake-mode): Adjust.
5406 * progmodes/js.el (js--regexp-literal): Define while compiling.
5407 (js-syntax-propertize-function): New var; replaces
5408 js-font-lock-syntactic-keywords.
5411 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5412 replaces gdb-script-font-lock-syntactic-keywords.
5413 (gdb-script-mode): Use it.
5415 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5416 (fortran--font-lock-syntactic-keywords): New var.
5417 (fortran-line-length): Update syntax-propertize-function and
5418 fortran--font-lock-syntactic-keywords.
5420 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5422 * progmodes/cfengine.el (cfengine-mode):
5423 Use syntax-propertize-function.
5424 (cfengine-font-lock-syntactic-keywords): Remove.
5426 * progmodes/autoconf.el (autoconf-mode):
5427 Use syntax-propertize-function.
5428 (autoconf-font-lock-syntactic-keywords): Remove.
5430 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5431 (ada-after-change-function, ada-initialize-syntax-table-properties)
5432 (ada-handle-syntax-table-properties): Only define when
5433 syntax-propertize is not available.
5434 (ada-mode): Use syntax-propertize-function.
5436 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5437 (font-lock-fontify-syntactic-keywords-region): Move handling of
5438 font-lock-syntactically-fontified to...
5439 (font-lock-default-fontify-region): ...here.
5440 Let syntax-propertize-function take precedence.
5441 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5443 * emacs-lisp/syntax.el (syntax-propertize-function)
5444 (syntax-propertize-chunk-size, syntax-propertize--done)
5445 (syntax-propertize-extend-region-functions): New vars.
5446 (syntax-propertize-wholelines, syntax-propertize-multiline)
5447 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5448 (syntax-propertize): New functions.
5449 (syntax-propertize-rules): New macro.
5450 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5451 (syntax-ppss): Call syntax-propertize.
5453 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5455 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5457 * textmodes/ispell.el (ispell-init-process): Improve comments.
5458 XEmacs compatibility changes regarding (add-hook) 'local option
5459 and (set-process-query-on-exit-flag).
5461 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5463 * net/tramp-cache.el (tramp-parse-connection-properties):
5464 Set tramp-autoload cookie.
5466 2010-09-09 Glenn Morris <rgm@gnu.org>
5468 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5469 (imagemagick-register-types): Doc fix.
5471 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5473 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5475 * progmodes/js.el (require): Require is already "eval-and-compile".
5476 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5477 (js--re-search-backward): Use js--re-search-forward.
5479 * progmodes/fortran.el (fortran-line-length): Don't recompute
5480 syntactic keywords redundantly a second time.
5482 * progmodes/ada-mode.el: Replace "(set '" with setq.
5483 (ada-mode): Simplify.
5484 (ada-create-case-exception, ada-adjust-case-interactive)
5485 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5486 (ada-search-ignore-string-comment, ada-move-to-start)
5487 (ada-move-to-end): Use with-syntax-table.
5489 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5490 (font-lock-unfontify-region, font-lock-default-fontify-region):
5491 Update usage correspondingly.
5492 (font-lock-fontify-syntactic-keywords-region):
5493 Set parse-sexp-lookup-properties buffer-locally here.
5494 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5496 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5498 2010-09-08 Glenn Morris <rgm@gnu.org>
5500 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5501 Error if not compiled with -DBYTE_CODE_METER.
5503 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5504 Ignore dir-locals-file.
5506 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5510 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5511 for the `gnu' messages.
5512 (compilation-set-skip-threshold): New command.
5513 (compilation-start): Use \' rather than $.
5514 (compilation-forget-errors): Use clrhash.
5516 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5518 * textmodes/ispell.el (ispell-valid-dictionary-list):
5521 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5523 Migrate to Tramp 2.2. Rearrange load dependencies.
5524 (Bug#1529, Bug#5448, Bug#5705)
5526 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5527 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5528 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5530 * net/tramp.el (top): Remove all other tramp-* loads except
5531 tramp-compat.el. Remove all changes to tramp-unload-hook for
5532 other tramp-* packages. Rearrange defun order. Change calls of
5533 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5534 `tramp-compat-octal-to-decimal' to new function names.
5535 (tramp-terminal-type, tramp-initial-end-of-output)
5536 (tramp-methods, tramp-foreign-file-name-handler-alist)
5537 (tramp-tramp-file-p, tramp-completion-mode-p)
5538 (tramp-send-command-and-check, tramp-get-remote-path)
5539 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5540 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5541 (with-file-property, with-connection-property): Move to
5543 (tramp-local-call-process, tramp-decimal-to-octal)
5544 (tramp-octal-to-decimal): Move to tramp-compat.el.
5545 (tramp-handle-shell-command): Do not require 'shell.
5546 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5548 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5550 * net/tramp-cache.el (top): Require 'tramp. Add to
5551 `tramp-unload-hook'.
5552 (tramp-cache-data, tramp-get-file-property)
5553 (tramp-set-file-property, tramp-flush-file-property)
5554 (tramp-flush-directory-property, tramp-get-connection-property)
5555 (tramp-set-connection-property, tramp-flush-connection-property)
5556 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5558 (with-file-property, with-connection-property): New defuns, moved
5560 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5563 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5564 (tramp-version): Set tramp-autoload cookie.
5566 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5567 changes to tramp-unload-hook for other tramp-* packages. Add to
5568 `tramp-unload-hook'.
5569 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5570 (tramp-compat-call-process): New defuns, moved from tramp.el.
5572 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5573 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5574 Add to `tramp-unload-hook'. Change call of
5575 `tramp-compat-decimal-to-octal' to new function name.
5576 (tramp-fish-method): Make it a defconst.
5577 (tramp-fish-file-name-p): Make it a defsubst.
5578 (tramp-fish-method, tramp-fish-file-name-handler)
5579 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5581 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5582 `tramp-foreign-file-name-handler-alist'. Add to
5583 `tramp-unload-hook'.
5584 (tramp-ftp-method): Make it a defconst.
5585 (tramp-ftp-file-name-p): Make it a defsubst.
5586 (tramp-ftp-method, tramp-ftp-file-name-handler)
5587 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5589 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5590 `tramp-foreign-file-name-handler-alist'. Add to
5591 `tramp-unload-hook'. Change checks, whether package can be
5593 (tramp-gvfs-file-name-p): Make it a defsubst.
5594 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5595 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5596 (tramp-gvfs-handle-file-directory-p): New defun.
5597 (tramp-gvfs-file-name-handler-alist): Use it.
5599 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5600 `tramp-foreign-file-name-handler-alist'. Add to
5601 `tramp-unload-hook'.
5602 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5603 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5605 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5606 (tramp-gw-open-connection): Set tramp-autoload cookie.
5608 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5609 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5610 Add to `tramp-unload-hook'. Change checks, whether package can be
5612 (tramp-imap-file-name-p): Make it a defsubst.
5613 (tramp-imap-method, tramp-imaps-method)
5614 (tramp-imap-file-name-handler)
5615 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5617 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5618 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5619 Add to `tramp-unload-hook'. Change checks, whether package can be
5620 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5622 (tramp-smb-tunnel-method): Make it a defconst.
5623 (tramp-smb-file-name-p): Make it a defsubst.
5624 (tramp-smb-method, tramp-smb-file-name-handler)
5625 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5627 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5628 (tramp-uuencode-region): Set tramp-autoload cookie.
5630 * net/trampver.el (top) Add to `tramp-unload-hook'.
5631 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5632 cookie. Update release number.
5634 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5636 * textmodes/ispell.el (ispell-start-process): Make sure original
5637 arg list is properly initialized (Bug#6993, Bug#6994).
5639 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5641 * files.el (directory-abbrev-alist): Use \` as default regexp.
5643 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5644 chars like - or ] (bug#6984).
5645 (rx-any-condense-range): Explode 2-char ranges.
5647 2010-09-06 Glenn Morris <rgm@gnu.org>
5649 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5651 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * textmodes/bibtex.el:
5654 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5656 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5658 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5659 since no callers use it.
5660 (imap-message-get): Ditto.
5661 (imap-message-put): Ditto.
5662 (imap-mailbox-map): Ditto.
5663 (imap-mailbox-put): Ditto.
5664 (imap-mailbox-get): Ditto.
5665 (imap-mailbox-get): Revert last change for this function.
5667 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5669 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5670 callers to use `imap-fetch' instead. According to the comments, this
5671 should be safe, since all other IMAP clients use the 1:* syntax.
5672 (imap-enable-exchange-bug-workaround): Remove.
5673 (imap-debug): Remove -- doesn't seem very useful.
5675 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5677 * net/imap.el (imap-log): New convenience function used throughout
5678 instead of repeating the same code all over the place.
5680 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5682 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5683 when mouse-drag-copy-region is non-nil (Bug#6956).
5685 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5687 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5688 Improve regexps (Bug#6987).
5689 (dired-sort-toggle): Search more robustly for -t flag.
5691 * files.el (get-free-disk-space): Search more robustly for
5692 "available" column. Suggested by Ehud Karni
5693 <ehud@unix.mvs.co.il>.
5695 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5697 * international/uni-bidi.el:
5698 * international/uni-category.el:
5699 * international/uni-combining.el:
5700 * international/uni-decimal.el:
5701 * international/uni-mirrored.el:
5702 * international/uni-name.el: Regenerate.
5704 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * electric.el (electric-indent-post-self-insert-function):
5707 Don't reindent with a sloppy indentation function.
5709 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5710 border case in change-log-mode.
5712 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5714 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5715 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5716 Recognize leading tab in gcc-include regexp. Ignore names with
5717 leading "from" or "in" in gnu regexp (Bug#6937).
5719 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5721 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5722 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5723 (ispell-start-process): Avoid setq and simplify logic.
5724 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5725 (kill-buffer-hook): Don't use it globally with code that uses
5726 expand-file-name since that may call kill-buffer via
5727 code_conversion_restore.
5729 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5731 * emacs-lisp/package.el (package-directory-list): Only call
5732 file-name-nondirectory on a string.
5734 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5736 * emacs-lisp/package.el (package--download-one-archive):
5737 Ensure that archive-contents is valid before saving it.
5738 (package-activate-1, package-mark-obsolete, define-package)
5739 (package-compute-transaction, package-list-maybe-add): Use push.
5741 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5743 Use SMIE's blink-paren for octave-mode.
5744 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5745 Backslashes do not escape single-quotes, single-quotes do.
5746 (octave-block-else-regexp, octave-block-end-regexp)
5747 (octave-block-match-alist): Remove.
5748 (octave-smie-bnf-table): New var, with old content.
5749 (octave-smie-op-levels): Use it.
5750 (octave-smie-closer-alist): New var.
5751 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5752 (octave-blink-matching-block-open): Remove.
5753 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5754 (octave-electric-space): Let self-insert-command run expand-abbrev and
5757 * electric.el (electricity): New group.
5758 (electric-indent-chars): New var.
5759 (electric-indent-post-self-insert-function): New fun.
5760 (electric-indent-mode): New minor mode.
5761 (electric-pair-skip-self): New custom.
5762 (electric-pair-post-self-insert-function): New function.
5763 (electric-pair-mode): New minor mode.
5765 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5766 calcAlg-blink-matching-open.
5767 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5768 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5769 Use the new blink-matching-check-function.
5771 Provide blink-matching support to SMIE.
5772 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5773 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5774 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5776 * simple.el (newline): Fix last change to properly remove itself from
5779 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5781 * simple.el (newline): Eliminate optimization.
5782 Use post-self-insert-hook to set hard-newline and things before
5783 running post-self-insert-hook.
5784 (blink-matching-check-mismatch): New function.
5785 (blink-matching-check-function): New variable.
5786 (blink-matching-open): Use them.
5787 Skip back forward over prefix chars skipped by forward-sexp.
5788 Don't check if the parens are backslash escaped.
5789 (blink-paren-post-self-insert-function): Check backslash escaping here.
5791 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5793 * emacs-lisp/package.el (package-menu-mode-map):
5794 Change package-menu-revert bindings to revert-buffer.
5795 (package-menu-mode): Set revert-buffer-function.
5796 (package-menu-revert): Doc fix.
5798 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5800 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5801 `default-directory' unless using Ispell per-directory personal
5802 dictionaries and not in a mini-buffer under XEmacs.
5803 (kill-buffer-hook): Do not kill ispell process on exit when
5804 `ispell-process-directory' is "~/". (Bug#6143)
5806 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5808 * simple.el (kill-new): Call interprogram-cut-function with only
5811 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5812 Remove cut buffer from error message.
5814 * term/x-win.el (x-select-text):
5815 * term/pc-win.el (x-selection-value):
5816 * term/ns-win.el (x-selection-value):
5817 * eshell/em-term.el:
5818 * w32-fns.el (x-get-selection-value):
5819 * mouse-sel.el (mouse-sel-set-selection-function):
5820 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5822 * term/x-win.el: Update documentation for x-last-selected-text-*.
5823 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5824 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5825 (x-select-text): Remove argument PUSH, update documentation.
5826 Remove cut-buffer code.
5827 (x-selection-value-internal): Was previously x-selection-value.
5828 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5829 Update documentation, remove cut-buffer code.
5830 Call x-selection-value-internal.
5831 (x-clipboard-yank): Call x-selection-value-internal.
5832 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5834 * term/pc-win.el (x-last-selected-text):
5835 x-cut-buffer-or-selection-value renamed to x-selection-value
5836 (x-select-text): Remove argument PUSH, update documentation.
5838 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5839 x-cut-buffer-or-selection-value renamed to x-selection-value
5840 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5841 (x-select-text): Remove argument PUSH, update documentation.
5843 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5845 * w32-fns.el (x-last-selected-text):
5846 x-cut-buffer-or-selection-value renamed to x-selection-value.
5847 (x-cut-buffer-max): Remove.
5848 (x-select-text): Remove argument PUSH, update documentation.
5850 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5852 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5854 * mouse-sel.el (mouse-sel-get-selection-function):
5855 x-cut-buffer-or-selection-value renamed to x-selection-value.
5856 (x-select-text): Remove optional push.
5858 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * simple.el (blink-paren-function): Move from C to here.
5861 (blink-paren-post-self-insert-function): New function.
5862 (post-self-insert-hook): Use it.
5864 * emacs-lisp/pcase.el (pcase-split-memq):
5865 Fix overenthusiastic optimisation.
5866 (pcase-u1): Handle the case of a lambda pred.
5868 2010-08-31 Kenichi Handa <handa@m17n.org>
5870 * international/mule-cmds.el (standard-display-european-internal):
5871 Setup standard-display-table for 8-bit characters by storing 8-bit
5872 characters in the element vector.
5874 * disp-table.el (standard-display-8bit):
5875 Setup standard-display-table for 8-bit characters by storing 8-bit
5876 characters in the element vector.
5877 (standard-display-european): Likewise.
5879 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5881 * textmodes/nroff-mode.el (nroff-view): New command.
5882 (nroff-mode-map): Bind it to C-c C-c.
5884 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * emacs-lisp/smie.el (smie-down-list): New command.
5888 Remove old indentation and navigation code on octave-mode.
5889 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5890 smie-down-list rather than add a binding for octave-down-block.
5891 (octave-mark-block, octave-blink-matching-block-open):
5892 Rely on forward-sexp-function.
5893 (octave-fill-paragraph): Don't narrow, so you can use
5894 indent-according-to-mode.
5895 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5896 (octave-in-block-p, octave-re-search-forward-kw)
5897 (octave-re-search-backward-kw, octave-indent-calculate)
5898 (octave-end-as-array-index-p, octave-block-end-offset)
5899 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5900 (octave-down-block, octave-backward-up-block, octave-up-block)
5901 (octave-before-magic-comment-p, octave-indent-line): Remove.
5903 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5905 * emacs-lisp/package.el (package--read-archive-file): Just use
5906 `read', to avoid copying an additional string.
5907 (package-menu-mode): Set header-line-format here.
5908 (package-menu-refresh, package-menu-revert): Signal an error if
5909 not in the Package Menu.
5910 (package-menu-package-list): New var.
5911 (package--generate-package-list): Operate on the current buffer;
5912 don't assume that it is *Packages*, since the user may rename it.
5913 Allow persistent package listings and sort keys using
5914 package-menu-package-list and package-menu-package-sort-key.
5915 (package-menu--version-predicate): Fix version calculation.
5916 (package-menu-sort-by-column): Don't select the window.
5917 (package--list-packages): Create the *Packages* buffer.
5918 Set package-menu-package-list-key.
5919 (list-packages): Sorting by status is now the default.
5920 (package-buffer-info): Use match-string-no-properties.
5921 (define-package): Add a &rest argument for future proofing, but
5923 (package-install-from-buffer, package-install-buffer-internal):
5924 Merge into a single function, package-install-from-buffer.
5925 (package-install-file): Change caller.
5927 * finder.el: Load finder-inf using `require'.
5928 (finder-list-matches): Sorting by status is now the default.
5929 (finder-compile-keywords): Simpify printing.
5931 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5934 (octave-mode-map): Remove special bindings for forward/backward-block
5935 and octave-backward-up-block. Use smie-close-block.
5936 (octave-continuation-marker-regexp): New var.
5937 (octave-continuation-regexp): Use it.
5938 (octave-operator-table, octave-smie-op-levels)
5939 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5940 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5941 (octave-mode): Use SMIE.
5942 (octave-close-block): Delete.
5944 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5946 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5947 CLIPBOARD, not in PRIMARY. (Bug#6944)
5949 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5953 (smie-indent-column): Allow indirection through variables.
5955 * composite.el (save-buffer-state): Delete, unused.
5956 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5957 (font-lock-default-fontify-region): Use with-syntax-table.
5958 * jit-lock.el (with-buffer-unmodified): Remove.
5959 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5961 Use `declare' in defmacros.
5962 * window.el (save-selected-window):
5963 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5964 * progmodes/python.el (def-python-skeleton):
5965 * net/dbus.el (dbus-ignore-errors):
5966 * jka-cmpr-hook.el (with-auto-compression-mode):
5967 * international/mule.el (with-category-table):
5968 * emacs-lisp/timer.el (with-timeout):
5969 * emacs-lisp/lisp-mnt.el (lm-with-file):
5970 * emacs-lisp/eieio.el (with-slots):
5971 * emacs-lisp/easymenu.el (easy-menu-define):
5972 * emacs-lisp/debug.el (debugger-env-macro):
5973 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5974 (Multiple-value-call, Multiple-value-prog1):
5975 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5976 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5977 edebug rule to definition.
5978 * emacs-lisp/lisp-mode.el (save-selected-window)
5979 (with-current-buffer, combine-after-change-calls)
5980 (with-output-to-string, with-temp-file, with-temp-buffer)
5981 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5982 (dolist, dotimes, when, unless):
5983 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5985 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5987 * finder.el: Require `package'.
5988 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5989 (finder-package-info): Var deleted.
5990 (finder-keywords-hash, finder--builtins-alist): New vars.
5991 (finder-compile-keywords): Compute package--builtins and
5992 finder-keywords-hash instead of finder-keywords-hash, respecting
5993 the "Package" header.
5994 (finder-unknown-keywords, finder-list-matches):
5995 Use finder-keywords-hash and package--list-packages.
5996 (finder-mode): Don't set font-lock-defaults.
5997 (finder-exit): We don't use "*Finder-package*" and "*Finder
5998 Category*" buffers anymore.
6000 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6001 (package--builtins): Set default value to nil.
6002 (package-initialize): Load precomputed value of package--builtins
6004 (package-alist, package-compute-transaction)
6005 (package-download-transaction): Improve docstring.
6006 (package-read-all-archive-contents): Do not change
6007 package--builtins here.
6008 (list-packages): Make package-list-packages an alias for this.
6009 Sort by status by default.
6010 (package--list-packages): Add optional PACKAGES arg.
6011 (describe-package-1): Use font-lock-face property. For built-in
6012 packages, insert file commentary.
6013 (package--generate-package-list): Rename from
6014 package-list-packages-internal; all callers changed. Add optional
6015 PACKAGES arg. Add alphabetical sort fallbacks.
6016 (package-menu--version-predicate, package-menu--status-predicate)
6017 (package-menu--description-predicate)
6018 (package-menu--name-predicate): New functions.
6020 * info.el (Info-finder-find-node): Search package-alist instead of
6021 finder-package-info.
6023 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6025 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6027 (version-to-list): Handle versions like "10.3d".
6029 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6032 (macroexp-accumulate): Use `declare'.
6034 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6036 * whitespace.el (whitespace-style): Adjust type declaration.
6038 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6040 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6041 empty argument to gvfs-copy.
6043 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6045 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6046 handle new TRASH arg of `delete-file'.
6048 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6050 * net/tramp.el (tramp-handle-insert-directory): Don't use
6051 `forward-word', its default syntax could be changed.
6053 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6054 Michael Albinus <michael.albinus@gmx.de>
6056 Implement compression for inline methods.
6058 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6059 (tramp-copy-size-limit): Allow also nil.
6060 (tramp-inline-compress-commands): New defconst.
6061 (tramp-find-inline-compress, tramp-get-inline-compress)
6062 (tramp-get-inline-coding): New defuns.
6063 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6064 replaced by `tramp-get-inline-coding'.
6065 (tramp-handle-file-local-copy, tramp-handle-write-region)
6066 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6068 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6070 Detect ssh 'ControlMaster' argument automatically in some cases.
6072 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6073 (tramp-default-method): Use it.
6075 2010-08-26 Karel Klíč <kklic@redhat.com>
6077 * net/tramp.el (tramp-file-name-for-operation):
6078 Add file-selinux-context.
6080 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6082 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6084 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6086 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6089 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6091 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6092 (js-paren-indent-offset, js-square-indent-offset)
6093 (js-curly-indent-offset): New options.
6094 (js--proper-indentation): Use them.
6096 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6098 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6099 instead of inspecting font-lock properties (Bug#6916).
6101 2010-08-26 David Reitter <david.reitter@gmail.com>
6103 * server.el (server-visit-files): Run pre-command-hook and
6104 post-command-hook for each buffer while it is current (Bug#6910).
6105 (server-execute): Do not run hooks here.
6107 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6109 Sync with Tramp 2.1.19.
6111 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6112 (tramp-reporter-dump-variable, tramp-load-report-modules)
6113 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6114 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6116 * net/tramp-compat.el (top): Do not autoload
6117 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6118 only when `start-file-process' is not bound.
6119 (byte-compile-not-obsolete-vars): Define if not bound.
6120 (tramp-compat-funcall): New defmacro.
6121 (tramp-compat-line-beginning-position)
6122 (tramp-compat-line-end-position)
6123 (tramp-compat-temporary-file-directory)
6124 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6125 (tramp-compat-copy-file, tramp-compat-copy-directory)
6126 (tramp-compat-delete-file, tramp-compat-delete-directory)
6127 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6129 (tramp-advice-file-expand-wildcards): Do not use
6130 `tramp-handle-file-remote-p'.
6131 (tramp-compat-make-temp-file): Simplify fallback implementation.
6132 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6133 (tramp-compat-copy-tree): Remove function.
6134 (tramp-compat-delete-file): New defun.
6135 (tramp-compat-delete-directory): Provide implementation for older
6137 (tramp-compat-file-attributes): Handle only
6138 `wrong-number-of-arguments' error.
6140 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6141 Add PRESERVE_SELINUX_CONTEXT.
6142 (tramp-fish-handle-delete-file): Add TRASH arg.
6143 (tramp-fish-handle-directory-files-and-attributes):
6144 Do not use `tramp-fish-handle-file-attributes.
6145 (tramp-fish-handle-file-local-copy)
6146 (tramp-fish-handle-insert-file-contents)
6147 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6149 * net/tramp-gvfs.el (top): Require url-util.
6150 (tramp-gvfs-mount-point): Remove.
6151 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6152 and `set-file-selinux-context'.
6153 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6154 (tramp-gvfs-handle-file-selinux-context)
6155 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6156 (with-tramp-dbus-call-method): Format trace message.
6157 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6158 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6159 Implement backup call, when operation on local files fails.
6160 Use progress reporter. Flush properties of changed files.
6161 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6162 Use `tramp-compat-delete-file'.
6163 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6164 (tramp-gvfs-handle-make-directory): Make more traces.
6165 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6166 (tramp-gvfs-url-file-name): Hexify file name in url.
6167 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6168 into account for the resulting file name.
6169 (tramp-gvfs-handler-askquestion): Preserve current message, in
6170 order to let progress reporter continue afterwards. (Bug#6257)
6171 Return dummy mountpoint, when the answer is "no".
6172 See `tramp-gvfs-maybe-open-connection'.
6173 (tramp-gvfs-handler-mounted-unmounted)
6174 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6175 attribute "default_location". Set "prefix" property.
6176 Handle default-location.
6177 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6178 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6179 exists. Raise an error, if not (due to a corresponding answer
6180 "no" in interactive questions, for example).
6181 Use `tramp-compat-funcall'.
6183 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6184 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6185 (tramp-imap-do-copy-or-rename-file)
6186 (tramp-imap-handle-insert-file-contents)
6187 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6188 (tramp-imap-handle-delete-file): Add TRASH arg.
6190 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6191 Add PRESERVE-SELINUX-CONTEXT.
6192 (tramp-smb-handle-copy-file)
6193 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6194 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6195 Use `with-progress-reporter'.
6196 (tramp-smb-handle-delete-file): Add TRASH arg.
6198 * net/tramp.el (tramp-methods): Move hostname to the end in all
6199 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6201 (tramp-verbose): Describe verbose level 9.
6202 (tramp-completion-function-alist)
6203 (tramp-file-name-regexp, tramp-chunksize)
6204 (tramp-local-coding-commands, tramp-remote-coding-commands)
6205 (with-connection-property, tramp-completion-mode-p)
6206 (tramp-action-process-alive, tramp-action-out-of-band)
6207 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6208 (tramp-exists-file-name-handler): Fix docstring.
6209 (tramp-remote-process-environment): Use `format' instead of
6210 `concat'. Protect version string by apostroph.
6211 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6213 (tramp-file-name-regexp-unified)
6214 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6215 not regard the volume letter as remote filename. (Bug#5447)
6216 (tramp-perl-file-attributes)
6217 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6218 (tramp-vc-registered-read-file-names): Read input as
6219 here-document, otherwise the command could exceed maximum length
6221 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6222 `set-file-selinux-context'.
6223 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6224 backtrace functions.
6225 (tramp-error-with-buffer): Don't show the connection buffer when
6226 we are in completion mode.
6227 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6228 (tramp-handle-file-selinux-context)
6229 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6230 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6232 (with-progress-reporter): New defmacro.
6233 (tramp-debug-outline-regexp): New defconst.
6234 (top, tramp-rfn-eshadow-setup-minibuffer)
6235 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6236 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6237 (tramp-completion-mode-p, tramp-check-for-regexp)
6238 (tramp-open-connection-setup-interactive-shell)
6239 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6240 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6241 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6242 Use `tramp-compat-funcall'.
6243 (tramp-handle-make-symbolic-link): Flush file properties.
6244 (tramp-handle-load, tramp-handle-file-local-copy)
6245 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6246 (tramp-handle-vc-registered, tramp-maybe-send-script)
6247 (tramp-find-shell): Use `with-progress-reporter'.
6248 (tramp-do-file-attributes-with-stat): Add space in format string,
6249 in order to work around a bug in pdksh. Reported by Gilles Pion
6251 (tramp-handle-verify-visited-file-modtime): Do not send a command
6252 when the connection is not established.
6253 (tramp-handle-set-file-times): Simplify the check for utc.
6254 (tramp-handle-directory-files-and-attributes)
6255 (tramp-get-remote-path): Use `copy-tree'.
6256 (tramp-completion-handle-file-name-all-completions): Ensure, that
6257 non remote files are still checked. Oops.
6258 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6259 Handle PRESERVE-SELINUX-CONTEXT.
6260 (tramp-do-copy-or-rename-file): Add progress reporter.
6261 (tramp-do-copy-or-rename-file-directly): Do not use
6262 `tramp-handle-file-remote-p'.
6263 (tramp-do-copy-or-rename-file-out-of-band):
6264 Use `tramp-compat-delete-directory'.
6265 (tramp-do-copy-or-rename-file-out-of-band)
6266 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6267 Use `format-spec-make'.
6268 (tramp-handle-delete-file): Add TRASH arg.
6269 (tramp-handle-dired-uncache): Flush directory cache, not only file
6271 (tramp-handle-expand-file-name)
6272 (tramp-completion-handle-file-name-all-completions)
6273 (tramp-completion-handle-file-name-completion):
6274 Use `tramp-connectable-p'.
6275 (tramp-handle-start-file-process): Set connection property "vec".
6276 Use it, in order to invalidate file caches. Check only for
6277 `remote-tty' process property.
6278 Implement tty setting. (Bug#4604, Bug#6360)
6279 (tramp-file-name-for-operation): Add `call-process-region' and
6280 `set-file-selinux-context'.
6281 (tramp-find-foreign-file-name-handler)
6282 (tramp-advice-make-auto-save-file-name)
6283 (tramp-set-auto-save-file-modes): Remove superfluous check for
6284 `stringp'. This is done inside `tramp-tramp-file-p'.
6285 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6286 operations when we are in completion mode. This gives the user
6287 the chance to correct the file name in the minibuffer.
6288 (tramp-completion-mode-p): Use `non-essential'.
6289 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6290 compatibility: Use `completion-ignore-case' if
6291 `read-file-name-completion-ignore-case' does not exist.
6292 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6293 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6295 (tramp-action-password): Hide password prompt before next run.
6296 (tramp-process-actions): Widen connection buffer for the trace.
6297 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6298 process property. Trace stty settings if `tramp-verbose' >= 9.
6299 Apply workaround for IRIX64 bug. Move argument of last
6300 `tramp-send-command' where it belongs to.
6301 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6302 front of `login-args'.
6303 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6304 on "/dev/null" instead of "/".
6305 (tramp-get-ls-command-with-dired): Make test for "--dired"
6307 (tramp-set-auto-save-file-modes): Adapt version check.
6308 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6309 (tramp-handle-process-file): Call the program in a subshell, in
6310 order to preserve working directory.
6311 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6312 `tramp-remote-sh' from `tramp-methods'.
6313 (tramp-get-ls-command): Make test for "--color=never" stronger.
6314 (tramp-check-for-regexp): Use (forward-line 1).
6316 * net/trampver.el: Update release number.
6318 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6320 * help.el (help-map): Bind `C-h P' to describe-package.
6322 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6324 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6325 when downloading archives.
6326 (describe-package-1): Add package commentary.
6327 (package-install-button-action): New function.
6328 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6329 (package-menu-view-commentary): Function removed.
6330 (package-list-packages-internal): Hide the `package' package too.
6332 2010-08-25 Kenichi Handa <handa@m17n.org>
6334 * language/misc-lang.el ("Arabic"): New language environment.
6335 Setup composition-function-table for Arabic characters.
6337 * international/fontset.el (setup-default-fontset): Fix typo for
6338 arabic OTF spec (fini->fina).
6340 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6342 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6345 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6347 * whitespace.el: Allow cleaning up blanks without blank
6348 visualization (Bug#6651). Adjust help window for
6349 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6350 instead of whitespace-line-column (from EmacsWiki). New version
6352 (whitespace-style): Add new value 'face. Adjust docstring.
6353 (whitespace-space, whitespace-hspace, whitespace-tab):
6354 Adjust foreground property face.
6355 (whitespace-line-column): Adjust docstring and type declaration.
6356 (whitespace-style-value-list, whitespace-toggle-option-alist)
6357 (whitespace-help-text): Adjust const initialization.
6358 (whitespace-toggle-options, global-whitespace-toggle-options):
6360 (whitespace-display-window, whitespace-interactive-char)
6361 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6362 (whitespace-help-scroll): New fun.
6364 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6366 * emacs-lisp/package.el (list-packages): Alias for
6367 package-list-packages.
6369 2010-08-24 Kevin Ryde <user42@zip.com.au>
6371 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6374 * progmodes/ruby-mode.el (ruby): Add defgroup.
6376 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6378 * progmodes/python.el: Add Ipython support (Bug#5390).
6379 (python-shell-prompt-alist)
6380 (python-shell-continuation-prompt-alist): New options.
6381 (python--set-prompt-regexp): New function.
6382 (inferior-python-mode, run-python, python-shell):
6383 Require ansi-color. Use python--set-prompt-regexp to set the comint
6384 prompt based on the Python interpreter.
6385 (python--prompt-regexp): New var.
6386 (python-check-comint-prompt)
6387 (python-comint-output-filter-function): Use it.
6388 (run-python): Use a pipe (Bug#5694).
6390 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6392 * progmodes/python.el (python-send-region): Send a different
6393 Python command if Ipython is in use.
6394 (python-check-version): Use a Python command to find the version.
6396 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6398 * mouse.el (mouse-yank-primary): Avoid setting primary when
6399 deactivating the mark (Bug#6872).
6401 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6403 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6404 with "else" (Bug#3991).
6406 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6408 * net/dbus.el: Accept UNIX domain sockets as bus address.
6409 (top): Don't initialize `dbus-registered-objects-table' anymore,
6410 this is done in dbusbind,c.
6411 (dbus-check-event): Adapt test for bus.
6412 (dbus-return-values-table, dbus-unregister-service)
6413 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6416 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6418 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6420 2010-08-22 Juri Linkov <juri@jurta.org>
6422 * simple.el (read-extended-command): New function with the logic
6423 for `completing-read' moved to Elisp from `execute-extended-command'.
6424 Use `function-called-at-point' in `minibuffer-default-add-function'
6425 to get a command name for M-n (bug#5364, bug#5214).
6427 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6429 * startup.el (command-line-1): Issue warning for ignored arguments
6430 --unibyte, etc (Bug#6886).
6432 2010-08-22 Leo <sdl.web@gmail.com>
6434 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6435 (ignore, bright, dim, keyword): Split list of nicknames before
6436 passing to rcirc-add-or-remove (Bug#6894).
6438 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6440 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6442 2010-08-22 Leo <sdl.web@gmail.com>
6444 Fix buffer-list rename&refresh after killing a buffer in ido.
6445 * ido.el: Revert Óscar's.
6446 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6447 Remember the buffers at head, rather than their name.
6448 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6450 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6451 Stefan Monnier <monnier@iro.umontreal.ca>
6453 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6454 extra backslash added to each line (bug#6890).
6456 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6460 2010-08-22 Glenn Morris <rgm@gnu.org>
6462 * menu-bar.el (menu-bar-games-menu): Add landmark.
6464 2010-08-22 Glenn Morris <rgm@gnu.org>
6466 * align.el (align-regexp): Make group and spacing arguments
6467 use the interactive defaults when non-interactive. (Bug#6698)
6469 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6470 expansion, so as not to need sendmail.
6471 (mail-text-start): Remove declaration.
6472 (rmail-retry-failure): Require sendmail.
6474 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6476 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6478 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6480 * progmodes/flymake.el (flymake-start-syntax-check-process):
6481 Use `start-file-process' in order to let it run also on remote hosts.
6483 2010-08-22 Kenichi Handa <handa@m17n.org>
6485 * files.el: Add `word-wrap' as safe local variable.
6487 2010-08-22 Glenn Morris <rgm@gnu.org>
6489 * woman.el (woman-translate): Case matters. (Bug#6849)
6491 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6493 * simple.el (kill-region): Doc fix (Bug#6787).
6495 2010-08-22 Glenn Morris <rgm@gnu.org>
6497 * calendar/diary-lib.el (diary-header-line-format):
6498 Fit it to the window, not the frame.
6500 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6502 * subr.el (ignore-errors): Add debug declaration.
6504 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6506 * whitespace.el (whitespace-color-off): Remove post-command-hook
6509 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6511 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6513 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6515 * cus-edit.el (custom-group-value-create): Add extra newline
6516 before end line (Bug#6876).
6518 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6520 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6521 when extending it. Before killing on the second click, check if
6522 the buffer is the correct one. Doc fix.
6523 (mouse-secondary-save-then-kill): Allow usage without first
6524 calling mouse-start-secondary, by defaulting to point. Don't save
6525 an empty secondary selection. Doc fix.
6527 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6529 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6530 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6532 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6533 Adjust initialization.
6534 (whitespace-bob-marker, whitespace-eob-marker)
6535 (whitespace-buffer-changed): New vars.
6536 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6537 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6538 (whitespace-post-command-hook, whitespace-display-char-on):
6540 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6541 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6543 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * files.el (locate-file-completion-table): Only list the .el and .elc
6546 extensions if there's no other choice (bug#5955).
6548 * facemenu.el (facemenu-self-insert-data): New var.
6549 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6551 (facemenu-add-face): Use them.
6553 * simple.el (blink-matching-open): Obey forward-sexp-function.
6555 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * simple.el (prog-mode-map): New var.
6558 (prog-indent-sexp): New command.
6560 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6562 * progmodes/prolog.el (smie): Require.
6564 * emacs-lisp/smie.el (smie-default-backward-token)
6565 (smie-default-forward-token): Strip properties.
6566 (smie-next-sexp): Be more careful with associative operators.
6567 (smie-forward-sexp-command): Generalize.
6568 (smie-backward-sexp-command): Simplify.
6569 (smie-closer-alist): New var.
6570 (smie-close-block): New command.
6571 (smie-indent-debug-log): New var.
6572 (smie-indent-offset-rule): Add a few more cases.
6573 (smie-indent-column): New function.
6574 (smie-indent-after-keyword): Use it.
6575 (smie-indent-keyword): Use it.
6576 Fix up the opener code's point position.
6577 (smie-indent-comment): Only applies at BOL.
6578 (smie-indent-debug): New command.
6580 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6581 declarations that are useful before running the macro.
6583 2010-08-18 Joakim Verona <joakim@verona.se>
6585 * image.el (imagemagick-types-inhibit): New variable.
6586 (imagemagick-register-types): New function.
6587 * image-mode.el (image-transform-properties): New function.
6588 (image-transform-set-scale, image-transform-fit-to-height)
6589 (image-transform-set-rotation, image-transform-set-resize)
6590 (image-transform-fit-to-width, image-transform-fit-to-height):
6592 (image-toggle-display-image): Support image transforms.
6594 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6596 * image.el (create-animated-image): Don't add heuristic mask to image
6599 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6601 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6602 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6604 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6606 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6608 Font-lock '...' strings, plus various simplifications and fixes.
6609 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6610 (octave-font-lock-close-quotes): New function.
6611 (octave-font-lock-syntactic-keywords): New var.
6612 (octave-mode): Use it. Set beginning-of-defun-function.
6613 (octave-mode-map): Don't override the <foo>-defun commands.
6614 (octave-mode-menu): Pass it directly to easy-menu-define;
6615 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6616 (octave-block-match-alist): Fix up last change so that
6617 octave-close-block uses the more specific keyword.
6618 (info-lookup-mode): Silence byte-compiler.
6619 (octave-beginning-of-defun): Not interactive any more.
6621 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6622 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6623 (octave-completion-at-point-function): Make sure point is within
6625 (octave-reindent-then-newline-and-indent):
6626 Use reindent-then-newline-and-indent.
6627 (octave-add-octave-menu): Remove.
6629 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6631 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6632 (report-emacs-bug-can-use-xdg-email): New functions.
6633 (report-emacs-bug): Set can-xdg-email to result of
6634 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6635 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6638 * net/browse-url.el (browse-url-default-browser): Add cond
6639 for browse-url-xdg-open.
6640 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6642 2010-08-17 Glenn Morris <rgm@gnu.org>
6644 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6645 (c-fontify-recorded-types-and-refs): Define for compiler.
6646 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6649 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6652 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6654 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6656 (tramp-handle-process-file): Call the program in a subshell, in
6657 order to preserve working directory.
6658 (tramp-action-password): Hide password prompt before next run.
6659 (tramp-process-actions): Widen connection buffer for the trace.
6661 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6663 * net/rcirc.el (rcirc-log-process-buffers): New option.
6664 (rcirc-print): Use it.
6665 (rcirc-generate-log-filename): New function.
6666 (rcirc-log-filename-function): Change default to
6667 rcirc-generate-log-filename (Bug#6828).
6669 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6671 * simple.el (deactivate-mark): If select-active-regions is `only',
6672 only set selection for temporarily active regions.
6674 * cus-start.el: Change defcustom for select-active-regions.
6676 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6678 * mouse.el (mouse--drag-set-mark-and-point): New function.
6679 (mouse-drag-track): Use LOCATION arg to push-mark.
6680 Use mouse--drag-set-mark-and-point to take click-count into
6681 consideration when updating point and mark (Bug#6840).
6683 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6685 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6686 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6688 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6690 * font-lock.el (lisp-font-lock-keywords-2):
6691 Add combine-after-change-calls, condition-case-no-debug,
6692 with-demoted-errors, and with-silent-modifications (Bug#6025).
6694 2010-08-14 Kevin Ryde <user42@zip.com.au>
6696 * emacs-lisp/copyright.el (copyright-update-year)
6697 (copyright-update): Temporary switch-to-buffer to ensure the
6698 buffer change being queried is visible (Bug#5394).
6700 2010-08-14 Tom Tromey <tromey@redhat.com>
6702 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6705 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6707 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6710 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6712 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6713 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6714 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6715 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6716 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6717 Call menu-bar-set-tool-bar-position.
6719 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6722 comment style (bug#6834).
6723 * progmodes/scheme.el (scheme-mode-syntax-table):
6724 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6725 "b" flag in "' 14b" syntax.
6727 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6728 for (un)commenting the region and performing completion.
6729 (octave-mode-menu): Use standard commands for help and completion.
6730 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6731 (octave-mode): Use define-derived-mode.
6732 Set completion-at-point-functions and don't set columns.
6733 Don't disable adaptive-fill-regexp.
6734 (octave-describe-major-mode, octave-comment-region)
6735 (octave-uncomment-region, octave-comment-indent)
6736 (octave-indent-for-comment): Remove.
6737 (octave-indent-calculate): Rename from calculate-octave-indent.
6738 (octave-indent-line, octave-fill-paragraph): Update caller.
6739 (octave-initialize-completions): No need to make an alist.
6740 (octave-completion-at-point-function): New function.
6741 (octave-complete-symbol): Use it.
6742 (octave-insert-defun): Use define-skeleton.
6744 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6745 (octave-mode-map): Use comment-dwim (bug#6829).
6747 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6749 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6750 indentation of inserted comment.
6752 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6754 * faces.el (region): Add type gtk that uses gtk colors.
6756 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6757 Handle theme-name change.
6759 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6761 * progmodes/sql.el: Version 2.5
6762 (sql-product-alist): Add :prompt-cont-regexp property for several
6764 (sql-prompt-cont-regexp): New variable.
6765 (sql-output-newline-count, sql-output-by-send):
6766 New variables. Record number of newlines in input text.
6767 (sql-send-string): Handle multiple filters and count newlines.
6768 (sql-send-magic-terminator): Count terminator newline.
6769 (sql-interactive-remove-continuation-prompt): Filters output to
6770 remove continuation prompts; one for each newline.
6771 (sql-interactive-mode): Set up new variables, prompt regexp and
6773 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6774 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6776 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * emacs-lisp/pcase.el: New file.
6780 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6782 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6783 as here-document, otherwise the command could exceed maximum
6784 length of command line.
6785 (tramp-handle-vc-registered): Call script accordingly.
6786 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6788 2010-08-10 Kenichi Handa <handa@m17n.org>
6790 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6793 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6795 * emacs-lisp/package.el (package-version-split)
6796 (package--version-first-nonzero, package-version-compare):
6798 (package-directory-list, package-load-all-descriptors)
6799 (package--built-in, package-activate, define-package)
6800 (package-installed-p, package-compute-transaction)
6801 (package-read-all-archive-contents)
6802 (package--add-to-archive-contents, package-buffer-info)
6803 (package-tar-file-info, package-list-packages-internal):
6804 Use version-to-list and version-list-*.
6806 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6807 Use version-to-list.
6808 (package-upload-buffer-internal): Use version-list-<=.
6810 2010-08-09 Kenichi Handa <handa@m17n.org>
6812 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6815 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6817 * tutorial.el (tutorial--default-keys): C-d is now bound to
6818 delete-forward-char (Bug#6826).
6820 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6821 for `double' value of mouse-1-click-follows-link (Bug#6807).
6823 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6825 * replace.el (replace-highlight): Bind isearch-forward and
6826 isearch-error, ensuring that highlighting is updated if the user
6827 switches the search direction (Bug#6808).
6829 * isearch.el (isearch-lazy-highlight-forward): New var.
6830 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6831 (isearch-lazy-highlight-update): Use it.
6833 2010-08-08 Kenichi Handa <handa@m17n.org>
6835 * international/mule.el (define-charset): Store NAME as :base property.
6836 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6837 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6838 current priority. Force using the designation of the specific
6839 charset by adding `charset' text property. Improve the whole algorithm.
6841 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6843 * emulation/pc-select.el (pc-selection-mode-hook)
6844 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6845 (pc-selection-mode): Fix typos in docstrings.
6847 2010-08-08 Kenichi Handa <handa@m17n.org>
6849 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6850 ctext-non-standard-encodings-alist here.
6852 * international/mule.el (ctext-non-standard-encodings-alist):
6853 Add "koi8-r" and "microsoft-cp1251".
6854 (ctext-standard-encodings): New variable.
6855 (ctext-non-standard-encodings-table): List only elements for
6856 non-standard encodings.
6857 (ctext-pre-write-conversion): Adjust for the above change.
6858 Check ctext-standard-encodings.
6860 * international/mule-conf.el (compound-text): Doc fix.
6861 (ctext-no-compositions): Doc fix.
6862 (compound-text-with-extensions): Doc fix.
6864 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6866 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6868 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6870 * progmodes/which-func.el (which-func-format): Split help-echo text
6871 into lines, like other mode-line tooltips.
6873 * server.el (server-start): When using TCP sockets, force IPv4
6874 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6876 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6880 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6882 * term.el (term-delimiter-argument-list): Reflow docstring.
6883 (term-read-input-ring, term-write-input-ring, term-send-input)
6884 (term-bol, term-erase-in-display, serial-supported-or-barf):
6885 Fix typos in docstrings.
6887 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6891 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6893 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6895 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6897 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6898 Fix typo in docstring (bug#6747).
6900 2010-08-08 Leo <sdl.web@gmail.com>
6902 * eshell/esh-io.el (eshell-get-target): Better detection of
6903 read-only file (Bug#6762).
6905 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6907 * align.el (align-default-spacing): Doc fix.
6908 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6910 2010-08-08 Stephen Peters <speters@itasoftware.com>
6912 * calendar/icalendar.el
6913 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6914 (icalendar--get-weekday-numbers): New.
6915 (icalendar--convert-recurring-to-diary): Handle multiple byday
6916 values in weekly rules. (Bug#6766)
6918 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6920 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6921 (icalendar--create-uid, icalendar-export-region)
6922 (icalendar--parse-summary-and-rest): Code formatting.
6924 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6926 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6927 to italicize headers.
6928 (calc-highlight-selections-with-faces): New variable.
6929 (calc-selected-face, calc-nonselected-face): New faces.
6931 * calc/calccomp.el (math-comp-highlight-string): Use
6932 `calc-highlight-selections-with-faces' to determine how to highlight
6935 * calc/calc-sel.el (calc-show-selections): Change message to when
6936 using faces to highlight selections.
6938 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6940 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6941 Add SQLite 3 keywords, functions and datatypes.
6942 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6945 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6947 * simple.el (select-active-regions): Move to keyboard.c.
6948 (deactivate-mark): Used saved-region-selection.
6949 (select-active-region): Function removed.
6950 (activate-mark, set-mark, push-mark-command)
6951 (handle-shift-selection): Don't call it.
6952 (keyboard-quit): Avoid adding the region to the window selection.
6954 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6955 select-active-regions implementation.
6956 (mouse-yank-at-click): Doc fix.
6958 * cus-start.el: Add custom declaration for select-active-regions.
6960 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6962 * simple.el (delete-forward-char): Doc fix.
6964 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6965 after reading the tutorial.
6967 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6969 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6970 Fix for the case that a C style comment has its delimiters alone on
6971 their respective lines.
6973 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6975 * net/tramp.el (tramp-handle-start-file-process): Set connection
6977 (tramp-process-sentinel): Use it for flushing the cache.
6978 We cannot do it via the process buffer, the buffer could be deleted
6979 already when running the sentinel.
6981 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6983 * comint.el (comint-mode): Make directory tracking functions
6984 functional on remote files. (Bug#6764)
6986 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6988 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6990 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6992 * emacs-lisp/find-gc.el (find-gc-source-files):
6993 Rename unexec.c => unexcoff.c.
6995 * emacs-lisp/authors.el (authors-fixed-entries):
6996 Rename unexec.c => unexcoff.c.
6998 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7000 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7001 cache, not only file cache.
7002 (tramp-process-sentinel): New defun.
7003 (tramp-handle-start-file-process): Use it, in order to invalidate
7006 2010-08-03 Leo <sdl.web@gmail.com>
7008 * server.el (server-start): Simplify loop.
7010 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7012 * frame.el (screen-height, screen-width, set-screen-width)
7013 (set-screen-height): Remove ancient compatibility aliases.
7015 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7016 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7018 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7019 that change current buffer.
7021 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7023 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7024 beginning of the string. Use `string-match-p'. (Bug#6765)
7026 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7028 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7030 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7032 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7033 (package--builtins): Tweak descriptions.
7034 (package-print-package): Upcase descriptions if necessary.
7035 Show all built-in packages in font-lock-builtin-face.
7036 (package-list-packages-internal): Omit "emacs" package.
7037 Show status of built-in packages as "built-in".
7039 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7041 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7042 before killing to preserve the primary selection (Bug#6701).
7044 * term/x-win.el (x-select-text): Doc fix.
7046 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7048 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7049 (objc-font-lock-extra-types):
7050 * progmodes/cc-mode.el (c-basic-common-init):
7051 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7052 (c++-make-template-syntax-table)
7053 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7054 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7055 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7056 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7057 * progmodes/cc-fonts.el (c-make-inverse-face)
7058 (c-basic-matchers-after):
7059 * progmodes/cc-engine.el (c-forward-keyword-clause)
7060 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7061 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7062 (c-guess-continued-construct, c-guess-basic-syntax):
7063 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7064 The above functions were modified or created.
7066 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7068 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7070 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7072 * files.el (bidi-paragraph-direction): Define safe local values.
7074 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7075 language-info-alist. Remove outdated FIXME in a comment.
7077 2010-07-31 Alan Mackenzie <acm@muc.de>
7079 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7080 Auto-fill broken in C/C++ modes.
7082 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7084 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7085 (menu-bar-showhide-tool-bar-menu-customize-disable)
7086 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7087 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7088 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7089 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7090 make a menu for Options => toolbar that can move it.
7092 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7094 * emacs-lisp/package-x.el (package--make-rss-entry):
7095 (package-maint-add-news-item, package--update-news)
7096 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7098 * emacs-lisp/package.el (package-archive-url): Rename from
7100 (package-install): Doc fix.
7101 (package-download-single, package-download-tar, package-install)
7102 (package-menu-view-commentary): Callers changed.
7104 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7106 * net/tramp.el (tramp-handle-start-file-process): Check only for
7107 `remote-tty' process property.
7108 (tramp-open-shell): Don't check for tty.
7109 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7112 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7115 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7117 * emacs-lisp/package.el (package-load-list, package-archives)
7118 (package-archive-contents, package-user-dir)
7119 (package-directory-list, package--builtins, package-alist)
7120 (package-activated-list, package-obsolete-alist): Mark as risky.
7122 2010-07-28 Phil Hagelberg <phil@evri.com>
7124 Add support for non-default package repositories.
7125 * emacs-lisp/package.el (package-archive-base): Var deleted.
7126 (package-archives): New variable.
7127 (package-archive-contents): Doc fix.
7128 (package-load-descriptor): Do nothing if descriptor file is missing.
7129 (package--write-file-no-coding): New function.
7130 (package-unpack-single): Use it.
7131 (package-archive-id): New function.
7132 (package-download-single, package-download-tar)
7133 (package-menu-view-commentary): Use it.
7134 (package-installed-p): Make second argument optional.
7135 (package-read-all-archive-contents): New function.
7136 (package-initialize): Use it.
7137 (package-read-archive-contents): Add ARCHIVE argument.
7138 (package--add-to-archive-contents): New function.
7139 (package-install): Don't call package-read-archive-contents.
7140 (package--download-one-archive): Store archive file in a
7141 subdirectory of package-user-dir.
7142 (package-menu-execute): Remove spurious line movement.
7144 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7146 * cus-start.el (tool-bar-style): Add text-image-horiz.
7148 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7150 * progmodes/gud.el (gud-common-init): Check for remoteness of
7151 `file', and not of `default-directory'.
7153 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7155 * net/tramp.el (tramp-methods): Move hostname to the end in all
7156 ssh `tramp-login-args'.
7157 (tramp-verbose): Describe verbose level 9.
7158 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7159 (tramp-open-connection-setup-interactive-shell): Trace stty
7160 settings if `tramp-verbose' >= 9.
7161 (tramp-handle-start-file-process): Implement tty setting.
7162 (Bug#4604, Bug#6360)
7164 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7165 `tramp-verbose' to 9.
7167 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7169 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7170 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7171 Remove references to package `lisp-re' (bug#4369).
7173 2010-07-27 Tom Tromey <tromey@redhat.com>
7175 * progmodes/js.el (js-mode):
7176 * progmodes/make-mode.el (makefile-mode):
7177 * progmodes/simula.el (simula-mode):
7178 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7180 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7182 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7184 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7185 (display-time-world-buffer-name, display-time-world-mode-map):
7186 Fix typos in docstrings.
7188 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7190 * image-mode.el (image-display-size): New function.
7191 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7192 (image-mode-fit-frame): Use it (Bug#6639).
7194 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7196 * dired.el (dired-buffers-for-dir): Handle list values of
7197 dired-directory (Bug#6636).
7199 2010-07-26 Sam Steingold <sds@gnu.org>
7201 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7202 Do not call `x-get-selection' the second time, reuse the value.
7204 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7206 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7207 which consist of control chars only. Suggested by Richard Stallman.
7209 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7211 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7212 exists before passing an error to find-file-not-found-functions
7215 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7217 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7218 Remove leading nil element, adjust values.
7219 (tetris-shapes, tetris-shape-scores):
7220 Change representation of shapes and remove some redundancy.
7221 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7222 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7223 Adjust for working with new representation of shapes.
7224 (tetris-shape-rotations): New function.
7225 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7226 (tetris-rotate-prev, tetris-rotate-next):
7227 Adjust for working with the new version of tetris-test-shape.
7229 2010-07-23 Markus Triska <markus.triska@gmx.at>
7231 * progmodes/ps-mode.el: Use comint (bug#5954).
7232 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7233 (ps-mode-other-newline): Simplify.
7234 (ps-run-mode): Derive from comint-mode instead of
7235 fundamental-mode, yielding input history etc.
7236 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7237 (ps-run-send-string): Adapt for comint-mode.
7238 (ps-run-newline): Remove now unneeded function.
7240 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7242 * net/tramp.el (tramp-methods): Move hostname to the end in all
7243 plink `tramp-login-args'.
7245 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7247 * net/tramp.el (tramp-open-shell): New defun.
7248 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7251 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7253 * net/tramp.el (tramp-file-name-regexp-unified)
7254 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7255 not regard the volume letter as remote filename. (Bug#5447)
7257 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7259 * custom.el (custom-declare-variable): Give a clearer error message
7260 when the docstring is missing (bug#6476).
7262 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7264 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7265 (sql-login-params): New widget definition.
7266 (sql-oracle-login-params, sql-mysql-login-params)
7267 (sql-solid-login-params, sql-sybase-login-params)
7268 (sql-informix-login-params, sql-ingres-login-params)
7269 (sql-ms-login-params, sql-postgres-login-params)
7270 (sql-interbase-login-params, sql-db2-login-params)
7271 (sql-linter-login-params): Use it.
7272 (sql-sqlite-login-params): Use it; Define "database" parameter as
7274 (sql-sqlite-program): Change to "sqlite3".
7275 (sql-comint-sqlite): Make sure database name is complete.
7276 (sql-for-each-login): New function.
7277 (sql-connect, sql-save-connection): Use it.
7278 (sql-get-login-ext): New function.
7279 (sql-get-login): Use it.
7280 (sql-make-alternate-buffer-name): Handle :file parameters.
7282 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7284 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7285 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7287 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7289 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7291 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7293 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7295 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7297 * net/tramp.el (tramp-get-ls-command)
7298 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7301 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7303 * progmodes/sql.el: Version 2.3.
7304 (sql-connection-alist): Change keys from symbols to strings;
7305 enhanced the widget definition.
7306 (sql-mode-menu): Add submenu to select connections.
7307 (sql-interactive-mode-menu): Add "Save Connection" item.
7308 (sql-add-product): Fix menu item.
7309 (sql-get-product-feature): Improved error handling.
7310 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7311 (sql-make-alternate-buffer-name): Simplified.
7312 (sql-product-interactive): Handle missing product.
7313 (sql-connect): Support string keys, minor improvements.
7314 (sql-save-connection): New function.
7315 (sql-connection-menu-filter): New function.
7317 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7319 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7320 (tramp-open-connection-setup-interactive-shell):
7321 Apply workaround for IRIX64 bug. Move argument of last
7322 `tramp-send-command' where it belongs to.
7324 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7326 * net/tramp.el (tramp-perl-file-attributes)
7327 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7328 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7329 front of `login-args'.
7331 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7333 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7334 Set `show-trailing-whitespace' to nil.
7335 (display-time-world-display): Simplify.
7337 2010-07-18 Alan Mackenzie <acm@muc.de>
7339 Enhance `c-file-style' in file/directory local variables.
7340 * progmodes/cc-mode.el (c-count-cfss): New function.
7341 (c-before-hack-hook): Call `c-set-style' differently according to
7342 whether c-file-style was set in file or directory local
7345 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7347 * progmodes/sql.el: Version 2.2.
7348 (sql-product, sql-user, sql-database, sql-server, sql-port):
7349 Use defcustom :safe keyword rather than putting safe-local-variable
7351 (sql-password): Use defcustom :risky keyword rather than putting
7352 risky-local-variable property.
7353 (sql-oracle-login-params, sql-sqlite-login-params)
7354 (sql-solid-login-params, sql-sybase-login-params)
7355 (sql-informix-login-params, sql-ingres-login-params)
7356 (sql-ms-login-params, sql-postgres-login-params)
7357 (sql-interbase-login-params, sql-db2-login-params)
7358 (sql-linter-login-params): Add `port' option.
7359 (sql-get-product-feature): Add NO-INDIRECT parameter.
7360 (sql-comint-oracle, sql-comint-sybase)
7361 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7362 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7363 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7364 (sql-comint-linter): Rename sql-connect-* functions to
7366 (sql-product-alist, sql-mode-menu): Rename as above and
7367 :sqli-connect-func to :sqli-comint-func.
7368 (sql-connection): New variable.
7369 (sql-interactive-mode): Set it.
7370 (sql-connection-alist): New variable.
7371 (sql-connect): New function.
7372 (sql--alt-buffer-part, sql--alt-if-not-empty)
7373 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7375 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7377 * image-mode.el (image-bookmark-make-record): Do not set context
7378 in an image (Bug#6650).
7380 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7382 * simple.el (select-active-region): New function.
7383 (push-mark-command, set-mark, activate-mark)
7384 (handle-shift-selection): Use it.
7385 (deactivate-mark): Don't check for size of region.
7387 * mouse.el (mouse-drag-track): Use select-active-region.
7389 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7391 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7394 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7396 * term/x-win.el (x-select-enable-primary): Change default to nil.
7397 (x-select-enable-clipboard): Add :version keyword.
7399 * mouse.el (mouse-drag-copy-region):
7400 * simple.el (select-active-regions): Likewise.
7402 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7404 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7405 (vc-coding-system-for-diff): Use it to decide whether to inherit
7406 from the file the EOL format for reading the diffs of that file.
7409 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7411 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7412 unibyte, so compressed attachments are not compressed again.
7414 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7416 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7417 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7418 (tramp-find-shell): Simplify setting connection property.
7419 (tramp-get-ls-command): Make test for "--color=never" stronger.
7421 2010-07-15 Simon South <ssouth@member.fsf.org>
7423 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7424 blocks within record declarations (i.e. variant parts) correctly.
7426 2010-07-15 Simon South <ssouth@member.fsf.org>
7428 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7429 over literal tokens when parsing so newlines aren't "absorbed" by
7430 single-line comments. Corrects the indentation of case blocks
7431 that have a comment on the first line.
7433 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7435 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7436 by Drew Adams (Bug#5504).
7438 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7440 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7441 now that Unicode is used (Bug#6594).
7443 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7445 * term/x-win.el (x-select-enable-clipboard): Default to t.
7446 (x-initialize-window-system): Don't overwrite Paste menu item.
7448 * simple.el (select-active-regions): Default to t.
7449 (push-mark-command): Don't overwrite primary with empty string.
7451 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7452 (mouse-drag-copy-region): Default to nil.
7454 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7455 Cut/Copy/Paste menu bar items.
7457 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7459 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7460 Patch applied by Karl Fogel.
7462 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7463 and `bookmark-current-buffer' if they have been already set in
7464 another buffer (e.g gnus-art).
7466 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7467 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7469 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7471 * bookmark.el (bookmark-make-record-default): Allow unneeded
7472 information to be omitted from the record.
7474 Adjust declarations and calls:
7476 * info.el (bookmark-make-record-default): Adjust declaration.
7477 (Info-bookmark-make-record): Adjust call.
7479 * woman.el (bookmark-make-record-default): Adjust declaration.
7480 (woman-bookmark-make-record): Adjust call.
7482 * man.el (bookmark-make-record-default): Adjust declaration.
7483 (Man-bookmark-make-record): Adjust call.
7485 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7487 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7489 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7491 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7492 This is also from Thierry Volpiatto's patch in bug #6444. However,
7493 because it was extraneous to the functional change in that patch,
7494 and causes a re-indendation, I am committing it separately.
7496 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7498 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7499 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7500 Patch applied by Karl Fogel (Bug#6444).
7502 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7504 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7506 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7508 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7509 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7510 (ns-alternatives-map): Change S-tab binding to backtab
7513 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7516 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7518 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7521 * language/tv-util.el (tai-viet-re): Remove format.
7523 2010-07-12 Kenichi Handa <handa@m17n.org>
7525 * language/hebrew.el: Remove no-byte-compile declaration.
7526 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7527 composition-function-table for 3-character looking back.
7528 (hebrew-font-get-precomposed): New function.
7529 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7531 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7533 * mouse.el (mouse-drag-track): Handle select-active-regions
7536 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7538 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7539 empty argument to gvfs-copy.
7541 2010-07-10 Glenn Morris <rgm@gnu.org>
7543 * calendar/calendar.el (calendar-week-end-day): New function.
7544 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7545 Respect calendar-week-start-day. (Bug#6606)
7546 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7547 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7548 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7549 respect calendar-week-start-day.
7551 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7553 * simple.el (use-region-p): Doc fix (Bug#6607).
7555 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7558 Add regexps for cucumber and ruby.
7560 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7562 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7563 (epa-file-insert-file-contents): Hack to prevent
7564 find-file from opening empty buffer when decryption failed
7567 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7569 * textmodes/ispell.el (ispell-alternate-dictionary):
7570 Use file-readable-p.
7571 Return nil if no word-list is found at default locations.
7572 (ispell-complete-word-dict): Default to nil.
7573 (ispell-command-loop): Use 'word-list' when using lookup-words.
7574 (lookup-words): Use ispell-complete-word-dict or
7575 ispell-alternate-dictionary. Check for word-list availability
7576 and handle errors if needed with better messages (Bug#6539).
7577 (ispell-complete-word): Use ispell-complete-word-dict or
7578 ispell-alternate-dictionary.
7580 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7582 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7583 builtins (BufferError, BytesWarning, WindowsError; callables
7584 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7586 2010-07-07 Glenn Morris <rgm@gnu.org>
7588 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7589 (zone-shift-left): Ignore intangibility, and any errors from
7591 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7592 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7593 deleting, and copying text properties.
7594 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7595 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7596 to point-max is hard.
7597 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7598 (zone-fill-out-screen): Ignore intangibility.
7600 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7602 * menu-bar.el (menu-bar-mode):
7603 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7606 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7607 word/line selection (Bug#6565).
7609 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7611 * net/dbus.el (dbus-send-signal): Declare function.
7613 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7615 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7616 (dbus-register-property): New optional argument EMITS-SIGNAL.
7617 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7619 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7621 * mouse.el (mouse-drag-overlay): Variable deleted.
7622 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7623 (mouse--remap-link-click-p): New function.
7624 (mouse-drag-track): Handle dragging by using temporary Transient
7625 Mark mode, instead of a special overlay.
7626 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7629 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7632 2010-07-02 Juri Linkov <juri@jurta.org>
7634 * autoinsert.el (auto-insert-alist): Fix readability
7635 by using dotted pair notation for lambda.
7637 2010-07-02 Juri Linkov <juri@jurta.org>
7639 * faces.el (read-face-name): Rename arg `string-describing-default'
7640 to `default'. Doc fix. Display the default value in quotes
7641 in the prompt. With empty input, return the `default' arg,
7642 unless the default value is a string (in which case return nil).
7643 (describe-face): Replace the string `default' arg of `read-face-name'
7644 with the symbol `default'.
7646 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7648 * emulation/viper-cmd.el (viper-delete-backward-char)
7649 (viper-del-backward-char-in-insert)
7650 (viper-del-backward-char-in-replace, viper-change)
7651 (viper-backward-indent): Replace delete-backward-char with
7652 delete-char (Bug#6552).
7654 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7656 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7658 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7660 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7661 argument passed to frame-creation-function (Bug#5378).
7663 * faces.el (x-handle-named-frame-geometry)
7664 (x-handle-reverse-video, x-create-frame-with-faces)
7665 (face-set-after-frame-default, tty-create-frame-with-faces):
7666 Don't separately consult default-frame-alist. It is now passed as the
7669 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7671 * startup.el (command-line): Don't call tool-bar-setup in a
7674 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7676 * ruler-mode.el (ruler--save-header-line-format): New fun.
7677 (ruler-mode): Use it as a setter function, so as not to overwrite
7678 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7680 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7682 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7683 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7684 (vc-log-outgoing): Use it.
7685 (vc-diff-internal): Set diff-vc-backend.
7687 * vc/diff-mode.el (diff-vc-backend): New var.
7689 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7691 * dynamic-setting.el (font-setting-change-default-font):
7692 Remove call to message.
7694 2010-06-28 Kenichi Handa <handa@m17n.org>
7696 * international/quail.el (quail-insert-kbd-layout): Fix the
7697 showing of untranslated characters.
7699 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7701 * simple.el (delete-active-region): New option.
7702 (delete-backward-char): Implement in Lisp.
7703 (delete-forward-char): New command.
7705 * mouse.el (mouse-region-delete-keys): Deleted.
7706 (mouse-show-mark): Simplify.
7708 * bindings.el (global-map): Bind delete and DEL, the former to
7709 delete-forward-char.
7711 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7713 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7714 (ruby-mode): Bind indent-line-function (Bug#5119).
7716 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7718 * startup.el (command-line): Recognize "0" X resource value.
7720 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7722 * startup.el (command-line): Use X resources to set the value of
7723 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7725 * menu-bar.el (menu-bar-mode):
7726 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7727 Set init-value to t.
7729 * frame.el (frame-notice-user-settings): Don't change
7730 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7731 vice versa (Bug#2249).
7733 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7735 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7737 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7739 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7740 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7742 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7743 default directories are expanded (Bug#6143).
7745 2010-06-24 Juri Linkov <juri@jurta.org>
7747 * minibuffer.el (completions-format): Change default from nil to
7748 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7750 2010-06-24 Juri Linkov <juri@jurta.org>
7752 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7753 buffer-locally to lambda that re-runs the vc diff command.
7756 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7758 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7759 echo area is in use (Bug#3412).
7761 2010-06-22 Glenn Morris <rgm@gnu.org>
7763 * textmodes/texinfmt.el (texinfo-format-region)
7764 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7765 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7766 (texinfo-format-option, texinfo-noindent):
7767 Use line-beginning-position and line-end-position.
7769 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7770 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7771 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7774 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7776 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7777 forward-line fallout.
7779 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7781 * mouse.el (mouse-appearance-menu): Add docstring.
7783 * help.el (describe-key): Print up-event using key-description.
7785 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7787 * net/zeroconf.el (zeroconf-resolve-service)
7788 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7789 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7791 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7793 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7795 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7797 Avoid displaying files with a nil state in vc-dir.
7798 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7799 cases that cause insertion.
7800 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7803 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7805 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7807 2010-06-29 Leo <sdl.web@gmail.com>
7809 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7811 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7813 * generic-x.el (bat-generic-mode): Fix regexp for command line
7814 switches (Bug#5719).
7816 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7818 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7819 of nconc to avoid pure storage error (Bug#6239).
7821 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7823 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7824 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7825 bindings of bookmark-automatically-show-annotations (Bug#6515).
7827 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7829 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7830 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7832 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7834 * comint.el (make-comint, make-comint-in-buffer): Mention return
7835 value in the docstrings. (Bug#6498)
7837 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7839 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7840 since it is not present when using some non-default switches.
7842 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7844 * simple.el (compose-mail): Fix doc string to refer to
7845 `compose-mail-user-agent-warnings', instead of to the
7846 nonexistent `compose-mail-check-user-agent'.
7848 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7850 Fix an indentation bug:
7852 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7853 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7856 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7857 (c-clear->-pair-props-if-match-before): now return t when they've
7858 cleared properties, nil otherwise.
7859 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7860 by taking account of the existing value.
7862 * progmodes/cc-defs.el
7863 (c-clear-char-property-with-value-function): Fix this to clear the
7864 property rather than overwriting it with nil.
7866 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7868 * emacs-lisp/package.el (package-print-package): Add link to
7869 package description via describe-package.
7870 (describe-package-1): List package requirements. Add button to
7871 perform installation.
7872 (package-menu-describe-package): New command.
7874 * help-mode.el (help-package): New button type.
7876 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7878 * emacs-lisp/package.el: Move package-list-packages binding to
7880 (describe-package, describe-package-1, package--dir): New funs.
7881 (package-activate-1): Use package--dir.
7883 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7885 * help-mode.el (help-package-def): New button type.
7887 * menu-bar.el: Move package-list-packages binding here from
7890 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7892 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7894 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * emacs-lisp/edebug.el (edebug-read-list):
7897 Phase out old-style backquotes.
7899 2010-06-17 Juri Linkov <juri@jurta.org>
7901 * help-mode.el (help-mode): Set buffer-local variable
7902 revert-buffer-function to help-mode-revert-buffer.
7903 (help-mode-revert-buffer): New function.
7905 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7906 before popping to "*info*" (like in other Info functions).
7907 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7908 old-history-forward. Pop to old-buffer-name or "*info*" to
7909 recreate the killed buffer. Set Info-history-forward from
7910 old-history-forward.
7911 (Info-breadcrumbs-depth): Add :group and :version.
7913 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7915 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7917 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7919 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7920 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7922 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7924 * emacs-lisp/package.el (package-menu-mode-map):
7925 Move initialization into declaration.
7927 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7929 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7931 * emacs-lisp/package.el (package-archive-base): Point to
7933 (package-enable, package-load-list): New defcustoms.
7934 (package-user-dir, package-directory-list): Turn into defcustoms.
7935 Don't include package-user-dir in package-directory-list.
7936 (package--builtins-base): Don't include Emacs as a "package".
7937 (package-subdirectory-regexp): New var.
7938 (package-load-all-descriptors, package-compute-transaction)
7939 (package-download-transaction): Obey package-load-list.
7940 (package-activate-1): Rename from package-do-activate.
7941 (package-list-packages-internal): Check package-load-list.
7942 (package-load-descriptor, package-generate-autoloads)
7943 (package-unpack, package-unpack-single)
7944 (package--read-archive-file, package-delete):
7945 Use expand-file-name.
7947 * emacs-lisp/package-x.el: New file. Package uploading
7948 functionality split out from package.el.
7950 * startup.el (command-line): Load packages after reading init file.
7952 2010-06-17 Tom Tromey <tromey@redhat.com>
7954 * emacs-lisp/package.el: New file.
7956 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7958 Fix vc-annotate for renamed files when using Git.
7959 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7960 ls-files. Doe not pass the object as a file name to cat-file, it
7962 (vc-git-annotate-command): Pass the file name using -- to avoid
7963 ambiguity with the revision.
7964 (vc-git-previous-revision): Pass a relative file name.
7966 2010-06-22 Glenn Morris <rgm@gnu.org>
7968 * progmodes/js.el (js-mode-map): Use standard capitalization and
7969 ellipses for menu entries.
7971 * wid-edit.el (widget-complete): Doc fix.
7973 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7975 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7977 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7979 Fix annotating other revisions for renamed files in vc-annotate.
7980 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7981 VC backend. Use it when non-nil.
7982 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7985 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7986 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7987 Do not pass the file name to the 'previous-revision call when we
7988 don't want a file diff. (Bug#6489)
7990 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7992 Fix finding revisions for renamed files in vc-annotate.
7993 * vc/vc.el (vc-find-revision): Add an optional argument for
7994 the VC backend. Use it when non-nil.
7995 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7996 backend to vc-find-revision. (Bug#6487)
7998 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8000 Fix reading file names in Git annotate buffers.
8001 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8002 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8004 2010-06-20 Alan Mackenzie <acm@muc.de>
8006 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8007 in file local variables, set it first.
8009 2010-06-19 Glenn Morris <rgm@gnu.org>
8011 * descr-text.el (describe-char-unicode-data): Insert separating
8012 space when needed. (Bug#6422)
8014 * progmodes/idlwave.el (idlwave-action-and-binding):
8015 Fix typo in 2009-12-03 change. (Bug#6450)
8017 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8020 handling for `lambda' (misunderstanding).
8022 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8024 * calc/calc-poly.el (math-accum-factors): Make sure that
8025 constants aren't distributed after they are factored out.
8027 2010-06-16 Juri Linkov <juri@jurta.org>
8029 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8030 `list-colors-print'. (Bug#6332)
8032 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8034 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8037 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8039 * font-lock.el (font-lock-major-mode): Rename from
8040 font-lock-mode-major-mode to distinguish it from
8041 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8042 (font-lock-set-defaults):
8043 * font-core.el (font-lock-default-function): Adjust users.
8044 (font-lock-mode): Don't set it at all.
8046 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8050 2010-06-16 Glenn Morris <rgm@gnu.org>
8052 * calendar/appt.el (appt-time-msg-list): Doc fix.
8053 (appt-check): Let-bind appt-warn-time.
8054 (appt-add): Make the 3rd argument optional.
8055 Simplify argument names. Doc fix. Check for integer WARNTIME.
8056 Only add WARNTIME to the output list if non-nil.
8058 2010-06-16 Ivan Kanis <apple@kanis.eu>
8060 * calendar/appt.el (appt-check): Let the 3rd element of
8061 appt-time-msg-list specify the warning time.
8062 (appt-add): Add new argument with the warning time. (Bug#5176)
8064 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8066 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8067 older than version 1.6. (Bug#6361)
8069 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8071 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8072 used by cl-do-arglist. (Bug#6408)
8074 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8076 * textmodes/ispell.el (ispell-dictionary-base-alist):
8077 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8078 Suggested by Rolando Pereira (bug#6434).
8080 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8082 * facemenu.el (list-colors-sort): Doc fix.
8084 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8086 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8088 2010-06-14 Juri Linkov <juri@jurta.org>
8090 Add sort option `list-colors-sort'. (Bug#6332)
8091 * facemenu.el (color-rgb-to-hsv): New function.
8092 (list-colors-sort): New defcustom.
8093 (list-colors-sort-key): New function.
8094 (list-colors-display): Doc fix. Sort list according to the option
8096 (list-colors-print): Add HSV values to `help-echo' property of
8099 2010-06-14 Juri Linkov <juri@jurta.org>
8101 * compare-w.el: Move to the "vc" subdirectory.
8103 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8105 * image-mode.el (image-mode-map): Remap left-char and right-char.
8107 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8109 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8111 * term/common-win.el (x-colors): Add all the color names defined
8112 in rgb.txt (Bug#6332).
8114 * facemenu.el (list-colors-print): Don't print extra names if it
8115 will overflow the window width.
8117 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8120 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8122 * files.el (make-directory): Doc fix (bug#6396).
8124 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8126 * net/tramp.el (tramp-remote-process-environment): Protect version
8127 string by apostroph.
8128 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8130 (tramp-file-name-for-operation): Add `call-process-region'.
8131 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8133 * net/tramp-compat.el (top): Do not autoload
8134 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8135 only when `start-file-process' is not bound.
8136 (tramp-advice-file-expand-wildcards): Do not use
8137 `tramp-handle-file-remote-p'.
8138 (tramp-compat-make-temp-file): Handle the case, that
8139 `make-temp-file' has no third argument EXTENSION.
8141 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8143 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8145 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8147 2010-06-11 Juri Linkov <juri@jurta.org>
8149 * finder.el (finder-known-keywords): Add keyword "vc"
8150 for version control.
8152 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8153 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8154 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8155 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8157 2010-06-11 Juri Linkov <juri@jurta.org>
8159 Move version control related files to the "vc" subdirectory.
8160 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8161 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8162 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8163 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8164 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8165 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8166 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8167 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8168 Move files to the "vc" subdirectory.
8170 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8172 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8175 2010-06-11 Stephen Eglen <stephen@gnu.org>
8177 * shell.el: Bind `shell-resync-dirs' to M-RET.
8179 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8181 * notifications.el: Move file from lisp/net, because it is
8182 supposed to talk locally to the user.
8184 2010-06-10 Julien Danjou <julien@danjou.info>
8186 * net/notifications.el (notifications-on-action-signal)
8187 (notifications-on-closed-signal): Pass notification id as first
8188 argument to the callback functions. Add docstrings.
8189 (notifications-notify): Fix docstring.
8191 2010-06-10 Glenn Morris <rgm@gnu.org>
8193 * emacs-lisp/authors.el (authors-ignored-files)
8194 (authors-valid-file-names): Add some files.
8196 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8198 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8199 merge conflict, giving preference to the emacs-23 version of the code.
8201 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * emacs-lisp/advice.el (ad-compile-function):
8204 Define warning-suppress-types before we let-bind it (bug#6275).
8206 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8207 declare it, make it buffer-local and permanent-local (bug#6324).
8208 (vc-resynch-window): Adjust name.
8209 * vc-hooks.el (vc-find-file-hook): Adjust name.
8211 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8213 * net/notifications.el (notifications-notify): Fix docstring.
8215 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8217 Update to Unicode 6.0.0 beta.
8218 * international/charprop.el: Update copyright.
8219 * international/mule-cmds.el (ucs-names): Update character ranges.
8220 * international/uni-bidi.el:
8221 * international/uni-category.el:
8222 * international/uni-combining.el:
8223 * international/uni-comment.el:
8224 * international/uni-decimal.el:
8225 * international/uni-decomposition.el:
8226 * international/uni-digit.el:
8227 * international/uni-lowercase.el:
8228 * international/uni-mirrored.el:
8229 * international/uni-name.el:
8230 * international/uni-numeric.el:
8231 * international/uni-old-name.el:
8232 * international/uni-titlecase.el:
8233 * international/uni-uppercase.el: Regenerate.
8235 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8237 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8238 (smie-precs-precedence-table): Fix typo in docstring.
8240 * vc-mtn.el (log-edit-extract-headers): Declare function.
8242 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8244 * net/notifications.el (dbus-register-signal): Declare function.
8245 (notifications-notify): Fix typos and reflow docstring.
8247 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8249 Improve VC create/retrieve tag/branch.
8250 * vc.el (vc-create-tag): Do not read the directory name for VCs
8251 with repository revision granularity. Adjust the tag/branch
8252 prompt. Reset VC properties.
8253 (vc-retrieve-tag): Do not read the directory name for VCs
8254 with repository revision granularity. Reset VC properties.
8256 2010-06-09 Julien Danjou <julien@danjou.info>
8258 * net/notifications.el: New file.
8260 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8262 Add optional support for resetting VC properties.
8263 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8264 call vc-file-clearprops when true.
8265 (vc-resynch-buffer): Add new optional argument, pass it down.
8266 (vc-resynch-buffers-in-directory): Likewise.
8268 Improve support for special markup in the VC commit message.
8269 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8270 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8271 * vc-git.el (vc-git-checkin):
8272 * vc-bzr.el (vc-bzr-checkin): Likewise.
8274 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8277 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8279 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8281 * iimage.el: Remove images as soon as the underlying text is modified.
8282 (iimage-modification-hook): New function.
8283 (iimage-mode-buffer): Use it.
8285 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8287 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8288 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8289 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8290 (smie-indent-keyword): Add handling of open-paren keywords.
8291 (smie-indent-comment-continue): Don't assume comment-continue.
8293 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8295 * window.el (pop-to-buffer): Remove the conditional that
8296 compares new-window and old-window, so it will reselect
8297 the selected window unconditionally.
8298 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8300 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8302 * emacs-lisp/smie.el (smie-indent-offset-after)
8303 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8304 (smie-indent-after-keyword): Use them.
8305 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8306 (smie-indent-keyword): Tweak the black magic.
8307 (smie-indent-comment-continue): Strip comment-continue before use.
8308 (smie-indent-functions): Indent comments before keywords.
8310 2010-06-06 Juri Linkov <juri@jurta.org>
8312 * isearch.el (isearch-lazy-highlight-search): Fix looping
8313 by checking for empty match. This syncs this loop with the
8314 similar loop in `isearch-search'. (Bug#6362)
8316 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8318 * net/dbus.el (dbus-register-method): Declare function.
8319 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8320 (dbus-introspect): Doc fix.
8321 (dbus-event-bus-name, dbus-introspect-get-interface)
8322 (dbus-introspect-get-argument): Reflow docstrings.
8324 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8326 vc-log-incoming/vc-log-outgoing fixes for Git.
8327 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8328 incoming/outgoing logs.
8329 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8330 instead of vc-git-compute-remote.
8331 (vc-git-compute-remote): Remove.
8333 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8335 * term/common-win.el (x-colors): Add "dark green" and "dark
8336 turquoise" (Bug#6332).
8338 2010-06-04 Juri Linkov <juri@jurta.org>
8340 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8341 Instead of setting `replace' to t and replacing the same string
8342 with itself, don't do certain actions when
8343 kill-do-not-save-duplicates is non-nil and string is equal to car
8344 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8345 interprogram-paste strings to kill-ring, and don't push the input
8346 argument `string' to kill-ring.
8347 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8349 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8351 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8353 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8355 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8356 (tramp-gvfs-handler-mounted-unmounted)
8357 (tramp-gvfs-connection-mounted-p): Handle default-location.
8359 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8360 move files to trash.
8362 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8364 * international/mule-cmds.el (nonascii-insert-offset)
8365 (nonascii-translation-table): Add obsolescence information.
8367 * international/mule.el (make-translation-table-from-vector): Doc fix.
8369 2010-06-03 Glenn Morris <rgm@gnu.org>
8371 * desktop.el (desktop-clear-preserve-buffers):
8372 Add "*Warnings*" buffer. (Bug#6336)
8374 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8376 vc-log-incoming/vc-log-outgoing improvements for Git.
8377 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8379 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8381 Add bindings for vc-log-incoming and vc-log-outgoing.
8382 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8383 and vc-log-outgoing.
8384 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8385 and vc-log-outgoing.
8387 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8389 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8390 (rcirc-handler-366): Always sort nicknames.
8392 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8394 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8396 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8398 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8400 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8403 (rcirc-sort-nicknames-join): Avoid setq.
8405 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8407 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8408 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8409 (rcirc-handler-366): Use them.
8411 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8413 Split smie-indent-calculate into more manageable chunks.
8414 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8415 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8416 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8417 (smie-indent-exps): Extract from smie-indent-calculate.
8418 (smie-indent-functions): New var.
8419 (smie-indent-functions): Use them.
8421 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8423 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8424 (smie-indent-calculate): Simplify and cleanup.
8426 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8428 * net/tramp-gvfs.el (top): Require url-util.
8429 (tramp-gvfs-mount-point): Remove.
8430 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8432 (with-tramp-dbus-call-method): Format trace message.
8433 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8434 Implement backup call, when operation on local files fails.
8435 Use progress reporter. Flush properties of changed files.
8436 (tramp-gvfs-handle-make-directory): Make more traces.
8437 (tramp-gvfs-url-file-name): Hexify file name in url.
8438 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8439 into account for the resulting file name.
8440 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8441 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8442 (tramp-gvfs-handler-mounted-unmounted)
8443 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8444 attribute "default_location". Set "prefix" property.
8445 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8446 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8447 exists. Raise an error, if not (due to a corresponding answer
8448 "no" in interactive questions, for example).
8450 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8452 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8454 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8456 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8459 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8461 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8462 * vc-git.el (vc-git-compute-remote): New function.
8463 (vc-git-log-outgoing): Use it instead of hard coding a value.
8464 (vc-git-log-incoming): New function.
8466 Improve state updating for VC tag commands.
8467 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8468 to update the state of all buffers in the directory.
8470 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8472 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8474 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8475 `file-directory-p' to the filename part rather than to the whole text.
8477 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8479 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8481 2010-05-31 Drew Adams <drew.adams@oracle.com>
8483 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8485 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8487 * subr.el (momentary-string-display): Just use read-event to read
8488 the exit event (Bug#6238).
8490 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8492 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8494 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8496 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8497 Suggested by Eli Zaretskii <eliz@gnu.org>.
8499 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * minibuffer.el (completion-file-name-table): Don't return a boundary
8502 past the end of `string' (bug#6299).
8503 (completion--file-name-table): Delegate to completion-file-name-table
8504 for the `boundaries' case.
8506 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8508 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8511 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8512 `path-separator', but maintain compatibility with Emacs 20.2.
8514 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8516 * server.el (server-process-filter): Receive parent-id argument
8518 (server-create-window-system-frame): New arg. Pass parent-id as
8521 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8523 Bidi-sensitive word movement with arrow keys.
8524 * subr.el (right-arrow-command, left-arrow-command): Move to
8527 * bindings.el (right-char, left-char): Move from subr.el and
8528 rename from right-arrow-command and left-arrow-command.
8529 (right-word, left-word): New functions.
8530 (global-map) <right>: Bind to right-char.
8531 (global-map) <left>: Bind to left-char.
8532 (global-map) <C-right>: Bind to right-word.
8533 (global-map) <C-left>: Bind to left-word.
8535 * ls-lisp.el (ls-lisp-classify-file): New function.
8536 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8537 (ls-lisp-classify): Call ls-lisp-classify-file.
8538 (insert-directory): Remove blanks from switches.
8540 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8542 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8543 (ansi-color-drop-regexp): New constant.
8544 (ansi-color-apply, ansi-color-filter-region)
8545 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8546 (ansi-color-apply): Build string list before calling concat.
8548 2010-05-28 Juri Linkov <juri@jurta.org>
8550 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8551 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8554 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8556 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8557 to ignored backtrace functions.
8558 (with-progress-reporter): Expand docstring.
8559 (tramp-handle-delete-file): Implement TRASH argument.
8560 (tramp-get-remote-trash): New defun.
8562 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8564 * net/tramp-compat.el (tramp-compat-delete-file):
8565 Use `symbol-value' for backward compatibility.
8567 * net/tramp.el (tramp-handle-make-symbolic-link)
8569 (tramp-do-copy-or-rename-file-via-buffer)
8570 (tramp-do-copy-or-rename-file-directly)
8571 (tramp-do-copy-or-rename-file-out-of-band)
8572 (tramp-handle-process-file, tramp-handle-call-process-region)
8573 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8574 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8575 (tramp-delete-temp-file-function): Use `delete-file' instead
8576 of `tramp-compat-delete-file'.
8578 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8579 (tramp-fish-handle-make-symbolic-link)
8580 (tramp-fish-handle-process-file): Use `delete-file' instead
8581 of `tramp-compat-delete-file'.
8583 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8584 Use `delete-file' instead of `tramp-compat-delete-file'.
8586 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8587 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8588 `tramp-compat-delete-file'.
8590 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8591 Use `delete-file' instead of `tramp-compat-delete-file'.
8593 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8594 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8595 (tramp-smb-handle-write-region): Use `delete-file' instead of
8596 `tramp-compat-delete-file'.
8597 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8599 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8601 * dired.el (dired-delete-file): New arg TRASH.
8602 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8603 (dired-do-flagged-delete, dired-do-delete): Use trash.
8605 * speedbar.el (speedbar-item-delete): Allow trashing.
8607 * files.el (delete-directory): New arg TRASH.
8609 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8610 (ange-ftp-rename-remote-to-remote)
8611 (ange-ftp-rename-local-to-remote)
8612 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8613 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8615 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8618 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8619 handle new TRASH arg of `delete-file'.
8621 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8622 (tramp-handle-make-symbolic-link, tramp-handle-load)
8623 (tramp-do-copy-or-rename-file-via-buffer)
8624 (tramp-do-copy-or-rename-file-directly)
8625 (tramp-do-copy-or-rename-file-out-of-band)
8626 (tramp-handle-process-file, tramp-handle-call-process-region)
8627 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8628 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8629 (tramp-delete-temp-file-function): Use null TRASH arg in
8630 tramp-compat-delete-file call.
8632 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8633 (tramp-fish-handle-delete-file)
8634 (tramp-fish-handle-make-symbolic-link)
8635 (tramp-fish-handle-process-file): Use null TRASH arg in
8636 `tramp-compat-delete-file' call.
8638 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8639 arg in `tramp-compat-delete-file' call.
8641 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8642 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8643 `tramp-compat-delete-file' call.
8645 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8646 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8647 `tramp-compat-delete-file' call.
8649 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8650 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8651 (tramp-smb-handle-write-region): Use null TRASH arg in
8652 tramp-compat-delete-file call.
8653 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8654 (tramp-smb-handle-delete-file): Rename arg.
8656 * diff.el (diff-sentinel):
8657 * epg.el (epg--make-temp-file, epg-decrypt-string)
8658 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8659 * jka-compr.el (jka-compr-partial-uncompress)
8660 (jka-compr-call-process, jka-compr-write-region):
8661 * server.el (server-sentinel): Remove optional arg from
8662 delete-file, reverting 2010-05-03 change.
8664 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8666 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8667 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8669 2010-05-27 Kenichi Handa <handa@m17n.org>
8671 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8672 element of GSTRING is nil.
8674 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * emacs-lisp/smie.el (smie-forward-token-function)
8677 (smie-backward-token-function): New vars.
8678 (smie-backward-sexp, smie-forward-sexp)
8679 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8680 (smie-default-backward-token): Rename from smie-backward-token and
8682 (smie-default-forward-token): Rename from smie-forward-token and
8684 (smie-next-sexp): Handle nil results from next-token.
8685 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8687 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8689 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8690 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8692 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8694 * htmlfontify.el (hfy-face-resolve-face): New function.
8695 (hfy-face-to-style): Use it (Bug#6279).
8697 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8699 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8700 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8702 2010-05-26 Glenn Morris <rgm@gnu.org>
8704 * emulation/edt.el (edt-load-keys): Use locate-library.
8706 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8708 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8709 (log-edit-changelog-entries): Doc fix.
8710 (log-edit-changelog-insert-entries): Args changed.
8711 Rename relative filenames in ChangeLog entries. Delete tabs.
8712 (log-edit-insert-changelog-entries): Reorganize return value of
8713 `log-edit-changelog-entries' to pass filenames to
8714 log-edit-changelog-insert-entries.
8716 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8718 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8719 `image-dired-dired-insert-marked-thumbs' to
8720 `image-dired-dired-toggle-marked-thumbs'.
8722 * image-dired.el: Require cl when compiling.
8723 (image-dired-dired-toggle-marked-thumbs): Rename from
8724 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8725 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8726 to 'no-dir. Skip files whose names don't match
8727 `image-file-name-regexp'. When file has a thumbnail overlay,
8728 delete it. (Bug#5270)
8730 2010-05-25 Juri Linkov <juri@jurta.org>
8732 * image-mode.el (image-mode): Add image-after-revert-hook to
8734 (image-after-revert-hook): New function. (Bug#5669)
8736 2010-05-25 Juri Linkov <juri@jurta.org>
8738 * image.el (image-animated-p): When delay between animated images
8739 is 0, set it to 10 (0.1 sec). (Bug#6258)
8741 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8743 * net/tramp.el (tramp-handle-insert-directory): Don't use
8744 `forward-word', its default syntax could be changed.
8746 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8748 * net/tramp.el (tramp-progress-reporter-update): New defun.
8749 (with-progress-reporter): Use it.
8750 (tramp-process-actions):
8751 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8752 Preserve current message, in order to let progress reporter continue
8753 afterwards. (Bug#6257)
8755 2010-05-25 Glenn Morris <rgm@gnu.org>
8757 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8760 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8762 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8763 (rcirc-default-full-name): Change to "unknown".
8764 (rcirc-user-name-history): Add variable.
8766 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8767 Jonathan Rockway <jon@jrock.us>
8769 * net/rcirc.el (rcirc-server-alist): Add :pass.
8770 (rcirc): When prompting for connection parameters, also prompt for
8771 username and password.
8772 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8773 value to server when connecting.
8775 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8777 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8778 (smie-merge-prec2s): Pass the tables as separate args.
8779 (smie-bnf-precedence-table): Adjust call accordingly.
8780 (smie-prec2-levels): Set levels at the end.
8782 Replace Lisp calls to delete-backward-char by delete-char.
8783 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8784 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8785 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8786 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8787 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8788 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8789 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8790 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8791 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8792 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8793 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8794 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8795 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8796 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8797 delete-backward-char by calls to delete-char.
8799 2010-05-25 Kenichi Handa <handa@m17n.org>
8801 * language/hebrew.el (hebrew-shape-gstring): New function.
8802 Register it in composition-function-table for all Hebrew combining
8805 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * epa.el (epa--select-keys): Don't explicitly delete the window since
8808 that can fail (e.g. sole window in frame). Use dedication instead.
8810 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8812 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8814 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8816 * image.el (image-refresh): Define as an alias for image-flush.
8818 * image-mode.el (image-toggle-display-image): Caller changed.
8820 2010-05-21 Juri Linkov <juri@jurta.org>
8822 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8823 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8824 whitespace, call wildcard-to-regexp on substrings and concat them
8825 with "\\|". (Bug#6114)
8827 2010-05-21 Alan Mackenzie <acm@muc.de>
8829 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8830 Replace parameter `here' with `here-' and `here-plus', which sandwich
8831 any pertinent CPP construct.
8832 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8833 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8834 CPP construct from taking part in the scanning.
8836 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8838 * net/tramp.el (tramp-do-copy-or-rename-file)
8839 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8840 Tune `with-progress-reporter' messages.
8841 (tramp-handle-vc-registered):
8842 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8843 (tramp-fish-handle-insert-file-contents)
8844 (tramp-fish-maybe-open-connection):
8845 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8846 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8847 (tramp-imap-handle-insert-file-contents)
8848 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8850 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8852 * add-log.el (change-log-font-lock-keywords):
8853 Highlight all authors in multi-author entries.
8855 * smerge-mode.el (smerge-refine-ignore-whitespace)
8856 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8857 Fix typos in docstrings.
8858 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8860 2010-05-21 Glenn Morris <rgm@gnu.org>
8862 * progmodes/fortran.el (fortran-mode):
8863 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8865 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8866 having a relative path in src/Makefile.in.
8868 2010-05-20 Kevin Ryde <user42@zip.com.au>
8870 * help-mode.el (help-make-xrefs): For Info node links turn
8871 newlines into spaces. Link node names with newlines are matched
8872 by help-xref-info-regexp and buttonized, this change ensures they
8873 can be followed successfully with RET. (Bug#6206)
8875 2010-05-20 Juri Linkov <juri@jurta.org>
8877 * locate.el (locate): Use pop-to-buffer instead of
8878 switch-to-buffer-other-window. (Bug#6204)
8880 2010-05-20 Juri Linkov <juri@jurta.org>
8882 * replace.el (replace-highlight): Fix lazy-highlighting
8883 for `M-s w str M-% str RET'.
8885 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8887 * isearch.el (isearch-yank-word-or-char): Pull next subword
8888 when `subword-mode' is activated. (Bug#6220)
8890 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8892 * isearch.el (isearch-update-post-hook): New hook.
8893 (isearch-update): Use the new hook. (Bug#6225)
8895 2010-05-20 Juri Linkov <juri@jurta.org>
8897 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8898 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8901 2010-05-20 Juri Linkov <juri@jurta.org>
8903 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8906 2010-05-20 Juri Linkov <juri@jurta.org>
8908 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8909 FILE-NAME to read from the minibuffer when called interactively
8910 with prefix argument instead of using buffer-file-name.
8911 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8913 * dired.el: Update autoloads.
8915 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8917 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8918 nxml-finish-element, for consistency with SGML mode.
8920 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8923 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8925 * composite.el: Require cl when compiling.
8926 (reference-point-alist, compose-gstring-for-graphic)
8927 (compose-gstring-for-terminal): Fix typos in docstrings.
8929 2010-05-19 Juri Linkov <juri@jurta.org>
8931 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8932 set-window-parameter.
8934 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8936 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8938 (tramp-maybe-open-connection): Use it.
8940 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8942 * simple.el (move-end-of-line): Make sure we are at line beginning
8943 before backing up to end of previous line.
8945 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8947 * password-cache.el (password-cache-remove): Fix docstring.
8949 * net/secrets.el: Autoload the widget functions.
8950 (secrets-search-items, secrets-create-item)
8951 (secrets-get-attributes, secrets-expand-item): Attributes will be
8952 stored on the password database without leading ":", as all other
8954 (secrets-mode): Fix docstring.
8955 (secrets-show-secrets): Provide it as autoloaded command only when
8956 D-Bus support is available. Check existence of Secret Service API.
8958 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * indent.el (indent-region): Deactivate region (bug#6200).
8962 2010-05-19 Glenn Morris <rgm@gnu.org>
8964 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8966 2010-05-19 Kenichi Handa <handa@m17n.org>
8968 * composite.el: Register compose-gstring-for-graphic in
8969 composition-function-table only for combining characters (Mn, Mc, Me).
8971 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8973 * calc/calc-trail.el (calc-trail-isearch-forward)
8974 (calc-trail-isearch-backward): Ensure that the new window
8975 point is set correctly.
8977 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * subr.el (read-quoted-char): Resolve modifiers after key
8980 remapping (bug#6212).
8982 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8984 Add visualization code for secrets.
8985 * net/secrets.el (secrets-mode): New major mode.
8986 (secrets-show-secrets, secrets-show-collections)
8987 (secrets-expand-collection, secrets-expand-item)
8988 (secrets-tree-widget-after-toggle-function)
8989 (secrets-tree-widget-show-password): New defuns.
8991 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8994 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8995 handled in smie-next-sexp.
8996 (smie-indent-calculate): Provide a starting indentation (so the
8997 recursion is well-founded ;-).
8999 Fix handling of non-associative equal levels.
9000 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9001 when it's not needed.
9002 (smie-op-left, smie-op-right): New functions.
9003 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9004 Better handle equal levels to distinguish the associative case from
9005 the "multi-keyword construct" case.
9006 (smie-backward-sexp, smie-forward-sexp): Use it.
9008 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9010 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9012 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9013 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9015 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9017 Provide a simple generic indentation engine and use it for Prolog.
9018 * emacs-lisp/smie.el: New file.
9019 * progmodes/prolog.el (prolog-smie-op-levels)
9020 (prolog-smie-indent-rules): New var.
9021 (prolog-mode-variables): Use them to configure SMIE.
9022 (prolog-indent-line, prolog-indent-level): Remove.
9024 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9026 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9027 order before computing the averages.
9029 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9031 * calc/calc-vec.el (calc-histogram):
9032 (calcFunc-histogram): Allow vectors as inputs.
9033 (math-vector-avg): New function.
9035 * calc/calc-ext.el (math-group-float): Have the number of digits
9036 being grouped depend on the radix (Bug#6189).
9038 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9040 * version.el (emacs-copyright, emacs-version): Don't define here,
9041 now that emacs.c defines it.
9043 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9045 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9046 "Describe Language Environment" menu item.
9048 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9050 Bidi-sensitive movement with arrow keys.
9051 * subr.el (right-arrow-command, left-arrow-command): New functions.
9053 * bindings.el (global-map): Bind them to right and left arrow keys.
9055 Don't override standard definition of convert-standard-filename.
9056 * files.el (convert-standard-filename):
9057 Call w32-convert-standard-filename and dos-convert-standard-filename on
9058 the corresponding systems.
9060 * w32-fns.el (w32-convert-standard-filename): Rename from
9061 convert-standard-filename. Doc fix.
9063 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9064 (convert-standard-filename): Don't defalias.
9065 (register-name-alist, make-register, register-value)
9066 (set-register-value, intdos): Obsolete aliases for the
9067 corresponding dos-* functions and variables.
9068 (dos-intdos): Add a doc string.
9070 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9072 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9073 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9074 (math-compose-tex-func):
9075 * calc/calccomp.el (math-compose-expr):
9076 * calc/calc-ext.el (math-format-flat-expr-fancy):
9077 * calc/calc-store.el (calc-read-var-name):
9078 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9080 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9081 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9082 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9083 (math-standard-units): Add units.
9085 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * progmodes/asm-mode.el (asm-mode):
9088 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9090 * pcomplete.el (pcomplete-completions-at-point): New function,
9091 extracted from pcomplete-std-complete.
9092 (pcomplete-std-complete): Use it.
9094 2010-05-15 Glenn Morris <rgm@gnu.org>
9096 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9097 Remove references to CVS, RCS and Old directories.
9099 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9101 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9104 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9106 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9107 (sh-mode-syntax-table): Give it a default value instead.
9108 (sh-header-marker): Make buffer-local.
9109 (sh-mode): Move make-local-variable to the corresponding setq.
9110 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9111 Use complete-with-action.
9113 * simple.el (prog-mode): New (abstract) major mode.
9114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9115 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9117 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9119 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9120 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9121 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9122 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9123 (sql-escape-newlines-filter, sql-input-sender)
9124 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9126 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9128 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9130 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9131 latex-open-block and C-c / to latex-close-block.
9133 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9134 and C-c C-e to sgml-close-tag.
9136 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9138 * net/tramp.el (with-progress-reporter): Create reporter object
9139 only when the message would be displayed. Handle nested calls.
9140 (tramp-handle-load, tramp-handle-file-local-copy)
9141 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9142 (tramp-maybe-send-script, tramp-find-shell):
9143 Use `with-progress-reporter'.
9144 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9147 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9148 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9149 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9150 Use `with-progress-reporter'.
9152 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9154 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9155 process everytime when spellchecking from the minibuffer (bug#6143).
9157 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9161 * dos-fns.el: Add "dos-" prefix for namespace control.
9162 (convert-standard-filename): Define as alias for
9163 dos-convert-standard-filename but only if applicable.
9165 2010-05-12 Alan Mackenzie <acm@muc.de>
9167 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9168 Push the mark at the start of these functions when appropriate.
9170 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * minibuffer.el (completion-cycle-threshold): New custom var.
9173 (completion--do-completion): Use it.
9174 (minibuffer-complete): Use cycling if appropriate.
9176 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9178 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9179 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9181 2010-05-11 Juri Linkov <juri@jurta.org>
9183 * scroll-all.el (scroll-all-check-to-scroll):
9184 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9186 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9188 * iimage.el (iimage-mode-map): Move initialization into declaration.
9189 (iimage-mode-buffer): Use with-silent-modifications.
9190 Simplify calling convention. Adjust callers.
9191 (iimage-mode): Don't run hook redundantly.
9193 * minibuffer.el (completion-pcm--pattern->regex):
9194 Fix last change (bug#6160).
9196 2010-05-10 Juri Linkov <juri@jurta.org>
9198 Remove nodes visited during Isearch from the Info history.
9199 * info.el (Info-isearch-initial-history)
9200 (Info-isearch-initial-history-list): New variables.
9201 (Info-isearch-start): Record initial values of
9202 Info-isearch-initial-history and Info-isearch-initial-history-list.
9203 Add Info-isearch-end to isearch-mode-end-hook.
9204 (Info-isearch-end): New function.
9206 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9208 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9209 format string, in order to work around a bug in pdksh.
9210 Reported by Gilles Pion <gpion@lfdj.com>.
9211 (tramp-handle-verify-visited-file-modtime): Do not send a command
9212 when the connection is not established.
9213 (tramp-handle-set-file-times): Simplify the check for utc.
9215 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9217 Fix use of `filter-buffer-substring' (rework previous change).
9218 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9219 (cua-repeat-replace-region):
9220 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9221 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9222 (cua-cut-region-to-global-mark): Use it.
9224 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9226 * progmodes/sql.el: Version 2.1.
9227 (sql-product-alist): Redesign structure of product info.
9228 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9229 (sql-port, sql-port-history): New variables.
9230 (sql-interactive-product): New variable.
9231 (sql-send-terminator): New variable.
9232 (sql-imenu-generic-expression): Add "Types" imenu entry.
9233 (sql-oracle-login-params, sql-sqlite-login-params)
9234 (sql-mysql-login-params, sql-solid-login-params)
9235 (sql-sybase-login-params, sql-informix-login-params)
9236 (sql-ingres-login-params, sql-ms-login-params)
9237 (sql-postgres-login-params, sql-interbase-login-params)
9238 (sql-db2-login-params, sql-linter-login-params)
9239 (sql-oracle-scan-on): New variables.
9240 (sql-mode-map): Add C-c C-i to start interactive mode.
9241 (sql-mode-menu): Update existing menu entries.
9242 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9243 (sql-mode-oracle-font-lock-keywords)
9244 (sql-mode-postgres-font-lock-keywords)
9245 (sql-mode-ms-font-lock-keywords)
9246 (sql-mode-sybase-font-lock-keywords)
9247 (sql-mode-informix-font-lock-keywords)
9248 (sql-mode-interbase-font-lock-keywords)
9249 (sql-mode-ingres-font-lock-keywords)
9250 (sql-mode-solid-font-lock-keywords)
9251 (sql-mode-mysql-font-lock-keywords)
9252 (sql-mode-sqlite-font-lock-keywords)
9253 (sql-mode-db2-font-lock-keywords)
9254 (sql-mode-linter-font-lock-keywords): Update initialization to
9255 reduce run-time complexity.
9256 (sql-add-product, sql-del-product): New functions.
9257 (sql-set-product-feature, sql-get-product-feature): New functions.
9258 (sql-product-font-lock): Update product API.
9259 (sql-add-product-keywords): New function.
9260 (sql-highlight-product): Update product API.
9261 (sql-help-list-products): New function.
9262 (sql-help): Dynamically lists free and non-free products.
9263 (sql-get-login): Correct bug in handling history and added
9265 (sql-copy-column): Copy without properties.
9266 (sqli-input-sender): Apply filters to SQLi input.
9267 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9268 Implement as a filter.
9269 (sql-escape-newlines-filter): Implement as a filter.
9270 (sql-remove-tabs-filter): New function.
9271 (sql-send-magic-terminator): New function.
9272 (sql-send-string): Implement magic terminator.
9273 (sql-send-region): Use `sql-send-string'.
9274 (sql-interactive-mode): Use product API.
9275 (sql-product-interactive): Use product API.
9276 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9277 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9278 (sql-db2, sql-linter): Use `sql-product-interactive'.
9279 (sql-connect): New function.
9280 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9281 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9282 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9283 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9286 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9289 New custom variable.
9290 (completion-pcm--string->pattern): Use it.
9291 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9292 Make it handle any symbol as `any'.
9293 (completion-pcm--merge-completions): Extract common suffix for the new
9294 `prefix' symbol as well.
9295 (completion-substring--all-completions): Use the new `prefix' symbol.
9297 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9299 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9301 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9302 (tramp-compat-funcall): New defmacro.
9303 (tramp-compat-line-beginning-position)
9304 (tramp-compat-line-end-position)
9305 (tramp-compat-temporary-file-directory)
9306 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9307 (tramp-compat-copy-file, tramp-compat-copy-directory)
9308 (tramp-compat-delete-file, tramp-compat-delete-directory)
9309 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9310 * net/tramp.el (top, with-progress-reporter)
9311 (tramp-rfn-eshadow-setup-minibuffer)
9312 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9313 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9314 (tramp-completion-mode-p, tramp-check-for-regexp)
9315 (tramp-open-connection-setup-interactive-shell)
9316 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9317 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9318 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9319 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9320 (tramp-reporter-dump-variable, tramp-load-report-modules)
9321 (tramp-append-tramp-buffers)
9322 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9324 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9326 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9329 buffer-modtime. Adjust users.
9331 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9333 * international/mule.el (auto-coding-alist): Only purecopy
9334 car of each item, not the whole list (Bug#6083).
9336 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9338 * progmodes/js.el (js-mode): Make paragraph variables local before
9339 calling c-setup-paragraph-variables (Bug#6071).
9341 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9343 * composite.el (compose-region, reference-point-alist): Fix typos
9346 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9348 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9349 gnuplot's "set" command.
9351 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9353 * abbrev.el (last-abbrev-text): Doc fix.
9354 (abbrev-prefix-mark): Don't escape parenthesis.
9356 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9358 * composite.el (find-composition): Doc fix.
9360 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9362 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9363 (sql-oracle-program, sql-sqlite-options)
9364 (sql-query-placeholders-and-send): Doc fixes.
9365 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9366 (sql-imenu-generic-expression, sql-buffer)
9367 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9368 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9369 (sql-mode-sybase-font-lock-keywords)
9370 (sql-mode-informix-font-lock-keywords)
9371 (sql-mode-interbase-font-lock-keywords)
9372 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9373 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9374 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9375 (sql-product-feature, sql-highlight-product)
9376 (comint-line-beginning-position, sql-rename-buffer)
9377 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9378 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9379 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9380 Fix typos in docstrings.
9382 2010-05-08 Juri Linkov <juri@jurta.org>
9384 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9385 property instead of `invisible' and `after-string' (bug#5998).
9387 2010-05-08 Juri Linkov <juri@jurta.org>
9389 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9391 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9393 * filecache.el (file-cache-add-directory-list)
9394 (file-cache-add-directory-recursively): Fix typos in docstrings.
9396 2010-05-08 Kenichi Handa <handa@m17n.org>
9398 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9399 (gujarati-composable-pattern): Fix typo.
9401 2010-05-08 Kenichi Handa <handa@m17n.org>
9403 * language/indian.el (oriya-composable-pattern)
9404 (tamil-composable-pattern, malayalam-composable-pattern):
9405 Add two-part vowels to "v" (vowel sign).
9407 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9409 * files.el (copy-directory): Handle symlinks (Bug#5982).
9411 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9413 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9414 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9417 2010-05-08 Glenn Morris <rgm@gnu.org>
9419 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9421 * minibuffer.el (completion-at-point): Doc fix.
9423 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * electric.el (Electric-command-loop): Minor tweak.
9427 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9428 better with dedicated windows.
9430 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9432 * Version 23.2 released.
9434 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9435 Stefan Monnier <monnier@iro.umontreal.ca>
9437 Highlight vendor specific properties.
9438 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9439 (css-proprietary-property): New face.
9440 (css-font-lock-keywords): Use them.
9442 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9444 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9446 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9448 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9449 * files.el (auto-mode-alist): Remove redundant entries.
9451 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9452 * simple.el (auto-save-mode): Move from files.el.
9453 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9455 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9457 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9459 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9461 * mail/binhex.el (binhex-decode-region-internal)
9462 * mail/uudecode.el (uudecode-decode-region-internal)
9463 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9464 (dns-read-type, dns-query)
9465 * pgg-parse.el (pgg-parse-armor)
9466 * pgg.el (pgg-verify-region)
9467 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9470 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9472 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9474 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9476 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9477 * emulation/cua-base.el (cua-repeat-replace-region):
9478 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9479 (cua-cut-region-to-global-mark):
9480 Remove text properties with `set-text-properties'.
9482 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9484 * net/tramp.el (top, with-progress-reporter):
9485 Use `symbol-function' inside `funcall'.
9487 * net/tramp-compat.el (tramp-compat-file-attributes)
9488 (tramp-compat-delete-file, tramp-compat-delete-directory):
9489 Handle only `wrong-number-of-arguments' error.
9491 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9492 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9495 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9497 * minibuffer.el (completion--sreverse, completion--common-suffix):
9499 (completion-pcm--merge-completions): Extract common suffix when safe.
9501 * emacs-lisp/easy-mmode.el (define-minor-mode):
9502 Make :variable more flexible.
9503 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9505 2010-05-05 Juri Linkov <juri@jurta.org>
9507 Add `slow' and `history' tags to the desktop data.
9509 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9510 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9511 (Info-finder-find-node): Require `finder.el' to be able
9512 to restore node from the desktop.
9513 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9514 data `Info-history' and `slow' tag in the assoc list.
9515 (Info-restore-desktop-buffer): Don't restore nodes with the
9516 `slow' tag. Restore `Info-history'.
9518 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9520 Add FORCE argument to `delete-file'.
9522 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9523 forcing to delete the temporary file.
9524 (ange-ftp-delete-file): Add FORCE arg.
9525 (ange-ftp-rename-remote-to-remote)
9526 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9527 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9528 Force file deletion.
9530 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9532 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9533 (tramp-handle-make-symbolic-link, tramp-handle-load)
9534 (tramp-do-copy-or-rename-file-via-buffer)
9535 (tramp-do-copy-or-rename-file-directly)
9536 (tramp-do-copy-or-rename-file-out-of-band)
9537 (tramp-handle-process-file, tramp-handle-call-process-region)
9538 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9539 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9540 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9542 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9543 (tramp-fish-handle-make-symbolic-link)
9544 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9546 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9547 Use `tramp-compat-delete-file'.
9549 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9550 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9552 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9553 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9555 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9556 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9557 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9558 Use `tramp-compat-delete-file'.
9560 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9563 * subr.el (add-minor-mode): Use push.
9564 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9565 * emulation/edt.el (edt-select-mode): Simplify.
9567 Use define-minor-mode in more cases.
9568 * term/tvi970.el (tvi970-set-keypad-mode):
9569 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9570 (normal-erase-is-backspace-mode):
9571 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9572 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9573 (get-scroll-bar-mode): New function.
9574 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9576 Use define-minor-mode for less obvious cases.
9577 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9578 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9579 * international/iso-ascii.el (iso-ascii-mode):
9580 * frame.el (auto-raise-mode, auto-lower-mode):
9581 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9583 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9585 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9586 in order to see error messages for failed logins.
9588 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9590 * diff.el (diff-sentinel):
9592 * epg.el (epg--make-temp-file, epg-decrypt-string)
9593 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9595 * jka-compr.el (jka-compr-partial-uncompress)
9596 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9598 * server.el (server-sentinel): Use delete-file's new FORCE arg
9601 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9603 Use define-minor-mode where applicable.
9604 * view.el (view-mode):
9605 * type-break.el (type-break-query-mode)
9606 (type-break-mode-line-message-mode):
9607 * textmodes/reftex.el (reftex-mode):
9608 * term/vt100.el (vt100-wide-mode):
9609 * tar-mode.el (tar-subfile-mode):
9610 * savehist.el (savehist-mode):
9611 * ibuf-ext.el (ibuffer-auto-mode):
9612 * composite.el (auto-composition-mode):
9613 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9614 Use define-minor-mode.
9615 (vhdl-mode): Use static mode-line format.
9616 (vhdl-mode-line-update): Delete.
9617 (vhdl-create-mode-menu, vhdl-activate-customizations)
9618 (vhdl-hs-minor-mode): Don't bother calling it.
9620 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * simple.el (with-wrapper-hook): Move.
9623 (buffer-substring-filters): Mark obsolete.
9624 (filter-buffer-substring-functions): New variable.
9625 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9627 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9628 Michael Albinus <michael.albinus@gmx.de>
9630 Implement compression for inline methods.
9632 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9633 (tramp-copy-size-limit): Allow also nil.
9634 (tramp-inline-compress-commands): New defconst.
9635 (tramp-find-inline-compress, tramp-get-inline-compress)
9636 (tramp-get-inline-coding): New defuns.
9637 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9638 replaced by `tramp-get-inline-coding'.
9639 (tramp-handle-file-local-copy, tramp-handle-write-region)
9640 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9642 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9644 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9645 Remove unused functions.
9647 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9648 Set find-tag-default-function as a variable rather than a property.
9650 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9651 * progmodes/etags.el (tags-completion-at-point-function):
9652 Remove left over interactive spec. Add autoloading stub.
9653 (complete-tag): Use tags-completion-at-point-function.
9655 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9657 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9659 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9661 * ido.el (ido-init-completion-maps): Remove C-v binding.
9662 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9664 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9666 * minibuffer.el (tags-completion-at-point-function): New function.
9667 (completion-at-point-functions): Use it.
9669 * progmodes/etags.el (complete-tag): Revert last change.
9671 2010-04-29 Alan Mackenzie <acm@muc.de>
9673 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9674 off-by-one error (in end of macro position).
9676 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9678 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9679 firefox is absent. Don't autoload.
9680 (browse-url-galeon-program): Don't autoload.
9682 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9684 * bindings.el (complete-symbol): Move into minibuffer.el.
9686 * minibuffer.el (complete-tag): Move from etags.el. If tags
9687 completion cannot be performed, return nil instead of signalling
9689 (completion-at-point): Make it an alias for complete-symbol.
9690 (complete-symbol): Move from bindings.el, and replace with the
9691 body of completion-at-point.
9693 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9695 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9697 * net/tramp.el (tramp-remote-selinux-p): New defun.
9698 (tramp-handle-file-selinux-context)
9699 (tramp-handle-set-file-selinux-context): Use it.
9701 2010-04-28 Sam Steingold <sds@gnu.org>
9703 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9704 `safe-local-variable' if the value is a string or a symbol with
9705 the property `bug-reference-url-format'.
9707 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9709 * progmodes/bug-reference.el (bug-reference-url-format):
9710 Revert 2010-04-27 change due to security risk.
9712 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9714 Make it possible to locally disable a globally enabled mode.
9715 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9716 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9717 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9718 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9719 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9720 that subsequent hooks get a chance to disable it.
9722 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9725 Avoid re-enabling a minor mode after the user turned the minor mode
9726 off if MODE-enable-in-buffers is run twice (typically once from
9727 fundamental-mode's after-change-major-mode-hook and a second time from
9728 run-mode-hook's own after-change-major-mode-hook).
9730 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9732 2010-04-27 Sam Steingold <sds@gnu.org>
9734 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9735 `safe-local-variable' if the value is a string or a function, as
9736 documented and implemented on 2010-04-02.
9738 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9740 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9741 when method is 'kill.
9743 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9745 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9746 condition in default directory check.
9747 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9748 Kill ispell process when killing its associated buffer.
9750 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9752 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9753 but we aren't using it.
9755 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9757 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9758 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9760 2010-04-24 Glenn Morris <rgm@gnu.org>
9762 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9763 Ignore VCS-ignore files, and deleted nextstep preferences files.
9764 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9765 (authors-ambiguous-files): New list.
9766 (authors-valid-file-names): Add some deleted files.
9767 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9768 (authors-disambiguate-file-name): New function. (Bug#5501)
9769 (authors-canonical-file-name): Doc fix.
9770 Don't warn about obsolete files.
9771 (authors-canonical-file-name, authors-scan-el):
9772 Use authors-disambiguate-file-name.
9774 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9775 Add autoload cookies.
9776 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9777 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9778 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9779 They have definitions / compiler macros in cl.el.
9780 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9781 Replace manual autoloads with generated ones.
9782 (htmlfontify-unload-rgb-file): Remove autoload.
9783 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9785 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9787 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9788 (byte-compile-setq-default): Optimize for the
9789 single-var case and don't call byte-compile-form in this case to avoid
9790 inf-loop with byte-compile-set-default.
9792 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9794 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9796 Implement SELINUX backends.
9798 * net/tramp.el (tramp-file-name-handler-alist):
9799 Add `file-selinux-context' and `set-file-selinux-context'.
9800 (tramp-handle-file-selinux-context)
9801 (tramp-handle-set-file-selinux-context): New defuns.
9802 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9803 Handle PRESERVE-SELINUX-CONTEXT.
9805 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9806 Add `file-selinux-context' and `set-file-selinux-context'.
9807 (tramp-gvfs-handle-file-selinux-context)
9808 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9809 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9811 * net/ange-ftp.el (ange-ftp-copy-file):
9812 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9813 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9814 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9815 Add PRESERVE-SELINUX-CONTEXT.
9817 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9819 Synchronize with Tramp repository.
9821 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9822 (tramp-action-process-alive, tramp-action-out-of-band)
9823 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9824 (tramp-exists-file-name-handler): Fix docstring.
9825 (with-progress-reporter): New defmacro.
9826 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9827 (tramp-maybe-open-connection): Use it.
9829 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9831 Detect ssh 'ControlMaster' argument automatically in some cases.
9833 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9834 (tramp-default-method): Use it.
9836 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9838 * net/tramp.el (tramp-handle-copy-file): Add new optional
9839 parameter `preserve-selinux-context'.
9840 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9842 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9844 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9845 Ensure, that non remote files are still checked. Oops.
9847 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9851 * icomplete.el (icomplete-completions): Use `non-essential'.
9853 * net/tramp.el (tramp-connectable-p): New defun.
9854 (tramp-handle-expand-file-name)
9855 (tramp-completion-handle-file-name-all-completions)
9856 (tramp-completion-handle-file-name-completion): Use it.
9858 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9862 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9864 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9866 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9868 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9871 * info.el (info-tool-bar-map): Add labels.
9873 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9875 * cus-edit.el (custom-commands): Add labels for tool bar.
9876 (custom-buffer-create-internal, Custom-mode): Adjust for
9877 labels in custom-commands.
9879 * dynamic-setting.el: Renamed from font-setting.el.
9881 2010-04-21 John Wiegley <jwiegley@gmail.com>
9883 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9884 toggles the use of virtual buffers.
9885 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9886 (ido-toggle-virtual-buffers): New function.
9888 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9890 Use `define-derived-mode'; fix window selection; doc fixes.
9891 * play/tetris.el (tetris, tetris-update-speed-function)
9892 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9893 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9894 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9895 (tetris-pause-game): Fix typos in docstrings.
9896 (tetris-mode-map, tetris-null-map):
9897 Move initialization into declaration.
9898 (tetris-mode): Define with `define-derived-mode';
9899 set show-trailing-whitespace to nil.
9900 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9902 2010-04-21 Karel Klíč <kklic@redhat.com>
9904 * files.el (backup-buffer): Handle SELinux context, and return it
9905 if a backup was made by renaming.
9906 (backup-buffer-copy): Set SELinux context to the target file.
9907 (basic-save-buffer): Set SELinux context of the newly written file.
9908 (basic-save-buffer-1): Now it also returns any SELinux context.
9909 (basic-save-buffer-2): Set SELinux context of the newly created file,
9911 * net/tramp.el (tramp-file-name-for-operation):
9912 Add file-selinux-context.
9914 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9916 Make the log-edit comments use RFC822 format throughout.
9918 * vc.el (vc-checkin, vc-modify-change-comment):
9919 Adjust to new vc-start/finish-logentry.
9920 (vc-find-conflicted-file): New command.
9921 (vc-transfer-file): Adjust to new vc-checkin.
9922 (vc-next-action): Improve scoping.
9924 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9925 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9927 * vc-git.el (vc-git-log-edit-mode): Remove.
9928 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9929 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9931 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9932 (vc-start-logentry): Remove argument `extra'.
9933 (vc-finish-logentry): Remove extra args.
9935 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9936 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9937 (vc-bzr-conflicted-files): New function.
9939 * log-edit.el (log-edit-extra-flags)
9940 (log-edit-before-checkin-process): Remove.
9941 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9942 (log-edit-headers-alist): New var.
9943 (log-edit-header-contents-regexp): New const.
9944 (log-edit-match-to-eoh): New function.
9945 (log-edit-font-lock-keywords): Use them.
9946 (log-edit): Insert a "Summary:" header as default.
9947 (log-edit-mode): Mark font-lock rules as case-insensitive.
9948 (log-edit-done): Cleanup headers.
9949 (log-view-process-buffer): Remove.
9950 (log-edit-extract-headers): New function to replace it.
9952 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9954 * subr.el (default-direction-reversed): Remove obsolescence info.
9956 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9961 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9962 I.e. include text after point in the completion region.
9963 Also, return nil when we're not after/in a symbol.
9965 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9966 default enable-multibyte-characters.
9968 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * international/mule.el: Help the user choose a valid coding-system.
9971 (read-buffer-file-coding-system): New function.
9972 (set-buffer-file-coding-system): Use it. Prompt the user if the
9973 coding-system cannot encode all the chars.
9975 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9976 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9977 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9978 Don't use *vc-bzr-shelve*.
9980 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9982 Fix the version number for added files.
9983 * vc-hg.el (vc-hg-working-revision): Check if the file is
9984 registered after hg parent fails (Bug#5961).
9986 2010-04-19 Glenn Morris <rgm@gnu.org>
9988 * htmlfontify.el (htmlfontify-buffer)
9989 (htmlfontify-copy-and-link-dir): Autoload entry points.
9991 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9993 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9994 name relative to the project root (Bug#5960).
9996 2010-04-19 Glenn Morris <rgm@gnu.org>
9998 * vc-git.el (vc-git-print-log): Doc fix.
10000 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10002 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10004 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10006 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10007 default settings (Bug#5928).
10009 2010-04-19 Glenn Morris <rgm@gnu.org>
10011 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10013 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10015 2010-04-19 Kenichi Handa <handa@m17n.org>
10017 * language/indian.el (malayalam-composable-pattern): Fix previous
10018 change (add U+0D4D "SIGN VIRAMA").
10019 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10020 (tamil-composable-pattern): Fix typo in the regexp.
10021 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10022 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10023 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10025 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10027 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10028 paragraph-separate (Bug#5821).
10030 2010-04-19 Juri Linkov <juri@jurta.org>
10032 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10034 * info.el (Info-find-node-2): Comment out code that skips
10036 (Info-mouse-follow-link): New command.
10037 (Info-link-keymap): New keymap.
10038 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10039 Return a string with links instead of inserting breadcrumbs
10040 to the Info buffer.
10041 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10042 Instead of putting the `invisible' text property over the Info
10043 header, make an overlay over the Info header with the `invisible'
10044 property and `after-string' set to the string returned by
10045 `Info-breadcrumbs'.
10047 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10049 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10050 Reported by monkey@sandpframing.com.
10052 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10054 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10055 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10056 available in the "keyseq cache" any more.
10058 * custom.el (defcustom): Add edebug spec.
10060 2010-04-18 Juri Linkov <juri@jurta.org>
10062 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10064 * view.el (view-file, view-buffer): Move test for special mode-class
10065 from view-file to view-buffer.
10067 * tar-mode.el (tar-extract): Turn if's into one cond
10068 like in arc-mode.el.
10070 2010-04-18 Juri Linkov <juri@jurta.org>
10072 Add 7z archive format support (bug#5475).
10074 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10075 (archive-7z-extract): New defcustom.
10076 (archive-find-type): Add magic string for 7z.
10077 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10078 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10079 `buffer' arg of `call-process'.
10080 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10081 call the function `archive-7z-extract' with the variable
10082 `archive-7z-extract' let-bound to `archive-zip-extract'.
10083 (archive-7z-summarize, archive-7z-extract): New functions.
10085 * international/mule.el (auto-coding-alist):
10086 * files.el (auto-mode-alist): Add 7z file extension.
10088 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * loadup.el: Setup hash-cons for pure data.
10092 Fix duplicate entries in cedet's loaddefs.el files.
10093 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10094 Should make most file-local generated-autoload-file unnecessary.
10095 (print-readably): Silence warnings.
10096 (autoload-find-destination): Take load-name as an arg to make sure
10097 it's the same as the one that will be in the file.
10098 (autoload-generate-file-autoloads): Adjust to above changes.
10099 Try to make the dataflow a bit simpler.
10101 * cvs-status.el (cvs-refontify): Remove unused.
10103 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10105 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10107 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10108 twos-complement mode.
10110 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10112 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10113 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10114 (calc-inverse): Add "Option" to message, as appropriate.
10115 (calc-hyperbolic): Add "Option" to message, as appropriate.
10116 (calc-option, calc-is-option): New functions.
10118 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10119 (calc-option-prefix-help): New function.
10121 * calc/calc-misc.el (calc-help): Add "Option" entry.
10123 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10124 (calc-option-flag): New variable.
10125 (calc-do): Set `calc-option-flag to nil.
10126 (calc-set-mode-line): Add "Opt " as appropriate.
10128 2010-04-16 Juri Linkov <juri@jurta.org>
10130 Move scrolling commands from simple.el to window.el
10131 because their primitives are implemented in window.c.
10133 * simple.el (scroll-error-top-bottom)
10134 (scroll-up-command, scroll-down-command, scroll-up-line)
10135 (scroll-down-line, scroll-other-window-down)
10136 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10137 * window.el (scroll-error-top-bottom)
10138 (scroll-up-command, scroll-down-command, scroll-up-line)
10139 (scroll-down-line, scroll-other-window-down)
10140 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10141 Move from simple.el to window.el because their primitives are
10142 implemented in window.c.
10144 2010-04-16 Juri Linkov <juri@jurta.org>
10146 * isearch.el (isearch-lookup-scroll-key): Check both
10147 `isearch-scroll' and `scroll-command' properties.
10148 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10150 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10152 * simple.el (scroll-up-command, scroll-down-command)
10153 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10155 2010-04-15 Juri Linkov <juri@jurta.org>
10157 * simple.el (scroll-up-command, scroll-down-command)
10158 (scroll-up-line, scroll-down-line): Put `scroll-command'
10159 property on the these symbols. Remove them from
10160 `scroll-preserve-screen-position-commands'.
10162 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10163 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10164 Remove it from `scroll-preserve-screen-position-commands'.
10166 * isearch.el (isearch-allow-scroll): Doc fix.
10168 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10170 * net/tramp.el (tramp-error-with-buffer): Don't show the
10171 connection buffer when we are in completion mode.
10172 (tramp-file-name-handler): Catch the error for some operations
10173 when we are in completion mode. This gives the user the chance to
10174 correct the file name in the minibuffer.
10176 2010-04-15 Glenn Morris <rgm@gnu.org>
10178 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10180 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10182 Simplify by using `define-derived-mode'.
10183 * info.el (Info-mode):
10184 * calendar/todo-mode.el (todo-mode):
10185 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10186 (gomoku-mode-map): Move initialization into declaration.
10188 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10191 * ido.el (ido-file-name-all-completions-1):
10192 * minibuffer.el (minibuffer-completion-help):
10193 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10195 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * simple.el (non-essential): New var.
10199 Add a new field `location' to bookmarks for non-file bookmarks.
10200 * bookmark.el (bookmark-location): Use the new field, if present.
10201 (bookmark-insert-location): Undo last change, not needed any more.
10202 * man.el (Man-bookmark-make-record):
10203 * woman.el (woman-bookmark-make-record): Add `location' field.
10205 2010-04-14 Juri Linkov <juri@jurta.org>
10207 * simple.el (scroll-error-top-bottom): New defcustom.
10208 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10210 * emulation/pc-select.el (pc-select-override-scroll-error):
10211 Obsolete in favor of `scroll-error-top-bottom'.
10213 2010-04-14 Juri Linkov <juri@jurta.org>
10215 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10216 `scroll-up-command' and `M-v' to `scroll-down-command'.
10218 * emulation/cua-rect.el (cua--init-rectangles):
10219 * forms.el (forms--change-commands):
10220 * image-mode.el (image-mode-map):
10221 Remap scroll-down-command and scroll-up-command
10222 in addition to scroll-down and scroll-up.
10224 2010-04-14 Juri Linkov <juri@jurta.org>
10226 * mwheel.el (scroll-preserve-screen-position-commands):
10227 Add mwheel-scroll to this list of commands.
10229 * simple.el (scroll-preserve-screen-position-commands):
10230 Add scroll-up-command, scroll-down-command, scroll-up-line,
10231 scroll-down-line to this list of commands.
10233 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * obsolete/complete.el: Move from lisp/complete.el.
10237 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10239 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10240 to the minor mode function now turns the mode ON unconditionally.
10242 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * vc-dir.el (vc-dir-kill-line): New command.
10245 (vc-dir-mode-map): Bind it to C-k.
10247 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10249 * woman.el: Add bookmark declarations to silence the compiler.
10250 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10251 step to compatibility between man and woman bookmarks.
10252 Adjust for Man-default-bookmark-title renaming.
10253 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10255 * man.el: Add bookmark declarations to silence the compiler.
10256 (Man-name-local-regexp): Make it match NAME as well.
10257 (Man-getpage-in-background): Return the buffer.
10258 (Man-notify-when-ready): Use `case'.
10259 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10260 Don't hardcode "NAME". Simplify.
10261 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10262 Rename from Man-bookmark-make-record.
10263 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10264 we have the actual man-args. Use Man-getpage-in-background rather
10265 than `man' since the arg is already processed. Let bookmark.el do the
10266 window handling. Only wait for the relevant process.
10267 Don't forget to autoload.
10269 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10271 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10273 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10275 (woman-mode): Setup bookmark support.
10277 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10278 (man-bookmark-jump): New functions.
10279 (Man-mode): Setup bookmark support.
10281 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10283 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10284 recognize ssh-keygen prompt (Bug#2817).
10286 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10288 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10290 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10292 Synchronize with Tramp repository.
10294 * net/tramp.el (tramp-completion-function-alist)
10295 (tramp-file-name-regexp, tramp-chunksize)
10296 (tramp-local-coding-commands, tramp-remote-coding-commands):
10298 (tramp-remote-process-environment): Use `format' instead of `concat'.
10299 (tramp-handle-directory-files-and-attributes)
10300 (tramp-get-remote-path): Use `copy-tree'.
10301 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10302 compatibility: Use `completion-ignore-case' if
10303 `read-file-name-completion-ignore-case' does not exist.
10304 (tramp-do-copy-or-rename-file-directly): Do not use
10305 `tramp-handle-file-remote-p'.
10306 (tramp-do-copy-or-rename-file-out-of-band):
10307 Use `tramp-compat-delete-directory'.
10308 (tramp-do-copy-or-rename-file-out-of-band)
10309 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10310 Use `format-spec-make'.
10311 (tramp-find-foreign-file-name-handler)
10312 (tramp-advice-make-auto-save-file-name)
10313 (tramp-set-auto-save-file-modes): Remove superfluous check for
10314 `stringp'. This is done inside `tramp-tramp-file-p'.
10315 (tramp-debug-outline-regexp): New defconst.
10316 (tramp-get-debug-buffer): Use it.
10317 (tramp-check-for-regexp): Use (forward-line 1).
10318 (tramp-set-auto-save-file-modes): Adapt version check.
10320 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10321 Wrap call of `featurep' for 2nd argument.
10322 (tramp-compat-make-temp-file): Simplify fallback implementation.
10323 (tramp-compat-copy-tree): Remove function.
10324 (tramp-compat-delete-directory): Provide implementation for older
10327 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10328 Do not use `tramp-fish-handle-file-attributes.
10330 * net/trampver.el: Update release number.
10332 2010-04-10 Glenn Morris <rgm@gnu.org>
10334 * progmodes/compile.el (compilation-save-buffers-predicate):
10335 Add missing :version tag.
10337 2010-04-09 Sam Steingold <sds@gnu.org>
10339 * progmodes/compile.el (compilation-save-buffers-predicate):
10340 Remove the "autoload" cookie.
10342 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10343 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10344 and `bug-reference-prog-mode' can be used in hooks directly.
10346 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10348 Add --author support to git commit.
10349 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10350 (vc-git-log-edit-mode): New minor mode.
10351 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10354 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10356 * vc-hooks.el, vc-git.el: Improve documentation comments.
10358 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10360 Fix some of the problems in defsubst* (bug#5728).
10361 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10362 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10364 2010-04-07 Sam Steingold <sds@gnu.org>
10366 * progmodes/compile.el (compilation-save-buffers-predicate):
10367 New custom variable.
10368 (compile, recompile): Pass it to `save-some-buffers'.
10370 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10372 * wid-edit.el (widget-choose): Move cursor to the second line of
10373 the buffer (Bug#5695).
10375 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10377 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10378 * vc.el (vc-print-log-setup-buttons): New function split out from
10379 vc-print-log-internal.
10380 (vc-log-internal-common): New function, a parametrized version of
10381 vc-print-log-internal.
10382 (vc-print-log-internal): Just call vc-log-internal-common with the
10384 (vc-incoming-outgoing-internal):
10385 (vc-log-incoming, vc-log-outgoing): New functions.
10386 (vc-log-view-type): New permanent local variable.
10388 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10390 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10391 of the dynamic bound vc-short-log.
10392 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10394 * vc-git.el (vc-git-log-outgoing): New function.
10395 (vc-git-log-view-mode): Use vc-log-view-type instead
10396 of the dynamic bound vc-short-log.
10398 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10399 of the dynamic bound vc-short-log. Highlight the tag.
10400 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10401 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10402 (vc-hg-incoming-mode): Remove.
10403 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10405 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10407 Fix default-directory for vc-root-diff.
10408 * vc.el (vc-root-diff): Bind default-directory to the root
10409 directory for the diff command.
10411 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10413 * progmodes/verilog-mode.el (verilog-forward-sexp):
10414 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10415 word keywords, suggested by Steve Pearlmutter.
10416 (verilog-pretty-declarations): Support lineup of declarations in
10418 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10419 fix bug for /* / comments.
10420 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10421 Speed up and simplfy as this is never called with a bound.
10422 (verilog-pretty-declarations): Enhance to line up declarations
10423 inside a parameter list, suggested by Alan Morgan.
10424 (verilog-pretty-expr): Tune assignment regular expression match
10425 string for corner cases; also use markers instead of character
10426 number as indent changes the later.
10428 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10430 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10431 as missing keyword.
10432 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10433 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10434 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10435 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10437 (verilog-keywords):
10438 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10439 1800-2009 keywords, including "global.".
10441 2010-04-06 John Wiegley <jwiegley@gmail.com>
10443 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10444 appearing in buffer list (if a live buffer name matched a recentf
10445 file basename). Should use uniquify to offer a real solution.
10447 2010-04-06 John Wiegley <jwiegley@gmail.com>
10449 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10450 comment to code, and add a :version tag.
10451 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10453 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10455 Enable recentf-mode if using virtual buffers.
10456 * ido.el (recentf-list): Declare for byte-compiler.
10457 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10458 (ido-make-buffer-list): Simplify.
10459 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10461 2010-04-05 Juri Linkov <juri@jurta.org>
10463 Scrolling commands which scroll a line instead of full screen.
10464 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10466 * simple.el (scroll-up-line, scroll-down-line): New commands.
10467 Put property isearch-scroll=t on them.
10469 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10472 2010-04-05 Juri Linkov <juri@jurta.org>
10474 Scrolling commands which do not signal errors at top/bottom.
10475 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10477 * simple.el (scroll-up-command, scroll-down-command): New commands.
10478 Put property isearch-scroll=t on them.
10480 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10481 `scroll-down-command' and [next] from `scroll-up' to
10482 `scroll-up-command'.
10484 * emulation/cua-base.el: Put property CUA=move on
10485 `scroll-up-command' and `scroll-down-command'.
10486 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10487 and `scroll-down-command' to `cua-scroll-down'.
10489 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10491 * help.el (describe-mode): Return nil.
10493 2010-04-04 John Wiegley <jwiegley@gmail.com>
10495 * ido.el (ido-use-virtual-buffers): New variable to indicate
10496 whether "virtual buffer" support is enabled for IDO.
10497 (ido-virtual): Face used to indicate virtual buffers in the list.
10498 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10499 exists, but a virtual buffer of that name does (which would be why
10500 it was in the list), recreate the buffer by reopening the file.
10501 (ido-make-buffer-list): If virtual buffers are being used, call
10502 `ido-add-virtual-buffers-to-list' before the make list hook.
10503 (ido-virtual-buffers): New variable which contains a copy of the
10504 current contents of the `recentf-list', albeit pared down for the
10505 sake of speed, and with proper faces applied.
10506 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10507 create a list of "virtual buffers" to present to the user in
10508 addition to the currently open set. Note that this logic could
10509 get rather slow if that list is too large. With the default
10510 `recentf-max-saved-items' of 200, there is little speed penalty.
10512 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * font-lock.el: Require CL when compiling.
10515 (font-lock-turn-on-thing-lock): Use `case'.
10517 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10519 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10522 2010-04-02 Juri Linkov <juri@jurta.org>
10524 * ehelp.el (electric-help-orig-major-mode):
10525 New buffer-local variable.
10526 (electric-help-mode): Set it to original major-mode. Doc fix.
10527 (with-electric-help): Use `electric-help-orig-major-mode' instead
10528 of (default-value 'major-mode). Doc fix.
10529 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10531 2010-04-02 Sam Steingold <sds@gnu.org>
10533 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10534 `vc-hg-command' with a list of flags.
10536 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10537 Also accept "patch" and "RFE".
10538 (bug-reference-fontify): `bug-reference-url-format' can also be a
10539 function to be able to handle the bug kind.
10540 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10542 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10544 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10545 value to fboundp, it may not be a symbol.
10547 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10549 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10551 2010-03-31 Juri Linkov <juri@jurta.org>
10553 * simple.el (next-line, previous-line): Re-throw a signal
10554 with `signal' instead of using `ding'.
10555 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10557 2010-03-31 Juri Linkov <juri@jurta.org>
10559 * simple.el (keyboard-escape-quit): Raise deselecting the active
10560 region higher than exiting the minibuffer.
10561 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10563 2010-03-31 Juri Linkov <juri@jurta.org>
10565 * image.el (image-animated-p): Use `image-metadata' instead of
10566 `image-extension-data'. Get GIF extenstion data from metadata
10567 property `extension-data'.
10569 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10571 * simple.el (append-to-buffer): Simplify.
10573 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10575 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10576 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10578 2010-03-31 Kenichi Handa <handa@m17n.org>
10580 * language/sinhala.el (composition-function-table): Fix regexp for
10581 the new Unicode specification.
10583 * language/indian.el (devanagari-composable-pattern)
10584 (tamil-composable-pattern, kannada-composable-pattern)
10585 (malayalam-composable-pattern): Adjust for the new Unicode
10587 (bengali-composable-pattern, gurmukhi-composable-pattern)
10588 (gujarati-composable-pattern, oriya-composable-pattern)
10589 (telugu-composable-pattern): New variables to cope with the new
10590 Unicode specification. Use them in composition-function-table.
10592 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10594 Make tmm-menubar work for the Buffers menu again (bug#5726).
10595 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10596 vectors rather than cons cells, as used in menu-bar-update-buffers.
10598 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10600 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10601 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10602 electric punctuation for "{}();,:" (Bug#5586).
10604 * mail/sendmail.el (mail-default-directory): Doc fix.
10606 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10608 * mail/sendmail.el (mail-default-directory): Doc fix.
10610 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10612 * subr.el (version-regexp-alist, version-to-list)
10613 (version-list-<, version-list-=, version-list-<=)
10614 (version-list-not-zero, version<, version<=, version=): Doc fix.
10617 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10619 * vc.el (vc-root-diff): Doc fix.
10621 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10623 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10625 * simple.el (append-to-buffer): Fix last change.
10627 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10629 * simple.el (append-to-buffer): Ensure that point is preserved if
10630 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10633 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10635 * files.el (auto-mode-case-fold): Change default to t.
10637 2010-03-30 Juri Linkov <juri@jurta.org>
10639 * dired-x.el (dired-omit-mode): Doc fix.
10641 2010-03-30 Juri Linkov <juri@jurta.org>
10643 * replace.el (occur-accumulate-lines): Move occur-engine related
10644 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10645 to be located after `occur-engine'.
10647 2010-03-30 Juri Linkov <juri@jurta.org>
10649 Make occur handle multi-line matches cleanly with context.
10650 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10652 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10653 (occur-engine): Add local variables `ret', `prev-after-lines',
10654 `prev-lines'. Use more arguments for `occur-context-lines'.
10655 Set first elem of its returned list to `data', and the second elem
10656 to `prev-after-lines'. Don't print the separator line.
10657 In the end, print remaining context after-lines.
10658 (occur-context-lines): Add new arguments `begpt', `endpt',
10659 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10660 after-lines of the previous match with before-lines of the
10661 current match and not overlap them. Return a list with two
10662 values: the output line and the list of context after-lines.
10664 2010-03-30 Juri Linkov <juri@jurta.org>
10666 * replace.el (occur-accumulate-lines): Fix a bug where the first
10667 context line at the beginning of the buffer was missing.
10669 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10671 * files.el: Make bidi-display-reordering safe variable for boolean
10674 2010-03-29 Phil Hagelberg <phil@evri.com>
10675 Chong Yidong <cyd@stupidchicken.com>
10677 * subr.el: Extend progress reporters to perform "spinning".
10678 (progress-reporter-update, progress-reporter-do-update):
10679 Handle non-numeric value arguments.
10680 (progress-reporter--pulse-characters): New var.
10682 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10684 * progmodes/compile.el (compilation-start): Fix regexp detection
10685 of initial cd command (Bug#5771).
10687 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10689 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10691 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10693 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10694 * progmodes/gdb-mi.el: Restore.
10695 * progmodes/gdb-ui.el: Remove.
10696 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10698 2010-03-25 Glenn Morris <rgm@gnu.org>
10700 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10701 all dired buffers, even tramp ones. (Bug#5755)
10703 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10705 Add "union tags" in mpc.el.
10706 * mpc.el: Remove backward compatibility code.
10707 (mpc-browser-tags): Change default.
10708 (mpc--find-memoize-union-tags): New var.
10709 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10710 (mpc-cmd-find): Handle the case where the playlist does not exist.
10712 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10713 (mpc-cmd-add): Use mpc-cmd-flush.
10714 (mpc-tagbrowser-tag-name): New fun.
10715 (mpc-tagbrowser-buf): Use it.
10716 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10718 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10721 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10722 Use replace-regexp-in-string.
10723 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10724 (makefile-imake-mode-syntax-table): Move init into defvar.
10725 (makefile-mode): Use define-derived-mode.
10727 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10728 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10729 not be present any more.
10731 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10733 * faces.el (set-face-attribute): Fix typo in docstring.
10734 (face-valid-attribute-values): Reflow docstring.
10736 2010-03-24 Glenn Morris <rgm@gnu.org>
10738 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10740 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10742 * indent.el (indent-for-tab-command): Doc fix.
10744 2010-03-24 Alan Mackenzie <acm@muc.de>
10746 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10747 Fix off-by-one error. Fixes bug #5747.
10749 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10751 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10752 (image-dired-read-comment): Doc fix.
10754 * json.el (json-object-type, json-array-type, json-key-type)
10755 (json-false, json-null, json-read-number):
10756 * minibuffer.el (completion-in-region-functions):
10757 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10758 (cal-tex-cursor-week):
10759 * emacs-lisp/trace.el (trace-function):
10760 * eshell/em-basic.el (eshell/printnl):
10761 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10762 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10763 * obsolete/levents.el (allocate-event, event-key, event-object)
10764 (event-point, event-process, event-timestamp, event-to-character)
10765 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10766 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10767 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10768 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10769 (reftex-highlight-selection): Fix typos in docstrings.
10771 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10773 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10775 2010-03-24 Glenn Morris <rgm@gnu.org>
10777 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10778 2008-02-13 without comment; mark it obsolete.
10779 (rmail-highlight-headers): Use rmail-highlight-face once more.
10781 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10783 * woman.el (woman2-process-escapes): Only consume the newline if
10784 the filler character is on a line by itself (Bug#5729).
10786 2010-03-24 Kenichi Handa <handa@m17n.org>
10788 * language/indian.el (devanagari-composable-pattern): Add more
10791 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10793 * net/trampver.el: Update release number.
10795 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10797 * net/tramp.el (tramp-find-executable):
10798 Use `tramp-get-connection-buffer'. Make the regexp for checking
10799 output of "wc -l" more robust.
10800 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10801 (tramp-open-connection-setup-interactive-shell): Remove workaround
10802 for OpenSolaris bug, it is not needed anymore.
10804 2010-03-24 Glenn Morris <rgm@gnu.org>
10806 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10808 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10810 * files.el (auto-mode-alist): Accept more verilog file patterns.
10812 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10814 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10816 2010-03-24 Glenn Morris <rgm@gnu.org>
10818 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10819 log-edit-before-checkin-process.
10821 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10823 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10825 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10826 (log-view-process-buffer, log-edit-extra-flags): Declare.
10828 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10830 2010-03-23 Sam Steingold <sds@gnu.org>
10832 Fix bug#5620: recalculate all markers on compilation buffer
10833 modifications, not on file modifications.
10834 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10835 variable: the buffer modification time, for buffers not associated with
10837 (compilation-mode): Create it.
10838 (compilation-filter): Update it.
10839 (compilation-next-error-function): Use it instead of
10840 `visited-file-modtime' for timestamp.
10842 2010-03-23 Juri Linkov <juri@jurta.org>
10844 Implement Occur multi-line matches.
10845 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10847 * replace.el (occur): Doc fix.
10848 (occur-engine): Set `begpt' to the beginning of the first line.
10849 Set `endpt' to the end of the last match line. At first, count
10850 line numbers between `origpt' and `begpt'. Split out code from
10851 `out-line' variable to new let-bindings `match-prefix' and
10852 `match-str'. In `out-line' add non-numeric prefix to all
10853 non-first lines of multi-line matches. Finally, count lines
10854 between `begpt' and `endpt' and add to `lines'.
10856 2010-03-23 Juri Linkov <juri@jurta.org>
10858 * replace.el (occur-accumulate-lines, occur-engine):
10859 Use `occur-engine-line' instead of duplicate code.
10860 (occur-engine-line): New function created from duplicate code
10861 in `occur-accumulate-lines' and `occur-engine'.
10863 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10864 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10866 2010-03-23 Juri Linkov <juri@jurta.org>
10868 * finder.el: Remove TODO tasks.
10870 * info.el (Info-finder-find-node): Add node "all"
10871 with all package info. Handle a list of multiple keywords
10872 separated by comma.
10873 (info-finder): In interactive use with a prefix argument,
10874 use `completing-read-multiple' to read a list of keywords
10875 separated by comma.
10877 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10879 Add a new completion style `substring'.
10880 * minibuffer.el (completion-basic--pattern): New function.
10881 (completion-basic-try-completion, completion-basic-all-completions):
10883 (completion-substring--all-completions)
10884 (completion-substring-try-completion)
10885 (completion-substring-all-completions): New functions.
10886 (completion-styles-alist): New style `substring'.
10888 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10890 Get rid of .elc files after removal of the corresponding .el.
10891 * Makefile.in (compile-clean): New target.
10892 (compile-main): Use it.
10894 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10896 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10897 don't do make there. When compiling with separate object dir, there
10898 is no Makefile there.
10900 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10902 Get rid of the ELCFILES abomination, again.
10903 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10904 (all, compile): Don't call compile-last.
10905 (compile-main): Build the "elcfiles" list dynamically.
10906 (compile-targets): New (internal) target.
10908 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10910 * Makefile.in (top_srcdir): Define.
10911 (abs_top_builddir): Define.
10912 (srcdir): Don't append `/..'.
10913 (EMACS): Use ${abs_top_builddir}.
10914 (all, compile, compile-always, compile-last): Don't set emacswd.
10915 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10917 (lisp): Use $(srcdir) instead of @srcdir@.
10919 2010-03-21 Juri Linkov <juri@jurta.org>
10921 Fix message of multi-line occur regexps and multi-buffer header lines.
10922 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10924 * replace.el (occur-1): Don't display regexp if it is longer
10925 than window-width. Use `query-replace-descr' to display regexp.
10926 (occur-engine): Don't display regexp in the buffer header for
10927 multi-buffer occur. Display a separate header line with total
10928 match count and regexp for multi-buffer occur.
10929 Use `query-replace-descr' to display regexp.
10931 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10933 * net/secrets.el: Fix parenthesis.
10934 (secrets-enabled): Fix parenthesis.
10936 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10938 Use more relative file and directory names.
10939 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10940 (setwins, setwins_almost, setwins_for_subdirs):
10941 Don't `cd'; output relative names.
10942 (all, compile, compile-always, compile-last): Set emacswd.
10943 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10944 Just cd to the lisp source dir so we can use relative file names.
10946 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10948 2010-03-20 Glenn Morris <rgm@gnu.org>
10950 * textmodes/rst.el: Use faces for font-lock customization, and make the
10951 old -face variables obsolete.
10952 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10953 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10954 (rst-block-face, rst-external-face, rst-definition-face)
10955 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10956 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10958 (rst-font-lock-keywords-function): Update for above changes.
10960 2010-03-20 Juri Linkov <juri@jurta.org>
10963 * obsolete/s-region.el: Move to obsolete.
10965 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10967 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10969 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10971 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10973 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10975 Add special markup processing for commit logs.
10976 * log-edit.el (log-edit-extra-flags): New variable.
10977 (log-edit): Add new argument MODE. Use that mode when non-nil
10978 instead of the log-view-mode.
10979 (log-view-process-buffer): New function.
10981 * vc.el: Document that the checkin method takes optional
10982 arguments. Document new backend specific method: log-view-mode.
10983 (vc-default-log-edit-mode): New function.
10984 (vc-checkin): Use a backend specific log-view-mode.
10985 Pass extra arguments to the checkin method.
10986 (vc-modify-change-comment): Pass a dummy extra argument.
10988 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10990 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10991 (vc-finish-logentry): Process the log buffer before passing it
10992 down. Pass log-edit-extra-flags.
10994 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10996 (log-edit-extra-flags, log-edit-before-checkin-process):
10999 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11001 (log-edit-extra-flags, log-edit-before-checkin-process):
11003 (vc-hg-log-edit-mode): New derived mode.
11005 * vc-arch.el (vc-arch-checkin):
11006 * vc-cvs.el (vc-cvs-checkin):
11007 * vc-git.el (vc-git-checkin):
11008 * vc-mtn.el (vc-mtn-checkin):
11009 * vc-rcs.el (vc-rcs-checkin):
11010 * vc-sccs.el (vc-sccs-checkin):
11011 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11013 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11018 2010-03-19 Glenn Morris <rgm@gnu.org>
11020 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11022 2010-03-18 Glenn Morris <rgm@gnu.org>
11024 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11026 * replace.el (query-replace-history): Give it a doc string.
11027 (map-query-replace-regexp): Use query-replace-from-history-variable
11028 and query-replace-to-history-variable.
11030 * mail/hashcash.el (declare-function): Remove duplicate definition.
11032 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11033 Make it an obsolete alias for report-emacs-bug-address.
11034 (message-strip-special-text-properties): Declare.
11035 (report-emacs-bug): Remove test for a pretest bug address.
11036 Combine message-mode-specific code.
11038 * mail/supercite.el: Don't require sendmail.
11039 (mh-in-header-p): Declare rather than using with-no-warnings.
11040 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11041 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11043 * calendar/cal-french.el: Convert to utf-8.
11045 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11048 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11050 * net/secrets.el (secrets-enabled): New variable. Use it instead
11053 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11055 * net/secrets.el (top): Register the D-Bus signals only when the
11056 service "org.freedesktop.secrets" can be pinged.
11057 Provide subfeature `enabled'.
11059 2010-03-14 Juri Linkov <juri@jurta.org>
11061 Add finder unknown keywords.
11063 * finder.el (finder-unknown-keywords): New function.
11065 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11066 to create a Finder node with unknown keywords.
11068 2010-03-14 Juri Linkov <juri@jurta.org>
11070 * finder.el (finder-compile-keywords): Replace `princ' with
11071 `prin1' on a list of symbols interned from keyword strings.
11073 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11074 a comma, then split keywords using a comma and optional whitespace.
11075 Otherwise, split by whitespace.
11083 * progmodes/mixal-mode.el: Fix keywords.
11085 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11087 * Makefile.in (ELCFILES): Add net/secrets.elc.
11089 * net/secrets.el: New file.
11091 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11093 * facemenu.el (list-colors-display, list-colors-print): New arg
11094 callback. Use it to allow selecting colors.
11096 * wid-edit.el (widget-image-insert): Insert image prop even if the
11097 current display is non-graphic.
11098 (widget-field-value-set): New fun.
11099 (editable-field): Use it.
11100 (widget-field-value-get): Clean up unused var.
11101 (widget-color-value-create, widget-color--choose-action):
11102 New funs. Allow using list-colors-display to choose color.
11104 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11106 * cus-edit.el: Resort topmost custom groups.
11107 (custom-buffer-sort-alphabetically): Default to t.
11108 (customize-apropos): Use apropos-parse-pattern.
11109 (custom-search-field): New var.
11110 (custom-buffer-create-internal): Add custom-apropos search field.
11111 (custom-add-parent-links): Don't display parent doc.
11112 (custom-group-value-create): Don't sort top-level custom group.
11113 (custom-magic-value-create): Show visibility button before option name.
11115 (custom-variable-state): New fun, from custom-variable-state-set.
11116 (custom-variable-state-set): Use it.
11117 (custom-group-value-create): Hide options with standard values
11118 using the :hidden-states property. Use progress reporter.
11120 (custom-show): Simplify.
11121 (custom-visibility): Disable images by default.
11122 (custom-variable): New property :hidden-states.
11123 (custom-variable-value-create): Enable images for
11124 custom-visibility widgets. Use :hidden-states property to
11125 determine initial visibility.
11127 * wid-edit.el (widget-image-find): Give images center ascent.
11128 (visibility): Add :on-image and :off-image properties.
11129 (widget-visibility-value-create): Use them.
11131 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11133 * cus-edit.el (processes): Remove from development group.
11134 (oop, hypermedia): Delete group.
11135 (comm): Promote to top-level group.
11137 * net/browse-url.el (browse-url):
11138 * net/xesam.el (xesam):
11139 * net/tramp.el (tramp):
11140 * net/goto-addr.el (goto-address):
11141 * net/ange-ftp.el (ange-ftp): Put in comm group.
11143 * view.el (view): Remove from editing group.
11145 * uniquify.el (uniquify): Put in files group.
11147 * net/browse-url.el (browse-url):
11148 * ps-print.el (postscript): Put in external group.
11150 * cus-edit.el (outlines):
11151 * textmodes/text-mode.el (text-mode-hook):
11152 * textmodes/table.el (table):
11153 * textmodes/picture.el (picture):
11154 * outline.el (outlines): Put in wp group.
11156 * nxml/nxml-mode.el (nxml): Remove from wp group.
11158 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11160 * mail/metamail.el (metamail): Remove from hypermedia group.
11162 * cus-edit.el (abbrev):
11163 * whitespace.el (whitespace):
11164 * vcursor.el (vcursor):
11165 * reveal.el (reveal):
11166 * hl-line.el (hl-line): Put in convenience group.
11168 * epg-config.el (epg): Put in data group.
11170 * emulation/pc-select.el (pc-select): Put in emulations group.
11172 * calculator.el (calculator): Put in applications group.
11174 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11176 Add .dir-locals.el support for file-less buffers.
11177 * files.el (hack-local-variables): Split out code to apply local
11178 variable settings ...
11179 (hack-local-variables-apply): ... here. New function.
11180 (hack-dir-local-variables): Use the default directory for when the
11181 buffer does not have an associated file.
11182 (hack-dir-local-variables-non-file-buffer): New function.
11183 * diff-mode.el (diff-mode):
11184 * vc-annotate.el (vc-annotate-mode):
11185 * vc-dir.el (vc-dir-mode):
11186 * log-edit.el (log-edit-mode):
11187 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11189 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11191 Add support for shelving snapshots and for showing shelves.
11192 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11193 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11195 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11196 (vc-bzr-extra-menu-map): Map them.
11198 2010-03-11 Glenn Morris <rgm@gnu.org>
11200 * cus-edit.el (customize-changed-options-previous-release):
11203 * image.el (image-animate-max-time): Fix :version tag.
11205 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11209 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * vc-git.el (vc-git-revision-table): Include remote branches.
11213 2010-03-10 Kim F. Storm <storm@cua.dk>
11215 Animated image API.
11216 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11218 * image.el (image-animate-max-time): New defcustom.
11219 (image-animated-types): New defconst.
11220 (create-animated-image, image-animate-timer)
11221 (image-animate-start, image-animate-stop, image-animate-timeout)
11222 (image-animated-p): New functions.
11224 * image-mode.el (image-toggle-display-image):
11225 Replace `create-image' with `create-animated-image'.
11227 2010-03-09 Miles Bader <miles@gnu.org>
11229 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11230 instead of "format:"; this ensures that the output is
11231 newline-terminated.
11233 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11235 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11236 that all errors are caught, and that the return value is always a
11239 2010-03-08 Kenichi Handa <handa@m17n.org>
11241 * language/misc-lang.el (windows-1256): New coding system.
11242 (cp1256): New alias of windows-1256 (bug#5690).
11244 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11246 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11247 call to rfc822-bad-address. (Bug#5692)
11249 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11251 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11252 Use vc-git-root as default directory for revision path (Bug#5657).
11254 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11256 * calculator.el (calculator): Don't bind split-window-keep-point
11259 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11261 * vc-git.el: Re-flow to fit into 80 columns.
11262 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11263 Remove spurious `quote' element in each case alternative.
11264 (vc-git-show-log-entry): Use prog1.
11265 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11267 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11271 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11273 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11274 definition, not the name (Bug#5481).
11276 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11278 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11279 argument with a local variable. (Bug#5670)
11281 2010-03-02 Juri Linkov <juri@jurta.org>
11283 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11285 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11287 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11288 error when FILENAME and NEWNAME are existing remote directories.
11290 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11291 parameter DIR-FLAG.
11293 2010-03-02 Glenn Morris <rgm@gnu.org>
11295 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11296 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11298 2010-03-01 Kenichi Handa <handa@m17n.org>
11300 * language/burmese.el (burmese-composable-pattern): Rename from
11301 myanmar-composable-pattern.
11303 * international/characters.el (script-list):
11304 * international/fontset.el (script-representative-chars):
11305 Change myanmar to burmese.
11306 (otf-script-alist): Likewise.
11307 (setup-default-fontset): Likewise. Re-fix :otf spec.
11309 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11311 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11313 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11315 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11317 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11319 * net/tramp.el (tramp-handle-write-region): START can be a string.
11320 Take care in the checks. Reported by Dan Davison
11321 <davison@stats.ox.ac.uk>.
11323 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11325 * net/dbus.el (dbus-introspect, dbus-get-property)
11326 (dbus-set-property, dbus-get-all-properties):
11327 Use `dbus-call-method' when noninteractive. (Bug#5645)
11329 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11331 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11332 * emacs-lisp/elint.el (elint-add-required-env):
11333 * calendar/icalendar.el (icalendar--add-diary-entry):
11334 * calc/calcalg2.el (math-tracing-integral):
11335 * files.el (recover-session-finish): Use with-current-buffer
11336 instead of save-excursion.
11338 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11340 Fix in-buffer completion when after-change-functions modify the buffer.
11341 * minibuffer.el (completion--replace): New function.
11342 (completion--do-completion): Use it and use relative movement.
11344 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11346 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11348 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11350 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11351 Allow the characters _<> in the stack entry (Bug#5653).
11353 2010-02-26 Kenichi Handa <handa@m17n.org>
11355 * language/burmese.el: Fix entries in composition-function-table.
11356 (myanmar-composable-pattern): New variable.
11358 * international/fontset.el (setup-default-fontset): Add an entry
11361 * international/characters.el (script-list): Add Myanmar
11364 2010-02-26 Glenn Morris <rgm@gnu.org>
11366 * custom.el (custom-initialize-delay): Doc fix.
11368 * mail/sendmail.el (send-mail-function): Autoload the call
11369 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11371 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11373 * files.el (hack-local-variables-filter): For eval forms, also
11374 check safe-local-variable-p (Bug#5636).
11376 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11378 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11379 setting the modes by `ignore-errors'. It might fail, for example
11380 if the file is not owned by the user but the group.
11381 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11383 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11385 * files.el (directory-listing-before-filename-regexp):
11386 Use stricter matching for iso-style dates, to avoid false matches with
11387 date-like filenames (Bug#5597).
11389 * htmlfontify.el (htmlfontify): Doc fix.
11391 * eshell/eshell.el (eshell): Doc fix.
11393 * startup.el (fancy-about-screen): In mode-line, apply
11394 mode-line-buffer-id face only to the buffer name (Bug#5613).
11396 2010-02-20 Kevin Ryde <user42@zip.com.au>
11398 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11399 In `watcom' anchor regexp to start of line, to avoid slowness
11402 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11404 * subr.el (remove-yank-excluded-properties): Explain in a comment
11405 why `category' property is removed.
11407 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11409 * isearch.el (isearch-update-post-hook, isearch-update):
11410 Revert 2010-02-17 change.
11412 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11414 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11415 (icalendar--convert-weekly-to-ical)
11416 (icalendar--convert-yearly-to-ical)
11417 (icalendar--convert-block-to-ical)
11418 (icalendar--convert-cyclic-to-ical)
11419 (icalendar--convert-anniversary-to-ical): Take care of time
11420 specifications where hour has 1-digit only (Bug#5549).
11422 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11424 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11425 of disassemble output in GDB 7.1.
11427 2010-02-19 Glenn Morris <rgm@gnu.org>
11429 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11430 property. (Bug#5593)
11432 2010-02-18 Sam Steingold <sds@gnu.org>
11434 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11436 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11438 Use abbreviated file names in bookmarks (bug#5591).
11439 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11440 calls to expand-file-name.
11441 (bookmark-relocate): Use abbreviated file names in bookmarks.
11442 (bookmark-load): Use abbreviated file names in messages.
11444 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11446 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11447 expand "." and "..". Reported by Thierry Volpiatto
11448 <thierry.volpiatto@gmail.com>.
11450 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11452 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11453 permissions of the temporary file to "0600". In case the remote
11454 file has no read permissions for the owner, there might be
11455 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11457 22010-02-18 Glenn Morris <rgm@gnu.org>
11459 * emacs-lisp/authors.el (authors-renamed-files-alist):
11460 Add entries for INSTALL.CVS.
11462 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11464 * vc-bzr.el: Fix typo in Known Bugs section.
11466 * isearch.el (isearch-update-post-hook): New hook.
11467 (isearch-update): Use the new hook.
11469 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11471 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11472 Fix errors in copying directories.
11473 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11474 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11475 (tramp-handle-delete-file)
11476 (tramp-handle-dired-recursive-delete-directory)
11477 (tramp-handle-write-region): Flush also the cache for the upper
11480 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11482 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11484 * cus-edit.el (hardware): Doc fix.
11486 * man.el (man): Add to external custom group.
11488 * delim-col.el (columns): Move to wp custom group.
11490 * doc-view.el (doc-view): Add to data custom group.
11492 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11494 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11495 by ispell-parse-output (Bug#5575).
11497 2010-02-16 Kenichi Handa <handa@m17n.org>
11499 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11500 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11501 (skkdic-convert): Use `euc-japan' coding system for writing.
11503 2010-02-16 Glenn Morris <rgm@gnu.org>
11505 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11506 tex-main-file before using it. (Bug#5562)
11508 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11511 warnings, since it is annoying for the user to see them each time he
11514 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11516 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11517 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11518 instead of PROC for caching "first-password-request". Otherwise,
11519 new processes would not profit from passwords already entered.
11521 * net/tramp-cache.el (tramp-dump-connection-properties):
11522 Don't save "first-password-request" property.
11524 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11526 * outline.el (outline-head-from-level):
11527 * simple.el (with-wrapper-hook):
11528 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11529 (elint-defun, elint-buffer-env, elint-top-form-logged)
11530 (elint-unbound-variable):
11531 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11532 Fix typos in docstrings.
11534 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11536 * files.el (insert-directory): When WILDCARD-REGEXP and
11537 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11538 whole directory. (Bug#5551)
11540 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11541 dired's alignment sanity. (Bug#5516)
11543 2010-02-14 Juri Linkov <juri@jurta.org>
11545 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11546 Remove remaining ^H with their preceding chars. (Bug#5566)
11548 2010-02-13 Glenn Morris <rgm@gnu.org>
11550 * simple.el (transpose-subr): Give it a doc-string.
11552 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11555 2010-02-12 Juri Linkov <juri@jurta.org>
11557 * arc-mode.el (archive-unique-fname): Make directories for nested
11558 archives. (Bug#5540)
11560 2010-02-12 Juri Linkov <juri@jurta.org>
11562 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11564 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * subr.el (copy-overlay): Handle deleted overlays.
11568 * man.el (Man-completion-table): Don't signal an error if we can't run
11569 manual-program (bug#4056).
11571 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11573 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11575 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11577 * info.el (Info-bookmark-jump): Simplify.
11579 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11580 (bookmark-default-handler): Accept new bookmark field `buffer'.
11582 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11584 * iswitchb.el (iswitchb-completions): Revert last change.
11586 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11588 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11589 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11590 This prevents file names like "~/" being listed literally.
11592 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11594 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11595 Remove dead code. (Bug#5546)
11597 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11599 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11600 correctly (Bug#5548).
11602 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11604 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11605 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11607 2010-02-08 Kenichi Handa <handa@m17n.org>
11609 * international/mule-util.el (with-coding-priority): Add autoload
11610 cookie for putting `lisp-indent-function'.
11612 2010-02-07 Glenn Morris <rgm@gnu.org>
11614 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11615 Move F2003 named interfaces from keywords-2 to keywords-1, and
11616 use function-name-face rather than constant-face.
11617 Simplify "abstract interface" regexp.
11619 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11621 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11622 ID-FORMAT. Pass it to `file-attributes'.
11624 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11626 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11628 * faces.el (set-face-attribute): Allow calling
11629 internal-set-lisp-face-attribute with 'unspecified family and
11630 foundry argument (Bug#5536).
11632 2010-02-07 Glenn Morris <rgm@gnu.org>
11634 * progmodes/f90.el (f90-font-lock-keywords-2)
11635 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11636 Handle F2003 named interfaces.
11638 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11640 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11641 beg and end before calling c-get-state-before-change-functions.
11643 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11645 * vc-bzr.el (vc-bzr-dir-extra-headers):
11646 Disable the pending merges header.
11648 2010-02-05 Juri Linkov <juri@jurta.org>
11650 * doc-view.el (doc-view-mode):
11651 * image-mode.el (image-mode): Put property mode-class=special.
11654 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11656 * vc-svn.el (vc-svn-revision-table): New function.
11658 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11660 * net/ange-ftp.el (ange-ftp-insert-directory):
11661 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11662 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11663 Handle also directories. (Bug#5478)
11665 2010-02-05 Glenn Morris <rgm@gnu.org>
11667 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11669 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11671 * startup.el (command-line-1): Convert options beginning with a
11672 single dash as well (Bug#5519).
11674 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11676 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11677 * minibuffer.el (completion-initials-expand): Only check the presence
11678 of delims *within* the boundaries, since otherwise the / delim is
11679 always found for files.
11681 Fix up various corner case problems.
11682 * doc-view.el (doc-view-last-page-number): New function.
11683 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11684 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11685 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11686 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11687 (doc-view-convert-current-doc): Don't create the resolution.el file
11689 (doc-view-pdf/ps->png): Do it here instead.
11690 (doc-view-already-converted-p): Check that resolution.el is present.
11691 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11692 windows that are not yet showing images.
11694 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11696 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11697 `dired-uncache' for every elemnt which is an absolute file name.
11699 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11700 directory, handle its directory component.
11701 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11702 function is called permanently and creates noise, otherwise.
11704 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11705 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11706 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11708 2010-02-04 David Burger <dburger@google.com> (tiny change)
11710 * macros.el (apply-macro-to-region-lines):
11711 Minor simplification. (Bug#5485)
11713 2010-02-04 Glenn Morris <rgm@gnu.org>
11715 * mail/rmail.el (rmail-show-message-1): Handle malformed
11716 quoted-printable text. (Bug#5441)
11718 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11720 * simple.el (visual-line-mode): Capitalize lighter.
11722 2010-02-03 John Wiegley <jwiegley@gmail.com>
11724 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11725 list of files considered for "virtual buffer" completions.
11727 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11729 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11730 also in case of (and (not full) (not wildcard)). This is needed
11731 when dired is called with a list of files, which are not in
11732 `default-directory'. (Bug#5478)
11734 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11736 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11738 2010-02-02 Juri Linkov <juri@jurta.org>
11740 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11741 from unidiff to allow function-line after @@.
11743 2010-02-02 Juri Linkov <juri@jurta.org>
11745 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11746 '(RCS SCCS) with inverted condition.
11748 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11750 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11753 2010-02-01 Juri Linkov <juri@jurta.org>
11755 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11756 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11757 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11758 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11760 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11763 (doc-view-revert-buffer): New command.
11764 (doc-view-mode-map): Use it.
11766 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11768 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11769 pending merge is detected.
11771 2010-01-31 Juri Linkov <juri@jurta.org>
11773 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11774 beginning of interactive spec like all other grep commands do.
11775 Put "all" in front of "gz". (Bug#5260)
11777 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11779 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11781 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11783 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11784 regexp is incorrect (Bug#5476).
11786 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11788 * net/tramp.el (tramp-handle-insert-directory): Handle also
11789 symlinks, when FILENAME is not in `default-directory'.
11791 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11793 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11794 FILE is not in `default-directory'. (Bug#5478)
11796 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11797 of SWITCHES. Handle the case, FILENAME is not in
11798 `default-directory'. (Bug#5478)
11799 (tramp-register-file-name-handlers): Add safe-magic property.
11801 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11803 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11806 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11808 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11809 (flymake-master-make-header-init): Add other C++ filename masks.
11810 (flymake-find-possible-master-files)
11811 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11813 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11815 Fix some busybox annoyances.
11817 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11818 not responding." string.
11819 (tramp-open-connection-setup-interactive-shell): Dump stty
11820 settings. Enable "neveropen" arg for all `tramp-send-command'
11821 calls. Handle "=" in variable values properly.
11822 (tramp-find-inline-encoding): Raise an error, when no encoding is
11824 (tramp-wait-for-output): Check, whether PROC buffer is available.
11825 Remove spurious " ^H" sequences, sent by busybox.
11826 (tramp-get-ls-command): Suppress coloring, if possible.
11828 2010-01-28 Glenn Morris <rgm@gnu.org>
11830 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11832 * log-edit.el (log-edit-strip-single-file-name): Add missing
11833 :safe, :group, and :version tags.
11835 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11837 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11838 buffers. (Bug#5477)
11840 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11842 * files.el (delete-directory): Handle moving to trash without
11843 first doing recursion (Bug#5436).
11845 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11847 * vc-hooks.el (vc-path): Mark as obsolete.
11849 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11851 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11854 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11856 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11858 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11860 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11862 * vc-bzr.el (vc-bzr-revision-table): New function.
11864 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11866 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11867 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11869 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11871 Remove support for adding --signoff on commit.
11872 Future support will use an incompatible generic mechanism.
11873 * vc-git.el (vc-git-add-signoff): Remove variable.
11874 (vc-git-toggle-signoff): Remove function.
11875 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11877 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11878 Rename from xterm-set-background-mode. Return t if the background mode
11880 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11881 earlier, call it again in case the background mode has changed.
11883 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11885 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11888 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11890 * emacs-lisp/assoc.el (aelement): Doc fix.
11891 (aput, adelete, amake): Use lexical-let (Bug#5450).
11893 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11895 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11896 is the same as subprogram call, not declaration. (Bug#5435).
11898 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11900 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11901 (tramp-smb-maybe-open-connection): Use it.
11903 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11905 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11907 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11910 just because we see "encoding: 8bit".
11911 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11913 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11915 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11917 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11919 * jka-compr.el (jka-compr-load): If load-file is not in
11920 load-history, try its file-truename version. (bug#5447)
11922 2010-01-21 Alan Mackenzie <acm@muc.de>
11924 Fix a situation where deletion of a cpp construct throws an error.
11925 * progmodes/cc-engine.el (c-invalidate-state-cache):
11926 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11927 special cpp construct is still in the buffer.
11928 (c-parse-state): Record the special cpp with markers, not numbers.
11930 2010-01-21 Kenichi Handa <handa@m17n.org>
11932 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11933 process last-command-event, as it is now decoded first (Bug#5380).
11935 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11937 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11939 2010-01-20 Glenn Morris <rgm@gnu.org>
11941 * indent.el (tab-always-indent): Fix custom-type.
11943 2010-01-19 Alan Mackenzie <acm@muc.de>
11945 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11946 buffer throws "args out of range".
11947 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11948 playing the role of delimiter.
11950 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11952 * progmodes/ada-mode.el: Fix bug#5400.
11953 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11954 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11955 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11956 Improve comments in "is" portion. Handle null procedure declaration.
11957 (ada-move-to-end): Improve doc string.
11959 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11961 * ido.el (ido-cur-list): Initialize to nil.
11962 Remove obsolete information from commentary.
11963 (ido-choice-list): Initialize to nil.
11964 (ido-get-bufname): Reject minibuffers.
11965 (ido-make-buffer-list): If "default" is a nonexistent
11966 buffer, ignore it, as per the function's comment.
11967 (ido-kill-buffer-internal): New function.
11968 (ido-kill-buffer-at-head): Use it.
11969 (ido-visit-buffer): Likewise.
11971 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11973 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11975 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11977 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11978 Fix typos in chart titles.
11980 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11981 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11982 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11983 (describe-class, eieio-describe-generic, describe-generic):
11984 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11985 (eieio-speedbar-expand):
11986 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11987 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11988 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11989 (viper-del-backward-char-in-replace, viper-backward-indent)
11990 (viper-brac-function, viper-register-to-point, viper-submit-report):
11991 * net/tramp.el (tramp-remote-coding-commands):
11992 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11993 Fix typos in docstrings.
11995 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11997 * mail/sendmail.el (mail-yank-original): Set the mark if the
11998 specified function for yanking does not do it.
12000 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12002 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12004 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12005 resyncing a directory.
12007 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12009 * progmodes/ada-mode.el: Fix bug#1920.
12010 (ada-ident-re): Delete ., allow multibyte characters.
12011 (ada-goto-label-re): New; matches goto labels.
12012 (ada-block-label-re): New; matches block labels.
12013 (ada-label-re): New; matches both.
12014 (ada-named-block-re): Deleted; callers changed to use
12015 `ada-block-label-re' instead.
12016 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12017 Use `ada-block-label-re'.
12018 (ada-indent-on-previous-lines): Improve handling of goto labels.
12019 (ada-get-indent-block-start): Special-case block label.
12020 (ada-get-indent-label): Split into `ada-indent-block-label' and
12021 `ada-indent-goto-label'.
12022 (ada-goto-stmt-start, ada-goto-next-non-ws):
12023 Optionally ignore goto labels.
12024 (ada-goto-next-word): Simplify.
12025 (ada-indent-newline-indent-conditional): Insert newline before
12026 trying to fix indentation; doc fix.
12028 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12030 * calc/calc.el (calc-command-flags): Give it an initial value.
12032 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12034 * files.el (minibuffer-with-setup-hook):
12035 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12036 (artist-key-draw-continously, artist-key-do-continously-continously)
12037 (artist-key-set-point-continously, artist-mouse-draw-continously):
12038 Fix typos in docstrings.
12040 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12042 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12043 Never return t (Bug#3898).
12045 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12047 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12048 can parse the output of the external commands (Bug#5279).
12050 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12052 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12054 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12056 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12058 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12060 * startup.el (command-line): Remove unused --icon-type arg.
12061 Handle --display arg, passing it to command-line-1 (Bug#5392).
12063 2010-01-16 Mario Lang <mlang@delysid.org>
12065 * emacs-lisp/chart.el (chart-translate-namezone):
12066 * textmodes/artist.el (artist-compute-popup-menu-table):
12067 Remove duplicated words in doc-strings.
12069 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12071 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12072 to mairix-search to suppress threading (Bug#5342).
12074 2010-01-15 Kenichi Handa <handa@m17n.org>
12076 * international/mule-cmds.el (canonicalize-coding-system-name):
12077 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12079 2010-01-15 Glenn Morris <rgm@gnu.org>
12081 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12083 * wid-edit.el (widget-keymap): Doc fix.
12085 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12086 former seems to be more widely accepted by various svn versions.
12088 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12090 * find-cmd.el (find-constituents):
12091 * vc-arch.el (vc-arch-root):
12092 * window.el (window-body-height, pop-up-frames):
12093 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12094 * progmodes/ada-stmt.el (ada-if):
12095 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12096 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12097 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12098 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12100 * progmodes/flymake.el (flymake-post-syntax-check):
12101 Fix typo in error message.
12103 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12105 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12106 which is always a string. (Bug#5313)
12108 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12110 * progmodes/ada-xref.el (ada-default-prj-properties):
12111 Simplify previous change.
12113 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12115 * progmodes/ada-xref.el (ada-default-prj-properties):
12116 Default ada_project_path to $ADA_PROJECT_PATH.
12118 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12120 * progmodes/ada-mode.el (ada-create-keymap):
12121 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12123 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12125 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12126 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12127 (ada-get-current-indent, ada-imenu-generic-expression)
12128 (ada-which-function): Check for it.
12130 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12132 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12133 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12135 2010-01-14 Glenn Morris <rgm@gnu.org>
12137 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12139 2010-01-14 Kenichi Handa <handa@m17n.org>
12141 * composite.el (auto-composition-mode): Make it a buffer local
12142 variable (permanent-local).
12143 (auto-composition-function): Set the default value to
12144 auto-compose-chars.
12145 (auto-composition-mode): Make it a simple function, not a minor mode.
12146 (global-auto-composition-mode): Likewise.
12147 (turn-on-auto-composition-if-enabled): Delete it.
12149 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12151 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12153 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12155 * files.el (copy-directory): Compute target for recursive
12156 directories with identical names. (Bug#5343)
12158 2010-01-12 Glenn Morris <rgm@gnu.org>
12160 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12161 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12163 2010-01-11 Sam Steingold <sds@gnu.org>
12165 * imenu.el (imenu-default-create-index-function): Detect infinite
12166 loops caused by imenu-prev-index-position-function.
12168 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12170 * htmlfontify.el (htmlfontify-load-rgb-file)
12171 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12172 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12173 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12174 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12175 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12176 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12177 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12178 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12179 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12180 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12181 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12182 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12183 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12184 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12185 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12186 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12187 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12188 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12189 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12190 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12191 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12192 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12193 backslash-quoting from parentheses, etc.
12195 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12197 * progmodes/js.el: Autoload javascript-mode alias.
12199 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12201 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12202 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12203 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12204 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12205 Fix typos in docstrings.
12206 (ffap-url-regexp): Doc fix.
12207 (ffap-at-mouse): Fix typo in message.
12209 2010-01-11 Glenn Morris <rgm@gnu.org>
12211 * version.el (emacs-copyright): Set copyright year to 2010.
12213 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12215 * format.el (format-annotate-function): Only set
12216 write-region-post-annotation-function after running to-fn so as not to
12217 affect nested write-region calls (bug#5273).
12219 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12221 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12224 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12226 * man.el (Man-goto-section): Signal error if the section is not
12229 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12231 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12232 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12234 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12236 * progmodes/compile.el: Don't treat compile-command as safe if
12237 compilation-read-command might be nil (Bug#4218).
12239 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12241 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12244 2010-01-08 Kenichi Handa <handa@m17n.org>
12246 * international/fontset.el (build-default-fontset-data):
12247 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12249 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12251 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12252 to `create-file-buffer' as it expects, not just a buffer name.
12253 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12254 to help uniquify. (Bug#3224)
12256 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12258 * font-setting.el (font-setting-change-default-font): Use user-spec
12261 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12263 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12265 2010-01-05 Tom Tromey <tromey@redhat.com>
12267 * progmodes/python.el (python-font-lock-keywords):
12268 Handle qualified decorators (Bug#881).
12270 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12272 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12273 in a lightweight checkout.
12275 2010-01-05 Kenichi Handa <handa@m17n.org>
12277 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12279 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12281 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12283 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12285 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12286 checkouts. (Bug#618)
12287 (vc-bzr-log-view-mode): Also highlight the author.
12288 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12289 (vc-bzr-shelve-menu-map):
12290 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12291 (vc-bzr-shelve-apply): Make prompt more explicit.
12293 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12295 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12296 They are valid characters in URL paths (rfc3986), and at least
12297 Firefox does not understand the encoded version (Bug#3166).
12299 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12301 * progmodes/octave-mod.el (octave-end-keywords)
12302 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12303 Add "end" keyword (Bug#3061).
12304 (octave-end-as-array-index-p): New function.
12305 (calculate-octave-indent): Use it.
12307 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12309 * bookmark.el: Consistently put the text property on the bookmark name.
12310 (bookmark-bmenu-marks-width): Bump back to 2, to include
12312 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12313 property on the bookmark name, instead of not putting it at all.
12314 (bookmark-bmenu-list): Fix where we put the text property.
12316 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12318 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12319 for showing buffer modified state (as added in the previous change).
12321 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12323 * bookmark.el: Show modified state of bookmark buffer more accurately.
12324 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12325 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12326 (with-buffer-modified-unmodified): New macro.
12327 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12328 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12329 Use new macro to preserve the buffer modified state.
12331 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12333 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12334 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12335 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12336 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12337 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12338 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12339 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12341 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12343 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12344 Make the lines in the generated doc string shorter. (Bug#4668)
12346 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12348 * net/rcirc.el: Add follow-link binding (Bug#4738).
12350 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12352 * Makefile.in (bzr-update): Rename from cvs-update.
12353 (cvs-update): New target for backward compatibility.
12355 * makefile.w32-in (bzr-update): Rename from cvs-update.
12356 (cvs-update): New target for backward compatibility.
12358 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12360 * bookmark.el: Remove gratuitous gratitude.
12362 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12364 * bookmark.el (bookmark-bmenu-any-marks): New function.
12365 (bookmark-bmenu-save): Clear buffer modification if no marks.
12367 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12369 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12370 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12371 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12372 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12374 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12375 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12376 To: emacs-devel {_AT_} gnu.org
12377 Subject: bookmark.el bug report
12378 Date: Mon, 28 Dec 2009 14:19:16 +0800
12379 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12381 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12383 * bookmark.el: Improvements suggested by Drew Adams:
12384 (bookmark-bmenu-ensure-position): New name for
12385 `bookmark-bmenu-check-position'. Just ensure the position,
12386 don't return any meaningful value.
12387 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12390 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12392 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12393 (bookmark-yank-point, bookmark-bmenu-check-position):
12394 Fix typos in docstrings.
12395 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12396 (bookmark-name-from-full-record, bookmark-get-position)
12397 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12398 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12399 Remove useless quoting of parenthesis, etc. in docstrings.
12401 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12402 (ediff-append-custom-diff): Fix typo in error message.
12403 (ediff-meta-mark-equal-files): Fix typos in messages.
12405 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12407 * net/imap-hash.el (imap-hash-make): Doc fix.
12408 (imap-hash-test): Fix typo in error message; reflow docstring.
12409 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12410 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12411 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12412 Fix typos in docstrings.
12413 (imap-hash-open-connection): Fix typo in error message.
12415 * play/gomoku.el (gomoku): Fix typos in docstring.
12417 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12418 (gdb-jsonify-buffer): Fix typos in docstring.
12419 (gdb-goto-breakpoint): Fix typo in error message.
12420 ("Display Other Windows"): Fix typo in help message.
12421 (gdb-speedbar-expand-node): Fix typo in question.
12423 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12424 (idlwave-html-system-help-location, idlwave-html-help-location)
12425 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12426 (idlwave-help-browser-generic-args, idlwave-help-directory)
12427 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12428 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12429 (idlwave-online-help, idlwave-help-html-link)
12430 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12431 Fix typos in docstrings.
12432 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12434 (idlwave-help-assistant-start): Fix typo in error message.
12436 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12437 (octave-electric-space): Fix typos in docstrings.
12439 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12441 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12443 2010-01-01 Juri Linkov <juri@jurta.org>
12445 * comint.el (comint-input-ring-size): Make it a defcustom and
12446 increase the default to 500 (Bug#5148).
12448 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12450 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12451 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12452 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12454 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12456 Show working revision correctly for mercurial.
12457 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12458 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12460 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12462 Declare some functions for the byte-compiler.
12463 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12464 (speedbar-timer-fn, speedbar-change-expand-button-char)
12465 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12467 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12469 This changeset reverts GDB Graphical Interface to use annotations.
12470 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12472 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12474 Make vc-dir work on subdirectories of the bzr root.
12475 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12476 Return file names relative to it.
12477 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12478 relative directory to vc-bzr-after-dir-status.
12480 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12482 * font-lock.el (font-lock-refresh-defaults): New function, which
12483 can be used to let font-lock react to external changes in
12484 variables like font-lock-defaults and keywords.
12485 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12487 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12489 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12491 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12493 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12495 Supersede color.diff settings in git log (bug#5211).
12497 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12498 escape chars in its output when the user has color.diff set to `always'.
12499 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12501 2009-12-26 Kevin Ryde <user42@zip.com.au>
12503 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12504 node. Keep previous "Index" name to work with past coreutils too.
12506 * man.el (man): Revise docstring a bit to show -a and -l as
12507 examples. Add -k description since support for it has otherwise
12508 been a secret. (Further to bug#3717.)
12509 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12510 "no matches" rather than "Can't find manpage", as the latter reads
12511 like -k was interpreted as a page name, which is not so. (Bug#5431)
12513 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12515 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12516 switches. Check also for //SUBDIRED// line.
12518 2009-12-25 Kenichi Handa <handa@m17n.org>
12520 * language/indian.el (devanagari-composable-pattern): Fix to
12521 handle ZWNJ and ZWJ. Use it in composition-function-table for
12523 (malayalam-composable-pattern): Fix previous change.
12525 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12527 * ps-print.el (ps-face-attributes): It was not returning the
12528 attribute face for faces specified as string. Reported by harven
12529 <harven@free.fr>. (Bug#5254)
12530 (ps-print-version): New version 7.3.5.
12532 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12534 * calendar/icalendar.el (icalendar--convert-tz-offset):
12535 Fix timezone names.
12536 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12537 (icalendar--add-diary-entry): Remove the trailing blank that
12538 diary-make-entry inserts.
12540 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12542 Make `file-expand-wildcards' work for remote files.
12544 * files.el (file-expand-wildcards): In case of remote files, check
12545 only local file name part for wildcards. Provide feature 'files
12546 and subfeature 'remote-wildcards. (Bug#5198)
12548 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12549 if there is already an established connection.
12550 (tramp-advice-file-expand-wildcards): Remove it.
12552 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12553 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12554 Activate advice for older GNU Emacs versions. (Bug#5237)
12556 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12558 Some doc fixes (more needed).
12560 * find-cmd.el (find-constituents): Reflow docstring.
12561 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12562 (find-generic): Doc fix.
12564 2009-12-17 Juri Linkov <juri@jurta.org>
12566 Fix regression from 23.1 to allow multiple modes in Local Variables.
12568 * files.el (hack-local-variables-filter): While ignoring duplicates,
12569 don't take `mode' into account.
12570 (hack-local-variables-filter, hack-dir-local-variables):
12571 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12573 2009-12-17 Juri Linkov <juri@jurta.org>
12575 Make `dired-diff' safer. (Bug#5225)
12577 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12578 `current' or when `file' is a directory of the `current' file.
12580 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12582 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12583 unconditionally preloaded files.
12585 2009-12-16 Juri Linkov <juri@jurta.org>
12587 Revert to old 23.1 logic of using the file at the mark as default.
12588 * dired-aux.el (dired-diff): Use the file at the mark as default
12589 if it's not the same as the current file, and the target dir is
12590 the current dir or the mark is active. Add the current file
12591 as the arg of `dired-dwim-target-defaults'. Use the default file
12592 in the prompt. (Bug#5225)
12594 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12596 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12597 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12598 (tramp-check-for-regexp): Check also, when an echoing shell stops
12599 to echo sent commands.
12601 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12603 * Makefile.in: Revert last change (Bug#5191).
12605 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12607 * vc-hg.el (vc-hg-print-log): Fix argument order.
12608 (vc-hg-working-revision): Make sure the command is executed in a
12609 known environment so that we can parse the output. (Bug#4417)
12611 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12613 * progmodes/python.el (python-symbol-completions): Remove text
12614 properties from symbol string before calling python-send-receive.
12616 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12618 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12619 when there are values for both file and line. (Bug#5060)
12621 2009-12-14 Juri Linkov <juri@jurta.org>
12623 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12624 whitespace after the file name of the first line of unified format,
12625 because git-diff doesn't output whitespace and file modification time
12626 after the file name.
12628 2009-12-14 David Kastrup <dak@gnu.org>
12630 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12631 check if it already has the `display' property added by
12632 `Info-display-images-node', and not put the `invisible' property
12635 2009-12-13 Glenn Morris <rgm@gnu.org>
12637 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12638 (report-emacs-bug): In message-mode, sort manually before storing
12639 original report text. (Bug#5178)
12640 Remove superfluous save-excursion.
12642 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12644 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12645 when responding to "GetAll" properties.
12647 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12649 * simple.el (compose-mail): Remove mail-setup-with-from from
12650 customization checks.
12652 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12654 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12655 RAR archives created on Unix systems.
12657 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12659 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12660 the varalias that was accidentally removed by the 2009-11-19 change
12663 2009-12-12 Kenichi Handa <handa@m17n.org>
12665 * language/indian.el (indian-compose-regexp): New function.
12666 (malayalam-composable-pattern): Fix the pattern.
12667 (composition-function-table): Set malayalam-composable-pattern for
12668 Malayalam characters.
12670 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12672 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12673 rather than down-mouse-1, based on follow-link conventions.
12675 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12678 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12680 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12681 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12682 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12683 (verilog-leap-to-head, verilog-backward-token):
12684 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12686 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12688 * progmodes/verilog-mode.el (verilog-auto-lineup)
12689 (verilog-nameable-item-re): Cleanup user-visible spelling and
12690 documentation errors. One reported by Gary Delp.
12691 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12692 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12693 package, bug195. Reported by Pierre-David Pfister.
12695 2009-12-11 Glenn Morris <rgm@gnu.org>
12697 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12699 * mail/emacsbug.el: No longer require sendmail.
12700 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12701 (report-emacs-bug-orig-text): Doc fix.
12702 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12703 New local variables, to adapt to different mail-user-agents.
12704 (report-emacs-bug): Fix test for a gnu.org address.
12705 Use overlays for emphasis, since font-lock defeats 'face property.
12706 Pretest bugs also end up at the newsgroup these days.
12707 Stop message-mode stripping text properties.
12708 Set and use the new buffer-local variables.
12709 (report-emacs-bug-hook): Add doc-string.
12710 Remove some unnecessary save-excursions and simplify.
12711 Use the appropriate hook and send-command.
12713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12714 capitalization of some menu entries.
12716 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12718 * whitespace.el (whitespace-display-char-on):
12719 Ensure `buffer-display-table' is unique when two or more windows are
12720 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12723 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12725 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12726 characters in the Attribute field.
12728 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12730 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12732 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12734 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12735 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12736 Disregard autoload-excludes.
12737 (update-directory-autoloads): Obey autoload-excludes here instead.
12738 But don't store its contents in no-autoloads and remove entries that
12739 refer to excludes files.
12741 2009-12-10 Glenn Morris <rgm@gnu.org>
12743 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12744 (expand-mail-aliases): Define for compiler.
12746 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12747 Define for compiler.
12749 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12750 appropriate for the mail-user-agent in use.
12752 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12754 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12756 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12758 Fix short log parsing and fontification.
12759 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12760 Fix fontification for the [merge] label.
12762 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12764 Drop some properties to avoid surprises (bug#5002).
12765 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12766 (hfy-fontify-buffer): Use it.
12768 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12771 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12772 Adjust all callers.
12773 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12774 args compulsory. Adjust callers.
12775 (ffap-gopher-at-point): Remove unused var `name'.
12777 Get rid of the ELCFILES abomination.
12778 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12779 (compile-elcfiles): New phony target.
12780 (compile-main): Compute ELCFILES dynamically.
12781 (compile-clean): New target to remove left-over elc files.
12782 (compile, all): Use it.
12784 2009-12-09 Kenichi Handa <handa@etlken>
12786 * international/mule-diag.el: Require help-mode instead of help-fns.
12788 2009-12-09 Kenichi Handa <handa@m17n.org>
12790 * international/mule-cmds.el (ucs-names): Supply sufficiently
12791 fine ranges instead of pre-calculating accurate ranges.
12792 Iterate with bigger gc-cons-threshold.
12794 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12796 Add support for stashing a snapshot of the current tree.
12797 * vc-git.el (vc-git-stash-snapshot): New function.
12798 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12800 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12802 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12803 instead of `(beginning|end)-of-line'.
12805 2009-12-08 Glenn Morris <rgm@gnu.org>
12807 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12809 * Makefile.in (ELCFILES): Regenerate.
12811 2009-12-07 Juri Linkov <juri@jurta.org>
12813 Don't lazy-highlight the comint output in history Isearch mode.
12815 * comint.el (comint-history-isearch-search): Instead of
12816 `comint-line-beginning-position', use `comint-after-pmark-p'
12817 to check if point if before the process mark, and go to
12818 `process-mark' in this case.
12820 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12822 * textmodes/tex-mode.el (latex-complete)
12823 (latex-indent-or-complete): Remove.
12824 (latex-mode): Set completion-at-point-functions instead.
12826 Provide a standard completion command and hook it into TAB.
12827 * minibuffer.el (completion-at-point-functions): New var.
12828 (completion-at-point): New command.
12829 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12830 * progmodes/python.el (python-mode-map): Use completion-at-point.
12831 (python-completion-at-point): Rename from python-partial-symbol and
12832 adjust for use in completion-at-point-functions.
12833 (python-mode): Setup completion-at-point for Python completion.
12834 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12835 extracted from lisp-complete-symbol.
12836 (lisp-complete-symbol): Use it.
12837 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12838 setup completion-at-point for Elisp completion.
12839 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12840 Use completion-at-point.
12841 * ielm.el (ielm-map): Use completion-at-point.
12842 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12843 * progmodes/sym-comp.el: Move to...
12844 * obsolete/sym-comp.el: Move from progmodes.
12846 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12848 Prevent save-buffer in Rmail buffers from using the coding-system
12849 of the current message, and from clobbering the encoding mnemonics
12850 in the mode line (Bug#4623).
12852 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12854 (rmail-message-encoding): New variable.
12855 (rmail-write-region-annotate): Record the encoding of the current
12856 message in rmail-message-encoding.
12857 (rmail-after-save-hook): New function, restores the encoding of
12858 the current message after the message collection is saved.
12860 2009-12-07 Juri Linkov <juri@jurta.org>
12862 * progmodes/grep.el (grep-read-files): Use `completing-read'
12863 instead of `read-string'. Set its `collection' arg to
12864 `read-file-name-internal'. (Bug#4301)
12866 2009-12-07 Juri Linkov <juri@jurta.org>
12868 Correctly restore original Isearch point. (Bug#4994)
12870 * isearch.el (isearch-mode): Move `isearch-push-state' after
12871 `(run-hooks 'isearch-mode-hook)'.
12872 (isearch-cancel): When `isearch-push-state-function' is defined,
12873 let-bind `isearch-cmds' to the first state (the last element of
12874 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12875 function and restores the original point). Otherwise, move point
12876 to `isearch-opoint'.
12878 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12881 chars that don't have names, so the table can be built much faster at
12884 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12886 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12887 change. Suggested by David Kastrup.
12889 * simple.el (compose-mail): Check for incompatibilities and warn.
12890 (compose-mail-user-agent-warnings): New option.
12892 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12894 Support showing a single log entry from vc-annotate.
12895 * vc.el (print-log): Add a new argument: START-REVISION.
12896 (vc-print-log-internal): Add a new optional argument and
12897 pass it to the backend.
12898 (vc-print-log, vc-print-root-log): Adjust callers.
12899 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12900 buffer already displays the requested log entry, use it.
12901 Otherwise display only the log entry in question.
12902 * vc-svn.el (vc-svn-print-log):
12903 * vc-mtn.el (vc-mtn-print-log):
12904 * vc-hg.el (vc-hg-state):
12905 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12906 (vc-git-show-log-entry): Return t on success.
12907 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12908 (vc-bzr-show-log-entry): Return t on success.
12909 * vc-rcs.el (vc-rcs-print-log):
12910 * vc-sccs.el (vc-sccs-print-log):
12911 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12913 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12915 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12916 Add menus to the meta mode. (Bug#5043)
12918 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12920 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12923 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12925 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12927 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12928 Berbain <raphael.berbain@gmail.com>.
12930 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12932 (tramp-initial-end-of-output): New defconst.
12933 (tramp-methods, tramp-find-shell)
12934 (tramp-open-connection-setup-interactive-shell)
12935 (tramp-maybe-open-connection): Use it.
12936 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12937 Handle existence of `#' and `$'.
12939 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12940 Use `tramp-initial-end-of-output'.
12942 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12944 Get the background mode from the terminal for xterm, and set
12946 * term/xterm.el (xterm-set-background-mode): New function.
12947 (terminal-init-xterm): Use it in case xterm supports background
12948 color queries. Recompute faces after getting the background
12951 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12953 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12954 number comment back on its own line, for easier parsing.
12956 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12958 Make it work for non-file buffers (bug#5102).
12959 * doc-view.el (doc-view-current-cache-dir):
12960 Use doc-view-buffer-file-name rather than buffer-file-name.
12961 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12963 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12965 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12966 author field is too short.
12968 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12970 * vc-git.el (vc-git-print-log): Handle a limit argument.
12971 Display the short log in graph form and with labels.
12972 (vc-git-log-view-mode): Handle labels.
12974 Make vc-revert change VC state from 'added to 'unregistered.
12975 * vc-git.el (vc-git-revert): Call git reset first.
12977 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12979 * net/newst-backend.el, net/newst-plainview.el:
12980 * net/newst-reader.el, net/newst-ticker.el:
12981 * net/newst-treeview.el, net/newsticker.el:
12982 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12984 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12986 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12988 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12989 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12990 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12991 Update annotation regexp.
12993 * simple.el (beginning-of-visual-line): Constrain to field
12994 boundaries (Bug#5106).
12996 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12998 * xml.el (xml-substitute-numeric-entities):
12999 Move newsticker--decode-numeric-entities in newst-backend.el to
13000 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13001 * net/newst-backend.el (newsticker--parse-generic-feed)
13002 (newsticker--parse-generic-items)
13003 (newsticker--decode-numeric-entities):
13004 Move newsticker--decode-numeric-entities in newst-backend.el to
13005 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13007 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13009 * progmodes/js.el (js--js-not): Add null to the list of values.
13011 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13013 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13015 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13017 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13018 delimiter if it is at the end of the current line.
13019 (bibtex-generate-url-list): Fix docstring.
13021 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13023 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13024 minibuffer's content with itself.
13025 Fold the confirm-after-completion case into the `confirm' case.
13026 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13028 2009-12-06 Kevin Ryde <user42@zip.com.au>
13030 * ffap.el (ffap-rfc-path): Make this a defcustom since
13031 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13033 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13034 manuals, similar to existing setup for help-mode. (Bug#3913.)
13036 2009-12-05 Juri Linkov <juri@jurta.org>
13038 Save and restore dired buffer's point positions too. (Bug#4880)
13040 * dired.el (dired-save-positions): Return in the first element
13041 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13043 (dired-restore-positions): First restore buffer's position.
13044 While restoring window's positions, check if window still displays
13045 the original buffer.
13047 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13049 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13052 * shell.el (shell): Require ansi-color (Bug#5113).
13054 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13056 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13058 2009-12-05 Alan Mackenzie <acm@muc.de>
13060 * progmodes/cc-mode.el (c-before-hack-hook)
13061 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13062 `c-file-style' to work again. This reversion restores the current
13063 software to its state in Emacs 23.1. (Bug#4146)
13065 2009-12-05 Kevin Ryde <user42@zip.com.au>
13067 * textmodes/sgml-mode.el (sgml-lexical-context):
13068 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13070 2009-12-05 Juri Linkov <juri@jurta.org>
13072 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13073 for virtual nodes. (Bug#4147)
13074 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13075 when moving from a virtual node.
13076 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13077 (Info-mode): Add `Info-virtual-index' to the docstring.
13079 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13081 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13082 track of the buffer position of the end of a BibTeX entry as this
13083 position may change during reformatting.
13084 (bibtex-format-entry): Remove whitespace before processing
13085 numerical fields so that we recognize the latter properly.
13086 (bibtex-reformat): Do not use push which changes the global value
13087 of bibtex-entry-format.
13088 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13089 (bibtex-field-re-init): Replace only space characters by regexp
13091 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13092 (bibtex-initialize): Also update bibtex-strings.
13093 (bibtex-kill-field): Preserve white space at end of entry.
13094 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13095 Update bibtex-reference-keys.
13097 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13100 point after a star, if that's the only place where modifications can
13103 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13105 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13108 2009-12-04 Juri Linkov <juri@jurta.org>
13110 * proced.el (proced): Call `(proced-update t)' to update process
13111 information instead of only running proced-post-display-hook.
13112 (proced-send-signal): Add a leading space to the buffer name
13113 " *Marked Processes*" to make this buffer ephemeral.
13115 2009-12-04 Juri Linkov <juri@jurta.org>
13117 * dired.el (dired-auto-revert-buffer): New defcustom.
13118 (dired-internal-noselect): Use it.
13120 2009-12-04 Juri Linkov <juri@jurta.org>
13122 Change roles of modes and functions in image-mode.el (Bug#5062).
13124 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13125 in `auto-mode-alist'.
13126 (image-mode-previous-major-mode): New variable.
13127 (image-minor-mode-map): Rename from `image-mode-text-map'.
13128 (image-mode): Move graceful error-handling code from
13129 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13130 (image-minor-mode): Remove all image-handling code.
13131 Replace `image-mode-text-map' with `image-minor-mode-map'.
13132 Check for `image-type' in mode-line format string.
13133 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13134 (image-mode-as-text): New function with most code from
13135 `image-mode-maybe'.
13136 (image-toggle-display-text): Move code that removes image
13137 properties from `image-toggle-display' to here.
13138 (image-toggle-display-image): New function with code that adds
13139 image properties copied from `image-toggle-display'.
13140 (image-toggle-display): Remove most code with leaving only code
13141 that toggles between `image-mode-as-text' and `image-mode'.
13143 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13145 * net/newst-treeview.el
13146 (newsticker--treeview-list-highlight-start): Restored call to
13147 save-excursion: Selected item was stuck.
13148 (newsticker--treeview-list-select): New.
13149 (newsticker--treeview-item-show-text)
13150 (newsticker--treeview-item-show)
13151 (newsticker--treeview-item-update): Use new
13152 newsticker-treeview-item-mode.
13153 (newsticker-treeview-update): Keep current item.
13154 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13155 (newsticker--treeview-first-feed): Doc change.
13156 (newsticker-treeview-list-menu)
13157 (newsticker-treeview-item-menu): Add menu entries.
13158 (newsticker-treeview-item-mode): New.
13160 * net/newst-backend.el (newsticker-customize): Delete other
13163 2009-12-04 Sam Steingold <sds@gnu.org>
13165 * log-view.el (log-view-mode-map): "q" calls quit-window,
13166 like in all the other non-self-insert buffers.
13168 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13172 key decoding rather than do it manually via last-input-event +
13174 (term-exec): Use delete-and-extract-region.
13175 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13176 (term-process-pager): Remove unused var `i'.
13177 (term-dynamic-simple-complete): Make obsolete.
13178 (serial-update-config-menu): Remove unused vars `y' and `str'.
13179 (term-update-mode-line): Remove unused var `temp'.
13181 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13183 Limit the number of log entries displayed by default.
13184 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13185 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13186 using a prefix argument.
13188 2009-12-03 Glenn Morris <rgm@gnu.org>
13190 * progmodes/idlwave.el (class): Restore still useful declaration.
13192 2009-12-03 Alan Mackenzie <acm@muc.de>
13194 Enhance `c-parse-state' to run efficiently in "brace deserts".
13196 * progmodes/cc-mode.el (c-basic-common-init):
13197 Call c-state-cache-init.
13198 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13199 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13200 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13202 * progmodes/cc-langs.el (c-before-font-lock-function):
13203 c-extend-and-neutralize-syntax-in-CPP has been renamed
13204 c-neutralize-syntax-in-and-mark-CPP.
13206 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13207 with `category' properties now, not `syntax-table' ones.
13209 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13210 enhanced (but slower) version of c-end-of-macro that won't land
13211 inside a literal or on another awkward character.
13212 (c-state-cache-too-far, c-state-cache-start)
13213 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13214 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13215 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13216 (c-state-min-scan-pos, c-state-brace-pair-desert)
13217 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13218 buffer local variables.
13219 (c-state-literal-at, c-state-lit-beg)
13220 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13221 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13222 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13223 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13224 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13225 (c-renarrow-state-cache)
13226 (c-append-lower-brace-pair-to-state-cache)
13227 (c-state-push-any-brace-pair, c-append-to-state-cache)
13228 (c-remove-stale-state-cache)
13229 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13230 (c-invalidate-state-cache-1, c-parse-state-1)
13231 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13232 (c-parse-state): Enhance and refactor.
13233 (c-debug-parse-state): Amend to deal with all the new variables.
13235 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13236 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13237 modify to use category text properties rather than syntax-table ones.
13238 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13239 to switch off/on the syntactic paren property of C++ template
13240 delimiters using the category property.
13241 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13242 template delims suppressed.
13243 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13244 New constant/macros which apply category properties to the start
13245 and end of preprocessor constructs.
13246 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13247 "comment out" the syntactic value of characters in preprocessor
13249 (c-with-cpps-commented-out)
13250 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13251 with characters in all or all but one preprocessor constructs
13254 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13256 * proced.el (proced-filter-alist): Use regexp-quote.
13258 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13261 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13262 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13263 arguments. Expand `default-directory'.
13265 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13266 the benefit of returning an expanded localname.
13267 (tramp-tramp-file-p): Handle the case NAME is not a string.
13269 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13271 Add support for bzr shelve/unshelve.
13272 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13273 (vc-bzr-extra-menu-map): New variables.
13274 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13275 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13276 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13277 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13278 (vc-bzr-dir-extra-headers): Display shelves.
13280 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13282 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13284 * textmodes/bibtex.el (bibtex-complete-internal):
13285 Use completion-in-region.
13286 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13288 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13290 Support applying stashes. Improve UI.
13291 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13292 (vc-git-stash-apply, vc-git-stash-pop)
13293 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13294 (vc-git-stash-menu): New functions.
13295 (vc-git-stash-menu-map): New variable.
13296 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13298 2009-12-03 Glenn Morris <rgm@gnu.org>
13300 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13301 (vc-print-log-internal): Fix previous change.
13302 (vc-revert): Correct pluralization.
13304 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13306 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13307 it to be an alist any more.
13308 (makefile-complete): Use completion-in-region.
13310 * progmodes/octave-mod.el (octave-complete-symbol):
13311 Use completion-in-region.
13314 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13315 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13316 (idlwave-complete-class): Don't quote lambda.
13317 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13318 (idlwave-mode-map): Move initialization into declaration.
13319 (idlwave-action-and-binding): Use backquotes.
13320 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13322 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13323 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13324 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13325 `parts', and `all-parts'.
13326 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13327 (idlwave-convert-xml-system-routine-info): Remove unused string
13329 (idlwave-display-user-catalog-widget): Use dolist.
13330 (idlwave-scanning-lib): Declare dynamically-scoped var.
13331 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13332 (completion-highlight-first-word-only): Declare to silence bytecomp.
13333 (idlwave-popup-select): Tighten scope of `resp'.
13334 (idlwave-find-struct-tag): Remove unused var `beg'.
13335 (idlwave-after-load-rinfo-hook): Declare.
13336 (idlwave-sintern-class-info): Remove unused var `taglist'.
13337 (idlwave-find-class-definition): Remove unused var `list'.
13338 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13339 (idlwave-what-module-find-class): Remove unused var `classes'.
13341 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13343 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13345 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13348 buffers visited. Remove redundant current-buffer-saving.
13350 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13352 Use completion-in-buffer and remove uses of dynamic scoping.
13353 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13354 (pascal-buffer-to-use, pascal-flag): Don't declare.
13355 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13356 (pascal-get-completion-decl, pascal-keyword-completion):
13357 Add `pascal-str' argument, save-excursion,
13358 return the found completions, and don't filter with pascal-pred.
13359 (pascal-completion-cache): New var.
13360 (pascal-completion): Don't switch buffer any more (it was never
13361 necessary). Don't save-excursion any more (it's done by the called
13362 subroutines). Use a cache to avoid redundant computations.
13363 Use complete-with-action rather than pascal-completion-response and
13364 let it apply the predicate as well.
13365 (pascal-complete-word): Use completion-in-buffer when
13366 pascal-toggle-completions is nil.
13367 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13369 (pascal-comp-defun): Don't change buffer any more.
13370 Use complete-with-action rather than pascal-completion-response and
13371 let it apply the predicate as well.
13372 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13375 2009-12-02 Kenichi Handa <handa@m17n.org>
13377 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13378 shape for all Indic scripts.
13380 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13382 Use completion-in-buffer.
13383 * wid-edit.el (widget-field-text-end): New function.
13384 (widget-field-value-get): Use it.
13385 (widget-string-complete, widget-file-complete)
13386 (widget-color-complete): Use it and completion-in-region.
13387 (widget-complete): Don't narrow the buffer.
13389 2009-12-02 Glenn Morris <rgm@gnu.org>
13391 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13392 (rmail-select-summary): Use rmail-pop-to-buffer.
13393 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13394 rmail-pop-to-buffer, to prevent horizontal splits.
13396 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13397 save-excursion with save-current-buffer.
13398 Widen before searching. (Bug#5093)
13399 (diary-list-sexp-entries): Remove superfluous save-excursion.
13401 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13403 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13406 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13408 * ido.el (ido-file-internal): Handle filenames at point that do
13409 not have a directory part. (Bug#5049)
13411 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13413 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13414 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13416 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13418 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13419 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13422 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * comint.el (comint-insert-input): Ignore clicks to the right of
13425 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13427 * vc.el (vc-print-log-internal): Don't wait for the process to
13428 terminate before setting up the major mode.
13430 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13433 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13436 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13438 2009-12-01 Glenn Morris <rgm@gnu.org>
13440 * window.el (window--display-buffer-2): Fix previous changes.
13442 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13444 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13446 2009-12-01 Glenn Morris <rgm@gnu.org>
13448 * Makefile.in (ELCFILES): Add mpc.elc.
13450 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13452 * mpc.el: New file.
13454 2009-12-01 Glenn Morris <rgm@gnu.org>
13456 * window.el (window-to-use): Define for compiler.
13458 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13459 consistent with others (no final period).
13461 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13462 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13464 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13466 Make vc-print-log buttons work.
13467 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13469 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13471 * savehist.el (savehist-autosave-interval): Allow setting to nil
13472 through customize. (Bug#5056)
13474 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13476 Fix references to jit-lock properties.
13477 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13478 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13479 (perl-font-lock-special-syntactic-constructs):
13480 Quote jit-lock-defer-multiline property.
13482 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13484 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13486 2009-11-30 Juri Linkov <juri@jurta.org>
13488 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13489 value `buffer' of `multi-isearch-next-buffer-current-function'.
13490 Use `(current-buffer)' when `buffer' is nil.
13491 (multi-isearch-next-buffer-from-list): Don't fallback to
13492 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13494 2009-11-30 Juri Linkov <juri@jurta.org>
13496 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13497 of buffers with `get-buffer' to `multi-isearch-buffers'.
13498 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13499 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13500 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13501 FILES with `expand-file-name' converting relative file names
13502 to absolute. Doc fix. (Bug#4727)
13504 2009-11-30 Juri Linkov <juri@jurta.org>
13506 * misearch.el (multi-isearch-read-buffers)
13507 (multi-isearch-read-matching-buffers): New functions.
13508 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13509 Use them in the `interactive' spec. Doc fix.
13510 (multi-isearch-read-files, multi-isearch-read-matching-files):
13512 (multi-isearch-files, multi-isearch-files-regexp):
13513 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13515 2009-11-30 Juri Linkov <juri@jurta.org>
13517 * doc-view.el (doc-view-continuous):
13518 Rename from `doc-view-continuous-mode'.
13519 (doc-view-menu): Move "Toggle display" to the top.
13520 Add submenu "Continuous" with radio buttons "Off"/"On"
13521 and "Save as Default".
13522 (doc-view-scroll-up-or-next-page)
13523 (doc-view-scroll-down-or-previous-page)
13524 (doc-view-next-line-or-next-page)
13525 (doc-view-previous-line-or-previous-page):
13526 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13528 2009-11-30 Juri Linkov <juri@jurta.org>
13530 * comint.el (comint-mode-map): Rebind `M-r' from
13531 `comint-previous-matching-input' to
13532 `comint-history-isearch-backward-regexp'.
13533 Unbind `M-s' to allow global key binding `M-s'.
13534 Add menu items for `comint-history-isearch-backward' and
13535 `comint-history-isearch-backward-regexp'. (Bug#3746)
13537 2009-11-30 Juri Linkov <juri@jurta.org>
13539 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13540 For def=recenter, replace `recenter' with `recenter-top-bottom'
13541 that is called with `this-command' and `last-command' let-bound
13542 to `recenter-top-bottom'. When the last `def' was not `recenter',
13543 set `recenter-last-op' to nil. (Bug#4981)
13545 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13547 Minor cleanup and simplification.
13548 * filecache.el (file-cache-add-directory)
13549 (file-cache-add-directory-recursively)
13550 (file-cache-add-from-file-cache-buffer)
13551 (file-cache-delete-file-regexp, file-cache-delete-directory)
13552 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13553 (file-cache-temp-minibuffer-message): Delete function.
13554 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13556 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13557 Don't signal an error when bumping into EOB in tr, s, or y.
13559 2009-11-29 Juri Linkov <juri@jurta.org>
13561 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13564 * descr-text.el (describe-char-unidata-list): Use lowercase name
13565 for "Unicode name" like in other tags.
13567 2009-11-29 Juri Linkov <juri@jurta.org>
13569 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13570 New compatibility macro.
13571 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13573 2009-11-29 Juri Linkov <juri@jurta.org>
13575 Add defcustom to define the cycling order of `recenter-top-bottom'.
13578 * window.el (recenter-last-op): Doc fix.
13579 (recenter-positions): New defcustom.
13580 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13581 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13583 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13585 Improve integration of Tramp and ange-ftp in eshell.
13587 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13588 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13589 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13591 * eshell/esh-util.el (top): Require also Tramp when compiling.
13592 (eshell-directory-files-and-attributes): Check for FTP remote
13594 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13595 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13596 (eshell-file-attributes): Handle ".". Return `entry'.
13598 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13599 (ange-ftp-directory-files-and-attributes)
13600 (ange-ftp-real-directory-files-and-attributes): New defuns.
13602 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13603 shell with "exec" when possible. This prevents trailing prompts
13604 in `start-file-process'.
13606 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13608 Try and remove assumptions about point-min==1.
13609 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13610 (rng-compute-mode-line-string): Show the validation percentage in
13611 terms of the narrowed text, not the widened text.
13612 (rng-do-some-validation): Don't catch internal errors when debugging.
13613 (rng-first-error): Simplify.
13614 (rng-after-change-function): Remove work around. AFAIK the bug has
13615 been fixed a while ago.
13617 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13618 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13620 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13622 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13623 `cd' doesn't always do it for us (bug#5067).
13625 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13626 on 2009-10-25 as part of some other change (bug#5067).
13628 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13630 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13632 (byte-compile-warnings): Use byte-compile-warning-types.
13633 (byte-compile-save-excursion): Warn about use of set-buffer right
13634 after save-excursion.
13636 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13637 the excursion as well.
13639 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13641 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13642 providing a Tramp related implementation of "su" and "sudo".
13643 (eshell-unix-initialize): Add "su" and "sudo".
13645 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13647 * net/socks.el (socks-send-command): Convert binary request to
13648 unibyte before sending. This fixes mishandling of some port
13649 numbers such as 129.
13651 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13653 * help.el (describe-bindings-internal): Remove `interactive'.
13655 * man.el (Man-completion-table): Trim a terminating "(".
13656 Remove the space between name page a section.
13657 Add the command's description on the `help-echo' property.
13658 Remove `process-connection-type' binding since it's unused by
13660 Provide completion for the "<section> <name>" format as well.
13661 (Man-default-man-entry): Remove spurious var shadowing the argument.
13663 2009-11-26 Kevin Ryde <user42@zip.com.au>
13665 * log-view.el: Add "Keywords: tools", since its other keywords
13666 aren't in finder-known-keywords, and following vc.el.
13668 * sha1.el (sha1-string-external): default-directory "/" in case
13669 otherwise non-existent. process-connection-type pipe for touch of
13670 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13672 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13674 Misc coding convention cleanups.
13675 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13676 hfy-init-kludge-hooks.
13677 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13678 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13679 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13681 (hfy-slant, hfy-weight): Use tables rather than code.
13682 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13683 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13684 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13685 (hfy-face-to-css): Remove `nconc' with single arg.
13686 (hfy-p-to-face-lennart): Use `or'.
13687 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13688 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13689 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13690 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13691 (hfy-force-fontification): Use run-hooks.
13693 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13695 Various minor fixes.
13696 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13697 Javascript belongs in the header, not the body.
13698 (hfy-javascript): Remove.
13699 (hfy-fontify-buffer): Don't insert it any more.
13700 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13701 Fix bug in invis handling when there were no invis props in a chunk.
13703 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13705 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13707 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13709 * finder.el (finder-mode-map): Add a menu.
13711 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13713 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13714 "unsigned" structs.
13716 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13717 fork" statement better.
13719 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13721 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13722 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13723 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13724 Reported by Clay Douglass.
13726 (verilog-auto-inst, verilog-auto-star-safe)
13727 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13728 Fix removing "// Interfaces" when saving .* expansions.
13729 Reported by Pierre-David Pfister.
13731 2009-11-26 Glenn Morris <rgm@gnu.org>
13733 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13736 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13738 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13739 Really use previous revision.
13741 2009-11-25 Kevin Ryde <user42@zip.com.au>
13743 * man.el (Man-completion-table): default-directory "/" in case
13744 doesn't otherwise exist. process-environment COLUMNS=999 so as
13745 not to truncate long names. process-connection-type pipe to avoid
13746 any chance of hitting the pseudo-tty TIOCGWINSZ.
13747 (man): completion-ignore-case t for friendliness and since man
13748 itself is case-insensitive on the command line.
13749 Further to Bug#3717.
13751 * arc-mode.el: Add "Keywords: files", so the details in its
13752 commentary can be reached from finder-by-keyword.
13753 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13754 editing mode, but it's comms related and sgml-mode.el has "comm"
13756 * textmodes/bibtex-style.el: Add "Keywords: tex".
13757 * international/isearch-x.el, international/ja-dic-cnv.el:
13758 * international/ja-dic-utl.el, international/kkc.el:
13759 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13761 2009-11-25 Juri Linkov <juri@jurta.org>
13763 * man.el (Man-completion-table): Modify regexp to include
13764 section names to completion strings. (Bug#3717)
13766 2009-11-25 Juri Linkov <juri@jurta.org>
13768 Search recursively in gzipped files. (Bug#4982)
13770 * progmodes/grep.el (grep-highlight-matches): Add new options
13771 `always' and `auto'. Doc fix.
13772 (grep-process-setup): Check `grep-highlight-matches' for
13773 `auto-detect' to determine the need to compute grep defaults.
13774 Move Windows/DOS specific --colors settings handling
13775 to `grep-compute-defaults'. Check `grep-highlight-matches'
13776 to get the value of "--color=".
13777 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13778 has the value `auto-detect'. Move Windows/DOS specific settings
13779 from `grep-process-setup'.
13780 (zrgrep): New command with alias `rzgrep'.
13782 2009-11-25 Juri Linkov <juri@jurta.org>
13784 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13785 to nil instead of switching off view-mode. (Bug#4896)
13787 2009-11-25 Juri Linkov <juri@jurta.org>
13789 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13791 * mwheel.el (mwheel-scroll-up-function)
13792 (mwheel-scroll-down-function): New defvars.
13793 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13794 `scroll-up', and `mwheel-scroll-down-function' instead of
13797 * doc-view.el (doc-view-scroll-up-or-next-page)
13798 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13799 Use this ARG in the call to image-scroll-up/image-scroll-down.
13800 Change `interactive' spec to "P". Goto next/previous page only
13801 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13802 SPC/DEL case). Doc fix.
13803 (doc-view-next-line-or-next-page)
13804 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13806 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13807 `doc-view-scroll-up-or-next-page', and buffer-local
13808 `mwheel-scroll-down-function' to
13809 `doc-view-scroll-down-or-previous-page'.
13811 2009-11-25 Juri Linkov <juri@jurta.org>
13813 Provide additional default values (directories at other Dired
13814 windows) via M-n in the minibuffer of some Dired commands.
13816 * dired-aux.el (dired-diff, dired-compare-directories)
13817 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13818 `minibuffer-default' in `minibuffer-with-setup-hook'.
13819 (dired-dwim-target-directory): Find a window that displays Dired
13820 buffer instead of failing when the next window is not Dired.
13821 Use `get-window-with-predicate' to find for the next Dired window.
13822 (dired-dwim-target-defaults): New function.
13824 * ediff-util.el (ediff-read-file-name):
13825 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13826 in `minibuffer-with-setup-hook'.
13828 2009-11-25 Juri Linkov <juri@jurta.org>
13830 Provide additional default values (file name at point or at the
13831 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13833 * minibuffer.el (read-file-name-defaults): New function.
13834 (read-file-name): Reset `minibuffer-default' to nil when
13835 it duplicates initial input `insdef'.
13836 Bind `minibuffer-default-add-function' to lambda that
13837 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13838 (minibuffer-insert-file-name-at-point): New command.
13840 * files.el (file-name-at-point-functions): New defcustom.
13841 (find-file-default): Remove defvar.
13842 (find-file-read-args): Don't use `find-file-default'.
13843 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13844 to `read-file-name'.
13845 (find-file-literally): Use `read-file-name' with
13846 `confirm-nonexistent-file-or-buffer'.
13848 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13850 * dired.el (dired-read-dir-and-switches):
13851 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13852 to `read-file-name'.
13853 (dired-file-name-at-point): New function.
13854 (dired-mode): Add hook `dired-file-name-at-point' to
13855 `file-name-at-point-functions'.
13857 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13859 Really make the *Completions* window soft-dedicated (bug#5030).
13860 * window.el (window--display-buffer-2): Add `dedicated' argument.
13861 (display-buffer): Pass it when needed so the dedicated flag is set
13862 after calling set-window-buffer, which would otherwise reset it.
13864 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13866 * progmodes/meta-mode.el (meta-complete-symbol):
13867 * progmodes/etags.el (complete-tag):
13868 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13869 Use completion-in-region.
13871 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13872 (dabbrev-completion): Use completion-in-region.
13873 (dabbrev--abbrev-at-point): Simplify regexp.
13875 * abbrev.el (abbrev--before-point): Use word-motion functions
13876 if :regexp is not specified (bug#5031).
13878 * subr.el (string-prefix-p): New function.
13880 * man.el (Man-completion-cache): New var.
13881 (Man-completion-table): Use it.
13883 * vc.el (vc-print-log-internal): Make `limit' optional for better
13884 compatibility (e.g. with vc-annotate.el).
13886 2009-11-24 Kevin Ryde <user42@zip.com.au>
13888 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13889 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13891 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13892 when .el source file not found or other error.
13894 2009-11-24 Markus Triska <markus.triska@gmx.at>
13896 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13898 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13900 Handle the [back] button properly (bug#4979).
13901 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13902 Use help-setup-xref, help-buffer, and with-help-window.
13903 (describe-char): Add `buffer' argument.
13904 Pass proper command to help-setup-xref. Don't meddle with
13905 help-xref-stack-item directly.
13906 (describe-text-category): Use with-help-window and help-buffer.
13908 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13909 for the displayed buffer (bug#4887).
13911 * man.el (Man-completion-table): New function.
13914 2009-11-24 David Reitter <david.reitter@gmail.com>
13916 * vc-git.el (vc-git-registered): Use checkout directory (where
13917 .git is) rather than the file's directory and a relative path spec
13918 to work around a bug in git.
13920 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13922 Improve handling of processes on remote hosts.
13924 * eshell/esh-util.el (eshell-path-env): New defvar.
13925 (eshell-parse-colon-path): New defun.
13926 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13928 * eshell/esh-ext.el (eshell-search-path):
13929 Use `eshell-parse-colon-path'.
13930 (eshell-remote-command): Remove argument HANDLER.
13931 (eshell-external-command): Check for FTP remote connection.
13933 * eshell/esh-proc.el (eshell-gather-process-output):
13934 Use `file-truename', in order to start also symlinked files.
13935 Apply `start-file-process' instead of `start-process'.
13936 Shorten `command' to the local file name part.
13938 * eshell/em-cmpl.el (eshell-complete-commands-list):
13939 Use `eshell-parse-colon-path'.
13941 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13943 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13944 to `eshell-directory-change-hook'.
13946 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13948 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13949 because it could be enabled automatically if view-read-only is non-nil.
13951 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13953 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13954 made on 2009-11-22.
13956 2009-11-24 Glenn Morris <rgm@gnu.org>
13958 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13959 deleted variable bookmark-bmenu-bookmark-column.
13961 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13963 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13965 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13967 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13968 two slashes to the "file:" prefix.
13969 (browse-url-file-url): De-munge Cygwin filenames before passing
13970 them to Windows browser.
13971 (browse-url-default-windows-browser): Use call-process.
13973 2009-11-23 Juri Linkov <juri@jurta.org>
13975 Implement DocView Continuous mode. (Bug#4896)
13976 * doc-view.el (doc-view-continuous-mode): New defcustom.
13977 (doc-view-mode-map): Bind C-n/<down> to
13978 `doc-view-next-line-or-next-page', C-p/<up> to
13979 `doc-view-previous-line-or-previous-page'.
13980 (doc-view-next-line-or-next-page)
13981 (doc-view-previous-line-or-previous-page): New commands.
13983 2009-11-23 Juri Linkov <juri@jurta.org>
13985 Implement Isearch in comint input history. (Bug#3746)
13986 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13987 `isearch-mode-hook'.
13988 (comint-history-isearch): New defcustom.
13989 (comint-history-isearch-backward)
13990 (comint-history-isearch-backward-regexp): New commands.
13991 (comint-history-isearch-message-overlay): New buffer-local variable.
13992 (comint-history-isearch-setup, comint-history-isearch-end)
13993 (comint-goto-input, comint-history-isearch-search)
13994 (comint-history-isearch-message, comint-history-isearch-wrap)
13995 (comint-history-isearch-push-state)
13996 (comint-history-isearch-pop-state): New functions.
13998 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14000 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14002 (tramp-handle-make-symbolic-link)
14003 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14005 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14006 (tramp-handle-process-file): Use it.
14008 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14010 * window.el (move-to-window-line-last-op): Remove.
14011 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14013 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14015 Make M-r mirror the new cycling behavior of C-l.
14016 * window.el (move-to-window-line-last-op): New var.
14017 (move-to-window-line-top-bottom): New command.
14018 (global-map): Bind M-r move-to-window-line-top-bottom.
14020 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14022 * dired-x.el (dired-guess-shell-alist-default):
14023 Support xz format. (Bug#4953)
14025 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14027 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14028 last-command-char/last-command-event.
14029 (viper-prefix-arg-value): Do correct conversion of event-char for
14032 * emulation/viper-util.el, emulation/viper.el:
14033 Use viper-last-command-char instead of
14034 last-command-char/last-command-event.
14036 * ediff-init.el, ediff-mult.el, ediff-util.el:
14037 Replace last-command-char and last-command-event
14038 with (ediff-last-command-char) everywhere.
14040 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14041 created in fundamental mode.
14043 * ediff.el (ediff-version): Revert the change of interactive-p to
14044 called-interactively-p.
14046 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14048 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14049 generation from word-movement command names.
14051 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14053 * cus-start.el (all): Add native condition for font-use-system-font.
14055 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14057 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14058 Correct the patch from 2009-11-18. (Bug#3910)
14060 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14062 * progmodes/subword.el: Rename from lisp/subword.el.
14064 * subword.el: Rename to progmodes/subword.el.
14066 * Makefile.in (ELCFILES): Adapt to subword.el move.
14068 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14069 Stefan Monnier <monnier@iro.umontreal.ca>
14071 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14072 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14073 (bookmark-bmenu-show-filenames): Use push.
14074 (bookmark-bmenu-hide-filenames): Use local var instead of
14075 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14076 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14077 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14078 filenames now that the bookmark names are always available.
14080 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14082 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14083 (bookmark-search-pattern): Move and leave unbound.
14084 (bookmark-bmenu-mode-map): Change binding.
14085 (bookmark-read-search-input): Simplify.
14086 Don't use text-char-description. Don't error on non-char events.
14087 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14088 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14089 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14090 Use a local var for the timer.
14091 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14092 (i.e. bookmark-bmenu-search).
14094 2009-11-21 Glenn Morris <rgm@gnu.org>
14096 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14098 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14100 * net/browse-url.el (browse-url-default-windows-browser):
14101 Use cygstart for cygwin.
14103 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14105 * bookmark.el: Formatting and doc fixes only:
14106 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14107 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14108 Minor grammar and punctuation fixes in doc string.
14109 (bookmark-read-search-input): Adjust to fit within 80 columns.
14111 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14113 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14114 (c-backward-into-nomenclature): Adapt to subword renaming.
14116 * subword.el (subword-forward, subword-backward, subword-mark)
14117 (subword-kill, subword-backward-kill, subword-transpose)
14118 (subword-downcase, subword-upcase, subword-capitalize)
14119 (subword-forward-internal, subword-backward-internal):
14120 Rename from forward-subword, backward-subword, mark-subword,
14121 kill-subword, backward-kill-subword, transpose-subwords,
14122 downcase-subword, upcase-subword, capitalize-subword,
14123 forward-subword-internal, backward-subword-internal.
14125 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14127 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14129 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14131 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14132 (bookmark-bmenu-filter-alist-by-regexp)
14133 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14134 (bookmark-bmenu-search): New command.
14135 (bookmark-bmenu-mode-map): Bind it.
14137 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14139 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14140 backward-subword to quit the byte-compiler.
14142 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14144 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14146 * progmodes/cc-cmds.el (c-update-modeline)
14147 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14148 Refer to subword.el functions instead of cc-subword.el.
14150 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14151 subword.el functions instead of cc-subword.el.
14153 * progmodes/cc-subword.el: Rename to subword.el.
14154 * subword.el: Rename from progmodes/cc-subword.el.
14155 (subword-mode-map): Rename from c-subword-mode-map.
14156 (subword-mode): Rename from c-subword-mode.
14157 (global-subword-mode): New global minor mode.
14158 (forward-subword): Rename from c-forward-subword.
14159 (backward-subword): Rename from c-backward-subword.
14160 (mark-subword): Rename from c-mark-subword.
14161 (kill-subword): Rename from c-kill-subword.
14162 (backward-kill-subword): Rename from c-backward-kill-subword.
14163 (transpose-subwords): Rename from c-tranpose-subword.
14164 (downcase-subword): Rename from c-downcase-subword.
14165 (capitalize-subword): Rename from c-capitalize-subword.
14166 (forward-subword-internal): Rename from c-forward-subword-internal.
14167 (backward-subword-internal): Rename from c-backward-subword-internal.
14169 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14171 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14172 from a dired buffer.
14173 (vc-dired-deduce-fileset): New function.
14174 (vc-root-diff, vc-print-root-log): Use it.
14176 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14177 nil LIMIT argument to vc-print-log-internal.
14179 2009-11-20 Glenn Morris <rgm@gnu.org>
14181 * Makefile.in (ELCFILES): Regenerate.
14183 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14185 * calc/calc.el (calc-set-mode-line):
14186 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14187 (math-format-number): Rename `math-format-complement-signed' to
14188 `math-format-twos-complement'.
14190 * calc/calc-bin.el (math-format-twos-complement): Rename from
14191 math-format-complement-signed.
14192 (calc-radix): Rename `calc-complement-signed-mode' to
14193 `calc-twos-complement-mode'.
14194 (calc-octal-radix, calc-hex-radix): Add an argument for
14197 * calc/calc-embed.el (calc-embedded-mode-vars):
14198 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14200 * calc/calc-ext.el (calc-init-extensions):
14201 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14202 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14204 * calc/calc-units.el (math-build-units-table-buffer):
14205 Let `calc-twos-complement-mode' be nil.
14207 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14210 * calc/calc-vec.el (calcFunc-vunpack):
14211 * calc/calc-aent.el (calc-do-calc-eval):
14212 * calc/calc-forms.el (math-format-date):
14213 * calc/calc-graph.el (calc-graph-plot):
14214 * calc/calc-math.el (math-use-emacs-fn):
14215 * calc/calccomp.el (math-compose-expr):
14216 Let `calc-twos-complement-mode' be nil.
14218 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14221 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14222 * minibuffer.el (completion-in-region-functions): New hook.
14223 (completion-in-region): New function.
14224 * emacs-lisp/lisp.el (lisp-complete-symbol):
14225 * pcomplete.el (pcomplete-std-complete): Use it.
14227 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14229 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14230 (latex-complete-alist): New vars.
14231 (latex-string-prefix-p, latex-complete-bibtex-keys)
14232 (latex-complete-envnames, latex-complete-refkeys)
14233 (latex-complete-data): New functions.
14234 (latex-complete, latex-indent-or-complete): New commands.
14236 * window.el (display-buffer-mark-dedicated): New var.
14237 (display-buffer): Obey it.
14238 * minibuffer.el (minibuffer-completion-help): Use it.
14240 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14242 * filecache.el (file-cache-add-file): Use push and cons.
14243 (file-cache-delete-file-regexp): Use push.
14244 (file-cache-complete): Use completion-in-region.
14246 * simple.el (with-wrapper-hook): Fix thinko.
14248 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14249 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14250 Use with-current-buffer and string-to-number.
14251 (hfy-fallback-colour-values): Use assoc-string.
14252 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14253 (hfy-face-at): Remove unused var `found-face'.
14254 (hfy-compile-stylesheet): Remove unused var `css'.
14255 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14257 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14258 Use with-current-buffer.
14259 (hfy-text-p): Use expand-file-name and fewer setq.
14261 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14263 * htmlfontify.el, hfy-cmap.el: New files.
14265 2009-11-19 Juri Linkov <juri@jurta.org>
14267 * minibuffer.el (completions-format): New defcustom.
14268 (completion--insert-strings): Implement vertical format.
14270 * simple.el (switch-to-completions): Move point to the first
14271 completion when point was at the beginning of the buffer.
14273 2009-11-19 Juri Linkov <juri@jurta.org>
14275 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14277 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14279 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14281 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14282 (mail-signature): Change default to t.
14283 (mail-from-style): Deprecate `system-default' value.
14284 (mail-insert-from-field): For default value of mail-from-style,
14285 default to `angles' unless `angles' needs quoting and `parens'
14287 (mail-citation-prefix-regexp): Use citation regexp from
14290 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14292 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14293 Set variables for computing the prompt for reading password.
14295 2009-11-19 Glenn Morris <rgm@gnu.org>
14297 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14299 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14301 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14302 (newsticker-treeview-listwindow-height): Fix custom type.
14304 2009-11-19 Kenichi Handa <handa@m17n.org>
14306 * descr-text.el (describe-char-padded-string): Compose with TAB
14307 only if there's a font for CH.
14308 (describe-char): Fix the condition for detecting a trivial composition.
14310 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14312 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14313 more accurate version of the regexp. (Bug#3910)
14315 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14317 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14319 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14321 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14322 (font-setting-change-default-font): Fix typo in docstring.
14324 2009-11-18 Alan Mackenzie <acm@muc.de>
14326 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14328 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14330 * font-setting.el (font-use-system-font): Move ...
14332 * cus-start.el (all): ... to here.
14334 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14336 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14337 Don't set `ad-return-value' if `ad-do-it' doesn't.
14339 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14342 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14344 * menu-bar.el: Put "Use system font" in Option-menu.
14345 (menu-bar-options-save): Add font-use-system-font.
14347 * loadup.el: If feature system-font-setting or font-render-setting is
14348 there, load font-setting.
14350 * Makefile.in (ELCFILES): Add font-settings.el.
14351 * font-setting.el: New file.
14353 2009-11-17 Glenn Morris <rgm@gnu.org>
14355 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14357 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14358 Preserve point in the list buffer. (Bug#4939)
14360 (newsticker--treeview-list-update-highlight)
14361 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14363 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14365 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14368 * calc/calc-ext.el (calc-init-extensions): Remove references to
14371 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14373 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14374 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14377 2009-11-16 Kevin Ryde <user42@zip.com.au>
14379 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14380 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14382 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14383 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14384 Ignore trailing spaces by omit-nulls to split-string (fixing
14385 regression from Emacs 21 due to the incompatible split-string
14386 change). (Bug #4928.)
14388 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14390 * vc.el (vc-log-show-limit): Default to 2000.
14391 (vc-print-log-internal): Insert buttons to request more entries
14392 when limiting the output.
14394 * vc-sccs.el (vc-sccs-print-log):
14395 * vc-rcs.el (vc-rcs-print-log):
14396 * vc-cvs.el (vc-cvs-print-log):
14397 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14400 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14402 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14403 error when `tramp-gvfs-dbus-event-vector' is set.
14404 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14406 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14408 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14410 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14412 * net/dbus.el (dbus-unregister-service): New defun.
14413 (dbus-register-property): Register the handlers of
14414 "org.freedesktop.DBus.Properties" for SERVICE.
14415 (dbus-property-handler): Fix docstring.
14417 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14419 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14420 Quote doc string reference in defvaralias as it is not in special form.
14421 (byte-compile-output-docform): Doc fix.
14423 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14425 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14426 (calc-complement-signed-mode): New variables.
14427 (calc-set-mode-line): Add indicator for twos-complements.
14428 (math-format-number): Format twos-complement notation.
14430 * calc/calc-bin.el (calc-word-size): Reset the variables
14431 `math-2-word-size' and `math-half-2-word-size'.
14432 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14433 (calc-symclip): New functions.
14435 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14437 * calc/calc-embed.el (calc-embedded-mode-vars):
14438 Add `calc-complement-signed-mode' to the list of modes.
14440 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14441 (calc-b-oper-keys): Add `calc-symclip' to list.
14443 * calc/calc-ext.el (math-read-number-fancy): Read complement
14445 (calc-init-extensions): Add binding for `calc-symclip'.
14446 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14448 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14450 (calc-modes-menu): Add item for twos complement mode.
14452 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14454 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14456 * register.el (jump-to-register, insert-register): Handle Semantic
14457 tags. From commented-out advice in semantic/senator.el.
14459 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14461 * vc.el (vc-log-show-limit): New variable.
14462 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14463 when using a prefix argument.
14464 (vc-print-log-internal): Add new argument LIMIT.
14466 * vc-svn.el (vc-svn-print-log):
14467 * vc-mtn.el (vc-mtn-print-log):
14468 * vc-hg.el (vc-hg-print-log):
14469 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14470 pass it to the log command when set. Make the BUFFER argument
14473 * vc-sccs.el (vc-sccs-print-log):
14474 * vc-rcs.el (vc-rcs-print-log):
14475 * vc-git.el (vc-git-print-log):
14476 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14477 ignore it. Make the BUFFER argument non-optional
14479 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14481 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14483 * dired.el (dired-mode-map): Move encryption items to "Operate"
14486 * strokes.el (strokes-update-window-configuration): Make strokes
14487 buffer current before erasing (Bug#4906).
14489 2009-11-15 Juri Linkov <juri@jurta.org>
14491 * simple.el (set-mark-default-inactive): Add :type, :group
14492 and :version. (Bug#4876)
14494 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14496 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14497 (archive-unique-fname): ... here. (Bug#4929)
14499 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14501 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14504 * novice.el (disabled-command-function): Add useful args.
14505 Setup the help buffer so that [back] works.
14506 Remove redundant call to help-mode.
14507 (disabled-command-function): Use `case'.
14508 (en/disable-command): New function extracted from enable-command.
14509 (enable-command, disable-command): Use it.
14511 2009-11-14 Glenn Morris <rgm@gnu.org>
14513 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14514 constants. (Bug#4913)
14516 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14518 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14520 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14521 defined in C that have no doc-strings. (Bug#1063)
14523 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14525 * cus-edit.el (data, files):
14526 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14528 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14530 * simple.el (shell-command): Doc fix (Bug#4891).
14532 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14534 2009-11-14 Glenn Morris <rgm@gnu.org>
14536 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14537 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14538 If they are already loaded, eval-after-load will do the right thing.
14540 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14543 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14545 * simple.el (x-selection-owner-p): Declare.
14546 (read-mail-command): Use custom radio type rather than choice.
14547 (completion-no-auto-exit): Doc fix.
14549 * custom.el (defgroup):
14550 * epg-config.el (epg): Doc fixes.
14552 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14554 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14555 * international/ccl.el (define-ccl-program): Do not purecopy the
14556 docstring, defconst does it anyway.
14558 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14563 * x-dnd.el (x-dnd-maybe-call-test-function):
14564 * window.el (split-window-vertically):
14565 * whitespace.el (whitespace-help-on):
14566 * vc-rcs.el (vc-rcs-consult-headers):
14567 * userlock.el (ask-user-about-lock-help)
14568 (ask-user-about-supersession-help):
14569 * type-break.el (type-break-force-mode-line-update):
14570 * time-stamp.el (time-stamp-conv-warn):
14571 * terminal.el (te-set-output-log, te-more-break, te-filter)
14572 (te-sentinel, terminal-emulator):
14573 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14574 (term-write-input-ring, term-check-source, term-start-output-log):
14575 (term-display-buffer-line, term-dynamic-list-completions):
14576 (term-ansi-make-term, serial-term):
14577 * subr.el (selective-display):
14578 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14579 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14580 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14581 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14582 (speedbar-remove-localized-speedbar-support)
14583 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14584 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14585 (speedbar-buffers-line-directory):
14586 * simple.el (shell-command-on-region, append-to-buffer)
14587 (prepend-to-buffer):
14588 * shadowfile.el (shadow-save-todo-file):
14589 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14590 (scroll-bar-maybe-set-window-start):
14591 * sb-image.el (speedbar-image-dump):
14592 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14593 (load-save-place-alist-from-file):
14594 * ps-samp.el (ps-print-message-from-summary):
14595 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14596 (ps-background-image, ps-begin-job, ps-do-despool):
14597 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14598 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14599 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14600 (pr-call-process, pr-file-list, pr-interface-save):
14601 * novice.el (disabled-command-function)
14602 (enable-command, disable-command):
14603 * mouse.el (mouse-buffer-menu-alist):
14604 * mouse-copy.el (mouse-kill-preserving-secondary):
14605 * macros.el (kbd-macro-query):
14606 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14607 * informat.el (batch-info-validate):
14608 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14609 * hippie-exp.el (try-expand-dabbrev-visible):
14610 * help-mode.el (help-make-xrefs):
14611 * help-fns.el (describe-variable):
14612 * generic-x.el (bat-generic-mode-run-as-comint):
14613 * finder.el (finder-mouse-select):
14614 * find-dired.el (find-dired-sentinel):
14615 * filesets.el (filesets-file-close):
14616 * files.el (list-directory):
14617 * faces.el (list-faces-display, describe-face):
14618 * facemenu.el (list-colors-display):
14619 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14620 * epg.el (epg--process-filter, epg-cancel):
14621 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14622 (epa--read-signature-type):
14623 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14624 (emerge-file-names):
14625 * ehelp.el (electric-helpify):
14626 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14627 * ediff-vers.el (rcs-ediff-view-revision):
14628 * ediff-util.el (ediff-setup):
14629 * ediff-mult.el (ediff-append-custom-diff):
14630 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14632 * echistory.el (Electric-command-history-redo-expression):
14633 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14634 * disp-table.el (describe-display-table):
14635 * dired.el (dired-find-buffer-nocreate):
14636 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14637 * dabbrev.el (dabbrev--same-major-mode-p):
14638 * chistory.el (list-command-history):
14639 * apropos.el (apropos-documentation):
14640 * allout.el (allout-obtain-passphrase):
14641 (allout-copy-exposed-to-buffer):
14642 (allout-verify-passphrase): Use with-current-buffer.
14644 2009-11-13 Glenn Morris <rgm@gnu.org>
14646 * Makefile.in (ELCFILES): Regenerate.
14648 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14650 * net/dbus.el (dbus-registered-objects-table): Rename from
14651 `dbus-registered-functions-table', because it contains also properties.
14652 (dbus-unregister-object): Unregister also properties.
14653 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14654 Use a timeout of 500 msec, in order to not block.
14655 (dbus-register-property, dbus-property-handler): New defuns.
14657 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * simple.el (minibuffer-default-add-completions): Drop deprecated
14662 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14664 * textmodes/artist.el (artist-mouse-choose-operation):
14665 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14666 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14667 (artist-compute-up-event-key): New function.
14668 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14670 2009-11-13 Kenichi Handa <handa@m17n.org>
14672 * language/japan-util.el: Make sure that the value of jisx0208
14673 property is jisx0208 character.
14675 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14677 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14678 car or each item, not the whole list.
14680 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14682 * minibuffer.el (minibuffer-completion-help):
14683 Use minibuffer-hide-completions.
14685 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14687 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14688 (dired-revert): Use them (bug#4880).
14690 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14692 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14694 2009-11-12 Juri Linkov <juri@jurta.org>
14696 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14698 (find-file-literally-at-point): Alias of `ffap-literally'.
14700 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14702 * textmodes/ispell.el (ispell-skip-region-alist):
14703 * textmodes/css-mode.el (auto-mode-alist):
14704 * progmodes/compile.el (auto-mode-alist):
14705 * international/mule.el (ctext-non-standard-encodings-alist)
14706 (ctext-non-standard-encodings-regexp):
14707 * simple.el (shell-command-switch, text-read-only):
14708 * replace.el (occur-mode-map):
14709 * paths.el (rmail-file-name):
14710 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14711 * find-file.el (ff-special-constructs):
14712 * files.el (file-name-handler-alist):
14713 * composite.el: Purecopy strings.
14715 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14717 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14719 * widget.el (define-widget): Purecopy the docstring.
14720 * international/mule-cmds.el (charset): Do not purecopy the
14721 docstring here, define-widget does it.
14723 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14724 * textmodes/bibtex-style.el (auto-mode-alist):
14725 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14726 * progmodes/compile.el (compile-command):
14727 * language/korea-util.el (default-korean-keyboard):
14728 * international/mule-conf.el (file-coding-system-alist):
14729 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14730 * tooltip.el (tooltip-frame-parameters):
14731 * newcomment.el (comment-end, comment-padding):
14732 * dired.el (dired-trivial-filenames):
14733 * comint.el (comint-file-name-prefix): Purecopy initial values.
14735 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14737 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14738 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14740 (tramp-advice-make-auto-save-file-name)
14741 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14742 after removing the advice.
14744 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14746 * progmodes/grep.el (grep-regexp-alist):
14747 * international/mule-cmds.el (iso-2022-control-alist):
14748 * emacs-lisp/timer.el (timer-duration-words):
14749 * subr.el (version-separator, version-regexp-alist):
14750 * minibuffer.el (completion-styles-alist):
14751 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14752 Change defvars to defconsts.
14754 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14755 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14756 * international/mule-conf.el: Allow to be byte compiled.
14758 * international/mule.el (define-charset): Purecopy props.
14759 (load-with-code-conversion): Purecopy doc string and file name.
14760 (put-charset-property): Purecopy strings.
14761 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14763 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14764 (define-char-code-property): Correctly purecopy the table.
14766 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14768 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14770 * subr.el (add-hook): Purecopy strings.
14771 (eval-after-load): Purecopy load-history-regexp and the form.
14773 * custom.el (custom-declare-group): Purecopy load-file-name.
14775 * subr.el (menu-bar-separator): New defconst.
14776 * net/eudc.el (eudc-tools-menu):
14777 * international/mule-cmds.el (set-coding-system-map)
14778 (mule-menu-keymap):
14779 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14780 * vc-hooks.el (vc-menu-map):
14781 * replace.el (occur-mode-map):
14782 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14783 (menu-bar-edit-menu, menu-bar-goto-menu)
14784 (menu-bar-custom-menu, menu-bar-showhide-menu)
14785 (menu-bar-options-menu, menu-bar-tools-menu)
14786 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14787 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14788 (menu-bar-help-menu):
14789 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14790 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14792 * term/x-win.el (x-gtk-stock-map):
14793 * progmodes/vera-mode.el (auto-mode-alist):
14794 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14795 (inferior-lisp-program, inferior-lisp-load-command):
14796 * progmodes/hideshow.el (hs-special-modes-alist):
14797 * progmodes/gud.el (same-window-regexps):
14798 * progmodes/grep.el (grep-program, find-program, xargs-program):
14799 * net/telnet.el (same-window-regexps):
14800 * net/rlogin.el (same-window-regexps):
14801 * language/ethiopic.el (font-ccl-encoder-alist):
14802 * vc-sccs.el (vc-sccs-master-templates):
14803 * vc-rcs.el (vc-rcs-master-templates):
14804 * subr.el (cl-assertion-failed):
14805 * simple.el (next-error-overlay-arrow-position):
14806 * lpr.el (lpr-command):
14807 * locate.el (locate-ls-subdir-switches):
14808 * info.el (same-window-regexps, info)
14809 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14810 * image-mode.el (image-mode, auto-mode-alist):
14811 * hippie-exp.el (hippie-expand-ignore-buffers):
14812 * format.el (format-alist):
14813 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14815 * facemenu.el (facemenu-keybindings):
14816 * dired.el (dired-listing-switches, dired-chown-program):
14817 * diff.el (diff-switches, diff-command):
14818 * cus-edit.el (same-window-regexps):
14819 * bindings.el (mode-line-mule-info)
14820 (mode-line-buffer-identification): Purecopy strings.
14822 2009-11-11 Juri Linkov <juri@jurta.org>
14824 * simple.el (dired-get-filename) <declare-function>:
14825 Tell the byte-compiler about dired-get-filename.
14826 (shell-command): In Dired mode, get filename from the current line
14827 as the default value.
14829 2009-11-10 Glenn Morris <rgm@gnu.org>
14831 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14832 * calendar/holidays.el, progmodes/cperl-mode.el:
14833 Update x-popup-menu declarations.
14835 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14836 (list-load-path-shadows): Use dolist.
14837 (list-load-path-shadows): Use with-current-buffer.
14839 2009-11-10 Juri Linkov <juri@jurta.org>
14841 * minibuffer.el (read-file-name): Support a list of default values
14842 in `default-filename'. Use the first file name where only one
14843 element is required. Doc fix.
14845 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14847 * net/dbus.el (dbus-unregister-object): Release service, if no
14848 other method is registered for it.
14850 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14852 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14853 bookmark-sort-flag is non-nil (Bug#4653).
14855 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14857 * emulation/cua-base.el: Add CUA property to some CC mode commands
14860 2009-11-08 Kevin Ryde <user42@zip.com.au>
14862 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14863 at end of sentence (Bug#4818).
14865 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14867 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14868 Handle "see declaration of" MSFT statements (Bug#4100).
14870 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14872 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14873 (tramp-advice-file-expand-wildcards): Unload via
14874 `ad-remove-advice'.
14876 * net/trampver.el: Update release number.
14878 2009-11-08 Kevin Ryde <user42@zip.com.au>
14880 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14883 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14885 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14886 in order to keep context in SELinux.
14888 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14890 * dired-aux.el (dired-query): Place cursor in echo area and allow
14893 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14894 menu item if not on a directory (Bug#4701).
14896 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14898 Sync with Tramp 2.1.17.
14900 * net/tramp.el (tramp-handle-copy-directory): Don't use
14901 `file-remote-p' (due to compatibility).
14903 * net/tramp-compat.el (tramp-compat-copy-directory)
14904 (tramp-compat-delete-directory): New defuns.
14906 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14907 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14908 Use `tramp-compat-delete-directory'.
14910 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14911 (tramp-smb-handle-delete-directory):
14912 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14914 * net/trampver.el: Update release number.
14916 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14918 * tar-mode.el (tar-copy): Call write-region on the right buffer
14921 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14922 by hand, if necessary (Bug#4878).
14924 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14926 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14927 align size column (Bug#4839).
14929 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14932 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14934 * progmodes/ld-script.el (auto-mode-alist):
14935 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14937 * cus-face.el (custom-declare-face): Purecopy face spec.
14939 2009-11-06 Kenichi Handa <handa@m17n.org>
14941 * international/uni-bidi.el: Re-generated.
14942 * international/uni-category.el: Re-generated.
14943 * international/uni-combining.el: Re-generated.
14944 * international/uni-mirrored.el: Re-generated.
14946 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14948 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14949 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14950 (tex-start-options, slitex-run-command, latex-run-command)
14951 (tex-run-command, tex-directory):
14952 * textmodes/ispell.el (ispell-html-skip-alists)
14953 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14954 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14955 (adaptive-fill-regexp):
14956 * textmodes/dns-mode.el (auto-mode-alist):
14957 * progmodes/python.el (interpreter-mode-alist):
14958 * progmodes/etags.el (tags-compression-info-list):
14959 * progmodes/etags.el (tags-file-name):
14960 * net/browse-url.el (browse-url-galeon-program)
14961 (browse-url-firefox-program):
14962 * mail/sendmail.el (mail-signature-file)
14963 (mail-citation-prefix-regexp):
14964 * international/mule-conf.el (eight-bit):
14965 * international/latexenc.el (latex-inputenc-coding-alist):
14966 * international/fontset.el (x-pixel-size-width-font-regexp):
14967 * emacs-lisp/warnings.el (warning-type-format):
14968 * emacs-lisp/trace.el (trace-buffer):
14969 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14970 (emacs-lisp-mode-map):
14971 * calendar/holidays.el (holiday-solar-holidays)
14972 (holiday-bahai-holidays, holiday-islamic-holidays)
14973 (holiday-christian-holidays, holiday-hebrew-holidays)
14974 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14975 (hebrew-holidays-1, holiday-oriental-holidays)
14976 (holiday-general-holidays):
14977 * x-dnd.el (x-dnd-known-types):
14978 * tool-bar.el (tool-bar):
14979 * startup.el (site-run-file):
14980 * shell.el (shell-dumb-shell-regexp):
14981 * rfn-eshadow.el (file-name-shadow-tty-properties)
14982 (file-name-shadow-properties):
14983 * paths.el (remote-shell-program, news-directory):
14984 * mouse.el ([C-down-mouse-3]):
14985 * menu-bar.el (menu-bar-tools-menu):
14986 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14987 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14988 (jka-compr-compression-info-list):
14989 * isearch.el (search-whitespace-regexp):
14990 * image-file.el (image-file-name-extensions):
14991 * find-dired.el (find-ls-option):
14992 * files.el (directory-listing-before-filename-regexp)
14993 (directory-free-space-args, insert-directory-program)
14994 (list-directory-brief-switches, magic-fallback-mode-alist)
14995 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14996 (automount-dir-prefix):
14997 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14998 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14999 (face-font-registry-alternatives, face-font-registry-alternatives)
15000 (face-font-family-alternatives):
15001 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15002 (facemenu-foreground-menu, facemenu-face-menu):
15003 * epa-hook.el (epa-file-name-regexp):
15004 * dnd.el (dnd-protocol-alist):
15005 * textmodes/rst.el (auto-mode-alist):
15006 * button.el (default-button): Purecopy strings.
15008 2009-11-06 Glenn Morris <rgm@gnu.org>
15010 * Makefile.in (ELCFILES): Update.
15012 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15014 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15015 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15017 * nxml/xsd-regexp.el (xsdre-gen-categories):
15018 * nxml/xmltok.el (xmltok-parse-entity):
15019 * nxml/rng-parse.el (rng-parse-validate-file):
15020 * nxml/rng-maint.el (rng-format-manual)
15021 (rng-manual-output-force-new-line):
15022 * nxml/rng-loc.el (rng-save-schema-location-1):
15023 * nxml/rng-cmpct.el (rng-c-parse-file):
15024 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15025 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15027 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15029 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15030 Remove extra save-excursions and make-variable-buffer-local's.
15031 Suggested by Stefan Monnier.
15033 (verilog-getopt-file, verilog-module-inside-filename-p)
15034 (verilog-set-define): Merge GNU 1.35 and repair changes from
15035 switching to using with-current-buffer.
15037 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15038 being treated as a number and confusing AUTORESET.
15039 Reported by Dan Dever.
15041 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15042 Add verilog-auto-ignore-concat to fix backward compatibility with
15043 older verilog-modes. Reported by Dan Katz.
15045 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15046 containing closing anchors "...$".
15048 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15049 Reported by Wade Smith.
15051 (verilog-batch-execute-func): Comment on function usage.
15053 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15055 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15058 (verilog-label-re, verilog-calc-1): Support proper indent of named
15061 (verilog-backward-token, verilog-basic-complete-re)
15062 (verilog-beg-of-statement, verilog-indent-re): Support proper
15063 indent of the assert statement at the beginning of a block of text.
15065 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15066 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15069 2009-11-05 Glenn Morris <rgm@gnu.org>
15071 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15072 Emacs 19. (Bug#1531)
15073 (byte-compile-fix-header): Update for the above change.
15074 Drop test for epoch::version.
15076 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15077 * cus-dep.el (custom-make-dependencies):
15078 * finder.el (finder-compile-keywords):
15079 Use autoload-rubric's feature argument.
15081 * calendar/diary-lib.el (top-level): Make load behave more like require.
15083 * vc-git.el (vc-git-stash-map): Move definition before use.
15085 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15087 * custom.el (custom-declare-group): Purecopy standard-value.
15088 (custom-declare-group): Purecopy custom-prefix.
15090 * international/mule.el (load-with-code-conversion):
15091 Call do-after-load-evaluation unconditionally.
15093 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15095 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15097 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15099 2009-11-04 Glenn Morris <rgm@gnu.org>
15101 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15102 (byte-compile-compatibility): Remove option.
15103 (byte-compile-close-variables, byte-compile-fix-header)
15104 (byte-compile-insert-header, byte-compile-output-docform)
15105 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15106 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15107 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15108 (byte-compile-insert, byte-compile-defun):
15109 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15110 (byte-defop-compiler19): Remove.
15111 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15112 used by anything. Replace all calls with byte-defop-compiler.
15114 2009-11-04 Juri Linkov <juri@jurta.org>
15116 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15117 (menu-bar-options-menu): Don't quote the `prop' arg of
15118 `menu-bar-make-mm-toggle'.
15120 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15122 * calendar/calendar.el (cal-loaddefs):
15123 * calendar/diary-lib.el (diary-loaddefs):
15124 * calendar/holidays.el (hol-loaddefs):
15125 * eshell/esh-module.el (esh-groups): Load rather than require.
15127 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15129 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15131 (todo-top-priorities): Only display-buffer when called interactively.
15132 (todo-item-start): Don't save excursion point.
15133 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15134 (todo-insert-item-here, todo-file-item, todo-remove-item):
15135 Adjust uses of todo-item-start and todo-item-end.
15137 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15138 (autoload-rubric): Don't use any more.
15140 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15141 and only put a prop if it is non-nil.
15143 2009-11-03 Juri Linkov <juri@jurta.org>
15145 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15146 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15148 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15149 and "Menu" to make top-level menu item visually one unit (like
15150 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15151 multi-word menu items). Fix :help string for quit-window.
15153 2009-11-03 Glenn Morris <rgm@gnu.org>
15155 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15156 (byte-compile-file-form-define-abbrev-table)
15157 (byte-compile-file-form-custom-declare-variable)
15158 (byte-compile-variable-ref, byte-compile-defvar):
15159 Whether or not a warning is enabled should only affect whether we issue
15160 the warning, not whether or not we collect the relevant data.
15161 Eg warnings can be turned on and off throughout the course of a file.
15163 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15164 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15166 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15168 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15169 * play/mpuz.el (mpuz-create-buffer):
15170 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15171 (lm-print-y,s,noise, lm-print-w0, lm-init):
15172 * play/gomoku.el (gomoku-prompt-for-move):
15173 * play/fortune.el (fortune-in-buffer):
15174 * play/dissociate.el (dissociated-press):
15175 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15176 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15177 * mail/supercite.el (sc-eref-show):
15178 * mail/smtpmail.el (smtpmail-send-it):
15179 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15180 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15181 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15182 (rmail-summary-goto-msg, rmail-summary-expunge)
15183 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15184 (rmail-summary-add-label, rmail-summary-output-menu)
15185 (rmail-summary-output-body):
15186 * mail/rfc822.el (rfc822-addresses):
15187 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15188 * mail/mailpost.el (post-mail-send-it):
15189 * mail/hashcash.el (hashcash-generate-payment):
15190 * mail/feedmail.el (feedmail-run-the-queue)
15191 (feedmail-queue-send-edit-prompt-help-first)
15192 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15193 (feedmail-deduce-address-list):
15194 * eshell/esh-ext.el (eshell-remote-command):
15195 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15196 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15197 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15198 (viper-save-string-in-file, viper-valid-marker):
15199 * emulation/viper-keym.el (viper-toggle-key):
15200 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15201 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15202 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15203 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15204 (viper-exec-form-in-emacs, viper-brac-function):
15205 * emulation/viper.el (viper-delocalize-var):
15206 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15207 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15208 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15209 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15210 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15211 * emulation/edt.el (edt-electric-helpify):
15212 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15213 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15214 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15215 (cua-indent-to-global-mark-column):
15216 * calendar/diary-lib.el (calendar-mark-1):
15217 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15218 Use with-current-buffer.
15219 * emulation/viper.el (viper-delocalize-var): Use dolist.
15221 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15223 * comint.el (comint-replace-by-expanded-history-before-point):
15224 Replace !! with the previous input string literally (Bug#1795).
15226 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15228 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15229 to be made up of whitespace.
15231 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15233 * minibuffer.el (read-file-name): Don't use file dialogs for
15234 remote directories (Bug#99).
15236 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15238 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15240 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15242 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15243 instead of deleting the window or frame.
15245 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15247 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15248 Support face colors.
15250 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15251 New function. Support face colors (Bug#1168).
15252 (tex-common-initialization): Use it.
15254 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15255 mode allows it (Bug#1168).
15257 2009-10-31 Juri Linkov <juri@jurta.org>
15259 * facemenu.el (list-colors-display): Don't mark buffer as
15260 modified (Bug#3948).
15262 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15264 * international/mule-diag.el (list-character-sets-1):
15265 Minor message fix (Bug#3526).
15267 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15268 Fix face property (Bug#4834).
15269 (etags-list-tags, etags-tags-apropos-additional)
15270 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15273 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15276 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15278 * textmodes/two-column.el (2C-split):
15279 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15280 * textmodes/tex-mode.el (tex-set-buffer-directory):
15281 * textmodes/spell.el (spell-region, spell-string):
15282 * textmodes/reftex.el (reftex-erase-buffer):
15283 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15284 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15285 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15286 (reftex-select-item):
15287 * textmodes/reftex-ref.el (reftex-label-info-update)
15288 (reftex-offer-label-menu):
15289 * textmodes/reftex-index.el (reftex-index-change-entry)
15290 (reftex-index-phrases-info):
15291 * textmodes/reftex-global.el (reftex-create-tags-file)
15292 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15293 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15294 (reftex-view-crossref-from-bibtex):
15295 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15296 (reftex-extract-bib-entries-from-thebibliography)
15297 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15298 * textmodes/refbib.el (r2b-capitalize-title):
15299 (r2b-convert-buffer, r2b-help):
15300 * textmodes/page-ext.el (pages-directory)
15301 (pages-directory-goto-with-mouse):
15302 * textmodes/bibtex.el (bibtex-validate-globally):
15303 * textmodes/bib-mode.el (bib-capitalize-title):
15304 * textmodes/artist.el (artist-clear-buffer, artist-system):
15305 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15306 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15307 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15308 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15309 (xscheme-send-control-g-interrupt, xscheme-start-process)
15310 (xscheme-process-sentinel, xscheme-cd):
15311 * progmodes/verilog-mode.el (verilog-read-always-signals)
15312 (verilog-set-define, verilog-getopt-file)
15313 (verilog-module-inside-filename-p):
15314 * progmodes/sh-script.el:
15315 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15316 (python-pdbtrack-grub-for-buffer, python-execute-file):
15317 * progmodes/octave-inf.el (inferior-octave):
15318 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15319 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15320 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15321 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15322 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15323 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15324 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15325 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15326 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15327 (idlwave-shell-examine-display, idlwave-shell-run-region)
15328 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15329 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15330 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15331 (idlwave-help-get-help-buffer):
15332 * progmodes/gud.el (gud-basic-call, gud-find-class)
15333 (gud-tooltip-activate-mouse-motions-if-enabled):
15334 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15335 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15336 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15337 (ebrowse-tags-next-file):
15338 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15339 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15340 (ebnf-eps-finish-and-write):
15341 * progmodes/cpp.el (cpp-edit-save):
15342 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15343 * progmodes/cc-defs.el (c-emacs-features):
15344 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15345 (antlr-directory-dependencies):
15346 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15347 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15348 (ada-find-any-references, ada-make-filename-from-adaname)
15349 (ada-make-body-gnatstub):
15350 * obsolete/rnews.el (news-list-news-groups):
15351 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15352 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15353 * net/rcirc.el (rcirc-debug):
15354 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15355 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15356 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15357 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15358 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15359 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15360 (newsticker--treeview-list-clear-highlight)
15361 (newsticker--treeview-list-update-highlight)
15362 (newsticker--treeview-list-highlight-start)
15363 (newsticker--treeview-tree-update-highlight)
15364 (newsticker--treeview-get-selected-item)
15365 (newsticker-treeview-mark-list-items-old)
15366 (newsticker--treeview-set-current-node):
15367 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15368 * net/newst-backend.el (newsticker--get-news-by-funcall)
15369 (newsticker--get-news-by-wget, newsticker--image-get)
15370 (newsticker--image-sentinel):
15371 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15372 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15373 (eudc-ph-close-session):
15374 * net/eudc.el (eudc-save-options):
15375 * language/thai-word.el (thai-update-word-table):
15376 * language/japan-util.el (japanese-string-conversion):
15377 * international/titdic-cnv.el (tsang-quick-converter)
15378 (ziranma-converter, ctlau-converter):
15379 * international/mule-cmds.el (describe-language-environment):
15380 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15381 (skkdic-convert-postfix, skkdic-convert-prefix):
15382 (skkdic-convert-okuri-nasi, skkdic-convert):
15383 * emacs-lisp/re-builder.el (reb-update-overlays):
15384 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15385 * emacs-lisp/gulp.el (gulp-send-requests):
15386 * emacs-lisp/find-gc.el (trace-call-tree):
15387 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15388 (eieio-describe-generic):
15389 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15390 * emacs-lisp/edebug.el (edebug-outside-excursion):
15391 * emacs-lisp/debug.el (debugger-make-xrefs):
15392 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15393 * emacs-lisp/chart.el (chart-new-buffer):
15394 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15395 Use with-current-buffer.
15396 * textmodes/artist.el (artist-system): Don't call
15397 copy-sequence on a fresh string.
15398 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15400 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15402 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15403 is no item to edit. (Bug#4820)
15404 (todo-top-priorities): Restore point and restore narrowing in Todo
15407 2009-10-31 Glenn Morris <rgm@gnu.org>
15409 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15410 (comint-last-output-start, comint-last-input-start)
15411 (comint-last-input-end): Don't defvar when compiling.
15412 (ange-ftp-process-file): Use bound-and-true-p.
15414 * pcmpl-rpm.el (top-level): Move provide statement to end.
15415 (pcmpl-rpm): Remove unused custom group.
15417 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15419 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15421 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15422 (byte-compile-warnings): Add `constants' as an option.
15423 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15424 (display-call-tree): Update for byte-compile-fdefinition possibly
15425 returning `(macro lambda ...)'. (Bug#4778)
15426 (byte-compile-variable-ref, byte-compile-setq-default):
15427 Respect `constants' member of byte-compile-warnings.
15429 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15432 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15435 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15437 * textmodes/ispell.el (ispell-skip-region-alist):
15438 * international/mule-conf.el (eight-bit):
15439 * international/fontset.el (font-encoding-alist):
15440 * startup.el (pure-space-overflow-message):
15441 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15442 * paths.el (gnus-nntp-service, rmail-spool-directory)
15443 (term-file-prefix):
15444 * files.el (save-some-buffers-action-alist):
15445 * cmuscheme.el (same-window-buffer-names):
15446 * ielm.el (same-window-buffer-names):
15447 * shell.el (same-window-buffer-names):
15448 * mail/sendmail.el (same-window-buffer-names):
15449 * progmodes/inf-lisp.el (same-window-buffer-names):
15450 * bindings.el (mode-line-client)
15451 (mode-line-column-line-number-mode-map):
15452 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15453 (tibetan-precomposed-regexp): Purecopy string arguments.
15455 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15458 (calcDigit-nondigit):
15459 * calc/calc-yank.el (calc-copy-to-buffer):
15460 * calc/calc-units.el (calc-invalidate-units-table):
15461 * calc/calc-trail.el (calc-trail-yank):
15462 * calc/calc-store.el (calc-insert-variables):
15463 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15464 * calc/calc-prog.el (calc-read-parse-table):
15465 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15466 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15467 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15468 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15469 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15470 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15471 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15472 * calc/calc-ext.el (calc-realign):
15473 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15474 (calc-embedded-finish-edit, calc-embedded-make-info)
15475 (calc-embedded-finish-command, calc-embedded-stack-change):
15476 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15478 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15479 shell-dynamic-complete-filename in preference to
15480 comint-dynamic-complete-filename.
15482 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15483 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15484 Don't consider whether the display supports colors.
15485 (bookmark-import-new-list): Use dolist.
15486 (bookmark-bmenu-mode-map): Move initialization into declaration.
15487 (bookmark-bmenu-list): Use dolist, simplify.
15488 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15489 (menu-bar-final-items): Use push.
15491 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15493 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15494 it works on remote files.
15495 (vc-hg-diff): Don't pass any `--cwd' argument.
15497 2009-10-27 Kevin Ryde <user42@zip.com.au>
15499 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15500 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15501 (Further to Bug#3921).
15503 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15505 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15506 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15507 calling `tramp-imap-put-file'. Add file size to the call.
15508 (tramp-imap-get-file-entries): Compute also user name, file size,
15510 (tramp-imap-handle-insert-directory): Insert uid and gid.
15511 (tramp-imap-handle-file-attributes): Transform uid and gid
15512 according to `id-format'.
15513 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15514 size in header X-Size.
15516 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15518 * simple.el (transpose-subr): Give clearer error when the mark
15519 is not set. (Bug#4807)
15521 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15523 * net/tramp.el (tramp-perl-file-truename): New defconst.
15524 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15525 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15526 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15527 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15529 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15530 Ignore `dired-call-process'.
15531 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15533 2009-10-26 Julian Scheid <julians37@gmail.com>
15535 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15536 (tramp-get-remote-readlink): New defun.
15537 (tramp-handle-file-truename): Use it.
15538 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15539 file exists if cache value present.
15540 (tramp-check-cached-permissions): New defun.
15541 (tramp-handle-file-readable-p): Use it.
15542 (tramp-handle-file-writable-p): Likewise.
15543 (tramp-handle-file-executable-p): Likewise.
15544 (tramp-handle-file-name-all-completions): Try using Perl to get
15545 partial completions. When perl not available, combine `cd' and
15546 `ls' into single remote operation and use shell expansion to get
15547 partial remote directory contents. Set `file-exists-p' cache for
15548 directory and any files returned by ls. Change cache handling to
15549 support partial directory contents. Use error message emitted by
15550 remote `cd' or Perl code for local tramp-error.
15551 (tramp-do-copy-or-rename-file-directly): Avoid separate
15552 tramp-send-command-and-check call.
15553 (tramp-handle-process-file): Merge three remote ops into one.
15554 Do not flush all caches when `process-file-side-effects' is set.
15555 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15556 file-attributes shows uid/gid to be set already.
15558 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15560 * textmodes/tex-mode.el (tex-dvi-view-command)
15561 (tex-show-queue-command, tex-open-quote):
15562 * progmodes/ruby-mode.el (auto-mode-alist)
15563 (interpreter-mode-alist): Purecopy strings.
15565 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15567 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15568 string for the hook, keymap and abbrev table.
15570 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15572 * x-dnd.el (x-dnd-xdnd-to-action):
15573 * startup.el (fancy-startup-text, fancy-about-text): Change to
15574 defconst from defvar.
15576 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15578 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15579 Purecopy initialization strings.
15581 * mail/sendmail.el (mail-header-separator)
15582 (mail-personal-alias-file):
15583 * mail/rmail.el (rmail-default-dont-reply-to-names)
15584 (rmail-ignored-headers, rmail-retry-ignored-headers)
15585 (rmail-highlighted-headers, rmail-secondary-file-directory)
15586 (rmail-secondary-file-regexp):
15587 * files.el (null-device, file-name-invalid-regexp)
15588 (locate-dominating-stop-dir-regexp)
15589 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15590 (interpreter-mode-alist): Use mapcar instead of mapc.
15592 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15594 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15595 (completion-ignored-extensions):
15596 (debug-ignored-errors): Purecopy strings.
15598 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15600 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15601 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15602 (pcomplete--here): Use push.
15604 * subr.el (all-completions): Declare the 4th arg obsolete.
15606 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15608 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15609 (pcomplete-unquote-argument): New function.
15610 (pcomplete--common-suffix): Always pay attention to case.
15611 (pcomplete--table-subvert): Quote and unquote the text.
15612 (pcomplete--common-quoted-suffix): New function.
15613 (pcomplete-std-complete): Use it and pcomplete-begin.
15615 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15616 we're inside a dedicated or minibuffer window.
15618 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15620 * bookmark.el: Update documentation, especially documentation
15621 of `bookmark-alist' and of the bookmark file format.
15622 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15624 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15626 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15627 keybindings apply to the mail buffer (Bug#4003). Shrink help
15630 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15631 (global-whitespace-mode, global-whitespace-newline-mode)
15632 (whitespace-toggle-options, global-whitespace-toggle-options):
15633 Doc fix (Bug#3660).
15635 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15636 of xmltok-start before the end tag was inserted (Bug#2840).
15638 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15639 patterns that are preceded by an open-paren (Bug#1320).
15641 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15643 * files.el (delete-directory): Delete symlinks to directories with
15644 delete-file (Bug#4739).
15646 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15648 * vc.el (vc-backend-for-registration): Rename from
15649 vc-get-backend-for-registration. Update callers.
15651 * international/mule-cmds.el (set-language-info-alist):
15653 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15654 (charset): Purecopy the name.
15655 (define-char-code-property): Purecopy string arguments.
15657 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15658 Purecopy string arguments.
15660 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15661 * ediff-hook.el (menu-bar-ediff-menu):
15662 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15663 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15665 2009-10-24 Glenn Morris <rgm@gnu.org>
15667 * comint.el (comint-dynamic-list-completions):
15668 * term.el (term-dynamic-list-completions): Use choose-completion rather
15669 than obsolete alias mouse-choose-completion.
15671 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15672 file-cache-choose-completion.
15673 (file-cache-choose-completion): Handle an optional event argument.
15674 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15676 * progmodes/octave-mod.el (octave-complete-symbol):
15677 Use choose-completion if mouse-choose-completion is ever removed.
15679 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15682 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15685 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15687 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15689 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15690 Ignore `pred' now that we receive one.
15691 Handle test-completion specially.
15693 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15695 * vc.el (vc-responsible-backend): Throw an error if not backend is
15696 found. Remove the REGISTER argument. Move the code dealing with
15698 (vc-get-backend-for-registration): ... here. New function.
15699 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15700 of vc-responsible-backend, pass the file name instead of the
15703 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15705 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15707 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15708 (pcomplete-comint-setup): Don't modify a global var via
15709 accidental side-effects.
15710 (pcomplete-shell-setup): Adjust call accordingly.
15711 (pcomplete-parse-comint-arguments): Use push.
15713 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15715 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15716 Allow uncapitalized info node names (Bug#3921).
15718 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15719 to the DEBUG file (Bug#3781).
15721 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15723 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15724 dictionary entry (Bug#4579).
15726 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15728 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15729 from `rfn-eshadow-update-overlay-hook' when unloading.
15730 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15731 "rsyncc". Adjust doc string.
15732 (tramp-temp-buffer-file-name): New buffer-local defvar.
15733 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15734 Keep temporary file when indicated by method ("rsync" and
15736 (tramp-handle-write-region): Handle APPEND.
15737 (tramp-delete-temp-file-function): New defun. Added to
15738 `kill-buffer-hook'.
15740 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15742 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15744 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15746 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15747 (color-name-rgb-alist, tty-standard-colors)
15748 (tty-color-mode-alist): Change to defconst.
15750 * simple.el (mark-inactive): Purecopy message.
15752 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15753 (global-map, yank-menu):
15754 * textmodes/ispell.el (ispell-menu-map):
15755 * net/eudc.el (eudc-tools-menu):
15756 * international/mule-cmds.el (describe-language-environment-map)
15757 (setup-language-environment-map, set-coding-system-map)
15758 (mule-menu-keymap):
15759 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15760 * replace.el (occur-mode-map):
15761 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15763 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15765 * calc/calc.el (math-read-number, math-read-number-simple):
15766 Use `save-match-data'.
15768 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15771 rather than fiddling with global-map bindings, since it should only
15772 affect per-terminal settings.
15773 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15775 * minibuffer.el (completion-table-with-terminator): Allow to specify
15776 the terminator-regexp.
15778 * simple.el (switch-to-completions): Look for *Completions* in other
15781 * pcomplete.el: Allow the use of completion-tables.
15782 (pcomplete-std-complete): New command.
15783 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15784 (pcomplete--here): Use a function for `form' rather than an expression,
15785 so it can be byte-compiled.
15786 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15787 Add edebug declaration.
15788 (pcomplete-show-completions): Remove unused var `curbuf'.
15789 (pcomplete-do-complete, pcomplete-stub):
15790 Don't assume `completions' is a list of strings any more.
15792 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15794 * find-dired.el (find-name-arg): Fix typo in docstring.
15796 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15798 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15799 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15801 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15804 * comint.el (comint-read-input-ring, comint-write-input-ring)
15805 (comint-substitute-in-file-name)
15806 (comint-dynamic-complete-as-filename)
15807 (comint-dynamic-simple-complete)
15808 (comint-dynamic-list-filename-completions)
15809 (comint-dynamic-list-completions)
15810 (comint-redirect-results-list-from-process): Minor simplifications.
15812 2009-10-21 Kevin Ryde <user42@zip.com.au>
15814 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15815 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15816 the first form. And insert a blank line after ";;; Code" since
15817 that's usual style. (Bug#4612)
15819 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15821 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15823 * minibuffer.el (completion-table-with-terminator): Properly implement
15824 boundaries, in case `terminator' appears in the suffix.
15825 (completion--embedded-envvar-table): Don't return boundaries if
15826 there's no valid completion. Simplify.
15827 (completion-file-name-table): New completion table extracted from
15828 completion--file-name-table.
15829 (completion--file-name-table): Use it.
15830 (read-file-name-predicate): Declare obsolete.
15831 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15832 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15833 completion-file-name-table, and use the `pred' argument.
15834 * files.el (locate-file-completion-table): Use the `pred' arg rather
15835 than read-file-name-predicate.
15836 (abbreviate-file-name): Use \` rather than ^ for BOS.
15838 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15840 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15841 vc-responsible-backend to register, it causes problems.
15843 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15845 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15847 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15849 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15850 (tramp-smb-handle-file-attributes): Use it.
15851 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15852 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15853 `mapcar'. Use `tramp-smb-get-stat-capability'.
15854 Add `dired-filename' text properties.
15855 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15856 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15859 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15861 * subr.el (read-key-delay): Reduce to 0.01.
15862 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15865 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15867 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15869 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15870 (Info-menu): Remove unused vars `last' and `completions'.
15871 (Info-index-nodes): Remove unused var `node'.
15873 * info.el (Info-complete-menu-item): Use complete-with-action.
15875 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15877 Make vc-annotate work through copies and renames.
15878 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15879 Return the file name too.
15880 (vc-annotate-revision-at-line)
15881 (vc-annotate-find-revision-at-line)
15882 (vc-annotate-revision-previous-to-line)
15883 (vc-annotate-show-log-revision-at-line): Update to get the file
15884 name from vc-annotate-extract-revision-at-line.
15885 (vc-annotate-show-diff-revision-at-line-internal): Change the
15886 argument to mean whether to show a file diff or not. Get the file
15887 name from vc-annotate-extract-revision-at-line.
15888 (vc-annotate-show-diff-revision-at-line):
15889 Update vc-annotate-show-diff-revision-at-line call.
15890 (vc-annotate-warp-revision): Add an optional file argument.
15892 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15893 (vc-git-annotate-extract-revision-at-line): Also return the file
15896 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15897 command. Remove unused code.
15898 (vc-hg-annotate-re): Update to match --follow output.
15899 (vc-hg-annotate-extract-revision-at-line): Also return the file
15902 * vc.el: Update annotate-extract-revision-at-line documentation.
15904 2009-10-18 Kevin Ryde <user42@zip.com.au>
15906 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15907 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15909 * net/browse-url.el (browse-url): Identify alist with "consp and
15910 not functionp" and let all other things go down the `apply' leg,
15911 as suggested by Stefan. (Further to bug#4531.)
15913 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15915 * minibuffer.el (read-file-name): Check for repeat before putting
15916 a default argument in file-name-history (Bug#4657).
15918 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15919 read syntax (Bug#4737).
15921 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15923 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15925 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15926 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15927 entries and make note of obsolete tags.
15929 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15931 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15933 2009-10-18 Glenn Morris <rgm@gnu.org>
15935 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15936 grep, so that binary files (eg international/uni-bidi.el) can match.
15937 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15938 now, and in any case the file header format has changed.
15940 2009-10-17 Glenn Morris <rgm@gnu.org>
15942 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15943 (flyspell-get-word, flyspell-large-region)
15944 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15946 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15948 * Makefile.in (ELCFILES): Add ede/shell.
15950 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15952 * term/common-win.el (x-colors): Purecopy it.
15954 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15956 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15957 permissive for when the buffer is empty.
15958 (tar-header-block-tokenize): Decode the username and groupname.
15959 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15961 2009-10-17 Eric Ludlam <zappo@gnu.org>
15963 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15964 contains multibyte characters, choose first applicable coding
15965 system automatically.
15967 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15969 * international/mule-cmds.el (select-safe-coding-system): If the file
15970 has a coding cookie, use it regardless of any other setting (bug#4712).
15972 2009-10-17 Glenn Morris <rgm@gnu.org>
15974 * foldout.el (foldout-mouse-swallow-events):
15975 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15977 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15978 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15979 (dired-keep-marker-symlink, dired-dwim-target)
15980 (dired-copy-preserve-time): Do not autoload these defcustoms.
15982 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15983 messages from messing up the file coding. (Bug#4623)
15985 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15987 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15988 if no match is found for the current dictionary. (Bug#4578)
15990 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15991 optional, since that is how it is documented, and this is often called
15992 with a nil argument. (Bug#4577)
15993 (flyspell-external-point-words, flyspell-auto-correct-word)
15994 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15995 (flyspell-word-search-backward): Remove nil argument in calls to
15996 flyspell-get-word, since it is not needed now.
15998 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16000 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16002 2009-10-16 Glenn Morris <rgm@gnu.org>
16004 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16006 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16008 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16009 (ange-ftp-file-size): New function.
16010 (ange-ftp-file-attributes): Use it.
16012 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16014 * net/tramp-smb.el (tramp-smb-version): New defvar.
16015 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16018 2009-10-16 Glenn Morris <rgm@gnu.org>
16020 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16021 Maybe copy some custom properties from old to new name. (Bug#4706)
16023 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16025 * subr.el (error, sit-for, start-process-shell-command)
16026 (start-file-process-shell-command): Set the calling convention
16027 after the function definition.
16029 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * subr.el (error, sit-for, start-process-shell-command)
16032 (start-file-process-shell-command): Use the new
16033 set-advertised-calling-convention feature.
16035 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16037 * international/ucs-normalize.el (ucs-normalize-version):
16039 (check-range): Adjust for Unicode 5.2.
16041 2009-10-15 Juri Linkov <juri@jurta.org>
16043 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16044 to the `menu-item' format.
16046 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16048 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16049 if the environment variable does not exist.
16051 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16052 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16054 (tramp-smb-handle-add-name-to-file)
16055 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16056 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16057 (tramp-smb-handle-file-attributes)
16058 (tramp-smb-do-file-attributes-with-stat)
16059 (tramp-smb-handle-file-local-copy)
16060 (tramp-smb-handle-insert-directory)
16061 (tramp-smb-handle-make-directory)
16062 (tramp-smb-handle-make-directory-internal)
16063 (tramp-smb-handle-make-symbolic-link)
16064 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16065 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16066 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16067 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16068 Handle long file names.
16069 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16070 process is running.
16071 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16072 Read share names with "-g" option.
16074 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16076 * net/rcirc.el (rcirc-view-log-file): New command.
16077 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16078 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16081 2009-10-15 Glenn Morris <rgm@gnu.org>
16083 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16084 from the second command-line argument.
16085 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16086 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16087 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16088 w32-batch-update-autoloads.
16089 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16090 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16092 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16093 the headers cannot be located. Simplify, subtracting superflous
16096 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16098 Replace completion-base-size by completion-base-position to fix bugs
16099 such as (bug#4699).
16100 * simple.el (completion-base-position): New var.
16101 (completion-base-size): Mark as obsolete.
16102 (choose-completion): Make it work for mouse events as well.
16103 Pass the new base-position to choose-completion-string.
16104 (choose-completion-guess-base-position): New function, extracted from
16105 choose-completion-delete-max-match.
16106 (choose-completion-delete-max-match): Use it. Make obsolete.
16107 (choose-completion-string): Use the new base-position info.
16108 (completion-root-regexp): Delete.
16109 (completion-setup-function): Preserve completion-base-position.
16110 Eliminate obsolete base-size manipulation.
16111 * minibuffer.el (display-completion-list): Don't mess with base-size.
16112 (minibuffer-completion-help): Set completion-base-position instead.
16113 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16115 * textmodes/bibtex.el (bibtex-complete):
16116 * emacs-lisp/crm.el (crm--choose-completion-string):
16117 Adjust to new calling convention.
16118 * complete.el (partial-completion-mode): Use minibufferp to avoid
16119 bumping into incompatible change to choose-completion-string-functions.
16120 * ido.el (ido-choose-completion-string): Make its calling convention
16122 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16123 base-size manipulation.
16124 (comint-dynamic-list-input-ring): Use dotimes and push.
16125 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16126 fundamental-mode. Use `or'.
16128 2009-10-14 Juri Linkov <juri@jurta.org>
16130 * misearch.el (multi-isearch-next-buffer-from-list)
16131 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16133 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16135 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16138 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16139 string we return is all made up of text from the completions rather
16140 than part from the completions and part from the input (bug#4219).
16142 * ido.el (ido-everywhere): Use define-minor-mode.
16144 * buff-menu.el (list-buffers, ctl-x-map):
16145 Mark the entry points with ;;;###autoload cookies.
16147 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16149 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16150 correctly in the detached head case.
16151 (vc-git-print-log): Remove unused binding.
16153 * vc.el (vc-responsible-backend): When a directory is passed for
16154 for registration create a VC repository if no backend is
16155 responsible for the directory argument.
16156 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16158 * vc.el: Move comments about RCS and SCCS ...
16160 * vc-sccs.el: ... here, respectively.
16162 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16164 * minibuffer.el (completion--file-name-table): Return nil if there's
16165 no file completion, even if substitute-in-file-name changed
16166 the string (bug#4708).
16168 2009-10-13 Juri Linkov <juri@jurta.org>
16170 * files-x.el (read-file-local-variable-value): Don't filter out
16171 minor modes from mode name completion (bug#4664).
16173 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16175 * international/mule-cmds.el (ucs-names): Remove exclusion of
16176 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16178 2009-10-13 Kenichi Handa <handa@m17n.org>
16180 * international/uni-name.el: Regenerated.
16182 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16184 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16185 should be automatically buffer-local, but isn't.)
16187 2009-10-12 Sam Steingold <sds@gnu.org>
16189 * progmodes/compile.el (compilation-next-error-function): Fix the
16190 timestamps if the buffer has been visited before.
16191 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16192 non-anchored patterns, like the perl one (bug#3928).
16194 2009-10-12 Glenn Morris <rgm@gnu.org>
16196 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16199 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16201 * proced.el (proced-unload-function): New function.
16203 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16204 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16207 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16209 2009-10-11 Juri Linkov <juri@jurta.org>
16211 * files-x.el (read-file-local-variable-value):
16212 Provide default value only for bound variables (bug#4664).
16214 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16216 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16217 connection methods like smb.
16219 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16222 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16223 (tramp-smb-file-name-handler-alist): Add handlers for
16224 `add-name-to-file', `make-symbolic-link'.
16225 (tramp-smb-handle-add-name-to-file)
16226 (tramp-smb-do-file-attributes-with-stat)
16227 (tramp-smb-handle-make-symbolic-link)
16228 (tramp-smb-get-cifs-capabilities): New defuns.
16229 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16230 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16231 (tramp-smb-handle-file-local-copy)
16232 (tramp-smb-handle-make-directory-internal)
16233 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16234 The file name syntax depends on cifs capabilities.
16235 (tramp-smb-handle-file-attributes):
16236 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16237 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16238 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16240 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16242 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16243 (eieio-defclass): Apply deftype handler and setf-method properties
16245 (eieio-add-new-slot): Avoid union function from cl library.
16246 (eieio--typep): New function.
16247 (eieio-perform-slot-validation): Use it.
16249 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16251 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16252 Update documentation to refer to the variables documented in r1.135.
16255 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16257 * bookmark.el (Info-suffix-list): Remove this unused variable.
16258 (bookmark-current-point): Remove this obsolete variable.
16259 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16260 Adjust for removal of bookmark-current-point.
16262 (bookmarks-already-loaded, bookmark-current-buffer)
16263 (bookmark-yank-point): Document. (Bug#4188)
16265 2009-10-10 Glenn Morris <rgm@gnu.org>
16267 * frame.el (frame-height): Doc fix.
16269 * calendar/calendar.el (calendar-split-width-threshold): New option.
16270 (calendar-basic-setup): Use calendar-split-width-threshold.
16272 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16274 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16275 Ideographic Supplement" range (U+1F200..U+1F2FF).
16277 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16279 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16280 since the list will have been rebuilt anyway. (Bug#4349)
16282 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16284 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16285 (bookmark-bmenu-execute-deletions): Don't save here, as
16286 bookmark-delete will now do so if necessary.
16287 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16290 2009-10-09 Glenn Morris <rgm@gnu.org>
16292 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16294 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16296 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16297 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16298 argument now, so the two function's behaviors will match. (Bug#3645)
16300 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16302 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16303 (tramp-file-name-real-host, tramp-file-name-port):
16304 Apply `save-match-data'.
16306 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16307 case both directories are remote.
16308 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16309 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16311 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16313 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16315 2009-10-07 Glenn Morris <rgm@gnu.org>
16317 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16320 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * files-x.el (read-file-local-variable): Include some
16323 non-user-variables in the completion table (bug#4664).
16325 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16327 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16330 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16331 (tramp-smb-file-name-handler-alist): Add handler for
16332 `copy-directory', `expand-file-name', `set-file-modes'.
16333 (tramp-smb-handle-copy-directory)
16334 (tramp-smb-handle-expand-file-name)
16335 (tramp-smb-handle-set-file-modes): New defuns.
16336 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16337 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16339 (tramp-smb-handle-insert-directory): Don't flush the cache.
16340 (tramp-smb-maybe-open-connection): Check for samba client and
16343 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16345 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16346 to not error out of search for "^lisp=" fails.
16348 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16350 * makefile.w32-in (WINS_UPDATES): New macro.
16351 (custom-deps, finder-data, autoloads): Use it.
16353 2009-10-07 Glenn Morris <rgm@gnu.org>
16355 * Makefile.in (autoloads): Revert previous change.
16356 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16357 the list of preloaded files passed on the command-line, get
16358 it from src/Makefile.
16360 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16361 show the original buffer rather than a random one.
16363 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16365 * help.el (describe-no-warranty): Place point in a slightly better
16366 position in the GPLv3 text.
16368 2009-10-06 Sam Steingold <sds@gnu.org>
16370 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16371 the comm attribute is present before calling regexp-quote.
16373 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16375 * play/animate.el (animate-string): For good effect, make sure
16376 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16378 * play/animate.el (animate-sequence, animate-birthday-present):
16379 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16381 2009-10-06 Glenn Morris <rgm@gnu.org>
16383 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16385 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16386 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16387 (batch-update-autoloads): Process a string value of autoload-excludes,
16388 set during the build process.
16389 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16391 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16392 inside with-parsed... macro so that `v' is defined.
16394 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16395 * progmodes/fortran.el (fortran-end-of-block)
16396 (fortran-beginning-of-block):
16397 Also push mark in the macro case.
16399 * emerge.el (emerge-show-file-name):
16400 * calc/calc.el (calc-quit):
16401 * calc/calc-misc.el (calc-big-or-small):
16402 * calc/calc-graph.el (calc-graph-view):
16403 * calc/calc-ext.el (calc-reset):
16404 * calendar/calendar.el (calendar-basic-setup):
16405 Use window-full-height-p.
16407 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16408 header we don't understand, don't insert another. (Bug#4624)
16409 If changing mime charset, insert the new one in the right place.
16411 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16413 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16414 (cal-tex-cursor-month): Correctly increment the end date for diary and
16415 holiday listing. (Bug#4626)
16417 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16419 * help-fns.el (describe-function-1): Don't burp if the function is not
16422 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16424 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16425 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16426 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16427 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16429 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16430 (eieio-default-superclass): Reflow docstrings.
16431 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16432 (eieio-unbind-method-implementations, defmethod)
16433 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16434 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16435 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16436 (eieio-slot-originating-class-p, eieio-slot-name-index)
16437 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16438 (constructor, initialize-instance, no-next-method, object-print)
16439 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16440 Fix typos in docstrings.
16441 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16442 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16443 (next-method-p): Doc fixes.
16444 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16445 Fix typos in error messages.
16446 (eieio-defmethod): Fix typo in description of generic method.
16448 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16449 (eieio-persistent-save-interactive, slot-missing):
16450 Fix typos in docstrings.
16451 (eieio-instance-inheritor-slot-boundp): Doc fix.
16453 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16454 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16456 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16457 (eieio-custom-object-apply-reset):
16458 Fix typos in docstrings and error messages.
16460 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16461 Fix typo in docstring.
16463 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16464 (eieio-browse-tree): Doc fix.
16465 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16466 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16467 Fix typos in docstrings.
16469 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16470 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16471 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16472 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16475 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16477 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16478 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16479 Set log-view-vc-backend so that diff can work.
16481 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16483 (vc-diff-internal): Autoload this instead of vc-version-diff.
16485 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16487 * simple.el (eval-expression): Doc fix.
16489 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16491 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16493 * files.el (directory-files-no-dot-files-regexp): New defconst.
16494 (delete-directory): Use it.
16495 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16497 * net/tramp.el (tramp-verbose): Fix docstring.
16498 (tramp-methods): Add recursive option to `tramp-copy-args'.
16499 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16500 "scp1_old", "scp2_old", "rsync", "rsyncc".
16501 (tramp-default-method): Check also for `auth-source-user-or-password'.
16502 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16503 Add handler for `copy-directory'.
16504 (tramp-handle-copy-directory): New defun.
16505 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16506 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16507 Optimize sent command.
16509 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16511 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16512 window if necessary.
16514 * calendar/calendar.el (calendar-basic-setup): Don't call
16515 switch-to-buffer in a dedicated window.
16517 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16519 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16520 don't do anything related to relocating, just return nil.
16521 (bookmark-error-no-filename): New error.
16522 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16523 bookmark has no file. Don't even attempt to handle things that
16524 are not files; the whole point of custom handlers is to keep that
16525 knowledge elsewhere anyway. Tighten some comments.
16526 (bookmark-file-or-variation-thereof): Remove now-unused function.
16527 (bookmark-location): Doc string fix.
16530 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16532 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16533 don't use a file dialog, because they usually don't know how to read
16534 a directory target from the user. (Bug#4230)
16535 Also, make sure the prompt can display directories as well as files.
16537 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16539 * bookmark.el (bookmark-set, bookmark-buffer-name):
16540 Improve doc strings. (Bug#1193)
16542 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16544 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16545 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16546 (bookmark-get-annotation, bookmark-set-annotation)
16547 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16548 (bookmark-set-position, bookmark-get-front-context-string)
16549 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16550 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16551 (bookmark-jump-other-window, bookmark-handle-bookmark)
16552 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16553 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16554 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16555 Improve doc strings to say whether bookmark can be a string or
16556 a record or both, and make other consistency and clarity fixes.
16557 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16558 (bookmark-default-annotation-text, bookmark-yank-word)
16559 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16560 (bookmark-import-new-list, bookmark-maybe-rename)
16561 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16562 (bookmark-bmenu-bookmark): Give these doc strings.
16563 (bookmark-bmenu-check-position): Give this a doc string, but also
16564 add a FIXME comment about how the function may be pointless.
16565 (bookmark-default-handler): Rework doc string and change a
16566 parameter name, to clarify that this takes a bookmark record
16567 not a bookmark name.
16568 (bookmark-set): Change a parameter name to indicate its meaning,
16569 and improve the doc string a bit.
16572 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16574 * bookmark.el (bookmark-alist): Document the new `handler' element
16575 in the param alist.
16576 (bookmark-make-record-function): Adjust documentation for above.
16579 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16581 * info.el (Info-bookmark-make-record): Document this function.
16582 (Info-bookmark-jump): Document with a doc string, not just a comment.
16585 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16587 * files.el (copy-directory): New defun.
16589 * dired-aux.el (dired-copy-file-recursive): Use it.
16591 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16593 * files-x.el (modify-dir-local-variable)
16594 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16597 * recentf.el (recentf-unload-function): New function.
16599 2009-10-04 Glenn Morris <rgm@gnu.org>
16601 * window.el (window-full-height-p): Add doc string.
16603 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16605 * window.el (window-full-height-p): New function. (Bug#4543)
16607 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16609 * vc.el: Remove commented out code.
16610 (vc-derived-from-dir-mode): Remove, unused.
16611 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16613 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16615 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16616 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16617 there could be recursive loading when `default-directory' is a
16618 remote file name. (Bug#4614)
16620 2009-10-03 Glenn Morris <rgm@gnu.org>
16622 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16624 (calendar-generate-window): Test for shrinkability rather than width.
16626 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16627 reusing existing buffers, in case we happen to visit two files with the
16628 same basename. (Bug#4593)
16630 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16632 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16633 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16634 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16635 subdirs of cedet as well.
16636 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16638 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16640 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16641 Obey advertised-signature-table.
16643 * help-fns.el (help-function-arglist): Don't check
16644 advertised-signature-table.
16645 (describe-function-1): Do it here instead so it also applies to subrs.
16647 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16649 * simple.el (start-file-process): Say in the doc-string, that file
16650 handlers might not support pty association, if PROGRAM is nil.
16652 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16653 HOST and USER are strings. They are nil, when there are
16654 incomplete entries in ~/.netrc, for example.
16655 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16656 root directory ("device busy" error otherwise).
16658 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16659 Flush file properties of created directory.
16661 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16663 * makefile.w32-in (WINS_BASIC): Remove cedet.
16664 (WINS_CEDET): Add cedet.
16665 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16667 2009-10-02 Kevin Ryde <user42@zip.com.au>
16669 * net/browse-url.el (browse-url): Pass any symbol in
16670 browse-url-browser-function to `apply', since if you've mistakenly put
16671 an unbound symbol then the error is clearer. (Bug#4531)
16673 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16675 * allout.el (allout-init, allout-back-to-current-heading)
16676 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16677 (allout-ascend, allout-up-current-level, allout-end-of-level)
16678 (allout-previous-visible-heading, allout-forward-current-level)
16679 (allout-backward-current-level, allout-show-children):
16680 * apropos.el (apropos-describe-plist):
16681 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16682 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16683 * completion.el (add-completion, add-permanent-completion):
16684 * descr-text.el (describe-text-category, describe-char):
16685 * desktop.el (desktop-lazy-abort):
16686 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16687 * dired.el (dired-build-subdir-alist):
16688 * ediff.el (ediff-version):
16689 * elide-head.el (elide-head, elide-head-show):
16690 * emerge.el (emerge-version):
16692 * face-remap.el (variable-pitch-mode):
16693 * faces.el (describe-face):
16694 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16696 * files.el (find-file-existing, auto-save-mode):
16697 * font-lock.el (font-lock-fontify-buffer):
16698 * help-fns.el (describe-function, describe-variable)
16699 (describe-syntax, describe-categories):
16700 * help.el (view-lossage, describe-bindings, describe-key)
16702 * hexl.el (hexl-current-address):
16703 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16704 * info.el (Info-goto-emacs-key-command-node):
16705 * log-edit.el (log-edit-insert-cvs-template)
16706 (log-edit-insert-cvs-rcstemplate):
16707 * menu-bar.el (menu-bar-mode):
16708 * mouse.el (mouse-appearance-menu):
16709 * newcomment.el (comment-indent-new-line):
16710 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16711 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16712 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16713 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16714 * recentf.el (recentf-mode):
16715 * savehist.el (savehist-mode, savehist-save):
16716 * shadowfile.el (shadow-copy-files):
16717 * simple.el (kill-ring-save, next-line, previous-line)
16718 (normal-erase-is-backspace-mode):
16719 * strokes.el (strokes-update-window-configuration)
16720 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16721 (strokes-xpm-for-stroke):
16722 * time.el (emacs-uptime, emacs-init-time):
16723 * tutorial.el (tutorial--describe-nonstandard-key)
16724 (tutorial--detailed-help):
16725 * type-break.el (type-break-mode)
16726 (type-break-mode-line-message-mode, type-break-query-mode)
16727 (type-break-guesstimate-keystroke-threshold):
16728 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16729 * version.el (emacs-version):
16730 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16731 * winner.el (winner-mode):
16732 * calendar/timeclock.el (timeclock-in, timeclock-out)
16733 (timeclock-status-string, timeclock-change)
16734 (timeclock-workday-remaining-string)
16735 (timeclock-workday-elapsed-string)
16736 (timeclock-when-to-leave-string):
16737 * calendar/todo-mode.el (todo-add-category):
16738 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16739 * emacs-lisp/autoload.el (update-file-autoloads):
16740 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16741 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16742 (checkdoc-message-text, checkdoc-defun):
16743 * emacs-lisp/debug.el (debugger-list-functions):
16744 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16745 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16746 (eieio-describe-generic):
16747 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16748 * emacs-lisp/shadow.el (list-load-path-shadows):
16749 * emulation/cua-base.el (cua-mode):
16750 * emulation/edt.el (edt-set-scroll-margins):
16751 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16752 (tpu-toggle-regexp, tpu-toggle-search-direction)
16753 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16754 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16755 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16756 (viper-set-parsing-style-toggling-macro)
16757 (viper-set-emacs-state-searchstyle-macros):
16758 * emulation/viper.el (viper-set-hooks):
16759 * eshell/esh-mode.el (eshell-truncate-buffer):
16760 * international/mule-cmds.el (prefer-coding-system)
16761 (describe-input-method, describe-language-environment):
16762 * international/mule-diag.el (list-character-sets)
16763 (describe-character-set, describe-coding-system)
16764 (describe-fontset, list-fontsets, list-input-methods):
16765 * mail/sendmail.el (mail-signature):
16766 * net/ange-ftp.el (ange-ftp-copy-file):
16767 * net/browse-url.el (browse-url):
16768 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16769 * net/quickurl.el (quickurl-add-url):
16770 * net/rcirc.el (names, topic):
16771 * net/xesam.el (xesam-mode):
16772 * play/5x5.el (5x5-new-game):
16773 * play/yow.el (apropos-zippy):
16774 * progmodes/ada-mode.el (ada-mode-version):
16775 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16777 (f90-beginning-of-block):
16778 * progmodes/fortran.el (fortran-end-of-block)
16779 (fortran-beginning-of-block):
16780 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16781 * progmodes/python.el (python-describe-symbol, python-shell):
16782 * term/ns-win.el (ns-print-buffer):
16783 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16784 * textmodes/flyspell.el (flyspell-mode-on):
16785 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16786 (pages-directory-for-addresses):
16787 * textmodes/table.el (table-recognize-cell)
16788 (table-query-dimension, table-generate-source)
16789 (table-insert-sequence, table--warn-incompatibility):
16790 * textmodes/tex-mode.el (tex-validate-buffer):
16791 * textmodes/texinfmt.el (texinfmt-version)
16792 (texinfo-format-buffer):
16793 Use `called-interactively-p' instead of `interactive-p'.
16795 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16797 * image-mode.el (image-toggle-display):
16798 * emacs-lisp/elp.el (elp-instrument-function):
16799 * emacs-lisp/advice.el (ad-make-advised-definition):
16800 * emacs-lisp/easy-mmode.el (define-minor-mode):
16801 * net/browse-url.el (browse-url-maybe-new-window):
16802 * progmodes/sh-script.el (sh-learn-buffer-indent):
16803 Pass new argument 'any to `called-interactively-p'.
16805 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16807 * international/uni-bidi.el:
16808 * international/uni-category.el:
16809 * international/uni-combining.el:
16810 * international/uni-comment.el:
16811 * international/uni-decimal.el:
16812 * international/uni-decomposition.el:
16813 * international/uni-digit.el:
16814 * international/uni-lowercase.el:
16815 * international/uni-mirrored.el:
16816 * international/uni-name.el:
16817 * international/uni-numeric.el:
16818 * international/uni-old-name.el:
16819 * international/uni-titlecase.el:
16820 * international/uni-uppercase.el:
16821 Regenerate from Unicode 5.2.0 data.
16823 2009-10-01 Glenn Morris <rgm@gnu.org>
16825 * Makefile.in (ELCFILES): Regenerate.
16827 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16829 * subr.el (interactive-p): Mark obsolete.
16830 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16831 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16832 advertised-signature-table for subroutines as well.
16834 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16835 (set-advertised-calling-convention): New function.
16836 (make-obsolete, define-obsolete-function-alias)
16837 (make-obsolete-variable, define-obsolete-variable-alias):
16838 Make the optional-ness of `when' obsolete.
16839 (define-obsolete-face-alias): Make `when' non-optional.
16840 * help-fns.el (help-function-arglist):
16841 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16842 Use advertised-signature-table.
16844 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16846 * files.el (delete-directory): New defun. The original function
16847 in fileio.c has been renamed to `delete-directory-internal'.
16849 * dired.el (dired-delete-file): Call `delete-directory' with
16850 RECURSIVE parameter.
16852 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16853 parameter RECURSIVE. Implementation is missing.
16855 * net/tramp.el (tramp-handle-make-directory): Flush upper
16856 directory's file properties.
16857 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16858 (tramp-handle-dired-recursive-delete-directory): Flush directory
16859 properties after the remove command only.
16861 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16862 Handle optional parameter RECURSIVE.
16864 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16865 Handle optional parameter RECURSIVE.
16867 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16868 connection timeout.
16869 (tramp-smb-handle-delete-directory): Handle optional parameter
16872 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16874 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16875 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16876 (byte-compile-defmacro): Use backquotes.
16878 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16880 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16881 has no associated file.
16882 (vc-resynch-buffer): Use vc-dir-buffers.
16884 2009-10-01 Glenn Morris <rgm@gnu.org>
16886 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16887 (chart-file-count):
16888 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16889 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16890 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16891 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16892 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16893 (eieio-copy-parents-into-subclass, make-instance, class-children)
16894 (eieio-generic-form):
16896 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16897 match-data. (Bug#4555).
16899 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16900 rather than parsing it as a regexp. This relaxes the layout
16901 requirements and makes errors easier to detect.
16902 (check-declare-verify): Check file is regular.
16903 (check-declare-directory): Doc fix.
16904 * subr.el (declare-function): Doc fix.
16906 * ibuffer.el (ibuffer-format-qualifier):
16907 * isearch.el (hi-lock-regexp-okay):
16908 * calc/calc.el (math-zerop):
16909 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16910 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16911 Remove unused declarations.
16913 2009-09-30 Eric Ludlam <zappo@gnu.org>
16915 * emacs-lisp/eieio.el (boolean-p): Delete.
16917 2009-09-30 Glenn Morris <rgm@gnu.org>
16919 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16921 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16922 filename is not a string.
16924 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16926 * files.el (safe-local-eval-forms): Fix typo.
16928 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16930 * vc-hooks.el (vc-dir-buffers): New var.
16931 (vc-state-refresh): New function.
16932 (vc-state): Use it.
16933 (vc-after-save): Always ask the backend to recompute the new state.
16934 Always call vc-dir if necessary, using vc-dir-buffers.
16935 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16936 Use vc-dir-buffers.
16937 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16938 (vc-dir-prepare-status-buffer, vc-dir-update)
16939 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16940 Don't call expand-file-name on default-directory.
16942 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16944 * speedbar.el (speedbar-item-delete):
16945 * calc/calc-prog.el (calc-kbd-if):
16946 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16948 * epa.el (epa-key-list-mode-map):
16949 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16951 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16952 (hs-show-hook): Fix typo in docstring.
16954 2009-09-29 Glenn Morris <rgm@gnu.org>
16956 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16957 file-name-nondirectory call preventing location of cedet files.
16958 (check-declare-verify): Use literal search rather than re-search.
16959 Add basic defmethod and defclass, and define-overloadable-function.
16961 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16962 Use tramp-compat-file-attributes rather than nonexistent
16963 tramp-compat-handle-file-attributes.
16965 * Makefile.in (lisptagsfiles4): New.
16966 (AUTOGENEL): Add cedet loaddefs files.
16967 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16968 (update-elclist, compile-always, backup-compiled-files)
16969 (bootstrap-clean): Add yet another directory level.
16970 (update-elclist): Use LC_COLLATE rather than COLLATE.
16971 (ELCFILES): Update, via `make update-elclist'.
16973 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16975 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16976 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16977 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16979 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16981 * Makefile.in (lisptagsfiles3): Define.
16982 (TAGS, TAGS-LISP): Use it.
16983 (update-elclist): Add third directory level to look for elc files.
16984 (compile-always): Likewise.
16985 (backup-compiled-files): Likewise.
16986 (bootstrap-clean): Likewise.
16987 (ELCFILES): Update.
16989 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16991 * Makefile.in (ELCFILES): Add CEDET files.
16993 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16995 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16997 * net/tramp.el (top): Require tramp-imap.
16999 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17000 Use `tramp-compat-handle-file-attributes'.
17002 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17004 * net/tramp-imap.el: New package.
17006 2009-09-28 Eric Ludlam <zappo@gnu.org>
17008 * emacs-lisp/chart.el:
17009 * emacs-lisp/eieio-base.el:
17010 * emacs-lisp/eieio-comp.el:
17011 * emacs-lisp/eieio-custom.el:
17012 * emacs-lisp/eieio-datadebug.el:
17013 * emacs-lisp/eieio-opt.el:
17014 * emacs-lisp/eieio-speedbar.el:
17015 * emacs-lisp/eieio.el: New files.
17017 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17019 * whitespace.el (whitespace-trailing-regexp)
17020 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17023 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17025 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17028 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17029 menu-bar-ediff-menu.
17031 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17032 define-overloadable-function.
17034 * progmodes/autoconf.el: Provide autoconf as well, so that this
17035 file can be `require'd.
17037 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17039 * emacs-lisp/autoload.el (generated-autoload-feature)
17040 (generated-autoload-load-name): New vars.
17041 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17042 (make-autoload): Recognize define-overloadable-function and
17043 defclass forms (for EIEIO).
17045 * Makefile.in (update-subdirs): Exclude cedet directory.
17047 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17049 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17051 * faces.el: Default light-background background for region face to
17052 ns_selection_color under NS.
17054 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17056 * net/imap-hash.el: New library, see NEWS.
17058 * Makefile.in (ELCFILES): Add imap-hash.el.
17060 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17062 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17063 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17064 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17065 definition where the docstring could be taken for the return value.
17067 2009-09-26 Glenn Morris <rgm@gnu.org>
17069 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17070 Add option to only show images below a certain size.
17071 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17072 save-excursion calls.
17074 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17076 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17077 subdirectories) and eieio.
17079 2009-09-26 Alan Mackenzie <acm@muc.de>
17081 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17082 Correct buggy bracketing. (Bug#4289)
17084 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17085 character constants (as case labels). (Bug#4289)
17087 2009-09-25 Juri Linkov <juri@jurta.org>
17089 * files.el (safe-local-eval-forms): Allow time-stamp in
17090 before-save-hook (Bug#4554).
17092 2009-09-25 Drew Adams <drew.adams@oracle.com>
17094 * menu-bar.el (list-buffers-directory): Doc fix.
17096 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17099 Try and avoid copying twice the same paragraph.
17100 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17101 Remove save-excursion.
17102 (log-edit-changelog-entry): Do it here instead.
17104 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17106 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17107 when available, instead of hardcoding mode names. Doc fix.
17109 * menu-bar.el (list-buffers-directory): Add docstring.
17110 Make automatically buffer-local.
17112 * dired.el (dired-mode):
17113 * files.el (cd-absolute):
17114 * pcvs.el (cvs-temp-buffer):
17115 * pcvs-util.el (cvs-get-buffer-create):
17116 * shell.el (shell-mode):
17117 * vc-dir.el (vc-dir-mode):
17118 Don't make `list-buffers-directory' buffer local.
17120 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17122 * comint.el (comint-exec, comint-run, make-comint):
17123 Doc fixes (Bug#4542).
17125 2009-09-25 Glenn Morris <rgm@gnu.org>
17127 * mail/rmailmm.el (rmail-mime): New custom group.
17128 Move all defcustoms in this file into this group.
17129 (rmail-mime-media-type-handlers-alist): Revert previous change.
17130 (rmail-mime-show-images): New option.
17131 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17132 references to it, since it wasn't actually used for anything.
17133 (rmail-mime-insert-image): New function.
17134 (rmail-mime-image): Use rmail-mime-insert-image.
17135 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17136 obey the value of `rmail-mime-show-images' option. Print the size of
17139 2009-09-25 David Engster <deng@randomsample.de>
17141 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17143 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17145 * whitespace.el: Does not highlight trailing spaces While point is
17146 at end of line. Does not highligt spaces at beginning of buffer
17147 while point is at beginning of buffer. Does not highlight spaces
17148 at end of buffer while point is at end of buffer. (Bug#4177)
17150 (whitespace-display-mappings): Adjust initialization.
17151 (whitespace-point, whitespace-font-lock-refontify): New vars.
17152 (whitespace-color-on, whitespace-color-off): Adjust code.
17153 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17154 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17155 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17157 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17159 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17161 * textmodes/sgml-mode.el: Remove xml-mode alias.
17163 * files.el (auto-mode-alist, conf-mode-maybe)
17164 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17166 2009-09-24 Alan Mackenzie <acm@muc.de>
17168 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17169 c-forward-conditionals, but it doesn't move point and doesn't set
17171 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17172 (c-down-conditional-with-else, c-backward-conditional)
17173 (c-forward-conditional): Refactor to use c-scan-conditionals.
17175 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17177 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17178 (help-default-arg-highlight): Remove.
17179 (help-highlight-arg): New function.
17180 (help-do-arg-highlight): Use it.
17181 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17183 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17185 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17186 Undo last change, which didn't fix the problem and introduced others.
17188 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17190 * progmodes/gdb-mi.el: Don't require speedbar.
17191 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17193 2009-09-24 Glenn Morris <rgm@gnu.org>
17195 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17197 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17199 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17200 there is no newline after the final mime boundary. (Bug#4539)
17201 Move markers on insertion so that any buttons inserted don't end up in
17202 the next part of a multipart message.
17203 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17204 (rmail-mime-bulk-handler): Optionally handle images.
17205 (rmail-mime-image): New button action.
17206 (rmail-mime-image-handler): New function.
17207 (rmail-mime-mode): New mode.
17208 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17210 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17212 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17213 than just dropping elements from it (bug#4504).
17215 * term.el (term-set-scroll-region): Don't move cursor any more.
17216 (term-handle-ansi-escape): Call term-goto here instead.
17217 Suggested by Ivan Kanis <apple@kanis.eu>.
17219 * term.el: Require CL.
17220 (term-ansi-reset): New function.
17221 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17222 (term-handle-colors-array): Simplify.
17224 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17226 * allout.el (allout-overlay-interior-modification-handler)
17227 (allout-obtain-passphrase):
17228 * epa-file.el (epa-file-write-region):
17229 * ps-print.el (ps-begin-job):
17230 * vc-hooks.el (vc-toggle-read-only):
17231 * vc-rcs.el (vc-rcs-rollback):
17232 * vc-sccs.el (vc-sccs-rollback):
17233 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17234 (vc-version-diff, vc-revert, vc-rollback):
17235 * wdired.el (wdired-check-kill-buffer):
17236 * emacs-lisp/authors.el (authors):
17237 * net/socks.el (socks-open-connection):
17238 * net/zeroconf.el (zeroconf-service-add-hook):
17239 * obsolete/vc-mcvs.el (vc-mcvs-register):
17240 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17241 (gdb-select-frame):
17242 * progmodes/grep.el (lgrep, rgrep):
17243 * progmodes/idlw-help.el (idlwave-help-check-locations)
17244 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17245 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17246 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17247 (reftex-toc-rename-label): Fix typos in error messages.
17249 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17250 (dired-copy-how-to-fn): Doc fix.
17251 (dired-files-attributes, dired-read-shell-command):
17252 Fix typos in docstrings.
17254 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17255 (dired-x-find-file-other-window): Reflow docstrings.
17256 (dired-omit-marker-char, dired-read-shell-command)
17257 (dired-x-submit-report): Fix typos in docstrings.
17259 * shell.el (shell-mode-hook):
17260 * view.el (View-scroll-line-forward):
17261 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17262 Fix typos in docstrings.
17264 * net/dig.el (dig-invoke): Fix typo in docstring.
17265 (query-dig): Reflow docstring.
17267 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17268 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17269 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17270 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17271 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17272 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17273 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17274 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17275 (idlwave-completion-map, idlwave-current-indent)
17276 (idlwave-custom-ampersand-surround, idlwave-customize)
17277 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17278 (idlwave-define-abbrev, idlwave-determine-class-special)
17279 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17280 (idlwave-end-block-reg, idlwave-end-of-statement)
17281 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17282 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17283 (idlwave-explicit-class-listed, idlwave-file-header)
17284 (idlwave-fill-paragraph, idlwave-find-class-definition)
17285 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17286 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17287 (idlwave-in-quote, idlwave-indent-action-table)
17288 (idlwave-indent-expand-table, idlwave-indent-line)
17289 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17290 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17291 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17292 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17293 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17294 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17295 (idlwave-outlawed-buffers, idlwave-popup-select)
17296 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17297 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17298 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17299 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17300 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17301 (idlwave-statement-type, idlwave-struct-skip)
17302 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17303 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17304 (idlwave-what-module-find-class): Fix typos in docstrings.
17305 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17306 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17307 (idlwave-find-module, idlwave-find-structure-definition)
17308 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17309 (idlwave-list-load-path-shadows, idlwave-next-statement)
17310 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17311 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17312 (idlwave-template): Reflow docstrings.
17314 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17315 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17316 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17317 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17318 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17319 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17320 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17321 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17322 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17323 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17324 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17325 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17326 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17327 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17328 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17329 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17330 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17331 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17332 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17333 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17334 Fix typos in docstrings.
17335 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17336 (idlwave-shell-hide-output, idlwave-shell-mode)
17337 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17340 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17342 2009-09-24 Ivan Kanis <apple@kanis.eu>
17344 * term.el (term-bold-attribute): New var.
17345 (term-handle-colors-array): Use it.
17347 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17349 * progmodes/gdb-mi.el (gdb-version): New variable.
17350 (gdb-non-stop-handler): Set gdb-version.
17351 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17352 Condition "--thread" option on gdb-version.
17353 (gdb-invalidate-threads): Remove unused argument.
17355 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17357 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17358 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17360 2009-09-23 Glenn Morris <rgm@gnu.org>
17362 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17363 replying to mail without References or Message-Id. (Bug#4525)
17365 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17367 * term/ns-win.el (ns-reg-to-script): New variable.
17369 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17371 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17373 2009-09-22 Sam Steingold <sds@gnu.org>
17375 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17376 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17377 to 1 because hg returns status 1 when nothing is found.
17378 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17380 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17382 * textmodes/fill.el: Convert to utf-8 encoding.
17383 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17386 * add-log.el (change-log-fill-forward-paragraph): New function.
17387 (change-log-mode): Use it so fill-region DTRT.
17388 Set fill-indent-according-to-mode here rather than in
17389 change-log-fill-paragraph.
17390 (change-log-fill-paragraph): Remove.
17392 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17394 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17395 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17397 2009-09-22 Glenn Morris <rgm@gnu.org>
17399 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17400 the scroll-bar scroll the calendar window rather than the buffer.
17402 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17403 commands that move point (as opposed to scrolling).
17405 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17407 * emacs-lisp/elint.el (elint): New custom group.
17408 (elint-log-buffer): Make it a defcustom.
17409 (elint-scan-preloaded, elint-ignored-warnings)
17410 (elint-directory-skip-re): New options.
17411 (elint-builtin-variables): Doc fix.
17412 (elint-preloaded-env): New variable.
17413 (elint-unknown-builtin-args): Add an entry for encode-time.
17414 (elint-extra-errors): Make it a variable rather than a constant.
17415 (elint-preloaded-skip-re): New constant.
17416 (elint-directory): Skip files matching elint-directory-skip-re.
17417 (elint-features): New variable, local to linted buffers.
17418 (elint-update-env): Initialize elint-features. Possibly add
17419 elint-preloaded-env to the buffer's environment.
17420 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17422 (elint-init-form): New function, extracted from elint-init-env.
17423 Make non-list forms a warning rather than an error.
17424 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17425 easy-menu-define, put that adds an error-condition, and provide.
17426 When requiring cl, also require cl-macs. Really require cl, to handle
17427 some cl macros. Store required libraries in the list elint-features,
17428 so as not to re-load them. Treat cc-require like require.
17429 (elint-init-env): Call elint-init-form to do the work.
17430 Handle eval-and-compile and such like.
17431 (elint-add-required-env): Do not clear messages.
17432 (elint-special-forms): Add handlers for function, defalias, if, when,
17434 (elint-form): Add optional argument to ignore elint-special-forms,
17435 useful to prevent recursive calls from handlers. Doc fix.
17436 Respect elint-ignored-warnings.
17437 (elint-form): Respect elint-ignored-warnings.
17438 (elint-bound-variable, elint-bound-function): New variables.
17439 (elint-unbound-variable): Respect elint-bound-variable.
17440 (elint-get-args): Respect elint-bound-function.
17441 (elint-check-cond-form): Add some simple handling for (f)boundp and
17443 (elint-check-defalias-form): New handler.
17444 (elint-check-let-form): Make an empty let a warning rather than an
17446 (elint-check-setq-form): Make an empty setq a warning rather than an
17447 error. Respect elint-ignored-warnings.
17448 (elint-check-defvar-form): Accept null doc-strings.
17449 (elint-check-conditional-form): New handler. Does some simple-minded
17450 checking of featurep and (f)boundp tests.
17451 (elint-put-function-args): New function.
17452 (elint-initialize): Use elint-scan-doc-file rather than
17453 elint-find-builtin-variables. Use elint-put-function-args.
17454 Possibly scan preloaded-file-list.
17455 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17456 extend to handle functions as well.
17458 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17460 * linum.el (linum-delete-overlays, linum-update-window):
17461 Do not modify the right margin. (Bug#3971)
17463 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17465 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17466 Use nxml-mode instead of xml-mode.
17468 2009-09-21 Kevin Ryde <user42@zip.com.au>
17470 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17472 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17474 * net/dig.el (dig-mode): Use define-derived-mode.
17476 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17478 * vc-dispatcher.el (vc-do-command): Return the process object in
17479 the asynchronous case. Use when instead of if. Do not run
17480 vc-exec-after to display a message if not enabled. (Bug#4463)
17482 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17483 properties to the stash strings.
17484 (vc-git-stash-list): Return a list of strings.
17485 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17486 (vc-git-stash-show-at-point): New functions.
17487 (vc-git-stash-map): New keymap.
17489 * register.el (ctl-x-r-map): Define the keys here instead of
17492 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17494 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17495 list, to workaround performance problem (bug#4485).
17497 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17499 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17501 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17503 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17504 Document that this option is not recommended to use.
17506 2009-09-19 Glenn Morris <rgm@gnu.org>
17508 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17511 * calc/calc-alg.el (var):
17512 * calc/calcalg2.el (var): Define for compiler.
17514 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17516 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17517 Doc fix (Bug#3932).
17519 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17521 * time-stamp.el (time-stamp-month-dd-yyyy)
17522 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17523 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17524 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17525 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17526 Remove functions that have been obsolete since 1995 (Bug#4436).
17528 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17529 indent buffer only if called interactively (Bug#4452).
17531 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17532 Eli Zaretskii <eliz@gnu.org>
17534 This fixes bug#4197 (merged to bug#865, though not identical).
17535 * server.el (server-auth-dir): Add docstring note about FAT32.
17536 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17537 but warn against using them.
17539 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17541 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17542 older GDB where there is no has_more field.
17544 2009-09-19 Glenn Morris <rgm@gnu.org>
17546 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17548 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17550 * files.el (auto-mode-alist): Change default for XML files to nXML
17553 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17555 * server.el (server-ensure-safe-dir): Pass 'integer
17556 to `file-attributes', as suggested.
17558 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17560 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17561 (dired-query): Use read-key.
17563 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17565 * cus-start.el (ns-use-qd-smoothing): Remove.
17567 2009-09-18 Glenn Morris <rgm@gnu.org>
17569 * allout.el (top-level): Remove unnecessary progn.
17571 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17573 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17574 definition of abbrev table.
17576 * speedbar.el (speedbar-track-mouse):
17577 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17578 * net/eudc.el (eudc-expand-inline):
17579 * net/newst-backend.el (newsticker--cache-read-feed):
17580 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17581 condition-case handlers.
17583 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17585 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17586 (gdb-var-list): Add an element for has_more field.
17587 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17588 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17589 (gdb-var-update-handler-1): Parse output of dynamic variable
17590 objects (STL containers).
17591 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17592 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17594 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17596 (gud-speedbar-buttons): Make node expandable if expression "has more"
17599 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17601 * startup.el (emacs-quick-startup): Remove variable and all uses.
17602 (command-line): Set `inhibit-x-resources' instead.
17603 (command-line-1): Use `inhibit-x-resources' instead.
17605 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17607 * subr.el: Fix last change to avoid using the `unless' macro,
17608 which breaks bootstrapping.
17610 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17612 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17613 extended definitions, in case we reload subr.el after having
17615 (eval-next-after-load): Mark as obsolete.
17617 2009-09-17 Juri Linkov <juri@jurta.org>
17619 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17620 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17621 (menu-bar-showhide-menu, menu-bar-tools-menu)
17622 (menu-bar-describe-menu, menu-bar-help-menu)
17623 (minibuffer-local-completion-map, minibuffer-local-map):
17626 2009-09-17 Glenn Morris <rgm@gnu.org>
17628 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17629 arguments, whether or not it has a handler.
17631 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17633 * simple.el (hard-newline): Give it a doc-string.
17635 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17636 (lisp-mode-syntax-table): Give them doc-strings.
17638 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17640 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17641 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17642 (menu-bar-options-menu, menu-bar-showhide-menu)
17643 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17644 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17645 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17646 (menu-bar-options-menu, menu-bar-tools-menu)
17647 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17648 (menu-bar-help-menu):
17649 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17652 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17653 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17654 calls for the menu names and :help.
17656 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17658 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17659 to :minor-mode-function (bug#4455).
17661 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17663 * startup.el (command-line): Initialize the window-system after
17664 processing the command-line.
17666 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17667 page-delimiter matches the empty string.
17669 2009-09-16 Glenn Morris <rgm@gnu.org>
17671 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17672 byte-compile-not-obsolete-var. It's a list now.
17673 (byte-compile-not-obsolete-funcs): New variable.
17674 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17675 byte-compile-not-obsolete-funcs.
17676 (byte-compile-variable-ref, byte-compile-defvar): Update for
17677 byte-compile-not-obsolete-vars name-change and list nature.
17678 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17679 and variables behind (f)boundp tests.
17680 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17682 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17684 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17686 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17688 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17689 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17692 2009-09-15 Stephen Eglen <stephen@gnu.org>
17694 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17695 the virtual-buffers, use the name of the buffer specified by
17696 find-file-noselect, as the match may be a symlink. (This was a
17697 problem if the target and the symlink had different names.)
17699 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17701 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17703 * desktop.el (desktop-path): Check user-emacs-directory.
17705 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17707 * loadup.el: Use after-load-functions to GC after loading each file.
17708 Remove the explicit GC calls that used to be sprinkled around.
17710 * subr.el (after-load-functions): New hook.
17711 (do-after-load-evaluation): Run it. Use string-match-p to detect
17712 `obsolete' packages, rather than painfully extracting the relevant
17715 2009-09-15 Glenn Morris <rgm@gnu.org>
17717 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17718 free variable `doc'.
17720 * dired.el (dired-mode-map): Add menu entry for async shell command.
17722 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17723 variables, also consider the .elc files, since the .el files are
17724 normally gzipped (subsequent code locates the .el.gz from the .elc).
17726 * calc/calc-prog.el (arglist): Define for compiler.
17728 * calendar/diary-lib.el (diary-display-function): Change the default to
17730 (body): Define for compiler.
17732 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17733 (byte-compile-file-form, byte-compile-lambda)
17734 (byte-compile-top-level-body, byte-compile-form)
17735 (byte-compile-variable-ref, byte-compile-setq)
17736 (byte-compile-setq-default, byte-compile-body)
17737 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17738 (batch-byte-compile): Give some more local variables with common names
17739 a "bytecomp-" prefix to avoid masking warnings about free variables.
17741 * startup.el (command-line-1): Give local variables with common names a
17742 distinguishing prefix, so as not to hide free variable warnings during
17745 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17746 clever and add a suffix to make a unique name, just let the user decide
17747 whether or not to overwrite it. If the input is a directory, write the
17748 default filename to that directory. (Bug#4388)
17749 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17750 is a filename-as-a-directory.
17752 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17754 * textmodes/page.el (what-page): Don't move to beginning of line.
17755 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17757 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17759 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17761 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17763 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17764 * help.el (help-for-help-internal): Add purecopy calls for text.
17766 * vc.el (top): print-log method now takes an optional SHORTLOG
17767 argument. Add a new method: root.
17768 (vc-root-diff, vc-print-root-log): New functions.
17769 (vc-log-short-style): New variable.
17770 (vc-print-log-internal): Add support for showing short logs.
17772 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17773 vc-print-root-log and vc-print-root-diff.
17775 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17776 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17777 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17780 * vc-cvs.el (vc-cvs-print-log):
17781 * vc-mtn.el (vc-mtn-print-log):
17782 * vc-rcs.el (vc-rcs-print-log):
17783 * vc-sccs.el (vc-sccs-print-log):
17784 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17785 that is ignored for now.
17787 * vc-mtn.el (vc-mtn-annotate-command):
17788 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17790 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17792 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17793 to function-key-map, and give them ascii-character property.
17794 * term/x-win.el (x-alternatives-map):
17795 * term/ns-win.el (ns-alternatives-map):
17796 * term/internal.el (msdos-key-remapping-map):
17797 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17799 2009-09-14 Glenn Morris <rgm@gnu.org>
17801 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17802 temp-buffers (2009-09-12).
17804 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17806 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17807 the new read-key function.
17809 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17811 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17812 is defined (Bug#4405).
17814 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17816 * recentf.el (recentf-cleanup): Use a hash table to find
17817 duplicates (Bug#4407).
17819 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17821 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17822 kp-0 to ascii equivalents (Bug#4325).
17824 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17826 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17828 * eshell/em-hist.el:
17829 * eshell/em-dirs.el (eshell-complete-user-reference):
17830 Declare pcomplete functions and variables to avoid compiler warnings.
17832 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17834 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17835 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17836 * eshell/em-alias.el (eshell-aliases-file):
17837 * eshell/em-hist.el (eshell-history-file-name):
17838 Use expand-file-name instead of concat to make file names (Bug#4308).
17840 2009-09-13 Glenn Morris <rgm@gnu.org>
17842 * ediff-merg.el (ediff-do-merge):
17843 * filesets.el (filesets-run-cmd):
17844 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17845 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17846 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17847 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17848 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17849 Replace empty `let's with `progn'.
17851 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17853 * mail/sendmail.el (send-mail-function):
17854 * tooltip.el (tooltip-mode):
17855 * simple.el (transient-mark-mode):
17856 * rfn-eshadow.el (file-name-shadow-mode):
17857 * frame.el (blink-cursor-mode):
17858 * font-core.el (global-font-lock-mode):
17859 * files.el (temporary-file-directory)
17860 (small-temporary-file-directory, auto-save-file-name-transforms):
17861 * epa-hook.el (auto-encryption-mode):
17862 * composite.el (global-auto-composition-mode):
17863 Use custom-initialize-delay.
17864 * startup.el (command-line): Don't explicitly call
17865 custom-reevaluate-setting for all the above vars.
17866 * custom.el (custom-initialize-safe-set)
17867 (custom-initialize-safe-default): Delete.
17869 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17871 * term/x-win.el (x-initialize-window-system):
17872 * term/w32-win.el (w32-initialize-window-system):
17873 * term/ns-win.el (ns-initialize-window-system): Don't call
17874 mouse-wheel-mode since it's enabled globally by default already.
17876 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17877 actually define the variable, but only silences the byte-compiler.
17878 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17879 before looking it up.
17880 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17883 2009-09-12 Glenn Morris <rgm@gnu.org>
17885 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17887 (elint-add-required-env): Don't beep on error.
17888 (elint-forms): In case of error, return ENV unchanged.
17889 (elint-init-env): Skip non-list forms.
17890 (elint-log): Handle unknown file positions.
17892 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17894 * epg.el (epg-make-context): Add autoload cookie.
17895 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17896 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17897 (epg-verify-string, epg-start-sign, epg-sign-file)
17898 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17899 (epg-encrypt-string, epg-start-export-keys)
17900 (epg-export-keys-to-file, epg-export-keys-to-string)
17901 (epg-start-import-keys, epg-import-keys-from-file)
17902 (epg-import-keys-from-string, epg-start-receive-keys)
17903 (epg-receive-keys, epg-import-keys-from-server)
17904 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17905 (epg-sign-keys, epg-start-generate-key)
17906 (epg-generate-key-from-file, epg-generate-key-from-string):
17907 Remove autoload cookie.
17909 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17911 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17912 reevaluation of trash-directory.
17914 * mwheel.el: Fix last change.
17915 (mouse-wheel-mode): New defvar.
17916 (mouse-wheel-mode): Remove autoload cookie.
17918 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17920 * mwheel.el (mwheel-installed-bindings): New var.
17921 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17922 the bindings we set last time. Use custom-initialize-delay.
17923 * loadup.el: Load mwheel after term/*-win.el.
17924 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17925 and mouse-wheel-up-event now that their first evaluation is done
17926 sufficiently late to be correct.
17928 * startup.el (tutorial-directory): Make it a defcustom.
17929 Use custom-initialize-delay rather than eval-at-startup to set it.
17930 * image.el (image-load-path): Make it a defcustom.
17931 Use custom-initialize-delay rather than eval-at-startup to set it.
17932 * subr.el (eval-at-startup): Remove.
17933 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17935 * subr.el (do-after-load-evaluation): Warn the user after loading an
17938 2009-09-12 Glenn Morris <rgm@gnu.org>
17940 * proced.el (proced-mark-alt): Remove alias.
17941 (proced-mode-map): Remove proced-mark-alt.
17943 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17944 Elint file and directory. Remove initialization entry.
17946 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17948 (elint-current-buffer): Set mode-line-process.
17949 (elint-init-env): Handle define-derived-mode.
17950 Fix declare-function with unspecified arglist. Guard against odd
17951 defalias statements (eg iso-insert's 8859-1-map).
17952 (elint-add-required-env): Use a temp buffer.
17953 (elint-form): Just print the function/macro name, not the whole form.
17954 Return env unchanged if we fail to parse a macro.
17955 (elint-forms): Guard against parse errors.
17956 (elint-output): New function, to handle batch mode.
17957 (elint-log-message): Add optional argument. Use elint-output.
17958 (elint-set-mode-line): New function.
17960 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17962 * emacs-lisp/elp.el (elp-not-profilable): Add more
17963 functions (Bug#4233).
17965 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17967 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17968 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17970 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17972 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17973 (gdb-var-list-children): Use json parsing.
17975 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17977 * progmodes/js.el (js--proper-indentation): Handle the case where
17978 char-before is null. Reported by Deniz Dogan.
17980 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17982 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17984 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17986 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17987 (epg-digest-algorithm-alist): Add SHA224.
17988 (epg-context-set-passphrase-callback)
17989 (epg-context-set-progress-callback): Add description about
17992 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17994 * custom.el (custom-delayed-init-variables): New var.
17995 (custom-initialize-delay): New function.
17996 * startup.el (command-line): "Re"evaluate all vars in
17997 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17998 explicitly any more.
17999 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18000 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18002 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18004 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18006 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18007 (gdb-var-update-handler): Use json parsing.
18009 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18011 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18012 decode annotated text, regardless of language environment. (Bug#2741)
18014 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18016 * Makefile.in (autoloads): Make rmail.el writable as well.
18018 2009-09-11 Glenn Morris <rgm@gnu.org>
18020 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18022 * dired.el: Regenerate with extracted autoloads.
18023 * Makefile.in (autoloads): Make dired.el writable.
18025 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18026 * ibuffer.el: Regenerate with extracted autoloads.
18027 * Makefile.in (autoloads): Make ibuffer.el writable.
18029 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18030 * version.el (emacs-copyright, emacs-major-version)
18031 (emacs-minor-version): Reformat doc-strings for make-docfile.
18033 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18034 functions and variables, since they must be stuff specific to some other
18036 (apropos-print): Make mouse-click message less specific about button.
18038 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18039 that records where a macro was defined.
18040 * help-fns.el (describe-function-1): Mention if a function has a
18042 * help-mode.el (help-function-cmacro): New button.
18044 * locate.el (top-level): Always require dired.
18045 (locate-mode-map): Initialize inside the defvar.
18047 * net/ange-ftp.el (dired-compress-file): Declare.
18048 (ange-ftp-dired-compress-file): Add doc string.
18050 * term/ns-win.el (x-display-name, x-setup-function-keys):
18051 Unify doc-strings with X versions.
18053 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18055 * emulation/crisp.el (crisp-mode-map): Move initialization
18057 (crisp-mode): Use define-minor-mode.
18059 * progmodes/xscheme.el (xscheme-evaluation-commands):
18060 Put a :advertised-binding property rather than using
18061 advertised-xscheme-send-previous-expression.
18062 (advertised-xscheme-send-previous-expression): Declare obsolete.
18063 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18065 (crisp-mode): Add corresponding bindings to
18066 undo's :advertised-binding instead.
18067 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18068 than using dired-advertised-find-file.
18069 (dired-advertised-find-file):
18070 * simple.el (advertised-undo):
18071 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18072 (widget-keymap): Put a :advertised-binding property rather
18073 than using advertised-widget-backward.
18074 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18075 than using advertised-undo.
18076 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18078 2009-09-10 Simon South <ssouth@slowcomputing.org>
18080 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18081 Mark mode is enabled and region is active; otherwise indent or
18082 insert TAB as usual.
18083 (delphi-mode): Update description of TAB-key binding.
18085 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18087 * subr.el (define-key-rebound-commands): Mark obsolete.
18088 * startup.el (precompute-menubar-bindings): Remove.
18089 (normal-top-level): Remove obsolete code that tried to precompute
18091 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18092 define-key-rebound-commands and precompute-menubar-bindings.
18094 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18096 * net/imap.el (imap-interactive-login): Better messages.
18097 (imap-open): Fix bug with renamed buffer on reconnect.
18098 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18099 for easier debugging and cleaner code. On successful (guessed based on
18100 server capabilities) secondary authentication, set imap-state
18102 (imap-last-authenticator): Define imap-last-authenticator as a variable
18105 2009-09-10 Glenn Morris <rgm@gnu.org>
18107 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18109 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18110 (byte-compile-file-form-autoload): Don't warn about unknown functions
18111 where the autoload statement comes after the use.
18112 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18113 that any handlers inside the body (eg require) are in turn respected.
18115 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18118 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18119 and syntax and abbrev tables basic docs, if they don't have any.
18121 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18123 * international/mule-cmds.el (top-level): Require cl when compiling.
18124 (view-hello-file): Use default-value rather than
18125 default-enable-multibyte-characters.
18127 * progmodes/fortran.el: Move all safe and risky properties into the
18130 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18131 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18132 * mail/undigest.el:
18133 Put autoloads in rmail.el rather than loaddefs.el.
18134 * mail/rmail.el: Regenerate with extracted autoloads.
18136 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18137 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18139 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18141 Reported in thread for Bug#4375.
18142 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18143 "-data-evaluate-expression" instead of print.
18144 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18145 (gdb-tooltip-print): Parse output from above MI command.
18146 (gdb): Revert 2009-08-11 change. User should detach inferior
18149 Remove the word "separate" from IO functions as inferior
18150 output is now never displayed in the GUD buffer.
18152 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18154 * startup.el (command-line-normalize-file-name): On Windows and
18155 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18157 2009-09-10 Juri Linkov <juri@jurta.org>
18159 * isearch.el (isearch-text-char-description): Propertize escape
18160 character sequences with the `escape-glyph' face. (Bug#4344)
18162 * simple.el (shell-command): Set asynchronous process filter to
18163 `comint-output-filter'. (Bug#4343)
18165 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18166 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18167 the list. Move "asm" to the bottom.
18168 (grep-find-ignored-directories): Add `choice' with nil value
18169 to empty the list easily.
18170 (grep-find-ignored-files): New option.
18171 (grep-files-history): Set to nil by default instead of '("ch" "el").
18172 (grep-compute-defaults): Add "<X>" to `grep-template'.
18173 (grep-read-files): Bind new local variables `default-alias' and
18174 `default-extension'. Use a list of default values for the file prompt.
18175 (lgrep): Add `--exclude=' command line options composed from
18176 `grep-find-ignored-files'.
18177 (rgrep): Add `-name' command line options composed from
18178 `grep-find-ignored-files'. (Bug#4301)
18180 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18182 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18185 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18187 * calendar/time-date.el (autoload):
18188 Expand define-obsolete-function-alias into defalias and make-obsolete
18189 for old Emacsen that Gnus supports.
18190 (with-no-warnings): Define it for old Emacsen.
18191 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18193 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18194 float-time is available; suppress compile warning for time-to-seconds.
18196 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18198 * net/imap.el (imap-message-map): Docstring fix.
18200 2009-09-09 Glenn Morris <rgm@gnu.org>
18202 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18203 line numbers too. (Bug#4374)
18205 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18207 * smerge-mode.el (smerge-remove-props, smerge-refine):
18208 Use with-silent-modifications (bug#4342).
18210 * subr.el (with-silent-modifications): New macro.
18212 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18214 * files.el (top-level): Require `cl' when compiling.
18216 2009-09-07 Glenn Morris <rgm@gnu.org>
18218 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18220 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18221 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18223 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18225 * vc-git.el (vc-git-annotate-command): Use separator to parse
18226 arguments correctly.
18228 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18230 * proced.el (proced-mode): Doc fix.
18232 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18234 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18236 (tramp-do-file-attributes-with-ls): Check for file existence at
18238 (tramp-do-file-attributes-with-stat): Likewise.
18239 (tramp-convert-file-attributes): Return nil when attr is nil.
18241 2009-09-05 Glenn Morris <rgm@gnu.org>
18243 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18244 properties to this button.
18245 (diary-fancy-display): Don't extend the button to the final newline.
18246 (diary-fancy-display-mode): Continue to define "q" as a local key.
18248 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18251 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18253 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18254 (byte-compile-dest-file-function): New option.
18255 (byte-compile-dest-file): Doc fix.
18256 Obey byte-compile-dest-file-function.
18257 (byte-compile-cl-file-p): New function.
18258 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18259 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18260 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18261 than for file being previously loaded.
18262 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18263 (byte-compile-file-form-require): Handle the case where requiring a file
18264 indirectly causes CL to be loaded.
18266 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18268 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18269 before killing the old buffer, since by the time `kill-buffer' is
18270 run so many buffer variables have been set to nil that it may not
18271 behave as expected. (Bug#4061)
18273 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18275 * files.el (find-alternate-file): If the old buffer is modified
18276 and visiting a file, behave similarly to `kill-buffer' when
18277 killing it, thus reverting to the pre-1.878 behavior; see
18278 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18279 for discussion. Also, consult `buffer-file-name' as a variable
18280 not as a function, for consistency with the rest of the code.
18282 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18284 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18285 also when adding a new directory.
18287 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18290 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18292 * files.el (locate-file-completion-table): Make it provide boundary
18293 information, so partial-completion works better.
18295 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18297 * mail/footnote.el (Footnote-text-under-cursor):
18298 Check footnote-text-marker-alist before using it (bug#4324).
18300 2009-09-04 Glenn Morris <rgm@gnu.org>
18302 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18303 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18304 * play/solitaire.el, play/tetris.el:
18305 Remove leading * from defcustom and defface docs.
18307 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18309 (diary-fancy-overriding-map): New variable.
18310 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18313 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18316 2009-09-03 Glenn Morris <rgm@gnu.org>
18318 * arc-mode.el (archive-mode):
18319 * dos-fns.el (set-default-process-coding-system):
18320 * man.el (Man-getpage-in-background):
18321 * menu-bar.el (menu-bar-describe-menu):
18322 * server.el (server-process-filter):
18323 * startup.el (command-line):
18324 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18325 * w32-fns.el (set-default-process-coding-system):
18326 * x-dnd.el (x-dnd-handle-file-name):
18327 * international/mule-cmds.el (mule-menu-keymap)
18328 (set-default-coding-systems, language-info-alist, set-language-info)
18329 (set-language-environment, standard-display-european-internal)
18330 (set-locale-environment):
18331 * international/mule-diag.el (mule-diag):
18332 * mail/emacsbug.el (report-emacs-bug):
18333 * mail/rmail.el (rmail-mode):
18334 * mail/sendmail.el (mail-setup):
18335 Use default-value rather than default-enable-multibyte-characters.
18337 * progmodes/f90.el: Move all safe properties into the defcustoms.
18338 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18340 * calendar/appt.el (appt-check):
18341 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18342 (diary-check-diary-file, diary-list-entries)
18343 (diary-include-other-diary-files, diary-simple-display)
18344 (diary-fancy-display, diary-print-entries)
18345 (diary-mark-included-diary-files, diary-make-entry):
18346 Don't call substitute-in-file-name on diary-file.
18348 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18349 Stefan Monnier <monnier@iro.umontreal.ca>
18351 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18352 (footnote-mode-map): Move initialization into the declaration.
18353 (footnote-minor-mode-map): Define it rather than changing global-map.
18354 (footnote-mode): Use define-minor-mode.
18356 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18358 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18359 (tramp-do-file-attributes-with-perl)
18360 (tramp-do-file-attributes-with-stat): Rename from
18361 `tramp-handle-file-attributes-with-*'.
18362 (tramp-handle-file-attributes): Use them.
18363 (tramp-do-directory-files-and-attributes-with-perl)
18364 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18365 `tramp-handle-directory-files-and-attributes-with-*'.
18366 (tramp-handle-directory-files-and-attributes): Use them.
18367 (tramp-method-out-of-band-p): Additional parameter SIZE.
18368 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18369 (tramp-handle-write-region): Use it.
18370 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18371 (tramp-handle-vc-registered): Check, whether the first run did
18372 return files to be tested.
18373 (tramp-advice-make-auto-save-file-name): Do not call directly
18374 `tramp-handle-make-auto-save-file-name', because this would bypass
18375 the locking mechanism.
18377 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18378 (file-remote-p, process-file, start-file-process, set-file-times)
18379 (tramp-compat-file-attributes): Compatibility functions shall not
18380 call directly `tramp-handle-*', because this would bypass the
18382 (tramp-compat-number-sequence): New defun.
18384 2009-09-02 Glenn Morris <rgm@gnu.org>
18386 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18387 alias for float-time.
18388 (time-to-number-of-days): In Emacs, use float-time.
18389 * net/newst-backend.el (time-add): Suppress warnings from compat
18391 * time.el (emacs-uptime, emacs-init-time):
18392 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18393 Use float-time rather than time-to-seconds.
18395 * minibuffer.el (completion-initials-expand): Fix typo.
18397 * faces.el (modeline, modeline-inactive, modeline-highlight)
18398 (modeline-buffer-id):
18399 * info.el (info-menu-5): Mark these face aliases as obsolete.
18401 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18403 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18405 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18406 no "--thread" option.
18407 (gdb-stopped): Don't print "Switched to thread" message when it is
18410 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18412 * minibuffer.el (completion-try-completion)
18413 (completion-all-completions): Remove ill-defined (and
18414 mistakenly installed and luckily never used nor documented)
18415 `completion-styles' property.
18416 (completion-initials-expand, completion-initials-all-completions)
18417 (completion-initials-try-completion): New functions.
18418 (completion-styles-alist): Add doc to each entry.
18419 Add new `initials' entry.
18421 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18423 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18424 MI command -var-evaluate-expression.
18425 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18426 and tweak for case of string child.
18427 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18429 2009-09-01 Glenn Morris <rgm@gnu.org>
18431 * add-log.el (change-log-date-face, change-log-name-face)
18432 (change-log-email-face, change-log-file-face, change-log-list-face)
18433 (change-log-conditionals-face, change-log-function-face)
18434 (change-log-acknowledgement-face):
18435 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18436 (custom-modified-face, custom-set-face, custom-changed-face)
18437 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18438 (custom-documentation-face, custom-state-face, custom-comment-face)
18439 (custom-comment-tag-face, custom-variable-tag-face)
18440 (custom-variable-button-face, custom-face-tag-face)
18441 (custom-group-tag-face-1, custom-group-tag-face):
18442 * diff-mode.el (diff-header-face, diff-file-header-face)
18443 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18444 (diff-added-face, diff-changed-face, diff-function-face)
18445 (diff-context-face, diff-nonexistent-face):
18446 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18447 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18448 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18449 (Info-title-4-face):
18450 * isearch.el (isearch-lazy-highlight-face):
18451 * log-view.el (log-view-file-face, log-view-message-face):
18452 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18453 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18454 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18456 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18457 (smerge-base-face, smerge-markers-face):
18458 * wid-edit.el (widget-documentation-face, widget-button-face)
18459 (widget-field-face, widget-single-line-field-face)
18460 (widget-inactive-face, widget-button-pressed-face):
18461 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18462 (woman-addition-face):
18463 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18464 (eshell-ls-executable-face, eshell-ls-readonly-face)
18465 (eshell-ls-unreadable-face, eshell-ls-special-face)
18466 (eshell-ls-missing-face, eshell-ls-archive-face)
18467 (eshell-ls-backup-face, eshell-ls-product-face)
18468 (eshell-ls-clutter-face):
18469 * eshell/em-prompt.el (eshell-prompt-face):
18470 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18471 * obsolete/old-whitespace.el (whitespace-highlight-face):
18472 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18473 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18474 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18475 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18476 (antlr-font-lock-literal-face):
18477 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18478 (ebrowse-root-class-face, ebrowse-file-name-face)
18479 (ebrowse-default-face, ebrowse-member-attribute-face)
18480 (ebrowse-member-class-face, ebrowse-progress-face):
18481 * progmodes/make-mode.el (makefile-space-face):
18482 * progmodes/sh-script.el (sh-heredoc-face):
18483 * textmodes/flyspell.el (flyspell-incorrect-face)
18484 (flyspell-duplicate-face):
18485 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18486 * textmodes/texinfo.el (texinfo-heading-face):
18487 Mark face aliases with "-face" suffix as obsolete.
18489 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18492 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18493 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18494 easy-menu-define wants to modify these.
18496 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18498 * net/browse-url.el (browse-url-file-url):
18499 * term/internal.el (dos-codepage-setup):
18500 Use default-value rather than default-enable-multibyte-characters.
18502 * progmodes/etags.el (etags-goto-tag-location):
18503 * progmodes/flymake.el (flymake-highlight-line)
18504 (flymake-goto-file-and-line, flymake-goto-line):
18505 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18506 (gdb-goto-breakpoint):
18507 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18508 * progmodes/python.el (python-find-function)
18509 (python-pdbtrack-track-stack-file):
18510 * progmodes/verilog-mode.el (verilog-surelint-off):
18511 * term/ns-win.el (ns-open-file-select-line):
18512 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18513 Use forward-line rather than goto-line.
18515 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18516 * textmodes/reftex-index.el (reftex-display-index):
18517 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18518 * textmodes/reftex-toc.el (reftex-toc):
18519 Remove unnecessary bindings of default-major-mode (all are followed by
18520 major-mode check and possible mode switch).
18522 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18524 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18525 Handle watchpoints (bug#4282).
18526 (def-gdb-thread-buffer-command): Enable thread to be selected by
18527 clicking without selecting threads buffer first.
18528 (gdb-current-context-command): Use selected frame so that "up",
18529 "down" etc work in the GUD buffer.
18530 (gdb-update): Find selected frame before rendering stack buffer.
18531 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18533 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18535 * progmodes/sym-comp.el (displayed-completions): Remove.
18536 (symbol-complete): Use minibuffer-complete.
18538 2009-08-31 Glenn Morris <rgm@gnu.org>
18540 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18542 * apropos.el (apropos-symbols-internal):
18543 Handle (obsolete) face aliases.
18545 * faces.el (describe-face): Adjust the output format to be more like
18546 describe-variable, and to mention (obsolete) face aliases.
18547 Adjust the whitespace so that help-setup-xref works.
18549 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18550 * calendar/diary-lib.el (diary-button-face):
18551 Mark these face aliases as obsolete.
18553 * calendar/calendar.el (calendar-today): Doc fix.
18555 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18557 * progmodes/gdb-mi.el (gdb-control-all-threads)
18558 (gdb-control-current-thread): Force tool bar update.
18559 (gdb-non-stop-handler): New function.
18560 (gdb-init-1): Use it to test if non-stop mode is supported.
18561 Remove unused gdbmi buffer type.
18563 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18565 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18566 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18568 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18570 * comint.el (comint-exec-1): Check command is non-null first.
18571 Part of gdb-mi.el change (2009-08-28).
18573 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18575 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18577 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18579 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18580 instead of `dolist' to avoid a recursive require when bootstrapping.
18582 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18584 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18586 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18588 * net/imap.el (imap-send-command): Simplify.
18589 (imap-wait-for-tag): point-max -> buffer-size.
18591 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18593 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18594 with constant argument.
18596 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18598 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18600 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18601 Change default, since most of our files don't have a history.
18602 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18605 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18608 * calc/calc.el: Improve commenting convention.
18609 (calc-digit-map, toplevel): Simplify.
18611 * comint.el (comint-insert-input): Be careful to only set point if we
18612 don't delegate to some other command.
18614 * proced.el (proced-signal-list): Make it an alist.
18615 (proced-grammar-alist): Capitalize names.
18616 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18617 Disable undo manually and make it read-only.
18618 Use completion-annotate-function.
18620 * minibuffer.el (minibuffer-message): If the current buffer is not
18621 a minibuffer, insert the message in the echo area rather than at the
18623 (completion-annotate-function): New variable.
18624 (minibuffer-completion-help): Use it.
18625 (completion--embedded-envvar-table): Environment vars are
18626 always case-sensitive.
18628 2009-08-30 Glenn Morris <rgm@gnu.org>
18630 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18631 from fortran-current-defun.
18632 (fortran-beginning-of-subprogram): Be more precise about finding the
18633 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18634 (fortran-end-of-subprogram): Simplify.
18635 (fortran-current-defun): Use fortran-start-prog-re.
18637 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18639 * subr.el (do-after-load-evaluation): Simplify.
18641 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18643 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18645 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18646 (vc-rcs-print-log): Use it.
18648 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18650 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18652 * paths.el (abbrev-file-name): Move to abbrev.el.
18653 * abbrev.el (abbrev-file-name): Move from paths.el.
18654 Obey user-emacs-directory.
18655 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18656 user-emacs-directory.
18657 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18658 abbrev-file-name and calc-settings-file any more.
18659 * startup.el (command-line): Recompute abbrev-file-name and
18660 abbreviated-home-dir.
18661 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18662 of the special code for when C-h bindings haven't been changed.
18663 (display-startup-echo-area-message): Use with-current-buffer.
18664 (command-line-1): Use a list of strings, rather than a list of lists
18665 of strings for longopts.
18667 * files.el (get-free-disk-space): Use / for default-directory.
18669 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18670 Use with-current-buffer.
18672 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18673 Recognize immutable variables like most-positive-fixnum.
18674 (byte-compile-setq-default): Check and warn if trying to assign
18675 to an immutable variable, or a non-variable.
18677 * progmodes/cc-vars.el (c-comment-continuation-stars):
18678 * progmodes/cc-engine.el (c-looking-at-bos):
18679 * progmodes/cc-cmds.el (c-toggle-auto-state)
18680 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18681 (c-comment-line-break-function): Add version of obsolescence.
18683 2009-08-28 Juri Linkov <juri@jurta.org>
18685 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18686 associated with `archive-mode'.
18688 * image.el (image-type-header-regexps): Use only JPEG magic number
18689 to determine JPEG images, and don't use `image-jpeg-p' because
18690 Emacs can display non-JFIF non-Exif JPEG images.
18692 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18694 * arc-mode.el (archive-mode):
18695 * emacs-lisp/re-builder.el (re-builder-unload-function):
18696 Protect against the default value of `major-mode' being nil.
18698 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18700 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18701 Fix typos in docstrings.
18703 * progmodes/js.el (js--macro-decl-re): Doc fix.
18704 (js--plain-method-re, js--split-name): Refloc docstring.
18705 (js--class-styles, js--make-merged-item, js--splice-into-items):
18706 Fix typos in docstrings; reflow docstrings.
18707 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18708 (js--variable-decl-matcher, js--inside-pitem-p)
18709 (js--parse-state-at-point, js--get-all-known-symbols)
18710 (js--symbol-history, js-find-symbol, js--js-references)
18711 (js--moz-interactor, js--js-encode-value, js--read-tab):
18712 Fix typos in docstrings.
18714 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18716 * textmodes/reftex.el (reftex-get-file-buffer-force):
18717 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18718 * emulation/viper.el (viper-go-away, viper-set-hooks):
18719 * emacs-lisp/re-builder.el (re-builder-unload-function):
18720 * emacs-lisp/bytecomp.el (byte-compile-file):
18721 * ses.el (ses-unload-function):
18722 * hexl.el (hexl-find-file):
18723 * files.el (normal-mode):
18724 * ehelp.el (with-electric-help):
18725 * autoinsert.el (auto-insert-alist):
18726 * arc-mode.el (archive-mode):
18727 Use (default-value 'major-mode) instead of default-major-mode.
18729 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18730 * international/mule.el (load-with-code-conversion):
18731 * emacs-lisp/debug.el (debug):
18732 * ediff-vers.el (ediff-rcs-get-output-buffer):
18733 * dired.el (dired-internal-noselect): Don't let-bind
18734 default-major-mode around code that doesn't use it.
18735 E.g. buffer creation via get-buffer-create doesn't use it.
18737 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18739 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18740 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18741 when writing the temp file. Otherwise, epa-file gets confused.
18742 (tramp-register-file-name-handlers): Make it a defun. Move also
18743 `epa-file-handler' to the front of `file-name-handler-alist'.
18745 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18747 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18748 start right after a ^M.
18749 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18750 (tramp-completion-file-name-regexp-separate)
18751 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18752 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18753 Don't modify last-coding-system-used by accident.
18754 (tramp-completion-file-name-handler): Apply the checks here,
18755 instead during registration.
18756 (tramp-register-file-name-handlers): Rename from
18757 `tramp-register-file-name-handler'. Register both
18758 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18759 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18761 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18763 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18764 Remove variable ...
18765 (gdb-init-1, gdb-display-separate-io-buffer)
18766 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18768 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18769 (gdb-inferior-filter): Use comint-output-filter to stop
18770 echoing and remove ^M characters.
18772 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18774 * emulation/viper-init.el (viper-restore-cursor-type):
18775 * emulation/cua-base.el (cua--update-indications):
18776 Replace default-cursor-type with (default-value 'cursor-type).
18778 * mail/sendmail.el (mail-recover-1):
18779 * international/mule-diag.el (describe-current-coding-system-briefly)
18780 (describe-current-coding-system):
18781 * international/mule-cmds.el (select-safe-coding-system)
18782 (select-message-coding-system)
18783 (set-language-environment-coding-systems, set-locale-environment):
18784 * hexl.el (hexl-insert-multibyte-char):
18785 * dos-w32.el (find-buffer-file-type-coding-system):
18786 * simple.el (what-cursor-position):
18787 Replace uses of default-buffer-file-coding-system
18788 with (default-value 'buffer-file-coding-system).
18790 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18791 Replace uses of default-cursor-in-non-selected-windows
18792 with (default-value 'cursor-in-non-selected-windows).
18793 Use with-current-buffer.
18795 * mail/feedmail.el: Use CL macros.
18796 (feedmail-run-the-queue, feedmail-send-it-immediately):
18797 * dos-w32.el (find-buffer-file-type): Replace uses of
18798 default-buffer-file-type with (default-value 'buffer-file-type).
18800 2009-08-28 Glenn Morris <rgm@gnu.org>
18802 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18803 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18804 Use default-value of major-mode rather than default-major-mode.
18806 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18808 * Makefile.in (update-elcfiles): Report left over elc files.
18810 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18811 expand-file-name and with-current-buffer.
18812 (mail-get-names, mail-directory): Use with-current-buffer.
18814 * vc.el (vc-read-revision): New function.
18815 (vc-version-diff, vc-merge): Use it.
18817 2009-08-27 Sam Steingold <sds@gnu.org>
18819 * simple.el (kill-do-not-save-duplicates): New user option.
18820 (kill-new): When it is non-nil, and the new string is the same as
18821 the latest kill, set replace to t to avoid duplicates in kill-ring.
18823 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18825 * net/tramp.el (tramp-handle-process-file): Do not flush all
18826 caches when `process-file-side-effects' is set.
18827 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18828 instead of `tramp-find-file-exists-command'.
18829 Unset `process-file-side-effects'.
18831 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18833 * net/tramp.el (tramp-methods): New method "rsyncc".
18834 (top): Add completion function for "rsyncc".
18835 (tramp-message-show-message): New defvar.
18836 (tramp-message, tramp-error): Use it.
18837 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18839 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18840 `tramp-methods' entry `copy-env' of "rsyncc".
18841 (tramp-vc-registered-read-file-names): New defconst.
18842 (tramp-vc-registered-file-names): New defvar.
18843 (tramp-handle-vc-registered): Implement optimization strategy.
18844 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18845 (tramp-vc-file-name-handler): New defun.
18846 (tramp-get-ls-command, tramp-get-test-command)
18847 (tramp-get-file-exists-command, tramp-get-remote-ln)
18848 (tramp-get-remote-perl, tramp-get-remote-stat)
18849 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18851 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18852 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18854 (tramp-get-file-property): Check for timestamps in
18855 `tramp-cache-inhibit-cache'.
18856 (tramp-set-file-property): Write timestamp.
18858 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18860 * language/japan-util.el (japanese-symbol-table): Add entries for
18863 * international/characters.el: Add category `j' to cp932-2-byte.
18865 2009-08-27 Kenichi Handa <handa@m17n.org>
18867 * international/fontset.el (build-default-fontset-data): New macro.
18868 (setup-default-fontset): Use build-default-fontset-data for CJK,
18869 tibetan, ethiopic, and ipa.
18871 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18873 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18874 (enable-multibyte-characters): Not customizable any more.
18876 * subr.el (default-mode-line-format, default-header-line-format)
18877 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18878 (default-direction-reversed, default-truncate-lines)
18879 (default-left-margin, default-tab-width, default-case-fold-search)
18880 (default-left-margin-width, default-right-margin-width)
18881 (default-left-fringe-width, default-right-fringe-width)
18882 (default-fringes-outside-margins, default-scroll-bar-width)
18883 (default-vertical-scroll-bar, default-indicate-empty-lines)
18884 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18885 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18886 (default-scroll-down-aggressively, default-fill-column)
18887 (default-cursor-type, default-buffer-file-type)
18888 (default-cursor-in-non-selected-windows)
18889 (default-buffer-file-coding-system, default-major-mode)
18890 (default-enable-multibyte-characters): Mark as obsolete.
18892 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18894 * vc-dir.el (vc-dir-update): Remove debug helper.
18896 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18898 2009-08-26 Sam Steingold <sds@gnu.org>
18900 * simple.el (save-interprogram-paste-before-kill): New user option.
18901 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18902 save the interprogram-paste into kill-ring before overriding it
18903 with the Emacs kill.
18905 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18907 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18908 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18909 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18910 and move to vc-rcs.el.
18911 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18913 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18914 (vc-rcs-update-changelog): Remove.
18915 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18916 and move to vc-rcs.el.
18918 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18919 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18921 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18922 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18923 vc.el, renamed to be RCS specific.
18925 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18927 (vc-cvs-update-changelog): Move here from vc.el.
18929 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18932 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18934 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18936 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18938 * vc-git.el (vc-git-register): Use "git add" for directories.
18939 (vc-git-stash, vc-git-stash-show): New functions.
18940 (vc-git-extra-menu-map): Bind them.
18942 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18943 directory correctly in case the item is a directory itself.
18945 * vc.el: Document the desired behavior for reverted files in the
18947 (vc-default-prettify-state-info): Remove function, unused.
18949 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18951 2009-08-26 Glenn Morris <rgm@gnu.org>
18953 * bindings.el (standard-mode-line-format): Reposition dashes in
18954 which-func entry. (Bug#4217)
18956 * files.el (enable-local-variables, enable-local-eval)
18957 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18959 (auto-mode-alist, ignored-local-variables)
18960 (save-some-buffers-action-alist): Move risky declarations to the
18962 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18963 (font-lock-defaults, format-alist, imenu--index-alist)
18964 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18965 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18966 (mode-line-modified, mode-line-mule-info, mode-line-position)
18967 (mode-line-process, mode-line-remote, outline-level)
18968 (parse-time-rules, rmail-output-file-alist)
18969 (special-display-buffer-names, vc-mode):
18970 Move risky declarations to the relevant files.
18971 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18972 (mode-line-modified, mode-line-process, mode-line-position)
18973 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18974 * font-core.el (font-lock-defaults):
18975 * format.el (format-alist):
18976 * vc-hooks.el (vc-mode):
18977 * window.el (special-display-buffer-names):
18978 * international/mule-cmds.el (input-method-alist):
18979 Define riskiness here (dumped file) rather than in files.el.
18980 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18981 * imenu.el (imenu-generic-expression, imenu--index-alist):
18982 * outline.el (outline-level):
18983 * time.el (display-time-string):
18984 * calendar/parse-time.el (parse-time-rules):
18985 * mail/rmailout.el (rmail-output-file-alist):
18986 Autoload riskiness here, rather than placing in files.el.
18988 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18990 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18992 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18994 * simple.el (process-file-side-effects): New defvar.
18996 * dired-aux.el (dired-show-file-type):
18997 * vc.el (vc-diff-internal):
18998 * vc-arch.el (vc-arch-diff):
18999 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19000 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19001 * vc-git.el (vc-git-registered, vc-git-working-revision)
19002 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19003 (vc-git--empty-db-p):
19004 * vc-hooks.el (vc-user-login-name):
19005 * vc-svn.el (vc-svn-registered, vc-svn-state)
19006 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19007 * progmodes/grep.el (grep-probe): Let-bind
19008 `process-file-side-effects' with nil.
19010 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19012 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19013 daemon. Replace ping by checking for running service for bluez
19014 and zeroconf. (Bug#4239)
19016 2009-08-25 Kevin Ryde <user42@zip.com.au>
19018 * net/dig.el (dig): Add autoload cookie.
19020 2009-08-25 Glenn Morris <rgm@gnu.org>
19022 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19023 load-history for absolute file-names.
19024 (byte-compile-file-form-require): Warn about use of the cl package.
19026 * format.el (format-alist): Doc fix.
19028 * play/bubbles.el (top-level): Don't require cl at run-time.
19030 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19033 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19035 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19037 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19039 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19041 * calc/calc-alg.el (math-trig-rewrite)
19042 (math-hyperbolic-trig-rewrite): New functions.
19043 (calc-simplify): Simplify trig functions when asked.
19045 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19047 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19049 2009-08-24 Kenichi Handa <handa@m17n.org>
19051 * language/ind-util.el (mapthread): Delete it.
19052 (combinatorial): New function.
19053 (indian--puthash-cv): Use combinatorial instead of mapthread.
19055 2009-08-22 Kevin Ryde <user42@zip.com.au>
19057 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19058 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19059 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19060 Clarify docstring that the value is strings not symbols.
19061 (checkdoc-list-of-strings-p): New function.
19063 2009-08-22 Glenn Morris <rgm@gnu.org>
19065 * files.el (auto-mode-alist):
19066 * hippie-exp.el (he-concat-directory-file-name):
19067 * lpr.el (lpr-windows-system, printer-name):
19068 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19069 * ps-print.el (ps-windows-system):
19070 * startup.el (command-line):
19071 * emulation/viper-ex.el (viper-glob-function):
19072 * international/mule-cmds.el (set-language-environment-coding-systems):
19073 * net/ange-ftp.el (ange-ftp-write-region):
19074 * obsolete/fast-lock.el (fast-lock-cache-name):
19075 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19076 unisoft-unix, vax-vms, win32, w32.
19078 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19079 given name if the pattern is not more specific.
19081 * calendar/lunar.el (lunar-phase-names): New option.
19082 (lunar-phase): Doc fix.
19083 (lunar-cycles-per-year): New constant.
19084 (lunar-index): New function.
19085 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19086 (lunar-phase-name): Use lunar-phase-names.
19087 (calendar-lunar-phases): Use format.
19088 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19090 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19091 Copy imenu-example--name-and-position function here for own use.
19092 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19094 * bs.el (bs--redisplay):
19095 * cus-edit.el (custom-redraw):
19096 * ibuffer.el (ibuffer-bury-buffer):
19097 * server.el (server-goto-line-column):
19098 * startup.el (command-line-1):
19099 * strokes.el (strokes-xpm-for-stroke):
19100 * term.el (term-display-buffer-line):
19101 * view.el (View-goto-line):
19102 * calc/calc.el (calc-do, calc-trail-buffer):
19103 * play/gamegrid.el (gamegrid-add-score-insecure):
19104 * progmodes/ada-mode.el (ada-compile-goto-error):
19105 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19106 (ebrowse-select-1st-to-9nth):
19107 * progmodes/cperl-mode.el (cperl-time-fontification):
19108 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19109 * progmodes/gud.el (gud-display-line):
19110 (idlwave-shell-display-line):
19111 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19112 * progmodes/make-mode.el (makefile-browser-toggle):
19113 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19114 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19115 * textmodes/picture.el (picture-draw-rectangle):
19116 * textmodes/reftex-index.el (reftex-index-goto-letter):
19117 (reftex-select-jump-to-previous):
19118 * textmodes/reftex-sel.el (reftex-find-start-point)
19119 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19120 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19121 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19122 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19123 * textmodes/two-column.el (2C-associated-buffer):
19124 Use forward-line rather than goto-line.
19126 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19129 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19130 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19131 (quick-check-list-to-regexp): Declare.
19133 * progmodes/make-mode.el (makefile-browser-insert-selection):
19134 Use goto-char rather than goto-line.
19136 * progmodes/prolog.el (compilation-error-regexp-alist)
19137 (compilation-forget-errors): Declare.
19139 2009-08-22 Juri Linkov <juri@jurta.org>
19141 * progmodes/grep.el (lgrep, rgrep): At the beginning
19142 set `dir' to `default-directory' unless `dir' is a non-nil
19143 readable directory. (Bug#4052)
19144 (lgrep, rgrep): Change a weird way to report an error
19145 from using `read-string' to using `error'.
19146 Instead of using interactive arguments in the function body,
19147 add new argument `confirm'.
19149 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19151 * textmodes/remember.el (remember-buffer):
19152 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19153 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19154 (icalendar-extract-ical-from-buffer):
19155 * net/newst-treeview.el (newsticker-groups-filename):
19156 * net/newst-backend.el (newsticker-cache-filename):
19157 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19158 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19159 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19160 (speedbar-buffers-line-path, speedbar-path-line)
19161 (speedbar-buffers-line-path):
19162 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19164 * epa.el (epa-display-verify-result):
19165 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19167 2009-08-21 Glenn Morris <rgm@gnu.org>
19169 * progmodes/js.el (inferior-moz-process): Fix declaration.
19171 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19173 * obsolete/rnewspost.el (news-mail-reply):
19174 Use goto-char rather than goto-line.
19176 * term/ns-win.el (ns-open-file-select-line):
19177 Use line-beginning-position rather than goto-line.
19179 * apropos.el (apropos-command):
19180 * ehelp.el (electric-helpify):
19181 * printing.el (pr-show-setup):
19182 * strokes.el (strokes-help):
19183 * tutorial.el (tutorial--describe-nonstandard-key)
19184 (tutorial--detailed-help):
19185 * woman.el (woman-mini-help, woman-display-extended-fonts):
19186 * calc/calc-help.el (calc-describe-key):
19187 * emulation/edt.el (edt-electric-helpify):
19188 * international/mule-diag.el (mule-diag):
19189 * play/yow.el (apropos-zippy):
19190 * progmodes/python.el (python-describe-symbol):
19191 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19192 * textmodes/table.el (*table--cell-describe-mode)
19193 (*table--cell-describe-bindings):
19194 Use help-print-return-message rather than the now obsolete alias.
19196 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19197 (calendar-cursor-to-visible-date):
19198 * play/5x5.el (5x5-position-cursor):
19199 * play/decipher.el (decipher):
19200 * play/gomoku.el (gomoku-goto-xy):
19201 * play/landmark.el (lm-goto-xy):
19202 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19203 (mpuz-paint-digit):
19204 Use forward-line, not goto-line.
19206 * mail/rmail.el (rmail-obsolete): Delete custom group.
19207 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19208 (rmail-remote-password, rmail-remote-password-required):
19209 Remove unneeded :set-after and :set properties.
19211 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19213 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19215 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19217 * loadup.el: Remove leftover macos code.
19219 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19220 Explicitly pass the date format to git blame so that user local
19221 so that the output format can be parsed.
19223 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19225 * net/dbus.el (top): Don't check for (getenv
19226 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19228 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19230 * log-edit.el (log-edit-strip-single-file-name): New var.
19231 (log-edit-insert-changelog): Use it. Bug#3571
19233 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19235 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19238 * help.el (help-print-return-message): Rename from
19239 print-help-return-message.
19241 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19242 cvs-mode-map parent hack.
19243 (log-view-mode): Derive from special-mode.
19245 * linum.el (linum-mode): window-size-change-functions is redundant.
19246 Adapt to new window-configuration-change-hook behavior.
19247 (linum-after-size, linum-after-config): Remove.
19249 * imenu.el (imenu-example--name-and-position)
19250 (imenu-example--lisp-extract-index-name)
19251 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19254 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19255 (inferior-prolog-mode): Use it.
19256 (inferior-prolog-load-file): Reset list of errors.
19258 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19260 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19262 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19264 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19266 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19267 is running already.
19269 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19271 * subr.el (listify-key-sequence-1): Use normal syntax since those
19272 integers are nowadays always represented by the same (positive) number
19274 (read-key-empty-map): New const.
19275 (read-key-delay): New var.
19276 (read-key): New function.
19277 (force-mode-line-update): Use with-current-buffer.
19278 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19279 (start-process-shell-command, start-file-process-shell-command):
19280 Discourage the use of command-args.
19282 2009-08-19 Glenn Morris <rgm@gnu.org>
19284 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19286 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19288 * simple.el (choose-completion-string): Don't rely on
19289 minibuffer-completing-file-name and ad-hoc checks to decide whether
19290 to continue completion or not.
19292 * minibuffer.el (minibuffer-hide-completions): New function.
19293 (completion--do-completion): Use it.
19294 (completions-annotations): New face.
19295 (completion--insert-strings): Use it.
19296 (completion-pcm--delim-wild-regex): Add docstring.
19297 (completion-pcm--string->pattern): Add support for 0-width delimiters
19298 in completion-pcm--delim-wild-regex.
19300 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19302 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19303 Remove unused var `buffer-modified-p'.
19305 * minibuffer.el (completion--do-completion): Move point for the #b001
19306 case as well (bug#4176).
19307 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19309 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19311 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19312 and :session buses.
19314 2009-08-18 Kenichi Handa <handa@m17n.org>
19316 * international/ucs-normalize.el (ucs-normalize-version):
19318 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19319 (utf-8-hfs): Make it perform normalization on encoding too.
19321 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19322 (sentence-end-without-space): Delete duplicated chars.
19323 (sentence-end-base): Likewise.
19325 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19326 (html-mode): Delete duplicated chars from sentence-end-base.
19328 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19329 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19331 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19333 * files.el (hack-one-local-variable): If the mode function is for
19334 a minor mode, pass it an argument (Bug#4148).
19336 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19338 * net/tramp.el (tramp-register-completion-file-name-handler):
19339 Check also for (member 'partial-completion completion-styles).
19341 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19343 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19346 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19348 * progmodes/cperl-mode.el: Merge upstream 6.2.
19349 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19350 (cperl-forward-re): Check cperl-brace-recursing.
19351 (cperl-highlight-charclass): New function.
19352 (cperl-find-pods-heres): Use it.
19353 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19354 (cperl-beautify-regexp-piece): Fix column calculation.
19355 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19356 (cperl-beautify-level): Don't process entire regexp.
19357 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19359 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19360 (cperl-init-faces): Build a list in the normal way.
19362 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19364 * calendar/parse-time.el (parse-time-string-chars): Save match
19367 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19369 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19370 (sql-product): Use it.
19371 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19372 (sql-set-product): Add completion.
19373 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19374 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19375 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19376 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19377 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19378 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19379 (sql-highlight-db2-keywords): Remove.
19380 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19381 (sql-highlight-product): Use derived-mode-p.
19382 (sql-set-sqli-buffer): Use with-current-buffer.
19383 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19386 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19388 * term.el: Fix commenting convention, turn comments into docstrings.
19390 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19392 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19394 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19396 * calendar/parse-time.el (parse-time-string-chars): Compute using
19397 character classes, to handle non-ascii characters (Bug#3190).
19399 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19401 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19402 another heredoc if the user adds another < (Bug#3226).
19404 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19405 Don't initialize based on window-system (Bug#4124).
19407 * facemenu.el (facemenu-read-color): Use a completion function
19408 that accepts any defined color, such as RGB triplets (Bug#3677).
19410 * files.el (get-free-disk-space): Change fallback default
19411 directory to /. Expand DIR argument before switching to fallback.
19412 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19414 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19416 * files.el (load-library): Doc fix.
19418 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19420 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19421 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19422 incremental search string.
19424 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19427 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19428 (ediff-merge-region-is-non-clash)
19429 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19430 Also check if the job is really a merge job.
19432 * ediff.el (ediff-current-file): New function.
19434 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19436 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19438 (js-insert-and-indent): Delete function.
19439 (js-mode-map): Don't bind keys to js-insert-and-indent.
19440 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19441 (js-end-of-defun): Rename from js--end-of-defun.
19442 (js-auto-indent-flag): Delete variable.
19444 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19446 * progmodes/js.el: Remove proclaim statement.
19447 Defvar which-func-imenu-joiner-function to silence compiler.
19449 * files.el (auto-mode-alist): Use js-mode for .js files.
19451 * progmodes/js2-mode.el: Remove file.
19453 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19455 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19457 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19459 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19460 Karl Landstrom <karl.landstrom@brgeight.se>
19462 * progmodes/js.el: New file.
19464 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19466 * timezone.el (timezone-parse-date): Add ability to understand ISO
19467 basic format (minimal separators) dates in addition to the
19468 already-supported extended format dates.
19470 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19472 * international/ucs-normalize.el: Add a `coding' file variable.
19474 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19476 2009-08-14 Sam Steingold <sds@gnu.org>
19478 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19480 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19482 * faces.el (help-argument-name): Define it here instead of
19483 help-fns.el, because in daemon mode help-fns.el may be loaded when
19484 faces are still uninitialized (Bug#1078).
19486 * help-fns.el (help-argument-name): Move defface to faces.el.
19488 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19490 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19491 create buffer with a pty but no process so that GDB can make the
19492 inferior the controlling process.
19494 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19496 * international/ucs-normalize.el: New file.
19498 2009-08-13 Richard Stallman <rms@gnu.org>
19500 * mail/rmail.el (rmail-get-attr-names):
19501 Accept an attribute header that is too short.
19503 * mail/rmail.el (rmail-forget-messages):
19504 Ignore nil elt in rmail-message-vector. Use dotimes.
19506 * progmodes/compile.el (compilation-goto-locus):
19507 Use next-error-move-function.
19509 * simple.el (next-error-move-function): New variable.
19511 2009-08-12 Juri Linkov <juri@jurta.org>
19513 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19514 always non-nil. (Bug#4052)
19516 * replace.el (read-regexp): Return empty string when
19517 `default-value' is nil.
19518 (keep-lines-read-args): Don't use empty string as the
19519 default value for `read-regexp'. (Bug#2495)
19521 2009-08-12 Juri Linkov <juri@jurta.org>
19523 * international/mule-cmds.el (ucs-insert): Change arguments
19524 from `arg' to `character', `count', `inherit' to be the same
19525 as in `insert-char'. Doc fix. (Bug#4039)
19527 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19529 2009-08-12 Juri Linkov <juri@jurta.org>
19531 * files-x.el: New file.
19533 * files.el: Move code that deals with adding/deleting
19534 file/directory-local variables to files-x.el.
19536 * Makefile.in (ELCFILES): Add files-x.elc.
19538 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19540 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19541 to use `goto-line'.
19542 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19544 (gdb-invalidate-disassembly): Do not refresh upon receiving
19545 'update signal. Instead, update all disassembly buffers only after
19547 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19548 (gdb-starting): Move -data-list-register-names...
19549 (gdb-stopped): ...here so it's sent when first thread stops.
19550 (gdb-registers-handler-custom): Do nothing if register names are
19553 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19554 from `gdb-mi.el' to avoid extra tangling.
19556 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19557 change which breaks `gud-def' definitions used in `gdb'.
19558 (gdb-update-gud-running): No extra fuss for updating frame number.
19560 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19562 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19563 (describe-language-environment-map, setup-language-environment-map)
19564 (set-coding-system-map): Move initialization into declaration.
19565 (set-language-info-alist): Last arg to define-key-after can be skipped.
19567 * international/quail.el (quail-completion-1): Simplify.
19568 (quail-define-rules): Use slightly more compact code.
19569 (quail-insert-decode-map): Propertize keys, compact columns.
19571 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19574 2009-08-10 Miles Bader <miles@gnu.org>
19576 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19577 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19578 (js2-instance-member, js2-private-member, js2-private-function-call)
19579 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19580 (js2-magic-paren, js2-external-variable):
19581 Remove "-face" suffix from face names.
19582 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19583 (js2-highlight-undeclared-vars, js2-peek-token)
19584 (js2-parse-function-params, js2-mode-show-errors)
19585 (js2-mode-show-warnings, js2-make-magic-delimiter)
19586 (js2-mode-highlight-magic-parens): Update to use new face names.
19588 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19590 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19591 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19593 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19595 * subr.el: Provide hashtable-print-readable.
19597 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19598 hs-c-like-adjust-block-beginning.
19599 (hs-hide-block-at-point): Stop hiding at the beginning of
19600 hs-block-end-regexp (Bug#700).
19602 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19604 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19606 (gdb-registers-handler-custom): Do not fail when register names
19609 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19611 * progmodes/gdb-mi.el (gdb-control-all-threads)
19612 (gdb-control-current-thread): Interactive setters for
19613 `gdb-gud-control-all-threads' to use in menu.
19614 (gdb-show-run-p): Show «Go» when process is not active.
19615 (gud-tool-bar-map): Add non-stop/A,T indicator.
19616 Uses gud/thread.xpm and gud/all.xpm.
19618 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19620 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19621 (nslookup-font-lock-keywords): Make it a variable.
19622 (net-utils-mode): New mode for viewing diagnostic network output.
19623 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19624 (net-utils-run-simple): New function.
19625 (ifconfig, iwconfig, netstat, arp, route): Use it.
19627 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19629 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19630 (gdb-memory-set-address, def-gdb-set-positive-number)
19631 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19632 after changing settings.
19633 (gdb-invalidate-disassembly): Update when first shown.
19634 (gdb-edit-locals-value): Fixed.
19635 (gdb-registers-handler-custom): Print registers in right order and
19636 allow changing register values (only for current thread yet).
19637 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19638 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19639 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19640 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19641 Thread info in mode name.
19642 (gdb-registers-mode-map): TAB to switch to locals.
19644 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19646 * mail/rmail.el (rmail-add-mbox-headers)
19647 (rmail-set-message-counters-counter): Search for
19648 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19650 2009-08-08 Glenn Morris <rgm@gnu.org>
19652 * Makefile.in (ELCFILES): Update.
19654 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19656 * mail/sendmail.el (mail-yank-original):
19657 Set buffer-file-coding-system from the one used by the message whose
19660 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19661 to "windows" when "pgnuplot" is used.
19662 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19663 Don't call accept-process-output if "pgnuplot" is used.
19664 (calc-graph-init): Don't send -display and -geometry to
19665 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19666 running "pgnuplot -V" with shell-command-to-string.
19668 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19671 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19673 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19676 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19678 * vc-dispatcher.el (vc-resynch-window): Update comment.
19680 * term.el (term-handle-ansi-escape): Add comments with the
19681 terminfo capabilities implemented.
19683 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19685 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19686 (gdb-var-create-handler): Rewritten using JSON parser.
19687 (gdb-propertize-header): Move earlier.
19688 (gdb-set-header): Remove to avoid duplication.
19689 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19690 Refresh disassembly buffers only after threads list have been
19692 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19695 2009-08-04 Juri Linkov <juri@jurta.org>
19697 * files.el: Commands to add/delete file/directory-local variables.
19698 (read-file-local-variable, read-file-local-variable-value)
19699 (read-file-local-variable-mode, modify-file-local-variable)
19700 (modify-file-local-variable-prop-line)
19701 (modify-dir-local-variable): New functions.
19702 (add-file-local-variable, delete-file-local-variable)
19703 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19704 (add-dir-local-variable, delete-dir-local-variable)
19705 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19706 (copy-dir-locals-to-file-locals-prop-line): New commands.
19708 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19710 * abbrev.el (insert-abbrev-table-description): Prettify output.
19711 Suggested by Karl Chen.
19713 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19715 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19716 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19717 (gdb-overlay-arrow-position, gdb-thread-position)
19718 (gdb-disassembly-position): Declare variables.
19719 (gdb-wait-for-pending): Function now.
19720 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19721 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19722 compilation goes smoothly.
19723 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19724 (gdb-non-stop-setting): New customization setting which replaces
19725 `gdb-non-stop' so changing it doesn't break active GDB session.
19726 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19727 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19728 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19729 (gdb-show-threads-by-default): New customization options.
19730 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19732 (gdb-get-buffer-create): Send buffers update signal when they are
19734 (gdb-invalidate-locals, gdb-invalidate-registers)
19735 (gdb-invalidate-breakpoints)
19736 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19737 (gdb-invalidate-memory): Accept update signal.
19738 (gdb-current-context-command): Use --frame option.
19739 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19740 Implement `gdb-frame-number' selection logic.
19741 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19742 whether to show GUD toolbar buttons.
19743 (gdb-thread-exited): Unselect current thread when it exits.
19744 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19745 (gdb-mark-line): Routine which sets overlay arrow or inverses
19746 video on fringeless displays.
19747 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19748 to build aligned columns of data in GDB buffers and set text
19749 properties line-by-line.
19750 (gdb-invalidate-breakpoints)
19751 (gdb-breakpoints-list-handler-custom)
19752 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19753 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19754 (gdb-registers-handler-custom): Align data columns.
19755 (gdb-locals-handler-custom): Now prints data like in variable
19757 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19758 Remove confusing buttons.
19759 (gdb-invalidate-threads): Append --frame.
19760 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19761 between breakpoints/threads buffers.
19762 (gdb-set-window-buffer): Now can ignore dedicated windows.
19763 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19764 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19765 (def-gdb-thread-buffer-gud-command): Replaces
19766 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19767 for fine thread control.
19768 (gdb-preempt-existing-or-display-buffer): New function used to
19769 display bound buffers without breaking window layout.
19770 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19771 (gdb-select-frame): New version of `gdb-frames-select' which now
19772 sets `gdb-frame-number' so commands may use --frame option instead
19773 of inner debugger state.
19774 (gdb-frame-handler): Do not set `gdb-frame-number'.
19775 (gdb-threads-mode-map): Select threads with mouse.
19777 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19778 avoid compilation warning.
19779 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19782 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19783 Argument `key' renamed to `buffer-type'.
19784 (gdb-current-context-buffer-name): Do not add thread info to
19785 buffer name when no thread is selected.
19786 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19787 command (bug 3794).
19788 (gdb-thread-selected): Handle `=thread-selected' notification.
19789 (gdb-wait-for-pending): New macro to deal with congestion problems.
19790 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19792 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19793 This fixes problem similar to one described in bug 3947.
19794 (gud-menu-map): More menu items.
19795 (gdb-init-1): Reset `gdb-thread-number' to nil.
19797 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19800 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19801 (gdb-current-context-command): Do not append --thread if
19802 `gdb-thread-number' is nil.
19803 (gdb-running-threads-count, gdb-stopped-threads-count):
19805 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19806 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19807 New customization options.
19808 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19810 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19811 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19812 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19813 set `gdb-thread-number' and update `gud-running' properly.
19814 (gdb-running): Update threads list when new threads appear.
19815 (gdb-stopped): Support non-stop operation and new thread switching
19817 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19818 (gdb-json-partial-output): New set of JSON routines.
19819 (def-gdb-auto-update-trigger): New `signal-list' optional
19821 (gdb-thread-list-handler-custom): Update `gud-running',
19822 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19823 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19824 (gdb-continue-thread, gdb-step-thread): New commands for fine
19825 thread execution control.
19826 (gud-menu-map): New menu items to switch non-stop options.
19827 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19828 (gdb-send): Mimic RET properly (bug 3794).
19830 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19831 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19833 (def-gdb-auto-update-handler): New nopreserve optional argument.
19834 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19836 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19837 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19838 (gdb-parent-mode): New mode to derive other GDB modes from.
19839 (gdb-display-disassembly-for-thread)
19840 (gdb-frame-disassembly-for-thread): New commands for threads
19843 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19844 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19845 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19846 (gdb-update): We now store all GDB buffers in a list so that they
19847 can be updated by traversing a list instead of calling invalidate
19848 triggers explicitly.
19849 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19850 pair for GDB buffer.
19851 (gdb-stack-buffer-name): Add thread information.
19852 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19853 handle pending triggers.
19854 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19855 (def-gdb-thread-buffer-simple-command)
19856 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19857 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19858 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19859 New commands which show buffers bound to thread.
19860 (gdb-stack-list-locals-regexp): Remove unused regexp.
19862 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19863 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19864 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19865 to (gud-comint-buffer) in *-buffer-name functions
19866 because (gdb-get-target-string) already does that.
19867 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19868 (gdb-changed-registers-handler): Rewritten without regexps.
19870 * progmodes/gdb-mi.el: Basic thread selection support.
19871 (gdb-thread-number): New variable.
19872 (gdb-current-context-command): New macro which adds --thread
19874 (gdb-threads-mode-map): Select thread with SPC.
19875 (gdb-thread-list-handler-custom): Mark current thread with overlay
19876 arrow. Synchronize GDB thread and Emacs thread.
19877 (gdb-select-thread): New command which selects current thread.
19878 (gdb-invalidate-frames, gdb-invalidate-locals)
19879 (gdb-invalidate-registers): Use --thread option.
19881 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19883 * net/tramp.el (top): Make check for tramp-gvfs loading more
19885 (tramp-handle-insert-file-contents): `unwind-protect' must be
19886 inside `with-parsed-tramp-file-name'.
19888 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19891 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19893 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19894 directory if CLASSPATH is not set.
19896 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19898 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19900 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19902 2009-08-02 Kevin Ryde <user42@zip.com.au>
19904 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19905 Update freshmeat link. Delete newsforge.com as it seems gone.
19907 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19909 * select.el (x-set-selection): Doc fix (Bug#4021).
19911 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19913 * help-fns.el (describe-variable): Treat list return values from
19914 dir-locals-find-file properly (Bug#4005).
19916 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19918 * net/tramp.el (tramp-debug-message): Print also microseconds.
19920 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19922 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19924 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19925 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19928 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19929 (tramp-get-file-property): Use it.
19931 * autorevert.el (auto-revert-handler):
19932 Allow `auto-revert-tail-mode' for remote files.
19934 2009-08-02 Jason Rumney <jasonr@gnu.org>
19936 * minibuffer.el (read-file-name): Treat confirm options to
19937 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19939 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19941 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19942 (font-lock-variable-name-face, font-lock-constant-face):
19943 Darken the colors for light backgrounds.
19945 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19947 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19948 month names. (Bug#3987)
19950 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19952 * simple.el (line-move-finish): Pass whole number to
19953 line-move-to-column.
19954 (line-move-visual): Perform hscroll to the recorded position.
19956 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19958 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19960 2009-07-29 Alan Mackenzie <acm@muc.de>
19962 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19964 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19966 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19967 (gdb-place-breakpoints): Use full path when setting breakpoints.
19969 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19971 * calc/calc.el (calc-mode-map): Add keybinding for
19972 `calc-transpose-lines'.
19974 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19976 * calc/calc-misc.el (calc-transpose-lines): New function.
19978 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19980 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19981 Simplify check for out-of-band methods.
19982 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19983 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19985 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19987 * vc-git.el (vc-git-checkin): Fix typo.
19989 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19991 * progmodes/js2-mode.el: New file.
19993 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19995 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19996 (gud-menu-map): Adjust tooltip accordingly.
19998 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20000 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20001 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20003 * add-log.el (change-log-mode-map): Add a menu.
20005 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20007 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20008 function returns nil.
20009 (dbus-handle-event): Handle special return value :ignore.
20010 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20012 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20014 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20017 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20021 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20023 * term/pc-win.el (x-display-name, x-colors)
20024 (x-select-enable-clipboard, x-select-text): Doc fix.
20026 * term/common-win.el (x-display-name, x-colors): Doc fix.
20028 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20029 (xw-defined-colors): Doc fix.
20031 * w32-fns.el (x-select-text, x-setup-function-keys)
20032 (x-get-selection, x-set-selection): Doc fix.
20034 * term/x-win.el (x-select-text, x-setup-function-keys)
20035 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20037 * select.el (x-set-selection): Doc fix.
20039 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20041 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20042 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20043 "IsNSSSupportAvailable" method is not available.
20044 Reported by Steve Youngs <steve@sxemacs.org>.
20046 2009-07-24 Kenichi Handa <handa@m17n.org>
20048 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20049 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20050 (build-unicode-category-table): Fix range checks.
20052 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20054 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20055 the buffer we try to sync is current when calling
20058 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20059 not show up to date files.
20061 2009-07-24 Glenn Morris <rgm@gnu.org>
20063 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20064 Add autoload cookies. If necessary, initialize.
20065 (elint-log): Handle non-file buffers.
20066 (elint-initialize): Add optional argument to reinitialize.
20067 (elint-find-builtin-variables): Save excursion.
20069 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20071 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20074 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20076 * vc.el (vc-print-log-internal): New function, split out from ...
20077 (vc-print-log): ... here.
20078 (vc-dir-move-to-goal-column): Declare.
20080 * vc-git.el (vc-git-add-signoff): New variable.
20081 (vc-git-checkin): Use it.
20082 (vc-git-toggle-signoff): New function.
20083 (vc-git-extra-menu-map): Bind it to menu.
20084 (vc-git--run-command-string): Accept a nil FILE argument.
20085 (vc-git-stash-list): New function.
20086 (vc-git-dir-extra-headers): Use it.
20088 2009-07-23 Glenn Morris <rgm@gnu.org>
20090 * help-fns.el (describe-variable): Describe ignored and risky local
20091 variables in a similar way to that in which we describe safe ones.
20093 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20094 (byte-compile-output-file-form, byte-compile-output-docform)
20095 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20096 Give some more local variables with common names a "bytecomp-" prefix,
20097 so as not to shadow things during compilation.
20098 * emacs-lisp/cl-macs.el (load-time-value)
20099 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20100 `outbuffer' to `bytecomp-outbuffer'.
20102 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20103 since the next two variables cover them automatically now.
20104 (elint-builtin-variables, elint-autoloaded-variables): New.
20105 (elint-unknown-builtin-args): Remove all members, since they can be
20106 parsed automatically now.
20107 (elint-extra-errors): New.
20108 (elint-env-add-env, elint-env-add-macro): Use cadr.
20109 (elint-current-buffer): Use or. Change final message.
20110 (elint-get-top-forms): Use line-end-position.
20111 (elint-init-env): Use cadr. Handle autoload, declare-function,
20113 (elint-add-required-env): Doc fix. Use or. Standardize error.
20114 (regexp-assoc): Remove unused function.
20115 (elint-top-form): Set elint-current-pos, to record the start of the
20116 top-level form, for compilation-mode.
20117 (elint-form): Trap errors in macro expansion. Use dolist.
20118 (elint-unbound-variable): Use elint-builtin-variables and
20119 elint-autoloaded-variables.
20120 (elint-get-args): Use cadr, or.
20121 (elint-check-cond-form): Use dolist, cadr.
20122 (elint-check-condition-case-form): Doc fix. Use cadr.
20123 Use elint-extra-errors.
20124 (elint-log): New function.
20125 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20126 Distinguish errors and warnings.
20127 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20128 Use a bytecomp-style format.
20129 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20130 (elint-get-log-buffer): Use compilation mode. Disable undo.
20131 Don't truncate lines.
20132 (elint-initialize): Set builtin and autoloaded variable lists.
20133 Only process elint-unknown-builtin-args if non-nil.
20134 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20136 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20138 2009-07-22 Kevin Ryde <user42@zip.com.au>
20140 * net/newst-backend.el (newsticker--parse-atom-1.0)
20141 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20142 (newsticker--parse-rss-1.0):
20143 * progmodes/idlwave.el (idlwave-mode):
20144 * progmodes/idlw-shell.el (idlwave-shell-mode):
20145 * progmodes/vera-mode.el (vera-mode):
20146 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20147 * progmodes/vhdl-mode.el (vhdl-mode):
20148 * textmodes/table.el (table-generate-source)
20149 (table--warn-incompatibility):
20150 Hyperlink urls in docstrings with URL `...'.
20152 2009-07-22 Glenn Morris <rgm@gnu.org>
20154 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20155 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20156 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20157 Remove leading * from defcustom docs.
20159 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20161 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20163 (list-load-path-shadows): Optionally, just return shadows as a string.
20165 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20167 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20169 * mail/rmailedit.el (rmail-edit-mode):
20170 Use auto-save-include-big-deletions.
20172 * mail/rmail.el (rmail-variables):
20173 Use auto-save-include-big-deletions.
20175 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20178 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20180 * calc/calc.el (calc-undo-length): New variable.
20181 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20183 2009-07-21 Richard Stallman <rms@gnu.org>
20185 * files.el (auto-save-mode): Handle buffer-save-size = -2
20188 2009-07-21 Glenn Morris <rgm@gnu.org>
20190 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20192 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20194 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20195 silence compiler. Instead...
20196 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20197 (ps-print-ensure-fontified): Update for above function name changes.
20199 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20200 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20201 silence compiler. Instead...
20202 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20203 (mh-show-buffer): Only define for compiler.
20204 (pr-mh-current-message): Update for above function name changes.
20206 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20208 (find-file-noselect, insert-file-1): Update for above change.
20210 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20212 * mail/mailclient.el (mailclient-send-it): Fix message.
20214 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20215 (edebug-eval): Check cl-debug-env is bound.
20216 (print-level, print-circle): Don't redefine built-in variables.
20218 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20219 (custom-print-vectors): Remove old comments from doc.
20221 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20222 (emerge-version): Make the variable an obsolete alias for the
20223 emacs-version variable. Make the function obsolete.
20224 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20225 Emerge options, rather than merging in into the main Options menu.
20226 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20227 and auto advance modes. Disable edit/fast items when not relevant.
20229 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20231 * term/vt420.el (terminal-init-vt420): Fix typo.
20233 2009-07-20 Sam Steingold <sds@gnu.org>
20235 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20236 variable (removed from compile.el on 2004-03-11).
20238 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20240 * files.el (hack-local-variables-filter): Fix last change.
20242 2009-07-19 Juri Linkov <juri@jurta.org>
20244 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20245 (dir-local-variables-alist): New buffer-local variable.
20246 (hack-local-variables-filter): If variable is not dir-local,
20247 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20248 because file-local overrides dir-local.
20249 (c-postprocess-file-styles) <declare-function>:
20250 Remove obsolete declaration.
20251 (hack-dir-local-variables): Add dir-local variable/value pair to
20252 `dir-local-variables-alist' and remove duplicates. Doc fix.
20254 * help-fns.el (describe-variable): Add information about
20255 file-local and dir-local variables.
20257 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20259 * files.el (hack-local-variables-filter): Rewrite.
20261 2009-07-19 Glenn Morris <rgm@gnu.org>
20263 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20264 Silence compiler by only defining on XEmacs.
20266 * international/mule.el (auto-coding-regexp-alist): Only match
20267 BABYL... at the start of buffer, not of lines. (Bug#3790)
20269 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20270 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20271 (cal-menu-context-mouse-menu): Doc fix.
20273 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20275 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20277 2009-07-18 Juri Linkov <juri@jurta.org>
20279 * info.el: Virtual Info keyword finder.
20280 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20281 (Info-finder-file): New variable.
20282 (Info-finder-find-file): New function.
20283 (finder-known-keywords, finder-package-info)
20284 (find-library-name, lm-commentary): Use defvar and
20285 declare-function to silence compiler warnings.
20286 (Info-finder-find-node): New function.
20287 (info-finder): New command.
20289 * subr.el (process-kill-buffer-query-function): New function.
20290 (add-hook)<kill-buffer-query-functions>: Add hook
20291 `process-kill-buffer-query-function'.
20293 2009-07-18 Alan Mackenzie <acm@muc.de>
20295 * progmodes/cc-mode.el (c-before-hack-hook)
20296 (c-postprocess-file-styles): Give invocation of `c-set-style'
20297 DONT-OVERRIDE parameter of t. Already set style variables will
20298 thus not be overridden by style settings given by `c-file-syle'.
20300 * files.el (hack-local-variables-filter): Remove entries with
20301 duplicate keys from `file-local-variables-alist'.
20303 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20305 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20306 x-set-selection if display-selections-p returns nil for the
20309 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20311 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20313 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20315 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20316 Accept nil in addition to a regexp.
20317 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20318 Accept nil in addition to a regexp.
20319 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20320 buffers that have an associated file. Handle nil values of
20321 desktop-buffers-not-to-save and desktop-files-not-to-save.
20324 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20325 (x-disown-selection-internal): New functions.
20327 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20329 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20331 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20332 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20334 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20336 * simple.el (set-mark): Revert last change.
20338 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20340 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20341 rendering of pngs is not possible instead of messaging a long
20344 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20346 * w32-fns.el (x-selection-owner-p): New function.
20348 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20349 (mouse-yank-at-click, mouse-yank-primary):
20350 If select-active-regions is non-nil, deactivate the mark before
20353 * simple.el (deactivate-mark, set-mark): Only save selection if we
20356 2009-07-17 Kenichi Handa <handa@m17n.org>
20358 * case-table.el (describe-buffer-case-table): Fix for the case
20359 that KEY is a cons.
20361 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20363 * vc-rcs.el (vc-rcs-find-file-hook):
20364 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20366 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20368 * net/tramp.el (tramp-wait-for-output): Handle the case when
20369 commands do not return a newline but a null byte before the shell
20372 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20374 * term/ns-win.el (ns-set-alpha): Don't declare.
20375 (ns-set-background-alpha): Remove function.
20377 2009-07-16 Kevin Ryde <user42@zip.com.au>
20379 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20380 y-or-n-p, for safety.
20382 2009-07-16 Richard Stallman <rms@gnu.org>
20384 * files.el (auto-save-mode): If buffer-saved-size is -2,
20387 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20388 (rmail-retry-ignored-headers): Add more uninteresting fields.
20390 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20392 * net/rcirc.el (rcirc): Use history variables.
20393 (rcirc-server-name-history, rcirc-nick-name-history)
20394 (rcirc-server-port-history): New variables.
20396 2009-07-15 Kenichi Handa <handa@m17n.org>
20398 * international/mule-cmds.el (set-language-environment-charset):
20399 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20402 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20403 Delete unibyte-display.
20405 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20407 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20409 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20411 * simple.el (deactivate-mark): Optional argument FORCE.
20412 (set-mark): Use deactivate-mark.
20414 * info.el (Info-search): No need to check transient-mark-mode
20415 before calling deactivate-mark.
20417 * select.el (x-set-selection): Doc fix.
20418 (x-valid-simple-selection-p): Allow buffer values.
20419 (xselect--selection-bounds): Handle buffer values.
20420 Suggested by David De La Harpe Golden.
20422 * mouse.el (mouse-set-region, mouse-drag-track):
20423 Call copy-region-as-kill before setting the mark, to let
20424 select-active-regions work.
20426 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20428 * simple.el (deactivate-mark): If select-active-regions is
20429 non-nil, copy the selection data into a string.
20430 (activate-mark): If select-active-regions is non-nil, set the
20431 selection to the current buffer.
20432 (set-mark): Update selection if select-active-regions is non-nil.
20434 * select.el (x-valid-simple-selection-p): Allow buffer values.
20436 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20438 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20439 and more featureful message-mode.
20441 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20443 * select.el (x-set-selection): Doc fix.
20444 (x-valid-simple-selection-p): Disallow selection data consisting
20445 of a list or cons of integers, since that is not used.
20446 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20447 (xselect-convert-to-string, xselect-convert-to-length)
20448 (xselect-convert-to-filename, xselect-convert-to-charpos)
20449 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20451 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20453 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20454 output in -break-info command (Emacs bug #3794).
20456 2009-07-14 Glenn Morris <rgm@gnu.org>
20458 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20459 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20460 (edebug-print-length, edebug-print-level, edebug-print-circle)
20461 (edebug-sit-for-seconds, edebug-view-outside)
20462 (edebug-bounce-point, edebug-set-global-break-condition)
20463 (edebug-Go-nonstop-mode, edebug-trace-mode)
20464 (edebug-Trace-fast-mode, edebug-continue-mode)
20465 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20466 (edebug-visit-eval-list): Doc fixes.
20468 * subr.el (def-edebug-spec): Doc fix.
20470 2009-07-14 Kenichi Handa <handa@m17n.org>
20472 * international/characters.el: Fix setting of category ?C.
20474 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20476 * term/ns-win.el (x-select-font): defalias x-select-font to
20477 ns-popup-font-panel instead of generate-fontset-menu.
20479 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20481 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20483 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20485 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20486 the PK\003\004 header (Bug#3770).
20488 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20490 * pcomplete.el (pcomplete-comint-setup): Check for
20491 shell-dynamic-complete-filename too.
20493 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20495 * simple.el (temporary-goal-column): Change the value for
20496 line-move-visual to a cons cell.
20497 (line-move-visual): Record or set the window hscroll, if
20498 necessary (Bug#3494).
20499 (line-move-1): Handle cons value of temporary-goal-column.
20501 2009-07-11 Kenichi Handa <handa@m17n.org>
20503 * international/mule-diag.el (describe-character-set): Don't show
20506 2009-07-10 Sam Steingold <sds@gnu.org>
20508 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20509 Omake sometimes indents the errors it prints, so allow all
20510 regexps to start with spaces.
20512 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20514 * cus-edit.el (customize-changed-options-previous-release):
20515 Bump value to 22.1. (Bug#3804)
20517 2009-07-08 Sam Steingold <sds@gnu.org>
20519 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20520 to be a cons cell (test . ignored-directory) to selectively ignore
20521 some directories depending on the location of the search.
20523 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20525 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20526 remote user is root, on the local host.
20527 (tramp-local-host-p): Either the local user or the remote user
20528 must be root. (Bug#3771)
20530 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20532 * progmodes/gdb-mi.el (gdb): Remove description of
20533 gdb-use-separate-io-buffer.
20534 (menu): Don't allow toggling of or enable
20535 gdb-use-separate-io-buffer from menubar.
20537 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20539 * mail/unrmail.el (unrmail): Make sure the message ends with two
20540 newlines (Bug#3769).
20542 2009-07-08 Glenn Morris <rgm@gnu.org>
20544 * calendar/calendar.el (calendar-current-date): Rework previous change.
20546 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20548 * calendar/calendar.el (calendar-current-date):
20549 Add an optional argument giving an offset from today.
20551 2009-07-08 Glenn Morris <rgm@gnu.org>
20553 * tutorial.el (tutorial--describe-nonstandard-key):
20554 Adjust the message for when a key has been unbound.
20555 (help-with-tutorial): Hide the arch-tag.
20557 2009-07-08 Kenichi Handa <handa@m17n.org>
20559 * international/fontset.el (setup-default-fontset): For each
20560 script, append (not set) font-specs.
20562 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20565 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20567 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20568 -data-list-register-names to ...
20569 (gdb-starting): ... here because GDB 7.0 requires execution to
20570 have started when using this MI command.
20571 (gdb-set-header): New function to distinguish select and
20572 unselected tabs in gdb buffers.
20573 (gdb-propertize-header): New macro that uses gdb-set-header.
20574 (gdb-breakpoints-header, gdb-locals-header): Use it.
20575 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20577 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20579 * Makefile.in (ELCFILES): Remove fadr.elc.
20581 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20583 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20584 may contain frame information, so `string-match' should be used.
20585 (gdb-update): Disassembly is invalidated through
20586 `gdb-get-selected-frame'.
20587 (gdb-pad-string): New function to pad string with spaces.
20588 (gdb-invalidate-disassembly): Invalidate only if the buffer
20590 (gdb-disassembly-handler-custom): Column alignment.
20591 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20593 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20595 (gdb-frame-handler): Match convention to for disassembly buffer
20597 (gdb-stack-list-frames-handler): Rewritten without regexps.
20598 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20599 not highlight breakpoints without line information.
20600 (gdb-input): Add trailing newline to command.
20602 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20604 (gdb-breakpoints-list-handler-custom): Replacement for
20605 `gdb-break-list-handler'. Using real parser instead of regexps
20607 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20608 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20609 to place breakpoints.
20610 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20612 (gdb-disassembly-handler-custom): Show overlay arrow.
20613 (gdb-disassembly-place-breakpoints): Show breakpoints in
20614 disassembly buffer.
20615 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20616 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20617 instead of parsing breakpoints buffer. Fixed old menu references
20622 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20623 (gdb-memory-address): New variable which holds top address of
20624 memory page shown in memory buffer.
20625 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20626 New customization variables.
20628 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20629 display the memory buffer.
20630 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20631 buffer display parameters.
20632 (def-gdb-memory-format, gdb-memory-format-binary)
20633 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20634 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20635 Functions for setting memory buffer format.
20636 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20637 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20638 unit size used in memory buffer.
20639 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20640 Switch to next/previous page of memory buffer.
20641 Now using (bindat-get-field) instead of fadr functions.
20643 2009-07-07 Sam Steingold <sds@gnu.org>
20645 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20646 non-top-level files.
20648 2009-07-07 Kenichi Handa <handa@m17n.org>
20650 * international/mule-cmds.el (reset-language-environment):
20651 Put the highset priority to the charset iso-8859-1.
20653 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20655 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20656 to the end of the line when locating the block (Bug#700).
20658 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20660 * net/tramp.el (tramp-handle-write-region): Flush file properties
20661 in case of short track.
20663 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20665 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20666 Coded custom representation of verilog error regular expressions
20667 to work with Emacs-22's new format.
20668 (verilog-error-regexp-xemacs-alist): Coded custom representation
20669 of verilog error regular expressions to work with XEmacs format.
20670 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20671 error recognition into XEmacs.
20672 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20673 error recognition into Emacs-22.
20675 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20677 * woman.el: Remove stand-alone closing parentheses.
20678 (woman-file-name, woman2-format-paragraphs)
20679 (woman-leave-blank-lines): Code cleanup.
20680 (woman-use-own-frame): Change default to nil.
20681 (woman-italic, woman-bold, woman-unknown, woman-addition):
20682 Change defaults to inherit from default faces.
20683 (woman2-process-escapes): Consume the newline after a stand-alone
20684 filler character (Bug#3651).
20686 2009-07-06 Glenn Morris <rgm@gnu.org>
20688 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20689 (top-level): Move provide to the end.
20690 (ffap): Remove defunct URL from custom group.
20692 * subr.el (eval-after-load): Doc fix.
20694 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20696 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20697 `calc-embedded-word' is called twice.
20699 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20701 * files.el (find-alternate-file-other-window, find-alternate-file):
20702 Obey confirm-nonexistent-file-or-buffer.
20704 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20706 * dired-aux.el (dired-show-file-type): Handle remote files.
20708 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20710 * desktop.el (desktop-globals-to-save):
20711 Add file-name-history (Bug#2750).
20713 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20715 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20717 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20719 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20720 property on entire argument since this is what eshell-lisp-command
20723 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20725 * net/tramp-gvfs.el (tramp-gvfs-methods)
20726 (tramp-gvfs-zeroconf-domain)
20727 (tramp-bluez-discover-devices-timeout): Add version flag.
20728 (tramp-gvfs-handler-mounted-unmounted)
20729 (tramp-gvfs-connection-mounted-p): Polish handling of
20730 incompatibilities between GVFS 0.2 and 1.0.
20732 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20734 * cus-start.el (all): Add make-pointer-invisible.
20736 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20738 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20739 formatted correctly.
20741 2009-07-02 Juri Linkov <juri@jurta.org>
20743 * info.el: Virtual Info files and nodes.
20744 (Info-virtual-files, Info-virtual-nodes): New variables.
20745 (Info-current-node-virtual): New variable.
20746 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20748 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20749 to check for a virtual file instead of checking a fixed list
20751 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20752 instead of ad-hoc processing of "dir" and (apropos history toc).
20753 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20754 instead of ad-hoc processing of "dir" and (apropos history toc).
20755 Reread a file when moving from a virtual node.
20756 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20757 (Info-directory-toc-nodes, Info-directory-find-file)
20758 (Info-directory-find-node): New functions.
20759 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20760 (Info-history): Move part of code to
20761 `Info-history-find-node'.
20762 (Info-history-toc-nodes, Info-history-find-file)
20763 (Info-history-find-node): New functions.
20764 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20765 (Info-toc): Move part of code to `Info-toc-find-node'.
20766 (Info-toc-find-node): New function.
20767 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20768 the current Info file name to references because now the node
20769 "*TOC*" belongs to the same Info manual.
20770 (Info-toc-build): Rename from `Info-build-toc'.
20771 (Info-toc-nodes): Rename input argument `file' to `filename'.
20772 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20773 instead of ad-hoc processing of ("dir" apropos history toc).
20774 (Info-index-nodes): Use Info-virtual-file-p
20775 to check for a virtual file instead of checking a fixed list
20777 (Info-index-node): Add check for `Info-current-node-virtual'.
20778 Raise `save-match-data' higher up the tree to contain
20779 `search-forward' too (bug fix).
20780 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20781 (Info-virtual-index-nodes): New variable.
20782 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20783 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20784 (Info-apropos-file, Info-apropos-nodes): New variables.
20785 (Info-apropos-toc-nodes, Info-apropos-find-file)
20786 (Info-apropos-find-node, Info-apropos-matches): New functions.
20787 (info-apropos): Move part of code to `Info-apropos-find-node' and
20788 `Info-apropos-matches'.
20789 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20790 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20791 for a virtual file instead of checking a fixed list of node names.
20793 * simple.el (async-shell-command): New command.
20795 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20797 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20798 instead of `mount-info'.
20800 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20802 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20803 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20805 2009-07-02 Kenichi Handa <handa@m17n.org>
20807 * international/mule.el (set-keyboard-coding-system): Force *-unix
20808 coding-system to avoid eol conversion.
20810 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20812 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20813 Add handler for `process-file', `shell-command' and
20814 `start-file-process'.
20815 (tramp-gvfs-handle-shell-command)
20816 (tramp-gvfs-handle-start-file-process)
20817 (tramp-gvfs-handle-process-file): New defuns.
20818 (tramp-synce-list-devices): Simplify check for existence of property.
20820 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20822 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20824 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20826 * language/korean.el (set-language-info-alist): Add korean-cp949,
20829 2009-07-01 Kenichi Handa <handa@m17n.org>
20831 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20833 * international/encoded-kb.el: Deleted.
20835 * international/mule.el (set-keyboard-coding-system): Perform the
20836 necessary setup here instead of calling encoded-kbd-setup-display.
20838 2009-07-01 Glenn Morris <rgm@gnu.org>
20840 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20842 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20844 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20846 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20848 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20849 Handle also the 'rename case, when setting file modes. (Bug#3712)
20850 (tramp-default-file-modes): Remove execute permissions.
20852 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20853 (top): Add a default for "synce" in `tramp-default-user-alist'.
20854 Add completion function for "synce" method.
20855 (tramp-hal-service, tramp-hal-path-manager)
20856 (tramp-hal-interface-manager, tramp-hal-interface-device):
20858 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20859 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20862 * net/trampver.el: Update release number.
20864 2009-06-30 Kenichi Handa <handa@m17n.org>
20866 * international/fontset.el (setup-default-fontset): Add CJK fonts
20867 for symbols and the other miscellaneous characters.
20869 * language/korea-util.el (setup-korean-environment-internal):
20870 Make char-width-table suitable for Korean environments.
20871 (exit-korean-environment): Cancel above.
20873 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20874 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20875 setup-function to make char-width-table suitable for respective
20876 environments, and an exit-function to cancel that.
20878 * language/japan-util.el (setup-japanese-environment-internal):
20879 Call use-cjk-char-width-table with arg `ja_JP'.
20881 * international/characters.el (cjk-char-width-table): Delete it.
20882 (cjk-char-width-table-list): New variable.
20883 (use-cjk-char-width-table): New arg local-name.
20884 (use-default-char-width-table): Fix for the case that Emacs is
20885 already using the default char-width-table.
20887 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20889 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20890 modes mandatory. (Bug#3712)
20892 2009-06-29 Alan Mackenzie <acm@muc.de>
20894 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20895 correction between the visible width of TABs and their number of bytes.
20897 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20899 * server.el (server-buffer-done): Prevent kill-buffer from
20900 prompting by clearing the buffer modification flag (Bug#3696).
20902 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20904 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20905 (verilog-endcomment-reason-re): Support unique case and priority case.
20906 (verilog-basic-complete-re): Support localparam lineup.
20907 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20908 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20910 (verilog-leap-to-case-head): Now support *nested* unique &
20911 priority case statements.
20912 (verilog-auto-lineup): Make just declarations the default (as it
20914 (verilog-leap-to-case-head): Support priority/unique case statements.
20915 (verilog-auto-lineup): Rework to give users radio buttons to
20916 select the various styles of automatic lineup.
20917 (verilog-error-regexp-alist): Rework to support the XEmacs style
20918 of error regular expressions from compilers, lint tools &
20919 simulators. Note that GNU Emacs has made it impossible for a mode
20920 to load such things.
20921 (electric-verilog-terminate-line, verilog-indent-declaration)
20922 (verilog-auto-wiure): Rework for radio button selection of
20923 auto-lineup selection of specification of auto lineup.
20924 (verilog-beg-of-statement-1): Redesign to support proper operation
20925 in additional code, based on testing with auto-lineup.
20926 (verilog-calculate-indent, assignments & declarations)
20927 (verilog-backward-token): Enhance to support auto-lineup of
20928 assignments & declarations.
20929 (verilog-in-directive-p, verilog-at-struct-p): New function for
20930 easy test of whether we are.
20931 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20932 to support safe execution at almost anyline.
20933 (verilog-calc-1): Properly support indenting deep inside generate
20935 (verilog-init-font): Remove definition & use of verilog-init-font,
20936 as it is redundant with font-lock-defaults.
20937 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20938 to avoid circular calls if syntax-ppss is a function (as is the
20939 case now in 22.x GNU Emacs) as that function would sometimes call
20940 itself, leading to (nearly) infinite recursion.
20941 (verilog-ovm-begin-re, verilog-ovm-end-re)
20942 (verilog-ovm-statement-re, verilog-leap-to-head)
20943 (verilog-backward-token): Add support for OVM macros. Some are
20944 complete statements, and others open and close scopes like begin
20946 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20947 (verilog-defun-level-generate-only-re): Really fix the defun-list
20949 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20950 coverpoint, constraint and cross statements.
20951 (verilog-defun-level-list, verilog-generate-defun-level-list)
20952 (verilog-all-defun-level-list): Redo these specifications - it is
20953 too hard to support eval-when compile aggregation of lists also
20954 built at when-compile time.
20955 (verilog-defun-level-list): Place defconsts of variables used in
20956 building regular expressions which are built in eval-when-compile
20957 bodies in the same eval-when-compile body to facilitate compile
20959 (verilog-beg-block-re-ordered): Support indenting
20960 virtual/protected tasks and functions.
20961 (verilog-defun-level-list, verilog-in-generate-region-p)
20962 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20963 indentation of some module items (generate items).
20964 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20965 across virtual/protected tasks and functions.
20967 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20969 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20970 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20971 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20972 in concatenations. Reported by Yishay Belkind.
20973 (verilog-auto-ascii-enum): Support one-hot state machines in
20974 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20975 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20976 modport in AUTOINST and add vl-modport for users.
20977 Reported by David Rogoff.
20978 (verilog-auto-inout-module, verilog-auto-inst)
20979 (verilog-decls-get-interfaces, verilog-insert-definition)
20980 (verilog-insert-one-definition, verilog-read-decls)
20981 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20982 (verilog-sig-modport, verilog-signals-combine-bus)
20983 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20984 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20985 Suggested by David Rogoff.
20986 (verilog-repair-open-comma): Fix non-insertion of comma when
20987 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20988 (verilog-make-width-expression): Simplify [A-1:0] expression
20989 widths to just {A{1'b0}}.
20990 (verilog-mode): Cleanup checkdoc warnings.
20991 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20992 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20993 inputs/outputs or data type. Suggested by Vasu Kandadi.
20994 (next-error-last-buffer): Fix byte-compiler warning.
20995 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20996 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20997 or shell command text during AUTO expansion. Suggested by Tad Truex.
20998 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20999 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21000 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21001 in AUTOINOUT. Reported by Matthew Lovell.
21002 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21003 causing use of <= assignments. Reported by Alex Reed.
21004 (verilog-read-decls): Fix triand, trior, wand, wor to be
21005 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21006 (verilog-extended-complete-re): Support import "DPI-C" functions.
21007 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21008 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21009 (verilog-insert-date, verilog-insert-year)
21010 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21011 Windows systems. Reported by Michael Potts.
21012 (verilog-read-module-name): Fix AUTOINST when the child module
21013 declaration's name is a tick define. Reported by Elliot Mednick.
21014 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21015 passed to next parameter's definition. Reported by Bruce T.
21016 (verilog-read-decls): Fix detecting "parameter int" when using
21017 AUTOINSTPARAM. Reported by Bruce T.
21018 (verilog-goto-defun): Fix goto not finding modules unless first
21019 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21020 (verilog-mode): Expand -f flag arguments on entry to mode so
21021 verilog-goto-defun will work. Reported by Lawrence Butcher.
21022 (verilog-getopt): Expand environment variables in -f file
21023 arguments. Suggested by Lawrence Butcher.
21024 (verilog-set-define): Fix "Symbol's value as variable is void"
21025 when reading enumerations.
21026 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21027 Suggested by Stephen Peltan.
21028 (verilog-read-defines): Fix reading of enumerations in include
21029 files. Reported by Steve Peltan.
21031 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21033 * files.el (trash-directory): Fix defcustom type.
21035 2009-06-28 Juri Linkov <juri@jurta.org>
21037 * help-fns.el (describe-function-1): Correctly locate adviced
21038 functions in hyperlink (Bug#2438).
21040 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21042 * files.el (trash-directory): Change default to nil.
21043 (move-file-to-trash): If trash-directory is nil and
21044 system-move-file-to-trash is unbound, perform freedesktop-style
21047 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21049 * files.el (move-file-to-trash): Add freedesktop trash
21052 2009-06-28 Glenn Morris <rgm@gnu.org>
21054 * autorevert.el (global-auto-revert-non-file-buffers)
21055 (global-auto-revert-mode): Doc fixes.
21057 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21059 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21061 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21063 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21064 opened an X connection before calling x-get-resource (Bug#3194).
21066 * play/doctor.el: Remove reference to obsolete website.
21067 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21069 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21071 Remove find-file-not-found-hook VC method. (Bug#2757)
21072 * vc-hooks.el (vc-file-not-found-hook)
21073 (vc-default-find-file-not-found-hook): Remove functions.
21074 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21075 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21078 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21080 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21082 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21083 compatibility function for `looking-back'.
21085 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21086 Use `ispell-looking-back'.
21088 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21090 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21091 rather than `filename'.
21093 2009-06-23 Miles Bader <miles@gnu.org>
21095 * face-remap.el (text-scale-set): New function.
21097 2009-06-23 Glenn Morris <rgm@gnu.org>
21099 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21101 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21103 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21105 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21107 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21108 Simplify Persian conditionals.
21110 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21111 variable `filename'.
21113 * comint.el (comint-insert-input): Doc fix.
21115 * Makefile.in (ELCFILES): Fix typo in previous change.
21117 2009-06-23 Miles Bader <miles@gnu.org>
21119 * cus-start.el: Add entry for `recenter-redisplay'.
21121 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21123 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21124 Add an optional argument for the backend, use it instead of
21125 calling vc-backend.
21126 (vc-mode-line): Add an optional argument for the backend.
21127 Pass the backend to vc-state and vc-working-revision. Move code for
21128 special handling for vc-state being a buffer to ...
21130 * vc-rcs.el (vc-rcs-find-file-hook):
21131 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21133 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21134 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21135 vc-stay-local-p and vc-mode-line calls.
21137 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21138 (vc-cvs-diff, vc-cvs-annotate-command)
21139 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21140 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21141 vc-mode-line calls.
21143 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21145 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21146 backend when calling vc-mode-line.
21147 (vc-register): Do not create a closure for calling the vc register
21148 function, call it directly.
21150 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21152 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21153 to make it obvious item can be clicked.
21155 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21157 2009-06-23 Kenichi Handa <handa@m17n.org>
21159 * language/korea-util.el (korean-key-bindings): Change the binding
21160 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21163 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21165 Sync with Tramp 2.1.16.
21167 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21169 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21170 when a loading of a package fails. Completion function for rsync
21171 is `tramp-completion-function-alist-ssh'.
21172 (all): Replace all calls of `split-string' and
21173 `tramp-split-string' by `tramp-compat-split-string'.
21174 (tramp-default-method): Use `tramp-compat-process-running-p'.
21175 (tramp-default-proxies-alist): Allow also Lisp forms.
21176 (tramp-remote-path): Add choice "Private Directories".
21177 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21178 (tramp-domain-regexp): Allow also "-", "_" and ".".
21179 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21180 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21181 (tramp-debug-message): Insert header line in debug buffer.
21182 (tramp-handle-directory-files-and-attributes-with-stat):
21183 Care about filenames with spaces, or starting with "-".
21184 (tramp-handle-dired-uncache): New defun.
21185 (tramp-handle-insert-directory): Don't flush the directory from
21186 cache, this is handled by `dired-uncache' now.
21187 (tramp-handle-insert-file-contents): Improve error handling.
21188 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21189 Quote `tramp-end-of-output'.
21190 (tramp-action-password): Improve trace message.
21191 (tramp-check-for-regexp): Both echoes must be present, before removing.
21192 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21193 (tramp-compute-multi-hops): Eval cons cells of
21194 `tramp-default-proxies-alist'.
21195 (tramp-maybe-open-connection): Use the same command pattern for
21196 first hop and further hops.
21197 (tramp-wait-for-output): Remove handling of newlines.
21198 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21199 (tramp-split-string): Remove function. It is handled in
21202 * net/tramp-cmds.el (tramp-bug):
21203 Recommend `tramp-cleanup-all-connections' in the bug mail.
21205 * net/tramp-compat.el (tramp-compat-split-string)
21206 (tramp-compat-process-running-p): New defuns.
21208 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21209 for `dired-uncache'.
21211 * net/tramp-gvfs.el: New package.
21213 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21214 Add handler for `dired-uncache'.
21215 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21217 * net/trampver.el: Update release number. Make version check fit
21220 2009-06-22 Jim Meyering <meyering@redhat.com>
21222 Automatically handle .xz suffix (XZ-compressed files), too.
21223 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21224 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21226 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21227 Nick Roberts <nickrob@snap.net.nz>
21229 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21230 repository (http://sphinx.net.ru/hg/gdb-mi/).
21232 2009-06-22 Glenn Morris <rgm@gnu.org>
21234 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21235 `mode' and `eval' entries. (Bug#3430)
21237 * Makefile.in (ELCFILES): Add fadr.elc.
21239 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21240 differing behavior of \n and ^ in strings. (Bug#3385)
21242 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21244 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21246 (lisp-indent-function): Make it a defcustom.
21248 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21250 * progmodes/gdb-ui.el: Replace with ...
21251 * progmodes/gdb-mi.el: ... this file.
21252 * progmodes/gud.el: Modify for gdb-mi.el.
21254 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21256 * fadr.el: New file.
21258 See ChangeLog.14 for earlier changes.
21260 ;; Local Variables:
21264 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21266 This file is part of GNU Emacs.
21268 GNU Emacs is free software: you can redistribute it and/or modify
21269 it under the terms of the GNU General Public License as published by
21270 the Free Software Foundation, either version 3 of the License, or
21271 (at your option) any later version.
21273 GNU Emacs is distributed in the hope that it will be useful,
21274 but WITHOUT ANY WARRANTY; without even the implied warranty of
21275 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21276 GNU General Public License for more details.
21278 You should have received a copy of the GNU General Public License
21279 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.